	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_init_dflt_ring_mode
_bnxt_init_dflt_ring_mode:              ## @bnxt_init_dflt_ring_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%ebx, %ebx
	cmpq	$0, 16(%rdi)
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	callq	_bnxt_ulp_irq_stop
	movq	%r14, %rdi
	callq	_bnxt_clear_int_mode
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_bnxt_set_dflt_rings
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_7
LBB0_3:
	movq	%r14, %rdi
	callq	_bnxt_init_int_mode
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	16(%r14), %rax
	movq	%rax, 24(%r14)
	movq	%r14, %rdi
	callq	_bnxt_rfs_supported
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	callq	_bnxt_rfs_capable
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_BNXT_FLAG_RFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	movq	_NETIF_F_NTUPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
LBB0_7:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bnxt_ulp_irq_restart
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not enough rings available.\n"

	.comm	_BNXT_FLAG_RFS,4,2              ## @BNXT_FLAG_RFS
	.comm	_NETIF_F_NTUPLE,4,2             ## @NETIF_F_NTUPLE
	.no_dead_strip	_bnxt_init_dflt_ring_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_init_dflt_ring_mode
_bnxt_init_dflt_ring_mode:              ; @bnxt_init_dflt_ring_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_6
LBB0_2:
	mov	x19, x0
	bl	_bnxt_ulp_irq_stop
	mov	x0, x19
	bl	_bnxt_clear_int_mode
	mov	x0, x19
	mov	w1, #1
	bl	_bnxt_set_dflt_rings
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_bnxt_init_int_mode
	mov	x20, x0
	cbz	w0, LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_bnxt_ulp_irq_restart
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x19, #16]
	str	x8, [x19, #24]
	mov	x0, x19
	bl	_bnxt_rfs_supported
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_bnxt_rfs_capable
	mov	w20, #0
	cbz	x0, LBB0_5
; %bb.9:
Lloh2:
	adrp	x8, _BNXT_FLAG_RFS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNXT_FLAG_RFS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, _NETIF_F_NTUPLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NETIF_F_NTUPLE@GOTPAGEOFF]
	str	w8, [x19, #8]
Lloh7:
	ldr	w8, [x9]
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	b	LBB0_5
LBB0_10:
	mov	w20, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not enough rings available.\n"

	.comm	_BNXT_FLAG_RFS,4,2              ; @BNXT_FLAG_RFS
	.comm	_NETIF_F_NTUPLE,4,2             ; @NETIF_F_NTUPLE
	.no_dead_strip	_bnxt_init_dflt_ring_mode
.subsections_via_symbols
