	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devfreq_monitor_resume         ## -- Begin function devfreq_monitor_resume
	.p2align	4, 0x90
_devfreq_monitor_resume:                ## @devfreq_monitor_resume
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpl	$0, (%rbx)
	je	LBB0_7
## %bb.1:
	leaq	36(%rbx), %r15
	movq	%r15, %rdi
	callq	_delayed_work_pending
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	24(%rbx), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_devfreq_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_msecs_to_jiffies
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_queue_delayed_work
LBB0_4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	$0, (%rbx)
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	20(%rbx), %edi
	leaq	-40(%rbp), %rsi
	callq	*%rax
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	-40(%rbp), %rax
	movq	%rax, 8(%rbx)
LBB0_7:
	movq	%r14, %rdi
	callq	_mutex_unlock
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_devfreq_wq,4,2                 ## @devfreq_wq
	.comm	_jiffies,4,2                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devfreq_monitor_resume         ; -- Begin function devfreq_monitor_resume
	.p2align	2
_devfreq_monitor_resume:                ; @devfreq_monitor_resume
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x20]
	cbz	w8, LBB0_7
; %bb.1:
	add	x21, x20, #36
	mov	x0, x21
	bl	_delayed_work_pending
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x20, #24]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _devfreq_wq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _devfreq_wq@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_queue_delayed_work
LBB0_4:
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	str	wzr, [x20]
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w0, [x20, #20]
	add	x1, sp, #8
	blr	x8
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	str	x8, [x20, #8]
LBB0_7:
	mov	x0, x19
	bl	_mutex_unlock
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_devfreq_wq,4,2                 ; @devfreq_wq
	.comm	_jiffies,4,2                    ; @jiffies
.subsections_via_symbols
