	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function correct_mss
_correct_mss:                           ## @correct_mss
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	addl	$-8, %ebx
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%rdi), %r15
	xorl	%edi, %edi
	movq	_TCPOPT_EOL@GOTPCREL(%rip), %rcx
	movq	_TCPOPT_NOP@GOTPCREL(%rip), %rdx
	movq	_TCPOPT_MAXSEG@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_TCPOPT_EOL@GOTPCREL(%rip), %rcx
	movq	_TCPOPT_NOP@GOTPCREL(%rip), %rdx
	movq	_TCPOPT_MAXSEG@GOTPCREL(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %eax
	leaq	(%r15,%rax,8), %r15
	subl	%r13d, %ebx
	jle	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r13d
	cmpq	(%rdx), %rax
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r15), %r13d
	testl	%r13d, %r13d
	jle	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r13d, %ebx
	jl	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%rsi), %rax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TCPOLEN_MAXSEG@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	leaq	16(%r15), %r14
	movq	%r14, %rdi
	callq	_be16dec
	movl	%eax, %r12d
	subl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	jle	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	_CSUM_TCP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_be16dec
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%eax, %r12d
	callq	_TCPMSS_ADJUST_CHECKSUM
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_be16enc
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_be16enc
	movl	$1, %edi
	movq	_TCPOPT_EOL@GOTPCREL(%rip), %rcx
	movq	_TCPOPT_NOP@GOTPCREL(%rip), %rdx
	movq	_TCPOPT_MAXSEG@GOTPCREL(%rip), %rsi
	jmp	LBB0_14
LBB0_1:
	xorl	%edi, %edi
LBB0_15:
	movl	%edi, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPOPT_EOL,8,3                 ## @TCPOPT_EOL
	.comm	_TCPOPT_NOP,8,3                 ## @TCPOPT_NOP
	.comm	_TCPOPT_MAXSEG,8,3              ## @TCPOPT_MAXSEG
	.comm	_TCPOLEN_MAXSEG,4,2             ## @TCPOLEN_MAXSEG
	.comm	_CSUM_TCP,4,2                   ## @CSUM_TCP
	.no_dead_strip	_correct_mss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function correct_mss
_correct_mss:                           ; @correct_mss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	sub	w25, w1, #8
	cmp	w25, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x24, x2
	mov	w28, #0
	str	x0, [sp]                        ; 8-byte Folded Spill
	add	x26, x0, #8
Lloh0:
	adrp	x14, _TCPOPT_EOL@GOTPAGE
Lloh1:
	ldr	x14, [x14, _TCPOPT_EOL@GOTPAGEOFF]
Lloh2:
	adrp	x27, _TCPOPT_NOP@GOTPAGE
Lloh3:
	ldr	x27, [x27, _TCPOPT_NOP@GOTPAGEOFF]
Lloh4:
	adrp	x21, _TCPOPT_MAXSEG@GOTPAGE
Lloh5:
	ldr	x21, [x21, _TCPOPT_MAXSEG@GOTPAGEOFF]
Lloh6:
	adrp	x20, _TCPOLEN_MAXSEG@GOTPAGE
Lloh7:
	ldr	x20, [x20, _TCPOLEN_MAXSEG@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w19, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w25, w25, w19
	add	x26, x26, w19, uxtw #3
	cmp	w25, #0
	b.le	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x9, [x14]
	cmp	x8, x9
	b.eq	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w19, [x26, #8]
	cmp	w19, #1
	ccmp	w25, w19, #8, ge
	b.lt	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x21]
	ldr	w10, [x20]
	cmp	x8, x9
	ccmp	w10, w19, #0, eq
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x26, #16
	mov	x0, x23
	bl	_be16dec
	mov	x22, x24
	subs	w24, w0, w24
	b.le	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x8, _CSUM_TCP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CSUM_TCP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [sp]                       ; 8-byte Folded Reload
	mov	x0, x21
	bl	_be16dec
	mov	x28, x0
	mov	x0, x24
	mov	x1, x28
	bl	_TCPMSS_ADJUST_CHECKSUM
	mov	x0, x21
Lloh11:
	adrp	x21, _TCPOPT_MAXSEG@GOTPAGE
Lloh12:
	ldr	x21, [x21, _TCPOPT_MAXSEG@GOTPAGEOFF]
	mov	x1, x28
	bl	_be16enc
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x24, x22
	mov	x1, x22
	bl	_be16enc
	mov	w28, #1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x22
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x14, _TCPOPT_EOL@GOTPAGE
Lloh14:
	ldr	x14, [x14, _TCPOPT_EOL@GOTPAGEOFF]
	b	LBB0_3
LBB0_14:
	mov	w28, #0
LBB0_15:
	mov	x0, x28
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPOPT_EOL,8,3                 ; @TCPOPT_EOL
	.comm	_TCPOPT_NOP,8,3                 ; @TCPOPT_NOP
	.comm	_TCPOPT_MAXSEG,8,3              ; @TCPOPT_MAXSEG
	.comm	_TCPOLEN_MAXSEG,4,2             ; @TCPOLEN_MAXSEG
	.comm	_CSUM_TCP,4,2                   ; @CSUM_TCP
	.no_dead_strip	_correct_mss
.subsections_via_symbols
