#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(int rows, int cols, double *obj, double *A,
                 int model_opt_sense, double *rhs, char *constr_sense,
                 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>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
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),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
lea    0xea0(%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>:
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(i32 %0, i32 %1, double* %2, double* %3, i32 %4, double* %5, i8* %6, double* %7, double* %8, double* %9, double* %10, double* %11, double* %12, double* %13, double* %14) {
%16 = alloca i32
%17 = alloca i32
%18 = alloca double*
%19 = alloca double*
%20 = alloca i32
%21 = alloca double*
%22 = alloca i8*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca double*
%28 = alloca double*
%29 = alloca double*
%30 = alloca double*
%31 = alloca i32
store i32 %0, i32* %16
store i32 %1, i32* %17
store double* %2, double** %18
store double* %3, double** %19
store i32 %4, i32* %20
store double* %5, double** %21
store i8* %6, i8** %22
store double* %7, double** %23
store double* %8, double** %24
store double* %9, double** %25
store double* %10, double** %26
store double* %11, double** %27
store double* %12, double** %28
store double* %13, double** %29
store double* %14, double** %30
store i32 0, i32* %31
%32 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %31
%33 = load i32, i32* %31
ret i32 %33
}

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