	.file	"70846.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/70846.c"
	.align 8
.LC1:
	.string	"argc >= 2 && \"Expecting at least one command-line argument.\""
.LC2:
	.string	"r"
	.align 8
.LC3:
	.string	"inputStream && \"Failed to open input stream.\""
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -69632[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 80
	mov	DWORD PTR -69700[rbp], edi
	mov	QWORD PTR -69712[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -69700[rbp], 1
	jg	.L2
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 10
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 256
	mov	edx, 0
	lea	rsi, stdoutBuffer.3[rip]
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR -69712[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -69656[rbp], rax
	cmp	QWORD PTR -69656[rbp], 0
	jne	.L3
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 19
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L3:
	mov	DWORD PTR -69692[rbp], 0
	mov	DWORD PTR -69688[rbp], 0
	mov	DWORD PTR -69684[rbp], 0
	mov	DWORD PTR -69680[rbp], 0
	mov	DWORD PTR -69676[rbp], 0
	mov	DWORD PTR -69672[rbp], 0
	jmp	.L4
.L13:
	lea	rdx, -69648[rbp]
	mov	eax, 0
	mov	ecx, 512
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -65552[rbp], 0
	mov	QWORD PTR -65544[rbp], 0
	lea	rax, -65536[rbp]
	mov	edx, 65520
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -69692[rbp]
	mov	edx, DWORD PTR -69688[rbp]
	sub	eax, edx
	mov	edx, DWORD PTR -69688[rbp]
	lea	ecx, 1[rdx]
	mov	edx, 0
	div	ecx
	mov	eax, DWORD PTR -69688[rbp]
	add	eax, edx
	mov	DWORD PTR -69692[rbp], eax
	mov	eax, DWORD PTR -69684[rbp]
	mov	DWORD PTR -69648[rbp], eax
	mov	edx, DWORD PTR -69648[rbp]
	mov	eax, edx
	movzx	eax, BYTE PTR -65552[rbp+rax]
	add	eax, 1
	mov	edx, edx
	mov	BYTE PTR -65552[rbp+rdx], al
	mov	DWORD PTR -69668[rbp], 1
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -69668[rbp]
	sub	eax, 1
	mov	eax, eax
	mov	edx, DWORD PTR -69648[rbp+rax*4]
	mov	eax, DWORD PTR -69680[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -69676[rbp]
	add	eax, edx
	mov	ecx, DWORD PTR -69672[rbp]
	mov	edx, 0
	div	ecx
	mov	eax, DWORD PTR -69668[rbp]
	mov	DWORD PTR -69648[rbp+rax*4], edx
	mov	eax, DWORD PTR -69668[rbp]
	mov	edx, DWORD PTR -69648[rbp+rax*4]
	mov	eax, edx
	movzx	eax, BYTE PTR -65552[rbp+rax]
	add	eax, 1
	mov	edx, edx
	mov	BYTE PTR -65552[rbp+rdx], al
	add	DWORD PTR -69668[rbp], 1
.L5:
	mov	eax, DWORD PTR -69688[rbp]
	cmp	DWORD PTR -69668[rbp], eax
	jb	.L6
	mov	eax, DWORD PTR -69688[rbp]
	mov	DWORD PTR -69664[rbp], eax
	jmp	.L7
.L12:
	mov	edx, DWORD PTR -69688[rbp]
	mov	eax, DWORD PTR -69664[rbp]
	sub	eax, edx
	mov	eax, eax
	mov	edx, DWORD PTR -69648[rbp+rax*4]
	mov	eax, edx
	movzx	eax, BYTE PTR -65552[rbp+rax]
	sub	eax, 1
	mov	edx, edx
	mov	BYTE PTR -65552[rbp+rdx], al
	mov	DWORD PTR -69660[rbp], 0
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -69660[rbp]
	movzx	eax, BYTE PTR -65552[rbp+rax]
	test	al, al
	jne	.L9
	mov	eax, DWORD PTR -69664[rbp]
	mov	edx, DWORD PTR -69660[rbp]
	mov	DWORD PTR -69648[rbp+rax*4], edx
	mov	eax, DWORD PTR -69664[rbp]
	mov	edx, DWORD PTR -69648[rbp+rax*4]
	mov	eax, edx
	movzx	eax, BYTE PTR -65552[rbp+rax]
	add	eax, 1
	mov	edx, edx
	mov	BYTE PTR -65552[rbp+rdx], al
	jmp	.L10
.L9:
	add	DWORD PTR -69660[rbp], 1
.L8:
	mov	edx, DWORD PTR -69660[rbp]
	mov	rax, QWORD PTR countsSize.2[rip]
	cmp	rdx, rax
	jb	.L11
.L10:
	add	DWORD PTR -69664[rbp], 1
.L7:
	mov	eax, DWORD PTR -69692[rbp]
	cmp	DWORD PTR -69664[rbp], eax
	jb	.L12
	mov	eax, DWORD PTR -69692[rbp]
	sub	eax, 1
	mov	DWORD PTR -69692[rbp], eax
	mov	eax, DWORD PTR -69692[rbp]
	mov	eax, eax
	mov	edx, DWORD PTR -69648[rbp+rax*4]
	mov	rax, QWORD PTR printFormat.1[rip]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	rsi, QWORD PTR scanFormat.0[rip]
	lea	r9, -69680[rbp]
	lea	r8, -69684[rbp]
	lea	rcx, -69688[rbp]
	lea	rdx, -69692[rbp]
	mov	rax, QWORD PTR -69656[rbp]
	lea	rdi, -69672[rbp]
	push	rdi
	lea	rdi, -69676[rbp]
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	rsp, 16
	cmp	eax, 6
	je	.L13
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 5
__PRETTY_FUNCTION__.4:
	.string	"main"
	.local	stdoutBuffer.3
	.comm	stdoutBuffer.3,256,32
	.align 8
	.type	countsSize.2, @object
	.size	countsSize.2, 8
countsSize.2:
	.quad	65536
.LC4:
	.string	"%u\n"
	.section	.data.rel.ro.local,"aw"
	.align 8
	.type	printFormat.1, @object
	.size	printFormat.1, 8
printFormat.1:
	.quad	.LC4
	.section	.rodata
.LC5:
	.string	"%u,%u,%u,%u,%u,%u"
	.section	.data.rel.ro.local
	.align 8
	.type	scanFormat.0, @object
	.size	scanFormat.0, 8
scanFormat.0:
	.quad	.LC5
	.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	"70846.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/70846.c\000"
	.align	2
.LC1:
	.ascii	"argc >= 2 && \"Expecting at least one command-line "
	.ascii	"argument.\"\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"inputStream && \"Failed to open input stream.\"\000"
	.global	__aeabi_uidivmod
	.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 = 69688
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #69632
	sub	sp, sp, #76
	sub	r3, fp, #69632
	sub	r3, r3, #12
	str	r0, [r3, #-52]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	str	r1, [r3, #-56]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L16+4
	mov	r2, #10
	ldr	r1, .L16+8
	ldr	r0, .L16+12
	bl	__assert_fail
.L2:
	ldr	r3, .L16+16
	ldr	r0, [r3]
	mov	r3, #256
	mov	r2, #0
	ldr	r1, .L16+20
	bl	setvbuf
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #69632
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L16+24
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-8]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L16+4
	mov	r2, #19
	ldr	r1, .L16+8
	ldr	r0, .L16+28
	bl	__assert_fail
.L3:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L4
.L13:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L16+32
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r2, [r3, #-44]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	sub	r2, r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r2, r3
	sub	r2, fp, #69632
	sub	r2, r2, #12
	str	r3, [r2, #-44]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	sub	r2, fp, #69632
	sub	r2, r2, #12
	str	r3, [r2, #-4]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-4]
	sub	r2, fp, #65536
	sub	r2, r2, #12
	add	r2, r2, r3
	ldrb	r2, [r2, #-4]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	sub	r1, fp, #65536
	sub	r1, r1, #12
	add	r3, r1, r3
	strb	r2, [r3, #-4]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-20]
	b	.L5
.L6:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	sub	r3, r3, #1
	sub	r2, fp, #69632
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	sub	r2, fp, #69632
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	mul	r2, r3, r2
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r2, r3
	sub	r2, fp, #69632
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	sub	r2, fp, #65536
	sub	r2, r2, #12
	add	r2, r2, r3
	ldrb	r2, [r2, #-4]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	sub	r1, fp, #65536
	sub	r1, r1, #12
	add	r3, r1, r3
	strb	r2, [r3, #-4]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	add	r3, r3, #1
	str	r3, [r2, #-20]
.L5:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	sub	r2, fp, #69632
	sub	r2, r2, #12
	ldr	r2, [r2, #-20]
	cmp	r2, r3
	bcc	.L6
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	str	r3, [r2, #-16]
	b	.L7
.L12:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	sub	r2, fp, #69632
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	sub	r3, r2, r3
	sub	r2, fp, #69632
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	sub	r2, fp, #65536
	sub	r2, r2, #12
	add	r2, r2, r3
	ldrb	r2, [r2, #-4]	@ zero_extendqisi2
	sub	r2, r2, #1
	and	r2, r2, #255
	sub	r1, fp, #65536
	sub	r1, r1, #12
	add	r3, r1, r3
	strb	r2, [r3, #-4]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	b	.L8
.L11:
	sub	r3, fp, #65536
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r2, r3
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #69632
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	str	r2, [r3, #-4]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]
	sub	r2, fp, #65536
	sub	r2, r2, #12
	add	r2, r2, r3
	ldrb	r2, [r2, #-4]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	sub	r1, fp, #65536
	sub	r1, r1, #12
	add	r3, r1, r3
	strb	r2, [r3, #-4]
	b	.L10
.L9:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #1
	str	r3, [r2, #-12]
.L8:
	ldr	r3, .L16+36
	ldr	r3, [r3]
	sub	r2, fp, #69632
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	cmp	r2, r3
	bcc	.L11
.L10:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	add	r3, r3, #1
	str	r3, [r2, #-16]
.L7:
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	sub	r2, fp, #69632
	sub	r2, r2, #12
	ldr	r2, [r2, #-16]
	cmp	r2, r3
	bcc	.L12
	ldr	r3, .L16+40
	ldr	r2, [r3]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	sub	r3, r3, #1
	sub	r1, fp, #69632
	sub	r1, r1, #12
	str	r3, [r1, #-44]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	sub	r1, fp, #69632
	sub	r1, r1, #12
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-4]
	mov	r1, r3
	mov	r0, r2
	bl	printf
.L4:
	ldr	r3, .L16+44
	ldr	r0, [r3]
	sub	r1, fp, #69632
	sub	r1, r1, #12
	sub	r1, r1, #40
	sub	r2, fp, #69632
	sub	r2, r2, #12
	sub	r2, r2, #44
	sub	r3, fp, #69632
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #69632
	sub	r3, r3, #12
	sub	r3, r3, #24
	str	r3, [sp, #12]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	sub	r3, r3, #28
	str	r3, [sp, #8]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	sub	r3, r3, #32
	str	r3, [sp, #4]
	sub	r3, fp, #69632
	sub	r3, r3, #12
	sub	r3, r3, #36
	str	r3, [sp]
	mov	r3, r1
	mov	r1, r0
	ldr	r0, [ip, #-8]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #6
	beq	.L13
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	__PRETTY_FUNCTION__.4622
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	stdoutBuffer.4623
	.word	.LC2
	.word	.LC3
	.word	65532
	.word	countsSize.4637
	.word	printFormat.4627
	.word	scanFormat.4628
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4622, %object
	.size	__PRETTY_FUNCTION__.4622, 5
__PRETTY_FUNCTION__.4622:
	.ascii	"main\000"
	.local	stdoutBuffer.4623
	.comm	stdoutBuffer.4623,256,4
	.align	2
	.type	countsSize.4637, %object
	.size	countsSize.4637, 4
countsSize.4637:
	.word	65536
	.align	2
.LC5:
	.ascii	"%u\012\000"
	.align	2
	.type	printFormat.4627, %object
	.size	printFormat.4627, 4
printFormat.4627:
	.word	.LC5
	.align	2
.LC6:
	.ascii	"%u,%u,%u,%u,%u,%u\000"
	.align	2
	.type	scanFormat.4628, %object
	.size	scanFormat.4628, 4
scanFormat.4628:
	.word	.LC6
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
