	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_recv_callback           ## -- Begin function netvsc_recv_callback
	.p2align	4, 0x90
_netvsc_recv_callback:                  ## @netvsc_recv_callback
	.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
	movq	%rsi, %r14
	callq	_hv_get_drvdata
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_netdev_alloc_skb_ip_align
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	incl	8(%rbx)
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_netdev_err
LBB0_4:
	movq	_NVSP_STAT_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	jmp	LBB0_6
LBB0_5:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_skb_put
	movl	(%r14), %edx
	movl	8(%r14), %esi
	movl	%eax, %edi
	callq	_memcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_eth_type_trans
	movl	%eax, 8(%r15)
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	4(%r14), %eax
	movl	%eax, (%r15)
	incl	4(%rbx)
	movl	(%r14), %eax
	addl	%eax, (%rbx)
	movq	%r15, %rdi
	callq	_netif_rx
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"got receive callback but net device not initialized yet\n"

	.comm	_NVSP_STAT_FAIL,8,3             ## @NVSP_STAT_FAIL
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_recv_callback           ; -- Begin function netvsc_recv_callback
	.p2align	2
_netvsc_recv_callback:                  ; @netvsc_recv_callback
	.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
	bl	_hv_get_drvdata
	ldr	x20, [x0]
	cbz	x20, LBB0_3
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_netdev_alloc_skb_ip_align
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_netdev_err
LBB0_4:
Lloh2:
	adrp	x8, _NVSP_STAT_FAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NVSP_STAT_FAIL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_6
LBB0_5:
	ldr	w1, [x19]
	mov	x0, x21
	bl	_skb_put
	ldr	w1, [x19, #8]
	ldr	w2, [x19]
	bl	_memcpy
	mov	x0, x21
	mov	x1, x20
	bl	_eth_type_trans
Lloh5:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #4]
	movi.2s	v0, #1
	ld1.s	{ v0 }[0], [x19], #4
	ldr	w8, [x19]
	str	w8, [x21]
	ldr	d1, [x20]
	add.2s	v0, v1, v0
	str	d0, [x20]
	mov	x0, x21
	bl	_netif_rx
LBB0_6:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"got receive callback but net device not initialized yet\n"

	.comm	_NVSP_STAT_FAIL,8,3             ; @NVSP_STAT_FAIL
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
.subsections_via_symbols
