	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan_user               ## -- Begin function matrix_scan_user
	.p2align	4, 0x90
_matrix_scan_user:                      ## @matrix_scan_user
	.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
	movq	_encoderValue@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jns	LBB0_3
## %bb.1:
	movq	_KC_VOLD@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_tap_code
	movq	(%rbx), %rcx
	leaq	1(%rcx), %rax
	movq	%rax, (%rbx)
	cmpq	$-1, %rcx
	jl	LBB0_2
LBB0_3:
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_KC_VOLU@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_tap_code
	movq	(%rbx), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rbx)
	cmpq	$1, %rax
	jg	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_encoderValue,8,3               ## @encoderValue
	.comm	_KC_VOLD,4,2                    ## @KC_VOLD
	.comm	_KC_VOLU,4,2                    ## @KC_VOLU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan_user               ; -- Begin function matrix_scan_user
	.p2align	2
_matrix_scan_user:                      ; @matrix_scan_user
	.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
Lloh0:
	adrp	x19, _encoderValue@GOTPAGE
Lloh1:
	ldr	x19, [x19, _encoderValue@GOTPAGEOFF]
	ldr	x8, [x19]
	tbz	x8, #63, LBB0_3
; %bb.1:
Lloh2:
	adrp	x20, _KC_VOLD@GOTPAGE
Lloh3:
	ldr	x20, [x20, _KC_VOLD@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_tap_code
	ldr	x9, [x19]
	add	x8, x9, #1
	str	x8, [x19]
	cmn	x9, #1
	b.lt	LBB0_2
LBB0_3:
	cbz	x8, LBB0_6
; %bb.4:
Lloh4:
	adrp	x20, _KC_VOLU@GOTPAGE
Lloh5:
	ldr	x20, [x20, _KC_VOLU@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_tap_code
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.gt	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_encoderValue,8,3               ; @encoderValue
	.comm	_KC_VOLD,4,2                    ; @KC_VOLD
	.comm	_KC_VOLU,4,2                    ; @KC_VOLU
.subsections_via_symbols
