	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_partial_string            ## -- Begin function test_partial_string
	.p2align	4, 0x90
_test_partial_string:                   ## @test_partial_string
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-168(%rbp), %r12
	movq	%r12, %rdi
	callq	_jsmn_init
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-128(%rbp), %r14
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movl	$10, %r8d
	callq	_jsmn_parse
	movq	_JSMN_ERROR_PART@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	sete	%al
	movq	-128(%rbp), %rcx
	movq	_JSMN_STRING@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_check
	movq	-128(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	xorl	%edi, %edi
	cmpl	$1, -168(%rbp)
	sete	%dil
	callq	_check
	movq	%r12, %rdi
	callq	_jsmn_init
	movabsq	$7022838190740502562, %rbx      ## imm = 0x617622203A227822
	movq	%rbx, -144(%rbp)
	movb	$92, -136(%rbp)
	leaq	-144(%rbp), %rsi
	movq	%r12, %rdi
	movl	$9, %edx
	movq	%r14, %rcx
	movl	$10, %r8d
	callq	_jsmn_parse
	xorl	%edi, %edi
	cmpl	(%r13), %eax
	sete	%dil
	callq	_check
	movq	%r12, %rdi
	callq	_jsmn_init
	movq	%rbx, -160(%rbp)
	movw	$30044, -152(%rbp)              ## imm = 0x755C
	leaq	-160(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	movq	%r14, %rcx
	movl	$10, %r8d
	callq	_jsmn_parse
	xorl	%edi, %edi
	cmpl	(%r13), %eax
	sete	%dil
	callq	_check
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movl	$10, %r8d
	callq	_jsmn_parse
	cmpl	(%r13), %eax
	sete	%al
	movq	-128(%rbp), %rcx
	cmpq	(%r15), %rcx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_check
	movq	-128(%rbp), %rsi
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rdx
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	xorl	%edi, %edi
	cmpl	$1, -168(%rbp)
	sete	%dil
	callq	_check
	leaq	L_.str.3(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	movl	$10, %r8d
	callq	_jsmn_parse
	xorl	%r14d, %r14d
	movl	$0, %edi
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	-128(%rbp), %rax
	movl	$0, %edi
	cmpq	(%r15), %rax
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	%rax, -120(%rbp)
	sete	%dil
LBB0_3:
	callq	_check
	movq	-128(%rbp), %rsi
	leaq	L_.str.3(%rip), %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movq	-120(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	leaq	L_.str.5(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-168(%rbp), %rdi
	leaq	-128(%rbp), %rcx
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	$10, %r8d
	callq	_jsmn_parse
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movq	-128(%rbp), %rax
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_8
## %bb.5:
	cmpq	%rcx, -120(%rbp)
	jne	LBB0_8
## %bb.6:
	cmpq	%rcx, -112(%rbp)
	jne	LBB0_8
## %bb.7:
	xorl	%r14d, %r14d
	cmpq	%rax, -104(%rbp)
	sete	%r14b
LBB0_8:
	movl	%r14d, %edi
	callq	_check
	movq	-128(%rbp), %rsi
	leaq	L_.str.5(%rip), %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movq	-120(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movq	-112(%rbp), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movq	-104(%rbp), %rsi
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rdi
	callq	_TOKEN_STRING
	movl	%eax, %edi
	callq	_check
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"x\": \"va"

	.comm	_JSMN_ERROR_PART,4,2            ## @JSMN_ERROR_PART
	.comm	_JSMN_STRING,8,3                ## @JSMN_STRING
L_.str.1:                               ## @.str.1
	.asciz	"x"

	.section	__TEXT,__const
l___const.test_partial_string.js_slash: ## @__const.test_partial_string.js_slash
	.ascii	"\"x\": \"va\\"

l___const.test_partial_string.js_unicode: ## @__const.test_partial_string.js_unicode
	.ascii	"\"x\": \"va\\u"

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"\"x\": \"valu"

L_.str.3:                               ## @.str.3
	.asciz	"\"x\": \"value\""

L_.str.4:                               ## @.str.4
	.asciz	"value"

L_.str.5:                               ## @.str.5
	.asciz	"\"x\": \"value\", \"y\": \"value y\""

L_.str.6:                               ## @.str.6
	.asciz	"y"

L_.str.7:                               ## @.str.7
	.asciz	"value y"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_partial_string            ; -- Begin function test_partial_string
	.p2align	2
_test_partial_string:                   ; @test_partial_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	x0, sp
	bl	_jsmn_init
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, sp
	add	x3, sp, #40
	mov	x1, x20
	mov	w4, #10
	bl	_jsmn_parse
Lloh5:
	adrp	x22, _JSMN_ERROR_PART@GOTPAGE
Lloh6:
	ldr	x22, [x22, _JSMN_ERROR_PART@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	ldr	x8, [sp, #40]
Lloh7:
	adrp	x21, _JSMN_STRING@GOTPAGE
Lloh8:
	ldr	x21, [x21, _JSMN_STRING@GOTPAGEOFF]
	ldr	x9, [x21]
	ccmp	x8, x9, #0, eq
	cset	w0, eq
	bl	_check
	ldr	x1, [sp, #40]
Lloh9:
	adrp	x19, l_.str.1@PAGE
Lloh10:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	w8, [sp]
	cmp	w8, #1
	cset	w0, eq
	bl	_check
	mov	x0, sp
	bl	_jsmn_init
Lloh11:
	adrp	x8, l___const.test_partial_string.js_slash@PAGE
Lloh12:
	add	x8, x8, l___const.test_partial_string.js_slash@PAGEOFF
Lloh13:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w8, #92
	strb	w8, [sp, #32]
	mov	x0, sp
	add	x1, sp, #24
	add	x3, sp, #40
	mov	w2, #9
	mov	w4, #10
	bl	_jsmn_parse
	ldr	w8, [x22]
	cmp	w0, w8
	cset	w0, eq
	bl	_check
	mov	x0, sp
	bl	_jsmn_init
Lloh14:
	adrp	x8, l___const.test_partial_string.js_unicode@PAGE
Lloh15:
	add	x8, x8, l___const.test_partial_string.js_unicode@PAGEOFF
Lloh16:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	w8, #30044
	strh	w8, [sp, #16]
	mov	x0, sp
	add	x1, sp, #8
	add	x3, sp, #40
	mov	w2, #10
	mov	w4, #10
	bl	_jsmn_parse
	ldr	w8, [x22]
	cmp	w0, w8
	cset	w0, eq
	bl	_check
Lloh17:
	adrp	x20, l_.str.2@PAGE
Lloh18:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, sp
	add	x3, sp, #40
	mov	x1, x20
	mov	w4, #10
	bl	_jsmn_parse
	ldr	w8, [x22]
	cmp	w0, w8
	ldr	x8, [sp, #40]
	ldr	x9, [x21]
	ccmp	x8, x9, #0, eq
	cset	w0, eq
	bl	_check
	ldr	x1, [sp, #40]
	mov	x0, x20
	mov	x2, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	w8, [sp]
	cmp	w8, #1
	cset	w0, eq
	bl	_check
Lloh19:
	adrp	x19, l_.str.3@PAGE
Lloh20:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, sp
	add	x3, sp, #40
	mov	x1, x19
	mov	w4, #10
	bl	_jsmn_parse
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [sp, #40]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [sp, #48]
	cmp	x9, x8
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	bl	_check
	ldr	x1, [sp, #40]
Lloh21:
	adrp	x19, l_.str.3@PAGE
Lloh22:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	x1, [sp, #48]
Lloh25:
	adrp	x2, l_.str.4@PAGE
Lloh26:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
Lloh27:
	adrp	x19, l_.str.5@PAGE
Lloh28:
	add	x19, x19, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, sp
	add	x3, sp, #40
	mov	x1, x19
	mov	w4, #10
	bl	_jsmn_parse
	tbnz	w0, #31, LBB0_9
; %bb.5:
	mov	w0, #0
	ldr	x8, [sp, #40]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:
	ldr	x10, [sp, #48]
	cmp	x10, x9
	b.ne	LBB0_10
; %bb.7:
	ldr	x10, [sp, #56]
	cmp	x10, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	x9, [sp, #64]
	cmp	x9, x8
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	bl	_check
	ldr	x1, [sp, #40]
Lloh29:
	adrp	x19, l_.str.5@PAGE
Lloh30:
	add	x19, x19, l_.str.5@PAGEOFF
Lloh31:
	adrp	x2, l_.str.1@PAGE
Lloh32:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	x1, [sp, #48]
Lloh33:
	adrp	x2, l_.str.4@PAGE
Lloh34:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	x1, [sp, #56]
Lloh35:
	adrp	x2, l_.str.6@PAGE
Lloh36:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldr	x1, [sp, #64]
Lloh37:
	adrp	x2, l_.str.7@PAGE
Lloh38:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_TOKEN_STRING
	bl	_check
	ldur	x8, [x29, #-40]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAddLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAddLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"x\": \"va"

	.comm	_JSMN_ERROR_PART,4,2            ; @JSMN_ERROR_PART
	.comm	_JSMN_STRING,8,3                ; @JSMN_STRING
l_.str.1:                               ; @.str.1
	.asciz	"x"

	.section	__TEXT,__const
l___const.test_partial_string.js_slash: ; @__const.test_partial_string.js_slash
	.ascii	"\"x\": \"va\\"

l___const.test_partial_string.js_unicode: ; @__const.test_partial_string.js_unicode
	.ascii	"\"x\": \"va\\u"

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"\"x\": \"valu"

l_.str.3:                               ; @.str.3
	.asciz	"\"x\": \"value\""

l_.str.4:                               ; @.str.4
	.asciz	"value"

l_.str.5:                               ; @.str.5
	.asciz	"\"x\": \"value\", \"y\": \"value y\""

l_.str.6:                               ; @.str.6
	.asciz	"y"

l_.str.7:                               ; @.str.7
	.asciz	"value y"

.subsections_via_symbols
