#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
int generic_LP_C_sparse(int rows, int cols, double *obj, int numnz, int *vbeg,
                        int *vind, double *vval, int model_opt_sense,
                        double *rhs, char *constr_dir, double *Q, double *lb,
                        double *ub, double *objval, double *sol_mat_X,
                        double *sol_mat_RC, double *dual_mat_PI,
                        double *dual_mat_SLACK) {
  int success = 0;
  printf("No linear programming kit detected\n");
  success = 0;
  return success;
}


x86 assembly (clang, -O0):
<generic_LP_C_sparse>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
lea    0xe96(%rip),%rdi
call   1030 <printf@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<generic_LP_C_sparse>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [36 x i8] c"No linear programming kit detected\0A\00"
define i32 @generic_LP_C_sparse(i32 %0, i32 %1, double* %2, i32 %3, i32* %4, i32* %5, double* %6, i32 %7, double* %8, i8* %9, double* %10, double* %11, double* %12, double* %13, double* %14, double* %15, double* %16, double* %17) {
%19 = alloca i32
%20 = alloca i32
%21 = alloca double*
%22 = alloca i32
%23 = alloca i32*
%24 = alloca i32*
%25 = alloca double*
%26 = alloca i32
%27 = alloca double*
%28 = alloca i8*
%29 = alloca double*
%30 = alloca double*
%31 = alloca double*
%32 = alloca double*
%33 = alloca double*
%34 = alloca double*
%35 = alloca double*
%36 = alloca double*
%37 = alloca i32
store i32 %0, i32* %19
store i32 %1, i32* %20
store double* %2, double** %21
store i32 %3, i32* %22
store i32* %4, i32** %23
store i32* %5, i32** %24
store double* %6, double** %25
store i32 %7, i32* %26
store double* %8, double** %27
store i8* %9, i8** %28
store double* %10, double** %29
store double* %11, double** %30
store double* %12, double** %31
store double* %13, double** %32
store double* %14, double** %33
store double* %15, double** %34
store double* %16, double** %35
store double* %17, double** %36
store i32 0, i32* %37
%38 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %37
%39 = load i32, i32* %37
ret i32 %39
}

LLVM IR (-O2):
@str = [35 x i8] c"No linear programming kit detected\00"
define i32 @generic_LP_C_sparse(i32 %0, i32 %1, double* nocapture readnone %2, i32 %3, i32* nocapture readnone %4, i32* nocapture readnone %5, double* nocapture readnone %6, i32 %7, double* nocapture readnone %8, i8* nocapture readnone %9, double* nocapture readnone %10, double* nocapture readnone %11, double* nocapture readnone %12, double* nocapture readnone %13, double* nocapture readnone %14, double* nocapture readnone %15, double* nocapture readnone %16, double* nocapture readnone %17) {
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
ret i32 0
}