	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mss_fixup_ipv4                 ## -- Begin function mss_fixup_ipv4
	.p2align	4, 0x90
_mss_fixup_ipv4:                        ## @mss_fixup_ipv4
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_BLEN
	cmpl	$24, %eax
	jl	LBB0_9
## %bb.1:
	movq	%r12, %rdi
	callq	_verify_align_4
	movq	%r12, %rdi
	callq	_BPTR
	movq	%rax, %rbx
	movl	16(%rax), %edi
	callq	_OPENVPN_IPH_GET_LEN
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	_OPENVPN_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.2:
	movl	12(%rbx), %edi
	callq	_ntohs
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_BLEN
	cmpl	%eax, %r13d
	jne	LBB0_9
## %bb.3:
	movl	8(%rbx), %edi
	callq	_ntohs
	movq	_OPENVPN_IP_OFFMASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_9
## %bb.4:
	movq	%r12, %rdi
	callq	_BLEN
	cmpl	%eax, %r15d
	jg	LBB0_9
## %bb.5:
	movq	%r12, %rdi
	callq	_BLEN
	subl	%r15d, %eax
	cmpl	$4, %eax
	jl	LBB0_9
## %bb.6:
	movl	(%r12), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	movl	%r15d, %esi
	callq	_buf_advance
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	-48(%rbp), %rdi
	callq	_BPTR
	movq	_OPENVPN_TCPH_SYN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	leaq	-48(%rbp), %rdi
	movl	%r14d, %esi
	callq	_mss_fixup_dowork
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENVPN_IPPROTO_TCP,8,3        ## @OPENVPN_IPPROTO_TCP
	.comm	_OPENVPN_IP_OFFMASK,4,2         ## @OPENVPN_IP_OFFMASK
	.comm	_OPENVPN_TCPH_SYN_MASK,4,2      ## @OPENVPN_TCPH_SYN_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mss_fixup_ipv4                 ; -- Begin function mss_fixup_ipv4
	.p2align	2
_mss_fixup_ipv4:                        ; @mss_fixup_ipv4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_BLEN
	cmp	w0, #24
	b.lt	LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_verify_align_4
	mov	x0, x20
	bl	_BPTR
	mov	x22, x0
	ldr	w0, [x0, #16]
	bl	_OPENVPN_IPH_GET_LEN
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _OPENVPN_IPPROTO_TCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPENVPN_IPPROTO_TCP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.2:
	mov	x21, x0
	ldr	w0, [x22, #12]
	bl	_ntohs
	mov	x23, x0
	mov	x0, x20
	bl	_BLEN
	cmp	w23, w0
	b.ne	LBB0_9
; %bb.3:
	ldr	w0, [x22, #8]
	bl	_ntohs
Lloh3:
	adrp	x8, _OPENVPN_IP_OFFMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPENVPN_IP_OFFMASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_BLEN
	cmp	w21, w0
	b.gt	LBB0_9
; %bb.5:
	mov	x0, x20
	bl	_BLEN
	sub	w8, w0, w21
	cmp	w8, #4
	b.lt	LBB0_9
; %bb.6:
	ldr	w8, [x20]
	str	w8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x21
	bl	_buf_advance
	cbz	x0, LBB0_9
; %bb.7:
	add	x0, sp, #8
	bl	_BPTR
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _OPENVPN_TCPH_SYN_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OPENVPN_TCPH_SYN_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	add	x0, sp, #8
	mov	x1, x19
	bl	_mss_fixup_dowork
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENVPN_IPPROTO_TCP,8,3        ; @OPENVPN_IPPROTO_TCP
	.comm	_OPENVPN_IP_OFFMASK,4,2         ; @OPENVPN_IP_OFFMASK
	.comm	_OPENVPN_TCPH_SYN_MASK,4,2      ; @OPENVPN_TCPH_SYN_MASK
.subsections_via_symbols
