	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decCheckMath
_decCheckMath:                          ## @decCheckMath
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movl	(%rdx), %r14d
	movq	_DEC_MAX_MATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, (%rsi)
	jg	LBB0_3
## %bb.1:
	cmpl	%eax, 4(%rsi)
	jg	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	subl	8(%rsi), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_4
LBB0_3:
	movq	_DEC_Invalid_context@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%r14d, %ecx
LBB0_10:
	movl	%ecx, (%rbx)
LBB0_11:
	xorl	%eax, %eax
	cmpl	%r14d, %ecx
	setne	%al
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	(%rdi), %edx
	cmpl	%eax, %edx
	jg	LBB0_7
## %bb.5:
	addl	4(%rdi), %edx
	leal	1(%rax), %ecx
	cmpl	%ecx, %edx
	jg	LBB0_7
## %bb.6:
	addl	%eax, %eax
	movl	$2, %esi
	subl	%eax, %esi
	movl	%r14d, %ecx
	cmpl	%esi, %edx
	jge	LBB0_11
LBB0_7:
	callq	_ISZERO
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %ecx
	jmp	LBB0_11
LBB0_9:
	movq	_DEC_Invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rbx), %ecx
	orl	(%rax), %ecx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_DEC_MAX_MATH,4,2               ## @DEC_MAX_MATH
	.comm	_DEC_Invalid_context,4,2        ## @DEC_Invalid_context
	.comm	_DEC_Invalid_operation,4,2      ## @DEC_Invalid_operation
	.no_dead_strip	_decCheckMath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decCheckMath
_decCheckMath:                          ; @decCheckMath
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	w20, [x2]
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _DEC_MAX_MATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEC_MAX_MATH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w9, w8
	b.gt	LBB0_3
; %bb.1:
	ldr	w9, [x1, #4]
	cmp	w9, w8
	b.gt	LBB0_3
; %bb.2:
	ldr	w9, [x1, #8]
	neg	w9, w9
	cmp	w8, w9
	b.ge	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _DEC_Invalid_context@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEC_Invalid_context@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w20
LBB0_4:
	str	w8, [x19]
LBB0_5:
	cmp	w8, w20
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w9, [x0]
	cmp	w9, w8
	b.gt	LBB0_9
; %bb.7:
	ldr	w10, [x0, #4]
	add	w11, w8, #1
	add	w9, w10, w9
	cmp	w9, w11
	b.gt	LBB0_9
; %bb.8:
	mov	w10, #2
	sub	w10, w10, w8, lsl #1
	mov	x8, x20
	cmp	w9, w10
	b.ge	LBB0_5
LBB0_9:
	bl	_ISZERO
	cbz	w0, LBB0_11
; %bb.10:
	ldr	w8, [x19]
	b	LBB0_5
LBB0_11:
Lloh6:
	adrp	x8, _DEC_Invalid_operation@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEC_Invalid_operation@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DEC_MAX_MATH,4,2               ; @DEC_MAX_MATH
	.comm	_DEC_Invalid_context,4,2        ; @DEC_Invalid_context
	.comm	_DEC_Invalid_operation,4,2      ; @DEC_Invalid_operation
	.no_dead_strip	_decCheckMath
.subsections_via_symbols
