	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_map_regno
_mips_map_regno:                        ## @mips_map_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
	cmpl	$32, %edi
	jl	LBB0_16
## %bb.1:
	movq	_current_gdbarch@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_mips_regnum
	cmpl	%ebx, (%rax)
	jg	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	callq	_mips_regnum
	movl	(%rax), %eax
	addl	$32, %eax
	cmpl	%ebx, %eax
	jle	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_mips_regnum
	subl	(%rax), %ebx
	addl	$32, %ebx
	jmp	LBB0_16
LBB0_4:
	movl	(%r14), %edi
	callq	_mips_regnum
	cmpl	%ebx, 4(%rax)
	jne	LBB0_6
## %bb.5:
	movq	_REGNO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_16
LBB0_6:
	movl	(%r14), %edi
	callq	_mips_regnum
	cmpl	%ebx, 8(%rax)
	jne	LBB0_8
## %bb.7:
	movq	_REGNO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	%ebx
	jmp	LBB0_16
LBB0_8:
	movl	(%r14), %edi
	callq	_mips_regnum
	cmpl	%ebx, 12(%rax)
	jne	LBB0_10
## %bb.9:
	movq	_REGNO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$2, %ebx
	jmp	LBB0_16
LBB0_10:
	movl	(%r14), %edi
	callq	_mips_regnum
	cmpl	%ebx, 16(%rax)
	jne	LBB0_12
## %bb.11:
	movq	_REGNO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$3, %ebx
	jmp	LBB0_16
LBB0_12:
	movl	(%r14), %edi
	callq	_mips_regnum
	cmpl	%ebx, 20(%rax)
	jne	LBB0_14
## %bb.13:
	movq	_REGNO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$4, %ebx
	jmp	LBB0_16
LBB0_14:
	movl	(%r14), %edi
	callq	_mips_regnum
	cmpl	%ebx, 24(%rax)
	movl	$0, %ebx
	jne	LBB0_16
## %bb.15:
	movq	_REGNO_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$5, %ebx
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.comm	_REGNO_OFFSET,4,2               ## @REGNO_OFFSET
	.no_dead_strip	_mips_map_regno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_map_regno
_mips_map_regno:                        ; @mips_map_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, #32
	b.lt	LBB0_17
; %bb.1:
Lloh0:
	adrp	x20, _current_gdbarch@GOTPAGE
Lloh1:
	ldr	x20, [x20, _current_gdbarch@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0]
	cmp	w8, w19
	b.gt	LBB0_4
; %bb.2:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0]
	add	w8, w8, #32
	cmp	w8, w19
	b.le	LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0]
	sub	w8, w19, w8
	add	w19, w8, #32
	b	LBB0_17
LBB0_4:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0, #4]
	cmp	w8, w19
	b.ne	LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _REGNO_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REGNO_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	b	LBB0_17
LBB0_6:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0, #8]
	cmp	w8, w19
	b.ne	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _REGNO_OFFSET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REGNO_OFFSET@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w19, w8, #1
	b	LBB0_17
LBB0_8:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0, #12]
	cmp	w8, w19
	b.ne	LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, _REGNO_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REGNO_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w19, w8, #2
	b	LBB0_17
LBB0_10:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0, #16]
	cmp	w8, w19
	b.ne	LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _REGNO_OFFSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REGNO_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	add	w19, w8, #3
	b	LBB0_17
LBB0_12:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0, #20]
	cmp	w8, w19
	b.ne	LBB0_14
; %bb.13:
Lloh14:
	adrp	x8, _REGNO_OFFSET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REGNO_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	add	w19, w8, #4
	b	LBB0_17
LBB0_14:
	ldr	w0, [x20]
	bl	_mips_regnum
	ldr	w8, [x0, #24]
	cmp	w8, w19
	b.ne	LBB0_16
; %bb.15:
Lloh17:
	adrp	x8, _REGNO_OFFSET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REGNO_OFFSET@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	add	w19, w8, #5
	b	LBB0_17
LBB0_16:
	mov	w19, #0
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.comm	_REGNO_OFFSET,4,2               ; @REGNO_OFFSET
	.no_dead_strip	_mips_map_regno
.subsections_via_symbols
