	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcpmss_Check
_tcpmss_Check:                          ## @tcpmss_Check
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	_OPT_TCPMSSFIXUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Enabled
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	%r13, %rdi
	callq	_m_pullup
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_m_length
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_MBUF_CTOP
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movl	(%rbx), %r12d
	movl	20(%rbx), %edi
	callq	_ntohs
	movq	_IP_OFFMASK@GOTPCREL(%rip), %rcx
	testq	%rax, (%rcx)
	jne	LBB0_7
## %bb.3:
	movl	16(%rbx), %edi
	callq	_ntohs
	cmpq	%r15, %rax
	jne	LBB0_7
## %bb.4:
	shll	$2, %r12d
	movslq	%r12d, %r12
	movq	%r15, %rbx
	subq	%r12, %rbx
	jb	LBB0_7
## %bb.5:
	leaq	4(%r12), %rax
	cmpq	%rax, %r15
	jb	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	callq	_MBUF_CTOP
	addq	%rax, %r12
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_MAXMSS
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_MSSFixup
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	_OPT_TCPMSSFIXUP,4,2            ## @OPT_TCPMSSFIXUP
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_IP_OFFMASK,8,3                 ## @IP_OFFMASK
	.no_dead_strip	_tcpmss_Check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcpmss_Check
_tcpmss_Check:                          ; @tcpmss_Check
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _OPT_TCPMSSFIXUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPT_TCPMSSFIXUP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_Enabled
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_m_pullup
	mov	x19, x0
	bl	_m_length
	mov	x21, x0
	mov	x0, x19
	bl	_MBUF_CTOP
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x22, x0
	ldr	w23, [x0]
	ldr	w0, [x0, #20]
	bl	_ntohs
Lloh6:
	adrp	x8, _IP_OFFMASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IP_OFFMASK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	tst	x8, x0
	b.ne	LBB0_5
; %bb.3:
	lsl	w8, w23, #2
	sxtw	x23, w8
	ldr	w0, [x22, #16]
	bl	_ntohs
	add	x8, x23, #4
	cmp	x0, x21
	ccmp	x21, x23, #0, eq
	ccmp	x21, x8, #0, hs
	b.lo	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_MBUF_CTOP
	add	x22, x0, x23
	sub	x21, x21, x23
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_MAXMSS
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_MSSFixup
LBB0_5:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OPT_TCPMSSFIXUP,4,2            ; @OPT_TCPMSSFIXUP
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_IP_OFFMASK,8,3                 ; @IP_OFFMASK
	.no_dead_strip	_tcpmss_Check
.subsections_via_symbols
