	.file	"extr_matrix.c_matrix_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"matrix init\n"
	.text
	.p2align 4
	.globl	matrix_init
	.type	matrix_init, @function
matrix_init:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 10
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 2
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 1
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	xor	esi, esi
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOA[rip]
	mov	esi, 7
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 4
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 3
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_OUTPUT_PUSHPULL[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 7
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 11
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOA[rip]
	mov	esi, 6
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOA[rip]
	mov	esi, 3
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOA[rip]
	mov	esi, 2
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOA[rip]
	mov	esi, 1
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 5
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOB[rip]
	mov	esi, 6
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOC[rip]
	mov	esi, 15
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOC[rip]
	mov	esi, 14
	call	palSetPadMode@PLT
	mov	edx, DWORD PTR PAL_MODE_INPUT_PULLDOWN[rip]
	mov	edi, DWORD PTR GPIOC[rip]
	mov	esi, 13
	call	palSetPadMode@PLT
	mov	eax, DWORD PTR MATRIX_ROWS[rip]
	mov	edi, DWORD PTR matrix[rip]
	xor	esi, esi
	lea	edx, 0[0+rax*4]
	call	memset@PLT
	mov	eax, DWORD PTR MATRIX_COLS[rip]
	mov	edi, DWORD PTR matrix_debouncing[rip]
	xor	esi, esi
	lea	edx, 0[0+rax*4]
	call	memset@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	matrix_init_quantum@PLT
	.cfi_endproc
.LFE0:
	.size	matrix_init, .-matrix_init
	.comm	matrix_debouncing,4,4
	.comm	matrix,4,4
	.comm	PAL_MODE_OUTPUT_PUSHPULL,4,4
	.comm	PAL_MODE_INPUT_PULLDOWN,4,4
	.comm	MATRIX_ROWS,4,4
	.comm	MATRIX_COLS,4,4
	.comm	GPIOC,4,4
	.comm	GPIOB,4,4
	.comm	GPIOA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_matrix.c_matrix_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"matrix init\012\000"
	.text
	.align	2
	.global	matrix_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix_init, %function
matrix_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L4
	ldr	r6, .L4+4
	ldr	r0, .L4+8
	bl	printf
	ldr	r2, [r6]
	mov	r1, #10
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r6]
	mov	r1, #2
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r7, .L4+12
	ldr	r2, [r6]
	mov	r1, #1
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r6]
	mov	r1, #0
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r6]
	mov	r1, #7
	ldr	r0, [r7]
	bl	palSetPadMode
	ldr	r2, [r6]
	mov	r1, #4
	ldr	r0, [r5]
	ldr	r4, .L4+16
	bl	palSetPadMode
	ldr	r2, [r6]
	mov	r1, #3
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r6]
	mov	r1, #7
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #11
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #6
	ldr	r0, [r7]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #3
	ldr	r0, [r7]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #2
	ldr	r0, [r7]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #1
	ldr	r0, [r7]
	bl	palSetPadMode
	ldr	r6, .L4+20
	ldr	r2, [r4]
	mov	r1, #5
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #6
	ldr	r0, [r5]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #15
	ldr	r0, [r6]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #14
	ldr	r0, [r6]
	bl	palSetPadMode
	ldr	r2, [r4]
	mov	r1, #13
	ldr	r0, [r6]
	bl	palSetPadMode
	ldr	r2, .L4+24
	ldr	r3, .L4+28
	ldr	r2, [r2]
	mov	r1, #0
	ldr	r0, [r3]
	lsl	r2, r2, #2
	bl	memset
	ldr	r2, .L4+32
	ldr	r3, .L4+36
	ldr	r2, [r2]
	mov	r1, #0
	ldr	r0, [r3]
	lsl	r2, r2, #2
	bl	memset
	pop	{r4, r5, r6, r7, r8, lr}
	b	matrix_init_quantum
.L5:
	.align	2
.L4:
	.word	GPIOB
	.word	PAL_MODE_OUTPUT_PUSHPULL
	.word	.LC0
	.word	GPIOA
	.word	PAL_MODE_INPUT_PULLDOWN
	.word	GPIOC
	.word	MATRIX_ROWS
	.word	matrix
	.word	MATRIX_COLS
	.word	matrix_debouncing
	.size	matrix_init, .-matrix_init
	.comm	matrix_debouncing,4,4
	.comm	matrix,4,4
	.comm	PAL_MODE_OUTPUT_PUSHPULL,4,4
	.comm	PAL_MODE_INPUT_PULLDOWN,4,4
	.comm	MATRIX_ROWS,4,4
	.comm	MATRIX_COLS,4,4
	.comm	GPIOC,4,4
	.comm	GPIOB,4,4
	.comm	GPIOA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
