	.file	"325781.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%02X "
	.text
	.type	display, @function
display:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	cmp	DWORD PTR -4[rbp], 0
	je	.L3
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
.L3:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jb	.L4
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	display, .-display
	.local	s_fd_mouse
	.comm	s_fd_mouse,4,4
	.section	.rodata
.LC1:
	.string	"/dev/input/mice"
.LC2:
	.string	"mouse opend failed!"
.LC3:
	.string	"read error!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rax, .LC1[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR s_fd_mouse[rip], eax
	mov	eax, DWORD PTR s_fd_mouse[rip]
	test	eax, eax
	jns	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L10
.L6:
	mov	DWORD PTR rLen.1[rip], 4
	mov	eax, DWORD PTR rLen.1[rip]
	mov	edx, eax
	mov	eax, DWORD PTR s_fd_mouse[rip]
	lea	rsi, rBuf.0[rip]
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L8
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L9
.L8:
	mov	eax, DWORD PTR rLen.1[rip]
	mov	esi, eax
	lea	rdi, rBuf.0[rip]
	call	display
.L9:
	jmp	.L6
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	rLen.1
	.comm	rLen.1,4,4
	.local	rBuf.0
	.comm	rBuf.0,8,8
	.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	"325781.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%02X \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	display, %function
display:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L3
	mov	r0, #10
	bl	putchar
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L5
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L4
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	display, .-display
	.local	s_fd_mouse
	.comm	s_fd_mouse,4,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"/dev/input/mice\000"
	.align	2
.LC2:
	.ascii	"mouse opend failed!\000"
	.align	2
.LC3:
	.ascii	"read error!\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L13
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	open
	mov	r3, r0
	ldr	r2, .L13+4
	str	r3, [r2]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L13+8
	bl	puts
	mvn	r3, #0
	b	.L12
.L8:
	ldr	r3, .L13+12
	mov	r2, #4
	str	r2, [r3]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	ldr	r2, .L13+12
	ldr	r2, [r2]
	ldr	r1, .L13+16
	mov	r0, r3
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L13+20
	bl	puts
	b	.L11
.L10:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L13+16
	bl	display
.L11:
	b	.L8
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	s_fd_mouse
	.word	.LC2
	.word	rLen.5532
	.word	rBuf.5531
	.word	.LC3
	.size	main, .-main
	.local	rLen.5532
	.comm	rLen.5532,4,4
	.local	rBuf.5531
	.comm	rBuf.5531,8,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
