	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_string                   ## -- Begin function parse_string
	.p2align	4, 0x90
_parse_string:                          ## @parse_string
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movb	(%r15), %al
	cmpb	$34, %al
	jne	LBB0_8
## %bb.1:
	incq	%r15
	movq	%r15, %rdi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, (%r14)
	movzbl	(%rdi), %eax
	cmpb	$92, %al
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%al, %al
	je	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$34, %al
	jne	LBB0_7
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, 1(%rdi)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	movq	%rdi, (%r14)
	jmp	LBB0_7
LBB0_8:
	leaq	1(%r15), %rdi
	testl	%esi, %esi
	je	LBB0_13
## %bb.9:
	movabsq	$576478348784444929, %rcx       ## imm = 0x800100100002601
	cmpb	$59, %al
	ja	LBB0_11
	.p2align	4, 0x90
LBB0_17:
	movzbl	%al, %edx
	btq	%rdx, %rcx
	jb	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$93, %al
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rdi, (%r14)
	movzbl	(%rdi), %eax
	incq	%rdi
	cmpb	$59, %al
	jbe	LBB0_17
	jmp	LBB0_11
LBB0_13:
	movabsq	$576478344489477121, %rcx       ## imm = 0x800100000002401
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%rdi, (%r14)
	movzbl	(%rdi), %eax
	incq	%rdi
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$59, %al
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movzbl	%al, %eax
	btq	%rax, %rcx
	jae	LBB0_16
LBB0_18:
	decq	%rdi
LBB0_19:
	cmpq	%r15, %rdi
	je	LBB0_20
## %bb.21:
	subl	%r15d, %edi
	incl	%edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$1, %esi
	callq	_scalloc
	movq	(%r14), %rcx
	subq	%r15, %rcx
	testq	%rcx, %rcx
	jle	LBB0_28
## %bb.22:
	xorl	%esi, %esi
	movq	%rax, %rcx
	xorl	%edx, %edx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%rsi
	movl	%esi, %edx
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	movslq	%edx, %rdx
	movzbl	(%r15,%rdx), %ebx
	movb	%bl, (%rcx)
	incl	%edx
	movslq	%edx, %rsi
	movq	(%r14), %rdi
	subq	%r15, %rdi
	incq	%rcx
	cmpq	%rsi, %rdi
	jle	LBB0_28
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$92, (%r15,%rsi)
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movslq	%edx, %rsi
	movzbl	1(%r15,%rsi), %ebx
	cmpb	$92, %bl
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpb	$34, %bl
	je	LBB0_26
	jmp	LBB0_27
LBB0_20:
	xorl	%eax, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	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	_parse_string                   ; -- Begin function parse_string
	.p2align	2
_parse_string:                          ; @parse_string
	.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
	ldr	x20, [x0]
	ldrb	w8, [x20]
	cmp	w8, #34
	b.ne	LBB0_8
; %bb.1:
	add	x20, x20, #1
	mov	x8, x20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x19]
	ldrb	w9, [x8]
	cmp	w9, #92
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w9, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, #34
	b.ne	LBB0_2
	b	LBB0_18
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, x8
	ldrb	w10, [x9, #1]!
	cbz	w10, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [x19]
	mov	x8, x9
	b	LBB0_2
LBB0_8:
	add	x9, x20, #1
	mov	w10, #1
	cbz	w1, LBB0_13
; %bb.9:
	mov	x11, #9729
	movk	x11, #4097, lsl #32
	movk	x11, #2048, lsl #48
	cmp	w8, #59
	b.hi	LBB0_11
LBB0_10:
	mov	w12, w8
	lsl	x12, x10, x12
	tst	x12, x11
	b.ne	LBB0_17
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	w8, #93
	b.eq	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	str	x9, [x19]
	ldrb	w8, [x9], #1
	cmp	w8, #59
	b.ls	LBB0_10
	b	LBB0_11
LBB0_13:
	mov	x11, #9217
	movk	x11, #4096, lsl #32
	movk	x11, #2048, lsl #48
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	str	x9, [x19]
	ldrb	w8, [x9], #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cmp	w8, #59
	b.hi	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w8, w8
	lsl	x8, x10, x8
	tst	x8, x11
	b.eq	LBB0_14
LBB0_17:
	sub	x8, x9, #1
LBB0_18:
	cmp	x8, x20
	b.eq	LBB0_26
; %bb.19:
	sub	w8, w8, w20
	add	w0, w8, #1
	mov	w1, #1
	bl	_scalloc
	ldr	x8, [x19]
	sub	x8, x8, x20
	cmp	x8, #1
	b.lt	LBB0_27
; %bb.20:
	mov	x10, #0
	mov	w8, #0
	mov	x9, x0
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	x8, x10
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	ldrb	w10, [x20, w8, sxtw]
	strb	w10, [x9], #1
	add	w8, w8, #1
	sxtw	x10, w8
	ldr	x11, [x19]
	sub	x11, x11, x20
	cmp	x11, x10
	b.le	LBB0_27
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20, x10]
	cmp	w10, #92
	b.ne	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x10, x8
	sxtw	x10, w10
	add	x10, x10, #1
	ldrb	w11, [x20, x10]
	cmp	w11, #92
	b.eq	LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	cmp	w11, #34
	b.eq	LBB0_21
	b	LBB0_22
LBB0_26:
	mov	x0, #0
LBB0_27:
	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
