	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_row_column_to_led          ## -- Begin function map_row_column_to_led
	.p2align	4, 0x90
_map_row_column_to_led:                 ## @map_row_column_to_led
	.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
	movq	$255, (%rdx)
	movq	_MATRIX_ROWS@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_3
## %bb.1:
	movq	_MATRIX_COLS@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_3
## %bb.2:
	movq	%rdx, %rbx
	movq	_g_map_row_column_to_led@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rsi
	addq	(%rax,%rdi,8), %rsi
	movq	%rsi, %rdi
	callq	_pgm_read_byte
	movq	%rax, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MATRIX_ROWS,8,3                ## @MATRIX_ROWS
	.comm	_MATRIX_COLS,8,3                ## @MATRIX_COLS
	.comm	_g_map_row_column_to_led,8,3    ## @g_map_row_column_to_led
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_row_column_to_led          ; -- Begin function map_row_column_to_led
	.p2align	2
_map_row_column_to_led:                 ; @map_row_column_to_led
	.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
	mov	w8, #255
	str	x8, [x2]
Lloh0:
	adrp	x8, _MATRIX_ROWS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MATRIX_ROWS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MATRIX_COLS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MATRIX_COLS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x1, #0, hi
	b.ls	LBB0_2
; %bb.1:
	mov	x19, x2
Lloh6:
	adrp	x8, _g_map_row_column_to_led@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_map_row_column_to_led@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8, x0, lsl #3]
	add	x0, x8, x1, lsl #2
	bl	_pgm_read_byte
	str	x0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MATRIX_ROWS,8,3                ; @MATRIX_ROWS
	.comm	_MATRIX_COLS,8,3                ; @MATRIX_COLS
	.comm	_g_map_row_column_to_led,8,3    ; @g_map_row_column_to_led
.subsections_via_symbols
