	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nat64lsn_init_instance         ## -- Begin function nat64lsn_init_instance
	.p2align	4, 0x90
_nat64lsn_init_instance:                ## @nat64lsn_init_instance
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	_M_NAT64LSN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %r12
	movq	_M_ZERO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	(%r12), %edx
	movl	$64, %edi
	callq	_malloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_CFG_LOCK_INIT
	movq	%r14, %rdi
	callq	_CALLOUT_LOCK_INIT
	leaq	60(%r14), %rdi
	callq	_STAILQ_INIT
	movq	_curvnet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movl	52(%r14), %edi
	movq	_NAT64STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	callq	_COUNTER_ARRAY_ALLOC
	xorl	%eax, %eax
	callq	_arc4random
	movl	%eax, 48(%r14)
	movq	_NAT64LSN_HOSTS_HSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, (%r14)
	shll	$2, %edi
	movl	(%r15), %esi
	movl	(%rbx), %edx
	orl	(%r12), %edx
	callq	_malloc
	movq	%rax, 40(%r14)
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.1:
	movq	%rax, %rdi
	callq	_CK_SLIST_INIT
	cmpl	$2, (%r14)
	jl	LBB0_4
## %bb.2:
	movl	$1, %r15d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rdi
	addq	%rbx, %rdi
	callq	_CK_SLIST_INIT
	incq	%r15
	movslq	(%r14), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ecx
	movl	%eax, %edx
	negb	%cl
	movl	$1, %ebx
	shll	%cl, %ebx
	movl	$1, %r15d
	movl	%r13d, 4(%r14)
	leal	-1(%rbx), %eax
	orl	%r13d, %eax
	movl	%eax, 8(%r14)
	movl	%edx, 12(%r14)
	leal	(,%rbx,8), %edi
	movq	_M_NAT64LSN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r12), %edx
	callq	_malloc
	movq	%rax, 32(%r14)
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.5:
	movq	%rax, %r12
	movl	%r13d, (%rax)
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_CK_SLIST_INIT
	movq	%r12, %rdi
	callq	_ALIAS_LOCK_INIT
	cmpl	$2, %ebx
	cmovgel	%ebx, %r15d
	jl	LBB0_8
## %bb.6:
	shlq	$3, %r15
	incl	%r13d
	movl	$8, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	leaq	(%rax,%rbx), %r12
	movl	%r13d, (%rax,%rbx)
	leaq	(%rax,%rbx), %rdi
	addq	$4, %rdi
	callq	_CK_SLIST_INIT
	movq	%r12, %rdi
	callq	_ALIAS_LOCK_INIT
	addq	$8, %rbx
	incl	%r13d
	cmpq	%rbx, %r15
	jne	LBB0_7
LBB0_8:
	leaq	24(%r14), %rdi
	leaq	20(%r14), %rsi
	xorl	%edx, %edx
	callq	_callout_init_mtx
	movq	%r14, %rdi
	addq	$16, %rdi
	movq	_CALLOUT_MPSAFE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_callout_init
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_NAT64LSN,4,2                 ## @M_NAT64LSN
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_curvnet,4,2                    ## @curvnet
	.comm	_NAT64STATS,4,2                 ## @NAT64STATS
	.comm	_NAT64LSN_HOSTS_HSIZE,4,2       ## @NAT64LSN_HOSTS_HSIZE
	.comm	_CALLOUT_MPSAFE,4,2             ## @CALLOUT_MPSAFE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nat64lsn_init_instance         ; -- Begin function nat64lsn_init_instance
	.p2align	2
_nat64lsn_init_instance:                ; @nat64lsn_init_instance
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x22, _M_NAT64LSN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_NAT64LSN@GOTPAGEOFF]
Lloh2:
	adrp	x23, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _M_WAITOK@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w8, [x23]
Lloh4:
	adrp	x24, _M_ZERO@GOTPAGE
Lloh5:
	ldr	x24, [x24, _M_ZERO@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	w0, #64
	bl	_malloc
	mov	x19, x0
	bl	_CFG_LOCK_INIT
	mov	x0, x19
	bl	_CALLOUT_LOCK_INIT
	add	x0, x19, #60
	bl	_STAILQ_INIT
Lloh6:
	adrp	x8, _curvnet@GOTPAGE
Lloh7:
	ldr	x8, [x8, _curvnet@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	ldr	w0, [x19, #52]
Lloh9:
	adrp	x8, _NAT64STATS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NAT64STATS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x23]
	bl	_COUNTER_ARRAY_ALLOC
	bl	_arc4random
	str	w0, [x19, #48]
Lloh12:
	adrp	x8, _NAT64LSN_HOSTS_HSIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NAT64LSN_HOSTS_HSIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19]
	lsl	w0, w8, #2
	ldr	w1, [x22]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x19, #40]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	bl	_CK_SLIST_INIT
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.2:
	mov	w25, #1
	mov	w26, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x26
	bl	_CK_SLIST_INIT
	add	x25, x25, #1
	ldrsw	x8, [x19]
	add	x26, x26, #4
	cmp	x25, x8
	b.lt	LBB0_3
LBB0_4:
	neg	w8, w21
	mov	w9, #1
	lsl	w25, w9, w8
	sub	w8, w25, #1
	orr	w8, w8, w20
	stp	w20, w8, [x19, #4]
	str	w21, [x19, #12]
	lsl	w0, w25, #3
	ldr	w1, [x22]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x19, #32]
	cmp	w21, #1
	b.eq	LBB0_8
; %bb.5:
	mov	x22, x0
	cmp	w25, #1
	csinc	w21, w25, wzr, gt
	str	w20, [x0], #4
	bl	_CK_SLIST_INIT
	mov	x0, x22
	bl	_ALIAS_LOCK_INIT
	cmp	w25, #2
	b.lt	LBB0_8
; %bb.6:
	lsl	x21, x21, #3
	add	w22, w20, #1
	mov	w23, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x20, x8, x23
	mov	x0, x20
	str	w22, [x0], #4
	bl	_CK_SLIST_INIT
	mov	x0, x20
	bl	_ALIAS_LOCK_INIT
	add	x23, x23, #8
	add	w22, w22, #1
	cmp	x21, x23
	b.ne	LBB0_7
LBB0_8:
	add	x0, x19, #24
	add	x1, x19, #20
	mov	w2, #0
	bl	_callout_init_mtx
	add	x0, x19, #16
Lloh15:
	adrp	x8, _CALLOUT_MPSAFE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CALLOUT_MPSAFE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_callout_init
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_M_NAT64LSN,4,2                 ; @M_NAT64LSN
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_curvnet,4,2                    ; @curvnet
	.comm	_NAT64STATS,4,2                 ; @NAT64STATS
	.comm	_NAT64LSN_HOSTS_HSIZE,4,2       ; @NAT64LSN_HOSTS_HSIZE
	.comm	_CALLOUT_MPSAFE,4,2             ; @CALLOUT_MPSAFE
.subsections_via_symbols
