// File: /workspace/github_c_makefile_star2_O0/oridb[P]mc/6/isel.c
// Function: gencall
static void
gencall(Isel *s, Node *n)
{
	Loc *arg;	/* values we reduced */
	size_t argsz, argoff, nargs, falseargs, vasplit;
	size_t nfloats, nints;
	Loc *retloc1, *retloc2, *rsp;	/* hard-coded registers */
	Loc *ret;
	size_t ri, rf;
	Loc *stkbump;	/* calculated stack offset */
	Type *t, *fn;
	Node **args;
	Node *retnode;
	ArgType rettype;
	size_t i;
	int vararg;

	rsp = locphysreg(Rrsp);

	t = exprtype(n);
	ri = 0;
	rf = 0;
	retloc1 = NULL;
	retloc2 = NULL;
	rettype = classify(t);

	switch (rettype) {
	case ArgVoid:
	case ArgBig:
		break;
	case ArgReg:
		retloc1 = coreg((istyfloat(t)) ?  Rxmm0d : Rrax, mode(n));
		break;
	case ArgAggrI:
		retloc1 = coreg(intretregs[ri++], tymodepart(t, 0, 0));
		break;
	case ArgAggrF:
		retloc1 = coreg(fltretregs[rf++], tymodepart(t, 1, 0));
		break;
	case ArgAggrII:
		retloc1 = coreg(intretregs[ri++], tymodepart(t, 0, 0));
		retloc2 = coreg(intretregs[ri++], tymodepart(t, 0, 8));
		break;
	case ArgAggrIF:
		retloc1 = coreg(intretregs[ri++], tymodepart(t, 0, 0));
		retloc2 = coreg(fltretregs[rf++], tymodepart(t, 1, 8));
		break;
	case ArgAggrFI:
		retloc1 = coreg(fltretregs[rf++], tymodepart(t, 1, 0));
		retloc2 = coreg(intretregs[ri++], tymodepart(t, 0, 8));
		break;
	case ArgAggrFF:
		retloc1 = coreg(fltretregs[rf++], tymodepart(t, 1, 0));
		retloc2 = coreg(fltretregs[rf++], tymodepart(t, 1, 8));
		break;
	}

	fn = tybase(exprtype(n->expr.args[0]));
	/* calculate the number of args we expect to see, adjust
	 * for a hidden return argument. */
	vasplit = countargs(fn);
	argsz = 0;

	/*
	 * { the function itself, [optional environment], [optional return information], real arg 1, ... }
	 */
	falseargs = 1;
	if (exprop(n) == Ocallind) {
		falseargs++;
	}
	if (rettype != ArgVoid) {
		retnode = n->expr.args[falseargs];
		if (rettype != ArgBig) {
			falseargs++;
		}
	}
	args = &n->expr.args[falseargs];
	nargs = n->expr.nargs - falseargs;
	/* Have to calculate the amount to bump the stack
	 * pointer by in one pass first, otherwise if we push
	 * one at a time, we evaluate the args in reverse order.
	 * Not good.
	 *
	 * Skip the first operand, since it's the function itself
	 *
	 * Strictly speaking, we might waste a little space here,
	 * since some of these args might actually get passed in
	 * registers.
	 */
	for (i = 0; i < nargs; i++) {
		argsz = align(argsz, min(size(args[i]), Ptrsz));
		argsz += size(args[i]);
		argsz = align(argsz, 8);
	}
	argsz = align(argsz, 16);
	stkbump = loclit(argsz, ModeQ);
	if (argsz)
		g(s, Isub, stkbump, rsp, NULL);

	/* Now, we can evaluate the arguments */
	argoff = 0;
	nfloats = 0;
	nints = 0;
	vararg = 0;
	for (i = 0; i < nargs; i++) {
		arg = selexpr(s, args[i]);
		t = exprtype(args[i]);
		argoff = alignto(argoff, t);
		ArgType a = ArgBig;
		if (i >= vasplit)
			vararg = 1;
		else
			argoff = align(argoff, 8);

		if (!vararg) {
			a = classify(t);
		}

		if (!sufficientregs(a, nfloats, nints)) {
			a = ArgBig;
		}

		switch(a) {
		case ArgVoid:
			break;
		case ArgReg:
		case ArgBig:
			/* placearg can figure this out */
			placearg(s, args[i], arg, PassInNoPref, rsp, vararg, &nfloats, &nints, &argoff);
			break;
		case ArgAggrI:
			placearg(s, args[i], arg, PassInInt, rsp, vararg, &nfloats, &nints, &argoff);
			break;
		case ArgAggrF:
			placearg(s, args[i], arg, PassInSSE, rsp, vararg, &nfloats, &nints, &argoff);
			break;
		case ArgAggrII:
			placearg(s, args[i],          arg , PassInInt, rsp, vararg, &nfloats, &nints, &argoff);
			placearg(s, args[i], plus8(s, arg), PassInInt, rsp, vararg, &nfloats, &nints, &argoff);
			break;
		case ArgAggrIF:
			placearg(s, args[i],          arg , PassInInt, rsp, vararg, &nfloats, &nints, &argoff);
			placearg(s, args[i], plus8(s, arg), PassInSSE, rsp, vararg, &nfloats, &nints, &argoff);
			break;
		case ArgAggrFI:
			placearg(s, args[i],          arg , PassInSSE, rsp, vararg, &nfloats, &nints, &argoff);
			placearg(s, args[i], plus8(s, arg), PassInInt, rsp, vararg, &nfloats, &nints, &argoff);
			break;
		case ArgAggrFF:
			placearg(s, args[i],          arg , PassInSSE, rsp, vararg, &nfloats, &nints, &argoff);
			placearg(s, args[i], plus8(s, arg), PassInSSE, rsp, vararg, &nfloats, &nints, &argoff);
			break;
		}

	}
	call(s, n);
	if (argsz)
		g(s, Iadd, stkbump, rsp, NULL);

	switch (rettype) {
	case ArgVoid:
	case ArgBig:
		/*
		 * No need to do anything. The return location, if any, was taken care of
		 * as the hidden argument.
		 */
		break;
	case ArgReg:
		/* retnode is the actual thing we're storing in */
		ret = varloc(s, retnode);
		if (isfloatmode(retloc1->mode))
			g(s, Imovs, retloc1, ret, NULL);
		else
			g(s, Imov, retloc1, ret, NULL);
		break;
	case ArgAggrI:
		g(s, Imov, retloc1, locmem(0, inri(s, selexpr(s, retnode)), NULL, ModeQ), NULL);
		break;
	case ArgAggrF:
		g(s, Imovs, retloc1, locmem(0, inri(s, selexpr(s, retnode)), NULL, ModeD), NULL);
		break;
	case ArgAggrII:
		g(s, Imov, retloc1, locmem(0, inri(s, selexpr(s, retnode)), NULL, ModeQ), NULL);
		g(s, Imov, retloc2, locmem(8, inri(s, selexpr(s, retnode)), NULL, ModeQ), NULL);
		break;
	case ArgAggrIF:
		g(s, Imov,  retloc1, locmem(0, inri(s, selexpr(s, retnode)), NULL, ModeQ), NULL);
		g(s, Imovs, retloc2, locmem(8, inri(s, selexpr(s, retnode)), NULL, ModeD), NULL);
		break;
	case ArgAggrFI:
		g(s, Imovs, retloc1, locmem(0, inri(s, selexpr(s, retnode)), NULL, ModeD), NULL);
		g(s, Imov,  retloc2, locmem(8, inri(s, selexpr(s, retnode)), NULL, ModeQ), NULL);
		break;
	case ArgAggrFF:
		g(s, Imovs, retloc1, locmem(0, inri(s, selexpr(s, retnode)), NULL, ModeD), NULL);
		g(s, Imovs, retloc2, locmem(8, inri(s, selexpr(s, retnode)), NULL, ModeD), NULL);
		break;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x3b, %edi
callq 0xffc0
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rdi
callq 0x30340
movq %rax, -0x90(%rbp)
movq $0x0, -0x78(%rbp)
movq $0x0, -0x80(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x60(%rbp)
movq -0x90(%rbp), %rdi
callq 0x1c9b0
movl %eax, -0xac(%rbp)
movl -0xac(%rbp), %eax
movq %rax, -0xc8(%rbp)
subq $0x8, %rax
ja 0xc763
movq -0xc8(%rbp), %rax
leaq 0x4007c(%rip), %rcx     # 0x4c4c4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0xc763
movq -0x90(%rbp), %rdi
callq 0x37930
movl %eax, %edx
movl $0x35, %eax
movl $0x55, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, -0xcc(%rbp)
movq -0x10(%rbp), %rdi
callq 0xc110
movl -0xcc(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x58(%rbp)
jmp 0xc763
movq -0x78(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
leaq 0x538c1(%rip), %rax     # 0x5fd70
movq (%rax,%rcx,8), %rax
movl %eax, -0xd0(%rbp)
movq -0x90(%rbp), %rdi
xorl %esi, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0xf460
movl -0xd0(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x58(%rbp)
jmp 0xc763
movq -0x80(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x80(%rbp)
leaq 0x53869(%rip), %rax     # 0x5fd60
movq (%rax,%rcx,8), %rax
movl %eax, -0xd4(%rbp)
movq -0x90(%rbp), %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0xf460
movl -0xd4(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x58(%rbp)
jmp 0xc763
movq -0x78(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
leaq 0x5382e(%rip), %rax     # 0x5fd70
movq (%rax,%rcx,8), %rax
movl %eax, -0xdc(%rbp)
movq -0x90(%rbp), %rdi
xorl %esi, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0xf460
movl -0xdc(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x58(%rbp)
movq -0x78(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
leaq 0x537eb(%rip), %rax     # 0x5fd70
movq (%rax,%rcx,8), %rax
movl %eax, -0xd8(%rbp)
movq -0x90(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0xf460
movl -0xd8(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x60(%rbp)
jmp 0xc763
movq -0x78(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
leaq 0x537a2(%rip), %rax     # 0x5fd70
movq (%rax,%rcx,8), %rax
movl %eax, -0xe4(%rbp)
movq -0x90(%rbp), %rdi
xorl %esi, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0xf460
movl -0xe4(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x58(%rbp)
movq -0x80(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x80(%rbp)
leaq 0x5374f(%rip), %rax     # 0x5fd60
movq (%rax,%rcx,8), %rax
movl %eax, -0xe0(%rbp)
movq -0x90(%rbp), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0xf460
movl -0xe0(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x60(%rbp)
jmp 0xc763
movq -0x80(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x80(%rbp)
leaq 0x53703(%rip), %rax     # 0x5fd60
movq (%rax,%rcx,8), %rax
movl %eax, -0xec(%rbp)
movq -0x90(%rbp), %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0xf460
movl -0xec(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x58(%rbp)
movq -0x78(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x78(%rbp)
leaq 0x536cd(%rip), %rax     # 0x5fd70
movq (%rax,%rcx,8), %rax
movl %eax, -0xe8(%rbp)
movq -0x90(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0xf460
movl -0xe8(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x60(%rbp)
jmp 0xc763
movq -0x80(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x80(%rbp)
leaq 0x53674(%rip), %rax     # 0x5fd60
movq (%rax,%rcx,8), %rax
movl %eax, -0xf4(%rbp)
movq -0x90(%rbp), %rdi
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0xf460
movl -0xf4(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x58(%rbp)
movq -0x80(%rbp), %rcx
movq %rcx, %rax
addq $0x1, %rax
movq %rax, -0x80(%rbp)
leaq 0x5362e(%rip), %rax     # 0x5fd60
movq (%rax,%rcx,8), %rax
movl %eax, -0xf0(%rbp)
movq -0x90(%rbp), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0xf460
movl -0xf0(%rbp), %edi
movl %eax, %esi
callq 0x10240
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rax
movq (%rax), %rdi
callq 0x30340
movq %rax, %rdi
callq 0x36a30
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
callq 0x1c920
movq %rax, -0x40(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x1, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x2f210
cmpl $0x48, %eax
jne 0xc7bc
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
cmpl $0x0, -0xac(%rbp)
je 0xc7f3
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rax
movq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0xa8(%rbp)
cmpl $0x8, -0xac(%rbp)
je 0xc7f1
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
jmp 0xc7f3
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rax
movq -0x38(%rbp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0xa0(%rbp)
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rax
subq -0x38(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x0, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
cmpq -0x30(%rbp), %rax
jae 0xc8c3
movq -0x20(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1c480
movq %rax, %rdi
movl $0x8, %esi
callq 0x4a580
movq -0x100(%rbp), %rdi
movq %rax, %rsi
callq 0x4a5b0
movq %rax, -0x20(%rbp)
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1c480
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movl $0x8, %esi
callq 0x4a5b0
movq %rax, -0x20(%rbp)
movq -0xb8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xb8(%rbp)
jmp 0xc828
movq -0x20(%rbp), %rdi
movl $0x10, %esi
callq 0x4a5b0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movl $0x4, %esi
callq 0x101f0
movq %rax, -0x88(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0xc911
movq -0x8(%rbp), %rdi
movq -0x88(%rbp), %rdx
movq -0x68(%rbp), %rcx
movl $0x7, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
movq $0x0, -0x28(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movl $0x0, -0xbc(%rbp)
movq $0x0, -0xb8(%rbp)
movq -0xb8(%rbp), %rax
cmpq -0x30(%rbp), %rax
jae 0xce3c
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
callq 0xaaf0
movq %rax, -0x18(%rbp)
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x30340
movq %rax, -0x90(%rbp)
movq -0x28(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x16770
movq %rax, -0x28(%rbp)
movl $0x8, -0xc0(%rbp)
movq -0xb8(%rbp), %rax
cmpq -0x40(%rbp), %rax
jb 0xc9c3
movl $0x1, -0xbc(%rbp)
jmp 0xc9d5
movq -0x28(%rbp), %rdi
movl $0x8, %esi
callq 0x4a5b0
movq %rax, -0x28(%rbp)
cmpl $0x0, -0xbc(%rbp)
jne 0xc9f0
movq -0x90(%rbp), %rdi
callq 0x1c9b0
movl %eax, -0xc0(%rbp)
movl -0xc0(%rbp), %edi
movq -0x48(%rbp), %rsi
movq -0x50(%rbp), %rdx
callq 0xdda0
cmpl $0x0, %eax
jne 0xca12
movl $0x8, -0xc0(%rbp)
movl -0xc0(%rbp), %eax
movq %rax, -0x108(%rbp)
subq $0x8, %rax
ja 0xce23
movq -0x108(%rbp), %rax
leaq 0x3fad5(%rip), %rcx     # 0x4c50c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0xce23
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x18(%rbp), %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
xorl %ecx, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
jmp 0xce23
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x18(%rbp), %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x2, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
jmp 0xce23
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x18(%rbp), %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x1, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
jmp 0xce23
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x18(%rbp), %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x2, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
movq -0x8(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x110(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xe150
movq -0x118(%rbp), %rdi
movq -0x110(%rbp), %rsi
movq %rax, %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x2, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
jmp 0xce23
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x18(%rbp), %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x2, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
movq -0x8(%rbp), %rax
movq %rax, -0x128(%rbp)
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x120(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xe150
movq -0x128(%rbp), %rdi
movq -0x120(%rbp), %rsi
movq %rax, %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x1, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
jmp 0xce23
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x18(%rbp), %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x1, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
movq -0x8(%rbp), %rax
movq %rax, -0x138(%rbp)
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x130(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xe150
movq -0x138(%rbp), %rdi
movq -0x130(%rbp), %rsi
movq %rax, %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x2, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
jmp 0xce23
movq -0x8(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
movq -0x18(%rbp), %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x1, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
movq -0x8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0xa0(%rbp), %rax
movq -0xb8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x140(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xe150
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rsi
movq %rax, %rdx
movq -0x68(%rbp), %r8
movl -0xbc(%rbp), %r9d
movl $0x1, %ecx
leaq -0x48(%rbp), %r11
leaq -0x50(%rbp), %r10
leaq -0x28(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0xf540
jmp 0xce25
movq -0xb8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xb8(%rbp)
jmp 0xc93e
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xf850
cmpq $0x0, -0x20(%rbp)
je 0xce70
movq -0x8(%rbp), %rdi
movq -0x88(%rbp), %rdx
movq -0x68(%rbp), %rcx
movl $0x6, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
movl -0xac(%rbp), %eax
movq %rax, -0x150(%rbp)
subq $0x8, %rax
ja 0xd3c6
movq -0x150(%rbp), %rax
leaq 0x3f653(%rip), %rcx     # 0x4c4e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0xd3c6
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xf980
movq %rax, -0x70(%rbp)
movq -0x58(%rbp), %rax
movl 0x4(%rax), %edi
callq 0xfd70
cmpl $0x0, %eax
je 0xcee7
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rdx
movq -0x70(%rbp), %rcx
movl $0x27, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
jmp 0xcf04
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rdx
movq -0x70(%rbp), %rcx
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
jmp 0xd3c6
movq -0x8(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x168(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x168(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x4, %ecx
movq %rdx, %rdi
callq 0x10050
movq -0x160(%rbp), %rdi
movq -0x158(%rbp), %rdx
movq %rax, %rcx
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
jmp 0xd3c6
movq -0x8(%rbp), %rax
movq %rax, -0x178(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x180(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x6, %ecx
movq %rdx, %rdi
callq 0x10050
movq -0x178(%rbp), %rdi
movq -0x170(%rbp), %rdx
movq %rax, %rcx
movl $0x27, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
jmp 0xd3c6
movq -0x8(%rbp), %rax
movq %rax, -0x1a8(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1b0(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x1b0(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x4, %ecx
movq %rdx, %rdi
callq 0x10050
movq -0x1a8(%rbp), %rdi
movq -0x1a0(%rbp), %rdx
movq %rax, %rcx
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
movq -0x8(%rbp), %rax
movq %rax, -0x190(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x188(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x198(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x198(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
movl $0x8, %edi
xorl %eax, %eax
movl %eax, %edx
movl $0x4, %ecx
callq 0x10050
movq -0x190(%rbp), %rdi
movq -0x188(%rbp), %rdx
movq %rax, %rcx
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
jmp 0xd3c6
movq -0x8(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x1d0(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x1e0(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x4, %ecx
movq %rdx, %rdi
callq 0x10050
movq -0x1d8(%rbp), %rdi
movq -0x1d0(%rbp), %rdx
movq %rax, %rcx
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
movq -0x8(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x1c8(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
movl $0x8, %edi
xorl %eax, %eax
movl %eax, %edx
movl $0x6, %ecx
callq 0x10050
movq -0x1c0(%rbp), %rdi
movq -0x1b8(%rbp), %rdx
movq %rax, %rcx
movl $0x27, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
jmp 0xd3c6
movq -0x8(%rbp), %rax
movq %rax, -0x208(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x200(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x210(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x210(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x6, %ecx
movq %rdx, %rdi
callq 0x10050
movq -0x208(%rbp), %rdi
movq -0x200(%rbp), %rdx
movq %rax, %rcx
movl $0x27, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
movq -0x8(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x1f8(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
movl $0x8, %edi
xorl %eax, %eax
movl %eax, %edx
movl $0x4, %ecx
callq 0x10050
movq -0x1f0(%rbp), %rdi
movq -0x1e8(%rbp), %rdx
movq %rax, %rcx
movl $0x1, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
jmp 0xd3c6
movq -0x8(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x230(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x240(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x240(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x6, %ecx
movq %rdx, %rdi
callq 0x10050
movq -0x238(%rbp), %rdi
movq -0x230(%rbp), %rdx
movq %rax, %rcx
movl $0x27, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
movq -0x8(%rbp), %rax
movq %rax, -0x220(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x218(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x228(%rbp)
movq -0x8(%rbp), %rdi
movq -0xa8(%rbp), %rsi
callq 0xaaf0
movq -0x228(%rbp), %rdi
movq %rax, %rsi
callq 0xc370
movq %rax, %rsi
movl $0x8, %edi
xorl %eax, %eax
movl %eax, %edx
movl $0x6, %ecx
callq 0x10050
movq -0x220(%rbp), %rdi
movq -0x218(%rbp), %rdx
movq %rax, %rcx
movl $0x27, %esi
xorl %eax, %eax
movl %eax, %r8d
movb $0x0, %al
callq 0xbf80
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
nop