	.file	"extr_tcp_output.c_tcp_synack_options.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tcp_synack_options, @function
tcp_synack_options:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 8[rsp], rcx
	mov	r15, QWORD PTR 96[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	inet_rsk@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR MAX_TCP_OPTION_SPACE[rip]
	mov	DWORD PTR [r12], r14d
	mov	edi, DWORD PTR 8[rbp]
	sub	eax, DWORD PTR TCPOLEN_MSS_ALIGNED[rip]
	mov	DWORD PTR 20[rsp], eax
	call	likely@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR 12[rbp]
	mov	DWORD PTR 32[r12], eax
	mov	eax, DWORD PTR OPTION_WSCALE[rip]
	or	DWORD PTR 16[r12], eax
	mov	rax, QWORD PTR TCPOLEN_WSCALE_ALIGNED[rip]
	sub	DWORD PTR 20[rsp], eax
.L2:
	mov	edi, DWORD PTR 0[rbp]
	call	likely@PLT
	test	rax, rax
	jne	.L25
.L3:
	mov	edi, DWORD PTR 4[rbp]
	call	likely@PLT
	test	rax, rax
	jne	.L26
.L5:
	test	r15, r15
	je	.L7
	mov	rax, QWORD PTR [r15]
	test	rax, rax
	js	.L7
	cmp	QWORD PTR 8[r15], 0
	mov	edx, DWORD PTR TCPOLEN_FASTOPEN_BASE[rip]
	je	.L9
	mov	edx, DWORD PTR TCPOLEN_EXP_FASTOPEN_BASE[rip]
.L9:
	lea	eax, 3[rdx+rax]
	mov	edx, DWORD PTR 20[rsp]
	and	eax, -4
	cmp	edx, eax
	jb	.L7
	mov	ecx, DWORD PTR OPTION_FAST_OPEN_COOKIE[rip]
	sub	edx, eax
	or	DWORD PTR 16[r12], ecx
	mov	QWORD PTR 8[r12], r15
	mov	DWORD PTR 20[rsp], edx
.L7:
	mov	rdi, r13
	call	tcp_sk@PLT
	lea	rcx, 20[rsp]
	mov	rdx, r12
	mov	rsi, rbp
	mov	edi, eax
	call	smc_set_option_cond@PLT
	mov	eax, DWORD PTR MAX_TCP_OPTION_SPACE[rip]
	sub	eax, DWORD PTR 20[rsp]
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L27
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	eax, DWORD PTR OPTION_SACK_ADVERTISE[rip]
	or	DWORD PTR 16[r12], eax
	xor	edi, edi
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR TCPOLEN_SACKPERM_ALIGNED[rip]
	sub	DWORD PTR 20[rsp], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	mov	eax, DWORD PTR OPTION_TS[rip]
	or	DWORD PTR 16[r12], eax
	mov	rdi, QWORD PTR 8[rsp]
	call	tcp_skb_timestamp@PLT
	mov	rdi, rbx
	mov	r14, rax
	call	tcp_rsk@PLT
	add	r14, QWORD PTR [rax]
	mov	eax, DWORD PTR [rbx]
	mov	QWORD PTR 24[r12], r14
	mov	DWORD PTR 20[r12], eax
	mov	rax, QWORD PTR TCPOLEN_TSTAMP_ALIGNED[rip]
	sub	DWORD PTR 20[rsp], eax
	jmp	.L3
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tcp_synack_options, .-tcp_synack_options
	.comm	TCPOLEN_WSCALE_ALIGNED,8,8
	.comm	TCPOLEN_TSTAMP_ALIGNED,8,8
	.comm	TCPOLEN_SACKPERM_ALIGNED,8,8
	.comm	TCPOLEN_MSS_ALIGNED,8,8
	.comm	TCPOLEN_MD5SIG_ALIGNED,8,8
	.comm	TCPOLEN_FASTOPEN_BASE,8,8
	.comm	TCPOLEN_EXP_FASTOPEN_BASE,8,8
	.comm	OPTION_WSCALE,4,4
	.comm	OPTION_TS,4,4
	.comm	OPTION_SACK_ADVERTISE,4,4
	.comm	OPTION_MD5,4,4
	.comm	OPTION_FAST_OPEN_COOKIE,4,4
	.comm	MAX_TCP_OPTION_SPACE,4,4
	.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_tcp_output.c_tcp_synack_options.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_synack_options, %function
tcp_synack_options:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r3
	ldr	r3, .L28
	sub	sp, sp, #12
	mov	r7, r0
	mov	r0, r1
	mov	fp, r2
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r5, [sp, #48]
	ldr	r8, [sp, #56]
	bl	inet_rsk
	ldr	r9, .L28+4
	ldr	r2, .L28+8
	ldr	r3, [r9]
	ldr	r2, [r2]
	mov	r4, r0
	sub	r2, r3, r2
	ldr	r0, [r0, #8]
	str	fp, [r5]
	str	r2, [sp]
	bl	likely
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L28+12
	ldr	r1, .L28+16
	ldr	r3, [r3]
	ldr	r2, [r5, #8]
	ldr	r0, [r1]
	orr	r2, r2, r3
	ldr	r3, [sp]
	ldr	r1, [r4, #12]
	sub	r3, r3, r0
	str	r2, [r5, #8]
	str	r1, [r5, #20]
	str	r3, [sp]
.L2:
	ldr	r0, [r4]
	bl	likely
	cmp	r0, #0
	bne	.L25
.L3:
	ldr	r0, [r4, #4]
	bl	likely
	cmp	r0, #0
	bne	.L26
.L5:
	cmp	r8, #0
	beq	.L7
	ldr	r3, [r8]
	cmp	r3, #0
	blt	.L7
	ldr	r2, [r8, #4]
	cmp	r2, #0
	ldrne	r2, .L28+20
	ldreq	r2, .L28+24
	ldr	r2, [r2]
	add	r3, r3, r2
	add	r3, r3, #3
	ldr	r2, [sp]
	bic	r3, r3, #3
	cmp	r2, r3
	bcc	.L7
	ldr	r1, .L28+28
	sub	r3, r2, r3
	ldr	r1, [r1]
	ldr	r2, [r5, #8]
	str	r3, [sp]
	orr	r3, r2, r1
	str	r8, [r5, #4]
	str	r3, [r5, #8]
.L7:
	mov	r0, r7
	bl	tcp_sk
	mov	r2, r5
	mov	r3, sp
	mov	r1, r4
	bl	smc_set_option_cond
	ldr	r3, [sp]
	ldr	r0, [r9]
	sub	r0, r0, r3
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	ldr	r0, [r4]
	ldr	r3, .L28+32
	clz	r0, r0
	ldr	r2, [r3]
	ldr	r3, [r5, #8]
	lsr	r0, r0, #5
	orr	r3, r3, r2
	str	r3, [r5, #8]
	bl	unlikely
	cmp	r0, #0
	ldrne	r2, .L28+36
	ldrne	r3, [sp]
	ldrne	r2, [r2]
	subne	r3, r3, r2
	strne	r3, [sp]
	b	.L5
.L25:
	ldr	r2, .L28+40
	ldr	r3, [r5, #8]
	ldr	r2, [r2]
	mov	r0, r10
	orr	r3, r3, r2
	str	r3, [r5, #8]
	bl	tcp_skb_timestamp
	mov	r10, r0
	mov	r0, r6
	bl	tcp_rsk
	ldr	r3, .L28+44
	ldr	r2, [r0]
	ldr	ip, [r3]
	ldr	r3, [sp]
	ldr	r1, [r6]
	add	r0, r2, r10
	sub	r3, r3, ip
	str	r0, [r5, #16]
	str	r1, [r5, #12]
	str	r3, [sp]
	b	.L3
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC0
	.word	MAX_TCP_OPTION_SPACE
	.word	TCPOLEN_MSS_ALIGNED
	.word	OPTION_WSCALE
	.word	TCPOLEN_WSCALE_ALIGNED
	.word	TCPOLEN_EXP_FASTOPEN_BASE
	.word	TCPOLEN_FASTOPEN_BASE
	.word	OPTION_FAST_OPEN_COOKIE
	.word	OPTION_SACK_ADVERTISE
	.word	TCPOLEN_SACKPERM_ALIGNED
	.word	OPTION_TS
	.word	TCPOLEN_TSTAMP_ALIGNED
	.size	tcp_synack_options, .-tcp_synack_options
	.comm	TCPOLEN_WSCALE_ALIGNED,4,4
	.comm	TCPOLEN_TSTAMP_ALIGNED,4,4
	.comm	TCPOLEN_SACKPERM_ALIGNED,4,4
	.comm	TCPOLEN_MSS_ALIGNED,4,4
	.comm	TCPOLEN_MD5SIG_ALIGNED,4,4
	.comm	TCPOLEN_FASTOPEN_BASE,4,4
	.comm	TCPOLEN_EXP_FASTOPEN_BASE,4,4
	.comm	OPTION_WSCALE,4,4
	.comm	OPTION_TS,4,4
	.comm	OPTION_SACK_ADVERTISE,4,4
	.comm	OPTION_MD5,4,4
	.comm	OPTION_FAST_OPEN_COOKIE,4,4
	.comm	MAX_TCP_OPTION_SPACE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
