	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_dim_to_json
_array_dim_to_json:                     ## @array_dim_to_json
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r12d
	movl	%esi, %r14d
	movl	%edi, %r13d
	movl	32(%rbp), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	%edx, %esi
	setl	%dil
	callq	_Assert
	cmpl	$0, 40(%rbp)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%r13d, %edi
	movl	$91, %esi
	callq	_appendStringInfoChar
	movslq	%r14d, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx,%rax,4)
	jle	LBB0_10
## %bb.1:
	incl	%r14d
	cmpl	%r12d, %r14d
	jne	LBB0_2
## %bb.3:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movslq	(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	movl	%r13d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	callq	_datum_to_json
	incl	(%r15)
	jmp	LBB0_4
LBB0_2:
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	pushq	$0
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_array_dim_to_json
	addq	$32, %rsp
LBB0_4:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	$2, (%rbx,%rax,4)
	jl	LBB0_10
## %bb.5:
	movl	$1, %r15d
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	pushq	$0
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_array_dim_to_json
	addq	$32, %rsp
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rbx,%rax,4), %r15d
	jge	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_appendStringInfoString
	cmpl	%r12d, %r14d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r12d, %r14d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movslq	(%r12), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	movl	%r13d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	callq	_datum_to_json
	incl	(%r12)
	movl	%r14d, %r12d
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_9
LBB0_10:
	movl	%r13d, %edi
	movl	$93, %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendStringInfoChar           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",\n "

L_.str.1:                               ## @.str.1
	.asciz	","

	.no_dead_strip	_array_dim_to_json
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function array_dim_to_json
_array_dim_to_json:                     ; @array_dim_to_json
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	w7, [sp, #28]                   ; 4-byte Folded Spill
	mov	x20, x6
	str	x5, [sp, #16]                   ; 8-byte Folded Spill
	mov	x22, x4
	mov	x23, x3
	mov	x25, x2
	mov	x28, x1
	mov	x24, x0
	ldp	w26, w19, [x29, #16]
	cmp	w1, w2
	cset	w0, lt
	bl	_Assert
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w19, #0
	csel	x27, x9, x8, eq
	mov	x0, x24
	mov	w1, #91
	bl	_appendStringInfoChar
	ldr	w8, [x23, w28, sxtw #2]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	sxtw	x19, w28
	add	w28, w28, #1
	cmp	w28, w25
	b.ne	LBB0_3
; %bb.2:
	ldrsw	x8, [x20]
	lsl	x8, x8, #2
	ldr	w0, [x22, x8]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [x9, x8]
	mov	x2, x24
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	mov	x4, x26
	mov	w5, #0
	bl	_datum_to_json
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
	stp	w26, wzr, [sp]
	mov	x0, x24
	mov	x1, x28
	mov	x2, x25
	mov	x3, x23
	mov	x4, x22
	ldr	x5, [sp, #16]                   ; 8-byte Folded Reload
	mov	x6, x20
	ldr	w7, [sp, #28]                   ; 4-byte Folded Reload
	bl	_array_dim_to_json
LBB0_4:
	ldr	w8, [x23, x19, lsl #2]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.5:
	mov	w21, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	stp	w26, wzr, [sp]
	mov	x0, x24
	mov	x1, x28
	mov	x2, x25
	mov	x3, x23
	mov	x4, x22
	ldr	x5, [sp, #16]                   ; 8-byte Folded Reload
	mov	x6, x20
	ldr	w7, [sp, #28]                   ; 4-byte Folded Reload
	bl	_array_dim_to_json
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x23, x19, lsl #2]
	add	w21, w21, #1
	cmp	w21, w8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x27
	bl	_appendStringInfoString
	cmp	w28, w25
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x8, [x20]
	lsl	x8, x8, #2
	ldr	w0, [x22, x8]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w1, [x9, x8]
	mov	x2, x24
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	mov	x4, x26
	mov	w5, #0
	bl	_datum_to_json
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_7
LBB0_10:
	mov	x0, x24
	mov	w1, #93
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_appendStringInfoChar
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",\n "

l_.str.1:                               ; @.str.1
	.asciz	","

	.no_dead_strip	_array_dim_to_json
.subsections_via_symbols
