	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc64_extract_floating_fields
_sparc64_extract_floating_fields:       ## @sparc64_extract_floating_fields
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_sparc64_floating_p
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r13, %rdi
	callq	_TYPE_LENGTH
	movq	%r12, %r13
	cmpl	$8, %eax
	je	LBB0_10
## %bb.2:
	cmpl	$16, %eax
	jne	LBB0_4
## %bb.3:
	testl	$-129, %ebx
	sete	%al
	movl	$128, %r14d
	movq	_SPARC64_Q0_REGNUM@GOTPCREL(%rip), %r12
	jmp	LBB0_11
LBB0_5:
	movq	%r13, %rdi
	callq	_sparc64_structure_or_union_p
	testq	%rax, %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.6:
	movq	%rbx, %r15
	movq	%r13, %rdi
	callq	_TYPE_NFIELDS
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FIELD_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_TYPE_FIELD_BITPOS
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r15), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_sparc64_extract_floating_fields
	incl	%ebx
	movq	%r13, %rdi
	callq	_TYPE_NFIELDS
	cmpl	%eax, %ebx
	jl	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testl	$-2147483585, %ebx              ## imm = 0x8000003F
	sete	%cl
	cmpl	$256, %ebx                      ## imm = 0x100
	setl	%al
	andb	%cl, %al
	movl	$64, %r14d
	movq	_SPARC64_D0_REGNUM@GOTPCREL(%rip), %r12
	jmp	LBB0_11
LBB0_4:
	xorl	%edi, %edi
	cmpl	$4, %eax
	sete	%dil
	callq	_gdb_assert
	testl	$-2147483617, %ebx              ## imm = 0x8000001F
	sete	%cl
	cmpl	$256, %ebx                      ## imm = 0x100
	setl	%al
	andb	%cl, %al
	movl	$32, %r14d
	movq	_SPARC_F0_REGNUM@GOTPCREL(%rip), %r12
LBB0_11:
	movzbl	%al, %edi
	callq	_gdb_assert
	movl	%ebx, %eax
	cltd
	idivl	%r14d
	addl	(%r12), %eax
	leal	7(%rbx), %ecx
	testl	%ebx, %ebx
	cmovnsl	%ebx, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	addq	%rcx, %r13
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regcache_cooked_read           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPARC64_Q0_REGNUM,4,2          ## @SPARC64_Q0_REGNUM
	.comm	_SPARC64_D0_REGNUM,4,2          ## @SPARC64_D0_REGNUM
	.comm	_SPARC_F0_REGNUM,4,2            ## @SPARC_F0_REGNUM
	.no_dead_strip	_sparc64_extract_floating_fields
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sparc64_extract_floating_fields
_sparc64_extract_floating_fields:       ; @sparc64_extract_floating_fields
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_sparc64_floating_p
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x22
	bl	_TYPE_LENGTH
	cmp	w0, #8
	b.eq	LBB0_9
; %bb.2:
	cmp	w0, #16
	b.ne	LBB0_10
; %bb.3:
	tst	w21, #0xffffff7f
	cset	w0, eq
	mov	w22, #128
Lloh0:
	adrp	x23, _SPARC64_Q0_REGNUM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SPARC64_Q0_REGNUM@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
	mov	x0, x22
	bl	_sparc64_structure_or_union_p
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x22
	bl	_TYPE_NFIELDS
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	w23, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_TYPE
	bl	_check_typedef
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	bl	_TYPE_FIELD_BITPOS
	add	w3, w0, w21
	mov	x0, x20
	mov	x1, x24
	mov	x2, x19
	bl	_sparc64_extract_floating_fields
	add	w23, w23, #1
	mov	x0, x22
	bl	_TYPE_NFIELDS
	cmp	w23, w0
	b.lt	LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	tst	w21, #0x8000003f
	mov	w8, #256
	ccmp	w21, w8, #0, eq
	cset	w0, lt
	mov	w22, #64
Lloh2:
	adrp	x23, _SPARC64_D0_REGNUM@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SPARC64_D0_REGNUM@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	cmp	w0, #4
	cset	w0, eq
	bl	_gdb_assert
	tst	w21, #0x8000001f
	mov	w8, #256
	ccmp	w21, w8, #0, eq
	cset	w0, lt
	mov	w22, #32
Lloh4:
	adrp	x23, _SPARC_F0_REGNUM@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SPARC_F0_REGNUM@GOTPAGEOFF]
LBB0_11:
	bl	_gdb_assert
	ldr	w8, [x23]
	sdiv	w9, w21, w22
	add	w1, w8, w9
	add	w8, w21, #7
	cmp	w21, #0
	csel	w8, w8, w21, lt
	asr	w8, w8, #3
	add	x2, x19, w8, sxtw
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_regcache_cooked_read
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SPARC64_Q0_REGNUM,4,2          ; @SPARC64_Q0_REGNUM
	.comm	_SPARC64_D0_REGNUM,4,2          ; @SPARC64_D0_REGNUM
	.comm	_SPARC_F0_REGNUM,4,2            ; @SPARC_F0_REGNUM
	.no_dead_strip	_sparc64_extract_floating_fields
.subsections_via_symbols
