	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ml_schedule_timer
_ml_schedule_timer:                     ## @ml_schedule_timer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	_FF_MEMLESS_EFFECTS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_13
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r12d
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	_FF_MEMLESS_EFFECTS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %r15
	cmpq	%rax, %r14
	jge	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r13
	movq	_FF_EFFECT_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	(%r15,%r13), %rbx
	addq	$8, %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_FF_EFFECT_PLAYING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r15, %r13
	movq	%r13, %rdi
	callq	_calculate_next_time
	movq	%rax, %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13,%r15), %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_time_before_eq
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r12), %r13d
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_time_before
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.14:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_debug
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_debug
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_del_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"calculating next timer\n"

	.comm	_FF_MEMLESS_EFFECTS,4,2         ## @FF_MEMLESS_EFFECTS
	.comm	_FF_EFFECT_STARTED,4,2          ## @FF_EFFECT_STARTED
	.comm	_FF_EFFECT_PLAYING,4,2          ## @FF_EFFECT_PLAYING
L_.str.1:                               ## @.str.1
	.asciz	"no actions\n"

L_.str.2:                               ## @.str.2
	.asciz	"timer set\n"

	.no_dead_strip	_ml_schedule_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ml_schedule_timer
_ml_schedule_timer:                     ; @ml_schedule_timer
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
Lloh5:
	adrp	x8, _FF_MEMLESS_EFFECTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FF_MEMLESS_EFFECTS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x25, #0
	mov	x26, #0
	mov	w28, #0
	mov	x21, #0
Lloh8:
	adrp	x27, _FF_EFFECT_STARTED@GOTPAGE
Lloh9:
	ldr	x27, [x27, _FF_EFFECT_STARTED@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x22
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x23
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
Lloh10:
	adrp	x8, _FF_MEMLESS_EFFECTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FF_MEMLESS_EFFECTS@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	add	x25, x25, #16
	cmp	x26, x8
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, #8]
	add	x22, x24, x25
	ldr	w0, [x27]
	add	x23, x22, #8
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _FF_EFFECT_PLAYING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FF_EFFECT_PLAYING@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_calculate_next_time
	mov	x22, x0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x24, x25]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_time_before_eq
	cbz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w28, #1
	cbz	w28, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_time_before
	cbnz	x0, LBB0_2
	b	LBB0_3
LBB0_12:
	cbz	w28, LBB0_14
; %bb.13:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mod_timer
LBB0_14:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_del_timer
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"calculating next timer\n"

	.comm	_FF_MEMLESS_EFFECTS,4,2         ; @FF_MEMLESS_EFFECTS
	.comm	_FF_EFFECT_STARTED,4,2          ; @FF_EFFECT_STARTED
	.comm	_FF_EFFECT_PLAYING,4,2          ; @FF_EFFECT_PLAYING
l_.str.1:                               ; @.str.1
	.asciz	"no actions\n"

l_.str.2:                               ; @.str.2
	.asciz	"timer set\n"

	.no_dead_strip	_ml_schedule_timer
.subsections_via_symbols
