	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jsmn_parse_primitive
_jsmn_parse_primitive:                  ## @jsmn_parse_primitive
	.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
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	movslq	%r14d, %rax
	movl	%r14d, %edi
	cmpq	%rdx, %rax
	jae	LBB0_10
## %bb.1:
	leal	1(%r14), %r10d
	movabsq	$288247972632733184, %r9        ## imm = 0x400100100002600
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rsi,%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$58, %ebx
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	btq	%rdi, %r9
	jb	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$93, %ebx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$125, %ebx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addb	$-127, %bl
	cmpb	$-96, %bl
	jbe	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	movl	%r10d, (%r15)
	incl	%r10d
	cmpq	%rdx, %rax
	jb	LBB0_2
LBB0_9:
	movl	%eax, %edi
LBB0_10:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	callq	_jsmn_alloc_token
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	_JSMN_PRIMITIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r15), %ecx
	movq	%rax, %rdi
	movl	%r14d, %edx
	callq	_jsmn_fill_token
	decl	(%r15)
	jmp	LBB0_14
LBB0_13:
	decl	%edi
	movl	%edi, (%r15)
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_15:
	movl	%r14d, (%r15)
	movq	_JSMN_ERROR_NOMEM@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	%r14d, (%r15)
	movq	_JSMN_ERROR_INVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_JSMN_ERROR_INVAL,4,2           ## @JSMN_ERROR_INVAL
	.comm	_JSMN_ERROR_NOMEM,4,2           ## @JSMN_ERROR_NOMEM
	.comm	_JSMN_PRIMITIVE,4,2             ## @JSMN_PRIMITIVE
	.comm	_JSMN_ERROR_PART,4,2            ## @JSMN_ERROR_PART
	.no_dead_strip	_jsmn_parse_primitive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jsmn_parse_primitive
_jsmn_parse_primitive:                  ; @jsmn_parse_primitive
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w20, [x0]
	mov	x8, x20
	sxtw	x9, w8
	cmp	x9, x2
	b.hs	LBB0_9
; %bb.1:
	mov	x10, #0
	add	x11, x1, x9
	mov	w12, #1
	mov	x13, #9728
	movk	x13, #4097, lsl #32
	movk	x13, #1024, lsl #48
	mov	x8, x9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w14, [x11, x10]
	cbz	w14, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w14, #58
	lsl	x15, x12, x14
	and	x15, x15, x13
	ccmp	x15, #0, #4, ls
	b.ne	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w14, #93
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w14, #125
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w14, w14, #127
	and	w14, w14, #0xff
	cmp	w14, #160
	b.ls	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	add	w14, w20, w10
	add	w14, w14, #1
	str	w14, [x19]
	add	x10, x10, #1
	add	x14, x9, x10
	cmp	x14, x2
	b.lo	LBB0_2
; %bb.8:
	mov	x8, x14
LBB0_9:
	cbz	x3, LBB0_14
LBB0_10:
	mov	x0, x19
	mov	x1, x3
	mov	x2, x4
	bl	_jsmn_alloc_token
	cbz	x0, LBB0_12
; %bb.11:
Lloh0:
	adrp	x8, _JSMN_PRIMITIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JSMN_PRIMITIVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	x2, x20
	bl	_jsmn_fill_token
	mov	w0, #0
	ldr	w8, [x19]
	sub	w8, w8, #1
	b	LBB0_15
LBB0_12:
	str	w20, [x19]
Lloh3:
	adrp	x8, _JSMN_ERROR_NOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JSMN_ERROR_NOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_13:
	add	x8, x9, x10
	cbnz	x3, LBB0_10
LBB0_14:
	mov	w0, #0
	sub	w8, w8, #1
LBB0_15:
	str	w8, [x19]
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_17:
	str	w20, [x19]
Lloh6:
	adrp	x8, _JSMN_ERROR_INVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JSMN_ERROR_INVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_JSMN_ERROR_INVAL,4,2           ; @JSMN_ERROR_INVAL
	.comm	_JSMN_ERROR_NOMEM,4,2           ; @JSMN_ERROR_NOMEM
	.comm	_JSMN_PRIMITIVE,4,2             ; @JSMN_PRIMITIVE
	.comm	_JSMN_ERROR_PART,4,2            ; @JSMN_ERROR_PART
	.no_dead_strip	_jsmn_parse_primitive
.subsections_via_symbols
