	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_WM_MOUSEWHEEL
_handle_WM_MOUSEWHEEL:                  ## @handle_WM_MOUSEWHEEL
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %edi
	callq	_HIWORD
	xorl	%ebx, %ebx
	testw	%ax, %ax
	setg	%bl
	xorl	$5, %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_ui_mouse_button
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_ui_mouse_button
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_handle_WM_MOUSEWHEEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_WM_MOUSEWHEEL
_handle_WM_MOUSEWHEEL:                  ; @handle_WM_MOUSEWHEEL
	.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	x0, x2
	bl	_HIWORD
	lsl	w8, w0, #16
	cmp	w8, #0
	mov	w8, #4
	cinc	w19, w8, le
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #1
	bl	_ui_mouse_button
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_handle_WM_MOUSEWHEEL
.subsections_via_symbols
