	.file	"97012429.c"
	.intel_syntax noprefix
	.text
	.globl	foo
	.type	foo, @function
foo:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 97
	je	.L4
	call	abort@PLT
.L4:
	movabs	rax, 1099511627775
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 98
	je	.L5
	call	abort@PLT
.L5:
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.globl	fn
	.section	.data.rel.local,"aw"
	.align 8
	.type	fn, @object
	.size	fn, 8
fn:
	.quad	foo
	.text
	.globl	bar
	.type	bar, @function
bar:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	r11, -1099511627776
	add	r11, rsp
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, -1099511627792
	add	rax, rbp
	mov	BYTE PTR [rax], 97
	movabs	rax, -1099511627792
	lea	rdx, 0[rbp+rax]
	movabs	rax, 1099511627775
	add	rax, rdx
	mov	BYTE PTR [rax], 98
	movabs	rax, -1099511627792
	add	rax, rbp
	mov	rdi, rax
	call	foo
	movabs	rax, -1099511627792
	add	rax, rbp
	mov	rdi, rax
	call	foo
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	bar, .-bar
	.globl	baz
	.type	baz, @function
baz:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movabs	r11, -1099511627776
	add	r11, rsp
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 32
	movabs	rax, -1099511627800
	add	rax, rbp
	mov	QWORD PTR [rax], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, -1099511627800
	add	rax, rbp
	cmp	QWORD PTR [rax], 0
	je	.L10
	mov	rax, QWORD PTR fn[rip]
	mov	edi, 0
	call	rax
	jmp	.L11
.L10:
	movabs	rax, -1099511627792
	add	rax, rbp
	mov	BYTE PTR [rax], 97
	movabs	rax, -1099511627792
	lea	rdx, 0[rbp+rax]
	movabs	rax, 1099511627775
	add	rax, rdx
	mov	BYTE PTR [rax], 98
	movabs	rax, -1099511627792
	add	rax, rbp
	mov	rdi, rax
	call	foo
	movabs	rax, -1099511627792
	add	rax, rbp
	mov	rdi, rax
	call	foo
	mov	rax, QWORD PTR fn[rip]
	mov	edi, 0
	call	rax
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	baz, .-baz
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	bar
	test	eax, eax
	je	.L14
	call	abort@PLT
.L14:
	mov	edi, 0
	call	baz
	cmp	eax, 1
	je	.L15
	call	abort@PLT
.L15:
	mov	edi, 1
	call	baz
	cmp	eax, 1
	je	.L16
	call	abort@PLT
.L16:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"97012429.c"
	.text
	.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]
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	beq	.L4
	bl	abort
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #4080
	add	r3, r3, #15
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #98
	beq	.L5
	bl	abort
.L5:
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	foo, .-foo
	.global	fn
	.data
	.align	2
	.type	fn, %object
	.size	fn, 4
fn:
	.word	foo
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ args = 0, pretend = 0, frame = 4104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4096
	sub	sp, sp, #8
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, #97
	strb	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, #98
	strb	r2, [r3, #4091]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	foo
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	foo
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	bar, .-bar
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	baz
	.syntax unified
	.arm
	.fpu softvfp
	.type	baz, %function
baz:
	@ args = 0, pretend = 0, frame = 4112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4096
	sub	sp, sp, #16
	sub	r3, fp, #4096
	sub	r3, r3, #4
	str	r0, [r3, #-12]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	mov	r3, r0
	b	.L13
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, #97
	strb	r2, [r3, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, #98
	strb	r2, [r3, #4091]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	foo
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	foo
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r0, #0
	blx	r3
	mov	r3, r0
.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	.LC1
	.word	fn
	.size	baz, .-baz
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	bar
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	bl	abort
.L18:
	mov	r0, #0
	bl	baz
	mov	r3, r0
	cmp	r3, #1
	beq	.L19
	bl	abort
.L19:
	mov	r0, #1
	bl	baz
	mov	r3, r0
	cmp	r3, #1
	beq	.L20
	bl	abort
.L20:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
