	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function longest_path_match
_longest_path_match:                    ## @longest_path_match
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	%ecx, %esi
	movl	%ecx, %eax
	cmovll	%esi, %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %r11d
	xorl	%ebx, %ebx
	xorl	%r9d, %r9d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rbx), %r10d
	cmpb	(%rdx,%rbx), %r10b
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$47, %r10b
	movl	%r14d, %r10d
	cmovel	%ebx, %r10d
	cmovel	%r14d, %r9d
	incq	%rbx
	movl	%r10d, %r14d
	cmpq	%rbx, %r11
	jne	LBB0_3
## %bb.6:
	cmpl	%ecx, %esi
	jg	LBB0_7
	jmp	LBB0_8
LBB0_1:
	xorl	%r10d, %r10d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	cmpl	%ecx, %esi
	jle	LBB0_8
LBB0_7:
	movslq	%ecx, %rbx
	cmpb	$47, (%rdi,%rbx)
	je	LBB0_13
LBB0_8:
	cmpl	%ecx, %esi
	jge	LBB0_10
## %bb.9:
	movslq	%esi, %rcx
	cmpb	$47, (%rdx,%rcx)
LBB0_10:
	je	LBB0_13
## %bb.11:
	movl	%r10d, %eax
	jmp	LBB0_12
LBB0_4:
	movl	%r14d, %eax
LBB0_12:
	movl	%r9d, %r10d
LBB0_13:
	movl	%r10d, (%r8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_longest_path_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function longest_path_match
_longest_path_match:                    ; @longest_path_match
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	cmp	w1, w3
	csel	w0, w1, w3, lt
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x11, #0
	mov	w9, #0
	mov	w12, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8, x11]
	ldrb	w13, [x2, x11]
	cmp	w10, w13
	b.ne	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w10, #47
	csel	w10, w11, w12, eq
	csel	w9, w12, w9, eq
	add	x11, x11, #1
	mov	x12, x10
	cmp	x0, x11
	b.ne	LBB0_2
; %bb.4:
	cmp	w1, w3
	b.gt	LBB0_6
	b	LBB0_7
LBB0_5:
	mov	w10, #0
	mov	w9, #0
	mov	w0, #0
	cmp	w1, w3
	b.le	LBB0_7
LBB0_6:
	ldrb	w8, [x8, w3, sxtw]
	cmp	w8, #47
	b.eq	LBB0_13
LBB0_7:
	cmp	w1, w3
	b.ge	LBB0_9
; %bb.8:
	ldrb	w8, [x2, w1, sxtw]
	cmp	w8, #47
LBB0_9:
	b.eq	LBB0_13
; %bb.10:
	mov	x0, x10
	b	LBB0_12
LBB0_11:
	mov	x0, x12
LBB0_12:
	mov	x10, x9
LBB0_13:
	str	w10, [x4]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_longest_path_match
.subsections_via_symbols
