	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_path_component_count       ## -- Begin function svn_path_component_count
	.p2align	4, 0x90
_svn_path_component_count:              ## @svn_path_component_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_is_canonical
	movl	%eax, %edi
	callq	_assert
	movb	(%rbx), %cl
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$1, %rdx
	sbbq	$-1, %rax
	addq	%rdx, %rbx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_5 Depth 2
	testb	%cl, %cl
	je	LBB0_8
	.p2align	4, 0x90
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$47, %cl
	jne	LBB0_3
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rbx), %ecx
	incq	%rbx
	cmpb	$47, %cl
	je	LBB0_9
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edx, %edx
	testb	%cl, %cl
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$47, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	1(%rbx,%rdx), %ecx
	incq	%rdx
	testb	%cl, %cl
	jne	LBB0_5
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	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	_svn_path_component_count       ; -- Begin function svn_path_component_count
	.p2align	2
_svn_path_component_count:              ; @svn_path_component_count
	.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	x1, x0
	mov	x0, x19
	bl	_is_canonical
	bl	_assert
	ldrb	w8, [x19]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x0, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x19, #1]!
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, #47
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
	cbz	w8, LBB0_7
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #47
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x8, x19, x9
	ldrb	w8, [x8, #1]
	add	x9, x9, #1
	cbnz	w8, LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x9, #0
	cinc	x0, x0, ne
	add	x19, x19, x9
	cbnz	w8, LBB0_3
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
