	.file	"101831.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/101831.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.\""
.LC4:
	.string	"%zu\n"
.LC5:
	.string	"None"
	.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
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 512
	mov	DWORD PTR -12788[rbp], edi
	mov	QWORD PTR -12800[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -12788[rbp], 1
	jg	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 11
	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.0[rip]
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR -12800[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -12728[rbp], rax
	cmp	QWORD PTR -12728[rbp], 0
	jne	.L3
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 20
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L3:
	mov	QWORD PTR -12304[rbp], 0
	mov	QWORD PTR -12296[rbp], 0
	lea	rax, -12288[rbp]
	mov	edx, 12272
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L4
.L17:
	lea	rdx, -12720[rbp]
	mov	eax, 0
	mov	ecx, 50
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	QWORD PTR -12768[rbp], 0
	lea	rax, -12304[rbp]
	mov	QWORD PTR -12760[rbp], rax
	jmp	.L5
.L11:
	mov	QWORD PTR -12752[rbp], 0
	mov	rax, QWORD PTR -12760[rbp]
	mov	QWORD PTR -12744[rbp], rax
	jmp	.L6
.L8:
	add	QWORD PTR -12760[rbp], 1
	mov	rdx, QWORD PTR -12752[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -12744[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cdqe
	add	rax, rdx
	mov	QWORD PTR -12752[rbp], rax
	add	QWORD PTR -12744[rbp], 1
.L6:
	mov	rax, QWORD PTR -12744[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L7
	mov	rax, QWORD PTR -12744[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L8
.L7:
	mov	rax, QWORD PTR -12752[rbp]
	mov	eax, DWORD PTR -12720[rbp+rax*4]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -12752[rbp]
	mov	DWORD PTR -12720[rbp+rax*4], edx
	nop
.L10:
	mov	rax, QWORD PTR -12760[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L9
	mov	rax, QWORD PTR -12760[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -12760[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L10
.L9:
	add	QWORD PTR -12768[rbp], 1
.L5:
	mov	rax, QWORD PTR -12760[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
	mov	BYTE PTR -12769[rbp], 0
	mov	QWORD PTR -12736[rbp], 0
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -12736[rbp]
	mov	eax, DWORD PTR -12720[rbp+rax*4]
	mov	edx, eax
	mov	rax, QWORD PTR -12768[rbp]
	shr	rax
	cmp	rdx, rax
	jbe	.L13
	mov	rax, QWORD PTR -12736[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -12769[rbp], 1
	jmp	.L14
.L13:
	add	QWORD PTR -12736[rbp], 1
.L12:
	cmp	QWORD PTR -12736[rbp], 100
	jbe	.L15
.L14:
	movzx	eax, BYTE PTR -12769[rbp]
	xor	eax, 1
	test	al, al
	je	.L4
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L4:
	mov	rdx, QWORD PTR -12728[rbp]
	lea	rax, -12304[rbp]
	mov	esi, 12288
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L17
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 5
__PRETTY_FUNCTION__.1:
	.string	"main"
	.local	stdoutBuffer.0
	.comm	stdoutBuffer.0,256,32
	.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	"101831.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/101831.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"
	.align	2
.LC4:
	.ascii	"%zu\012\000"
	.align	2
.LC5:
	.ascii	"None\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 12736
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12736
	sub	sp, sp, #4
	sub	r3, fp, #12288
	sub	r3, r3, #12
	str	r0, [r3, #-444]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	str	r1, [r3, #-448]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-444]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L20+4
	mov	r2, #11
	ldr	r1, .L20+8
	ldr	r0, .L20+12
	bl	__assert_fail
.L2:
	ldr	r3, .L20+16
	ldr	r0, [r3]
	mov	r3, #256
	mov	r2, #0
	ldr	r1, .L20+20
	bl	setvbuf
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-448]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L20+24
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-412]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-412]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L20+4
	mov	r2, #20
	ldr	r1, .L20+8
	ldr	r0, .L20+28
	bl	__assert_fail
.L3:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L20+32
	mov	r2, r3
	mov	r1, #0
	bl	memset
	b	.L4
.L17:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	sub	r3, r3, #408
	mov	r2, #404
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-432]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-428]
	b	.L5
.L11:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-424]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-428]
	str	r3, [r2, #-420]
	b	.L6
.L8:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-428]
	add	r3, r3, #1
	str	r3, [r2, #-428]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r3, #-424]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-420]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	sub	r2, fp, #12288
	sub	r2, r2, #12
	sub	r3, r3, #48
	str	r3, [r2, #-424]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-420]
	add	r3, r3, #1
	str	r3, [r2, #-420]
.L6:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-420]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L7
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-420]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L8
.L7:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-424]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-408]
	add	r2, r3, #1
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-424]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-408]
	nop
.L10:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-428]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-428]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-428]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L10
.L9:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-432]
	add	r3, r3, #1
	str	r3, [r2, #-432]
.L5:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-428]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-433]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-416]
	b	.L12
.L15:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-416]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-408]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-432]
	lsr	r3, r3, #1
	cmp	r2, r3
	bls	.L13
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r1, [r3, #-416]
	ldr	r0, .L20+36
	bl	printf
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, #1
	strb	r2, [r3, #-433]
	b	.L14
.L13:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-416]
	add	r3, r3, #1
	str	r3, [r2, #-416]
.L12:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-416]
	cmp	r3, #100
	bls	.L15
.L14:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-433]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L20+40
	bl	puts
.L4:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-412]
	mov	r1, #12288
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mov	r3, #0
	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	.LC6
	.word	__PRETTY_FUNCTION__.4622
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	stdoutBuffer.4623
	.word	.LC2
	.word	.LC3
	.word	12284
	.word	.LC4
	.word	.LC5
	.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
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
