	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netvsc_send_recv_completion
_netvsc_send_recv_completion:           ## @netvsc_send_recv_completion
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r13
	callq	_hv_get_drvdata
	movq	(%rax), %r14
	movq	_NVSP_MSG1_TYPE_SEND_RNDIS_PKT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	%ebx, -48(%rbp)
	movl	(%r13), %edi
	movq	_VM_PKT_COMP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	movl	%r12d, %ecx
	xorl	%r9d, %r9d
	callq	_vmbus_sendpacket
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	leaq	L_.str.2(%rip), %r15
	addl	(%rcx), %eax
	jne	LBB0_9
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	$1, %ecx
	xorl	%eax, %eax
	callq	_netdev_err
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %edi
	movl	(%rbx), %r8d
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	movl	%r12d, %ecx
	xorl	%r9d, %r9d
	callq	_vmbus_sendpacket
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_9
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	$2, %ecx
	xorl	%eax, %eax
	callq	_netdev_err
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %edi
	movl	(%rbx), %r8d
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	movl	%r12d, %ecx
	xorl	%r9d, %r9d
	callq	_vmbus_sendpacket
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_9
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	$3, %ecx
	xorl	%eax, %eax
	callq	_netdev_err
	movl	$100, %edi
	callq	_udelay
	movl	(%r13), %edi
	movl	(%rbx), %r8d
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	movl	%r12d, %ecx
	xorl	%r9d, %r9d
	callq	_vmbus_sendpacket
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	$4, %ecx
	xorl	%eax, %eax
	callq	_netdev_err
	leaq	L_.str.1(%rip), %r15
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVSP_MSG1_TYPE_SEND_RNDIS_PKT_COMPLETE,4,2 ## @NVSP_MSG1_TYPE_SEND_RNDIS_PKT_COMPLETE
	.comm	_VM_PKT_COMP,4,2                ## @VM_PKT_COMP
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to send receive completion pkt (tid %llx)...retrying %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"unable to send receive completion pkt (tid %llx)...give up retrying\n"

L_.str.2:                               ## @.str.2
	.asciz	"unable to send receive completion pkt - %llx\n"

	.no_dead_strip	_netvsc_send_recv_completion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netvsc_send_recv_completion
_netvsc_send_recv_completion:           ; @netvsc_send_recv_completion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	bl	_hv_get_drvdata
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _NVSP_MSG1_TYPE_SEND_RNDIS_PKT_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVSP_MSG1_TYPE_SEND_RNDIS_PKT_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w22, w8, [sp, #8]
	ldr	w0, [x21]
Lloh3:
	adrp	x22, _VM_PKT_COMP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _VM_PKT_COMP@GOTPAGEOFF]
	ldr	w4, [x22]
	add	x1, sp, #8
	mov	w2, #8
	mov	x3, x19
	mov	w5, #0
	bl	_vmbus_sendpacket
	cbz	w0, LBB0_11
; %bb.1:
Lloh5:
	adrp	x23, _EAGAIN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EAGAIN@GOTPAGEOFF]
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.2:
	mov	w8, #1
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_err
	mov	w0, #100
	bl	_udelay
	ldr	w0, [x21]
	ldr	w4, [x22]
	add	x1, sp, #8
	mov	w2, #8
	mov	x3, x19
	mov	w5, #0
	bl	_vmbus_sendpacket
	cbz	w0, LBB0_11
; %bb.3:
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.4:
	mov	w8, #2
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_err
	mov	w0, #100
	bl	_udelay
	ldr	w0, [x21]
	ldr	w4, [x22]
	add	x1, sp, #8
	mov	w2, #8
	mov	x3, x19
	mov	w5, #0
	bl	_vmbus_sendpacket
	cbz	w0, LBB0_11
; %bb.5:
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.6:
	mov	w8, #3
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_err
	mov	w0, #100
	bl	_udelay
	ldr	w0, [x21]
	ldr	w4, [x22]
	add	x1, sp, #8
	mov	w2, #8
	mov	x3, x19
	mov	w5, #0
	bl	_vmbus_sendpacket
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w8, [x23]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.8:
	mov	w8, #4
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_err
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_err
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NVSP_MSG1_TYPE_SEND_RNDIS_PKT_COMPLETE,4,2 ; @NVSP_MSG1_TYPE_SEND_RNDIS_PKT_COMPLETE
	.comm	_VM_PKT_COMP,4,2                ; @VM_PKT_COMP
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to send receive completion pkt (tid %llx)...retrying %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"unable to send receive completion pkt (tid %llx)...give up retrying\n"

l_.str.2:                               ; @.str.2
	.asciz	"unable to send receive completion pkt - %llx\n"

	.no_dead_strip	_netvsc_send_recv_completion
.subsections_via_symbols
