	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_cl_unlink                  ## -- Begin function mei_cl_unlink
	.p2align	4, 0x90
_mei_cl_unlink:                         ## @mei_cl_unlink
	.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
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	32(%rbx), %r14
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_cl_dbg
	movq	(%r14), %rax
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	decq	%rax
	movq	%rax, (%r14)
LBB0_4:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movl	8(%r14), %esi
	callq	_clear_bit
LBB0_6:
	movq	%rbx, %rdi
	callq	_list_del_init
	movq	_MEI_FILE_UNINITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_MEI_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	leaq	8(%rbx), %rdi
	callq	_list_empty
	movl	$1, %r14d
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	4(%rbx), %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_list_empty
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
LBB0_9:
	movl	%r14d, %edi
	callq	_WARN_ON
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unlink client"

	.comm	_MEI_FILE_UNINITIALIZED,4,2     ## @MEI_FILE_UNINITIALIZED
	.comm	_MEI_IDLE,4,2                   ## @MEI_IDLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_cl_unlink                  ; -- Begin function mei_cl_unlink
	.p2align	2
_mei_cl_unlink:                         ; @mei_cl_unlink
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #32]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_11
; %bb.2:
	ldr	x20, [x19, #32]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_cl_dbg
	ldr	x8, [x20]
	subs	x8, x8, #1
	b.lt	LBB0_4
; %bb.3:
	str	x8, [x20]
LBB0_4:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x20, #8]
	bl	_clear_bit
LBB0_6:
	mov	x0, x19
	bl	_list_del_init
Lloh2:
	adrp	x8, _MEI_FILE_UNINITIALIZED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEI_FILE_UNINITIALIZED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _MEI_IDLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MEI_IDLE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	add	x0, x19, #8
	bl	_list_empty
	cbz	w0, LBB0_9
; %bb.7:
	add	x0, x19, #4
	bl	_list_empty
	cbz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	bl	_WARN_ON
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unlink client"

	.comm	_MEI_FILE_UNINITIALIZED,4,2     ; @MEI_FILE_UNINITIALIZED
	.comm	_MEI_IDLE,4,2                   ; @MEI_IDLE
.subsections_via_symbols
