	.file	"extr_process_tap_dance.c_matrix_scan_tap_dance.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	matrix_scan_tap_dance
	.type	matrix_scan_tap_dance, @function
matrix_scan_tap_dance:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR highest_td[rip]
	test	eax, eax
	js	.L10
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	add	r12d, 1
	add	r13, 24
	cmp	DWORD PTR highest_td[rip], r12d
	jl	.L14
.L7:
	mov	rbp, QWORD PTR tap_dance_actions[rip]
	add	rbp, r13
	mov	rbx, QWORD PTR 0[rbp]
	test	rbx, rbx
	cmovle	rbx, QWORD PTR TAPPING_TERM[rip]
	cmp	QWORD PTR 16[rbp], 0
	je	.L5
	mov	edi, DWORD PTR 8[rbp]
	call	timer_elapsed@PLT
	cmp	rax, rbx
	jle	.L5
	mov	rdi, rbp
	call	process_tap_dance_action_on_dance_finished@PLT
	lea	rdi, 8[rbp]
	call	reset_tap_dance@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	matrix_scan_tap_dance, .-matrix_scan_tap_dance
	.comm	tap_dance_actions,8,8
	.comm	highest_td,4,4
	.comm	TAPPING_TERM,8,8
	.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_process_tap_dance.c_matrix_scan_tap_dance.c"
	.text
	.align	2
	.global	matrix_scan_tap_dance
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix_scan_tap_dance, %function
matrix_scan_tap_dance:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, .L11
	ldr	r3, [r9]
	cmp	r3, #0
	poplt	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r5, #0
	ldr	r10, .L11+4
	mov	r6, r5
	ldr	r8, .L11+8
	b	.L7
.L5:
	ldr	r3, [r9]
	cmp	r3, r6
	poplt	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	ldr	r0, [r10]
	add	r6, r6, #1
	ldr	r7, [r0, r5]
	add	r4, r0, r5
	ldr	r3, [r4, #8]
	cmp	r7, #0
	ldrle	r7, [r8]
	cmp	r3, #0
	add	r5, r5, #12
	beq	.L5
	ldr	r0, [r4, #4]
	bl	timer_elapsed
	cmp	r0, r7
	ble	.L5
	mov	r0, r4
	bl	process_tap_dance_action_on_dance_finished
	add	r0, r4, #4
	bl	reset_tap_dance
	b	.L5
.L12:
	.align	2
.L11:
	.word	highest_td
	.word	tap_dance_actions
	.word	TAPPING_TERM
	.size	matrix_scan_tap_dance, .-matrix_scan_tap_dance
	.comm	tap_dance_actions,4,4
	.comm	highest_td,4,4
	.comm	TAPPING_TERM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
