#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*/ dgmresr_hh(double *, double *, double *, double *, long,
                              long, long, long, long, long, double, long, char,
                              double *, double *, char);
void dgmresr_hh_(double *Phi1, double *A, double *Phi2, double *rhs, long *rx1,
                 long *n, long *rx2, long *ra1, long *ra2, long *nrestart,
                 double *tol, long *niters, char *ptype, double *jacs,
                 double *sol, char *verb) {
  dgmresr_hh(Phi1, A, Phi2, rhs, rx1[0], n[0], rx2[0], ra1[0], ra2[0],
             nrestart[0], tol[0], niters[0], ptype[0], jacs, sol, verb[0]);
}


x86 assembly (clang, -O0):
<dgmresr_hh_>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
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),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %rdx,-0x40(%rbp)
mov    %rcx,-0x48(%rbp)
mov    %r8,-0x50(%rbp)
mov    %r9,-0x58(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    -0x50(%rbp),%rax
mov    (%rax),%r8
mov    -0x58(%rbp),%rax
mov    (%rax),%r9
mov    0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x68(%rbp)
mov    0x18(%rbp),%rax
mov    (%rax),%r13
mov    0x20(%rbp),%rax
mov    (%rax),%r12
mov    0x28(%rbp),%rax
mov    (%rax),%r15
mov    0x30(%rbp),%rax
movsd  (%rax),%xmm0
mov    0x38(%rbp),%rax
mov    (%rax),%r14
mov    0x40(%rbp),%rax
mov    (%rax),%bl
mov    0x48(%rbp),%r11
mov    0x50(%rbp),%r10
mov    0x58(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x68(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x60(%rbp),%rax
mov    %r13,0x8(%rsp)
mov    %r12,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
movsbl %bl,%ebx
mov    %ebx,0x28(%rsp)
mov    %r11,0x30(%rsp)
mov    %r10,0x38(%rsp)
movsbl (%rax),%eax
mov    %eax,0x40(%rsp)
call   1030 <dgmresr_hh@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<dgmresr_hh_>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
movups 0xb8(%rsp),%xmm1
mov    0xc8(%rsp),%r10
mov    0xb0(%rsp),%r11
mov    0xa8(%rsp),%r14
mov    0xa0(%rsp),%r15
mov    0x98(%rsp),%r12
mov    0x90(%rsp),%r13
mov    0x88(%rsp),%rax
mov    0x80(%rsp),%rbx
mov    (%r8),%r8
mov    (%r9),%r9
mov    (%rbx),%rbp
mov    (%rax),%rax
mov    0x0(%r13),%r13
mov    (%r12),%r12
movsd  (%r15),%xmm0
mov    (%r14),%r14
movsbl (%r11),%r11d
movsbl (%r10),%ebx
mov    %ebx,0x40(%rsp)
movups %xmm1,0x30(%rsp)
mov    %r11d,0x28(%rsp)
mov    %r14,0x20(%rsp)
mov    %r12,0x18(%rsp)
mov    %r13,0x10(%rsp)
mov    %rax,0x8(%rsp)
mov    %rbp,(%rsp)
call   1030 <dgmresr_hh@plt>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @dgmresr_hh_(double* %0, double* %1, double* %2, double* %3, i64* %4, i64* %5, i64* %6, i64* %7, i64* %8, i64* %9, double* %10, i64* %11, i8* %12, double* %13, double* %14, i8* %15) {
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca i64*
%22 = alloca i64*
%23 = alloca i64*
%24 = alloca i64*
%25 = alloca i64*
%26 = alloca i64*
%27 = alloca double*
%28 = alloca i64*
%29 = alloca i8*
%30 = alloca double*
%31 = alloca double*
%32 = alloca i8*
store double* %0, double** %17
store double* %1, double** %18
store double* %2, double** %19
store double* %3, double** %20
store i64* %4, i64** %21
store i64* %5, i64** %22
store i64* %6, i64** %23
store i64* %7, i64** %24
store i64* %8, i64** %25
store i64* %9, i64** %26
store double* %10, double** %27
store i64* %11, i64** %28
store i8* %12, i8** %29
store double* %13, double** %30
store double* %14, double** %31
store i8* %15, i8** %32
%33 = load double*, double** %17
%34 = load double*, double** %18
%35 = load double*, double** %19
%36 = load double*, double** %20
%37 = load i64*, i64** %21
%38 = getelementptr inbounds i64, i64* %37, i64 0
%39 = load i64, i64* %38
%40 = load i64*, i64** %22
%41 = getelementptr inbounds i64, i64* %40, i64 0
%42 = load i64, i64* %41
%43 = load i64*, i64** %23
%44 = getelementptr inbounds i64, i64* %43, i64 0
%45 = load i64, i64* %44
%46 = load i64*, i64** %24
%47 = getelementptr inbounds i64, i64* %46, i64 0
%48 = load i64, i64* %47
%49 = load i64*, i64** %25
%50 = getelementptr inbounds i64, i64* %49, i64 0
%51 = load i64, i64* %50
%52 = load i64*, i64** %26
%53 = getelementptr inbounds i64, i64* %52, i64 0
%54 = load i64, i64* %53
%55 = load double*, double** %27
%56 = getelementptr inbounds double, double* %55, i64 0
%57 = load double, double* %56
%58 = load i64*, i64** %28
%59 = getelementptr inbounds i64, i64* %58, i64 0
%60 = load i64, i64* %59
%61 = load i8*, i8** %29
%62 = getelementptr inbounds i8, i8* %61, i64 0
%63 = load i8, i8* %62
%64 = load double*, double** %30
%65 = load double*, double** %31
%66 = load i8*, i8** %32
%67 = getelementptr inbounds i8, i8* %66, i64 0
%68 = load i8, i8* %67
%69 = call i32 @dgmresr_hh(double* %33, double* %34, double* %35, double* %36, i64 %39, i64 %42, i64 %45, i64 %48, i64 %51, i64 %54, double %57, i64 %60, i8 signext %63, double* %64, double* %65, i8 signext %68)
ret void
}

LLVM IR (-O2):
define void @dgmresr_hh_(double* %0, double* %1, double* %2, double* %3, i64* nocapture %4, i64* nocapture %5, i64* nocapture %6, i64* nocapture %7, i64* nocapture %8, i64* nocapture %9, double* nocapture %10, i64* nocapture %11, i8* nocapture %12, double* %13, double* %14, i8* nocapture %15) {
%17 = load i64, i64* %4
%18 = load i64, i64* %5
%19 = load i64, i64* %6
%20 = load i64, i64* %7
%21 = load i64, i64* %8
%22 = load i64, i64* %9
%23 = load double, double* %10
%24 = load i64, i64* %11
%25 = load i8, i8* %12
%26 = load i8, i8* %15
%27 = tail call i32 @dgmresr_hh(double* %0, double* %1, double* %2, double* %3, i64 %17, i64 %18, i64 %19, i64 %20, i64 %21, i64 %22, double %23, i64 %24, i8 signext %25, double* %13, double* %14, i8 signext %26)
ret void
}