	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jsonb_in_scalar
_jsonb_in_scalar:                       ## @jsonb_in_scalar
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, %rbx
	addl	$-130, %edx
	cmpl	$4, %edx
	ja	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	_jbvBool@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	$1, -64(%rbp)
	jmp	LBB0_8
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	jmp	LBB0_8
LBB0_2:
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_Assert
	movq	_jbvString@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %edi
	callq	_checkStringLen
	movl	%eax, -40(%rbp)
	movq	%r14, -48(%rbp)
	jmp	LBB0_8
LBB0_3:
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_Assert
	movq	_jbvNumeric@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_numeric_in@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_CStringGetDatum
	movl	%eax, %r14d
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ObjectIdGetDatum
	movl	%eax, %r12d
	movl	$-1, %edi
	callq	_Int32GetDatum
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_DirectFunctionCall3
	movl	%eax, %edi
	callq	_DatumGetNumeric
	movl	%eax, -52(%rbp)
	jmp	LBB0_8
LBB0_6:
	movq	_jbvNull@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	jmp	LBB0_8
LBB0_5:
	movq	_jbvBool@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	$0, -64(%rbp)
LBB0_8:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_15
## %bb.11:
	cmpl	$129, %eax
	jne	LBB0_16
## %bb.12:
	movq	_WJB_ELEM@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:
	movl	$129, -112(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -100(%rbp)
	movq	_WJB_BEGIN_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pushJsonbValue
	movq	%rax, 8(%rbx)
	movq	_WJB_ELEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pushJsonbValue
	movq	%rax, 8(%rbx)
	movq	_WJB_END_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_15:
	movq	_WJB_VALUE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
LBB0_14:
	callq	_pushJsonbValue
	movq	%rax, 8(%rbx)
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elog                           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_jbvString,4,2                  ## @jbvString
	.comm	_jbvNumeric,4,2                 ## @jbvNumeric
	.comm	_numeric_in,4,2                 ## @numeric_in
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_jbvBool,8,3                    ## @jbvBool
	.comm	_jbvNull,4,2                    ## @jbvNull
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid json token type"

	.comm	_WJB_BEGIN_ARRAY,4,2            ## @WJB_BEGIN_ARRAY
	.comm	_WJB_ELEM,4,2                   ## @WJB_ELEM
	.comm	_WJB_END_ARRAY,4,2              ## @WJB_END_ARRAY
	.comm	_WJB_VALUE,4,2                  ## @WJB_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"unexpected parent of nested structure"

	.no_dead_strip	_jsonb_in_scalar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jsonb_in_scalar
_jsonb_in_scalar:                       ; @jsonb_in_scalar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x0
	sub	w8, w2, #130
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _jbvBool@GOTPAGE
Lloh3:
	ldr	x8, [x8, _jbvBool@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	mov	w9, #1
	str	w8, [sp, #40]
	str	w9, [sp, #48]
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
	b	LBB0_14
LBB0_3:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
	b	LBB0_14
LBB0_4:
	cmp	x20, #0
	cset	w0, ne
	bl	_Assert
Lloh10:
	adrp	x8, _jbvString@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jbvString@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	mov	x0, x20
	bl	_strlen
	bl	_checkStringLen
	str	w0, [sp, #72]
	str	x20, [sp, #64]
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
	b	LBB0_14
LBB0_5:
	cmp	x20, #0
	cset	w0, ne
	bl	_Assert
Lloh13:
	adrp	x8, _jbvNumeric@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jbvNumeric@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh16:
	adrp	x8, _numeric_in@GOTPAGE
Lloh17:
	ldr	x8, [x8, _numeric_in@GOTPAGEOFF]
Lloh18:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_CStringGetDatum
	mov	x20, x0
Lloh19:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh20:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_ObjectIdGetDatum
	mov	x22, x0
	mov	w0, #-1
	bl	_Int32GetDatum
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_DirectFunctionCall3
	bl	_DatumGetNumeric
	str	w0, [sp, #60]
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
	b	LBB0_14
LBB0_6:
Lloh22:
	adrp	x8, _jbvNull@GOTPAGE
Lloh23:
	ldr	x8, [x8, _jbvNull@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	x8, [x19]
	cbz	x8, LBB0_14
LBB0_7:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.8:
	cmp	w8, #129
	b.ne	LBB0_12
; %bb.9:
Lloh25:
	adrp	x8, _WJB_ELEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WJB_ELEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh27:
	adrp	x8, _WJB_VALUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WJB_VALUE@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x8]
	add	x2, sp, #40
	mov	x0, x19
	b	LBB0_15
LBB0_12:
Lloh29:
	adrp	x8, _ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	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
	add	sp, sp, #128
	b	_elog
LBB0_13:
Lloh34:
	adrp	x8, _jbvBool@GOTPAGE
Lloh35:
	ldr	x8, [x8, _jbvBool@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	str	w8, [sp, #40]
	str	wzr, [sp, #48]
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
LBB0_14:
	mov	w8, #129
	str	w8, [sp]
	movi.2s	v0, #1
	stur	d0, [sp, #12]
Lloh37:
	adrp	x8, _WJB_BEGIN_ARRAY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _WJB_BEGIN_ARRAY@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_pushJsonbValue
	str	x0, [x19, #8]
Lloh40:
	adrp	x8, _WJB_ELEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _WJB_ELEM@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	add	x2, sp, #40
	mov	x0, x19
	bl	_pushJsonbValue
	str	x0, [x19, #8]
Lloh43:
	adrp	x8, _WJB_END_ARRAY@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WJB_END_ARRAY@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
LBB0_15:
	bl	_pushJsonbValue
	str	x0, [x19, #8]
	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
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_jbvString,4,2                  ; @jbvString
	.comm	_jbvNumeric,4,2                 ; @jbvNumeric
	.comm	_numeric_in,4,2                 ; @numeric_in
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_jbvBool,8,3                    ; @jbvBool
	.comm	_jbvNull,4,2                    ; @jbvNull
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid json token type"

	.comm	_WJB_BEGIN_ARRAY,4,2            ; @WJB_BEGIN_ARRAY
	.comm	_WJB_ELEM,4,2                   ; @WJB_ELEM
	.comm	_WJB_END_ARRAY,4,2              ; @WJB_END_ARRAY
	.comm	_WJB_VALUE,4,2                  ; @WJB_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"unexpected parent of nested structure"

	.no_dead_strip	_jsonb_in_scalar
.subsections_via_symbols
