	.file	"275897.c"
	.intel_syntax noprefix
	.text
	.type	__bswap_32, @function
__bswap_32:
.LFB1:
	.cfi_startproc
	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
	mov	eax, DWORD PTR -4[rbp]
	bswap	eax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	__bswap_32, .-__bswap_32
	.globl	xlate
	.type	xlate, @function
xlate:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L9:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	movzx	eax, BYTE PTR -5[rbp]
	sar	al, 4
	mov	BYTE PTR -7[rbp], al
	movzx	eax, BYTE PTR -5[rbp]
	and	eax, 15
	mov	BYTE PTR -6[rbp], al
	cmp	BYTE PTR -7[rbp], 9
	jle	.L5
	movzx	eax, BYTE PTR -7[rbp]
	add	eax, 55
	mov	BYTE PTR -7[rbp], al
	jmp	.L6
.L5:
	movzx	eax, BYTE PTR -7[rbp]
	add	eax, 48
	mov	BYTE PTR -7[rbp], al
.L6:
	cmp	BYTE PTR -6[rbp], 9
	jle	.L7
	movzx	eax, BYTE PTR -6[rbp]
	add	eax, 55
	mov	BYTE PTR -6[rbp], al
	jmp	.L8
.L7:
	movzx	eax, BYTE PTR -6[rbp]
	add	eax, 48
	mov	BYTE PTR -6[rbp], al
.L8:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -32[rbp], rdx
	movzx	edx, BYTE PTR -7[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -32[rbp], rdx
	movzx	edx, BYTE PTR -6[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jb	.L9
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	xlate, .-xlate
	.globl	get4k
	.type	get4k, @function
get4k:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L11
.L12:
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -8[rbp], 1
.L11:
	cmp	DWORD PTR -8[rbp], 4095
	jbe	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get4k, .-get4k
	.globl	put4k
	.type	put4k, @function
put4k:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	put4k, .-put4k
	.section	.rodata
	.align 8
.LC0:
	.string	"Name of System Map file missing.\n"
	.align 8
.LC1:
	.string	"Name of vmlinux file missing.\n"
	.align 8
.LC2:
	.string	"Name of vmlinux output file missing.\n"
.LC3:
	.string	"r"
	.align 8
.LC4:
	.string	"System Map file \"%s\" failed to open.\n"
	.align 8
.LC5:
	.string	"vmlinux file \"%s\" failed to open.\n"
.LC6:
	.string	"w"
	.align 8
.LC7:
	.string	"output vmlinux file \"%s\" failed to open.\n"
.LC8:
	.string	"kernel file size = %ld\n"
	.align 8
.LC9:
	.string	"You must have a linux kernel specified as argv[2]\n"
	.align 8
.LC10:
	.string	"actual kernel length (minus ELF header) = %ld/%lxx \n"
	.align 8
.LC11:
	.string	"Kernel length rounded up to a 4k multiple = %ld/%lxx \n"
	.align 8
.LC12:
	.string	"Kernel pages to copy = %ld/%lxx\n"
.LC13:
	.string	"%s file size = %ld\n"
	.align 8
.LC14:
	.string	"Rounding System Map file up to a multiple of 4096, adding %ld\n"
	.align 8
.LC15:
	.string	"Rounded System Map size is %ld\n"
	.align 8
.LC16:
	.string	"System map pages to copy = %ld\n"
.LC17:
	.string	" _end"
	.align 8
.LC18:
	.string	"Unable to find _end in the sysmap file \n"
.LC19:
	.string	"inbuf: \n"
.LC20:
	.string	"%s \n"
	.align 8
.LC21:
	.string	"Found _end in the last page of the sysmap - backing up 10 characters it looks like %s"
	.align 8
.LC22:
	.string	"vmlinux is larger than _end indicates it needs to be - sysmapStartOffs = %lx \n"
	.align 8
.LC23:
	.string	"will insert %lx pages between the vmlinux and the start of the sysmap \n"
	.align 8
.LC24:
	.string	"vmlinux is smaller than _end indicates is needed - sysmapStartOffs = %lx \n"
	.align 8
.LC25:
	.string	"Storing embedded_sysmap_start at 0x3c"
	.align 8
.LC26:
	.string	"Storing embedded_sysmap_end at 0x44"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 176
	mov	DWORD PTR -4260[rbp], edi
	mov	QWORD PTR -4272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -4208[rbp], 0
	mov	QWORD PTR -4200[rbp], 0
	mov	QWORD PTR -4192[rbp], 0
	mov	QWORD PTR -4184[rbp], 0
	mov	QWORD PTR -4248[rbp], 0
	mov	QWORD PTR -4176[rbp], 0
	mov	QWORD PTR -4240[rbp], 0
	mov	QWORD PTR -4168[rbp], 0
	mov	QWORD PTR -4160[rbp], 0
	mov	QWORD PTR -4152[rbp], 0
	mov	QWORD PTR -4144[rbp], 0
	mov	QWORD PTR -4232[rbp], 0
	mov	QWORD PTR -4224[rbp], 0
	mov	QWORD PTR -4136[rbp], 0
	mov	QWORD PTR -4128[rbp], 0
	mov	QWORD PTR -4216[rbp], 0
	cmp	DWORD PTR -4260[rbp], 1
	jg	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	cmp	DWORD PTR -4260[rbp], 2
	jg	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	cmp	DWORD PTR -4260[rbp], 3
	jg	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4208[rbp], rax
	cmp	QWORD PTR -4208[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4192[rbp], rax
	cmp	QWORD PTR -4192[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 16
	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
.L19:
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4184[rbp], rax
	cmp	QWORD PTR -4184[rbp], 0
	jne	.L20
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	rax, QWORD PTR -4192[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -4160[rbp], rax
	mov	rax, QWORD PTR -4192[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -4160[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -4160[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 50
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -4160[rbp]
	sub	rax, 65536
	mov	QWORD PTR -4152[rbp], rax
	mov	rdx, QWORD PTR -4152[rbp]
	mov	rax, QWORD PTR -4152[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4152[rbp]
	and	eax, 4095
	mov	QWORD PTR -4144[rbp], rax
	mov	rax, QWORD PTR -4152[rbp]
	mov	QWORD PTR -4232[rbp], rax
	cmp	QWORD PTR -4144[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -4232[rbp]
	sub	rax, QWORD PTR -4144[rbp]
	add	rax, 4096
	mov	QWORD PTR -4232[rbp], rax
.L22:
	mov	rdx, QWORD PTR -4232[rbp]
	mov	rax, QWORD PTR -4232[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4232[rbp]
	shr	rax, 12
	mov	QWORD PTR -4128[rbp], rax
	mov	rdx, QWORD PTR -4128[rbp]
	mov	rax, QWORD PTR -4128[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4208[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -4208[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -4176[rbp], rax
	mov	rax, QWORD PTR -4208[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -4176[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4176[rbp]
	mov	QWORD PTR -4240[rbp], rax
	mov	rax, QWORD PTR -4240[rbp]
	and	eax, 4095
	mov	rdx, rax
	mov	eax, 4096
	sub	rax, rdx
	mov	QWORD PTR -4168[rbp], rax
	cmp	QWORD PTR -4168[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -4168[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4168[rbp]
	add	QWORD PTR -4240[rbp], rax
.L23:
	mov	rax, QWORD PTR -4240[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4240[rbp]
	shr	rax, 12
	mov	QWORD PTR -4136[rbp], rax
	mov	rax, QWORD PTR -4136[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -4248[rbp], 0
	jmp	.L24
.L25:
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get4k
	add	QWORD PTR -4248[rbp], 1
.L24:
	mov	rax, QWORD PTR -4248[rbp]
	cmp	QWORD PTR -4136[rbp], rax
	ja	.L25
	lea	rax, -4112[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -4200[rbp], rax
	cmp	QWORD PTR -4200[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -4112[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR -4200[rbp]
	sub	rax, 10
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4200[rbp]
	sub	rax, 10
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	eax, eax
	mov	QWORD PTR -4224[rbp], rax
	mov	rax, QWORD PTR -4224[rbp]
	shr	rax, 12
	sub	rax, QWORD PTR -4128[rbp]
	mov	QWORD PTR -4216[rbp], rax
	cmp	QWORD PTR -4216[rbp], 0
	jns	.L27
	mov	rax, QWORD PTR -4232[rbp]
	mov	QWORD PTR -4224[rbp], rax
	mov	rax, QWORD PTR -4224[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -4216[rbp], 0
	mov	rax, QWORD PTR -4216[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L28
.L27:
	mov	rax, QWORD PTR -4224[rbp]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -4216[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	mov	QWORD PTR -4248[rbp], 0
	jmp	.L29
.L30:
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get4k
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	put4k
	add	QWORD PTR -4248[rbp], 1
.L29:
	cmp	QWORD PTR -4248[rbp], 15
	jle	.L30
	mov	rax, QWORD PTR -4192[rbp]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	fseek@PLT
	mov	QWORD PTR -4248[rbp], 0
	jmp	.L31
.L33:
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get4k
	cmp	QWORD PTR -4248[rbp], 0
	jne	.L32
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rax, -4112[rbp]
	add	rax, 60
	mov	QWORD PTR -4120[rbp], rax
	mov	rax, QWORD PTR -4224[rbp]
	mov	edi, eax
	call	__bswap_32
	mov	edx, eax
	mov	rax, QWORD PTR -4120[rbp]
	mov	QWORD PTR [rax], rdx
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rax, -4112[rbp]
	add	rax, 68
	mov	QWORD PTR -4120[rbp], rax
	mov	rax, QWORD PTR -4224[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -4176[rbp]
	add	eax, edx
	mov	edi, eax
	call	__bswap_32
	mov	edx, eax
	mov	rax, QWORD PTR -4120[rbp]
	mov	QWORD PTR [rax], rdx
.L32:
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	put4k
	add	QWORD PTR -4248[rbp], 1
.L31:
	mov	rax, QWORD PTR -4248[rbp]
	cmp	QWORD PTR -4128[rbp], rax
	ja	.L33
	mov	QWORD PTR -4248[rbp], 0
	jmp	.L34
.L35:
	lea	rax, -4112[rbp]
	mov	edx, 4096
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	put4k
	add	QWORD PTR -4248[rbp], 1
.L34:
	mov	rax, QWORD PTR -4248[rbp]
	cmp	rax, QWORD PTR -4216[rbp]
	jl	.L35
	mov	rax, QWORD PTR -4208[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	QWORD PTR -4248[rbp], 0
	jmp	.L36
.L37:
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get4k
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	put4k
	add	QWORD PTR -4248[rbp], 1
.L36:
	mov	rax, QWORD PTR -4248[rbp]
	cmp	QWORD PTR -4136[rbp], rax
	ja	.L37
	mov	rax, QWORD PTR -4208[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -4192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -4184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -4272[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	esi, 493
	mov	rdi, rax
	call	chmod@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"275897.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__bswap_32, %function
__bswap_32:
	@ 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	r2, [fp, #-8]
	eor	r3, r2, r2, ror #16
	lsr	r3, r3, #8
	ror	r2, r2, #8
	bic	r3, r3, #65280
	eor	r3, r3, r2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__bswap_32, .-__bswap_32
	.align	2
	.global	xlate
	.syntax unified
	.arm
	.fpu softvfp
	.type	xlate, %function
xlate:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L9:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsr	r3, r3, #4
	strb	r3, [fp, #-11]
	ldrb	r3, [fp, #-9]
	and	r3, r3, #15
	strb	r3, [fp, #-10]
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L5
	ldrb	r3, [fp, #-11]
	add	r3, r3, #55
	strb	r3, [fp, #-11]
	b	.L6
.L5:
	ldrb	r3, [fp, #-11]
	add	r3, r3, #48
	strb	r3, [fp, #-11]
.L6:
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L7
	ldrb	r3, [fp, #-10]
	add	r3, r3, #55
	strb	r3, [fp, #-10]
	b	.L8
.L7:
	ldrb	r3, [fp, #-10]
	add	r3, r3, #48
	strb	r3, [fp, #-10]
.L8:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldrb	r2, [fp, #-11]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldrb	r2, [fp, #-10]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L9
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	xlate, .-xlate
	.align	2
	.global	get4k
	.syntax unified
	.arm
	.fpu softvfp
	.type	get4k, %function
get4k:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	mov	r2, #4096
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fread
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	b	.L11
.L12:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-12]
	cmp	r3, #4096
	bcc	.L12
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get4k, .-get4k
	.align	2
	.global	put4k
	.syntax unified
	.arm
	.fpu softvfp
	.type	put4k, %function
put4k:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	mov	r2, #4096
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	put4k, .-put4k
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Name of System Map file missing.\012\000"
	.align	2
.LC1:
	.ascii	"Name of vmlinux file missing.\012\000"
	.align	2
.LC2:
	.ascii	"Name of vmlinux output file missing.\012\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"System Map file \"%s\" failed to open.\012\000"
	.align	2
.LC5:
	.ascii	"vmlinux file \"%s\" failed to open.\012\000"
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"output vmlinux file \"%s\" failed to open.\012\000"
	.align	2
.LC8:
	.ascii	"kernel file size = %ld\012\000"
	.align	2
.LC9:
	.ascii	"You must have a linux kernel specified as argv[2]\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"actual kernel length (minus ELF header) = %ld/%lxx "
	.ascii	"\012\000"
	.align	2
.LC11:
	.ascii	"Kernel length rounded up to a 4k multiple = %ld/%lx"
	.ascii	"x \012\000"
	.align	2
.LC12:
	.ascii	"Kernel pages to copy = %ld/%lxx\012\000"
	.align	2
.LC13:
	.ascii	"%s file size = %ld\012\000"
	.align	2
.LC14:
	.ascii	"Rounding System Map file up to a multiple of 4096, "
	.ascii	"adding %ld\012\000"
	.align	2
.LC15:
	.ascii	"Rounded System Map size is %ld\012\000"
	.align	2
.LC16:
	.ascii	"System map pages to copy = %ld\012\000"
	.align	2
.LC17:
	.ascii	" _end\000"
	.align	2
.LC18:
	.ascii	"Unable to find _end in the sysmap file \012\000"
	.align	2
.LC19:
	.ascii	"inbuf: \012\000"
	.align	2
.LC20:
	.ascii	"%s \012\000"
	.align	2
.LC21:
	.ascii	"Found _end in the last page of the sysmap - backing"
	.ascii	" up 10 characters it looks like %s\000"
	.align	2
.LC22:
	.ascii	"vmlinux is larger than _end indicates it needs to b"
	.ascii	"e - sysmapStartOffs = %lx \012\000"
	.align	2
.LC23:
	.ascii	"will insert %lx pages between the vmlinux and the s"
	.ascii	"tart of the sysmap \012\000"
	.align	2
.LC24:
	.ascii	"vmlinux is smaller than _end indicates is needed - "
	.ascii	"sysmapStartOffs = %lx \012\000"
	.align	2
.LC25:
	.ascii	"Storing embedded_sysmap_start at 0x3c\000"
	.align	2
.LC26:
	.ascii	"Storing embedded_sysmap_end at 0x44\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-76]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-80]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-72]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-64]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	cmp	r3, #1
	bgt	.L15
	ldr	r3, .L40+4
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L40+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	cmp	r3, #2
	bgt	.L16
	ldr	r3, .L40+4
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L40+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-76]
	cmp	r3, #3
	bgt	.L17
	ldr	r3, .L40+4
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L40+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L40+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L40+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L40+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L40+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L40+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L40+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #12
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L40+32
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L40+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L40+36
	bl	fprintf
	mov	r0, #1
	bl	exit
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [r3, #-44]
	bl	fseek
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-44]
	bl	ftell
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-44]
	bl	fseek
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	ldr	r0, .L40+40
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L40+4
	ldr	r3, [r3]
	mov	r2, #50
	mov	r1, #1
	ldr	r0, .L40+44
	bl	fwrite
	mov	r0, #1
	bl	exit
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	sub	r3, r3, #65536
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-24]
	ldr	r1, [r3, #-24]
	ldr	r0, .L40+48
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	str	r3, [r2, #-64]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	beq	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-64]
	ldr	r3, [r3, #-20]
	sub	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	add	r3, r3, #4096
	str	r3, [r2, #-64]
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-64]
	ldr	r1, [r3, #-64]
	ldr	r0, .L40+52
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	lsr	r3, r3, #12
	str	r3, [r2, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-12]
	ldr	r1, [r3, #-12]
	ldr	r0, .L40+56
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [r3, #-52]
	bl	fseek
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-52]
	bl	ftell
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-52]
	bl	fseek
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-36]
	mov	r1, r3
	ldr	r0, .L40+60
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	str	r3, [r2, #-68]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	sub	r2, fp, #4096
	sub	r2, r2, #12
	rsb	r3, r3, #4096
	str	r3, [r2, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	beq	.L23
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-32]
	ldr	r0, .L40+64
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-68]
	ldr	r3, [r3, #-32]
	add	r3, r2, r3
	str	r3, [r1, #-68]
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-68]
	ldr	r0, .L40+68
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	lsr	r3, r3, #12
	str	r3, [r2, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-16]
	ldr	r0, .L40+72
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-72]
	b	.L24
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-52]
	bl	get4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #1
	str	r3, [r2, #-72]
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	cmp	r2, r3
	bhi	.L25
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L40+76
	mov	r0, r3
	bl	strstr
	str	r0, [r4, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L40+4
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L40+80
	bl	fwrite
	ldr	r3, .L40+4
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L40+84
	bl	fwrite
	ldr	r3, .L40+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L40+88
	bl	fprintf
	mov	r0, #1
	bl	exit
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	sub	r3, r3, #10
	mov	r1, r3
	ldr	r0, .L40+92
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	sub	r3, r3, #10
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	lsr	r2, r3, #12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	sub	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	cmp	r3, #0
	bge	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	str	r3, [r2, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-60]
	ldr	r0, .L40+96
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-56]
	ldr	r0, .L40+100
	bl	printf
	b	.L28
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-60]
	ldr	r0, .L40+104
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-56]
	ldr	r0, .L40+100
	bl	printf
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-72]
	b	.L29
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-44]
	bl	get4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-40]
	bl	put4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #1
	str	r3, [r2, #-72]
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	cmp	r3, #15
	ble	.L30
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #65536
	ldr	r0, [r3, #-44]
	bl	fseek
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-72]
	b	.L31
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-44]
	bl	get4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L40+108
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #60
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-60]
	bl	__bswap_32
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	str	r2, [r3]
	ldr	r0, .L40+112
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, #68
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-60]
	ldr	r3, [r3, #-36]
	add	r3, r2, r3
	mov	r0, r3
	bl	__bswap_32
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	str	r2, [r3]
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-40]
	bl	put4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #1
	str	r3, [r2, #-72]
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	cmp	r2, r3
	bhi	.L33
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-72]
	b	.L34
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-40]
	bl	put4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #1
	str	r3, [r2, #-72]
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-72]
	ldr	r3, [r3, #-56]
	cmp	r2, r3
	blt	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-52]
	bl	fseek
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-72]
	b	.L36
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-52]
	bl	get4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-40]
	bl	put4k
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	add	r3, r3, #1
	str	r3, [r2, #-72]
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	cmp	r2, r3
	bhi	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-52]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-44]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-40]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-80]
	add	r3, r3, #12
	ldr	r3, [r3]
	ldr	r1, .L40+116
	mov	r0, r3
	bl	chmod
	mov	r3, #0
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC27
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.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	493
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
