	.file	"579690.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"H264_NO_RC"
.LC1:
	.string	"H264_VBR"
.LC2:
	.string	"H264_CBR"
.LC3:
	.string	"H264_VCM"
.LC4:
	.string	"H263_NO_RC"
.LC5:
	.string	"H263_VBR"
.LC6:
	.string	"H263_CBR"
.LC7:
	.string	"MPEG4_NO_RC"
.LC8:
	.string	"MPEG4_VBR"
.LC9:
	.string	"MPEG4_CBR"
.LC10:
	.string	"Undefined codec"
	.text
	.type	codec_to_string, @function
codec_to_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 10
	ja	.L2
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L2-.L4
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L13:
	lea	rax, .LC0[rip]
	jmp	.L14
.L12:
	lea	rax, .LC1[rip]
	jmp	.L14
.L11:
	lea	rax, .LC2[rip]
	jmp	.L14
.L10:
	lea	rax, .LC3[rip]
	jmp	.L14
.L9:
	lea	rax, .LC4[rip]
	jmp	.L14
.L8:
	lea	rax, .LC5[rip]
	jmp	.L14
.L7:
	lea	rax, .LC6[rip]
	jmp	.L14
.L6:
	lea	rax, .LC7[rip]
	jmp	.L14
.L5:
	lea	rax, .LC8[rip]
	jmp	.L14
.L3:
	lea	rax, .LC9[rip]
	jmp	.L14
.L2:
	lea	rax, .LC10[rip]
.L14:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	codec_to_string, .-codec_to_string
	.section	.rodata
.LC11:
	.string	"r"
.LC12:
	.string	"/etc/firmware/topaz_fw.bin"
.LC13:
	.string	"/lib/firmware/topaz_fw.bin"
	.align 8
.LC14:
	.string	"\nSystem isn't Android or Meego\n"
.LC15:
	.string	"\nCan't open topaz_fw.bin"
.LC16:
	.string	"\nSystem is Meego\n"
.LC17:
	.string	"\nSystem is Android\n"
	.align 8
.LC18:
	.string	"topza:Try to read and print topaz_fw_table...\n\n\n"
.LC19:
	.string	"topaz: index          : %s\n"
	.align 8
.LC20:
	.string	"topaz: ver            : 0x%04x\n"
.LC21:
	.string	"topaz: Codec          : %s\n"
.LC22:
	.string	"topaz: text_size      : %d\n"
.LC23:
	.string	"topaz: data_size      : %d\n"
	.align 8
.LC24:
	.string	"topaz: data_location  : 0x%08x\n\n"
	.align 8
.LC25:
	.string	"\n\n\n\nmsvdx:Try to read and print msvdx_fw...\n\n\n"
.LC26:
	.string	"/etc/firmware/msvdx_fw.bin"
.LC27:
	.string	"/lib/firmware/msvdx_fw.bin"
.LC28:
	.string	"Can't open msvdx_fw.bin"
	.align 8
.LC29:
	.string	"msvdx slice switch firmware: ver            : 0x%04x\n"
	.align 8
.LC30:
	.string	"msvdx slice switch firmware: text_size      : %d\n"
	.align 8
.LC31:
	.string	"msvdx slice switch firmware: data_size      : %d\n"
	.align 8
.LC32:
	.string	"msvdx slice switch firmware: data_location  : 0x%08x\n\n"
	.align 8
.LC33:
	.string	"msvdx frame switch firmware: ver            : 0x%04x\n"
	.align 8
.LC34:
	.string	"msvdx frame switch firmware: text_size      : %d\n"
	.align 8
.LC35:
	.string	"msvdx frame switch firmware: data_size      : %d\n"
	.align 8
.LC36:
	.string	"msvdx frame switch firmware: data_location  : 0x%08x\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -280[rbp], 0
	mov	DWORD PTR -288[rbp], 1
	mov	BYTE PTR -289[rbp], 0
	lea	rsi, .LC11[rip]
	lea	rdi, .LC12[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L16
	lea	rsi, .LC11[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L17
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L25
.L17:
	mov	BYTE PTR -289[rbp], 1
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L19
.L16:
	lea	rdi, .LC17[rip]
	call	puts@PLT
.L19:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	jmp	.L20
.L21:
	lea	rcx, -256[rbp]
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdi, 4[rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 16
	call	fread@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 250
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	edi, eax
	call	codec_to_string
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 252
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 250
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	edi, eax
	call	codec_to_string
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 248
	mov	eax, DWORD PTR [rax]
	shr	eax, 2
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 244
	mov	eax, DWORD PTR [rax]
	shr	eax, 2
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 240
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 248
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -288[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 244
	mov	eax, DWORD PTR [rax]
	add	eax, ecx
	mov	ecx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	add	DWORD PTR -288[rbp], 1
.L20:
	cmp	DWORD PTR -288[rbp], 10
	jbe	.L21
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	cmp	BYTE PTR -289[rbp], 0
	jne	.L22
	lea	rsi, .LC11[rip]
	lea	rdi, .LC26[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	jmp	.L23
.L22:
	lea	rsi, .LC11[rip]
	lea	rdi, .LC27[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
.L23:
	cmp	QWORD PTR -280[rbp], 0
	jne	.L24
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L25
.L24:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 16
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -272[rbp]
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -268[rbp]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -264[rbp]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -260[rbp]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -268[rbp]
	mov	eax, DWORD PTR -264[rbp]
	add	eax, edx
	sal	eax, 2
	add	eax, 4111
	and	eax, -4096
	mov	DWORD PTR -284[rbp], eax
	mov	ecx, DWORD PTR -284[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 16
	mov	rdi, rax
	call	fread@PLT
	mov	eax, DWORD PTR -272[rbp]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -268[rbp]
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -264[rbp]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -260[rbp]
	mov	esi, eax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L25:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"579690.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"H264_NO_RC\000"
	.align	2
.LC1:
	.ascii	"H264_VBR\000"
	.align	2
.LC2:
	.ascii	"H264_CBR\000"
	.align	2
.LC3:
	.ascii	"H264_VCM\000"
	.align	2
.LC4:
	.ascii	"H263_NO_RC\000"
	.align	2
.LC5:
	.ascii	"H263_VBR\000"
	.align	2
.LC6:
	.ascii	"H263_CBR\000"
	.align	2
.LC7:
	.ascii	"MPEG4_NO_RC\000"
	.align	2
.LC8:
	.ascii	"MPEG4_VBR\000"
	.align	2
.LC9:
	.ascii	"MPEG4_CBR\000"
	.align	2
.LC10:
	.ascii	"Undefined codec\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	codec_to_string, %function
codec_to_string:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	cmp	r3, #9
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L13:
	ldr	r3, .L15
	b	.L14
.L12:
	ldr	r3, .L15+4
	b	.L14
.L11:
	ldr	r3, .L15+8
	b	.L14
.L10:
	ldr	r3, .L15+12
	b	.L14
.L9:
	ldr	r3, .L15+16
	b	.L14
.L8:
	ldr	r3, .L15+20
	b	.L14
.L7:
	ldr	r3, .L15+24
	b	.L14
.L6:
	ldr	r3, .L15+28
	b	.L14
.L5:
	ldr	r3, .L15+32
	b	.L14
.L3:
	ldr	r3, .L15+36
	b	.L14
.L2:
	ldr	r3, .L15+40
.L14:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	codec_to_string, .-codec_to_string
	.section	.rodata
	.align	2
.LC11:
	.ascii	"r\000"
	.align	2
.LC12:
	.ascii	"/etc/firmware/topaz_fw.bin\000"
	.align	2
.LC13:
	.ascii	"/lib/firmware/topaz_fw.bin\000"
	.align	2
.LC14:
	.ascii	"\012System isn't Android or Meego\012\000"
	.align	2
.LC15:
	.ascii	"\012Can't open topaz_fw.bin\000"
	.align	2
.LC16:
	.ascii	"\012System is Meego\012\000"
	.align	2
.LC17:
	.ascii	"\012System is Android\012\000"
	.align	2
.LC18:
	.ascii	"topza:Try to read and print topaz_fw_table...\012\012"
	.ascii	"\012\000"
	.align	2
.LC19:
	.ascii	"topaz: index          : %s\012\000"
	.align	2
.LC20:
	.ascii	"topaz: ver            : 0x%04x\012\000"
	.align	2
.LC21:
	.ascii	"topaz: Codec          : %s\012\000"
	.align	2
.LC22:
	.ascii	"topaz: text_size      : %d\012\000"
	.align	2
.LC23:
	.ascii	"topaz: data_size      : %d\012\000"
	.align	2
.LC24:
	.ascii	"topaz: data_location  : 0x%08x\012\012\000"
	.align	2
.LC25:
	.ascii	"\012\012\012\012msvdx:Try to read and print msvdx_f"
	.ascii	"w...\012\012\012\000"
	.align	2
.LC26:
	.ascii	"/etc/firmware/msvdx_fw.bin\000"
	.align	2
.LC27:
	.ascii	"/lib/firmware/msvdx_fw.bin\000"
	.align	2
.LC28:
	.ascii	"Can't open msvdx_fw.bin\000"
	.align	2
.LC29:
	.ascii	"msvdx slice switch firmware: ver            : 0x%04"
	.ascii	"x\012\000"
	.align	2
.LC30:
	.ascii	"msvdx slice switch firmware: text_size      : %d\012"
	.ascii	"\000"
	.align	2
.LC31:
	.ascii	"msvdx slice switch firmware: data_size      : %d\012"
	.ascii	"\000"
	.align	2
.LC32:
	.ascii	"msvdx slice switch firmware: data_location  : 0x%08"
	.ascii	"x\012\012\000"
	.align	2
.LC33:
	.ascii	"msvdx frame switch firmware: ver            : 0x%04"
	.ascii	"x\012\000"
	.align	2
.LC34:
	.ascii	"msvdx frame switch firmware: text_size      : %d\012"
	.ascii	"\000"
	.align	2
.LC35:
	.ascii	"msvdx frame switch firmware: data_size      : %d\012"
	.ascii	"\000"
	.align	2
.LC36:
	.ascii	"msvdx frame switch firmware: data_location  : 0x%08"
	.ascii	"x\012\012\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #1
	str	r3, [fp, #-272]
	mov	r3, #0
	strb	r3, [fp, #-277]
	ldr	r1, .L29+4
	ldr	r0, .L29+8
	bl	fopen
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L18
	ldr	r1, .L29+4
	ldr	r0, .L29+12
	bl	fopen
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L29+16
	bl	puts
	ldr	r0, .L29+20
	bl	puts
	mvn	r3, #0
	b	.L27
.L19:
	mov	r3, #1
	strb	r3, [fp, #-277]
	ldr	r0, .L29+24
	bl	puts
	b	.L21
.L18:
	ldr	r0, .L29+28
	bl	puts
.L21:
	ldr	r0, .L29+32
	bl	puts
	b	.L22
.L23:
	sub	r1, fp, #248
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r0, r3, #4
	ldr	r3, [fp, #-276]
	mov	r2, #1
	mov	r1, #16
	bl	fread
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #238
	ldrh	r3, [r3]
	mov	r0, r3
	bl	codec_to_string
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L29+36
	bl	printf
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #240
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+40
	bl	printf
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #238
	ldrh	r3, [r3]
	mov	r0, r3
	bl	codec_to_string
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L29+44
	bl	printf
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #236
	ldr	r3, [r3]
	lsr	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L29+48
	bl	printf
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #232
	ldr	r3, [r3]
	lsr	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L29+52
	bl	printf
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #228
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29+56
	bl	printf
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #236
	ldr	r1, [r3]
	ldr	r2, [fp, #-272]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #232
	ldr	r3, [r3]
	add	r3, r1, r3
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	fseek
	ldr	r3, [fp, #-272]
	add	r3, r3, #1
	str	r3, [fp, #-272]
.L22:
	ldr	r3, [fp, #-272]
	cmp	r3, #10
	bls	.L23
	ldr	r0, [fp, #-276]
	bl	fclose
	ldr	r0, .L29+60
	bl	puts
	ldrb	r3, [fp, #-277]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L24
	ldr	r1, .L29+4
	ldr	r0, .L29+64
	bl	fopen
	str	r0, [fp, #-276]
	b	.L25
.L24:
	ldr	r1, .L29+4
	ldr	r0, .L29+68
	bl	fopen
	str	r0, [fp, #-276]
.L25:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L29+72
	bl	puts
	mvn	r3, #0
	b	.L27
.L26:
	sub	r0, fp, #264
	ldr	r3, [fp, #-276]
	mov	r2, #1
	mov	r1, #16
	bl	fread
	ldr	r3, [fp, #-264]
	mov	r1, r3
	ldr	r0, .L29+76
	bl	printf
	ldr	r3, [fp, #-260]
	mov	r1, r3
	ldr	r0, .L29+80
	bl	printf
	ldr	r3, [fp, #-256]
	mov	r1, r3
	ldr	r0, .L29+84
	bl	printf
	ldr	r3, [fp, #-252]
	mov	r1, r3
	ldr	r0, .L29+88
	bl	printf
	ldr	r2, [fp, #-260]
	ldr	r3, [fp, #-256]
	add	r3, r2, r3
	add	r3, r3, #4
	lsl	r3, r3, #2
	add	r3, r3, #4080
	add	r3, r3, #15
	bic	r3, r3, #4080
	bic	r3, r3, #15
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-268]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	fseek
	sub	r0, fp, #264
	ldr	r3, [fp, #-276]
	mov	r2, #1
	mov	r1, #16
	bl	fread
	ldr	r3, [fp, #-264]
	mov	r1, r3
	ldr	r0, .L29+92
	bl	printf
	ldr	r3, [fp, #-260]
	mov	r1, r3
	ldr	r0, .L29+96
	bl	printf
	ldr	r3, [fp, #-256]
	mov	r1, r3
	ldr	r0, .L29+100
	bl	printf
	ldr	r3, [fp, #-252]
	mov	r1, r3
	ldr	r0, .L29+104
	bl	printf
	ldr	r0, [fp, #-276]
	bl	fclose
	mov	r3, #0
.L27:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC37
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
