	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_sack
_tcp_sack:                              ## @tcp_sack
	.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), %r13d
	shll	$2, %r13d
	addl	$-4, %r13d
	je	LBB0_20
## %bb.1:
	movq	%rcx, %r14
	addl	$4, %esi
	leaq	-112(%rbp), %rcx
	movl	%r13d, %edx
	callq	_skb_header_pointer
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movq	_TCPOLEN_TSTAMP_ALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$2, %eax
	cmpl	%eax, %r13d
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rbx
	movq	_TCPOPT_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$8, %edi
	movq	_TCPOLEN_TIMESTAMP@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	$-2139095040, %edi              ## imm = 0x80800000
	callq	_htonl
	cmpq	%rax, %rbx
	je	LBB0_20
LBB0_3:
	testl	%r13d, %r13d
	jle	LBB0_20
## %bb.4:
	movq	_TCPOPT_SACK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TCPOLEN_SACK_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TCPOLEN_SACK_PERBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leal	(%r9,%r8), %r10d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	decl	%r13d
	movl	%r13d, %ebx
	movq	%r15, %rdi
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdi, %r15
	movl	%ebx, %r13d
	testl	%ebx, %ebx
	jle	LBB0_20
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$-127, %al
	je	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%r15), %r12d
	cmpl	$2, %r12d
	jb	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	2(%r15), %rdi
	movl	%r13d, %ebx
	subl	%r12d, %ebx
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %ecx
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, %r10d
	jg	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %eax
	subl	%r8d, %eax
	cltd
	idivl	%r9d
	testl	%edx, %edx
	je	LBB0_13
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	$-2, %r12d
	addq	%r12, %rdi
	jmp	LBB0_19
LBB0_13:
	cmpl	%r12d, %r8d
	jge	LBB0_20
## %bb.14:
	addq	$10, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	_TCPOLEN_SACK_PERBLOCK@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%r12d, %eax
	movq	_TCPOLEN_SACK_BASE@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	cmpl	%eax, %ebx
	jge	LBB0_20
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rdi
	addq	%r15, %rdi
	callq	_get_unaligned_be32
	movl	%eax, %r13d
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_after
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r13d, (%r14)
	jmp	LBB0_17
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPOLEN_TSTAMP_ALIGNED,4,2     ## @TCPOLEN_TSTAMP_ALIGNED
	.comm	_TCPOPT_TIMESTAMP,4,2           ## @TCPOPT_TIMESTAMP
	.comm	_TCPOLEN_TIMESTAMP,4,2          ## @TCPOLEN_TIMESTAMP
	.comm	_TCPOPT_SACK,4,2                ## @TCPOPT_SACK
	.comm	_TCPOLEN_SACK_BASE,4,2          ## @TCPOLEN_SACK_BASE
	.comm	_TCPOLEN_SACK_PERBLOCK,4,2      ## @TCPOLEN_SACK_PERBLOCK
	.no_dead_strip	_tcp_sack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_sack
_tcp_sack:                              ; @tcp_sack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	w8, [x2]
	lsl	w8, w8, #2
	subs	w20, w8, #4
	b.eq	LBB0_20
; %bb.1:
	mov	x19, x3
	add	w1, w1, #4
	mov	x3, sp
	mov	x2, x20
	bl	_skb_header_pointer
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh3:
	adrp	x8, _TCPOLEN_TSTAMP_ALIGNED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCPOLEN_TSTAMP_ALIGNED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w20, w8, lsl #2
	b.ne	LBB0_3
; %bb.2:
	ldr	x22, [x21]
Lloh6:
	adrp	x8, _TCPOPT_TIMESTAMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCPOPT_TIMESTAMP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _TCPOLEN_TIMESTAMP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TCPOLEN_TIMESTAMP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8, lsl #8
	mov	w9, #-2139095040
	orr	w0, w8, w9
	bl	_htonl
	cmp	x22, x0
	ccmp	w20, #0, #4, ne
	b.gt	LBB0_4
	b	LBB0_20
LBB0_3:
	cmp	w20, #1
	b.lt	LBB0_20
LBB0_4:
Lloh12:
	adrp	x8, _TCPOPT_SACK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TCPOPT_SACK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x22, _TCPOLEN_SACK_BASE@GOTPAGE
Lloh16:
	ldr	x22, [x22, _TCPOLEN_SACK_BASE@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh17:
	adrp	x23, _TCPOLEN_SACK_PERBLOCK@GOTPAGE
Lloh18:
	ldr	x23, [x23, _TCPOLEN_SACK_PERBLOCK@GOTPAGEOFF]
	ldr	w10, [x23]
	add	w11, w10, w9
	mov	x12, x21
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	w20, w20, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x12
	cmp	w20, #0
	b.le	LBB0_20
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x12], #1
	cmp	w15, #128
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w15, #129
	b.eq	LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w24, [x21, #1]
	subs	w13, w24, #2
	b.lo	LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x12, x21, #2
	subs	w14, w20, w24
	b.lo	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, w15
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w11, w24
	b.gt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w15, w24, w9
	sdiv	w16, w15, w10
	msub	w15, w16, w10, w15
	cbz	w15, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x12, x12, x13
	mov	x20, x14
	b	LBB0_6
LBB0_15:
	cmp	w9, w24
	b.ge	LBB0_20
; %bb.16:
	mov	w25, #0
	add	x21, x21, #10
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x23]
	add	w25, w8, w25
	ldr	w8, [x22]
	sub	w8, w24, w8
	cmp	w25, w8
	b.ge	LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x21, w25, sxtw
	bl	_get_unaligned_be32
	mov	x20, x0
	ldr	w1, [x19]
	bl	_after
	cbz	w0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	str	w20, [x19]
	b	LBB0_17
LBB0_20:
	ldr	x8, [sp, #56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPOLEN_TSTAMP_ALIGNED,4,2     ; @TCPOLEN_TSTAMP_ALIGNED
	.comm	_TCPOPT_TIMESTAMP,4,2           ; @TCPOPT_TIMESTAMP
	.comm	_TCPOLEN_TIMESTAMP,4,2          ; @TCPOLEN_TIMESTAMP
	.comm	_TCPOPT_SACK,4,2                ; @TCPOPT_SACK
	.comm	_TCPOLEN_SACK_BASE,4,2          ; @TCPOLEN_SACK_BASE
	.comm	_TCPOLEN_SACK_PERBLOCK,4,2      ; @TCPOLEN_SACK_PERBLOCK
	.no_dead_strip	_tcp_sack
.subsections_via_symbols
