	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_matrix_run                 ## -- Begin function led_matrix_run
	.p2align	4, 0x90
_led_matrix_run:                        ## @led_matrix_run
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_led_cur@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	movq	_led_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	_led_cur_index@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_2:
	xorl	%eax, %eax
	callq	_update_led_boosts
	movq	(%r12), %rax
	movq	_lede@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jge	LBB0_7
## %bb.3:
	movq	_led_per_run@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jle	LBB0_7
## %bb.4:
	movl	$1, %ebx
	movq	_led_cur_index@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_update_led_cur_rgb_values
	movq	(%r12), %rax
	incq	(%r13)
	incq	%rax
	movq	%rax, (%r12)
	cmpq	(%r14), %rax
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rbx), %rax
	cmpq	(%r15), %rbx
	movq	%rax, %rbx
	jl	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_led_cur,8,3                    ## @led_cur
	.comm	_led_map,8,3                    ## @led_map
	.comm	_led_cur_index,8,3              ## @led_cur_index
	.comm	_lede,8,3                       ## @lede
	.comm	_led_per_run,8,3                ## @led_per_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_matrix_run                 ; -- Begin function led_matrix_run
	.p2align	2
_led_matrix_run:                        ; @led_matrix_run
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x19, _led_cur@GOTPAGE
Lloh1:
	ldr	x19, [x19, _led_cur@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _led_map@GOTPAGE
Lloh3:
	ldr	x8, [x8, _led_map@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh5:
	adrp	x8, _led_cur_index@GOTPAGE
Lloh6:
	ldr	x8, [x8, _led_cur_index@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
LBB0_2:
	bl	_update_led_boosts
	ldr	x8, [x19]
Lloh8:
	adrp	x20, _lede@GOTPAGE
Lloh9:
	ldr	x20, [x20, _lede@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh10:
	adrp	x21, _led_per_run@GOTPAGE
Lloh11:
	ldr	x21, [x21, _led_per_run@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x8, x9
	ccmp	x10, #1, #8, lt
	b.lt	LBB0_5
; %bb.3:
	mov	w22, #1
Lloh12:
	adrp	x23, _led_cur_index@GOTPAGE
Lloh13:
	ldr	x23, [x23, _led_cur_index@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_update_led_cur_rgb_values
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	x9, [x23]
	add	x9, x9, #1
	str	x9, [x23]
	ldr	x9, [x20]
	ldr	x10, [x21]
	cmp	x8, x9
	ccmp	x22, x10, #0, lt
	add	x22, x22, #1
	b.lt	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_led_cur,8,3                    ; @led_cur
	.comm	_led_map,8,3                    ; @led_map
	.comm	_led_cur_index,8,3              ; @led_cur_index
	.comm	_lede,8,3                       ; @lede
	.comm	_led_per_run,8,3                ; @led_per_run
.subsections_via_symbols
