	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips16_gprel_reloc
_mips16_gprel_reloc:                    ## @mips16_gprel_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	testq	%r9, %r9
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %esi
	movq	_BSF_SECTION_SYM@GOTPCREL(%rip), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rax
	testl	%esi, (%rdx)
	jne	LBB0_5
## %bb.2:
	movq	_BSF_LOCAL@GOTPCREL(%rip), %rdx
	testl	%esi, (%rdx)
	je	LBB0_5
## %bb.3:
	movl	(%r8), %eax
	addl	%eax, (%r13)
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_7
LBB0_4:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %r9
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r14
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	16(%rbp), %rcx
	movl	(%rax), %r15d
	leaq	-44(%rbp), %r8
	movq	%r9, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_mips_elf_final_gp
	movq	%rax, %r12
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_7
## %bb.6:
	movslq	(%r13), %rax
	movq	%r14, %r12
	leaq	(%r14,%rax,4), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	__bfd_mips16_elf_reloc_unshuffle
	movl	-44(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, %r8d
	movq	%r12, %r9
	callq	__bfd_mips_elf_gprel16_with_gp
	movq	%rax, %r12
	movq	8(%r13), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	testl	%r15d, %r15d
	sete	%dl
	movq	%r14, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	__bfd_mips16_elf_reloc_shuffle
LBB0_7:
	movq	%r12, %rax
	addq	$40, %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	_mips16_gprel_reloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips16_gprel_reloc
_mips16_gprel_reloc:                    ; @mips16_gprel_reloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	cbz	x5, LBB0_3
; %bb.1:
	ldr	w8, [x23]
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, [x23, #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, x23
	mov	x2, x24
	mov	x3, x6
	bl	_mips_elf_final_gp
	mov	x25, x0
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:
	ldrsw	x8, [x19]
	add	x26, x22, x8, lsl #2
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x26
	bl	__bfd_mips16_elf_reloc_unshuffle
	ldr	w6, [sp, #12]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	mov	x3, x21
	mov	x4, x24
	mov	x5, x22
	bl	__bfd_mips_elf_gprel16_with_gp
	mov	x25, x0
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	cmp	w24, #0
	cset	w2, eq
	mov	x0, x20
	mov	x3, x26
	bl	__bfd_mips16_elf_reloc_shuffle
	b	LBB0_8
LBB0_6:
Lloh13:
	adrp	x9, _BSF_LOCAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BSF_LOCAL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.7:
	ldr	w8, [x21]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
Lloh16:
	adrp	x8, _bfd_reloc_ok@GOTPAGE
Lloh17:
	ldr	x8, [x8, _bfd_reloc_ok@GOTPAGEOFF]
Lloh18:
	ldr	x25, [x8]
LBB0_8:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	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
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.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	_mips16_gprel_reloc
.subsections_via_symbols
