// File: /workspace/github_c_makefile_star2_O3/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 0x336af
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 0x33815
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 0x75a8f(%rip), %rsi     # 0xa919d
movq 0x28(%rsp), %rdx
movl 0x24(%rsp), %r8d
xorl %eax, %eax
callq 0x41b0
movzbl (%rbx,%r14), %eax
cmpl $0x73, %eax
je 0x33771
cmpl $0x66, %eax
je 0x33753
cmpl $0x64, %eax
jne 0x3378a
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x337dd
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x337eb
movl 0x4(%rsp), %ecx
cmpq $0xa0, %rcx
ja 0x3379d
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x10, %ecx
movl %ecx, 0x4(%rsp)
jmp 0x337ab
movl (%rsp), %ecx
cmpq $0x28, %rcx
ja 0x337c2
movq %rcx, %rax
addq 0x10(%rsp), %rax
addl $0x8, %ecx
movl %ecx, (%rsp)
jmp 0x337d0
movsbl %al, %esi
leaq 0x75a12(%rip), %rdi     # 0xa91a6
xorl %eax, %eax
callq 0x4030
jmp 0x337fe
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movsd (%rax), %xmm0
movq %r12, %rdi
leaq 0x74ebf(%rip), %rsi     # 0xa8678
movb $0x1, %al
callq 0x41b0
jmp 0x337fe
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rsi
movq %r12, %rdi
callq 0x4270
jmp 0x337fe
movq 0x8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movl (%rax), %edx
movq %r12, %rdi
leaq 0x7d3fe(%rip), %rsi     # 0xb0bf5
xorl %eax, %eax
callq 0x41b0
movq %r13, %rdi
movq %r12, %rsi
callq 0x33827
incq %r14
cmpq %r14, %r15
jne 0x33700
addq $0xf4328, %rsp          # imm = 0xF4328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq