	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc_elf_create_got
_ppc_elf_create_got:                    ## @ppc_elf_create_got
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	__bfd_elf_create_got_section
	movq	_FALSE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	%rbx, %rdi
	callq	_ppc_elf_hash_table
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	jne	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_abort
LBB0_5:
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rcx
	movq	_SEC_LOAD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_SEC_CODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SEC_IN_MEMORY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SEC_LINKER_CREATED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bfd_set_section_flags
	testl	%eax, %eax
	je	LBB0_10
LBB0_6:
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rax
	movq	_SEC_LOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SEC_IN_MEMORY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SEC_LINKER_CREATED@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SEC_READONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_make_section_with_flags
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$2, %edx
	callq	_bfd_set_section_alignment
	testl	%eax, %eax
	jne	LBB0_8
## %bb.9:
	movq	_FALSE@GOTPCREL(%rip), %r12
	jmp	LBB0_10
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %r12
LBB0_10:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".got"

L_.str.1:                               ## @.str.1
	.asciz	".got.plt"

	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ## @SEC_LOAD
	.comm	_SEC_CODE,4,2                   ## @SEC_CODE
	.comm	_SEC_HAS_CONTENTS,4,2           ## @SEC_HAS_CONTENTS
	.comm	_SEC_IN_MEMORY,4,2              ## @SEC_IN_MEMORY
	.comm	_SEC_LINKER_CREATED,4,2         ## @SEC_LINKER_CREATED
	.comm	_SEC_READONLY,4,2               ## @SEC_READONLY
L_.str.2:                               ## @.str.2
	.asciz	".rela.got"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ppc_elf_create_got
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc_elf_create_got
_ppc_elf_create_got:                    ; @ppc_elf_create_got
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	bl	__bfd_elf_create_got_section
	cbz	w0, LBB0_8
; %bb.1:
	mov	x0, x20
	bl	_ppc_elf_hash_table
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	str	x0, [x20, #24]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x20, #16]
Lloh2:
	adrp	x24, _SEC_ALLOC@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SEC_ALLOC@GOTPAGEOFF]
Lloh4:
	adrp	x25, _SEC_LOAD@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SEC_LOAD@GOTPAGEOFF]
Lloh6:
	adrp	x23, _SEC_HAS_CONTENTS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SEC_HAS_CONTENTS@GOTPAGEOFF]
Lloh8:
	adrp	x22, _SEC_IN_MEMORY@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SEC_IN_MEMORY@GOTPAGEOFF]
Lloh10:
	adrp	x21, _SEC_LINKER_CREATED@GOTPAGE
Lloh11:
	ldr	x21, [x21, _SEC_LINKER_CREATED@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.3:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	str	x0, [x20, #8]
	cbnz	x0, LBB0_6
LBB0_4:
	bl	_abort
LBB0_5:
	mov	x1, x0
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _SEC_CODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SEC_CODE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_bfd_set_section_flags
	cbz	w0, LBB0_8
LBB0_6:
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _SEC_READONLY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SEC_READONLY@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_bfd_make_section_with_flags
	str	w0, [x20]
Lloh22:
	adrp	x20, _FALSE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	cbz	w0, LBB0_9
; %bb.7:
	mov	x1, x0
	mov	x0, x19
	mov	w2, #2
	bl	_bfd_set_section_alignment
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x20, x20, x8, eq
	b	LBB0_9
LBB0_8:
Lloh26:
	adrp	x20, _FALSE@GOTPAGE
Lloh27:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".got"

l_.str.1:                               ; @.str.1
	.asciz	".got.plt"

	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ; @SEC_LOAD
	.comm	_SEC_CODE,4,2                   ; @SEC_CODE
	.comm	_SEC_HAS_CONTENTS,4,2           ; @SEC_HAS_CONTENTS
	.comm	_SEC_IN_MEMORY,4,2              ; @SEC_IN_MEMORY
	.comm	_SEC_LINKER_CREATED,4,2         ; @SEC_LINKER_CREATED
	.comm	_SEC_READONLY,4,2               ; @SEC_READONLY
l_.str.2:                               ; @.str.2
	.asciz	".rela.got"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ppc_elf_create_got
.subsections_via_symbols
