	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc64_elf_gc_mark_dynamic_ref
_ppc64_elf_gc_mark_dynamic_ref:         ## @ppc64_elf_gc_mark_dynamic_ref
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_bfd_link_hash_warning@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	24(%rbx), %rbx
LBB0_2:
	movq	56(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpq	$0, 64(%rax)
	je	LBB0_5
## %bb.4:
	movq	(%rax), %rcx
	movq	_bfd_link_hash_defined@GOTPCREL(%rip), %rdx
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	cmoveq	%rax, %rbx
	cmpq	(%rdx), %rcx
	cmoveq	%rax, %rbx
LBB0_5:
	movq	(%rbx), %rax
	movq	_bfd_link_hash_defined@GOTPCREL(%rip), %r15
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %r14
	cmpq	(%r15), %rax
	je	LBB0_7
## %bb.6:
	cmpq	(%r14), %rax
	jne	LBB0_20
LBB0_7:
	cmpq	$0, 48(%rbx)
	je	LBB0_8
LBB0_12:
	movq	_SEC_KEEP@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movq	16(%rbx), %rdi
	orl	%eax, (%rdi)
	cmpq	$0, 64(%rbx)
	je	LBB0_16
## %bb.13:
	movq	56(%rbx), %rax
	movq	(%rax), %rcx
	cmpq	(%r15), %rcx
	je	LBB0_15
## %bb.14:
	cmpq	(%r14), %rcx
	je	LBB0_15
LBB0_16:
	callq	_get_opd_info
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	16(%rbx), %rdi
	movl	8(%rbx), %esi
	leaq	-40(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_opd_entry_value
	cmpq	$-1, %rax
	je	LBB0_20
## %bb.18:
	movq	-40(%rbp), %rax
	jmp	LBB0_19
LBB0_8:
	cmpl	$0, (%rsi)
	jne	LBB0_20
## %bb.9:
	cmpq	$0, 40(%rbx)
	je	LBB0_20
## %bb.10:
	movl	32(%rbx), %edi
	callq	_ELF_ST_VISIBILITY
	movq	_STV_INTERNAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_20
## %bb.11:
	movl	32(%rbx), %edi
	callq	_ELF_ST_VISIBILITY
	movq	_STV_HIDDEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
	jmp	LBB0_20
LBB0_15:
	movq	16(%rax), %rax
LBB0_19:
	movl	(%r12), %ecx
	orl	%ecx, (%rax)
LBB0_20:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_link_hash_warning,8,3      ## @bfd_link_hash_warning
	.comm	_bfd_link_hash_defined,8,3      ## @bfd_link_hash_defined
	.comm	_bfd_link_hash_defweak,8,3      ## @bfd_link_hash_defweak
	.comm	_STV_INTERNAL,8,3               ## @STV_INTERNAL
	.comm	_STV_HIDDEN,8,3                 ## @STV_HIDDEN
	.comm	_SEC_KEEP,4,2                   ## @SEC_KEEP
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ppc64_elf_gc_mark_dynamic_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc64_elf_gc_mark_dynamic_ref
_ppc64_elf_gc_mark_dynamic_ref:         ; @ppc64_elf_gc_mark_dynamic_ref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _bfd_link_hash_warning@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_link_hash_warning@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x19, [x19, #24]
LBB0_2:
	ldr	x8, [x19, #56]
Lloh3:
	adrp	x21, _bfd_link_hash_defined@GOTPAGE
Lloh4:
	ldr	x21, [x21, _bfd_link_hash_defined@GOTPAGEOFF]
Lloh5:
	adrp	x20, _bfd_link_hash_defweak@GOTPAGE
Lloh6:
	ldr	x20, [x20, _bfd_link_hash_defweak@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x9, [x8, #64]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	x9, [x8]
	ldr	x10, [x21]
	ldr	x11, [x20]
	cmp	x9, x11
	ccmp	x9, x10, #4, ne
	csel	x19, x8, x19, eq
LBB0_5:
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	x10, [x20]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_19
; %bb.6:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_13
LBB0_7:
Lloh7:
	adrp	x22, _SEC_KEEP@GOTPAGE
Lloh8:
	ldr	x22, [x22, _SEC_KEEP@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	x0, [x19, #16]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	x8, [x19, #56]
	ldr	x9, [x8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.eq	LBB0_17
; %bb.9:
	ldr	x10, [x20]
	cmp	x9, x10
	b.eq	LBB0_17
LBB0_10:
	bl	_get_opd_info
	cbz	x0, LBB0_19
; %bb.11:
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #8]
	add	x2, sp, #8
	mov	x3, #0
	bl	_opd_entry_value
	cmn	x0, #1
	b.eq	LBB0_19
; %bb.12:
	ldr	x8, [sp, #8]
	b	LBB0_18
LBB0_13:
	ldr	w8, [x1]
	cbnz	w8, LBB0_19
; %bb.14:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_19
; %bb.15:
	ldr	w0, [x19, #32]
	bl	_ELF_ST_VISIBILITY
Lloh9:
	adrp	x8, _STV_INTERNAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STV_INTERNAL@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_19
; %bb.16:
	ldr	w0, [x19, #32]
	bl	_ELF_ST_VISIBILITY
Lloh12:
	adrp	x8, _STV_HIDDEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STV_HIDDEN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
	b	LBB0_19
LBB0_17:
	ldr	x8, [x8, #16]
LBB0_18:
	ldr	w9, [x22]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
LBB0_19:
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_link_hash_warning,8,3      ; @bfd_link_hash_warning
	.comm	_bfd_link_hash_defined,8,3      ; @bfd_link_hash_defined
	.comm	_bfd_link_hash_defweak,8,3      ; @bfd_link_hash_defweak
	.comm	_STV_INTERNAL,8,3               ; @STV_INTERNAL
	.comm	_STV_HIDDEN,8,3                 ; @STV_HIDDEN
	.comm	_SEC_KEEP,4,2                   ; @SEC_KEEP
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ppc64_elf_gc_mark_dynamic_ref
.subsections_via_symbols
