	.file	"extr_rndis_filter.c_rndis_filter_receive_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"rndis message buffer overflow detected (got %u, min %u)...dropping this message!\n"
	.text
	.p2align 4
	.type	rndis_filter_receive_data, @function
rndis_filter_receive_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR RNDIS_HEADER_SIZE[rip]
	add	rbx, QWORD PTR [rcx]
	sub	r8, rbx
	cmp	QWORD PTR 8[rcx], r8
	mov	QWORD PTR [rsp], rsi
	setg	dil
	mov	r14, r8
	call	unlikely@PLT
	test	rax, rax
	jne	.L24
	mov	esi, DWORD PTR IEEE_8021Q_INFO[rip]
	xor	edx, edx
	mov	rdi, r15
	mov	r13, rax
	add	rbx, r15
	call	rndis_get_ppi@PLT
	mov	esi, DWORD PTR TCPIP_CHKSUM_PKTINFO[rip]
	xor	edx, edx
	mov	rdi, r15
	mov	r14, rax
	call	rndis_get_ppi@PLT
	mov	esi, DWORD PTR RNDIS_PKTINFO_ID[rip]
	mov	edx, 1
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rax
	call	rndis_get_ppi@PLT
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR RNDIS_PKTINFO_SUBALLOC[rip], eax
	je	.L4
	test	DWORD PTR RNDIS_PKTINFO_1ST_FRAG[rip], eax
	jne	.L25
	cmp	QWORD PTR 0[rbp], 0
	je	.L7
.L6:
	test	DWORD PTR RNDIS_PKTINFO_LAST_FRAG[rip], eax
	jne	.L8
	cmp	QWORD PTR 8[rbp], 0
	jne	.L7
	xor	edi, edi
	mov	rax, QWORD PTR NVSP_RSC_MAX[rip]
	cmp	QWORD PTR 0[rbp], rax
	setge	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L7
	mov	r8, QWORD PTR 8[r15]
	mov	rdx, QWORD PTR 8[rsp]
	mov	rcx, rbx
	mov	rsi, r14
	mov	rdi, rbp
	call	rsc_add_data@PLT
	mov	eax, DWORD PTR NVSP_STAT_SUCCESS[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	QWORD PTR 0[rbp], 0
.L10:
	xor	edi, edi
	cmp	r13, QWORD PTR NVSP_RSC_MAX[rip]
	setge	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L26
.L7:
	mov	QWORD PTR 0[rbp], 0
	mov	eax, DWORD PTR NVSP_STAT_FAIL[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rcx, QWORD PTR 8[r15]
	mov	rdx, r14
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	netdev_err@PLT
	mov	eax, DWORD PTR NVSP_STAT_FAIL[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	QWORD PTR 0[rbp], 0
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	mov	r8, QWORD PTR 8[r15]
	mov	rdx, QWORD PTR 8[rsp]
	mov	rcx, rbx
	mov	rsi, r14
	mov	rdi, rbp
	call	rsc_add_data@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rdx, rbp
	mov	rdi, r12
	call	netvsc_recv_callback@PLT
	mov	QWORD PTR 0[rbp], 0
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r13, QWORD PTR 0[rbp]
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	rndis_filter_receive_data, .-rndis_filter_receive_data
	.comm	TCPIP_CHKSUM_PKTINFO,4,4
	.comm	RNDIS_PKTINFO_SUBALLOC,4,4
	.comm	RNDIS_PKTINFO_LAST_FRAG,4,4
	.comm	RNDIS_PKTINFO_ID,4,4
	.comm	RNDIS_PKTINFO_1ST_FRAG,4,4
	.comm	RNDIS_HEADER_SIZE,8,8
	.comm	NVSP_STAT_SUCCESS,4,4
	.comm	NVSP_STAT_FAIL,4,4
	.comm	NVSP_RSC_MAX,8,8
	.comm	IEEE_8021Q_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rndis_filter.c_rndis_filter_receive_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rndis message buffer overflow detected (got %u, min"
	.ascii	" %u)...dropping this message!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rndis_filter_receive_data, %function
rndis_filter_receive_data:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r3
	ldr	r3, .L30
	ldr	r6, [r4]
	ldr	r3, [r3]
	sub	sp, sp, #12
	ldr	r8, [sp, #48]
	add	r6, r6, r3
	mov	r9, r0
	ldr	r0, [r4, #4]
	sub	r8, r8, r6
	cmp	r0, r8
	movle	r0, #0
	movgt	r0, #1
	mov	r10, r1
	mov	r7, r2
	bl	unlikely
	subs	r5, r0, #0
	bne	.L27
	ldr	r3, .L30+4
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	rndis_get_ppi
	ldr	r3, .L30+8
	mov	r2, r5
	ldr	r1, [r3]
	mov	r8, r0
	mov	r0, r4
	bl	rndis_get_ppi
	ldr	r3, .L30+12
	mov	fp, r0
	mov	r2, #1
	mov	r0, r4
	ldr	r1, [r3]
	bl	rndis_get_ppi
	cmp	r0, #0
	add	r6, r4, r6
	beq	.L4
	ldr	r2, .L30+16
	ldr	r3, [r0]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L4
	ldr	r2, .L30+20
	ldr	r2, [r2]
	tst	r3, r2
	strne	r5, [r7]
	beq	.L28
.L6:
	ldr	r2, .L30+24
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L8
	ldr	r3, [r7, #4]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L30+28
	ldr	r0, [r7]
	ldr	r3, [r3]
	cmp	r0, r3
	movlt	r0, #0
	movge	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L7
	ldr	r2, [r4, #4]
	mov	r3, r6
	str	r2, [sp]
	mov	r1, r8
	mov	r2, fp
	mov	r0, r7
	bl	rsc_add_data
	ldr	r3, .L30+32
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r3, #0
	str	r3, [r7]
.L10:
	ldr	r3, .L30+28
	ldr	r0, [r3]
	cmp	r5, r0
	movlt	r0, #0
	movge	r0, #1
	bl	unlikely
	subs	r5, r0, #0
	beq	.L29
.L7:
	mov	r2, #0
	ldr	r3, .L30+36
	str	r2, [r7]
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	ldr	r3, [r4, #4]
	mov	r2, r8
	mov	r0, r9
	ldr	r1, .L30+40
	bl	netdev_err
	ldr	r3, .L30+36
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L28:
	ldr	r2, [r7]
	cmp	r2, #0
	bne	.L6
	b	.L7
.L29:
	ldr	r2, [r4, #4]
	mov	r3, r6
	mov	r1, r8
	str	r2, [sp]
	mov	r0, r7
	mov	r2, fp
	bl	rsc_add_data
	mov	r2, r7
	mov	r1, r10
	mov	r0, r9
	bl	netvsc_recv_callback
	str	r5, [r7]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r5, [r7]
	b	.L10
.L31:
	.align	2
.L30:
	.word	RNDIS_HEADER_SIZE
	.word	IEEE_8021Q_INFO
	.word	TCPIP_CHKSUM_PKTINFO
	.word	RNDIS_PKTINFO_ID
	.word	RNDIS_PKTINFO_SUBALLOC
	.word	RNDIS_PKTINFO_1ST_FRAG
	.word	RNDIS_PKTINFO_LAST_FRAG
	.word	NVSP_RSC_MAX
	.word	NVSP_STAT_SUCCESS
	.word	NVSP_STAT_FAIL
	.word	.LC0
	.size	rndis_filter_receive_data, .-rndis_filter_receive_data
	.comm	TCPIP_CHKSUM_PKTINFO,4,4
	.comm	RNDIS_PKTINFO_SUBALLOC,4,4
	.comm	RNDIS_PKTINFO_LAST_FRAG,4,4
	.comm	RNDIS_PKTINFO_ID,4,4
	.comm	RNDIS_PKTINFO_1ST_FRAG,4,4
	.comm	RNDIS_HEADER_SIZE,4,4
	.comm	NVSP_STAT_SUCCESS,4,4
	.comm	NVSP_STAT_FAIL,4,4
	.comm	NVSP_RSC_MAX,4,4
	.comm	IEEE_8021Q_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
