	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JsonbIteratorNext              ## -- Begin function JsonbIteratorNext
	.p2align	4, 0x90
_JsonbIteratorNext:                     ## @JsonbIteratorNext
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$130, (%rax)
	movl	44(%rax), %edi
	movq	8(%rax), %rsi
	addq	16(%rax), %rsi
	movl	40(%rax), %edx
	movl	32(%rax), %ecx
	movq	%r14, %r8
	callq	_fillJsonbValue
	movq	(%rbx), %rax
	movl	36(%rax), %edi
	movq	16(%rax), %rcx
	movq	24(%rax), %rax
	movl	(%rax,%rcx,4), %esi
	callq	_JBE_ADVANCE_OFFSET
	movq	(%rbx), %rax
	movl	32(%rax), %edi
	movq	8(%rax), %rcx
	movq	24(%rax), %rdx
	addq	16(%rax), %rcx
	movl	(%rdx,%rcx,4), %esi
	callq	_JBE_ADVANCE_OFFSET
	movq	(%rbx), %rax
	incq	16(%rax)
	movq	%r14, %rdi
	callq	_IsAJsonbScalar
	orl	%r15d, %eax
	jne	LBB0_19
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	movq	(%rbx), %rsi
	callq	_iteratorFromContainer
	movq	%rax, (%rbx)
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r12,%rcx,4), %rcx
	addq	%r12, %rcx
	jmpq	*%rcx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rax), %rsi
	cmpq	8(%rax), %rsi
	jae	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	44(%rax), %edi
	movl	36(%rax), %ecx
	movl	40(%rax), %edx
	movq	%r14, %r8
	callq	_fillJsonbValue
	movq	(%rbx), %rax
	movl	36(%rax), %edi
	movq	16(%rax), %rcx
	movq	24(%rax), %rax
	movl	(%rax,%rcx,4), %esi
	callq	_JBE_ADVANCE_OFFSET
	movq	(%rbx), %rax
	incq	16(%rax)
	movq	%r14, %rdi
	callq	_IsAJsonbScalar
	orl	%r15d, %eax
	je	LBB0_3
## %bb.8:
	movq	_WJB_ELEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_WJB_DONE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_13:
	movq	_jbvObject@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r14)
	movq	8(%rax), %rsi
	movq	%rsi, 8(%r14)
	movq	$0, 16(%rax)
	movl	$0, 36(%rax)
	movl	44(%rax), %edi
	callq	_getJsonbOffset
	movq	(%rbx), %rcx
	movl	%eax, 32(%rcx)
	movl	$130, (%rcx)
	movq	_WJB_BEGIN_OBJECT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_14:
	movq	_jbvArray@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r14)
	movq	8(%rax), %rcx
	movq	%rcx, 16(%r14)
	movl	48(%rax), %ecx
	movl	%ecx, 24(%r14)
	movq	$0, 16(%rax)
	movq	$0, 32(%rax)
	movl	$132, (%rax)
	movq	_WJB_BEGIN_ARRAY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_15:
	movq	16(%rax), %rsi
	cmpq	8(%rax), %rsi
	jae	LBB0_21
## %bb.16:
	movl	44(%rax), %edi
	movl	36(%rax), %ecx
	movl	40(%rax), %edx
	movq	%r14, %r8
	callq	_fillJsonbValue
	movl	32(%r14), %eax
	movq	_jbvString@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_18:
	movq	(%rbx), %rax
	movl	$128, (%rax)
	movq	_WJB_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_19:
	movq	_WJB_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_20:
	movq	%rax, %rdi
	callq	_freeAndGetParent
	movq	%rax, (%rbx)
	movq	_WJB_END_ARRAY@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_21:
	movq	%rax, %rdi
	callq	_freeAndGetParent
	movq	%rax, (%rbx)
	movq	_WJB_END_OBJECT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_WJB_DONE,4,2                   ## @WJB_DONE
	.comm	_jbvArray,4,2                   ## @jbvArray
	.comm	_WJB_BEGIN_ARRAY,4,2            ## @WJB_BEGIN_ARRAY
	.comm	_WJB_END_ARRAY,4,2              ## @WJB_END_ARRAY
	.comm	_WJB_ELEM,4,2                   ## @WJB_ELEM
	.comm	_jbvObject,4,2                  ## @jbvObject
	.comm	_WJB_BEGIN_OBJECT,4,2           ## @WJB_BEGIN_OBJECT
	.comm	_WJB_END_OBJECT,4,2             ## @WJB_END_OBJECT
	.comm	_jbvString,4,2                  ## @jbvString
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected jsonb type as object key"

	.comm	_WJB_KEY,4,2                    ## @WJB_KEY
	.comm	_WJB_VALUE,4,2                  ## @WJB_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"invalid iterator state"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JsonbIteratorNext              ; -- Begin function JsonbIteratorNext
	.p2align	2
_JsonbIteratorNext:                     ; @JsonbIteratorNext
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x22, lJTI0_0@PAGE
Lloh1:
	add	x22, x22, lJTI0_0@PAGEOFF
	mov	w23, #130
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w23, [x0]
	ldp	x9, x8, [x0, #8]
	add	x1, x9, x8
	ldp	w2, w8, [x0, #40]
	ldr	w3, [x0, #32]
	mov	x0, x8
	mov	x4, x20
	bl	_fillJsonbValue
	ldr	x8, [x19]
	ldr	w0, [x8, #36]
	ldp	x8, x9, [x8, #16]
	ldr	w1, [x9, x8, lsl #2]
	bl	_JBE_ADVANCE_OFFSET
	ldr	x8, [x19]
	ldr	w0, [x8, #32]
	ldp	x10, x9, [x8, #16]
	ldr	x8, [x8, #8]
	add	x8, x8, x10
	ldr	w1, [x9, x8, lsl #2]
	bl	_JBE_ADVANCE_OFFSET
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
	add	x9, x9, #1
	str	x9, [x8, #16]
	mov	x0, x20
	bl	_IsAJsonbScalar
	orr	w8, w0, w21
	cbnz	w8, LBB0_19
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
	ldr	x1, [x19]
	bl	_iteratorFromContainer
	str	x0, [x19]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x1, [x0, #8]
	cmp	x1, x8
	b.hs	LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w2, w8, [x0, #40]
	ldr	w3, [x0, #36]
	mov	x0, x8
	mov	x4, x20
	bl	_fillJsonbValue
	ldr	x8, [x19]
	ldr	w0, [x8, #36]
	ldp	x8, x9, [x8, #16]
	ldr	w1, [x9, x8, lsl #2]
	bl	_JBE_ADVANCE_OFFSET
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
	add	x9, x9, #1
	str	x9, [x8, #16]
	mov	x0, x20
	bl	_IsAJsonbScalar
	orr	w8, w0, w21
	cbz	w8, LBB0_3
; %bb.8:
Lloh2:
	adrp	x8, _WJB_ELEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WJB_ELEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh4:
	adrp	x8, _WJB_DONE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WJB_DONE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	mov	w0, #-1
	b	LBB0_11
LBB0_13:
Lloh11:
	adrp	x8, _jbvObject@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jbvObject@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	ldr	x1, [x0, #8]
	str	x1, [x20, #8]
	str	xzr, [x0, #16]
	str	wzr, [x0, #36]
	ldr	w0, [x0, #44]
	bl	_getJsonbOffset
	ldr	x8, [x19]
	str	w0, [x8, #32]
	mov	w9, #130
	str	w9, [x8]
Lloh14:
	adrp	x8, _WJB_BEGIN_OBJECT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WJB_BEGIN_OBJECT@GOTPAGEOFF]
	b	LBB0_10
LBB0_14:
Lloh16:
	adrp	x8, _jbvArray@GOTPAGE
Lloh17:
	ldr	x8, [x8, _jbvArray@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	ldr	x8, [x0, #8]
	str	x8, [x20, #16]
	ldr	w8, [x0, #48]
	str	w8, [x20, #24]
	str	xzr, [x0, #16]
	str	xzr, [x0, #32]
	mov	w8, #132
	str	w8, [x0]
Lloh19:
	adrp	x8, _WJB_BEGIN_ARRAY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WJB_BEGIN_ARRAY@GOTPAGEOFF]
	b	LBB0_10
LBB0_15:
	ldp	x8, x1, [x0, #8]
	cmp	x1, x8
	b.hs	LBB0_21
; %bb.16:
	ldp	w2, w8, [x0, #40]
	ldr	w3, [x0, #36]
	mov	x0, x8
	mov	x4, x20
	bl	_fillJsonbValue
	ldr	w8, [x20, #32]
Lloh21:
	adrp	x9, _jbvString@GOTPAGE
Lloh22:
	ldr	x9, [x9, _jbvString@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_18
; %bb.17:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_18:
	ldr	x8, [x19]
	mov	w9, #128
	str	w9, [x8]
Lloh29:
	adrp	x8, _WJB_KEY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WJB_KEY@GOTPAGEOFF]
	b	LBB0_10
LBB0_19:
Lloh31:
	adrp	x8, _WJB_VALUE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WJB_VALUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_20:
	bl	_freeAndGetParent
	str	x0, [x19]
Lloh33:
	adrp	x8, _WJB_END_ARRAY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _WJB_END_ARRAY@GOTPAGEOFF]
	b	LBB0_10
LBB0_21:
	bl	_freeAndGetParent
	str	x0, [x19]
Lloh35:
	adrp	x8, _WJB_END_OBJECT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _WJB_END_OBJECT@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_WJB_DONE,4,2                   ; @WJB_DONE
	.comm	_jbvArray,4,2                   ; @jbvArray
	.comm	_WJB_BEGIN_ARRAY,4,2            ; @WJB_BEGIN_ARRAY
	.comm	_WJB_END_ARRAY,4,2              ; @WJB_END_ARRAY
	.comm	_WJB_ELEM,4,2                   ; @WJB_ELEM
	.comm	_jbvObject,4,2                  ; @jbvObject
	.comm	_WJB_BEGIN_OBJECT,4,2           ; @WJB_BEGIN_OBJECT
	.comm	_WJB_END_OBJECT,4,2             ; @WJB_END_OBJECT
	.comm	_jbvString,4,2                  ; @jbvString
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected jsonb type as object key"

	.comm	_WJB_KEY,4,2                    ; @WJB_KEY
	.comm	_WJB_VALUE,4,2                  ; @WJB_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"invalid iterator state"

.subsections_via_symbols
