	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExtractFileBase                ## -- Begin function ExtractFileBase
	.p2align	4, 0x90
_ExtractFileBase:                       ## @ExtractFileBase
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_strlen
	cltq
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-2(%rbx,%rax), %ecx
	decq	%rax
	cmpb	$92, %cl
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$47, %cl
	jne	LBB0_1
LBB0_4:
	addq	%rax, %rbx
LBB0_5:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rax), %ecx
	testb	%cl, %cl
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$46, %cl
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	%cl, (%r14,%rax)
	incq	%rax
	jmp	LBB0_6
LBB0_9:
	movb	$0, (%r14,%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExtractFileBase                ; -- Begin function ExtractFileBase
	.p2align	2
_ExtractFileBase:                       ; @ExtractFileBase
	.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, x1
	mov	x20, x0
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x9, w0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	x8, x9, #1
	b.eq	LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x9, x20, x9
	ldurb	w10, [x9, #-2]
	cmp	w10, #92
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x9, x8
	cmp	w10, #47
	b.ne	LBB0_1
LBB0_4:
	add	x20, x20, x8
LBB0_5:
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #46
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	strb	w8, [x19], #1
	ldrb	w8, [x20]
	cbnz	w8, LBB0_6
LBB0_8:
	strb	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
