	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_i2c_init
	movq	_E6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_D7@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_B7@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_setPinOutput
	movl	(%rbx), %edi
	callq	_writePinHigh
	movq	_F7@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_F6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_F5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_F4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_F1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_F0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_D6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_B4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_B5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_B6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_C6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_C7@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinOutput
	movq	_D2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setPinInput
	xorl	%eax, %eax
	callq	_capSetup
	movl	$6, %edi
	movl	$18, %esi
	callq	_writeDataToTS
	movq	_matrix@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_matrix_init_quantum            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E6,4,2                         ## @E6
	.comm	_D7,4,2                         ## @D7
	.comm	_B7,4,2                         ## @B7
	.comm	_F7,4,2                         ## @F7
	.comm	_F6,4,2                         ## @F6
	.comm	_F5,4,2                         ## @F5
	.comm	_F4,4,2                         ## @F4
	.comm	_F1,4,2                         ## @F1
	.comm	_F0,4,2                         ## @F0
	.comm	_D6,4,2                         ## @D6
	.comm	_B4,4,2                         ## @B4
	.comm	_B5,4,2                         ## @B5
	.comm	_B6,4,2                         ## @B6
	.comm	_C6,4,2                         ## @C6
	.comm	_C7,4,2                         ## @C7
	.comm	_D2,4,2                         ## @D2
	.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_init                    ; -- Begin function matrix_init
	.p2align	2
_matrix_init:                           ; @matrix_init
	.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
	bl	_i2c_init
Lloh0:
	adrp	x8, _E6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E6@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh3:
	adrp	x8, _D7@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D7@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh6:
	adrp	x19, _B7@GOTPAGE
Lloh7:
	ldr	x19, [x19, _B7@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_setPinOutput
	ldr	w0, [x19]
	bl	_writePinHigh
Lloh8:
	adrp	x8, _F7@GOTPAGE
Lloh9:
	ldr	x8, [x8, _F7@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh11:
	adrp	x8, _F6@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F6@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh14:
	adrp	x8, _F5@GOTPAGE
Lloh15:
	ldr	x8, [x8, _F5@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh17:
	adrp	x8, _F4@GOTPAGE
Lloh18:
	ldr	x8, [x8, _F4@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh20:
	adrp	x8, _F1@GOTPAGE
Lloh21:
	ldr	x8, [x8, _F1@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh23:
	adrp	x8, _F0@GOTPAGE
Lloh24:
	ldr	x8, [x8, _F0@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh26:
	adrp	x8, _D6@GOTPAGE
Lloh27:
	ldr	x8, [x8, _D6@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh29:
	adrp	x8, _B4@GOTPAGE
Lloh30:
	ldr	x8, [x8, _B4@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh32:
	adrp	x8, _B5@GOTPAGE
Lloh33:
	ldr	x8, [x8, _B5@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh35:
	adrp	x8, _B6@GOTPAGE
Lloh36:
	ldr	x8, [x8, _B6@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh38:
	adrp	x8, _C6@GOTPAGE
Lloh39:
	ldr	x8, [x8, _C6@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh41:
	adrp	x8, _C7@GOTPAGE
Lloh42:
	ldr	x8, [x8, _C7@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_setPinOutput
Lloh44:
	adrp	x8, _D2@GOTPAGE
Lloh45:
	ldr	x8, [x8, _D2@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_setPinInput
	bl	_capSetup
	mov	w0, #6
	mov	w1, #18
	bl	_writeDataToTS
Lloh47:
	adrp	x8, _matrix@GOTPAGE
Lloh48:
	ldr	x8, [x8, _matrix@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x8, _MATRIX_ROWS@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MATRIX_ROWS@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_matrix_init_quantum
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_E6,4,2                         ; @E6
	.comm	_D7,4,2                         ; @D7
	.comm	_B7,4,2                         ; @B7
	.comm	_F7,4,2                         ; @F7
	.comm	_F6,4,2                         ; @F6
	.comm	_F5,4,2                         ; @F5
	.comm	_F4,4,2                         ; @F4
	.comm	_F1,4,2                         ; @F1
	.comm	_F0,4,2                         ; @F0
	.comm	_D6,4,2                         ; @D6
	.comm	_B4,4,2                         ; @B4
	.comm	_B5,4,2                         ; @B5
	.comm	_B6,4,2                         ; @B6
	.comm	_C6,4,2                         ; @C6
	.comm	_C7,4,2                         ; @C7
	.comm	_D2,4,2                         ; @D2
	.comm	_matrix,4,2                     ; @matrix
	.comm	_MATRIX_ROWS,4,2                ; @MATRIX_ROWS
.subsections_via_symbols
