	.file	"extr_ip_vs_sync.c_ip_vs_proc_conn.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"BACKUP, add new conn. failed\n"
	.text
	.p2align 4
	.type	ip_vs_proc_conn, @function
ip_vs_proc_conn:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r9d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR 112[rsp]
	mov	DWORD PTR 28[rsp], ecx
	mov	rdx, QWORD PTR 128[rsp]
	mov	ecx, DWORD PTR 136[rsp]
	mov	DWORD PTR 40[rsp], r8d
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR 120[rsp]
	mov	QWORD PTR 32[rsp], rdx
	mov	r14, QWORD PTR 144[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	DWORD PTR 44[rsp], ecx
	test	DWORD PTR IP_VS_CONN_F_TEMPLATE[rip], ebx
	jne	.L2
	call	ip_vs_conn_in_get@PLT
	mov	r15, rax
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR [r15], rax
	je	.L4
.L7:
	test	DWORD PTR IP_VS_CONN_F_INACTIVE[rip], ebx
	jne	.L48
	mov	rdi, r15
	call	ip_vs_conn_expire_now@PLT
	mov	rdi, r15
	call	__ip_vs_conn_put@PLT
.L9:
	xor	eax, eax
	call	rcu_read_lock@PLT
	push	rbx
	.cfi_def_cfa_offset 120
	mov	r15d, DWORD PTR 52[rsp]
	mov	edx, r13d
	mov	esi, r13d
	mov	rdi, r12
	push	r15
	.cfi_def_cfa_offset 128
	mov	eax, DWORD PTR 56[rsp]
	push	rax
	.cfi_def_cfa_offset 136
	mov	eax, DWORD PTR 4[rbp]
	push	rax
	.cfi_def_cfa_offset 144
	mov	r8, QWORD PTR 40[rsp]
	mov	rcx, QWORD PTR 48[rsp]
	mov	r9d, DWORD PTR 8[rbp]
	call	ip_vs_find_dest@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 120
	mov	r8d, ebx
	mov	esi, r13d
	push	r15
	.cfi_def_cfa_offset 128
	mov	rcx, QWORD PTR 24[rsp]
	mov	r9, rax
	mov	rdi, rbp
	mov	rdx, QWORD PTR 32[rsp]
	call	ip_vs_conn_new@PLT
	mov	r15, rax
	xor	eax, eax
	call	rcu_read_unlock@PLT
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rdx
	.cfi_def_cfa_offset 112
	test	r15, r15
	je	.L49
	test	DWORD PTR IP_VS_CONN_F_TEMPLATE[rip], ebx
	je	.L50
.L14:
	test	r14, r14
	je	.L16
	mov	eax, DWORD PTR 4[r14]
	mov	DWORD PTR 40[r15], eax
	mov	eax, DWORD PTR [r14]
	mov	DWORD PTR 36[r15], eax
.L16:
	mov	rdi, r12
	call	sysctl_sync_threshold@PLT
	lea	rdi, 32[r15]
	mov	esi, eax
	call	atomic_set@PLT
	mov	eax, DWORD PTR 28[rsp]
	mov	rsi, QWORD PTR 32[rsp]
	mov	DWORD PTR 12[r15], eax
	mov	DWORD PTR 16[r15], eax
	test	rsi, rsi
	je	.L17
	mov	rcx, QWORD PTR HZ[rip]
	mov	rax, QWORD PTR MAX_SCHEDULE_TIMEOUT[rip]
	xor	edx, edx
	div	rcx
	cmp	rax, rsi
	cmova	rax, rsi
	imul	rax, rcx
	mov	QWORD PTR 24[r15], rax
.L18:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r15
	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
	jmp	ip_vs_conn_put@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	ip_vs_ct_in_get@PLT
	mov	r15, rax
	test	rax, rax
	je	.L9
.L8:
	mov	edi, DWORD PTR 0[rbp]
	lea	r13, 44[r15]
	call	kfree@PLT
	mov	rdi, r13
	mov	rbp, QWORD PTR 48[r15]
	call	spin_lock_bh@PLT
	mov	eax, DWORD PTR 8[r15]
	mov	ecx, DWORD PTR IP_VS_CONN_F_INACTIVE[rip]
	mov	edx, eax
	xor	edx, ebx
	test	edx, ecx
	je	.L10
	test	DWORD PTR IP_VS_CONN_F_TEMPLATE[rip], ebx
	jne	.L10
	test	rbp, rbp
	je	.L11
	lea	rdi, 4[rbp]
	test	ecx, ebx
	jne	.L51
	call	atomic_inc@PLT
	mov	rdi, rbp
	call	atomic_dec@PLT
.L13:
	mov	eax, DWORD PTR 8[r15]
	mov	rdi, r13
	xor	ebx, eax
	and	ebx, DWORD PTR IP_VS_CONN_F_BACKUP_UPD_MASK[rip]
	xor	ebx, eax
	mov	DWORD PTR 8[r15], ebx
	call	spin_unlock_bh@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L10:
	mov	ebx, DWORD PTR IP_VS_CONN_F_BACKUP_UPD_MASK[rip]
	mov	rdi, r13
	and	ebx, edx
	xor	ebx, eax
	mov	DWORD PTR 8[r15], ebx
	call	spin_unlock_bh@PLT
	test	rbp, rbp
	jne	.L14
.L20:
	mov	rdi, r15
	call	ip_vs_try_bind_dest@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, DWORD PTR 40[rsp]
	mov	rdi, r12
	call	ip_vs_proto_data_get@PLT
	test	DWORD PTR IP_VS_CONN_F_TEMPLATE[rip], ebx
	jne	.L19
	test	rax, rax
	je	.L19
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L19
	mov	ecx, DWORD PTR 28[rsp]
	mov	rax, QWORD PTR [rax+rcx*8]
	mov	QWORD PTR 24[r15], rax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L19:
	imul	rax, QWORD PTR HZ[rip], 180
	mov	QWORD PTR 24[r15], rax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L49:
	mov	edi, DWORD PTR 0[rbp]
	call	kfree@PLT
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	edi, 2
	lea	rsi, .LC0[rip]
	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
	jmp	IP_VS_DBG@PLT
	.p2align 4,,10
	.p2align 3
.L50:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	kfree@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L48:
	mov	rdi, r15
	call	__ip_vs_conn_put@PLT
	mov	edi, DWORD PTR 0[rbp]
	add	rsp, 56
	.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
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR 60[r15]
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, 56[r15]
	call	ip_vs_addr_equal@PLT
	test	eax, eax
	je	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L51:
	call	atomic_dec@PLT
	mov	rdi, rbp
	call	atomic_inc@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	mov	ebx, DWORD PTR IP_VS_CONN_F_BACKUP_UPD_MASK[rip]
	mov	rdi, r13
	and	ebx, edx
	xor	ebx, eax
	mov	DWORD PTR 8[r15], ebx
	call	spin_unlock_bh@PLT
	jmp	.L20
	.cfi_endproc
.LFE0:
	.size	ip_vs_proc_conn, .-ip_vs_proc_conn
	.comm	MAX_SCHEDULE_TIMEOUT,8,8
	.comm	IP_VS_CONN_F_TEMPLATE,4,4
	.comm	IP_VS_CONN_F_INACTIVE,4,4
	.comm	IP_VS_CONN_F_BACKUP_UPD_MASK,4,4
	.comm	HZ,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_ip_vs_sync.c_ip_vs_proc_conn.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"BACKUP, add new conn. failed\012\000"
	.global	__aeabi_uidiv
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip_vs_proc_conn, %function
ip_vs_proc_conn:
	@ args = 28, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	ldr	r8, .L50
	sub	sp, sp, #52
	ldr	r2, [r8]
	str	r3, [sp, #32]
	tst	r4, r2
	ldr	r3, [sp, #88]
	ldr	r2, [sp, #104]
	str	r3, [sp, #40]
	str	r2, [sp, #36]
	ldr	r3, [sp, #100]
	ldr	r2, [sp, #108]
	mov	r6, r0
	mov	r5, r1
	mov	r0, r1
	ldr	r9, [sp, #92]
	ldr	fp, [sp, #96]
	ldr	r7, [sp, #112]
	str	r3, [sp, #28]
	str	r2, [sp, #44]
	bne	.L2
	bl	ip_vs_conn_in_get
	subs	r10, r0, #0
	beq	.L9
	ldr	r2, [r10]
	ldr	r3, [sp, #28]
	cmp	r2, r3
	beq	.L4
.L7:
	ldr	r2, .L50+4
	ldr	r2, [r2]
	tst	r4, r2
	bne	.L45
	mov	r0, r10
	bl	ip_vs_conn_expire_now
	mov	r0, r10
	bl	__ip_vs_conn_put
.L9:
	bl	rcu_read_lock
	ldmib	r5, {r2, r3}
	ldr	r1, [sp, #40]
	ldr	r10, [sp, #44]
	str	r1, [sp, #12]
	ldr	r1, [sp, #28]
	str	r10, [sp, #16]
	str	r1, [sp]
	str	r2, [sp, #8]
	mov	r1, r9
	mov	r2, r9
	str	r3, [sp, #4]
	mov	r0, r6
	mov	r3, fp
	str	r4, [sp, #20]
	bl	ip_vs_find_dest
	mov	r2, fp
	stmib	sp, {r0, r10}
	mov	r1, r9
	ldr	r3, [sp, #28]
	mov	r0, r5
	str	r4, [sp]
	bl	ip_vs_conn_new
	mov	r10, r0
	bl	rcu_read_unlock
	cmp	r10, #0
	beq	.L46
	ldr	r2, [r8]
	tst	r4, r2
	beq	.L47
.L14:
	cmp	r7, #0
	ldrne	r1, [r7, #4]
	ldrne	r2, [r7]
	mov	r0, r6
	strne	r1, [r10, #28]
	strne	r2, [r10, #24]
	bl	sysctl_sync_threshold
	mov	r1, r0
	add	r0, r10, #20
	bl	atomic_set
	ldr	r5, [sp, #36]
	ldr	r3, [sp, #32]
	cmp	r5, #0
	str	r3, [r10, #8]
	str	r3, [r10, #12]
	beq	.L17
	ldr	r1, .L50+8
	ldr	r2, .L50+12
	ldr	r4, [r1]
	ldr	r0, [r2]
	mov	r1, r4
	bl	__aeabi_uidiv
	cmp	r0, r5
	movcs	r0, r5
	mul	r0, r4, r0
	str	r0, [r10, #16]
.L18:
	mov	r0, r10
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ip_vs_conn_put
.L2:
	bl	ip_vs_ct_in_get
	subs	r10, r0, #0
	beq	.L9
.L8:
	ldr	r0, [r5]
	add	r9, r10, #32
	bl	kfree
	mov	r0, r9
	ldr	r5, [r10, #36]
	bl	spin_lock_bh
	ldr	r2, .L50+4
	ldr	r1, [r10, #4]
	ldr	r0, [r2]
	eor	r2, r1, r4
	tst	r2, r0
	beq	.L10
	ldr	ip, [r8]
	tst	r4, ip
	bne	.L10
	cmp	r5, #0
	beq	.L11
	tst	r0, r4
	add	r0, r5, #4
	bne	.L48
	bl	atomic_inc
	mov	r0, r5
	bl	atomic_dec
.L13:
	ldr	r1, .L50+16
	ldr	r2, [r10, #4]
	ldr	r1, [r1]
	eor	r4, r4, r2
	and	r4, r4, r1
	eor	r4, r4, r2
	mov	r0, r9
	str	r4, [r10, #4]
	bl	spin_unlock_bh
	b	.L14
.L10:
	ldr	ip, .L50+16
	mov	r0, r9
	ldr	r4, [ip]
	and	r4, r4, r2
	eor	r4, r4, r1
	str	r4, [r10, #4]
	bl	spin_unlock_bh
	cmp	r5, #0
	bne	.L14
.L20:
	mov	r0, r10
	bl	ip_vs_try_bind_dest
	b	.L14
.L17:
	mov	r0, r6
	ldr	r1, [sp, #40]
	bl	ip_vs_proto_data_get
	ldr	r2, [r8]
	tst	r4, r2
	moveq	r2, #1
	movne	r2, #0
	cmp	r0, #0
	moveq	r2, #0
	cmp	r2, #0
	bne	.L49
.L19:
	mov	r0, r10
	ldr	r2, .L50+8
	ldr	r2, [r2]
	add	r2, r2, r2, lsl #1
	rsb	r2, r2, r2, lsl #4
	lsl	r2, r2, #2
	str	r2, [r10, #16]
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ip_vs_conn_put
.L49:
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L19
	ldr	r3, [sp, #32]
	ldr	r2, [r2, r3, lsl #2]
	str	r2, [r10, #16]
	b	.L18
.L46:
	ldr	r0, [r5]
	bl	kfree
	mov	r0, #2
	ldr	r1, .L50+20
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	IP_VS_DBG
.L47:
	ldr	r0, [r5]
	bl	kfree
	b	.L14
.L45:
	mov	r0, r10
	bl	__ip_vs_conn_put
	ldr	r0, [r5]
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	kfree
.L4:
	mov	r2, fp
	ldr	r0, [r10, #44]
	add	r1, r10, #40
	bl	ip_vs_addr_equal
	cmp	r0, #0
	beq	.L7
	b	.L8
.L48:
	bl	atomic_dec
	mov	r0, r5
	bl	atomic_inc
	b	.L13
.L11:
	ldr	ip, .L50+16
	mov	r0, r9
	ldr	r4, [ip]
	and	r4, r4, r2
	eor	r4, r4, r1
	str	r4, [r10, #4]
	bl	spin_unlock_bh
	b	.L20
.L51:
	.align	2
.L50:
	.word	IP_VS_CONN_F_TEMPLATE
	.word	IP_VS_CONN_F_INACTIVE
	.word	HZ
	.word	MAX_SCHEDULE_TIMEOUT
	.word	IP_VS_CONN_F_BACKUP_UPD_MASK
	.word	.LC0
	.size	ip_vs_proc_conn, .-ip_vs_proc_conn
	.comm	MAX_SCHEDULE_TIMEOUT,4,4
	.comm	IP_VS_CONN_F_TEMPLATE,4,4
	.comm	IP_VS_CONN_F_INACTIVE,4,4
	.comm	IP_VS_CONN_F_BACKUP_UPD_MASK,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
