	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_elf64_gprel16_reloc
_mips_elf64_gprel16_reloc:              ## @mips_elf64_gprel16_reloc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	testq	%r9, %r9
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %eax
	movq	_BSF_SECTION_SYM@GOTPCREL(%rip), %rdx
	movq	_TRUE@GOTPCREL(%rip), %r10
	testl	%eax, (%rdx)
	jne	LBB0_5
## %bb.2:
	movq	_BSF_LOCAL@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_5
## %bb.3:
	movl	(%r8), %eax
	addl	%eax, (%rsi)
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_4:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %r9
	movq	_FALSE@GOTPCREL(%rip), %r10
LBB0_5:
	movq	%rsi, %r13
	movq	%r8, %r12
	movq	%rdi, %r15
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rcx
	movl	(%r10), %r14d
	leaq	-44(%rbp), %r8
	movq	%r9, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_mips_elf64_final_gp
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movl	-44(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	%r14d, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	__bfd_mips_elf_gprel16_with_gp
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSF_SECTION_SYM,4,2            ## @BSF_SECTION_SYM
	.comm	_BSF_LOCAL,4,2                  ## @BSF_LOCAL
	.comm	_bfd_reloc_ok,8,3               ## @bfd_reloc_ok
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_mips_elf64_gprel16_reloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_elf64_gprel16_reloc
_mips_elf64_gprel16_reloc:              ; @mips_elf64_gprel16_reloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	cbz	x5, LBB0_3
; %bb.1:
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _BSF_SECTION_SYM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSF_SECTION_SYM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_2:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	x5, [x8]
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w24, [x8]
	add	x4, sp, #12
	mov	x0, x5
	mov	x1, x22
	mov	x2, x24
	mov	x3, x6
	bl	_mips_elf64_final_gp
Lloh7:
	adrp	x8, _bfd_reloc_ok@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bfd_reloc_ok@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
	ldr	w6, [sp, #12]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	mov	x4, x24
	mov	x5, x20
	bl	__bfd_mips_elf_gprel16_with_gp
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x9, _BSF_LOCAL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BSF_LOCAL@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.7:
	ldr	w8, [x19]
	ldr	w9, [x21]
	add	w8, w9, w8
	str	w8, [x21]
Lloh13:
	adrp	x8, _bfd_reloc_ok@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bfd_reloc_ok@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BSF_SECTION_SYM,4,2            ; @BSF_SECTION_SYM
	.comm	_BSF_LOCAL,4,2                  ; @BSF_LOCAL
	.comm	_bfd_reloc_ok,8,3               ; @bfd_reloc_ok
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_mips_elf64_gprel16_reloc
.subsections_via_symbols
