	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pattern_trig_timer_function
_pattern_trig_timer_function:           ## @pattern_trig_timer_function
	.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	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	cmpl	$0, 36(%rbx)
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_2:
	cmpl	$0, 32(%rbx)
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	(%rax), %rsi
	cmpq	(%rcx), %rsi
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rcx
	cmpq	8(%rax), %rcx
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_pattern_trig_update_patterns
	cmpl	$0, 36(%rbx)
	jne	LBB0_3
	jmp	LBB0_2
LBB0_4:
	movl	12(%rbx), %edi
	callq	_led_set_brightness
	movq	%rbx, %r14
	addq	$8, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	16(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
	movq	24(%rbx), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_pattern_trig_update_patterns
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pattern_trig_update_patterns   ## TAILCALL
LBB0_9:
	movl	12(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_pattern_trig_compute_brightness
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_led_set_brightness
	movq	%rbx, %r14
	addq	$8, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_UPDATE_INTERVAL@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
	movq	(%r12), %rax
	addq	%rax, (%rbx)
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_UPDATE_INTERVAL,8,3            ## @UPDATE_INTERVAL
	.comm	_data,8,3                       ## @data
	.no_dead_strip	_pattern_trig_timer_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pattern_trig_timer_function
_pattern_trig_timer_function:           ; @pattern_trig_timer_function
	.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, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	w8, [x19, #36]
	cbnz	w8, LBB0_2
LBB0_1:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #16]
	ldr	x1, [x8]
	ldr	x9, [x9]
	cmp	x1, x9
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	b.le	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_pattern_trig_update_patterns
	ldr	w8, [x19, #36]
	cbnz	w8, LBB0_2
	b	LBB0_1
LBB0_5:
	ldr	w0, [x19, #12]
	bl	_led_set_brightness
	add	x20, x19, #8
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_pattern_trig_update_patterns
LBB0_7:
	mov	x0, x19
	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	_pattern_trig_update_patterns
LBB0_8:
	ldr	w20, [x19, #12]
	mov	x0, x19
	bl	_pattern_trig_compute_brightness
	mov	x1, x0
	mov	x0, x20
	bl	_led_set_brightness
	add	x20, x19, #8
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
Lloh9:
	adrp	x22, _UPDATE_INTERVAL@GOTPAGE
Lloh10:
	ldr	x22, [x22, _UPDATE_INTERVAL@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_UPDATE_INTERVAL,8,3            ; @UPDATE_INTERVAL
	.comm	_data,8,3                       ; @data
	.no_dead_strip	_pattern_trig_timer_function
.subsections_via_symbols
