	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kson_format_recur              ## -- Begin function kson_format_recur
	.p2align	4, 0x90
_kson_format_recur:                     ## @kson_format_recur
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	_KSON_TYPE_BRACKET@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.3:
	movq	_KSON_TYPE_BRACE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_4
## %bb.19:
	movq	_KSON_TYPE_NO_QUOTE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_21
## %bb.20:
	movq	_KSON_TYPE_SGL_QUOTE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	leal	(%rdx,%rdx,4), %edi
	addl	$34, %edi
	callq	_putchar
LBB0_21:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rdi
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_fputs
	movq	8(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_22
## %bb.24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setne	%dil
	shll	$5, %edi
	orl	$91, %edi
	callq	_putchar
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 32(%rax)
	je	LBB0_18
## %bb.5:
	movl	$10, %edi
	callq	_putchar
	movslq	-64(%rbp), %r12                 ## 4-byte Folded Reload
	testl	%r12d, %r12d
	js	LBB0_8
## %bb.6:
	leaq	1(%r12), %rbx
	movq	_stdout@GOTPCREL(%rip), %r15
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_fputs
	decq	%rbx
	jne	LBB0_7
LBB0_8:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 32(%rax)
	jle	LBB0_15
## %bb.9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	_stdout@GOTPCREL(%rip), %r15
	leaq	L_.str.1(%rip), %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_kson_format_recur
	incq	%r14
	cmpq	32(%rbx), %r14
	jge	LBB0_15
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	testq	%r14, %r14
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$44, %edi
	callq	_putchar
	movl	$10, %edi
	callq	_putchar
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_fputs
	decl	%r12d
	jne	LBB0_13
	jmp	LBB0_14
LBB0_15:
	movl	$10, %edi
	callq	_putchar
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	_KSON_TYPE_BRACKET@GOTPCREL(%rip), %r15
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_18
## %bb.16:
	movq	_stdout@GOTPCREL(%rip), %r14
	leaq	L_.str.1(%rip), %r12
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_fputs
	decq	%rbx
	jne	LBB0_17
LBB0_18:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	cmpq	(%r15), %rax
	setne	%al
	shlb	$5, %al
	orb	$93, %al
	jmp	LBB0_23
LBB0_22:
	movq	_KSON_TYPE_SGL_QUOTE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	leal	(%rdx,%rdx,4), %eax
	addl	$34, %eax
LBB0_23:
	movsbl	%al, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putchar                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\":"

	.comm	_KSON_TYPE_BRACKET,8,3          ## @KSON_TYPE_BRACKET
	.comm	_KSON_TYPE_BRACE,8,3            ## @KSON_TYPE_BRACE
L_.str.1:                               ## @.str.1
	.asciz	"  "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_KSON_TYPE_NO_QUOTE,8,3         ## @KSON_TYPE_NO_QUOTE
	.comm	_KSON_TYPE_SGL_QUOTE,8,3        ## @KSON_TYPE_SGL_QUOTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kson_format_recur              ; -- Begin function kson_format_recur
	.p2align	2
_kson_format_recur:                     ; @kson_format_recur
	.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	x20, x1
	mov	x19, x0
	ldr	x1, [x0]
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x23, _KSON_TYPE_BRACKET@GOTPAGE
Lloh3:
	ldr	x23, [x23, _KSON_TYPE_BRACKET@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh4:
	adrp	x10, _KSON_TYPE_BRACE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _KSON_TYPE_BRACE@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_14
; %bb.3:
	cmp	x8, x9
	mov	w8, #123
	mov	w9, #91
	csel	w0, w9, w8, eq
	bl	_putchar
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_21
; %bb.4:
	mov	w0, #10
	bl	_putchar
	sxtw	x24, w20
	tbnz	w20, #31, LBB0_7
; %bb.5:
	add	x22, x24, #1
Lloh7:
	adrp	x25, _stdout@GOTPAGE
Lloh8:
	ldr	x25, [x25, _stdout@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x21
	bl	_fputs
	subs	x22, x22, #1
	b.ne	LBB0_6
LBB0_7:
	ldr	x8, [x19, #32]
	cmp	x8, #1
	b.lt	LBB0_18
; %bb.8:
	mov	x25, #0
	add	w21, w20, #1
Lloh11:
	adrp	x26, _stdout@GOTPAGE
Lloh12:
	ldr	x26, [x26, _stdout@GOTPAGEOFF]
Lloh13:
	adrp	x22, l_.str.1@PAGE
Lloh14:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #24]
	ldr	x0, [x8, x25, lsl #3]
	mov	x1, x21
	bl	_kson_format_recur
	add	x25, x25, #1
	ldr	x8, [x19, #32]
	cmp	x25, x8
	b.ge	LBB0_18
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	cbz	x25, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #44
	bl	_putchar
	mov	w0, #10
	bl	_putchar
	tbnz	w20, #31, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x27, x21
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x26]
	mov	x0, x22
	bl	_fputs
	subs	w27, w27, #1
	b.ne	LBB0_13
	b	LBB0_9
LBB0_14:
Lloh15:
	adrp	x21, _KSON_TYPE_NO_QUOTE@GOTPAGE
Lloh16:
	ldr	x21, [x21, _KSON_TYPE_NO_QUOTE@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh17:
	adrp	x20, _KSON_TYPE_SGL_QUOTE@GOTPAGE
Lloh18:
	ldr	x20, [x20, _KSON_TYPE_SGL_QUOTE@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	ldr	x9, [x20]
	cmp	x8, x9
	mov	w8, #34
	mov	w9, #39
	csel	w0, w9, w8, eq
	bl	_putchar
LBB0_16:
	ldr	x0, [x19, #16]
Lloh19:
	adrp	x8, _stdout@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_fputs
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.17:
	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_18:
	mov	w0, #10
	bl	_putchar
	cmp	w20, #1
	b.lt	LBB0_21
; %bb.19:
Lloh22:
	adrp	x21, _stdout@GOTPAGE
Lloh23:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
Lloh24:
	adrp	x20, l_.str.1@PAGE
Lloh25:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_fputs
	subs	x24, x24, #1
	b.ne	LBB0_20
LBB0_21:
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	mov	w8, #125
	mov	w9, #93
	b	LBB0_23
LBB0_22:
	ldr	x9, [x20]
	cmp	x8, x9
	mov	w8, #34
	mov	w9, #39
LBB0_23:
	csel	w0, w9, w8, eq
	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
	b	_putchar
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\":"

	.comm	_KSON_TYPE_BRACKET,8,3          ; @KSON_TYPE_BRACKET
	.comm	_KSON_TYPE_BRACE,8,3            ; @KSON_TYPE_BRACE
l_.str.1:                               ; @.str.1
	.asciz	"  "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_KSON_TYPE_NO_QUOTE,8,3         ; @KSON_TYPE_NO_QUOTE
	.comm	_KSON_TYPE_SGL_QUOTE,8,3        ; @KSON_TYPE_SGL_QUOTE
.subsections_via_symbols
