	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ndp_to_end_store
_ndp_to_end_store:                      ## @ndp_to_end_store
	.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, %r12
	movq	%rdx, %rbx
	callq	_to_net_dev
	movl	%eax, %edi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %rax
	movq	(%rax), %r13
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strtobool
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subq	(%rax), %r12
	jmp	LBB0_12
LBB0_3:
	movl	-44(%rbp), %eax
	movq	_CDC_NCM_FLAG_NDP_TO_END@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	andl	(%r13), %ecx
	cmpl	%ecx, %eax
	je	LBB0_12
## %bb.4:
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	cmpq	$0, 8(%r13)
	jne	LBB0_8
## %bb.6:
	movl	16(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:
	movl	(%r14), %edi
	callq	_netif_tx_lock_bh
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_usbnet_start_xmit
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	cmpl	$0, -44(%rbp)
	movl	(%rbx), %eax
	je	LBB0_10
## %bb.9:
	orl	(%r13), %eax
	jmp	LBB0_11
LBB0_10:
	notl	%eax
	andl	(%r13), %eax
LBB0_11:
	movl	%eax, (%r13)
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movl	(%r14), %edi
	callq	_netif_tx_unlock_bh
LBB0_12:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_CDC_NCM_FLAG_NDP_TO_END,4,2    ## @CDC_NCM_FLAG_NDP_TO_END
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.no_dead_strip	_ndp_to_end_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ndp_to_end_store
_ndp_to_end_store:                      ; @ndp_to_end_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x3
	mov	x21, x2
	bl	_to_net_dev
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	add	x1, sp, #12
	mov	x0, x21
	bl	_strtobool
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_11
LBB0_3:
	ldr	w8, [sp, #12]
	ldr	w9, [x22]
Lloh2:
	adrp	x23, _CDC_NCM_FLAG_NDP_TO_END@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CDC_NCM_FLAG_NDP_TO_END@GOTPAGEOFF]
	ldr	w10, [x23]
	and	w9, w10, w9
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.4:
	cbz	w8, LBB0_7
; %bb.5:
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x22, #16]
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x22, #8]
	cbz	x0, LBB0_12
LBB0_7:
	ldr	w0, [x20]
	bl	_netif_tx_lock_bh
	ldr	w1, [x20]
	mov	x0, #0
	bl	_usbnet_start_xmit
	add	x21, x22, #4
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	w9, [sp, #12]
	ldr	w8, [x23]
	cbz	w9, LBB0_9
; %bb.8:
	ldr	w9, [x22]
	orr	w8, w9, w8
	b	LBB0_10
LBB0_9:
	ldr	w9, [x22]
	bic	w8, w9, w8
LBB0_10:
	str	w8, [x22]
	mov	x0, x21
	bl	_spin_unlock_bh
	ldr	w0, [x20]
	bl	_netif_tx_unlock_bh
LBB0_11:
	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
	add	sp, sp, #80
	ret
LBB0_12:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_CDC_NCM_FLAG_NDP_TO_END,4,2    ; @CDC_NCM_FLAG_NDP_TO_END
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.no_dead_strip	_ndp_to_end_store
.subsections_via_symbols
