	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trim                           ## -- Begin function trim
	.p2align	4, 0x90
_trim:                                  ## @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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$9, %al
	je	LBB0_19
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$32, %al
	je	LBB0_19
## %bb.3:
	testb	%al, %al
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rax
	testq	%r14, %r14
	jne	LBB0_17
	jmp	LBB0_18
LBB0_5:
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %rcx
	decq	%rcx
	cmpq	%rbx, %rcx
	ja	LBB0_6
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, (%rcx)
	decq	%rcx
	cmpq	%rbx, %rcx
	jbe	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %eax
	cmpb	$32, %al
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$9, %al
	je	LBB0_8
LBB0_10:
	testq	%r15, %r15
	je	LBB0_15
## %bb.11:
	cmpq	%rcx, %rbx
	je	LBB0_15
## %bb.12:
	cmpb	$34, (%rcx)
	jne	LBB0_15
## %bb.13:
	cmpb	$34, (%rbx)
	jne	LBB0_15
## %bb.14:
	incq	%rbx
	movb	$0, (%rcx)
	jmp	LBB0_15
LBB0_9:
	movq	%rbx, %rcx
LBB0_15:
	movq	%rbx, %rax
	movq	%rcx, %rbx
	testq	%r14, %r14
	je	LBB0_18
LBB0_17:
	movq	%rbx, (%r14)
LBB0_18:
	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	_trim                           ; -- Begin function trim
	.p2align	2
_trim:                                  ; @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	x21, x2
	mov	x19, x1
	mov	x20, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #9
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #32
	b.eq	LBB0_1
; %bb.4:
	mov	x0, x20
	cbnz	w8, LBB0_8
; %bb.5:
	cbz	x19, LBB0_7
LBB0_6:
	str	x20, [x19]
LBB0_7:
	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
LBB0_8:
	bl	_strlen
	add	x8, x20, w0, sxtw
	sub	x8, x8, #1
	cmp	x8, x20
	b.ls	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cmp	w9, #32
	ccmp	w9, #9, #4, ne
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	strb	wzr, [x8], #-1
	cmp	x8, x20
	b.hi	LBB0_9
; %bb.11:
	mov	x8, x20
	b	LBB0_17
LBB0_12:
	cbz	x21, LBB0_17
; %bb.13:
	cmp	x20, x8
	b.eq	LBB0_17
; %bb.14:
	ldrb	w9, [x8]
	cmp	w9, #34
	b.ne	LBB0_17
; %bb.15:
	ldrb	w9, [x20]
	cmp	w9, #34
	b.ne	LBB0_17
; %bb.16:
	add	x20, x20, #1
	strb	wzr, [x8]
LBB0_17:
	mov	x0, x20
	mov	x20, x8
	cbnz	x19, LBB0_6
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
