	.file	"extr_fc_disc.c_fc_disc_error.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Error %ld, retries %d/%d\n"
	.text
	.p2align 4
	.type	fc_disc_error, @function
fc_disc_error:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	fc_disc_lport@PLT
	mov	r14, QWORD PTR FC_DISC_RETRY_LIMIT[rip]
	mov	r13, QWORD PTR 0[rbp]
	mov	rdi, r12
	mov	rbx, rax
	call	PTR_ERR@PLT
	mov	r8, r14
	mov	rcx, r13
	mov	rdi, rbp
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	FC_DISC_DBG@PLT
	test	r12, r12
	je	.L2
	mov	rdi, r12
	call	PTR_ERR@PLT
	add	eax, DWORD PTR FC_EX_TIMEOUT[rip]
	jne	.L13
	mov	rax, QWORD PTR FC_DISC_RETRY_LIMIT[rip]
	cmp	QWORD PTR 0[rbp], rax
	jge	.L8
	mov	edi, DWORD PTR [rbx]
	call	msecs_to_jiffies@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, rsi
	shr	rdx, 2
	test	rax, rax
	cmove	rsi, rdx
.L5:
	add	rax, 1
	lea	rdi, 16[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	QWORD PTR 0[rbp], rax
	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
	jmp	schedule_delayed_work@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, r12
	call	PTR_ERR@PLT
	add	eax, DWORD PTR FC_EX_CLOSED[rip]
	je	.L14
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR FC_DISC_RETRY_LIMIT[rip]
	cmp	QWORD PTR 0[rbp], rax
	jl	.L15
.L8:
	mov	esi, DWORD PTR DISC_EV_FAILED[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	fc_disc_done@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	QWORD PTR 8[rbp], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, DWORD PTR FC_DISC_RETRY_DELAY[rip]
	call	msecs_to_jiffies@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR 0[rbp]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	fc_disc_error, .-fc_disc_error
	.comm	FC_EX_TIMEOUT,4,4
	.comm	FC_EX_CLOSED,4,4
	.comm	FC_DISC_RETRY_LIMIT,8,8
	.comm	FC_DISC_RETRY_DELAY,4,4
	.comm	DISC_EV_FAILED,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_fc_disc.c_fc_disc_error.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error %ld, retries %d/%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fc_disc_error, %function
fc_disc_error:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r5, r1
	mov	r4, r0
	bl	fc_disc_lport
	mov	r6, r0
	mov	r0, r5
	bl	PTR_ERR
	ldr	r7, .L15
	mov	r2, r0
	ldr	r1, [r7]
	ldr	r3, [r4]
	mov	r0, r4
	str	r1, [sp]
	ldr	r1, .L15+4
	bl	FC_DISC_DBG
	cmp	r5, #0
	beq	.L2
	mov	r0, r5
	bl	PTR_ERR
	ldr	r3, .L15+8
	ldr	r3, [r3]
	cmn	r0, r3
	bne	.L13
	ldr	r3, [r7]
	ldr	r2, [r4]
	cmp	r2, r3
	bge	.L8
	ldr	r0, [r6]
	bl	msecs_to_jiffies
	ldr	r3, [r4]
	mov	r1, r0
	cmp	r3, #0
	lsreq	r1, r0, #2
.L5:
	mov	r0, r4
	add	r3, r3, #1
	str	r3, [r0], #8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	schedule_delayed_work
.L13:
	mov	r0, r5
	bl	PTR_ERR
	ldr	r3, .L15+12
	ldr	r3, [r3]
	cmn	r0, r3
	moveq	r3, #0
	streq	r3, [r4, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r3, [r7]
	ldr	r2, [r4]
	cmp	r2, r3
	blt	.L14
.L8:
	mov	r0, r4
	ldr	r3, .L15+16
	ldr	r1, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	fc_disc_done
.L14:
	ldr	r3, .L15+20
	ldr	r0, [r3]
	bl	msecs_to_jiffies
	ldr	r3, [r4]
	mov	r1, r0
	b	.L5
.L16:
	.align	2
.L15:
	.word	FC_DISC_RETRY_LIMIT
	.word	.LC0
	.word	FC_EX_TIMEOUT
	.word	FC_EX_CLOSED
	.word	DISC_EV_FAILED
	.word	FC_DISC_RETRY_DELAY
	.size	fc_disc_error, .-fc_disc_error
	.comm	FC_EX_TIMEOUT,4,4
	.comm	FC_EX_CLOSED,4,4
	.comm	FC_DISC_RETRY_LIMIT,4,4
	.comm	FC_DISC_RETRY_DELAY,4,4
	.comm	DISC_EV_FAILED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
