// File: soybin[P]idyll/src/fractal.cpp
// Function: fractal::fractal(seed*)
fractal::fractal(seed* s) : s(s) {

	//
	// get number of fractal iterations
	//
	iterations = s->values["iterations"];

	//
	// determine shadow softness of the fractal
	//
	shadowSoftness = s->values["shadowSoftness"];

	//
	// get fractal color
	//
	color.x = s->values["xcolor"];
	color.y = s->values["ycolor"];
	color.z = s->values["zcolor"];

	//
	// get top sky gradient color
	// 
	gradientTop.x = s->values["xgradientTop"];
	gradientTop.y = s->values["ygradientTop"];
	gradientTop.z = s->values["zgradientTop"];

	//
	// get bottom sky gradient color
	//
	gradientBottom.x = s->values["xgradientBottom"];
	gradientBottom.y = s->values["ygradientBottom"];
	gradientBottom.z = s->values["zgradientBottom"];

	//
	// randomly change gradient color positions
	//
	if (s->i(0, 1)) {
		math::vec3 temp = gradientTop;
		gradientTop = gradientBottom;
		gradientBottom = temp;
	}

	//
	// determine fractal shift variation vector per iteration
	//
	xs = s->values["xshift"];
	zs = s->values["zshift"];
	
	//
	// determine fractal rotation per iteration
	//
	xr = s->values["xrotation"];
	zr = s->values["zrotation"];

	//
	// precompute sine and cosine of rotation angles
	//
	xrs = std::sin(xr);
	xrc = std::cos(xr);
	zrs = std::sin(zr);
	zrc = std::cos(zr);
	
	//
	// initialize point iterator
	//
	switch ((int)s->values["pointIterator"]) {
		case 0:
			mainPI = new PI0(xs, zs, xrs, xrc, zrs, zrc);
			break;
		case 1:
			mainPI = new PI1(xs, zs, xrs, xrc, zrs, zrc);
			break;
		case 2:
			mainPI = new PI2(xs, zs, xrs, xrc, zrs, zrc);
			break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x460, %rsp            # imm = 0x460
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x2d0(%rbp)
addq $0x50, %rdi
callq 0xbdd0
movq -0x2d0(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, 0x68(%rdi)
addq $0x78, %rdi
callq 0xbdd0
movq -0x2d0(%rbp), %rdi
addq $0x90, %rdi
callq 0xbdd0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x2c8(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x2c0(%rbp)
callq 0x45e0
movq -0x2c0(%rbp), %rdx
leaq 0xc437(%rip), %rsi      # 0x1d9e8
leaq -0x30(%rbp), %rdi
callq 0x62c0
jmp 0x115bc
movq -0x2c8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0xf980
movq %rax, -0x2d8(%rbp)
jmp 0x115d5
movq -0x2d0(%rbp), %rax
movq -0x2d8(%rbp), %rcx
cvttsd2si (%rcx), %ecx
movl %ecx, (%rax)
leaq -0x30(%rbp), %rdi
callq 0x41f0
leaq -0x31(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x2e8(%rbp)
leaq -0x69(%rbp), %rdi
movq %rdi, -0x2e0(%rbp)
callq 0x45e0
movq -0x2e0(%rbp), %rdx
leaq 0xc3c9(%rip), %rsi      # 0x1d9f3
leaq -0x68(%rbp), %rdi
callq 0x62c0
jmp 0x11635
movq -0x2e8(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0xf980
movq %rax, -0x2f0(%rbp)
jmp 0x1164e
movq -0x2d0(%rbp), %rax
movq -0x2f0(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x48(%rax)
leaq -0x68(%rbp), %rdi
callq 0x41f0
leaq -0x69(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x300(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0x2f8(%rbp)
callq 0x45e0
movq -0x2f8(%rbp), %rdx
leaq 0xc359(%rip), %rsi      # 0x1da02
leaq -0x90(%rbp), %rdi
callq 0x62c0
jmp 0x116b7
movq -0x300(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0xf980
movq %rax, -0x308(%rbp)
jmp 0x116d3
movq -0x2d0(%rbp), %rax
movq -0x308(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x50(%rax)
leaq -0x90(%rbp), %rdi
callq 0x41f0
leaq -0x91(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x318(%rbp)
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x310(%rbp)
callq 0x45e0
movq -0x310(%rbp), %rdx
leaq 0xc2d5(%rip), %rsi      # 0x1da09
leaq -0xb8(%rbp), %rdi
callq 0x62c0
jmp 0x11742
movq -0x318(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0xf980
movq %rax, -0x320(%rbp)
jmp 0x1175e
movq -0x2d0(%rbp), %rax
movq -0x320(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x58(%rax)
leaq -0xb8(%rbp), %rdi
callq 0x41f0
leaq -0xb9(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x330(%rbp)
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x328(%rbp)
callq 0x45e0
movq -0x328(%rbp), %rdx
leaq 0xc251(%rip), %rsi      # 0x1da10
leaq -0xe0(%rbp), %rdi
callq 0x62c0
jmp 0x117cd
movq -0x330(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0xf980
movq %rax, -0x338(%rbp)
jmp 0x117e9
movq -0x2d0(%rbp), %rax
movq -0x338(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x60(%rax)
leaq -0xe0(%rbp), %rdi
callq 0x41f0
leaq -0xe1(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x348(%rbp)
leaq -0x109(%rbp), %rdi
movq %rdi, -0x340(%rbp)
callq 0x45e0
movq -0x340(%rbp), %rdx
leaq 0xc1cd(%rip), %rsi      # 0x1da17
leaq -0x108(%rbp), %rdi
callq 0x62c0
jmp 0x11858
movq -0x348(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0xf980
movq %rax, -0x350(%rbp)
jmp 0x11874
movq -0x2d0(%rbp), %rax
movq -0x350(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x78(%rax)
leaq -0x108(%rbp), %rdi
callq 0x41f0
leaq -0x109(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x360(%rbp)
leaq -0x131(%rbp), %rdi
movq %rdi, -0x358(%rbp)
callq 0x45e0
movq -0x358(%rbp), %rdx
leaq 0xc14f(%rip), %rsi      # 0x1da24
leaq -0x130(%rbp), %rdi
callq 0x62c0
jmp 0x118e3
movq -0x360(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0xf980
movq %rax, -0x368(%rbp)
jmp 0x118ff
movq -0x2d0(%rbp), %rax
movq -0x368(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x80(%rax)
leaq -0x130(%rbp), %rdi
callq 0x41f0
leaq -0x131(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x378(%rbp)
leaq -0x159(%rbp), %rdi
movq %rdi, -0x370(%rbp)
callq 0x45e0
movq -0x370(%rbp), %rdx
leaq 0xc0ce(%rip), %rsi      # 0x1da31
leaq -0x158(%rbp), %rdi
callq 0x62c0
jmp 0x11971
movq -0x378(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0xf980
movq %rax, -0x380(%rbp)
jmp 0x1198d
movq -0x2d0(%rbp), %rax
movq -0x380(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x88(%rax)
leaq -0x158(%rbp), %rdi
callq 0x41f0
leaq -0x159(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x390(%rbp)
leaq -0x181(%rbp), %rdi
movq %rdi, -0x388(%rbp)
callq 0x45e0
movq -0x388(%rbp), %rdx
leaq 0xc04d(%rip), %rsi      # 0x1da3e
leaq -0x180(%rbp), %rdi
callq 0x62c0
jmp 0x119ff
movq -0x390(%rbp), %rdi
leaq -0x180(%rbp), %rsi
callq 0xf980
movq %rax, -0x398(%rbp)
jmp 0x11a1b
movq -0x2d0(%rbp), %rax
movq -0x398(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x90(%rax)
leaq -0x180(%rbp), %rdi
callq 0x41f0
leaq -0x181(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x3a8(%rbp)
leaq -0x1a9(%rbp), %rdi
movq %rdi, -0x3a0(%rbp)
callq 0x45e0
movq -0x3a0(%rbp), %rdx
leaq 0xbfcf(%rip), %rsi      # 0x1da4e
leaq -0x1a8(%rbp), %rdi
callq 0x62c0
jmp 0x11a8d
movq -0x3a8(%rbp), %rdi
leaq -0x1a8(%rbp), %rsi
callq 0xf980
movq %rax, -0x3b0(%rbp)
jmp 0x11aa9
movq -0x2d0(%rbp), %rax
movq -0x3b0(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x98(%rax)
leaq -0x1a8(%rbp), %rdi
callq 0x41f0
leaq -0x1a9(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x3c0(%rbp)
leaq -0x1d1(%rbp), %rdi
movq %rdi, -0x3b8(%rbp)
callq 0x45e0
movq -0x3b8(%rbp), %rdx
leaq 0xbf51(%rip), %rsi      # 0x1da5e
leaq -0x1d0(%rbp), %rdi
callq 0x62c0
jmp 0x11b1b
movq -0x3c0(%rbp), %rdi
leaq -0x1d0(%rbp), %rsi
callq 0xf980
movq %rax, -0x3c8(%rbp)
jmp 0x11b37
movq -0x2d0(%rbp), %rax
movq -0x3c8(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0xa0(%rax)
leaq -0x1d0(%rbp), %rdi
callq 0x41f0
leaq -0x1d1(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x15070
cmpl $0x0, %eax
je 0x11e33
movq -0x2d0(%rbp), %rdi
movq 0x78(%rdi), %rax
movq %rax, -0x1f0(%rbp)
movq 0x80(%rdi), %rax
movq %rax, -0x1e8(%rbp)
movq 0x88(%rdi), %rax
movq %rax, -0x1e0(%rbp)
movq %rdi, %rsi
addq $0x90, %rsi
addq $0x78, %rdi
callq 0xc090
movq -0x2d0(%rbp), %rdi
addq $0x90, %rdi
leaq -0x1f0(%rbp), %rsi
callq 0xc090
jmp 0x11e33
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11c05
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x41f0
leaq -0x31(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11c36
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x41f0
leaq -0x69(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11c6a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x41f0
leaq -0x91(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11ca1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x41f0
leaq -0xb9(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11cd8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x41f0
leaq -0xe1(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11d0f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x41f0
leaq -0x109(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11d46
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x130(%rbp), %rdi
callq 0x41f0
leaq -0x131(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11d7d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x158(%rbp), %rdi
callq 0x41f0
leaq -0x159(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11db4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x180(%rbp), %rdi
callq 0x41f0
leaq -0x181(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11deb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1a8(%rbp), %rdi
callq 0x41f0
leaq -0x1a9(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x11e22
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1d0(%rbp), %rdi
callq 0x41f0
leaq -0x1d1(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x3d8(%rbp)
leaq -0x211(%rbp), %rdi
movq %rdi, -0x3d0(%rbp)
callq 0x45e0
movq -0x3d0(%rbp), %rdx
leaq 0xbc09(%rip), %rsi      # 0x1da6e
leaq -0x210(%rbp), %rdi
callq 0x62c0
jmp 0x11e73
movq -0x3d8(%rbp), %rdi
leaq -0x210(%rbp), %rsi
callq 0xf980
movq %rax, -0x3e0(%rbp)
jmp 0x11e8f
movq -0x2d0(%rbp), %rax
movq -0x3e0(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x8(%rax)
leaq -0x210(%rbp), %rdi
callq 0x41f0
leaq -0x211(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x3f0(%rbp)
leaq -0x239(%rbp), %rdi
movq %rdi, -0x3e8(%rbp)
callq 0x45e0
movq -0x3e8(%rbp), %rdx
leaq 0xbb85(%rip), %rsi      # 0x1da75
leaq -0x238(%rbp), %rdi
callq 0x62c0
jmp 0x11efe
movq -0x3f0(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0xf980
movq %rax, -0x3f8(%rbp)
jmp 0x11f1a
movq -0x2d0(%rbp), %rax
movq -0x3f8(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x10(%rax)
leaq -0x238(%rbp), %rdi
callq 0x41f0
leaq -0x239(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x408(%rbp)
leaq -0x261(%rbp), %rdi
movq %rdi, -0x400(%rbp)
callq 0x45e0
movq -0x400(%rbp), %rdx
leaq 0xbb01(%rip), %rsi      # 0x1da7c
leaq -0x260(%rbp), %rdi
callq 0x62c0
jmp 0x11f89
movq -0x408(%rbp), %rdi
leaq -0x260(%rbp), %rsi
callq 0xf980
movq %rax, -0x410(%rbp)
jmp 0x11fa5
movq -0x2d0(%rbp), %rax
movq -0x410(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x18(%rax)
leaq -0x260(%rbp), %rdi
callq 0x41f0
leaq -0x261(%rbp), %rdi
callq 0x43c0
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x420(%rbp)
leaq -0x289(%rbp), %rdi
movq %rdi, -0x418(%rbp)
callq 0x45e0
movq -0x418(%rbp), %rdx
leaq 0xba80(%rip), %rsi      # 0x1da86
leaq -0x288(%rbp), %rdi
callq 0x62c0
jmp 0x12014
movq -0x420(%rbp), %rdi
leaq -0x288(%rbp), %rsi
callq 0xf980
movq %rax, -0x428(%rbp)
jmp 0x12030
movq -0x2d0(%rbp), %rax
movq -0x428(%rbp), %rcx
movsd (%rcx), %xmm0
movsd %xmm0, 0x20(%rax)
leaq -0x288(%rbp), %rdi
callq 0x41f0
leaq -0x289(%rbp), %rdi
callq 0x43c0
movq -0x2d0(%rbp), %rax
movsd 0x18(%rax), %xmm0
callq 0x40a0
movq -0x2d0(%rbp), %rax
movsd %xmm0, 0x28(%rax)
movsd 0x18(%rax), %xmm0
callq 0x4620
movq -0x2d0(%rbp), %rax
movsd %xmm0, 0x30(%rax)
movsd 0x20(%rax), %xmm0
callq 0x40a0
movq -0x2d0(%rbp), %rax
movsd %xmm0, 0x38(%rax)
movsd 0x20(%rax), %xmm0
callq 0x4620
movq -0x2d0(%rbp), %rax
movsd %xmm0, 0x40(%rax)
movq -0x10(%rbp), %rax
addq $0x2718, %rax           # imm = 0x2718
movq %rax, -0x438(%rbp)
leaq -0x2b1(%rbp), %rdi
movq %rdi, -0x430(%rbp)
callq 0x45e0
movq -0x430(%rbp), %rdx
leaq 0xb9a0(%rip), %rsi      # 0x1da90
leaq -0x2b0(%rbp), %rdi
callq 0x62c0
jmp 0x120fe
movq -0x438(%rbp), %rdi
leaq -0x2b0(%rbp), %rsi
callq 0xf980
movq %rax, -0x440(%rbp)
jmp 0x1211a
movq -0x440(%rbp), %rax
cvttsd2si (%rax), %eax
movl %eax, -0x444(%rbp)
leaq -0x2b0(%rbp), %rdi
callq 0x41f0
leaq -0x2b1(%rbp), %rdi
callq 0x43c0
movl -0x444(%rbp), %eax
testl %eax, %eax
je 0x1228b
jmp 0x12153
movl -0x444(%rbp), %eax
subl $0x1, %eax
je 0x12307
jmp 0x12164
movl -0x444(%rbp), %eax
subl $0x2, %eax
je 0x12380
jmp 0x123f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1219e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x41f0
leaq -0x211(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x121d5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x238(%rbp), %rdi
callq 0x41f0
leaq -0x239(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1220c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x260(%rbp), %rdi
callq 0x41f0
leaq -0x261(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x12243
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x288(%rbp), %rdi
callq 0x41f0
leaq -0x289(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1227a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x2b0(%rbp), %rdi
callq 0x41f0
leaq -0x2b1(%rbp), %rdi
callq 0x43c0
jmp 0x123ff
movl $0x38, %edi
callq 0x4360
movq %rax, %rdi
movq -0x2d0(%rbp), %rax
movq %rdi, %rcx
movq %rcx, -0x450(%rbp)
movsd 0x8(%rax), %xmm0
movsd 0x10(%rax), %xmm1
movsd 0x28(%rax), %xmm2
movsd 0x30(%rax), %xmm3
movsd 0x38(%rax), %xmm4
movsd 0x40(%rax), %xmm5
callq 0x12a90
jmp 0x122ce
movq -0x2d0(%rbp), %rax
movq -0x450(%rbp), %rcx
movq %rcx, 0x70(%rax)
jmp 0x123f6
movq -0x450(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x38, %esi
callq 0x4370
jmp 0x123ff
movl $0x38, %edi
callq 0x4360
movq %rax, %rdi
movq -0x2d0(%rbp), %rax
movq %rdi, %rcx
movq %rcx, -0x458(%rbp)
movsd 0x8(%rax), %xmm0
movsd 0x10(%rax), %xmm1
movsd 0x28(%rax), %xmm2
movsd 0x30(%rax), %xmm3
movsd 0x38(%rax), %xmm4
movsd 0x40(%rax), %xmm5
callq 0x12b00
jmp 0x1234a
movq -0x2d0(%rbp), %rax
movq -0x458(%rbp), %rcx
movq %rcx, 0x70(%rax)
jmp 0x123f6
movq -0x458(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x38, %esi
callq 0x4370
jmp 0x123ff
movl $0x38, %edi
callq 0x4360
movq %rax, %rdi
movq -0x2d0(%rbp), %rax
movq %rdi, %rcx
movq %rcx, -0x460(%rbp)
movsd 0x8(%rax), %xmm0
movsd 0x10(%rax), %xmm1
movsd 0x28(%rax), %xmm2
movsd 0x30(%rax), %xmm3
movsd 0x38(%rax), %xmm4
movsd 0x40(%rax), %xmm5
callq 0x12b70
jmp 0x123c3
movq -0x2d0(%rbp), %rax
movq -0x460(%rbp), %rcx
movq %rcx, 0x70(%rax)
jmp 0x123f6
movq -0x460(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
movl $0x38, %esi
callq 0x4370
jmp 0x123ff
addq $0x460, %rsp            # imm = 0x460
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x45d0
nopl (%rax,%rax)