	.file	"455376.c"
	.intel_syntax noprefix
	.text
	.globl	abs
	.type	abs, @function
abs:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	cdq
	mov	eax, edx
	xor	eax, DWORD PTR -4[rbp]
	sub	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	abs, .-abs
	.section	.rodata
.LC0:
	.string	"Missing input file"
.LC1:
	.string	"r"
.LC2:
	.string	"Failed to open the input file"
.LC3:
	.string	"%d\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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	DWORD PTR -4196[rbp], edi
	mov	QWORD PTR -4208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -4196[rbp], 2
	je	.L4
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L18
.L4:
	mov	rax, QWORD PTR -4208[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4136[rbp], rax
	cmp	QWORD PTR -4136[rbp], 0
	jne	.L6
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L18
.L6:
	lea	rdx, -4128[rbp]
	mov	eax, 0
	mov	ecx, 512
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -4188[rbp], 0
	mov	QWORD PTR -4152[rbp], 0
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -4152[rbp]
	mov	ebx, DWORD PTR -4188[rbp]
	lea	edx, 1[rbx]
	mov	DWORD PTR -4188[rbp], edx
	mov	rdi, rax
	call	atoi@PLT
	movsx	rdx, ebx
	mov	DWORD PTR -4128[rbp+rdx*4], eax
.L7:
	mov	rdx, QWORD PTR -4136[rbp]
	lea	rsi, -4144[rbp]
	lea	rax, -4152[rbp]
	mov	rcx, rdx
	mov	edx, 44
	mov	rdi, rax
	call	getdelim@PLT
	test	rax, rax
	jg	.L8
	mov	rax, QWORD PTR -4152[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -4184[rbp], 65536
	mov	DWORD PTR -4180[rbp], 0
	mov	DWORD PTR -4176[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -4176[rbp]
	cdqe
	mov	eax, DWORD PTR -4128[rbp+rax*4]
	mov	DWORD PTR -4156[rbp], eax
	mov	eax, DWORD PTR -4156[rbp]
	cmp	eax, DWORD PTR -4184[rbp]
	jge	.L10
	mov	eax, DWORD PTR -4156[rbp]
	mov	DWORD PTR -4184[rbp], eax
.L10:
	mov	eax, DWORD PTR -4156[rbp]
	cmp	eax, DWORD PTR -4180[rbp]
	jle	.L11
	mov	eax, DWORD PTR -4156[rbp]
	mov	DWORD PTR -4180[rbp], eax
.L11:
	add	DWORD PTR -4176[rbp], 1
.L9:
	mov	eax, DWORD PTR -4176[rbp]
	cmp	eax, DWORD PTR -4188[rbp]
	jl	.L12
	mov	eax, DWORD PTR -4180[rbp]
	imul	eax, DWORD PTR -4188[rbp]
	mov	DWORD PTR -4172[rbp], eax
	mov	eax, DWORD PTR -4184[rbp]
	mov	DWORD PTR -4168[rbp], eax
	jmp	.L13
.L17:
	mov	DWORD PTR -4164[rbp], 0
	mov	DWORD PTR -4160[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4160[rbp]
	cdqe
	mov	eax, DWORD PTR -4128[rbp+rax*4]
	sub	eax, DWORD PTR -4168[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	add	DWORD PTR -4164[rbp], eax
	add	DWORD PTR -4160[rbp], 1
.L14:
	mov	eax, DWORD PTR -4160[rbp]
	cmp	eax, DWORD PTR -4188[rbp]
	jl	.L15
	mov	eax, DWORD PTR -4164[rbp]
	cmp	eax, DWORD PTR -4172[rbp]
	jge	.L16
	mov	eax, DWORD PTR -4164[rbp]
	mov	DWORD PTR -4172[rbp], eax
.L16:
	add	DWORD PTR -4168[rbp], 1
.L13:
	mov	eax, DWORD PTR -4168[rbp]
	cmp	eax, DWORD PTR -4180[rbp]
	jl	.L17
	mov	eax, DWORD PTR -4172[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L18:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"455376.c"
	.text
	.align	2
	.global	abs
	.syntax unified
	.arm
	.fpu softvfp
	.type	abs, %function
abs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	abs, .-abs
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Missing input file\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"Failed to open the input file\000"
	.align	2
.LC3:
	.ascii	"%d\012\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 = 4160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-64]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	cmp	r3, #2
	beq	.L4
	ldr	r0, .L20+4
	bl	printf
	mov	r3, #1
	b	.L18
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L20+8
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L20+12
	bl	printf
	mov	r3, #1
	b	.L18
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-52]
	b	.L7
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r4, [r3, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	add	r3, r4, #1
	str	r3, [r1, #-44]
	mov	r0, r2
	bl	atoi
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r4, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r1, fp, #4096
	sub	r1, r1, #12
	sub	r1, r1, #48
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #52
	ldr	r3, [r3, #-12]
	mov	r2, #44
	bl	getdelim
	mov	r3, r0
	cmp	r3, #0
	bgt	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	mov	r0, r3
	bl	free
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-12]
	bl	fclose
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #65536
	str	r3, [r2, #-40]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L9
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-4]
	str	r3, [r2, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-8]
	ldr	r3, [r3, #-40]
	cmp	r2, r3
	bge	.L10
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	str	r3, [r2, #-40]
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-8]
	ldr	r3, [r3, #-36]
	cmp	r2, r3
	ble	.L11
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	str	r3, [r2, #-36]
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-32]
	ldr	r3, [r3, #-44]
	cmp	r2, r3
	blt	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r3, [r3, #-36]
	ldr	r2, [r2, #-44]
	mul	r3, r2, r3
	str	r3, [r1, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	str	r3, [r2, #-24]
	b	.L13
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	b	.L14
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-20]
	add	r3, r2, r3
	str	r3, [r1, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	add	r3, r3, #1
	str	r3, [r2, #-16]
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-16]
	ldr	r3, [r3, #-44]
	cmp	r2, r3
	blt	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-20]
	ldr	r3, [r3, #-28]
	cmp	r2, r3
	bge	.L16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	str	r3, [r2, #-28]
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-36]
	cmp	r2, r3
	blt	.L17
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	ldr	r0, .L20+16
	bl	printf
	mov	r3, #0
.L18:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L21:
	.align	2
.L20:
	.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
