	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devfreq_interval_update        ## -- Begin function devfreq_interval_update
	.p2align	4, 0x90
_devfreq_interval_update:               ## @devfreq_interval_update
	.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	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %r15d
	movl	(%rsi), %r14d
	callq	_mutex_lock
	movq	8(%rbx), %rax
	movl	%r14d, (%rax)
	cmpq	$0, 24(%rbx)
	je	LBB0_1
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_1:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.4:
	cmpl	%r14d, %r15d
	jbe	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_cancel_delayed_work_sync
	movq	%rbx, %rdi
	callq	_mutex_lock
	cmpq	$0, 24(%rbx)
	jne	LBB0_8
## %bb.6:
	movq	_devfreq_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movl	%r15d, %edi
	movq	%r14, %rsi
	jmp	LBB0_7
LBB0_9:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	addq	$16, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cancel_delayed_work_sync       ## TAILCALL
LBB0_3:
	movq	_devfreq_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	16(%rbx), %r12
	movl	%r14d, %edi
	callq	_msecs_to_jiffies
	movl	%r15d, %edi
	movq	%r12, %rsi
LBB0_7:
	movl	%eax, %edx
	callq	_queue_delayed_work
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_devfreq_wq,4,2                 ## @devfreq_wq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devfreq_interval_update        ; -- Begin function devfreq_interval_update
	.p2align	2
_devfreq_interval_update:               ; @devfreq_interval_update
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w21, [x8]
	ldr	w20, [x1]
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	str	w20, [x8]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
LBB0_1:
	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	_mutex_unlock
LBB0_2:
	cbz	w20, LBB0_7
; %bb.3:
	cbz	w21, LBB0_8
; %bb.4:
	cmp	w21, w20
	b.ls	LBB0_1
; %bb.5:
	mov	x0, x19
	bl	_mutex_unlock
	add	x20, x19, #16
	mov	x0, x20
	bl	_cancel_delayed_work_sync
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_1
; %bb.6:
Lloh0:
	adrp	x8, _devfreq_wq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _devfreq_wq@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_mutex_unlock
	add	x0, x19, #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	_cancel_delayed_work_sync
LBB0_8:
Lloh3:
	adrp	x8, _devfreq_wq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _devfreq_wq@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	add	x22, x19, #16
	mov	x0, x20
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
LBB0_9:
	bl	_queue_delayed_work
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_devfreq_wq,4,2                 ; @devfreq_wq
.subsections_via_symbols
