	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_fastopen_find_cookie_match_locked
_tcp_fastopen_find_cookie_match_locked: ## @tcp_fastopen_find_cookie_match_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	%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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_V_tcp_fastopen_psk_enable@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	_V_tcp_fastopen_numpsks@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_V_tcp_fastopen_keys@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r12d, %r12d
	movq	_TCP_FASTOPEN_COOKIE_LEN@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	decl	%r13d
	incl	%r12d
	movq	_V_tcp_fastopen_numpsks@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_V_tcp_fastopen_keys@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movl	%r13d, %ecx
	movl	(%rax,%rcx,4), %edi
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_tcp_fastopen_make_psk_cookie
	movl	%eax, -44(%rbp)
	movl	(%r15), %edx
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TCP_FASTOPEN_MAX_PSKS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_6
LBB0_8:
	movq	_TCP_FASTOPEN_COOKIE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_9:
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_tcp_fastopen_psk_enable,8,3  ## @V_tcp_fastopen_psk_enable
	.comm	_V_tcp_fastopen_keys,16,3       ## @V_tcp_fastopen_keys
	.comm	_V_tcp_fastopen_numpsks,4,2     ## @V_tcp_fastopen_numpsks
	.comm	_TCP_FASTOPEN_COOKIE_LEN,4,2    ## @TCP_FASTOPEN_COOKIE_LEN
	.comm	_TCP_FASTOPEN_MAX_PSKS,4,2      ## @TCP_FASTOPEN_MAX_PSKS
	.no_dead_strip	_tcp_fastopen_find_cookie_match_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_find_cookie_match_locked
_tcp_fastopen_find_cookie_match_locked: ; @tcp_fastopen_find_cookie_match_locked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _V_tcp_fastopen_psk_enable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_tcp_fastopen_psk_enable@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x21, _V_tcp_fastopen_numpsks@GOTPAGE
Lloh4:
	ldr	x21, [x21, _V_tcp_fastopen_numpsks@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.2:
	mov	w22, #0
Lloh5:
	adrp	x23, _V_tcp_fastopen_keys@GOTPAGE
Lloh6:
	ldr	x23, [x23, _V_tcp_fastopen_keys@GOTPAGEOFF]
	ldr	w24, [x23]
Lloh7:
	adrp	x25, _TCP_FASTOPEN_COOKIE_LEN@GOTPAGE
Lloh8:
	ldr	x25, [x25, _TCP_FASTOPEN_COOKIE_LEN@GOTPAGEOFF]
Lloh9:
	adrp	x26, _TCP_FASTOPEN_MAX_PSKS@GOTPAGE
Lloh10:
	ldr	x26, [x26, _TCP_FASTOPEN_MAX_PSKS@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldr	w0, [x8, w24, uxtw #2]
	ldr	w2, [x25]
	mov	x1, x19
	bl	_tcp_fastopen_make_psk_cookie
	str	w0, [sp, #12]
	ldr	w2, [x25]
	add	x1, sp, #12
	mov	x0, x20
	bl	_memcmp
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	cmp	w24, #0
	csel	w8, w8, w24, eq
	sub	w24, w8, #1
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lo	LBB0_3
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x8, _TCP_FASTOPEN_COOKIE_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCP_FASTOPEN_COOKIE_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_memcmp
	cbz	x0, LBB0_7
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_V_tcp_fastopen_psk_enable,8,3  ; @V_tcp_fastopen_psk_enable
	.comm	_V_tcp_fastopen_keys,16,3       ; @V_tcp_fastopen_keys
	.comm	_V_tcp_fastopen_numpsks,4,2     ; @V_tcp_fastopen_numpsks
	.comm	_TCP_FASTOPEN_COOKIE_LEN,4,2    ; @TCP_FASTOPEN_COOKIE_LEN
	.comm	_TCP_FASTOPEN_MAX_PSKS,4,2      ; @TCP_FASTOPEN_MAX_PSKS
	.no_dead_strip	_tcp_fastopen_find_cookie_match_locked
.subsections_via_symbols
