#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*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
void usage(char *argv0) {
  fprintf(stderr, "Usage: %s [options]\n", argv0);
  fprintf(stderr, "Options:\n");
  fprintf(
      stderr,
      "-h, --help:     Print this message.\n"
      "seed=[number]:  Specify pseudorandom seed (default: use time/PID "
      "value).\n"
      "\n"
      "L=[number]:     Specify extent of cubic lattice.\n"
      "d=[1,2,3]:      Specify dimension.\n"
      "\n"
      "randinit=[0,1]: Initial pi is id (0) or uniform random (1).\n"
      "\n"
      "T=[number]:     Specify T (temperature).\n"
      "beta=[number]:  Specify beta (inverse temperature).\n"
      "\n"
      "alpha=[number]: Specify alpha (for cycle interactions).\n"
      "gamma=[number]: Specify gamma (open-worm weight).\n"
      "none:           No interactions.\n"
      "r2:             r_2 interactions.\n"
      "rell:           r_ell interactions.\n"
      "vzwl:           V(z,w) lower interactions.\n"
      "vzwu:           V(z,w) upper interactions.\n"
      "\n"
      "gspa=[number]:  Specify number of SO   sweeps per acc.\n"
      "wspa=[number]:  Specify number of worm sweeps per acc.\n"
      "cycrev=[0,1]:   Allow cycle reversals.\n"
      "\n"
      "nsm=[number]:   Specify size of H-smoothing window.\n"
      "ntp=[number]:   The system is deemed thermalized when the smoothed "
      "energy\n"
      "                reaches this many turning points.\n"
      "ft=[number]:    Force thermalization after at most [number] sweeps.\n"
      "\n"
      "nacc=[number]:  Specify number of accumulations.\n"
      "rndswp=[0,1]:   Randomize sites for Metropolis sweeps.\n"
      "\n"
      "pw=[0,1]:       Print worm sites on each MCMC step.\n"
      "pws=[0,1]:      Print worm span on each MCMC step.\n"
      "\n"
      "siv=[0,1,2]:    Print sweep number.\n"
      "pt=[0,1]:       Print pre-thermalization random-variable values.\n"
      "rhov=[0,1]:     Specify rho verbosity.\n"
      "pmtv=[0,1]:     Specify permutation verbosity.\n"
      "cv=[0,1]:       Specify cycle-count (r_ell) verbosity.\n"
      "cdv=[0,1,2]:    Specify cycle-decomposition verbosity.\n"
      "hv=[0,1]:       Specify energy verbosity.\n"
      "tiv=[0,1]:      Specify tauint verbosity.\n"
      "r2v=[0,1]:      Specify r2 verbosity.\n"
      "lmaxv=[0,1]:    Specify ell_max verbosity.\n"
      "ellv=[0,1]:     Specify ell(x) verbosity.\n"
      "ellbarv=[0,1]:  Specify ellbar verbosity.\n"
      "c0sv=[number]:  Specify verbosity for cycle 0 spatial length.\n"
      "mslv=[number]:  Specify verbosity for mean spatial length.\n"
      "wcv=[0,1]:      Specify winding-cycle verbosity.\n"
      "wnv=[0,1,2]:    Specify winding-number verbosity.\n"
      "jlv=[0,1]:      Specify verbosity for jump lengths.\n"
      "jtv=[0,1]:      Specify verbosity for jump targets.\n"
      "jvv=[0,1]:      Specify verbosity for jump vectors.\n"
      "kinkdv=[0,1]:   Specify verbosity for kink dot products.\n"
      "kinkav=[0,1]:   Specify verbosity for kink angle cosines.\n"
      "anglev=[0,1]:   Specify verbosity for angle cosines.\n"
      "\n"
      "rzn={realization file name}: Write out a realization file for use by "
      "rvrcm.\n"
      "crv=[0,1]:      Compute random variables or not, e.g. crv=0 along with "
      "rzn=...\n"
      "\n"
      "dryrun=[0,1]:   Do a dry run:  print header and footer with no MCMC "
      "steps.\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xec0(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e92(%rip),%rax
mov    (%rax),%edi
lea    0xebe(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e7b(%rip),%rax
mov    (%rax),%edi
lea    0xeb1(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %rdi,%rdx
mov    0x2eb5(%rip),%rbx
mov    (%rbx),%edi
lea    0xecc(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xed1(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xecb(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [21 x i8] c"Usage: %s [options]\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [2573 x i8] c"-h, --help: Print this message.\0Aseed=[number]: Specify pseudorandom seed (default: use time/PID value).\0A\0AL=[number]: Specify extent of cubic lattice.\0Ad=[1,2,3]: Specify dimension.\0A\0Arandinit=[0,1]: Initial pi is id (0) or uniform random (1).\0A\0AT=[number]: Specify T (temperature).\0Abeta=[number]: Specify beta (inverse temperature).\0A\0Aalpha=[number]: Specify alpha (for cycle interactions).\0Agamma=[number]: Specify gamma (open-worm weight).\0Anone: No interactions.\0Ar2: r_2 interactions.\0Arell: r_ell interactions.\0Avzwl: V(z,w) lower interactions.\0Avzwu: V(z,w) upper interactions.\0A\0Agspa=[number]: Specify number of SO sweeps per acc.\0Awspa=[number]: Specify number of worm sweeps per acc.\0Acycrev=[0,1]: Allow cycle reversals.\0A\0Ansm=[number]: Specify size of H-smoothing window.\0Antp=[number]: The system is deemed thermalized when the smoothed energy\0A reaches this many turning points.\0Aft=[number]: Force thermalization after at most [number] sweeps.\0A\0Anacc=[number]: Specify number of accumulations.\0Arndswp=[0,1]: Randomize sites for Metropolis sweeps.\0A\0Apw=[0,1]: Print worm sites on each MCMC step.\0Apws=[0,1]: Print worm span on each MCMC step.\0A\0Asiv=[0,1,2]: Print sweep number.\0Apt=[0,1]: Print pre-thermalization random-variable values.\0Arhov=[0,1]: Specify rho verbosity.\0Apmtv=[0,1]: Specify permutation verbosity.\0Acv=[0,1]: Specify cycle-count (r_ell) verbosity.\0Acdv=[0,1,2]: Specify cycle-decomposition verbosity.\0Ahv=[0,1]: Specify energy verbosity.\0Ativ=[0,1]: Specify tauint verbosity.\0Ar2v=[0,1]: Specify r2 verbosity.\0Almaxv=[0,1]: Specify ell_max verbosity.\0Aellv=[0,1]: Specify ell(x) verbosity.\0Aellbarv=[0,1]: Specify ellbar verbosity.\0Ac0sv=[number]: Specify verbosity for cycle 0 spatial length.\0Amslv=[number]: Specify verbosity for mean spatial length.\0Awcv=[0,1]: Specify winding-cycle verbosity.\0Awnv=[0,1,2]: Specify winding-number verbosity.\0Ajlv=[0,1]: Specify verbosity for jump lengths.\0Ajtv=[0,1]: Specify verbosity for jump targets.\0Ajvv=[0,1]: Specify verbosity for jump vectors.\0Akinkdv=[0,1]: Specify verbosity for kink dot products.\0Akinkav=[0,1]: Specify verbosity for kink angle cosines.\0Aanglev=[0,1]: Specify verbosity for angle cosines.\0A\0Arzn={realization file name}: Write out a realization file for use by rvrcm.\0Acrv=[0,1]: Compute random variables or not, e.g. crv=0 along with rzn=...\0A\0Adryrun=[0,1]: Do a dry run: print header and footer with no MCMC steps.\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = load i32, i32* @stderr
%7 = call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([2573 x i8], [2573 x i8]* @.str.2, i64 0, i64 0))
%10 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [21 x i8] c"Usage: %s [options]\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [2573 x i8] c"-h, --help: Print this message.\0Aseed=[number]: Specify pseudorandom seed (default: use time/PID value).\0A\0AL=[number]: Specify extent of cubic lattice.\0Ad=[1,2,3]: Specify dimension.\0A\0Arandinit=[0,1]: Initial pi is id (0) or uniform random (1).\0A\0AT=[number]: Specify T (temperature).\0Abeta=[number]: Specify beta (inverse temperature).\0A\0Aalpha=[number]: Specify alpha (for cycle interactions).\0Agamma=[number]: Specify gamma (open-worm weight).\0Anone: No interactions.\0Ar2: r_2 interactions.\0Arell: r_ell interactions.\0Avzwl: V(z,w) lower interactions.\0Avzwu: V(z,w) upper interactions.\0A\0Agspa=[number]: Specify number of SO sweeps per acc.\0Awspa=[number]: Specify number of worm sweeps per acc.\0Acycrev=[0,1]: Allow cycle reversals.\0A\0Ansm=[number]: Specify size of H-smoothing window.\0Antp=[number]: The system is deemed thermalized when the smoothed energy\0A reaches this many turning points.\0Aft=[number]: Force thermalization after at most [number] sweeps.\0A\0Anacc=[number]: Specify number of accumulations.\0Arndswp=[0,1]: Randomize sites for Metropolis sweeps.\0A\0Apw=[0,1]: Print worm sites on each MCMC step.\0Apws=[0,1]: Print worm span on each MCMC step.\0A\0Asiv=[0,1,2]: Print sweep number.\0Apt=[0,1]: Print pre-thermalization random-variable values.\0Arhov=[0,1]: Specify rho verbosity.\0Apmtv=[0,1]: Specify permutation verbosity.\0Acv=[0,1]: Specify cycle-count (r_ell) verbosity.\0Acdv=[0,1,2]: Specify cycle-decomposition verbosity.\0Ahv=[0,1]: Specify energy verbosity.\0Ativ=[0,1]: Specify tauint verbosity.\0Ar2v=[0,1]: Specify r2 verbosity.\0Almaxv=[0,1]: Specify ell_max verbosity.\0Aellv=[0,1]: Specify ell(x) verbosity.\0Aellbarv=[0,1]: Specify ellbar verbosity.\0Ac0sv=[number]: Specify verbosity for cycle 0 spatial length.\0Amslv=[number]: Specify verbosity for mean spatial length.\0Awcv=[0,1]: Specify winding-cycle verbosity.\0Awnv=[0,1,2]: Specify winding-number verbosity.\0Ajlv=[0,1]: Specify verbosity for jump lengths.\0Ajtv=[0,1]: Specify verbosity for jump targets.\0Ajvv=[0,1]: Specify verbosity for jump vectors.\0Akinkdv=[0,1]: Specify verbosity for kink dot products.\0Akinkav=[0,1]: Specify verbosity for kink angle cosines.\0Aanglev=[0,1]: Specify verbosity for angle cosines.\0A\0Arzn={realization file name}: Write out a realization file for use by rvrcm.\0Acrv=[0,1]: Compute random variables or not, e.g. crv=0 along with rzn=...\0A\0Adryrun=[0,1]: Do a dry run: print header and footer with no MCMC steps.\0A\00"
define void @usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 (i32, i8*, ...) @fprintf(i32 %2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* %0)
%4 = load i32, i32* @stderr
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([2573 x i8], [2573 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @exit(i32 1)
unreachable
}