	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_info_to_howto_rel
_mips_info_to_howto_rel:                ## @mips_info_to_howto_rel
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rdx), %edi
	callq	_ELF32_R_TYPE
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_get_elf_backend_data
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%ebx, %edi
	callq	*(%rax)
	movl	%eax, 16(%r15)
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	_BSF_SECTION_SYM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_R_MIPS_GPREL16@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_3
## %bb.2:
	movq	_R_MIPS_LITERAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_elf_gp
	movl	%eax, (%r15)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_BSF_SECTION_SYM,4,2            ## @BSF_SECTION_SYM
	.comm	_R_MIPS_GPREL16,8,3             ## @R_MIPS_GPREL16
	.comm	_R_MIPS_LITERAL,8,3             ## @R_MIPS_LITERAL
	.no_dead_strip	_mips_info_to_howto_rel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_info_to_howto_rel
_mips_info_to_howto_rel:                ; @mips_info_to_howto_rel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x2]
	bl	_ELF32_R_TYPE
	mov	x21, x0
	mov	x0, x20
	bl	_get_elf_backend_data
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FALSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x21
	blr	x8
	str	w0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BSF_SECTION_SYM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BSF_SECTION_SYM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _R_MIPS_GPREL16@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R_MIPS_GPREL16@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _R_MIPS_LITERAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _R_MIPS_LITERAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w21, w8
	ccmp	w21, w9, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_elf_gp
	str	w0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_BSF_SECTION_SYM,4,2            ; @BSF_SECTION_SYM
	.comm	_R_MIPS_GPREL16,8,3             ; @R_MIPS_GPREL16
	.comm	_R_MIPS_LITERAL,8,3             ; @R_MIPS_LITERAL
	.no_dead_strip	_mips_info_to_howto_rel
.subsections_via_symbols
