	.file	"97407.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"hey, you hit it "
	.text
	.globl	bar
	.type	bar, @function
bar:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 12334
	jne	.L3
	lea	rdi, .LC0[rip]
	call	puts@PLT
	call	abort@PLT
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	bar, .-bar
	.globl	foo
	.type	foo, @function
foo:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	edi, eax
	call	bar
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	foo, .-foo
	.section	.rodata
.LC1:
	.string	"rb"
.LC2:
	.string	"st err"
.LC3:
	.string	"input fail "
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -308[rbp], 1
	jg	.L6
	mov	eax, 0
	jmp	.L11
.L6:
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L8
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L11
.L8:
	mov	DWORD PTR -296[rbp], 20
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -288[rbp]
	lea	rax, -272[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -280[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -296[rbp]
	cdqe
	cmp	QWORD PTR -280[rbp], rax
	jnb	.L9
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L11
.L9:
	mov	DWORD PTR -300[rbp], 0
	lea	rax, -272[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -300[rbp], eax
	mov	eax, DWORD PTR -300[rbp]
	mov	edi, eax
	call	foo
	mov	eax, DWORD PTR -300[rbp]
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], 123
	jne	.L10
	call	abort@PLT
.L10:
	mov	eax, 0
.L11:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"97407.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"hey, you hit it \000"
	.text
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L4
	cmp	r3, r2
	bne	.L3
	ldr	r0, .L4+4
	bl	puts
	bl	abort
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	12334
	.word	.LC0
	.size	bar, .-bar
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r0, r3
	bl	bar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	foo, .-foo
	.section	.rodata
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"st err\000"
	.align	2
.LC3:
	.ascii	"input fail \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 = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-288]
	cmp	r3, #1
	bgt	.L8
	mov	r3, #0
	b	.L13
.L8:
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L15+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L15+8
	bl	puts
	mov	r3, #0
	b	.L13
.L10:
	mov	r3, #20
	str	r3, [fp, #-276]
	ldr	r2, [fp, #-276]
	sub	r0, fp, #264
	ldr	r3, [fp, #-280]
	mov	r1, #1
	bl	fread
	str	r0, [fp, #-272]
	ldr	r0, [fp, #-280]
	bl	fclose
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-272]
	cmp	r2, r3
	bcs	.L11
	ldr	r0, .L15+12
	bl	puts
	mov	r3, #0
	b	.L13
.L11:
	mov	r3, #0
	str	r3, [fp, #-284]
	sub	r3, fp, #264
	add	r3, r3, #4
	sub	r0, fp, #284
	mov	r2, #4
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-284]
	mov	r0, r3
	bl	foo
	ldr	r3, [fp, #-284]
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #123
	bne	.L12
	bl	abort
.L12:
	mov	r3, #0
.L13:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.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
