	.file	"extr_bfd.c_bfd_demangle.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfd_demangle
	.type	bfd_demangle, @function
bfd_demangle:
.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, rsi
	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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	movzx	eax, BYTE PTR [rsi]
	test	rdi, rdi
	je	.L2
	mov	QWORD PTR [rsp], rsi
	xor	ebx, ebx
	test	al, al
	jne	.L34
.L3:
	mov	esi, 64
	mov	rdi, r14
	call	strchr@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L35
	mov	r13, rax
	sub	r13, r14
	lea	rdi, 1[r13]
	call	bfd_malloc@PLT
	mov	r15, rax
	test	rax, rax
	je	.L9
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rax
	call	memcpy@PLT
	mov	BYTE PTR [r15+r13], 0
	mov	esi, r12d
	mov	rdi, r15
	call	cplus_demangle@PLT
	mov	rdi, r15
	mov	r12, rax
	call	free@PLT
	test	r12, r12
	jne	.L36
.L9:
	xor	r14d, r14d
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	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
.L34:
	.cfi_restore_state
	call	bfd_get_symbol_leading_char@PLT
	mov	r8d, eax
	movzx	eax, BYTE PTR [r14]
	cmp	r8b, al
	jne	.L2
	movzx	eax, BYTE PTR 1[r14]
	add	r14, 1
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	al, 46
	jne	.L37
.L16:
	mov	rax, r14
	.p2align 4,,10
	.p2align 3
.L25:
	movzx	edx, BYTE PTR 1[rax]
	add	rax, 1
	cmp	dl, 46
	je	.L25
	cmp	dl, 36
	je	.L25
	mov	rbx, rax
	mov	QWORD PTR [rsp], r14
	sub	rbx, r14
	mov	r14, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L37:
	cmp	al, 36
	je	.L16
	mov	QWORD PTR [rsp], r14
	xor	ebx, ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdi, r14
	mov	esi, r12d
	call	cplus_demangle@PLT
	mov	r14, rax
	test	rax, rax
	je	.L9
	test	rbx, rbx
	je	.L1
	mov	rdi, rax
	mov	r12, r14
	call	strlen@PLT
	movsx	r15, eax
	lea	rbp, [r14+r15]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdi, r12
	call	strlen@PLT
	movsx	r15, eax
.L13:
	mov	rdi, rbp
	call	strlen@PLT
	lea	r14d, 1[rax]
	lea	rax, [r15+rbx]
	movsx	r13, r14d
	mov	QWORD PTR 8[rsp], rax
	lea	rdi, [rax+r13]
	call	bfd_malloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L12
	mov	rsi, QWORD PTR [rsp]
	mov	rdx, rbx
	mov	rdi, rax
	call	memcpy@PLT
	lea	rdi, [r14+rbx]
	mov	rdx, r15
	mov	rsi, r12
	call	memcpy@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r13
	mov	rsi, rbp
	add	rdi, r14
	call	memcpy@PLT
.L12:
	mov	rdi, r12
	call	free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	bfd_demangle, .-bfd_demangle
	.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_bfd.c_bfd_demangle.c"
	.text
	.align	2
	.global	bfd_demangle
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfd_demangle, %function
bfd_demangle:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	cmp	r0, #0
	mov	r4, r1
	mov	r7, r2
	ldrb	r3, [r1]	@ zero_extendqisi2
	beq	.L2
	cmp	r3, #0
	bne	.L31
.L14:
	mov	r5, r3
	mov	r8, r4
	b	.L3
.L31:
	bl	bfd_get_symbol_leading_char
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r0, r3
	ldrbeq	r3, [r4, #1]	@ zero_extendqisi2
	addeq	r4, r4, #1
.L2:
	cmp	r3, #36
	cmpne	r3, #46
	moveq	r3, #1
	movne	r3, #0
	bne	.L14
	mov	r0, r4
.L4:
	ldrb	r3, [r0, #1]!	@ zero_extendqisi2
	cmp	r3, #36
	cmpne	r3, #46
	beq	.L4
	mov	r8, r4
	sub	r5, r0, r4
	mov	r4, r0
.L3:
	mov	r1, #64
	mov	r0, r4
	bl	strchr
	subs	r6, r0, #0
	beq	.L32
	sub	r10, r6, r4
	add	r0, r10, #1
	bl	bfd_malloc
	subs	r9, r0, #0
	beq	.L8
	mov	r2, r10
	mov	r1, r4
	bl	memcpy
	mov	r3, #0
	mov	r1, r7
	strb	r3, [r9, r10]
	mov	r0, r9
	bl	cplus_demangle
	mov	r7, r0
	mov	r0, r9
	bl	free
	cmp	r7, #0
	beq	.L8
	mov	r0, r7
	bl	strlen
	mov	r9, r0
.L12:
	mov	r0, r6
	bl	strlen
	add	fp, r9, r5
	add	r10, r0, #1
	add	r0, fp, r10
	bl	bfd_malloc
	subs	r4, r0, #0
	beq	.L11
	mov	r1, r8
	mov	r2, r5
	bl	memcpy
	mov	r2, r9
	mov	r1, r7
	add	r0, r4, r5
	bl	memcpy
	mov	r2, r10
	mov	r1, r6
	add	r0, r4, fp
	bl	memcpy
.L11:
	mov	r0, r7
	bl	free
.L1:
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mov	r4, #0
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	mov	r0, r4
	mov	r1, r7
	bl	cplus_demangle
	subs	r4, r0, #0
	beq	.L8
	cmp	r5, #0
	beq	.L1
	bl	strlen
	mov	r7, r4
	mov	r9, r0
	add	r6, r4, r0
	b	.L12
	.size	bfd_demangle, .-bfd_demangle
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
