	.file	"344019.c"
	.intel_syntax noprefix
	.text
	.type	allZero, @function
allZero:
.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	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 15
	jg	.L3
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
.L3:
	cmp	DWORD PTR -4[rbp], 16
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	allZero, .-allZero
	.section	.rodata
.LC0:
	.string	"pagesize"
	.align 8
.LC1:
	.string	"Page size must be a power of two between 512 and 65536.\n"
.LC2:
	.string	"Unknown option: %s\n"
	.align 8
.LC3:
	.string	"Already using a different input file: [%s]\n"
.LC4:
	.string	"No input file specified.\n"
	.align 8
.LC5:
	.string	"Usage: %s [--pagesize N] FILENAME\n"
.LC6:
	.string	"rb"
.LC7:
	.string	"Cannot open input file [%s]\n"
	.align 8
.LC8:
	.string	"File too short. Minimum size is 100 bytes.\n"
.LC9:
	.string	"Cannot read file header\n"
	.align 8
.LC10:
	.string	"Invalid page size in header: %d\n"
	.align 8
.LC11:
	.string	"| size %d pagesize %d filename %s\n"
	.align 8
.LC12:
	.string	"Could not read input file starting at byte %d\n"
.LC13:
	.string	"| page %d offset %d\n"
.LC14:
	.string	"|  %5d:"
.LC15:
	.string	" %02x"
.LC16:
	.string	"   "
.LC17:
	.string	"| end %s\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, 496
	mov	DWORD PTR -484[rbp], edi
	mov	QWORD PTR -496[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -468[rbp], 0
	mov	DWORD PTR -456[rbp], 0
	mov	QWORD PTR -440[rbp], 0
	mov	QWORD PTR -432[rbp], 0
	mov	DWORD PTR -452[rbp], 0
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 46
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -464[rbp], 32
	jmp	.L7
.L9:
	cmp	DWORD PTR -464[rbp], 123
	je	.L8
	cmp	DWORD PTR -464[rbp], 125
	je	.L8
	cmp	DWORD PTR -464[rbp], 34
	je	.L8
	cmp	DWORD PTR -464[rbp], 92
	je	.L8
	mov	eax, DWORD PTR -464[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	mov	BYTE PTR -272[rbp+rax], dl
.L8:
	add	DWORD PTR -464[rbp], 1
.L7:
	cmp	DWORD PTR -464[rbp], 126
	jle	.L9
	mov	DWORD PTR -464[rbp], 1
	jmp	.L10
.L18:
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -496[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L11
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -496[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -424[rbp], rax
	add	QWORD PTR -424[rbp], 1
	mov	rax, QWORD PTR -424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L12
	add	QWORD PTR -424[rbp], 1
.L12:
	mov	rax, QWORD PTR -424[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	add	DWORD PTR -464[rbp], 1
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -496[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -468[rbp], eax
	cmp	DWORD PTR -468[rbp], 511
	jle	.L14
	cmp	DWORD PTR -468[rbp], 65536
	jg	.L14
	mov	eax, DWORD PTR -468[rbp]
	sub	eax, 1
	and	eax, DWORD PTR -468[rbp]
	test	eax, eax
	je	.L43
.L14:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	add	DWORD PTR -456[rbp], 1
	jmp	.L43
.L13:
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -496[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -456[rbp], 1
	jmp	.L16
.L11:
	cmp	QWORD PTR -440[rbp], 0
	je	.L17
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -496[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -456[rbp], 1
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -496[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -440[rbp], rax
	jmp	.L16
.L43:
	nop
.L16:
	add	DWORD PTR -464[rbp], 1
.L10:
	mov	eax, DWORD PTR -464[rbp]
	cmp	eax, DWORD PTR -484[rbp]
	jl	.L18
	cmp	QWORD PTR -440[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	add	DWORD PTR -456[rbp], 1
.L19:
	cmp	DWORD PTR -456[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -496[rbp]
	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
.L20:
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -416[rbp], rax
	cmp	QWORD PTR -416[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -440[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -416[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -416[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -408[rbp], rax
	mov	rax, QWORD PTR -416[rbp]
	mov	rdi, rax
	call	rewind@PLT
	cmp	QWORD PTR -408[rbp], 99
	jg	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	mov	rdx, QWORD PTR -416[rbp]
	lea	rax, -384[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 100
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L23
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L23:
	mov	rax, QWORD PTR -416[rbp]
	mov	rdi, rax
	call	rewind@PLT
	cmp	DWORD PTR -468[rbp], 0
	jne	.L24
	movzx	eax, BYTE PTR -368[rbp]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -367[rbp]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -468[rbp], eax
	cmp	DWORD PTR -468[rbp], 1
	jne	.L25
	mov	DWORD PTR -468[rbp], 65536
.L25:
	cmp	DWORD PTR -468[rbp], 511
	jle	.L26
	mov	eax, DWORD PTR -468[rbp]
	sub	eax, 1
	and	eax, DWORD PTR -468[rbp]
	test	eax, eax
	je	.L24
.L26:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -468[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	mov	rax, QWORD PTR -440[rbp]
	mov	QWORD PTR -432[rbp], rax
	mov	DWORD PTR -464[rbp], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -464[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L28
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L28
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	mov	QWORD PTR -432[rbp], rax
.L28:
	add	DWORD PTR -464[rbp], 1
.L27:
	mov	eax, DWORD PTR -464[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L29
	mov	rax, QWORD PTR -408[rbp]
	mov	esi, eax
	mov	rdx, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR -468[rbp]
	mov	rcx, rdx
	mov	edx, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -464[rbp], 0
	jmp	.L30
.L40:
	mov	rdx, QWORD PTR -416[rbp]
	lea	rax, -400[rbp]
	mov	rcx, rdx
	mov	edx, 16
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -448[rbp], eax
	cmp	DWORD PTR -448[rbp], 16
	je	.L31
	mov	eax, DWORD PTR once.0[rip]
	test	eax, eax
	je	.L32
	mov	edx, DWORD PTR -464[rbp]
	mov	eax, DWORD PTR -448[rbp]
	add	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L32:
	mov	eax, 16
	sub	eax, DWORD PTR -448[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rdx, edx
	lea	rcx, -400[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	mov	rdi, rcx
	call	memset@PLT
.L31:
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	allZero
	test	eax, eax
	jne	.L44
	mov	eax, DWORD PTR -464[rbp]
	cdq
	idiv	DWORD PTR -468[rbp]
	add	eax, 1
	mov	DWORD PTR -444[rbp], eax
	mov	eax, DWORD PTR -452[rbp]
	cmp	eax, DWORD PTR -444[rbp]
	je	.L35
	mov	eax, DWORD PTR -444[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -468[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -444[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -444[rbp]
	mov	DWORD PTR -452[rbp], eax
.L35:
	mov	eax, DWORD PTR -444[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -468[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -464[rbp]
	sub	eax, edx
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -460[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	movzx	eax, BYTE PTR -400[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -460[rbp], 1
.L36:
	cmp	DWORD PTR -460[rbp], 15
	jle	.L37
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -460[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -460[rbp]
	cdqe
	movzx	eax, BYTE PTR -400[rbp+rax]
	mov	BYTE PTR -469[rbp], al
	mov	rdx, QWORD PTR stdout[rip]
	movzx	eax, BYTE PTR -469[rbp]
	cdqe
	movzx	eax, BYTE PTR -272[rbp+rax]
	movzx	eax, al
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	add	DWORD PTR -460[rbp], 1
.L38:
	cmp	DWORD PTR -460[rbp], 15
	jle	.L39
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	jmp	.L34
.L44:
	nop
.L34:
	add	DWORD PTR -464[rbp], 16
.L30:
	mov	eax, DWORD PTR -464[rbp]
	cdqe
	cmp	QWORD PTR -408[rbp], rax
	jg	.L40
	mov	rax, QWORD PTR -416[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -432[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.data
	.align 4
	.type	once.0, @object
	.size	once.0, 4
once.0:
	.long	1
	.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	"344019.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	allZero, %function
allZero:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	bgt	.L3
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #16
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	allZero, .-allZero
	.section	.rodata
	.align	2
.LC0:
	.ascii	"pagesize\000"
	.align	2
.LC1:
	.ascii	"Page size must be a power of two between 512 and 65"
	.ascii	"536.\012\000"
	.align	2
.LC2:
	.ascii	"Unknown option: %s\012\000"
	.align	2
.LC3:
	.ascii	"Already using a different input file: [%s]\012\000"
	.align	2
.LC4:
	.ascii	"No input file specified.\012\000"
	.align	2
.LC5:
	.ascii	"Usage: %s [--pagesize N] FILENAME\012\000"
	.align	2
.LC6:
	.ascii	"rb\000"
	.align	2
.LC7:
	.ascii	"Cannot open input file [%s]\012\000"
	.align	2
.LC8:
	.ascii	"File too short. Minimum size is 100 bytes.\012\000"
	.align	2
.LC9:
	.ascii	"Cannot read file header\012\000"
	.align	2
.LC10:
	.ascii	"Invalid page size in header: %d\012\000"
	.align	2
.LC11:
	.ascii	"| size %d pagesize %d filename %s\012\000"
	.align	2
.LC12:
	.ascii	"Could not read input file starting at byte %d\012\000"
	.global	__aeabi_idiv
	.align	2
.LC13:
	.ascii	"| page %d offset %d\012\000"
	.align	2
.LC14:
	.ascii	"|  %5d:\000"
	.align	2
.LC15:
	.ascii	" %02x\000"
	.align	2
.LC16:
	.ascii	"   \000"
	.align	2
.LC17:
	.ascii	"| end %s\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #440
	str	r0, [fp, #-440]
	str	r1, [fp, #-444]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-428]
	mov	r3, #0
	str	r3, [fp, #-416]
	mov	r3, #0
	str	r3, [fp, #-412]
	mov	r3, #0
	str	r3, [fp, #-408]
	mov	r3, #0
	str	r3, [fp, #-404]
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #46
	mov	r0, r3
	bl	memset
	mov	r3, #32
	str	r3, [fp, #-424]
	b	.L7
.L9:
	ldr	r3, [fp, #-424]
	cmp	r3, #123
	beq	.L8
	ldr	r3, [fp, #-424]
	cmp	r3, #125
	beq	.L8
	ldr	r3, [fp, #-424]
	cmp	r3, #34
	beq	.L8
	ldr	r3, [fp, #-424]
	cmp	r3, #92
	beq	.L8
	ldr	r3, [fp, #-424]
	and	r1, r3, #255
	sub	r2, fp, #264
	ldr	r3, [fp, #-424]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
.L8:
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L7:
	ldr	r3, [fp, #-424]
	cmp	r3, #126
	ble	.L9
	mov	r3, #1
	str	r3, [fp, #-424]
	b	.L10
.L18:
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L11
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-400]
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
	ldr	r3, [fp, #-400]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L12
	ldr	r3, [fp, #-400]
	add	r3, r3, #1
	str	r3, [fp, #-400]
.L12:
	ldr	r1, .L45+4
	ldr	r0, [fp, #-400]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-428]
	ldr	r3, [fp, #-428]
	cmp	r3, #512
	blt	.L14
	ldr	r3, [fp, #-428]
	cmp	r3, #65536
	bgt	.L14
	ldr	r3, [fp, #-428]
	sub	r2, r3, #1
	ldr	r3, [fp, #-428]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L43
.L14:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L45+12
	bl	fwrite
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	b	.L43
.L13:
	ldr	r3, .L45+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L45+16
	bl	fprintf
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	b	.L16
.L11:
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L45+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L45+20
	bl	fprintf
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
	b	.L16
.L17:
	ldr	r3, [fp, #-424]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-412]
	b	.L16
.L43:
	nop
.L16:
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L10:
	ldr	r2, [fp, #-424]
	ldr	r3, [fp, #-440]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L45+8
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L45+24
	bl	fwrite
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L19:
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	beq	.L20
	ldr	r3, .L45+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-444]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L45+28
	bl	fprintf
	mov	r0, #1
	bl	exit
.L20:
	ldr	r1, .L45+32
	ldr	r0, [fp, #-412]
	bl	fopen
	str	r0, [fp, #-396]
	ldr	r3, [fp, #-396]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-412]
	ldr	r1, .L45+36
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L21:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-396]
	bl	fseek
	ldr	r0, [fp, #-396]
	bl	ftell
	str	r0, [fp, #-392]
	ldr	r0, [fp, #-396]
	bl	rewind
	ldr	r3, [fp, #-392]
	cmp	r3, #99
	bgt	.L22
	ldr	r3, .L45+8
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L45+40
	bl	fwrite
	mov	r0, #1
	bl	exit
.L22:
	sub	r0, fp, #364
	ldr	r3, [fp, #-396]
	mov	r2, #1
	mov	r1, #100
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L23
	ldr	r3, .L45+8
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L45+44
	bl	fwrite
	mov	r0, #1
	bl	exit
.L23:
	ldr	r0, [fp, #-396]
	bl	rewind
	ldr	r3, [fp, #-428]
	cmp	r3, #0
	bne	.L24
	ldrb	r3, [fp, #-348]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-347]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-428]
	ldr	r3, [fp, #-428]
	cmp	r3, #1
	bne	.L25
	mov	r3, #65536
	str	r3, [fp, #-428]
.L25:
	ldr	r3, [fp, #-428]
	cmp	r3, #512
	blt	.L26
	ldr	r3, [fp, #-428]
	sub	r2, r3, #1
	ldr	r3, [fp, #-428]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L24
.L26:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-428]
	ldr	r1, .L45+48
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, [fp, #-412]
	str	r3, [fp, #-408]
	mov	r3, #0
	str	r3, [fp, #-424]
	b	.L27
.L29:
	ldr	r3, [fp, #-424]
	ldr	r2, [fp, #-412]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L28
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r2, r3
	str	r3, [fp, #-408]
.L28:
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L27:
	ldr	r3, [fp, #-424]
	ldr	r2, [fp, #-412]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-408]
	ldr	r2, [fp, #-428]
	ldr	r1, [fp, #-392]
	ldr	r0, .L45+52
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-424]
	b	.L30
.L40:
	sub	r0, fp, #380
	ldr	r3, [fp, #-396]
	mov	r2, #16
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-388]
	ldr	r3, [fp, #-388]
	cmp	r3, #16
	beq	.L31
	ldr	r3, .L45+56
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L32
	ldr	r3, .L45+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-424]
	ldr	r3, [fp, #-388]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L45+60
	bl	fprintf
.L32:
	ldr	r3, [fp, #-388]
	sub	r2, fp, #380
	add	r0, r2, r3
	ldr	r3, [fp, #-388]
	rsb	r3, r3, #16
	mov	r2, r3
	mov	r1, #0
	bl	memset
.L31:
	sub	r3, fp, #380
	mov	r0, r3
	bl	allZero
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r1, [fp, #-428]
	ldr	r0, [fp, #-424]
	bl	__aeabi_idiv
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-384]
	ldr	r2, [fp, #-404]
	ldr	r3, [fp, #-384]
	cmp	r2, r3
	beq	.L35
	ldr	r3, [fp, #-384]
	sub	r3, r3, #1
	ldr	r2, [fp, #-428]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-384]
	ldr	r0, .L45+64
	bl	printf
	ldr	r3, [fp, #-384]
	str	r3, [fp, #-404]
.L35:
	ldr	r3, [fp, #-384]
	sub	r3, r3, #1
	ldr	r2, [fp, #-428]
	mul	r3, r2, r3
	ldr	r2, [fp, #-424]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L45+68
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L36
.L37:
	sub	r2, fp, #380
	ldr	r3, [fp, #-420]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L45+72
	bl	printf
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L36:
	ldr	r3, [fp, #-420]
	cmp	r3, #15
	ble	.L37
	ldr	r0, .L45+76
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-420]
	b	.L38
.L39:
	sub	r2, fp, #380
	ldr	r3, [fp, #-420]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-429]
	ldrb	r3, [fp, #-429]	@ zero_extendqisi2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-260]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L45+80
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	fputc
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L38:
	ldr	r3, [fp, #-420]
	cmp	r3, #15
	ble	.L39
	ldr	r3, .L45+80
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	b	.L34
.L44:
	nop
.L34:
	ldr	r3, [fp, #-424]
	add	r3, r3, #16
	str	r3, [fp, #-424]
.L30:
	ldr	r2, [fp, #-424]
	ldr	r3, [fp, #-392]
	cmp	r2, r3
	blt	.L40
	ldr	r0, [fp, #-396]
	bl	fclose
	ldr	r1, [fp, #-408]
	ldr	r0, .L45+84
	bl	printf
	mov	r3, #0
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC18
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	once.5434
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	stdout
	.word	.LC17
	.size	main, .-main
	.data
	.align	2
	.type	once.5434, %object
	.size	once.5434, 4
once.5434:
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
