	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_HandleLButtonDownCombo
_LISTBOX_HandleLButtonDownCombo:        ## @LISTBOX_HandleLButtonDownCombo
	.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	%r8, %r14
	movq	%rcx, %r15
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	leaq	-56(%rbp), %r12
	movq	%r12, %rsi
	callq	_GetClientRect
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	_WM_LBUTTONDOWN@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_6
## %bb.2:
	cmpq	$0, 24(%r13)
	je	LBB0_3
## %bb.4:
	movl	(%r13), %eax
	jmp	LBB0_5
LBB0_8:
	movq	%r14, -72(%rbp)
	movq	%r15, -64(%rbp)
	xorl	%eax, %eax
	callq	_GetCapture
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_ReleaseCapture
	movl	8(%r13), %edi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_GetWindowRect
	movl	8(%r13), %edi
	leaq	-72(%rbp), %rsi
	callq	_ClientToScreen
	movq	-72(%rbp), %rsi
	movq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongW
	movl	%eax, %r12d
	movq	_WS_VSCROLL@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_11
## %bb.12:
	movq	_SM_CXVSCROLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	addl	%eax, -52(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_PtInRect
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_HTVSCROLL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_14
LBB0_6:
	movq	_LBS_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, 4(%r13)
	je	LBB0_22
## %bb.7:
	movq	_LBN_DBLCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_SEND_NOTIFICATION
	jmp	LBB0_22
LBB0_9:
	movq	16(%r13), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_LISTBOX_SetCaretIndex
	movq	16(%r13), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	movl	%ecx, %edx
	callq	_LISTBOX_SetSelection
	movq	16(%r13), %rdi
	movl	(%rbx), %edx
	movl	%edx, %esi
	callq	_COMBO_FlipListbox
	jmp	LBB0_21
LBB0_3:
	movl	$-1, %eax
LBB0_5:
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	16(%r13), %rcx
	movl	%eax, (%rcx)
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_LISTBOX_HandleLButtonDown
	movl	%eax, %ebx
	jmp	LBB0_22
LBB0_11:
	xorl	%ebx, %ebx
LBB0_14:
	movq	_WS_HSCROLL@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_17
## %bb.15:
	movq	_SM_CYHSCROLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	addl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_HTHSCROLL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_17:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	movl	8(%r13), %r14d
	movq	_WM_NCLBUTTONDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-72(%rbp), %rsi
	movq	-64(%rbp), %rdi
	callq	_MAKELONG
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_SendMessageW
LBB0_19:
	testq	%r12, %r12
	je	LBB0_21
## %bb.20:
	movq	%r12, %rdi
	callq	_SetCapture
LBB0_21:
	xorl	%ebx, %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM_LBUTTONDOWN,8,3             ## @WM_LBUTTONDOWN
	.comm	_LBS_NOTIFY,4,2                 ## @LBS_NOTIFY
	.comm	_LBN_DBLCLK,4,2                 ## @LBN_DBLCLK
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_WS_VSCROLL,4,2                 ## @WS_VSCROLL
	.comm	_SM_CXVSCROLL,4,2               ## @SM_CXVSCROLL
	.comm	_HTVSCROLL,8,3                  ## @HTVSCROLL
	.comm	_WS_HSCROLL,4,2                 ## @WS_HSCROLL
	.comm	_SM_CYHSCROLL,4,2               ## @SM_CYHSCROLL
	.comm	_HTHSCROLL,8,3                  ## @HTHSCROLL
	.comm	_WM_NCLBUTTONDOWN,4,2           ## @WM_NCLBUTTONDOWN
	.no_dead_strip	_LISTBOX_HandleLButtonDownCombo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_HandleLButtonDownCombo
_LISTBOX_HandleLButtonDownCombo:        ; @LISTBOX_HandleLButtonDownCombo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	add	x1, sp, #24
	bl	_GetClientRect
	add	x0, sp, #24
	mov	x1, x20
	mov	x2, x21
	bl	_PtInRect
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _WM_LBUTTONDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM_LBUTTONDOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.3:
	ldr	w8, [x19]
	b	LBB0_11
LBB0_4:
	stp	x20, x21, [sp]
	bl	_GetCapture
	mov	x22, x0
	bl	_ReleaseCapture
	ldr	w0, [x19, #8]
	add	x1, sp, #16
	bl	_GetWindowRect
	ldr	w0, [x19, #8]
	mov	x1, sp
	bl	_ClientToScreen
	ldp	x1, x2, [sp]
	add	x0, sp, #16
	bl	_PtInRect
	cbz	x0, LBB0_9
; %bb.5:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetWindowLongW
	mov	x24, x0
Lloh6:
	adrp	x8, _WS_VSCROLL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WS_VSCROLL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.6:
Lloh9:
	adrp	x8, _SM_CXVSCROLL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SM_CXVSCROLL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	ldr	w8, [sp, #28]
	add	w8, w8, w0
	str	w8, [sp, #28]
	add	x0, sp, #24
	mov	x1, x20
	mov	x2, x21
	bl	_PtInRect
Lloh12:
	adrp	x8, _HTVSCROLL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HTVSCROLL@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x23, xzr, x8, eq
	b	LBB0_13
LBB0_7:
	ldr	w8, [x19, #4]
Lloh15:
	adrp	x9, _LBS_NOTIFY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LBS_NOTIFY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.8:
Lloh18:
	adrp	x8, _LBN_DBLCLK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LBN_DBLCLK@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SEND_NOTIFICATION
	b	LBB0_19
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
Lloh21:
	adrp	x20, _FALSE@GOTPAGE
Lloh22:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_LISTBOX_SetCaretIndex
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	x3, x2
	bl	_LISTBOX_SetSelection
	ldr	x0, [x19, #16]
	ldr	w1, [x20]
	mov	x2, x1
	bl	_COMBO_FlipListbox
	b	LBB0_19
LBB0_10:
	mov	w8, #-1
LBB0_11:
	ldr	x9, [x19, #16]
	str	w8, [x9]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_LISTBOX_HandleLButtonDown
	b	LBB0_20
LBB0_12:
	mov	x23, #0
LBB0_13:
Lloh23:
	adrp	x8, _WS_HSCROLL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WS_HSCROLL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_15
; %bb.14:
Lloh26:
	adrp	x8, _SM_CYHSCROLL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SM_CYHSCROLL@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	ldr	w8, [sp, #24]
	add	w8, w8, w0
	str	w8, [sp, #24]
	add	x0, sp, #24
	mov	x1, x20
	mov	x2, x21
	bl	_PtInRect
Lloh29:
	adrp	x8, _HTHSCROLL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HTHSCROLL@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x23, x23, x8, eq
LBB0_15:
	cbz	x23, LBB0_17
; %bb.16:
	ldr	w19, [x19, #8]
Lloh32:
	adrp	x8, _WM_NCLBUTTONDOWN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WM_NCLBUTTONDOWN@GOTPAGEOFF]
Lloh34:
	ldr	w20, [x8]
	ldp	x1, x0, [sp]
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_SendMessageW
LBB0_17:
	cbz	x22, LBB0_19
; %bb.18:
	mov	x0, x22
	bl	_SetCapture
LBB0_19:
	mov	w0, #0
LBB0_20:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_WM_LBUTTONDOWN,8,3             ; @WM_LBUTTONDOWN
	.comm	_LBS_NOTIFY,4,2                 ; @LBS_NOTIFY
	.comm	_LBN_DBLCLK,4,2                 ; @LBN_DBLCLK
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_WS_VSCROLL,4,2                 ; @WS_VSCROLL
	.comm	_SM_CXVSCROLL,4,2               ; @SM_CXVSCROLL
	.comm	_HTVSCROLL,8,3                  ; @HTVSCROLL
	.comm	_WS_HSCROLL,4,2                 ; @WS_HSCROLL
	.comm	_SM_CYHSCROLL,4,2               ; @SM_CYHSCROLL
	.comm	_HTHSCROLL,8,3                  ; @HTHSCROLL
	.comm	_WM_NCLBUTTONDOWN,4,2           ; @WM_NCLBUTTONDOWN
	.no_dead_strip	_LISTBOX_HandleLButtonDownCombo
.subsections_via_symbols
