	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function numeric_to_double_no_overflow
_numeric_to_double_no_overflow:         ## @numeric_to_double_no_overflow
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_numeric_out@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_NumericGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_DirectFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetCString
	movq	%rax, %rbx
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_strtod
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movq	-32(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	%rbx, %rdi
	callq	_pfree
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numeric_out,4,2                ## @numeric_out
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ## @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid input syntax for type %s: \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"double precision"

	.no_dead_strip	_numeric_to_double_no_overflow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function numeric_to_double_no_overflow
_numeric_to_double_no_overflow:         ; @numeric_to_double_no_overflow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
Lloh0:
	adrp	x8, _numeric_out@GOTPAGE
Lloh1:
	ldr	x8, [x8, _numeric_out@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_NumericGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_DirectFunctionCall1
	bl	_DatumGetCString
	mov	x19, x0
	add	x1, sp, #8
	bl	_strtod
	fmov	d8, d0
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_2:
	mov	x0, x19
	bl	_pfree
	fmov	d0, d8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_numeric_out,4,2                ; @numeric_out
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ; @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid input syntax for type %s: \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"double precision"

	.no_dead_strip	_numeric_to_double_no_overflow
.subsections_via_symbols
