	.file	"extr_elflink.c_elf_collect_gnu_hash_codes.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	elf_collect_gnu_hash_codes, @function
elf_collect_gnu_hash_codes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR bfd_link_hash_warning[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	cmp	QWORD PTR 8[rdi], rax
	jne	.L2
	mov	rbx, QWORD PTR 24[rdi]
.L2:
	cmp	DWORD PTR [rbx], -1
	je	.L8
	mov	rax, QWORD PTR 32[rbp]
	mov	rdi, rbx
	call	[QWORD PTR [rax]]
	test	eax, eax
	je	.L8
	mov	r13, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR ELF_VER_CHR[rip]
	mov	rdi, r13
	call	strchr@PLT
	mov	r12, rax
	test	rax, rax
	je	.L6
	mov	r14, rax
	sub	r14, r13
	lea	edi, 1[r14]
	call	bfd_malloc@PLT
	mov	rsi, r13
	mov	edx, r14d
	mov	r12, rax
	mov	rdi, rax
	call	memcpy@PLT
	mov	BYTE PTR [r12+r14], 0
	mov	r13, r12
.L6:
	mov	rdi, r13
	call	bfd_elf_gnu_hash@PLT
	mov	rcx, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR 0[rbp]
	mov	QWORD PTR [rdx+rcx*8], rax
	movsx	rdx, DWORD PTR [rbx]
	mov	rcx, QWORD PTR 16[rbp]
	mov	QWORD PTR [rcx+rdx*8], rax
	add	QWORD PTR 8[rbp], 1
	cmp	rdx, QWORD PTR 24[rbp]
	jnb	.L7
	mov	QWORD PTR 24[rbp], rdx
.L7:
	test	r12, r12
	je	.L8
	mov	rdi, r12
	call	free@PLT
.L8:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR TRUE[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	elf_collect_gnu_hash_codes, .-elf_collect_gnu_hash_codes
	.comm	bfd_link_hash_warning,8,8
	.comm	TRUE,4,4
	.comm	ELF_VER_CHR,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_elf_collect_gnu_hash_codes.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	elf_collect_gnu_hash_codes, %function
elf_collect_gnu_hash_codes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L17
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	mov	r5, r1
	cmp	r2, r3
	ldreq	r4, [r0, #12]
	ldr	r3, [r4]
	cmn	r3, #1
	beq	.L8
	ldr	r3, [r1, #16]
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	cmp	r0, #0
	beq	.L8
	ldr	r3, .L17+4
	ldr	r7, [r4, #8]
	ldr	r1, [r3]
	mov	r0, r7
	bl	strchr
	subs	r6, r0, #0
	beq	.L6
	sub	r8, r6, r7
	add	r0, r8, #1
	bl	bfd_malloc
	mov	r6, r0
	mov	r1, r7
	mov	r2, r8
	bl	memcpy
	mov	r3, #0
	mov	r7, r6
	strb	r3, [r6, r8]
.L6:
	mov	r0, r7
	bl	bfd_elf_gnu_hash
	ldm	r5, {r1, ip}
	ldr	r2, [r4]
	ldr	r3, [r5, #8]
	str	r0, [r1, ip, lsl #2]
	str	r0, [r3, r2, lsl #2]
	ldr	r1, [r5, #12]
	ldr	r3, [r5, #4]
	cmp	r2, r1
	add	r3, r3, #1
	strcc	r2, [r5, #12]
	cmp	r6, #0
	str	r3, [r5, #4]
	beq	.L8
	mov	r0, r6
	bl	free
.L8:
	ldr	r3, .L17+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	.align	2
.L17:
	.word	bfd_link_hash_warning
	.word	ELF_VER_CHR
	.word	TRUE
	.size	elf_collect_gnu_hash_codes, .-elf_collect_gnu_hash_codes
	.comm	bfd_link_hash_warning,4,4
	.comm	TRUE,4,4
	.comm	ELF_VER_CHR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
