	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_path_ancestor_length
_get_path_ancestor_length:              ## @get_path_ancestor_length
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_strlen
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_SVN_PATH_IS_EMPTY
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_SVN_PATH_IS_EMPTY
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	xorl	%eax, %eax
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	-1(%r12), %rax
	leaq	-1(%r15), %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rdi), %edx
	cmpb	(%r14,%rdi), %dl
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$47, %dl
	cmoveq	%rdi, %rcx
	leaq	1(%rdi), %rdx
	cmpq	%rdi, %rsi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rdi, %rax
	movq	%rdx, %rdi
	jne	LBB0_5
LBB0_8:
	cmpq	$1, %rdx
	je	LBB0_10
	jmp	LBB0_12
LBB0_9:
	movq	%rdi, %rdx
	cmpq	$1, %rdx
	jne	LBB0_12
LBB0_10:
	cmpb	$47, (%rbx)
	jne	LBB0_12
## %bb.11:
	movl	$1, %eax
	cmpb	$47, (%r14)
	je	LBB0_21
LBB0_12:
	cmpq	%r15, %rdx
	jne	LBB0_14
## %bb.13:
	cmpb	$47, (%r14,%r15)
	movq	%r15, %rax
	je	LBB0_21
LBB0_14:
	cmpq	%r12, %rdx
	jne	LBB0_17
## %bb.15:
	cmpb	$47, (%rbx,%r12)
	je	LBB0_22
## %bb.16:
	movq	%r12, %rax
	cmpq	%r15, %rdx
	je	LBB0_21
LBB0_17:
	testq	%rcx, %rcx
	jne	LBB0_20
## %bb.18:
	cmpb	$47, (%rbx)
	jne	LBB0_20
## %bb.19:
	movl	$1, %eax
	cmpb	$47, (%r14)
	je	LBB0_21
LBB0_20:
	movq	%rcx, %rax
	jmp	LBB0_21
LBB0_22:
	movq	%r12, %rax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_path_ancestor_length
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_path_ancestor_length
_get_path_ancestor_length:              ; @get_path_ancestor_length
	.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	x19, x1
	mov	x21, x0
	bl	_strlen
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	mov	x0, x21
	bl	_SVN_PATH_IS_EMPTY
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_SVN_PATH_IS_EMPTY
	cbz	x0, LBB0_4
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x0, x20
	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
LBB0_4:
	mov	x10, #0
	mov	x8, #0
	sub	x11, x22, #1
	sub	x12, x20, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21, x10]
	ldrb	w13, [x19, x10]
	cmp	w9, w13
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #47
	csel	x8, x10, x8, eq
	add	x9, x10, #1
	cmp	x12, x10
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x11, x10
	mov	x10, x9
	b.ne	LBB0_5
LBB0_8:
	cmp	x9, #1
	b.eq	LBB0_10
	b	LBB0_12
LBB0_9:
	mov	x9, x10
	cmp	x9, #1
	b.ne	LBB0_12
LBB0_10:
	ldrb	w10, [x21]
	cmp	w10, #47
	b.ne	LBB0_12
; %bb.11:
	ldrb	w10, [x19]
	cmp	w10, #47
	b.eq	LBB0_19
LBB0_12:
	cmp	x9, x20
	b.ne	LBB0_14
; %bb.13:
	ldrb	w10, [x19, x20]
	cmp	w10, #47
	b.eq	LBB0_3
LBB0_14:
	cmp	x9, x22
	b.ne	LBB0_16
; %bb.15:
	ldrb	w10, [x21, x22]
	cmp	w10, #47
	ccmp	x9, x20, #4, ne
	mov	x20, x22
	b.eq	LBB0_3
LBB0_16:
	cbnz	x8, LBB0_20
; %bb.17:
	ldrb	w9, [x21]
	cmp	w9, #47
	b.ne	LBB0_20
; %bb.18:
	ldrb	w9, [x19]
	cmp	w9, #47
	b.ne	LBB0_20
LBB0_19:
	mov	w20, #1
	b	LBB0_3
LBB0_20:
	mov	x20, x8
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_path_ancestor_length
.subsections_via_symbols
