	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decimal_to_decnumber
_decimal_to_decnumber:                  ## @decimal_to_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_DEC_INIT_DECIMAL128@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	callq	_decContextDefault
	movq	$0, -24(%rbp)
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r14, %rdi
	callq	_decNumberZero
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_gcc_unreachable
	jmp	LBB0_10
LBB0_8:
	movl	24(%rbx), %edi
	callq	_gcc_assert
	movq	16(%rbx), %rdi
	movq	%r14, %rsi
	callq	_decimal128ToNumber
	jmp	LBB0_10
LBB0_5:
	cmpl	$0, 28(%rbx)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	callq	_decNumberFromString
LBB0_10:
	movq	8(%rbx), %rbx
	movq	%r14, %rdi
	callq	_decNumberIsNegative
	cmpq	%rax, %rbx
	je	LBB0_12
## %bb.11:
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%eax, (%r14)
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_DEC_INIT_DECIMAL128,4,2        ## @DEC_INIT_DECIMAL128
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Infinity"

L_.str.1:                               ## @.str.1
	.asciz	"snan"

L_.str.2:                               ## @.str.2
	.asciz	"nan"

	.comm	_DECNEG,4,2                     ## @DECNEG
	.no_dead_strip	_decimal_to_decnumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decimal_to_decnumber
_decimal_to_decnumber:                  ; @decimal_to_decnumber
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _DEC_INIT_DECIMAL128@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEC_INIT_DECIMAL128@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_decContextDefault
	str	xzr, [sp, #8]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_decNumberZero
	b	LBB0_10
LBB0_3:
	bl	_gcc_unreachable
	b	LBB0_10
LBB0_4:
	ldr	w0, [x20, #24]
	bl	_gcc_assert
	ldr	x0, [x20, #16]
	mov	x1, x19
	bl	_decimal128ToNumber
	b	LBB0_10
LBB0_5:
	ldr	w8, [x20, #28]
	cbz	w8, LBB0_8
; %bb.6:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	add	x2, sp, #8
	mov	x0, x19
	bl	_decNumberFromString
LBB0_10:
	ldr	x20, [x20, #8]
	mov	x0, x19
	bl	_decNumberIsNegative
	cmp	x20, x0
	b.eq	LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _DECNEG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DECNEG@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	eor	w8, w9, w8
	str	w8, [x19]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_DEC_INIT_DECIMAL128,4,2        ; @DEC_INIT_DECIMAL128
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Infinity"

l_.str.1:                               ; @.str.1
	.asciz	"snan"

l_.str.2:                               ; @.str.2
	.asciz	"nan"

	.comm	_DECNEG,4,2                     ; @DECNEG
	.no_dead_strip	_decimal_to_decnumber
.subsections_via_symbols
