	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function syncookie_lookup
_syncookie_lookup:                      ## @syncookie_lookup
	.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	%r9, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r8
	movq	%rdi, %r15
	movl	(%rcx), %r14d
	movl	4(%rcx), %ebx
	decl	%r14d
	decl	%ebx
	movzbl	%r14b, %eax
	movl	%r14d, %edx
	sarl	$24, %edx
	xorl	%eax, %edx
	movq	_V_tcp_syncache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rcx
	movl	%ebx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_syncookie_mac
	xorl	%r14d, %eax
	cmpl	$255, %eax
	ja	LBB0_1
## %bb.2:
	movl	$0, 32(%r13)
	movl	(%r15), %eax
	movl	%eax, 72(%r13)
	movq	$0, 64(%r13)
	movl	%ebx, (%r13)
	movl	%r14d, 4(%r13)
	movq	_tcp_sc_msstab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_imax
	movq	_TCP_MAXWIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_imin
	movl	%eax, 16(%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movq	_TOF_TS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_SCF_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%r13)
	movl	4(%rbx), %eax
	movl	%eax, 40(%r13)
	movq	%r15, %rdi
	callq	_tcp_new_ts_offset
	movl	%eax, 36(%r13)
	movl	(%rbx), %eax
LBB0_4:
	movq	_TOF_SIGNATURE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_SCF_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 32(%r13)
LBB0_6:
	movq	$0, 24(%r13)
	movq	_tcps_sc_recvcookie@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TCPSTAT_INC
	jmp	LBB0_7
LBB0_1:
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_tcp_syncache,8,3             ## @V_tcp_syncache
	.comm	_tcp_sc_msstab,8,3              ## @tcp_sc_msstab
	.comm	_TCP_MAX_WINSHIFT,4,2           ## @TCP_MAX_WINSHIFT
	.comm	_TCP_MAXWIN,4,2                 ## @TCP_MAXWIN
	.comm	_sb_max,4,2                     ## @sb_max
	.comm	_tcp_sc_wstab,8,3               ## @tcp_sc_wstab
	.comm	_SCF_WINSCALE,4,2               ## @SCF_WINSCALE
	.comm	_SCF_SACK,4,2                   ## @SCF_SACK
	.comm	_TOF_TS,4,2                     ## @TOF_TS
	.comm	_SCF_TIMESTAMP,4,2              ## @SCF_TIMESTAMP
	.comm	_TOF_SIGNATURE,4,2              ## @TOF_SIGNATURE
	.comm	_SCF_SIGNATURE,4,2              ## @SCF_SIGNATURE
	.comm	_tcps_sc_recvcookie,4,2         ## @tcps_sc_recvcookie
	.comm	_IN6P_AUTOFLOWLABEL,4,2         ## @IN6P_AUTOFLOWLABEL
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ## @IPV6_FLOWLABEL_MASK
	.no_dead_strip	_syncookie_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function syncookie_lookup
_syncookie_lookup:                      ; @syncookie_lookup
	.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
	mov	x22, x5
	mov	x20, x4
	mov	x19, x2
	mov	x4, x1
	mov	x21, x0
	ldp	w8, w9, [x3]
	sub	w24, w8, #1
	sub	w23, w9, #1
	and	w8, w24, #0xff
	eor	w2, w8, w24, asr #24
Lloh0:
	adrp	x8, _V_tcp_syncache@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_tcp_syncache@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x3, [x8, w2, uxtw #3]
	mov	x1, x23
	bl	_syncookie_mac
	eor	w8, w0, w24
	cmp	w8, #255
	b.hi	LBB0_6
; %bb.1:
	str	wzr, [x19, #32]
	ldr	w8, [x21]
	str	w8, [x19, #72]
	str	xzr, [x19, #64]
	stp	w23, w24, [x19]
Lloh3:
	adrp	x8, _tcp_sc_msstab@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tcp_sc_msstab@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #48]
	ldr	w0, [x22]
	mov	w1, #0
	bl	_imax
Lloh6:
	adrp	x8, _TCP_MAXWIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCP_MAXWIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_imin
	str	w0, [x19, #16]
	ldr	w8, [x20]
Lloh9:
	adrp	x9, _TOF_TS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TOF_TS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _SCF_TIMESTAMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCF_TIMESTAMP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
	ldr	w8, [x20, #4]
	str	w8, [x19, #40]
	mov	x0, x21
	bl	_tcp_new_ts_offset
	str	w0, [x19, #36]
	ldr	w8, [x20]
LBB0_3:
Lloh15:
	adrp	x9, _TOF_SIGNATURE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TOF_SIGNATURE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _SCF_SIGNATURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCF_SIGNATURE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	orr	w8, w9, w8
	str	w8, [x19, #32]
LBB0_5:
	str	xzr, [x19, #24]
Lloh21:
	adrp	x8, _tcps_sc_recvcookie@GOTPAGE
Lloh22:
	ldr	x8, [x8, _tcps_sc_recvcookie@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_TCPSTAT_INC
	b	LBB0_7
LBB0_6:
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_V_tcp_syncache,8,3             ; @V_tcp_syncache
	.comm	_tcp_sc_msstab,8,3              ; @tcp_sc_msstab
	.comm	_TCP_MAX_WINSHIFT,4,2           ; @TCP_MAX_WINSHIFT
	.comm	_TCP_MAXWIN,4,2                 ; @TCP_MAXWIN
	.comm	_sb_max,4,2                     ; @sb_max
	.comm	_tcp_sc_wstab,8,3               ; @tcp_sc_wstab
	.comm	_SCF_WINSCALE,4,2               ; @SCF_WINSCALE
	.comm	_SCF_SACK,4,2                   ; @SCF_SACK
	.comm	_TOF_TS,4,2                     ; @TOF_TS
	.comm	_SCF_TIMESTAMP,4,2              ; @SCF_TIMESTAMP
	.comm	_TOF_SIGNATURE,4,2              ; @TOF_SIGNATURE
	.comm	_SCF_SIGNATURE,4,2              ; @SCF_SIGNATURE
	.comm	_tcps_sc_recvcookie,4,2         ; @tcps_sc_recvcookie
	.comm	_IN6P_AUTOFLOWLABEL,4,2         ; @IN6P_AUTOFLOWLABEL
	.comm	_IPV6_FLOWLABEL_MASK,4,2        ; @IPV6_FLOWLABEL_MASK
	.no_dead_strip	_syncookie_lookup
.subsections_via_symbols
