	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ws_val
_get_ws_val:                            ## @get_ws_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
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_get_ws_next_token
	movb	(%rax), %r12b
	movl	%eax, %ecx
	notl	%ecx
	leal	(%r14,%rcx), %ebx
	addl	%r15d, %ebx
	xorl	%r15d, %r15d
	movl	$30, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rax
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_get_ws_next_token
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rax), %ecx
	cmpb	$10, %cl
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edx, %edx
	cmpb	$9, %cl
	sete	%dl
	leal	(%rdx,%r15,2), %r15d
	movl	%r14d, %ecx
	subl	%eax, %ecx
	addl	%ecx, %ebx
	decl	%ebx
	decl	%r13d
	jne	LBB0_1
LBB0_4:
	movl	%r15d, %eax
	negl	%eax
	cmpb	$9, %r12b
	cmovnel	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_ws_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ws_val
_get_ws_val:                            ; @get_ws_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
	mov	x20, x1
	mov	x19, x0
	bl	_get_ws_next_token
	mov	w23, #0
	ldrb	w21, [x0]
	mvn	w8, w0
	add	w8, w8, w19
	add	w20, w8, w20
	mov	w22, #30
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, #1
	mov	x1, x20
	bl	_get_ws_next_token
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #10
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, #9
	cset	w8, eq
	bfi	w8, w23, #1, #31
	sub	w9, w19, w0
	add	w9, w20, w9
	sub	w20, w9, #1
	mov	x23, x8
	subs	w22, w22, #1
	b.ne	LBB0_1
	b	LBB0_5
LBB0_4:
	mov	x8, x23
LBB0_5:
	cmp	w21, #9
	cneg	w0, w8, eq
	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	_get_ws_val
.subsections_via_symbols
