	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_devfreq_passive
_update_devfreq_passive:                ## @update_devfreq_passive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, -24(%rbp)
	cmpq	$0, 24(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	_SINGLE_DEPTH_NESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mutex_lock_nested
	movq	24(%rbx), %rax
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	movq	16(%rbx), %rax
	movl	12(%rbx), %edi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movq	16(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.5:
	movq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_devfreq_update_status
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	12(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_7:
	movq	-24(%rbp), %rax
	movq	%rax, (%rbx)
LBB0_8:
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SINGLE_DEPTH_NESTING,4,2       ## @SINGLE_DEPTH_NESTING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't update frequency transition information.\n"

	.no_dead_strip	_update_devfreq_passive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_devfreq_passive
_update_devfreq_passive:                ; @update_devfreq_passive
	.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
	str	x1, [sp, #8]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x19, x0
	add	x20, x0, #8
Lloh0:
	adrp	x8, _SINGLE_DEPTH_NESTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SINGLE_DEPTH_NESTING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mutex_lock_nested
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	add	x1, sp, #8
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x21, x19
	ldr	w0, [x21, #12]!
	ldur	x8, [x21, #4]
	ldr	x8, [x8]
	add	x1, sp, #8
	mov	w2, #0
	blr	x8
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_devfreq_update_status
	cbz	x0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_6:
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_7:
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SINGLE_DEPTH_NESTING,4,2       ; @SINGLE_DEPTH_NESTING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't update frequency transition information.\n"

	.no_dead_strip	_update_devfreq_passive
.subsections_via_symbols
