	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_input_length              ## -- Begin function test_input_length
	.p2align	4, 0x90
_test_input_length:                     ## @test_input_length
	.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	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-68(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_jsmn_init
	leaq	L_.str(%rip), %r14
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	movl	$10, %r8d
	callq	_jsmn_parse
	xorl	%edi, %edi
	cmpl	$3, %eax
	sete	%dil
	callq	_check
	movl	-64(%rbp), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movl	-60(%rbp), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movl	-56(%rbp), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{\"a\": 0}garbage"

L_.str.1:                               ## @.str.1
	.asciz	"{\"a\": 0}"

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

L_.str.3:                               ## @.str.3
	.asciz	"0"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_input_length              ; -- Begin function test_input_length
	.p2align	2
_test_input_length:                     ; @test_input_length
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	add	x0, sp, #12
	bl	_jsmn_init
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
	add	x0, sp, #12
	add	x3, sp, #16
	mov	x1, x19
	mov	w2, #8
	mov	w4, #10
	bl	_jsmn_parse
	cmp	w0, #3
	cset	w0, eq
	bl	_check
	ldr	w1, [sp, #16]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	w1, [sp, #20]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	w1, [sp, #24]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{\"a\": 0}garbage"

l_.str.1:                               ; @.str.1
	.asciz	"{\"a\": 0}"

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

l_.str.3:                               ; @.str.3
	.asciz	"0"

.subsections_via_symbols
