	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compareDocR
_compareDocR:                           ## @compareDocR
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_WEP_GETPOS
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_WEP_GETPOS
	movl	(%r15), %edi
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.1:
	callq	_WEP_GETWEIGHT
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_WEP_GETWEIGHT
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.2:
	movq	8(%r14), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, 8(%r15)
	je	LBB0_7
## %bb.3:
	setg	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_7
LBB0_5:
	callq	_WEP_GETPOS
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_WEP_GETPOS
	jmp	LBB0_6
LBB0_4:
	movl	(%r15), %edi
	callq	_WEP_GETWEIGHT
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_WEP_GETWEIGHT
LBB0_6:
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setg	%cl
	leal	(%rcx,%rcx), %eax
	decl	%eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compareDocR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compareDocR
_compareDocR:                           ; @compareDocR
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_WEP_GETPOS
	mov	x21, x0
	ldr	w0, [x19]
	bl	_WEP_GETPOS
	mov	x8, x0
	ldr	w0, [x20]
	cmp	x21, x8
	b.ne	LBB0_3
; %bb.1:
	bl	_WEP_GETWEIGHT
	mov	x21, x0
	ldr	w0, [x19]
	bl	_WEP_GETWEIGHT
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	mov	w8, #1
	cneg	w8, w8, le
	csel	w0, wzr, w8, eq
	b	LBB0_6
LBB0_3:
	bl	_WEP_GETPOS
	mov	x20, x0
	ldr	w0, [x19]
	bl	_WEP_GETPOS
	b	LBB0_5
LBB0_4:
	ldr	w0, [x20]
	bl	_WEP_GETWEIGHT
	mov	x20, x0
	ldr	w0, [x19]
	bl	_WEP_GETWEIGHT
LBB0_5:
	cmp	x20, x0
	mov	w8, #1
	cneg	w0, w8, le
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_compareDocR
.subsections_via_symbols
