	.file	"1048650.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Requires <device-name> argument\n"
.LC1:
	.string	"/dev/uleds"
.LC2:
	.string	"Failed to open /dev/uleds"
.LC3:
	.string	"Failed to write to /dev/uleds"
	.align 8
.LC4:
	.string	"Failed to read from /dev/uleds"
.LC5:
	.string	"[%ld.%09ld] %u\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -116[rbp], 2
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L7
.L2:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	lea	rax, -80[rbp]
	mov	edx, 64
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	DWORD PTR -16[rbp], 100
	mov	esi, 2
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L7
.L4:
	lea	rcx, -80[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	edx, 68
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], -1
	jne	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	jmp	.L7
.L5:
	lea	rcx, -108[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], -1
	jne	.L6
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	jmp	.L7
.L6:
	lea	rax, -96[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	ecx, DWORD PTR -108[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L7:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1048650.c"
	.text
	.section	.rodata
	.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"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-104]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L9+8
	bl	fwrite
	mov	r3, #1
	b	.L7
.L2:
	ldr	r3, [fp, #-108]
	add	r3, r3, #4
	ldr	r1, [r3]
	sub	r3, fp, #76
	mov	r2, #64
	mov	r0, r3
	bl	strncpy
	mov	r3, #100
	str	r3, [fp, #-12]
	mov	r1, #2
	ldr	r0, .L9+12
	bl	open
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L9+16
	bl	perror
	mov	r3, #1
	b	.L7
.L4:
	sub	r3, fp, #76
	mov	r2, #68
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	write
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L9+20
	bl	perror
	ldr	r0, [fp, #-92]
	bl	close
	mov	r3, #1
	b	.L7
.L5:
	sub	r3, fp, #96
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	read
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L9+24
	bl	perror
	ldr	r0, [fp, #-92]
	bl	close
	mov	r3, #1
	b	.L7
.L6:
	sub	r3, fp, #84
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	ldr	r1, [fp, #-84]
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-96]
	ldr	r0, .L9+28
	bl	printf
	b	.L5
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC6
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
