	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_cl_complete                ## -- Begin function mei_cl_complete
	.p2align	4, 0x90
_mei_cl_complete:                       ## @mei_cl_complete
	.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
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	%rbx, %rdi
	callq	_waitqueue_active
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
LBB0_13:
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BUG_ON                         ## TAILCALL
LBB0_2:
	movq	24(%rbx), %r14
	movq	%rsi, %rdi
	callq	_mei_tx_cb_dequeue
	movq	_MEI_WRITE_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_waitqueue_active
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movl	(%r14), %edi
	callq	_pm_runtime_mark_last_busy
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pm_request_autosuspend         ## TAILCALL
LBB0_4:
	addq	$4, %rsi
	leaq	12(%rbx), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_mei_cl_is_fixed_address
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	xorl	%edi, %edi
	cmpl	$0, 8(%rbx)
	sete	%dil
	callq	_WARN_ON
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	decl	8(%rbx)
LBB0_7:
	movq	%rbx, %rdi
	callq	_mei_cl_bus_rx_event
	testl	%eax, %eax
	je	LBB0_8
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movq	%rsi, %rdi
	callq	_mei_io_cb_free
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mei_cl_set_disconnected        ## TAILCALL
LBB0_8:
	addq	$4, %rbx
LBB0_9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wake_up_interruptible          ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_MEI_WRITE_COMPLETE,4,2         ## @MEI_WRITE_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_cl_complete                ; -- Begin function mei_cl_complete
	.p2align	2
_mei_cl_complete:                       ; @mei_cl_complete
	.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
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_waitqueue_active
	cbz	w0, LBB0_11
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_up
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BUG_ON
LBB0_5:
	ldr	x20, [x19, #24]
	mov	x0, x1
	bl	_mei_tx_cb_dequeue
Lloh2:
	adrp	x8, _MEI_WRITE_COMPLETE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEI_WRITE_COMPLETE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	add	x19, x19, #16
	mov	x0, x19
	bl	_waitqueue_active
	cbz	w0, LBB0_13
; %bb.6:
	mov	x0, x19
	b	LBB0_15
LBB0_7:
	add	x0, x1, #4
	add	x1, x19, #12
	bl	_list_add_tail
	mov	x0, x19
	bl	_mei_cl_is_fixed_address
	cbnz	w0, LBB0_10
; %bb.8:
	ldr	w8, [x19, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #8]
LBB0_10:
	mov	x0, x19
	bl	_mei_cl_bus_rx_event
	cbz	w0, LBB0_14
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x1
	bl	_mei_io_cb_free
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mei_cl_set_disconnected
LBB0_13:
	ldr	w0, [x20]
	bl	_pm_runtime_mark_last_busy
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pm_request_autosuspend
LBB0_14:
	add	x0, x19, #4
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_up_interruptible
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_MEI_WRITE_COMPLETE,4,2         ; @MEI_WRITE_COMPLETE
.subsections_via_symbols
