	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cstr_remove_extra_spaces       ## -- Begin function cstr_remove_extra_spaces
	.p2align	4, 0x90
_cstr_remove_extra_spaces:              ## @cstr_remove_extra_spaces
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %cl
	movq	%rdi, %rsi
	testb	%cl, %cl
	je	LBB0_7
## %bb.1:
	leaq	1(%rdi), %rdx
	movb	$32, %al
	movq	%rdi, %rsi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	%cl, (%rsi)
	incq	%rsi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	movzbl	(%rdx), %ecx
	incq	%rdx
	testb	%cl, %cl
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$32, %cl
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$32, %al
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$32, %cl
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$32, (%rsi)
	jne	LBB0_9
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, (%rsi)
	decq	%rsi
	cmpq	%rdi, %rsi
	jae	LBB0_8
LBB0_9:
	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	_cstr_remove_extra_spaces       ; -- Begin function cstr_remove_extra_spaces
	.p2align	2
_cstr_remove_extra_spaces:              ; @cstr_remove_extra_spaces
	.cfi_startproc
; %bb.0:
	ldrb	w9, [x0]
	mov	x8, x0
	cbz	w9, LBB0_8
; %bb.1:
	add	x10, x0, #1
	mov	w11, #32
	mov	x8, x0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w9, [x8], #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, x9
	ldrb	w9, [x10], #1
	cbz	w9, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #32
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #32
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #32
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x8], #-1
	cmp	x8, x0
	b.hs	LBB0_7
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
