	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_tcp_syn_cookie
_check_tcp_syn_cookie:                  ## @check_tcp_syn_cookie
	.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
	movl	%r9d, %r14d
	movq	%rdx, %r12
	movq	%rsi, %r13
	movl	%edi, %ebx
	movl	16(%rbp), %r15d
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %edx
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cookie_hash
	addl	%r14d, %eax
	subl	%eax, %ebx
	movq	_COOKIEBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, %r8d
	sarl	%cl, %r8d
	subl	%r8d, %r15d
	movl	$-1, %eax
	cmpl	24(%rbp), %r15d
	jge	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	$1, %r9d
	callq	_cookie_hash
	subl	%eax, %ebx
	movq	_COOKIEMASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COOKIEBITS,4,2                 ## @COOKIEBITS
	.comm	_COOKIEMASK,4,2                 ## @COOKIEMASK
	.no_dead_strip	_check_tcp_syn_cookie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_tcp_syn_cookie
_check_tcp_syn_cookie:                  ; @check_tcp_syn_cookie
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x7
	mov	x24, x6
	mov	x25, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x26, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	mov	w4, #0
	mov	w5, #0
	bl	_cookie_hash
	add	w8, w0, w25
	sub	w25, w26, w8
Lloh0:
	adrp	x8, _COOKIEBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COOKIEBITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w4, w25, w8
	sub	w8, w24, w4
	cmp	w8, w23
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w5, #1
	bl	_cookie_hash
Lloh3:
	adrp	x8, _COOKIEMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COOKIEMASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w9, w25, w0
	and	w0, w9, w8
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_COOKIEBITS,4,2                 ; @COOKIEBITS
	.comm	_COOKIEMASK,4,2                 ; @COOKIEMASK
	.no_dead_strip	_check_tcp_syn_cookie
.subsections_via_symbols
