	.file	"extr_client.c_mei_cl_notify_request.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"notifications not supported\n"
.LC1:
	.string	"rpm: get failed %d\n"
.LC2:
	.string	"rpm: autosuspend\n"
	.text
	.p2align 4
	.globl	mei_cl_notify_request
	.type	mei_cl_notify_request, @function
mei_cl_notify_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, 1
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	test	rbp, rbp
	je	.L2
	xor	edi, edi
	cmp	QWORD PTR 16[rbp], 0
	sete	dil
.L2:
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L24
	mov	r14, QWORD PTR 16[rbp]
	mov	edx, DWORD PTR 12[r14]
	test	edx, edx
	je	.L26
	mov	rdi, rbp
	call	mei_cl_is_connected@PLT
	test	eax, eax
	je	.L24
	mov	edi, DWORD PTR [r14]
	call	pm_runtime_get@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L7
	add	eax, DWORD PTR EINPROGRESS[rip]
	jne	.L27
.L7:
	mov	edi, ebx
	call	mei_cl_notify_req2fop@PLT
	mov	rcx, r13
	xor	esi, esi
	mov	rdi, rbp
	mov	edx, eax
	call	mei_cl_enqueue_ctrl_wr_cb@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r13, rax
	neg	r12d
	test	rax, rax
	je	.L9
	mov	rdi, r14
	call	mei_hbuf_acquire@PLT
	test	rax, rax
	je	.L10
	mov	edx, ebx
	mov	rsi, rbp
	mov	rdi, r14
	call	mei_hbm_cl_notify_req@PLT
	test	rax, rax
	je	.L11
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
.L9:
	mov	rsi, rbp
	lea	rdx, .LC2[rip]
	mov	rdi, r14
	call	cl_dbg@PLT
	mov	edi, DWORD PTR [r14]
	call	pm_runtime_mark_last_busy@PLT
	mov	edi, DWORD PTR [r14]
	call	pm_runtime_put_autosuspend@PLT
	mov	rdi, r13
	call	mei_io_cb_free@PLT
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r14
	lea	rdx, .LC0[rip]
	call	cl_dbg@PLT
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rsi, 8[r14]
	mov	rdi, r13
	call	list_move_tail@PLT
.L10:
	lea	r12, 4[r14]
	mov	rdi, r12
	call	mutex_unlock@PLT
	mov	edi, DWORD PTR MEI_CL_CONNECT_TIMEOUT[rip]
	call	mei_secs_to_jiffies@PLT
	mov	esi, 1
	mov	edx, eax
	cmp	DWORD PTR 4[rbp], ebx
	je	.L12
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L28
.L12:
	mov	edi, DWORD PTR 8[rbp]
	call	wait_event_timeout@PLT
	mov	rdi, r12
	call	mutex_lock@PLT
	cmp	DWORD PTR 4[rbp], ebx
	mov	r12d, DWORD PTR 0[rbp]
	je	.L9
	test	r12d, r12d
	jne	.L9
	mov	r12d, DWORD PTR EFAULT[rip]
	neg	r12d
	mov	DWORD PTR 0[rbp], r12d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], edx
	call	mei_cl_is_connected@PLT
	xor	esi, esi
	mov	edx, DWORD PTR 12[rsp]
	test	eax, eax
	sete	sil
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR [r14]
	call	pm_runtime_put_noidle@PLT
	mov	ecx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	lea	rdx, .LC1[rip]
	call	cl_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	mei_cl_notify_request, .-mei_cl_notify_request
	.comm	MEI_CL_CONNECT_TIMEOUT,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINPROGRESS,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_client.c_mei_cl_notify_request.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"notifications not supported\012\000"
	.align	2
.LC1:
	.ascii	"rpm: get failed %d\012\000"
	.align	2
.LC2:
	.ascii	"rpm: autosuspend\012\000"
	.text
	.align	2
	.global	mei_cl_notify_request
	.syntax unified
	.arm
	.fpu softvfp
	.type	mei_cl_notify_request, %function
mei_cl_notify_request:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r4, r0, #0
	ldrne	r0, [r4, #12]
	moveq	r0, #1
	clzne	r0, r0
	lsrne	r0, r0, #5
	mov	r8, r1
	mov	r6, r2
	bl	WARN_ON
	cmp	r0, #0
	bne	.L22
	ldr	r7, [r4, #12]
	ldr	r3, [r7, #12]
	cmp	r3, #0
	beq	.L24
	mov	r0, r4
	bl	mei_cl_is_connected
	cmp	r0, #0
	beq	.L22
	ldr	r0, [r7]
	bl	pm_runtime_get
	subs	r5, r0, #0
	bge	.L7
	ldr	r3, .L28
	ldr	r3, [r3]
	cmn	r5, r3
	bne	.L25
.L7:
	mov	r0, r6
	bl	mei_cl_notify_req2fop
	mov	r3, r8
	mov	r2, r0
	mov	r1, #0
	mov	r0, r4
	bl	mei_cl_enqueue_ctrl_wr_cb
	subs	r8, r0, #0
	beq	.L26
	mov	r0, r7
	bl	mei_hbuf_acquire
	cmp	r0, #0
	beq	.L10
	mov	r2, r6
	mov	r1, r4
	mov	r0, r7
	bl	mei_hbm_cl_notify_req
	cmp	r0, #0
	beq	.L11
	ldr	r3, .L28+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L9
.L22:
	ldr	r3, .L28+4
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L24:
	mov	r1, r4
	mov	r0, r7
	ldr	r2, .L28+8
	bl	cl_dbg
	ldr	r3, .L28+12
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r0, r8
	add	r1, r7, #8
	bl	list_move_tail
.L10:
	add	r5, r7, #4
	mov	r0, r5
	bl	mutex_unlock
	ldmib	r4, {r3, r10}
	cmp	r3, r6
	beq	.L17
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L27
.L17:
	mov	r9, #1
.L12:
	ldr	r3, .L28+16
	ldr	r0, [r3]
	bl	mei_secs_to_jiffies
	mov	r1, r9
	mov	r2, r0
	mov	r0, r10
	bl	wait_event_timeout
	mov	r0, r5
	bl	mutex_lock
	ldr	r3, [r4, #4]
	ldr	r5, [r4]
	cmp	r3, r6
	beq	.L9
	cmp	r5, #0
	ldreq	r3, .L28+20
	ldreq	r5, [r3]
	rsbeq	r5, r5, #0
	streq	r5, [r4]
.L9:
	mov	r1, r4
	ldr	r2, .L28+24
	mov	r0, r7
	bl	cl_dbg
	ldr	r0, [r7]
	bl	pm_runtime_mark_last_busy
	ldr	r0, [r7]
	bl	pm_runtime_put_autosuspend
	mov	r0, r8
	bl	mei_io_cb_free
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L26:
	ldr	r3, .L28+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L9
.L27:
	mov	r0, r4
	bl	mei_cl_is_connected
	clz	r9, r0
	lsr	r9, r9, #5
	b	.L12
.L25:
	ldr	r0, [r7]
	bl	pm_runtime_put_noidle
	mov	r3, r5
	mov	r1, r4
	mov	r0, r7
	ldr	r2, .L28+32
	bl	cl_err
	b	.L1
.L29:
	.align	2
.L28:
	.word	EINPROGRESS
	.word	ENODEV
	.word	.LC0
	.word	EOPNOTSUPP
	.word	MEI_CL_CONNECT_TIMEOUT
	.word	EFAULT
	.word	.LC2
	.word	ENOMEM
	.word	.LC1
	.size	mei_cl_notify_request, .-mei_cl_notify_request
	.comm	MEI_CL_CONNECT_TIMEOUT,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINPROGRESS,4,4
	.comm	EFAULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
