	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc64_elf_brtaken_reloc
_ppc64_elf_brtaken_reloc:               ## @ppc64_elf_brtaken_reloc
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	testq	%r9, %r9
	je	LBB0_1
## %bb.17:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfd_elf_generic_reloc          ## TAILCALL
LBB0_1:
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	(%r13), %r14
	movq	%r15, %rdi
	callq	_bfd_octets_per_byte
	cltq
	imulq	%r14, %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rax,4), %rsi
	movq	%r15, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_bfd_get_32
	movq	%rax, %r14
	movq	16(%r13), %rax
	movl	(%rax), %eax
	movq	_R_PPC64_ADDR14_BRTAKEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.2:
	movq	_R_PPC64_REL14_BRTAKEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
LBB0_4:
	orq	$2097152, %r14                  ## imm = 0x200000
	jmp	LBB0_5
LBB0_3:
	andq	$-2097153, %r14                 ## imm = 0xFFDFFFFF
LBB0_5:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.6:
	movl	%r14d, %eax
	andl	$41943040, %eax                 ## imm = 0x2800000
	cmpq	$33554432, %rax                 ## imm = 0x2000000
	je	LBB0_10
## %bb.7:
	cmpl	$8388608, %eax                  ## imm = 0x800000
	jne	LBB0_16
## %bb.8:
	orq	$4194304, %r14                  ## imm = 0x400000
	movq	%r14, %rsi
	jmp	LBB0_15
LBB0_11:
	movq	(%r12), %rdi
	callq	_bfd_is_com_section
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_10:
	orq	$16777216, %r14                 ## imm = 0x1000000
	movq	%r14, %rsi
	jmp	LBB0_15
LBB0_13:
	movq	8(%r12), %rax
LBB0_14:
	movq	(%r12), %rcx
	movq	8(%rcx), %rdx
	addq	(%rdx), %rax
	addq	(%rcx), %rax
	addq	8(%r13), %rax
	movslq	(%r13), %rcx
	addq	8(%rbx), %rcx
	movq	(%rbx), %rdx
	addq	(%rdx), %rcx
	movq	%r14, %rsi
	xorq	$2097152, %rsi                  ## imm = 0x200000
	cmpq	%rcx, %rax
	cmovgeq	%r14, %rsi
LBB0_15:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_bfd_put_32
LBB0_16:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	callq	_ppc64_elf_branch_reloc
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_R_PPC64_ADDR14_BRTAKEN,4,2     ## @R_PPC64_ADDR14_BRTAKEN
	.comm	_R_PPC64_REL14_BRTAKEN,4,2      ## @R_PPC64_REL14_BRTAKEN
	.no_dead_strip	_ppc64_elf_brtaken_reloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc64_elf_brtaken_reloc
_ppc64_elf_brtaken_reloc:               ; @ppc64_elf_brtaken_reloc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x6
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	cbz	x5, LBB0_2
; %bb.1:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x6, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_bfd_elf_generic_reloc
LBB0_2:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x27, [x8]
	ldr	w25, [x23]
	mov	x0, x24
	bl	_bfd_octets_per_byte
	mul	w8, w0, w25
	add	x25, x21, w8, sxtw #2
	mov	x0, x24
	mov	x1, x25
	bl	_bfd_get_32
	ldr	x8, [x23, #16]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _R_PPC64_ADDR14_BRTAKEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _R_PPC64_ADDR14_BRTAKEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
Lloh6:
	adrp	x9, _R_PPC64_REL14_BRTAKEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _R_PPC64_REL14_BRTAKEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
LBB0_4:
	orr	x26, x0, #0x200000
	cbz	x27, LBB0_9
LBB0_5:
	mov	w8, #41943040
	and	x8, x26, x8
	mov	w9, #33554432
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.6:
	cmp	x8, #2048, lsl #12              ; =8388608
	b.ne	LBB0_15
; %bb.7:
	orr	x1, x26, #0x400000
	b	LBB0_14
LBB0_8:
	and	x26, x0, #0xffffffffffdfffff
	cbnz	x27, LBB0_5
LBB0_9:
	ldr	x0, [x22]
	bl	_bfd_is_com_section
	cbz	w0, LBB0_12
; %bb.10:
	mov	x8, #0
	b	LBB0_13
LBB0_11:
	orr	x1, x26, #0x1000000
	b	LBB0_14
LBB0_12:
	ldr	x8, [x22, #8]
LBB0_13:
	ldr	x9, [x22]
	ldp	x9, x10, [x9]
	ldr	x10, [x10]
	add	x8, x10, x8
	add	x8, x8, x9
	ldr	x9, [x23, #8]
	ldrsw	x10, [x23]
	ldp	x12, x11, [x20]
	ldr	x12, [x12]
	add	x10, x11, x10
	add	x10, x10, x12
	eor	x11, x26, #0x200000
	add	x8, x8, x9
	cmp	x8, x10
	csel	x1, x11, x26, lt
LBB0_14:
	mov	x0, x24
	mov	x2, x25
	bl	_bfd_put_32
LBB0_15:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, #0
	mov	x6, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ppc64_elf_branch_reloc
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_R_PPC64_ADDR14_BRTAKEN,4,2     ; @R_PPC64_ADDR14_BRTAKEN
	.comm	_R_PPC64_REL14_BRTAKEN,4,2      ; @R_PPC64_REL14_BRTAKEN
	.no_dead_strip	_ppc64_elf_brtaken_reloc
.subsections_via_symbols
