	.file	"410797.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/410797.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
	sub	rsp, 192
	mov	DWORD PTR -180[rbp], edi
	mov	QWORD PTR -192[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -180[rbp], 1
	jg	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[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, 128
	mov	edx, 0
	lea	rsi, stdoutBuffer.0[rip]
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR -192[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L3
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 19
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L3:
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L4
.L9:
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	lea	rax, -144[rbp]
	mov	QWORD PTR -160[rbp], rax
	jmp	.L5
.L8:
	mov	rax, QWORD PTR -160[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L6
	add	QWORD PTR -176[rbp], 1
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -160[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cmp	eax, 9
	ja	.L7
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -160[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cdqe
	add	rax, rdx
	mov	QWORD PTR -168[rbp], rax
.L7:
	add	QWORD PTR -160[rbp], 1
.L5:
	mov	rax, QWORD PTR -160[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	mov	rax, QWORD PTR -176[rbp]
	cmp	rax, QWORD PTR -168[rbp]
	jb	.L4
	mov	rax, QWORD PTR -176[rbp]
	sub	rax, QWORD PTR -168[rbp]
	add	rax, rax
	movzx	eax, BYTE PTR -144[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
.L4:
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -144[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L9
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	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,128,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	"410797.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/410797.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:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-160]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L12+4
	mov	r2, #10
	ldr	r1, .L12+8
	ldr	r0, .L12+12
	bl	__assert_fail
.L2:
	ldr	r3, .L12+16
	ldr	r0, [r3]
	mov	r3, #128
	mov	r2, #0
	ldr	r1, .L12+20
	bl	setvbuf
	ldr	r3, [fp, #-164]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L12+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L12+4
	mov	r2, #19
	ldr	r1, .L12+8
	ldr	r0, .L12+28
	bl	__assert_fail
.L3:
	mov	r3, #0
	str	r3, [fp, #-136]
	sub	r3, fp, #132
	mov	r2, #124
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L4
.L9:
	mov	r3, #0
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-148]
	sub	r3, fp, #136
	str	r3, [fp, #-144]
	b	.L5
.L8:
	ldr	r3, [fp, #-144]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L6
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
	b	.L7
.L6:
	ldr	r3, [fp, #-144]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	cmp	r3, #9
	bhi	.L7
	ldr	r2, [fp, #-148]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-144]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	sub	r3, r3, #48
	str	r3, [fp, #-148]
.L7:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L5:
	ldr	r3, [fp, #-144]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-148]
	cmp	r2, r3
	bcc	.L4
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-148]
	sub	r3, r2, r3
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-132]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r0, #10
	bl	putchar
.L4:
	sub	r3, fp, #136
	ldr	r2, [fp, #-140]
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC4
	.word	__PRETTY_FUNCTION__.4622
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	stdoutBuffer.4623
	.word	.LC2
	.word	.LC3
	.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,128,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
