// File: /workspace/github_c_makefile_star2_O1/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 0x32ccf
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
testl %r15d, %r15d
jle 0x32e35
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
movl %r12d, %ebp
leaq 0x7a200(%rsp), %r13
leaq 0xe0(%rsp), %r12
xorl %r14d, %r14d
leal (%r14,%rbp), %ecx
movq %r13, %rdi
leaq 0x7343f(%rip), %rsi     # 0xa616d
movq 0x28(%rsp), %rdx
movl 0x24(%rsp), %r8d
xorl %eax, %eax
callq 0x41b0
movzbl (%rbx,%r14), %eax
cmpl $0x73, %eax
je 0x32d91
cmpl $0x66, %eax
je 0x32d73
cmpl $0x64, %eax
jne 0x32daa
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x32dfd
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x32e0b
movl 0x4(%rsp), %ecx
cmpq $0xa0, %rcx
ja 0x32dbd
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x10, %ecx
movl %ecx, 0x4(%rsp)
jmp 0x32dcb
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x32de2
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x32df0
movsbl %al, %esi
leaq 0x733c2(%rip), %rdi     # 0xa6176
xorl %eax, %eax
callq 0x4030
jmp 0x32e1e
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movsd (%rax), %xmm0
movq %r12, %rdi
leaq 0x72847(%rip), %rsi     # 0xa5620
movb $0x1, %al
callq 0x41b0
jmp 0x32e1e
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rsi
movq %r12, %rdi
callq 0x4270
jmp 0x32e1e
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movl (%rax), %edx
movq %r12, %rdi
leaq 0x7ad46(%rip), %rsi     # 0xadb5d
xorl %eax, %eax
callq 0x41b0
movq %r13, %rdi
movq %r12, %rsi
callq 0x32e47
incq %r14
cmpq %r14, %r15
jne 0x32d20
addq $0xf4328, %rsp          # imm = 0xF4328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq