	.file	"436704.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"raid0merge: combine 2+ flat RAID-0 disks/images into one disk/image\n"
	.align 8
.LC1:
	.string	"Usage: %s stripe_size drive1 drive2 [drive3 ...] destination\n"
	.align 8
.LC2:
	.string	"Copies raw striped (RAID-0) drives to a single destination file or device"
	.align 8
.LC3:
	.string	"Stripe size is specified in bytes and must be a power of 2"
	.globl	__popcountdi2
.LC4:
	.string	"rb"
	.align 8
.LC5:
	.string	"Can't open input file for reading: %s\n"
.LC6:
	.string	"Input %u: %s\n"
.LC7:
	.string	"wb"
	.align 8
.LC8:
	.string	"Can't open output file for reading: %s\n"
.LC9:
	.string	"Output:  %s\n"
	.align 8
.LC10:
	.string	"Read less than one full stripe (%ld/%u) from %s\n"
	.align 8
.LC11:
	.string	"Failure: only wrote %ld/%ld bytes to output %s\n"
	.align 8
.LC12:
	.string	"Stripe must be a power of two between 512 and 16777216\n"
.LC13:
	.string	"Out of memory\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
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -104[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	cmp	DWORD PTR -116[rbp], 4
	jg	.L2
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 2
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 3
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 511
	jbe	.L32
	cmp	DWORD PTR -88[rbp], 16777216
	ja	.L32
	mov	eax, DWORD PTR -88[rbp]
	mov	rdi, rax
	call	__popcountdi2@PLT
	cmp	eax, 1
	jne	.L32
	mov	eax, DWORD PTR -96[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L33
	mov	eax, DWORD PTR -96[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L34
	mov	DWORD PTR -112[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 16777216
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L35
	mov	eax, DWORD PTR -112[rbp]
	add	eax, 2
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -112[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rbx, [rcx+rdx]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L11
	mov	eax, DWORD PTR -112[rbp]
	add	eax, 2
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	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
.L11:
	mov	eax, DWORD PTR -112[rbp]
	add	eax, 2
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -112[rbp], 1
.L9:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jb	.L12
	mov	eax, DWORD PTR -96[rbp]
	sal	rax, 24
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L36
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L14
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L29:
	mov	eax, 16777216
	mov	edx, 0
	div	DWORD PTR -88[rbp]
	mov	DWORD PTR -84[rbp], eax
	mov	QWORD PTR -80[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	jmp	.L16
.L21:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -112[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rcx, rdx
	mov	edx, 16777216
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L17
	mov	eax, DWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	feof@PLT
	cmp	eax, 1
	jne	.L17
	mov	DWORD PTR -108[rbp], 1
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -32[rbp]
	add	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cmp	QWORD PTR -32[rbp], rax
	jge	.L19
	mov	eax, DWORD PTR -112[rbp]
	add	eax, 2
	mov	eax, eax
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -104[rbp], 1
	jmp	.L20
.L19:
	add	DWORD PTR -112[rbp], 1
.L16:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jb	.L21
.L18:
	cmp	QWORD PTR -80[rbp], 0
	je	.L37
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 16777216
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L23
.L28:
	mov	ebx, DWORD PTR -92[rbp]
	mov	rax, QWORD PTR -80[rbp]
	cqo
	idiv	rbx
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L24
.L27:
	mov	eax, DWORD PTR -88[rbp]
	mov	edx, DWORD PTR -112[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -100[rbp]
	imul	edx, DWORD PTR -88[rbp]
	mov	edx, edx
	lea	rsi, [rcx+rdx]
	mov	edx, DWORD PTR -100[rbp]
	imul	edx, DWORD PTR -88[rbp]
	imul	edx, DWORD PTR -92[rbp]
	mov	ecx, edx
	mov	edx, DWORD PTR -88[rbp]
	imul	edx, DWORD PTR -112[rbp]
	mov	edx, edx
	add	rcx, rdx
	mov	rdx, QWORD PTR -48[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	sub	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jle	.L38
	add	DWORD PTR -100[rbp], 1
.L24:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L27
	jmp	.L26
.L38:
	nop
.L26:
	add	DWORD PTR -112[rbp], 1
.L23:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jb	.L28
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	cmp	QWORD PTR -24[rbp], rax
	je	.L15
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	r8, rsi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -104[rbp], 1
	jmp	.L20
.L15:
	cmp	DWORD PTR -108[rbp], 0
	je	.L29
	jmp	.L20
.L37:
	nop
.L20:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -112[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	fclose@PLT
	add	DWORD PTR -112[rbp], 1
.L30:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -92[rbp]
	jb	.L31
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	exit@PLT
.L32:
	nop
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	nop
	jmp	.L7
.L34:
	nop
	jmp	.L7
.L35:
	nop
	jmp	.L7
.L36:
	nop
.L7:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.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	"436704.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"raid0merge: combine 2+ flat RAID-0 disks/images int"
	.ascii	"o one disk/image\012\000"
	.align	2
.LC1:
	.ascii	"Usage: %s stripe_size drive1 drive2 [drive3 ...] de"
	.ascii	"stination\012\000"
	.align	2
.LC2:
	.ascii	"Copies raw striped (RAID-0) drives to a single dest"
	.ascii	"ination file or device\000"
	.align	2
.LC3:
	.ascii	"Stripe size is specified in bytes and must be a pow"
	.ascii	"er of 2\000"
	.global	__popcountsi2
	.align	2
.LC4:
	.ascii	"rb\000"
	.align	2
.LC5:
	.ascii	"Can't open input file for reading: %s\012\000"
	.align	2
.LC6:
	.ascii	"Input %u: %s\012\000"
	.align	2
.LC7:
	.ascii	"wb\000"
	.align	2
.LC8:
	.ascii	"Can't open output file for reading: %s\012\000"
	.align	2
.LC9:
	.ascii	"Output:  %s\012\000"
	.global	__aeabi_uidiv
	.align	2
.LC10:
	.ascii	"Read less than one full stripe (%ld/%u) from %s\012"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"Failure: only wrote %ld/%ld bytes to output %s\012\000"
	.align	2
.LC12:
	.ascii	"Stripe must be a power of two between 512 and 16777"
	.ascii	"216\012\000"
	.align	2
.LC13:
	.ascii	"Out of memory\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r0, .L39
	bl	puts
	ldr	r3, [fp, #-80]
	cmp	r3, #4
	bgt	.L2
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L39+4
	bl	printf
	ldr	r0, .L39+8
	bl	puts
	ldr	r0, .L39+12
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-80]
	sub	r3, r3, #2
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-80]
	sub	r3, r3, #3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #512
	bcc	.L32
	ldr	r3, [fp, #-44]
	cmp	r3, #16777216
	bhi	.L32
	ldr	r0, [fp, #-44]
	bl	__popcountsi2
	mov	r3, r0
	cmp	r3, #1
	bne	.L32
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L34
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L9
.L12:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r4, r2, r3
	mov	r0, #16777216
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	ldr	r1, .L39+16
	bl	fopen
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L39+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L39+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-76]
	ldr	r0, .L39+28
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L9:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L12
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #24
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-80]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L39+32
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L39+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-80]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L39+36
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, [fp, #-80]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L39+40
	bl	printf
	b	.L15
.L29:
	ldr	r1, [fp, #-44]
	mov	r0, #16777216
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L16
.L21:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #16777216
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #1
	bne	.L17
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L18
.L17:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bls	.L19
	ldr	r3, .L39+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-20]
	ldr	r1, .L39+44
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L20
.L19:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L16:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L21
.L18:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L37
	mov	r2, #16777216
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L23
.L28:
	ldr	r3, [fp, #-72]
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L24
.L27:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	ldr	r2, [fp, #-48]
	mul	r2, r3, r2
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-76]
	mul	r3, r1, r3
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	add	r0, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-44]
	mul	r3, r1, r3
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	mov	r1, r3
	bl	memcpy
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	ble	.L38
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L24:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L27
	b	.L26
.L38:
	nop
.L26:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L23:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L28
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-28]
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	fwrite
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L15
	ldr	r3, .L39+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-80]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-16]
	ldr	r1, .L39+48
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L20
.L15:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L29
	b	.L20
.L37:
	nop
.L20:
	ldr	r0, [fp, #-28]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L30
.L31:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L30:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L31
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r0, [fp, #-32]
	bl	free
	ldr	r0, [fp, #-40]
	bl	free
	ldr	r0, [fp, #-60]
	bl	exit
.L32:
	nop
.L5:
	ldr	r3, .L39+20
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L39+52
	bl	fwrite
	mov	r0, #1
	bl	exit
.L33:
	nop
	b	.L7
.L34:
	nop
	b	.L7
.L35:
	nop
	b	.L7
.L36:
	nop
.L7:
	ldr	r3, .L39+20
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L39+56
	bl	fwrite
	mov	r0, #1
	bl	exit
.L40:
	.align	2
.L39:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
