	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function value
_value:                                 ## @value
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_JV_PARSE_STREAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%rdi), %ebx
	movl	24(%rdi), %edi
	callq	_jv_is_valid
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_JV_LAST_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%r15)
	je	LBB0_3
## %bb.4:
	cmpq	$0, 16(%r15)
	jg	LBB0_6
## %bb.5:
	movq	_JV_LAST_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, 8(%r15)
	jmp	LBB0_8
LBB0_7:
	testq	%rax, %rax
	je	LBB0_8
LBB0_3:
	movl	%r14d, %edi
	callq	_jv_free
	leaq	L_.str(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movl	24(%r15), %edi
	callq	_jv_free
	movl	%r14d, 24(%r15)
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_PARSE_STREAMING,4,2         ## @JV_PARSE_STREAMING
	.comm	_JV_LAST_VALUE,8,3              ## @JV_LAST_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Expected separator between values"

	.comm	_JV_LAST_NONE,8,3               ## @JV_LAST_NONE
	.no_dead_strip	_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function value
_value:                                 ; @value
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _JV_PARSE_STREAMING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JV_PARSE_STREAMING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w21, w9, w8
	ldr	w0, [x0, #24]
	bl	_jv_is_valid
	cbz	w21, LBB0_4
; %bb.1:
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x9, [x20, #8]
Lloh3:
	adrp	x8, _JV_LAST_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JV_LAST_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_5
; %bb.3:
	ldr	x9, [x20, #16]
Lloh6:
	adrp	x10, _JV_LAST_NONE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _JV_LAST_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, #0
	csel	x8, x8, x10, gt
	str	x8, [x20, #8]
	b	LBB0_6
LBB0_4:
	cbz	x0, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_jv_free
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	w0, [x20, #24]
	bl	_jv_free
	mov	x0, #0
	str	w19, [x20, #24]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_PARSE_STREAMING,4,2         ; @JV_PARSE_STREAMING
	.comm	_JV_LAST_VALUE,8,3              ; @JV_LAST_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Expected separator between values"

	.comm	_JV_LAST_NONE,8,3               ; @JV_LAST_NONE
	.no_dead_strip	_value
.subsections_via_symbols
