	.file	"extr_led_matrix.c_map_row_column_to_led.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	map_row_column_to_led
	.type	map_row_column_to_led, @function
map_row_column_to_led:
.LFB0:
	.cfi_startproc
	endbr64
	mov	QWORD PTR [rcx], 0
	cmp	QWORD PTR LED_DRIVER_LED_COUNT[rip], 0
	je	.L1
	mov	rax, QWORD PTR g_leds[rip]
	xor	r8d, r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	r8, 1
	add	rax, 16
	cmp	QWORD PTR LED_DRIVER_LED_COUNT[rip], r8
	jbe	.L1
.L4:
	cmp	QWORD PTR 8[rax], rsi
	jne	.L3
	cmp	QWORD PTR [rax], rdi
	jne	.L3
	mov	r9, QWORD PTR [rcx]
	mov	QWORD PTR [rdx+r9*8], r8
	add	QWORD PTR [rcx], 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	map_row_column_to_led, .-map_row_column_to_led
	.comm	g_leds,8,8
	.comm	LED_DRIVER_LED_COUNT,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_led_matrix.c_map_row_column_to_led.c"
	.text
	.align	2
	.global	map_row_column_to_led
	.syntax unified
	.arm
	.fpu softvfp
	.type	map_row_column_to_led, %function
map_row_column_to_led:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r7, .L14
	str	ip, [r3]
	ldr	lr, [r7]
	cmp	lr, ip
	popeq	{r4, r5, r6, r7, pc}
	ldr	lr, .L14+4
	ldr	r5, [lr]
	add	r6, r5, #4
.L4:
	ldr	lr, [r5, ip, lsl #3]
	ldr	r4, [r6, ip, lsl #3]
	cmp	r4, r1
	cmpeq	lr, r0
	ldreq	lr, [r3]
	streq	ip, [r2, lr, lsl #2]
	ldreq	lr, [r3]
	add	ip, ip, #1
	addeq	lr, lr, #1
	streq	lr, [r3]
	ldr	lr, [r7]
	cmp	lr, ip
	bhi	.L4
	pop	{r4, r5, r6, r7, pc}
.L15:
	.align	2
.L14:
	.word	LED_DRIVER_LED_COUNT
	.word	g_leds
	.size	map_row_column_to_led, .-map_row_column_to_led
	.comm	g_leds,4,4
	.comm	LED_DRIVER_LED_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
