	.file	"extr_elf.c_get_import_addr_ppc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_import_addr_ppc, @function
get_import_addr_ppc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rcx
	xor	ecx, ecx
	movaps	XMMWORD PTR [rsp], xmm0
	test	rdx, rdx
	je	.L4
	mov	rax, rdx
	mov	rbp, rdi
	mov	r12, rsi
	mov	r13, rsp
	mov	edi, DWORD PTR 8[rdi]
	mov	esi, DWORD PTR [rax]
	mov	ecx, 16
	mov	rdx, r13
	call	r_buf_read_at@PLT
	cmp	eax, 3
	jle	.L4
	cmp	QWORD PTR 0[rbp], 0
	mov	rdi, r13
	jne	.L9
	call	r_read_le32@PLT
	lea	edx, [rbx+rbx*2]
	lea	edx, 20[0+rdx*4]
	sub	eax, edx
	mov	edx, DWORD PTR [r12]
	lea	eax, [rax+rdx*8]
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	r_read_be32@PLT
	sal	ebx, 4
	sub	eax, ebx
	mov	edx, eax
	mov	eax, DWORD PTR [r12]
	sal	eax, 4
	add	eax, edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, -1
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_import_addr_ppc, .-get_import_addr_ppc
	.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_elf.c_get_import_addr_ppc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_import_addr_ppc, %function
get_import_addr_ppc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, lr}
	mov	r4, r3
	ldr	r3, .L11
	sub	sp, sp, #24
	cmp	r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	str	ip, [sp, #4]
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	beq	.L4
	mov	r6, r0
	mov	r5, r1
	mov	r3, #16
	ldr	r1, [r2]
	ldr	r0, [r0, #4]
	add	r2, sp, #4
	bl	r_buf_read_at
	cmp	r0, #3
	ble	.L4
	ldr	r3, [r6]
	add	r0, sp, #4
	cmp	r3, #0
	bne	.L9
	bl	r_read_le32
	add	r4, r4, r4, lsl #1
	lsl	r4, r4, #2
	ldr	r3, [r5]
	add	r4, r4, #20
	sub	r0, r0, r4
	add	r0, r0, r3, lsl #3
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	bl	r_read_be32
	ldr	r3, [r5]
	sub	r0, r0, r4, lsl #4
	add	r0, r0, r3, lsl #4
	b	.L1
.L4:
	mvn	r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	get_import_addr_ppc, .-get_import_addr_ppc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
