	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_literal
_check_literal:                         ## @check_literal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movslq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movl	(%rsi), %ecx
	cmpl	$102, %ecx
	je	LBB0_5
## %bb.2:
	cmpl	$110, %ecx
	je	LBB0_6
## %bb.3:
	cmpl	$116, %ecx
	jne	LBB0_16
## %bb.4:
	xorl	%eax, %eax
	callq	_jv_true
	movl	$4, %esi
	movb	$1, %r14b
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_7
LBB0_5:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_jv_false
	movl	$5, %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	callq	_jv_null
	movl	$4, %esi
	movb	$1, %r14b
	leaq	L_.str.2(%rip), %rdx
LBB0_7:
	leaq	L_.str.3(%rip), %rcx
	cmpl	%esi, (%rbx)
	jne	LBB0_20
## %bb.8:
	movq	8(%rbx), %rsi
	movsbl	(%rdx), %edi
	cmpl	%edi, (%rsi)
	jne	LBB0_20
## %bb.9:
	movsbl	1(%rdx), %edi
	cmpl	%edi, 4(%rsi)
	jne	LBB0_20
## %bb.10:
	movsbl	2(%rdx), %edi
	cmpl	%edi, 8(%rsi)
	jne	LBB0_20
## %bb.11:
	movsbl	3(%rdx), %edi
	cmpl	%edi, 12(%rsi)
	jne	LBB0_20
## %bb.12:
	testb	%r14b, %r14b
	jne	LBB0_14
## %bb.13:
	movsbl	4(%rdx), %edx
	cmpl	%edx, 16(%rsi)
	je	LBB0_14
	jmp	LBB0_20
LBB0_16:
	movl	$0, (%rsi,%rax,4)
	movq	$0, -24(%rbp)
	leaq	16(%rbx), %rdi
	leaq	-24(%rbp), %rdx
	callq	_jvp_strtod
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	cmpb	$0, (%rax)
	je	LBB0_18
LBB0_19:
	leaq	L_.str.4(%rip), %rcx
	jmp	LBB0_20
LBB0_18:
	callq	_jv_number
LBB0_14:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_value
	movl	%eax, %edi
	callq	_TRY
	movl	$0, (%rbx)
LBB0_15:
	xorl	%ecx, %ecx
LBB0_20:
	movq	%rcx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"true"

L_.str.1:                               ## @.str.1
	.asciz	"false"

L_.str.2:                               ## @.str.2
	.asciz	"null"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid literal"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid numeric literal"

	.comm	_JV_KIND_INVALID,8,3            ## @JV_KIND_INVALID
	.no_dead_strip	_check_literal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_literal
_check_literal:                         ; @check_literal
	.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
	ldrsw	x8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x1, [x0, #8]
	ldr	w9, [x1]
	cmp	w9, #102
	b.eq	LBB0_6
; %bb.2:
	cmp	w9, #110
	b.eq	LBB0_7
; %bb.3:
	cmp	w9, #116
	b.ne	LBB0_17
; %bb.4:
	mov	w22, #4
	mov	w21, #1
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	bl	_jv_true
	b	LBB0_8
LBB0_5:
	mov	x0, #0
	b	LBB0_22
LBB0_6:
	mov	w22, #5
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	bl	_jv_false
	mov	x1, x0
	mov	w21, #0
	b	LBB0_9
LBB0_7:
	mov	w22, #4
	mov	w21, #1
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
	bl	_jv_null
LBB0_8:
	mov	x1, x0
LBB0_9:
	ldr	w8, [x19]
	cmp	w8, w22
	b.ne	LBB0_16
; %bb.10:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	ldrsb	w10, [x20]
	cmp	w9, w10
	b.ne	LBB0_16
; %bb.11:
	ldr	w9, [x8, #4]
	ldrsb	w10, [x20, #1]
	cmp	w9, w10
	b.ne	LBB0_16
; %bb.12:
	ldr	w9, [x8, #8]
	ldrsb	w10, [x20, #2]
	cmp	w9, w10
	b.ne	LBB0_16
; %bb.13:
	ldr	w9, [x8, #12]
	ldrsb	w10, [x20, #3]
	cmp	w9, w10
	b.ne	LBB0_16
; %bb.14:
	tbnz	w21, #0, LBB0_21
; %bb.15:
	ldr	w8, [x8, #16]
	ldrsb	w9, [x20, #4]
	cmp	w8, w9
	b.eq	LBB0_21
LBB0_16:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_22
LBB0_17:
	str	wzr, [x1, x8, lsl #2]
	str	xzr, [sp, #8]
	add	x0, x19, #16
	add	x2, sp, #8
	bl	_jvp_strtod
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_19
; %bb.18:
	ldrb	w8, [x8]
	cbz	w8, LBB0_20
LBB0_19:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_22
LBB0_20:
	bl	_jv_number
	mov	x1, x0
LBB0_21:
	mov	x0, x19
	bl	_value
	bl	_TRY
	mov	x0, #0
	str	wzr, [x19]
LBB0_22:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"true"

l_.str.1:                               ; @.str.1
	.asciz	"false"

l_.str.2:                               ; @.str.2
	.asciz	"null"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid literal"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid numeric literal"

	.comm	_JV_KIND_INVALID,8,3            ; @JV_KIND_INVALID
	.no_dead_strip	_check_literal
.subsections_via_symbols
