	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal_do_compare             ## -- Begin function decimal_do_compare
	.p2align	4, 0x90
_decimal_do_compare:                    ## @decimal_do_compare
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpl	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	cmpl	$0, 8(%r15)
	jne	LBB0_4
LBB0_3:
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_decimal_from_binary
	movq	%r12, %r15
LBB0_4:
	movq	_DEC_INIT_DECIMAL128@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_decContextDefault
	movq	$0, -56(%rbp)
	movq	(%rbx), %rdi
	leaq	-64(%rbp), %r13
	movq	%r13, %rsi
	callq	_decimal128ToNumber
	movq	(%r15), %rdi
	leaq	-60(%rbp), %r15
	movq	%r15, %rsi
	callq	_decimal128ToNumber
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_decNumberCompare
	movq	%rbx, %rdi
	callq	_decNumberIsNaN
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	leaq	-44(%rbp), %rdi
	callq	_decNumberIsZero
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	-44(%rbp), %rdi
	callq	_decNumberIsNegative
	xorl	%r14d, %r14d
	negq	%rax
	sbbl	%r14d, %r14d
	orl	$1, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-96(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_decimal_from_binary
	movq	%r12, %rbx
	cmpl	$0, 8(%r15)
	jne	LBB0_4
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_DEC_INIT_DECIMAL128,4,2        ## @DEC_INIT_DECIMAL128
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decimal_do_compare             ; -- Begin function decimal_do_compare
	.p2align	2
_decimal_do_compare:                    ; @decimal_do_compare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_3
LBB0_2:
	add	x0, sp, #8
	mov	x1, x20
	bl	_decimal_from_binary
	add	x20, sp, #8
LBB0_3:
Lloh0:
	adrp	x8, _DEC_INIT_DECIMAL128@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEC_INIT_DECIMAL128@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x0, x29, #40
	bl	_decContextDefault
	stur	xzr, [x29, #-40]
	ldr	x0, [x21]
	add	x1, sp, #48
	bl	_decimal128ToNumber
	ldr	x0, [x20]
	add	x1, sp, #44
	bl	_decimal128ToNumber
	sub	x0, x29, #44
	add	x1, sp, #48
	add	x2, sp, #44
	sub	x3, x29, #40
	bl	_decNumberCompare
	sub	x0, x29, #44
	bl	_decNumberIsNaN
	cbnz	x0, LBB0_8
; %bb.4:
	sub	x0, x29, #44
	bl	_decNumberIsZero
	cbz	x0, LBB0_7
; %bb.5:
	mov	w19, #0
	b	LBB0_8
LBB0_6:
	add	x0, sp, #24
	mov	x1, x21
	bl	_decimal_from_binary
	add	x21, sp, #24
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_3
	b	LBB0_2
LBB0_7:
	sub	x0, x29, #44
	bl	_decNumberIsNegative
	cmp	x0, #0
	mov	w8, #1
	cneg	w19, w8, ne
LBB0_8:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEC_INIT_DECIMAL128,4,2        ; @DEC_INIT_DECIMAL128
.subsections_via_symbols
