	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal32FromNumber            ## -- Begin function decimal32FromNumber
	.p2align	4, 0x90
_decimal32FromNumber:                   ## @decimal32FromNumber
	.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, %rbx
	movq	%rsi, %r14
	movl	$0, -44(%rbp)
	movslq	8(%rsi), %rax
	movq	_DECIMAL32_Pmax@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
LBB0_4:
	movq	_DEC_INIT_DECIMAL32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	callq	_decContextDefault
	movl	4(%rbx), %eax
	movl	%eax, -60(%rbp)
	leaq	-96(%rbp), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_decNumberPlus
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	12(%r14), %eax
	orl	-84(%rbp), %eax
	movl	%eax, -84(%rbp)
	movl	-64(%rbp), %r13d
	movq	%r12, %r14
	jmp	LBB0_5
LBB0_1:
	movq	(%r14), %rcx
	leaq	(%rcx,%rax), %rdx
	decq	%rdx
	movq	_DECIMAL32_Emax@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jg	LBB0_4
## %bb.2:
	addq	%rax, %rcx
	movq	_DECIMAL32_Emin@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jle	LBB0_4
## %bb.3:
	movl	12(%r14), %eax
	xorl	%r13d, %r13d
LBB0_5:
	movq	_DECSPECIAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.6:
	movq	_DECINF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_DECIMAL_Inf@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	shll	$24, %ebx
	movl	%ebx, -44(%rbp)
	jmp	LBB0_35
LBB0_16:
	movq	%r14, %rdi
	callq	_decNumberIsZero
	movq	(%r14), %rdx
	movq	_DECIMAL32_Bias@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_23
## %bb.17:
	movq	%rcx, %rax
	negq	%rax
	cmpq	%rax, %rdx
	jge	LBB0_19
## %bb.18:
	movq	_DEC_Clamped@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_8:
	movq	16(%r14), %rcx
	cmpq	$0, (%rcx)
	setne	%dl
	movl	8(%r14), %ecx
	cmpl	$2, %ecx
	setge	%bl
	orb	%dl, %bl
	cmpb	$1, %bl
	jne	LBB0_9
## %bb.10:
	cmpl	(%r15), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_12
## %bb.11:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_decDigitsToDPD
	movl	12(%r14), %eax
	jmp	LBB0_12
LBB0_23:
	addl	%edx, %ecx
	movq	_DECIMAL32_Ehigh@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movl	%esi, %edx
	movl	%ecx, %ebx
	movl	$0, %eax
	subl	%ecx, %edx
	cmovll	%esi, %ebx
	jge	LBB0_25
## %bb.24:
	negl	%edx
	movq	_DEC_Clamped@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%edx, %eax
LBB0_25:
	orl	%r13d, %r12d
	movq	_DECDPUN@GOTPCREL(%rip), %rcx
	cmpl	$3, (%rcx)
	jne	LBB0_30
## %bb.26:
	testl	%eax, %eax
	jne	LBB0_30
## %bb.27:
	movq	_BIN2DPD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r14), %r8
	movq	(%r8), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	%esi, -44(%rbp)
	movl	8(%r14), %edi
	xorl	%ecx, %ecx
	cmpl	$4, %edi
	jl	LBB0_33
## %bb.28:
	movq	8(%r8), %rdx
	movl	(%rax,%rdx,4), %eax
	shll	$10, %eax
	orl	%esi, %eax
	cmpl	$7, %edi
	jne	LBB0_32
## %bb.29:
	movl	16(%r8), %ecx
	jmp	LBB0_31
LBB0_19:
	addl	%edx, %ecx
	movq	_DECIMAL32_Ehigh@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%ecx, %ebx
	jge	LBB0_20
## %bb.21:
	movq	_DEC_Clamped@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_22
LBB0_30:
	movslq	%eax, %rdx
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_decDigitsToDPD
	movl	-44(%rbp), %eax
	movl	%eax, %ecx
	sarl	$20, %ecx
	andl	$1048575, %eax                  ## imm = 0xFFFFF
LBB0_31:
	cmpl	$8, %ecx
	jl	LBB0_32
## %bb.41:
	movl	%ebx, %edx
	shrl	$5, %edx
	andl	$6, %edx
	andl	$1, %ecx
	addl	%ecx, %edx
	addl	$24, %edx
	jmp	LBB0_34
LBB0_32:
	movl	%eax, %esi
LBB0_33:
	movl	%ebx, %edx
	shrl	$3, %edx
	andl	$24, %edx
	orl	%ecx, %edx
	movl	%esi, %eax
	jmp	LBB0_34
LBB0_9:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_12:
	movq	_DECNAN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:
	movq	_DECIMAL_NaN@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_15:
	movq	_DECIMAL_sNaN@GOTPCREL(%rip), %rcx
LBB0_14:
	movl	(%rcx), %ebx
	shll	$24, %ebx
	orl	-44(%rbp), %ebx
	movl	%ebx, -44(%rbp)
	jmp	LBB0_36
LBB0_20:
	movl	%ecx, %ebx
LBB0_22:
	movl	%ebx, %edx
	shrl	$3, %edx
	andl	$24, %edx
	xorl	%eax, %eax
	movl	%r13d, %r12d
LBB0_34:
	shll	$26, %edx
	andl	$63, %ebx
	shll	$20, %ebx
	orl	%eax, %ebx
	orl	%edx, %ebx
	movl	%ebx, -44(%rbp)
	movl	12(%r14), %eax
	movl	%r12d, %r13d
LBB0_35:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_36:
	movq	_DECNEG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_38
## %bb.37:
	orl	$-2147483648, %ebx              ## imm = 0x80000000
	movl	%ebx, -44(%rbp)
LBB0_38:
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_UBFROMUI
	testl	%r13d, %r13d
	je	LBB0_40
## %bb.39:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_decContextSetStatus
LBB0_40:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DECIMAL32_Pmax,4,2             ## @DECIMAL32_Pmax
	.comm	_DECIMAL32_Emax,8,3             ## @DECIMAL32_Emax
	.comm	_DECIMAL32_Emin,8,3             ## @DECIMAL32_Emin
	.comm	_DEC_INIT_DECIMAL32,4,2         ## @DEC_INIT_DECIMAL32
	.comm	_DECNEG,4,2                     ## @DECNEG
	.comm	_DECSPECIAL,4,2                 ## @DECSPECIAL
	.comm	_DECINF,4,2                     ## @DECINF
	.comm	_DECIMAL_Inf,4,2                ## @DECIMAL_Inf
	.comm	_DECNAN,4,2                     ## @DECNAN
	.comm	_DECIMAL_NaN,4,2                ## @DECIMAL_NaN
	.comm	_DECIMAL_sNaN,4,2               ## @DECIMAL_sNaN
	.comm	_DECIMAL32_Bias,8,3             ## @DECIMAL32_Bias
	.comm	_DEC_Clamped,4,2                ## @DEC_Clamped
	.comm	_DECIMAL32_Ehigh,4,2            ## @DECIMAL32_Ehigh
	.comm	_DECDPUN,4,2                    ## @DECDPUN
	.comm	_BIN2DPD,8,3                    ## @BIN2DPD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal32FromNumber            ; -- Begin function decimal32FromNumber
	.p2align	2
_decimal32FromNumber:                   ; @decimal32FromNumber
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	str	wzr, [sp, #12]
	ldrsw	x8, [x1, #8]
Lloh0:
	adrp	x24, _DECIMAL32_Pmax@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DECIMAL32_Pmax@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh2:
	adrp	x23, _DECNEG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DECNEG@GOTPAGEOFF]
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.1:
	ldr	x9, [x22]
	add	x8, x9, x8
	sub	x9, x8, #1
Lloh4:
	adrp	x10, _DECIMAL32_Emax@GOTPAGE
Lloh5:
	ldr	x10, [x10, _DECIMAL32_Emax@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
Lloh7:
	adrp	x11, _DECIMAL32_Emin@GOTPAGE
Lloh8:
	ldr	x11, [x11, _DECIMAL32_Emin@GOTPAGEOFF]
Lloh9:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x8, x11, #4, le
	b.gt	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _DEC_INIT_DECIMAL32@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DEC_INIT_DECIMAL32@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_decContextDefault
	ldr	w8, [x20, #4]
	str	w8, [sp, #20]
	add	x0, sp, #24
	add	x2, sp, #16
	mov	x1, x22
	bl	_decNumberPlus
	ldr	w8, [x22, #12]
	ldr	w9, [x23]
	and	w8, w9, w8
	ldr	w9, [sp, #36]
	orr	w8, w9, w8
	str	w8, [sp, #36]
	ldr	w21, [sp, #16]
	add	x22, sp, #24
	b	LBB0_4
LBB0_3:
	mov	w21, #0
	ldr	w8, [x22, #12]
LBB0_4:
Lloh13:
	adrp	x9, _DECSPECIAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DECSPECIAL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
Lloh16:
	adrp	x9, _DECINF@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DECINF@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.6:
Lloh19:
	adrp	x9, _DECIMAL_Inf@GOTPAGE
Lloh20:
	ldr	x9, [x9, _DECIMAL_Inf@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w1, w9, #24
	str	w1, [sp, #12]
	b	LBB0_31
LBB0_7:
	mov	x0, x22
	bl	_decNumberIsZero
	ldr	x8, [x22]
Lloh22:
	adrp	x9, _DECIMAL32_Bias@GOTPAGE
Lloh23:
	ldr	x9, [x9, _DECIMAL32_Bias@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cbz	x0, LBB0_15
; %bb.8:
	neg	x10, x9
	cmp	x8, x10
	b.ge	LBB0_20
; %bb.9:
	mov	w24, #0
Lloh25:
	adrp	x8, _DEC_Clamped@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DEC_Clamped@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_22
LBB0_10:
	ldr	x9, [x22, #16]
	ldr	x10, [x9]
	ldr	w9, [x22, #8]
	cmp	w9, #1
	ccmp	x10, #0, #0, le
	b.eq	LBB0_13
; %bb.11:
	ldr	w10, [x24]
	cmp	w9, w10
	b.ge	LBB0_13
; %bb.12:
	add	x1, sp, #12
	mov	x0, x22
	mov	x2, #0
	bl	_decDigitsToDPD
	ldr	w8, [x22, #12]
LBB0_13:
Lloh28:
	adrp	x9, _DECNAN@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DECNAN@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.14:
Lloh31:
	adrp	x9, _DECIMAL_NaN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _DECIMAL_NaN@GOTPAGEOFF]
	b	LBB0_24
LBB0_15:
Lloh33:
	adrp	x10, _DECIMAL32_Ehigh@GOTPAGE
Lloh34:
	ldr	x10, [x10, _DECIMAL32_Ehigh@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	add	w8, w9, w8
	cmp	w10, w8
	csel	w24, w10, w8, lt
	subs	w8, w8, w10
Lloh36:
	adrp	x9, _DEC_Clamped@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DEC_Clamped@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	csel	w9, w9, wzr, gt
	orr	w21, w9, w21
	csel	w8, w8, wzr, gt
Lloh39:
	adrp	x9, _DECDPUN@GOTPAGE
Lloh40:
	ldr	x9, [x9, _DECDPUN@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	w9, #3
	b.ne	LBB0_25
; %bb.16:
	cbnz	w8, LBB0_25
; %bb.17:
Lloh42:
	adrp	x8, _BIN2DPD@GOTPAGE
Lloh43:
	ldr	x8, [x8, _BIN2DPD@GOTPAGEOFF]
Lloh44:
	ldr	x10, [x8]
	ldr	x9, [x22, #16]
	ldr	x8, [x9]
	ldr	w8, [x10, x8, lsl #2]
	str	w8, [sp, #12]
	ldr	w11, [x22, #8]
	cmp	w11, #4
	b.lt	LBB0_28
; %bb.18:
	ldr	x12, [x9, #8]
	ldr	w10, [x10, x12, lsl #2]
	orr	w8, w8, w10, lsl #10
	cmp	w11, #7
	b.ne	LBB0_28
; %bb.19:
	ldr	w9, [x9, #16]
	b	LBB0_26
LBB0_20:
Lloh45:
	adrp	x10, _DECIMAL32_Ehigh@GOTPAGE
Lloh46:
	ldr	x10, [x10, _DECIMAL32_Ehigh@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	add	w24, w9, w8
	cmp	w10, w24
	b.ge	LBB0_22
; %bb.21:
Lloh48:
	adrp	x8, _DEC_Clamped@GOTPAGE
Lloh49:
	ldr	x8, [x8, _DEC_Clamped@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	orr	w21, w8, w21
	mov	x24, x10
LBB0_22:
	mov	w8, #0
	lsr	w9, w24, #3
	and	w9, w9, #0x18
	b	LBB0_30
LBB0_23:
Lloh51:
	adrp	x9, _DECIMAL_sNaN@GOTPAGE
Lloh52:
	ldr	x9, [x9, _DECIMAL_sNaN@GOTPAGEOFF]
LBB0_24:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]
	orr	w1, w10, w9, lsl #24
	str	w1, [sp, #12]
	b	LBB0_31
LBB0_25:
	sxtw	x2, w8
	add	x1, sp, #12
	mov	x0, x22
	bl	_decDigitsToDPD
	ldr	w8, [sp, #12]
	asr	w9, w8, #20
	and	w8, w8, #0xfffff
LBB0_26:
	cmp	w9, #8
	b.lt	LBB0_29
; %bb.27:
	lsr	w10, w24, #5
	and	w10, w10, #0x6
	bfxil	w10, w9, #0, #1
	orr	w9, w10, #0x18
	b	LBB0_30
LBB0_28:
	mov	w9, #0
LBB0_29:
	lsr	w10, w24, #3
	and	w10, w10, #0x18
	orr	w9, w9, w10
LBB0_30:
	orr	w8, w8, w9, lsl #26
	ubfiz	w9, w24, #20, #6
	orr	w1, w8, w9
	str	w1, [sp, #12]
	ldr	w8, [x22, #12]
LBB0_31:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.32:
	orr	w1, w1, #0x80000000
	str	w1, [sp, #12]
LBB0_33:
	ldr	w0, [x19]
	bl	_UBFROMUI
	cbz	w21, LBB0_35
; %bb.34:
	mov	x0, x20
	mov	x1, x21
	bl	_decContextSetStatus
LBB0_35:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_DECIMAL32_Pmax,4,2             ; @DECIMAL32_Pmax
	.comm	_DECIMAL32_Emax,8,3             ; @DECIMAL32_Emax
	.comm	_DECIMAL32_Emin,8,3             ; @DECIMAL32_Emin
	.comm	_DEC_INIT_DECIMAL32,4,2         ; @DEC_INIT_DECIMAL32
	.comm	_DECNEG,4,2                     ; @DECNEG
	.comm	_DECSPECIAL,4,2                 ; @DECSPECIAL
	.comm	_DECINF,4,2                     ; @DECINF
	.comm	_DECIMAL_Inf,4,2                ; @DECIMAL_Inf
	.comm	_DECNAN,4,2                     ; @DECNAN
	.comm	_DECIMAL_NaN,4,2                ; @DECIMAL_NaN
	.comm	_DECIMAL_sNaN,4,2               ; @DECIMAL_sNaN
	.comm	_DECIMAL32_Bias,8,3             ; @DECIMAL32_Bias
	.comm	_DEC_Clamped,4,2                ; @DEC_Clamped
	.comm	_DECIMAL32_Ehigh,4,2            ; @DECIMAL32_Ehigh
	.comm	_DECDPUN,4,2                    ; @DECDPUN
	.comm	_BIN2DPD,8,3                    ; @BIN2DPD
.subsections_via_symbols
