	.file	"extr_elflink.c_bfd_elf_link_record_local_dynamic_symbol.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfd_elf_link_record_local_dynamic_symbol
	.type	bfd_elf_link_record_local_dynamic_symbol, @function
bfd_elf_link_record_local_dynamic_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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	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
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	is_elf_hash_table@PLT
	test	eax, eax
	jne	.L2
.L7:
	xor	r13d, r13d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L31
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	elf_hash_table@PLT
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L6
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L4
.L6:
	cmp	QWORD PTR 32[rax], rbp
	jne	.L5
	cmp	QWORD PTR [rax], rbx
	jne	.L5
	mov	r13d, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, 48
	mov	rdi, rbp
	call	bfd_alloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L7
	mov	rdi, rbp
	call	elf_tdata@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	lea	r8, 8[r14]
	mov	rcx, rbx
	mov	rsi, rax
	lea	rax, 8[rsp]
	mov	edx, 1
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 96
	lea	r9, 20[rsp]
	call	bfd_elf_get_elf_syms@PLT
	mov	r13d, eax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	test	r13d, r13d
	je	.L32
	mov	rsi, QWORD PTR 8[r14]
	cmp	rsi, QWORD PTR SHN_UNDEF[rip]
	je	.L9
	cmp	rsi, QWORD PTR SHN_LORESERVE[rip]
	jl	.L10
	cmp	rsi, QWORD PTR SHN_HIRESERVE[rip]
	jle	.L9
.L10:
	mov	rdi, rbp
	call	bfd_section_from_elf_index@PLT
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR [rax]
	call	bfd_is_abs_section@PLT
	test	rax, rax
	jne	.L12
.L9:
	mov	rdi, rbp
	mov	r13, QWORD PTR 16[r14]
	call	elf_tdata@PLT
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	mov	rdx, r13
	call	bfd_elf_string_from_elf_section@PLT
	mov	rdi, r12
	mov	r15, rax
	call	elf_hash_table@PLT
	mov	r13, QWORD PTR 16[rax]
	test	r13, r13
	je	.L33
.L13:
	mov	edx, DWORD PTR FALSE[rip]
	mov	rsi, r15
	mov	rdi, r13
	call	_bfd_elf_strtab_add@PLT
	cmp	rax, -1
	je	.L7
	mov	QWORD PTR 16[r14], rax
	mov	rdi, r12
	mov	r13d, 1
	call	elf_hash_table@PLT
	mov	edi, DWORD PTR 24[r14]
	mov	rdx, QWORD PTR 8[rax]
	mov	QWORD PTR 40[r14], rdx
	mov	QWORD PTR 8[rax], r14
	mov	QWORD PTR 32[r14], rbp
	mov	QWORD PTR [r14], rbx
	add	DWORD PTR [rax], 1
	call	ELF_ST_TYPE@PLT
	mov	edi, DWORD PTR STB_LOCAL[rip]
	mov	esi, eax
	call	ELF_ST_INFO@PLT
	mov	DWORD PTR 24[r14], eax
	jmp	.L1
.L32:
	mov	rsi, r14
	mov	rdi, rbp
	call	bfd_release@PLT
	jmp	.L1
.L33:
	xor	eax, eax
	call	_bfd_elf_strtab_init@PLT
	mov	rdi, r12
	mov	r13, rax
	call	elf_hash_table@PLT
	mov	QWORD PTR 16[rax], r13
	test	r13, r13
	jne	.L13
	jmp	.L7
.L12:
	mov	rsi, r14
	mov	rdi, rbp
	mov	r13d, 2
	call	bfd_release@PLT
	jmp	.L1
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bfd_elf_link_record_local_dynamic_symbol, .-bfd_elf_link_record_local_dynamic_symbol
	.comm	STB_LOCAL,4,4
	.comm	SHN_UNDEF,8,8
	.comm	SHN_LORESERVE,8,8
	.comm	SHN_HIRESERVE,8,8
	.comm	FALSE,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_elflink.c_bfd_elf_link_record_local_dynamic_symbol.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bfd_elf_link_record_local_dynamic_symbol
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfd_elf_link_record_local_dynamic_symbol, %function
bfd_elf_link_record_local_dynamic_symbol:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L34
	sub	sp, sp, #36
	mov	r6, r0
	ldr	r0, [r0]
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	is_elf_hash_table
	cmp	r0, #0
	bne	.L2
.L7:
	mov	r7, #0
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	mov	r0, r7
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r0, r6
	bl	elf_hash_table
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L6
	b	.L4
.L5:
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L4
.L6:
	ldr	ip, [r3, #16]
	cmp	ip, r4
	bne	.L5
	ldr	r2, [r3]
	cmp	r2, r5
	bne	.L5
	mov	r7, #1
	b	.L1
.L4:
	mov	r1, #24
	mov	r0, r4
	bl	bfd_alloc
	subs	r8, r0, #0
	beq	.L7
	mov	r0, r4
	bl	elf_tdata
	add	ip, sp, #20
	add	r2, sp, #24
	add	r3, r8, #4
	mov	r1, r0
	stmib	sp, {r2, ip}
	str	r3, [sp]
	mov	r2, #1
	mov	r3, r5
	mov	r0, r4
	bl	bfd_elf_get_elf_syms
	subs	r7, r0, #0
	beq	.L32
	ldr	r3, .L34+4
	ldr	r1, [r8, #4]
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L9
	ldr	r3, .L34+8
	ldr	r3, [r3]
	cmp	r1, r3
	blt	.L10
	ldr	r3, .L34+12
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L9
.L10:
	mov	r0, r4
	bl	bfd_section_from_elf_index
	cmp	r0, #0
	beq	.L12
	ldr	r0, [r0]
	bl	bfd_is_abs_section
	cmp	r0, #0
	bne	.L12
.L9:
	mov	r0, r4
	bl	elf_tdata
	ldr	r2, [r8, #8]
	ldr	r1, [r0]
	mov	r0, r4
	bl	bfd_elf_string_from_elf_section
	mov	r9, r0
	mov	r0, r6
	bl	elf_hash_table
	ldr	r7, [r0, #8]
	cmp	r7, #0
	beq	.L33
.L13:
	ldr	r3, .L34+16
	mov	r1, r9
	mov	r0, r7
	ldr	r2, [r3]
	bl	_bfd_elf_strtab_add
	cmn	r0, #1
	beq	.L7
	str	r0, [r8, #8]
	mov	r0, r6
	bl	elf_hash_table
	mov	r3, r0
	ldr	r1, [r0, #4]
	ldr	r2, [r0]
	str	r1, [r8, #20]
	ldr	r1, .L34+20
	add	r2, r2, #1
	ldr	r6, [r1]
	str	r8, [r0, #4]
	ldr	r0, [r8, #12]
	str	r4, [r8, #16]
	str	r5, [r8]
	str	r2, [r3]
	bl	ELF_ST_TYPE
	mov	r1, r0
	mov	r0, r6
	bl	ELF_ST_INFO
	mov	r7, #1
	str	r0, [r8, #12]
	b	.L1
.L32:
	mov	r1, r8
	mov	r0, r4
	bl	bfd_release
	b	.L1
.L33:
	bl	_bfd_elf_strtab_init
	mov	r7, r0
	mov	r0, r6
	bl	elf_hash_table
	cmp	r7, #0
	str	r7, [r0, #8]
	bne	.L13
	b	.L7
.L12:
	mov	r1, r8
	mov	r0, r4
	bl	bfd_release
	mov	r7, #2
	b	.L1
.L31:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC0
	.word	SHN_UNDEF
	.word	SHN_LORESERVE
	.word	SHN_HIRESERVE
	.word	FALSE
	.word	STB_LOCAL
	.size	bfd_elf_link_record_local_dynamic_symbol, .-bfd_elf_link_record_local_dynamic_symbol
	.comm	STB_LOCAL,4,4
	.comm	SHN_UNDEF,4,4
	.comm	SHN_LORESERVE,4,4
	.comm	SHN_HIRESERVE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
