	.file	"extr_mpc.c_mpcf_escape_new.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mpcf_escape_new, @function
mpcf_escape_new:
.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
	mov	r13, rdi
	mov	edi, 1
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR [rsp], rsi
	mov	esi, 1
	lea	r14, 22[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	calloc@PLT
	movzx	edx, BYTE PTR 0[r13]
	mov	r15, rax
	test	dl, dl
	je	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rbp, QWORD PTR [r12]
	mov	rax, QWORD PTR [rsp]
	mov	rbx, r12
	test	rbp, rbp
	jne	.L6
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbp, QWORD PTR 8[rbx]
	add	rbx, 8
	add	rax, 1
	test	rbp, rbp
	je	.L8
.L6:
	cmp	BYTE PTR [rax], dl
	jne	.L4
	mov	rdi, r15
	call	strlen@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rax
	call	strlen@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, r15
	lea	rsi, 1[rdx+rax]
	call	realloc@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rax
	mov	r15, rax
	call	strcat@PLT
.L5:
	movzx	edx, BYTE PTR 1[r13]
	add	r13, 1
	test	dl, dl
	jne	.L2
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	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
.L8:
	.cfi_restore_state
	mov	rdi, r15
	call	strlen@PLT
	mov	rdi, r15
	lea	rsi, 2[rax]
	call	realloc@PLT
	mov	rsi, r14
	mov	BYTE PTR 23[rsp], 0
	mov	r15, rax
	movzx	eax, BYTE PTR 0[r13]
	mov	rdi, r15
	mov	BYTE PTR 22[rsp], al
	call	strcat@PLT
	jmp	.L5
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mpcf_escape_new, .-mpcf_escape_new
	.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_mpc.c_mpcf_escape_new.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mpcf_escape_new, %function
mpcf_escape_new:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r1
	mov	r1, #1
	mov	r10, r0
	ldr	r3, .L20
	sub	sp, sp, #12
	mov	r0, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	calloc
	ldrb	r5, [r10]	@ zero_extendqisi2
	mov	r6, r0
	cmp	r5, #0
	beq	.L1
	mov	r9, #0
	ldr	fp, [r7]
.L3:
	cmp	fp, #0
	movne	r2, r7
	movne	r4, fp
	subne	r3, r8, #1
	bne	.L6
	b	.L8
.L4:
	ldr	r4, [r2, #4]!
	cmp	r4, #0
	beq	.L8
.L6:
	ldrb	ip, [r3, #1]!	@ zero_extendqisi2
	cmp	ip, r5
	bne	.L4
	mov	r0, r6
	bl	strlen
	mov	r5, r0
	mov	r0, r4
	bl	strlen
	add	r1, r5, r0
	add	r1, r1, #1
	mov	r0, r6
	bl	realloc
	mov	r1, r4
	mov	r6, r0
	bl	strcat
.L5:
	ldrb	r5, [r10, #1]!	@ zero_extendqisi2
	cmp	r5, #0
	bne	.L3
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mov	r0, r6
	bl	strlen
	mov	r1, r0
	mov	r0, r6
	add	r1, r1, #2
	bl	realloc
	mov	r1, sp
	mov	r6, r0
	strb	r5, [sp]
	strb	r9, [sp, #1]
	bl	strcat
	b	.L5
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.size	mpcf_escape_new, .-mpcf_escape_new
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
