	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_component_string
_next_component_string:                 ## @next_component_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
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %r15
LBB0_2:
	movb	(%r15), %cl
	testb	%cl, %cl
	je	LBB0_3
## %bb.4:
	movq	%r15, %rbx
	cmpb	$34, %cl
	je	LBB0_13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rax
	movzbl	(%rax), %ecx
	movq	%rax, %rbx
	cmpb	$34, %cl
	jne	LBB0_6
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %rdi
	movl	$34, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	addq	%rax, %rbx
	movzbl	(%rbx), %ecx
	cmpb	$34, %cl
	je	LBB0_13
LBB0_6:
	testb	%cl, %cl
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_strcspn
	leaq	(%rbx,%rax), %rcx
	cmpb	$0, (%rbx,%rax)
	je	LBB0_8
## %bb.16:
	movb	$0, (%rcx)
	leaq	1(%rcx), %rax
	movq	%rax, (%r14)
	cmpb	$34, (%r15)
	jne	LBB0_21
## %bb.17:
	cmpb	$34, -1(%rcx)
	jne	LBB0_21
## %bb.18:
	leaq	1(%r15), %rax
	cmpq	%rcx, %rax
	jae	LBB0_21
## %bb.19:
	decq	%rcx
	jmp	LBB0_20
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_21
LBB0_8:
	movq	%rcx, %rbx
LBB0_9:
	movq	%rbx, (%r14)
	cmpb	$34, (%r15)
	jne	LBB0_21
## %bb.10:
	cmpb	$34, -1(%rbx)
	jne	LBB0_21
## %bb.11:
	leaq	1(%r15), %rax
	cmpq	%rbx, %rax
	jae	LBB0_21
## %bb.12:
	decq	%rbx
	movq	%rbx, %rcx
LBB0_20:
	movb	$0, (%rcx)
	movq	%rax, %r15
LBB0_21:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_next_component_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_component_string
_next_component_string:                 ; @next_component_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	x22, x1
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.1:
	ldrb	w8, [x19]
	cbz	w8, LBB0_14
LBB0_2:
	mov	x21, x19
	cmp	w8, #34
	b.eq	LBB0_4
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x0, #1
	ldrb	w8, [x21]
	cmp	w8, #34
	b.ne	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, #1
	mov	w1, #34
	bl	_strchr
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_strlen
	add	x21, x21, w0, sxtw
	ldrb	w8, [x21]
	cmp	w8, #34
	b.eq	LBB0_4
LBB0_6:
	cbz	w8, LBB0_9
; %bb.7:
	mov	x0, x21
	mov	x1, x22
	bl	_strcspn
	add	x21, x21, x0
	ldrb	w8, [x21]
	cbz	w8, LBB0_9
; %bb.8:
	mov	x8, x21
	strb	wzr, [x8], #1
	str	x8, [x20]
	b	LBB0_10
LBB0_9:
	str	x21, [x20]
LBB0_10:
	ldrb	w8, [x19]
	cmp	w8, #34
	b.ne	LBB0_15
; %bb.11:
	mov	x8, x21
	ldrb	w10, [x8, #-1]!
	add	x9, x19, #1
	cmp	w10, #34
	ccmp	x9, x21, #2, eq
	b.hs	LBB0_15
; %bb.12:
	mov	x19, x9
	strb	wzr, [x8]
	b	LBB0_15
LBB0_13:
	ldr	x19, [x20]
	ldrb	w8, [x19]
	cbnz	w8, LBB0_2
LBB0_14:
	mov	x19, #0
LBB0_15:
	mov	x0, x19
	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	_next_component_string
.subsections_via_symbols
