	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PLyNumber_ToJsonbValue
_PLyNumber_ToJsonbValue:                ## @PLyNumber_ToJsonbValue
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_PLyObject_AsString
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_PG_TRY
	movq	_numeric_in@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_CStringGetDatum
	movl	%eax, %r13d
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ObjectIdGetDatum
	movl	%eax, %ebx
	movl	$-1, %edi
	callq	_Int32GetDatum
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_DirectFunctionCall3
	movl	%eax, %edi
	callq	_DatumGetNumeric
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_PG_CATCH
	movq	_ERROR@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%eax, %eax
	callq	_PG_END_TRY
	movq	%r12, %rdi
	callq	_pfree
	movl	%r15d, %edi
	callq	_numeric_is_nan
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r13), %ebx
	movq	_ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	_jbvNumeric@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	%r15d, (%r14)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numeric_in,4,2                 ## @numeric_in
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not convert value \"%s\" to jsonb"

	.comm	_ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE,4,2 ## @ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE
L_.str.1:                               ## @.str.1
	.asciz	"cannot convert NaN to jsonb"

	.comm	_jbvNumeric,4,2                 ## @jbvNumeric
	.no_dead_strip	_PLyNumber_ToJsonbValue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PLyNumber_ToJsonbValue
_PLyNumber_ToJsonbValue:                ; @PLyNumber_ToJsonbValue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	bl	_PLyObject_AsString
	mov	x20, x0
	bl	_PG_TRY
Lloh0:
	adrp	x8, _numeric_in@GOTPAGE
Lloh1:
	ldr	x8, [x8, _numeric_in@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_CStringGetDatum
	mov	x22, x0
Lloh3:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ObjectIdGetDatum
	mov	x23, x0
	mov	w0, #-1
	bl	_Int32GetDatum
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_DirectFunctionCall3
	bl	_DatumGetNumeric
	mov	x21, x0
	bl	_PG_CATCH
Lloh6:
	adrp	x23, _ERROR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	ldr	w22, [x23]
Lloh8:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
	str	x20, [sp]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
	bl	_PG_END_TRY
	mov	x0, x20
	bl	_pfree
	mov	x0, x21
	bl	_numeric_is_nan
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w20, [x23]
Lloh13:
	adrp	x8, _ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_errcode
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_2:
Lloh18:
	adrp	x8, _jbvNumeric@GOTPAGE
Lloh19:
	ldr	x8, [x8, _jbvNumeric@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	stp	w21, w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_numeric_in,4,2                 ; @numeric_in
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not convert value \"%s\" to jsonb"

	.comm	_ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE,4,2 ; @ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE
l_.str.1:                               ; @.str.1
	.asciz	"cannot convert NaN to jsonb"

	.comm	_jbvNumeric,4,2                 ; @jbvNumeric
	.no_dead_strip	_PLyNumber_ToJsonbValue
.subsections_via_symbols
