	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_str_old                ## -- Begin function prepare_str_old
	.p2align	4, 0x90
_prepare_str_old:                       ## @prepare_str_old
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_17
## %bb.1:
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_is_letter
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%r14,%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_2
LBB0_4:
	movslq	%r13d, %rax
	movb	(%r14,%rax), %al
	testb	%al, %al
	je	LBB0_17
## %bb.5:
	movabsq	$4294967296, %r15               ## imm = 0x100000000
	leaq	1(%r14), %r12
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movslq	%r13d, %r13
	movsbl	%al, %edi
	callq	_is_letter
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r12,%r13), %rbx
	shlq	$32, %r13
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	-1(%rbx), %edi
	callq	_ADD_CHAR
	movsbl	(%rbx), %edi
	callq	_is_letter
	addq	%r15, %r13
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	sarq	$32, %r13
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	(%r14,%r13), %al
	testb	%al, %al
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rbx
	shlq	$32, %rbx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_is_letter
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	(%r12,%r13), %eax
	incq	%r13
	addq	%r15, %rbx
	testb	%al, %al
	jne	LBB0_12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, -1(%r12,%r13)
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$43, %edi
	callq	_ADD_CHAR
	sarq	$32, %rbx
	movb	(%r14,%rbx), %al
	testb	%al, %al
	jne	LBB0_6
	jmp	LBB0_17
LBB0_15:
	movl	$43, %edi
	callq	_ADD_CHAR
LBB0_17:
	xorl	%edi, %edi
	callq	_ADD_CHAR
	xorl	%edi, %edi
	callq	_dl_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_prep_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_memcpy
LBB0_19:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prep_buf,8,3                   ## @prep_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_str_old                ; -- Begin function prepare_str_old
	.p2align	2
_prepare_str_old:                       ; @prepare_str_old
	.cfi_startproc
; %bb.0:
	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
	ldrb	w8, [x0]
	cbz	w8, LBB0_18
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	add	x21, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_is_letter
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x20, #1
	ldrb	w8, [x21, x20]
	mov	x20, x22
	cbnz	w8, LBB0_2
; %bb.4:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	ldrb	w8, [x19, w22, sxtw]
	cbnz	w8, LBB0_6
	b	LBB0_18
LBB0_5:
	mov	x22, x20
	ldrb	w8, [x19, w22, sxtw]
	cbz	w8, LBB0_18
LBB0_6:
	add	x20, x19, #1
	mov	x21, #4294967296
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	sxtw	x22, w22
	sxtb	w0, w8
	bl	_is_letter
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	x23, x22, #32
	add	x22, x20, x22
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldursb	w0, [x22, #-1]
	bl	_ADD_CHAR
	ldrsb	w0, [x22]
	bl	_is_letter
	add	x23, x23, x21
	add	x22, x22, #1
	cbnz	x0, LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	asr	x22, x23, #32
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x19, x22]
	cbz	w8, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	lsl	x23, x22, #32
LBB0_13:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_is_letter
	cbnz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x8, x19, x22
	add	x22, x22, #1
	ldrb	w8, [x8, #1]
	add	x23, x23, x21
	cbnz	w8, LBB0_13
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x19, x22]
	cbz	w8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #43
	bl	_ADD_CHAR
	asr	x8, x23, #32
	ldrb	w8, [x19, x8]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	cbnz	w8, LBB0_7
	b	LBB0_18
LBB0_17:
	mov	w0, #43
	bl	_ADD_CHAR
LBB0_18:
	mov	w0, #0
	bl	_ADD_CHAR
	mov	w0, #0
	bl	_dl_malloc
	mov	x19, x0
	cbz	x0, LBB0_20
; %bb.19:
Lloh0:
	adrp	x8, _prep_buf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prep_buf@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_memcpy
LBB0_20:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_prep_buf,8,3                   ; @prep_buf
.subsections_via_symbols
