	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc_size_one_stub
_ppc_size_one_stub:                     ## @ppc_size_one_stub
	.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_hash_table
	movq	%rax, %r14
	movq	(%r15), %rcx
	movq	_ppc_stub_plt_call@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_8
## %bb.1:
	movq	56(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	8(%r15), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rax)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	xorl	%eax, %eax
	callq	_abort
LBB0_8:
	movq	24(%r15), %rsi
	movq	48(%r15), %r8
	movl	(%r8), %ebx
	movq	16(%r8), %rdi
	movl	(%rsi), %edx
	movq	16(%rsi), %rax
	addl	16(%r15), %ebx
	addl	(%rdi), %ebx
	addl	4(%rsi), %edx
	addl	(%rax), %edx
	movq	_ppc_stub_plt_branch@GOTPCREL(%rip), %rax
	movq	%rcx, %rsi
	subq	(%rax), %rsi
	jl	LBB0_10
## %bb.9:
	movq	_ppc_stub_long_branch@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%rsi, (%r15)
	movq	%rsi, %rcx
LBB0_10:
	subl	%edx, %ebx
	movq	_ppc_stub_long_branch_r2off@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_11
## %bb.12:
	movq	8(%r14), %rax
	movq	8(%r8), %rcx
	movl	(%rax,%rcx,4), %r13d
	movq	32(%r15), %rcx
	movq	(%rcx), %rcx
	subl	(%rax,%rcx,4), %r13d
	movl	%r13d, %edi
	callq	_PPC_HA
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	setne	%cl
	sete	%dl
	leal	12(,%rcx,4), %ecx
	leal	(%rbx,%rdx,4), %ebx
	addl	$-12, %ebx
	cmpl	$33554432, %ebx                 ## imm = 0x2000000
	jge	LBB0_14
LBB0_23:
	cmpq	$0, (%r12)
	je	LBB0_27
## %bb.24:
	movq	24(%r15), %rax
	incl	8(%rax)
	movq	_SEC_RELOC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, 12(%rax)
	jmp	LBB0_27
LBB0_6:
	movl	8(%rax), %ebx
	andl	$-2, %ebx
	cmpl	$-2, %ebx
	jge	LBB0_5
## %bb.7:
	movq	40(%r14), %rax
	movq	8(%rax), %rcx
	movl	4(%rcx), %edi
	addl	(%rax), %ebx
	addl	(%rcx), %ebx
	callq	_elf_gp
	movq	8(%r14), %rcx
	movq	32(%r15), %rdx
	movq	(%rdx), %rdx
	addl	(%rcx,%rdx,4), %eax
	subl	%eax, %ebx
	movq	_PLT_CALL_STUB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_PPC_HA
	leal	-4(%r14), %r12d
	testq	%rax, %rax
	cmovnel	%r14d, %r12d
	leal	16(%rbx), %edi
	callq	_PPC_HA
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_PPC_HA
	leal	4(%r12), %ecx
	cmpq	%rax, %r14
	cmovel	%r12d, %ecx
LBB0_27:
	movq	24(%r15), %rax
	addl	%ecx, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rbx
LBB0_28:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%r13d, %r13d
	movl	$4, %ecx
	cmpl	$33554432, %ebx                 ## imm = 0x2000000
	jl	LBB0_23
LBB0_14:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	addq	$36, %rdi
	movq	40(%r15), %rsi
	addq	$9, %rsi
	movq	_TRUE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	callq	_ppc_branch_hash_lookup
	testq	%rax, %rax
	je	LBB0_25
## %bb.15:
	movq	(%r14), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_17
## %bb.16:
	movl	8(%rax), %r13d
	movq	16(%r14), %rcx
	jmp	LBB0_21
LBB0_25:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	40(%r15), %rsi
	movl	%eax, %edi
	callq	__bfd_error_handler
	movl	(%r13), %eax
	movl	%eax, 32(%r14)
	jmp	LBB0_28
LBB0_17:
	movq	%rcx, (%rax)
	movq	16(%r14), %rcx
	movl	(%rcx), %r13d
	movl	%r13d, 8(%rax)
	leal	8(%r13), %eax
	movl	%eax, (%rcx)
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	addl	$4, (%rax)
	jmp	LBB0_21
LBB0_19:
	cmpq	$0, (%r12)
	je	LBB0_21
## %bb.20:
	incl	4(%rcx)
	movq	_SEC_RELOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rcx)
LBB0_21:
	movq	_ppc_stub_plt_branch@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ppc_stub_long_branch@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rax
	addq	%rax, (%r15)
	movq	16(%rcx), %rax
	movl	4(%rax), %edi
	addl	8(%rcx), %r13d
	addl	(%rax), %r13d
	callq	_elf_gp
	movq	8(%r14), %rcx
	movq	32(%r15), %rdx
	movq	(%rdx), %rdx
	addl	(%rcx,%rdx,4), %eax
	movq	(%r15), %r14
	subl	%eax, %r13d
	movq	_ppc_stub_plt_branch_r2off@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r13d, %edi
	callq	_PPC_HA
	cmpq	%rbx, %r14
	jne	LBB0_22
## %bb.26:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	shll	$2, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_PPC_HA
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	leal	(%rbx,%rcx,4), %ecx
	addl	$20, %ecx
	jmp	LBB0_27
LBB0_22:
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	leal	12(,%rcx,4), %ecx
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_ppc_stub_plt_call,8,3          ## @ppc_stub_plt_call
	.comm	_PLT_CALL_STUB_SIZE,4,2         ## @PLT_CALL_STUB_SIZE
	.comm	_ppc_stub_plt_branch,8,3        ## @ppc_stub_plt_branch
	.comm	_ppc_stub_long_branch,8,3       ## @ppc_stub_long_branch
	.comm	_ppc_stub_long_branch_r2off,8,3 ## @ppc_stub_long_branch_r2off
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't build branch stub `%s'"

	.comm	_SEC_RELOC,4,2                  ## @SEC_RELOC
	.comm	_ppc_stub_plt_branch_r2off,8,3  ## @ppc_stub_plt_branch_r2off
	.no_dead_strip	_ppc_size_one_stub
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc_size_one_stub
_ppc_size_one_stub:                     ; @ppc_size_one_stub
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ppc_hash_table
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ppc_stub_plt_call@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ppc_stub_plt_call@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x19, #56]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x9, [x19, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_3
LBB0_5:
	bl	_abort
LBB0_6:
	ldr	w10, [x19, #16]
	ldr	x9, [x19, #48]
	ldr	w11, [x9]
	ldr	x12, [x9, #16]
	ldr	w12, [x12]
	ldr	x13, [x19, #24]
	ldp	w14, w15, [x13]
	ldr	x13, [x13, #16]
	ldr	w13, [x13]
	add	w10, w11, w10
	add	w10, w10, w12
	add	w11, w14, w15
	add	w11, w11, w13
Lloh3:
	adrp	x23, _ppc_stub_plt_branch@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ppc_stub_plt_branch@GOTPAGEOFF]
	ldr	x12, [x23]
	subs	x12, x8, x12
	b.lt	LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _ppc_stub_long_branch@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ppc_stub_long_branch@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x8, x12, x8
	str	x8, [x19]
LBB0_8:
	sub	w24, w10, w11
Lloh8:
	adrp	x10, _ppc_stub_long_branch_r2off@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ppc_stub_long_branch_r2off@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x20, #8]
	ldr	x9, [x9, #8]
	ldr	w9, [x8, x9, lsl #2]
	ldr	x10, [x19, #32]
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	sub	w21, w9, w8
	mov	x0, x21
	bl	_PPC_HA
	cmp	x0, #0
	mov	w8, #-16
	mov	w9, #-12
	csel	w9, w9, w8, eq
	mov	w8, #16
	mov	w10, #12
	csel	w8, w10, w8, eq
	add	w9, w24, w9
	add	w24, w9, #4
	b	LBB0_13
LBB0_10:
	ldr	w8, [x8, #8]
	and	w21, w8, #0xfffffffe
	cmn	w21, #2
	b.ge	LBB0_5
; %bb.11:
	ldr	x8, [x20, #40]
	ldr	w22, [x8]
	ldr	x8, [x8, #8]
	ldp	w23, w0, [x8]
	bl	_elf_gp
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #32]
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	add	w9, w22, w21
	add	w9, w9, w23
	add	w8, w0, w8
	sub	w20, w9, w8
Lloh11:
	adrp	x8, _PLT_CALL_STUB_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLT_CALL_STUB_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_PPC_HA
	sub	w8, w21, #4
	cmp	x0, #0
	csel	w22, w8, w21, eq
	add	w0, w20, #16
	bl	_PPC_HA
	mov	x21, x0
	mov	x0, x20
	bl	_PPC_HA
	add	w8, w22, #4
	cmp	x21, x0
	csel	w8, w22, w8, eq
	b	LBB0_27
LBB0_12:
	mov	w21, #0
	mov	w8, #4
LBB0_13:
	mov	w9, #33554432
	cmp	w24, w9
	b.lt	LBB0_17
; %bb.14:
	add	x0, x20, #36
	ldr	x8, [x19, #40]
	add	x1, x8, #9
Lloh14:
	adrp	x24, _TRUE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	bl	_ppc_branch_hash_lookup
	cbz	x0, LBB0_19
; %bb.15:
	ldr	x9, [x0]
	ldr	x8, [x20]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.16:
	ldr	w24, [x0, #8]
	ldr	x8, [x20, #16]
	b	LBB0_24
LBB0_17:
	ldr	x9, [x22]
	cbz	x9, LBB0_27
; %bb.18:
	ldr	x9, [x19, #24]
	ldp	w10, w11, [x9, #8]
	add	w10, w10, #1
Lloh19:
	adrp	x12, _SEC_RELOC@GOTPAGE
Lloh20:
	ldr	x12, [x12, _SEC_RELOC@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
	orr	w11, w11, w12
	stp	w10, w11, [x9, #8]
	b	LBB0_27
LBB0_19:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x1, [x19, #40]
	bl	__bfd_error_handler
	ldr	w8, [x24]
	str	w8, [x20, #32]
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_28
LBB0_20:
	str	x8, [x0]
	ldp	x8, x9, [x20, #16]
	ldr	w24, [x8]
	str	w24, [x0, #8]
	add	w10, w24, #8
	str	w10, [x8]
	cbz	x9, LBB0_22
; %bb.21:
	ldr	w10, [x9]
	add	w10, w10, #4
	str	w10, [x9]
	b	LBB0_24
LBB0_22:
	ldr	x9, [x22]
	cbz	x9, LBB0_24
; %bb.23:
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
Lloh26:
	adrp	x9, _SEC_RELOC@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SEC_RELOC@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	ldr	w10, [x8, #24]
	orr	w9, w10, w9
	str	w9, [x8, #24]
LBB0_24:
	ldr	x9, [x23]
Lloh29:
	adrp	x10, _ppc_stub_long_branch@GOTPAGE
Lloh30:
	ldr	x10, [x10, _ppc_stub_long_branch@GOTPAGEOFF]
Lloh31:
	ldr	x10, [x10]
	ldr	x11, [x19]
	sub	x9, x9, x10
	add	x9, x9, x11
	str	x9, [x19]
	ldr	w22, [x8, #8]
	ldr	x8, [x8, #16]
	ldp	w23, w0, [x8]
	bl	_elf_gp
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #32]
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	add	w9, w22, w24
	add	w9, w9, w23
	add	w8, w0, w8
	sub	w0, w9, w8
	ldr	x20, [x19]
Lloh32:
	adrp	x8, _ppc_stub_plt_branch_r2off@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ppc_stub_plt_branch_r2off@GOTPAGEOFF]
Lloh34:
	ldr	x22, [x8]
	bl	_PPC_HA
	cmp	x20, x22
	b.ne	LBB0_26
; %bb.25:
	cmp	x0, #0
	mov	w8, #24
	mov	w9, #20
	csel	w20, w9, w8, eq
	mov	x0, x21
	bl	_PPC_HA
	add	w8, w20, #4
	cmp	x0, #0
	csel	w8, w20, w8, eq
	b	LBB0_27
LBB0_26:
	cmp	x0, #0
	mov	w8, #16
	mov	w9, #12
	csel	w8, w9, w8, eq
LBB0_27:
	ldr	x9, [x19, #24]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
Lloh35:
	adrp	x8, _TRUE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_28:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_ppc_stub_plt_call,8,3          ; @ppc_stub_plt_call
	.comm	_PLT_CALL_STUB_SIZE,4,2         ; @PLT_CALL_STUB_SIZE
	.comm	_ppc_stub_plt_branch,8,3        ; @ppc_stub_plt_branch
	.comm	_ppc_stub_long_branch,8,3       ; @ppc_stub_long_branch
	.comm	_ppc_stub_long_branch_r2off,8,3 ; @ppc_stub_long_branch_r2off
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't build branch stub `%s'"

	.comm	_SEC_RELOC,4,2                  ; @SEC_RELOC
	.comm	_ppc_stub_plt_branch_r2off,8,3  ; @ppc_stub_plt_branch_r2off
	.no_dead_strip	_ppc_size_one_stub
.subsections_via_symbols
