	.file	"extr_ecoff.c__bfd_ecoff_canonicalize_symtab.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_bfd_ecoff_canonicalize_symtab
	.type	_bfd_ecoff_canonicalize_symtab, @function
_bfd_ecoff_canonicalize_symtab:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	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	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	_bfd_ecoff_slurp_symbol_table@PLT
	test	eax, eax
	je	.L5
	mov	rdi, r13
	call	bfd_get_symcount@PLT
	test	rax, rax
	jne	.L11
.L1:
	add	rsp, 8
	.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
.L11:
	.cfi_restore_state
	mov	rdi, r13
	xor	ebp, ebp
	call	ecoff_data@PLT
	mov	r12, QWORD PTR [rax]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 8
	mov	QWORD PTR -8[rbx], r12
	add	ebp, 1
	add	r12, 4
.L3:
	mov	rdi, r13
	call	bfd_get_symcount@PLT
	mov	edx, ebp
	cmp	rdx, rax
	jl	.L4
	mov	QWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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
	jmp	bfd_get_symcount@PLT
.L5:
	.cfi_restore_state
	mov	rax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	_bfd_ecoff_canonicalize_symtab, .-_bfd_ecoff_canonicalize_symtab
	.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_ecoff.c__bfd_ecoff_canonicalize_symtab.c"
	.text
	.align	2
	.global	_bfd_ecoff_canonicalize_symtab
	.syntax unified
	.arm
	.fpu softvfp
	.type	_bfd_ecoff_canonicalize_symtab, %function
_bfd_ecoff_canonicalize_symtab:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	bl	_bfd_ecoff_slurp_symbol_table
	cmp	r0, #0
	beq	.L5
	mov	r0, r7
	bl	bfd_get_symcount
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r7
	bl	ecoff_data
	mov	r4, #0
	ldr	r5, [r0]
	b	.L3
.L4:
	str	r5, [r6], #4
	add	r4, r4, #1
	add	r5, r5, #4
.L3:
	mov	r0, r7
	bl	bfd_get_symcount
	cmp	r0, r4
	bhi	.L4
	mov	r3, #0
	mov	r0, r7
	str	r3, [r6]
	pop	{r4, r5, r6, r7, r8, lr}
	b	bfd_get_symcount
.L5:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	_bfd_ecoff_canonicalize_symtab, .-_bfd_ecoff_canonicalize_symtab
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
