	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function liquidio_fix_features
_liquidio_fix_features:                 ## @liquidio_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ebx, %ecx
	je	LBB0_3
## %bb.1:
	testl	%ecx, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	%ecx, %edx
	notl	%edx
	andl	%edx, %ebx
LBB0_3:
	movq	_NETIF_F_HW_CSUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ebx, %edx
	je	LBB0_6
## %bb.4:
	testl	%edx, (%rax)
	jne	LBB0_6
## %bb.5:
	notl	%edx
	andl	%edx, %ebx
LBB0_6:
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ebx, %edx
	je	LBB0_9
## %bb.7:
	testl	%edx, (%rax)
	jne	LBB0_9
## %bb.8:
	notl	%edx
	andl	%edx, %ebx
LBB0_9:
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ebx, %edx
	je	LBB0_12
## %bb.10:
	testl	%edx, (%rax)
	jne	LBB0_12
## %bb.11:
	notl	%edx
	andl	%edx, %ebx
LBB0_12:
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ebx, %edx
	je	LBB0_15
## %bb.13:
	testl	%edx, (%rax)
	je	LBB0_14
LBB0_15:
	testl	%ecx, %ebx
	jne	LBB0_19
LBB0_16:
	testl	%edx, (%r14)
	je	LBB0_19
## %bb.17:
	testl	%edx, (%rax)
	je	LBB0_19
## %bb.18:
	notl	%edx
	andl	%edx, %ebx
	jmp	LBB0_19
LBB0_14:
	movl	%edx, %esi
	notl	%esi
	andl	%esi, %ebx
	testl	%ecx, %ebx
	je	LBB0_16
LBB0_19:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NETIF_F_HW_CSUM,4,2            ## @NETIF_F_HW_CSUM
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.no_dead_strip	_liquidio_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function liquidio_fix_features
_liquidio_fix_features:                 ; @liquidio_fix_features
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x0]
	tst	w9, w8
	bic	w9, w19, w8
	csel	w19, w19, w9, ne
LBB0_2:
Lloh3:
	adrp	x9, _NETIF_F_HW_CSUM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_HW_CSUM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_4
; %bb.3:
	ldr	w10, [x0]
	tst	w10, w9
	bic	w9, w19, w9
	csel	w19, w19, w9, ne
LBB0_4:
Lloh6:
	adrp	x9, _NETIF_F_TSO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NETIF_F_TSO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_6
; %bb.5:
	ldr	w10, [x0]
	tst	w10, w9
	bic	w9, w19, w9
	csel	w19, w19, w9, ne
LBB0_6:
Lloh9:
	adrp	x9, _NETIF_F_TSO6@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_8
; %bb.7:
	ldr	w10, [x0]
	tst	w10, w9
	bic	w9, w19, w9
	csel	w19, w19, w9, ne
LBB0_8:
Lloh12:
	adrp	x9, _NETIF_F_LRO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETIF_F_LRO@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_10
; %bb.9:
	ldr	w10, [x0]
	tst	w10, w9
	bic	w10, w19, w9
	csel	w19, w19, w10, ne
LBB0_10:
	tst	w19, w8
	b.ne	LBB0_14
; %bb.11:
	ldr	w8, [x20]
	tst	w8, w9
	b.eq	LBB0_14
; %bb.12:
	ldr	w8, [x0]
	tst	w8, w9
	b.eq	LBB0_14
; %bb.13:
	bic	w19, w19, w9
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NETIF_F_HW_CSUM,4,2            ; @NETIF_F_HW_CSUM
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.no_dead_strip	_liquidio_fix_features
.subsections_via_symbols
