	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_whiteSpace_collapse            ## -- Begin function whiteSpace_collapse
	.p2align	4, 0x90
_whiteSpace_collapse:                   ## @whiteSpace_collapse
	.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
	movq	%rdi, %r14
	callq	_whiteSpace_replace
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	incq	%rax
	cmpb	$32, %cl
	je	LBB0_1
## %bb.2:
	testb	%cl, %cl
	jne	LBB0_3
## %bb.9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	%cl, (%r14)
	incq	%r14
	movzbl	-1(%rax), %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movsbl	%bl, %edx
	movzbl	(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, %cl
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	$32, %bl
	cmpl	$32, %edx
	je	LBB0_7
	jmp	LBB0_6
LBB0_8:
	xorl	%eax, %eax
	cmpb	$32, %bl
	sete	%al
	negq	%rax
LBB0_10:
	movb	$0, (%r14,%rax)
	popq	%rbx
	popq	%r14
	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	_whiteSpace_collapse            ; -- Begin function whiteSpace_collapse
	.p2align	2
_whiteSpace_collapse:                   ; @whiteSpace_collapse
	.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
	bl	_whiteSpace_replace
	mov	x8, x19
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #1
	cmp	w9, #32
	b.eq	LBB0_1
; %bb.2:
	cbnz	w9, LBB0_4
; %bb.3:
	mov	x8, #0
	b	LBB0_11
LBB0_4:
	mov	w10, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	strb	w9, [x19], #1
	ldurb	w9, [x8, #-1]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w10, w9
	ldrb	w9, [x8], #1
	cbz	w9, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #32
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w10, #32
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w9, #32
	b	LBB0_6
LBB0_10:
	cmp	w10, #32
	csetm	x8, eq
LBB0_11:
	strb	wzr, [x19, x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
