	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncp_Init                       ## -- Begin function ncp_Init
	.p2align	4, 0x90
_ncp_Init:                              ## @ncp_Init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rdi)
	movq	$0, 64(%rdi)
	movq	_NDEFTCPPORTS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	shll	$2, %edi
	callq	_malloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edx
	movl	%edx, 52(%rbx)
	movl	%edx, 48(%rbx)
	movq	_default_urgent_tcp_ports@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	shll	$2, %edx
	movq	%rax, %rdi
	callq	_memcpy
	jmp	LBB0_3
LBB0_1:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	movq	$0, 48(%rbx)
LBB0_3:
	movl	$1, 16(%rbx)
	leaq	8(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	$0, 40(%rbx)
	movq	%r14, %rsi
	callq	_mp_Init
	leaq	4(%rbx), %rdi
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	movq	%r14, %rsi
	movq	%r14, %rcx
	callq	_ipcp_Init
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipv6cp_Init                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_NDEFTCPPORTS,4,2               ## @NDEFTCPPORTS
	.comm	_LogERROR,4,2                   ## @LogERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ncp_Init: Out of memory allocating urgent ports\n"

	.comm	_default_urgent_tcp_ports,4,2   ## @default_urgent_tcp_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncp_Init                       ; -- Begin function ncp_Init
	.p2align	2
_ncp_Init:                              ; @ncp_Init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #72]
	str	xzr, [x0, #64]
Lloh3:
	adrp	x21, _NDEFTCPPORTS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NDEFTCPPORTS@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w0, w8, #2
	bl	_malloc
	str	x0, [x20, #56]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	stp	w8, w8, [x20, #48]
Lloh5:
	adrp	x9, _default_urgent_tcp_ports@GOTPAGE
Lloh6:
	ldr	x9, [x9, _default_urgent_tcp_ports@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	lsl	w2, w8, #2
	bl	_memcpy
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _LogERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	str	xzr, [x20, #48]
LBB0_3:
	mov	w8, #1
	str	w8, [x20, #16]
	add	x0, x20, #8
	stp	xzr, xzr, [x20, #32]
	str	xzr, [x20, #24]
	mov	x1, x19
	bl	_mp_Init
	add	x0, x20, #4
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
	mov	x1, x19
	mov	x3, x19
	bl	_ipcp_Init
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ipv6cp_Init
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_NDEFTCPPORTS,4,2               ; @NDEFTCPPORTS
	.comm	_LogERROR,4,2                   ; @LogERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ncp_Init: Out of memory allocating urgent ports\n"

	.comm	_default_urgent_tcp_ports,4,2   ; @default_urgent_tcp_ports
.subsections_via_symbols
