	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_trim_ws
_xo_trim_ws:                            ## @xo_trim_ws
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movslq	%esi, %rax
	movq	%rdi, %rsi
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	leaq	(%rdi,%rax), %rcx
	movq	%rdi, %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, (%rsi)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rcx, %rsi
	jb	LBB0_2
LBB0_4:
	movl	%esi, %ecx
	subl	%edi, %ecx
	je	LBB0_6
## %bb.5:
	subl	%ecx, %ebx
	movl	%ebx, %edx
	callq	_memmove
	movq	(%r14), %rdi
	movslq	%ebx, %rax
LBB0_6:
	addq	%rdi, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %ecx
	cmpq	%rax, %rdi
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$32, -1(%rax)
	leaq	-1(%rax), %rax
	leal	1(%rcx), %edx
	je	LBB0_7
LBB0_9:
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.10:
	subl	%ecx, %ebx
	movslq	%ebx, %rax
	movb	$0, (%rdi,%rax)
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xo_trim_ws
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_trim_ws
_xo_trim_ws:                            ; @xo_trim_ws
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	ldr	x0, [x0]
	sxtw	x9, w1
	mov	x8, x0
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	add	x10, x0, x9
	mov	x8, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8]
	cmp	w11, #32
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x8, x10
	b.lo	LBB0_2
LBB0_4:
	subs	w10, w8, w0
	b.eq	LBB0_6
; %bb.5:
	sub	w20, w1, w10
	mov	x1, x8
	mov	x2, x20
	bl	_memmove
	ldr	x0, [x19]
	sxtw	x9, w20
	mov	x1, x20
LBB0_6:
	mov	x11, #0
	mov	w8, w1
	add	x10, x0, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x11
	add	x11, x10, x11
	cmp	x0, x11
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldurb	w12, [x11, #-1]
	sub	x11, x9, #1
	cmp	w12, #32
	b.eq	LBB0_7
LBB0_9:
	cbz	w9, LBB0_11
; %bb.10:
	add	x8, x8, x9
	strb	wzr, [x0, w8, sxtw]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_11:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xo_trim_ws
.subsections_via_symbols
