	.file	"610548.c"
	.intel_syntax noprefix
	.text
	.globl	mem
	.bss
	.align 8
	.type	mem, @object
	.size	mem, 8
mem:
	.zero	8
	.globl	shstrtab
	.align 8
	.type	shstrtab, @object
	.size	shstrtab, 8
shstrtab:
	.zero	8
	.globl	ehdr
	.align 8
	.type	ehdr, @object
	.size	ehdr, 8
ehdr:
	.zero	8
	.globl	phdr
	.align 8
	.type	phdr, @object
	.size	phdr, 8
phdr:
	.zero	8
	.globl	shdr
	.align 8
	.type	shdr, @object
	.size	shdr, 8
shdr:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Usage: %s <executable>\n"
.LC1:
	.string	"open"
.LC2:
	.string	"fstat"
.LC3:
	.string	"mmap"
.LC4:
	.string	"ELF"
.LC5:
	.string	"%s is not ELF file\n"
.LC6:
	.string	"Program Entry point: 0x%lx\n"
	.align 8
.LC7:
	.string	"\n***********  Program header list  ***********\n"
.LC8:
	.string	"Text segment: 0x%lx\n"
.LC9:
	.string	"Data segment: 0x%lx\n"
.LC10:
	.string	"Interpreter: %s\n"
.LC11:
	.string	"Note segment: 0x%lx\n"
.LC12:
	.string	"Dynamic segment: 0x%lx\n"
.LC13:
	.string	"Phdr segment: 0x%lx\n"
.LC14:
	.string	"Unknown segment"
	.align 8
.LC15:
	.string	"\n***********  Section header list  ***********\n"
	.align 8
.LC16:
	.string	"%s: sh_addr: 0x%lx\tsh_offset:%lx\n"
	.align 8
.LC17:
	.string	"\n***********  Symbol list  ***********\n"
.LC18:
	.string	"NumOfSym = %d\n"
	.align 8
.LC19:
	.string	"%2d  name: %s  st_name: %u  st_value: %lu  st_shndx: %u\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 240
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -228[rbp], 1
	jg	.L2
	mov	rax, QWORD PTR -240[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -240[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -196[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fstat@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	mov	eax, DWORD PTR -196[rbp]
	mov	r9d, 0
	mov	r8d, eax
	mov	ecx, 2
	mov	edx, 1
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR mem[rip], rax
	mov	rax, QWORD PTR mem[rip]
	cmp	rax, -1
	jne	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR mem[rip]
	mov	QWORD PTR ehdr[rip], rax
	mov	rdx, QWORD PTR mem[rip]
	mov	rax, QWORD PTR ehdr[rip]
	mov	rax, QWORD PTR 32[rax]
	add	rax, rdx
	mov	QWORD PTR phdr[rip], rax
	mov	rdx, QWORD PTR mem[rip]
	mov	rax, QWORD PTR ehdr[rip]
	mov	rax, QWORD PTR 40[rax]
	add	rax, rdx
	mov	QWORD PTR shdr[rip], rax
	mov	rax, QWORD PTR mem[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 127
	jne	.L6
	mov	rax, QWORD PTR mem[rip]
	add	rax, 1
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
.L6:
	mov	rax, QWORD PTR -240[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR ehdr[rip]
	mov	rax, QWORD PTR 24[rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -212[rbp], 0
	jmp	.L8
.L19:
	mov	rcx, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 6
	ja	.L9
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L11[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L11[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L9-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L9-.L11
	.long	.L10-.L11
	.text
.L15:
	mov	rcx, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L16
	mov	rcx, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L16:
	mov	rcx, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L13:
	mov	rcx, QWORD PTR mem[rip]
	mov	rsi, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR 8[rax]
	add	rax, rcx
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L12:
	mov	rcx, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L14:
	mov	rcx, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L10:
	mov	rcx, QWORD PTR phdr[rip]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L9:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	nop
.L18:
	add	DWORD PTR -212[rbp], 1
.L8:
	mov	rax, QWORD PTR ehdr[rip]
	movzx	eax, WORD PTR 56[rax]
	movzx	eax, ax
	cmp	DWORD PTR -212[rbp], eax
	jl	.L19
	mov	rdx, QWORD PTR mem[rip]
	mov	rcx, QWORD PTR shdr[rip]
	mov	rax, QWORD PTR ehdr[rip]
	movzx	eax, WORD PTR 62[rax]
	movzx	eax, ax
	sal	rax, 6
	add	rax, rcx
	mov	rax, QWORD PTR 24[rax]
	add	rax, rdx
	mov	QWORD PTR shstrtab[rip], rax
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	DWORD PTR -204[rbp], 1
	jmp	.L20
.L23:
	mov	rdx, QWORD PTR shdr[rip]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	rdx, QWORD PTR 24[rax]
	mov	rcx, QWORD PTR shdr[rip]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	sal	rax, 6
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, QWORD PTR shstrtab[rip]
	mov	rdi, QWORD PTR shdr[rip]
	mov	ecx, DWORD PTR -204[rbp]
	movsx	rcx, ecx
	sal	rcx, 6
	add	rcx, rdi
	mov	ecx, DWORD PTR [rcx]
	mov	ecx, ecx
	add	rsi, rcx
	mov	rcx, rdx
	mov	rdx, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR shdr[rip]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 2
	je	.L21
	cmp	eax, 3
	jmp	.L22
.L21:
	mov	rdx, QWORD PTR mem[rip]
	mov	rcx, QWORD PTR shdr[rip]
	mov	rsi, QWORD PTR shdr[rip]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	sal	rax, 6
	add	rax, rsi
	mov	eax, DWORD PTR 40[rax]
	mov	eax, eax
	sal	rax, 6
	add	rax, rcx
	mov	rax, QWORD PTR 24[rax]
	add	rax, rdx
	mov	QWORD PTR -192[rbp], rax
	mov	rdx, QWORD PTR mem[rip]
	mov	rcx, QWORD PTR shdr[rip]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	sal	rax, 6
	add	rax, rcx
	mov	rax, QWORD PTR 24[rax]
	add	rax, rdx
	mov	QWORD PTR -184[rbp], rax
	mov	rdx, QWORD PTR shdr[rip]
	mov	eax, DWORD PTR -204[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	rax, QWORD PTR 32[rax]
	movabs	rdx, -6148914691236517205
	mul	rdx
	mov	rax, rdx
	shr	rax, 4
	mov	DWORD PTR -208[rbp], eax
	nop
.L22:
	add	DWORD PTR -204[rbp], 1
.L20:
	mov	rax, QWORD PTR ehdr[rip]
	movzx	eax, WORD PTR 60[rax]
	movzx	eax, ax
	cmp	DWORD PTR -204[rbp], eax
	jl	.L23
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -208[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -200[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	QWORD PTR -176[rbp], rax
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR 6[rax]
	movzx	edi, ax
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -200[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR -176[rbp]
	mov	eax, DWORD PTR -200[rbp]
	mov	r9d, edi
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -200[rbp], 1
.L24:
	mov	eax, DWORD PTR -200[rbp]
	cmp	eax, DWORD PTR -208[rbp]
	jl	.L25
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"610548.c"
	.text
	.comm	mem,4,4
	.comm	shstrtab,4,4
	.comm	ehdr,4,4
	.comm	phdr,4,4
	.comm	shdr,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s <executable>\012\000"
	.align	2
.LC1:
	.ascii	"open\000"
	.align	2
.LC2:
	.ascii	"fstat\000"
	.align	2
.LC3:
	.ascii	"mmap\000"
	.align	2
.LC4:
	.ascii	"ELF\000"
	.align	2
.LC5:
	.ascii	"%s is not ELF file\012\000"
	.align	2
.LC6:
	.ascii	"Program Entry point: 0x%lx\012\000"
	.align	2
.LC7:
	.ascii	"\012***********  Program header list  ***********\012"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"Text segment: 0x%lx\012\000"
	.align	2
.LC9:
	.ascii	"Data segment: 0x%lx\012\000"
	.align	2
.LC10:
	.ascii	"Interpreter: %s\012\000"
	.align	2
.LC11:
	.ascii	"Note segment: 0x%lx\012\000"
	.align	2
.LC12:
	.ascii	"Dynamic segment: 0x%lx\012\000"
	.align	2
.LC13:
	.ascii	"Phdr segment: 0x%lx\012\000"
	.align	2
.LC14:
	.ascii	"Unknown segment\000"
	.align	2
.LC15:
	.ascii	"\012***********  Section header list  ***********\012"
	.ascii	"\000"
	.align	2
.LC16:
	.ascii	"%s: sh_addr: 0x%lx\011sh_offset:%lx\012\000"
	.global	__aeabi_uldivmod
	.align	2
.LC17:
	.ascii	"\012***********  Symbol list  ***********\012\000"
	.align	2
.LC18:
	.ascii	"NumOfSym = %d\012\000"
	.align	2
.LC19:
	.ascii	"%2d  name: %s  st_name: %u  st_value: %lu  st_shndx"
	.ascii	": %u\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, [fp, #-148]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+4
	bl	printf
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-148]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L28+8
	bl	perror
	mvn	r0, #0
	bl	exit
.L3:
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L28+12
	bl	perror
	mvn	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-56]
	mov	r1, r3
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-112]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #1
	mov	r0, #0
	bl	mmap
	mov	r3, r0
	ldr	r2, .L28+16
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L28+20
	bl	perror
	mvn	r0, #0
	bl	exit
.L5:
	ldr	r3, .L28+16
	ldr	r3, [r3]
	ldr	r2, .L28+24
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r1, [r3]
	ldr	r3, .L28+24
	ldr	r3, [r3]
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	mov	r3, r2
	add	r3, r1, r3
	ldr	r2, .L28+28
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r1, [r3]
	ldr	r3, .L28+24
	ldr	r3, [r3]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	mov	r3, r2
	add	r3, r1, r3
	ldr	r2, .L28+32
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #127
	bne	.L6
	ldr	r3, .L28+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L28+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
.L6:
	ldr	r3, .L28+40
	ldr	r0, [r3]
	ldr	r3, [fp, #-148]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L28+44
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L7:
	ldr	r3, .L28+24
	ldr	r3, [r3]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	ldr	r0, .L28+48
	bl	printf
	ldr	r0, .L28+52
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L8
.L19:
	ldr	r3, .L28+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L9
.L11:
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L9
	.word	.L10
.L15:
	ldr	r3, .L28+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L16
	ldr	r3, .L28+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L28+56
	bl	printf
	b	.L18
.L16:
	ldr	r3, .L28+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L28+60
	bl	printf
	b	.L18
.L13:
	ldr	r3, .L28+16
	ldr	r1, [r3]
	ldr	r3, .L28+28
	ldr	r0, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r3, r2
	add	r3, r1, r3
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r1, [fp, #-104]
	ldr	r0, .L28+64
	bl	printf
	b	.L18
.L12:
	ldr	r3, .L28+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L28+68
	bl	printf
	b	.L18
.L14:
	ldr	r3, .L28+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L28+72
	bl	printf
	b	.L18
.L10:
	ldr	r3, .L28+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-136]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r0, .L28+76
	bl	printf
	b	.L18
.L9:
	ldr	r0, .L28+80
	bl	puts
	nop
.L18:
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L8:
	ldr	r3, .L28+24
	ldr	r3, [r3]
	ldrh	r3, [r3, #56]
	mov	r2, r3
	ldr	r3, [fp, #-136]
	cmp	r3, r2
	blt	.L19
	ldr	r3, .L28+16
	ldr	r1, [r3]
	ldr	r3, .L28+32
	ldr	r2, [r3]
	ldr	r3, .L28+24
	ldr	r3, [r3]
	ldrh	r3, [r3, #62]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	mov	r3, r2
	add	r3, r1, r3
	ldr	r2, .L28+84
	str	r3, [r2]
	ldr	r0, .L28+88
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-120]
	b	.L20
.L23:
	ldr	r3, .L28+84
	ldr	r2, [r3]
	ldr	r3, .L28+32
	ldr	r1, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #6
	add	r3, r1, r3
	ldr	r3, [r3]
	add	ip, r2, r3
	ldr	r3, .L28+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldr	r3, .L28+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	mov	r1, ip
	ldr	r0, .L28+92
	bl	printf
	ldr	r3, .L28+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #2
	beq	.L21
	cmp	r3, #3
	b	.L22
.L21:
	ldr	r3, .L28+16
	ldr	r1, [r3]
	ldr	r3, .L28+32
	ldr	r2, [r3]
	ldr	r3, .L28+32
	ldr	r0, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #6
	add	r3, r0, r3
	ldr	r3, [r3, #40]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	mov	r3, r2
	add	r3, r1, r3
	str	r3, [fp, #-132]
	ldr	r3, .L28+16
	ldr	r1, [r3]
	ldr	r3, .L28+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	mov	r3, r2
	add	r3, r1, r3
	str	r3, [fp, #-128]
	ldr	r3, .L28+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #6
	add	r3, r2, r3
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	mov	r2, #24
	mov	r3, #0
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-124]
	nop
.L22:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L20:
	ldr	r3, .L28+24
	ldr	r3, [r3]
	ldrh	r3, [r3, #60]
	mov	r2, r3
	ldr	r3, [fp, #-120]
	cmp	r3, r2
	blt	.L23
	ldr	r0, .L28+96
	bl	puts
	ldr	r1, [fp, #-124]
	ldr	r0, .L28+100
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L24
.L25:
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-132]
	add	r3, r2, r3
	str	r3, [fp, #-108]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	ldr	ip, [r3]
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r2, [fp, #-116]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	ldrh	r3, [r3, #6]
	str	r3, [sp, #8]
	stm	sp, {r0-r1}
	mov	r3, ip
	ldr	r2, [fp, #-108]
	ldr	r1, [fp, #-116]
	ldr	r0, .L28+104
	bl	printf
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L24:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	blt	.L25
	mov	r3, #0
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC20
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	mem
	.word	.LC3
	.word	ehdr
	.word	phdr
	.word	shdr
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	shstrtab
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
