	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc64_extract_return_value
_sparc64_extract_return_value:          ## @sparc64_extract_return_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_TYPE_LENGTH
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_sparc64_structure_or_union_p
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	$33, %r12d
	setl	%dil
	callq	_gdb_assert
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.2:
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
	addl	$7, %r13d
	shrl	$3, %r13d
	leaq	-80(%rbp), %rbx
	xorl	%r15d, %r15d
	movq	_SPARC_O0_REGNUM@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_regcache_cooked_read
	incq	%r15
	addq	$8, %rbx
	cmpq	%r15, %r13
	jne	LBB0_3
LBB0_4:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_UNION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	leaq	-80(%rbp), %rbx
	jmp	LBB0_6
LBB0_8:
	movq	%rbx, %rdi
	callq	_sparc64_floating_p
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	cmpl	$4, %r12d
	jl	LBB0_10
## %bb.11:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
                                        ## kill: def $r12d killed $r12d def $r12
	shrl	$2, %r12d
	leaq	-80(%rbp), %r15
	xorl	%ebx, %ebx
	movq	_SPARC_F0_REGNUM@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_regcache_cooked_read
	incq	%rbx
	addq	$4, %r15
	cmpq	%rbx, %r12
	jne	LBB0_12
## %bb.13:
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	-84(%rbp), %r12d                ## 4-byte Reload
	leaq	-80(%rbp), %rbx
	jmp	LBB0_15
LBB0_7:
	leaq	-80(%rbp), %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_sparc64_extract_floating_fields
LBB0_6:
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	-84(%rbp), %r12d                ## 4-byte Reload
LBB0_15:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%rbx, %rdi
	callq	_sparc64_integral_or_pointer_p
	movl	%eax, %edi
	callq	_gdb_assert
	movq	_SPARC_O0_REGNUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	callq	_regcache_cooked_read
	movslq	%r12d, %rax
	negq	%rax
	leaq	(%rax,%rbp), %rbx
	addq	$-72, %rbx
	jmp	LBB0_15
LBB0_10:
	leaq	-80(%rbp), %rbx
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SPARC_O0_REGNUM,8,3            ## @SPARC_O0_REGNUM
	.comm	_TYPE_CODE_UNION,8,3            ## @TYPE_CODE_UNION
	.comm	_SPARC_F0_REGNUM,8,3            ## @SPARC_F0_REGNUM
	.no_dead_strip	_sparc64_extract_return_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sparc64_extract_return_value
_sparc64_extract_return_value:          ; @sparc64_extract_return_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_TYPE_LENGTH
	mov	x20, x0
	mov	x0, x22
	bl	_sparc64_structure_or_union_p
	cbz	x0, LBB0_6
; %bb.1:
	cmp	w20, #33
	cset	w0, lt
	bl	_gdb_assert
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x24, #0
	add	w8, w20, #7
	lsr	w25, w8, #3
	add	x23, sp, #8
Lloh3:
	adrp	x26, _SPARC_O0_REGNUM@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SPARC_O0_REGNUM@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x1, x24, x8
	mov	x0, x21
	mov	x2, x23
	bl	_regcache_cooked_read
	add	x24, x24, #1
	add	x23, x23, #8
	cmp	x25, x24
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x22
	bl	_TYPE_CODE
Lloh5:
	adrp	x8, _TYPE_CODE_UNION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPE_CODE_UNION@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x23, sp, #8
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.5:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	bl	_sparc64_extract_floating_fields
	b	LBB0_12
LBB0_6:
	mov	x0, x22
	bl	_sparc64_floating_p
	cbz	x0, LBB0_11
; %bb.7:
	cmp	w20, #4
	b.lt	LBB0_10
; %bb.8:
	mov	x23, #0
	lsr	w24, w20, #2
	add	x22, sp, #8
Lloh8:
	adrp	x25, _SPARC_F0_REGNUM@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SPARC_F0_REGNUM@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x1, x23, x8
	mov	x0, x21
	mov	x2, x22
	bl	_regcache_cooked_read
	add	x23, x23, #1
	add	x22, x22, #4
	cmp	x24, x23
	b.ne	LBB0_9
LBB0_10:
	add	x23, sp, #8
	b	LBB0_12
LBB0_11:
	mov	x0, x22
	bl	_sparc64_integral_or_pointer_p
	bl	_gdb_assert
Lloh10:
	adrp	x8, _SPARC_O0_REGNUM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SPARC_O0_REGNUM@GOTPAGEOFF]
Lloh12:
	ldr	x1, [x8]
	add	x22, sp, #8
	add	x2, sp, #8
	mov	x0, x21
	bl	_regcache_cooked_read
	sub	x8, x22, w20, sxtw
	add	x23, x8, #8
LBB0_12:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [sp, #40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SPARC_O0_REGNUM,8,3            ; @SPARC_O0_REGNUM
	.comm	_TYPE_CODE_UNION,8,3            ; @TYPE_CODE_UNION
	.comm	_SPARC_F0_REGNUM,8,3            ; @SPARC_F0_REGNUM
	.no_dead_strip	_sparc64_extract_return_value
.subsections_via_symbols
