	.file	"211079365.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Usage: %s [FILE]\n"
.LC1:
	.string	"r"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d %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
	sub	rsp, 336
	mov	DWORD PTR -324[rbp], edi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -224[rbp]
	mov	eax, 0
	mov	ecx, 26
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	DWORD PTR -212[rbp], 8
	mov	DWORD PTR -192[rbp], 30
	mov	DWORD PTR -184[rbp], 20
	mov	DWORD PTR -144[rbp], 8
	mov	DWORD PTR -108[rbp], 20
	mov	DWORD PTR -16[rbp], 30
	cmp	DWORD PTR -324[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L24
.L2:
	add	QWORD PTR -336[rbp], 8
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -256[rbp], rax
	jmp	.L4
.L23:
	mov	QWORD PTR -304[rbp], 0
.L20:
	mov	eax, DWORD PTR -312[rbp]
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -304[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	QWORD PTR -288[rbp], 0
	cmp	QWORD PTR -304[rbp], 0
	je	.L6
	jmp	.L7
.L10:
	mov	rax, QWORD PTR -296[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L26
	mov	rax, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -296[rbp], rax
.L7:
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -312[rbp]
	cmp	edx, eax
	jl	.L10
	jmp	.L9
.L26:
	nop
.L9:
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -312[rbp]
	cmp	edx, eax
	jne	.L6
	mov	eax, DWORD PTR -312[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L6:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -248[rbp], rax
	mov	edx, DWORD PTR -312[rbp]
	mov	rax, QWORD PTR -248[rbp]
	mov	DWORD PTR 8[rax], edx
	cmp	QWORD PTR -288[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -248[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -288[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L5
.L12:
	mov	rax, QWORD PTR -248[rbp]
	mov	rdx, QWORD PTR -304[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -248[rbp]
	mov	QWORD PTR -304[rbp], rax
.L5:
	mov	eax, DWORD PTR -308[rbp]
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -304[rbp]
	mov	QWORD PTR -280[rbp], rax
	mov	QWORD PTR -272[rbp], 0
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -280[rbp]
	mov	QWORD PTR -272[rbp], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L27
	mov	rax, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -280[rbp], rax
.L14:
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -308[rbp]
	cmp	edx, eax
	jl	.L17
	jmp	.L16
.L27:
	nop
.L16:
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -308[rbp]
	cmp	edx, eax
	jne	.L18
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L18:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -240[rbp], rax
	mov	edx, DWORD PTR -308[rbp]
	mov	rax, QWORD PTR -240[rbp]
	mov	DWORD PTR 8[rax], edx
	cmp	QWORD PTR -272[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -240[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -240[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L13
.L19:
	mov	rax, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -304[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -240[rbp]
	mov	QWORD PTR -304[rbp], rax
.L13:
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	DWORD PTR -312[rbp], eax
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	mov	eax, DWORD PTR -224[rbp+rax*4]
	mov	DWORD PTR -308[rbp], eax
	jmp	.L20
.L11:
	cmp	QWORD PTR -304[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -304[rbp]
	mov	QWORD PTR -264[rbp], rax
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -264[rbp]
	mov	QWORD PTR -232[rbp], rax
	mov	rax, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -264[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	free@PLT
.L21:
	cmp	QWORD PTR -264[rbp], 0
	jne	.L22
.L4:
	lea	rcx, -308[rbp]
	lea	rdx, -312[rbp]
	mov	rax, QWORD PTR -256[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L23
	mov	eax, 0
.L24:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	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	"211079365.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s [FILE]\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.ascii	"%d %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #220
	mov	r2, #212
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #8
	str	r3, [fp, #-208]
	mov	r3, #30
	str	r3, [fp, #-188]
	mov	r3, #20
	str	r3, [fp, #-180]
	mov	r3, #8
	str	r3, [fp, #-140]
	mov	r3, #20
	str	r3, [fp, #-104]
	mov	r3, #30
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-272]
	cmp	r3, #2
	beq	.L2
	ldr	r3, [fp, #-276]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+4
	bl	printf
	mov	r3, #1
	b	.L24
.L2:
	ldr	r3, [fp, #-276]
	add	r3, r3, #4
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-276]
	ldr	r3, [r3]
	ldr	r1, .L28+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-236]
	b	.L4
.L23:
	mov	r3, #0
	str	r3, [fp, #-260]
.L20:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-260]
	str	r3, [fp, #-256]
	mov	r3, #0
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	beq	.L6
	b	.L7
.L10:
	ldr	r3, [fp, #-256]
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-256]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-256]
	ldr	r3, [r3]
	str	r3, [fp, #-256]
.L7:
	ldr	r3, [fp, #-256]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	blt	.L10
	b	.L9
.L26:
	nop
.L9:
	ldr	r3, [fp, #-256]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	bne	.L6
	ldr	r3, [fp, #-268]
	mov	r1, r3
	ldr	r0, .L28+12
	bl	printf
	b	.L11
.L6:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-232]
	ldr	r2, [fp, #-268]
	ldr	r3, [fp, #-232]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-252]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-252]
	ldr	r2, [r3]
	ldr	r3, [fp, #-232]
	str	r2, [r3]
	ldr	r3, [fp, #-252]
	ldr	r2, [fp, #-232]
	str	r2, [r3]
	b	.L5
.L12:
	ldr	r3, [fp, #-232]
	ldr	r2, [fp, #-260]
	str	r2, [r3]
	ldr	r3, [fp, #-232]
	str	r3, [fp, #-260]
.L5:
	ldr	r3, [fp, #-264]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-260]
	str	r3, [fp, #-248]
	mov	r3, #0
	str	r3, [fp, #-244]
	b	.L14
.L17:
	ldr	r3, [fp, #-248]
	str	r3, [fp, #-244]
	ldr	r3, [fp, #-248]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-248]
	ldr	r3, [r3]
	str	r3, [fp, #-248]
.L14:
	ldr	r3, [fp, #-248]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-264]
	cmp	r2, r3
	blt	.L17
	b	.L16
.L27:
	nop
.L16:
	ldr	r3, [fp, #-248]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-264]
	cmp	r2, r3
	bne	.L18
	ldr	r3, [fp, #-264]
	mov	r1, r3
	ldr	r0, .L28+12
	bl	printf
	b	.L11
.L18:
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-228]
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-228]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-244]
	ldr	r2, [r3]
	ldr	r3, [fp, #-228]
	str	r2, [r3]
	ldr	r3, [fp, #-244]
	ldr	r2, [fp, #-228]
	str	r2, [r3]
	b	.L13
.L19:
	ldr	r3, [fp, #-228]
	ldr	r2, [fp, #-260]
	str	r2, [r3]
	ldr	r3, [fp, #-228]
	str	r3, [fp, #-260]
.L13:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-216]
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-264]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-216]
	str	r3, [fp, #-264]
	b	.L20
.L11:
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-260]
	str	r3, [fp, #-240]
	b	.L21
.L22:
	ldr	r3, [fp, #-240]
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-240]
	ldr	r3, [r3]
	str	r3, [fp, #-240]
	ldr	r0, [fp, #-224]
	bl	free
.L21:
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L22
.L4:
	sub	r3, fp, #264
	sub	r2, fp, #268
	ldr	r1, .L28+16
	ldr	r0, [fp, #-236]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L23
	mov	r3, #0
.L24:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
