	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tc_mips_regname_to_dw2regnum   ## -- Begin function tc_mips_regname_to_dw2regnum
	.p2align	4, 0x90
_tc_mips_regname_to_dw2regnum:          ## @tc_mips_regname_to_dw2regnum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, -16(%rbp)
	movq	_RTYPE_GP@GOTPCREL(%rip), %rax
	movq	_RTYPE_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	-16(%rbp), %rdi
	leaq	-4(%rbp), %rdx
	callq	_reg_lookup
	xorl	%ecx, %ecx
	cmpq	$1, %rax
	sbbl	%ecx, %ecx
	orl	-4(%rbp), %ecx
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTYPE_GP,4,2                   ## @RTYPE_GP
	.comm	_RTYPE_NUM,4,2                  ## @RTYPE_NUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tc_mips_regname_to_dw2regnum   ; -- Begin function tc_mips_regname_to_dw2regnum
	.p2align	2
_tc_mips_regname_to_dw2regnum:          ; @tc_mips_regname_to_dw2regnum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _RTYPE_GP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTYPE_GP@GOTPAGEOFF]
	str	x0, [sp, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RTYPE_NUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTYPE_NUM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	add	x0, sp, #8
	add	x2, sp, #4
	bl	_reg_lookup
	ldr	w8, [sp, #4]
	cmp	x0, #0
	csinv	w0, w8, wzr, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTYPE_GP,4,2                   ; @RTYPE_GP
	.comm	_RTYPE_NUM,4,2                  ; @RTYPE_NUM
.subsections_via_symbols
