	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkPrefix
_mkPrefix:                              ## @mkPrefix
	.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
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdx, %r15
	xorl	%ebx, %ebx
	testl	%edi, %edi
	jle	LBB0_7
## %bb.1:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$3, %ecx
	jl	LBB0_7
## %bb.2:
	movq	%rsi, %r12
	movl	%edi, %r13d
	movq	(%rsi), %rdi
	callq	_strlen
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leal	-1(%r14), %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movq	(%r12), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_strncpy
	cmpl	$2, %r13d
	jb	LBB0_7
## %bb.3:
	leal	-2(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %ebx
	jge	LBB0_7
## %bb.4:
	movl	%r13d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$2, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %r14
	movb	$32, (%r15,%r14)
	movq	-8(%r12,%r13,8), %rdi
	callq	_strlen
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	subl	%r14d, %ebx
	addl	$-2, %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	leaq	(%r15,%r14), %rdi
	incq	%rdi
	movq	-8(%r12,%r13,8), %rsi
	movl	%ebx, %edx
	callq	_strncpy
	addl	%r14d, %ebx
	incl	%ebx
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jl	LBB0_5
LBB0_7:
	movslq	%ebx, %rax
	movb	$0, (%r15,%rax)
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mkPrefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkPrefix
_mkPrefix:                              ; @mkPrefix
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w22, #0
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x3
	cmp	w3, #3
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x1
	mov	x23, x0
	ldr	x0, [x1]
	bl	_strlen
	sub	w8, w20, #1
	cmp	w0, w8
	csel	w22, w0, w8, lt
	ldr	x1, [x21]
	mov	x0, x19
	mov	x2, x22
	bl	_strncpy
	cmp	w23, #2
	b.lo	LBB0_7
; %bb.3:
	sub	w24, w20, #2
	cmp	w22, w24
	b.ge	LBB0_7
; %bb.4:
	mov	w23, w23
	mov	w25, #1
	mov	w26, #32
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x8, w22
	add	x27, x8, #1
	strb	w26, [x19, x8]
	lsl	x28, x25, #3
	ldr	x0, [x21, x28]
	bl	_strlen
	sub	w8, w20, w22
	sub	w8, w8, #2
	cmp	w0, w8
	csel	w22, w0, w8, lt
	add	x0, x19, x27
	ldr	x1, [x21, x28]
	mov	x2, x22
	bl	_strncpy
	add	w22, w22, w27
	add	x25, x25, #1
	cmp	x25, x23
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w22, w24
	b.lt	LBB0_5
LBB0_7:
	strb	wzr, [x19, w22, sxtw]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mkPrefix
.subsections_via_symbols
