	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_MouseEvent                  ## -- Begin function CL_MouseEvent
	.p2align	4, 0x90
_CL_MouseEvent:                         ## @CL_MouseEvent
	.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	%esi, %r14d
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_UI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_uivm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UI_MOUSE_EVENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_CGAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_cgvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CG_MOUSE_EVENT@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_VM_Call                        ## TAILCALL
LBB0_5:
	movq	_cl@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	addl	%ebx, (%rcx,%rdx,4)
	movq	16(%rax), %rax
	addl	%r14d, (%rax,%rdx,4)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYCATCH_UI,4,2                ## @KEYCATCH_UI
	.comm	_uivm,4,2                       ## @uivm
	.comm	_UI_MOUSE_EVENT,4,2             ## @UI_MOUSE_EVENT
	.comm	_KEYCATCH_CGAME,4,2             ## @KEYCATCH_CGAME
	.comm	_cgvm,4,2                       ## @cgvm
	.comm	_CG_MOUSE_EVENT,4,2             ## @CG_MOUSE_EVENT
	.comm	_cl,24,3                        ## @cl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_MouseEvent                  ; -- Begin function CL_MouseEvent
	.p2align	2
_CL_MouseEvent:                         ; @CL_MouseEvent
	.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, x1
	mov	x20, x0
	bl	_Key_GetCatcher
Lloh0:
	adrp	x8, _KEYCATCH_UI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEYCATCH_UI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _uivm@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uivm@GOTPAGEOFF]
Lloh5:
	adrp	x9, _UI_MOUSE_EVENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UI_MOUSE_EVENT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	bl	_Key_GetCatcher
Lloh7:
	adrp	x8, _KEYCATCH_CGAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KEYCATCH_CGAME@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _cgvm@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cgvm@GOTPAGEOFF]
Lloh12:
	adrp	x9, _CG_MOUSE_EVENT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CG_MOUSE_EVENT@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldr	w1, [x9]
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_VM_Call
LBB0_5:
Lloh14:
	adrp	x8, _cl@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cl@GOTPAGEOFF]
	ldp	x9, x10, [x8]
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	add	w11, w11, w20
	str	w11, [x9, x10]
	ldr	x8, [x8, #16]
	ldr	w9, [x8, x10]
	add	w9, w9, w19
	str	w9, [x8, x10]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYCATCH_UI,4,2                ; @KEYCATCH_UI
	.comm	_uivm,4,2                       ; @uivm
	.comm	_UI_MOUSE_EVENT,4,2             ; @UI_MOUSE_EVENT
	.comm	_KEYCATCH_CGAME,4,2             ; @KEYCATCH_CGAME
	.comm	_cgvm,4,2                       ; @cgvm
	.comm	_CG_MOUSE_EVENT,4,2             ; @CG_MOUSE_EVENT
	.comm	_cl,24,3                        ; @cl
.subsections_via_symbols
