	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sparc64_register_type
_sparc64_register_type:                 ## @sparc64_register_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	_SPARC64_NUM_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%esi, %eax
	jg	LBB0_3
## %bb.1:
	movq	_SPARC64_NUM_PSEUDO_REGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmpl	%ebx, %ecx
	jle	LBB0_3
## %bb.2:
	movq	_sparc64_pseudo_register_info@GOTPCREL(%rip), %rcx
	subl	%eax, %ebx
	jmp	LBB0_4
LBB0_3:
	cmpl	%ebx, %eax
	setg	%al
	testl	%ebx, %ebx
	setns	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_gdb_assert
	movq	_sparc64_register_info@GOTPCREL(%rip), %rcx
LBB0_4:
	movslq	%ebx, %rax
	shlq	$3, %rax
	addq	(%rcx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPARC64_NUM_REGS,4,2           ## @SPARC64_NUM_REGS
	.comm	_SPARC64_NUM_PSEUDO_REGS,4,2    ## @SPARC64_NUM_PSEUDO_REGS
	.comm	_sparc64_pseudo_register_info,8,3 ## @sparc64_pseudo_register_info
	.comm	_sparc64_register_info,8,3      ## @sparc64_register_info
	.no_dead_strip	_sparc64_register_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sparc64_register_type
_sparc64_register_type:                 ; @sparc64_register_type
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _SPARC64_NUM_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPARC64_NUM_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.gt	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _SPARC64_NUM_PSEUDO_REGS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPARC64_NUM_PSEUDO_REGS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w9, w9, w8
	cmp	w9, w19
	b.le	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _sparc64_pseudo_register_info@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sparc64_pseudo_register_info@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	sub	w8, w19, w8
	add	x8, x9, w8, sxtw #3
	b	LBB0_4
LBB0_3:
	cmp	w19, #0
	ccmp	w8, w19, #4, ge
	cset	w0, gt
	bl	_gdb_assert
Lloh9:
	adrp	x8, _sparc64_register_info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sparc64_register_info@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x8, x8, w19, sxtw #3
LBB0_4:
	ldr	x8, [x8]
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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_NUM_REGS,4,2           ; @SPARC64_NUM_REGS
	.comm	_SPARC64_NUM_PSEUDO_REGS,4,2    ; @SPARC64_NUM_PSEUDO_REGS
	.comm	_sparc64_pseudo_register_info,8,3 ; @sparc64_pseudo_register_info
	.comm	_sparc64_register_info,8,3      ; @sparc64_register_info
	.no_dead_strip	_sparc64_register_type
.subsections_via_symbols
