	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ppc64_elf_build_stubs
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ppc64_elf_build_stubs
	.p2align	4, 0x90
_ppc64_elf_build_stubs:                 ## @ppc64_elf_build_stubs
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_ppc_hash_table
	movq	%rax, %r12
	movq	%rbx, 72(%rax)
	movq	24(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movq	_SEC_LINKER_CREATED@GOTPCREL(%rip), %r15
	movq	_FALSE@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
	movq	$0, 8(%rbx)
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	testl	%eax, (%rbx)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rdi
	callq	_bfd_zalloc
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_46
LBB0_7:
	movq	16(%r12), %rcx
	testq	%rcx, %rcx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_24
## %bb.8:
	cmpl	$0, (%rcx)
	je	LBB0_24
## %bb.9:
	cmpq	$0, 72(%r12)
	je	LBB0_14
## %bb.10:
	leaq	64(%r12), %rdi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_FALSE@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %r8
	callq	_elf_link_hash_lookup
	testq	%rax, %rax
	je	LBB0_46
## %bb.11:
	movq	24(%rax), %rcx
	movq	_bfd_link_hash_new@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.12:
	movq	_bfd_link_hash_defined@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	16(%r12), %rcx
	movq	%rcx, 40(%rax)
	movl	$8, 32(%rax)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	jmp	LBB0_14
LBB0_13:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	16(%r12), %rcx
LBB0_14:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	56(%r12), %rax
	movq	8(%rax), %rdx
	movq	(%rdx), %rsi
	movq	32(%rcx), %rdx
	movq	(%rdx), %rdx
	addq	(%rax), %rsi
	addq	24(%rcx), %rdx
	movq	8(%rcx), %r13
	subq	%rdx, %rsi
	addq	$-16, %rsi
	movl	16(%rcx), %edi
	movq	%r13, %rdx
	callq	_bfd_put_64
	leaq	32(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_MFLR_R12@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	48(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_BCL_20_31@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	64(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_MFLR_R11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	80(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_LD_R2_M16R11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	96(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_MTLR_R12@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	112(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_ADD_R12_R2_R11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	128(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_LD_R11_0R12@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_bfd_put_32
	leaq	144(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_LD_R2_0R12@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	$8, %esi
	callq	_bfd_put_32
	leaq	160(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_MTCTR_R11@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	176(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movl	(%rbx), %esi
	orl	$16, %esi
	callq	_bfd_put_32
	leaq	192(%r13), %rdx
	movq	16(%r12), %rax
	movl	16(%rax), %edi
	movq	_BCTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_put_32
	leaq	208(%r13), %rbx
	movq	16(%r12), %rax
	movq	8(%rax), %rcx
	movq	%rbx, %rdx
	subq	%rcx, %rdx
	sarq	$2, %rdx
	movq	_GLINK_CALL_STUB_SIZE@GOTPCREL(%rip), %r14
	movslq	(%r14), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_17
## %bb.15:
	addq	$224, %r13
	movq	_NOP@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%rax), %edi
	movl	(%r15), %esi
	movq	%rbx, %rdx
	callq	_bfd_put_32
	addq	$16, %rbx
	movq	16(%r12), %rax
	movq	8(%rax), %rcx
	movq	%r13, %rdx
	subq	%rcx, %rdx
	sarq	$2, %rdx
	movslq	(%r14), %rsi
	addq	$16, %r13
	cmpq	%rsi, %rdx
	jl	LBB0_16
LBB0_17:
	movslq	(%rax), %rdx
	leaq	(%rcx,%rdx,4), %rdx
	cmpq	%rdx, %rbx
	jae	LBB0_23
## %bb.18:
	xorl	%r13d, %r13d
	movq	_B_DOT@GOTPCREL(%rip), %r15
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_LIS_R0_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, %edi
	callq	_PPC_HI
	orl	%eax, %r15d
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_bfd_put_32
	leaq	16(%rbx), %r14
	movq	16(%r12), %rax
	movl	16(%rax), %r15d
	movq	_ORI_R0_R0_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r13d, %edi
	callq	_PPC_LO
	orl	%eax, %r12d
	movl	%r15d, %edi
	movq	_B_DOT@GOTPCREL(%rip), %r15
	movl	%r12d, %esi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_bfd_put_32
	movl	$8, %r14d
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	leaq	(%rbx,%r14,4), %rdx
	movq	16(%r12), %rax
	movl	8(%rax), %esi
	movl	16(%rax), %edi
	subl	%edx, %esi
	shrl	$2, %esi
	addl	$8, %esi
	andl	$67108860, %esi                 ## imm = 0x3FFFFFC
	orl	(%r15), %esi
	callq	_bfd_put_32
	incl	%r13d
	leaq	(%rbx,%r14,4), %rbx
	addq	$16, %rbx
	movq	16(%r12), %rax
	movq	8(%rax), %rcx
	movslq	(%rax), %rdx
	leaq	(%rcx,%rdx,4), %rdx
	cmpq	%rdx, %rbx
	jae	LBB0_23
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%rax), %r14d
	cmpl	$32767, %r13d                   ## imm = 0x7FFF
	ja	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_LI_R0_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r13d, %esi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_bfd_put_32
	movl	$4, %r14d
	jmp	LBB0_20
LBB0_23:
	subq	%rcx, %rbx
	shrq	$2, %rbx
	movl	%ebx, 4(%rax)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_24:
	movq	48(%r12), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.25:
	movq	16(%rax), %rdi
	callq	_bfd_zalloc
	movq	48(%r12), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_45
LBB0_26:
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_29
## %bb.28:
	movq	24(%rax), %rdi
	callq	_bfd_zalloc
	movq	32(%r12), %rcx
	movq	%rax, 16(%rcx)
	testq	%rax, %rax
	je	LBB0_45
LBB0_29:
	movq	%r12, %rdi
	addq	$40, %rdi
	movq	_ppc_build_one_stub@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_bfd_hash_traverse
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	$0, 8(%rax)
LBB0_31:
	movq	24(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.32:
	movq	_SEC_LINKER_CREATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_37
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	testl	%ecx, (%rax)
	jne	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	incl	%ebx
	movq	16(%rax), %rdx
	cmpq	8(%rax), %rdx
	je	LBB0_33
	jmp	LBB0_38
LBB0_45:
	movq	_FALSE@GOTPCREL(%rip), %r14
	jmp	LBB0_46
LBB0_36:
	xorl	%ebx, %ebx
LBB0_37:
	movq	16(%r12), %rax
	movl	4(%rax), %ecx
	cmpl	(%rax), %ecx
	je	LBB0_39
LBB0_38:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	callq	__bfd_error_handler
LBB0_39:
	movq	_FALSE@GOTPCREL(%rip), %r14
	cmpq	$0, 8(%r12)
	jne	LBB0_46
## %bb.40:
	movq	_TRUE@GOTPCREL(%rip), %r12
	testq	%r13, %r13
	je	LBB0_43
## %bb.41:
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_bfd_malloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_46
## %bb.42:
	movq	%rax, %r15
	leaq	L_.str.2(%rip), %rdi
	callq	__
	cmpl	$1, %ebx
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rdx, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movq	_ppc_stub_long_branch@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	-4(%rdx,%rsi,4), %r8d
	movq	_ppc_stub_long_branch_r2off@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	-4(%rdx,%rsi,4), %r9d
	movq	_ppc_stub_plt_branch@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	-4(%rdx,%rsi,4), %r10d
	movq	_ppc_stub_plt_branch_r2off@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	-4(%rdx,%rsi,4), %r11d
	movq	_ppc_stub_plt_call@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movl	-4(%rdx,%rsi,4), %r14d
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_sprintf
	addq	$32, %rsp
LBB0_43:
	movq	%r12, %r14
LBB0_46:
	movq	(%r14), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_LINKER_CREATED,4,2         ## @SEC_LINKER_CREATED
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__glink"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_bfd_link_hash_new,8,3          ## @bfd_link_hash_new
	.comm	_bfd_link_hash_defined,8,3      ## @bfd_link_hash_defined
	.comm	_MFLR_R12,4,2                   ## @MFLR_R12
	.comm	_BCL_20_31,4,2                  ## @BCL_20_31
	.comm	_MFLR_R11,4,2                   ## @MFLR_R11
	.comm	_LD_R2_M16R11,4,2               ## @LD_R2_M16R11
	.comm	_MTLR_R12,4,2                   ## @MTLR_R12
	.comm	_ADD_R12_R2_R11,4,2             ## @ADD_R12_R2_R11
	.comm	_LD_R11_0R12,4,2                ## @LD_R11_0R12
	.comm	_LD_R2_0R12,4,2                 ## @LD_R2_0R12
	.comm	_MTCTR_R11,4,2                  ## @MTCTR_R11
	.comm	_BCTR,4,2                       ## @BCTR
	.comm	_GLINK_CALL_STUB_SIZE,4,2       ## @GLINK_CALL_STUB_SIZE
	.comm	_NOP,4,2                        ## @NOP
	.comm	_LI_R0_0,4,2                    ## @LI_R0_0
	.comm	_LIS_R0_0,4,2                   ## @LIS_R0_0
	.comm	_ORI_R0_R0_0,4,2                ## @ORI_R0_R0_0
	.comm	_B_DOT,4,2                      ## @B_DOT
	.comm	_ppc_build_one_stub,4,2         ## @ppc_build_one_stub
L_.str.1:                               ## @.str.1
	.asciz	"stubs don't match calculated size"

L_.str.2:                               ## @.str.2
	.asciz	"linker stubs in %u group%s\n  branch       %lu\n  toc adjust   %lu\n  long branch  %lu\n  long toc adj %lu\n  plt call     %lu"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"s"

	.comm	_ppc_stub_long_branch,4,2       ## @ppc_stub_long_branch
	.comm	_ppc_stub_long_branch_r2off,4,2 ## @ppc_stub_long_branch_r2off
	.comm	_ppc_stub_plt_branch,4,2        ## @ppc_stub_plt_branch
	.comm	_ppc_stub_plt_branch_r2off,4,2  ## @ppc_stub_plt_branch_r2off
	.comm	_ppc_stub_plt_call,4,2          ## @ppc_stub_plt_call
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppc64_elf_build_stubs          ; -- Begin function ppc64_elf_build_stubs
	.p2align	2
_ppc64_elf_build_stubs:                 ; @ppc64_elf_build_stubs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_ppc_hash_table
	mov	x19, x0
	str	x22, [x0, #72]
	ldr	x8, [x0, #24]
	ldr	x22, [x8]
	cbz	x22, LBB0_7
; %bb.1:
Lloh0:
	adrp	x23, _SEC_LINKER_CREATED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SEC_LINKER_CREATED@GOTPAGEOFF]
Lloh2:
	adrp	x20, _FALSE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x22, #24]
	cbz	x22, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x22, #8]
	cbz	x1, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #24]
	bl	_bfd_zalloc
	str	x0, [x22, #32]
	cbz	x0, LBB0_42
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #8]
	stp	xzr, x8, [x22, #8]
	b	LBB0_2
LBB0_7:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_25
; %bb.8:
	ldr	w9, [x8]
	cbz	w9, LBB0_25
; %bb.9:
	ldr	x9, [x19, #72]
	cbz	x9, LBB0_14
; %bb.10:
	add	x0, x19, #64
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh6:
	ldr	x2, [x8]
Lloh7:
	adrp	x20, _FALSE@GOTPAGE
Lloh8:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	x3, [x20]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x3
	bl	_elf_link_hash_lookup
	cbz	x0, LBB0_42
; %bb.11:
	ldr	x8, [x0, #24]
Lloh11:
	adrp	x9, _bfd_link_hash_new@GOTPAGE
Lloh12:
	ldr	x9, [x9, _bfd_link_hash_new@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
Lloh14:
	adrp	x8, _bfd_link_hash_defined@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bfd_link_hash_defined@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x8]
	ldr	x8, [x19, #16]
	str	x8, [x0, #40]
	mov	w10, #8
	str	w10, [x0, #32]
	movi.4s	v0, #1
	str	q0, [x0]
	stp	xzr, x9, [x0, #16]
	b	LBB0_14
LBB0_13:
	ldr	x8, [x19, #16]
LBB0_14:
	ldr	x23, [x8, #8]
	ldr	x9, [x19, #56]
	ldp	x9, x10, [x9]
	ldr	x10, [x10]
	ldp	x12, x11, [x8, #24]
	ldr	x11, [x11]
	add	x9, x10, x9
	add	x10, x11, x12
	sub	x9, x9, x10
	sub	x1, x9, #16
	ldr	w0, [x8, #16]
	mov	x2, x23
	bl	_bfd_put_64
	add	x2, x23, #32
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh17:
	adrp	x8, _MFLR_R12@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MFLR_R12@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x2, x23, #48
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh20:
	adrp	x8, _BCL_20_31@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BCL_20_31@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x2, x23, #64
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh23:
	adrp	x8, _MFLR_R11@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MFLR_R11@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x2, x23, #80
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh26:
	adrp	x8, _LD_R2_M16R11@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LD_R2_M16R11@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x2, x23, #96
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh29:
	adrp	x8, _MTLR_R12@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MTLR_R12@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x2, x23, #112
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh32:
	adrp	x8, _ADD_R12_R2_R11@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ADD_R12_R2_R11@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x2, x23, #128
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh35:
	adrp	x20, _LD_R11_0R12@GOTPAGE
Lloh36:
	ldr	x20, [x20, _LD_R11_0R12@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_bfd_put_32
	add	x2, x23, #144
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh37:
	adrp	x8, _LD_R2_0R12@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LD_R2_0R12@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w1, w8, #0x8
	bl	_bfd_put_32
	add	x2, x23, #160
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh40:
	adrp	x8, _MTCTR_R11@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MTCTR_R11@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x2, x23, #176
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
	ldr	w8, [x20]
	orr	w1, w8, #0x10
	bl	_bfd_put_32
	add	x2, x23, #192
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
Lloh43:
	adrp	x8, _BCTR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _BCTR@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_bfd_put_32
	add	x22, x23, #208
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	sub	x10, x22, x9
Lloh46:
	adrp	x20, _GLINK_CALL_STUB_SIZE@GOTPAGE
Lloh47:
	ldr	x20, [x20, _GLINK_CALL_STUB_SIZE@GOTPAGEOFF]
	ldrsw	x11, [x20]
	cmp	x11, x10, asr #2
	b.le	LBB0_17
; %bb.15:
	add	x23, x23, #224
Lloh48:
	adrp	x24, _NOP@GOTPAGE
Lloh49:
	ldr	x24, [x24, _NOP@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x8, #16]
	ldr	w1, [x24]
	mov	x2, x22
	bl	_bfd_put_32
	add	x22, x22, #16
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	sub	x10, x23, x9
	ldrsw	x11, [x20]
	add	x23, x23, #16
	cmp	x11, x10, asr #2
	b.gt	LBB0_16
LBB0_17:
	ldrsw	x10, [x8]
	add	x10, x9, x10, lsl #2
	cmp	x22, x10
	b.hs	LBB0_24
; %bb.18:
	stp	x21, x25, [sp, #16]             ; 16-byte Folded Spill
	mov	w23, #0
Lloh50:
	adrp	x26, _LI_R0_0@GOTPAGE
Lloh51:
	ldr	x26, [x26, _LI_R0_0@GOTPAGEOFF]
Lloh52:
	adrp	x27, _B_DOT@GOTPAGE
Lloh53:
	ldr	x27, [x27, _B_DOT@GOTPAGEOFF]
Lloh54:
	adrp	x28, _LIS_R0_0@GOTPAGE
Lloh55:
	ldr	x28, [x28, _LIS_R0_0@GOTPAGEOFF]
Lloh56:
	adrp	x20, _ORI_R0_R0_0@GOTPAGE
Lloh57:
	ldr	x20, [x20, _ORI_R0_R0_0@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w25, [x28]
	mov	x0, x23
	bl	_PPC_HI
	orr	w1, w0, w25
	mov	x0, x24
	mov	x2, x22
	bl	_bfd_put_32
	add	x24, x22, #16
	ldr	x8, [x19, #16]
	ldr	w25, [x8, #16]
	ldr	w21, [x20]
	mov	x0, x23
	bl	_PPC_LO
	orr	w1, w0, w21
	mov	x0, x25
	mov	x2, x24
	bl	_bfd_put_32
	mov	w8, #8
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x22, x22, x8, lsl #2
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #16]
	ldr	w9, [x27]
	ldr	w8, [x8, #8]
	sub	w8, w8, w22
	lsr	w8, w8, #2
	add	w8, w8, #8
	and	w8, w8, #0x3fffffc
	orr	w1, w8, w9
	mov	x2, x22
	bl	_bfd_put_32
	add	w23, w23, #1
	add	x22, x22, #16
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	ldrsw	x10, [x8]
	add	x10, x9, x10, lsl #2
	cmp	x22, x10
	b.hs	LBB0_23
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x8, #16]
	lsr	w8, w23, #15
	cbnz	w8, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x26]
	orr	w1, w8, w23
	mov	x0, x24
	mov	x2, x22
	bl	_bfd_put_32
	mov	w8, #4
	b	LBB0_20
LBB0_23:
	ldp	x21, x25, [sp, #16]             ; 16-byte Folded Reload
LBB0_24:
	sub	x9, x22, x9
	lsr	x9, x9, #2
	str	w9, [x8, #4]
LBB0_25:
	ldr	x8, [x19, #48]
	ldr	x1, [x8]
	cbz	x1, LBB0_27
; %bb.26:
	ldr	x0, [x8, #16]
	bl	_bfd_zalloc
	ldr	x8, [x19, #48]
	str	x0, [x8, #8]
	cbz	x0, LBB0_41
LBB0_27:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_30
; %bb.28:
	ldr	x1, [x8]
	cbz	x1, LBB0_30
; %bb.29:
	ldr	x0, [x8, #24]
	bl	_bfd_zalloc
	ldr	x8, [x19, #32]
	str	x0, [x8, #16]
	cbz	x0, LBB0_41
LBB0_30:
	add	x0, x19, #40
Lloh58:
	adrp	x8, _ppc_build_one_stub@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ppc_build_one_stub@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_bfd_hash_traverse
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_32
; %bb.31:
	str	xzr, [x8, #8]
LBB0_32:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.33:
	mov	w21, #0
Lloh61:
	adrp	x9, _SEC_LINKER_CREATED@GOTPAGE
Lloh62:
	ldr	x9, [x9, _SEC_LINKER_CREATED@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_38
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	tst	w9, w10
	b.ne	LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	add	w21, w21, #1
	ldp	x11, x10, [x8, #8]
	cmp	x10, x11
	b.eq	LBB0_34
	b	LBB0_39
LBB0_37:
	mov	w21, #0
LBB0_38:
	ldr	x8, [x19, #16]
	ldp	w8, w9, [x8]
	cmp	w9, w8
	b.eq	LBB0_40
LBB0_39:
Lloh64:
	adrp	x8, _TRUE@GOTPAGE
Lloh65:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh67:
	adrp	x0, l_.str.1@PAGE
Lloh68:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	__bfd_error_handler
LBB0_40:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_43
LBB0_41:
Lloh69:
	adrp	x20, _FALSE@GOTPAGE
Lloh70:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
LBB0_42:
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_43:
	cbz	x25, LBB0_46
; %bb.44:
	mov	w0, #500
	bl	_bfd_malloc
	str	x0, [x25]
	cbz	x0, LBB0_41
; %bb.45:
	mov	x22, x0
Lloh71:
	adrp	x0, l_.str.2@PAGE
Lloh72:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
Lloh73:
	adrp	x8, l_.str.4@PAGE
Lloh74:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh75:
	adrp	x9, l_.str.3@PAGE
Lloh76:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w21, #1
	csel	x3, x9, x8, eq
Lloh77:
	adrp	x8, _ppc_stub_long_branch@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ppc_stub_long_branch@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh79:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	ldur	w4, [x8, #-4]
Lloh80:
	adrp	x8, _ppc_stub_long_branch_r2off@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ppc_stub_long_branch_r2off@GOTPAGEOFF]
Lloh82:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	ldur	w5, [x8, #-4]
Lloh83:
	adrp	x8, _ppc_stub_plt_branch@GOTPAGE
Lloh84:
	ldr	x8, [x8, _ppc_stub_plt_branch@GOTPAGEOFF]
Lloh85:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	ldur	w6, [x8, #-4]
Lloh86:
	adrp	x8, _ppc_stub_plt_branch_r2off@GOTPAGE
Lloh87:
	ldr	x8, [x8, _ppc_stub_plt_branch_r2off@GOTPAGEOFF]
Lloh88:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	ldur	w7, [x8, #-4]
Lloh89:
	adrp	x8, _ppc_stub_plt_call@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ppc_stub_plt_call@GOTPAGEOFF]
Lloh91:
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	ldur	w8, [x8, #-4]
	str	w8, [sp]
	mov	x0, x22
	mov	x2, x21
	bl	_sprintf
LBB0_46:
Lloh92:
	adrp	x20, _TRUE@GOTPAGE
Lloh93:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	b	LBB0_42
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh92, Lloh93
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_LINKER_CREATED,4,2         ; @SEC_LINKER_CREATED
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__glink"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_bfd_link_hash_new,8,3          ; @bfd_link_hash_new
	.comm	_bfd_link_hash_defined,8,3      ; @bfd_link_hash_defined
	.comm	_MFLR_R12,4,2                   ; @MFLR_R12
	.comm	_BCL_20_31,4,2                  ; @BCL_20_31
	.comm	_MFLR_R11,4,2                   ; @MFLR_R11
	.comm	_LD_R2_M16R11,4,2               ; @LD_R2_M16R11
	.comm	_MTLR_R12,4,2                   ; @MTLR_R12
	.comm	_ADD_R12_R2_R11,4,2             ; @ADD_R12_R2_R11
	.comm	_LD_R11_0R12,4,2                ; @LD_R11_0R12
	.comm	_LD_R2_0R12,4,2                 ; @LD_R2_0R12
	.comm	_MTCTR_R11,4,2                  ; @MTCTR_R11
	.comm	_BCTR,4,2                       ; @BCTR
	.comm	_GLINK_CALL_STUB_SIZE,4,2       ; @GLINK_CALL_STUB_SIZE
	.comm	_NOP,4,2                        ; @NOP
	.comm	_LI_R0_0,4,2                    ; @LI_R0_0
	.comm	_LIS_R0_0,4,2                   ; @LIS_R0_0
	.comm	_ORI_R0_R0_0,4,2                ; @ORI_R0_R0_0
	.comm	_B_DOT,4,2                      ; @B_DOT
	.comm	_ppc_build_one_stub,4,2         ; @ppc_build_one_stub
l_.str.1:                               ; @.str.1
	.asciz	"stubs don't match calculated size"

l_.str.2:                               ; @.str.2
	.asciz	"linker stubs in %u group%s\n  branch       %lu\n  toc adjust   %lu\n  long branch  %lu\n  long toc adj %lu\n  plt call     %lu"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"s"

	.comm	_ppc_stub_long_branch,4,2       ; @ppc_stub_long_branch
	.comm	_ppc_stub_long_branch_r2off,4,2 ; @ppc_stub_long_branch_r2off
	.comm	_ppc_stub_plt_branch,4,2        ; @ppc_stub_plt_branch
	.comm	_ppc_stub_plt_branch_r2off,4,2  ; @ppc_stub_plt_branch_r2off
	.comm	_ppc_stub_plt_call,4,2          ; @ppc_stub_plt_call
.subsections_via_symbols
