	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_chk_missed_irq
_bnxt_chk_missed_irq:                   ## @bnxt_chk_missed_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BNXT_FLAG_CHIP_P5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_18
## %bb.1:
	movq	%rdi, %r12
	movl	4(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r15
	jmp	LBB0_3
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	20(%r13), %edx
	movq	_DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rcx
	leaq	-52(%rbp), %r8
	callq	_bnxt_dbg_hwrm_ring_info_get
	incl	16(%r14)
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %eax
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_18
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%rbx,8), %r14
	testq	%r14, %r14
	je	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 24(%r13)
	je	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14), %rax
	movq	8(%rax), %r13
	testq	%r13, %r13
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 24(%r13)
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_bnxt_has_work
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	cmpq	8(%r13), %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, 8(%r13)
	jmp	LBB0_16
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_bnxt_has_work
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	cmpq	8(%r13), %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	20(%r13), %edx
	movq	_DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rcx
	leaq	-52(%rbp), %r8
	callq	_bnxt_dbg_hwrm_ring_info_get
	incl	16(%r14)
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, 8(%r13)
	jmp	LBB0_10
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ## @BNXT_FLAG_CHIP_P5
	.comm	_DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL,4,2 ## @DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL
	.no_dead_strip	_bnxt_chk_missed_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_chk_missed_irq
_bnxt_chk_missed_irq:                   ; @bnxt_chk_missed_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _BNXT_FLAG_CHIP_P5@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNXT_FLAG_CHIP_P5@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.2:
	mov	x22, #0
	mov	x9, sp
	add	x20, x9, #4
Lloh6:
	adrp	x23, _DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL@GOTPAGE
Lloh7:
	ldr	x23, [x23, _DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x21, #20]
	ldr	w1, [x23]
	mov	x3, sp
	mov	x0, x19
	mov	x4, x20
	bl	_bnxt_dbg_hwrm_ring_info_get
	ldr	w8, [x24, #16]
	add	w8, w8, #1
	str	w8, [x24, #16]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #4]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_18
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x24, [x9, x22, lsl #3]
	cbz	x24, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24, #32]
	ldr	x21, [x8]
	cbz	x21, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24, #32]
	ldr	x21, [x8, #8]
	cbz	x21, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_bnxt_has_work
	cbz	w0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [x21, #8]
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_bnxt_has_work
	cbz	w0, LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x21, #20]
	ldr	w1, [x23]
	mov	x3, sp
	mov	x0, x19
	mov	x4, x20
	bl	_bnxt_dbg_hwrm_ring_info_get
	ldr	w8, [x24, #16]
	add	w8, w8, #1
	str	w8, [x24, #16]
	b	LBB0_9
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x8, [x21, #8]
	b	LBB0_9
LBB0_18:
	ldr	x8, [sp, #8]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ; @BNXT_FLAG_CHIP_P5
	.comm	_DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL,4,2 ; @DBG_RING_INFO_GET_REQ_RING_TYPE_L2_CMPL
	.no_dead_strip	_bnxt_chk_missed_irq
.subsections_via_symbols
