	.file	"898981.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"grades.csv"
.LC2:
	.string	"%s: Cannot open %s: %s\n"
.LC3:
	.string	"%d"
.LC4:
	.string	"HW2"
	.align 8
.LC5:
	.string	"User input was higher than grades in HW2 Category"
.LC6:
	.string	"%d "
	.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	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	lea	r11, -102400[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1128
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -103556[rbp], edi
	mov	QWORD PTR -103568[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -103512[rbp], rax
	cmp	QWORD PTR -103512[rbp], 0
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -103568[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, rcx
	lea	rcx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L27
.L2:
	lea	rax, -103544[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -103540[rbp], 0
	jmp	.L4
.L5:
	lea	rdx, -103488[rbp]
	mov	eax, DWORD PTR -103540[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -103540[rbp], 1
.L4:
	cmp	DWORD PTR -103540[rbp], 99
	jle	.L5
	mov	DWORD PTR -103540[rbp], 0
	jmp	.L6
.L9:
	lea	rax, -1088[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L6
	lea	rax, -1088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -103516[rbp], eax
	mov	DWORD PTR -103536[rbp], 2
	mov	eax, DWORD PTR -103516[rbp]
	sub	eax, 1
	mov	DWORD PTR -103532[rbp], eax
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -103536[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -103536[rbp], edx
	mov	edx, DWORD PTR -103532[rbp]
	movsx	rdx, edx
	movzx	edx, BYTE PTR -1088[rbp+rdx]
	movsx	rcx, eax
	mov	eax, DWORD PTR -103540[rbp]
	cdqe
	sal	rax, 10
	lea	rax, -48[rax]
	add	rax, rbp
	add	rax, rcx
	sub	rax, 103440
	mov	BYTE PTR [rax], dl
	sub	DWORD PTR -103532[rbp], 1
.L7:
	mov	eax, DWORD PTR -103516[rbp]
	sub	eax, 3
	cmp	DWORD PTR -103532[rbp], eax
	jge	.L8
	add	DWORD PTR -103540[rbp], 1
.L6:
	mov	rdx, QWORD PTR -103512[rbp]
	lea	rax, -1088[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L9
	mov	eax, DWORD PTR -103544[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -103504[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -103496[rbp], rax
	mov	DWORD PTR -103540[rbp], 0
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -103496[rbp]
	mov	edx, DWORD PTR -103540[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], -1
	add	DWORD PTR -103540[rbp], 1
.L13:
	mov	eax, DWORD PTR -103544[rbp]
	cmp	DWORD PTR -103540[rbp], eax
	jl	.L14
	mov	DWORD PTR -103540[rbp], 0
	jmp	.L15
.L22:
	lea	rdx, -103488[rbp]
	mov	eax, DWORD PTR -103540[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -103520[rbp], eax
	mov	DWORD PTR -103528[rbp], 0
	jmp	.L16
.L21:
	mov	rax, QWORD PTR -103496[rbp]
	mov	edx, DWORD PTR -103528[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	DWORD PTR -103520[rbp], eax
	jle	.L17
	mov	eax, DWORD PTR -103544[rbp]
	sub	eax, 1
	mov	DWORD PTR -103524[rbp], eax
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -103524[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -103496[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -103496[rbp]
	mov	edx, DWORD PTR -103524[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	sub	DWORD PTR -103524[rbp], 1
.L18:
	mov	eax, DWORD PTR -103524[rbp]
	cmp	eax, DWORD PTR -103528[rbp]
	jg	.L19
	mov	rax, QWORD PTR -103496[rbp]
	mov	edx, DWORD PTR -103528[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -103520[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	jmp	.L20
.L17:
	add	DWORD PTR -103528[rbp], 1
.L16:
	mov	eax, DWORD PTR -103544[rbp]
	cmp	DWORD PTR -103528[rbp], eax
	jl	.L21
.L20:
	add	DWORD PTR -103540[rbp], 1
.L15:
	lea	rdx, -103488[rbp]
	mov	eax, DWORD PTR -103540[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L22
	mov	DWORD PTR -103540[rbp], 0
	jmp	.L23
.L26:
	mov	rax, QWORD PTR -103496[rbp]
	mov	edx, DWORD PTR -103540[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	eax, -1
	jne	.L24
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -103496[rbp]
	mov	edx, DWORD PTR -103540[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -103540[rbp], 1
.L23:
	mov	eax, DWORD PTR -103544[rbp]
	cmp	DWORD PTR -103540[rbp], eax
	jl	.L26
.L25:
	mov	rax, QWORD PTR -103512[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, rbx
.L27:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"898981.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"grades.csv\000"
	.align	2
.LC2:
	.ascii	"%s: Cannot open %s: %s\012\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"HW2\000"
	.align	2
.LC5:
	.ascii	"User input was higher than grades in HW2 Category\000"
	.align	2
.LC6:
	.ascii	"%d \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 103480
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #103424
	sub	sp, sp, #64
	sub	r3, fp, #102400
	sub	r3, r3, #12
	str	r0, [r3, #-1076]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	str	r1, [r3, #-1080]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L26+4
	ldr	r0, .L26+8
	bl	fopen
	str	r0, [r4, #-1048]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1048]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L26+12
	ldr	r4, [r3]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1080]
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	str	r3, [sp]
	ldr	r3, .L26+8
	mov	r2, r5
	ldr	r1, .L26+16
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L24
.L2:
	sub	r3, fp, #103424
	sub	r3, r3, #12
	sub	r3, r3, #48
	mov	r1, r3
	ldr	r0, .L26+20
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1068]
	b	.L4
.L5:
	sub	r3, fp, #103424
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	lsl	r2, r2, #10
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	add	r3, r3, #1
	str	r3, [r2, #-1068]
.L4:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	cmp	r3, #99
	ble	.L5
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1068]
	b	.L6
.L9:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L26+24
	mov	r0, r3
	bl	strstr
	mov	r2, r0
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	str	r3, [r1, #-1068]
	cmp	r2, #0
	beq	.L6
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #102400
	sub	r2, r2, #12
	str	r3, [r2, #-1032]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-1064]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	sub	r3, r3, #1
	str	r3, [r2, #-1060]
	b	.L7
.L8:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r2, [r3, #-1064]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, r2, #1
	str	r3, [r1, #-1064]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #102400
	sub	r1, r1, #12
	ldr	r1, [r1, #-1060]
	add	r3, r3, r1
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	lsl	r3, r3, #10
	add	r3, r0, r3
	add	r3, r3, r2
	sub	r3, r3, #1024
	sub	r3, r3, #4
	mov	r2, r1
	strb	r2, [r3]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1060]
	sub	r3, r3, #1
	str	r3, [r2, #-1060]
.L7:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	sub	r3, r3, #3
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1060]
	cmp	r2, r3
	bge	.L8
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	add	r3, r3, #1
	str	r3, [r2, #-1068]
.L6:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-1048]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	ip, [r3, #-1072]
	mov	r3, sp
	mov	r5, r3
	sub	r3, ip, #1
	sub	r2, fp, #102400
	sub	r2, r2, #12
	str	r3, [r2, #-1044]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	sub	r2, fp, #102400
	sub	r2, r2, #12
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-1040]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1068]
	b	.L10
.L11:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1040]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	add	r3, r3, #1
	str	r3, [r2, #-1068]
.L10:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1072]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	cmp	r2, r3
	blt	.L11
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1068]
	b	.L12
.L19:
	sub	r3, fp, #103424
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	lsl	r2, r2, #10
	add	r3, r3, r2
	sub	r2, fp, #102400
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-1036]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1056]
	b	.L13
.L18:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1040]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1056]
	ldr	r3, [r3, r2, lsl #2]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1036]
	cmp	r2, r3
	ble	.L14
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1072]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	sub	r3, r3, #1
	str	r3, [r2, #-1052]
	b	.L15
.L16:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	sub	r2, r3, #1
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1040]
	ldr	r1, [r3, r2, lsl #2]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1040]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1052]
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1052]
	sub	r3, r3, #1
	str	r3, [r2, #-1052]
.L15:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r2, [r2, #-1052]
	ldr	r3, [r3, #-1056]
	cmp	r2, r3
	bgt	.L16
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1040]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1056]
	sub	r1, fp, #102400
	sub	r1, r1, #12
	ldr	r1, [r1, #-1036]
	str	r1, [r3, r2, lsl #2]
	b	.L17
.L14:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1056]
	add	r3, r3, #1
	str	r3, [r2, #-1056]
.L13:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1072]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1056]
	cmp	r2, r3
	blt	.L18
.L17:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	add	r3, r3, #1
	str	r3, [r2, #-1068]
.L12:
	sub	r3, fp, #103424
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	lsl	r2, r2, #10
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1068]
	b	.L20
.L23:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1040]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	bne	.L21
	mov	r0, #10
	bl	putchar
	ldr	r0, .L26+28
	bl	puts
	b	.L22
.L21:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1040]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L26+32
	bl	printf
	sub	r3, fp, #102400
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1068]
	add	r3, r3, #1
	str	r3, [r2, #-1068]
.L20:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r3, [r3, #-1072]
	sub	r2, fp, #102400
	sub	r2, r2, #12
	ldr	r2, [r2, #-1068]
	cmp	r2, r3
	blt	.L23
.L22:
	sub	r3, fp, #102400
	sub	r3, r3, #12
	ldr	r0, [r3, #-1048]
	bl	fclose
	mov	r3, #0
	mov	sp, r5
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
