	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netvsc_start_xmit
_netvsc_start_xmit:                     ## @netvsc_start_xmit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r14
	movq	%rbx, %rdi
	callq	_skb_headlen
	leaq	(%r14,%rax), %r15
	decq	%r15
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %r15
	movq	8(%rbx), %rax
	shrq	%cl, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %r13d
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	subl	%eax, %r13d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r14d
	leal	(%r14,%r13), %ebx
	addl	$3, %ebx
	movq	_NDIS_VLAN_PPI_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rbx,4), %rdi
	addq	$68, %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r12
	leal	(%r14,%r13), %eax
	incl	%eax
	shlq	$2, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	16(%r14), %ecx
	movl	%ecx, 56(%r12)
	leaq	(%r12,%rbx), %rcx
	addq	$64, %rcx
	movq	%rcx, 48(%r12)
	incl	%eax
	movl	%eax, (%r12)
	movq	(%r14), %rax
	movq	%rax, 40(%r12)
	movq	8(%r14), %rdi
	callq	_virt_to_phys
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rdi
	movb	(%rdi), %cl
	shrq	%cl, %rax
	movq	32(%r12), %rcx
	movq	%rax, 24(%rcx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rax
	leaq	-1(%rax), %rdx
	andq	8(%r14), %rdx
	movq	%rdx, 32(%rcx)
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.2:
	incl	%r13d
	subq	%rdx, %rax
	movq	%rax, 40(%rcx)
	cmpl	$2, %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jb	LBB0_9
## %bb.3:
	movl	(%rsi), %eax
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %r15
	leal	-1(%rbx), %edi
	imull	%eax, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	8(%rax), %rdi
	movq	%rsi, %r14
	callq	_virt_to_phys
	movq	%r15, %rdi
	movq	%r14, %rsi
	movzbl	(%r15), %ecx
	shrq	%cl, %rax
	movq	32(%r12), %rcx
	movl	%ebx, %edx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	$0, 8(%rcx,%rdx,8)
	movslq	(%r14), %rax
	movq	%rax, 16(%rcx,%rdx,8)
	incl	%ebx
	cmpl	%r13d, %ebx
	jbe	LBB0_4
## %bb.5:
	cmpl	$2, %r13d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jb	LBB0_9
## %bb.6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rbx
	movq	%rsi, %r14
	callq	_skb_headlen
	addq	%rbx, %rax
	decq	%rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%r14), %rcx
	decq	%rcx
	andq	%rax, %rcx
	incq	%rcx
	movq	32(%r12), %rax
	movl	%r13d, %edx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rcx, 16(%rax,%rdx,8)
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_netdev_err
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
	incl	(%rbx)
	jmp	LBB0_19
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_headlen
	movq	32(%r12), %rcx
	movq	%rax, 40(%rcx)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	cmpl	$0, (%rax)
	movq	%r12, %r15
	je	LBB0_12
## %bb.10:
	subl	-72(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	$2, %ebx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movq	8(%rax), %r13
	leaq	(%r12,%r13), %r15
	movq	%r15, %rdi
	callq	_skb_frag_page
	movl	%eax, %edi
	callq	_page_to_pfn
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rcx
	leaq	1(%r14), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	addl	%ebx, %r14d
	shlq	$3, %r14
	leaq	(%r14,%r14,2), %rbx
	movq	%rax, (%rcx,%rbx)
	movslq	(%r13,%r12), %rax
	movq	%rax, 8(%rcx,%rbx)
	movq	%r15, %rdi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	callq	_skb_frag_size
	movq	32(%r15), %rcx
	movq	%rax, 16(%rcx,%rbx)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_shinfo
	movl	(%rax), %eax
	addq	$4, %r12
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %r14
	cmpq	%rax, %rcx
	jb	LBB0_11
LBB0_12:
	movq	_netvsc_xmit_completion@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	%r15, 16(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_rndis_filter_send
	movq	%r15, %rdi
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	callq	_kfree
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_17
## %bb.14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb_any
	jmp	LBB0_16
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addl	%eax, 8(%rbx)
	addq	$4, %rbx
LBB0_16:
	incl	(%rbx)
LBB0_17:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	jne	LBB0_19
## %bb.18:
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_19:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_NDIS_VLAN_PPI_SIZE,8,3         ## @NDIS_VLAN_PPI_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to allocate hv_netvsc_packet\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_netvsc_xmit_completion,4,2     ## @netvsc_xmit_completion
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.no_dead_strip	_netvsc_start_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netvsc_start_xmit
_netvsc_start_xmit:                     ; @netvsc_start_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x21, [x20, #8]
	mov	x0, x20
	bl	_skb_headlen
	add	x8, x21, x0
	sub	x8, x8, #1
Lloh0:
	adrp	x26, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _PAGE_SHIFT@GOTPAGEOFF]
	ldr	x9, [x26]
	lsr	x23, x8, x9
	ldr	x8, [x20, #8]
	lsr	x24, x8, x9
	sub	w28, w23, w24
	add	w25, w28, #1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	add	w21, w25, w8
	add	w8, w21, #2
	lsl	x27, x8, #2
Lloh2:
	adrp	x8, _NDIS_VLAN_PPI_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NDIS_VLAN_PPI_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x8, x8, x27
	add	x0, x8, #68
Lloh5:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
	ldr	w8, [x20, #16]
	str	w8, [x0, #56]
	add	x8, x0, x27
	add	x8, x8, #64
	add	w9, w21, #1
	str	w9, [x0]
	ldp	x9, x0, [x20]
	stp	x9, x8, [x22, #40]
	bl	_virt_to_phys
	ldr	x8, [x26]
	lsr	x11, x0, x8
	ldr	x8, [x22, #32]
Lloh8:
	adrp	x27, _PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x10, [x20, #8]
	ldrsw	x9, [x27]
	sub	x12, x9, #1
	and	x10, x10, x12
	stp	x11, x10, [x8, #24]
	cbz	w28, LBB0_8
; %bb.2:
	sub	x9, x9, x10
	str	x9, [x8, #40]
	cmp	w25, #2
	b.lo	LBB0_9
; %bb.3:
	ldr	w8, [x27]
	mov	w28, #2
	mov	w21, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	sub	w10, w28, #1
	mul	w8, w8, w10
	add	x0, x9, x8
	bl	_virt_to_phys
	ldr	x8, [x26]
	lsr	x8, x0, x8
	ldr	x9, [x22, #32]
	umaddl	x9, w28, w21, x9
	stp	x8, xzr, [x9]
	ldrsw	x8, [x27]
	str	x8, [x9, #16]
	add	w28, w28, #1
	cmp	w28, w25
	b.ls	LBB0_4
; %bb.5:
	cmp	w25, #2
	b.lo	LBB0_9
; %bb.6:
	ldr	x21, [x20, #8]
	mov	x0, x20
	bl	_skb_headlen
	add	x8, x21, x0
	sub	x8, x8, #1
	ldrsw	x9, [x27]
	sub	x9, x9, #1
	and	x8, x8, x9
	add	x8, x8, #1
	ldr	x9, [x22, #32]
	mov	w10, #24
	umaddl	x9, w25, w10, x9
	str	x8, [x9, #16]
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	mov	x0, x20
	bl	_dev_kfree_skb
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh12:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
	b	LBB0_18
LBB0_8:
	mov	x0, x20
	bl	_skb_headlen
	ldr	x8, [x22, #32]
	str	x0, [x8, #40]
LBB0_9:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	cbz	w8, LBB0_12
; %bb.10:
	mov	x25, #0
	mov	x27, #0
	sub	w8, w23, w24
	add	w24, w8, #2
	mov	w26, #24
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x23, x8, x25
	mov	x0, x23
	bl	_skb_frag_page
	bl	_page_to_pfn
	ldr	x8, [x22, #32]
	add	x21, x27, #1
	add	w27, w24, w27
	ldrsw	x9, [x23]
	umaddl	x8, w27, w26, x8
	stp	x0, x9, [x8]
	mov	x0, x23
	bl	_skb_frag_size
	ldr	x8, [x22, #32]
	umaddl	x8, w27, w26, x8
	str	x0, [x8, #16]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	add	x25, x25, #4
	mov	x27, x21
	cmp	x21, x8
	b.lo	LBB0_11
LBB0_12:
Lloh14:
	adrp	x8, _netvsc_xmit_completion@GOTPAGE
Lloh15:
	ldr	x8, [x8, _netvsc_xmit_completion@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x22, #24]
	stp	x20, x22, [x22, #8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
	mov	x1, x22
	bl	_rndis_filter_send
	mov	x21, x0
Lloh17:
	adrp	x23, _EAGAIN@GOTPAGE
Lloh18:
	ldr	x23, [x23, _EAGAIN@GOTPAGEOFF]
	cbz	w0, LBB0_15
; %bb.13:
	mov	x0, x22
	bl	_kfree
	ldr	w8, [x23]
	cmn	w21, w8
	b.eq	LBB0_17
; %bb.14:
	mov	x0, x20
	bl	_dev_kfree_skb_any
	b	LBB0_16
LBB0_15:
	ldr	w8, [x20]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
	add	x19, x19, #4
LBB0_16:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_17:
Lloh19:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh21:
	adrp	x10, _NETDEV_TX_OK@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NETDEV_TX_OK@GOTPAGEOFF]
	cmn	w21, w9
	csel	x8, x8, x10, eq
LBB0_18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_NDIS_VLAN_PPI_SIZE,8,3         ; @NDIS_VLAN_PPI_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to allocate hv_netvsc_packet\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_netvsc_xmit_completion,4,2     ; @netvsc_xmit_completion
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.no_dead_strip	_netvsc_start_xmit
.subsections_via_symbols
