	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JSON_Parser_ProcessToken
_JSON_Parser_ProcessToken:              ## @JSON_Parser_ProcessToken
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$40, %rdi
	movl	16(%rbx), %esi
	leaq	36(%rbx), %rdx
	callq	_Grammarian_ProcessToken
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_GRAMMARIAN_RESULT_CODE
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_GRAMMARIAN_EVENT
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_JSON_Parser_HandleGrammarEvents
	testl	%eax, %eax
	je	LBB0_7
LBB0_4:
	movq	_LEXING_WHITESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_T_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	_JSON_Success@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_JSON_Error_OutOfMemory@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_JSON_Parser_SetErrorAtCodepoint
	jmp	LBB0_7
LBB0_6:
	movq	_JSON_Error_UnexpectedToken@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_JSON_Parser_SetErrorAtToken
LBB0_7:
	movq	_JSON_Failure@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JSON_Failure,4,2               ## @JSON_Failure
	.comm	_JSON_Error_UnexpectedToken,4,2 ## @JSON_Error_UnexpectedToken
	.comm	_JSON_Error_OutOfMemory,4,2     ## @JSON_Error_OutOfMemory
	.comm	_LEXING_WHITESPACE,4,2          ## @LEXING_WHITESPACE
	.comm	_T_NONE,4,2                     ## @T_NONE
	.comm	_JSON_Success,4,2               ## @JSON_Success
	.no_dead_strip	_JSON_Parser_ProcessToken
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JSON_Parser_ProcessToken
_JSON_Parser_ProcessToken:              ; @JSON_Parser_ProcessToken
	.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
	add	x0, x0, #40
	ldr	w1, [x19, #16]
	add	x2, x19, #36
	bl	_Grammarian_ProcessToken
	mov	x20, x0
	bl	_GRAMMARIAN_RESULT_CODE
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_GRAMMARIAN_EVENT
	mov	x1, x0
	mov	x0, x19
	bl	_JSON_Parser_HandleGrammarEvents
	cbz	w0, LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _LEXING_WHITESPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEXING_WHITESPACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
Lloh3:
	adrp	x8, _T_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _T_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	stp	xzr, xzr, [x19]
Lloh6:
	adrp	x8, _JSON_Success@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JSON_Success@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _JSON_Error_OutOfMemory@GOTPAGE
Lloh9:
	ldr	x8, [x8, _JSON_Error_OutOfMemory@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_JSON_Parser_SetErrorAtCodepoint
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _JSON_Error_UnexpectedToken@GOTPAGE
Lloh12:
	ldr	x8, [x8, _JSON_Error_UnexpectedToken@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_JSON_Parser_SetErrorAtToken
LBB0_7:
Lloh14:
	adrp	x8, _JSON_Failure@GOTPAGE
Lloh15:
	ldr	x8, [x8, _JSON_Failure@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_JSON_Failure,4,2               ; @JSON_Failure
	.comm	_JSON_Error_UnexpectedToken,4,2 ; @JSON_Error_UnexpectedToken
	.comm	_JSON_Error_OutOfMemory,4,2     ; @JSON_Error_OutOfMemory
	.comm	_LEXING_WHITESPACE,4,2          ; @LEXING_WHITESPACE
	.comm	_T_NONE,4,2                     ; @T_NONE
	.comm	_JSON_Success,4,2               ; @JSON_Success
	.no_dead_strip	_JSON_Parser_ProcessToken
.subsections_via_symbols
