	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc_elf_create_dynamic_sections
_ppc_elf_create_dynamic_sections:       ## @ppc_elf_create_dynamic_sections
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_ppc_elf_hash_table
	movq	%rax, %r14
	cmpq	$0, 80(%rax)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ppc_elf_create_got
	testl	%eax, %eax
	je	LBB0_16
LBB0_2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	__bfd_elf_create_dynamic_sections
	testl	%eax, %eax
	je	LBB0_16
## %bb.3:
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rcx
	movq	_SEC_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	(%rcx), %ebx
	movq	_SEC_READONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEC_IN_MEMORY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SEC_LINKER_CREATED@GOTPCREL(%rip), %r13
	orl	(%r13), %ebx
	movq	_SEC_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ebx, %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_make_section_anyway_with_flags
	movq	%rax, 72(%r14)
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_bfd_set_section_alignment
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, 64(%r14)
	movl	(%r13), %edx
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_make_section_with_flags
	movq	%rax, 56(%r14)
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:
	cmpl	$0, (%r12)
	je	LBB0_7
LBB0_9:
	cmpq	$0, 32(%r14)
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdx
	addq	$24, %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_elf_vxworks_create_dynamic_sections
	testl	%eax, %eax
	je	LBB0_16
LBB0_11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, 16(%r14)
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	_SEC_CODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	orl	(%r13), %edx
	movq	(%r14), %rcx
	movq	_PLT_VXWORKS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_14
## %bb.13:
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SEC_LOAD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SEC_READONLY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
LBB0_14:
	movq	%r15, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfd_set_section_flags          ## TAILCALL
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, 48(%r14)
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_bfd_make_section_with_flags
	movq	%rax, 40(%r14)
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_bfd_set_section_alignment
	testl	%eax, %eax
	jne	LBB0_9
LBB0_16:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ## @SEC_LOAD
	.comm	_SEC_READONLY,4,2               ## @SEC_READONLY
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".glink"

	.comm	_SEC_CODE,4,2                   ## @SEC_CODE
L_.str.1:                               ## @.str.1
	.asciz	".dynbss"

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

L_.str.3:                               ## @.str.3
	.asciz	".rela.bss"

L_.str.4:                               ## @.str.4
	.asciz	".rela.sbss"

L_.str.5:                               ## @.str.5
	.asciz	".rela.plt"

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

	.comm	_PLT_VXWORKS,8,3                ## @PLT_VXWORKS
	.no_dead_strip	_ppc_elf_create_dynamic_sections
.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_dynamic_sections
_ppc_elf_create_dynamic_sections:       ; @ppc_elf_create_dynamic_sections
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ppc_elf_hash_table
	mov	x20, x0
	ldr	x8, [x0, #80]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_ppc_elf_create_got
	cbz	w0, LBB0_15
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	__bfd_elf_create_dynamic_sections
	cbz	w0, LBB0_15
; %bb.3:
Lloh0:
	adrp	x26, _SEC_ALLOC@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SEC_ALLOC@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh2:
	adrp	x23, _SEC_LOAD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SEC_LOAD@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh4:
	adrp	x24, _SEC_READONLY@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SEC_READONLY@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w8, w9
Lloh6:
	adrp	x25, _SEC_HAS_CONTENTS@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SEC_HAS_CONTENTS@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w8, w9
Lloh8:
	adrp	x9, _SEC_IN_MEMORY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SEC_IN_MEMORY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x27, _SEC_LINKER_CREATED@GOTPAGE
Lloh12:
	ldr	x27, [x27, _SEC_LINKER_CREATED@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w22, w8, w9
Lloh13:
	adrp	x28, _SEC_CODE@GOTPAGE
Lloh14:
	ldr	x28, [x28, _SEC_CODE@GOTPAGEOFF]
	ldr	w8, [x28]
	orr	w2, w22, w8
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_bfd_make_section_anyway_with_flags
	str	x0, [x20, #72]
	cbz	x0, LBB0_15
; %bb.4:
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	bl	_bfd_set_section_alignment
	cbz	w0, LBB0_15
; %bb.5:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	str	x0, [x20, #64]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w2, w9, w8
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_bfd_make_section_with_flags
	str	x0, [x20, #56]
	cbz	x0, LBB0_15
; %bb.6:
	ldr	w8, [x21]
	cbz	w8, LBB0_13
LBB0_7:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_9
; %bb.8:
	add	x2, x20, #24
	mov	x0, x19
	mov	x1, x21
	bl	_elf_vxworks_create_dynamic_sections
	cbz	w0, LBB0_15
LBB0_9:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	str	x0, [x20, #16]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	str	x0, [x20, #8]
	cbz	x0, LBB0_16
; %bb.10:
	mov	x1, x0
	ldr	w8, [x26]
	ldr	w9, [x28]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w2, w8, w9
	ldr	x8, [x20]
Lloh25:
	adrp	x9, _PLT_VXWORKS@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PLT_VXWORKS@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	w8, [x25]
	ldr	w9, [x23]
	ldr	w10, [x24]
	orr	w8, w8, w2
	orr	w8, w8, w9
	orr	w2, w8, w10
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_bfd_set_section_flags
LBB0_13:
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	str	x0, [x20, #48]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_bfd_make_section_with_flags
	str	x0, [x20, #40]
	cbz	x0, LBB0_15
; %bb.14:
	mov	x1, x0
	mov	x0, x19
	mov	w2, #2
	bl	_bfd_set_section_alignment
	cbnz	w0, LBB0_7
LBB0_15:
Lloh32:
	adrp	x8, _FALSE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	_abort
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ; @SEC_LOAD
	.comm	_SEC_READONLY,4,2               ; @SEC_READONLY
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".glink"

	.comm	_SEC_CODE,4,2                   ; @SEC_CODE
l_.str.1:                               ; @.str.1
	.asciz	".dynbss"

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

l_.str.3:                               ; @.str.3
	.asciz	".rela.bss"

l_.str.4:                               ; @.str.4
	.asciz	".rela.sbss"

l_.str.5:                               ; @.str.5
	.asciz	".rela.plt"

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

	.comm	_PLT_VXWORKS,8,3                ; @PLT_VXWORKS
	.no_dead_strip	_ppc_elf_create_dynamic_sections
.subsections_via_symbols
