	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decPackedToNumber              ## -- Begin function decPackedToNumber
	.p2align	4, 0x90
_decPackedToNumber:                     ## @decPackedToNumber
	.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	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	16(%rcx), %r13
	movq	%rcx, %rdi
	callq	_decNumberZero
	movslq	%r12d, %r9
	movl	-4(%rbx,%r9,4), %eax
	andl	$15, %eax
	movq	_DECPMINUS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_DECPMINUSALT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.12:
	cmpl	$10, %eax
	jae	LBB0_3
	jmp	LBB0_10
LBB0_2:
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_3:
	decq	%r9
	leaq	4(,%r9,4), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rax), %esi
	addq	$4, %rax
	testl	%esi, %esi
	je	LBB0_4
## %bb.5:
	subq	%rax, %rcx
	shrq	%rcx
	xorl	%r12d, %r12d
	testb	$-16, %sil
	setne	%r12b
	movl	%ecx, %esi
	addl	%r12d, %esi
	je	LBB0_7
## %bb.6:
	movl	%esi, (%r14)
LBB0_7:
	xorl	%edi, %edi
	subl	(%r15), %edi
	xorl	%eax, %eax
	movl	%edi, 4(%r14)
	movl	(%r15), %edi
	testl	%edi, %edi
	js	LBB0_13
## %bb.8:
	notl	%edi
	addl	(%r14), %edi
	movq	_DECNUMMAXE@GOTPCREL(%rip), %rdx
	subl	(%rdx), %eax
	cmpl	%eax, %edi
	jge	LBB0_15
	jmp	LBB0_9
LBB0_13:
	movq	_DECNUMMAXE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	negl	%edx
	cmpl	%edx, %edi
	jl	LBB0_9
## %bb.14:
	notl	%edi
	addl	(%r14), %edi
	cmpl	%eax, %edi
	jg	LBB0_9
LBB0_15:
	testl	%esi, %esi
	je	LBB0_11
## %bb.16:
	movl	(%rbx,%r9,4), %esi
	shrl	$4, %esi
	andl	$15, %esi
	cmpl	$9, %esi
	jbe	LBB0_17
LBB0_9:
	movq	%r14, %rdi
	callq	_decNumberZero
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_DECPOWERS@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_DECDPUN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	addl	%ecx, %r12d
	negl	%r12d
	leaq	1(%r12), %r8
	leaq	(%rbx,%r9,4), %r10
	addq	$-4, %r10
	xorl	%r9d, %r9d
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	testl	%edx, %edx
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movslq	%edx, %rax
	movslq	(%r11,%rax,4), %rcx
	movslq	%esi, %rax
	imulq	%rcx, %rax
	addq	(%r13), %rax
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%esi, %eax
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, (%r13)
	cmpl	%ebx, %r8d
	je	LBB0_11
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	incl	%edx
	xorl	%ecx, %ecx
	cmpl	%r15d, %edx
	cmovel	%r9d, %edx
	sete	%al
	movl	(%r10,%rbx,2), %esi
	movl	%esi, %edi
	andl	$15, %edi
	cmpl	$10, %edi
	jae	LBB0_9
## %bb.23:                              ##   in Loop: Header=BB0_18 Depth=1
	movb	%al, %cl
	leaq	(,%rcx,8), %rcx
	addq	%r13, %rcx
	testl	%edx, %edx
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	movslq	%edx, %rax
	movslq	(%r11,%rax,4), %rax
	movl	%edi, %edi
	imulq	%rax, %rdi
	addq	(%rcx), %rdi
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%rdi, (%rcx)
	addq	$-2, %rbx
	cmpl	%ebx, %r12d
	je	LBB0_11
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	incl	%edx
	xorl	%eax, %eax
	cmpl	%r15d, %edx
	sete	%al
	cmovel	%r9d, %edx
	leaq	(%rcx,%rax,8), %r13
	shrl	$4, %esi
	andl	$15, %esi
	cmpl	$9, %esi
	jbe	LBB0_18
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_DECPMINUS,4,2                  ## @DECPMINUS
	.comm	_DECPMINUSALT,4,2               ## @DECPMINUSALT
	.comm	_DECNEG,4,2                     ## @DECNEG
	.comm	_DECNUMMAXE,4,2                 ## @DECNUMMAXE
	.comm	_DECPOWERS,8,3                  ## @DECPOWERS
	.comm	_DECDPUN,4,2                    ## @DECDPUN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decPackedToNumber              ; -- Begin function decPackedToNumber
	.p2align	2
_decPackedToNumber:                     ; @decPackedToNumber
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x23, [x3, #16]
	mov	x0, x3
	bl	_decNumberZero
	sub	w8, w22, #1
	ldr	w9, [x20, w8, sxtw #2]
	and	w9, w9, #0xf
Lloh0:
	adrp	x10, _DECPMINUS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DECPMINUS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _DECPMINUSALT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _DECPMINUSALT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _DECNEG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DECNEG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x19, #8]
	b	LBB0_3
LBB0_2:
	cmp	w9, #10
	b.lo	LBB0_14
LBB0_3:
	sxtw	x11, w8
	lsl	x8, x11, #2
	add	x8, x8, #4
	mov	x9, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	sub	x8, x8, #4
	cbz	w10, LBB0_4
; %bb.5:
	lsr	x8, x8, #1
	tst	w10, #0xf0
	cinc	w8, w8, ne
	cbz	w8, LBB0_7
; %bb.6:
	str	w8, [x19]
LBB0_7:
	ldr	w9, [x21]
	neg	w9, w9
	str	w9, [x19, #4]
	ldr	w9, [x21]
	tbnz	w9, #31, LBB0_9
; %bb.8:
	ldr	w10, [x19]
	mvn	w9, w9
	add	w9, w10, w9
Lloh9:
	adrp	x10, _DECNUMMAXE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DECNUMMAXE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	neg	w10, w10
	cmp	w9, w10
	b.ge	LBB0_11
	b	LBB0_13
LBB0_9:
Lloh12:
	adrp	x10, _DECNUMMAXE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _DECNUMMAXE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	neg	w12, w10
	cmp	w9, w12
	b.lt	LBB0_13
; %bb.10:
	ldr	w12, [x19]
	mvn	w9, w9
	add	w9, w12, w9
	cmp	w9, w10
	b.gt	LBB0_13
LBB0_11:
	cbz	w8, LBB0_15
; %bb.12:
	ldr	w9, [x20, x11, lsl #2]
	ubfx	w13, w9, #4, #4
	cmp	w13, #9
	b.ls	LBB0_16
LBB0_13:
	mov	x0, x19
	bl	_decNumberZero
LBB0_14:
	mov	x19, #0
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	w12, #0
Lloh15:
	adrp	x9, _DECPOWERS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DECPOWERS@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _DECDPUN@GOTPAGE
Lloh19:
	ldr	x10, [x10, _DECDPUN@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	add	x11, x20, x11, lsl #2
	sub	x11, x11, #4
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	cbz	w12, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x14, [x23]
	ldrsw	x15, [x9, w12, sxtw #2]
	sxtw	x13, w13
	madd	x13, x15, x13, x14
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w13, w13
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	str	x13, [x23]
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w13, w12, #1
	cmp	w13, w10
	cset	w14, eq
	csinc	w12, wzr, w12, eq
	ldr	w13, [x11]
	and	x15, x13, #0xf
	cmp	w15, #10
	b.hs	LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x14, x23, w14, uxtw #3
	cbz	w12, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x16, [x14]
	ldrsw	x17, [x9, w12, sxtw #2]
	mov	w15, w15
	madd	x15, x17, x15, x16
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	str	x15, [x14]
	sub	w8, w8, #2
	cbz	w8, LBB0_15
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=1
	sub	x11, x11, #4
	add	w15, w12, #1
	cmp	w15, w10
	cset	w15, eq
	add	x23, x14, w15, uxtw #3
	csinc	w12, wzr, w12, eq
	ubfx	w13, w13, #4, #4
	cmp	w13, #9
	b.ls	LBB0_17
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DECPMINUS,4,2                  ; @DECPMINUS
	.comm	_DECPMINUSALT,4,2               ; @DECPMINUSALT
	.comm	_DECNEG,4,2                     ; @DECNEG
	.comm	_DECNUMMAXE,4,2                 ; @DECNUMMAXE
	.comm	_DECPOWERS,8,3                  ; @DECPOWERS
	.comm	_DECDPUN,4,2                    ; @DECDPUN
.subsections_via_symbols
