	.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
	movl	(%rbx), %ecx
	xorl	%r14d, %ecx
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %ecx
	je	LBB0_14
## %bb.1:
	testl	%eax, (%r15)
	je	LBB0_6
## %bb.2:
	testl	%r14d, %eax
	jne	LBB0_3
## %bb.4:
	movq	_OCTNET_CMD_LRO_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_OCTNET_CMD_LRO_ENABLE@GOTPCREL(%rip), %rax
LBB0_5:
	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_6:
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%r15), %ecx
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.10:
	testl	%r14d, %eax
	jne	LBB0_14
## %bb.11:
	andl	%eax, %ecx
	je	LBB0_14
## %bb.12:
	movq	_OCTNET_CMD_RXCSUM_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	testl	%r14d, %eax
	je	LBB0_14
## %bb.8:
	andl	%eax, %ecx
	je	LBB0_14
## %bb.9:
	movq	_OCTNET_CMD_RXCSUM_ENABLE@GOTPCREL(%rip), %rax
LBB0_13:
	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_14:
	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
	.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
	ldr	w8, [x19]
	eor	w9, w8, w20
Lloh0:
	adrp	x8, _NETIF_F_LRO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_LRO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x21, x0
	ldr	w9, [x0]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _OCTNET_CMD_LRO_DISABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OCTNET_CMD_LRO_DISABLE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _OCTNET_CMD_LRO_ENABLE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _OCTNET_CMD_LRO_ENABLE@GOTPAGEOFF]
	tst	w8, w20
	csel	x8, x9, x10, eq
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_3:
	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_6
; %bb.4:
	and	w9, w9, w20
	cmp	w9, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_9
; %bb.5:
Lloh16:
	adrp	x8, _OCTNET_CMD_RXCSUM_DISABLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OCTNET_CMD_RXCSUM_DISABLE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	and	w9, w9, w20
	cmp	w9, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_9
; %bb.7:
Lloh18:
	adrp	x8, _OCTNET_CMD_RXCSUM_ENABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OCTNET_CMD_RXCSUM_ENABLE@GOTPAGEOFF]
LBB0_8:
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_9:
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.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
	.no_dead_strip	_liquidio_set_features
.subsections_via_symbols
