	.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
	subq	$24, %rsp
	.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, %rbx
	movq	%rdi, %r12
	movq	8(%rsi), %r15
	movq	(%r15), %rdi
	callq	_le16_to_cpu
	testq	%rax, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %r13
	cmpq	%r14, (%rcx,%rax)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rdi
	callq	_le16_to_cpu
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
LBB0_5:
	movl	8(%r12), %esi
	movq	(%r12), %rcx
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_cdc_ncm_align_tail
	movq	(%r12), %rax
	movq	(%rbx), %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	%rdi, %rcx
	subq	%rcx, %rax
	movq	_CDC_NCM_NDP_SIZE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jb	LBB0_8
## %bb.6:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_le16
	leaq	16(%r13), %rcx
	testq	%r13, %r13
	cmoveq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rax, (%rcx)
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_skb_put
	movq	(%r12), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_memset
	movq	%rax, %r15
	movq	%r14, (%rax)
	movl	$28, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r15)
	jmp	LBB0_8
LBB0_7:
	movq	%r13, %r15
LBB0_8:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CDC_NCM_NDP_SIZE,8,3           ## @CDC_NCM_NDP_SIZE
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	ldr	x24, [x1, #8]
	ldr	x0, [x24]
	bl	_le16_to_cpu
	cbz	x0, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x21, x8, x0
	ldr	x8, [x21]
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x21, #16]
	bl	_le16_to_cpu
	cbnz	x0, LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x21, #0
LBB0_4:
	ldr	w1, [x23, #8]
	ldr	x3, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_cdc_ncm_align_tail
	ldr	x8, [x23]
	ldr	x0, [x20]
	add	x9, x0, x22
	sub	x8, x8, x9
Lloh0:
	adrp	x22, _CDC_NCM_NDP_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CDC_NCM_NDP_SIZE@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.hs	LBB0_6
; %bb.5:
	mov	x21, #0
	b	LBB0_7
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_le16
	add	x8, x21, #16
	cmp	x21, #0
	csel	x8, x24, x8, eq
	str	x0, [x8]
	ldr	x1, [x22]
	mov	x0, x20
	bl	_skb_put
	ldr	x2, [x22]
	mov	w1, #0
	bl	_memset
	mov	x21, x0
	str	x19, [x0]
	mov	w0, #28
	bl	_cpu_to_le16
	str	x0, [x21, #8]
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CDC_NCM_NDP_SIZE,8,3           ; @CDC_NCM_NDP_SIZE
	.no_dead_strip	_cdc_ncm_ndp
.subsections_via_symbols
