	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function devfreq_dev_release
_devfreq_dev_release:                   ## @devfreq_dev_release
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_to_devfreq
	movq	%rax, %rbx
	movq	_devfreq_list_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	leaq	4(%rbx), %r14
	movl	4(%rbx), %edi
	callq	_find_device_devfreq
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	_devfreq_list_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_list_del
	movq	_devfreq_list_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	callq	*%rax
LBB0_3:
	movq	%rbx, %rdi
	callq	_mutex_destroy
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_devfreq_list_lock,4,2          ## @devfreq_list_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"releasing devfreq which doesn't exist\n"

	.no_dead_strip	_devfreq_dev_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function devfreq_dev_release
_devfreq_dev_release:                   ; @devfreq_dev_release
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_to_devfreq
	mov	x19, x0
Lloh0:
	adrp	x0, _devfreq_list_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _devfreq_list_lock@GOTPAGEOFF]
	bl	_mutex_lock
	mov	x20, x19
	ldr	w0, [x20, #4]!
	bl	_find_device_devfreq
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, _devfreq_list_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _devfreq_list_lock@GOTPAGEOFF]
	bl	_mutex_unlock
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
LBB0_2:
	add	x0, x19, #16
	bl	_list_del
Lloh6:
	adrp	x0, _devfreq_list_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _devfreq_list_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	blr	x8
LBB0_4:
	mov	x0, x19
	bl	_mutex_destroy
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_devfreq_list_lock,4,2          ; @devfreq_list_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"releasing devfreq which doesn't exist\n"

	.no_dead_strip	_devfreq_dev_release
.subsections_via_symbols
