	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgb_task_flush
_rgb_task_flush:                        ## @rgb_task_flush
	.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_last_effect@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_rgb_matrix_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rgb_last_enable@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_rgb_matrix_update_pwm_buffers
	movq	_SYNCING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rgb_task_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rgb_last_effect,4,2            ## @rgb_last_effect
	.comm	_rgb_matrix_config,4,2          ## @rgb_matrix_config
	.comm	_rgb_last_enable,4,2            ## @rgb_last_enable
	.comm	_SYNCING,4,2                    ## @SYNCING
	.comm	_rgb_task_state,4,2             ## @rgb_task_state
	.no_dead_strip	_rgb_task_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgb_task_flush
_rgb_task_flush:                        ; @rgb_task_flush
	.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, _rgb_last_effect@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rgb_last_effect@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, _rgb_matrix_config@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rgb_matrix_config@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _rgb_last_enable@GOTPAGE
Lloh7:
	ldr	x9, [x9, _rgb_last_enable@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	bl	_rgb_matrix_update_pwm_buffers
Lloh9:
	adrp	x8, _SYNCING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SYNCING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _rgb_task_state@GOTPAGE
Lloh13:
	ldr	x9, [x9, _rgb_task_state@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_rgb_last_effect,4,2            ; @rgb_last_effect
	.comm	_rgb_matrix_config,4,2          ; @rgb_matrix_config
	.comm	_rgb_last_enable,4,2            ; @rgb_last_enable
	.comm	_SYNCING,4,2                    ; @SYNCING
	.comm	_rgb_task_state,4,2             ; @rgb_task_state
	.no_dead_strip	_rgb_task_flush
.subsections_via_symbols
