	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trim_blanks
_trim_blanks:                           ## @trim_blanks
	.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
	cmpb	$0, (%rdi)
	je	LBB0_13
## %bb.1:
	movq	%r14, %rdi
	callq	_after_blanks
	movq	$-2, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	2(%rax,%rbx), %ecx
	movb	%cl, 2(%r14,%rbx)
	incq	%rbx
	testb	%cl, %cl
	jne	LBB0_2
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rbx), %edi
	callq	_UCH
	movl	%eax, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, (%r14,%rbx)
	decq	%rbx
	jne	LBB0_4
LBB0_6:
	cmpb	$0, (%r14)
	je	LBB0_13
## %bb.7:
	movq	%r14, %r15
	movq	%r14, %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %r12
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movb	(%r12), %al
	movb	%al, (%r15)
	movq	%r12, %rbx
	testb	%al, %al
	je	LBB0_13
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	leaq	1(%rbx), %r12
	incq	%r15
	movsbl	1(%rbx), %edi
	callq	_UCH
	movl	%eax, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movb	$32, (%r12)
	movl	$32, %edi
	callq	_UCH
	movl	%eax, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%rbx), %r12
	movb	$32, 1(%rbx)
	movsbl	2(%rbx), %edi
	callq	_UCH
	movl	%eax, %edi
	callq	_isspace
	movq	%r12, %rbx
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	movq	%r14, %rdi
	callq	_strlen
	decl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_trim_blanks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trim_blanks
_trim_blanks:                           ; @trim_blanks
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_14
; %bb.1:
	mov	x0, x19
	bl	_after_blanks
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x0, x8]
	strb	w9, [x19, x8]
	add	x8, x8, #1
	cbnz	w9, LBB0_2
; %bb.3:
	subs	x20, x8, #2
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x20]
	bl	_UCH
	bl	_isspace
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x19, x20]
	subs	x20, x20, #1
	b.ne	LBB0_4
LBB0_6:
	ldrb	w8, [x19]
	cbz	w8, LBB0_14
; %bb.7:
	mov	w20, #32
	mov	x21, x19
	mov	x22, x19
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, x23
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x22]
	strb	w8, [x21, #1]!
	cbz	w8, LBB0_14
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x23, x22
	ldrsb	w0, [x23, #1]!
	bl	_UCH
	bl	_isspace
	cbz	x0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	strb	w20, [x23]
	mov	w0, #32
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_UCH
	bl	_isspace
	cbz	x0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	strb	w20, [x22, #1]!
	ldrsb	w0, [x22, #1]
	b	LBB0_12
LBB0_14:
	mov	x0, x19
	bl	_strlen
	sub	w0, w0, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_trim_blanks
.subsections_via_symbols
