	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PLyDecimal_FromNumeric
_PLyDecimal_FromNumeric:                ## @PLyDecimal_FromNumeric
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	cmpq	$0, _PLyDecimal_FromNumeric.decimal_constructor(%rip)
	jne	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_PyImport_ImportModule
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_PyErr_Clear
	leaq	L_.str.1(%rip), %rdi
	callq	_PyImport_ImportModule
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_PLy_elog
	xorl	%eax, %eax
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_PyObject_GetAttrString
	movq	%rax, _PLyDecimal_FromNumeric.decimal_constructor(%rip)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_PLy_elog
LBB0_6:
	movq	_numeric_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_DirectFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetCString
	movq	_PLyDecimal_FromNumeric.decimal_constructor(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdx
	callq	_PyObject_CallFunction
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_PLy_elog
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_PLyDecimal_FromNumeric.decimal_constructor,8,3 ## @PLyDecimal_FromNumeric.decimal_constructor
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cdecimal"

L_.str.1:                               ## @.str.1
	.asciz	"decimal"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.2:                               ## @.str.2
	.asciz	"could not import a module for Decimal constructor"

L_.str.3:                               ## @.str.3
	.asciz	"Decimal"

L_.str.4:                               ## @.str.4
	.asciz	"no Decimal attribute in module"

	.comm	_numeric_out,4,2                ## @numeric_out
L_.str.5:                               ## @.str.5
	.asciz	"s"

L_.str.6:                               ## @.str.6
	.asciz	"conversion from numeric to Decimal failed"

	.no_dead_strip	_PLyDecimal_FromNumeric
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PLyDecimal_FromNumeric
_PLyDecimal_FromNumeric:                ; @PLyDecimal_FromNumeric
	.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
	mov	x19, x1
	adrp	x20, _PLyDecimal_FromNumeric.decimal_constructor@PAGE
	ldr	x8, [x20, _PLyDecimal_FromNumeric.decimal_constructor@PAGEOFF]
	cbnz	x8, LBB0_6
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PyImport_ImportModule
	cbnz	x0, LBB0_4
; %bb.2:
	bl	_PyErr_Clear
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_PyImport_ImportModule
	cbnz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PLy_elog
	mov	x0, #0
LBB0_4:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_PyObject_GetAttrString
	str	x0, [x20, _PLyDecimal_FromNumeric.decimal_constructor@PAGEOFF]
	cbnz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_PLy_elog
LBB0_6:
Lloh16:
	adrp	x8, _numeric_out@GOTPAGE
Lloh17:
	ldr	x8, [x8, _numeric_out@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_DirectFunctionCall1
	bl	_DatumGetCString
	mov	x2, x0
	ldr	x0, [x20, _PLyDecimal_FromNumeric.decimal_constructor@PAGEOFF]
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_PyObject_CallFunction
	mov	x19, x0
	cbnz	x0, LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_PLy_elog
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_PLyDecimal_FromNumeric.decimal_constructor,8,3 ; @PLyDecimal_FromNumeric.decimal_constructor
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cdecimal"

l_.str.1:                               ; @.str.1
	.asciz	"decimal"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.2:                               ; @.str.2
	.asciz	"could not import a module for Decimal constructor"

l_.str.3:                               ; @.str.3
	.asciz	"Decimal"

l_.str.4:                               ; @.str.4
	.asciz	"no Decimal attribute in module"

	.comm	_numeric_out,4,2                ; @numeric_out
l_.str.5:                               ; @.str.5
	.asciz	"s"

l_.str.6:                               ; @.str.6
	.asciz	"conversion from numeric to Decimal failed"

	.no_dead_strip	_PLyDecimal_FromNumeric
.subsections_via_symbols
