	.file	"extr_lpfc_sli.c_lpfc_sli_ringtxcmpl_put.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lpfc_sli_ringtxcmpl_put, @function
lpfc_sli_ringtxcmpl_put:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rdi, 20[rdx]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	add	rsi, 8
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	list_add_tail@PLT
	mov	eax, DWORD PTR LPFC_IO_ON_TXCMPLQ[rip]
	or	DWORD PTR 16[rbx], eax
	xor	edi, edi
	mov	rax, QWORD PTR LPFC_ELS_RING[rip]
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR CMD_ABORT_XRI_CN[rip]
	je	.L2
	cmp	rax, QWORD PTR CMD_CLOSE_XRI_CN[rip]
	je	.L2
	cmp	QWORD PTR [rbx], 0
	je	.L9
	mov	edi, DWORD PTR [r12]
	add	edi, edi
	imul	edi, edi, 1000
	call	msecs_to_jiffies@PLT
	mov	rdi, QWORD PTR [rbx]
	add	rax, QWORD PTR jiffies[rip]
	mov	rsi, rax
	call	mod_timer@PLT
.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
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	BUG@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	lpfc_sli_ringtxcmpl_put, .-lpfc_sli_ringtxcmpl_put
	.comm	jiffies,8,8
	.comm	LPFC_IO_ON_TXCMPLQ,4,4
	.comm	LPFC_ELS_RING,8,8
	.comm	CMD_CLOSE_XRI_CN,8,8
	.comm	CMD_ABORT_XRI_CN,8,8
	.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_sli.c_lpfc_sli_ringtxcmpl_put.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpfc_sli_ringtxcmpl_put, %function
lpfc_sli_ringtxcmpl_put:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	add	r1, r1, #4
	add	r0, r2, #12
	mov	r4, r2
	bl	list_add_tail
	ldr	r2, .L10
	ldr	r0, [r5]
	ldr	r2, [r2]
	ldr	r1, .L10+4
	sub	r0, r0, r2
	clz	r0, r0
	ldr	r3, [r4, #8]
	ldr	r1, [r1]
	lsr	r0, r0, #5
	orr	r3, r3, r1
	str	r3, [r4, #8]
	bl	unlikely
	cmp	r0, #0
	beq	.L2
	ldr	r2, .L10+8
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L10+12
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r4, [r4]
	cmp	r4, #0
	beq	.L9
	ldr	r3, [r6]
	lsl	r0, r3, #6
	sub	r0, r0, r3, lsl #1
	lsl	r0, r0, #2
	add	r0, r0, r3, lsl #1
	lsl	r0, r0, #3
	bl	msecs_to_jiffies
	mov	r1, r0
	ldr	r3, .L10+16
	mov	r0, r4
	ldr	r3, [r3]
	add	r1, r1, r3
	bl	mod_timer
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	bl	BUG
	b	.L2
.L11:
	.align	2
.L10:
	.word	LPFC_ELS_RING
	.word	LPFC_IO_ON_TXCMPLQ
	.word	CMD_ABORT_XRI_CN
	.word	CMD_CLOSE_XRI_CN
	.word	jiffies
	.size	lpfc_sli_ringtxcmpl_put, .-lpfc_sli_ringtxcmpl_put
	.comm	jiffies,4,4
	.comm	LPFC_IO_ON_TXCMPLQ,4,4
	.comm	LPFC_ELS_RING,4,4
	.comm	CMD_CLOSE_XRI_CN,4,4
	.comm	CMD_ABORT_XRI_CN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
