	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_Cust_AvailDragListNotification
_TOOLBAR_Cust_AvailDragListNotification: ## @TOOLBAR_Cust_AvailDragListNotification
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_IDC_TOOLBARBTN_LBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movl	%eax, %r14d
	movl	(%rbx), %eax
	xorl	%r13d, %r13d
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_15
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	4(%rbx), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_LBItemFromPt
	movl	%eax, %ebx
	movq	_LB_GETCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_IDC_AVAILBTN_LBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LB_GETCURSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessageW
	testl	%ebx, %ebx
	js	LBB0_5
## %bb.3:
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$-1, %edx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_DrawInsert
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_TOOLBAR_Cust_AddButton
LBB0_5:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$-1, %edx
	callq	_DrawInsert
	jmp	LBB0_15
LBB0_6:
	movl	4(%rbx), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_LBItemFromPt
	movl	%eax, %r12d
	movq	_LB_GETCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	testl	%r12d, %r12d
	js	LBB0_11
## %bb.7:
	cmpl	%eax, %r12d
	jge	LBB0_11
## %bb.8:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_DrawInsert
LBB0_9:
	movq	_DL_COPYCURSOR@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	testl	%r12d, %r12d
	jns	LBB0_13
## %bb.12:
	movl	4(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	_IDC_AVAILBTN_LBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdx
	xorl	%edi, %edi
	movl	%r15d, %esi
	movl	$1, %ecx
	callq	_MapWindowPoints
	movl	-48(%rbp), %esi
	movl	%r15d, %edi
	callq	_ChildWindowFromPoint
	cmpl	%ebx, %eax
	je	LBB0_9
LBB0_13:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$-1, %edx
	callq	_DrawInsert
	movq	_DL_STOPCURSOR@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %r13d
LBB0_15:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_IDC_TOOLBARBTN_LBOX,4,2        ## @IDC_TOOLBARBTN_LBOX
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_LB_GETCOUNT,4,2                ## @LB_GETCOUNT
	.comm	_DL_COPYCURSOR,4,2              ## @DL_COPYCURSOR
	.comm	_IDC_AVAILBTN_LBOX,4,2          ## @IDC_AVAILBTN_LBOX
	.comm	_DL_STOPCURSOR,4,2              ## @DL_STOPCURSOR
	.comm	_LB_GETCURSEL,4,2               ## @LB_GETCURSEL
	.no_dead_strip	_TOOLBAR_Cust_AvailDragListNotification
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_Cust_AvailDragListNotification
_TOOLBAR_Cust_AvailDragListNotification: ; @TOOLBAR_Cust_AvailDragListNotification
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _IDC_TOOLBARBTN_LBOX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_TOOLBARBTN_LBOX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w8, [x22]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w1, [x22, #4]
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_LBItemFromPt
	mov	x22, x0
Lloh8:
	adrp	x8, _LB_GETCOUNT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LB_GETCOUNT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	mov	x24, x0
Lloh11:
	adrp	x8, _IDC_AVAILBTN_LBOX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDC_AVAILBTN_LBOX@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _LB_GETCURSEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LB_GETCURSEL@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessageW
	tbnz	w22, #31, LBB0_5
; %bb.3:
	cmp	w22, w24
	b.ge	LBB0_5
; %bb.4:
	mov	x23, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_DrawInsert
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	bl	_TOOLBAR_Cust_AddButton
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_DrawInsert
LBB0_6:
	mov	w0, #0
	b	LBB0_16
LBB0_7:
	ldr	w1, [x22, #4]
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_LBItemFromPt
	mov	x21, x0
Lloh20:
	adrp	x8, _LB_GETCOUNT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LB_GETCOUNT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	tbnz	w21, #31, LBB0_12
; %bb.8:
	cmp	w21, w0
	b.ge	LBB0_12
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_DrawInsert
LBB0_10:
Lloh23:
	adrp	x8, _DL_COPYCURSOR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DL_COPYCURSOR@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh25:
	adrp	x8, _TRUE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	tbz	w21, #31, LBB0_14
; %bb.13:
	ldr	w8, [x22, #4]
	str	w8, [sp, #12]
Lloh27:
	adrp	x8, _IDC_AVAILBTN_LBOX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IDC_AVAILBTN_LBOX@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	mov	x21, x0
	add	x2, sp, #12
	mov	x0, #0
	mov	x1, x19
	mov	w3, #1
	bl	_MapWindowPoints
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_ChildWindowFromPoint
	cmp	w0, w21
	b.eq	LBB0_10
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_DrawInsert
Lloh30:
	adrp	x8, _DL_STOPCURSOR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DL_STOPCURSOR@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_IDC_TOOLBARBTN_LBOX,4,2        ; @IDC_TOOLBARBTN_LBOX
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_LB_GETCOUNT,4,2                ; @LB_GETCOUNT
	.comm	_DL_COPYCURSOR,4,2              ; @DL_COPYCURSOR
	.comm	_IDC_AVAILBTN_LBOX,4,2          ; @IDC_AVAILBTN_LBOX
	.comm	_DL_STOPCURSOR,4,2              ; @DL_STOPCURSOR
	.comm	_LB_GETCURSEL,4,2               ; @LB_GETCURSEL
	.no_dead_strip	_TOOLBAR_Cust_AvailDragListNotification
.subsections_via_symbols
