	.file	"extr_i386-tdep.c_i386_return_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i386_return_value, @function
i386_return_value:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbp
	call	TYPE_CODE@PLT
	cmp	eax, DWORD PTR TYPE_CODE_STRUCT[rip]
	mov	ebx, eax
	je	.L2
	cmp	eax, DWORD PTR TYPE_CODE_UNION[rip]
	je	.L2
.L3:
	test	r12, r12
	je	.L7
	mov	rcx, r12
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r13
	call	i386_extract_return_value@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	test	r14, r14
	je	.L8
	mov	rcx, r14
	mov	rdx, r15
	mov	rsi, rbp
	mov	rdi, r13
	call	i386_store_return_value@PLT
.L8:
	mov	eax, DWORD PTR RETURN_VALUE_REGISTER_CONVENTION[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r13
	call	i386_reg_struct_return_p@PLT
	test	eax, eax
	je	.L17
	cmp	ebx, DWORD PTR TYPE_CODE_STRUCT[rip]
	jne	.L3
	mov	rdi, rbp
	call	TYPE_NFIELDS@PLT
	cmp	eax, 1
	jne	.L3
	mov	rdi, rbp
	xor	esi, esi
	call	TYPE_FIELD_TYPE@PLT
	mov	edi, eax
	call	check_typedef@PLT
	mov	rbp, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, DWORD PTR RETURN_VALUE_STRUCT_CONVENTION[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	i386_return_value, .-i386_return_value
	.comm	TYPE_CODE_UNION,4,4
	.comm	TYPE_CODE_STRUCT,4,4
	.comm	RETURN_VALUE_STRUCT_CONVENTION,4,4
	.comm	RETURN_VALUE_REGISTER_CONVENTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_i386-tdep.c_i386_return_value.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i386_return_value, %function
i386_return_value:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	mov	r4, r1
	mov	r10, r2
	mov	r8, r3
	ldr	fp, [sp, #40]
	ldr	r6, .L18
	ldr	r7, .L18+4
.L6:
	mov	r0, r4
	bl	TYPE_CODE
	ldr	r3, [r6]
	mov	r5, r0
	cmp	r0, r3
	beq	.L2
	ldr	r3, [r7]
	cmp	r0, r3
	beq	.L2
.L3:
	cmp	r8, #0
	beq	.L7
	mov	r3, r8
	mov	r2, r10
	mov	r1, r4
	mov	r0, r9
	bl	i386_extract_return_value
.L7:
	cmp	fp, #0
	beq	.L8
	mov	r3, fp
	mov	r2, r10
	mov	r1, r4
	mov	r0, r9
	bl	i386_store_return_value
.L8:
	ldr	r3, .L18+8
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r1, r4
	mov	r0, r9
	bl	i386_reg_struct_return_p
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r6]
	cmp	r5, r3
	bne	.L3
	mov	r0, r4
	bl	TYPE_NFIELDS
	cmp	r0, #1
	bne	.L3
	mov	r0, r4
	mov	r1, #0
	bl	TYPE_FIELD_TYPE
	bl	check_typedef
	mov	r4, r0
	b	.L6
.L17:
	ldr	r3, .L18+12
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	TYPE_CODE_STRUCT
	.word	TYPE_CODE_UNION
	.word	RETURN_VALUE_REGISTER_CONVENTION
	.word	RETURN_VALUE_STRUCT_CONVENTION
	.size	i386_return_value, .-i386_return_value
	.comm	TYPE_CODE_UNION,4,4
	.comm	TYPE_CODE_STRUCT,4,4
	.comm	RETURN_VALUE_STRUCT_CONVENTION,4,4
	.comm	RETURN_VALUE_REGISTER_CONVENTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
