	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_HandleLRDrag
_REBAR_HandleLRDrag:                    ## @REBAR_HandleLRDrag
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %r12
	movq	%r12, %rsi
	callq	_get_row_begin_for_band
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_get_row_end_for_band
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_REBAR_GetBand
	movq	8(%rax), %rdx
	movq	_CCS_VERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%ecx, %ecx
	testl	%esi, 8(%rbx)
	sete	%cl
	movq	(%r15,%rcx,8), %r13
	movq	_REBAR_PRE_GRIPPER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rdx, %rcx
	subq	%rcx, %r13
	addq	16(%rbx), %r13
	cmpq	%r14, %r12
	jne	LBB0_2
LBB0_12:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_13:
	testl	%ecx, %ecx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_15
## %bb.14:
	addq	%rdx, %r13
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_REBAR_MoveBandToRowOffset
LBB0_15:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_REBAR_SetRowRectsX
	movq	_CCS_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	24(%rbx), %edx
	testl	%eax, 8(%rbx)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_REBAR_CalcVertBand
	jmp	LBB0_18
LBB0_2:
	testq	%r13, %r13
	js	LBB0_7
## %bb.3:
	je	LBB0_12
## %bb.4:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_prev_visible
	testq	%rax, %rax
	js	LBB0_11
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_REBAR_ShrinkBandsLTR
	cmpq	%rax, %r13
	movq	%r15, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jle	LBB0_13
## %bb.6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_prev_visible
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_REBAR_GetBand
	movq	%r15, %rdx
	movl	%r13d, %ecx
	subl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%ecx, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r15d
	jmp	LBB0_9
LBB0_17:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_REBAR_CalcHorzBand
LBB0_18:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REBAR_MoveChildWindows         ## TAILCALL
LBB0_7:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	negq	%r15
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_REBAR_ShrinkBandsRTL
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%r15, %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jge	LBB0_13
## %bb.8:
	subl	%eax, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax), %r15d
	movl	%r15d, (%rax)
LBB0_9:
	movl	%r15d, 4(%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_13
LBB0_11:
	movq	%r15, %rdx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_CCS_VERT,4,2                   ## @CCS_VERT
	.comm	_REBAR_PRE_GRIPPER,8,3          ## @REBAR_PRE_GRIPPER
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_REBAR_HandleLRDrag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_HandleLRDrag
_REBAR_HandleLRDrag:                    ; @REBAR_HandleLRDrag
	.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
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	ldr	x22, [x0]
	mov	x1, x22
	bl	_get_row_begin_for_band
	mov	x20, x0
	mov	x0, x19
	mov	x1, x22
	bl	_get_row_end_for_band
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	bl	_REBAR_GetBand
	ldr	x27, [x0, #8]
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x26, _CCS_VERT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _CCS_VERT@GOTPAGEOFF]
	ldr	w9, [x26]
	tst	w9, w8
	cset	w8, eq
	ldr	x8, [x23, w8, uxtw #3]
Lloh5:
	adrp	x9, _REBAR_PRE_GRIPPER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REBAR_PRE_GRIPPER@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x10, [x19, #16]
	add	x9, x27, x9
	sub	x8, x8, x9
	add	x23, x8, x10
	cmp	x22, x20
	b.eq	LBB0_9
; %bb.1:
	mov	x24, x0
	tbnz	x23, #63, LBB0_6
; %bb.2:
	cbz	x23, LBB0_9
; %bb.3:
	mov	x0, x19
	mov	x1, x22
	bl	_prev_visible
	tbnz	x0, #63, LBB0_9
; %bb.4:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	bl	_REBAR_ShrinkBandsLTR
	cmp	x23, x0
	b.le	LBB0_9
; %bb.5:
	mov	x25, x0
	mov	x0, x19
	mov	x1, x22
	bl	_prev_visible
	mov	x1, x0
	mov	x0, x19
	bl	_REBAR_GetBand
	ldr	w8, [x0]
	sub	w9, w23, w25
	add	w8, w8, w9
	str	w8, [x0]
	ldr	w8, [x24]
	mov	x24, x0
	b	LBB0_8
LBB0_6:
	neg	x25, x23
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x25
	bl	_REBAR_ShrinkBandsRTL
	cmp	x0, x25
	b.ge	LBB0_9
; %bb.7:
	ldr	w8, [x24]
	sub	w9, w25, w0
	add	w8, w8, w9
	str	w8, [x24]
LBB0_8:
	str	w8, [x24, #4]
Lloh14:
	adrp	x8, _TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh16:
	ldr	w28, [x8]
LBB0_9:
	cbnz	w28, LBB0_11
; %bb.10:
	add	x4, x23, x27
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_REBAR_MoveBandToRowOffset
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_REBAR_SetRowRectsX
	ldr	w8, [x19, #8]
	ldr	w9, [x26]
	ldr	w2, [x19, #24]
	mov	x0, x19
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	mov	w1, #0
	bl	_REBAR_CalcVertBand
	b	LBB0_14
LBB0_13:
	mov	w1, #0
	bl	_REBAR_CalcHorzBand
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	b	_REBAR_MoveChildWindows
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_CCS_VERT,4,2                   ; @CCS_VERT
	.comm	_REBAR_PRE_GRIPPER,8,3          ; @REBAR_PRE_GRIPPER
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_REBAR_HandleLRDrag
.subsections_via_symbols
