	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_String_trim                    ## -- Begin function String_trim
	.p2align	4, 0x90
_String_trim:                           ## @String_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movabsq	$4294968832, %r15               ## imm = 0x100000600
	.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_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	jmp	LBB0_1
LBB0_4:
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:
	movl	%r14d, %ecx
	decl	%r14d
	movl	%r14d, %eax
	movq	%rcx, %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	movzbl	(%rbx,%rcx), %ecx
	cmpq	$32, %rcx
	ja	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	btq	%rcx, %r15
	jae	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	decq	%r14
	leaq	1(%r14), %rcx
	decl	%eax
	cmpq	$1, %rcx
	ja	LBB0_6
## %bb.9:
	xorl	%r14d, %r14d
LBB0_10:
	leal	1(%r14), %edi
	callq	_xMalloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_strncpy
	movslq	%r14d, %rax
	movb	$0, (%r15,%rax)
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_String_trim                    ; -- Begin function String_trim
	.p2align	2
_String_trim:                           ; @String_trim
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w8, #1
	mov	x9, #1536
	movk	x9, #1, lsl #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x19]
	cmp	w10, #32
	lsl	x10, x8, x10
	and	x10, x10, x9
	ccmp	x10, #0, #4, ls
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x19, x19, #1
	b	LBB0_1
LBB0_3:
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	subs	w8, w0, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w20, w20
	mov	w9, #1
	mov	x10, #1536
	movk	x10, #1, lsl #32
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x19, w8, uxtw]
	cmp	w11, #32
	lsl	x11, x9, x11
	and	x11, x11, x10
	ccmp	x11, #0, #4, ls
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x20, x20, #1
	add	x11, x20, #1
	sub	w8, w8, #1
	cmp	x11, #1
	b.hi	LBB0_5
; %bb.7:
	mov	w20, #0
LBB0_8:
	add	w0, w20, #1
	bl	_xMalloc
	mov	x21, x0
	mov	x1, x19
	mov	x2, x20
	bl	_strncpy
	strb	wzr, [x21, w20, sxtw]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
