	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgb_task_sync
_rgb_task_sync:                         ## @rgb_task_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_g_rgb_counters@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_timer_elapsed32
	movq	_RGB_MATRIX_LED_FLUSH_LIMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_STARTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rgb_task_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_rgb_counters,4,2             ## @g_rgb_counters
	.comm	_RGB_MATRIX_LED_FLUSH_LIMIT,8,3 ## @RGB_MATRIX_LED_FLUSH_LIMIT
	.comm	_STARTING,4,2                   ## @STARTING
	.comm	_rgb_task_state,4,2             ## @rgb_task_state
	.no_dead_strip	_rgb_task_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgb_task_sync
_rgb_task_sync:                         ; @rgb_task_sync
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _g_rgb_counters@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_rgb_counters@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_timer_elapsed32
Lloh3:
	adrp	x8, _RGB_MATRIX_LED_FLUSH_LIMIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RGB_MATRIX_LED_FLUSH_LIMIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _STARTING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STARTING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _rgb_task_state@GOTPAGE
Lloh10:
	ldr	x9, [x9, _rgb_task_state@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_g_rgb_counters,4,2             ; @g_rgb_counters
	.comm	_RGB_MATRIX_LED_FLUSH_LIMIT,8,3 ; @RGB_MATRIX_LED_FLUSH_LIMIT
	.comm	_STARTING,4,2                   ; @STARTING
	.comm	_rgb_task_state,4,2             ; @rgb_task_state
	.no_dead_strip	_rgb_task_sync
.subsections_via_symbols
