	.file	"extr_elf64-ppc.c_ppc64_elf_brtaken_reloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ppc64_elf_brtaken_reloc, @function
ppc64_elf_brtaken_reloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR 96[rsp]
	mov	QWORD PTR 8[rsp], rax
	test	r9, r9
	je	.L2
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	bfd_elf_generic_reloc@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ebx, DWORD PTR [rsi]
	mov	r15, QWORD PTR FALSE[rip]
	mov	QWORD PTR 24[rsp], r8
	call	bfd_octets_per_byte@PLT
	mov	rdi, rbp
	imul	ebx, eax
	movsx	rbx, ebx
	lea	rdx, [r14+rbx*4]
	mov	rsi, rdx
	mov	QWORD PTR 16[rsp], rdx
	call	bfd_get_32@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	r8, QWORD PTR 24[rsp]
	and	rax, -2097153
	mov	rbx, rax
	mov	rax, QWORD PTR 16[r12]
	mov	eax, DWORD PTR [rax]
	cmp	eax, DWORD PTR R_PPC64_ADDR14_BRTAKEN[rip]
	je	.L3
	cmp	eax, DWORD PTR R_PPC64_REL14_BRTAKEN[rip]
	je	.L3
	test	r15, r15
	je	.L5
.L13:
	mov	rax, rbx
	and	eax, 41943040
	cmp	rax, 8388608
	je	.L12
	or	rbx, 16777216
	cmp	rax, 33554432
	je	.L7
.L8:
	mov	rax, QWORD PTR 8[rsp]
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	xor	r9d, r9d
	mov	QWORD PTR 96[rsp], rax
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ppc64_elf_branch_reloc@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	or	rbx, 2097152
	test	r15, r15
	jne	.L13
.L5:
	mov	rdi, QWORD PTR 0[r13]
	mov	QWORD PTR 24[rsp], r8
	mov	QWORD PTR 16[rsp], rdx
	call	bfd_is_com_section@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	r8, QWORD PTR 24[rsp]
	test	eax, eax
	jne	.L9
	mov	r15, QWORD PTR 8[r13]
.L9:
	mov	rax, QWORD PTR 0[r13]
	mov	rsi, QWORD PTR 8[rax]
	add	r15, QWORD PTR [rsi]
	mov	rsi, QWORD PTR [r8]
	add	r15, QWORD PTR [rax]
	movsx	rax, DWORD PTR [r12]
	add	r15, QWORD PTR 8[r12]
	add	rax, QWORD PTR 8[r8]
	add	rax, QWORD PTR [rsi]
	mov	rsi, rbx
	xor	rsi, 2097152
	cmp	r15, rax
	cmovs	rbx, rsi
.L7:
	mov	rsi, rbx
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], r8
	call	bfd_put_32@PLT
	mov	r8, QWORD PTR 16[rsp]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	or	rbx, 4194304
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	ppc64_elf_brtaken_reloc, .-ppc64_elf_brtaken_reloc
	.comm	R_PPC64_REL14_BRTAKEN,4,4
	.comm	R_PPC64_ADDR14_BRTAKEN,4,4
	.comm	FALSE,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_elf64-ppc.c_ppc64_elf_brtaken_reloc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ppc64_elf_brtaken_reloc, %function
ppc64_elf_brtaken_reloc:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	ldr	ip, [sp, #52]
	ldr	r10, [sp, #48]
	cmp	ip, #0
	ldr	fp, [sp, #56]
	beq	.L2
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	bfd_elf_generic_reloc
.L2:
	mov	r6, r3
	ldr	r3, .L13
	mov	r4, r1
	mov	r7, r2
	ldr	r8, [r1]
	ldr	r9, [r3]
	mov	r5, r0
	bl	bfd_octets_per_byte
	mul	r8, r0, r8
	add	r8, r6, r8, lsl #2
	mov	r1, r8
	mov	r0, r5
	bl	bfd_get_32
	ldr	r3, [r4, #8]
	ldr	r2, .L13+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	bic	r1, r0, #2097152
	cmp	r3, r2
	beq	.L3
	ldr	r2, .L13+8
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L3
	cmp	r9, #0
	beq	.L5
.L12:
	and	r3, r1, #41943040
	cmp	r3, #8388608
	orreq	r1, r1, #4194304
	beq	.L7
	cmp	r3, #33554432
	orreq	r1, r1, #16777216
	beq	.L7
.L8:
	mov	ip, #0
	mov	r3, r6
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	str	fp, [sp, #56]
	str	r10, [sp, #48]
	str	ip, [sp, #52]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ppc64_elf_branch_reloc
.L3:
	cmp	r9, #0
	orr	r1, r1, #2097152
	bne	.L12
.L5:
	ldr	r0, [r7]
	str	r1, [sp, #4]
	bl	bfd_is_com_section
	ldr	r3, [r7]
	cmp	r0, #0
	ldr	r2, [r3, #4]
	ldreq	r9, [r7, #4]
	ldr	lr, [r3]
	ldr	r0, [r10]
	ldr	r3, [r2]
	ldr	ip, [r10, #4]
	ldr	r2, [r4]
	add	r3, r9, r3
	ldr	r0, [r0]
	ldr	r9, [r4, #4]
	add	r3, r3, lr
	add	r2, r2, ip
	add	r3, r3, r9
	add	r2, r2, r0
	ldr	r1, [sp, #4]
	sub	r3, r3, r2
	cmp	r3, #0
	eorlt	r1, r1, #2097152
.L7:
	mov	r2, r8
	mov	r0, r5
	bl	bfd_put_32
	b	.L8
.L14:
	.align	2
.L13:
	.word	FALSE
	.word	R_PPC64_ADDR14_BRTAKEN
	.word	R_PPC64_REL14_BRTAKEN
	.size	ppc64_elf_brtaken_reloc, .-ppc64_elf_brtaken_reloc
	.comm	R_PPC64_REL14_BRTAKEN,4,4
	.comm	R_PPC64_ADDR14_BRTAKEN,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
