	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_global_pointer
_mips_global_pointer:                   ## @mips_global_pointer
	.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	_TARGET_ABICALLS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_TARGET_EXPLICIT_RELOCS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	_current_function_profile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.4:
	movq	_current_function_has_nonlocal_goto@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
LBB0_1:
	movq	_GLOBAL_POINTER_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_regs_ever_live@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_GLOBAL_POINTER_REGNUM@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	(%rax,%rcx,4), %eax
	movq	_current_function_uses_const_pool@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_mips_function_has_gp_insn
	testl	%eax, %eax
	je	LBB0_17
LBB0_7:
	movq	_TARGET_NEWABI@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.8:
	movq	_current_function_is_leaf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.9:
	movq	_GP_REG_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_GP_REG_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	jbe	LBB0_10
LBB0_16:
	movl	(%r14), %ebx
	jmp	LBB0_17
LBB0_10:
	movq	(%r15), %rcx
	movq	_call_used_regs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_fixed_regs@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	_PIC_FUNCTION_ADDR_REGNUM@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	ja	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	cmpl	$0, (%rcx,%rdi,4)
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, (%rdx,%rdi,8)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, (%rsi,%rdi,4)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%ebx, %r8d
	je	LBB0_15
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_ABICALLS,4,2            ## @TARGET_ABICALLS
	.comm	_GLOBAL_POINTER_REGNUM,4,2      ## @GLOBAL_POINTER_REGNUM
	.comm	_TARGET_EXPLICIT_RELOCS,4,2     ## @TARGET_EXPLICIT_RELOCS
	.comm	_current_function_profile,8,3   ## @current_function_profile
	.comm	_current_function_has_nonlocal_goto,8,3 ## @current_function_has_nonlocal_goto
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
	.comm	_current_function_uses_const_pool,4,2 ## @current_function_uses_const_pool
	.comm	_TARGET_NEWABI,8,3              ## @TARGET_NEWABI
	.comm	_current_function_is_leaf,8,3   ## @current_function_is_leaf
	.comm	_GP_REG_FIRST,4,2               ## @GP_REG_FIRST
	.comm	_GP_REG_LAST,4,2                ## @GP_REG_LAST
	.comm	_call_used_regs,8,3             ## @call_used_regs
	.comm	_fixed_regs,8,3                 ## @fixed_regs
	.comm	_PIC_FUNCTION_ADDR_REGNUM,4,2   ## @PIC_FUNCTION_ADDR_REGNUM
	.no_dead_strip	_mips_global_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_global_pointer
_mips_global_pointer:                   ; @mips_global_pointer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _TARGET_ABICALLS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TARGET_ABICALLS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _TARGET_EXPLICIT_RELOCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TARGET_EXPLICIT_RELOCS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _current_function_profile@GOTPAGE
Lloh7:
	ldr	x8, [x8, _current_function_profile@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _current_function_has_nonlocal_goto@GOTPAGE
Lloh10:
	ldr	x8, [x8, _current_function_has_nonlocal_goto@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _GLOBAL_POINTER_REGNUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLOBAL_POINTER_REGNUM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh15:
	adrp	x20, _regs_ever_live@GOTPAGE
Lloh16:
	ldr	x20, [x20, _regs_ever_live@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh17:
	adrp	x19, _GLOBAL_POINTER_REGNUM@GOTPAGE
Lloh18:
	ldr	x19, [x19, _GLOBAL_POINTER_REGNUM@GOTPAGEOFF]
	ldr	w9, [x19]
	ldr	w8, [x8, x9, lsl #2]
Lloh19:
	adrp	x9, _current_function_uses_const_pool@GOTPAGE
Lloh20:
	ldr	x9, [x9, _current_function_uses_const_pool@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
	cbnz	w8, LBB0_8
; %bb.7:
	bl	_mips_function_has_gp_insn
	cbz	w0, LBB0_5
LBB0_8:
Lloh22:
	adrp	x8, _TARGET_NEWABI@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TARGET_NEWABI@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.9:
Lloh25:
	adrp	x8, _current_function_is_leaf@GOTPAGE
Lloh26:
	ldr	x8, [x8, _current_function_is_leaf@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh28:
	adrp	x8, _GP_REG_FIRST@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GP_REG_FIRST@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _GP_REG_LAST@GOTPAGE
Lloh32:
	ldr	x8, [x8, _GP_REG_LAST@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ls	LBB0_12
LBB0_11:
	ldr	w0, [x19]
	b	LBB0_5
LBB0_12:
	ldr	x9, [x20]
Lloh34:
	adrp	x10, _call_used_regs@GOTPAGE
Lloh35:
	ldr	x10, [x10, _call_used_regs@GOTPAGEOFF]
Lloh36:
	ldr	x10, [x10]
Lloh37:
	adrp	x11, _fixed_regs@GOTPAGE
Lloh38:
	ldr	x11, [x11, _fixed_regs@GOTPAGEOFF]
Lloh39:
	ldr	x11, [x11]
Lloh40:
	adrp	x12, _PIC_FUNCTION_ADDR_REGNUM@GOTPAGE
Lloh41:
	ldr	x12, [x12, _PIC_FUNCTION_ADDR_REGNUM@GOTPAGEOFF]
Lloh42:
	ldr	w12, [x12]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w0, w0, #1
	cmp	w0, w8
	b.hi	LBB0_11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9, w0, uxtw #2]
	cbnz	w13, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w13, w0
	ldr	x14, [x10, x13, lsl #3]
	cbz	x14, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w13, [x11, x13, lsl #2]
	cmp	w13, #0
	ccmp	w12, w0, #4, eq
	b.eq	LBB0_13
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_ABICALLS,4,2            ; @TARGET_ABICALLS
	.comm	_GLOBAL_POINTER_REGNUM,4,2      ; @GLOBAL_POINTER_REGNUM
	.comm	_TARGET_EXPLICIT_RELOCS,4,2     ; @TARGET_EXPLICIT_RELOCS
	.comm	_current_function_profile,8,3   ; @current_function_profile
	.comm	_current_function_has_nonlocal_goto,8,3 ; @current_function_has_nonlocal_goto
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
	.comm	_current_function_uses_const_pool,4,2 ; @current_function_uses_const_pool
	.comm	_TARGET_NEWABI,8,3              ; @TARGET_NEWABI
	.comm	_current_function_is_leaf,8,3   ; @current_function_is_leaf
	.comm	_GP_REG_FIRST,4,2               ; @GP_REG_FIRST
	.comm	_GP_REG_LAST,4,2                ; @GP_REG_LAST
	.comm	_call_used_regs,8,3             ; @call_used_regs
	.comm	_fixed_regs,8,3                 ; @fixed_regs
	.comm	_PIC_FUNCTION_ADDR_REGNUM,4,2   ; @PIC_FUNCTION_ADDR_REGNUM
	.no_dead_strip	_mips_global_pointer
.subsections_via_symbols
