	.file	"132952395.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/132952395.c"
	.align 8
.LC1:
	.string	"[%s:%d]: ioctl I2C_RW write status=%d errno=%d [%s]\n"
	.align 8
.LC2:
	.string	"[%s:%d]: loop %d ioctl I2C_RW read status=%d errno=%d [%]\n"
	.text
	.globl	fmcomms1_read_eeprom
	.type	fmcomms1_read_eeprom, @function
fmcomms1_read_eeprom:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	QWORD PTR -112[rbp], rdx
	mov	DWORD PTR -116[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	WORD PTR -26[rbp], 0
	mov	eax, DWORD PTR -104[rbp]
	mov	WORD PTR -64[rbp], ax
	mov	WORD PTR -62[rbp], 0
	mov	WORD PTR -60[rbp], 1
	lea	rax, -26[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -104[rbp]
	mov	WORD PTR -48[rbp], ax
	mov	WORD PTR -46[rbp], 1
	mov	WORD PTR -44[rbp], 1
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, -64[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -72[rbp], 1
	mov	rax, QWORD PTR -112[rbp]
	mov	BYTE PTR [rax], 1
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 1799
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	je	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -88[rbp]
	sub	rsp, 8
	push	rbx
	mov	r9d, ecx
	mov	r8d, edx
	mov	ecx, 55
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L2:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -84[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 1799
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	je	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, DWORD PTR -88[rbp]
	mov	ecx, DWORD PTR -84[rbp]
	push	rbx
	push	rdx
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, 62
	lea	rdx, .LC0[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L4:
	add	DWORD PTR -84[rbp], 1
.L3:
	cmp	DWORD PTR -84[rbp], 15
	jle	.L5
	mov	eax, DWORD PTR -88[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fmcomms1_read_eeprom, .-fmcomms1_read_eeprom
	.section	.rodata
	.align 8
.LC3:
	.string	"[%s:%d]: ioctl I2C_RW read status=%d errno=%d [%s]\n"
	.text
	.globl	fmcomms1_get_version
	.type	fmcomms1_get_version, @function
fmcomms1_get_version:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	QWORD PTR -112[rbp], rdx
	mov	DWORD PTR -116[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -85[rbp], 1
	mov	eax, DWORD PTR -104[rbp]
	mov	WORD PTR -64[rbp], ax
	mov	WORD PTR -62[rbp], 0
	mov	WORD PTR -60[rbp], 1
	lea	rax, -85[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -104[rbp]
	mov	WORD PTR -48[rbp], ax
	mov	WORD PTR -46[rbp], 1025
	mov	WORD PTR -44[rbp], 33
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, -64[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -72[rbp], 2
	mov	rax, QWORD PTR -112[rbp]
	mov	BYTE PTR [rax], 1
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 1799
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	je	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -84[rbp]
	sub	rsp, 8
	push	rbx
	mov	r9d, ecx
	mov	r8d, edx
	mov	ecx, 87
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L9:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 1799
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	je	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -84[rbp]
	sub	rsp, 8
	push	rbx
	mov	r9d, ecx
	mov	r8d, edx
	mov	ecx, 92
	lea	rdx, .LC0[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L10:
	mov	eax, DWORD PTR -84[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fmcomms1_get_version, .-fmcomms1_get_version
	.globl	version_data
	.bss
	.align 32
	.type	version_data, @object
	.size	version_data, 128
version_data:
	.zero	128
	.section	.rodata
	.align 8
.LC4:
	.string	"argv[1] is %s, argv[2] is 0x%02lx\n"
.LC5:
	.string	"[%s:%d] open failed\n"
.LC6:
	.string	"getversion result %d\n"
.LC7:
	.string	" %2x"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jns	.L14
	mov	edx, 109
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	edx, 128
	mov	esi, 0
	lea	rdi, version_data[rip]
	call	memset@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, 128
	lea	rdx, version_data[rip]
	mov	esi, 80
	mov	edi, eax
	call	fmcomms1_read_eeprom
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L15
.L17:
	cmp	DWORD PTR -12[rbp], 0
	je	.L16
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L16
	mov	edi, 10
	call	putchar@PLT
.L16:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, version_data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L15:
	cmp	DWORD PTR -12[rbp], 15
	jle	.L17
	mov	edi, 10
	call	putchar@PLT
	mov	edx, 128
	mov	esi, 0
	lea	rdi, version_data[rip]
	call	memset@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, 128
	lea	rdx, version_data[rip]
	mov	edi, eax
	call	fmcomms1_get_version
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L18
.L20:
	cmp	DWORD PTR -12[rbp], 0
	je	.L19
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L19
	mov	edi, 10
	call	putchar@PLT
.L19:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, version_data[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L18:
	cmp	DWORD PTR -12[rbp], 31
	jle	.L20
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"132952395.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/132952395.c\000"
	.align	2
.LC1:
	.ascii	"[%s:%d]: ioctl I2C_RW write status=%d errno=%d [%s]"
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"[%s:%d]: loop %d ioctl I2C_RW read status=%d errno="
	.ascii	"%d [%]\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fmcomms1_read_eeprom
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmcomms1_read_eeprom, %function
fmcomms1_read_eeprom:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	strh	r3, [fp, #-20]	@ movhi
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-44]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-42]	@ movhi
	mov	r3, #1
	strh	r3, [fp, #-40]	@ movhi
	sub	r3, fp, #20
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-32]	@ movhi
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #1
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-24]
	sub	r3, fp, #44
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-72]
	mov	r2, #1
	strb	r2, [r3]
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, .L8+4
	ldr	r0, [fp, #-64]
	bl	ioctl
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L8+8
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	ldr	r3, [fp, #-60]
	str	r3, [sp]
	mov	r3, #55
	ldr	r2, .L8+12
	ldr	r1, .L8+16
	mov	r0, r5
	bl	fprintf
.L2:
	sub	r3, fp, #44
	sub	r2, fp, #32
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L3
.L5:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, .L8+4
	ldr	r0, [fp, #-64]
	bl	ioctl
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L8+8
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #12]
	str	r4, [sp, #8]
	ldr	r3, [fp, #-60]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-56]
	str	r3, [sp]
	mov	r3, #62
	ldr	r2, .L8+12
	ldr	r1, .L8+20
	mov	r0, r5
	bl	fprintf
.L4:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L3:
	ldr	r3, [fp, #-56]
	cmp	r3, #15
	ble	.L5
	ldr	r3, [fp, #-60]
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	1799
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	fmcomms1_read_eeprom, .-fmcomms1_read_eeprom
	.section	.rodata
	.align	2
.LC4:
	.ascii	"[%s:%d]: ioctl I2C_RW read status=%d errno=%d [%s]\012"
	.ascii	"\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fmcomms1_get_version
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmcomms1_get_version, %function
fmcomms1_get_version:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	strb	r3, [fp, #-53]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-40]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-38]	@ movhi
	mov	r3, #1
	strh	r3, [fp, #-36]	@ movhi
	sub	r3, fp, #53
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, .L15+4
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #33
	strh	r3, [fp, #-24]	@ movhi
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-20]
	sub	r3, fp, #40
	str	r3, [fp, #-48]
	mov	r3, #2
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-72]
	mov	r2, #1
	strb	r2, [r3]
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L15+8
	ldr	r0, [fp, #-64]
	bl	ioctl
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L15+12
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	ldr	r3, [fp, #-52]
	str	r3, [sp]
	mov	r3, #87
	ldr	r2, .L15+16
	ldr	r1, .L15+20
	mov	r0, r5
	bl	fprintf
.L11:
	sub	r3, fp, #40
	sub	r2, fp, #28
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L15+8
	ldr	r0, [fp, #-64]
	bl	ioctl
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L15+12
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp, #8]
	str	r4, [sp, #4]
	ldr	r3, [fp, #-52]
	str	r3, [sp]
	mov	r3, #92
	ldr	r2, .L15+16
	ldr	r1, .L15+24
	mov	r0, r5
	bl	fprintf
.L12:
	ldr	r3, [fp, #-52]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	1025
	.word	1799
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC4
	.size	fmcomms1_get_version, .-fmcomms1_get_version
	.comm	version_data,128,4
	.section	.rodata
	.align	2
.LC6:
	.ascii	"argv[1] is %s, argv[2] is 0x%02lx\012\000"
	.align	2
.LC7:
	.ascii	"[%s:%d] open failed\012\000"
	.align	2
.LC8:
	.ascii	"getversion result %d\012\000"
	.align	2
.LC9:
	.ascii	" %2x\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r4, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L26
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #2
	mov	r0, r3
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L18
	mov	r2, #109
	ldr	r1, .L26+4
	ldr	r0, .L26+8
	bl	printf
	mov	r0, #1
	bl	exit
.L18:
	mov	r2, #128
	mov	r1, #0
	ldr	r0, .L26+12
	bl	memset
	mov	r3, #128
	ldr	r2, .L26+12
	mov	r1, #80
	ldr	r0, [fp, #-20]
	bl	fmcomms1_read_eeprom
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L26+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L19
.L21:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-24]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L20
	mov	r0, #10
	bl	putchar
.L20:
	ldr	r2, .L26+12
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L26+20
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L19:
	ldr	r3, [fp, #-24]
	cmp	r3, #15
	ble	.L21
	mov	r0, #10
	bl	putchar
	mov	r2, #128
	mov	r1, #0
	ldr	r0, .L26+12
	bl	memset
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r1, r0
	mov	r3, #128
	ldr	r2, .L26+12
	ldr	r0, [fp, #-20]
	bl	fmcomms1_get_version
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L26+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L22
.L24:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-24]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L23
	mov	r0, #10
	bl	putchar
.L23:
	ldr	r2, .L26+12
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L26+20
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L22:
	ldr	r3, [fp, #-24]
	cmp	r3, #31
	ble	.L24
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC6
	.word	.LC0
	.word	.LC7
	.word	version_data
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
