	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function populate_array_dim_jsonb
_populate_array_dim_jsonb:              ## @populate_array_dim_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rsi), %r15
	xorl	%eax, %eax
	callq	_check_stack_depth
	movq	(%r12), %rax
	movq	_jbvBinary@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_JsonContainerIsArray
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	leal	-1(%r14), %esi
	movq	%rbx, %rdi
	callq	_populate_array_report_expected_array
LBB0_3:
	movq	%r15, %rdi
	callq	_JsonContainerIsScalar
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	%r15, %rdi
	callq	_JsonbIteratorInit
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %r12
	leaq	-64(%rbp), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_BEGIN_ARRAY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	%rax, %r13
	cmpl	$0, (%rbx)
	jg	LBB0_9
## %bb.4:
	movq	_WJB_END_ARRAY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_8
## %bb.5:
	movq	_WJB_ELEM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_9
## %bb.6:
	movq	-64(%rbp), %rax
	movq	_jbvBinary@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rdi
	callq	_JsonContainerIsArray
	testl	%eax, %eax
	jne	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_populate_array_assign_ndims
LBB0_9:
	movl	$0, -80(%rbp)
	movq	%r15, -72(%rbp)
	movq	_WJB_ELEM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_19
## %bb.10:
	leal	1(%r14), %r15d
	leaq	-64(%rbp), %r12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	leaq	-80(%rbp), %rdx
	callq	_populate_array_element
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	%rax, %r13
	movq	_WJB_ELEM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_19
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%r14d, %eax
	jle	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_populate_array_dim_jsonb
	cmpl	$0, (%rbx)
	jle	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, 8(%rbx)
	setne	%al
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movzbl	%al, %edi
	callq	_Assert
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_populate_array_check_dimension
	jmp	LBB0_18
LBB0_19:
	movq	_WJB_END_ARRAY@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %r13
	sete	%dil
	callq	_Assert
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_DONE@GOTPCREL(%rip), %rcx
	xorq	(%rcx), %rax
	xorl	%edi, %edi
	orq	-48(%rbp), %rax
	sete	%dil
	callq	_Assert
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jbvBinary,8,3                  ## @jbvBinary
	.comm	_WJB_BEGIN_ARRAY,8,3            ## @WJB_BEGIN_ARRAY
	.comm	_WJB_END_ARRAY,8,3              ## @WJB_END_ARRAY
	.comm	_WJB_ELEM,8,3                   ## @WJB_ELEM
	.comm	_WJB_DONE,8,3                   ## @WJB_DONE
	.no_dead_strip	_populate_array_dim_jsonb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function populate_array_dim_jsonb
_populate_array_dim_jsonb:              ; @populate_array_dim_jsonb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
	bl	_check_stack_depth
	ldr	x8, [x22]
Lloh0:
	adrp	x25, _jbvBinary@GOTPAGE
Lloh1:
	ldr	x25, [x25, _jbvBinary@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_JsonContainerIsArray
	cbnz	w0, LBB0_3
LBB0_2:
	sub	w1, w19, #1
	mov	x0, x20
	bl	_populate_array_report_expected_array
LBB0_3:
	mov	x0, x21
	bl	_JsonContainerIsScalar
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x21
	bl	_JsonbIteratorInit
	str	x0, [sp, #40]
	add	x21, sp, #24
	add	x0, sp, #40
	add	x1, sp, #24
	mov	w2, #1
	bl	_JsonbIteratorNext
Lloh2:
	adrp	x8, _WJB_BEGIN_ARRAY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WJB_BEGIN_ARRAY@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_Assert
	add	x0, sp, #40
	add	x1, sp, #24
	mov	w2, #1
	bl	_JsonbIteratorNext
	mov	x22, x0
	ldr	w8, [x20]
Lloh5:
	adrp	x23, _WJB_END_ARRAY@GOTPAGE
Lloh6:
	ldr	x23, [x23, _WJB_END_ARRAY@GOTPAGEOFF]
Lloh7:
	adrp	x24, _WJB_ELEM@GOTPAGE
Lloh8:
	ldr	x24, [x24, _WJB_ELEM@GOTPAGEOFF]
	cmp	w8, #0
	b.gt	LBB0_9
; %bb.4:
	ldr	x8, [x23]
	cmp	x22, x8
	b.eq	LBB0_8
; %bb.5:
	ldr	x8, [x24]
	cmp	x22, x8
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [sp, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x0, [sp, #32]
	bl	_JsonContainerIsArray
	cbnz	w0, LBB0_9
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_populate_array_assign_ndims
LBB0_9:
	str	wzr, [sp, #8]
	str	x21, [sp, #16]
	ldr	x8, [x24]
	cmp	x22, x8
	b.ne	LBB0_19
; %bb.10:
	add	w21, w19, #1
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_populate_array_element
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, sp, #40
	add	x1, sp, #24
	mov	w2, #1
	bl	_JsonbIteratorNext
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, #1
	ccmp	w8, w19, #0, ge
	b.le	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x1, sp, #24
	mov	x0, x20
	mov	x2, x21
	bl	_populate_array_dim_jsonb
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #0
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_Assert
	mov	x0, x20
	mov	x1, x19
	bl	_populate_array_check_dimension
	b	LBB0_12
LBB0_18:
	mov	x22, x0
LBB0_19:
	ldr	x8, [x23]
	cmp	x22, x8
	cset	w0, eq
	bl	_Assert
	add	x0, sp, #40
	add	x1, sp, #24
	mov	w2, #1
	bl	_JsonbIteratorNext
Lloh9:
	adrp	x8, _WJB_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WJB_DONE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	ldr	x8, [sp, #40]
	ccmp	x8, #0, #0, eq
	cset	w0, eq
	bl	_Assert
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_jbvBinary,8,3                  ; @jbvBinary
	.comm	_WJB_BEGIN_ARRAY,8,3            ; @WJB_BEGIN_ARRAY
	.comm	_WJB_END_ARRAY,8,3              ; @WJB_END_ARRAY
	.comm	_WJB_ELEM,8,3                   ; @WJB_ELEM
	.comm	_WJB_DONE,8,3                   ; @WJB_DONE
	.no_dead_strip	_populate_array_dim_jsonb
.subsections_via_symbols
