	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_encoder_update                 ## -- Begin function encoder_update
	.p2align	4, 0x90
_encoder_update:                        ## @encoder_update
	.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	%edi, %ebx
	movq	__RAISE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_IS_LAYER_ON
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movl	(%r14), %edi
	callq	_IS_LAYER_ON
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	_KC_VOLU@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movl	(%r14), %edi
	callq	_IS_LAYER_ON
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_KC_VOLD@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_KC_MS_WH_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_KC_MS_WH_UP@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tap_code                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	_KC_MS_WH_DOWN,4,2              ## @KC_MS_WH_DOWN
	.comm	_KC_MS_WH_UP,4,2                ## @KC_MS_WH_UP
	.comm	_KC_VOLU,4,2                    ## @KC_VOLU
	.comm	_KC_VOLD,4,2                    ## @KC_VOLD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_encoder_update                 ; -- Begin function encoder_update
	.p2align	2
_encoder_update:                        ; @encoder_update
	.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, x0
Lloh0:
	adrp	x20, __RAISE@GOTPAGE
Lloh1:
	ldr	x20, [x20, __RAISE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_IS_LAYER_ON
	cbz	w19, LBB0_4
; %bb.1:
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w0, [x20]
	bl	_IS_LAYER_ON
	cbz	x0, LBB0_8
; %bb.3:
Lloh2:
	adrp	x8, _KC_VOLU@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KC_VOLU@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	cbz	x0, LBB0_9
; %bb.5:
	ldr	w0, [x20]
	bl	_IS_LAYER_ON
	cbz	x0, LBB0_8
; %bb.6:
Lloh4:
	adrp	x8, _KC_VOLD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KC_VOLD@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh6:
	adrp	x8, _KC_MS_WH_DOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_MS_WH_DOWN@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh8:
	adrp	x8, _KC_MS_WH_UP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KC_MS_WH_UP@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tap_code
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	_KC_MS_WH_DOWN,4,2              ; @KC_MS_WH_DOWN
	.comm	_KC_MS_WH_UP,4,2                ; @KC_MS_WH_UP
	.comm	_KC_VOLU,4,2                    ; @KC_VOLU
	.comm	_KC_VOLD,4,2                    ; @KC_VOLD
.subsections_via_symbols
