	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_inta
_bnxt_inta:                             ## @bnxt_inta
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	32(%rsi), %r14
	leaq	8(%rsi), %r15
	movl	24(%rsi), %edi
	callq	_RING_CMP
	movl	%eax, %ebx
	movq	16(%r12), %r13
	movl	%eax, %edi
	callq	_CP_RING
	movq	(%r13,%rax,8), %r13
	movl	%ebx, %edi
	callq	_CP_IDX
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_prefetch
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnxt_has_work
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_BNXT_CAG_REG_LEGACY_INT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl
	movb	12(%r12), %cl
	shrl	%cl, %eax
	testl	$65536, %eax                    ## imm = 0x10000
	je	LBB0_2
LBB0_3:
	movl	(%r15), %edi
	callq	_BNXT_CP_DB_IRQ_DIS
	movq	%r14, %rdi
	callq	_atomic_read
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_unlikely
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_napi_schedule
	jmp	LBB0_5
LBB0_2:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
LBB0_5:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_CAG_REG_LEGACY_INT_STATUS,8,3 ## @BNXT_CAG_REG_LEGACY_INT_STATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_bnxt_inta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_inta
_bnxt_inta:                             ; @bnxt_inta
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x20, [x1, #32]
	add	x21, x1, #8
	ldr	w0, [x1, #24]
	bl	_RING_CMP
	mov	x22, x0
	ldr	x23, [x19, #16]
	bl	_CP_RING
	ldr	x23, [x23, x0, lsl #3]
	mov	x0, x22
	bl	_CP_IDX
	add	x0, x23, x0, lsl #2
	bl	_prefetch
	mov	x0, x20
	mov	x1, x21
	bl	_bnxt_has_work
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _BNXT_CAG_REG_LEGACY_INT_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_CAG_REG_LEGACY_INT_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x19, #12]
	lsr	w8, w0, w8
	tbz	w8, #16, LBB0_6
LBB0_2:
	ldr	w0, [x21]
	bl	_BNXT_CP_DB_IRQ_DIS
	mov	x0, x20
	bl	_atomic_read
	cmp	x0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_napi_schedule
LBB0_4:
Lloh3:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_CAG_REG_LEGACY_INT_STATUS,8,3 ; @BNXT_CAG_REG_LEGACY_INT_STATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_bnxt_inta
.subsections_via_symbols
