	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal64ToNumber              ## -- Begin function decimal64ToNumber
	.p2align	4, 0x90
_decimal64ToNumber:                     ## @decimal64ToNumber
	.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, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	(%rax), %r12d
	movl	%r12d, %r13d
	andl	$127, %r13d
	movq	%rsi, %rdi
	callq	_decNumberZero
	movq	%r14, %rdi
	callq	_decimal64Sign
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_2:
	cmpl	$120, %r13d
	jb	LBB0_9
## %bb.3:
	movq	_DECIMAL_Inf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %eax
	testb	$124, %al
	je	LBB0_4
## %bb.6:
	movq	_DECIMAL_NaN@GOTPCREL(%rip), %rax
	xorl	(%rax), %r12d
	testb	$126, %r12b
	je	LBB0_7
## %bb.8:
	movq	_DECSNAN@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_9:
	movq	%r13, %rbx
	shrq	$2, %rbx
	movl	%ebx, %eax
	andl	$7, %eax
	movl	%ebx, %r12d
	andl	$1, %r12d
	orl	$8, %r12d
	cmpl	$96, %r13d
	setae	%cl
	cmovbl	%eax, %r12d
	addb	%cl, %cl
	orb	$5, %cl
	shlq	%cl, %rbx
	andl	$768, %ebx                      ## imm = 0x300
	movq	%r14, %rdi
	callq	_decimal64ExpCon
	addq	%rbx, %rax
	movq	_DECIMAL64_Bias@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, 8(%r15)
	movl	(%r15), %eax
	jmp	LBB0_10
LBB0_4:
	movq	_DECINF@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_7:
	movq	_DECNAN@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%r15), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r15)
	xorl	%r12d, %r12d
LBB0_10:
	movq	_DECINF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_15
## %bb.11:
	movq	_DECIMAL64_Pmax@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1431655766, %rax, %rcx         ## imm = 0x55555556
	movq	%rcx, %rax
	shrq	$63, %rax
	shrq	$32, %rcx
	addl	%eax, %ecx
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.13:
	movq	(%r14), %rax
	leaq	-48(%rbp), %r14
	movq	%rax, -48(%rbp)
	movl	$0, (%rax)
	movl	4(%rax), %edx
	andl	$3, %edx
	leal	(%rdx,%r12,4), %edx
	movl	%edx, 4(%rax)
	movl	$1, %r8d
	jmp	LBB0_14
LBB0_12:
	xorl	%r8d, %r8d
LBB0_14:
	movq	(%r14), %rdi
	movl	$8, %esi
	movq	%r15, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_decDenseUnpackCoeff
LBB0_15:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DECNEG,4,2                     ## @DECNEG
	.comm	_DECIMAL_Inf,4,2                ## @DECIMAL_Inf
	.comm	_DECINF,4,2                     ## @DECINF
	.comm	_DECIMAL_NaN,4,2                ## @DECIMAL_NaN
	.comm	_DECNAN,4,2                     ## @DECNAN
	.comm	_DECSNAN,4,2                    ## @DECSNAN
	.comm	_DECIMAL64_Bias,8,3             ## @DECIMAL64_Bias
	.comm	_DECIMAL64_Pmax,4,2             ## @DECIMAL64_Pmax
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal64ToNumber              ; -- Begin function decimal64ToNumber
	.p2align	2
_decimal64ToNumber:                     ; @decimal64ToNumber
	.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
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w22, [x8]
	and	x23, x22, #0x7f
	mov	x0, x1
	bl	_decNumberZero
	mov	x0, x20
	bl	_decimal64Sign
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DECNEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DECNEG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_2:
Lloh3:
	adrp	x21, _DECINF@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DECINF@GOTPAGEOFF]
	cmp	w23, #120
	b.lo	LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _DECIMAL_Inf@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DECIMAL_Inf@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	eor	w8, w8, w22
	tst	w8, #0x7c
	b.eq	LBB0_7
; %bb.4:
Lloh8:
	adrp	x8, _DECIMAL_NaN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DECIMAL_NaN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	eor	w8, w8, w22
	tst	w8, #0x7e
	b.eq	LBB0_8
; %bb.5:
	mov	w22, #0
Lloh11:
	adrp	x8, _DECSNAN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DECSNAN@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	lsr	x8, x23, #2
	ubfx	x9, x23, #2, #3
	ubfx	x10, x23, #2, #1
	orr	w10, w10, #0x8
	mov	w11, #5
	mov	w12, #7
	cmp	w23, #95
	csel	w11, w12, w11, hi
	csel	w22, w10, w9, hi
	lsl	x8, x8, x11
	and	x23, x8, #0x300
	mov	x0, x20
	bl	_decimal64ExpCon
Lloh13:
	adrp	x8, _DECIMAL64_Bias@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DECIMAL64_Bias@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	add	x9, x0, x23
	sub	x8, x9, x8
	str	x8, [x19, #8]
	ldr	w8, [x19]
	b	LBB0_11
LBB0_7:
	mov	w22, #0
	ldr	w8, [x21]
	b	LBB0_10
LBB0_8:
	mov	w22, #0
Lloh16:
	adrp	x8, _DECNAN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DECNAN@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
LBB0_10:
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.12:
Lloh18:
	adrp	x8, _DECIMAL64_Pmax@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DECIMAL64_Pmax@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w3, w8, w9
	cbz	w22, LBB0_14
; %bb.13:
	ldr	x8, [x20]
	str	x8, [sp, #8]
	ldr	w9, [x8, #4]
	and	w9, w9, #0x3
	bfi	w9, w22, #2, #4
	stp	wzr, w9, [x8]
	mov	w4, #1
	add	x20, sp, #8
	b	LBB0_15
LBB0_14:
	mov	w4, #0
LBB0_15:
	ldr	x0, [x20]
	mov	w1, #8
	mov	x2, x19
	bl	_decDenseUnpackCoeff
LBB0_16:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DECNEG,4,2                     ; @DECNEG
	.comm	_DECIMAL_Inf,4,2                ; @DECIMAL_Inf
	.comm	_DECINF,4,2                     ; @DECINF
	.comm	_DECIMAL_NaN,4,2                ; @DECIMAL_NaN
	.comm	_DECNAN,4,2                     ; @DECNAN
	.comm	_DECSNAN,4,2                    ; @DECSNAN
	.comm	_DECIMAL64_Bias,8,3             ; @DECIMAL64_Bias
	.comm	_DECIMAL64_Pmax,4,2             ; @DECIMAL64_Pmax
.subsections_via_symbols
