	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JsonbValue_to_SV
_JsonbValue_to_SV:                      ## @JsonbValue_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %edx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	8(%rdi), %esi
	movl	12(%rdi), %edi
	callq	_pnstrdup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_cstr2sv
	jmp	LBB0_5
LBB0_11:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_newSV                          ## TAILCALL
LBB0_2:
	movl	20(%rdi), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Jsonb_to_SV                    ## TAILCALL
LBB0_12:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_numeric_out@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	16(%rdi), %edi
	callq	_NumericGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetCString
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_cstr2sv
	movq	%rax, %rdi
	callq	_SvNV
	movl	%eax, %edi
	callq	_newSVnv
LBB0_5:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_pfree
	movq	%r14, %rax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	cmpl	$0, 4(%rdi)
	jne	LBB0_8
## %bb.9:
	movq	_PL_sv_no@GOTPCREL(%rip), %rdi
	jmp	LBB0_10
LBB0_8:
	movq	_PL_sv_yes@GOTPCREL(%rip), %rdi
LBB0_10:
	callq	_SvNV
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_newSVnv                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_dTHX,4,2                       ## @dTHX
	.comm	_numeric_out,4,2                ## @numeric_out
	.comm	_PL_sv_yes,4,2                  ## @PL_sv_yes
	.comm	_PL_sv_no,4,2                   ## @PL_sv_no
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected jsonb value type: %d"

	.no_dead_strip	_JsonbValue_to_SV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JsonbValue_to_SV
_JsonbValue_to_SV:                      ; @JsonbValue_to_SV
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
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:
	ldp	w1, w8, [x0, #8]
	mov	x0, x8
	bl	_pnstrdup
	mov	x19, x0
	bl	_cstr2sv
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	x0, #0
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _numeric_out@GOTPAGE
Lloh8:
	ldr	x8, [x8, _numeric_out@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
	ldr	w0, [x0, #16]
	bl	_NumericGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_DirectFunctionCall1
	bl	_DatumGetCString
	mov	x19, x0
	bl	_cstr2sv
	bl	_SvNV
	bl	_newSVnv
LBB0_5:
	mov	x20, x0
	mov	x0, x19
	bl	_pfree
	mov	x0, x20
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_newSV
LBB0_8:
	ldr	w8, [x0, #4]
Lloh10:
	adrp	x9, _PL_sv_yes@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PL_sv_yes@GOTPAGEOFF]
Lloh12:
	adrp	x10, _PL_sv_no@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PL_sv_no@GOTPAGEOFF]
	cmp	w8, #0
	csel	x0, x10, x9, eq
	bl	_SvNV
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_newSVnv
LBB0_9:
	ldr	w0, [x0, #20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Jsonb_to_SV
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_dTHX,4,2                       ; @dTHX
	.comm	_numeric_out,4,2                ; @numeric_out
	.comm	_PL_sv_yes,4,2                  ; @PL_sv_yes
	.comm	_PL_sv_no,4,2                   ; @PL_sv_no
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected jsonb value type: %d"

	.no_dead_strip	_JsonbValue_to_SV
.subsections_via_symbols
