	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_get_gp_value              ## -- Begin function _bfd_get_gp_value
	.p2align	4, 0x90
__bfd_get_gp_value:                     ## @_bfd_get_gp_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	(%rdi), %rcx
	movq	_bfd_object@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.2:
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	_bfd_target_ecoff_flavour@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	callq	_ecoff_data
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_bfd_target_elf_flavour@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.6:
	popq	%rbp
	jmp	_elf_gp                         ## TAILCALL
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_object,8,3                 ## @bfd_object
	.comm	_bfd_target_ecoff_flavour,8,3   ## @bfd_target_ecoff_flavour
	.comm	_bfd_target_elf_flavour,8,3     ## @bfd_target_elf_flavour
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_get_gp_value              ; -- Begin function _bfd_get_gp_value
	.p2align	2
__bfd_get_gp_value:                     ; @_bfd_get_gp_value
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _bfd_object@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_object@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _bfd_target_ecoff_flavour@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bfd_target_ecoff_flavour@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	bl	_ecoff_data
	ldr	w0, [x0]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x9, _bfd_target_elf_flavour@GOTPAGE
Lloh7:
	ldr	x9, [x9, _bfd_target_elf_flavour@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_elf_gp
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_object,8,3                 ; @bfd_object
	.comm	_bfd_target_ecoff_flavour,8,3   ; @bfd_target_ecoff_flavour
	.comm	_bfd_target_elf_flavour,8,3     ; @bfd_target_elf_flavour
.subsections_via_symbols
