	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_ppp_constructor
_ng_ppp_constructor:                    ## @ng_ppp_constructor
	.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	%edi, %ebx
	movq	_M_NETGRAPH_PPP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$40, %edi
	callq	_malloc
	movq	%rax, %r14
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_NG_NODE_SET_PRIVATE
	leaq	36(%r14), %rdi
	callq	_TAILQ_INIT
	leaq	32(%r14), %r12
	movq	%r12, %rdi
	callq	_TAILQ_INIT
	movq	_MP_MAX_QUEUE_LEN@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rsi
	addq	%rbx, %rsi
	movq	_f_qent@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_TAILQ_INSERT_TAIL
	incq	%r15
	movslq	(%r13), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	movq	_NG_PPP_MAX_LINKS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.4:
	movq	16(%r14), %rcx
	xorl	%edx, %edx
	movq	_MP_NOSEQ@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%edi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rdi
	cmpq	%rdi, %rdx
	jl	LBB0_5
LBB0_6:
	leaq	8(%r14), %rdi
	callq	_ng_callout_init
	movq	%r14, %rdi
	addq	$4, %rdi
	movq	_MTX_DEF@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_mtx_init
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_NETGRAPH_PPP,4,2             ## @M_NETGRAPH_PPP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_MP_MAX_QUEUE_LEN,4,2           ## @MP_MAX_QUEUE_LEN
	.comm	_f_qent,4,2                     ## @f_qent
	.comm	_NG_PPP_MAX_LINKS,4,2           ## @NG_PPP_MAX_LINKS
	.comm	_MP_NOSEQ,4,2                   ## @MP_NOSEQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ng_ppp_recv"

	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
L_.str.1:                               ## @.str.1
	.asciz	"ng_ppp_xmit"

	.no_dead_strip	_ng_ppp_constructor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_ppp_constructor
_ng_ppp_constructor:                    ; @ng_ppp_constructor
	.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	x20, x0
Lloh0:
	adrp	x8, _M_NETGRAPH_PPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_NETGRAPH_PPP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #40
	bl	_malloc
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_NG_NODE_SET_PRIVATE
	add	x0, x19, #36
	bl	_TAILQ_INIT
	add	x20, x19, #32
	mov	x0, x20
	bl	_TAILQ_INIT
Lloh9:
	adrp	x21, _MP_MAX_QUEUE_LEN@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MP_MAX_QUEUE_LEN@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh11:
	adrp	x24, _f_qent@GOTPAGE
Lloh12:
	ldr	x24, [x24, _f_qent@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x1, x8, x22
	ldr	w2, [x24]
	mov	x0, x20
	bl	_TAILQ_INSERT_TAIL
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
Lloh13:
	adrp	x8, _NG_PPP_MAX_LINKS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NG_PPP_MAX_LINKS@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x9, #0
	ldr	x10, [x19, #16]
Lloh15:
	adrp	x11, _MP_NOSEQ@GOTPAGE
Lloh16:
	ldr	x11, [x11, _MP_NOSEQ@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	str	w12, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_5
LBB0_6:
	add	x0, x19, #8
	bl	_ng_callout_init
	add	x0, x19, #4
Lloh17:
	adrp	x20, _MTX_DEF@GOTPAGE
Lloh18:
	ldr	x20, [x20, _MTX_DEF@GOTPAGEOFF]
	ldr	w3, [x20]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
	ldr	w3, [x20]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_mtx_init
	mov	w0, #0
	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	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_M_NETGRAPH_PPP,4,2             ; @M_NETGRAPH_PPP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_MP_MAX_QUEUE_LEN,4,2           ; @MP_MAX_QUEUE_LEN
	.comm	_f_qent,4,2                     ; @f_qent
	.comm	_NG_PPP_MAX_LINKS,4,2           ; @NG_PPP_MAX_LINKS
	.comm	_MP_NOSEQ,4,2                   ; @MP_NOSEQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ng_ppp_recv"

	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
l_.str.1:                               ; @.str.1
	.asciz	"ng_ppp_xmit"

	.no_dead_strip	_ng_ppp_constructor
.subsections_via_symbols
