	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc64_store_floating_fields
_sparc64_store_floating_fields:         ## @sparc64_store_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$16, %ecx
	setl	%dil
	callq	_gdb_assert
	movq	%rbx, %rdi
	callq	_sparc64_floating_p
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_TYPE_LENGTH
	xorl	%edi, %edi
	cmpl	$8, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$16, %eax
	jne	LBB0_8
## %bb.3:
	testl	%r13d, %r13d
	sete	%dil
	callq	_gdb_assert
	movl	%r12d, %edi
	notl	%edi
	andl	$1, %edi
	callq	_gdb_assert
	movq	_SPARC64_Q0_REGNUM@GOTPCREL(%rip), %rax
	movl	%r12d, %esi
	shrl	$31, %esi
	addl	%r12d, %esi
	sarl	%esi
	addl	(%rax), %esi
	jmp	LBB0_6
LBB0_9:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_sparc64_structure_or_union_p
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:
	movq	%rbx, %rdi
	callq	_TYPE_NFIELDS
	testl	%eax, %eax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_13
## %bb.11:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FIELD_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movq	%r12, %r13
	movq	%r15, %r12
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FIELD_BITPOS
                                        ## kill: def $eax killed $eax def $rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rax,%rcx), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %r15
	movq	%r13, %r12
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_sparc64_store_floating_fields
	incl	%r14d
	movq	%rbx, %rdi
	callq	_TYPE_NFIELDS
	cmpl	%eax, %r14d
	jl	LBB0_12
LBB0_13:
	movq	%rbx, %rdi
	callq	_TYPE_NFIELDS
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.14:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TYPE_FIELD_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_sparc64_floating_p
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%rbx, %rdi
	callq	_TYPE_LENGTH
	cmpl	$4, %eax
	jne	LBB0_17
## %bb.16:
	movq	_SPARC_F1_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	$-65, %r13d
	sete	%dil
	callq	_gdb_assert
	movq	_SPARC64_D0_REGNUM@GOTPCREL(%rip), %rax
	leal	63(%r13), %esi
	leal	7(%r13), %ecx
	testl	%r13d, %r13d
	cmovnsl	%r13d, %esi
	cmovnsl	%r13d, %ecx
	sarl	$6, %esi
	addl	%r12d, %esi
	addl	(%rax), %esi
	sarl	$3, %ecx
	movslq	%ecx, %rax
	jmp	LBB0_5
LBB0_8:
	cmpl	$4, %eax
	sete	%dil
	callq	_gdb_assert
	testl	$-2147483617, %r13d             ## imm = 0x8000001F
	sete	%al
	cmpl	$128, %r13d
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_gdb_assert
	movq	_SPARC_F0_REGNUM@GOTPCREL(%rip), %rax
	leal	31(%r13), %ecx
	leal	7(%r13), %edx
	testl	%r13d, %r13d
	cmovnsl	%r13d, %ecx
	cmovnsl	%r13d, %edx
	sarl	$5, %ecx
	leal	(%rcx,%r12,2), %esi
	addl	(%rax), %esi
	sarl	$3, %edx
	movslq	%edx, %rax
LBB0_5:
	addq	%rax, %r15
LBB0_6:
	movq	%r14, %rdi
LBB0_7:
	movq	%r15, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regcache_cooked_write          ## 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
	.comm	_SPARC_F1_REGNUM,4,2            ## @SPARC_F1_REGNUM
	.no_dead_strip	_sparc64_store_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_store_floating_fields
_sparc64_store_floating_fields:         ; @sparc64_store_floating_fields
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x4
	mov	x21, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	cmp	w3, #16
	cset	w0, lt
	bl	_gdb_assert
	mov	x0, x23
	bl	_sparc64_floating_p
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x23
	bl	_TYPE_LENGTH
	cmp	w0, #8
	b.eq	LBB0_14
; %bb.2:
	cmp	w0, #16
	b.ne	LBB0_15
; %bb.3:
	cmp	w22, #0
	cset	w0, eq
	bl	_gdb_assert
	mvn	w8, w21
	and	w0, w8, #0x1
	bl	_gdb_assert
Lloh0:
	adrp	x8, _SPARC64_Q0_REGNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPARC64_Q0_REGNUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, #0
	cinc	w9, w21, lt
	add	w1, w8, w9, asr #1
LBB0_4:
	mov	x0, x20
	mov	x2, x19
	b	LBB0_17
LBB0_5:
	mov	x0, x23
	bl	_sparc64_structure_or_union_p
	cbz	x0, LBB0_13
; %bb.6:
	mov	x0, x23
	bl	_TYPE_NFIELDS
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	w24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_TYPE_FIELD_TYPE
	bl	_check_typedef
	mov	x25, x0
	mov	x0, x23
	mov	x1, x24
	bl	_TYPE_FIELD_BITPOS
	add	w4, w0, w22
	mov	x0, x20
	mov	x1, x25
	mov	x2, x19
	mov	x3, x21
	bl	_sparc64_store_floating_fields
	add	w24, w24, #1
	mov	x0, x23
	bl	_TYPE_NFIELDS
	cmp	w24, w0
	b.lt	LBB0_8
LBB0_9:
	mov	x0, x23
	bl	_TYPE_NFIELDS
	cmp	w0, #1
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x23
	mov	w1, #0
	bl	_TYPE_FIELD_TYPE
	bl	_check_typedef
	mov	x21, x0
	bl	_sparc64_floating_p
	cbz	x0, LBB0_13
; %bb.11:
	mov	x0, x21
	bl	_TYPE_LENGTH
	cmp	w0, #4
	b.ne	LBB0_13
; %bb.12:
Lloh3:
	adrp	x8, _SPARC_F1_REGNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPARC_F1_REGNUM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	LBB0_4
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	tst	w22, #0xffffffbf
	cset	w0, eq
	bl	_gdb_assert
Lloh6:
	adrp	x8, _SPARC64_D0_REGNUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPARC64_D0_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w9, w22, #63
	cmp	w22, #0
	csel	w9, w9, w22, lt
	add	w9, w21, w9, asr #6
	b	LBB0_16
LBB0_15:
	cmp	w0, #4
	cset	w0, eq
	bl	_gdb_assert
	tst	w22, #0x8000001f
	mov	w8, #128
	ccmp	w22, w8, #0, eq
	cset	w0, lt
	bl	_gdb_assert
Lloh9:
	adrp	x8, _SPARC_F0_REGNUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SPARC_F0_REGNUM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w9, w22, #31
	cmp	w22, #0
	csel	w9, w9, w22, lt
	asr	w9, w9, #5
	add	w9, w9, w21, lsl #1
LBB0_16:
	add	w1, w9, w8
	add	w8, w22, #7
	csel	w8, w8, w22, lt
	asr	w8, w8, #3
	add	x2, x19, w8, sxtw
	mov	x0, x20
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_regcache_cooked_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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
	.comm	_SPARC_F1_REGNUM,4,2            ; @SPARC_F1_REGNUM
	.no_dead_strip	_sparc64_store_floating_fields
.subsections_via_symbols
