	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Jsonb_to_SV
_Jsonb_to_SV:                           ## @Jsonb_to_SV
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_JsonbIteratorInit
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	cmpl	$128, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.2:
	cmpl	$0, -56(%rbp)
	je	LBB0_16
## %bb.3:
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_ELEM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.4:
	leaq	-48(%rbp), %rdi
	leaq	-88(%rbp), %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_END_ARRAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	leaq	-48(%rbp), %rdi
	leaq	-88(%rbp), %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_DONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
LBB0_6:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
LBB0_7:
	leaq	-64(%rbp), %rdi
	callq	_JsonbValue_to_SV
	jmp	LBB0_19
LBB0_8:
	xorl	%eax, %eax
	callq	_newHV
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_DONE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_11
LBB0_9:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_10:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_11:
	movq	_WJB_KEY@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %rbx
	leaq	-88(%rbp), %r15
	leaq	-64(%rbp), %r12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	cmpl	(%r13), %eax
	je	LBB0_9
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r14), %eax
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_VALUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	callq	_JsonbValue_to_SV
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	callq	_hv_store
	jmp	LBB0_12
LBB0_16:
	xorl	%eax, %eax
	callq	_newAV
	movq	%rax, %r14
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	movq	_WJB_DONE@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_20
LBB0_17:
	movq	%r14, %rdi
LBB0_18:
	callq	_newRV
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_WJB_ELEM@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %rbx
	leaq	-48(%rbp), %r15
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_JsonbIteratorNext
	cmpl	(%r12), %eax
	je	LBB0_17
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r13), %eax
	jne	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %rdi
	callq	_JsonbValue_to_SV
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_av_push
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_dTHX,4,2                       ## @dTHX
	.comm	_WJB_ELEM,4,2                   ## @WJB_ELEM
	.comm	_WJB_END_ARRAY,4,2              ## @WJB_END_ARRAY
	.comm	_WJB_DONE,4,2                   ## @WJB_DONE
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected jsonb token: %d"

	.comm	_WJB_KEY,4,2                    ## @WJB_KEY
	.comm	_WJB_VALUE,4,2                  ## @WJB_VALUE
	.no_dead_strip	_Jsonb_to_SV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Jsonb_to_SV
_Jsonb_to_SV:                           ; @Jsonb_to_SV
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	bl	_JsonbIteratorInit
	str	x0, [sp, #24]
	add	x0, sp, #24
	add	x1, sp, #32
	mov	w2, #1
	bl	_JsonbIteratorNext
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.1:
	mov	x2, x0
	cmp	w0, #129
	b.ne	LBB0_14
; %bb.2:
	ldr	w8, [sp, #40]
	cbz	w8, LBB0_15
; %bb.3:
	add	x0, sp, #24
	add	x1, sp, #32
	mov	w2, #1
	bl	_JsonbIteratorNext
	mov	x2, x0
Lloh0:
	adrp	x8, _WJB_ELEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WJB_ELEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.4:
	add	x0, sp, #24
	add	x1, sp, #8
	mov	w2, #1
	bl	_JsonbIteratorNext
	mov	x2, x0
Lloh3:
	adrp	x8, _WJB_END_ARRAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WJB_END_ARRAY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
	add	x0, sp, #24
	add	x1, sp, #8
	mov	w2, #1
	bl	_JsonbIteratorNext
	mov	x2, x0
Lloh6:
	adrp	x8, _WJB_DONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WJB_DONE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_7:
	add	x0, sp, #32
	bl	_JsonbValue_to_SV
	b	LBB0_17
LBB0_8:
	bl	_newHV
	mov	x19, x0
	add	x0, sp, #24
	add	x1, sp, #32
	mov	w2, #1
	bl	_JsonbIteratorNext
Lloh14:
	adrp	x20, _WJB_DONE@GOTPAGE
Lloh15:
	ldr	x20, [x20, _WJB_DONE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.9:
Lloh16:
	adrp	x21, _WJB_KEY@GOTPAGE
Lloh17:
	ldr	x21, [x21, _WJB_KEY@GOTPAGEOFF]
Lloh18:
	adrp	x22, _WJB_VALUE@GOTPAGE
Lloh19:
	ldr	x22, [x22, _WJB_VALUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #24
	add	x1, sp, #32
	mov	w2, #1
	bl	_JsonbIteratorNext
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #24
	add	x1, sp, #8
	mov	w2, #1
	bl	_JsonbIteratorNext
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, sp, #8
	bl	_JsonbValue_to_SV
	mov	x3, x0
	ldp	w2, w1, [sp, #32]
	mov	x0, x19
	mov	w4, #0
	bl	_hv_store
	b	LBB0_10
LBB0_14:
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	x0, #0
	b	LBB0_17
LBB0_15:
	bl	_newAV
	mov	x19, x0
	add	x0, sp, #24
	add	x1, sp, #32
	mov	w2, #1
	bl	_JsonbIteratorNext
Lloh25:
	adrp	x20, _WJB_DONE@GOTPAGE
Lloh26:
	ldr	x20, [x20, _WJB_DONE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_18
LBB0_16:
	mov	x0, x19
	bl	_newRV
LBB0_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
	add	sp, sp, #96
	ret
LBB0_18:
Lloh27:
	adrp	x21, _WJB_ELEM@GOTPAGE
Lloh28:
	ldr	x21, [x21, _WJB_ELEM@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x0, sp, #24
	add	x1, sp, #32
	mov	w2, #1
	bl	_JsonbIteratorNext
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_16
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x0, sp, #32
	bl	_JsonbValue_to_SV
	mov	x1, x0
	mov	x0, x19
	bl	_av_push
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_dTHX,4,2                       ; @dTHX
	.comm	_WJB_ELEM,4,2                   ; @WJB_ELEM
	.comm	_WJB_END_ARRAY,4,2              ; @WJB_END_ARRAY
	.comm	_WJB_DONE,4,2                   ; @WJB_DONE
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected jsonb token: %d"

	.comm	_WJB_KEY,4,2                    ; @WJB_KEY
	.comm	_WJB_VALUE,4,2                  ; @WJB_VALUE
	.no_dead_strip	_Jsonb_to_SV
.subsections_via_symbols
