#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*/ DispArgs(int, char **, double, double, double, double,
                            double, double *, double, double, double *, double,
                            double, double, double, int *, int, int, int, int,
                            int, int, int, int, int, int, int, int *, char,
                            char);
int /*<<< orphan*/ ExecuteComArgs(double, double, double, double, double,
                                  double *, double, double, double *, double,
                                  double, double, double, int *, int, int, int,
                                  int, int, int, int, int, int, int *, char,
                                  char);
int ScanArgs(int, char **, double *, double *, double *, double *, double *,
             double *, double *, double *, double *, double *, double *,
             double *, double *, int *, int *, int *, int *, int *, int *,
             int *, int *, int *, int *, int *, int *, int *, int *, char *,
             char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
int main(int ArgC, char *ArgS[]) {
  int Err = 0;
  double E1 = .0, E2 = .0, DeltaE = .0, Q = .0, MP = .0, MT[10] = {.0},
         MProd = .0, MRes = .0, CT[10] = {.0}, TT = 0.0, Angle1 = 0.0,
         Angle2 = 0.0, DeltaA = 1.0;
  int ZT[10] = {0}, ZP = 0, ZProd = 0, ZRes = 0, NTarEl = 1, IsGas = 0,
      CSn = -1, SwitchQ = 0, Switchq = 0, Switchv = 0, Switchx = 0, SwitchX = 0,
      ESteps = 1, Com[20 + 1] = {0};
  char Char_S = '\n', Char_s = ' ';
  Err = ScanArgs(ArgC - 1, &ArgS[1], &E1, &E2, &DeltaE, &Q, &MP, MT, &MProd,
                 &MRes, CT, &TT, &Angle1, &Angle2, &DeltaA, ZT, &ZP, &ZProd,
                 &ZRes, &NTarEl, &IsGas, &ESteps, &CSn, &SwitchQ, &Switchq,
                 &Switchv, &Switchx, &SwitchX, Com, &Char_S, &Char_s);
  if (Err <= 0) {
    fprintf(stderr, "See readme.txt\n Example \n elast -a (deg) oleavcp "
                    "\"(target)\" (mg/cm^2) (beam) (beam E MeV) \n elast -a 0 "
                    "oleavc \"1(197Au)\" 0.5796 4He 5\n");
    if (Switchv)
      DispArgs(ArgC - 1, &ArgS[1], E1, E2, DeltaE, Q, MP, MT, MProd, MRes, CT,
               TT, Angle1, Angle2, DeltaA, ZT, ZP, ZProd, ZRes, NTarEl, IsGas,
               ESteps, SwitchQ, Switchq, Switchv, Switchx, SwitchX, Com, Char_S,
               Char_s);
    return (-1);
  };
  if (Switchv)
    DispArgs(ArgC - 1, &ArgS[1], E1, E2, DeltaE, Q, MP, MT, MProd, MRes, CT, TT,
             Angle1, Angle2, DeltaA, ZT, ZP, ZProd, ZRes, NTarEl, IsGas, ESteps,
             SwitchQ, Switchq, Switchv, Switchx, SwitchX, Com, Char_S, Char_s);
  ExecuteComArgs(E1, E2, DeltaE, Q, MP, MT, MProd, MRes, CT, TT, Angle1, Angle2,
                 DeltaA, ZT, ZP, ZProd, ZRes, NTarEl, IsGas, ESteps, CSn,
                 SwitchQ, Switchq, Com, Char_S, Char_s);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x368,%rsp
movl   $0x0,-0x2c(%rbp)
mov    %edi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
lea    -0xc0(%rbp),%rdi
xor    %esi,%esi
mov    $0x50,%edx
call   1030 <memset@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0x50,%edx
call   1030 <memset@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  0xdfa(%rip),%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
lea    -0x170(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1030 <memset@plt>
movl   $0x0,-0x174(%rbp)
movl   $0x0,-0x178(%rbp)
movl   $0x0,-0x17c(%rbp)
movl   $0x1,-0x180(%rbp)
movl   $0x0,-0x184(%rbp)
movl   $0xffffffff,-0x188(%rbp)
ff ff ff
movl   $0x0,-0x18c(%rbp)
movl   $0x0,-0x190(%rbp)
movl   $0x0,-0x194(%rbp)
movl   $0x0,-0x198(%rbp)
movl   $0x0,-0x19c(%rbp)
movl   $0x1,-0x1a0(%rbp)
lea    -0x200(%rbp),%rdi
xor    %esi,%esi
mov    $0x54,%edx
call   1030 <memset@plt>
movb   $0xa,-0x201(%rbp)
movb   $0x20,-0x202(%rbp)
mov    -0x30(%rbp),%edi
sub    $0x1,%edi
mov    -0x38(%rbp),%rsi
add    $0x8,%rsi
lea    -0xc0(%rbp),%rax
mov    %rax,-0x290(%rbp)
lea    -0x120(%rbp),%rax
mov    %rax,-0x278(%rbp)
lea    -0x170(%rbp),%rax
mov    %rax,-0x250(%rbp)
lea    -0x200(%rbp),%r11
lea    -0x48(%rbp),%rdx
lea    -0x50(%rbp),%rcx
lea    -0x58(%rbp),%r8
lea    -0x60(%rbp),%r9
lea    -0x68(%rbp),%rax
mov    %rax,-0x298(%rbp)
lea    -0xc8(%rbp),%rax
mov    %rax,-0x288(%rbp)
lea    -0xd0(%rbp),%rax
mov    %rax,-0x280(%rbp)
lea    -0x128(%rbp),%rax
mov    %rax,-0x270(%rbp)
lea    -0x130(%rbp),%rax
mov    %rax,-0x268(%rbp)
lea    -0x138(%rbp),%rax
mov    %rax,-0x260(%rbp)
lea    -0x140(%rbp),%rax
mov    %rax,-0x258(%rbp)
lea    -0x174(%rbp),%rax
mov    %rax,-0x248(%rbp)
lea    -0x178(%rbp),%rax
mov    %rax,-0x240(%rbp)
lea    -0x17c(%rbp),%rax
mov    %rax,-0x238(%rbp)
lea    -0x180(%rbp),%rax
mov    %rax,-0x230(%rbp)
lea    -0x184(%rbp),%rax
mov    %rax,-0x228(%rbp)
lea    -0x1a0(%rbp),%rax
mov    %rax,-0x220(%rbp)
lea    -0x188(%rbp),%rax
mov    %rax,-0x218(%rbp)
lea    -0x18c(%rbp),%r13
lea    -0x190(%rbp),%r12
lea    -0x194(%rbp),%r15
lea    -0x198(%rbp),%r14
lea    -0x19c(%rbp),%rbx
lea    -0x201(%rbp),%r10
lea    -0x202(%rbp),%rax
mov    %rax,-0x210(%rbp)
mov    -0x298(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x290(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x288(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x280(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x278(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x270(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    -0x268(%rbp),%rax
mov    %rax,0x30(%rsp)
mov    -0x260(%rbp),%rax
mov    %rax,0x38(%rsp)
mov    -0x258(%rbp),%rax
mov    %rax,0x40(%rsp)
mov    -0x250(%rbp),%rax
mov    %rax,0x48(%rsp)
mov    -0x248(%rbp),%rax
mov    %rax,0x50(%rsp)
mov    -0x240(%rbp),%rax
mov    %rax,0x58(%rsp)
mov    -0x238(%rbp),%rax
mov    %rax,0x60(%rsp)
mov    -0x230(%rbp),%rax
mov    %rax,0x68(%rsp)
mov    -0x228(%rbp),%rax
mov    %rax,0x70(%rsp)
mov    -0x220(%rbp),%rax
mov    %rax,0x78(%rsp)
mov    -0x218(%rbp),%rax
mov    %rax,0x80(%rsp)
mov    -0x210(%rbp),%rax
mov    %r13,0x88(%rsp)
mov    %r12,0x90(%rsp)
mov    %r15,0x98(%rsp)
mov    %r14,0xa0(%rsp)
mov    %rbx,0xa8(%rsp)
mov    %r11,0xb0(%rsp)
mov    %r10,0xb8(%rsp)
mov    %rax,0xc0(%rsp)
call   1070 <ScanArgs@plt>
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,-0x3c(%rbp)
jg     16b4 <main+0x564>
mov    0x2ab0(%rip),%rax
mov    (%rax),%edi
lea    0xacf(%rip),%rsi
call   1050 <fprintf@plt>
cmpl   $0x0,-0x194(%rbp)
je     16a8 <main+0x558>
mov    -0x30(%rbp),%edi
sub    $0x1,%edi
mov    -0x38(%rbp),%rsi
add    $0x8,%rsi
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
movsd  -0x68(%rbp),%xmm4
lea    -0xc0(%rbp),%rdx
movsd  -0xc8(%rbp),%xmm5
ff
movsd  -0xd0(%rbp),%xmm6
ff
lea    -0x120(%rbp),%rcx
movsd  -0x128(%rbp),%xmm7
ff
movsd  -0x130(%rbp),%xmm10
ff ff
movsd  -0x138(%rbp),%xmm9
ff ff
movsd  -0x140(%rbp),%xmm8
ff ff
lea    -0x170(%rbp),%r8
mov    -0x174(%rbp),%r9d
mov    -0x178(%rbp),%eax
mov    %eax,-0x2ac(%rbp)
mov    -0x17c(%rbp),%eax
mov    %eax,-0x2a8(%rbp)
mov    -0x180(%rbp),%eax
mov    %eax,-0x2a4(%rbp)
mov    -0x184(%rbp),%eax
mov    %eax,-0x2a0(%rbp)
mov    -0x1a0(%rbp),%r13d
mov    -0x18c(%rbp),%r12d
mov    -0x190(%rbp),%r15d
mov    -0x194(%rbp),%r14d
mov    -0x198(%rbp),%ebx
mov    -0x19c(%rbp),%r11d
lea    -0x200(%rbp),%r10
mov    -0x201(%rbp),%al
mov    %al,-0x299(%rbp)
mov    -0x2ac(%rbp),%eax
movsd  %xmm10,(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,0x10(%rsp)
mov    %eax,0x18(%rsp)
mov    -0x2a8(%rbp),%eax
mov    %eax,0x20(%rsp)
mov    -0x2a4(%rbp),%eax
mov    %eax,0x28(%rsp)
mov    -0x2a0(%rbp),%eax
mov    %eax,0x30(%rsp)
mov    -0x299(%rbp),%al
mov    %r13d,0x38(%rsp)
mov    %r12d,0x40(%rsp)
mov    %r15d,0x48(%rsp)
mov    %r14d,0x50(%rsp)
mov    %ebx,0x58(%rsp)
mov    %r11d,0x60(%rsp)
mov    %r10,0x68(%rsp)
movsbl %al,%eax
mov    %eax,0x70(%rsp)
movsbl -0x202(%rbp),%eax
mov    %eax,0x78(%rsp)
call   1060 <DispArgs@plt>
movl   $0xffffffff,-0x2c(%rbp)
jmp    191d <main+0x7cd>
cmpl   $0x0,-0x194(%rbp)
je     181e <main+0x6ce>
mov    -0x30(%rbp),%edi
sub    $0x1,%edi
mov    -0x38(%rbp),%rsi
add    $0x8,%rsi
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
movsd  -0x68(%rbp),%xmm4
lea    -0xc0(%rbp),%rdx
movsd  -0xc8(%rbp),%xmm5
ff
movsd  -0xd0(%rbp),%xmm6
ff
lea    -0x120(%rbp),%rcx
movsd  -0x128(%rbp),%xmm7
ff
movsd  -0x130(%rbp),%xmm10
ff ff
movsd  -0x138(%rbp),%xmm9
ff ff
movsd  -0x140(%rbp),%xmm8
ff ff
lea    -0x170(%rbp),%r8
mov    -0x174(%rbp),%r9d
mov    -0x178(%rbp),%eax
mov    %eax,-0x2c0(%rbp)
mov    -0x17c(%rbp),%eax
mov    %eax,-0x2bc(%rbp)
mov    -0x180(%rbp),%eax
mov    %eax,-0x2b8(%rbp)
mov    -0x184(%rbp),%eax
mov    %eax,-0x2b4(%rbp)
mov    -0x1a0(%rbp),%r13d
mov    -0x18c(%rbp),%r12d
mov    -0x190(%rbp),%r15d
mov    -0x194(%rbp),%r14d
mov    -0x198(%rbp),%ebx
mov    -0x19c(%rbp),%r11d
lea    -0x200(%rbp),%r10
mov    -0x201(%rbp),%al
mov    %al,-0x2ad(%rbp)
mov    -0x2c0(%rbp),%eax
movsd  %xmm10,(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,0x10(%rsp)
mov    %eax,0x18(%rsp)
mov    -0x2bc(%rbp),%eax
mov    %eax,0x20(%rsp)
mov    -0x2b8(%rbp),%eax
mov    %eax,0x28(%rsp)
mov    -0x2b4(%rbp),%eax
mov    %eax,0x30(%rsp)
mov    -0x2ad(%rbp),%al
mov    %r13d,0x38(%rsp)
mov    %r12d,0x40(%rsp)
mov    %r15d,0x48(%rsp)
mov    %r14d,0x50(%rsp)
mov    %ebx,0x58(%rsp)
mov    %r11d,0x60(%rsp)
mov    %r10,0x68(%rsp)
movsbl %al,%eax
mov    %eax,0x70(%rsp)
movsbl -0x202(%rbp),%eax
mov    %eax,0x78(%rsp)
call   1060 <DispArgs@plt>
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
movsd  -0x68(%rbp),%xmm4
lea    -0xc0(%rbp),%rdi
movsd  -0xc8(%rbp),%xmm5
ff
movsd  -0xd0(%rbp),%xmm6
ff
lea    -0x120(%rbp),%rsi
movsd  -0x128(%rbp),%xmm7
ff
movsd  -0x130(%rbp),%xmm10
ff ff
movsd  -0x138(%rbp),%xmm9
ff ff
movsd  -0x140(%rbp),%xmm8
ff ff
lea    -0x170(%rbp),%rdx
mov    -0x174(%rbp),%ecx
mov    -0x178(%rbp),%r8d
mov    -0x17c(%rbp),%r9d
mov    -0x180(%rbp),%r13d
mov    -0x184(%rbp),%r12d
mov    -0x1a0(%rbp),%r15d
mov    -0x188(%rbp),%r14d
mov    -0x18c(%rbp),%ebx
mov    -0x190(%rbp),%r11d
lea    -0x200(%rbp),%r10
mov    -0x201(%rbp),%al
movsd  %xmm10,(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,0x10(%rsp)
mov    %r13d,0x18(%rsp)
mov    %r12d,0x20(%rsp)
mov    %r15d,0x28(%rsp)
mov    %r14d,0x30(%rsp)
mov    %ebx,0x38(%rsp)
mov    %r11d,0x40(%rsp)
mov    %r10,0x48(%rsp)
movsbl %al,%eax
mov    %eax,0x50(%rsp)
movsbl -0x202(%rbp),%eax
mov    %eax,0x58(%rsp)
call   1040 <ExecuteComArgs@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x368,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1c8,%rsp
mov    %rsi,%rbp
mov    %edi,%r13d
movq   $0x0,0x90(%rsp)
movq   $0x0,0x88(%rsp)
movq   $0x0,0x80(%rsp)
movq   $0x0,0x78(%rsp)
movq   $0x0,0x70(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0x160(%rsp)
movaps %xmm0,0x150(%rsp)
movaps %xmm0,0x140(%rsp)
movaps %xmm0,0x130(%rsp)
movaps %xmm0,0x120(%rsp)
movq   $0x0,0x68(%rsp)
movq   $0x0,0x60(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movq   $0x0,0x58(%rsp)
movq   $0x0,0x50(%rsp)
movq   $0x0,0x48(%rsp)
movabs $0x3ff0000000000000,%rax
mov    %rax,0x40(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movq   $0x0,0xc0(%rsp)
movl   $0x0,0x2c(%rsp)
movl   $0x0,0x28(%rsp)
movl   $0x0,0x24(%rsp)
movl   $0x1,0x20(%rsp)
movl   $0x0,0x1c(%rsp)
movl   $0xffffffff,0x3c(%rsp)
ff
movl   $0x0,0x18(%rsp)
movl   $0x0,0x14(%rsp)
movl   $0x0,0x38(%rsp)
movl   $0x0,0x34(%rsp)
movl   $0x0,0x30(%rsp)
movl   $0x1,0x10(%rsp)
movaps %xmm0,0x1b0(%rsp)
movaps %xmm0,0x1a0(%rsp)
movaps %xmm0,0x190(%rsp)
movaps %xmm0,0x180(%rsp)
movaps %xmm0,0x170(%rsp)
movl   $0x0,0x1c0(%rsp)
movb   $0xa,0xf(%rsp)
movb   $0x20,0xe(%rsp)
add    $0xffffffff,%r13d
add    $0x8,%rbp
sub    $0x8,%rsp
lea    0x16(%rsp),%r11
lea    0x17(%rsp),%r14
lea    0x178(%rsp),%r12
lea    0x38(%rsp),%r10
lea    0x3c(%rsp),%r15
lea    0x40(%rsp),%rbx
lea    0x1c(%rsp),%rax
lea    0x98(%rsp),%rdx
lea    0x90(%rsp),%rcx
lea    0x88(%rsp),%r8
lea    0x80(%rsp),%r9
mov    %rbp,%rsi
mov    %r13d,%edi
push   %r11
push   %r14
push   %r12
push   %r10
push   %r15
push   %rbx
push   %rax
lea    0x58(%rsp),%rax
push   %rax
lea    0x84(%rsp),%rax
push   %rax
lea    0x60(%rsp),%rax
push   %rax
lea    0x74(%rsp),%rax
push   %rax
lea    0x80(%rsp),%rax
push   %rax
lea    0x8c(%rsp),%rax
push   %rax
lea    0x98(%rsp),%rax
push   %rax
lea    0xa4(%rsp),%rax
push   %rax
lea    0x120(%rsp),%rax
push   %rax
lea    0xc8(%rsp),%rax
push   %rax
lea    0xd8(%rsp),%rax
push   %rax
lea    0xe8(%rsp),%rax
push   %rax
lea    0xf8(%rsp),%rax
push   %rax
lea    0x178(%rsp),%rax
push   %rax
lea    0x110(%rsp),%rax
push   %rax
lea    0x120(%rsp),%rax
push   %rax
lea    0x1e0(%rsp),%rax
push   %rax
lea    0x138(%rsp),%rax
push   %rax
call   1060 <ScanArgs@plt>
add    $0xd0,%rsp
test   %eax,%eax
jle    15e8 <main+0x4a8>
mov    0x38(%rsp),%eax
test   %eax,%eax
je     1501 <main+0x3c1>
movsd  0x90(%rsp),%xmm0
movsd  0x88(%rsp),%xmm1
movsd  0x80(%rsp),%xmm2
movsd  0x78(%rsp),%xmm3
movsd  0x70(%rsp),%xmm4
movsd  0x68(%rsp),%xmm5
movsd  0x60(%rsp),%xmm6
movsd  0x58(%rsp),%xmm7
movsd  0x50(%rsp),%xmm8
movsd  0x48(%rsp),%xmm9
movsd  0x40(%rsp),%xmm10
mov    0x2c(%rsp),%r9d
mov    0x28(%rsp),%r8d
mov    0x24(%rsp),%r10d
mov    0x20(%rsp),%r11d
mov    0x1c(%rsp),%r14d
mov    0x10(%rsp),%r15d
mov    0x18(%rsp),%r12d
mov    0x14(%rsp),%edx
mov    0x34(%rsp),%ecx
mov    %rbp,%rsi
mov    0x30(%rsp),%ebp
movsbl 0xf(%rsp),%edi
movsbl 0xe(%rsp),%ebx
sub    $0x80,%rsp
mov    %ebx,0x78(%rsp)
mov    %edi,0x70(%rsp)
mov    %ebp,0x60(%rsp)
mov    %ecx,0x58(%rsp)
mov    %eax,0x50(%rsp)
mov    %edx,0x48(%rsp)
mov    %r12d,0x40(%rsp)
lea    0x1f0(%rsp),%r12
mov    %r15d,0x38(%rsp)
mov    %r14d,0x30(%rsp)
mov    %r12,0x68(%rsp)
mov    %r11d,0x28(%rsp)
mov    %r10d,0x20(%rsp)
mov    %r8d,0x18(%rsp)
movsd  %xmm10,0x10(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,(%rsp)
lea    0x1a0(%rsp),%rdx
lea    0x150(%rsp),%rcx
lea    0x120(%rsp),%r8
mov    %r13d,%edi
call   1050 <DispArgs@plt>
add    $0x80,%rsp
movsd  0x90(%rsp),%xmm0
movsd  0x88(%rsp),%xmm1
movsd  0x80(%rsp),%xmm2
movsd  0x78(%rsp),%xmm3
movsd  0x70(%rsp),%xmm4
movsd  0x68(%rsp),%xmm5
movsd  0x60(%rsp),%xmm6
movsd  0x58(%rsp),%xmm7
movsd  0x50(%rsp),%xmm8
movsd  0x48(%rsp),%xmm9
movsd  0x40(%rsp),%xmm10
mov    0x2c(%rsp),%ecx
mov    0x28(%rsp),%r8d
mov    0x24(%rsp),%r9d
mov    0x20(%rsp),%r10d
mov    0x1c(%rsp),%r11d
mov    0x10(%rsp),%esi
mov    0x3c(%rsp),%edi
mov    0x18(%rsp),%ebp
mov    0x14(%rsp),%ebx
movsbl 0xf(%rsp),%eax
movsbl 0xe(%rsp),%edx
sub    $0x60,%rsp
mov    %edx,0x58(%rsp)
mov    %eax,0x50(%rsp)
mov    %r12,0x48(%rsp)
mov    %ebx,0x40(%rsp)
mov    %ebp,0x38(%rsp)
mov    %edi,0x30(%rsp)
mov    %esi,0x28(%rsp)
mov    %r11d,0x20(%rsp)
mov    %r10d,0x18(%rsp)
movsd  %xmm10,0x10(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,(%rsp)
lea    0x180(%rsp),%rdi
lea    0x130(%rsp),%rsi
lea    0x100(%rsp),%rdx
call   1030 <ExecuteComArgs@plt>
add    $0x60,%rsp
xor    %ebx,%ebx
jmp    172d <main+0x5ed>
mov    0x29f1(%rip),%rax
mov    (%rax),%edi
lea    0xa08(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x38(%rsp),%eax
mov    $0xffffffff,%ebx
test   %eax,%eax
je     172d <main+0x5ed>
movsd  0x90(%rsp),%xmm0
movsd  0x88(%rsp),%xmm1
movsd  0x80(%rsp),%xmm2
movsd  0x78(%rsp),%xmm3
movsd  0x70(%rsp),%xmm4
movsd  0x68(%rsp),%xmm5
movsd  0x60(%rsp),%xmm6
movsd  0x58(%rsp),%xmm7
movsd  0x50(%rsp),%xmm8
movsd  0x48(%rsp),%xmm9
movsd  0x40(%rsp),%xmm10
mov    0x2c(%rsp),%ecx
mov    %ecx,0x9c(%rsp)
mov    0x28(%rsp),%r9d
mov    0x24(%rsp),%r10d
mov    0x20(%rsp),%r11d
mov    0x1c(%rsp),%r15d
mov    0x10(%rsp),%r12d
mov    0x18(%rsp),%r8d
mov    0x14(%rsp),%esi
mov    0x34(%rsp),%edi
mov    0x30(%rsp),%ecx
movsbl 0xf(%rsp),%edx
movsbl 0xe(%rsp),%r14d
sub    $0x80,%rsp
mov    %r14d,0x78(%rsp)
mov    %edx,0x70(%rsp)
lea    0x1f0(%rsp),%rdx
mov    %rdx,0x68(%rsp)
mov    %ecx,0x60(%rsp)
mov    %edi,0x58(%rsp)
mov    %eax,0x50(%rsp)
mov    %esi,0x48(%rsp)
mov    %r8d,0x40(%rsp)
mov    %r12d,0x38(%rsp)
mov    %r15d,0x30(%rsp)
mov    %r11d,0x28(%rsp)
mov    %r10d,0x20(%rsp)
mov    %r9d,0x18(%rsp)
movsd  %xmm10,0x10(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,(%rsp)
lea    0x1a0(%rsp),%rdx
lea    0x150(%rsp),%rcx
lea    0x120(%rsp),%r8
mov    %r13d,%edi
mov    0x11c(%rsp),%r9d
mov    %rbp,%rsi
call   1050 <DispArgs@plt>
add    $0x80,%rsp
mov    %ebx,%eax
add    $0x1c8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [135 x i8] c"See readme.txt\0A Example \0A elast -a (deg) oleavcp \22(target)\22 (mg/cm^2) (beam) (beam E MeV) \0A elast -a 0 oleavc \221(197Au)\22 0.5796 4He 5\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca [10 x double]
%13 = alloca double
%14 = alloca double
%15 = alloca [10 x double]
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca [10 x i32]
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca i32
%33 = alloca [21 x i32]
%34 = alloca i8
%35 = alloca i8
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store double 0.000000e+00, double* %7
store double 0.000000e+00, double* %8
store double 0.000000e+00, double* %9
store double 0.000000e+00, double* %10
store double 0.000000e+00, double* %11
%36 = bitcast [10 x double]* %12 to i8*
store double 0.000000e+00, double* %13
store double 0.000000e+00, double* %14
%37 = bitcast [10 x double]* %15 to i8*
store double 0.000000e+00, double* %16
store double 0.000000e+00, double* %17
store double 0.000000e+00, double* %18
store double 1.000000e+00, double* %19
%38 = bitcast [10 x i32]* %20 to i8*
store i32 0, i32* %21
store i32 0, i32* %22
store i32 0, i32* %23
store i32 1, i32* %24
store i32 0, i32* %25
store i32 -1, i32* %26
store i32 0, i32* %27
store i32 0, i32* %28
store i32 0, i32* %29
store i32 0, i32* %30
store i32 0, i32* %31
store i32 1, i32* %32
%39 = bitcast [21 x i32]* %33 to i8*
store i8 10, i8* %34
store i8 32, i8* %35
%40 = load i32, i32* %4
%41 = sub nsw i32 %40, 1
%42 = load i8**, i8*** %5
%43 = getelementptr inbounds i8*, i8** %42, i64 1
%44 = getelementptr inbounds [10 x double], [10 x double]* %12, i64 0, i64 0
%45 = getelementptr inbounds [10 x double], [10 x double]* %15, i64 0, i64 0
%46 = getelementptr inbounds [10 x i32], [10 x i32]* %20, i64 0, i64 0
%47 = getelementptr inbounds [21 x i32], [21 x i32]* %33, i64 0, i64 0
%48 = call i32 @ScanArgs(i32 %41, i8** %43, double* %7, double* %8, double* %9, double* %10, double* %11, double* %44, double* %13, double* %14, double* %45, double* %16, double* %17, double* %18, double* %19, i32* %46, i32* %21, i32* %22, i32* %23, i32* %24, i32* %25, i32* %32, i32* %26, i32* %27, i32* %28, i32* %29, i32* %30, i32* %31, i32* %47, i8* %34, i8* %35)
store i32 %48, i32* %6
%49 = load i32, i32* %6
%50 = icmp sle i32 %49, 0
br i1 %50, label %51, label %91
51: ; preds = %2
%52 = load i32, i32* @stderr
%53 = call i32 @fprintf(i32 %52, i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str, i64 0, i64 0))
%54 = load i32, i32* %29
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %90
56: ; preds = %51
%57 = load i32, i32* %4
%58 = sub nsw i32 %57, 1
%59 = load i8**, i8*** %5
%60 = getelementptr inbounds i8*, i8** %59, i64 1
%61 = load double, double* %7
%62 = load double, double* %8
%63 = load double, double* %9
%64 = load double, double* %10
%65 = load double, double* %11
%66 = getelementptr inbounds [10 x double], [10 x double]* %12, i64 0, i64 0
%67 = load double, double* %13
%68 = load double, double* %14
%69 = getelementptr inbounds [10 x double], [10 x double]* %15, i64 0, i64 0
%70 = load double, double* %16
%71 = load double, double* %17
%72 = load double, double* %18
%73 = load double, double* %19
%74 = getelementptr inbounds [10 x i32], [10 x i32]* %20, i64 0, i64 0
%75 = load i32, i32* %21
%76 = load i32, i32* %22
%77 = load i32, i32* %23
%78 = load i32, i32* %24
%79 = load i32, i32* %25
%80 = load i32, i32* %32
%81 = load i32, i32* %27
%82 = load i32, i32* %28
%83 = load i32, i32* %29
%84 = load i32, i32* %30
%85 = load i32, i32* %31
%86 = getelementptr inbounds [21 x i32], [21 x i32]* %33, i64 0, i64 0
%87 = load i8, i8* %34
%88 = load i8, i8* %35
%89 = call i32 @DispArgs(i32 %58, i8** %60, double %61, double %62, double %63, double %64, double %65, double* %66, double %67, double %68, double* %69, double %70, double %71, double %72, double %73, i32* %74, i32 %75, i32 %76, i32 %77, i32 %78, i32 %79, i32 %80, i32 %81, i32 %82, i32 %83, i32 %84, i32 %85, i32* %86, i8 signext %87, i8 signext %88)
br label %90
90: ; preds = %56, %51
store i32 -1, i32* %3
br label %156
91: ; preds = %2
%92 = load i32, i32* %29
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %128
94: ; preds = %91
%95 = load i32, i32* %4
%96 = sub nsw i32 %95, 1
%97 = load i8**, i8*** %5
%98 = getelementptr inbounds i8*, i8** %97, i64 1
%99 = load double, double* %7
%100 = load double, double* %8
%101 = load double, double* %9
%102 = load double, double* %10
%103 = load double, double* %11
%104 = getelementptr inbounds [10 x double], [10 x double]* %12, i64 0, i64 0
%105 = load double, double* %13
%106 = load double, double* %14
%107 = getelementptr inbounds [10 x double], [10 x double]* %15, i64 0, i64 0
%108 = load double, double* %16
%109 = load double, double* %17
%110 = load double, double* %18
%111 = load double, double* %19
%112 = getelementptr inbounds [10 x i32], [10 x i32]* %20, i64 0, i64 0
%113 = load i32, i32* %21
%114 = load i32, i32* %22
%115 = load i32, i32* %23
%116 = load i32, i32* %24
%117 = load i32, i32* %25
%118 = load i32, i32* %32
%119 = load i32, i32* %27
%120 = load i32, i32* %28
%121 = load i32, i32* %29
%122 = load i32, i32* %30
%123 = load i32, i32* %31
%124 = getelementptr inbounds [21 x i32], [21 x i32]* %33, i64 0, i64 0
%125 = load i8, i8* %34
%126 = load i8, i8* %35
%127 = call i32 @DispArgs(i32 %96, i8** %98, double %99, double %100, double %101, double %102, double %103, double* %104, double %105, double %106, double* %107, double %108, double %109, double %110, double %111, i32* %112, i32 %113, i32 %114, i32 %115, i32 %116, i32 %117, i32 %118, i32 %119, i32 %120, i32 %121, i32 %122, i32 %123, i32* %124, i8 signext %125, i8 signext %126)
br label %128
128: ; preds = %94, %91
%129 = load double, double* %7
%130 = load double, double* %8
%131 = load double, double* %9
%132 = load double, double* %10
%133 = load double, double* %11
%134 = getelementptr inbounds [10 x double], [10 x double]* %12, i64 0, i64 0
%135 = load double, double* %13
%136 = load double, double* %14
%137 = getelementptr inbounds [10 x double], [10 x double]* %15, i64 0, i64 0
%138 = load double, double* %16
%139 = load double, double* %17
%140 = load double, double* %18
%141 = load double, double* %19
%142 = getelementptr inbounds [10 x i32], [10 x i32]* %20, i64 0, i64 0
%143 = load i32, i32* %21
%144 = load i32, i32* %22
%145 = load i32, i32* %23
%146 = load i32, i32* %24
%147 = load i32, i32* %25
%148 = load i32, i32* %32
%149 = load i32, i32* %26
%150 = load i32, i32* %27
%151 = load i32, i32* %28
%152 = getelementptr inbounds [21 x i32], [21 x i32]* %33, i64 0, i64 0
%153 = load i8, i8* %34
%154 = load i8, i8* %35
%155 = call i32 @ExecuteComArgs(double %129, double %130, double %131, double %132, double %133, double* %134, double %135, double %136, double* %137, double %138, double %139, double %140, double %141, i32* %142, i32 %143, i32 %144, i32 %145, i32 %146, i32 %147, i32 %148, i32 %149, i32 %150, i32 %151, i32* %152, i8 signext %153, i8 signext %154)
store i32 0, i32* %3
br label %156
156: ; preds = %128, %90
%157 = load i32, i32* %3
ret i32 %157
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [135 x i8] c"See readme.txt\0A Example \0A elast -a (deg) oleavcp \22(target)\22 (mg/cm^2) (beam) (beam E MeV) \0A elast -a 0 oleavc \221(197Au)\22 0.5796 4He 5\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca [10 x double]
%9 = alloca double
%10 = alloca double
%11 = alloca [10 x double]
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca [10 x i32]
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca [21 x i32]
%30 = alloca i8
%31 = alloca i8
%32 = bitcast double* %3 to i8*
store double 0.000000e+00, double* %3
%33 = bitcast double* %4 to i8*
store double 0.000000e+00, double* %4
%34 = bitcast double* %5 to i8*
store double 0.000000e+00, double* %5
%35 = bitcast double* %6 to i8*
store double 0.000000e+00, double* %6
%36 = bitcast double* %7 to i8*
store double 0.000000e+00, double* %7
%37 = bitcast [10 x double]* %8 to i8*
%38 = bitcast double* %9 to i8*
store double 0.000000e+00, double* %9
%39 = bitcast double* %10 to i8*
store double 0.000000e+00, double* %10
%40 = bitcast [10 x double]* %11 to i8*
%41 = bitcast double* %12 to i8*
store double 0.000000e+00, double* %12
%42 = bitcast double* %13 to i8*
store double 0.000000e+00, double* %13
%43 = bitcast double* %14 to i8*
store double 0.000000e+00, double* %14
%44 = bitcast double* %15 to i8*
store double 1.000000e+00, double* %15
%45 = bitcast [10 x i32]* %16 to i8*
%46 = bitcast i32* %17 to i8*
store i32 0, i32* %17
%47 = bitcast i32* %18 to i8*
store i32 0, i32* %18
%48 = bitcast i32* %19 to i8*
store i32 0, i32* %19
%49 = bitcast i32* %20 to i8*
store i32 1, i32* %20
%50 = bitcast i32* %21 to i8*
store i32 0, i32* %21
%51 = bitcast i32* %22 to i8*
store i32 -1, i32* %22
%52 = bitcast i32* %23 to i8*
store i32 0, i32* %23
%53 = bitcast i32* %24 to i8*
store i32 0, i32* %24
%54 = bitcast i32* %25 to i8*
store i32 0, i32* %25
%55 = bitcast i32* %26 to i8*
store i32 0, i32* %26
%56 = bitcast i32* %27 to i8*
store i32 0, i32* %27
%57 = bitcast i32* %28 to i8*
store i32 1, i32* %28
%58 = bitcast [21 x i32]* %29 to i8*
store i8 10, i8* %30
store i8 32, i8* %31
%59 = add nsw i32 %0, -1
%60 = getelementptr inbounds i8*, i8** %1, i64 1
%61 = getelementptr inbounds [10 x double], [10 x double]* %8, i64 0, i64 0
%62 = getelementptr inbounds [10 x double], [10 x double]* %11, i64 0, i64 0
%63 = getelementptr inbounds [10 x i32], [10 x i32]* %16, i64 0, i64 0
%64 = getelementptr inbounds [21 x i32], [21 x i32]* %29, i64 0, i64 0
%65 = call i32 @ScanArgs(i32 %59, i8** %60, double* %3, double* %4, double* %5, double* %6, double* %7, double* %61, double* %9, double* %10, double* %62, double* %12, double* %13, double* %14, double* %15, i32* %63, i32* %17, i32* %18, i32* %19, i32* %20, i32* %21, i32* %28, i32* %22, i32* %23, i32* %24, i32* %25, i32* %26, i32* %27, i32* %64, i8* %30, i8* %31)
%66 = icmp slt i32 %65, 1
br i1 %66, label %67, label %97
67: ; preds = %2
%68 = load i32, i32* @stderr
%69 = call i32 @fprintf(i32 %68, i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str, i64 0, i64 0))
%70 = load i32, i32* %25
%71 = icmp eq i32 %70, 0
br i1 %71, label %149, label %72
72: ; preds = %67
%73 = load double, double* %3
%74 = load double, double* %4
%75 = load double, double* %5
%76 = load double, double* %6
%77 = load double, double* %7
%78 = load double, double* %9
%79 = load double, double* %10
%80 = load double, double* %12
%81 = load double, double* %13
%82 = load double, double* %14
%83 = load double, double* %15
%84 = load i32, i32* %17
%85 = load i32, i32* %18
%86 = load i32, i32* %19
%87 = load i32, i32* %20
%88 = load i32, i32* %21
%89 = load i32, i32* %28
%90 = load i32, i32* %23
%91 = load i32, i32* %24
%92 = load i32, i32* %26
%93 = load i32, i32* %27
%94 = load i8, i8* %30
%95 = load i8, i8* %31
%96 = call i32 @DispArgs(i32 %59, i8** %60, double %73, double %74, double %75, double %76, double %77, double* %61, double %78, double %79, double* %62, double %80, double %81, double %82, double %83, i32* %63, i32 %84, i32 %85, i32 %86, i32 %87, i32 %88, i32 %89, i32 %90, i32 %91, i32 %70, i32 %92, i32 %93, i32* %64, i8 signext %94, i8 signext %95)
br label %149
97: ; preds = %2
%98 = load i32, i32* %25
%99 = icmp eq i32 %98, 0
br i1 %99, label %125, label %100
100: ; preds = %97
%101 = load double, double* %3
%102 = load double, double* %4
%103 = load double, double* %5
%104 = load double, double* %6
%105 = load double, double* %7
%106 = load double, double* %9
%107 = load double, double* %10
%108 = load double, double* %12
%109 = load double, double* %13
%110 = load double, double* %14
%111 = load double, double* %15
%112 = load i32, i32* %17
%113 = load i32, i32* %18
%114 = load i32, i32* %19
%115 = load i32, i32* %20
%116 = load i32, i32* %21
%117 = load i32, i32* %28
%118 = load i32, i32* %23
%119 = load i32, i32* %24
%120 = load i32, i32* %26
%121 = load i32, i32* %27
%122 = load i8, i8* %30
%123 = load i8, i8* %31
%124 = call i32 @DispArgs(i32 %59, i8** %60, double %101, double %102, double %103, double %104, double %105, double* %61, double %106, double %107, double* %62, double %108, double %109, double %110, double %111, i32* %63, i32 %112, i32 %113, i32 %114, i32 %115, i32 %116, i32 %117, i32 %118, i32 %119, i32 %98, i32 %120, i32 %121, i32* %64, i8 signext %122, i8 signext %123)
br label %125
125: ; preds = %100, %97
%126 = load double, double* %3
%127 = load double, double* %4
%128 = load double, double* %5
%129 = load double, double* %6
%130 = load double, double* %7
%131 = load double, double* %9
%132 = load double, double* %10
%133 = load double, double* %12
%134 = load double, double* %13
%135 = load double, double* %14
%136 = load double, double* %15
%137 = load i32, i32* %17
%138 = load i32, i32* %18
%139 = load i32, i32* %19
%140 = load i32, i32* %20
%141 = load i32, i32* %21
%142 = load i32, i32* %28
%143 = load i32, i32* %22
%144 = load i32, i32* %23
%145 = load i32, i32* %24
%146 = load i8, i8* %30
%147 = load i8, i8* %31
%148 = call i32 @ExecuteComArgs(double %126, double %127, double %128, double %129, double %130, double* %61, double %131, double %132, double* %62, double %133, double %134, double %135, double %136, i32* %63, i32 %137, i32 %138, i32 %139, i32 %140, i32 %141, i32 %142, i32 %143, i32 %144, i32 %145, i32* %64, i8 signext %146, i8 signext %147)
br label %149
149: ; preds = %67, %72, %125
%150 = phi i32 [ 0, %125 ], [ -1, %72 ], [ -1, %67 ]
ret i32 %150
}