	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decimal_from_decnumber
_decimal_from_decnumber:                ## @decimal_from_decnumber
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_rvc_normal@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	callq	_decNumberIsZero
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_rvc_zero@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_2:
	movq	%r15, %rdi
	callq	_decNumberIsNaN
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_rvc_nan@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_4:
	movq	%r15, %rdi
	callq	_decNumberIsInfinite
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_rvc_inf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_6:
	movq	_DEC_Overflow@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.7:
	movq	_rvc_inf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_8:
	movq	%r15, %rdi
	callq	_decNumberIsNegative
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	$1, 8(%rbx)
LBB0_10:
	movl	$1, 12(%rbx)
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.12:
	movq	_DEC_INIT_DECIMAL128@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_decContextDefault
	movq	$0, 8(%r14)
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decimal128FromNumber           ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rvc_normal,8,3                 ## @rvc_normal
	.comm	_rvc_zero,8,3                   ## @rvc_zero
	.comm	_rvc_nan,8,3                    ## @rvc_nan
	.comm	_rvc_inf,8,3                    ## @rvc_inf
	.comm	_DEC_Overflow,4,2               ## @DEC_Overflow
	.comm	_DEC_INIT_DECIMAL128,4,2        ## @DEC_INIT_DECIMAL128
	.no_dead_strip	_decimal_from_decnumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decimal_from_decnumber
_decimal_from_decnumber:                ; @decimal_from_decnumber
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x22, _rvc_normal@GOTPAGE
Lloh1:
	ldr	x22, [x22, _rvc_normal@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [x21]
	mov	x0, x20
	bl	_decNumberIsZero
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _rvc_zero@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rvc_zero@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_2:
	mov	x0, x20
	bl	_decNumberIsNaN
	cbz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _rvc_nan@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rvc_nan@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_4:
	mov	x0, x20
	bl	_decNumberIsInfinite
Lloh8:
	adrp	x8, _rvc_inf@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rvc_inf@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x9, [x8]
	str	x9, [x21]
LBB0_6:
	ldr	w9, [x19]
Lloh10:
	adrp	x10, _DEC_Overflow@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DEC_Overflow@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_8:
	mov	x0, x20
	bl	_decNumberIsNegative
	cbz	x0, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x21, #8]
LBB0_10:
	mov	w8, #1
	str	w8, [x21, #12]
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _DEC_INIT_DECIMAL128@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DEC_INIT_DECIMAL128@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_decContextDefault
	str	xzr, [x19, #8]
	ldr	x0, [x21, #16]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_decimal128FromNumber
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_rvc_normal,8,3                 ; @rvc_normal
	.comm	_rvc_zero,8,3                   ; @rvc_zero
	.comm	_rvc_nan,8,3                    ; @rvc_nan
	.comm	_rvc_inf,8,3                    ; @rvc_inf
	.comm	_DEC_Overflow,4,2               ; @DEC_Overflow
	.comm	_DEC_INIT_DECIMAL128,4,2        ; @DEC_INIT_DECIMAL128
	.no_dead_strip	_decimal_from_decnumber
.subsections_via_symbols
