	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc64_elf_toc_reloc
_ppc64_elf_toc_reloc:                   ## @ppc64_elf_toc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r8, %rbx
	movq	%rsi, %r14
	testq	%r9, %r9
	je	LBB0_1
## %bb.4:
	movq	%r14, %rsi
	movq	%rbx, %r8
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bfd_elf_generic_reloc          ## TAILCALL
LBB0_1:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	__bfd_get_gp_value
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_ppc64_elf_toc
LBB0_3:
	movq	_TOC_BASE_OFF@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	subl	%eax, (%r14)
	movq	_bfd_reloc_continue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOC_BASE_OFF,8,3               ## @TOC_BASE_OFF
	.comm	_bfd_reloc_continue,4,2         ## @bfd_reloc_continue
	.no_dead_strip	_ppc64_elf_toc_reloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc64_elf_toc_reloc
_ppc64_elf_toc_reloc:                   ; @ppc64_elf_toc_reloc
	.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	x20, x4
	mov	x19, x1
	cbz	x5, LBB0_2
; %bb.1:
	mov	x1, x19
	mov	x4, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfd_elf_generic_reloc
LBB0_2:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	__bfd_get_gp_value
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_ppc64_elf_toc
LBB0_4:
Lloh0:
	adrp	x8, _TOC_BASE_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOC_BASE_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	add	w8, w8, w0
	sub	w8, w9, w8
	str	w8, [x19]
Lloh3:
	adrp	x8, _bfd_reloc_continue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_reloc_continue@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TOC_BASE_OFF,8,3               ; @TOC_BASE_OFF
	.comm	_bfd_reloc_continue,4,2         ; @bfd_reloc_continue
	.no_dead_strip	_ppc64_elf_toc_reloc
.subsections_via_symbols
