	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JSON_Parser_HandleInvalidEncodingSequence
_JSON_Parser_HandleInvalidEncodingSequence: ## @JSON_Parser_HandleInvalidEncodingSequence
	.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
	movq	(%rdi), %rax
	movq	_T_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movl	8(%rbx), %edi
	movq	_PARSER_REPLACE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FLAGS
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:
	movq	_TokenAttributes@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	movq	_JSON_ContainsReplacedCharacter@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SET_FLAGS_ON
	movq	_REPLACEMENT_CHARACTER_CODEPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_JSON_Parser_ProcessCodepoint   ## TAILCALL
LBB0_2:
	cmpl	$0, 12(%rbx)
	je	LBB0_3
LBB0_7:
	movq	_JSON_Error_InvalidEncodingSequence@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_JSON_Parser_SetErrorAtCodepoint
	movq	_JSON_Failure@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	8(%rbx), %edi
	movq	_PARSER_EMBEDDED_DOCUMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GET_FLAGS
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_JSON_Parser_FlushLexer
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_JSON_Parser_FlushParser
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_8
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_T_STRING,8,3                   ## @T_STRING
	.comm	_PARSER_REPLACE_INVALID,4,2     ## @PARSER_REPLACE_INVALID
	.comm	_TokenAttributes,4,2            ## @TokenAttributes
	.comm	_JSON_ContainsReplacedCharacter,4,2 ## @JSON_ContainsReplacedCharacter
	.comm	_REPLACEMENT_CHARACTER_CODEPOINT,4,2 ## @REPLACEMENT_CHARACTER_CODEPOINT
	.comm	_PARSER_EMBEDDED_DOCUMENT,4,2   ## @PARSER_EMBEDDED_DOCUMENT
	.comm	_JSON_Error_InvalidEncodingSequence,4,2 ## @JSON_Error_InvalidEncodingSequence
	.comm	_JSON_Failure,4,2               ## @JSON_Failure
	.no_dead_strip	_JSON_Parser_HandleInvalidEncodingSequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JSON_Parser_HandleInvalidEncodingSequence
_JSON_Parser_HandleInvalidEncodingSequence: ; @JSON_Parser_HandleInvalidEncodingSequence
	.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	x8, [x0]
Lloh0:
	adrp	x9, _T_STRING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _T_STRING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x1
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _PARSER_REPLACE_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARSER_REPLACE_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GET_FLAGS
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _TokenAttributes@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TokenAttributes@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
Lloh9:
	adrp	x8, _JSON_ContainsReplacedCharacter@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JSON_ContainsReplacedCharacter@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_SET_FLAGS_ON
Lloh12:
	adrp	x8, _REPLACEMENT_CHARACTER_CODEPOINT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REPLACEMENT_CHARACTER_CODEPOINT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_JSON_Parser_ProcessCodepoint
LBB0_3:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_6
LBB0_4:
Lloh15:
	adrp	x8, _JSON_Error_InvalidEncodingSequence@GOTPAGE
Lloh16:
	ldr	x8, [x8, _JSON_Error_InvalidEncodingSequence@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_JSON_Parser_SetErrorAtCodepoint
Lloh18:
	adrp	x8, _JSON_Failure@GOTPAGE
Lloh19:
	ldr	x8, [x8, _JSON_Failure@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w0, [x19, #8]
Lloh21:
	adrp	x8, _PARSER_EMBEDDED_DOCUMENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PARSER_EMBEDDED_DOCUMENT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_GET_FLAGS
	cbz	x0, LBB0_4
; %bb.7:
	mov	x0, x19
	bl	_JSON_Parser_FlushLexer
	cbz	x0, LBB0_5
; %bb.8:
	mov	x0, x19
	bl	_JSON_Parser_FlushParser
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_T_STRING,8,3                   ; @T_STRING
	.comm	_PARSER_REPLACE_INVALID,4,2     ; @PARSER_REPLACE_INVALID
	.comm	_TokenAttributes,4,2            ; @TokenAttributes
	.comm	_JSON_ContainsReplacedCharacter,4,2 ; @JSON_ContainsReplacedCharacter
	.comm	_REPLACEMENT_CHARACTER_CODEPOINT,4,2 ; @REPLACEMENT_CHARACTER_CODEPOINT
	.comm	_PARSER_EMBEDDED_DOCUMENT,4,2   ; @PARSER_EMBEDDED_DOCUMENT
	.comm	_JSON_Error_InvalidEncodingSequence,4,2 ; @JSON_Error_InvalidEncodingSequence
	.comm	_JSON_Failure,4,2               ; @JSON_Failure
	.no_dead_strip	_JSON_Parser_HandleInvalidEncodingSequence
.subsections_via_symbols
