	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clean_val
_clean_val:                             ## @clean_val
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	leaq	-1(%rbx), %r14
	cmpb	$0, -1(%rbx)
	je	LBB0_10
## %bb.3:
	leaq	-2(%rbx), %r13
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r12
	leaq	(%r15,%r13), %rax
	cmpq	%r14, %rax
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movsbl	(%r12,%r15), %edi
	callq	_isspace
	leaq	-1(%r12), %r13
	testq	%rax, %rax
	jne	LBB0_4
LBB0_6:
	movb	$0, 1(%r12,%r15)
	movb	(%r14), %al
	cmpb	$34, %al
	je	LBB0_11
## %bb.7:
	cmpb	$39, %al
	jne	LBB0_10
## %bb.8:
	cmpb	$39, (%r12,%r15)
	jne	LBB0_10
LBB0_9:
	movb	$0, (%r12,%r15)
	movq	%rbx, %r14
LBB0_10:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpb	$34, (%r12,%r15)
	je	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_clean_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clean_val
_clean_val:                             ; @clean_val
	.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
	sub	x20, x0, #2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20, #2]
	bl	_isspace
	add	x20, x20, #1
	cbnz	x0, LBB0_1
; %bb.2:
	mov	x19, x20
	ldrb	w8, [x19, #1]!
	cbz	w8, LBB0_10
; %bb.3:
	add	x21, x19, #1
	mov	x0, x19
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	add	x23, x20, x8
	cmp	x23, x19
	b.ls	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x20, x22]
	bl	_isspace
	sub	x8, x22, #1
	cbnz	x0, LBB0_4
LBB0_6:
	strb	wzr, [x23, #1]
	ldrb	w8, [x20, #1]
	cmp	w8, #34
	b.eq	LBB0_11
; %bb.7:
	cmp	w8, #39
	b.ne	LBB0_10
; %bb.8:
	ldrb	w8, [x20, x22]
	cmp	w8, #39
	b.ne	LBB0_10
LBB0_9:
	strb	wzr, [x20, x22]
	mov	x19, x21
LBB0_10:
	mov	x0, x19
	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
LBB0_11:
	ldrb	w8, [x20, x22]
	cmp	w8, #34
	b.eq	LBB0_9
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_clean_val
.subsections_via_symbols
