	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_options
_tcp_options:                           ## @tcp_options
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdx), %ebx
	shll	$2, %ebx
	addl	$-4, %ebx
	je	LBB0_18
## %bb.1:
	movq	%rcx, %r14
	addl	$4, %esi
	leaq	-112(%rbp), %rcx
	movl	%ebx, %edx
	callq	_skb_header_pointer
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movq	$0, (%r14)
	testl	%ebx, %ebx
	jle	LBB0_18
## %bb.2:
	xorl	%eax, %eax
	movq	_TCPOPT_SACK_PERM@GOTPCREL(%rip), %rcx
	movq	_TCPOLEN_SACK_PERM@GOTPCREL(%rip), %r12
	movq	_IP_CT_TCP_FLAG_SACK_PERM@GOTPCREL(%rip), %r13
	movq	_TCPOPT_WINDOW@GOTPCREL(%rip), %r11
	movq	_TCPOLEN_WINDOW@GOTPCREL(%rip), %r8
	movl	$14, %r9d
	movq	_IP_CT_TCP_FLAG_WINDOW_SCALE@GOTPCREL(%rip), %r10
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	decl	%ebx
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	%edi, %ebx
	testl	%edi, %edi
	jle	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15), %esi
	cmpl	$128, %esi
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$-127, %sil
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	1(%r15), %edx
	cmpl	$2, %edx
	jb	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	$2, %r15
	movl	%ebx, %edi
	subl	%edx, %edi
	jb	LBB0_4
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%esi, (%rcx)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rbx
	cmpl	%edx, (%r12)
	je	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%esi, (%r11)
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%edx, (%r8)
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %esi
	cmpl	$14, %esi
	cmovgel	%r9d, %esi
	movl	%esi, (%r14)
	movq	%r10, %rbx
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	orl	(%rbx), %eax
	movl	%eax, 4(%r14)
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	$-2, %edx
	addq	%rdx, %r15
	jmp	LBB0_5
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPOPT_SACK_PERM,4,2           ## @TCPOPT_SACK_PERM
	.comm	_TCPOLEN_SACK_PERM,4,2          ## @TCPOLEN_SACK_PERM
	.comm	_IP_CT_TCP_FLAG_SACK_PERM,4,2   ## @IP_CT_TCP_FLAG_SACK_PERM
	.comm	_TCPOPT_WINDOW,4,2              ## @TCPOPT_WINDOW
	.comm	_TCPOLEN_WINDOW,4,2             ## @TCPOLEN_WINDOW
	.comm	_IP_CT_TCP_FLAG_WINDOW_SCALE,4,2 ## @IP_CT_TCP_FLAG_WINDOW_SCALE
	.no_dead_strip	_tcp_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_options
_tcp_options:                           ; @tcp_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w8, [x2]
	lsl	w8, w8, #2
	subs	w21, w8, #4
	b.eq	LBB0_14
; %bb.1:
	mov	x19, x3
	add	w1, w1, #4
	mov	x3, sp
	mov	x2, x21
	bl	_skb_header_pointer
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	str	xzr, [x19]
	cmp	w21, #1
	b.lt	LBB0_14
; %bb.2:
	mov	w8, #0
Lloh3:
	adrp	x9, _TCPOPT_SACK_PERM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCPOPT_SACK_PERM@GOTPAGEOFF]
Lloh5:
	adrp	x10, _TCPOLEN_SACK_PERM@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TCPOLEN_SACK_PERM@GOTPAGEOFF]
Lloh7:
	adrp	x11, _IP_CT_TCP_FLAG_SACK_PERM@GOTPAGE
Lloh8:
	ldr	x11, [x11, _IP_CT_TCP_FLAG_SACK_PERM@GOTPAGEOFF]
Lloh9:
	adrp	x12, _TCPOPT_WINDOW@GOTPAGE
Lloh10:
	ldr	x12, [x12, _TCPOPT_WINDOW@GOTPAGEOFF]
Lloh11:
	adrp	x13, _TCPOLEN_WINDOW@GOTPAGE
Lloh12:
	ldr	x13, [x13, _TCPOLEN_WINDOW@GOTPAGEOFF]
	mov	w14, #14
Lloh13:
	adrp	x15, _IP_CT_TCP_FLAG_WINDOW_SCALE@GOTPAGE
Lloh14:
	ldr	x15, [x15, _IP_CT_TCP_FLAG_WINDOW_SCALE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w21, w21, #1
	mov	x20, x16
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #0
	b.le	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x16, x20
	ldrb	w0, [x16], #1
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #129
	b.eq	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w1, [x20, #1]
	subs	w16, w1, #2
	b.lo	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #2
	subs	w17, w21, w1
	b.lo	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x9]
	ldr	w3, [x10]
	cmp	w2, w0
	ccmp	w3, w1, #0, eq
	mov	x2, x11
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x12]
	ldr	w3, [x13]
	cmp	w2, w0
	ccmp	w3, w1, #0, eq
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20]
	cmp	w0, #14
	csel	w0, w0, w14, lt
	str	w0, [x19]
	mov	x2, x15
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x2]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, x16
	mov	x21, x17
	b	LBB0_4
LBB0_14:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPOPT_SACK_PERM,4,2           ; @TCPOPT_SACK_PERM
	.comm	_TCPOLEN_SACK_PERM,4,2          ; @TCPOLEN_SACK_PERM
	.comm	_IP_CT_TCP_FLAG_SACK_PERM,4,2   ; @IP_CT_TCP_FLAG_SACK_PERM
	.comm	_TCPOPT_WINDOW,4,2              ; @TCPOPT_WINDOW
	.comm	_TCPOLEN_WINDOW,4,2             ; @TCPOLEN_WINDOW
	.comm	_IP_CT_TCP_FLAG_WINDOW_SCALE,4,2 ; @IP_CT_TCP_FLAG_WINDOW_SCALE
	.no_dead_strip	_tcp_options
.subsections_via_symbols
