	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mousekey_off                   ## -- Begin function mousekey_off
	.p2align	4, 0x90
_mousekey_off:                          ## @mousekey_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_KC_MS_UP@GOTPCREL(%rip), %rdx
	movq	_mouse_report@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rdi, (%rdx)
	jne	LBB0_2
## %bb.1:
	testq	%rcx, %rcx
	js	LBB0_4
LBB0_2:
	movq	_KC_MS_DOWN@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_11
## %bb.3:
	testq	%rcx, %rcx
	jle	LBB0_11
LBB0_4:
	movq	$0, (%rax)
	xorl	%ecx, %ecx
LBB0_5:
	cmpq	$0, 8(%rax)
	jne	LBB0_10
## %bb.6:
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.7:
	cmpq	$0, 16(%rax)
	jne	LBB0_10
## %bb.8:
	cmpq	$0, 24(%rax)
	jne	LBB0_10
## %bb.9:
	movq	_mousekey_repeat@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_10:
	popq	%rbp
	retq
LBB0_11:
	movq	_KC_MS_LEFT@GOTPCREL(%rip), %rsi
	movq	8(%rax), %rdx
	cmpq	%rdi, (%rsi)
	jne	LBB0_14
## %bb.12:
	testq	%rdx, %rdx
	js	LBB0_13
LBB0_14:
	movq	_KC_MS_RIGHT@GOTPCREL(%rip), %rsi
	cmpq	%rdi, (%rsi)
	jne	LBB0_17
## %bb.15:
	testq	%rdx, %rdx
	jle	LBB0_17
LBB0_13:
	movq	$0, 8(%rax)
	jmp	LBB0_5
LBB0_17:
	movq	_KC_MS_WH_UP@GOTPCREL(%rip), %rsi
	movq	16(%rax), %rdx
	cmpq	%rdi, (%rsi)
	jne	LBB0_20
## %bb.18:
	testq	%rdx, %rdx
	jg	LBB0_19
LBB0_20:
	movq	_KC_MS_WH_DOWN@GOTPCREL(%rip), %rsi
	cmpq	%rdi, (%rsi)
	jne	LBB0_23
## %bb.21:
	testq	%rdx, %rdx
	jns	LBB0_23
LBB0_19:
	movq	$0, 16(%rax)
	jmp	LBB0_5
LBB0_23:
	movq	_KC_MS_WH_LEFT@GOTPCREL(%rip), %rsi
	movq	24(%rax), %rdx
	cmpq	%rdi, (%rsi)
	jne	LBB0_26
## %bb.24:
	testq	%rdx, %rdx
	js	LBB0_25
LBB0_26:
	movq	_KC_MS_WH_RIGHT@GOTPCREL(%rip), %rsi
	cmpq	%rdi, (%rsi)
	jne	LBB0_29
## %bb.27:
	testq	%rdx, %rdx
	jle	LBB0_29
LBB0_25:
	movq	$0, 24(%rax)
	jmp	LBB0_5
LBB0_29:
	movq	_KC_MS_BTN1@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_31
## %bb.30:
	movq	_MOUSE_BTN1@GOTPCREL(%rip), %rdx
	jmp	LBB0_39
LBB0_31:
	movq	_KC_MS_BTN2@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_33
## %bb.32:
	movq	_MOUSE_BTN2@GOTPCREL(%rip), %rdx
	jmp	LBB0_39
LBB0_33:
	movq	_KC_MS_BTN3@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_35
## %bb.34:
	movq	_MOUSE_BTN3@GOTPCREL(%rip), %rdx
	jmp	LBB0_39
LBB0_35:
	movq	_KC_MS_BTN4@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_37
## %bb.36:
	movq	_MOUSE_BTN4@GOTPCREL(%rip), %rdx
	jmp	LBB0_39
LBB0_37:
	movq	_KC_MS_BTN5@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_40
## %bb.38:
	movq	_MOUSE_BTN5@GOTPCREL(%rip), %rdx
LBB0_39:
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, 32(%rax)
	jmp	LBB0_5
LBB0_40:
	movq	_KC_MS_ACCEL0@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_42
## %bb.41:
	movq	_mousekey_accel@GOTPCREL(%rip), %rdx
	andb	$-2, (%rdx)
	jmp	LBB0_5
LBB0_42:
	movq	_KC_MS_ACCEL1@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_44
## %bb.43:
	movq	_mousekey_accel@GOTPCREL(%rip), %rdx
	andb	$-3, (%rdx)
	jmp	LBB0_5
LBB0_44:
	movq	_KC_MS_ACCEL2@GOTPCREL(%rip), %rdx
	cmpq	%rdi, (%rdx)
	jne	LBB0_5
## %bb.45:
	movq	_mousekey_accel@GOTPCREL(%rip), %rdx
	andb	$-5, (%rdx)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_MS_UP,8,3                   ## @KC_MS_UP
	.comm	_mouse_report,40,3              ## @mouse_report
	.comm	_KC_MS_DOWN,8,3                 ## @KC_MS_DOWN
	.comm	_KC_MS_LEFT,8,3                 ## @KC_MS_LEFT
	.comm	_KC_MS_RIGHT,8,3                ## @KC_MS_RIGHT
	.comm	_KC_MS_WH_UP,8,3                ## @KC_MS_WH_UP
	.comm	_KC_MS_WH_DOWN,8,3              ## @KC_MS_WH_DOWN
	.comm	_KC_MS_WH_LEFT,8,3              ## @KC_MS_WH_LEFT
	.comm	_KC_MS_WH_RIGHT,8,3             ## @KC_MS_WH_RIGHT
	.comm	_KC_MS_BTN1,8,3                 ## @KC_MS_BTN1
	.comm	_MOUSE_BTN1,4,2                 ## @MOUSE_BTN1
	.comm	_KC_MS_BTN2,8,3                 ## @KC_MS_BTN2
	.comm	_MOUSE_BTN2,4,2                 ## @MOUSE_BTN2
	.comm	_KC_MS_BTN3,8,3                 ## @KC_MS_BTN3
	.comm	_MOUSE_BTN3,4,2                 ## @MOUSE_BTN3
	.comm	_KC_MS_BTN4,8,3                 ## @KC_MS_BTN4
	.comm	_MOUSE_BTN4,4,2                 ## @MOUSE_BTN4
	.comm	_KC_MS_BTN5,8,3                 ## @KC_MS_BTN5
	.comm	_MOUSE_BTN5,4,2                 ## @MOUSE_BTN5
	.comm	_KC_MS_ACCEL0,8,3               ## @KC_MS_ACCEL0
	.comm	_mousekey_accel,4,2             ## @mousekey_accel
	.comm	_KC_MS_ACCEL1,8,3               ## @KC_MS_ACCEL1
	.comm	_KC_MS_ACCEL2,8,3               ## @KC_MS_ACCEL2
	.comm	_mousekey_repeat,8,3            ## @mousekey_repeat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mousekey_off                   ; -- Begin function mousekey_off
	.p2align	2
_mousekey_off:                          ; @mousekey_off
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _KC_MS_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KC_MS_UP@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _mouse_report@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mouse_report@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x10, x0
	b.ne	LBB0_2
; %bb.1:
	tbnz	x9, #63, LBB0_10
LBB0_2:
Lloh5:
	adrp	x10, _KC_MS_DOWN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _KC_MS_DOWN@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x10, x0
	ccmp	x9, #1, #8, eq
	b.ge	LBB0_10
; %bb.3:
Lloh8:
	adrp	x10, _KC_MS_LEFT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _KC_MS_LEFT@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x10]
	ldr	x10, [x8, #8]
	cmp	x11, x0
	b.ne	LBB0_5
; %bb.4:
	tbnz	x10, #63, LBB0_14
LBB0_5:
Lloh11:
	adrp	x11, _KC_MS_RIGHT@GOTPAGE
Lloh12:
	ldr	x11, [x11, _KC_MS_RIGHT@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x11, x0
	ccmp	x10, #1, #8, eq
	b.ge	LBB0_14
; %bb.6:
Lloh14:
	adrp	x10, _KC_MS_WH_UP@GOTPAGE
Lloh15:
	ldr	x10, [x10, _KC_MS_WH_UP@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x10]
	ldr	x10, [x8, #16]
	cmp	x11, x0
	ccmp	x10, #1, #8, eq
	b.ge	LBB0_9
; %bb.7:
Lloh17:
	adrp	x11, _KC_MS_WH_DOWN@GOTPAGE
Lloh18:
	ldr	x11, [x11, _KC_MS_WH_DOWN@GOTPAGEOFF]
Lloh19:
	ldr	x11, [x11]
	cmp	x11, x0
	b.ne	LBB0_15
; %bb.8:
	tbz	x10, #63, LBB0_15
LBB0_9:
	str	xzr, [x8, #16]
	b	LBB0_11
LBB0_10:
	mov	x9, #0
	str	xzr, [x8]
LBB0_11:
	ldp	x10, x11, [x8, #8]
	ldr	x8, [x8, #24]
	cmp	x10, #0
	ccmp	x9, #0, #0, eq
	ccmp	x11, #0, #0, eq
	ccmp	x8, #0, #0, eq
	b.ne	LBB0_13
; %bb.12:
Lloh20:
	adrp	x8, _mousekey_repeat@GOTPAGE
Lloh21:
	ldr	x8, [x8, _mousekey_repeat@GOTPAGEOFF]
Lloh22:
	str	xzr, [x8]
LBB0_13:
	ret
LBB0_14:
	str	xzr, [x8, #8]
	b	LBB0_11
LBB0_15:
Lloh23:
	adrp	x10, _KC_MS_WH_LEFT@GOTPAGE
Lloh24:
	ldr	x10, [x10, _KC_MS_WH_LEFT@GOTPAGEOFF]
Lloh25:
	ldr	x11, [x10]
	ldr	x10, [x8, #24]
	cmp	x11, x0
	b.ne	LBB0_17
; %bb.16:
	tbnz	x10, #63, LBB0_19
LBB0_17:
Lloh26:
	adrp	x11, _KC_MS_WH_RIGHT@GOTPAGE
Lloh27:
	ldr	x11, [x11, _KC_MS_WH_RIGHT@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
	cmp	x11, x0
	b.ne	LBB0_20
; %bb.18:
	cmp	x10, #1
	b.lt	LBB0_20
LBB0_19:
	str	xzr, [x8, #24]
	b	LBB0_11
LBB0_20:
Lloh29:
	adrp	x10, _KC_MS_BTN1@GOTPAGE
Lloh30:
	ldr	x10, [x10, _KC_MS_BTN1@GOTPAGEOFF]
Lloh31:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_22
; %bb.21:
Lloh32:
	adrp	x10, _MOUSE_BTN1@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MOUSE_BTN1@GOTPAGEOFF]
	b	LBB0_30
LBB0_22:
Lloh34:
	adrp	x10, _KC_MS_BTN2@GOTPAGE
Lloh35:
	ldr	x10, [x10, _KC_MS_BTN2@GOTPAGEOFF]
Lloh36:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_24
; %bb.23:
Lloh37:
	adrp	x10, _MOUSE_BTN2@GOTPAGE
Lloh38:
	ldr	x10, [x10, _MOUSE_BTN2@GOTPAGEOFF]
	b	LBB0_30
LBB0_24:
Lloh39:
	adrp	x10, _KC_MS_BTN3@GOTPAGE
Lloh40:
	ldr	x10, [x10, _KC_MS_BTN3@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_26
; %bb.25:
Lloh42:
	adrp	x10, _MOUSE_BTN3@GOTPAGE
Lloh43:
	ldr	x10, [x10, _MOUSE_BTN3@GOTPAGEOFF]
	b	LBB0_30
LBB0_26:
Lloh44:
	adrp	x10, _KC_MS_BTN4@GOTPAGE
Lloh45:
	ldr	x10, [x10, _KC_MS_BTN4@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_28
; %bb.27:
Lloh47:
	adrp	x10, _MOUSE_BTN4@GOTPAGE
Lloh48:
	ldr	x10, [x10, _MOUSE_BTN4@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
Lloh49:
	adrp	x10, _KC_MS_BTN5@GOTPAGE
Lloh50:
	ldr	x10, [x10, _KC_MS_BTN5@GOTPAGEOFF]
Lloh51:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_31
; %bb.29:
Lloh52:
	adrp	x10, _MOUSE_BTN5@GOTPAGE
Lloh53:
	ldr	x10, [x10, _MOUSE_BTN5@GOTPAGEOFF]
LBB0_30:
	ldr	w10, [x10]
	ldr	w11, [x8, #32]
	bic	w10, w11, w10
	str	w10, [x8, #32]
	b	LBB0_11
LBB0_31:
Lloh54:
	adrp	x10, _KC_MS_ACCEL0@GOTPAGE
Lloh55:
	ldr	x10, [x10, _KC_MS_ACCEL0@GOTPAGEOFF]
Lloh56:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_33
; %bb.32:
Lloh57:
	adrp	x10, _mousekey_accel@GOTPAGE
Lloh58:
	ldr	x10, [x10, _mousekey_accel@GOTPAGEOFF]
	ldr	w11, [x10]
	and	w11, w11, #0xfffffffe
	b	LBB0_37
LBB0_33:
Lloh59:
	adrp	x10, _KC_MS_ACCEL1@GOTPAGE
Lloh60:
	ldr	x10, [x10, _KC_MS_ACCEL1@GOTPAGEOFF]
Lloh61:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_35
; %bb.34:
Lloh62:
	adrp	x10, _mousekey_accel@GOTPAGE
Lloh63:
	ldr	x10, [x10, _mousekey_accel@GOTPAGEOFF]
	ldr	w11, [x10]
	and	w11, w11, #0xfffffffd
	b	LBB0_37
LBB0_35:
Lloh64:
	adrp	x10, _KC_MS_ACCEL2@GOTPAGE
Lloh65:
	ldr	x10, [x10, _KC_MS_ACCEL2@GOTPAGEOFF]
Lloh66:
	ldr	x10, [x10]
	cmp	x10, x0
	b.ne	LBB0_11
; %bb.36:
Lloh67:
	adrp	x10, _mousekey_accel@GOTPAGE
Lloh68:
	ldr	x10, [x10, _mousekey_accel@GOTPAGEOFF]
	ldr	w11, [x10]
	and	w11, w11, #0xfffffffb
LBB0_37:
	str	w11, [x10]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_MS_UP,8,3                   ; @KC_MS_UP
	.comm	_mouse_report,40,3              ; @mouse_report
	.comm	_KC_MS_DOWN,8,3                 ; @KC_MS_DOWN
	.comm	_KC_MS_LEFT,8,3                 ; @KC_MS_LEFT
	.comm	_KC_MS_RIGHT,8,3                ; @KC_MS_RIGHT
	.comm	_KC_MS_WH_UP,8,3                ; @KC_MS_WH_UP
	.comm	_KC_MS_WH_DOWN,8,3              ; @KC_MS_WH_DOWN
	.comm	_KC_MS_WH_LEFT,8,3              ; @KC_MS_WH_LEFT
	.comm	_KC_MS_WH_RIGHT,8,3             ; @KC_MS_WH_RIGHT
	.comm	_KC_MS_BTN1,8,3                 ; @KC_MS_BTN1
	.comm	_MOUSE_BTN1,4,2                 ; @MOUSE_BTN1
	.comm	_KC_MS_BTN2,8,3                 ; @KC_MS_BTN2
	.comm	_MOUSE_BTN2,4,2                 ; @MOUSE_BTN2
	.comm	_KC_MS_BTN3,8,3                 ; @KC_MS_BTN3
	.comm	_MOUSE_BTN3,4,2                 ; @MOUSE_BTN3
	.comm	_KC_MS_BTN4,8,3                 ; @KC_MS_BTN4
	.comm	_MOUSE_BTN4,4,2                 ; @MOUSE_BTN4
	.comm	_KC_MS_BTN5,8,3                 ; @KC_MS_BTN5
	.comm	_MOUSE_BTN5,4,2                 ; @MOUSE_BTN5
	.comm	_KC_MS_ACCEL0,8,3               ; @KC_MS_ACCEL0
	.comm	_mousekey_accel,4,2             ; @mousekey_accel
	.comm	_KC_MS_ACCEL1,8,3               ; @KC_MS_ACCEL1
	.comm	_KC_MS_ACCEL2,8,3               ; @KC_MS_ACCEL2
	.comm	_mousekey_repeat,8,3            ; @mousekey_repeat
.subsections_via_symbols
