	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_register_sim_regno
_mips_register_sim_regno:               ## @mips_register_sim_regno
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	setns	%al
	movq	_NUM_REGS@GOTPCREL(%rip), %r14
	cmpl	%edi, (%r14)
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_gdb_assert
	movl	(%r14), %edi
	addl	%ebx, %edi
	callq	_REGISTER_NAME
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	addl	%ebx, %edi
	callq	_REGISTER_NAME
	cmpb	$0, (%rax)
	jne	LBB0_3
LBB0_2:
	movq	_LEGACY_SIM_REGNO_IGNORE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REGS,4,2                   ## @NUM_REGS
	.comm	_LEGACY_SIM_REGNO_IGNORE,4,2    ## @LEGACY_SIM_REGNO_IGNORE
	.no_dead_strip	_mips_register_sim_regno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_register_sim_regno
_mips_register_sim_regno:               ; @mips_register_sim_regno
	.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, x0
	cmp	w0, #0
Lloh0:
	adrp	x20, _NUM_REGS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NUM_REGS@GOTPAGEOFF]
	ldr	w8, [x20]
	ccmp	w8, w0, #4, ge
	cset	w0, gt
	bl	_gdb_assert
	ldr	w8, [x20]
	add	w0, w8, w19
	bl	_REGISTER_NAME
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	add	w0, w8, w19
	bl	_REGISTER_NAME
	ldrb	w8, [x0]
	cbnz	w8, LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _LEGACY_SIM_REGNO_IGNORE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LEGACY_SIM_REGNO_IGNORE@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REGS,4,2                   ; @NUM_REGS
	.comm	_LEGACY_SIM_REGNO_IGNORE,4,2    ; @LEGACY_SIM_REGNO_IGNORE
	.no_dead_strip	_mips_register_sim_regno
.subsections_via_symbols
