	.file	"extr_solib-svr4.c_bfd_lookup_symbol.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfd_lookup_symbol, @function
bfd_lookup_symbol:
.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, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR [rsp], rdi
	call	bfd_get_symtab_upper_bound@PLT
	test	rax, rax
	jle	.L11
	mov	rdi, rax
	call	xmalloc@PLT
	mov	edi, DWORD PTR xfree[rip]
	mov	rbx, rax
	mov	rsi, rax
	call	make_cleanup@PLT
	mov	rsi, rbx
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], rax
	call	bfd_canonicalize_symtab@PLT
	test	eax, eax
	je	.L3
	sub	eax, 1
	lea	r14, 8[rbx]
	lea	r13, [r14+rax*8]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	add	r14, 8
.L6:
	mov	rax, rbx
	mov	rsi, rbp
	mov	rbx, r14
	mov	r15, QWORD PTR [rax]
	mov	edi, DWORD PTR 16[r15]
	call	strcmp@PLT
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR [r15]
	mov	esi, DWORD PTR [rax]
	and	esi, r12d
	cmp	esi, r12d
	je	.L23
.L4:
	cmp	r14, r13
	jne	.L24
.L3:
	mov	rdi, QWORD PTR 8[rsp]
	call	do_cleanups@PLT
.L11:
	mov	rbx, QWORD PTR [rsp]
	xor	r13d, r13d
	mov	rdi, rbx
	call	bfd_get_dynamic_symtab_upper_bound@PLT
	mov	rdi, rax
	test	rax, rax
	jg	.L25
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	call	xmalloc@PLT
	mov	edi, DWORD PTR xfree[rip]
	mov	r13, rax
	mov	rsi, rax
	call	make_cleanup@PLT
	mov	rsi, r13
	mov	rdi, rbx
	mov	QWORD PTR [rsp], rax
	call	bfd_canonicalize_dynamic_symtab@PLT
	test	eax, eax
	je	.L7
	sub	eax, 1
	lea	rbx, 8[r13]
	lea	r14, [rbx+rax*8]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L27:
	add	rbx, 8
.L10:
	mov	rax, r13
	mov	rsi, rbp
	mov	r13, rbx
	mov	r15, QWORD PTR [rax]
	mov	edi, DWORD PTR 16[r15]
	call	strcmp@PLT
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR [r15]
	mov	ecx, DWORD PTR [rax]
	and	ecx, r12d
	cmp	ecx, r12d
	je	.L26
.L8:
	cmp	rbx, r14
	jne	.L27
.L7:
	xor	r13d, r13d
.L9:
	mov	rdi, QWORD PTR [rsp]
	call	do_cleanups@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, QWORD PTR 8[rsp]
	mov	r13, QWORD PTR 8[rax]
	add	r13, QWORD PTR 8[r15]
	call	do_cleanups@PLT
	test	r13, r13
	jne	.L1
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	mov	r13, QWORD PTR 8[rax]
	add	r13, QWORD PTR 8[r15]
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	bfd_lookup_symbol, .-bfd_lookup_symbol
	.comm	xfree,4,4
	.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_solib-svr4.c_bfd_lookup_symbol.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfd_lookup_symbol, %function
bfd_lookup_symbol:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r1
	mov	r9, r2
	mov	r10, r0
	bl	bfd_get_symtab_upper_bound
	cmp	r0, #0
	ble	.L11
	bl	xmalloc
	ldr	r3, .L27
	mov	r1, r0
	mov	r4, r0
	ldr	r0, [r3]
	bl	make_cleanup
	mov	r1, r4
	mov	fp, r0
	mov	r0, r10
	bl	bfd_canonicalize_symtab
	subs	r8, r0, #0
	beq	.L3
	mov	r5, #0
.L6:
	ldr	r6, [r4]
	mov	r1, r7
	ldr	r0, [r6, #8]
	bl	strcmp
	cmp	r0, #0
	add	r5, r5, #1
	add	r4, r4, #4
	bne	.L4
	ldr	r3, [r6]
	ldr	r2, [r3]
	bics	r2, r9, r2
	beq	.L24
.L4:
	cmp	r8, r5
	bne	.L6
.L3:
	mov	r0, fp
	bl	do_cleanups
.L11:
	mov	r0, r10
	bl	bfd_get_dynamic_symtab_upper_bound
	cmp	r0, #0
	movle	r4, #0
	bgt	.L25
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	bl	xmalloc
	ldr	r3, .L27
	mov	r1, r0
	mov	r4, r0
	ldr	r0, [r3]
	bl	make_cleanup
	mov	r3, r0
	mov	r1, r4
	mov	r0, r10
	mov	r10, r3
	bl	bfd_canonicalize_dynamic_symtab
	subs	r8, r0, #0
	beq	.L7
	mov	r5, #0
.L10:
	ldr	r6, [r4]
	mov	r1, r7
	ldr	r0, [r6, #8]
	bl	strcmp
	cmp	r0, #0
	add	r5, r5, #1
	add	r4, r4, #4
	bne	.L8
	ldr	r3, [r6]
	ldr	r2, [r3]
	bics	r2, r9, r2
	beq	.L26
.L8:
	cmp	r8, r5
	bne	.L10
.L7:
	mov	r4, #0
.L9:
	mov	r0, r10
	bl	do_cleanups
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	ldr	r4, [r6, #4]
	ldr	r3, [r3, #4]
	mov	r0, fp
	add	r4, r4, r3
	bl	do_cleanups
	cmp	r4, #0
	beq	.L11
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	ldr	r4, [r6, #4]
	ldr	r3, [r3, #4]
	add	r4, r4, r3
	b	.L9
.L28:
	.align	2
.L27:
	.word	xfree
	.size	bfd_lookup_symbol, .-bfd_lookup_symbol
	.comm	xfree,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
