	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StripExtension                 ## -- Begin function StripExtension
	.p2align	4, 0x90
_StripExtension:                        ## @StripExtension
	.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
                                        ## kill: def $eax killed $eax def $rax
	decl	%eax
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%eax, %ecx
	leaq	(%rax,%rbx), %rdx
	movl	%eax, %esi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%esi, %esi
	jle	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, (%rdx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%esi
	decq	%rdx
	cmpb	$47, (%rbx,%rsi)
	jne	LBB0_1
	jmp	LBB0_7
LBB0_5:
	testl	%eax, %eax
	jns	LBB0_7
	jmp	LBB0_6
LBB0_3:
	movl	%esi, %ecx
LBB0_6:
	movslq	%ecx, %rax
	movb	$0, (%rbx,%rax)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	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	_StripExtension                 ; -- Begin function StripExtension
	.p2align	2
_StripExtension:                        ; @StripExtension
	.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
	sub	w8, w0, #1
	cmp	w8, #0
	csel	w9, w8, wzr, lt
	add	x10, x19, x8
	mov	x11, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	w12, w11, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w13, [x10]
	cmp	w13, #46
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w13, [x19, w12, uxtw]
	sub	x10, x10, #1
	mov	x11, x12
	cmp	w13, #47
	b.ne	LBB0_1
	b	LBB0_6
LBB0_4:
	mov	x11, x9
	tbz	w8, #31, LBB0_6
LBB0_5:
	strb	wzr, [x19, w11, sxtw]
LBB0_6:
	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
