	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_last_path_component
_match_last_path_component:             ## @match_last_path_component
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	(%r13), %rdx
	leaq	1(%rax), %r14
	xorl	%eax, %eax
	cmpq	%r14, %rdx
	jb	LBB0_8
## %bb.1:
	movq	%rbx, %rcx
	notq	%rcx
	addq	%rcx, %rdx
	movsbl	(%r15,%rdx), %edi
	callq	_is_dir_sep
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%r13), %rdi
	addq	%r15, %rdi
	subq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_fspathncmp
	testq	%rax, %rax
	movl	$0, %eax
	jne	LBB0_8
## %bb.4:
	movq	(%r13), %rcx
	movl	$1, %eax
	subq	%r14, %rcx
	movq	%rcx, (%r13)
	je	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-1(%rcx,%r15), %edi
	callq	_is_dir_sep
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rcx
	decq	%rcx
	movq	%rcx, (%r13)
	jne	LBB0_5
LBB0_7:
	movl	$1, %eax
	jmp	LBB0_8
LBB0_2:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_match_last_path_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_last_path_component
_match_last_path_component:             ; @match_last_path_component
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_strlen
	ldr	x8, [x19]
	add	x23, x0, #1
	cmp	x8, x23
	b.lo	LBB0_3
; %bb.1:
	mov	x22, x0
	mvn	x9, x0
	add	x8, x8, x9
	ldrsb	w0, [x20, x8]
	bl	_is_dir_sep
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x19]
	add	x8, x20, x8
	sub	x0, x8, x22
	mov	x1, x21
	mov	x2, x22
	bl	_fspathncmp
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19]
	subs	x8, x8, x23
	str	x8, [x19]
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x20
	ldursb	w0, [x8, #-1]
	bl	_is_dir_sep
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.ne	LBB0_6
LBB0_8:
	mov	w0, #1
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_match_last_path_component
.subsections_via_symbols
