	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmxnet3_set_features           ## -- Begin function vmxnet3_set_features
	.p2align	4, 0x90
_vmxnet3_set_features:                  ## @vmxnet3_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, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	xorl	%r15d, %eax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	orl	%edx, %edi
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	testl	%eax, %edi
	je	LBB0_11
## %bb.1:
	movq	_UPT1_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %edx
	je	LBB0_3
## %bb.2:
	movq	8(%r14), %rdx
	orl	(%rdx), %eax
	jmp	LBB0_4
LBB0_3:
	notl	%eax
	movq	8(%r14), %rdx
	andl	(%rdx), %eax
LBB0_4:
	movl	%eax, (%rdx)
	movq	_UPT1_F_LRO@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%r15d, (%rsi)
	je	LBB0_6
## %bb.5:
	orl	%edi, %eax
	jmp	LBB0_7
LBB0_6:
	notl	%edi
	andl	%edi, %eax
LBB0_7:
	movl	%eax, (%rdx)
	movq	_UPT1_F_RXVLAN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%r15d, (%rcx)
	je	LBB0_9
## %bb.8:
	orl	%esi, %eax
	jmp	LBB0_10
LBB0_9:
	notl	%esi
	andl	%esi, %eax
LBB0_10:
	movl	%eax, (%rdx)
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_VMXNET3_REG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VMXNET3_CMD_UPDATE_FEATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_VMXNET3_WRITE_BAR1_REG
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_UPT1_F_RXCSUM,4,2              ## @UPT1_F_RXCSUM
	.comm	_UPT1_F_LRO,4,2                 ## @UPT1_F_LRO
	.comm	_UPT1_F_RXVLAN,4,2              ## @UPT1_F_RXVLAN
	.comm	_VMXNET3_REG_CMD,4,2            ## @VMXNET3_REG_CMD
	.comm	_VMXNET3_CMD_UPDATE_FEATURE,4,2 ## @VMXNET3_CMD_UPDATE_FEATURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmxnet3_set_features           ; -- Begin function vmxnet3_set_features
	.p2align	2
_vmxnet3_set_features:                  ; @vmxnet3_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	x21, x0
	bl	_netdev_priv
	ldr	w8, [x21]
	eor	w11, w8, w20
Lloh0:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x10, _NETIF_F_LRO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NETIF_F_LRO@GOTPAGEOFF]
	ldr	w8, [x10]
	orr	w12, w8, w9
Lloh5:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
	ldr	w13, [x8]
	orr	w12, w12, w13
	tst	w12, w11
	b.eq	LBB0_11
; %bb.1:
	mov	x19, x0
Lloh7:
	adrp	x11, _UPT1_F_RXCSUM@GOTPAGE
Lloh8:
	ldr	x11, [x11, _UPT1_F_RXCSUM@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	tst	w9, w20
	b.eq	LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	w12, [x9]
	orr	w11, w12, w11
	b	LBB0_4
LBB0_3:
	ldr	x9, [x19, #8]
	ldr	w12, [x9]
	bic	w11, w12, w11
LBB0_4:
	str	w11, [x9]
	ldr	w12, [x10]
Lloh10:
	adrp	x10, _UPT1_F_LRO@GOTPAGE
Lloh11:
	ldr	x10, [x10, _UPT1_F_LRO@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	tst	w12, w20
	b.eq	LBB0_6
; %bb.5:
	orr	w10, w11, w10
	b	LBB0_7
LBB0_6:
	bic	w10, w11, w10
LBB0_7:
	str	w10, [x9]
	ldr	w11, [x8]
Lloh13:
	adrp	x8, _UPT1_F_RXVLAN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UPT1_F_RXVLAN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w11, w20
	b.eq	LBB0_9
; %bb.8:
	orr	w8, w10, w8
	b	LBB0_10
LBB0_9:
	bic	w8, w10, w8
LBB0_10:
	str	w8, [x9]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh16:
	adrp	x8, _VMXNET3_REG_CMD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VMXNET3_REG_CMD@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _VMXNET3_CMD_UPDATE_FEATURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VMXNET3_CMD_UPDATE_FEATURE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_VMXNET3_WRITE_BAR1_REG
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_11:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_UPT1_F_RXCSUM,4,2              ; @UPT1_F_RXCSUM
	.comm	_UPT1_F_LRO,4,2                 ; @UPT1_F_LRO
	.comm	_UPT1_F_RXVLAN,4,2              ; @UPT1_F_RXVLAN
	.comm	_VMXNET3_REG_CMD,4,2            ; @VMXNET3_REG_CMD
	.comm	_VMXNET3_CMD_UPDATE_FEATURE,4,2 ; @VMXNET3_CMD_UPDATE_FEATURE
.subsections_via_symbols
