// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0xf4390, %rsp          # imm = 0xF4390
testb %al, %al
je 0x49107
movaps %xmm0, -0xf4310(%rbp)
movaps %xmm1, -0xf4300(%rbp)
movaps %xmm2, -0xf42f0(%rbp)
movaps %xmm3, -0xf42e0(%rbp)
movaps %xmm4, -0xf42d0(%rbp)
movaps %xmm5, -0xf42c0(%rbp)
movaps %xmm6, -0xf42b0(%rbp)
movaps %xmm7, -0xf42a0(%rbp)
movq %r9, -0xf4318(%rbp)
movq %r8, -0xf4320(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq %rcx, -0x18(%rbp)
leaq -0x50(%rbp), %rax
leaq -0xf4340(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq 0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl $0x30, 0x4(%rax)
movl $0x20, (%rax)
movq -0x18(%rbp), %rdi
callq 0x4150
movl %eax, -0x20(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0x20(%rbp), %eax
jge 0x49398
movq -0x8(%rbp), %rdx
movl -0x1c(%rbp), %ecx
movl -0x10(%rbp), %eax
addl %eax, %ecx
movl -0xc(%rbp), %r8d
leaq 0x9cbc0(%rip), %rsi     # 0xe5d3d
xorl %eax, %eax
leaq -0x7a170(%rbp), %rdi
callq 0x4170
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movl %eax, -0xf4344(%rbp)
subl $0x64, %eax
je 0x491c9
jmp 0x491a4
movl -0xf4344(%rbp), %eax
subl $0x66, %eax
je 0x4924a
jmp 0x491b5
movl -0xf4344(%rbp), %eax
subl $0x73, %eax
je 0x492e5
jmp 0x4935d
leaq -0x50(%rbp), %rax
movq %rax, -0xf4350(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0xf4348(%rbp)
cmpl $0x28, %eax
ja 0x49204
movq -0xf4350(%rbp), %rcx
movl -0xf4348(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xf4358(%rbp)
jmp 0x49221
movq -0xf4350(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xf4358(%rbp)
movq -0xf4358(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x24(%rbp)
leaq -0xf4290(%rbp), %rdi
movl -0x24(%rbp), %edx
leaq 0xa4027(%rip), %rsi     # 0xed265
movb $0x0, %al
callq 0x4170
jmp 0x49377
leaq -0x50(%rbp), %rax
movq %rax, -0xf4370(%rbp)
addq $0x4, %rax
movq %rax, -0xf4368(%rbp)
movl -0x4c(%rbp), %eax
movl %eax, -0xf435c(%rbp)
cmpl $0xa0, %eax
ja 0x49299
movq -0xf4368(%rbp), %rcx
movl -0xf435c(%rbp), %edx
movq -0xf4370(%rbp), %rsi
movslq %edx, %rax
addq 0x10(%rsi), %rax
addl $0x10, %edx
movl %edx, (%rcx)
movq %rax, -0xf4378(%rbp)
jmp 0x492b6
movq -0xf4370(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xf4378(%rbp)
movq -0xf4378(%rbp), %rax
movsd (%rax), %xmm0
movsd %xmm0, -0x30(%rbp)
leaq -0xf4290(%rbp), %rdi
movsd -0x30(%rbp), %xmm0
leaq 0x9bf3f(%rip), %rsi     # 0xe5218
movb $0x1, %al
callq 0x4170
jmp 0x49377
leaq -0x50(%rbp), %rax
movq %rax, -0xf4388(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0xf437c(%rbp)
cmpl $0x28, %eax
ja 0x49320
movq -0xf4388(%rbp), %rcx
movl -0xf437c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xf4390(%rbp)
jmp 0x4933d
movq -0xf4388(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xf4390(%rbp)
movq -0xf4390(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x38(%rbp)
leaq -0xf4290(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x4220
jmp 0x49377
movq -0x18(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movsbl (%rax,%rcx), %esi
leaq 0x9c9d6(%rip), %rdi     # 0xe5d46
movb $0x0, %al
callq 0x4030
leaq -0x7a170(%rbp), %rdi
leaq -0xf4290(%rbp), %rsi
callq 0x493b0
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4915a
addq $0xf4390, %rsp          # imm = 0xF4390
popq %rbp
retq
nopw %cs:(%rax,%rax)