	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_debounce_mask                  ## -- Begin function debounce_mask
	.p2align	4, 0x90
_debounce_mask:                         ## @debounce_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MATRIX_COLS@GOTPCREL(%rip), %r8
	movq	(%r8), %r10
	testq	%r10, %r10
	je	LBB0_1
## %bb.3:
	movq	_debounce_matrix@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	btsl	%ecx, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%r10, %rcx
	jae	LBB0_2
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r10, %rdx
	imulq	%rdi, %rdx
	addq	%rcx, %rdx
	movq	(%r9,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	decq	%rsi
	movq	%rsi, (%r9,%rdx,8)
	movq	(%r8), %r10
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MATRIX_COLS,8,3                ## @MATRIX_COLS
	.comm	_debounce_matrix,8,3            ## @debounce_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_debounce_mask                  ; -- Begin function debounce_mask
	.p2align	2
_debounce_mask:                         ; @debounce_mask
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _MATRIX_COLS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MATRIX_COLS@GOTPAGEOFF]
	ldr	x11, [x9]
	cbz	x11, LBB0_6
; %bb.1:
	mov	x10, #0
	mov	w8, #0
Lloh2:
	adrp	x12, _debounce_matrix@GOTPAGE
Lloh3:
	ldr	x12, [x12, _debounce_matrix@GOTPAGEOFF]
Lloh4:
	ldr	x12, [x12]
	mov	w13, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w14, w13, w10
	orr	w8, w14, w8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	cmp	x10, x11
	b.hs	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	madd	x14, x11, x0, x10
	ldr	x15, [x12, x14, lsl #3]
	cbz	x15, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x11, x15, #1
	str	x11, [x12, x14, lsl #3]
	ldr	x11, [x9]
	b	LBB0_3
LBB0_6:
	mov	w8, #0
LBB0_7:
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MATRIX_COLS,8,3                ; @MATRIX_COLS
	.comm	_debounce_matrix,8,3            ; @debounce_matrix
.subsections_via_symbols
