	.file	"176705024.c"
	.intel_syntax noprefix
	.text
	.globl	h
	.bss
	.align 8
	.type	h, @object
	.size	h, 8
h:
	.zero	8
	.text
	.globl	baz
	.type	baz, @function
baz:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -8[rbp]
	add	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	baz, .-baz
	.globl	foo
	.type	foo, @function
foo:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR h[rip]
	mov	esi, edx
	mov	rdi, rax
	call	baz
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR h[rip]
	mov	esi, edx
	mov	rdi, rax
	call	baz
	mov	ebx, DWORD PTR 4[rax]
	jmp	.L5
.L4:
	mov	ebx, 0
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR h[rip]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR h[rip]
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	mov	esi, edx
	mov	rdi, rax
	call	baz
	mov	eax, DWORD PTR 8[rax]
	sub	ebx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR h[rip]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR h[rip]
	jmp	.L9
.L8:
	mov	eax, 0
.L9:
	mov	esi, edx
	mov	rdi, rax
	call	baz
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jle	.L10
	mov	eax, 5
	jmp	.L11
.L10:
	mov	eax, 0
.L11:
	cmp	eax, ebx
	je	.L12
	mov	eax, 1
	jmp	.L13
.L12:
	call	bar@PLT
	mov	eax, 0
.L13:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	foo, .-foo
	.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	"176705024.c"
	.text
	.comm	h,4,4
	.align	2
	.global	baz
	.syntax unified
	.arm
	.fpu softvfp
	.type	baz, %function
baz:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	baz, .-baz
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	baz
	mov	r3, r0
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	baz
	mov	r3, r0
	ldr	r4, [r3, #4]
	b	.L5
.L4:
	mov	r4, #0
.L5:
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, r3
	b	.L7
.L6:
	mov	r2, #0
.L7:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	baz
	mov	r3, r0
	ldr	r3, [r3, #8]
	sub	r4, r4, r3
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, r3
	b	.L9
.L8:
	mov	r2, #0
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	baz
	mov	r3, r0
	ldr	r3, [r3, #4]
	cmp	r3, #0
	ble	.L10
	mov	r3, #5
	b	.L11
.L10:
	mov	r3, #0
.L11:
	cmp	r3, r4
	beq	.L12
	mov	r3, #1
	b	.L13
.L12:
	bl	bar
	mov	r3, #0
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	h
	.size	foo, .-foo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
