	.file	"extr_mvumi.c_mvumi_handshake_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"no handshake response at state 0x%x.\n"
	.align 8
.LC1:
	.string	"isr : global=0x%x,status=0x%x.\n"
	.text
	.p2align 4
	.type	mvumi_handshake_event, @function
mvumi_handshake_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, QWORD PTR jiffies[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	mvumi_handshake@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rsi, QWORD PTR FW_MAX_DELAY[rip]
	imul	rsi, QWORD PTR HZ[rip]
	mov	rdi, QWORD PTR jiffies[rip]
	add	rsi, rbp
	call	time_after@PLT
	test	rax, rax
	jne	.L10
	xor	eax, eax
	call	rmb@PLT
	mov	esi, 2000
	mov	edi, 1000
	call	usleep_range@PLT
	test	DWORD PTR DRBL_HANDSHAKE_ISR[rip], r12d
	jne	.L2
.L5:
	mov	rax, QWORD PTR 24[rbx]
	mov	rdi, rbx
	call	[QWORD PTR [rax]]
	mov	r12d, eax
	mov	rax, QWORD PTR FW_STATE_STARTED[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L11
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	movsx	rdx, DWORD PTR 8[rbx]
	mov	rdi, QWORD PTR 16[rbx]
	mov	ecx, r12d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, -1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mvumi_handshake_event, .-mvumi_handshake_event
	.comm	jiffies,8,8
	.comm	HZ,8,8
	.comm	FW_STATE_STARTED,8,8
	.comm	FW_MAX_DELAY,8,8
	.comm	DRBL_HANDSHAKE_ISR,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_mvumi.c_mvumi_handshake_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no handshake response at state 0x%x.\012\000"
	.align	2
.LC1:
	.ascii	"isr : global=0x%x,status=0x%x.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mvumi_handshake_event, %function
mvumi_handshake_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L12
	mov	r5, r0
	ldr	r10, [r6]
	ldr	r7, .L12+4
	bl	mvumi_handshake
	ldr	r9, .L12+8
	ldr	r8, .L12+12
	ldr	fp, .L12+16
	b	.L5
.L11:
	ldr	r3, [r9]
	ldr	r1, [r8]
	ldr	r0, [r6]
	mla	r1, r3, r1, r10
	bl	time_after
	cmp	r0, #0
	bne	.L10
	bl	rmb
	mov	r1, #2000
	mov	r0, #1000
	bl	usleep_range
	ldr	r3, [fp]
	tst	r4, r3
	bne	.L2
.L5:
	ldr	r3, [r5, #12]
	mov	r0, r5
	ldr	r3, [r3]
	blx	r3
	ldr	r2, [r5]
	ldr	r3, [r7]
	mov	r4, r0
	cmp	r2, r3
	bne	.L11
.L2:
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r2, [r5]
	ldr	r1, .L12+20
	ldr	r0, [r5, #8]
	bl	dev_err
	mov	r3, r4
	ldr	r2, [r5, #4]
	ldr	r0, [r5, #8]
	ldr	r1, .L12+24
	bl	dev_err
	mov	r0, #255
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	jiffies
	.word	FW_STATE_STARTED
	.word	FW_MAX_DELAY
	.word	HZ
	.word	DRBL_HANDSHAKE_ISR
	.word	.LC0
	.word	.LC1
	.size	mvumi_handshake_event, .-mvumi_handshake_event
	.comm	jiffies,4,4
	.comm	HZ,4,4
	.comm	FW_STATE_STARTED,4,4
	.comm	FW_MAX_DELAY,4,4
	.comm	DRBL_HANDSHAKE_ISR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
