	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_parse_sized                 ## -- Begin function jv_parse_sized
	.p2align	4, 0x90
_jv_parse_sized:                        ## @jv_parse_sized
	.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, %ebx
	movq	%rdi, %r14
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_parser_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_jv_parser_set_buf
	movq	%r15, %rdi
	callq	_jv_parser_next
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_jv_is_valid
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	-32(%rbp), %rdi
	callq	_jv_parser_next
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jv_is_valid
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r15d, %edi
	callq	_jv_free
	movl	%ebx, %edi
	callq	_jv_free
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_9
LBB0_6:
	movl	%r15d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_invalid_has_msg
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%r15d, %ebx
	jmp	LBB0_10
LBB0_3:
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_invalid_has_msg
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	callq	_jv_free
	jmp	LBB0_10
LBB0_8:
	movl	%r15d, %edi
	callq	_jv_free
	leaq	L_.str.1(%rip), %rdi
LBB0_9:
	callq	_jv_string
	movl	%eax, %edi
	callq	_jv_invalid_with_msg
	movl	%eax, %ebx
LBB0_10:
	leaq	-32(%rbp), %rdi
	callq	_parser_free
	movl	%ebx, %edi
	callq	_jv_is_valid
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_invalid_has_msg
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	%ebx, %edi
	callq	_jv_invalid_get_msg
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_jv_string_value
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_jv_string_fmt
	movl	%eax, %edi
	callq	_jv_invalid_with_msg
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_jv_free
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%ebx, %edi
	callq	_jv_free
	movl	%r15d, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected extra JSON values"

L_.str.1:                               ## @.str.1
	.asciz	"Expected JSON value"

L_.str.2:                               ## @.str.2
	.asciz	"%s (while parsing '%s')"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_parse_sized                 ; -- Begin function jv_parse_sized
	.p2align	2
_jv_parse_sized:                        ; @jv_parse_sized
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	bl	_parser_init
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	mov	w3, #0
	bl	_jv_parser_set_buf
	add	x0, sp, #8
	bl	_jv_parser_next
	mov	x21, x0
	bl	_jv_is_valid
	cbz	x0, LBB0_3
; %bb.1:
	add	x0, sp, #8
	bl	_jv_parser_next
	mov	x20, x0
	bl	_jv_is_valid
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x21
	bl	_jv_free
	mov	x0, x20
	bl	_jv_free
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_3:
	mov	x0, x21
	bl	_jv_copy
	bl	_jv_invalid_has_msg
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x21
	b	LBB0_9
LBB0_5:
	mov	x0, x20
	bl	_jv_copy
	bl	_jv_invalid_has_msg
	cbz	x0, LBB0_13
; %bb.6:
	mov	x0, x21
	bl	_jv_free
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	bl	_jv_free
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_jv_string
	bl	_jv_invalid_with_msg
	mov	x20, x0
LBB0_9:
	add	x0, sp, #8
	bl	_parser_free
	mov	x0, x20
	bl	_jv_is_valid
	cbnz	x0, LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_jv_copy
	bl	_jv_invalid_has_msg
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_jv_invalid_get_msg
	mov	x21, x0
	bl	_jv_string_value
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_jv_string_fmt
	bl	_jv_invalid_with_msg
	mov	x20, x0
	mov	x0, x21
	bl	_jv_free
LBB0_12:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_13:
	mov	x0, x20
	bl	_jv_free
	mov	x20, x21
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected extra JSON values"

l_.str.1:                               ; @.str.1
	.asciz	"Expected JSON value"

l_.str.2:                               ; @.str.2
	.asciz	"%s (while parsing '%s')"

.subsections_via_symbols
