	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_rx_verify_ndp16        ## -- Begin function cdc_ncm_rx_verify_ndp16
	.p2align	4, 0x90
_cdc_ncm_rx_verify_ndp16:               ## @cdc_ncm_rx_verify_ndp16
	.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	%esi, %r12d
	movq	%rdi, %r15
	movl	16(%rdi), %edi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movslq	%r12d, %r13
	leaq	4(%r13), %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_2
## %bb.1:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%r12d, %r8d
	callq	_netif_dbg
	jmp	LBB0_6
LBB0_2:
	movq	8(%r15), %r12
	movl	(%r12,%r13), %edi
	callq	_le16_to_cpu
	movq	_USB_CDC_NCM_NDP16_LENGTH_MIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_4
## %bb.3:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13,%r12), %edi
	callq	_le16_to_cpu
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_netif_dbg
	jmp	LBB0_6
LBB0_4:
	movl	(%r13,%r12), %edi
	callq	_le16_to_cpu
	cltq
	movabsq	$17179869180, %rbx              ## imm = 0x3FFFFFFFC
	addq	%rax, %rbx
	shrq	$2, %rbx
	movslq	%ebx, %rax
	decl	%ebx
	shlq	$2, %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_6
## %bb.5:
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	callq	_netif_dbg
	xorl	%ebx, %ebx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_rx_err,4,2                     ## @rx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid NDP offset  <%u>\n"

	.comm	_USB_CDC_NCM_NDP16_LENGTH_MIN,4,2 ## @USB_CDC_NCM_NDP16_LENGTH_MIN
L_.str.1:                               ## @.str.1
	.asciz	"invalid DPT16 length <%u>\n"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid nframes = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_rx_verify_ndp16        ; -- Begin function cdc_ncm_rx_verify_ndp16
	.p2align	2
_cdc_ncm_rx_verify_ndp16:               ; @cdc_ncm_rx_verify_ndp16
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x21, x0
	ldr	w0, [x0, #16]
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x23, _EINVAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
	ldr	w8, [x23]
	neg	w19, w8
	sxtw	x24, w22
	add	x8, x24, #4
	ldrsw	x9, [x21]
	cmp	x8, x9
	b.ls	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _rx_err@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x4, x22
	bl	_netif_dbg
	b	LBB0_6
LBB0_2:
	ldr	x25, [x21, #8]
	ldr	w0, [x25, x24]
	bl	_le16_to_cpu
Lloh7:
	adrp	x8, _USB_CDC_NCM_NDP16_LENGTH_MIN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USB_CDC_NCM_NDP16_LENGTH_MIN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _rx_err@GOTPAGE
Lloh11:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	ldr	w22, [x20]
	ldr	w0, [x24, x25]
	bl	_le16_to_cpu
	mov	x4, x0
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_netif_dbg
	b	LBB0_6
LBB0_4:
	ldr	w0, [x24, x25]
	bl	_le16_to_cpu
	mov	x8, #17179869180
	add	x8, x8, w0, sxtw
	lsr	x8, x8, #2
	sub	w19, w8, #1
	sbfiz	x8, x19, #2, #32
	add	x8, x8, #4
	ldrsw	x9, [x21]
	cmp	x8, x9
	b.ls	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _rx_err@GOTPAGE
Lloh16:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh18:
	adrp	x3, l_.str.2@PAGE
Lloh19:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	bl	_netif_dbg
	ldr	w8, [x23]
	neg	w19, w8
LBB0_6:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_rx_err,4,2                     ; @rx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid NDP offset  <%u>\n"

	.comm	_USB_CDC_NCM_NDP16_LENGTH_MIN,4,2 ; @USB_CDC_NCM_NDP16_LENGTH_MIN
l_.str.1:                               ; @.str.1
	.asciz	"invalid DPT16 length <%u>\n"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid nframes = %d\n"

.subsections_via_symbols
