	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rndis_filter_receive           ## -- Begin function rndis_filter_receive
	.p2align	4, 0x90
_rndis_filter_receive:                  ## @rndis_filter_receive
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_hv_get_drvdata
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %r13
	movq	8(%rax), %r14
	testq	%r13, %r13
	je	LBB0_5
## %bb.2:
	movq	(%r13), %rax
	movq	_RNDIS_DEV_UNINITIALIZED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.8:
	negl	%ebx
	movq	_NVSP_STAT_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	jmp	LBB0_17
LBB0_10:
	movq	8(%r15), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_dump_rndis_message
	movl	(%r12), %edx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_13
## %bb.11:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_rndis_filter_receive_response
	jmp	LBB0_16
LBB0_13:
	movl	4(%r12), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_17
LBB0_14:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_rndis_filter_receive_data
	jmp	LBB0_16
LBB0_15:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_rndis_filter_receive_indicate_status
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"got rndis message but no rndis device - dropping this message!\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_RNDIS_DEV_UNINITIALIZED,8,3    ## @RNDIS_DEV_UNINITIALIZED
L_.str.1:                               ## @.str.1
	.asciz	"got rndis message but rndis device uninitialized...dropping this message!\n"

L_.str.2:                               ## @.str.2
	.asciz	"unhandled rndis message (type %u len %u)\n"

	.comm	_NVSP_STAT_FAIL,4,2             ## @NVSP_STAT_FAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rndis_filter_receive           ; -- Begin function rndis_filter_receive
	.p2align	2
_rndis_filter_receive:                  ; @rndis_filter_receive
	.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	x19, x1
	mov	x23, x0
	bl	_hv_get_drvdata
	cbz	x0, LBB0_4
; %bb.1:
	ldp	x21, x20, [x0]
	cbz	x21, LBB0_6
; %bb.2:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _RNDIS_DEV_UNINITIALIZED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RNDIS_DEV_UNINITIALIZED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
LBB0_5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	mov	x0, x20
	bl	_netdev_err
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
LBB0_8:
	neg	w0, w8
Lloh13:
	adrp	x8, _NVSP_STAT_FAIL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NVSP_STAT_FAIL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_9:
	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
LBB0_10:
	ldr	x22, [x19, #8]
	mov	x0, x23
	mov	x1, x22
	bl	_dump_rndis_message
	ldr	w8, [x22]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_13
; %bb.11:
Lloh16:
	adrp	x8, lJTI0_0@PAGE
Lloh17:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
	mov	x0, x21
	mov	x1, x22
	bl	_rndis_filter_receive_response
	mov	w0, #0
	b	LBB0_9
LBB0_13:
	ldr	w9, [x22, #4]
	stp	x8, x9, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	mov	w0, #0
	b	LBB0_9
LBB0_14:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	_rndis_filter_receive_data
	mov	w0, #0
	b	LBB0_9
LBB0_15:
	mov	x0, x21
	mov	x1, x22
	bl	_rndis_filter_receive_indicate_status
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"got rndis message but no rndis device - dropping this message!\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_RNDIS_DEV_UNINITIALIZED,8,3    ; @RNDIS_DEV_UNINITIALIZED
l_.str.1:                               ; @.str.1
	.asciz	"got rndis message but rndis device uninitialized...dropping this message!\n"

l_.str.2:                               ; @.str.2
	.asciz	"unhandled rndis message (type %u len %u)\n"

	.comm	_NVSP_STAT_FAIL,4,2             ; @NVSP_STAT_FAIL
.subsections_via_symbols
