	.file	"853139.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"numbers.txt"
.LC2:
	.string	"fail to load file"
	.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
	sub	rsp, 480
	mov	DWORD PTR -468[rbp], edi
	mov	QWORD PTR -480[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -416[rbp]
	mov	eax, 0
	mov	ecx, 50
	mov	rdi, rdx
	rep stosq
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -432[rbp], rax
	cmp	QWORD PTR -432[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	QWORD PTR -456[rbp], 0
	jmp	.L3
.L7:
	mov	DWORD PTR -460[rbp], 0
	mov	QWORD PTR -440[rbp], 0
.L6:
	mov	rax, QWORD PTR -456[rbp]
	lea	rcx, -440[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -460[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -460[rbp], ecx
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], edx
	mov	rax, QWORD PTR -440[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L11
	mov	rax, QWORD PTR -440[rbp]
	mov	QWORD PTR -456[rbp], rax
	jmp	.L6
.L11:
	nop
.L3:
	mov	rdx, QWORD PTR -432[rbp]
	lea	rcx, -448[rbp]
	lea	rax, -456[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], -1
	jne	.L7
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.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	"853139.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"numbers.txt\000"
	.align	2
.LC2:
	.ascii	"fail to load file\000"
	.align	2
.LC3:
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #444
	str	r0, [fp, #-448]
	str	r1, [fp, #-452]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #416
	mov	r2, #400
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r1, .L12+4
	ldr	r0, .L12+8
	bl	fopen
	str	r0, [fp, #-424]
	ldr	r3, [fp, #-424]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L12+12
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-440]
	b	.L3
.L7:
	mov	r3, #0
	str	r3, [fp, #-428]
	mov	r3, #0
	str	r3, [fp, #-432]
.L6:
	ldr	r0, [fp, #-440]
	ldr	r4, [fp, #-428]
	add	r3, r4, #1
	str	r3, [fp, #-428]
	sub	r3, fp, #432
	mov	r2, #10
	mov	r1, r3
	bl	strtol
	mov	r2, r0
	lsl	r3, r4, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-432]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L11
	ldr	r3, [fp, #-432]
	str	r3, [fp, #-440]
	b	.L6
.L11:
	nop
.L3:
	sub	r1, fp, #436
	sub	r3, fp, #440
	ldr	r2, [fp, #-424]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmn	r3, #1
	bne	.L7
	ldr	r0, [fp, #-424]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
