	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rgb_matrix_step                ## -- Begin function rgb_matrix_step
	.p2align	4, 0x90
_rgb_matrix_step:                       ## @rgb_matrix_step
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_rgb_matrix_config@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	incl	%ecx
	movq	_RGB_MATRIX_EFFECT_MAX@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	movl	$1, %edx
	cmovll	%ecx, %edx
	movl	%edx, (%rax)
	movq	_STARTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rgb_task_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_eeconfig_update_rgb_matrix     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rgb_matrix_config,4,2          ## @rgb_matrix_config
	.comm	_RGB_MATRIX_EFFECT_MAX,4,2      ## @RGB_MATRIX_EFFECT_MAX
	.comm	_STARTING,4,2                   ## @STARTING
	.comm	_rgb_task_state,4,2             ## @rgb_task_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rgb_matrix_step                ; -- Begin function rgb_matrix_step
	.p2align	2
_rgb_matrix_step:                       ; @rgb_matrix_step
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _rgb_matrix_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rgb_matrix_config@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _RGB_MATRIX_EFFECT_MAX@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RGB_MATRIX_EFFECT_MAX@GOTPAGEOFF]
	add	w11, w9, #1
Lloh4:
	ldr	w10, [x10]
	cmp	w11, w10
	mov	w10, #1
	csinc	w9, w10, w9, ge
	str	w9, [x8]
Lloh5:
	adrp	x8, _STARTING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STARTING@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _rgb_task_state@GOTPAGE
Lloh9:
	ldr	x9, [x9, _rgb_task_state@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
	b	_eeconfig_update_rgb_matrix
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rgb_matrix_config,4,2          ; @rgb_matrix_config
	.comm	_RGB_MATRIX_EFFECT_MAX,4,2      ; @RGB_MATRIX_EFFECT_MAX
	.comm	_STARTING,4,2                   ; @STARTING
	.comm	_rgb_task_state,4,2             ; @rgb_task_state
.subsections_via_symbols
