	.file	"extr_bnxt.c_bnxt_chk_missed_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bnxt_chk_missed_irq, @function
bnxt_chk_missed_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR BNXT_FLAG_CHIP_P5[rip], eax
	je	.L1
	mov	eax, DWORD PTR 4[rdi]
	mov	r13, rdi
	test	eax, eax
	jle	.L1
	xor	r12d, r12d
	mov	r15, rsp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L27:
	mov	QWORD PTR 8[rbp], rax
	.p2align 4,,10
	.p2align 3
.L7:
	add	rbx, 8
	cmp	rbx, 16
	jne	.L8
.L3:
	add	r12, 1
	cmp	DWORD PTR 4[r13], r12d
	jle	.L1
.L9:
	mov	rax, QWORD PTR 8[r13]
	mov	r14, QWORD PTR [rax+r12*8]
	test	r14, r14
	je	.L3
	xor	ebx, ebx
.L8:
	mov	rax, QWORD PTR 32[r14]
	mov	rbp, QWORD PTR [rax+rbx]
	test	rbp, rbp
	je	.L7
	cmp	QWORD PTR 24[rbp], 0
	jne	.L7
	mov	rsi, rbp
	mov	rdi, r13
	call	bnxt_has_work@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR 8[rbp]
	jne	.L27
	mov	edx, DWORD PTR 20[rbp]
	mov	esi, DWORD PTR DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL[rip]
	mov	rcx, r15
	mov	rdi, r13
	lea	r8, 4[rsp]
	call	bnxt_dbg_hwrm_ring_info_get@PLT
	add	DWORD PTR 16[r14], 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bnxt_chk_missed_irq, .-bnxt_chk_missed_irq
	.comm	DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL,4,4
	.comm	BNXT_FLAG_CHIP_P5,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_bnxt.c_bnxt_chk_missed_irq.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnxt_chk_missed_irq, %function
bnxt_chk_missed_irq:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L28
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r1, .L28+4
	sub	sp, sp, #28
	tst	r2, r3
	ldr	r1, [r1]
	str	r1, [sp, #20]
	mov	r1,#0
	beq	.L1
	ldr	r2, [r0, #4]
	mov	r8, r0
	cmp	r2, #0
	ble	.L1
	mov	r6, #0
	ldr	r9, .L28+8
.L9:
	ldr	r3, [r8, #8]
	ldr	r7, [r3, r6, lsl #2]
	cmp	r7, #0
	beq	.L3
	mov	r4, #0
.L8:
	ldr	r3, [r7, #20]
	ldr	r5, [r3, r4]
	cmp	r5, #0
	beq	.L7
	ldr	r3, [r5, #16]
	cmp	r3, #0
	bne	.L7
	mov	r1, r5
	mov	r0, r8
	bl	bnxt_has_work
	cmp	r0, #0
	beq	.L7
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	cmp	r3, r2
	strne	r3, [r5, #4]
	bne	.L7
	add	r1, sp, #16
	ldr	r2, [r5, #12]
	add	r3, sp, #12
	str	r1, [sp]
	mov	r0, r8
	ldr	r1, [r9]
	bl	bnxt_dbg_hwrm_ring_info_get
	ldr	r3, [r7, #8]
	add	r3, r3, #1
	str	r3, [r7, #8]
.L7:
	add	r4, r4, #4
	cmp	r4, #8
	bne	.L8
	ldr	r2, [r8, #4]
.L3:
	add	r6, r6, #1
	cmp	r2, r6
	bgt	.L9
.L1:
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	BNXT_FLAG_CHIP_P5
	.word	.LC0
	.word	DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL
	.size	bnxt_chk_missed_irq, .-bnxt_chk_missed_irq
	.comm	DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL,4,4
	.comm	BNXT_FLAG_CHIP_P5,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
