	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Util_trim                      ## -- Begin function Util_trim
	.p2align	4, 0x90
_Util_trim:                             ## @Util_trim
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$-1, %r12d
	movabsq	$4294977024, %r15               ## imm = 0x100002600
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpq	$32, %rax
	ja	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	btq	%rax, %r15
	jae	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	incl	%r12d
	jmp	LBB0_1
LBB0_3:
	testq	%rax, %rax
	jne	LBB0_4
## %bb.10:
	movb	$0, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rdx
	leaq	(%r14,%rdx), %rax
	subl	%r12d, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rax), %ecx
	cmpq	$32, %rcx
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	btq	%rcx, %r15
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%rax
	decl	%edx
	jmp	LBB0_5
LBB0_8:
	movb	$0, (%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memmove                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Util_trim                      ; -- Begin function Util_trim
	.p2align	2
_Util_trim:                             ; @Util_trim
	.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
	mov	x20, #0
	mov	w8, #1
	mov	x9, #9728
	movk	x9, #1, lsl #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x19, x20]
	cmp	w10, #32
	b.hi	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	lsl	x11, x8, x10
	tst	x11, x9
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, #1
	b	LBB0_1
LBB0_4:
	cbnz	x10, LBB0_6
; %bb.5:
	strb	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	bl	_strlen
	add	x8, x19, w0, sxtw
	sub	w9, w0, w20
	add	w2, w9, #1
	add	x1, x19, x20
	mov	w9, #1
	mov	x10, #9728
	movk	x10, #1, lsl #32
	mov	x11, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x11, #-1]!
	cmp	w12, #32
	lsl	x12, x9, x12
	and	x12, x12, x10
	ccmp	x12, #0, #4, ls
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w2, w2, #1
	mov	x8, x11
	b	LBB0_7
LBB0_9:
	strb	wzr, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memmove
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
