	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_string
_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	xorl	%r12d, %r12d
	cmpb	$0, (%rsi)
	movl	$0, %eax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movsbl	(%rax), %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rbx), %ecx
	incq	%rbx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	testb	%cl, %cl
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edx
	movsbl	(%rbx), %ecx
	xorl	%r12d, %r12d
	cmpl	%ecx, %eax
	sete	%r12b
	addl	%edx, %r12d
	cmpl	%ecx, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r15d, %r12d
	je	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$92, %cl
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%cl, %cl
	jne	LBB0_9
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_parsed_string                  ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_string
_parse_string:                          ; @parse_string
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	ldr	x21, [x0]
	ldrb	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_strpbrk
	cbz	x0, LBB0_10
; %bb.2:
	ldrsb	w8, [x0]
LBB0_3:
	mov	w9, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w10, [x21, #1]!
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	cbz	w10, LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w10, [x21]
	cmp	w8, w10
	cinc	w9, w9, eq
	ccmp	w9, w20, #0, eq
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w10, w10, #0xff
	cmp	w10, #92
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w10, LBB0_5
LBB0_9:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_parsed_string
LBB0_10:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_string
.subsections_via_symbols
