	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_switch_datapath         ## -- Begin function netvsc_switch_datapath
	.p2align	4, 0x90
_netvsc_switch_datapath:                ## @netvsc_switch_datapath
	.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, %r15d
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	8(%rax), %r12
	movl	(%rax), %edi
	callq	_rtnl_dereference
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_NVSP_MSG4_TYPE_SWITCH_DATA_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	testl	%r15d, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_NVSP_DATAPATH_SYNTHETIC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_NVSP_DATAPATH_VF@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_trace_nvsp_send
	movl	(%r12), %edi
	movq	_VM_PKT_DATA_INBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rsi
	movl	$8, %edx
	movq	%rbx, %rcx
	xorl	%r9d, %r9d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmbus_sendpacket               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NVSP_MSG4_TYPE_SWITCH_DATA_PATH,4,2 ## @NVSP_MSG4_TYPE_SWITCH_DATA_PATH
	.comm	_NVSP_DATAPATH_VF,4,2           ## @NVSP_DATAPATH_VF
	.comm	_NVSP_DATAPATH_SYNTHETIC,4,2    ## @NVSP_DATAPATH_SYNTHETIC
	.comm	_VM_PKT_DATA_INBAND,4,2         ## @VM_PKT_DATA_INBAND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_switch_datapath         ; -- Begin function netvsc_switch_datapath
	.p2align	2
_netvsc_switch_datapath:                ; @netvsc_switch_datapath
	.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	x19, x1
	mov	x20, x0
	bl	_netdev_priv
	ldr	x22, [x0, #8]
	ldr	w0, [x0]
	bl	_rtnl_dereference
	mov	x21, x0
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _NVSP_MSG4_TYPE_SWITCH_DATA_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVSP_MSG4_TYPE_SWITCH_DATA_PATH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #4]
Lloh3:
	adrp	x8, _NVSP_DATAPATH_SYNTHETIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVSP_DATAPATH_SYNTHETIC@GOTPAGEOFF]
Lloh5:
	adrp	x9, _NVSP_DATAPATH_VF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NVSP_DATAPATH_VF@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x20
	mov	x1, x21
	bl	_trace_nvsp_send
	ldr	w0, [x22]
Lloh7:
	adrp	x8, _VM_PKT_DATA_INBAND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VM_PKT_DATA_INBAND@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	mov	x1, x21
	mov	w2, #8
	mov	x3, x21
	mov	w5, #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
	b	_vmbus_sendpacket
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVSP_MSG4_TYPE_SWITCH_DATA_PATH,4,2 ; @NVSP_MSG4_TYPE_SWITCH_DATA_PATH
	.comm	_NVSP_DATAPATH_VF,4,2           ; @NVSP_DATAPATH_VF
	.comm	_NVSP_DATAPATH_SYNTHETIC,4,2    ; @NVSP_DATAPATH_SYNTHETIC
	.comm	_VM_PKT_DATA_INBAND,4,2         ; @VM_PKT_DATA_INBAND
.subsections_via_symbols
