	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chop_spaces_utf8
_chop_spaces_utf8:                      ## @chop_spaces_utf8
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	testl	%esi, %esi
	jle	LBB0_7
## %bb.1:
	movl	%eax, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, -1(%rdi,%rcx)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %ecx
	jb	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, -2(%rdi,%rcx)
	js	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rcx
	leal	1(%rcx), %edx
	cmpl	$1, %edx
	jg	LBB0_2
LBB0_7:
	popq	%rbp
	retq
LBB0_6:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_chop_spaces_utf8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chop_spaces_utf8
_chop_spaces_utf8:                      ; @chop_spaces_utf8
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w1, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x1
	ldurb	w8, [x8, #-1]
	cmp	w8, #32
	b.ne	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w1, #2
	b.lo	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x0, x1
	ldursb	w8, [x8, #-2]
	tbnz	w8, #31, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x1, x1, #1
	add	w8, w1, #1
	cmp	w8, #1
	b.gt	LBB0_2
LBB0_6:
	mov	w1, #0
LBB0_7:
	mov	x0, x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_chop_spaces_utf8
.subsections_via_symbols
