	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_send                    ## -- Begin function netvsc_send
	.p2align	4, 0x90
_netvsc_send:                           ## @netvsc_send
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movl	16(%rax), %edi
	callq	_rcu_dereference_bh
	movq	%rax, %r12
	movq	8(%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r13
	movq	_NETVSC_INVALID_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	cmpq	$0, 32(%r12)
	setne	%al
	jmp	LBB0_3
LBB0_1:
	movb	$1, %al
LBB0_3:
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_43:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	24(%r12), %rdx
	movq	8(%rbx), %rax
	movq	_NETVSC_INVALID_INDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movl	$0, 20(%rbx)
	cmpq	$0, -120(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_44
## %bb.6:
	leaq	(%rax,%rax,2), %rax
	leaq	(%rdx,%rax,8), %rsi
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%rdx,%rax,8), %rax
	testq	%rax, %rax
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.11:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jle	LBB0_8
## %bb.12:
	movq	(%rsi), %rcx
	cmpq	(%r12), %rcx
	jge	LBB0_8
## %bb.13:
	leaq	(%rdi,%r13), %rdx
	addq	8(%r12), %rdx
	movq	16(%r12), %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_15
## %bb.14:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_18
LBB0_44:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netvsc_send_pkt                ## TAILCALL
LBB0_7:
	xorl	%edi, %edi
LBB0_8:
	addq	8(%r12), %r13
	cmpq	16(%r12), %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jge	LBB0_18
## %bb.9:
	movq	%r12, %rdi
	callq	_netvsc_get_next_send_section
	movl	%eax, %ecx
	xorl	%edi, %edi
	movq	_NETVSC_INVALID_INDEX@GOTPCREL(%rip), %rax
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:
	incl	(%r14)
	jmp	LBB0_18
LBB0_17:
	leaq	-104(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_move_pkt_msd
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
LBB0_15:
	movq	24(%rbx), %rdx
	addq	%rdi, %rdx
	cmpq	%rcx, %rdx
	jge	LBB0_8
## %bb.16:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, 20(%rbx)
LBB0_18:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_netdev_xmit_more
	testq	%rax, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_22
## %bb.19:
	cmpl	$0, 20(%rbx)
	je	LBB0_21
## %bb.20:
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_21:
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_netdev_get_tx_queue
	movl	%eax, %edi
	callq	_netif_xmit_stopped
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, %eax
	sete	%r14b
LBB0_22:
	movq	_NETVSC_INVALID_INDEX@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	cmpl	(%rax), %r15d
	jne	LBB0_23
## %bb.34:
	leaq	-104(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_move_pkt_msd
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_23:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%r13, %r9
	leaq	(%rcx,%rax,8), %r13
	addq	$8, %r13
	movzbl	%r14b, %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	callq	_netvsc_copy_to_send_buf
	movl	%r15d, 16(%rbx)
	cmpl	$0, 20(%rbx)
	je	LBB0_25
## %bb.24:
	movq	56(%rbx), %rax
	subq	%rax, 48(%rbx)
	leaq	24(%rbx), %rax
	jmp	LBB0_26
LBB0_25:
	movq	$0, 48(%rbx)
	movq	%rbx, %rax
LBB0_26:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	(%r13), %rax
	testq	%rax, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_28
## %bb.27:
	movdqu	32(%rax), %xmm0
	movdqu	32(%rbx), %xmm1
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 32(%rbx)
LBB0_28:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	16(%rcx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.29:
	callq	_dev_consume_skb_any
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
LBB0_30:
	testb	%r14b, %r14b
	je	LBB0_32
## %bb.31:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rax
	addq	$16, %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%rbx, (%r13)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incq	(%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_33
LBB0_32:
	pxor	%xmm0, %xmm0
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movdqu	%xmm0, (%rax)
	movq	$0, 16(%rax)
LBB0_33:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_35:
	movq	-104(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_38
## %bb.36:
	movq	-96(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_netvsc_send_pkt
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	movq	-104(%rbp), %rax
	movl	16(%rax), %esi
	movq	%r12, %rdi
	callq	_netvsc_free_send_slot
	movq	-96(%rbp), %rdi
	callq	_dev_kfree_skb_any
LBB0_38:
	testq	%rbx, %rbx
	je	LBB0_39
## %bb.40:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	callq	_netvsc_send_pkt
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_43
## %bb.41:
	movq	_NETVSC_INVALID_INDEX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_43
## %bb.42:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_netvsc_free_send_slot
	jmp	LBB0_43
LBB0_39:
	xorl	%ebx, %ebx
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_NETVSC_INVALID_INDEX,4,2       ## @NETVSC_INVALID_INDEX
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netvsc_send                    ; -- Begin function netvsc_send
	.p2align	2
_netvsc_send:                           ; @netvsc_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x4
	mov	x28, x3
	mov	x26, x2
	mov	x22, x1
	mov	x27, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_rcu_dereference_bh
	mov	x20, x0
	ldr	x24, [x19, #8]
	ldr	x25, [x22]
Lloh0:
	adrp	x8, _NETVSC_INVALID_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETVSC_INVALID_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	stp	xzr, xzr, [sp, #32]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x20, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_5:
	ldr	x13, [x20, #24]
	ldr	x14, [x22, #8]
Lloh6:
	adrp	x8, _NETVSC_INVALID_INDEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETVSC_INVALID_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, wzr, [x22, #16]
	cbz	x21, LBB0_11
; %bb.6:
	mov	w8, #24
	madd	x12, x14, x8, x13
	mov	x9, x12
	ldr	x8, [x9, #8]!
	stp	x14, x9, [sp]                   ; 16-byte Folded Spill
	str	x12, [sp, #24]                  ; 8-byte Folded Spill
	cbz	x8, LBB0_12
; %bb.7:
	ldr	x15, [x8]
	cmp	x15, #1
	b.lt	LBB0_13
; %bb.8:
	ldr	x9, [x12]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ge	LBB0_13
; %bb.9:
	ldp	x10, x9, [x20, #8]
	add	x11, x15, x25
	add	x10, x11, x10
	cmp	x10, x9
	b.ge	LBB0_40
; %bb.10:
	str	x15, [sp, #16]                  ; 8-byte Folded Spill
	mov	x25, x13
	ldr	w23, [x8, #16]
	bl	_netdev_xmit_more
	cbnz	x0, LBB0_18
	b	LBB0_19
LBB0_11:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x20
	mov	x3, x28
	mov	x4, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_netvsc_send_pkt
LBB0_12:
	mov	x15, #0
LBB0_13:
	ldp	x8, x9, [x20, #8]
	add	x8, x8, x25
	cmp	x8, x9
	str	x15, [sp, #16]                  ; 8-byte Folded Spill
	mov	x25, x13
	b.ge	LBB0_17
; %bb.14:
	mov	x0, x20
	bl	_netvsc_get_next_send_section
	mov	x23, x0
Lloh9:
	adrp	x8, _NETVSC_INVALID_INDEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETVSC_INVALID_INDEX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	bl	_netdev_xmit_more
	cbnz	x0, LBB0_18
	b	LBB0_19
LBB0_16:
	add	x0, sp, #40
	add	x1, sp, #32
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_move_pkt_msd
	str	xzr, [sp, #16]                  ; 8-byte Folded Spill
LBB0_17:
	bl	_netdev_xmit_more
	cbz	x0, LBB0_19
LBB0_18:
	ldr	w8, [x22, #20]
	cbz	w8, LBB0_20
LBB0_19:
	mov	w19, #0
	b	LBB0_21
LBB0_20:
	ldr	x1, [x22, #8]
	mov	x0, x27
	bl	_netdev_get_tx_queue
	bl	_netif_xmit_stopped
	cmp	w0, #0
	cset	w19, eq
LBB0_21:
Lloh12:
	adrp	x8, _NETVSC_INVALID_INDEX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETVSC_INVALID_INDEX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_23
; %bb.22:
	add	x0, sp, #40
	add	x1, sp, #32
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	bl	_move_pkt_msd
	ldr	x1, [sp, #40]
	cbnz	x1, LBB0_33
	b	LBB0_35
LBB0_23:
	mov	x0, x20
	mov	x1, x23
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	mov	x3, x22
	mov	x4, x26
	mov	x5, x28
	mov	x6, x19
	bl	_netvsc_copy_to_send_buf
	str	w23, [x22, #16]
	ldr	w8, [x22, #20]
	cbz	w8, LBB0_25
; %bb.24:
	ldp	x9, x8, [x22, #48]
	sub	x8, x9, x8
	str	x8, [x22, #48]
	add	x8, x22, #24
	b	LBB0_26
LBB0_25:
	str	xzr, [x22, #48]
	mov	x8, x22
LBB0_26:
	ldp	x9, x26, [sp]                   ; 16-byte Folded Reload
	ldr	x8, [x8]
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x8, x8, x10
	str	x8, [x22]
	ldr	x8, [x26]
	cbz	x8, LBB0_28
; %bb.27:
	ldr	q0, [x8, #32]
	ldr	q1, [x22, #32]
	add.2d	v0, v1, v0
	str	q0, [x22, #32]
LBB0_28:
	mov	w8, #24
	madd	x25, x9, x8, x25
	ldr	x0, [x25, #16]!
	cbz	x0, LBB0_30
; %bb.29:
	bl	_dev_consume_skb_any
LBB0_30:
	cbz	w19, LBB0_32
; %bb.31:
	str	x21, [x25]
	str	x22, [x26]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x8, [x9]
	add	x8, x8, #1
	str	x8, [x9]
	mov	x22, #0
	ldr	x1, [sp, #40]
	cbnz	x1, LBB0_33
	b	LBB0_35
LBB0_32:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	xzr, xzr, [x8]
	str	xzr, [x8, #16]
	ldr	x1, [sp, #40]
	cbz	x1, LBB0_35
LBB0_33:
	ldr	x4, [sp, #32]
	mov	x0, x24
	mov	x2, x20
	mov	x3, #0
	bl	_netvsc_send_pkt
	cbz	w0, LBB0_35
; %bb.34:
	ldr	x8, [sp, #40]
	ldr	w1, [x8, #16]
	mov	x0, x20
	bl	_netvsc_free_send_slot
	ldr	x0, [sp, #32]
	bl	_dev_kfree_skb_any
LBB0_35:
	cbz	x22, LBB0_39
; %bb.36:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x20
	mov	x3, x28
	mov	x4, x21
	bl	_netvsc_send_pkt
	mov	x19, x0
	cbz	w0, LBB0_3
; %bb.37:
Lloh15:
	adrp	x8, _NETVSC_INVALID_INDEX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NETVSC_INVALID_INDEX@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w23, w8
	b.eq	LBB0_3
; %bb.38:
	mov	x0, x20
	mov	x1, x23
	bl	_netvsc_free_send_slot
	b	LBB0_3
LBB0_39:
	mov	w19, #0
	b	LBB0_3
LBB0_40:
	ldr	x10, [x22, #24]
	add	x10, x10, x15
	cmp	x10, x9
	b.ge	LBB0_13
; %bb.41:
	str	x15, [sp, #16]                  ; 8-byte Folded Spill
	mov	x25, x13
	ldr	w23, [x8, #16]
	mov	w8, #1
	str	w8, [x22, #20]
	bl	_netdev_xmit_more
	cbnz	x0, LBB0_18
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NETVSC_INVALID_INDEX,4,2       ; @NETVSC_INVALID_INDEX
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
