	.file	"433505.c"
	.intel_syntax noprefix
	.text
	.type	get_mapped_segment_range, @function
get_mapped_segment_range:
.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, 64
	mov	QWORD PTR -152[rbp], rdi
	mov	eax, esi
	mov	QWORD PTR -168[rbp], rdx
	mov	QWORD PTR -176[rbp], rcx
	mov	QWORD PTR -184[rbp], r8
	mov	BYTE PTR -156[rbp], al
	mov	QWORD PTR -96[rbp], -1
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L2
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -120[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 32[rax]
	mov	DWORD PTR -116[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 36[rax]
	mov	DWORD PTR -112[rbp], eax
	movzx	eax, BYTE PTR -156[rbp]
	xor	eax, 1
	test	al, al
	je	.L3
	mov	eax, DWORD PTR -120[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	mov	eax, eax
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -116[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L4
.L3:
	mov	DWORD PTR -132[rbp], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 48[rax]
	mov	DWORD PTR -108[rbp], eax
	jmp	.L5
.L12:
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 56[rax]
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	movzx	eax, al
	cmp	eax, 1
	je	.L24
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 32[rax]
	mov	DWORD PTR -104[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 36[rax]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jb	.L8
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jb	.L8
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	cmp	DWORD PTR -100[rbp], eax
	jbe	.L9
.L8:
	mov	eax, 2
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -104[rbp]
	cmp	QWORD PTR -96[rbp], rax
	jbe	.L11
	mov	eax, DWORD PTR -104[rbp]
	mov	QWORD PTR -96[rbp], rax
.L11:
	mov	eax, DWORD PTR -100[rbp]
	cmp	QWORD PTR -88[rbp], rax
	jnb	.L7
	mov	eax, DWORD PTR -100[rbp]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L7
.L24:
	nop
.L7:
	add	DWORD PTR -132[rbp], 1
.L5:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jb	.L12
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	jbe	.L13
	mov	eax, DWORD PTR -120[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -120[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -80[rbp], 0
	jmp	.L4
.L13:
	mov	edx, DWORD PTR -116[rbp]
	mov	ecx, DWORD PTR -120[rbp]
	mov	rax, QWORD PTR -96[rbp]
	sub	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 25
	jne	.L14
	mov	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -48[rbp], rax
	movzx	eax, BYTE PTR -156[rbp]
	xor	eax, 1
	test	al, al
	je	.L15
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L4
.L15:
	mov	DWORD PTR -128[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 64[rax]
	mov	DWORD PTR -124[rbp], eax
	jmp	.L16
.L22:
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, 72[rax]
	mov	edx, DWORD PTR -128[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 64[rax]
	movzx	eax, al
	cmp	eax, 1
	je	.L25
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L19
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jb	.L19
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	cmp	QWORD PTR -24[rbp], rax
	jbe	.L20
.L19:
	mov	eax, 2
	jmp	.L10
.L20:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -96[rbp]
	jnb	.L21
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -96[rbp], rax
.L21:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	jbe	.L18
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L18
.L25:
	nop
.L18:
	add	DWORD PTR -128[rbp], 1
.L16:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -124[rbp]
	jb	.L22
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	jbe	.L23
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	QWORD PTR -80[rbp], 0
	jmp	.L4
.L23:
	mov	rax, QWORD PTR -96[rbp]
	sub	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	jmp	.L4
.L14:
	mov	eax, 1
	jmp	.L10
.L4:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -176[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -96[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_mapped_segment_range, .-get_mapped_segment_range
	.section	.rodata
.LC0:
	.string	"wbx"
.LC1:
	.string	"-%c requires an argument\n"
.LC2:
	.string	"wb"
.LC3:
	.string	"Bad option: -%c\n"
	.align 8
.LC4:
	.string	"Usage: %s [-cf] [-C name] in out\n    -c      Output as headless C array\n    -C name Output as named C array\n    -f      Force (overwrite existing files)\n    -s      Use only segments for mapping, ignore sections\n"
.LC5:
	.string	"-"
.LC6:
	.string	"rb"
.LC7:
	.string	"fopen(%s): %s\n"
.LC8:
	.string	"ftell(cur): %s\n"
.LC9:
	.string	"fseek(end): %s\n"
.LC10:
	.string	"ftell(end): %s\n"
.LC11:
	.string	"fseek(cur): %s\n"
.LC12:
	.string	"File too short for magic.\n"
.LC13:
	.string	"malloc(file): %s\n"
.LC14:
	.string	"fread: %s\n"
	.align 8
.LC15:
	.string	"File too short for load commands.\n"
.LC16:
	.string	"Bad magic: %08llx\n"
.LC17:
	.string	"Bad LC: 0x%llx\n"
	.align 8
.LC18:
	.string	"get_mapped_segment_range returned error: %d\n"
.LC19:
	.string	"Bad segment: 0x%llx\n"
	.align 8
.LC20:
	.string	"Bad memory layout, lowest: 0x%llx, highest: 0x%llx\n"
.LC21:
	.string	"malloc: %s\n"
.LC22:
	.string	"fwrite: %s\n"
.LC23:
	.string	"unsigned char %s[] = {\n"
.LC24:
	.string	"    "
.LC25:
	.string	""
.LC26:
	.string	"%s0x%02x,%c"
.LC27:
	.string	"};\n"
.LC28:
	.string	"fprintf: %s\n"
.LC29:
	.string	"Done, base address: 0x%llx\n"
	.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, 288
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -268[rbp], -1
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	DWORD PTR -264[rbp], 0
	lea	rax, .LC0[rip]
	mov	QWORD PTR -184[rbp], rax
	mov	QWORD PTR -176[rbp], 0
	mov	BYTE PTR -270[rbp], 1
	mov	DWORD PTR -256[rbp], 1
	jmp	.L27
.L38:
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L28
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L28
	mov	eax, DWORD PTR -256[rbp]
	mov	DWORD PTR -248[rbp], eax
	mov	QWORD PTR -168[rbp], 1
	jmp	.L29
.L37:
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -269[rbp], al
	movsx	eax, BYTE PTR -269[rbp]
	cmp	eax, 115
	je	.L30
	cmp	eax, 115
	jg	.L31
	cmp	eax, 102
	je	.L32
	cmp	eax, 102
	jg	.L31
	cmp	eax, 67
	je	.L33
	cmp	eax, 99
	jne	.L31
	mov	DWORD PTR -264[rbp], 1
	jmp	.L34
.L33:
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, DWORD PTR -256[rbp]
	cmp	eax, 3
	jg	.L35
	movsx	edx, BYTE PTR -269[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L35:
	mov	DWORD PTR -264[rbp], 2
	add	DWORD PTR -256[rbp], 1
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -176[rbp], rax
	jmp	.L34
.L32:
	lea	rax, .LC2[rip]
	mov	QWORD PTR -184[rbp], rax
	jmp	.L34
.L30:
	mov	BYTE PTR -270[rbp], 0
	jmp	.L34
.L31:
	movsx	edx, BYTE PTR -269[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L34:
	add	QWORD PTR -168[rbp], 1
.L29:
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L37
	add	DWORD PTR -256[rbp], 1
.L27:
	mov	eax, DWORD PTR -256[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L38
.L28:
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, DWORD PTR -256[rbp]
	cmp	eax, 2
	je	.L39
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L39:
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L40
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	jmp	.L41
.L40:
	mov	rax, QWORD PTR stdin[rip]
.L41:
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	jne	.L42
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L42:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	jns	.L43
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L43:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], 0
	je	.L44
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L44:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jns	.L45
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L45:
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], 0
	je	.L46
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L46:
	cmp	QWORD PTR -112[rbp], 3
	ja	.L47
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	jmp	.L36
.L47:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -216[rbp], rax
	cmp	QWORD PTR -216[rbp], 0
	jne	.L48
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L48:
	mov	rcx, QWORD PTR -200[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	QWORD PTR -112[rbp], rax
	je	.L49
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L49:
	mov	rax, QWORD PTR -216[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -244[rbp], eax
	mov	QWORD PTR -160[rbp], 0
	mov	DWORD PTR -252[rbp], 0
	cmp	DWORD PTR -244[rbp], -17958194
	jne	.L50
	mov	rax, QWORD PTR -216[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	eax, eax
	add	rax, 28
	cmp	QWORD PTR -112[rbp], rax
	jnb	.L51
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	jmp	.L36
.L51:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 28
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -252[rbp], eax
	jmp	.L52
.L50:
	cmp	DWORD PTR -244[rbp], -17958193
	jne	.L53
	mov	rax, QWORD PTR -216[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	eax, eax
	add	rax, 32
	cmp	QWORD PTR -112[rbp], rax
	jnb	.L54
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	jmp	.L36
.L54:
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 32
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -252[rbp], eax
	jmp	.L52
.L53:
	mov	edx, DWORD PTR -244[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L52:
	mov	QWORD PTR -152[rbp], -1
	mov	QWORD PTR -144[rbp], 0
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	edx, DWORD PTR -252[rbp]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	jmp	.L55
.L70:
	mov	rax, QWORD PTR -136[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -56[rbp]
	cmp	rdx, rax
	ja	.L56
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	rdx, rax
	ja	.L56
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	cmp	rdx, rax
	jnb	.L57
.L56:
	mov	rax, QWORD PTR -136[rbp]
	sub	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L57:
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	movzx	esi, BYTE PTR -270[rbp]
	lea	rdi, -224[rbp]
	lea	rcx, -232[rbp]
	lea	rdx, -240[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	get_mapped_segment_range
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], 0
	je	.L104
	cmp	DWORD PTR -260[rbp], 1
	je	.L105
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -260[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L104:
	nop
	mov	rax, QWORD PTR -224[rbp]
	test	rax, rax
	je	.L106
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -112[rbp]
	ja	.L65
	mov	rax, QWORD PTR -232[rbp]
	cmp	QWORD PTR -32[rbp], rax
	jnb	.L66
.L65:
	mov	rax, QWORD PTR -136[rbp]
	sub	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L66:
	mov	rax, QWORD PTR -240[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -152[rbp]
	jnb	.L67
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -152[rbp], rax
.L67:
	mov	rdx, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -144[rbp]
	jbe	.L69
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L69
.L105:
	nop
	jmp	.L69
.L106:
	nop
.L69:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	QWORD PTR -136[rbp], rax
.L55:
	mov	rax, QWORD PTR -136[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jb	.L70
	mov	rax, QWORD PTR -144[rbp]
	cmp	rax, QWORD PTR -152[rbp]
	jnb	.L71
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L71:
	mov	rax, QWORD PTR -144[rbp]
	sub	rax, QWORD PTR -152[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -208[rbp], rax
	cmp	QWORD PTR -208[rbp], 0
	jne	.L72
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L72:
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -208[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	edx, DWORD PTR -252[rbp]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	jmp	.L73
.L81:
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	movzx	esi, BYTE PTR -270[rbp]
	lea	rdi, -224[rbp]
	lea	rcx, -232[rbp]
	lea	rdx, -240[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	get_mapped_segment_range
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], 0
	je	.L107
	cmp	DWORD PTR -260[rbp], 1
	je	.L108
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -260[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L107:
	nop
	mov	rax, QWORD PTR -224[rbp]
	test	rax, rax
	je	.L109
	mov	rax, QWORD PTR -224[rbp]
	mov	rcx, QWORD PTR -232[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	add	rdx, rcx
	mov	rsi, rdx
	mov	rdx, QWORD PTR -240[rbp]
	mov	rcx, rdx
	sub	rcx, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -208[rbp]
	add	rdx, rcx
	mov	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	jmp	.L80
.L108:
	nop
	jmp	.L80
.L109:
	nop
.L80:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	QWORD PTR -128[rbp], rax
.L73:
	mov	rax, QWORD PTR -128[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L81
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L82
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fopen@PLT
	jmp	.L83
.L82:
	mov	rax, QWORD PTR stdout[rip]
.L83:
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L84
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -288[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L84:
	cmp	DWORD PTR -264[rbp], 0
	jne	.L85
	mov	rcx, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -208[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	QWORD PTR -104[rbp], rax
	je	.L86
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L85:
	mov	DWORD PTR -260[rbp], 0
	cmp	DWORD PTR -264[rbp], 2
	jne	.L87
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -260[rbp], eax
.L87:
	cmp	DWORD PTR -260[rbp], 0
	js	.L88
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	jmp	.L89
.L96:
	mov	rax, QWORD PTR -120[rbp]
	and	eax, 15
	cmp	rax, 15
	je	.L90
	mov	rax, QWORD PTR -104[rbp]
	sub	rax, 1
	cmp	QWORD PTR -120[rbp], rax
	jne	.L91
.L90:
	mov	ecx, 10
	jmp	.L92
.L91:
	mov	ecx, 32
.L92:
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -120[rbp]
	and	eax, 15
	test	rax, rax
	jne	.L93
	lea	rax, .LC24[rip]
	jmp	.L94
.L93:
	lea	rax, .LC25[rip]
.L94:
	mov	rdi, QWORD PTR -192[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rax
	lea	rsi, .LC26[rip]
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -260[rbp], eax
	cmp	DWORD PTR -260[rbp], 0
	js	.L110
	add	QWORD PTR -120[rbp], 1
.L89:
	mov	rax, QWORD PTR -120[rbp]
	cmp	rax, QWORD PTR -104[rbp]
	jb	.L96
	jmp	.L88
.L110:
	nop
.L88:
	cmp	DWORD PTR -264[rbp], 2
	jne	.L97
	cmp	DWORD PTR -260[rbp], 0
	js	.L97
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -260[rbp], eax
.L97:
	cmp	DWORD PTR -260[rbp], 0
	jns	.L86
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L36
.L86:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -152[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -268[rbp], 0
.L36:
	cmp	QWORD PTR -192[rbp], 0
	je	.L98
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -192[rbp], rax
	je	.L98
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L98:
	cmp	QWORD PTR -208[rbp], 0
	je	.L99
	mov	rax, QWORD PTR -208[rbp]
	mov	rdi, rax
	call	free@PLT
.L99:
	cmp	QWORD PTR -216[rbp], 0
	je	.L100
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	free@PLT
.L100:
	cmp	QWORD PTR -200[rbp], 0
	je	.L101
	mov	rax, QWORD PTR stdin[rip]
	cmp	QWORD PTR -200[rbp], rax
	je	.L101
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L101:
	mov	eax, DWORD PTR -268[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L103
	call	__stack_chk_fail@PLT
.L103:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"433505.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_mapped_segment_range, %function
get_mapped_segment_range:
	@ args = 4, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, r8, r9, fp}
	add	fp, sp, #24
	sub	sp, sp, #180
	str	r0, [fp, #-152]
	str	r2, [fp, #-160]
	str	r3, [fp, #-164]
	mov	r3, r1
	strb	r3, [fp, #-153]
	mvn	r2, #0
	mvn	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-152]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-152]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-124]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-124]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-124]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-112]
	ldrb	r3, [fp, #-153]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-120]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-116]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-124]
	ldr	r3, [r3, #48]
	str	r3, [fp, #-108]
	b	.L5
.L12:
	ldr	r3, [fp, #-124]
	add	r1, r3, #56
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #56]
	and	r3, r3, #255
	cmp	r3, #1
	beq	.L24
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	str	r3, [fp, #-96]
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	bcc	.L8
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bcc	.L8
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bls	.L9
.L8:
	mov	r3, #2
	b	.L10
.L9:
	ldr	r3, [fp, #-100]
	mov	r2, r3
	mov	r3, #0
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L11
	ldr	r3, [fp, #-100]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
.L11:
	ldr	r3, [fp, #-96]
	mov	r2, r3
	mov	r3, #0
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bcs	.L7
	ldr	r3, [fp, #-96]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	b	.L7
.L24:
	nop
.L7:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L5:
	ldr	r2, [fp, #-144]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	bcc	.L12
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L13
	ldr	r3, [fp, #-120]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-120]
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L4
.L13:
	ldr	r3, [fp, #-116]
	mov	r2, r3
	mov	r3, #0
	ldr	r1, [fp, #-120]
	mov	r0, r1
	mov	r1, #0
	sub	r5, fp, #92
	ldmia	r5, {r4-r5}
	subs	r6, r4, r0
	sbc	r7, r5, r1
	adds	r8, r2, r6
	adc	r9, r3, r7
	str	r8, [fp, #-76]
	str	r9, [fp, #-72]
	b	.L4
.L2:
	ldr	r3, [fp, #-152]
	ldr	r3, [r3]
	cmp	r3, #25
	bne	.L14
	ldr	r3, [fp, #-152]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-136]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-136]
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldrb	r3, [fp, #-153]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L15
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-188]
	adc	r3, r1, r3
	str	r3, [fp, #-184]
	sub	r4, fp, #188
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-84]
	str	r4, [fp, #-80]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L4
.L15:
	mov	r3, #0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-136]
	ldr	r3, [r3, #64]
	str	r3, [fp, #-132]
	b	.L16
.L22:
	ldr	r3, [fp, #-136]
	add	r1, r3, #72
	ldr	r2, [fp, #-140]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #64]
	and	r3, r3, #255
	cmp	r3, #1
	beq	.L25
	ldr	r3, [fp, #-128]
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-128]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	adds	ip, r0, r2
	str	ip, [fp, #-196]
	adc	r3, r1, r3
	str	r3, [fp, #-192]
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L19
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcc	.L19
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	ip, r0, r2
	str	ip, [fp, #-172]
	adc	r3, r1, r3
	str	r3, [fp, #-168]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bls	.L20
.L19:
	mov	r3, #2
	b	.L10
.L20:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcs	.L21
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
.L21:
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L18
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	b	.L18
.L25:
	nop
.L18:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L16:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	bcc	.L22
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L23
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L4
.L23:
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r1, r2, r4
	str	r1, [fp, #-204]
	adc	r3, r3, r5
	str	r3, [fp, #-200]
	sub	r4, fp, #204
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-76]
	str	r4, [fp, #-72]
	b	.L4
.L14:
	mov	r3, #1
	b	.L10
.L4:
	ldr	r1, [fp, #-160]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-164]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	subs	ip, r0, r2
	str	ip, [fp, #-180]
	sbc	r3, r1, r3
	str	r3, [fp, #-176]
	ldr	r3, [fp, #4]
	sub	r2, fp, #180
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	mov	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp}
	bx	lr
	.size	get_mapped_segment_range, .-get_mapped_segment_range
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wbx\000"
	.align	2
.LC1:
	.ascii	"-%c requires an argument\012\000"
	.align	2
.LC2:
	.ascii	"wb\000"
	.align	2
.LC3:
	.ascii	"Bad option: -%c\012\000"
	.align	2
.LC4:
	.ascii	"Usage: %s [-cf] [-C name] in out\012    -c      Out"
	.ascii	"put as headless C array\012    -C name Output as na"
	.ascii	"med C array\012    -f      Force (overwrite existin"
	.ascii	"g files)\012    -s      Use only segments for mappi"
	.ascii	"ng, ignore sections\012\000"
	.align	2
.LC5:
	.ascii	"-\000"
	.align	2
.LC6:
	.ascii	"rb\000"
	.align	2
.LC7:
	.ascii	"fopen(%s): %s\012\000"
	.align	2
.LC8:
	.ascii	"ftell(cur): %s\012\000"
	.align	2
.LC9:
	.ascii	"fseek(end): %s\012\000"
	.align	2
.LC10:
	.ascii	"ftell(end): %s\012\000"
	.align	2
.LC11:
	.ascii	"fseek(cur): %s\012\000"
	.align	2
.LC12:
	.ascii	"File too short for magic.\012\000"
	.align	2
.LC13:
	.ascii	"malloc(file): %s\012\000"
	.align	2
.LC14:
	.ascii	"fread: %s\012\000"
	.align	2
.LC15:
	.ascii	"File too short for load commands.\012\000"
	.align	2
.LC16:
	.ascii	"Bad magic: %08llx\012\000"
	.align	2
.LC17:
	.ascii	"Bad LC: 0x%llx\012\000"
	.align	2
.LC18:
	.ascii	"get_mapped_segment_range returned error: %d\012\000"
	.align	2
.LC19:
	.ascii	"Bad segment: 0x%llx\012\000"
	.align	2
.LC20:
	.ascii	"Bad memory layout, lowest: 0x%llx, highest: 0x%llx\012"
	.ascii	"\000"
	.align	2
.LC21:
	.ascii	"malloc: %s\012\000"
	.align	2
.LC22:
	.ascii	"fwrite: %s\012\000"
	.align	2
.LC23:
	.ascii	"unsigned char %s[] = {\012\000"
	.align	2
.LC24:
	.ascii	"    \000"
	.align	2
.LC25:
	.ascii	"\000"
	.align	2
.LC26:
	.ascii	"%s0x%02x,%c\000"
	.align	2
.LC27:
	.ascii	"};\012\000"
	.align	2
.LC28:
	.ascii	"fprintf: %s\012\000"
	.align	2
.LC29:
	.ascii	"Done, base address: 0x%llx\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #224
	str	r0, [fp, #-224]
	str	r1, [fp, #-228]
	ldr	r3, .L111
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-212]
	mov	r3, #0
	str	r3, [fp, #-208]
	mov	r3, #0
	str	r3, [fp, #-204]
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-200]
	mov	r3, #0
	str	r3, [fp, #-196]
	mov	r3, #0
	str	r3, [fp, #-192]
	ldr	r3, .L111+4
	str	r3, [fp, #-188]
	mov	r3, #0
	str	r3, [fp, #-184]
	mov	r3, #1
	strb	r3, [fp, #-214]
	mov	r3, #1
	str	r3, [fp, #-176]
	b	.L27
.L38:
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L28
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-176]
	str	r3, [fp, #-140]
	mov	r3, #1
	str	r3, [fp, #-172]
	b	.L29
.L37:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-213]
	ldrb	r3, [fp, #-213]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L30
	cmp	r3, #115
	bgt	.L31
	cmp	r3, #102
	beq	.L32
	cmp	r3, #102
	bgt	.L31
	cmp	r3, #67
	beq	.L33
	cmp	r3, #99
	bne	.L31
	mov	r3, #1
	str	r3, [fp, #-192]
	b	.L34
.L33:
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-176]
	sub	r3, r2, r3
	cmp	r3, #3
	bgt	.L35
	ldr	r3, .L111+8
	ldr	r3, [r3]
	ldrb	r2, [fp, #-213]	@ zero_extendqisi2
	ldr	r1, .L111+12
	mov	r0, r3
	bl	fprintf
	b	.L36
.L35:
	mov	r3, #2
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-184]
	b	.L34
.L32:
	ldr	r3, .L111+16
	str	r3, [fp, #-188]
	b	.L34
.L30:
	mov	r3, #0
	strb	r3, [fp, #-214]
	b	.L34
.L31:
	ldr	r3, .L111+8
	ldr	r3, [r3]
	ldrb	r2, [fp, #-213]	@ zero_extendqisi2
	ldr	r1, .L111+20
	mov	r0, r3
	bl	fprintf
	b	.L36
.L34:
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L29:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L37
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L27:
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	blt	.L38
.L28:
	ldr	r2, [fp, #-224]
	ldr	r3, [fp, #-176]
	sub	r3, r2, r3
	cmp	r3, #2
	beq	.L39
	ldr	r3, .L111+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-228]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L111+24
	bl	fprintf
	b	.L36
.L39:
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L111+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L111+32
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	b	.L41
.L40:
	ldr	r3, .L111+36
	ldr	r3, [r3]
.L41:
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-200]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L111+8
	ldr	r4, [r3]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L111+40
	mov	r0, r4
	bl	fprintf
	b	.L36
.L42:
	ldr	r0, [fp, #-200]
	bl	ftell
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L43
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+44
	mov	r0, r4
	bl	fprintf
	b	.L36
.L43:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-200]
	bl	fseek
	str	r0, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	beq	.L44
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+48
	mov	r0, r4
	bl	fprintf
	b	.L36
.L44:
	ldr	r0, [fp, #-200]
	bl	ftell
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L45
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+52
	mov	r0, r4
	bl	fprintf
	b	.L36
.L45:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-136]
	sub	r3, r2, r3
	str	r3, [fp, #-148]
	mov	r2, #0
	ldr	r1, [fp, #-136]
	ldr	r0, [fp, #-200]
	bl	fseek
	str	r0, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+56
	mov	r0, r4
	bl	fprintf
	b	.L36
.L46:
	ldr	r3, [fp, #-148]
	cmp	r3, #3
	bhi	.L47
	ldr	r3, .L111+8
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L111+60
	bl	fwrite
	b	.L36
.L47:
	ldr	r0, [fp, #-148]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-208]
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+64
	mov	r0, r4
	bl	fprintf
	b	.L36
.L48:
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-148]
	mov	r1, #1
	ldr	r0, [fp, #-208]
	bl	fread
	mov	r2, r0
	ldr	r3, [fp, #-148]
	cmp	r3, r2
	beq	.L49
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+68
	mov	r0, r4
	bl	fprintf
	b	.L36
.L49:
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-208]
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-164]
	ldr	r3, [fp, #-124]
	ldr	r2, .L111+72
	cmp	r3, r2
	bne	.L50
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #20]
	add	r3, r3, #28
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	bcs	.L51
	ldr	r3, .L111+8
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L111+76
	bl	fwrite
	b	.L36
.L51:
	ldr	r3, [fp, #-116]
	add	r3, r3, #28
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-164]
	b	.L52
.L50:
	ldr	r3, [fp, #-124]
	ldr	r2, .L111+80
	cmp	r3, r2
	bne	.L53
	ldr	r3, [fp, #-208]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #20]
	add	r3, r3, #32
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	bcs	.L54
	ldr	r3, .L111+8
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L111+76
	bl	fwrite
	b	.L36
.L54:
	ldr	r3, [fp, #-120]
	add	r3, r3, #32
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-164]
	b	.L52
.L53:
	ldr	r3, .L111+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-124]
	mov	r2, r3
	mov	r3, #0
	ldr	r1, .L111+84
	bl	fprintf
	b	.L36
.L52:
	mvn	r2, #0
	mvn	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-160]
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	str	r3, [fp, #-112]
	b	.L55
.L70:
	ldr	r3, [fp, #-160]
	add	r2, r3, #8
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bhi	.L56
	ldr	r3, [fp, #-160]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-160]
	add	r2, r2, r3
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bhi	.L56
	ldr	r3, [fp, #-160]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-160]
	add	r2, r2, r3
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	bcs	.L57
.L56:
	ldr	r3, .L111+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-128]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r3, #0
	ldr	r1, .L111+88
	bl	fprintf
	b	.L36
.L57:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r0, fp, #92
	sub	r2, fp, #100
	ldrb	r1, [fp, #-214]	@ zero_extendqisi2
	sub	r3, fp, #84
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-160]
	bl	get_mapped_segment_range
	str	r0, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	beq	.L104
	ldr	r3, [fp, #-180]
	cmp	r3, #1
	beq	.L105
	ldr	r3, .L111+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-180]
	ldr	r1, .L111+92
	mov	r0, r3
	bl	fprintf
	b	.L36
.L104:
	nop
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L106
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-60]
	str	r5, [fp, #-56]
	ldr	r3, [fp, #-148]
	mov	r2, r3
	mov	r3, #0
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bhi	.L65
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bcs	.L66
.L65:
	ldr	r3, .L111+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-128]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r3, #0
	ldr	r1, .L111+96
	bl	fprintf
	b	.L36
.L66:
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcs	.L67
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
.L67:
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	adds	r8, r0, r2
	adc	r9, r1, r3
	str	r8, [fp, #-44]
	str	r9, [fp, #-40]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L69
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	b	.L69
.L105:
	nop
	b	.L69
.L106:
	nop
.L69:
	ldr	r3, [fp, #-160]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-160]
	add	r3, r2, r3
	str	r3, [fp, #-160]
.L55:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bcc	.L70
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bcs	.L71
	ldr	r3, .L111+8
	ldr	r0, [r3]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r1, .L111+100
	bl	fprintf
	b	.L36
.L71:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	str	r3, [fp, #-144]
	ldr	r0, [fp, #-144]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-204]
	cmp	r3, #0
	bne	.L72
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+104
	mov	r0, r4
	bl	fprintf
	b	.L36
.L72:
	ldr	r2, [fp, #-144]
	mov	r1, #0
	ldr	r0, [fp, #-204]
	bl	memset
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-156]
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	str	r3, [fp, #-108]
	b	.L73
.L81:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r0, fp, #92
	sub	r2, fp, #100
	ldrb	r1, [fp, #-214]	@ zero_extendqisi2
	sub	r3, fp, #84
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-156]
	bl	get_mapped_segment_range
	str	r0, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	beq	.L107
	ldr	r3, [fp, #-180]
	cmp	r3, #1
	beq	.L108
	ldr	r3, .L111+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-180]
	ldr	r1, .L111+92
	mov	r0, r3
	bl	fprintf
	b	.L36
.L107:
	nop
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L109
	ldr	r3, [fp, #-204]
	mov	r2, r3
	mov	r3, #0
	sub	r5, fp, #100
	ldmia	r5, {r4-r5}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	subs	r6, r4, r0
	sbc	r7, r5, r1
	adds	r1, r2, r6
	str	r1, [fp, #-236]
	adc	r3, r3, r7
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-236]
	mov	ip, r3
	ldr	r3, [fp, #-128]
	mov	r0, r3
	mov	r1, #0
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	adds	lr, r0, r2
	str	lr, [fp, #-244]
	adc	r3, r1, r3
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-244]
	mov	r1, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	mov	r3, r2
	mov	r2, r3
	mov	r0, ip
	bl	memcpy
	b	.L80
.L108:
	nop
	b	.L80
.L109:
	nop
.L80:
	ldr	r3, [fp, #-156]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-156]
	add	r3, r2, r3
	str	r3, [fp, #-156]
.L73:
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	bcc	.L81
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L111+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-188]
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	b	.L83
.L82:
	ldr	r3, .L111+108
	ldr	r3, [r3]
.L83:
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	bne	.L84
	ldr	r3, .L111+8
	ldr	r4, [r3]
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-228]
	add	r3, r2, r3
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L111+40
	mov	r0, r4
	bl	fprintf
	b	.L36
.L84:
	ldr	r3, [fp, #-192]
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-196]
	ldr	r2, [fp, #-144]
	mov	r1, #1
	ldr	r0, [fp, #-204]
	bl	fwrite
	mov	r2, r0
	ldr	r3, [fp, #-144]
	cmp	r3, r2
	beq	.L86
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+112
	mov	r0, r4
	bl	fprintf
	b	.L36
.L85:
	mov	r3, #0
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-192]
	cmp	r3, #2
	bne	.L87
	ldr	r2, [fp, #-184]
	ldr	r1, .L111+116
	ldr	r0, [fp, #-196]
	bl	fprintf
	str	r0, [fp, #-180]
.L87:
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	blt	.L88
	ldr	r3, [fp, #-204]
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L89
.L96:
	ldr	r3, [fp, #-152]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L90
	ldr	r1, .L111+120
	b	.L91
.L90:
	ldr	r1, .L111+124
.L91:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-152]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-152]
	and	r3, r3, #15
	cmp	r3, #15
	beq	.L92
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	bne	.L93
.L92:
	mov	r3, #10
	b	.L94
.L93:
	mov	r3, #32
.L94:
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L111+128
	ldr	r0, [fp, #-196]
	bl	fprintf
	str	r0, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	blt	.L110
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L89:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	bcc	.L96
	b	.L88
.L110:
	nop
.L88:
	ldr	r3, [fp, #-192]
	cmp	r3, #2
	bne	.L97
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	blt	.L97
	ldr	r1, .L111+132
	ldr	r0, [fp, #-196]
	bl	fprintf
	str	r0, [fp, #-180]
.L97:
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	bge	.L86
	ldr	r3, .L111+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L111+136
	mov	r0, r4
	bl	fprintf
	b	.L36
.L86:
	ldr	r0, [fp, #-196]
	bl	fflush
	ldr	r3, .L111+8
	ldr	r0, [r3]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r1, .L111+140
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-212]
.L36:
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	beq	.L98
	ldr	r3, .L111+108
	ldr	r3, [r3]
	ldr	r2, [fp, #-196]
	cmp	r2, r3
	beq	.L98
	ldr	r0, [fp, #-196]
	bl	fclose
.L98:
	ldr	r3, [fp, #-204]
	cmp	r3, #0
	beq	.L99
	ldr	r0, [fp, #-204]
	bl	free
.L99:
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	beq	.L100
	ldr	r0, [fp, #-208]
	bl	free
.L100:
	ldr	r3, [fp, #-200]
	cmp	r3, #0
	beq	.L101
	ldr	r3, .L111+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-200]
	cmp	r2, r3
	beq	.L101
	ldr	r0, [fp, #-200]
	bl	fclose
.L101:
	ldr	r3, [fp, #-212]
	ldr	r2, .L111
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L103
	bl	__stack_chk_fail
.L103:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC30
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	stdin
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	-17958194
	.word	.LC15
	.word	-17958193
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	stdout
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
