	.file	"extr_libelftc_dem_gnu3.c_cpp_demangle_read_expression_flat.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cpp_demangle_read_expression_flat, @function
cpp_demangle_read_expression_flat:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	cpp_demangle_read_expression@PLT
	test	eax, eax
	jne	.L2
.L4:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.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
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR [r15]
	mov	rcx, rsp
	mov	rsi, rbx
	mov	rdi, r15
	lea	edx, -1[rax]
	call	vector_str_substr@PLT
	mov	r14, rax
	test	rax, rax
	je	.L4
	mov	rbp, QWORD PTR [r15]
	cmp	rbx, rbp
	jb	.L7
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	add	rbx, 1
	cmp	rbp, rbx
	je	.L5
.L7:
	mov	rdi, r15
	call	vector_str_pop@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L6
	mov	rdi, r14
	call	free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR 0[r13], r14
	mov	r12d, 1
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cpp_demangle_read_expression_flat, .-cpp_demangle_read_expression_flat
	.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_libelftc_dem_gnu3.c_cpp_demangle_read_expression_flat.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpp_demangle_read_expression_flat, %function
cpp_demangle_read_expression_flat:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L16
	sub	sp, sp, #12
	mov	r6, r0
	mov	r8, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r5, [r0]
	bl	cpp_demangle_read_expression
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r4, #0
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r2, [r6]
	mov	r3, sp
	mov	r1, r5
	mov	r0, r6
	sub	r2, r2, #1
	bl	vector_str_substr
	subs	r9, r0, #0
	beq	.L4
	ldr	r7, [r6]
	cmp	r5, r7
	bcc	.L7
	b	.L5
.L6:
	add	r5, r5, #1
	cmp	r7, r5
	beq	.L5
.L7:
	mov	r0, r6
	bl	vector_str_pop
	subs	r4, r0, #0
	bne	.L6
	mov	r0, r9
	bl	free
	b	.L1
.L5:
	mov	r4, #1
	str	r9, [r8]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	cpp_demangle_read_expression_flat, .-cpp_demangle_read_expression_flat
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
