	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_fastopen_update_cache      ## -- Begin function tcp_fastopen_update_cache
	.p2align	4, 0x90
_tcp_fastopen_update_cache:             ## @tcp_fastopen_update_cache
	.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	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	(%rdi), %r13
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_tcp_fastopen_ccache_lookup
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	testb	$1, %r15b
	jne	LBB0_5
## %bb.2:
	movq	_TCP_FASTOPEN_MIN_COOKIE_LEN@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jg	LBB0_5
## %bb.3:
	movq	_TCP_FASTOPEN_MAX_COOKIE_LEN@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jl	LBB0_5
## %bb.4:
	movq	%r12, 16(%rbx)
	movl	%r15d, (%rbx)
	movl	24(%rbx), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	$0, 8(%rbx)
	jmp	LBB0_8
LBB0_7:
	movq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movq	%r14, %r8
	callq	_tcp_fastopen_ccache_create
	jmp	LBB0_8
LBB0_5:
	movq	$0, 16(%rbx)
	movl	$0, (%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	callq	_getsbinuptime
	movq	%rax, 8(%rbx)
LBB0_8:
	movq	-48(%rbp), %rdi
	callq	_CCB_UNLOCK
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_FASTOPEN_MIN_COOKIE_LEN,4,2 ## @TCP_FASTOPEN_MIN_COOKIE_LEN
	.comm	_TCP_FASTOPEN_MAX_COOKIE_LEN,4,2 ## @TCP_FASTOPEN_MAX_COOKIE_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_fastopen_update_cache      ; -- Begin function tcp_fastopen_update_cache
	.p2align	2
_tcp_fastopen_update_cache:             ; @tcp_fastopen_update_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	ldr	x23, [x0]
	add	x1, sp, #8
	mov	x0, x23
	bl	_tcp_fastopen_ccache_lookup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	tbnz	w21, #0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _TCP_FASTOPEN_MIN_COOKIE_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCP_FASTOPEN_MIN_COOKIE_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TCP_FASTOPEN_MAX_COOKIE_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCP_FASTOPEN_MAX_COOKIE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #8, le
	b.lt	LBB0_5
; %bb.3:
	str	x22, [x20, #16]
	str	w21, [x20]
	ldr	w0, [x20, #24]
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	str	xzr, [x20, #8]
	b	LBB0_7
LBB0_4:
	ldr	x0, [sp, #8]
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x19
	bl	_tcp_fastopen_ccache_create
	b	LBB0_7
LBB0_5:
	str	xzr, [x20, #16]
	str	wzr, [x20]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_7
; %bb.6:
	bl	_getsbinuptime
	str	x0, [x20, #8]
LBB0_7:
	ldr	x0, [sp, #8]
	bl	_CCB_UNLOCK
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_FASTOPEN_MIN_COOKIE_LEN,4,2 ; @TCP_FASTOPEN_MIN_COOKIE_LEN
	.comm	_TCP_FASTOPEN_MAX_COOKIE_LEN,4,2 ; @TCP_FASTOPEN_MAX_COOKIE_LEN
.subsections_via_symbols
