	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_NewString                    ## -- Begin function G_NewString
	.p2align	4, 0x90
_G_NewString:                           ## @G_NewString
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_strlen
	movl	%eax, %ebx
	leal	1(%rbx), %edi
	callq	_G_Alloc
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.1:
	xorl	%esi, %esi
	movl	$10, %r8d
	movq	%rax, %rdx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	%dil, (%rdx)
	incq	%rdx
	leal	1(%rsi), %ecx
	cmpl	%ebx, %esi
	movl	%ecx, %esi
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%esi, %rcx
	movzbl	(%r14,%rcx), %edi
	cmpb	$92, %dil
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %esi
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$110, 1(%r14,%rcx)
	leaq	1(%rcx), %rsi
	movl	$92, %edi
	cmovel	%r8d, %edi
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	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	_G_NewString                    ; -- Begin function G_NewString
	.p2align	2
_G_NewString:                           ; @G_NewString
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_strlen
	mov	x20, x0
	add	w0, w0, #1
	bl	_G_Alloc
	tbnz	w20, #31, LBB0_5
; %bb.1:
	mov	w11, #0
	mov	w8, #92
	mov	w9, #10
	mov	x10, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w12, [x10], #1
	add	w12, w11, #1
	cmp	w11, w20
	mov	x11, x12
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x13, w11
	ldrb	w12, [x19, x13]
	cmp	w12, #92
	ccmp	w11, w20, #0, eq
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x13, #1
	ldrb	w12, [x19, x11]
	cmp	w12, #110
	csel	w12, w9, w8, eq
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
