// File: /workspace/github_c_makefile_star2_O0/olcaytaner[P]Isell/svmq.c
// Function: empty_svrq
Svrqptr empty_svrq(Svm_problem prob, Svm_parameter param)
{
	/*Last Changed 27.04.2005*/
	int k;
	Svrqptr result;
	result = safemalloc(sizeof(Svrq), "empty_svrq", 3);
	result->k = empty_kernel(prob.l, prob.x, param.kernel_type, param.degree, param.gamma, param.coef0);
	result->l = prob.l;
	result->cache = empty_cache(prob.l, (int)(param.cache_size*(1<<20)));
	result->sign = safemalloc(2 * prob.l * sizeof(signed char), "empty_svrq", 7);
	result->index = safemalloc(2 * prob.l * sizeof(int), "empty_svrq", 8);
	for(k = 0; k < prob.l; k++)
	 {
			result->sign[k] = 1;
			result->sign[k + prob.l] = -1;
			result->index[k] = k;
			result->index[k + prob.l] = k;
		}
	result->buffer[0] = safemalloc(2 * prob.l * sizeof(double), "empty_svrq", 16);
	result->buffer[1] = safemalloc(2 * prob.l * sizeof(double), "empty_svrq", 17);
	result->next_buffer = 0;
	return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x30(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movl $0x40, %edi
leaq 0x22b07(%rip), %rsi     # 0xee1db
movl $0x3, %edx
callq 0x52d70
movq -0x18(%rbp), %rcx
movq %rax, %rdx
movq -0x20(%rbp), %rax
movq %rdx, -0x10(%rbp)
movl (%rcx), %edi
movq 0x10(%rcx), %rsi
movl 0x4(%rax), %edx
movl 0x8(%rax), %ecx
movsd 0x10(%rax), %xmm0
movsd 0x18(%rax), %xmm1
callq 0xca920
movq -0x18(%rbp), %rcx
movq %rax, %rsi
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rdx
movq %rsi, (%rdx)
movl (%rcx), %esi
movq -0x10(%rbp), %rdx
movl %esi, 0x8(%rdx)
movl (%rcx), %edi
movsd 0x22a8b(%rip), %xmm0    # 0xee1b8
mulsd 0x20(%rax), %xmm0
cvttsd2si %xmm0, %esi
callq 0xc9ef0
movq %rax, %rdx
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rdx, 0x10(%rcx)
movl (%rax), %eax
shll %eax
movslq %eax, %rdi
shlq $0x0, %rdi
leaq 0x22a7f(%rip), %rsi     # 0xee1db
movl $0x7, %edx
callq 0x52d70
movq %rax, %rdx
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rdx, 0x18(%rcx)
movl (%rax), %eax
shll %eax
movslq %eax, %rdi
shlq $0x2, %rdi
leaq 0x22a54(%rip), %rsi     # 0xee1db
movl $0x8, %edx
callq 0x52d70
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x20(%rax)
movl $0x0, -0x4(%rbp)
movq -0x18(%rbp), %rcx
movl -0x4(%rbp), %eax
cmpl (%rcx), %eax
jge 0xcb809
movq -0x18(%rbp), %rsi
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x4(%rbp), %rcx
movb $0x1, (%rax,%rcx)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movl -0x4(%rbp), %ecx
addl (%rsi), %ecx
movslq %ecx, %rcx
movb $-0x1, (%rax,%rcx)
movl -0x4(%rbp), %edx
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x4(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x4(%rbp), %edx
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movl -0x4(%rbp), %ecx
addl (%rsi), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0xcb7a3
movq -0x18(%rbp), %rax
movl (%rax), %eax
shll %eax
movslq %eax, %rdi
shlq $0x3, %rdi
leaq 0x229bc(%rip), %rsi     # 0xee1db
movl $0x10, %edx
callq 0x52d70
movq %rax, %rdx
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rdx, 0x30(%rcx)
movl (%rax), %eax
shll %eax
movslq %eax, %rdi
shlq $0x3, %rdi
leaq 0x22991(%rip), %rsi     # 0xee1db
movl $0x11, %edx
callq 0x52d70
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x38(%rax)
movq -0x10(%rbp), %rax
movl $0x0, 0x28(%rax)
movq -0x10(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)