	.file	"extr_uledmon.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Requires <device-name> argument\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"/dev/uleds"
.LC2:
	.string	"Failed to open /dev/uleds"
.LC3:
	.string	"Failed to write to /dev/uleds"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"Failed to read from /dev/uleds"
	.section	.rodata.str1.1
.LC5:
	.string	"[%ld.%09ld] %u\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	edi, 2
	je	.L2
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
.L3:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[rsi]
	mov	edx, DWORD PTR LED_MAX_NAME_SIZE[rip]
	mov	edi, DWORD PTR 12[rsp]
	call	strncpy@PLT
	mov	esi, DWORD PTR O_RDWR[rip]
	lea	rdi, .LC1[rip]
	mov	DWORD PTR 8[rsp], 100
	call	open@PLT
	mov	ebp, eax
	cmp	eax, -1
	je	.L13
	lea	rsi, 8[rsp]
	mov	edx, 8
	mov	edi, eax
	call	write@PLT
	lea	rbx, 4[rsp]
	lea	r12, 16[rsp]
	add	eax, 1
	jne	.L5
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR CLOCK_MONOTONIC[rip]
	mov	rsi, r12
	call	clock_gettime@PLT
	mov	ecx, DWORD PTR 4[rsp]
	mov	edx, DWORD PTR 16[rsp]
	lea	rdi, .LC5[rip]
	mov	esi, DWORD PTR 20[rsp]
	call	printf@PLT
.L5:
	mov	edx, 4
	mov	rsi, rbx
	mov	edi, ebp
	call	read@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, ebp
	call	close@PLT
	jmp	.L3
.L13:
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L3
.L14:
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, ebp
	call	close@PLT
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stderr,4,4
	.comm	O_RDWR,4,4
	.comm	LED_MAX_NAME_SIZE,4,4
	.comm	CLOCK_MONOTONIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_uledmon.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Requires <device-name> argument\012\000"
	.align	2
.LC1:
	.ascii	"/dev/uleds\000"
	.align	2
.LC2:
	.ascii	"Failed to open /dev/uleds\000"
	.align	2
.LC3:
	.ascii	"Failed to write to /dev/uleds\000"
	.align	2
.LC4:
	.ascii	"Failed to read from /dev/uleds\000"
	.align	2
.LC5:
	.ascii	"[%ld.%09ld] %u\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L14
	sub	sp, sp, #24
	cmp	r0, #2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	ldr	r3, .L14+4
	ldr	r1, .L14+8
	ldr	r0, [r3]
	bl	fprintf
.L3:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, #1
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L14+12
	ldr	r1, [r1, #4]
	ldr	r2, [r3]
	ldr	r0, [sp, #8]
	bl	strncpy
	mov	r3, #100
	ldr	r2, .L14+16
	ldr	r0, .L14+20
	ldr	r1, [r2]
	str	r3, [sp, #4]
	bl	open
	cmn	r0, #1
	mov	r4, r0
	beq	.L13
	mov	r2, #8
	add	r1, sp, #4
	bl	write
	cmn	r0, #1
	beq	.L9
	ldr	r6, .L14+24
	ldr	r5, .L14+28
	b	.L5
.L6:
	add	r1, sp, #12
	ldr	r0, [r6]
	bl	clock_gettime
	mov	r0, r5
	ldr	r3, [sp]
	ldr	r2, [sp, #12]
	ldr	r1, [sp, #16]
	bl	printf
.L5:
	mov	r2, #4
	mov	r1, sp
	mov	r0, r4
	bl	read
	cmn	r0, #1
	bne	.L6
	ldr	r0, .L14+32
	bl	perror
	mov	r0, r4
	bl	close
	b	.L3
.L13:
	ldr	r0, .L14+36
	bl	perror
	b	.L3
.L9:
	ldr	r0, .L14+40
	bl	perror
	mov	r0, r4
	bl	close
	b	.L3
.L12:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC6
	.word	stderr
	.word	.LC0
	.word	LED_MAX_NAME_SIZE
	.word	O_RDWR
	.word	.LC1
	.word	CLOCK_MONOTONIC
	.word	.LC5
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.comm	stderr,4,4
	.comm	O_RDWR,4,4
	.comm	LED_MAX_NAME_SIZE,4,4
	.comm	CLOCK_MONOTONIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
