	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppc64_elf_toc                  ## -- Begin function ppc64_elf_toc
	.p2align	4, 0x90
_ppc64_elf_toc:                         ## @ppc64_elf_toc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	jne	LBB0_18
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	jne	LBB0_18
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_4
LBB0_18:
	movq	8(%rax), %rcx
	movq	16(%rax), %rax
	addq	(%rax), %rcx
LBB0_19:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	movq	_SEC_ALLOC@GOTPCREL(%rip), %r8
	movq	_SEC_SMALL_DATA@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	orl	(%r8), %ebx
	movq	_SEC_READONLY@GOTPCREL(%rip), %r9
	movl	(%r9), %ecx
	orl	%ebx, %ecx
	movq	%rdx, %rax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	andl	%ecx, %esi
	cmpl	%ebx, %esi
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.9:
	movl	(%rdi), %ecx
	orl	(%r8), %ecx
	movq	%rdx, %rax
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	notl	%esi
	testl	%esi, %ecx
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:
	movl	(%r8), %edi
	movl	(%r9), %ecx
	orl	%edi, %ecx
	movq	%rdx, %rax
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	andl	%ecx, %esi
	cmpl	%edi, %esi
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_13
## %bb.15:
	movl	(%r8), %eax
	xorl	%ecx, %ecx
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	notl	%esi
	testl	%esi, %eax
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	24(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_16
	jmp	LBB0_19
LBB0_5:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_17:
	movq	%rdx, %rax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".got"

L_.str.1:                               ## @.str.1
	.asciz	".toc"

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

L_.str.3:                               ## @.str.3
	.asciz	".plt"

	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.comm	_SEC_SMALL_DATA,4,2             ## @SEC_SMALL_DATA
	.comm	_SEC_READONLY,4,2               ## @SEC_READONLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppc64_elf_toc                  ; -- Begin function ppc64_elf_toc
	.p2align	2
_ppc64_elf_toc:                         ; @ppc64_elf_toc
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bfd_get_section_by_name
	cbnz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	cbnz	x0, LBB0_4
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	cbnz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_6
LBB0_4:
	ldp	x9, x8, [x0, #8]
	ldr	x8, [x8]
	add	x0, x9, x8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x19]
	cbz	x8, LBB0_19
; %bb.7:
Lloh8:
	adrp	x9, _SEC_ALLOC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SEC_ALLOC@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh10:
	adrp	x11, _SEC_SMALL_DATA@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SEC_SMALL_DATA@GOTPAGEOFF]
	ldr	w12, [x11]
	orr	w12, w12, w10
Lloh12:
	adrp	x10, _SEC_READONLY@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SEC_READONLY@GOTPAGEOFF]
	ldr	w13, [x10]
	orr	w13, w12, w13
	mov	x0, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x0]
	and	w14, w13, w14
	cmp	w14, w12
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x0, #24]
	cbnz	x0, LBB0_8
; %bb.10:
	ldr	w12, [x9]
	ldr	w11, [x11]
	orr	w11, w11, w12
	mov	x0, x8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x0]
	bics	wzr, w11, w12
	b.eq	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x0, #24]
	cbnz	x0, LBB0_11
; %bb.13:
	ldr	w11, [x9]
	ldr	w10, [x10]
	orr	w10, w10, w11
	mov	x0, x8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x0]
	and	w12, w10, w12
	cmp	w12, w11
	b.eq	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x0, #24]
	cbnz	x0, LBB0_14
; %bb.16:
	ldr	w9, [x9]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	bics	wzr, w9, w10
	b.eq	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, #0
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_17
	b	LBB0_5
LBB0_19:
	mov	x0, #0
	b	LBB0_5
LBB0_20:
	mov	x0, x8
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".got"

l_.str.1:                               ; @.str.1
	.asciz	".toc"

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

l_.str.3:                               ; @.str.3
	.asciz	".plt"

	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.comm	_SEC_SMALL_DATA,4,2             ; @SEC_SMALL_DATA
	.comm	_SEC_READONLY,4,2               ; @SEC_READONLY
.subsections_via_symbols
