// File: /workspace/github_c_makefile_star2_O2/olcaytaner[P]Isell/lang.c
// Function: write_array_variables
void write_array_variables(char* arrayname, int index, int start, char* vartypes, ...)
{
 int i, length, value_integer;
	double value_double;
	char* value_string;
 va_list ap;
 char varname[MAXLENGTH];
 char varvalue[MAXLENGTH];
 va_start(ap, vartypes);
	length = strlen(vartypes);
	for (i = 0; i < length; i++)
	 {
   sprintf(varname, "%s%d[%d]", arrayname, i + start, index);
		 switch (vartypes[i])
    {
		   case 'd':value_integer = va_arg(ap, int);
	             sprintf(varvalue, "%d", value_integer);
						        break;
					case 'f':value_double = va_arg(ap, double);
	             sprintf(varvalue, "%f", value_double);
														break;
					case 's':value_string = va_arg(ap, char*);
						        strcpy(varvalue, value_string);
						        break;
     default :printf(m1243, vartypes[i]);
              break;
	   }
   set_variable(varname, varvalue);
	 }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf4328, %rsp          # imm = 0xF4328
movq %rcx, %rbx
movl %edx, %r12d
movl %esi, 0x24(%rsp)
movq %rdi, 0x28(%rsp)
leaq 0x30(%rsp), %rcx
movq %r8, 0x20(%rcx)
movq %r9, 0x28(%rcx)
testb %al, %al
je 0x2f37b
movaps %xmm0, 0x60(%rsp)
movaps %xmm1, 0x70(%rsp)
movaps %xmm2, 0x80(%rsp)
movaps %xmm3, 0x90(%rsp)
movaps %xmm4, 0xa0(%rsp)
movaps %xmm5, 0xb0(%rsp)
movaps %xmm6, 0xc0(%rsp)
movaps %xmm7, 0xd0(%rsp)
movabsq $0x3000000020, %rax     # imm = 0x3000000020
movq %rax, (%rsp)
leaq 0xf4360(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %rbx, %rdi
callq 0x4190
movq %rax, %r15
xorl %eax, %eax
testl %r15d, %r15d
cmovlel %eax, %r15d
movl %r12d, %ebp
leaq 0x7a200(%rsp), %r13
xorl %r12d, %r12d
cmpq %r12, %r15
je 0x2f4ea
leal (%r12,%rbp), %ecx
movq %r13, %rdi
leaq 0x69d39(%rip), %rsi     # 0x9910d
movq 0x28(%rsp), %rdx
movl 0x24(%rsp), %r8d
xorl %eax, %eax
callq 0x41b0
movzbl (%rbx,%r12), %eax
cmpl $0x73, %eax
je 0x2f43f
cmpl $0x66, %eax
leaq 0xe0(%rsp), %rdi
je 0x2f421
cmpl $0x64, %eax
jne 0x2f458
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x2f4b6
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x2f4c4
movl 0x4(%rsp), %ecx
cmpq $0xa0, %rcx
ja 0x2f46e
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x10, %ecx
movl %ecx, 0x4(%rsp)
jmp 0x2f47c
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x2f493
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x2f4a1
movq %rdi, %r14
movsbl %al, %esi
leaq 0x69cb1(%rip), %rdi     # 0x99116
xorl %eax, %eax
callq 0x4030
jmp 0x2f4d7
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movsd (%rax), %xmm0
movq %rdi, %r14
leaq 0x6916e(%rip), %rsi     # 0x985f8
movb $0x1, %al
callq 0x41b0
jmp 0x2f4d7
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rsi
leaq 0xe0(%rsp), %r14
movq %r14, %rdi
callq 0x4270
jmp 0x2f4d7
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movl (%rax), %edx
movq %rdi, %r14
leaq 0x71689(%rip), %rsi     # 0xa0b59
xorl %eax, %eax
callq 0x41b0
movq %r13, %rdi
movq %r14, %rsi
callq 0x2f4fc
incq %r12
jmp 0x2f3bd
addq $0xf4328, %rsp          # imm = 0xF4328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq