	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function liquidio_set_features
_liquidio_set_features:                 ## @liquidio_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r15), %ecx
	testl	%r14d, %eax
	je	LBB0_4
## %bb.1:
	testl	%eax, %ecx
	je	LBB0_8
## %bb.2:
	testl	%eax, (%rbx)
	jne	LBB0_8
## %bb.3:
	movq	_OCTNET_CMD_LRO_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	testl	%eax, %ecx
	je	LBB0_8
## %bb.5:
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.6:
	movq	_OCTNET_CMD_LRO_DISABLE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	_OCTNIC_LROIPV4@GOTPCREL(%rip), %rax
	movq	_OCTNIC_LROIPV6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_liquidio_set_feature
LBB0_8:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%r15), %ecx
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.12:
	testl	%r14d, %eax
	jne	LBB0_16
## %bb.13:
	andl	%eax, %ecx
	je	LBB0_16
## %bb.14:
	movq	_OCTNET_CMD_RXCSUM_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	testl	%r14d, %eax
	je	LBB0_16
## %bb.10:
	andl	%eax, %ecx
	je	LBB0_16
## %bb.11:
	movq	_OCTNET_CMD_RXCSUM_ENABLE@GOTPCREL(%rip), %rax
LBB0_15:
	movq	_OCTNET_CMD_TNL_RX_CSUM_CTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_liquidio_set_rxcsum_command
LBB0_16:
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r15), %ecx
	testl	%r14d, %eax
	je	LBB0_20
## %bb.17:
	testl	%eax, %ecx
	je	LBB0_24
## %bb.18:
	testl	%eax, (%rbx)
	jne	LBB0_24
## %bb.19:
	movq	_OCTNET_CMD_VLAN_FILTER_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_20:
	testl	%eax, %ecx
	je	LBB0_24
## %bb.21:
	testl	%eax, (%rbx)
	je	LBB0_24
## %bb.22:
	movq	_OCTNET_CMD_VLAN_FILTER_DISABLE@GOTPCREL(%rip), %rax
LBB0_23:
	movq	_OCTNET_CMD_VLAN_FILTER_CTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_liquidio_set_feature
LBB0_24:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_OCTNET_CMD_LRO_ENABLE,4,2      ## @OCTNET_CMD_LRO_ENABLE
	.comm	_OCTNIC_LROIPV4,4,2             ## @OCTNIC_LROIPV4
	.comm	_OCTNIC_LROIPV6,4,2             ## @OCTNIC_LROIPV6
	.comm	_OCTNET_CMD_LRO_DISABLE,4,2     ## @OCTNET_CMD_LRO_DISABLE
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_OCTNET_CMD_TNL_RX_CSUM_CTL,4,2 ## @OCTNET_CMD_TNL_RX_CSUM_CTL
	.comm	_OCTNET_CMD_RXCSUM_ENABLE,4,2   ## @OCTNET_CMD_RXCSUM_ENABLE
	.comm	_OCTNET_CMD_RXCSUM_DISABLE,4,2  ## @OCTNET_CMD_RXCSUM_DISABLE
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_OCTNET_CMD_VLAN_FILTER_CTL,4,2 ## @OCTNET_CMD_VLAN_FILTER_CTL
	.comm	_OCTNET_CMD_VLAN_FILTER_ENABLE,4,2 ## @OCTNET_CMD_VLAN_FILTER_ENABLE
	.comm	_OCTNET_CMD_VLAN_FILTER_DISABLE,4,2 ## @OCTNET_CMD_VLAN_FILTER_DISABLE
	.no_dead_strip	_liquidio_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function liquidio_set_features
_liquidio_set_features:                 ; @liquidio_set_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	x8, _NETIF_F_LRO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_LRO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	and	w9, w9, w8
	tst	w8, w20
	b.eq	LBB0_4
; %bb.1:
	cbz	w9, LBB0_8
; %bb.2:
	ldr	w9, [x19]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _OCTNET_CMD_LRO_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCTNET_CMD_LRO_ENABLE@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	cbz	w9, LBB0_8
; %bb.5:
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
Lloh5:
	adrp	x8, _OCTNET_CMD_LRO_DISABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OCTNET_CMD_LRO_DISABLE@GOTPAGEOFF]
LBB0_7:
Lloh7:
	adrp	x9, _OCTNIC_LROIPV4@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OCTNIC_LROIPV4@GOTPAGEOFF]
	ldr	w1, [x8]
Lloh9:
	ldr	w8, [x9]
Lloh10:
	adrp	x9, _OCTNIC_LROIPV6@GOTPAGE
Lloh11:
	ldr	x9, [x9, _OCTNIC_LROIPV6@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_liquidio_set_feature
LBB0_8:
	ldr	w10, [x19]
Lloh13:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x8]
	ldr	w8, [x21, #4]
	and	w8, w8, w9
	tst	w9, w10
	b.eq	LBB0_11
; %bb.9:
	and	w9, w9, w20
	cmp	w9, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_14
; %bb.10:
Lloh16:
	adrp	x8, _OCTNET_CMD_RXCSUM_DISABLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OCTNET_CMD_RXCSUM_DISABLE@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	and	w9, w9, w20
	cmp	w9, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_14
; %bb.12:
Lloh18:
	adrp	x8, _OCTNET_CMD_RXCSUM_ENABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OCTNET_CMD_RXCSUM_ENABLE@GOTPAGEOFF]
LBB0_13:
Lloh20:
	adrp	x9, _OCTNET_CMD_TNL_RX_CSUM_CTL@GOTPAGE
Lloh21:
	ldr	x9, [x9, _OCTNET_CMD_TNL_RX_CSUM_CTL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x9]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_liquidio_set_rxcsum_command
LBB0_14:
Lloh23:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x21]
	and	w9, w9, w8
	tst	w8, w20
	b.eq	LBB0_18
; %bb.15:
	cbz	w9, LBB0_22
; %bb.16:
	ldr	w9, [x19]
	tst	w9, w8
	b.ne	LBB0_22
; %bb.17:
Lloh26:
	adrp	x8, _OCTNET_CMD_VLAN_FILTER_ENABLE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OCTNET_CMD_VLAN_FILTER_ENABLE@GOTPAGEOFF]
	b	LBB0_21
LBB0_18:
	cbz	w9, LBB0_22
; %bb.19:
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.20:
Lloh28:
	adrp	x8, _OCTNET_CMD_VLAN_FILTER_DISABLE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _OCTNET_CMD_VLAN_FILTER_DISABLE@GOTPAGEOFF]
LBB0_21:
Lloh30:
	adrp	x9, _OCTNET_CMD_VLAN_FILTER_CTL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _OCTNET_CMD_VLAN_FILTER_CTL@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x9]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_liquidio_set_feature
LBB0_22:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_OCTNET_CMD_LRO_ENABLE,4,2      ; @OCTNET_CMD_LRO_ENABLE
	.comm	_OCTNIC_LROIPV4,4,2             ; @OCTNIC_LROIPV4
	.comm	_OCTNIC_LROIPV6,4,2             ; @OCTNIC_LROIPV6
	.comm	_OCTNET_CMD_LRO_DISABLE,4,2     ; @OCTNET_CMD_LRO_DISABLE
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_OCTNET_CMD_TNL_RX_CSUM_CTL,4,2 ; @OCTNET_CMD_TNL_RX_CSUM_CTL
	.comm	_OCTNET_CMD_RXCSUM_ENABLE,4,2   ; @OCTNET_CMD_RXCSUM_ENABLE
	.comm	_OCTNET_CMD_RXCSUM_DISABLE,4,2  ; @OCTNET_CMD_RXCSUM_DISABLE
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_OCTNET_CMD_VLAN_FILTER_CTL,4,2 ; @OCTNET_CMD_VLAN_FILTER_CTL
	.comm	_OCTNET_CMD_VLAN_FILTER_ENABLE,4,2 ; @OCTNET_CMD_VLAN_FILTER_ENABLE
	.comm	_OCTNET_CMD_VLAN_FILTER_DISABLE,4,2 ; @OCTNET_CMD_VLAN_FILTER_DISABLE
	.no_dead_strip	_liquidio_set_features
.subsections_via_symbols
