	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucl_lex_json_string
_ucl_lex_json_string:                   ## @ucl_lex_json_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r14
	cmpq	8(%rsi), %r14
	jae	LBB0_27
## %bb.1:
	movq	%rcx, %r12
	movq	%rsi, %r13
	jmp	LBB0_2
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	movq	8(%r13), %rax
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %r14
	jae	LBB0_11
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	$1, (%r12)
	cmpq	8(%r13), %r14
	jae	LBB0_27
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %r15d
	cmpb	$30, %r15b
	jbe	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$92, %r15b
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$34, %r15b
	je	LBB0_8
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_UCL_CHARACTER_UCL_UNSAFE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%r15b, %edi
	callq	_ucl_test_character
	movq	%r12, %rcx
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpb	$36, %r15b
	jne	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%rcx)
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	cmpq	8(%r13), %r14
	jb	LBB0_2
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	cmpq	8(%r13), %r14
	jae	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %ebx
	movq	_UCL_CHARACTER_ESCAPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edi
	callq	_ucl_test_character
	testq	%rax, %rax
	je	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	cmpb	$117, %bl
	jne	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	cmpq	%rax, %r14
	jae	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	movq	8(%r13), %rax
	cmpq	%rax, %r14
	jae	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	movq	8(%r13), %rax
	cmpq	%rax, %r14
	jae	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_16
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	movq	8(%r13), %rax
	cmpq	%rax, %r14
	jae	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r14), %edi
	callq	_isxdigit
	testl	%eax, %eax
	jne	LBB0_23
LBB0_16:
	movq	_UCL_ESYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_28
LBB0_27:
	movq	_UCL_ESYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
LBB0_28:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rdi
	callq	_ucl_set_err
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_UCL_ESYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpb	$10, %r15b
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_28
LBB0_11:
	movq	_UCL_ESYNTAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_28
LBB0_5:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_28
LBB0_8:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ucl_chunk_skipc
	movl	$1, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_UCL_ESYNTAX,4,2                ## @UCL_ESYNTAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected newline"

L_.str.1:                               ## @.str.1
	.asciz	"unexpected control character"

L_.str.2:                               ## @.str.2
	.asciz	"unfinished escape character"

	.comm	_UCL_CHARACTER_ESCAPE,4,2       ## @UCL_CHARACTER_ESCAPE
L_.str.3:                               ## @.str.3
	.asciz	"invalid utf escape"

	.comm	_UCL_CHARACTER_UCL_UNSAFE,4,2   ## @UCL_CHARACTER_UCL_UNSAFE
L_.str.4:                               ## @.str.4
	.asciz	"no quote at the end of json string"

	.no_dead_strip	_ucl_lex_json_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_lex_json_string
_ucl_lex_json_string:                   ; @ucl_lex_json_string
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldp	x23, x8, [x1]
	cmp	x23, x8
	b.hs	LBB0_25
; %bb.1:
	mov	x20, x4
	mov	x22, x3
	mov	x24, x2
	mov	x21, x1
Lloh0:
	adrp	x26, _UCL_CHARACTER_ESCAPE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _UCL_CHARACTER_ESCAPE@GOTPAGEOFF]
	mov	w27, #1
Lloh2:
	adrp	x28, _UCL_CHARACTER_UCL_UNSAFE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _UCL_CHARACTER_UCL_UNSAFE@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	ldr	x8, [x21, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x23, x8
	b.hs	LBB0_30
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w27, [x24]
	str	w27, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #8]
	cmp	x23, x8
	b.hs	LBB0_25
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w25, [x23]
	cmp	w25, #30
	b.ls	LBB0_28
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, #92
	b.eq	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w25, #34
	b.eq	LBB0_32
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x28]
	mov	x0, x25
	bl	_ucl_test_character
	mov	x8, x22
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x20
	cmp	w25, #36
	b.ne	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w27, [x8]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	ldr	x8, [x21, #8]
	cmp	x23, x8
	b.hs	LBB0_30
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w25, [x23]
	ldr	w1, [x26]
	mov	x0, x25
	bl	_ucl_test_character
	cbz	x0, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	cmp	w25, #117
	b.ne	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #8]
	cmp	x23, x8
	b.hs	LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w0, [x23]
	bl	_isxdigit
	cbz	w0, LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	ldr	x8, [x21, #8]
	cmp	x23, x8
	b.hs	LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w0, [x23]
	bl	_isxdigit
	cbz	w0, LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	ldr	x8, [x21, #8]
	cmp	x23, x8
	b.hs	LBB0_3
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w0, [x23]
	bl	_isxdigit
	cbz	w0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	ldr	x8, [x21, #8]
	cmp	x23, x8
	b.hs	LBB0_3
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w0, [x23]
	bl	_isxdigit
	cbnz	w0, LBB0_2
LBB0_24:
Lloh4:
	adrp	x8, _UCL_ESYNTAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UCL_ESYNTAX@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str.3@PAGE
Lloh8:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_26
LBB0_25:
Lloh9:
	adrp	x8, _UCL_ESYNTAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UCL_ESYNTAX@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.4@PAGE
Lloh13:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_26:
	mov	x0, x19
	mov	x3, x19
	bl	_ucl_set_err
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_28:
Lloh14:
	adrp	x8, _UCL_ESYNTAX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UCL_ESYNTAX@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	cmp	w25, #10
	b.ne	LBB0_31
; %bb.29:
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_26
LBB0_30:
Lloh19:
	adrp	x8, _UCL_ESYNTAX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _UCL_ESYNTAX@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_26
LBB0_31:
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_26
LBB0_32:
	mov	x0, x21
	mov	x1, x23
	bl	_ucl_chunk_skipc
	mov	w0, #1
	b	LBB0_27
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_UCL_ESYNTAX,4,2                ; @UCL_ESYNTAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected newline"

l_.str.1:                               ; @.str.1
	.asciz	"unexpected control character"

l_.str.2:                               ; @.str.2
	.asciz	"unfinished escape character"

	.comm	_UCL_CHARACTER_ESCAPE,4,2       ; @UCL_CHARACTER_ESCAPE
l_.str.3:                               ; @.str.3
	.asciz	"invalid utf escape"

	.comm	_UCL_CHARACTER_UCL_UNSAFE,4,2   ; @UCL_CHARACTER_UCL_UNSAFE
l_.str.4:                               ; @.str.4
	.asciz	"no quote at the end of json string"

	.no_dead_strip	_ucl_lex_json_string
.subsections_via_symbols
