	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush                          ## -- Begin function flush
	.p2align	4, 0x90
_flush:                                 ## @flush
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_sr_exp_data@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_17
## %bb.1:
	movq	_i2c_led_q_running@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	jmp	LBB0_2
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ISSI3733_LED_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_led_buffer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_led_map@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$8, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi), %edi
	movq	(%rdx,%rsi,2), %rbx
	movl	%edi, (%rbx)
	movl	-4(%rcx,%rsi), %edi
	movq	-8(%rdx,%rsi,2), %rbx
	movl	%edi, (%rbx)
	movl	-8(%rcx,%rsi), %edi
	movq	-16(%rdx,%rsi,2), %rbx
	movl	%edi, (%rbx)
	addq	$12, %rsi
	decq	%rax
	jne	LBB0_5
LBB0_6:
	movq	_gcr_actual@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	_gcr_actual_last@GOTPCREL(%rip), %r15
	movq	_ISSI3733_DRIVER_COUNT@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	(%r15), %rcx
	je	LBB0_13
## %bb.7:
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_I2C_LED_Q_GCR
	incq	%rbx
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	jb	LBB0_10
## %bb.11:
	movq	(%r12), %rcx
	jmp	LBB0_12
LBB0_8:
	xorl	%eax, %eax
LBB0_12:
	movq	%rcx, (%r15)
LBB0_13:
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_I2C_LED_Q_PWM
	incq	%rbx
	cmpq	(%r14), %rbx
	jb	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i2c_led_q_run                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sr_exp_data,4,2                ## @sr_exp_data
	.comm	_i2c_led_q_running,8,3          ## @i2c_led_q_running
	.comm	_ISSI3733_LED_COUNT,8,3         ## @ISSI3733_LED_COUNT
	.comm	_led_buffer,8,3                 ## @led_buffer
	.comm	_led_map,8,3                    ## @led_map
	.comm	_gcr_actual,8,3                 ## @gcr_actual
	.comm	_gcr_actual_last,8,3            ## @gcr_actual_last
	.comm	_ISSI3733_DRIVER_COUNT,8,3      ## @ISSI3733_DRIVER_COUNT
	.comm	_BREATHE_MAX_STEP,8,3           ## @BREATHE_MAX_STEP
	.comm	_BREATHE_MIN_STEP,8,3           ## @BREATHE_MIN_STEP
	.comm	_BREATHE_STEP,8,3               ## @BREATHE_STEP
	.comm	_breathe_dir,8,3                ## @breathe_dir
	.comm	_breathe_mult,4,2               ## @breathe_mult
	.comm	_g_rgb_counters,4,2             ## @g_rgb_counters
	.comm	_led_animation_breathe_cur,8,3  ## @led_animation_breathe_cur
	.comm	_led_animation_breathing,8,3    ## @led_animation_breathing
	.comm	_led_animation_speed,4,2        ## @led_animation_speed
	.comm	_led_enabled,4,2                ## @led_enabled
	.comm	_pomod,4,2                      ## @pomod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flush                          ; -- Begin function flush
	.p2align	2
_flush:                                 ; @flush
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _sr_exp_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sr_exp_data@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _i2c_led_q_running@GOTPAGE
Lloh4:
	ldr	x8, [x8, _i2c_led_q_running@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	b	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh6:
	adrp	x8, _ISSI3733_LED_COUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISSI3733_LED_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
Lloh9:
	adrp	x9, _led_buffer@GOTPAGE
Lloh10:
	ldr	x9, [x9, _led_buffer@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _led_map@GOTPAGE
Lloh13:
	ldr	x10, [x10, _led_map@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	add	x9, x9, #8
	add	x10, x10, #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	ldr	x12, [x10]
	str	w11, [x12]
	ldur	w11, [x9, #-4]
	ldp	x13, x12, [x10, #-16]
	str	w11, [x12]
	ldur	w11, [x9, #-8]
	str	w11, [x13]
	add	x9, x9, #12
	add	x10, x10, #24
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_7:
Lloh15:
	adrp	x22, _gcr_actual@GOTPAGE
Lloh16:
	ldr	x22, [x22, _gcr_actual@GOTPAGEOFF]
Lloh17:
	adrp	x21, _gcr_actual_last@GOTPAGE
Lloh18:
	ldr	x21, [x21, _gcr_actual_last@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x10, [x21]
Lloh19:
	adrp	x20, _ISSI3733_DRIVER_COUNT@GOTPAGE
Lloh20:
	ldr	x20, [x20, _ISSI3733_DRIVER_COUNT@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x9, x10
	b.eq	LBB0_13
; %bb.8:
	cbz	x8, LBB0_12
; %bb.9:
	mov	x19, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_I2C_LED_Q_GCR
	add	x19, x19, #1
	ldr	x8, [x20]
	cmp	x19, x8
	b.lo	LBB0_10
; %bb.11:
	ldr	x9, [x22]
LBB0_12:
	str	x9, [x21]
LBB0_13:
	cbz	x8, LBB0_16
; %bb.14:
	mov	x19, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_I2C_LED_Q_PWM
	add	x19, x19, #1
	ldr	x8, [x20]
	cmp	x19, x8
	b.lo	LBB0_15
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_i2c_led_q_run
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_sr_exp_data,4,2                ; @sr_exp_data
	.comm	_i2c_led_q_running,8,3          ; @i2c_led_q_running
	.comm	_ISSI3733_LED_COUNT,8,3         ; @ISSI3733_LED_COUNT
	.comm	_led_buffer,8,3                 ; @led_buffer
	.comm	_led_map,8,3                    ; @led_map
	.comm	_gcr_actual,8,3                 ; @gcr_actual
	.comm	_gcr_actual_last,8,3            ; @gcr_actual_last
	.comm	_ISSI3733_DRIVER_COUNT,8,3      ; @ISSI3733_DRIVER_COUNT
	.comm	_BREATHE_MAX_STEP,8,3           ; @BREATHE_MAX_STEP
	.comm	_BREATHE_MIN_STEP,8,3           ; @BREATHE_MIN_STEP
	.comm	_BREATHE_STEP,8,3               ; @BREATHE_STEP
	.comm	_breathe_dir,8,3                ; @breathe_dir
	.comm	_breathe_mult,4,2               ; @breathe_mult
	.comm	_g_rgb_counters,4,2             ; @g_rgb_counters
	.comm	_led_animation_breathe_cur,8,3  ; @led_animation_breathe_cur
	.comm	_led_animation_breathing,8,3    ; @led_animation_breathing
	.comm	_led_animation_speed,4,2        ; @led_animation_speed
	.comm	_led_enabled,4,2                ; @led_enabled
	.comm	_pomod,4,2                      ; @pomod
.subsections_via_symbols
