	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpcf_escape_new
_mpcf_escape_new:                       ## @mpcf_escape_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$1, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %r12
	movb	(%rbx), %al
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	leaq	2(%rax), %rsi
	movq	%r12, %rdi
	callq	_realloc
	movq	%rax, %r12
	movb	(%rbx), %al
	movb	%al, -42(%rbp)
	movb	$0, -41(%rbp)
	movq	%r12, %rdi
	leaq	-42(%rbp), %rsi
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_strcat
	movb	1(%rbx), %al
	incq	%rbx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testb	%al, %al
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	(%r14), %al
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15,%rcx,8), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=2
	leaq	1(%rcx), %rdx
	cmpb	1(%r14,%rcx), %al
	movq	%rdx, %rcx
	jne	LBB0_8
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%edx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %rsi
	incq	%rsi
	movq	%r12, %rdi
	callq	_realloc
	movq	%rax, %r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%r15,%rax,8), %rsi
	movq	%r12, %rdi
	jmp	LBB0_10
LBB0_11:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mpcf_escape_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpcf_escape_new
_mpcf_escape_new:                       ; @mpcf_escape_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #1
	mov	w1, #1
	bl	_calloc
	mov	x22, x0
	ldrb	w8, [x21]
	cbz	w8, LBB0_11
; %bb.1:
	add	x25, x20, #1
	add	x26, x19, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_strlen
	add	x1, x0, #2
	mov	x0, x22
	bl	_realloc
	mov	x22, x0
	ldrb	w8, [x21]
	strb	w8, [sp, #14]
	strb	wzr, [sp, #15]
	add	x1, sp, #14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_strcat
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x23, [x19]
	cbz	x23, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x23, [x26, x27, lsl #3]
	cbz	x23, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldrb	w9, [x25, x27]
	add	x27, x27, #1
	cmp	w8, w9
	b.ne	LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_strlen
	mov	x24, x0
	mov	x0, x23
	bl	_strlen
	add	x8, x24, x0
	add	x1, x8, #1
	mov	x0, x22
	bl	_realloc
	mov	x22, x0
	ldr	x1, [x19, w27, uxtw #3]
	b	LBB0_3
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mpcf_escape_new
.subsections_via_symbols
