	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnLButtonDown
_OnLButtonDown:                         ## @OnLButtonDown
	.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	%rcx, %r12
                                        ## kill: def $edx killed $edx def $rdx
	movl	%edi, %r14d
	movq	_IDX_DESKTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	48(%rcx), %rdi
	shlq	$32, %rdx
	movl	%esi, %ebx
	orq	%rdx, %rbx
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	44(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IDX_INACTIVE_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	40(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IDX_INACTIVE_CAPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	36(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_IDX_CAPTION_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_6:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	32(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_IDX_ACTIVE_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_8:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	28(%r12), %rdi
	movq	_IDX_ACTIVE_CAPTION@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%r13), %r15d
LBB0_10:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	24(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_IDX_CAPTION_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_12:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	20(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_IDX_MENU@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_14:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	16(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_IDX_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_16:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	12(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_IDX_SCROLLBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_18:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	8(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_IDX_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_20:
	movq	%rbx, %rsi
	callq	_PtInRect
	leaq	4(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movl	(%r13), %r15d
LBB0_22:
	movq	%rbx, %rsi
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	_IDX_CAPTION_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_24:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	_IDX_3D_OBJECTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_26:
	movl	%r14d, %edi
	callq	_GetParent
	movl	%eax, %r12d
	movq	_WM_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_GWLP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GetWindowLongPtrW
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_MAKEWPARAM
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SendMessage                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IDX_DESKTOP,8,3                ## @IDX_DESKTOP
	.comm	_IDX_INACTIVE_BORDER,8,3        ## @IDX_INACTIVE_BORDER
	.comm	_IDX_INACTIVE_CAPTION,8,3       ## @IDX_INACTIVE_CAPTION
	.comm	_IDX_CAPTION_BUTTON,8,3         ## @IDX_CAPTION_BUTTON
	.comm	_IDX_ACTIVE_BORDER,8,3          ## @IDX_ACTIVE_BORDER
	.comm	_IDX_ACTIVE_CAPTION,8,3         ## @IDX_ACTIVE_CAPTION
	.comm	_IDX_MENU,8,3                   ## @IDX_MENU
	.comm	_IDX_WINDOW,8,3                 ## @IDX_WINDOW
	.comm	_IDX_SCROLLBAR,8,3              ## @IDX_SCROLLBAR
	.comm	_IDX_DIALOG,8,3                 ## @IDX_DIALOG
	.comm	_IDX_3D_OBJECTS,8,3             ## @IDX_3D_OBJECTS
	.comm	_WM_COMMAND,4,2                 ## @WM_COMMAND
	.comm	_GWLP_ID,4,2                    ## @GWLP_ID
	.no_dead_strip	_OnLButtonDown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnLButtonDown
_OnLButtonDown:                         ; @OnLButtonDown
	.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	x20, x3
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x0
Lloh0:
	adrp	x8, _IDX_DESKTOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDX_DESKTOP@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	add	x0, x3, #48
	mov	w21, w1
	bfi	x21, x2, #32, #32
	mov	x1, x21
	bl	_PtInRect
	mov	x22, x0
Lloh3:
	adrp	x8, _IDX_INACTIVE_BORDER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDX_INACTIVE_BORDER@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	add	x0, x20, #44
	mov	x1, x21
	bl	_PtInRect
	mov	x23, x0
Lloh6:
	adrp	x8, _IDX_INACTIVE_CAPTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDX_INACTIVE_CAPTION@GOTPAGEOFF]
Lloh8:
	ldr	w26, [x8]
	cmp	x22, #0
	csel	w25, w24, w25, eq
	add	x0, x20, #40
	mov	x1, x21
	bl	_PtInRect
	mov	x22, x0
Lloh9:
	adrp	x24, _IDX_CAPTION_BUTTON@GOTPAGE
Lloh10:
	ldr	x24, [x24, _IDX_CAPTION_BUTTON@GOTPAGEOFF]
	ldr	w27, [x24]
	cmp	x23, #0
	csel	w25, w25, w26, eq
	add	x0, x20, #36
	mov	x1, x21
	bl	_PtInRect
	mov	x23, x0
Lloh11:
	adrp	x8, _IDX_ACTIVE_BORDER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDX_ACTIVE_BORDER@GOTPAGEOFF]
Lloh13:
	ldr	w26, [x8]
	cmp	x22, #0
	csel	w27, w25, w27, eq
	add	x0, x20, #32
	mov	x1, x21
	bl	_PtInRect
	mov	x22, x0
Lloh14:
	adrp	x25, _IDX_ACTIVE_CAPTION@GOTPAGE
Lloh15:
	ldr	x25, [x25, _IDX_ACTIVE_CAPTION@GOTPAGEOFF]
	ldr	w28, [x25]
	cmp	x23, #0
	csel	w26, w27, w26, eq
	add	x0, x20, #28
	mov	x1, x21
	bl	_PtInRect
	mov	x23, x0
	ldr	w27, [x24]
	cmp	x22, #0
	csel	w26, w26, w28, eq
	add	x0, x20, #24
	mov	x1, x21
	bl	_PtInRect
	mov	x22, x0
Lloh16:
	adrp	x8, _IDX_MENU@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IDX_MENU@GOTPAGEOFF]
Lloh18:
	ldr	w28, [x8]
	cmp	x23, #0
	csel	w26, w26, w27, eq
	add	x0, x20, #20
	mov	x1, x21
	bl	_PtInRect
	mov	x23, x0
Lloh19:
	adrp	x8, _IDX_WINDOW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IDX_WINDOW@GOTPAGEOFF]
Lloh21:
	ldr	w27, [x8]
	cmp	x22, #0
	csel	w26, w26, w28, eq
	add	x0, x20, #16
	mov	x1, x21
	bl	_PtInRect
	mov	x22, x0
Lloh22:
	adrp	x8, _IDX_SCROLLBAR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IDX_SCROLLBAR@GOTPAGEOFF]
Lloh24:
	ldr	w28, [x8]
	cmp	x23, #0
	csel	w26, w26, w27, eq
	add	x0, x20, #12
	mov	x1, x21
	bl	_PtInRect
	mov	x23, x0
Lloh25:
	adrp	x8, _IDX_DIALOG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IDX_DIALOG@GOTPAGEOFF]
Lloh27:
	ldr	w27, [x8]
	cmp	x22, #0
	csel	w26, w26, w28, eq
	add	x0, x20, #8
	mov	x1, x21
	bl	_PtInRect
	mov	x22, x0
	ldr	w25, [x25]
	cmp	x23, #0
	csel	w26, w26, w27, eq
	add	x0, x20, #4
	mov	x1, x21
	bl	_PtInRect
	mov	x23, x0
	ldr	w24, [x24]
	cmp	x22, #0
	csel	w22, w26, w25, eq
	mov	x0, x20
	mov	x1, x21
	bl	_PtInRect
	mov	x20, x0
Lloh28:
	adrp	x8, _IDX_3D_OBJECTS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IDX_3D_OBJECTS@GOTPAGEOFF]
Lloh30:
	ldr	w25, [x8]
	cmp	x23, #0
	csel	w23, w22, w24, eq
	mov	x0, x19
	bl	_GetParent
	mov	x21, x0
Lloh31:
	adrp	x8, _WM_COMMAND@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WM_COMMAND@GOTPAGEOFF]
Lloh33:
	ldr	w22, [x8]
Lloh34:
	adrp	x8, _GWLP_ID@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GWLP_ID@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetWindowLongPtrW
	mov	w1, #0
	bl	_MAKEWPARAM
	mov	x2, x0
	cmp	x20, #0
	csel	w3, w23, w25, eq
	mov	x0, x21
	mov	x1, x22
	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	_SendMessage
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDX_DESKTOP,8,3                ; @IDX_DESKTOP
	.comm	_IDX_INACTIVE_BORDER,8,3        ; @IDX_INACTIVE_BORDER
	.comm	_IDX_INACTIVE_CAPTION,8,3       ; @IDX_INACTIVE_CAPTION
	.comm	_IDX_CAPTION_BUTTON,8,3         ; @IDX_CAPTION_BUTTON
	.comm	_IDX_ACTIVE_BORDER,8,3          ; @IDX_ACTIVE_BORDER
	.comm	_IDX_ACTIVE_CAPTION,8,3         ; @IDX_ACTIVE_CAPTION
	.comm	_IDX_MENU,8,3                   ; @IDX_MENU
	.comm	_IDX_WINDOW,8,3                 ; @IDX_WINDOW
	.comm	_IDX_SCROLLBAR,8,3              ; @IDX_SCROLLBAR
	.comm	_IDX_DIALOG,8,3                 ; @IDX_DIALOG
	.comm	_IDX_3D_OBJECTS,8,3             ; @IDX_3D_OBJECTS
	.comm	_WM_COMMAND,4,2                 ; @WM_COMMAND
	.comm	_GWLP_ID,4,2                    ; @GWLP_ID
	.no_dead_strip	_OnLButtonDown
.subsections_via_symbols
