	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strip_off_ending               ## -- Begin function strip_off_ending
	.p2align	4, 0x90
_strip_off_ending:                      ## @strip_off_ending
	.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_13
## %bb.1:
	movl	%esi, %eax
	addl	$-3, %esi
	cmpl	$3, %esi
	movl	$3, %ecx
	cmovbl	%esi, %ecx
	cmpb	$46, -2(%rax,%rdi)
	jne	LBB0_3
## %bb.2:
	addq	%rdi, %rax
	addq	$-2, %rax
	jmp	LBB0_12
LBB0_3:
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.4:
	cmpb	$46, -3(%rax,%rdi)
	jne	LBB0_6
## %bb.5:
	addq	%rdi, %rax
	addq	$-3, %rax
	jmp	LBB0_12
LBB0_6:
	addl	$3, %ecx
	cmpl	$4, %ecx
	je	LBB0_13
## %bb.7:
	cmpb	$46, -4(%rax,%rdi)
	jne	LBB0_9
## %bb.8:
	addq	%rdi, %rax
	addq	$-4, %rax
	jmp	LBB0_12
LBB0_9:
	cmpl	$5, %ecx
	je	LBB0_13
## %bb.10:
	cmpb	$46, -5(%rax,%rdi)
	jne	LBB0_13
## %bb.11:
	addq	%rdi, %rax
	addq	$-5, %rax
LBB0_12:
	movb	$0, (%rax)
LBB0_13:
	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	_strip_off_ending               ; -- Begin function strip_off_ending
	.p2align	2
_strip_off_ending:                      ; @strip_off_ending
	.cfi_startproc
; %bb.0:
	subs	w8, w1, #3
	b.lt	LBB0_9
; %bb.1:
	mov	w9, w1
	mov	w10, #3
	cmp	w8, #3
	csel	w10, w8, w10, lo
	add	x8, x9, x0
	ldrb	w11, [x8, #-2]!
	cmp	w11, #46
	b.eq	LBB0_8
; %bb.2:
	cbz	w10, LBB0_9
; %bb.3:
	add	x8, x9, x0
	ldrb	w11, [x8, #-3]!
	cmp	w11, #46
	b.eq	LBB0_8
; %bb.4:
	add	w10, w10, #3
	cmp	w10, #4
	b.eq	LBB0_9
; %bb.5:
	add	x8, x9, x0
	ldrb	w11, [x8, #-4]!
	cmp	w11, #46
	b.eq	LBB0_8
; %bb.6:
	cmp	w10, #5
	b.eq	LBB0_9
; %bb.7:
	add	x8, x9, x0
	ldrb	w9, [x8, #-5]!
	cmp	w9, #46
	b.ne	LBB0_9
LBB0_8:
	strb	wzr, [x8]
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
