	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpcf_strfold                   ## -- Begin function mpcf_strfold
	.p2align	4, 0x90
_mpcf_strfold:                          ## @mpcf_strfold
	.cfi_startproc
## %bb.0:
	testl	%edi, %edi
	je	LBB0_3
## %bb.1:
	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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movl	%edi, %r12d
	jle	LBB0_2
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_strlen
	addq	%rax, %r13
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_5
## %bb.6:
	incq	%r13
	jmp	LBB0_7
LBB0_3:
	movl	$1, %edi
	movl	$1, %esi
	jmp	_calloc                         ## TAILCALL
LBB0_2:
	movl	$1, %r13d
LBB0_7:
	movq	(%r15), %rdi
	movq	%r13, %rsi
	callq	_realloc
	movq	%rax, %rdi
	movq	%rax, (%r15)
	cmpl	$2, %r14d
	jl	LBB0_10
## %bb.8:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rsi
	callq	_strcat
	movq	(%r15,%rbx,8), %rdi
	callq	_free
	incq	%rbx
	movq	(%r15), %rdi
	cmpq	%rbx, %r12
	jne	LBB0_9
LBB0_10:
	movq	%rdi, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpcf_strfold                   ; -- Begin function mpcf_strfold
	.p2align	2
_mpcf_strfold:                          ; @mpcf_strfold
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_5
; %bb.1:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_remember_state
	mov	x19, x1
	mov	x20, x0
	mov	w21, w0
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
	mov	x23, x21
	mov	x24, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24], #8
	bl	_strlen
	add	x22, x0, x22
	subs	x23, x23, #1
	b.ne	LBB0_3
; %bb.4:
	add	x1, x22, #1
	b	LBB0_7
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	mov	w0, #1
	mov	w1, #1
	b	_calloc
LBB0_6:
	.cfi_restore_state
	mov	w1, #1
LBB0_7:
	ldr	x0, [x19]
	bl	_realloc
	str	x0, [x19]
	cmp	w20, #1
	b.le	LBB0_10
; %bb.8:
	lsl	x20, x21, #3
	mov	w21, #8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19, x21]
	bl	_strcat
	ldr	x0, [x19, x21]
	bl	_free
	ldr	x0, [x19]
	add	x21, x21, #8
	cmp	x20, x21
	b.ne	LBB0_9
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
