	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc64_elf_gc_mark_hook
_ppc64_elf_gc_mark_hook:                ## @ppc64_elf_gc_mark_hook
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rsi)
	je	LBB0_16
## %bb.1:
	movq	%rbx, %rdi
	callq	_ppc_hash_table
	movq	(%rbx), %r15
	movq	$0, (%rbx)
	testq	%r15, %r15
	je	LBB0_16
## %bb.2:
	movq	%rax, %r12
	movq	_FALSE@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_16
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movl	%ecx, %edx
	movl	%ecx, %r8d
	callq	_elf_link_hash_lookup
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rax
	andq	$-2, %rax
	cmpq	$128, %rax
	jne	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 32(%r14)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r14), %rax
	movq	(%rax), %rcx
	andq	$-2, %rcx
	cmpq	$128, %rcx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rax), %rsi
	movq	%rsi, -48(%rbp)
	cmpl	$0, (%rsi)
	jne	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	_ppc64_elf_gc_mark_hook(%rip), %rdx
	callq	__bfd_elf_gc_mark
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rsi
	movq	%rsi, -48(%rbp)
	cmpl	$0, (%rsi)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	_ppc64_elf_gc_mark_hook(%rip), %rdx
	callq	__bfd_elf_gc_mark
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rdi
	callq	_get_opd_info
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rdi
	movl	16(%r14), %esi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_opd_entry_value
	cmpq	$-1, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rsi
	cmpl	$0, (%rsi)
	jne	LBB0_13
	jmp	LBB0_12
LBB0_16:
	movq	%rbx, %r12
	movq	$0, -48(%rbp)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_get_opd_info
	testq	%rax, %rax
	jne	LBB0_41
## %bb.17:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_36
## %bb.18:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	callq	_ELF64_R_TYPE
	addl	$-131, %eax
	cmpl	$2, %eax
	jb	LBB0_41
## %bb.19:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	16(%r15), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_20
## %bb.22:
	movq	24(%r15), %r14
	testq	%r14, %r14
	je	LBB0_23
## %bb.24:
	cmpq	$0, 32(%r14)
	je	LBB0_23
## %bb.25:
	movq	(%r14), %rax
	andq	$-2, %rax
	cmpq	$128, %rax
	cmovneq	%r15, %r14
	jmp	LBB0_26
LBB0_36:
	movl	4(%rbx), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	callq	_bfd_section_from_elf_index
	movq	%rax, -48(%rbp)
	movq	%rax, %rdi
	callq	_get_opd_info
	testq	%rax, %rax
	je	LBB0_41
## %bb.37:
	movq	%rax, %r14
	movq	-48(%rbp), %rsi
	cmpl	$0, (%rsi)
	jne	LBB0_39
## %bb.38:
	leaq	_ppc64_elf_gc_mark_hook(%rip), %rdx
	movq	%r12, %rdi
	callq	__bfd_elf_gc_mark
LBB0_39:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	leal	(%rcx,%rax), %edx
	addl	$7, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	addl	%eax, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	movslq	%edx, %rax
	movq	(%r14,%rax,8), %rax
	jmp	LBB0_40
LBB0_20:
	cmpl	$130, %eax
	jne	LBB0_41
## %bb.21:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	jmp	LBB0_40
LBB0_23:
	movq	%r15, %r14
LBB0_26:
	movq	%r12, %rdi
	cmpq	$0, 32(%r14)
	je	LBB0_31
## %bb.27:
	movq	24(%r14), %rax
	movq	(%rax), %rcx
	andq	$-2, %rcx
	cmpq	$128, %rcx
	jne	LBB0_31
## %bb.28:
	movq	8(%r14), %rsi
	cmpl	$0, (%rsi)
	jne	LBB0_30
## %bb.29:
	leaq	_ppc64_elf_gc_mark_hook(%rip), %rdx
	callq	__bfd_elf_gc_mark
	movq	24(%r14), %rax
LBB0_30:
	movq	8(%rax), %rax
	jmp	LBB0_40
LBB0_31:
	movq	8(%r14), %rdi
	callq	_get_opd_info
	testq	%rax, %rax
	je	LBB0_35
## %bb.32:
	movq	8(%r14), %rdi
	movl	16(%r14), %esi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_opd_entry_value
	cmpq	$-1, %rax
	je	LBB0_35
## %bb.33:
	movq	8(%r14), %rsi
	cmpl	$0, (%rsi)
	jne	LBB0_41
## %bb.34:
	leaq	_ppc64_elf_gc_mark_hook(%rip), %rdx
	movq	%r12, %rdi
	callq	__bfd_elf_gc_mark
	jmp	LBB0_41
LBB0_35:
	movq	8(%r15), %rax
LBB0_40:
	movq	%rax, -48(%rbp)
LBB0_41:
	movq	-48(%rbp), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_ppc64_elf_gc_mark_hook
.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_hook
_ppc64_elf_gc_mark_hook:                ; @ppc64_elf_gc_mark_hook
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x8, [x1]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x0, x19
	bl	_ppc_hash_table
	ldr	x27, [x19]
	str	xzr, [x19]
	cbz	x27, LBB0_15
; %bb.2:
	mov	x24, x0
Lloh0:
	adrp	x28, _FALSE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _ppc64_elf_gc_mark_hook@PAGE
Lloh3:
	add	x25, x25, _ppc64_elf_gc_mark_hook@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x27, [x27, #8]
	cbz	x27, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	ldr	w2, [x28]
	mov	x0, x24
	mov	x3, x2
	mov	x4, x2
	bl	_elf_link_hash_lookup
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x0
	ldr	x8, [x0]
	and	x8, x8, #0xfffffffffffffffe
	cmp	x8, #128
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #32]
	cbz	x8, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #24]
	ldr	x9, [x8]
	and	x9, x9, #0xfffffffffffffffe
	cmp	x9, #128
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x8, #8]
	str	x1, [sp, #8]
	ldr	w8, [x1]
	cbnz	w8, LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x2, x25
	bl	__bfd_elf_gc_mark
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x26, #8]
	str	x1, [sp, #8]
	ldr	w8, [x1]
	cbnz	w8, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x2, x25
	bl	__bfd_elf_gc_mark
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x26, #8]
	bl	_get_opd_info
	cbz	x0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x26, #8]
	ldr	w1, [x26, #16]
	add	x2, sp, #8
	mov	x3, #0
	bl	_opd_entry_value
	cmn	x0, #1
	b.eq	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [sp, #8]
	ldr	w8, [x1]
	cbnz	w8, LBB0_10
	b	LBB0_9
LBB0_15:
	str	xzr, [sp, #8]
	mov	x0, x23
	bl	_get_opd_info
	cbnz	x0, LBB0_40
; %bb.16:
	cbz	x20, LBB0_22
; %bb.17:
	ldr	w0, [x21, #4]
	bl	_ELF64_R_TYPE
	sub	w8, w0, #131
	cmp	w8, #2
	b.lo	LBB0_40
; %bb.18:
	ldr	w8, [x20, #16]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_26
; %bb.19:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_28
; %bb.20:
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_28
; %bb.21:
	ldr	x9, [x8]
	and	x9, x9, #0xfffffffffffffffe
	cmp	x9, #128
	csel	x21, x8, x20, eq
	b	LBB0_29
LBB0_22:
	ldr	w0, [x23, #4]
	ldr	w1, [x22, #4]
	bl	_bfd_section_from_elf_index
	str	x0, [sp, #8]
	bl	_get_opd_info
	cbz	x0, LBB0_40
; %bb.23:
	mov	x20, x0
	ldr	x1, [sp, #8]
	ldr	w8, [x1]
	cbnz	w8, LBB0_25
; %bb.24:
Lloh4:
	adrp	x2, _ppc64_elf_gc_mark_hook@PAGE
Lloh5:
	add	x2, x2, _ppc64_elf_gc_mark_hook@PAGEOFF
	mov	x0, x19
	bl	__bfd_elf_gc_mark
LBB0_25:
	ldr	w8, [x22]
	ldr	w9, [x21]
	add	w8, w9, w8
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	ldr	x8, [x20, w8, sxtw #3]
	b	LBB0_39
LBB0_26:
	cmp	w8, #130
	b.ne	LBB0_40
; %bb.27:
	ldr	x8, [x20]
	ldr	x8, [x8]
	b	LBB0_39
LBB0_28:
	mov	x21, x20
LBB0_29:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_34
; %bb.30:
	ldr	x8, [x21, #24]
	ldr	x9, [x8]
	and	x9, x9, #0xfffffffffffffffe
	cmp	x9, #128
	b.ne	LBB0_34
; %bb.31:
	ldr	x1, [x21, #8]
	ldr	w9, [x1]
	cbnz	w9, LBB0_33
; %bb.32:
Lloh6:
	adrp	x2, _ppc64_elf_gc_mark_hook@PAGE
Lloh7:
	add	x2, x2, _ppc64_elf_gc_mark_hook@PAGEOFF
	mov	x0, x19
	bl	__bfd_elf_gc_mark
	ldr	x8, [x21, #24]
LBB0_33:
	ldr	x8, [x8, #8]
	b	LBB0_39
LBB0_34:
	ldr	x0, [x21, #8]
	bl	_get_opd_info
	cbz	x0, LBB0_38
; %bb.35:
	ldr	x0, [x21, #8]
	ldr	w1, [x21, #16]
	add	x2, sp, #8
	mov	x3, #0
	bl	_opd_entry_value
	cmn	x0, #1
	b.eq	LBB0_38
; %bb.36:
	ldr	x1, [x21, #8]
	ldr	w8, [x1]
	cbnz	w8, LBB0_40
; %bb.37:
Lloh8:
	adrp	x2, _ppc64_elf_gc_mark_hook@PAGE
Lloh9:
	add	x2, x2, _ppc64_elf_gc_mark_hook@PAGEOFF
	mov	x0, x19
	bl	__bfd_elf_gc_mark
	b	LBB0_40
LBB0_38:
	ldr	x8, [x20, #8]
LBB0_39:
	str	x8, [sp, #8]
LBB0_40:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_ppc64_elf_gc_mark_hook
.subsections_via_symbols
