	.file	"176707011.c"
	.intel_syntax noprefix
	.text
	.globl	update_mGateNew
	.type	update_mGateNew, @function
update_mGateNew:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 464
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -440[rbp], xmm0
	mov	DWORD PTR -444[rbp], edi
	mov	QWORD PTR -456[rbp], rsi
	mov	QWORD PTR -464[rbp], rdx
	mov	QWORD PTR -472[rbp], rcx
	mov	QWORD PTR -480[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -392[rbp], 0
	mov	DWORD PTR -388[rbp], 10
	mov	DWORD PTR -384[rbp], 5
	mov	DWORD PTR -380[rbp], 1
	mov	DWORD PTR -376[rbp], 18
	mov	DWORD PTR -372[rbp], 16
	mov	eax, DWORD PTR -376[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -328[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -320[rbp], rax
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -288[rbp], xmm0
	mov	DWORD PTR -412[rbp], 1
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -412[rbp]
	sub	eax, 1
	cdqe
	movsd	xmm0, QWORD PTR -288[rbp+rax*8]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -412[rbp]
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -412[rbp]
	cdqe
	movsd	QWORD PTR -288[rbp+rax*8], xmm0
	add	DWORD PTR -412[rbp], 1
.L5:
	mov	eax, DWORD PTR -412[rbp]
	cmp	eax, DWORD PTR -372[rbp]
	jle	.L6
	mov	eax, DWORD PTR -376[rbp]
	sub	eax, 1
	mov	DWORD PTR -416[rbp], eax
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -416[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -480[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -440[rbp]
	mov	rax, QWORD PTR -320[rbp]
	mov	edx, DWORD PTR -416[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -416[rbp], 1
.L7:
	cmp	DWORD PTR -416[rbp], 0
	jns	.L8
	mov	edx, DWORD PTR -384[rbp]
	mov	eax, DWORD PTR -388[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -368[rbp], eax
	mov	edx, DWORD PTR -376[rbp]
	mov	eax, DWORD PTR -380[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -364[rbp], eax
	mov	DWORD PTR -420[rbp], 0
	jmp	.L9
.L18:
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -456[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -312[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -352[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -360[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -344[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -336[rbp], xmm0
	mov	eax, DWORD PTR -376[rbp]
	sub	eax, 1
	mov	DWORD PTR -408[rbp], eax
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -320[rbp]
	mov	edx, DWORD PTR -408[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -312[rbp]
	mulsd	xmm0, QWORD PTR -344[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -344[rbp], xmm0
	sub	DWORD PTR -408[rbp], 1
.L10:
	cmp	DWORD PTR -408[rbp], 0
	jns	.L11
	mov	eax, DWORD PTR -384[rbp]
	sub	eax, 1
	mov	DWORD PTR -404[rbp], eax
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -404[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -472[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -312[rbp]
	mulsd	xmm0, QWORD PTR -352[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -352[rbp], xmm0
	sub	DWORD PTR -404[rbp], 1
.L12:
	cmp	DWORD PTR -404[rbp], 0
	jns	.L13
	mov	eax, DWORD PTR -368[rbp]
	mov	DWORD PTR -400[rbp], eax
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -400[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -472[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -312[rbp]
	mulsd	xmm0, QWORD PTR -360[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -360[rbp], xmm0
	sub	DWORD PTR -400[rbp], 1
.L14:
	mov	eax, DWORD PTR -400[rbp]
	cmp	eax, DWORD PTR -384[rbp]
	jge	.L15
	movsd	xmm0, QWORD PTR -352[rbp]
	divsd	xmm0, QWORD PTR -360[rbp]
	movsd	QWORD PTR -304[rbp], xmm0
	mov	eax, DWORD PTR -372[rbp]
	mov	DWORD PTR -396[rbp], eax
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -396[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -288[rbp+rax*8]
	movsd	xmm0, QWORD PTR -336[rbp]
	mulsd	xmm0, QWORD PTR -344[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -336[rbp], xmm0
	sub	DWORD PTR -396[rbp], 1
.L16:
	cmp	DWORD PTR -396[rbp], 0
	jns	.L17
	movsd	xmm0, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -336[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -296[rbp], xmm0
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -464[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -304[rbp]
	mulsd	xmm0, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -464[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -296[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -420[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -464[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -420[rbp], 1
.L9:
	mov	eax, DWORD PTR -420[rbp]
	cmp	eax, DWORD PTR -444[rbp]
	jl	.L18
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	update_mGateNew, .-update_mGateNew
	.globl	update_mGate
	.type	update_mGate, @function
update_mGate:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 184
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -136[rbp], 10
	mov	DWORD PTR -132[rbp], 5
	mov	DWORD PTR -128[rbp], 1
	mov	DWORD PTR -124[rbp], 18
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L21:
	cmp	rsp, rdx
	je	.L22
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L21
.L22:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L23
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L23:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	mov	DWORD PTR -156[rbp], eax
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -156[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -156[rbp], 1
.L24:
	cmp	DWORD PTR -156[rbp], 0
	jns	.L25
	mov	edx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -136[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -120[rbp], eax
	mov	edx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -160[rbp], 0
	jmp	.L26
.L33:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -72[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -112[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 1
	mov	DWORD PTR -152[rbp], eax
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -152[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, QWORD PTR -112[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
	sub	DWORD PTR -152[rbp], 1
.L27:
	cmp	DWORD PTR -152[rbp], 0
	jns	.L28
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 1
	mov	DWORD PTR -148[rbp], eax
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -148[rbp], 1
.L29:
	cmp	DWORD PTR -148[rbp], 0
	jns	.L30
	mov	eax, DWORD PTR -120[rbp]
	mov	DWORD PTR -144[rbp], eax
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, QWORD PTR -104[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -104[rbp], xmm0
	sub	DWORD PTR -144[rbp], 1
.L31:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jge	.L32
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	movq	xmm1, QWORD PTR .LC2[rip]
	xorpd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -48[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -160[rbp], 1
.L26:
	mov	eax, DWORD PTR -160[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L33
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	update_mGate, .-update_mGate
	.globl	update_hGate
	.type	update_hGate, @function
update_hGate:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 1
	mov	DWORD PTR -120[rbp], 7
	mov	DWORD PTR -116[rbp], 9
	mov	DWORD PTR -112[rbp], 11
	mov	DWORD PTR -108[rbp], 11
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L36:
	cmp	rsp, rdx
	je	.L37
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L36
.L37:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L38
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L38:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L39:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L40
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L41
.L50:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L42:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L43
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L44
.L45:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L44:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L45
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L46:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L47
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L48:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L49
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L41:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L50
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	update_hGate, .-update_hGate
	.globl	update_jGate
	.type	update_jGate, @function
update_jGate:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 176
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -152[rbp], xmm0
	mov	DWORD PTR -156[rbp], edi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -176[rbp], rdx
	mov	QWORD PTR -184[rbp], rcx
	mov	QWORD PTR -192[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -116[rbp], 2
	mov	DWORD PTR -112[rbp], 7
	mov	DWORD PTR -108[rbp], 9
	mov	DWORD PTR -104[rbp], 1
	mov	DWORD PTR -100[rbp], 13
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L53:
	cmp	rsp, rdx
	je	.L54
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L53
.L54:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L55
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L55:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L56
.L57:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -132[rbp], 1
.L56:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L57
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -96[rbp], eax
	mov	edx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -92[rbp], eax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L58
.L65:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -128[rbp], eax
	jmp	.L59
.L60:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L59:
	cmp	DWORD PTR -128[rbp], 0
	jns	.L60
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -124[rbp], eax
	jmp	.L61
.L62:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -124[rbp], 1
.L61:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L62
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, 1
	mov	DWORD PTR -120[rbp], eax
	jmp	.L63
.L64:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -120[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -120[rbp], 1
.L63:
	cmp	DWORD PTR -120[rbp], 0
	jns	.L64
	movsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	divsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -136[rbp], 1
.L58:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L65
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	update_jGate, .-update_jGate
	.globl	update_Xr1Gate
	.type	update_Xr1Gate, @function
update_Xr1Gate:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 3
	mov	DWORD PTR -120[rbp], 5
	mov	DWORD PTR -116[rbp], 8
	mov	DWORD PTR -112[rbp], 1
	mov	DWORD PTR -108[rbp], 13
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L68:
	cmp	rsp, rdx
	je	.L69
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L68
.L69:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L70
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L70:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L71
.L72:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L71:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L72
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L73
.L82:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L74
.L75:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L74:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L75
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L76
.L77:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L76:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L77
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L78
.L79:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L78:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L79
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L80
.L81:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L80:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L81
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L73:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L82
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L83
	call	__stack_chk_fail@PLT
.L83:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	update_Xr1Gate, .-update_Xr1Gate
	.globl	update_Xr2Gate
	.type	update_Xr2Gate, @function
update_Xr2Gate:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 160
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -136[rbp], xmm0
	mov	DWORD PTR -140[rbp], edi
	mov	QWORD PTR -152[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -168[rbp], rcx
	mov	QWORD PTR -176[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -108[rbp], 4
	mov	DWORD PTR -104[rbp], 1
	mov	DWORD PTR -100[rbp], 10
	mov	DWORD PTR -96[rbp], 1
	mov	DWORD PTR -92[rbp], 10
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L85:
	cmp	rsp, rdx
	je	.L86
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L85
.L86:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L87
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L87:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	mov	DWORD PTR -116[rbp], eax
	jmp	.L88
.L89:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -116[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -116[rbp], 1
.L88:
	cmp	DWORD PTR -116[rbp], 0
	jns	.L89
	mov	edx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -88[rbp], eax
	mov	edx, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L90
.L95:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	mov	eax, DWORD PTR -100[rbp]
	sub	eax, 1
	mov	DWORD PTR -124[rbp], eax
	jmp	.L91
.L92:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -124[rbp], 1
.L91:
	cmp	DWORD PTR -124[rbp], 0
	jns	.L92
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	mov	DWORD PTR -112[rbp], eax
	jmp	.L93
.L94:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -112[rbp], 1
.L93:
	cmp	DWORD PTR -112[rbp], 0
	jns	.L94
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -120[rbp], 1
.L90:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L95
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L96
	call	__stack_chk_fail@PLT
.L96:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	update_Xr2Gate, .-update_Xr2Gate
	.globl	update_XsGate
	.type	update_XsGate, @function
update_XsGate:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 5
	mov	DWORD PTR -120[rbp], 5
	mov	DWORD PTR -116[rbp], 5
	mov	DWORD PTR -112[rbp], 6
	mov	DWORD PTR -108[rbp], 9
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L98:
	cmp	rsp, rdx
	je	.L99
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L98
.L99:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L100
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L100:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L101
.L102:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L101:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L102
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L103
.L112:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L104
.L105:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L104:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L105
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L106
.L107:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L106:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L107
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L108
.L109:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L108:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L109
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L110
.L111:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L110:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L111
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L103:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L112
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L113
	call	__stack_chk_fail@PLT
.L113:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	update_XsGate, .-update_XsGate
	.globl	update_rGate
	.type	update_rGate, @function
update_rGate:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 6
	mov	DWORD PTR -120[rbp], 5
	mov	DWORD PTR -116[rbp], 8
	mov	DWORD PTR -112[rbp], 5
	mov	DWORD PTR -108[rbp], 7
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L115:
	cmp	rsp, rdx
	je	.L116
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L115
.L116:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L117
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L117:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L118
.L119:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L118:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L119
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L120
.L129:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L121
.L122:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L121:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L122
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L123
.L124:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L123:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L124
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L125
.L126:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L125:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L126
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L127
.L128:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L127:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L128
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L120:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L129
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L130
	call	__stack_chk_fail@PLT
.L130:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	update_rGate, .-update_rGate
	.globl	update_dGate
	.type	update_dGate, @function
update_dGate:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 7
	mov	DWORD PTR -120[rbp], 5
	mov	DWORD PTR -116[rbp], 7
	mov	DWORD PTR -112[rbp], 7
	mov	DWORD PTR -108[rbp], 10
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L132:
	cmp	rsp, rdx
	je	.L133
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L132
.L133:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L134
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L134:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L135
.L136:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L135:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L136
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L137
.L146:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L138
.L139:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L138:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L139
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L140
.L141:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L140:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L141
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L142
.L143:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L142:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L143
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L144
.L145:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L144:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L145
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L137:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L146
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L147
	call	__stack_chk_fail@PLT
.L147:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	update_dGate, .-update_dGate
	.globl	update_fGate
	.type	update_fGate, @function
update_fGate:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 8
	mov	DWORD PTR -120[rbp], 5
	mov	DWORD PTR -116[rbp], 8
	mov	DWORD PTR -112[rbp], 13
	mov	DWORD PTR -108[rbp], 11
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L149:
	cmp	rsp, rdx
	je	.L150
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L149
.L150:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L151
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L151:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L152
.L153:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L152:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L153
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L154
.L163:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L155
.L156:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L155:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L156
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L157
.L158:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L157:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L158
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L159
.L160:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L159:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L160
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L161
.L162:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L161:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L162
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L154:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L163
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L164
	call	__stack_chk_fail@PLT
.L164:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	update_fGate, .-update_fGate
	.globl	update_f2Gate
	.type	update_f2Gate, @function
update_f2Gate:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 9
	mov	DWORD PTR -120[rbp], 8
	mov	DWORD PTR -116[rbp], 5
	mov	DWORD PTR -112[rbp], 11
	mov	DWORD PTR -108[rbp], 12
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L166:
	cmp	rsp, rdx
	je	.L167
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L166
.L167:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L168
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L168:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L169
.L170:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L169:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L170
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L171
.L180:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L172
.L173:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L172:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L173
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L174
.L175:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L174:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L175
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L176
.L177:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L176:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L177
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L178
.L179:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L178:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L179
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L171:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L180
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L181
	call	__stack_chk_fail@PLT
.L181:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	update_f2Gate, .-update_f2Gate
	.globl	update_jLGate
	.type	update_jLGate, @function
update_jLGate:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 176
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -152[rbp], xmm0
	mov	DWORD PTR -156[rbp], edi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -176[rbp], rdx
	mov	QWORD PTR -184[rbp], rcx
	mov	QWORD PTR -192[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 10
	mov	DWORD PTR -120[rbp], 6
	mov	DWORD PTR -116[rbp], 12
	mov	DWORD PTR -112[rbp], 1
	mov	DWORD PTR -108[rbp], 1
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L183:
	cmp	rsp, rdx
	je	.L184
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L183
.L184:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L185
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L185:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L186
.L187:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -132[rbp], 1
.L186:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L187
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L188
.L193:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -64[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L189
.L190:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L189:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L190
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L191
.L192:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L191:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L192
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -88[rbp]
	divsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -176[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -136[rbp], 1
.L188:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L193
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L194
	call	__stack_chk_fail@PLT
.L194:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	update_jLGate, .-update_jLGate
	.globl	update_s0Gate
	.type	update_s0Gate, @function
update_s0Gate:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 11
	mov	DWORD PTR -120[rbp], 7
	mov	DWORD PTR -116[rbp], 8
	mov	DWORD PTR -112[rbp], 6
	mov	DWORD PTR -108[rbp], 7
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L196:
	cmp	rsp, rdx
	je	.L197
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L196
.L197:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L198
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L198:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L199
.L200:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L199:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L200
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L201
.L210:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L202
.L203:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L202:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L203
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L204
.L205:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L204:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L205
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L206
.L207:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L206:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L207
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L208
.L209:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L208:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L209
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L201:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L210
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L211
	call	__stack_chk_fail@PLT
.L211:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	update_s0Gate, .-update_s0Gate
	.globl	update_s1Gate
	.type	update_s1Gate, @function
update_s1Gate:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	sub	rsp, 192
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -172[rbp], edi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -200[rbp], rcx
	mov	QWORD PTR -208[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rsi, rax
	mov	DWORD PTR -124[rbp], 11
	mov	DWORD PTR -120[rbp], 7
	mov	DWORD PTR -116[rbp], 8
	mov	DWORD PTR -112[rbp], 11
	mov	DWORD PTR -108[rbp], 11
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L213:
	cmp	rsp, rdx
	je	.L214
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L213
.L214:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L215
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L215:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -144[rbp], eax
	jmp	.L216
.L217:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -144[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
	sub	DWORD PTR -144[rbp], 1
.L216:
	cmp	DWORD PTR -144[rbp], 0
	jns	.L217
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L218
.L227:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L219
.L220:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	sub	DWORD PTR -140[rbp], 1
.L219:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L220
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -136[rbp], eax
	jmp	.L221
.L222:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	sub	DWORD PTR -136[rbp], 1
.L221:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L222
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	mov	DWORD PTR -132[rbp], eax
	jmp	.L223
.L224:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	sub	DWORD PTR -132[rbp], 1
.L223:
	cmp	DWORD PTR -132[rbp], 0
	jns	.L224
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -128[rbp], eax
	jmp	.L225
.L226:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	sub	DWORD PTR -128[rbp], 1
.L225:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jge	.L226
	movsd	xmm0, QWORD PTR -96[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	addsd	xmm0, xmm2
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -148[rbp], 1
.L218:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L227
	mov	rsp, rsi
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L228
	call	__stack_chk_fail@PLT
.L228:
	lea	rsp, -16[rbp]
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	update_s1Gate, .-update_s1Gate
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 16
.LC2:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"176707011.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_mGateNew
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_mGateNew, %function
update_mGateNew:
	@ args = 12, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #428
	str	r0, [fp, #-428]
	str	r1, [fp, #-424]
	str	r2, [fp, #-432]
	str	r3, [fp, #-436]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-440]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-444]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-448]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #0
	str	r3, [fp, #-388]
	mov	r3, #10
	str	r3, [fp, #-384]
	mov	r3, #5
	str	r3, [fp, #-380]
	mov	r3, #1
	str	r3, [fp, #-376]
	mov	r3, #18
	str	r3, [fp, #-372]
	mov	r3, #16
	str	r3, [fp, #-368]
	ldr	ip, [fp, #-372]
	sub	r3, ip, #1
	str	r3, [fp, #-364]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-360]
	mov	r2, #0
	ldr	r3, .L17+4
	str	r2, [fp, #-292]
	str	r3, [fp, #-288]
	mov	r3, #1
	str	r3, [fp, #-408]
	b	.L2
.L3:
	ldr	r3, [fp, #-408]
	sub	r3, r3, #1
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #264
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-408]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-408]
	lsl	r1, r1, #3
	sub	r0, fp, #28
	add	r1, r0, r1
	sub	r1, r1, #264
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-408]
	add	r3, r3, #1
	str	r3, [fp, #-408]
.L2:
	ldr	r2, [fp, #-408]
	ldr	r3, [fp, #-368]
	cmp	r2, r3
	ble	.L3
	ldr	r3, [fp, #-372]
	sub	r3, r3, #1
	str	r3, [fp, #-412]
	b	.L4
.L5:
	ldr	r3, [fp, #-412]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-448]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #428
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-360]
	ldr	r1, [fp, #-412]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-412]
	sub	r3, r3, #1
	str	r3, [fp, #-412]
.L4:
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	bge	.L5
	ldr	r2, [fp, #-380]
	ldr	r3, [fp, #-384]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-356]
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-376]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L6
.L15:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-436]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-316]
	str	r3, [fp, #-312]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-340]
	str	r3, [fp, #-336]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-348]
	str	r3, [fp, #-344]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-332]
	str	r3, [fp, #-328]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-324]
	str	r3, [fp, #-320]
	ldr	r3, [fp, #-372]
	sub	r3, r3, #1
	str	r3, [fp, #-404]
	b	.L7
.L8:
	ldr	r2, [fp, #-360]
	ldr	r3, [fp, #-404]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	sub	r1, fp, #316
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-332]
	str	r3, [fp, #-328]
	ldr	r3, [fp, #-404]
	sub	r3, r3, #1
	str	r3, [fp, #-404]
.L7:
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	bge	.L8
	ldr	r3, [fp, #-380]
	sub	r3, r3, #1
	str	r3, [fp, #-400]
	b	.L9
.L10:
	ldr	r3, [fp, #-400]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #340
	ldmia	r3, {r2-r3}
	sub	r1, fp, #316
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-340]
	str	r3, [fp, #-336]
	ldr	r3, [fp, #-400]
	sub	r3, r3, #1
	str	r3, [fp, #-400]
.L9:
	ldr	r3, [fp, #-400]
	cmp	r3, #0
	bge	.L10
	ldr	r3, [fp, #-356]
	str	r3, [fp, #-396]
	b	.L11
.L12:
	ldr	r3, [fp, #-396]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-444]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #348
	ldmia	r3, {r2-r3}
	sub	r1, fp, #316
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-348]
	str	r3, [fp, #-344]
	ldr	r3, [fp, #-396]
	sub	r3, r3, #1
	str	r3, [fp, #-396]
.L11:
	ldr	r2, [fp, #-396]
	ldr	r3, [fp, #-380]
	cmp	r2, r3
	bge	.L12
	sub	r3, fp, #348
	ldmia	r3, {r2-r3}
	sub	r1, fp, #340
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-308]
	str	r3, [fp, #-304]
	ldr	r3, [fp, #-368]
	str	r3, [fp, #-392]
	b	.L13
.L14:
	ldr	r3, [fp, #-392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #264
	ldmia	r3, {r4-r5}
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	sub	r1, fp, #324
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-324]
	str	r3, [fp, #-320]
	ldr	r3, [fp, #-392]
	sub	r3, r3, #1
	str	r3, [fp, #-392]
.L13:
	ldr	r3, [fp, #-392]
	cmp	r3, #0
	bge	.L14
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L17+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L17+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-300]
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-440]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #300
	ldmia	r3, {r2-r3}
	sub	r1, fp, #308
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-440]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #300
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-440]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L6:
	ldr	r2, [fp, #-416]
	ldr	r3, [fp, #-432]
	cmp	r2, r3
	blt	.L15
	mov	sp, r8
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	1072693248
	.size	update_mGateNew, .-update_mGateNew
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_mGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_mGate, %function
update_mGate:
	@ args = 12, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #156
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, sp
	mov	r10, r3
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #10
	str	r3, [fp, #-132]
	mov	r3, #5
	str	r3, [fp, #-128]
	mov	r3, #1
	str	r3, [fp, #-124]
	mov	r3, #18
	str	r3, [fp, #-120]
	ldr	ip, [fp, #-120]
	sub	r3, ip, #1
	str	r3, [fp, #-116]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-152]
	b	.L20
.L21:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-112]
	ldr	r1, [fp, #-152]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-152]
	sub	r3, r3, #1
	str	r3, [fp, #-152]
.L20:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bge	.L21
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-108]
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L22
.L29:
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L23
.L24:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L23:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L24
	ldr	r3, [fp, #-128]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L25
.L26:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L25:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L26
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-140]
	b	.L27
.L28:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L27:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	bge	.L28
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r4, [fp, #-100]
	ldr	r3, [fp, #-96]
	eor	r5, r3, #-2147483648
	mov	r0, r4
	mov	r1, r5
	bl	exp
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L31+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r8, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r8, {r2-r3}
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L22:
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L29
	mov	sp, r10
	nop
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC1
	.word	1072693248
	.size	update_mGate, .-update_mGate
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_hGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_hGate, %function
update_hGate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #1
	str	r3, [fp, #-128]
	mov	r3, #7
	str	r3, [fp, #-124]
	mov	r3, #9
	str	r3, [fp, #-120]
	mov	r3, #11
	str	r3, [fp, #-116]
	mov	r3, #11
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L34
.L35:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L34:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L35
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L36
.L45:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L37
.L38:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L37:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L38
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L39
.L40:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L39:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L40
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L41
.L42:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L41:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L42
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L43
.L44:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L43:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L44
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L36:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L45
	mov	sp, r8
	nop
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC2
	.size	update_hGate, .-update_hGate
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_jGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_jGate, %function
update_jGate:
	@ args = 12, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #148
	str	r0, [fp, #-148]
	str	r1, [fp, #-144]
	str	r2, [fp, #-152]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-160]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-164]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-168]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #2
	str	r3, [fp, #-120]
	mov	r3, #7
	str	r3, [fp, #-116]
	mov	r3, #9
	str	r3, [fp, #-112]
	mov	r3, #1
	str	r3, [fp, #-108]
	mov	r3, #13
	str	r3, [fp, #-104]
	ldr	ip, [fp, #-104]
	sub	r3, ip, #1
	str	r3, [fp, #-100]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L50
.L51:
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-96]
	ldr	r1, [fp, #-136]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L50:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L51
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-108]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L52
.L59:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-156]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
	b	.L53
.L54:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L53:
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L54
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-128]
	b	.L55
.L56:
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-128]
	sub	r3, r3, #1
	str	r3, [fp, #-128]
.L55:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L56
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-124]
	b	.L57
.L58:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-124]
	sub	r3, r3, #1
	str	r3, [fp, #-124]
.L57:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bge	.L58
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L52:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-152]
	cmp	r2, r3
	blt	.L59
	mov	sp, r8
	nop
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC3
	.size	update_jGate, .-update_jGate
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_Xr1Gate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_Xr1Gate, %function
update_Xr1Gate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #3
	str	r3, [fp, #-128]
	mov	r3, #5
	str	r3, [fp, #-124]
	mov	r3, #8
	str	r3, [fp, #-120]
	mov	r3, #1
	str	r3, [fp, #-116]
	mov	r3, #13
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L64
.L65:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L64:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L65
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L66
.L75:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L67
.L68:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L67:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L68
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L69
.L70:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L69:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L70
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L71
.L72:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L71:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L72
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L73
.L74:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L73:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L74
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L66:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L75
	mov	sp, r8
	nop
	ldr	r3, .L77
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L76
	bl	__stack_chk_fail
.L76:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC4
	.size	update_Xr1Gate, .-update_Xr1Gate
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_Xr2Gate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_Xr2Gate, %function
update_Xr2Gate:
	@ args = 12, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #140
	str	r0, [fp, #-140]
	str	r1, [fp, #-136]
	str	r2, [fp, #-144]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-160]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #4
	str	r3, [fp, #-112]
	mov	r3, #1
	str	r3, [fp, #-108]
	mov	r3, #10
	str	r3, [fp, #-104]
	mov	r3, #1
	str	r3, [fp, #-100]
	mov	r3, #10
	str	r3, [fp, #-96]
	ldr	ip, [fp, #-96]
	sub	r3, ip, #1
	str	r3, [fp, #-92]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-120]
	b	.L80
.L81:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #140
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-88]
	ldr	r1, [fp, #-120]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-120]
.L80:
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L81
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-108]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L82
.L87:
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-148]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-128]
	b	.L83
.L84:
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-156]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-128]
	sub	r3, r3, #1
	str	r3, [fp, #-128]
.L83:
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bge	.L84
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-116]
	b	.L85
.L86:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-116]
	sub	r3, r3, #1
	str	r3, [fp, #-116]
.L85:
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bge	.L86
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-152]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-152]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L82:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L87
	mov	sp, r8
	nop
	ldr	r3, .L89
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC5
	.size	update_Xr2Gate, .-update_Xr2Gate
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_XsGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_XsGate, %function
update_XsGate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L105
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #5
	str	r3, [fp, #-128]
	mov	r3, #5
	str	r3, [fp, #-124]
	mov	r3, #5
	str	r3, [fp, #-120]
	mov	r3, #6
	str	r3, [fp, #-116]
	mov	r3, #9
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L92
.L93:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L92:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L93
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L94
.L103:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L95
.L96:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L95:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L96
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L97
.L98:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L97:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L98
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L99
.L100:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L99:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L100
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L101
.L102:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L101:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L102
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L94:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L103
	mov	sp, r8
	nop
	ldr	r3, .L105
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L104
	bl	__stack_chk_fail
.L104:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L106:
	.align	2
.L105:
	.word	.LC6
	.size	update_XsGate, .-update_XsGate
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_rGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_rGate, %function
update_rGate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L121
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #6
	str	r3, [fp, #-128]
	mov	r3, #5
	str	r3, [fp, #-124]
	mov	r3, #8
	str	r3, [fp, #-120]
	mov	r3, #5
	str	r3, [fp, #-116]
	mov	r3, #7
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L108
.L109:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L108:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L109
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L110
.L119:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L111
.L112:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L111:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L112
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L113
.L114:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L113:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L114
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L115
.L116:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L115:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L116
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L117
.L118:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L117:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L118
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L110:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L119
	mov	sp, r8
	nop
	ldr	r3, .L121
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L120
	bl	__stack_chk_fail
.L120:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L122:
	.align	2
.L121:
	.word	.LC7
	.size	update_rGate, .-update_rGate
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_dGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_dGate, %function
update_dGate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L137
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #7
	str	r3, [fp, #-128]
	mov	r3, #5
	str	r3, [fp, #-124]
	mov	r3, #7
	str	r3, [fp, #-120]
	mov	r3, #7
	str	r3, [fp, #-116]
	mov	r3, #10
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L124
.L125:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L124:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L125
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L126
.L135:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L127
.L128:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L127:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L128
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L129
.L130:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L129:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L130
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L131
.L132:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L131:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L132
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L133
.L134:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L133:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L134
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L126:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L135
	mov	sp, r8
	nop
	ldr	r3, .L137
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L136
	bl	__stack_chk_fail
.L136:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L138:
	.align	2
.L137:
	.word	.LC8
	.size	update_dGate, .-update_dGate
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_fGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_fGate, %function
update_fGate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L153
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #8
	str	r3, [fp, #-128]
	mov	r3, #5
	str	r3, [fp, #-124]
	mov	r3, #8
	str	r3, [fp, #-120]
	mov	r3, #13
	str	r3, [fp, #-116]
	mov	r3, #11
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L140
.L141:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L140:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L141
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L142
.L151:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L143
.L144:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L143:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L144
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L145
.L146:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L145:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L146
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L147
.L148:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L147:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L148
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L149
.L150:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L149:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L150
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L142:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L151
	mov	sp, r8
	nop
	ldr	r3, .L153
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L152
	bl	__stack_chk_fail
.L152:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L154:
	.align	2
.L153:
	.word	.LC9
	.size	update_fGate, .-update_fGate
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_f2Gate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_f2Gate, %function
update_f2Gate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L169
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #9
	str	r3, [fp, #-128]
	mov	r3, #8
	str	r3, [fp, #-124]
	mov	r3, #5
	str	r3, [fp, #-120]
	mov	r3, #11
	str	r3, [fp, #-116]
	mov	r3, #12
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L156
.L157:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L156:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L157
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L158
.L167:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L159
.L160:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L159:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L160
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L161
.L162:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L161:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L162
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L163
.L164:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L163:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L164
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L165
.L166:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L165:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L166
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L158:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L167
	mov	sp, r8
	nop
	ldr	r3, .L169
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L168
	bl	__stack_chk_fail
.L168:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L170:
	.align	2
.L169:
	.word	.LC10
	.size	update_f2Gate, .-update_f2Gate
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_jLGate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_jLGate, %function
update_jLGate:
	@ args = 12, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #156
	str	r0, [fp, #-156]
	str	r1, [fp, #-152]
	str	r2, [fp, #-160]
	str	r3, [fp, #-164]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-168]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-176]
	ldr	r3, .L181
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #10
	str	r3, [fp, #-128]
	mov	r3, #6
	str	r3, [fp, #-124]
	mov	r3, #12
	str	r3, [fp, #-120]
	mov	r3, #1
	str	r3, [fp, #-116]
	mov	r3, #1
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L172
.L173:
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-136]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L172:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L173
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L174
.L179:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L175
.L176:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L175:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L176
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-132]
	b	.L177
.L178:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L177:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L178
	ldr	r3, [fp, #-104]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L174:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-160]
	cmp	r2, r3
	blt	.L179
	mov	sp, r8
	nop
	ldr	r3, .L181
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L180
	bl	__stack_chk_fail
.L180:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L182:
	.align	2
.L181:
	.word	.LC11
	.size	update_jLGate, .-update_jLGate
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_s0Gate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_s0Gate, %function
update_s0Gate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L197
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #11
	str	r3, [fp, #-128]
	mov	r3, #7
	str	r3, [fp, #-124]
	mov	r3, #8
	str	r3, [fp, #-120]
	mov	r3, #6
	str	r3, [fp, #-116]
	mov	r3, #7
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L184
.L185:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L184:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L185
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L186
.L195:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L187
.L188:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L187:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L188
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L189
.L190:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L189:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L190
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L191
.L192:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L191:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L192
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L193
.L194:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L193:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L194
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L186:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L195
	mov	sp, r8
	nop
	ldr	r3, .L197
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L196
	bl	__stack_chk_fail
.L196:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L198:
	.align	2
.L197:
	.word	.LC12
	.size	update_s0Gate, .-update_s0Gate
	.section	.rodata
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	update_s1Gate
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_s1Gate, %function
update_s1Gate:
	@ args = 12, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #164
	str	r0, [fp, #-164]
	str	r1, [fp, #-160]
	str	r2, [fp, #-168]
	str	r3, [fp, #-172]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-184]
	ldr	r3, .L213
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #11
	str	r3, [fp, #-128]
	mov	r3, #7
	str	r3, [fp, #-124]
	mov	r3, #8
	str	r3, [fp, #-120]
	mov	r3, #11
	str	r3, [fp, #-116]
	mov	r3, #11
	str	r3, [fp, #-112]
	ldr	ip, [fp, #-112]
	sub	r3, ip, #1
	str	r3, [fp, #-108]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
	b	.L200
.L201:
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #164
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-104]
	ldr	r1, [fp, #-148]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	str	r3, [fp, #-148]
.L200:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bge	.L201
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-116]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L202
.L211:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-172]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
	b	.L203
.L204:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-144]
	sub	r3, r3, #1
	str	r3, [fp, #-144]
.L203:
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bge	.L204
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-140]
	b	.L205
.L206:
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	str	r3, [fp, #-140]
.L205:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L206
	ldr	r3, [fp, #-112]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
	b	.L207
.L208:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	str	r3, [fp, #-136]
.L207:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L208
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-132]
	b	.L209
.L210:
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-184]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-132]
	sub	r3, r3, #1
	str	r3, [fp, #-132]
.L209:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	bge	.L210
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L202:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	blt	.L211
	mov	sp, r8
	nop
	ldr	r3, .L213
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L212
	bl	__stack_chk_fail
.L212:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L214:
	.align	2
.L213:
	.word	.LC13
	.size	update_s1Gate, .-update_s1Gate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
