	.file	"extr_coffgen.c_coff_count_linenumbers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	coff_count_linenumbers
	.type	coff_count_linenumbers, @function
coff_count_linenumbers:
.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
	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, 8
	.cfi_def_cfa_offset 64
	call	bfd_get_symcount@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L25
	mov	rbx, QWORD PTR 8[rbp]
	test	rbx, rbx
	je	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	xor	edi, edi
	cmp	QWORD PTR [rbx], 0
	sete	dil
	call	BFD_ASSERT@PLT
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	jne	.L5
.L7:
	mov	rbx, QWORD PTR 0[rbp]
	lea	eax, -1[r12]
	xor	r12d, r12d
	lea	r13, 8[rbx+rax*8]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbx, 8
	cmp	r13, rbx
	je	.L1
.L6:
	mov	rbp, QWORD PTR [rbx]
	mov	rdi, rbp
	call	bfd_asymbol_bfd@PLT
	mov	edi, eax
	call	bfd_family_coff@PLT
	test	rax, rax
	je	.L8
	mov	rdi, rbp
	call	coffsymbol@PLT
	mov	rbp, QWORD PTR 8[rax]
	mov	r15, rax
	test	rbp, rbp
	je	.L8
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR 8[rax], 0
	je	.L8
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rax, QWORD PTR [r15]
.L10:
	mov	r14, QWORD PTR [rax]
	mov	rdi, r14
	call	bfd_is_const_section@PLT
	test	eax, eax
	jne	.L9
	add	QWORD PTR [r14], 1
.L9:
	add	rbp, 8
	add	r12d, 1
	cmp	QWORD PTR 0[rbp], 0
	jne	.L26
	add	rbx, 8
	cmp	r13, rbx
	jne	.L6
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	add	r12d, DWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L4
	jmp	.L1
.L11:
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	coff_count_linenumbers, .-coff_count_linenumbers
	.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_coffgen.c_coff_count_linenumbers.c"
	.text
	.align	2
	.global	coff_count_linenumbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	coff_count_linenumbers, %function
coff_count_linenumbers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	bl	bfd_get_symcount
	subs	r10, r0, #0
	beq	.L31
	ldr	r4, [r5, #4]
	cmp	r4, #0
	beq	.L7
.L5:
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BFD_ASSERT
	ldr	r4, [r4, #4]
	cmp	r4, #0
	bne	.L5
.L7:
	mov	r4, #0
	ldr	r9, [r5]
	mov	r5, r4
	sub	r9, r9, #4
	b	.L6
.L8:
	add	r5, r5, #1
	cmp	r10, r5
	beq	.L1
.L6:
	ldr	r6, [r9, #4]!
	mov	r0, r6
	bl	bfd_asymbol_bfd
	bl	bfd_family_coff
	cmp	r0, #0
	beq	.L8
	mov	r0, r6
	bl	coffsymbol
	ldr	r7, [r0, #4]
	mov	r8, r0
	cmp	r7, #0
	beq	.L8
	ldr	r3, [r0]
	ldr	r2, [r3, #4]
	cmp	r2, #0
	beq	.L8
	b	.L10
.L32:
	ldr	r3, [r8]
.L10:
	ldr	r6, [r3]
	add	r4, r4, #1
	mov	r0, r6
	bl	bfd_is_const_section
	cmp	r0, #0
	ldreq	r3, [r6]
	addeq	r3, r3, #1
	streq	r3, [r6]
	ldr	r3, [r7, #4]!
	cmp	r3, #0
	bne	.L32
	add	r5, r5, #1
	cmp	r10, r5
	bne	.L6
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L31:
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L11
	mov	r4, r10
.L4:
	ldm	r3, {r2, r3}
	cmp	r3, #0
	add	r4, r4, r2
	bne	.L4
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r4, r3
	b	.L1
	.size	coff_count_linenumbers, .-coff_count_linenumbers
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
