	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loadGP
_loadGP:                                ## @loadGP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	___isMips
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	16(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_r_num_math
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_UT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rsi
	callq	_r_config_set
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_r_core_cmd0
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rsi
	callq	_r_config_set
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_r_reg_getv
LBB0_4:
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_r_config_set_i                 ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loc._gp"

	.comm	_UT64_MAX,8,3                   ## @UT64_MAX
L_.str.1:                               ## @.str.1
	.asciz	"anal.roregs"

L_.str.2:                               ## @.str.2
	.asciz	"zero"

L_.str.3:                               ## @.str.3
	.asciz	"10aes@entry0"

L_.str.4:                               ## @.str.4
	.asciz	"zero,gp"

L_.str.5:                               ## @.str.5
	.asciz	"gp"

L_.str.6:                               ## @.str.6
	.asciz	"anal.gp"

	.no_dead_strip	_loadGP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loadGP
_loadGP:                                ; @loadGP
	.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
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	___isMips
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_r_num_math
	mov	x2, x0
Lloh2:
	adrp	x8, _UT64_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UT64_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x0, x8, #4, ne
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh5:
	adrp	x20, l_.str.1@PAGE
Lloh6:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_r_config_set
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_r_core_cmd0
	ldr	w0, [x19]
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_r_config_set
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_r_reg_getv
	mov	x2, x0
LBB0_3:
	ldr	w0, [x19]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_r_config_set_i
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loc._gp"

	.comm	_UT64_MAX,8,3                   ; @UT64_MAX
l_.str.1:                               ; @.str.1
	.asciz	"anal.roregs"

l_.str.2:                               ; @.str.2
	.asciz	"zero"

l_.str.3:                               ; @.str.3
	.asciz	"10aes@entry0"

l_.str.4:                               ; @.str.4
	.asciz	"zero,gp"

l_.str.5:                               ; @.str.5
	.asciz	"gp"

l_.str.6:                               ; @.str.6
	.asciz	"anal.gp"

	.no_dead_strip	_loadGP
.subsections_via_symbols
