	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_init_napi
_bnxt_init_napi:                        ## @bnxt_init_napi
	.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	%rdi, %r13
	movl	4(%rdi), %eax
	movq	_BNXT_FLAG_USING_MSIX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.1:
	movl	(%r13), %r12d
	movq	_BNXT_FLAG_CHIP_P5@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_bnxt_poll_p5@GOTPCREL(%rip), %r14
	jmp	LBB0_4
LBB0_9:
	movq	16(%r13), %r15
	movq	_bnxt_poll@GOTPCREL(%rip), %rdx
	jmp	LBB0_10
LBB0_3:
	movq	%r13, %rdi
	callq	_BNXT_CHIP_TYPE_NITRO_A0
	cmpq	$1, %rax
	adcl	$-1, %r12d
	movq	_bnxt_poll@GOTPCREL(%rip), %r14
LBB0_4:
	movl	%r12d, %r15d
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	8(%r13), %edi
	movq	%r14, %rdx
	movl	$64, %ecx
	callq	_netif_napi_add
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_6
LBB0_7:
	movq	%r13, %rdi
	callq	_BNXT_CHIP_TYPE_NITRO_A0
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	shlq	$3, %r15
	addq	16(%r13), %r15
	movq	_bnxt_poll_nitroa0@GOTPCREL(%rip), %rdx
LBB0_10:
	movq	(%r15), %rsi
	movl	8(%r13), %edi
	movl	$64, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_napi_add                 ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_FLAG_USING_MSIX,4,2       ## @BNXT_FLAG_USING_MSIX
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ## @BNXT_FLAG_CHIP_P5
	.no_dead_strip	_bnxt_init_napi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_init_napi
_bnxt_init_napi:                        ; @bnxt_init_napi
	.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, x0
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _BNXT_FLAG_USING_MSIX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_FLAG_USING_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w21, [x19]
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_4
; %bb.2:
Lloh6:
	adrp	x20, _bnxt_poll_p5@GOTPAGE
Lloh7:
	ldr	x20, [x20, _bnxt_poll_p5@GOTPAGEOFF]
	cbnz	w21, LBB0_5
	b	LBB0_7
LBB0_3:
	ldr	x8, [x19, #16]
Lloh8:
	adrp	x2, _bnxt_poll@GOTPAGE
Lloh9:
	ldr	x2, [x2, _bnxt_poll@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_BNXT_CHIP_TYPE_NITRO_A0
	cmp	x0, #0
	cset	w8, ne
	sub	w21, w21, w8
Lloh10:
	adrp	x20, _bnxt_poll@GOTPAGE
Lloh11:
	ldr	x20, [x20, _bnxt_poll@GOTPAGEOFF]
	cbz	w21, LBB0_7
LBB0_5:
	mov	x22, #0
	mov	w8, w21
	lsl	x23, x8, #3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x1, [x8, x22]
	ldr	w0, [x19, #8]
	mov	x2, x20
	mov	w3, #64
	bl	_netif_napi_add
	add	x22, x22, #8
	cmp	x23, x22
	b.ne	LBB0_6
LBB0_7:
	mov	x0, x19
	bl	_BNXT_CHIP_TYPE_NITRO_A0
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x8, [x19, #16]
	add	x8, x8, w21, uxtw #3
Lloh12:
	adrp	x2, _bnxt_poll_nitroa0@GOTPAGE
Lloh13:
	ldr	x2, [x2, _bnxt_poll_nitroa0@GOTPAGEOFF]
LBB0_9:
	ldr	x1, [x8]
	ldr	w0, [x19, #8]
	mov	w3, #64
	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
	b	_netif_napi_add
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_FLAG_USING_MSIX,4,2       ; @BNXT_FLAG_USING_MSIX
	.comm	_BNXT_FLAG_CHIP_P5,4,2          ; @BNXT_FLAG_CHIP_P5
	.no_dead_strip	_bnxt_init_napi
.subsections_via_symbols
