	.file	"extr_cdc_ncm.c_cdc_ncm_rx_verify_ndp16.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid NDP offset  <%u>\n"
.LC1:
	.string	"invalid DPT16 length <%u>\n"
.LC2:
	.string	"Invalid nframes = %d\n"
	.text
	.p2align 4
	.globl	cdc_ncm_rx_verify_ndp16
	.type	cdc_ncm_rx_verify_ndp16, @function
cdc_ncm_rx_verify_ndp16:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movsx	rax, esi
	mov	r12d, DWORD PTR EINVAL[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	lea	rcx, 8[rax]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movsx	rdx, DWORD PTR [rdi]
	neg	r12d
	cmp	rcx, rdx
	ja	.L7
	add	rax, QWORD PTR 8[rdi]
	mov	rbp, rdi
	mov	edi, DWORD PTR [rax]
	mov	rbx, rax
	call	le16_to_cpu@PLT
	cmp	eax, DWORD PTR USB_CDC_NCM_NDP16_LENGTH_MIN[rip]
	jl	.L8
	mov	edi, DWORD PTR [rbx]
	call	le16_to_cpu@PLT
	movsx	r12, eax
	sub	r12, 8
	shr	r12, 2
	sub	r12d, 1
	movsx	rax, r12d
	lea	rdx, 8[0+rax*4]
	movsx	rax, DWORD PTR 0[rbp]
	cmp	rdx, rax
	ja	.L9
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rbx]
	call	le32_to_cpu@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	pr_debug@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
.L3:
	endbr64
	mov	esi, r12d
	lea	rdi, .LC2[rip]
	call	pr_debug@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cdc_ncm_rx_verify_ndp16, .-cdc_ncm_rx_verify_ndp16
	.comm	USB_CDC_NCM_NDP16_LENGTH_MIN,4,4
	.comm	EINVAL,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_cdc_ncm.c_cdc_ncm_rx_verify_ndp16.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid NDP offset  <%u>\012\000"
	.align	2
.LC1:
	.ascii	"invalid DPT16 length <%u>\012\000"
	.align	2
.LC2:
	.ascii	"Invalid nframes = %d\012\000"
	.text
	.align	2
	.global	cdc_ncm_rx_verify_ndp16
	.syntax unified
	.arm
	.fpu softvfp
	.type	cdc_ncm_rx_verify_ndp16, %function
cdc_ncm_rx_verify_ndp16:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L10
	ldr	r3, [r0]
	ldr	r4, [r8]
	add	r2, r1, #8
	cmp	r2, r3
	rsb	r4, r4, #0
	bhi	.L7
	ldr	r7, [r0, #4]
	mov	r6, r0
	ldr	r0, [r1, r7]
	mov	r5, r1
	bl	le16_to_cpu
	ldr	r3, .L10+4
	add	r2, r5, r7
	ldr	r3, [r3]
	cmp	r0, r3
	blt	.L8
	ldr	r0, [r5, r7]
	bl	le16_to_cpu
	sub	r4, r0, #8
	lsr	r4, r4, #2
	ldr	r3, [r6]
	add	r2, r4, #1
	cmp	r3, r2, lsl #2
	sub	r4, r4, #1
	bcc	.L9
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r0, [r2, #4]
	bl	le32_to_cpu
	mov	r1, r0
	ldr	r0, .L10+8
	bl	pr_debug
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, .L10+12
	bl	pr_debug
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
.L3:
	mov	r1, r4
	ldr	r0, .L10+16
	bl	pr_debug
	ldr	r4, [r8]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	EINVAL
	.word	USB_CDC_NCM_NDP16_LENGTH_MIN
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	cdc_ncm_rx_verify_ndp16, .-cdc_ncm_rx_verify_ndp16
	.comm	USB_CDC_NCM_NDP16_LENGTH_MIN,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
