	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_fastopen_init              ## -- Begin function tcp_fastopen_init
	.p2align	4, 0x90
_tcp_fastopen_init:                     ## @tcp_fastopen_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	%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	_UMA_ALIGN_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str(%rip), %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rax
	callq	_uma_zcreate
	addq	$16, %rsp
	movq	_V_counter_zone@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_V_tcp_fastopen_keylock@GOTPCREL(%rip), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_rm_init
	movq	_V_tcp_fastopen_autokey_ctx@GOTPCREL(%rip), %rbx
	leaq	4(%rbx), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_callout_init_rm
	movq	_curvnet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_TCP_FASTOPEN_MAX_KEYS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	_V_tcp_fastopen_keys@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
	movq	_TCP_FASTOPEN_MAX_PSKS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rax, (%rcx)
	movq	_V_tcp_fastopen_ccache@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_2
## %bb.1:
	movq	_TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_2:
	movq	_V_tcp_fastopen_ccache_buckets@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_powerof2
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %eax
	jmp	LBB0_6
LBB0_4:
	movq	_TCP_FASTOPEN_CCACHE_BUCKETS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	%eax, 8(%r15)
	decl	%eax
	movl	%eax, 12(%r15)
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_arc4random
	movl	%eax, 32(%r15)
	movl	8(%r15), %edi
	shll	$2, %edi
	movq	_M_TCP_FASTOPEN_CCACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_malloc
	movq	%rax, 24(%r15)
	cmpl	$0, 8(%r15)
	je	LBB0_9
## %bb.7:
	movl	$16, %ebx
	leaq	L_.str.2(%rip), %r14
	movq	_V_tcp_fastopen_client_enable@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%rbx), %rdi
	addq	$4, %rdi
	callq	_TAILQ_INIT
	movq	24(%r15), %rdi
	addq	%rbx, %rdi
	movq	_MTX_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	movq	24(%r15), %rax
	cmpq	$1, (%r13)
	movl	$0, %ecx
	sbbl	%ecx, %ecx
	movl	%ecx, -16(%rax,%rbx)
	movq	%r15, -8(%rax,%rbx)
	incq	%r12
	movl	8(%r15), %ecx
	addq	$24, %rbx
	cmpq	%rcx, %r12
	jb	LBB0_8
LBB0_9:
	movq	_UMA_ALIGN_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.3(%rip), %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rax
	callq	_uma_zcreate
	addq	$16, %rsp
	movq	%rax, 16(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tfo"

	.comm	_UMA_ALIGN_PTR,4,2              ## @UMA_ALIGN_PTR
	.comm	_V_counter_zone,8,3             ## @V_counter_zone
	.comm	_V_tcp_fastopen_keylock,4,2     ## @V_tcp_fastopen_keylock
L_.str.1:                               ## @.str.1
	.asciz	"tfo_keylock"

	.comm	_V_tcp_fastopen_autokey_ctx,8,2 ## @V_tcp_fastopen_autokey_ctx
	.comm	_curvnet,4,2                    ## @curvnet
	.comm	_TCP_FASTOPEN_MAX_KEYS,8,3      ## @TCP_FASTOPEN_MAX_KEYS
	.comm	_V_tcp_fastopen_keys,16,3       ## @V_tcp_fastopen_keys
	.comm	_TCP_FASTOPEN_MAX_PSKS,8,3      ## @TCP_FASTOPEN_MAX_PSKS
	.comm	_V_tcp_fastopen_ccache,40,3     ## @V_tcp_fastopen_ccache
	.comm	_TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT,8,3 ## @TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT
	.comm	_V_tcp_fastopen_ccache_buckets,8,3 ## @V_tcp_fastopen_ccache_buckets
	.comm	_TCP_FASTOPEN_CCACHE_BUCKETS_DEFAULT,4,2 ## @TCP_FASTOPEN_CCACHE_BUCKETS_DEFAULT
	.comm	_M_TCP_FASTOPEN_CCACHE,4,2      ## @M_TCP_FASTOPEN_CCACHE
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
L_.str.2:                               ## @.str.2
	.asciz	"tfo_ccache_bucket"

	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
	.comm	_V_tcp_fastopen_client_enable,8,3 ## @V_tcp_fastopen_client_enable
L_.str.3:                               ## @.str.3
	.asciz	"tfo_ccache_entries"

	.comm	_UMA_ALIGN_CACHE,4,2            ## @UMA_ALIGN_CACHE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_fastopen_init              ; -- Begin function tcp_fastopen_init
	.p2align	2
_tcp_fastopen_init:                     ; @tcp_fastopen_init
	.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
Lloh0:
	adrp	x8, _UMA_ALIGN_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMA_ALIGN_PTR@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #4
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	w7, #0
	bl	_uma_zcreate
Lloh5:
	adrp	x8, _V_counter_zone@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V_counter_zone@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
Lloh8:
	adrp	x19, _V_tcp_fastopen_keylock@GOTPAGE
Lloh9:
	ldr	x19, [x19, _V_tcp_fastopen_keylock@GOTPAGEOFF]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_rm_init
Lloh12:
	adrp	x20, _V_tcp_fastopen_autokey_ctx@GOTPAGE
Lloh13:
	ldr	x20, [x20, _V_tcp_fastopen_autokey_ctx@GOTPAGEOFF]
	add	x0, x20, #4
	mov	x1, x19
	mov	w2, #0
	bl	_callout_init_rm
Lloh14:
	adrp	x8, _curvnet@GOTPAGE
Lloh15:
	ldr	x8, [x8, _curvnet@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh17:
	adrp	x8, _TCP_FASTOPEN_MAX_KEYS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TCP_FASTOPEN_MAX_KEYS@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	sub	x8, x8, #1
Lloh20:
	adrp	x9, _V_tcp_fastopen_keys@GOTPAGE
Lloh21:
	ldr	x9, [x9, _V_tcp_fastopen_keys@GOTPAGEOFF]
Lloh22:
	adrp	x10, _TCP_FASTOPEN_MAX_PSKS@GOTPAGE
Lloh23:
	ldr	x10, [x10, _TCP_FASTOPEN_MAX_PSKS@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	sub	x10, x10, #1
	stp	x10, x8, [x9]
Lloh25:
	adrp	x20, _V_tcp_fastopen_ccache@GOTPAGE
Lloh26:
	ldr	x20, [x20, _V_tcp_fastopen_ccache@GOTPAGEOFF]
	ldr	x8, [x20]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh27:
	adrp	x8, _TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	str	x8, [x20]
LBB0_2:
Lloh30:
	adrp	x19, _V_tcp_fastopen_ccache_buckets@GOTPAGE
Lloh31:
	ldr	x19, [x19, _V_tcp_fastopen_ccache_buckets@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_powerof2
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x19]
	b	LBB0_6
LBB0_5:
Lloh32:
	adrp	x8, _TCP_FASTOPEN_CCACHE_BUCKETS_DEFAULT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TCP_FASTOPEN_CCACHE_BUCKETS_DEFAULT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
LBB0_6:
	sub	w9, w8, #1
	stp	w8, w9, [x20, #8]
	bl	_arc4random
	str	w0, [x20, #32]
	ldr	w8, [x20, #8]
	lsl	w0, w8, #2
Lloh35:
	adrp	x8, _M_TCP_FASTOPEN_CCACHE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _M_TCP_FASTOPEN_CCACHE@GOTPAGEOFF]
Lloh37:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh38:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	ldr	w8, [x9]
Lloh41:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh42:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x20, #24]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_9
; %bb.7:
	mov	x21, #0
	mov	x22, #0
Lloh44:
	adrp	x23, _MTX_DEF@GOTPAGE
Lloh45:
	ldr	x23, [x23, _MTX_DEF@GOTPAGEOFF]
Lloh46:
	adrp	x24, _V_tcp_fastopen_client_enable@GOTPAGE
Lloh47:
	ldr	x24, [x24, _V_tcp_fastopen_client_enable@GOTPAGEOFF]
Lloh48:
	adrp	x19, l_.str.2@PAGE
Lloh49:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x21
	add	x0, x8, #20
	bl	_TAILQ_INIT
	ldr	x8, [x20, #24]
	add	x8, x8, x21
	add	x0, x8, #16
	ldr	w3, [x23]
	mov	x1, x19
	mov	x2, #0
	bl	_mtx_init
	ldr	x8, [x24]
	ldr	x0, [x20, #24]
	add	x9, x0, x21
	cmp	x8, #0
	csetm	w8, eq
	str	w8, [x9]
	str	x20, [x9, #8]
	add	x22, x22, #1
	ldr	w8, [x20, #8]
	add	x21, x21, #24
	cmp	x22, x8
	b.lo	LBB0_8
LBB0_9:
Lloh50:
	adrp	x8, _UMA_ALIGN_CACHE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _UMA_ALIGN_CACHE@GOTPAGEOFF]
Lloh52:
	ldr	w6, [x8]
Lloh53:
	adrp	x0, l_.str.3@PAGE
Lloh54:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #4
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	w7, #0
	bl	_uma_zcreate
	str	x0, [x20, #16]
	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	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh39
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tfo"

	.comm	_UMA_ALIGN_PTR,4,2              ; @UMA_ALIGN_PTR
	.comm	_V_counter_zone,8,3             ; @V_counter_zone
	.comm	_V_tcp_fastopen_keylock,4,2     ; @V_tcp_fastopen_keylock
l_.str.1:                               ; @.str.1
	.asciz	"tfo_keylock"

	.comm	_V_tcp_fastopen_autokey_ctx,8,2 ; @V_tcp_fastopen_autokey_ctx
	.comm	_curvnet,4,2                    ; @curvnet
	.comm	_TCP_FASTOPEN_MAX_KEYS,8,3      ; @TCP_FASTOPEN_MAX_KEYS
	.comm	_V_tcp_fastopen_keys,16,3       ; @V_tcp_fastopen_keys
	.comm	_TCP_FASTOPEN_MAX_PSKS,8,3      ; @TCP_FASTOPEN_MAX_PSKS
	.comm	_V_tcp_fastopen_ccache,40,3     ; @V_tcp_fastopen_ccache
	.comm	_TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT,8,3 ; @TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT
	.comm	_V_tcp_fastopen_ccache_buckets,8,3 ; @V_tcp_fastopen_ccache_buckets
	.comm	_TCP_FASTOPEN_CCACHE_BUCKETS_DEFAULT,4,2 ; @TCP_FASTOPEN_CCACHE_BUCKETS_DEFAULT
	.comm	_M_TCP_FASTOPEN_CCACHE,4,2      ; @M_TCP_FASTOPEN_CCACHE
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
l_.str.2:                               ; @.str.2
	.asciz	"tfo_ccache_bucket"

	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
	.comm	_V_tcp_fastopen_client_enable,8,3 ; @V_tcp_fastopen_client_enable
l_.str.3:                               ; @.str.3
	.asciz	"tfo_ccache_entries"

	.comm	_UMA_ALIGN_CACHE,4,2            ; @UMA_ALIGN_CACHE
.subsections_via_symbols
