	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_MouseMove
_REBAR_MouseMove:                       ## @REBAR_MouseMove
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_LOWORD
	movq	%rax, %r15
	movw	%r15w, -40(%rbp)
	movl	%ebx, %edi
	callq	_HIWORD
	movq	%rax, %r14
	movw	%r14w, -38(%rbp)
	movq	_CCS_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%r12), %eax
	movl	%r14d, %ebx
	cmovnel	%r15d, %ebx
	xorl	%eax, %eax
	callq	_GetCapture
	cmpq	16(%r12), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
LBB0_2:
	movq	(%r12), %rsi
	movq	%r12, %rdi
	callq	_REBAR_GetBand
	movswq	%r15w, %rcx
	subq	72(%r12), %rcx
	movq	%rcx, %rdx
	negq	%rdx
	cmovsq	%rcx, %rdx
	movq	%rax, %r15
	movq	_mindragx@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jg	LBB0_4
## %bb.3:
	movswq	%r14w, %rax
	subq	64(%r12), %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovsq	%rax, %rcx
	movq	_mindragy@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jle	LBB0_12
LBB0_4:
	movq	_BEGIN_DRAG_ISSUED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, 24(%r12)
	je	LBB0_5
LBB0_8:
	movswl	%bx, %eax
	cmpl	%eax, 8(%r15)
	jg	LBB0_10
## %bb.9:
	cmpl	%eax, 12(%r15)
	jge	LBB0_11
LBB0_10:
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_REBAR_HandleUDDrag
	jmp	LBB0_12
LBB0_5:
	movq	_RBN_BEGINDRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$-1, %esi
	callq	_REBAR_Notify_NMREBAR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%r12)
	movups	%xmm0, 48(%r12)
	movq	$-1, (%r12)
	xorl	%eax, %eax
	callq	_ReleaseCapture
	jmp	LBB0_12
LBB0_11:
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_REBAR_HandleLRDrag
LBB0_12:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r14), %eax
	orl	%eax, 24(%r12)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_CCS_VERT,4,2                   ## @CCS_VERT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"We are dragging but haven't got capture?!?\n"

	.comm	_mindragx,8,3                   ## @mindragx
	.comm	_mindragy,8,3                   ## @mindragy
	.comm	_BEGIN_DRAG_ISSUED,4,2          ## @BEGIN_DRAG_ISSUED
	.comm	_RBN_BEGINDRAG,4,2              ## @RBN_BEGINDRAG
	.comm	_DRAW_CHEVRONHOT,4,2            ## @DRAW_CHEVRONHOT
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_RBHT_CHEVRON,8,3               ## @RBHT_CHEVRON
	.comm	_TME_QUERY,4,2                  ## @TME_QUERY
	.comm	_TME_LEAVE,4,2                  ## @TME_LEAVE
	.no_dead_strip	_REBAR_MouseMove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_MouseMove
_REBAR_MouseMove:                       ; @REBAR_MouseMove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_LOWORD
	mov	x22, x0
	strh	w22, [sp, #8]
	mov	x0, x20
	bl	_HIWORD
	mov	x21, x0
	strh	w21, [sp, #10]
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _CCS_VERT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CCS_VERT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	csel	w23, w21, w22, eq
	bl	_GetCapture
	ldr	x8, [x19, #16]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
LBB0_2:
	ldr	x1, [x19]
	mov	x0, x19
	bl	_REBAR_GetBand
	mov	x20, x0
	sxth	x8, w22
	ldr	x9, [x19, #72]
	subs	x8, x8, x9
	cneg	x8, x8, mi
Lloh5:
	adrp	x9, _mindragx@GOTPAGE
Lloh6:
	ldr	x9, [x9, _mindragx@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.3:
	sxth	x8, w21
	ldr	x9, [x19, #64]
	subs	x8, x8, x9
	cneg	x8, x8, mi
Lloh8:
	adrp	x9, _mindragy@GOTPAGE
Lloh9:
	ldr	x9, [x9, _mindragy@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_11
LBB0_4:
	ldr	w8, [x19, #24]
Lloh11:
	adrp	x21, _BEGIN_DRAG_ISSUED@GOTPAGE
Lloh12:
	ldr	x21, [x21, _BEGIN_DRAG_ISSUED@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_5:
	sxth	w8, w23
	ldr	w9, [x20, #8]
	cmp	w9, w8
	b.gt	LBB0_7
; %bb.6:
	ldr	w9, [x20, #12]
	cmp	w9, w8
	b.ge	LBB0_10
LBB0_7:
	add	x1, sp, #8
	mov	x0, x19
	bl	_REBAR_HandleUDDrag
	b	LBB0_11
LBB0_8:
Lloh13:
	adrp	x8, _RBN_BEGINDRAG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RBN_BEGINDRAG@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #-1
	bl	_REBAR_Notify_NMREBAR
	cbz	x0, LBB0_12
; %bb.9:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #48]
	mov	x8, #-1
	str	x8, [x19]
	bl	_ReleaseCapture
	b	LBB0_11
LBB0_10:
	add	x1, sp, #8
	mov	x0, x19
	bl	_REBAR_HandleLRDrag
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	ldr	w8, [x21]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CCS_VERT,4,2                   ; @CCS_VERT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"We are dragging but haven't got capture?!?\n"

	.comm	_mindragx,8,3                   ; @mindragx
	.comm	_mindragy,8,3                   ; @mindragy
	.comm	_BEGIN_DRAG_ISSUED,4,2          ; @BEGIN_DRAG_ISSUED
	.comm	_RBN_BEGINDRAG,4,2              ; @RBN_BEGINDRAG
	.comm	_DRAW_CHEVRONHOT,4,2            ; @DRAW_CHEVRONHOT
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_RBHT_CHEVRON,8,3               ; @RBHT_CHEVRON
	.comm	_TME_QUERY,4,2                  ; @TME_QUERY
	.comm	_TME_LEAVE,4,2                  ; @TME_LEAVE
	.no_dead_strip	_REBAR_MouseMove
.subsections_via_symbols
