	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decNumberCompareTotalMag       ## -- Begin function decNumberCompareTotalMag
	.p2align	4, 0x90
_decNumberCompareTotalMag:              ## @decNumberCompareTotalMag
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -52(%rbp)
	movq	_DECBUFFER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	incl	%edi
	callq	_D2N
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movl	%eax, %r14d
	shlq	$3, %r14
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	(%rbx), %edi
	incl	%edi
	callq	_D2N
	movl	%eax, %r15d
	shlq	$3, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r12, %rdi
	callq	_decNumberIsNegative
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	4(%r12), %edi
	callq	_D2U
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edi
	movslq	%edi, %rax
	cmpq	%rax, %r14
	jae	LBB0_3
## %bb.4:
	callq	_malloc
	testq	%rax, %rax
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_5
## %bb.6:
	movq	%r13, %r14
	movq	%rax, %rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	jmp	LBB0_7
LBB0_1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decNumberCopy
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
	movq	%r13, %r12
	movq	%r14, %r13
LBB0_8:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_decNumberIsNegative
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	4(%rbx), %edi
	callq	_D2U
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edi
	movslq	%edi, %rax
	cmpq	%rax, %r15
	jae	LBB0_11
## %bb.12:
	callq	_malloc
	testq	%rax, %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_13
## %bb.14:
	movq	%rax, %r14
	movq	%rax, %r13
	jmp	LBB0_15
LBB0_9:
	xorl	%r14d, %r14d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_11:
	xorl	%r14d, %r14d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
LBB0_15:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_decNumberCopy
	movq	_DECNEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
	movq	%r13, %rbx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
LBB0_16:
	movq	_COMPTOTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-52(%rbp), %r9
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_decCompareOp
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_free
LBB0_19:
	testq	%r14, %r14
	je	LBB0_21
## %bb.20:
	movq	%r14, %rdi
	callq	_free
LBB0_21:
	movl	-52(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_24
LBB0_23:
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_decStatus
LBB0_24:
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movq	%r13, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_DEC_Insufficient_storage@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -52(%rbp)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	testl	%esi, %esi
	jne	LBB0_23
	jmp	LBB0_24
LBB0_13:
	movq	_DEC_Insufficient_storage@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -52(%rbp)
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DECBUFFER,4,2                  ## @DECBUFFER
	.comm	_DEC_Insufficient_storage,4,2   ## @DEC_Insufficient_storage
	.comm	_DECNEG,4,2                     ## @DECNEG
	.comm	_COMPTOTAL,4,2                  ## @COMPTOTAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decNumberCompareTotalMag       ; -- Begin function decNumberCompareTotalMag
	.p2align	2
_decNumberCompareTotalMag:              ; @decNumberCompareTotalMag
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	wzr, [x29, #-92]
Lloh3:
	adrp	x24, _DECBUFFER@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DECBUFFER@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w0, w8, #1
	bl	_D2N
	mov	x26, sp
	mov	w23, w0
	lsl	x8, x23, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	w8, [x24]
	add	w0, w8, #1
	bl	_D2N
	mov	w27, w0
	lsl	x8, x27, #3
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x24, x9, x8
	mov	sp, x24
	mov	x0, x22
	bl	_decNumberIsNegative
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x22, #4]
	bl	_D2U
	lsl	w8, w0, #2
	add	w0, w8, #4
	sxtw	x8, w0
	cmp	x8, x23, lsl #3
	b.ls	LBB0_5
; %bb.2:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_malloc
	cbz	x0, LBB0_22
; %bb.3:
	mov	x23, x0
	mov	x25, x0
	b	LBB0_6
LBB0_4:
	mov	x23, #0
	b	LBB0_7
LBB0_5:
	mov	x23, #0
LBB0_6:
	mov	x0, x25
	mov	x1, x22
	bl	_decNumberCopy
Lloh9:
	adrp	x8, _DECNEG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DECNEG@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x25]
	bic	w8, w9, w8
	str	w8, [x25]
	mov	x22, x25
LBB0_7:
	mov	x0, x21
	bl	_decNumberIsNegative
	cbz	x0, LBB0_11
; %bb.8:
	ldr	w0, [x21, #4]
	bl	_D2U
	lsl	w8, w0, #2
	add	w0, w8, #4
	sxtw	x8, w0
	cmp	x8, x27, lsl #3
	b.ls	LBB0_12
; %bb.9:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_malloc
	mov	x25, x0
	cbz	x0, LBB0_23
; %bb.10:
	mov	x24, x25
	b	LBB0_13
LBB0_11:
	mov	x25, #0
	b	LBB0_14
LBB0_12:
	mov	x25, #0
LBB0_13:
	mov	x0, x24
	mov	x1, x21
	bl	_decNumberCopy
Lloh12:
	adrp	x8, _DECNEG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DECNEG@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x24]
	bic	w8, w9, w8
	str	w8, [x24]
	mov	x21, x24
LBB0_14:
Lloh15:
	adrp	x8, _COMPTOTAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _COMPTOTAL@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	sub	x5, x29, #92
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_decCompareOp
	cbz	x23, LBB0_16
LBB0_15:
	mov	x0, x23
	bl	_free
LBB0_16:
	cbz	x25, LBB0_18
; %bb.17:
	mov	x0, x25
	bl	_free
LBB0_18:
	ldur	w1, [x29, #-92]
	cbz	w1, LBB0_20
LBB0_19:
	mov	x0, x19
	mov	x2, x20
	bl	_decStatus
LBB0_20:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.21:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh21:
	adrp	x8, _DEC_Insufficient_storage@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DEC_Insufficient_storage@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	stur	w1, [x29, #-92]
	cbnz	w1, LBB0_19
	b	LBB0_20
LBB0_23:
Lloh24:
	adrp	x8, _DEC_Insufficient_storage@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DEC_Insufficient_storage@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldur	w9, [x29, #-92]
	orr	w8, w9, w8
	stur	w8, [x29, #-92]
	cbnz	x23, LBB0_15
	b	LBB0_16
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_DECBUFFER,4,2                  ; @DECBUFFER
	.comm	_DEC_Insufficient_storage,4,2   ; @DEC_Insufficient_storage
	.comm	_DECNEG,4,2                     ; @DECNEG
	.comm	_COMPTOTAL,4,2                  ; @COMPTOTAL
.subsections_via_symbols
