	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc64_pseudo_register_write
_sparc64_pseudo_register_write:         ## @sparc64_pseudo_register_write
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	_SPARC64_NUM_REGS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%edx, (%rax)
	setle	%dil
	callq	_gdb_assert
	movq	_SPARC64_D0_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_5
## %bb.1:
	movq	_SPARC64_D30_REGNUM@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jl	LBB0_5
## %bb.2:
	movq	_SPARC_F0_REGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	subl	%eax, %ebx
	leal	(%r12,%rbx,2), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_regcache_raw_write
	leal	(%r12,%rbx,2), %esi
	incl	%esi
	addq	$4, %r15
LBB0_3:
	movq	%r14, %rdi
	jmp	LBB0_4
LBB0_5:
	movq	_SPARC64_D32_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_8
## %bb.6:
	movq	_SPARC64_D62_REGNUM@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jl	LBB0_8
## %bb.7:
	movq	_SPARC64_F32_REGNUM@GOTPCREL(%rip), %rcx
	subl	%eax, %ebx
	addl	(%rcx), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
LBB0_4:
	movq	%r15, %rdx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regcache_raw_write             ## TAILCALL
LBB0_8:
	movq	_SPARC64_Q0_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_11
## %bb.9:
	movq	_SPARC64_Q28_REGNUM@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jl	LBB0_11
## %bb.10:
	movq	_SPARC_F0_REGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	subl	%eax, %ebx
	leal	(%r12,%rbx,4), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_regcache_raw_write
	leal	(%r12,%rbx,4), %esi
	incl	%esi
	leaq	4(%r15), %rdx
	movq	%r14, %rdi
	callq	_regcache_raw_write
	leal	(%r12,%rbx,4), %esi
	addl	$2, %esi
	leaq	8(%r15), %rdx
	movq	%r14, %rdi
	callq	_regcache_raw_write
	leal	(%r12,%rbx,4), %esi
	addl	$3, %esi
	addq	$12, %r15
	jmp	LBB0_3
LBB0_11:
	movq	_SPARC64_Q32_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_14
## %bb.12:
	movq	_SPARC64_Q60_REGNUM@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jl	LBB0_14
## %bb.13:
	movq	_SPARC64_F32_REGNUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	subl	%eax, %ebx
	leal	(%r12,%rbx,2), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_regcache_raw_write
	leal	(%r12,%rbx,2), %esi
	incl	%esi
	addq	$8, %r15
	jmp	LBB0_3
LBB0_14:
	movl	%ebx, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_24
## %bb.15:
	movq	_SPARC64_STATE_REGNUM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	callq	_regcache_raw_read_unsigned
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_extract_unsigned_integer
	cmpl	$128, %ebx
	je	LBB0_20
## %bb.16:
	cmpl	$129, %ebx
	je	LBB0_19
## %bb.17:
	cmpl	$131, %ebx
	jne	LBB0_18
## %bb.21:
	shll	$24, %eax
	jmp	LBB0_22
LBB0_20:
	shll	$8, %eax
	andl	$1048320, %eax                  ## imm = 0xFFF00
	jmp	LBB0_22
LBB0_19:
	andl	$31, %eax
LBB0_22:
	orl	-36(%rbp), %eax
	movl	%eax, -36(%rbp)
	jmp	LBB0_23
LBB0_18:
	movl	-36(%rbp), %eax
LBB0_23:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_regcache_raw_write_unsigned
LBB0_24:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPARC64_NUM_REGS,4,2           ## @SPARC64_NUM_REGS
	.comm	_SPARC64_D0_REGNUM,4,2          ## @SPARC64_D0_REGNUM
	.comm	_SPARC64_D30_REGNUM,4,2         ## @SPARC64_D30_REGNUM
	.comm	_SPARC_F0_REGNUM,4,2            ## @SPARC_F0_REGNUM
	.comm	_SPARC64_D32_REGNUM,4,2         ## @SPARC64_D32_REGNUM
	.comm	_SPARC64_D62_REGNUM,4,2         ## @SPARC64_D62_REGNUM
	.comm	_SPARC64_F32_REGNUM,4,2         ## @SPARC64_F32_REGNUM
	.comm	_SPARC64_Q0_REGNUM,4,2          ## @SPARC64_Q0_REGNUM
	.comm	_SPARC64_Q28_REGNUM,4,2         ## @SPARC64_Q28_REGNUM
	.comm	_SPARC64_Q32_REGNUM,4,2         ## @SPARC64_Q32_REGNUM
	.comm	_SPARC64_Q60_REGNUM,4,2         ## @SPARC64_Q60_REGNUM
	.comm	_SPARC64_STATE_REGNUM,4,2       ## @SPARC64_STATE_REGNUM
	.no_dead_strip	_sparc64_pseudo_register_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sparc64_pseudo_register_write
_sparc64_pseudo_register_write:         ; @sparc64_pseudo_register_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _SPARC64_NUM_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPARC64_NUM_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w0, le
	bl	_gdb_assert
Lloh3:
	adrp	x8, _SPARC64_D0_REGNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPARC64_D0_REGNUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SPARC64_D30_REGNUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPARC64_D30_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #8, le
	b.ge	LBB0_9
; %bb.1:
Lloh9:
	adrp	x8, _SPARC64_D32_REGNUM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SPARC64_D32_REGNUM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _SPARC64_D62_REGNUM@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SPARC64_D62_REGNUM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #8, le
	b.ge	LBB0_10
; %bb.2:
Lloh15:
	adrp	x8, _SPARC64_Q0_REGNUM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SPARC64_Q0_REGNUM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _SPARC64_Q28_REGNUM@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SPARC64_Q28_REGNUM@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #8, le
	b.ge	LBB0_11
; %bb.3:
Lloh21:
	adrp	x8, _SPARC64_Q32_REGNUM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SPARC64_Q32_REGNUM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _SPARC64_Q60_REGNUM@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SPARC64_Q60_REGNUM@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #8, le
	b.ge	LBB0_12
; %bb.4:
	and	w8, w21, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.5:
Lloh27:
	adrp	x22, _SPARC64_STATE_REGNUM@GOTPAGE
Lloh28:
	ldr	x22, [x22, _SPARC64_STATE_REGNUM@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x19
	bl	_regcache_raw_read_unsigned
	mov	x0, x20
	mov	w1, #8
	bl	_extract_unsigned_integer
	cmp	w21, #128
	b.eq	LBB0_15
; %bb.6:
	cmp	w21, #129
	b.eq	LBB0_16
; %bb.7:
	cmp	w21, #131
	b.ne	LBB0_19
; %bb.8:
	ldr	w8, [sp, #12]
	orr	w2, w8, w0, lsl #24
	b	LBB0_18
LBB0_9:
Lloh29:
	adrp	x9, _SPARC_F0_REGNUM@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SPARC_F0_REGNUM@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	sub	w8, w21, w8
	add	w21, w9, w8, lsl #1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_regcache_raw_write
	add	w1, w21, #1
	add	x2, x20, #4
	b	LBB0_13
LBB0_10:
Lloh32:
	adrp	x9, _SPARC64_F32_REGNUM@GOTPAGE
Lloh33:
	ldr	x9, [x9, _SPARC64_F32_REGNUM@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	sub	w8, w21, w8
	add	w1, w8, w9
	mov	x0, x19
	mov	x2, x20
	b	LBB0_14
LBB0_11:
Lloh35:
	adrp	x9, _SPARC_F0_REGNUM@GOTPAGE
Lloh36:
	ldr	x9, [x9, _SPARC_F0_REGNUM@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	sub	w8, w21, w8
	add	w21, w9, w8, lsl #2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_regcache_raw_write
	add	w1, w21, #1
	add	x2, x20, #4
	mov	x0, x19
	bl	_regcache_raw_write
	add	w1, w21, #2
	add	x2, x20, #8
	mov	x0, x19
	bl	_regcache_raw_write
	add	w1, w21, #3
	add	x2, x20, #12
	b	LBB0_13
LBB0_12:
Lloh38:
	adrp	x9, _SPARC64_F32_REGNUM@GOTPAGE
Lloh39:
	ldr	x9, [x9, _SPARC64_F32_REGNUM@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	sub	w8, w21, w8
	add	w21, w9, w8, lsl #1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_regcache_raw_write
	add	w1, w21, #1
	add	x2, x20, #8
LBB0_13:
	mov	x0, x19
LBB0_14:
	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
	add	sp, sp, #64
	b	_regcache_raw_write
LBB0_15:
	ubfiz	w8, w0, #8, #12
	b	LBB0_17
LBB0_16:
	and	w8, w0, #0x1f
LBB0_17:
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
LBB0_18:
	str	w2, [sp, #12]
	b	LBB0_20
LBB0_19:
	ldr	w2, [sp, #12]
LBB0_20:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_regcache_raw_write_unsigned
LBB0_21:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_SPARC64_NUM_REGS,4,2           ; @SPARC64_NUM_REGS
	.comm	_SPARC64_D0_REGNUM,4,2          ; @SPARC64_D0_REGNUM
	.comm	_SPARC64_D30_REGNUM,4,2         ; @SPARC64_D30_REGNUM
	.comm	_SPARC_F0_REGNUM,4,2            ; @SPARC_F0_REGNUM
	.comm	_SPARC64_D32_REGNUM,4,2         ; @SPARC64_D32_REGNUM
	.comm	_SPARC64_D62_REGNUM,4,2         ; @SPARC64_D62_REGNUM
	.comm	_SPARC64_F32_REGNUM,4,2         ; @SPARC64_F32_REGNUM
	.comm	_SPARC64_Q0_REGNUM,4,2          ; @SPARC64_Q0_REGNUM
	.comm	_SPARC64_Q28_REGNUM,4,2         ; @SPARC64_Q28_REGNUM
	.comm	_SPARC64_Q32_REGNUM,4,2         ; @SPARC64_Q32_REGNUM
	.comm	_SPARC64_Q60_REGNUM,4,2         ; @SPARC64_Q60_REGNUM
	.comm	_SPARC64_STATE_REGNUM,4,2       ; @SPARC64_STATE_REGNUM
	.no_dead_strip	_sparc64_pseudo_register_write
.subsections_via_symbols
