	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_dim_to_jsonb
_array_dim_to_jsonb:                    ## @array_dim_to_jsonb
	.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	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r12
	xorl	%edi, %edi
	cmpl	%edx, %esi
	setl	%dil
	callq	_Assert
	movq	_WJB_BEGIN_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_pushJsonbValue
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%r12)
	movq	%rbx, %r12
	movslq	%r14d, %rbx
	cmpl	$0, (%r12,%rbx,4)
	jle	LBB0_6
## %bb.1:
	incl	%r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	subq	$8, %rsp
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%r12, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movl	32(%rbp), %eax
	pushq	%rax
	movl	24(%rbp), %eax
	pushq	%rax
	pushq	16(%rbp)
	callq	_array_dim_to_jsonb
	addq	$32, %rsp
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	cmpl	(%r12,%rbx,4), %r15d
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r13d, %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbp), %rax
	movslq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	24(%rbp), %ecx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	32(%rbp), %r8d
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	callq	_datum_to_jsonb
	movq	16(%rbp), %rax
	incl	(%rax)
	jmp	LBB0_5
LBB0_6:
	movq	_WJB_END_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_pushJsonbValue
	movq	%rax, 8(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WJB_BEGIN_ARRAY,4,2            ## @WJB_BEGIN_ARRAY
	.comm	_WJB_END_ARRAY,4,2              ## @WJB_END_ARRAY
	.no_dead_strip	_array_dim_to_jsonb
.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_jsonb
_array_dim_to_jsonb:                    ; @array_dim_to_jsonb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, #12]                   ; 4-byte Folded Spill
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x27, x1
	mov	x19, x0
	cmp	w1, w2
	cset	w0, lt
	bl	_Assert
Lloh0:
	adrp	x8, _WJB_BEGIN_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WJB_BEGIN_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_pushJsonbValue
	str	x0, [x19, #8]
	ldr	w8, [x24, w27, sxtw #2]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w28, #0
	ldr	w26, [x29, #16]
	sxtw	x20, w27
	add	w27, w27, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w26, [sp]
	mov	x0, x19
	mov	x1, x27
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	mov	x6, x21
	ldr	w7, [sp, #12]                   ; 4-byte Folded Reload
	bl	_array_dim_to_jsonb
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24, x20, lsl #2]
	add	w28, w28, #1
	cmp	w28, w8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w27, w25
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x21]
	lsl	x8, x8, #2
	ldr	w0, [x23, x8]
	ldr	w1, [x22, x8]
	mov	x2, x19
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	mov	x4, x26
	mov	w5, #0
	bl	_datum_to_jsonb
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_3
LBB0_6:
Lloh3:
	adrp	x8, _WJB_END_ARRAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WJB_END_ARRAY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_pushJsonbValue
	str	x0, [x19, #8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WJB_BEGIN_ARRAY,4,2            ; @WJB_BEGIN_ARRAY
	.comm	_WJB_END_ARRAY,4,2              ; @WJB_END_ARRAY
	.no_dead_strip	_array_dim_to_jsonb
.subsections_via_symbols
