	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_WM_LBUTTONUP
_handle_WM_LBUTTONUP:                   ## @handle_WM_LBUTTONUP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %ebx
	movl	%ecx, %edi
	callq	_LOWORD
	movq	_g_mousex@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movl	%ebx, %edi
	callq	_HIWORD
	movq	_g_xscroll@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r14), %rsi
	movq	_g_mousey@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_g_yscroll@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movl	$1, %edi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_ui_mouse_button
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_mousex,8,3                   ## @g_mousex
	.comm	_g_mousey,8,3                   ## @g_mousey
	.comm	_g_xscroll,8,3                  ## @g_xscroll
	.comm	_g_yscroll,8,3                  ## @g_yscroll
	.no_dead_strip	_handle_WM_LBUTTONUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_WM_LBUTTONUP
_handle_WM_LBUTTONUP:                   ; @handle_WM_LBUTTONUP
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x0, x3
	bl	_LOWORD
Lloh0:
	adrp	x20, _g_mousex@GOTPAGE
Lloh1:
	ldr	x20, [x20, _g_mousex@GOTPAGEOFF]
	str	x0, [x20]
	mov	x0, x19
	bl	_HIWORD
Lloh2:
	adrp	x8, _g_mousey@GOTPAGE
Lloh3:
	ldr	x8, [x8, _g_mousey@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _g_xscroll@GOTPAGE
Lloh6:
	ldr	x9, [x9, _g_xscroll@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
Lloh8:
	adrp	x8, _g_yscroll@GOTPAGE
Lloh9:
	ldr	x8, [x8, _g_yscroll@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x2, x8, x0
	mov	w0, #1
	mov	w3, #0
	bl	_ui_mouse_button
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_mousex,8,3                   ; @g_mousex
	.comm	_g_mousey,8,3                   ; @g_mousey
	.comm	_g_xscroll,8,3                  ; @g_xscroll
	.comm	_g_yscroll,8,3                  ; @g_yscroll
	.no_dead_strip	_handle_WM_LBUTTONUP
.subsections_via_symbols
