	.file	"extr_lpfc_hbadisc.c_lpfc_can_disctmo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"can disc timer:  state:x%x rtry:x%x flg:x%x"
	.align 8
.LC1:
	.string	"0248 Cancel Discovery Timer state x%x Data: x%x x%x x%x\n"
	.text
	.p2align 4
	.globl	lpfc_can_disctmo
	.type	lpfc_can_disctmo, @function
lpfc_can_disctmo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	lpfc_shost_from_vport@PLT
	mov	r9d, DWORD PTR 0[rbp]
	mov	ecx, DWORD PTR 12[rbp]
	mov	rdi, rbp
	mov	r8d, DWORD PTR 28[rbp]
	mov	esi, DWORD PTR LPFC_DISC_TRC_ELS_CMD[rip]
	lea	rdx, .LC0[rip]
	mov	rbx, rax
	call	lpfc_debugfs_disc_trc@PLT
	mov	r9d, DWORD PTR 0[rbp]
	test	DWORD PTR FC_DISC_TMO[rip], r9d
	jne	.L8
.L2:
	mov	eax, DWORD PTR 4[rbp]
	mov	r8d, DWORD PTR 12[rbp]
	mov	rdi, rbp
	lea	rcx, .LC1[rip]
	mov	edx, DWORD PTR LOG_DISCOVERY[rip]
	mov	esi, DWORD PTR KERN_INFO[rip]
	push	rax
	.cfi_def_cfa_offset 56
	mov	eax, DWORD PTR 8[rbp]
	push	rax
	.cfi_def_cfa_offset 64
	call	lpfc_printf_vlog@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_def_cfa_offset 48
	xor	r12d, r12d
	mov	rdi, QWORD PTR [rbx]
	lea	r13, 16[rbp]
	mov	rsi, r12
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR FC_DISC_TMO[rip]
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, r12
	not	eax
	and	DWORD PTR 0[rbp], eax
	call	spin_unlock_irqrestore@PLT
	lea	rdi, 24[rbp]
	call	del_timer_sync@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR WORKER_DISC_TMO[rip]
	mov	rsi, r12
	mov	rdi, r13
	not	eax
	and	DWORD PTR 20[rbp], eax
	call	spin_unlock_irqrestore@PLT
	mov	r9d, DWORD PTR 0[rbp]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	lpfc_can_disctmo, .-lpfc_can_disctmo
	.comm	WORKER_DISC_TMO,4,4
	.comm	LPFC_DISC_TRC_ELS_CMD,4,4
	.comm	LOG_DISCOVERY,4,4
	.comm	KERN_INFO,4,4
	.comm	FC_DISC_TMO,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_lpfc_hbadisc.c_lpfc_can_disctmo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"can disc timer:  state:x%x rtry:x%x flg:x%x\000"
	.align	2
.LC1:
	.ascii	"0248 Cancel Discovery Timer state x%x Data: x%x x%x"
	.ascii	" x%x\012\000"
	.text
	.align	2
	.global	lpfc_can_disctmo
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_can_disctmo, %function
lpfc_can_disctmo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	sub	sp, sp, #16
	bl	lpfc_shost_from_vport
	ldr	r1, [r4]
	ldr	r3, [r4, #28]
	ldr	r2, .L9
	str	r1, [sp, #4]
	str	r3, [sp]
	ldr	r6, .L9+4
	ldr	r3, [r4, #12]
	ldr	r1, [r2]
	mov	r5, r0
	ldr	r2, .L9+8
	mov	r0, r4
	bl	lpfc_debugfs_disc_trc
	ldr	r3, [r4]
	ldr	r2, [r6]
	tst	r3, r2
	bne	.L8
.L2:
	ldr	r0, [r4, #8]
	ldr	ip, [r4, #4]
	str	r3, [sp, #4]
	ldr	r3, [r4, #12]
	ldr	r2, .L9+12
	ldr	r1, .L9+16
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	r0, [sp, #8]
	str	r3, [sp]
	mov	r0, r4
	ldr	r3, .L9+20
	str	ip, [sp, #12]
	bl	lpfc_printf_vlog
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r7, #0
	mov	r8, r4
	mov	r1, r7
	ldr	r0, [r5]
	bl	spin_lock_irqsave
	ldr	r2, [r6]
	ldr	r3, [r4]
	mov	r1, r7
	bic	r3, r3, r2
	ldr	r0, [r5]
	str	r3, [r8], #24
	bl	spin_unlock_irqrestore
	add	r5, r4, #16
	mov	r0, r8
	bl	del_timer_sync
	mov	r1, r7
	mov	r0, r5
	bl	spin_lock_irqsave
	ldr	r2, .L9+24
	ldr	r3, [r4, #20]
	ldr	r2, [r2]
	mov	r1, r7
	bic	r3, r3, r2
	str	r3, [r4, #20]
	mov	r0, r5
	bl	spin_unlock_irqrestore
	ldr	r3, [r4]
	b	.L2
.L10:
	.align	2
.L9:
	.word	LPFC_DISC_TRC_ELS_CMD
	.word	FC_DISC_TMO
	.word	.LC0
	.word	LOG_DISCOVERY
	.word	KERN_INFO
	.word	.LC1
	.word	WORKER_DISC_TMO
	.size	lpfc_can_disctmo, .-lpfc_can_disctmo
	.comm	WORKER_DISC_TMO,4,4
	.comm	LPFC_DISC_TRC_ELS_CMD,4,4
	.comm	LOG_DISCOVERY,4,4
	.comm	KERN_INFO,4,4
	.comm	FC_DISC_TMO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
