	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdc_ncm_ndp
_cdc_ncm_ndp:                           ## @cdc_ncm_ndp
	.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	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdi
	callq	_le16_to_cpu
	movl	(%r15), %ecx
	movq	_CDC_NCM_FLAG_NDP_TO_END@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	je	LBB0_4
## %bb.1:
	movq	24(%r15), %rbx
	movq	(%rbx), %rsi
	cmpq	%r14, %rsi
	je	LBB0_16
## %bb.2:
	testq	%rsi, %rsi
	jne	LBB0_3
LBB0_4:
	testq	%rax, %rax
	je	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	leaq	(%rcx,%rax), %rbx
	cmpq	%r14, (%rcx,%rax)
	je	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rdi
	callq	_le16_to_cpu
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:
	movl	(%r15), %ecx
	movq	_CDC_NCM_FLAG_NDP_TO_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ecx, %edx
	jne	LBB0_10
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
	testl	%ecx, %edx
	jne	LBB0_10
LBB0_9:
	movl	32(%r15), %esi
	movq	8(%r15), %rcx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_cdc_ncm_align_tail
LBB0_10:
	movq	8(%r15), %rax
	movq	(%r12), %rdi
	addq	%rdi, %r13
	subq	%r13, %rax
	cmpq	16(%r15), %rax
	jae	LBB0_12
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_12:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_le16
	leaq	16(%rbx), %rcx
	testq	%rbx, %rbx
	cmoveq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rax, (%rcx)
	movq	_CDC_NCM_FLAG_NDP_TO_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_14
## %bb.13:
	movq	24(%r15), %rbx
	jmp	LBB0_15
LBB0_14:
	movq	16(%r15), %rsi
	movq	%r12, %rdi
	callq	_skb_put_zero
	movq	%rax, %rbx
LBB0_15:
	movq	%r14, (%rbx)
	movl	$28, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CDC_NCM_FLAG_NDP_TO_END,4,2    ## @CDC_NCM_FLAG_NDP_TO_END
	.no_dead_strip	_cdc_ncm_ndp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdc_ncm_ndp
_cdc_ncm_ndp:                           ; @cdc_ncm_ndp
	.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	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x1, #8]
	ldr	x0, [x24]
	bl	_le16_to_cpu
	ldr	w8, [x21]
Lloh0:
	adrp	x25, _CDC_NCM_FLAG_NDP_TO_END@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CDC_NCM_FLAG_NDP_TO_END@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x22, [x21, #24]
	ldr	x10, [x22]
	cmp	x10, x19
	b.eq	LBB0_15
; %bb.2:
	cbnz	x10, LBB0_10
LBB0_3:
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x22, x8, x0
	ldr	x8, [x22]
	cmp	x8, x19
	b.eq	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22, #16]
	bl	_le16_to_cpu
	cbnz	x0, LBB0_4
; %bb.6:
	ldr	w8, [x21]
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_9
	b	LBB0_8
LBB0_7:
	mov	x22, #0
	tst	w9, w8
	b.ne	LBB0_9
LBB0_8:
	ldr	w1, [x21, #32]
	ldr	x3, [x21, #8]
	mov	x0, x20
	mov	w2, #0
	bl	_cdc_ncm_align_tail
LBB0_9:
	ldr	x0, [x20]
	ldp	x8, x9, [x21, #8]
	add	x10, x0, x23
	sub	x8, x8, x10
	cmp	x8, x9
	b.hs	LBB0_11
LBB0_10:
	mov	x22, #0
	b	LBB0_15
LBB0_11:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_le16
	add	x8, x22, #16
	cmp	x22, #0
	csel	x8, x24, x8, eq
	str	x0, [x8]
	ldr	w8, [x21]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	x22, [x21, #24]
	b	LBB0_14
LBB0_13:
	ldr	x1, [x21, #16]
	mov	x0, x20
	bl	_skb_put_zero
	mov	x22, x0
LBB0_14:
	str	x19, [x22]
	mov	w0, #28
	bl	_cpu_to_le16
	str	x0, [x22, #8]
LBB0_15:
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_CDC_NCM_FLAG_NDP_TO_END,4,2    ; @CDC_NCM_FLAG_NDP_TO_END
	.no_dead_strip	_cdc_ncm_ndp
.subsections_via_symbols
