	.file	"extr_sparc-tdep.c_sparc32_store_return_value.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sparc32_store_return_value, @function
sparc32_store_return_value:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	TYPE_LENGTH@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	sparc_structure_or_union_p@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	gdb_assert@PLT
	mov	rdi, rbp
	call	sparc_floating_p@PLT
	test	rax, rax
	sete	dil
	cmp	r12d, 16
	setne	al
	or	edi, eax
	movzx	edi, dil
	call	gdb_assert@PLT
	mov	rdi, rbp
	call	sparc_floating_p@PLT
	test	rax, rax
	je	.L2
	mov	r15, rsp
	mov	edx, r12d
	mov	rsi, r14
	mov	rdi, r15
	call	memcpy@PLT
	mov	esi, DWORD PTR SPARC_F0_REGNUM[rip]
	mov	rdx, r15
	mov	rdi, r13
	call	regcache_cooked_write@PLT
	cmp	r12d, 4
	jg	.L9
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.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	rdi, rbp
	call	sparc_integral_or_pointer_p@PLT
	mov	edi, eax
	call	gdb_assert@PLT
	cmp	r12d, 4
	jg	.L11
	mov	r15, rsp
	movsx	rax, r12d
	mov	edx, r12d
	mov	rsi, r14
	mov	rcx, r15
	sub	rcx, rax
	lea	rdi, 4[rcx]
	call	memcpy@PLT
.L5:
	mov	esi, DWORD PTR SPARC_O0_REGNUM[rip]
	mov	rdx, r15
	mov	rdi, r13
	call	regcache_cooked_write@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	xor	edi, edi
	cmp	r12d, 8
	mov	r15, rsp
	sete	dil
	call	gdb_assert@PLT
	mov	rsi, r14
	mov	rdi, r15
	mov	edx, 8
	call	memcpy@PLT
	mov	esi, DWORD PTR SPARC_O1_REGNUM[rip]
	lea	rdx, 4[rsp]
	mov	rdi, r13
	call	regcache_cooked_write@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR SPARC_F1_REGNUM[rip]
	lea	rdx, 4[rsp]
	mov	rdi, r13
	call	regcache_cooked_write@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sparc32_store_return_value, .-sparc32_store_return_value
	.comm	SPARC_O1_REGNUM,4,4
	.comm	SPARC_O0_REGNUM,4,4
	.comm	SPARC_F1_REGNUM,4,4
	.comm	SPARC_F0_REGNUM,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_sparc-tdep.c_sparc32_store_return_value.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sparc32_store_return_value, %function
sparc32_store_return_value:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L12
	sub	sp, sp, #20
	mov	r6, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	bl	TYPE_LENGTH
	mov	r5, r0
	mov	r0, r4
	bl	sparc_structure_or_union_p
	clz	r0, r0
	lsr	r0, r0, #5
	bl	gdb_assert
	mov	r0, r4
	bl	sparc_floating_p
	subs	r3, r5, #16
	movne	r3, #1
	cmp	r0, #0
	movne	r0, r3
	moveq	r0, #1
	bl	gdb_assert
	mov	r0, r4
	bl	sparc_floating_p
	cmp	r0, #0
	beq	.L2
	mov	r1, r7
	mov	r2, r5
	add	r0, sp, #4
	bl	memcpy
	ldr	r3, .L12+4
	mov	r0, r6
	ldr	r1, [r3]
	add	r2, sp, #4
	bl	regcache_cooked_write
	cmp	r5, #4
	bgt	.L9
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r0, r4
	bl	sparc_integral_or_pointer_p
	bl	gdb_assert
	cmp	r5, #4
	bgt	.L11
	add	r4, sp, #4
	rsb	r0, r5, #4
	mov	r1, r7
	mov	r2, r5
	add	r0, r4, r0
	bl	memcpy
.L5:
	ldr	r3, .L12+8
	mov	r2, r4
	mov	r0, r6
	ldr	r1, [r3]
	bl	regcache_cooked_write
	b	.L1
.L11:
	sub	r0, r5, #8
	clz	r0, r0
	add	r4, sp, #4
	lsr	r0, r0, #5
	bl	gdb_assert
	mov	r1, r7
	mov	r0, r4
	mov	r2, #8
	bl	memcpy
	ldr	r3, .L12+12
	mov	r0, r6
	ldr	r1, [r3]
	add	r2, sp, #8
	bl	regcache_cooked_write
	b	.L5
.L9:
	ldr	r3, .L12+16
	mov	r0, r6
	ldr	r1, [r3]
	add	r2, sp, #8
	bl	regcache_cooked_write
	b	.L1
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	SPARC_F0_REGNUM
	.word	SPARC_O0_REGNUM
	.word	SPARC_O1_REGNUM
	.word	SPARC_F1_REGNUM
	.size	sparc32_store_return_value, .-sparc32_store_return_value
	.comm	SPARC_O1_REGNUM,4,4
	.comm	SPARC_O0_REGNUM,4,4
	.comm	SPARC_F1_REGNUM,4,4
	.comm	SPARC_F0_REGNUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
