	.file	"extr_mss.c_mss_fixup_ipv6.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mss_fixup_ipv6
	.type	mss_fixup_ipv6, @function
mss_fixup_ipv6:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	BLEN@PLT
	cmp	eax, 15
	jg	.L13
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbx
	call	verify_align_4@PLT
	mov	rdi, rbx
	call	BPTR@PLT
	mov	rdi, rbx
	mov	rbp, rax
	call	BLEN@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	r13d, eax
	call	ntohs@PLT
	add	eax, 40
	cmp	r13d, eax
	jne	.L1
	mov	rax, QWORD PTR OPENVPN_IPPROTO_TCP[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L1
	mov	eax, DWORD PTR [rbx]
	lea	rbp, 4[rsp]
	mov	esi, 40
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], eax
	call	buf_advance@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	BLEN@PLT
	cmp	eax, 3
	jle	.L1
	mov	rdi, rbp
	call	BPTR@PLT
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR OPENVPN_TCPH_SYN_MASK[rip], eax
	je	.L1
	movsx	rsi, r12d
	mov	rdi, rbp
	sub	rsi, 20
	call	mss_fixup_dowork@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mss_fixup_ipv6, .-mss_fixup_ipv6
	.comm	OPENVPN_TCPH_SYN_MASK,4,4
	.comm	OPENVPN_IPPROTO_TCP,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mss.c_mss_fixup_ipv6.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mss_fixup_ipv6
	.syntax unified
	.arm
	.fpu softvfp
	.type	mss_fixup_ipv6, %function
mss_fixup_ipv6:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L15
	sub	sp, sp, #12
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r4, r0
	bl	BLEN
	cmp	r0, #7
	bgt	.L13
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	mov	r0, r4
	bl	verify_align_4
	mov	r0, r4
	bl	BPTR
	mov	r5, r0
	mov	r0, r4
	bl	BLEN
	mov	r7, r0
	ldr	r0, [r5, #4]
	bl	ntohs
	add	r3, r0, #40
	cmp	r7, r3
	bne	.L1
	ldr	r3, .L15+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L1
	ldr	r3, [r4]
	mov	r0, sp
	mov	r1, #40
	str	r3, [sp]
	bl	buf_advance
	cmp	r0, #0
	beq	.L1
	mov	r0, sp
	bl	BLEN
	cmp	r0, #3
	ble	.L1
	mov	r0, sp
	bl	BPTR
	ldr	r3, .L15+8
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L1
	mov	r0, sp
	sub	r1, r6, #20
	bl	mss_fixup_dowork
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	OPENVPN_IPPROTO_TCP
	.word	OPENVPN_TCPH_SYN_MASK
	.size	mss_fixup_ipv6, .-mss_fixup_ipv6
	.comm	OPENVPN_TCPH_SYN_MASK,4,4
	.comm	OPENVPN_IPPROTO_TCP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
