	.file	"600185.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 40
buf:
	.zero	40
	.text
	.type	inl, @function
inl:
.LFB0:
	.cfi_startproc
	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
	jmp	.L2
.L3:
	call	foo@PLT
.L2:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	inl, .-inl
	.globl	test1
	.type	test1, @function
test1:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L5:
	call	foo@PLT
	jmp	.L5
	.cfi_endproc
.LFE1:
	.size	test1, .-test1
	.globl	test2
	.type	test2, @function
test2:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
.L8:
	call	foo@PLT
.L7:
	jmp	.L8
	.cfi_endproc
.LFE2:
	.size	test2, .-test2
	.globl	test3
	.type	test3, @function
test3:
.LFB3:
	.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	edi, 1
	call	inl
	mov	eax, DWORD PTR a[rip]
	mov	DWORD PTR -4[rbp], eax
	call	bar@PLT
	endbr64
	mov	esi, DWORD PTR -4[rbp]
	mov	edi, eax
	call	baz@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	test3, .-test3
	.globl	test4
	.type	test4, @function
test4:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	edi, 2
	call	inl
	mov	eax, DWORD PTR a[rip]
	mov	DWORD PTR -52[rbp], eax
	lea	rax, buf[rip]
	mov	QWORD PTR [rax], rbp
	lea	rdx, .L12[rip]
	mov	QWORD PTR 8[rax], rdx
	xor	edx, edx
	rdsspq	rdx
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR 24[rax], rsp
	mov	eax, 0
	jmp	.L13
.L12:
	endbr64
	mov	eax, 1
.L13:
	mov	esi, DWORD PTR -52[rbp]
	mov	edi, eax
	call	baz@PLT
	mov	eax, DWORD PTR a[rip]
	test	eax, eax
	je	.L18
	lea	rdx, buf[rip]
	mov	rcx, QWORD PTR 8[rdx]
	mov	rsi, QWORD PTR [rdx]
	xor	eax, eax
	rdsspq	rax
	sub	rax, QWORD PTR 16[rdx]
	test	rax, rax
	je	.L15
	neg	rax
	shr	rax, 3
	cmp	rax, 255
	jbe	.L16
	mov	edi, 255
.L17:
	incsspq	rdi
	sub	rax, 255
	cmp	rax, 255
	ja	.L17
.L16:
	incsspq	rax
.L15:
	mov	rsp, QWORD PTR 24[rdx]
	mov	rbp, rsi
	jmp	rcx
.L18:
	nop
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	test4, .-test4
	.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	"600185.c"
	.text
	.comm	a,4,4
	.comm	buf,20,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inl, %function
inl:
	@ 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]
	b	.L2
.L3:
	bl	foo
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	inl, .-inl
	.align	2
	.global	test1
	.syntax unified
	.arm
	.fpu softvfp
	.type	test1, %function
test1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L5:
	bl	foo
	b	.L5
	.size	test1, .-test1
	.align	2
	.global	test2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test2, %function
test2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #36
.L8:
	bl	foo
.L7:
	b	.L8
	.size	test2, .-test2
	.align	2
	.global	test3
	.syntax unified
	.arm
	.fpu softvfp
	.type	test3, %function
test3:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #1
	bl	inl
	bl	bar
	mov	r2, r0
	ldr	r3, .L11
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	baz
	nop
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	a
	.size	test3, .-test3
	.align	2
	.global	test4
	.syntax unified
	.arm
	.fpu softvfp
	.type	test4, %function
test4:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #36
	mov	r0, #2
	bl	inl
	ldr	r3, .L18
	sub	r2, fp, #36
	str	r2, [r3]
	ldr	r2, .L18+4
	str	r2, [r3, #4]
	str	sp, [r3, #8]
	mov	r3, #0
	b	.L15
.L14:
	add	fp, fp, #36
	mov	r3, #1
.L15:
	ldr	r2, .L18+8
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	baz
	ldr	r3, .L18+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L18
	ldr	r2, [r3, #4]
	ldr	r1, [r3]
	ldr	sp, [r3, #8]
	mov	fp, r1
	mov	pc, r2	@ indirect register jump
.L17:
	nop
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	buf
	.word	.L14
	.word	a
	.size	test4, .-test4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
