	.file	"extr_tcp_cache.c_tcp_heuristics_ecn_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tcp_heuristics_ecn_update
	.type	tcp_heuristics_ecn_update, @function
tcp_heuristics_ecn_update:
.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	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	mov	edx, 24
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rdi, r13
	call	memset@PLT
	xor	eax, eax
	mov	QWORD PTR 16[rsp], r12
	call	calculate_tcp_clock@PLT
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR AF_INET6[rip]
	je	.L13
	cmp	rax, QWORD PTR AF_INET[rip]
	je	.L14
.L3:
	cmp	QWORD PTR 40[rbx], 0
	jne	.L15
	cmp	QWORD PTR 32[rbx], 0
	jne	.L16
	cmp	QWORD PTR 24[rbx], 0
	jne	.L17
	cmp	QWORD PTR 16[rbx], 0
	jne	.L18
	cmp	QWORD PTR 8[rbx], 0
	jne	.L19
	cmp	QWORD PTR [rbx], 0
	je	.L1
	mov	rdi, r13
	call	tcp_heuristic_ecn_aggressive_common@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, DWORD PTR TCPCACHE_F_ECN[rip]
	mov	rdi, r13
	call	tcp_heuristic_inc_counters@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 40
	.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
.L15:
	.cfi_restore_state
	mov	esi, DWORD PTR TCPCACHE_F_ECN[rip]
	mov	rdi, r13
	call	tcp_heuristic_reset_counters@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, 12[rsp]
	mov	edx, 4
	mov	rsi, rbp
	call	memcpy@PLT
	mov	rax, QWORD PTR AF_INET6[rip]
	mov	QWORD PTR [rsp], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L19:
	mov	esi, DWORD PTR TCPCACHE_F_ECN_SYNRST[rip]
	mov	rdi, r13
	call	tcp_heuristic_inc_counters@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, 8[rsp]
	mov	edx, 4
	mov	rsi, rbp
	call	memcpy@PLT
	mov	rax, QWORD PTR AF_INET[rip]
	mov	QWORD PTR [rsp], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, DWORD PTR TCPCACHE_F_ECN_DROPRST[rip]
	mov	rdi, r13
	call	tcp_heuristic_inc_counters@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	esi, DWORD PTR TCPCACHE_F_ECN_DROPRXMT[rip]
	mov	rdi, r13
	call	tcp_heuristic_inc_counters@PLT
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tcp_heuristics_ecn_update, .-tcp_heuristics_ecn_update
	.comm	TCPCACHE_F_ECN_SYNRST,4,4
	.comm	TCPCACHE_F_ECN_DROPRXMT,4,4
	.comm	TCPCACHE_F_ECN_DROPRST,4,4
	.comm	TCPCACHE_F_ECN,4,4
	.comm	AF_INET6,8,8
	.comm	AF_INET,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_tcp_cache.c_tcp_heuristics_ecn_update.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tcp_heuristics_ecn_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_heuristics_ecn_update, %function
tcp_heuristics_ecn_update:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	sub	sp, sp, #24
	ldr	r2, .L24
	str	r1, [sp, #16]
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	mov	r4, r0
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	bl	calculate_tcp_clock
	ldr	r3, .L24+4
	ldr	r6, [r5]
	ldr	r3, [r3]
	cmp	r6, r3
	beq	.L16
	ldr	r3, .L24+8
	ldr	r3, [r3]
	cmp	r6, r3
	beq	.L17
.L3:
	ldr	r3, [r4, #20]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L1
	add	r0, sp, #4
	bl	tcp_heuristic_ecn_aggressive_common
	b	.L1
.L19:
	ldr	r3, .L24+12
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	tcp_heuristic_inc_counters
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L18:
	ldr	r3, .L24+12
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	tcp_heuristic_reset_counters
	b	.L1
.L16:
	mov	r1, r5
	mov	r2, #4
	add	r0, sp, #12
	bl	memcpy
	str	r6, [sp, #4]
	b	.L3
.L22:
	ldr	r3, .L24+16
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	tcp_heuristic_inc_counters
	b	.L1
.L17:
	mov	r1, r5
	mov	r2, #4
	add	r0, sp, #8
	bl	memcpy
	str	r6, [sp, #4]
	b	.L3
.L20:
	ldr	r3, .L24+20
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	tcp_heuristic_inc_counters
	b	.L1
.L21:
	ldr	r3, .L24+24
	add	r0, sp, #4
	ldr	r1, [r3]
	bl	tcp_heuristic_inc_counters
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	AF_INET6
	.word	AF_INET
	.word	TCPCACHE_F_ECN
	.word	TCPCACHE_F_ECN_SYNRST
	.word	TCPCACHE_F_ECN_DROPRST
	.word	TCPCACHE_F_ECN_DROPRXMT
	.size	tcp_heuristics_ecn_update, .-tcp_heuristics_ecn_update
	.comm	TCPCACHE_F_ECN_SYNRST,4,4
	.comm	TCPCACHE_F_ECN_DROPRXMT,4,4
	.comm	TCPCACHE_F_ECN_DROPRST,4,4
	.comm	TCPCACHE_F_ECN,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
