	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_last_component
_find_last_component:                   ## @find_last_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_strlen
	movslq	%eax, %rsi
	testq	%rsi, %rsi
	movl	$1, %ecx
	cmovleq	%rsi, %rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$2, %rsi
	jl	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-1(%rsi), %rdx
	cmpb	$41, -1(%rbx,%rsi)
	movq	%rdx, %rsi
	jne	LBB0_1
## %bb.3:
	leaq	1(%rdx), %rax
	cmpq	$3, %rax
	jb	LBB0_18
## %bb.4:
	decq	%rdx
	movl	$1, %eax
	leaq	LJTI0_0(%rip), %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rdx), %ecx
	addb	$-40, %cl
	cmpb	$22, %cl
	ja	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%cl, %ecx
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	decl	%eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%eax
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%rdx), %rcx
	cmpq	$2, %rdx
	jl	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, %rdx
	testl	%eax, %eax
	jg	LBB0_5
LBB0_11:
	testq	%rcx, %rcx
	jne	LBB0_12
	jmp	LBB0_18
LBB0_16:
	testl	%eax, %eax
	jg	LBB0_18
## %bb.19:
	addq	$-2, %rcx
	testq	%rcx, %rcx
	je	LBB0_18
LBB0_12:
	jle	LBB0_21
## %bb.13:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$58, (%rbx,%rcx)
	je	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	-1(%rcx), %rdx
	cmpq	$1, %rcx
	movq	%rdx, %rcx
	jg	LBB0_14
	jmp	LBB0_24
LBB0_21:
	addq	%rcx, %rbx
	cmpq	$2, %rcx
	jae	LBB0_23
LBB0_18:
	xorl	%eax, %eax
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_23:
	leaq	-1(%rbx), %rcx
	xorl	%eax, %eax
	cmpb	$58, -1(%rbx)
	cmoveq	%rcx, %rax
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_find_last_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_last_component
_find_last_component:                   ; @find_last_component
	.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
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, #1
	csinc	x9, x8, xzr, lt
	sub	x10, x19, #1
	mov	x12, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x12, #2
	b.lt	LBB0_12
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x11, x12, #1
	ldrb	w13, [x10, x12]
	mov	x12, x11
	cmp	w13, #41
	b.ne	LBB0_1
; %bb.3:
	add	x8, x11, #1
	cmp	x8, #3
	b.lo	LBB0_18
; %bb.4:
	sub	x11, x11, #1
	mov	w9, #1
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19, x11]
	sub	w8, w8, #40
	cmp	w8, #22
	b.hi	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x12, LBB0_7
	ldrb	w13, [x10, x8]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w9, w9, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w9, #1
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x11, #1
	cmp	x11, #2
	b.lt	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x11, x8
	cmp	w9, #0
	b.gt	LBB0_5
LBB0_11:
	cbnz	x8, LBB0_14
	b	LBB0_18
LBB0_12:
	cmp	w8, #0
	b.gt	LBB0_18
; %bb.13:
	sub	x8, x9, #2
	cbz	x8, LBB0_18
LBB0_14:
	cmp	x8, #1
	b.lt	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19, x8]
	cmp	w9, #58
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	subs	x8, x8, #1
	b.gt	LBB0_15
	b	LBB0_18
LBB0_17:
	add	x9, x19, x8
	cmp	x8, #2
	b.hs	LBB0_20
LBB0_18:
	mov	x0, #0
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldrb	w8, [x9, #-1]!
	cmp	w8, #58
	csel	x0, x9, xzr, eq
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
                                        ; -- End function
	.no_dead_strip	_find_last_component
.subsections_via_symbols
