	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan                    ## -- Begin function matrix_scan
	.weak_definition	_matrix_scan
	.p2align	4, 0x90
_matrix_scan:                           ## @matrix_scan
	.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
	movq	_raw_matrix@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_custom_matrix_scan
	movl	(%rbx), %edi
	movq	_matrix@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	callq	_debounce
	xorl	%eax, %eax
	callq	_matrix_scan_quantum
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_raw_matrix,4,2                 ## @raw_matrix
	.comm	_matrix,4,2                     ## @matrix
	.comm	_MATRIX_ROWS,4,2                ## @MATRIX_ROWS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_scan                    ; -- Begin function matrix_scan
	.weak_definition	_matrix_scan
	.p2align	2
_matrix_scan:                           ; @matrix_scan
	.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, _raw_matrix@GOTPAGE
Lloh1:
	ldr	x19, [x19, _raw_matrix@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_custom_matrix_scan
	mov	x3, x0
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _matrix@GOTPAGE
Lloh3:
	ldr	x8, [x8, _matrix@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _MATRIX_ROWS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MATRIX_ROWS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_debounce
	bl	_matrix_scan_quantum
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_raw_matrix,4,2                 ; @raw_matrix
	.comm	_matrix,4,2                     ; @matrix
	.comm	_MATRIX_ROWS,4,2                ; @MATRIX_ROWS
.subsections_via_symbols
