	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal128FromNumber           ## -- Begin function decimal128FromNumber
	.p2align	4, 0x90
_decimal128FromNumber:                  ## @decimal128FromNumber
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	(%rsi), %r15d
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DECSPECIAL@GOTPCREL(%rip), %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%r15d, (%r14)
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	jne	LBB0_5
## %bb.1:
	movslq	16(%rbx), %rax
	movq	_DECIMAL128_Pmax@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_2
LBB0_4:
	movq	_DEC_INIT_DECIMAL128@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdi
	callq	_decContextDefault
	movl	4(%r13), %eax
	movl	%eax, -52(%rbp)
	leaq	-96(%rbp), %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	callq	_decNumberPlus
	movl	-56(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	-96(%rbp), %rbx
	jmp	LBB0_5
LBB0_2:
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %rdx
	decq	%rdx
	movq	_DECIMAL128_Emax@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jg	LBB0_4
## %bb.3:
	addq	%rax, %rcx
	movq	_DECIMAL128_Emin@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jle	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	callq	_DEC_clear
	movl	(%rbx), %eax
	testl	%eax, (%r14)
	je	LBB0_15
## %bb.6:
	movq	_DECINF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_DECIMAL_Inf@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_15:
	movq	%rbx, %rdi
	callq	_decNumberIsZero
	movq	8(%rbx), %rdx
	movq	_DECIMAL128_Bias@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:
	movq	%rcx, %rax
	negq	%rax
	cmpq	%rax, %rdx
	jge	LBB0_18
## %bb.17:
	movq	_DEC_Clamped@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	orl	(%rax), %ebx
	xorl	%esi, %esi
	jmp	LBB0_21
LBB0_8:
	movq	24(%rbx), %rcx
	cmpq	$0, (%rcx)
	setne	%sil
	movl	16(%rbx), %ecx
	cmpl	$2, %ecx
	setge	%dl
	orb	%sil, %dl
	cmpb	$1, %dl
	jne	LBB0_11
## %bb.9:
	movq	_DECIMAL128_Pmax@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jge	LBB0_11
## %bb.10:
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	xorl	%ecx, %ecx
	callq	_decDensePackCoeff
	movl	(%rbx), %eax
LBB0_11:
	movq	_DECNAN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.13:
	movq	_DECIMAL_sNaN@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_22:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	addl	%edx, %ecx
	movq	_DECIMAL128_Ehigh@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	subl	%ecx, %edx
	movl	%ecx, %r13d
	cmovll	%eax, %r13d
	negl	%edx
	xorl	%r14d, %r14d
	cmpl	%eax, %ecx
	movq	_DEC_Clamped@GOTPCREL(%rip), %rax
	cmovlel	%r14d, %edx
	movslq	%edx, %rcx
	cmovgl	(%rax), %r14d
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_decDensePackCoeff
	movq	(%r12), %rax
	movl	4(%rax), %esi
	movl	8(%rax), %edi
	leal	(,%rsi,4), %ecx
	andl	$12, %ecx
	movl	%edi, %edx
	shrl	$6, %edx
	orl	%edx, %ecx
	andl	$252, %esi
	movl	%esi, 4(%rax)
	andl	$63, %edi
	movl	%edi, 8(%rax)
	cmpl	$8, %ecx
	jb	LBB0_24
## %bb.23:
	andl	$1, %edx
	movl	%r13d, %ecx
	shrl	$11, %ecx
	andl	$6, %ecx
	addl	%edx, %ecx
	addl	$24, %ecx
	jmp	LBB0_25
LBB0_18:
	addl	%edx, %ecx
	movq	_DECIMAL128_Ehigh@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%ecx, %esi
	jge	LBB0_19
## %bb.20:
	movq	_DEC_Clamped@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	orl	(%rax), %ebx
	jmp	LBB0_21
LBB0_12:
	movq	_DECIMAL_NaN@GOTPCREL(%rip), %rax
LBB0_14:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	(%rax), %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	testl	%r15d, %edx
	je	LBB0_29
LBB0_28:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_decimal128SetSign
LBB0_29:
	testl	%ebx, %ebx
	je	LBB0_31
## %bb.30:
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_decContextSetStatus
LBB0_31:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	%r13d, %edx
	shrl	$9, %edx
	andl	$24, %edx
	orl	%edx, %ecx
LBB0_25:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	orl	%r14d, %ebx
	shll	$2, %ecx
	movl	%ecx, (%rax)
	andl	$4095, %r13d                    ## imm = 0xFFF
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_decimal128SetExpCon
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_19:
	movl	%ecx, %esi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_21:
	movl	%esi, %eax
	shrl	$7, %eax
	andl	$96, %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	andl	$4095, %esi                     ## imm = 0xFFF
	movq	%r12, %rdi
	callq	_decimal128SetExpCon
LBB0_26:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	testl	%r15d, %edx
	jne	LBB0_28
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_DECNEG,4,2                     ## @DECNEG
	.comm	_DECSPECIAL,4,2                 ## @DECSPECIAL
	.comm	_DECIMAL128_Pmax,4,2            ## @DECIMAL128_Pmax
	.comm	_DECIMAL128_Emax,8,3            ## @DECIMAL128_Emax
	.comm	_DECIMAL128_Emin,8,3            ## @DECIMAL128_Emin
	.comm	_DEC_INIT_DECIMAL128,4,2        ## @DEC_INIT_DECIMAL128
	.comm	_DECINF,4,2                     ## @DECINF
	.comm	_DECIMAL_Inf,8,3                ## @DECIMAL_Inf
	.comm	_DECNAN,4,2                     ## @DECNAN
	.comm	_DECIMAL_NaN,8,3                ## @DECIMAL_NaN
	.comm	_DECIMAL_sNaN,8,3               ## @DECIMAL_sNaN
	.comm	_DECIMAL128_Bias,8,3            ## @DECIMAL128_Bias
	.comm	_DEC_Clamped,4,2                ## @DEC_Clamped
	.comm	_DECIMAL128_Ehigh,4,2           ## @DECIMAL128_Ehigh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal128FromNumber           ; -- Begin function decimal128FromNumber
	.p2align	2
_decimal128FromNumber:                  ; @decimal128FromNumber
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DECNEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DECNEG@GOTPAGEOFF]
	ldr	w23, [x1]
Lloh2:
	ldr	w25, [x8]
Lloh3:
	adrp	x24, _DECSPECIAL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DECSPECIAL@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w23
	b.eq	LBB0_2
LBB0_1:
	mov	w21, #0
	b	LBB0_5
LBB0_2:
	ldrsw	x8, [x22, #16]
Lloh5:
	adrp	x9, _DECIMAL128_Pmax@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DECIMAL128_Pmax@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_4
; %bb.3:
	ldr	x9, [x22, #8]
	add	x8, x9, x8
	sub	x9, x8, #1
Lloh8:
	adrp	x10, _DECIMAL128_Emax@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DECIMAL128_Emax@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _DECIMAL128_Emin@GOTPAGE
Lloh12:
	ldr	x11, [x11, _DECIMAL128_Emin@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x8, x11, #4, le
	b.gt	LBB0_1
LBB0_4:
Lloh14:
	adrp	x8, _DEC_INIT_DECIMAL128@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DEC_INIT_DECIMAL128@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_decContextDefault
	ldr	w8, [x20, #4]
	str	w8, [sp, #12]
	add	x0, sp, #16
	add	x2, sp, #8
	mov	x1, x22
	bl	_decNumberPlus
	ldr	w21, [sp, #8]
	add	x22, sp, #16
LBB0_5:
	and	w23, w25, w23
	mov	x0, x19
	bl	_DEC_clear
	ldr	w8, [x22]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
Lloh17:
	adrp	x9, _DECINF@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DECINF@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.7:
Lloh20:
	adrp	x8, _DECIMAL_Inf@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DECIMAL_Inf@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	mov	x0, x22
	bl	_decNumberIsZero
	ldr	x8, [x22, #8]
Lloh22:
	adrp	x9, _DECIMAL128_Bias@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DECIMAL128_Bias@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cbz	x0, LBB0_19
; %bb.9:
	neg	x10, x9
	cmp	x8, x10
	b.ge	LBB0_20
; %bb.10:
	mov	w8, #0
Lloh25:
	adrp	x9, _DEC_Clamped@GOTPAGE
Lloh26:
	ldr	x9, [x9, _DEC_Clamped@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w21, w9, w21
	b	LBB0_22
LBB0_11:
	ldr	x9, [x22, #24]
	ldr	x9, [x9]
	ldr	w10, [x22, #16]
	cmp	w10, #1
	ccmp	x9, #0, #0, le
Lloh28:
	adrp	x9, _DECIMAL128_Pmax@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DECIMAL128_Pmax@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	ccmp	w10, w9, #0, ne
	b.ge	LBB0_13
; %bb.12:
	ldr	x1, [x19]
	mov	x0, x22
	mov	w2, #8
	mov	x3, #0
	bl	_decDensePackCoeff
	ldr	w8, [x22]
LBB0_13:
Lloh31:
	adrp	x9, _DECNAN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _DECNAN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _DECIMAL_NaN@GOTPAGE
Lloh35:
	ldr	x10, [x10, _DECIMAL_NaN@GOTPAGEOFF]
Lloh36:
	adrp	x11, _DECIMAL_sNaN@GOTPAGE
Lloh37:
	ldr	x11, [x11, _DECIMAL_sNaN@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_14:
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	w8, [x9]
	cbz	w23, LBB0_16
LBB0_15:
	mov	x0, x19
	mov	w1, #1
	bl	_decimal128SetSign
LBB0_16:
	cbz	w21, LBB0_18
; %bb.17:
	mov	x0, x20
	mov	x1, x21
	bl	_decContextSetStatus
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
Lloh38:
	adrp	x10, _DECIMAL128_Ehigh@GOTPAGE
Lloh39:
	ldr	x10, [x10, _DECIMAL128_Ehigh@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	add	w8, w9, w8
	subs	w9, w8, w10
Lloh41:
	adrp	x11, _DEC_Clamped@GOTPAGE
Lloh42:
	ldr	x11, [x11, _DEC_Clamped@GOTPAGEOFF]
Lloh43:
	ldr	w11, [x11]
	csel	w9, w9, wzr, gt
	sxtw	x3, w9
	csel	w9, w11, wzr, gt
	orr	w21, w9, w21
	cmp	w10, w8
	csel	w24, w10, w8, lt
	ldr	x1, [x19]
	mov	x0, x22
	mov	w2, #8
	bl	_decDensePackCoeff
	ldr	x8, [x19]
	ldp	w9, w10, [x8, #4]
	ubfiz	w11, w9, #2, #2
	orr	w11, w11, w10, lsr #6
	and	w9, w9, #0xfc
	and	w12, w10, #0x3f
	stp	w9, w12, [x8, #4]
	lsr	w12, w24, #11
	and	w12, w12, #0x6
	bfxil	w12, w10, #6, #1
	lsr	w10, w24, #9
	and	w10, w10, #0x18
	orr	w10, w11, w10
	orr	w12, w12, #0x18
	cmp	w11, #8
	csel	w10, w10, w12, lo
	lsl	w10, w10, #2
	str	w10, [x8]
	and	w1, w24, #0xfff
	b	LBB0_23
LBB0_20:
Lloh44:
	adrp	x10, _DECIMAL128_Ehigh@GOTPAGE
Lloh45:
	ldr	x10, [x10, _DECIMAL128_Ehigh@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	add	w8, w9, w8
	cmp	w10, w8
	b.ge	LBB0_22
; %bb.21:
Lloh47:
	adrp	x8, _DEC_Clamped@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DEC_Clamped@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	orr	w21, w8, w21
	mov	x8, x10
LBB0_22:
	lsr	w9, w8, #7
	and	w9, w9, #0x60
	ldr	x10, [x19]
	str	w9, [x10]
	and	w1, w8, #0xfff
LBB0_23:
	mov	x0, x19
	bl	_decimal128SetExpCon
	cbnz	w23, LBB0_15
	b	LBB0_16
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_DECNEG,4,2                     ; @DECNEG
	.comm	_DECSPECIAL,4,2                 ; @DECSPECIAL
	.comm	_DECIMAL128_Pmax,4,2            ; @DECIMAL128_Pmax
	.comm	_DECIMAL128_Emax,8,3            ; @DECIMAL128_Emax
	.comm	_DECIMAL128_Emin,8,3            ; @DECIMAL128_Emin
	.comm	_DEC_INIT_DECIMAL128,4,2        ; @DEC_INIT_DECIMAL128
	.comm	_DECINF,4,2                     ; @DECINF
	.comm	_DECIMAL_Inf,8,3                ; @DECIMAL_Inf
	.comm	_DECNAN,4,2                     ; @DECNAN
	.comm	_DECIMAL_NaN,8,3                ; @DECIMAL_NaN
	.comm	_DECIMAL_sNaN,8,3               ; @DECIMAL_sNaN
	.comm	_DECIMAL128_Bias,8,3            ; @DECIMAL128_Bias
	.comm	_DEC_Clamped,4,2                ; @DEC_Clamped
	.comm	_DECIMAL128_Ehigh,4,2           ; @DECIMAL128_Ehigh
.subsections_via_symbols
