	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GPIOA@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_PAL_MODE_INPUT_PULLDOWN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$15, %esi
	callq	_palSetPadMode
	movq	_GPIOC@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$10, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$11, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$12, %esi
	callq	_palSetPadMode
	movq	_GPIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movl	$2, %esi
	callq	_palSetPadMode
	movq	_GPIOB@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$3, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$4, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$5, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$6, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$7, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$8, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$9, %esi
	callq	_palSetPadMode
	movl	(%r14), %edi
	movl	(%rbx), %edx
	movl	$2, %esi
	callq	_palSetPadMode
	movl	(%r14), %edi
	movl	(%rbx), %edx
	movl	$3, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movq	_PAL_MODE_OUTPUT_PUSHPULL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$11, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$10, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$2, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	movl	$1, %esi
	callq	_palSetPadMode
	movl	(%r15), %edi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_palSetPadMode
	movq	_matrix@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_matrix_debouncing@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIOA,4,2                      ## @GPIOA
	.comm	_PAL_MODE_INPUT_PULLDOWN,4,2    ## @PAL_MODE_INPUT_PULLDOWN
	.comm	_GPIOC,4,2                      ## @GPIOC
	.comm	_GPIOD,4,2                      ## @GPIOD
	.comm	_GPIOB,4,2                      ## @GPIOB
	.comm	_PAL_MODE_OUTPUT_PUSHPULL,4,2   ## @PAL_MODE_OUTPUT_PUSHPULL
	.comm	_matrix,4,2                     ## @matrix
	.comm	_MATRIX_ROWS,4,2                ## @MATRIX_ROWS
	.comm	_matrix_debouncing,4,2          ## @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:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x19, _GPIOA@GOTPAGE
Lloh1:
	ldr	x19, [x19, _GPIOA@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x20, _PAL_MODE_INPUT_PULLDOWN@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PAL_MODE_INPUT_PULLDOWN@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #15
	bl	_palSetPadMode
Lloh4:
	adrp	x21, _GPIOC@GOTPAGE
Lloh5:
	ldr	x21, [x21, _GPIOC@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #10
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #11
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #12
	bl	_palSetPadMode
Lloh6:
	adrp	x8, _GPIOD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GPIOD@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w2, [x20]
	mov	w1, #2
	bl	_palSetPadMode
Lloh9:
	adrp	x21, _GPIOB@GOTPAGE
Lloh10:
	ldr	x21, [x21, _GPIOB@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #3
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #4
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #5
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #6
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #7
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #8
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w1, #9
	bl	_palSetPadMode
	ldr	w0, [x19]
	ldr	w2, [x20]
	mov	w1, #2
	bl	_palSetPadMode
	ldr	w0, [x19]
	ldr	w2, [x20]
	mov	w1, #3
	bl	_palSetPadMode
	ldr	w0, [x21]
Lloh11:
	adrp	x19, _PAL_MODE_OUTPUT_PUSHPULL@GOTPAGE
Lloh12:
	ldr	x19, [x19, _PAL_MODE_OUTPUT_PUSHPULL@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w1, #11
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x19]
	mov	w1, #10
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x19]
	mov	w1, #2
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x19]
	mov	w1, #1
	bl	_palSetPadMode
	ldr	w0, [x21]
	ldr	w2, [x19]
	mov	w1, #0
	bl	_palSetPadMode
Lloh13:
	adrp	x8, _matrix@GOTPAGE
Lloh14:
	ldr	x8, [x8, _matrix@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x19, _MATRIX_ROWS@GOTPAGE
Lloh17:
	ldr	x19, [x19, _MATRIX_ROWS@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh18:
	adrp	x8, _matrix_debouncing@GOTPAGE
Lloh19:
	ldr	x8, [x8, _matrix_debouncing@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIOA,4,2                      ; @GPIOA
	.comm	_PAL_MODE_INPUT_PULLDOWN,4,2    ; @PAL_MODE_INPUT_PULLDOWN
	.comm	_GPIOC,4,2                      ; @GPIOC
	.comm	_GPIOD,4,2                      ; @GPIOD
	.comm	_GPIOB,4,2                      ; @GPIOB
	.comm	_PAL_MODE_OUTPUT_PUSHPULL,4,2   ; @PAL_MODE_OUTPUT_PUSHPULL
	.comm	_matrix,4,2                     ; @matrix
	.comm	_MATRIX_ROWS,4,2                ; @MATRIX_ROWS
	.comm	_matrix_debouncing,4,2          ; @matrix_debouncing
.subsections_via_symbols
