	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_fastopen_addkey_locked
_tcp_fastopen_addkey_locked:            ## @tcp_fastopen_addkey_locked
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	movq	_V_tcp_fastopen_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	incq	%rcx
	movq	_TCP_FASTOPEN_MAX_KEYS@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rcx
	cmovneq	%rcx, %rdi
	movq	%rdi, (%rax)
	movl	(%rdx,%rdi,4), %edi
	movq	_TCP_FASTOPEN_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_V_tcp_fastopen_numkeys@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	(%rbx), %rcx
	jge	LBB0_2
## %bb.1:
	incq	%rcx
	movq	%rcx, (%rax)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_tcp_fastopen_keys,16,3       ## @V_tcp_fastopen_keys
	.comm	_TCP_FASTOPEN_MAX_KEYS,8,3      ## @TCP_FASTOPEN_MAX_KEYS
	.comm	_TCP_FASTOPEN_KEY_LEN,4,2       ## @TCP_FASTOPEN_KEY_LEN
	.comm	_V_tcp_fastopen_numkeys,8,3     ## @V_tcp_fastopen_numkeys
	.no_dead_strip	_tcp_fastopen_addkey_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_fastopen_addkey_locked
_tcp_fastopen_addkey_locked:            ; @tcp_fastopen_addkey_locked
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x1, x0
Lloh0:
	adrp	x8, _V_tcp_fastopen_keys@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_tcp_fastopen_keys@GOTPAGEOFF]
	ldp	x9, x10, [x8]
	add	x11, x9, #1
Lloh2:
	adrp	x19, _TCP_FASTOPEN_MAX_KEYS@GOTPAGE
Lloh3:
	ldr	x19, [x19, _TCP_FASTOPEN_MAX_KEYS@GOTPAGEOFF]
	ldr	x12, [x19]
	cmp	x11, x12
	csinc	x9, xzr, x9, eq
	str	x9, [x8]
	ldr	w0, [x10, x9, lsl #2]
Lloh4:
	adrp	x8, _TCP_FASTOPEN_KEY_LEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TCP_FASTOPEN_KEY_LEN@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_memcpy
Lloh7:
	adrp	x8, _V_tcp_fastopen_numkeys@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V_tcp_fastopen_numkeys@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x19]
	cmp	x9, x10
	b.ge	LBB0_2
; %bb.1:
	add	x9, x9, #1
	str	x9, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_V_tcp_fastopen_keys,16,3       ; @V_tcp_fastopen_keys
	.comm	_TCP_FASTOPEN_MAX_KEYS,8,3      ; @TCP_FASTOPEN_MAX_KEYS
	.comm	_TCP_FASTOPEN_KEY_LEN,4,2       ; @TCP_FASTOPEN_KEY_LEN
	.comm	_V_tcp_fastopen_numkeys,8,3     ; @V_tcp_fastopen_numkeys
	.no_dead_strip	_tcp_fastopen_addkey_locked
.subsections_via_symbols
