	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_init                    ## -- Begin function matrix_init
	.p2align	4, 0x90
_matrix_init:                           ## @matrix_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DDRD@GOTPCREL(%rip), %rax
	orb	$123, (%rax)
	movq	_DDRC@GOTPCREL(%rip), %rax
	andb	$127, (%rax)
	movq	_DDRB@GOTPCREL(%rip), %rax
	andb	$-128, (%rax)
	movq	_PORTC@GOTPCREL(%rip), %rax
	orb	$-128, (%rax)
	movq	_PORTB@GOTPCREL(%rip), %rax
	orb	$127, (%rax)
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_matrix@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_matrix_debouncing@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rcx,%rsi,8)
	movq	$0, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	(%rax), %rsi
	jb	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_matrix_init_quantum            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_DDRC,4,2                       ## @DDRC
	.comm	_DDRB,4,2                       ## @DDRB
	.comm	_PORTC,4,2                      ## @PORTC
	.comm	_PORTB,4,2                      ## @PORTB
	.comm	_MATRIX_ROWS,8,3                ## @MATRIX_ROWS
	.comm	_matrix,8,3                     ## @matrix
	.comm	_matrix_debouncing,8,3          ## @matrix_debouncing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_matrix_init                    ; -- Begin function matrix_init
	.p2align	2
_matrix_init:                           ; @matrix_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DDRD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDRD@GOTPAGEOFF]
	ldr	w9, [x8]
	mov	w10, #123
	orr	w9, w9, w10
	str	w9, [x8]
Lloh2:
	adrp	x8, _DDRC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DDRC@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff7f
	str	w9, [x8]
Lloh4:
	adrp	x8, _DDRB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DDRB@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff80
Lloh6:
	adrp	x10, _PORTC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PORTC@GOTPAGEOFF]
	str	w9, [x8]
	ldr	w8, [x10]
	orr	w8, w8, #0x80
	str	w8, [x10]
Lloh8:
	adrp	x8, _PORTB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PORTB@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x7f
	str	w9, [x8]
Lloh10:
	adrp	x8, _MATRIX_ROWS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MATRIX_ROWS@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x9, #0
Lloh12:
	adrp	x10, _matrix@GOTPAGE
Lloh13:
	ldr	x10, [x10, _matrix@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
Lloh15:
	adrp	x11, _matrix_debouncing@GOTPAGE
Lloh16:
	ldr	x11, [x11, _matrix_debouncing@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #3
	str	xzr, [x10, x12]
	str	xzr, [x11, x12]
	add	x9, x9, #1
	ldr	x12, [x8]
	cmp	x9, x12
	b.lo	LBB0_2
LBB0_3:
	b	_matrix_init_quantum
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_DDRC,4,2                       ; @DDRC
	.comm	_DDRB,4,2                       ; @DDRB
	.comm	_PORTC,4,2                      ; @PORTC
	.comm	_PORTB,4,2                      ; @PORTB
	.comm	_MATRIX_ROWS,8,3                ; @MATRIX_ROWS
	.comm	_matrix,8,3                     ; @matrix
	.comm	_matrix_debouncing,8,3          ; @matrix_debouncing
.subsections_via_symbols
