	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_fix_features
_bnxt_fix_features:                     ## @bnxt_fix_features
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_NETIF_F_NTUPLE@GOTPCREL(%rip), %r12
	testl	%ebx, (%r12)
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_bnxt_rfs_capable
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_3:
	movq	_BNXT_FLAG_NO_AGG_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_4
## %bb.5:
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	orl	%ecx, %eax
	notl	%eax
	andl	%eax, %ebx
	jmp	LBB0_6
LBB0_4:
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_6:
	movq	_NETIF_F_GRO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%ebx, %esi
	movl	%edx, %edi
	notl	%edi
	xorl	%eax, %eax
	negl	%esi
	movl	$0, %esi
	sbbl	%esi, %esi
	orl	%edi, %esi
	andl	%ebx, %esi
	andl	%esi, %edx
	notl	%ecx
	cmpl	$1, %edx
	sbbl	%eax, %eax
	orl	%ecx, %eax
	andl	%esi, %eax
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_NETIF_F_HW_VLAN_STAG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%edx, %ecx
	movl	%eax, %esi
	notl	%esi
	testl	%esi, %ecx
	je	LBB0_10
## %bb.7:
	testl	%edx, (%r14)
	je	LBB0_9
## %bb.8:
	notl	%ecx
	andl	%ecx, %eax
	jmp	LBB0_10
LBB0_9:
	orl	%ecx, %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_NTUPLE,4,2             ## @NETIF_F_NTUPLE
	.comm	_BNXT_FLAG_NO_AGG_RINGS,4,2     ## @BNXT_FLAG_NO_AGG_RINGS
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_NETIF_F_GRO_HW,4,2             ## @NETIF_F_GRO_HW
	.comm	_NETIF_F_GRO,4,2                ## @NETIF_F_GRO
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_STAG_RX,4,2    ## @NETIF_F_HW_VLAN_STAG_RX
	.no_dead_strip	_bnxt_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_fix_features
_bnxt_fix_features:                     ; @bnxt_fix_features
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x22, _NETIF_F_NTUPLE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NETIF_F_NTUPLE@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_bnxt_rfs_capable
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w8, [x22]
	bic	w20, w20, w8
LBB0_3:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _BNXT_FLAG_NO_AGG_RINGS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BNXT_FLAG_NO_AGG_RINGS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _NETIF_F_LRO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETIF_F_LRO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _NETIF_F_GRO_HW@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NETIF_F_GRO_HW@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w20, w20, w10
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _NETIF_F_GRO_HW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETIF_F_GRO_HW@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x8]
Lloh14:
	adrp	x8, _NETIF_F_LRO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NETIF_F_LRO@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
LBB0_6:
Lloh17:
	adrp	x10, _NETIF_F_GRO@GOTPAGE
Lloh18:
	ldr	x10, [x10, _NETIF_F_GRO@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w20
	mov	w10, #-1
	csinv	w11, w10, w9, ne
	and	w11, w11, w20
	tst	w11, w9
	csinv	w8, w10, w8, eq
	and	w0, w8, w11
Lloh20:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _NETIF_F_HW_VLAN_STAG_RX@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_STAG_RX@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w9, w9, w8
	bics	wzr, w9, w0
	b.eq	LBB0_8
; %bb.7:
	ldr	w10, [x19]
	tst	w10, w8
	orr	w8, w0, w9
	bic	w9, w0, w9
	csel	w0, w8, w9, eq
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_NTUPLE,4,2             ; @NETIF_F_NTUPLE
	.comm	_BNXT_FLAG_NO_AGG_RINGS,4,2     ; @BNXT_FLAG_NO_AGG_RINGS
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_NETIF_F_GRO_HW,4,2             ; @NETIF_F_GRO_HW
	.comm	_NETIF_F_GRO,4,2                ; @NETIF_F_GRO
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_STAG_RX,4,2    ; @NETIF_F_HW_VLAN_STAG_RX
	.no_dead_strip	_bnxt_fix_features
.subsections_via_symbols
