	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_elf64_gprel32_reloc
_mips_elf64_gprel32_reloc:              ## @mips_elf64_gprel32_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	%r8, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r14
	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:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%rax, (%r14)
	jmp	LBB0_10
LBB0_4:
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movq	8(%rax), %r9
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r15
	leaq	-72(%rbp), %r8
	movq	%r9, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_mips_elf64_final_gp
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.6:
	movq	8(%rbx), %rdi
	callq	_bfd_is_com_section
	testq	%rax, %rax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.7:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_8:
	movq	16(%rbx), %r14
LBB0_9:
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	addq	(%rcx), %r14
	addq	(%rax), %r14
	movq	(%r13), %r12
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_bfd_get_section_limit
	cmpq	%rax, %r12
	jle	LBB0_11
LBB0_10:
	movq	_bfd_reloc_outofrange@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_22
LBB0_11:
	movq	8(%r13), %r12
	movq	16(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	(%r13), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfd_get_32
	addq	%rax, %r12
LBB0_13:
	testq	%r15, %r15
	je	LBB0_15
## %bb.14:
	movq	_BSF_SECTION_SYM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_16
LBB0_15:
	addq	%r12, %r14
	subq	-72(%rbp), %r14
	movq	%r14, %r12
LBB0_16:
	movq	16(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movq	(%r13), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_bfd_put_32
	jmp	LBB0_19
LBB0_18:
	movq	%r12, 8(%r13)
LBB0_19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rcx
	testq	%r15, %r15
	je	LBB0_21
## %bb.20:
	movslq	(%rax), %rax
	addq	%rax, (%r13)
LBB0_21:
	movq	(%rcx), %rax
LBB0_22:
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"32bits gp relative relocation occurs for an external symbol"

	.comm	_bfd_reloc_outofrange,8,3       ## @bfd_reloc_outofrange
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_bfd_reloc_ok,8,3               ## @bfd_reloc_ok
	.no_dead_strip	_mips_elf64_gprel32_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_gprel32_reloc
_mips_elf64_gprel32_reloc:              ; @mips_elf64_gprel32_reloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x6
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, 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_7
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, #8]
	ldr	x5, [x8, #8]
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	x24, [x8]
	add	x4, sp, #8
	mov	x0, x5
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	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_23
; %bb.5:
	ldr	x0, [x23, #8]
	bl	_bfd_is_com_section
	cbz	x0, LBB0_9
; %bb.6:
	mov	x27, #0
	b	LBB0_10
LBB0_7:
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.8:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	str	x0, [x25]
	b	LBB0_11
LBB0_9:
	ldr	x27, [x23, #16]
LBB0_10:
	ldr	x8, [x23, #8]
	ldp	x28, x9, [x8]
	ldr	x26, [x9]
	ldr	x25, [x19]
	mov	x0, x22
	mov	x1, x20
	bl	_bfd_get_section_limit
	cmp	x25, x0
	b.le	LBB0_12
LBB0_11:
Lloh15:
	adrp	x8, _bfd_reloc_outofrange@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bfd_reloc_outofrange@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	b	LBB0_23
LBB0_12:
	ldp	x25, x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	x8, [x19]
	add	x1, x21, x8, lsl #2
	mov	x0, x22
	bl	_bfd_get_32
	add	x25, x0, x25
LBB0_14:
	cbz	x24, LBB0_16
; %bb.15:
	ldr	w8, [x23]
Lloh18:
	adrp	x9, _BSF_SECTION_SYM@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BSF_SECTION_SYM@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
LBB0_16:
	add	x8, x26, x27
	add	x8, x8, x28
	ldr	x9, [sp, #8]
	add	x8, x8, x25
	sub	x25, x8, x9
LBB0_17:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	x8, [x19]
	add	x2, x21, x8, lsl #2
	mov	x0, x22
	mov	x1, x25
	bl	_bfd_put_32
	b	LBB0_20
LBB0_19:
	str	x25, [x19, #8]
LBB0_20:
Lloh21:
	adrp	x10, _bfd_reloc_ok@GOTPAGE
Lloh22:
	ldr	x10, [x10, _bfd_reloc_ok@GOTPAGEOFF]
	cbz	x24, LBB0_22
; %bb.21:
	ldrsw	x8, [x20]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
LBB0_22:
	ldr	x0, [x10]
LBB0_23:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	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 AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_BSF_SECTION_SYM,4,2            ; @BSF_SECTION_SYM
	.comm	_BSF_LOCAL,4,2                  ; @BSF_LOCAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"32bits gp relative relocation occurs for an external symbol"

	.comm	_bfd_reloc_outofrange,8,3       ; @bfd_reloc_outofrange
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_bfd_reloc_ok,8,3               ; @bfd_reloc_ok
	.no_dead_strip	_mips_elf64_gprel32_reloc
.subsections_via_symbols
