	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc_elf_section_from_shdr
_ppc_elf_section_from_shdr:             ## @ppc_elf_section_from_shdr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	__bfd_elf_make_section_from_shdr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bfd_get_section_flags
	movq	_SHF_EXCLUDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	(%rbx), %edx
	je	LBB0_4
## %bb.3:
	movq	_SEC_EXCLUDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_4:
	movq	8(%rbx), %rsi
	movq	_SHT_ORDERED@GOTPCREL(%rip), %rdi
	xorl	%ecx, %ecx
	cmpq	(%rdi), %rsi
	jne	LBB0_6
## %bb.5:
	movq	_SEC_SORT_ENTRIES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%ecx, %eax
	orl	%eax, %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bfd_set_section_flags
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SHF_EXCLUDE,4,2                ## @SHF_EXCLUDE
	.comm	_SEC_EXCLUDE,4,2                ## @SEC_EXCLUDE
	.comm	_SHT_ORDERED,8,3                ## @SHT_ORDERED
	.comm	_SEC_SORT_ENTRIES,4,2           ## @SEC_SORT_ENTRIES
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ppc_elf_section_from_shdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc_elf_section_from_shdr
_ppc_elf_section_from_shdr:             ; @ppc_elf_section_from_shdr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	__bfd_elf_make_section_from_shdr
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x21, [x20, #16]
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_get_section_flags
Lloh0:
	adrp	x8, _SHF_EXCLUDE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHF_EXCLUDE@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _SEC_EXCLUDE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SEC_EXCLUDE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w8, w9
	csel	w8, wzr, w10, eq
	orr	w8, w8, w0
	ldr	x9, [x20, #8]
Lloh6:
	adrp	x10, _SHT_ORDERED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SHT_ORDERED@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _SEC_SORT_ENTRIES@GOTPAGE
Lloh10:
	ldr	x11, [x11, _SEC_SORT_ENTRIES@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_set_section_flags
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SHF_EXCLUDE,4,2                ; @SHF_EXCLUDE
	.comm	_SEC_EXCLUDE,4,2                ; @SEC_EXCLUDE
	.comm	_SHT_ORDERED,8,3                ; @SHT_ORDERED
	.comm	_SEC_SORT_ENTRIES,4,2           ; @SEC_SORT_ENTRIES
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ppc_elf_section_from_shdr
.subsections_via_symbols
