	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scripted
_scripted:                              ## @scripted
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_JSON_WRITER_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	_MAX_LINE_LENGTH@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_get_trimmed_line
	testq	%rax, %rax
	je	LBB0_47
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testl	%eax, %eax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_6
LBB0_2:
	movq	_pretty@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdi
	callq	_jw_object_begin
	jmp	LBB0_6
LBB0_4:
	movq	_pretty@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdi
	callq	_jw_array_begin
LBB0_6:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_get_trimmed_line
	testq	%rax, %rax
	je	LBB0_44
## %bb.7:
	movl	$1, %ebx
	leaq	-80(%rbp), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_jw_end
LBB0_43:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_get_trimmed_line
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_44
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strtok
	movq	%rax, %r15
	movq	%rax, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.16(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.18(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.19(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.20(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.21(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movl	%ebx, %edi
	leaq	-72(%rbp), %rsi
	callq	_get_s
	movq	-56(%rbp), %rsi
	movq	-72(%rbp), %rdx
	movq	%r13, %rdi
	callq	_jw_object_string
	jmp	LBB0_43
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movl	%ebx, %edi
	leaq	-60(%rbp), %rsi
	callq	_get_i
	movq	-56(%rbp), %rsi
	movl	-60(%rbp), %edx
	movq	%r13, %rdi
	callq	_jw_object_intmax
	jmp	LBB0_43
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movl	%ebx, %edi
	leaq	-60(%rbp), %rsi
	callq	_get_i
	movl	%ebx, %edi
	leaq	-72(%rbp), %rsi
	callq	_get_d
	movq	-56(%rbp), %rsi
	movl	-60(%rbp), %edx
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movq	%r13, %rdi
	callq	_jw_object_double
	jmp	LBB0_43
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_jw_object_true
	jmp	LBB0_43
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_jw_object_false
	jmp	LBB0_43
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_jw_object_null
	jmp	LBB0_43
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_jw_object_inline_begin_object
	jmp	LBB0_43
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-56(%rbp), %rsi
	callq	_get_s
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_jw_object_inline_begin_array
	jmp	LBB0_43
LBB0_27:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-72(%rbp), %rsi
	callq	_get_s
	movq	-72(%rbp), %rsi
	movq	%r13, %rdi
	callq	_jw_array_string
	jmp	LBB0_43
LBB0_29:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-60(%rbp), %rsi
	callq	_get_i
	movl	-60(%rbp), %esi
	movq	%r13, %rdi
	callq	_jw_array_intmax
	jmp	LBB0_43
LBB0_31:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	leaq	-60(%rbp), %rsi
	callq	_get_i
	movl	%ebx, %edi
	leaq	-72(%rbp), %rsi
	callq	_get_d
	movl	-60(%rbp), %esi
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movq	%r13, %rdi
	callq	_jw_array_double
	jmp	LBB0_43
LBB0_33:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_jw_array_true
	jmp	LBB0_43
LBB0_35:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_jw_array_false
	jmp	LBB0_43
LBB0_37:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_jw_array_null
	jmp	LBB0_43
LBB0_39:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_jw_array_inline_begin_object
	jmp	LBB0_43
LBB0_41:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_jw_array_inline_begin_array
	jmp	LBB0_43
LBB0_44:
	leaq	-80(%rbp), %rdi
	callq	_jw_is_terminated
	testl	%eax, %eax
	jne	LBB0_46
## %bb.45:
	movq	-80(%rbp), %rsi
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_46:
	movq	-80(%rbp), %rsi
	leaq	L_.str.23(%rip), %rdi
	callq	_printf
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_47:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_49
## %bb.48:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_JSON_WRITER_INIT,8,3           ## @JSON_WRITER_INIT
	.comm	_MAX_LINE_LENGTH,4,2            ## @MAX_LINE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"object"

	.comm	_pretty,4,2                     ## @pretty
L_.str.1:                               ## @.str.1
	.asciz	"array"

L_.str.2:                               ## @.str.2
	.asciz	"expected first line to be 'object' or 'array'"

L_.str.3:                               ## @.str.3
	.asciz	" "

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

L_.str.5:                               ## @.str.5
	.asciz	"object-string"

L_.str.6:                               ## @.str.6
	.asciz	"object-int"

L_.str.7:                               ## @.str.7
	.asciz	"object-double"

L_.str.8:                               ## @.str.8
	.asciz	"object-true"

L_.str.9:                               ## @.str.9
	.asciz	"object-false"

L_.str.10:                              ## @.str.10
	.asciz	"object-null"

L_.str.11:                              ## @.str.11
	.asciz	"object-object"

L_.str.12:                              ## @.str.12
	.asciz	"object-array"

L_.str.13:                              ## @.str.13
	.asciz	"array-string"

L_.str.14:                              ## @.str.14
	.asciz	"array-int"

L_.str.15:                              ## @.str.15
	.asciz	"array-double"

L_.str.16:                              ## @.str.16
	.asciz	"array-true"

L_.str.17:                              ## @.str.17
	.asciz	"array-false"

L_.str.18:                              ## @.str.18
	.asciz	"array-null"

L_.str.19:                              ## @.str.19
	.asciz	"array-object"

L_.str.20:                              ## @.str.20
	.asciz	"array-array"

L_.str.21:                              ## @.str.21
	.asciz	"unrecognized token: '%s'"

L_.str.22:                              ## @.str.22
	.asciz	"json not terminated: '%s'"

L_.str.23:                              ## @.str.23
	.asciz	"%s\n"

	.no_dead_strip	_scripted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scripted
_scripted:                              ; @scripted
	.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
	sub	sp, sp, #48
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _JSON_WRITER_INIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JSON_WRITER_INIT@GOTPAGEOFF]
	stur	x8, [x29, #-88]
Lloh5:
	ldr	x8, [x9]
	stur	x8, [x29, #-96]
Lloh6:
	adrp	x26, _MAX_LINE_LENGTH@GOTPAGE
Lloh7:
	ldr	x26, [x26, _MAX_LINE_LENGTH@GOTPAGEOFF]
	ldr	w8, [x26]
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	w1, [x26]
	mov	x0, x19
	bl	_get_trimmed_line
	cbz	x0, LBB0_47
; %bb.1:
	mov	x20, x0
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.2:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.3:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	b	LBB0_6
LBB0_4:
Lloh16:
	adrp	x8, _pretty@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pretty@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	sub	x0, x29, #96
	bl	_jw_object_begin
	b	LBB0_6
LBB0_5:
Lloh19:
	adrp	x8, _pretty@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pretty@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	sub	x0, x29, #96
	bl	_jw_array_begin
LBB0_6:
	ldr	w1, [x26]
	mov	x0, x19
	bl	_get_trimmed_line
	cbz	x0, LBB0_44
; %bb.7:
	mov	w20, #1
Lloh22:
	adrp	x21, l_.str.3@PAGE
Lloh23:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh24:
	adrp	x22, l_.str.4@PAGE
Lloh25:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh26:
	adrp	x23, l_.str.5@PAGE
Lloh27:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh28:
	adrp	x24, l_.str.6@PAGE
Lloh29:
	add	x24, x24, l_.str.6@PAGEOFF
Lloh30:
	adrp	x25, l_.str.7@PAGE
Lloh31:
	add	x25, x25, l_.str.7@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	sub	x0, x29, #96
	bl	_jw_end
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x26]
	mov	x0, x19
	bl	_get_trimmed_line
	add	w20, w20, #1
	cbz	x0, LBB0_44
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	bl	_strtok
	mov	x28, x0
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_29
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
	mov	x1, x25
	bl	_strcmp
	cbz	w0, LBB0_30
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_31
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh34:
	adrp	x1, l_.str.9@PAGE
Lloh35:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_32
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh36:
	adrp	x1, l_.str.10@PAGE
Lloh37:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_33
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh38:
	adrp	x1, l_.str.11@PAGE
Lloh39:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_34
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh40:
	adrp	x1, l_.str.12@PAGE
Lloh41:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_35
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh42:
	adrp	x1, l_.str.13@PAGE
Lloh43:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_36
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh44:
	adrp	x1, l_.str.14@PAGE
Lloh45:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_37
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh46:
	adrp	x1, l_.str.15@PAGE
Lloh47:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_38
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh48:
	adrp	x1, l_.str.16@PAGE
Lloh49:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_39
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh50:
	adrp	x1, l_.str.17@PAGE
Lloh51:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_40
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh52:
	adrp	x1, l_.str.18@PAGE
Lloh53:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_41
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh54:
	adrp	x1, l_.str.19@PAGE
Lloh55:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_42
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x28
Lloh56:
	adrp	x1, l_.str.20@PAGE
Lloh57:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_43
; %bb.27:                               ;   in Loop: Header=BB0_10 Depth=1
	str	x28, [sp, #-16]!
Lloh58:
	adrp	x0, l_.str.21@PAGE
Lloh59:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_die
	add	sp, sp, #16
	b	LBB0_9
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	sub	x1, x29, #112
	mov	x0, x20
	bl	_get_s
	ldp	x2, x1, [x29, #-112]
	sub	x0, x29, #96
	bl	_jw_object_string
	b	LBB0_9
LBB0_29:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	sub	x1, x29, #116
	mov	x0, x20
	bl	_get_i
	ldur	x1, [x29, #-104]
	ldur	w2, [x29, #-116]
	sub	x0, x29, #96
	bl	_jw_object_intmax
	b	LBB0_9
LBB0_30:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	sub	x1, x29, #116
	mov	x0, x20
	bl	_get_i
	sub	x1, x29, #112
	mov	x0, x20
	bl	_get_d
	ldur	x1, [x29, #-104]
	ldur	w2, [x29, #-116]
	ldur	d0, [x29, #-112]
	sub	x0, x29, #96
	bl	_jw_object_double
	b	LBB0_9
LBB0_31:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	ldur	x1, [x29, #-104]
	sub	x0, x29, #96
	bl	_jw_object_true
	b	LBB0_9
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	ldur	x1, [x29, #-104]
	sub	x0, x29, #96
	bl	_jw_object_false
	b	LBB0_9
LBB0_33:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	ldur	x1, [x29, #-104]
	sub	x0, x29, #96
	bl	_jw_object_null
	b	LBB0_9
LBB0_34:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	ldur	x1, [x29, #-104]
	sub	x0, x29, #96
	bl	_jw_object_inline_begin_object
	b	LBB0_9
LBB0_35:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #104
	mov	x0, x20
	bl	_get_s
	ldur	x1, [x29, #-104]
	sub	x0, x29, #96
	bl	_jw_object_inline_begin_array
	b	LBB0_9
LBB0_36:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #112
	mov	x0, x20
	bl	_get_s
	ldur	x1, [x29, #-112]
	sub	x0, x29, #96
	bl	_jw_array_string
	b	LBB0_9
LBB0_37:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #116
	mov	x0, x20
	bl	_get_i
	ldur	w1, [x29, #-116]
	sub	x0, x29, #96
	bl	_jw_array_intmax
	b	LBB0_9
LBB0_38:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x1, x29, #116
	mov	x0, x20
	bl	_get_i
	sub	x1, x29, #112
	mov	x0, x20
	bl	_get_d
	ldur	w1, [x29, #-116]
	ldur	d0, [x29, #-112]
	sub	x0, x29, #96
	bl	_jw_array_double
	b	LBB0_9
LBB0_39:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x0, x29, #96
	bl	_jw_array_true
	b	LBB0_9
LBB0_40:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x0, x29, #96
	bl	_jw_array_false
	b	LBB0_9
LBB0_41:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x0, x29, #96
	bl	_jw_array_null
	b	LBB0_9
LBB0_42:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x0, x29, #96
	bl	_jw_array_inline_begin_object
	b	LBB0_9
LBB0_43:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	x0, x29, #96
	bl	_jw_array_inline_begin_array
	b	LBB0_9
LBB0_44:
	sub	x0, x29, #96
	bl	_jw_is_terminated
	cbnz	w0, LBB0_46
; %bb.45:
	ldur	x8, [x29, #-96]
	str	x8, [sp, #-16]!
Lloh60:
	adrp	x0, l_.str.22@PAGE
Lloh61:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_die
	add	sp, sp, #16
LBB0_46:
	ldur	x1, [x29, #-96]
Lloh62:
	adrp	x0, l_.str.23@PAGE
Lloh63:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_printf
	sub	x0, x29, #96
	bl	_strbuf_release
LBB0_47:
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh64:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh65:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.48:
	mov	w0, #0
	sub	sp, x29, #80
	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_49:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_JSON_WRITER_INIT,8,3           ; @JSON_WRITER_INIT
	.comm	_MAX_LINE_LENGTH,4,2            ; @MAX_LINE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"object"

	.comm	_pretty,4,2                     ; @pretty
l_.str.1:                               ; @.str.1
	.asciz	"array"

l_.str.2:                               ; @.str.2
	.asciz	"expected first line to be 'object' or 'array'"

l_.str.3:                               ; @.str.3
	.asciz	" "

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

l_.str.5:                               ; @.str.5
	.asciz	"object-string"

l_.str.6:                               ; @.str.6
	.asciz	"object-int"

l_.str.7:                               ; @.str.7
	.asciz	"object-double"

l_.str.8:                               ; @.str.8
	.asciz	"object-true"

l_.str.9:                               ; @.str.9
	.asciz	"object-false"

l_.str.10:                              ; @.str.10
	.asciz	"object-null"

l_.str.11:                              ; @.str.11
	.asciz	"object-object"

l_.str.12:                              ; @.str.12
	.asciz	"object-array"

l_.str.13:                              ; @.str.13
	.asciz	"array-string"

l_.str.14:                              ; @.str.14
	.asciz	"array-int"

l_.str.15:                              ; @.str.15
	.asciz	"array-double"

l_.str.16:                              ; @.str.16
	.asciz	"array-true"

l_.str.17:                              ; @.str.17
	.asciz	"array-false"

l_.str.18:                              ; @.str.18
	.asciz	"array-null"

l_.str.19:                              ; @.str.19
	.asciz	"array-object"

l_.str.20:                              ; @.str.20
	.asciz	"array-array"

l_.str.21:                              ; @.str.21
	.asciz	"unrecognized token: '%s'"

l_.str.22:                              ; @.str.22
	.asciz	"json not terminated: '%s'"

l_.str.23:                              ; @.str.23
	.asciz	"%s\n"

	.no_dead_strip	_scripted
.subsections_via_symbols
