	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stripped_path_suffix_offset
_stripped_path_suffix_offset:           ## @stripped_path_suffix_offset
	.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	%rsi, %r15
	movq	%rdi, %r14
	callq	_strlen
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	%eax, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rbx
	movsbl	-1(%r14,%rbx), %edi
	callq	_is_dir_sep
	movslq	%r13d, %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	-1(%rcx,%r15), %edi
	callq	_is_dir_sep
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_chomp_trailing_dir_sep
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_chomp_trailing_dir_sep
	movl	%eax, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	%rbx
	movzbl	(%r14,%rbx), %eax
	cmpb	-1(%r15,%rcx), %al
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rcx
	movl	%ebx, %r12d
	movl	%ecx, %r13d
	jmp	LBB0_8
LBB0_9:
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.10:
	movslq	%r12d, %rax
	movsbl	-1(%rax,%r14), %edi
	callq	_is_dir_sep
	testq	%rax, %rax
	je	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chomp_trailing_dir_sep         ## TAILCALL
LBB0_11:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stripped_path_suffix_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stripped_path_suffix_offset
_stripped_path_suffix_offset:           ; @stripped_path_suffix_offset
	.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	x20, x1
	mov	x19, x0
	bl	_strlen
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	cbz	w0, LBB0_9
; %bb.1:
	mov	x22, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w22, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w21, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w21
	sub	x23, x8, #1
	ldrsb	w0, [x19, x23]
	bl	_is_dir_sep
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, w22, sxtw
	ldursb	w0, [x8, #-1]
	bl	_is_dir_sep
	cbz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_chomp_trailing_dir_sep
	mov	x21, x0
	mov	x0, x20
	mov	x1, x22
	bl	_chomp_trailing_dir_sep
	mov	x22, x0
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x19, x23]
	sxtw	x9, w22
	sub	x22, x9, #1
	ldrb	w9, [x20, x22]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x23
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_2
LBB0_9:
	cbz	w21, LBB0_11
; %bb.10:
	add	x8, x19, w21, sxtw
	ldursb	w0, [x8, #-1]
	bl	_is_dir_sep
	cbz	x0, LBB0_12
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	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
	b	_chomp_trailing_dir_sep
LBB0_12:
	mov	w0, #-1
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stripped_path_suffix_offset
.subsections_via_symbols
