	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nptv6_create
_nptv6_create:                          ## @nptv6_create
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	l_.str(%rip), %rbx
	movq	%rbx, -120(%rbp)
	movl	$0, -100(%rbp)
	leaq	-96(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$44, %edx
	callq	_memset
	movl	%r14d, -56(%rbp)
	testl	%r13d, %r13d
	jle	LBB0_28
## %bb.1:
	movq	%rbx, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_MAX
	leaq	L_.str.8(%rip), %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_warnx
	movl	-100(%rbp), %edi
	movl	-76(%rbp), %esi
	callq	_MAX
	movl	%eax, %r14d
	movl	%eax, -100(%rbp)
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, -76(%rbp)
	movl	%r13d, %r15d
	movq	_NPTV6_HAS_PREFIXLEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	-104(%rbp), %r13d               ## 4-byte Reload
	addl	$-2, %r13d
	addq	$16, %r12
	movq	%r12, %rbx
	movq	-136(%rbp), %r14                ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r12
	testl	%r13d, %r13d
	jle	LBB0_28
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_nptv6newcmds@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_get_token
                                        ## kill: def $eax killed $eax def $rax
	leaq	8(%r12), %rbx
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_27
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, -104(%rbp)               ## 4-byte Spill
	leaq	L_.str.6(%rip), %rdi
	callq	_NEED1
	movq	(%rbx), %rdi
	leaq	-120(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, -100(%rbp)
	movq	-120(%rbp), %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_NEED1
	movq	(%rbx), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-100(%rbp), %rdx
	callq	_nptv6_parse_prefix
	movq	_NPTV6_HAS_INTPREFIX@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_NPTV6_HAS_EXTPREFIX@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_NEED1
	movq	(%rbx), %rdi
	leaq	-68(%rbp), %rsi
	leaq	-100(%rbp), %rdx
	callq	_nptv6_parse_prefix
	movq	_NPTV6_HAS_EXTPREFIX@GOTPCREL(%rip), %rax
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	orl	(%rax), %r15d
	movl	-100(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_26
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, -104(%rbp)               ## 4-byte Spill
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %r13d
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	cmpb	$0, (%r14)
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$8, %eax
	jl	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$65, %eax
	jl	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %r15d
	movl	-100(%rbp), %r14d
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r14d, %r15d
	jne	LBB0_2
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NPTV6_HAS_EXTPREFIX@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	_NEED1
	movq	(%rbx), %rdi
	callq	_strlen
	cmpl	$4, %eax
	jb	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NPTV6_DYNAMIC_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -80(%rbp)
	movq	_NPTV6_HAS_EXTPREFIX@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	-60(%rbp), %edi
	movq	8(%r12), %rsi
	movl	$4, %edx
	callq	_strncpy
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	$-2, %r13d
	addq	$16, %r12
	movq	%r12, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	decl	%r13d
	jmp	LBB0_4
LBB0_28:
	movq	_NPTV6_HAS_INTPREFIX@GOTPCREL(%rip), %rax
	notl	%r15d
	testl	%r15d, (%rax)
	je	LBB0_30
## %bb.29:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_30:
	movq	_NPTV6_HAS_EXTPREFIX@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_32
## %bb.31:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_32:
	movq	_NPTV6_HAS_PREFIXLEN@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_34
## %bb.33:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_34:
	movl	-76(%rbp), %esi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_n2mask
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_APPLY_MASK
	movq	_NPTV6_DYNAMIC_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -80(%rbp)
	jne	LBB0_36
## %bb.35:
	leaq	-68(%rbp), %rdi
	leaq	-112(%rbp), %rsi
	callq	_APPLY_MASK
LBB0_36:
	movabsq	$120259084289, %rax             ## imm = 0x1C00000001
	movq	%rax, -96(%rbp)
	movl	$44, -88(%rbp)
	movl	-72(%rbp), %edi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	$4, %edx
	callq	_strlcpy
	movq	_IP_FW_NPTV6_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-84(%rbp), %rsi
	movl	$44, %edx
	callq	_do_set3
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	callq	_err
LBB0_38:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.39:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.space	2

	.comm	_nptv6newcmds,4,2               ## @nptv6newcmds
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"option"

L_.str.2:                               ## @.str.2
	.asciz	"IPv6 prefix required"

	.comm	_NPTV6_HAS_INTPREFIX,4,2        ## @NPTV6_HAS_INTPREFIX
	.comm	_NPTV6_HAS_EXTPREFIX,4,2        ## @NPTV6_HAS_EXTPREFIX
	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
L_.str.3:                               ## @.str.3
	.asciz	"Only one ext_prefix or ext_if allowed"

L_.str.4:                               ## @.str.4
	.asciz	"Interface name required"

L_.str.5:                               ## @.str.5
	.asciz	"Invalid interface name"

	.comm	_NPTV6_DYNAMIC_PREFIX,4,2       ## @NPTV6_DYNAMIC_PREFIX
L_.str.6:                               ## @.str.6
	.asciz	"IPv6 prefix length required"

L_.str.7:                               ## @.str.7
	.asciz	"wrong prefix length: %s"

L_.str.8:                               ## @.str.8
	.asciz	"Prefix length mismatch (%d vs %d).  It was extended up to %d"

	.comm	_NPTV6_HAS_PREFIXLEN,4,2        ## @NPTV6_HAS_PREFIXLEN
L_.str.9:                               ## @.str.9
	.asciz	"int_prefix required"

L_.str.10:                              ## @.str.10
	.asciz	"ext_prefix or ext_if required"

L_.str.11:                              ## @.str.11
	.asciz	"prefixlen required"

	.comm	_IP_FW_NPTV6_CREATE,4,2         ## @IP_FW_NPTV6_CREATE
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.12:                              ## @.str.12
	.asciz	"nptv6 instance creation failed"

	.no_dead_strip	_nptv6_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nptv6_create
lCPI0_0:
	.long	1                               ; 0x1
	.long	28                              ; 0x1c
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nptv6_create:                          ; @nptv6_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x3
	mov	x20, x2
	mov	x19, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #32]
	str	wzr, [sp, #44]
	add	x23, sp, #56
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #44
	bl	_memset
	str	w19, [sp, #96]
Lloh5:
	adrp	x21, _NPTV6_HAS_EXTPREFIX@GOTPAGE
Lloh6:
	ldr	x21, [x21, _NPTV6_HAS_EXTPREFIX@GOTPAGEOFF]
	cmp	w20, #1
	b.lt	LBB0_26
; %bb.1:
	mov	w26, #0
	add	x8, x23, #28
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh7:
	adrp	x24, l_.str@PAGE
Lloh8:
	add	x24, x24, l_.str@PAGEOFF
Lloh9:
	adrp	x28, _nptv6newcmds@GOTPAGE
Lloh10:
	ldr	x28, [x28, _nptv6newcmds@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str.1@PAGE
Lloh12:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh13:
	adrp	x19, lJTI0_0@PAGE
Lloh14:
	add	x19, x19, lJTI0_0@PAGEOFF
	add	x8, x23, #32
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	x23, x27
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	mov	x1, x23
	bl	_MAX
	mov	x3, x0
Lloh15:
	adrp	x0, l_.str.8@PAGE
Lloh16:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x23
	mov	x2, x25
	bl	_warnx
	ldr	w0, [sp, #44]
	ldr	w1, [sp, #76]
	bl	_MAX
	mov	x25, x0
	str	w0, [sp, #44]
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w25, [sp, #76]
Lloh17:
	adrp	x8, _NPTV6_HAS_PREFIXLEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NPTV6_HAS_PREFIXLEN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w26, w8, w26
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w20, w20, #2
	add	x23, x27, #16
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x23
	cmp	w20, #0
	b.le	LBB0_27
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x28]
	ldr	x1, [x23], #8
	mov	x2, x22
	bl	_get_token
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_25
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_8
	ldrb	w10, [x19, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_NEED1
	ldr	x0, [x23]
	add	x1, sp, #32
	mov	w2, #10
	bl	_strtol
	str	w0, [sp, #44]
	ldr	x24, [sp, #32]
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_NEED1
	ldr	x0, [x23]
	add	x2, sp, #44
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_nptv6_parse_prefix
Lloh24:
	adrp	x8, _NPTV6_HAS_INTPREFIX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NPTV6_HAS_INTPREFIX@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	tst	w8, w26
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh27:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_NEED1
	ldr	x0, [x23]
	add	x2, sp, #44
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_nptv6_parse_prefix
	ldr	w8, [x21]
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	orr	w26, w8, w26
	ldr	w0, [sp, #44]
	cmp	w0, #0
	b.le	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x24]
	cmp	w8, #0
	ccmp	w0, #8, #8, eq
	b.lt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #65
	b.lt	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh34:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	ldr	x8, [x23]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_errx
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w23, [sp, #76]
	ldr	w25, [sp, #44]
	cmp	w23, #1
	b.lt	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w23, w25
	b.ne	LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x23
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	tst	w8, w26
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh39:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_errx
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh44:
	adrp	x0, l_.str.4@PAGE
Lloh45:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_NEED1
	ldr	x0, [x23]
	bl	_strlen
	cmp	w0, #4
	b.lo	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh46:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_errx
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	orr	w26, w8, w26
Lloh51:
	adrp	x8, _NPTV6_DYNAMIC_PREFIX@GOTPAGE
Lloh52:
	ldr	x8, [x8, _NPTV6_DYNAMIC_PREFIX@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	ldr	w9, [sp, #72]
	ldr	w0, [sp, #92]
	orr	w8, w9, w8
	str	w8, [sp, #72]
	ldr	x1, [x27, #8]
	mov	w2, #4
	bl	_strncpy
	b	LBB0_4
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w20, w20, #1
	b	LBB0_5
LBB0_26:
	mov	w26, #0
LBB0_27:
Lloh54:
	adrp	x8, _NPTV6_HAS_INTPREFIX@GOTPAGE
Lloh55:
	ldr	x8, [x8, _NPTV6_HAS_INTPREFIX@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	bics	wzr, w8, w26
	b.eq	LBB0_29
; %bb.28:
Lloh57:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
Lloh60:
	adrp	x1, l_.str.9@PAGE
Lloh61:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_errx
LBB0_29:
	ldr	w8, [x21]
	bics	wzr, w8, w26
	b.eq	LBB0_31
; %bb.30:
Lloh62:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
Lloh65:
	adrp	x1, l_.str.10@PAGE
Lloh66:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_errx
LBB0_31:
Lloh67:
	adrp	x8, _NPTV6_HAS_PREFIXLEN@GOTPAGE
Lloh68:
	ldr	x8, [x8, _NPTV6_HAS_PREFIXLEN@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	bics	wzr, w8, w26
	b.eq	LBB0_33
; %bb.32:
Lloh70:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
Lloh73:
	adrp	x1, l_.str.11@PAGE
Lloh74:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_errx
LBB0_33:
	ldr	w1, [sp, #76]
	add	x0, sp, #48
	bl	_n2mask
	add	x19, sp, #56
	add	x0, x19, #32
	add	x1, sp, #48
	bl	_APPLY_MASK
	ldr	w8, [sp, #72]
Lloh75:
	adrp	x9, _NPTV6_DYNAMIC_PREFIX@GOTPAGE
Lloh76:
	ldr	x9, [x9, _NPTV6_DYNAMIC_PREFIX@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_35
; %bb.34:
	add	x0, x19, #28
	add	x1, sp, #48
	bl	_APPLY_MASK
LBB0_35:
Lloh78:
	adrp	x8, lCPI0_0@PAGE
Lloh79:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #56]
	mov	w8, #44
	str	w8, [sp, #64]
	ldr	w0, [sp, #80]
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	w2, #4
	bl	_strlcpy
Lloh80:
	adrp	x8, _IP_FW_NPTV6_CREATE@GOTPAGE
Lloh81:
	ldr	x8, [x8, _IP_FW_NPTV6_CREATE@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	add	x1, x19, #12
	mov	w2, #44
	bl	_do_set3
	cbz	x0, LBB0_37
; %bb.36:
Lloh83:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh84:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
Lloh86:
	adrp	x1, l_.str.12@PAGE
Lloh87:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_err
LBB0_37:
	ldur	x8, [x29, #-88]
Lloh88:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh89:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh90:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.38:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdr	Lloh78, Lloh79
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_20-LBB0_8)>>2
                                        ; -- End function
l_.str:                                 ; @.str
	.space	2

	.comm	_nptv6newcmds,4,2               ; @nptv6newcmds
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"option"

l_.str.2:                               ; @.str.2
	.asciz	"IPv6 prefix required"

	.comm	_NPTV6_HAS_INTPREFIX,4,2        ; @NPTV6_HAS_INTPREFIX
	.comm	_NPTV6_HAS_EXTPREFIX,4,2        ; @NPTV6_HAS_EXTPREFIX
	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
l_.str.3:                               ; @.str.3
	.asciz	"Only one ext_prefix or ext_if allowed"

l_.str.4:                               ; @.str.4
	.asciz	"Interface name required"

l_.str.5:                               ; @.str.5
	.asciz	"Invalid interface name"

	.comm	_NPTV6_DYNAMIC_PREFIX,4,2       ; @NPTV6_DYNAMIC_PREFIX
l_.str.6:                               ; @.str.6
	.asciz	"IPv6 prefix length required"

l_.str.7:                               ; @.str.7
	.asciz	"wrong prefix length: %s"

l_.str.8:                               ; @.str.8
	.asciz	"Prefix length mismatch (%d vs %d).  It was extended up to %d"

	.comm	_NPTV6_HAS_PREFIXLEN,4,2        ; @NPTV6_HAS_PREFIXLEN
l_.str.9:                               ; @.str.9
	.asciz	"int_prefix required"

l_.str.10:                              ; @.str.10
	.asciz	"ext_prefix or ext_if required"

l_.str.11:                              ; @.str.11
	.asciz	"prefixlen required"

	.comm	_IP_FW_NPTV6_CREATE,4,2         ; @IP_FW_NPTV6_CREATE
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.12:                              ; @.str.12
	.asciz	"nptv6 instance creation failed"

	.no_dead_strip	_nptv6_create
.subsections_via_symbols
