	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devfreq_update_status          ## -- Begin function devfreq_update_status
	.p2align	4, 0x90
_devfreq_update_status:                 ## @devfreq_update_status
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rdi), %rsi
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_devfreq_get_freq_level
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	8(%rbx), %eax
	movl	%r13d, %ecx
	subl	%eax, %ecx
	movq	40(%rbx), %rax
	movl	%r15d, %edx
	addl	%ecx, (%rax,%rdx,4)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_devfreq_get_freq_level
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	cmpl	%r15d, %eax
	je	LBB0_7
## %bb.6:
	movq	24(%rbx), %rcx
	movq	32(%rbx), %rdx
	movl	(%rcx), %ecx
	imull	%r15d, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rax
	incl	(%rdx,%rax,4)
	incl	16(%rbx)
	jmp	LBB0_7
LBB0_2:
	movl	%r15d, %r14d
	jmp	LBB0_7
LBB0_4:
	movl	%eax, %r14d
LBB0_7:
	movq	%r13, 8(%rbx)
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devfreq_update_status          ; -- Begin function devfreq_update_status
	.p2align	2
_devfreq_update_status:                 ; @devfreq_update_status
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldr	x1, [x0]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_devfreq_get_freq_level
	mov	x20, x0
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w8, [x19, #8]
	ldr	x9, [x19, #40]
	mov	w10, w20
	lsl	x10, x10, #2
	ldr	w11, [x9, x10]
	sub	w8, w22, w8
	add	w8, w11, w8
	str	w8, [x9, x10]
	mov	x0, x19
	mov	x1, x21
	bl	_devfreq_get_freq_level
	tbnz	w0, #31, LBB0_7
; %bb.3:
	cmp	w0, w20
	b.eq	LBB0_5
; %bb.4:
	ldp	x9, x8, [x19, #24]
	ldr	w9, [x9]
	madd	w9, w9, w20, w0
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_5:
	mov	w20, #0
LBB0_6:
	str	x22, [x19, #8]
	mov	x0, x20
	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_7:
	mov	x20, x0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
.subsections_via_symbols
