	.file	"extr_libcxgbi.c_cxgbi_sock_check_wr_invariants.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"csk 0x%p, tid %u, credit %u + %u != %u.\n"
	.text
	.p2align 4
	.globl	cxgbi_sock_check_wr_invariants
	.type	cxgbi_sock_check_wr_invariants, @function
cxgbi_sock_check_wr_invariants:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	cxgbi_sock_count_pending_wrs@PLT
	xor	edi, edi
	mov	ebx, eax
	cdqe
	add	rax, QWORD PTR 8[rbp]
	cmp	rax, QWORD PTR 0[rbp]
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rcx, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR 16[rbp]
	mov	r8d, ebx
	mov	rsi, rbp
	mov	r9, QWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	pr_err@PLT
	.cfi_endproc
.LFE0:
	.size	cxgbi_sock_check_wr_invariants, .-cxgbi_sock_check_wr_invariants
	.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_libcxgbi.c_cxgbi_sock_check_wr_invariants.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"csk 0x%p, tid %u, credit %u + %u != %u.\012\000"
	.text
	.align	2
	.global	cxgbi_sock_check_wr_invariants
	.syntax unified
	.arm
	.fpu softvfp
	.type	cxgbi_sock_check_wr_invariants, %function
cxgbi_sock_check_wr_invariants:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	mov	r4, r0
	bl	cxgbi_sock_count_pending_wrs
	mov	r5, r0
	ldm	r4, {r0, r3}
	add	r3, r5, r3
	subs	r0, r3, r0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	ldr	r3, [r4]
	str	r5, [sp]
	str	r3, [sp, #4]
	mov	r1, r4
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r0, .L9
	bl	pr_err
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	cxgbi_sock_check_wr_invariants, .-cxgbi_sock_check_wr_invariants
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
