	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcpmod_setmss
_tcpmod_setmss:                         ## @tcpmod_setmss
	.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, %ebx
	movq	%rsi, %r14
	movq	(%rdi), %r13
	movq	_IP_FW_DENY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	8(%r13), %rsi
	cmpq	%rsi, (%r13)
	jge	LBB0_2
## %bb.1:
	movq	%rdi, %r15
	movq	%r13, %rdi
	callq	_m_pullup
	movq	%rax, %r13
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_15
LBB0_2:
	addl	$-4, %ebx
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.3:
	leaq	4(%r14), %r15
	movq	_TCPOPT_EOL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TCPOPT_NOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_TCPOPT_MAXSEG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, %edi
	leaq	(%r15,%rdi,4), %r15
	subl	%esi, %ebx
	jle	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	cmpl	%eax, %edi
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %esi
	cmpl	%ecx, %edi
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$2, %ebx
	jb	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r15), %esi
	cmpl	$2, %esi
	jl	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%ebx, %esi
	jg	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%edx, %edi
	jne	LBB0_14
## %bb.10:
	movq	_TCPOLEN_MAXSEG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_15
## %bb.11:
	movl	8(%r15), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_ntohs
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_ntohs
	xorl	%r12d, %r12d
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	jle	LBB0_15
## %bb.12:
	movl	%ebx, 8(%r15)
	movq	_CSUM_TCP@GOTPCREL(%rip), %rax
	movq	_CSUM_TCP_IPV6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 16(%r13)
	jne	LBB0_15
## %bb.13:
	movl	(%r14), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_cksum_adjust
	movl	%eax, (%r14)
LBB0_15:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_FW_DENY,4,2                 ## @IP_FW_DENY
	.comm	_TCPOPT_EOL,4,2                 ## @TCPOPT_EOL
	.comm	_TCPOPT_NOP,4,2                 ## @TCPOPT_NOP
	.comm	_TCPOPT_MAXSEG,4,2              ## @TCPOPT_MAXSEG
	.comm	_TCPOLEN_MAXSEG,4,2             ## @TCPOLEN_MAXSEG
	.comm	_CSUM_TCP,4,2                   ## @CSUM_TCP
	.comm	_CSUM_TCP_IPV6,4,2              ## @CSUM_TCP_IPV6
	.no_dead_strip	_tcpmod_setmss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcpmod_setmss
_tcpmod_setmss:                         ; @tcpmod_setmss
	.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	x20, x3
	mov	x23, x2
	mov	x19, x1
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _IP_FW_DENY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP_FW_DENY@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldp	x8, x1, [x22]
	cmp	x8, x1
	b.ge	LBB0_2
; %bb.1:
	mov	x24, x0
	mov	x0, x22
	bl	_m_pullup
	mov	x22, x0
	str	x0, [x24]
	cbz	x0, LBB0_16
LBB0_2:
	sub	w8, w23, #4
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.3:
	add	x24, x19, #4
Lloh3:
	adrp	x9, _TCPOPT_EOL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCPOPT_EOL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _TCPOPT_NOP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TCPOPT_NOP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _TCPOPT_MAXSEG@GOTPAGE
Lloh10:
	ldr	x11, [x11, _TCPOPT_MAXSEG@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w12, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w8, w12
	add	x24, x24, w12, uxtw #2
	cmp	w8, #0
	b.le	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x24]
	cmp	w13, w9
	b.eq	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w13, w10
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #2
	b.lo	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w12, [x24, #4]
	cmp	w12, #2
	ccmp	w12, w8, #0, ge
	b.gt	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w13, w11
	b.ne	LBB0_5
; %bb.11:
Lloh12:
	adrp	x8, _TCPOLEN_MAXSEG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TCPOLEN_MAXSEG@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w12, w8
	b.ne	LBB0_16
; %bb.12:
	ldr	w21, [x24, #8]
	mov	x0, x21
	bl	_ntohs
	mov	x23, x0
	mov	x0, x20
	bl	_ntohs
	cmp	x23, x0
	b.le	LBB0_14
; %bb.13:
	str	w20, [x24, #8]
	ldr	w8, [x22, #16]
Lloh15:
	adrp	x9, _CSUM_TCP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CSUM_TCP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _CSUM_TCP_IPV6@GOTPAGE
Lloh19:
	ldr	x10, [x10, _CSUM_TCP_IPV6@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_15
LBB0_14:
	mov	w21, #0
	b	LBB0_16
LBB0_15:
	ldr	w0, [x19]
	mov	x1, x21
	mov	x2, x20
	bl	_cksum_adjust
	mov	w21, #0
	str	w0, [x19]
LBB0_16:
	mov	x0, x21
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_FW_DENY,4,2                 ; @IP_FW_DENY
	.comm	_TCPOPT_EOL,4,2                 ; @TCPOPT_EOL
	.comm	_TCPOPT_NOP,4,2                 ; @TCPOPT_NOP
	.comm	_TCPOPT_MAXSEG,4,2              ; @TCPOPT_MAXSEG
	.comm	_TCPOLEN_MAXSEG,4,2             ; @TCPOLEN_MAXSEG
	.comm	_CSUM_TCP,4,2                   ; @CSUM_TCP
	.comm	_CSUM_TCP_IPV6,4,2              ; @CSUM_TCP_IPV6
	.no_dead_strip	_tcpmod_setmss
.subsections_via_symbols
