	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rgblight_step_helper           ## -- Begin function rgblight_step_helper
	.p2align	4, 0x90
_rgblight_step_helper:                  ## @rgblight_step_helper
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %esi
	movq	_rgblight_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RGBLIGHT_MODES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leal	1(%rax), %eax
	movl	$1, %edi
	cmovll	%eax, %edi
	popq	%rbp
	jmp	_rgblight_mode_eeprom_helper    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rgblight_config,4,2            ## @rgblight_config
	.comm	_RGBLIGHT_MODES,4,2             ## @RGBLIGHT_MODES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rgblight_step_helper           ; -- Begin function rgblight_step_helper
	.p2align	2
_rgblight_step_helper:                  ; @rgblight_step_helper
	.cfi_startproc
; %bb.0:
	mov	x1, x0
Lloh0:
	adrp	x8, _rgblight_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rgblight_config@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RGBLIGHT_MODES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RGBLIGHT_MODES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w9, #1
	csinc	w0, w9, w8, ge
	b	_rgblight_mode_eeprom_helper
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_rgblight_config,4,2            ; @rgblight_config
	.comm	_RGBLIGHT_MODES,4,2             ; @RGBLIGHT_MODES
.subsections_via_symbols
