	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_suffix
_remove_suffix:                         ## @remove_suffix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$3, %esi
	jl	LBB0_19
## %bb.1:
	movl	%esi, %eax
	addl	$-3, %esi
	cmpl	$5, %esi
	movl	$5, %ecx
	cmovbl	%esi, %ecx
	cmpb	$46, -2(%rax,%rdi)
	jne	LBB0_3
## %bb.2:
	addq	%rdi, %rax
	addq	$-2, %rax
	jmp	LBB0_18
LBB0_3:
	testl	%ecx, %ecx
	je	LBB0_19
## %bb.4:
	cmpb	$46, -3(%rax,%rdi)
	jne	LBB0_6
## %bb.5:
	addq	%rdi, %rax
	addq	$-3, %rax
	jmp	LBB0_18
LBB0_6:
	addl	$3, %ecx
	cmpl	$4, %ecx
	je	LBB0_19
## %bb.7:
	cmpb	$46, -4(%rax,%rdi)
	jne	LBB0_9
## %bb.8:
	addq	%rdi, %rax
	addq	$-4, %rax
	jmp	LBB0_18
LBB0_9:
	cmpl	$5, %ecx
	je	LBB0_19
## %bb.10:
	cmpb	$46, -5(%rax,%rdi)
	jne	LBB0_12
## %bb.11:
	addq	%rdi, %rax
	addq	$-5, %rax
	jmp	LBB0_18
LBB0_12:
	cmpl	$6, %ecx
	je	LBB0_19
## %bb.13:
	cmpb	$46, -6(%rax,%rdi)
	jne	LBB0_15
## %bb.14:
	addq	%rdi, %rax
	addq	$-6, %rax
	jmp	LBB0_18
LBB0_15:
	cmpl	$7, %ecx
	je	LBB0_19
## %bb.16:
	cmpb	$46, -7(%rax,%rdi)
	jne	LBB0_19
## %bb.17:
	addq	%rdi, %rax
	addq	$-7, %rax
LBB0_18:
	movb	$0, (%rax)
LBB0_19:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_remove_suffix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_suffix
_remove_suffix:                         ; @remove_suffix
	.cfi_startproc
; %bb.0:
	subs	w9, w1, #3
	b.lt	LBB0_13
; %bb.1:
	mov	w8, w1
	mov	w10, #5
	cmp	w9, #5
	csel	w10, w9, w10, lo
	add	x9, x8, x0
	ldrb	w11, [x9, #-2]!
	cmp	w11, #46
	b.eq	LBB0_12
; %bb.2:
	cbz	w10, LBB0_13
; %bb.3:
	add	x9, x8, x0
	ldrb	w11, [x9, #-3]!
	cmp	w11, #46
	b.eq	LBB0_12
; %bb.4:
	add	w10, w10, #3
	cmp	w10, #4
	b.eq	LBB0_13
; %bb.5:
	add	x9, x8, x0
	ldrb	w11, [x9, #-4]!
	cmp	w11, #46
	b.eq	LBB0_12
; %bb.6:
	cmp	w10, #5
	b.eq	LBB0_13
; %bb.7:
	add	x9, x8, x0
	ldrb	w11, [x9, #-5]!
	cmp	w11, #46
	b.eq	LBB0_12
; %bb.8:
	cmp	w10, #6
	b.eq	LBB0_13
; %bb.9:
	add	x9, x8, x0
	ldrb	w11, [x9, #-6]!
	cmp	w11, #46
	b.eq	LBB0_12
; %bb.10:
	cmp	w10, #7
	b.eq	LBB0_13
; %bb.11:
	add	x9, x8, x0
	ldrb	w8, [x9, #-7]!
	cmp	w8, #46
	b.ne	LBB0_13
LBB0_12:
	strb	wzr, [x9]
LBB0_13:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_remove_suffix
.subsections_via_symbols
