main(argc, argv) int argc;
char **argv;
{
  int i;
  float x;
  short val;
  winopen("moretxt");
  unqdevice(262);
  qdevice(257);
  while (qread(&val) != 261)
    ;
  if (argc == 2)
    hfont(argv[1]);
  else
    hfont("futura.l");
  htextsize(0.05, 0.05);
  ortho2(0.0, 1.0, 0.0, 1.0);
  color(0);
  clear();
  drawgrid();
  hboxtext(0.1, 0.4, 0.8, 0.1, "{This is Some text] | $");
  qread(&val);
  color(0);
  clear();
  drawgrid();
  hcentertext(1);
  hboxtext(0.5, 0.5, 0.8, 0.1, "{This is Some Centered text] | $");
  hcentertext(0);
  qread(&val);
  color(0);
  clear();
  pushmatrix();
  translate(0.5, 0.5, 0.0);
  rotate(900, 'z');
  translate(-0.5, -0.5, 0.0);
  drawgrid();
  popmatrix();
  hcentertext(1);
  htextang(90.0);
  hboxtext(0.5, 0.5, 0.8, 0.1, "{This is Some Rotated Centered text] | $");
  hcentertext(0);
  htextang(0.0);
  qread(&val);
  color(0);
  clear();
  drawgrid();
  hfixedwidth(1);
  hboxtext(0.1, 0.5, 0.8, 0.1, "{This is Some Fixedwidth text] | $");
  qread(&val);
  color(0);
  clear();
  drawgrid();
  hcentertext(1);
  color(1);
  move2(0.5, 0.5);
  hcharstr("{This is Some Cent.Fixedwidth text] | $");
  hcentertext(0);
  qread(&val);
  color(0);
  clear();
  drawgrid();
  color(1);
  move2(0.9, 0.4);
  hrightjustify(1);
  hfixedwidth(0);
  hcharstr("{This is Some Right Justified text] | $");
  qread(&val);
  color(0);
  clear();
  drawgrid();
  hboxfit(0.8, 0.1, 8);
  hfixedwidth(1);
  hleftjustify(1);
  move2(0.1, 0.4);
  hcharstr("ABCDefgh");
  move2(0.1, 0.5);
  hcharstr("IJKLmnop");
  qread(&val);
  gexit();
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xdab(%rip),%rdi
mov    $0x0,%al
call   10d0 <winopen@plt>
mov    $0x106,%edi
mov    $0x0,%al
call   10c0 <unqdevice@plt>
mov    $0x101,%edi
mov    $0x0,%al
call   1050 <qdevice@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
cmp    $0x105,%eax
je     12d7 <main+0x57>
jmp    12bc <main+0x3c>
cmpl   $0x2,-0x8(%rbp)
jne    12f5 <main+0x75>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    $0x0,%al
call   1110 <hfont@plt>
jmp    1303 <main+0x83>
lea    0xd54(%rip),%rdi
mov    $0x0,%al
call   1110 <hfont@plt>
movsd  0xd35(%rip),%xmm1
movaps %xmm1,%xmm0
mov    $0x2,%al
call   1030 <htextsize@plt>
xorps  %xmm2,%xmm2
movsd  0xd18(%rip),%xmm3
movaps %xmm2,%xmm0
movaps %xmm3,%xmm1
mov    $0x4,%al
call   1070 <ortho2@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1100 <color@plt>
mov    $0x0,%al
call   1170 <clear@plt>
mov    $0x0,%al
call   11a0 <drawgrid@plt>
movsd  0xcb4(%rip),%xmm3
movsd  0xcbc(%rip),%xmm1
movsd  0xcbc(%rip),%xmm2
lea    0xcf6(%rip),%rdi
movaps %xmm3,%xmm0
mov    $0x4,%al
call   1080 <hboxtext@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1100 <color@plt>
mov    $0x0,%al
call   1170 <clear@plt>
mov    $0x0,%al
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   10b0 <hcentertext@plt>
movsd  0xc65(%rip),%xmm1
movsd  0xc6d(%rip),%xmm2
movsd  0xc4d(%rip),%xmm3
lea    0xcb7(%rip),%rdi
movaps %xmm1,%xmm0
mov    $0x4,%al
call   1080 <hboxtext@plt>
xor    %edi,%edi
mov    $0x0,%al
call   10b0 <hcentertext@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1100 <color@plt>
mov    $0x0,%al
call   1170 <clear@plt>
mov    $0x0,%al
call   1180 <pushmatrix@plt>
movsd  0xc11(%rip),%xmm1
xorps  %xmm2,%xmm2
movaps %xmm1,%xmm0
mov    $0x3,%al
call   1150 <translate@plt>
mov    $0x384,%edi
mov    $0x7a,%esi
mov    $0x0,%al
call   10f0 <rotate@plt>
movsd  0xc13(%rip),%xmm1
xorps  %xmm2,%xmm2
movaps %xmm1,%xmm0
mov    $0x3,%al
call   1150 <translate@plt>
mov    $0x0,%al
call   11a0 <drawgrid@plt>
mov    $0x0,%al
call   1040 <popmatrix@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   10b0 <hcentertext@plt>
movsd  0xbdc(%rip),%xmm0
mov    $0x1,%al
call   10e0 <htextang@plt>
movsd  0xbad(%rip),%xmm1
movsd  0xbb5(%rip),%xmm2
movsd  0xb95(%rip),%xmm3
lea    0xc20(%rip),%rdi
movaps %xmm1,%xmm0
mov    $0x4,%al
call   1080 <hboxtext@plt>
xor    %edi,%edi
mov    $0x0,%al
call   10b0 <hcentertext@plt>
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   10e0 <htextang@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1100 <color@plt>
mov    $0x0,%al
call   1170 <clear@plt>
mov    $0x0,%al
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   1190 <hfixedwidth@plt>
movsd  0xb3b(%rip),%xmm3
movsd  0xb3b(%rip),%xmm1
movsd  0xb43(%rip),%xmm2
lea    0xbdf(%rip),%rdi
movaps %xmm3,%xmm0
mov    $0x4,%al
call   1080 <hboxtext@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1100 <color@plt>
mov    $0x0,%al
call   1170 <clear@plt>
mov    $0x0,%al
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   10b0 <hcentertext@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   1100 <color@plt>
movsd  0xae0(%rip),%xmm1
movaps %xmm1,%xmm0
mov    $0x2,%al
call   1130 <move2@plt>
lea    0xba5(%rip),%rdi
mov    $0x0,%al
call   1090 <hcharstr@plt>
xor    %edi,%edi
mov    $0x0,%al
call   10b0 <hcentertext@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1100 <color@plt>
mov    $0x0,%al
call   1170 <clear@plt>
mov    $0x0,%al
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   1100 <color@plt>
movsd  0xaa1(%rip),%xmm0
movsd  0xa89(%rip),%xmm1
mov    $0x2,%al
call   1130 <move2@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   1140 <hrightjustify@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1190 <hfixedwidth@plt>
lea    0xb5c(%rip),%rdi
mov    $0x0,%al
call   1090 <hcharstr@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
xor    %edi,%edi
mov    $0x0,%al
call   1100 <color@plt>
mov    $0x0,%al
call   1170 <clear@plt>
mov    $0x0,%al
call   11a0 <drawgrid@plt>
movsd  0xa3d(%rip),%xmm0
movsd  0xa1d(%rip),%xmm1
mov    $0x8,%edi
mov    $0x2,%al
call   10a0 <hboxfit@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   1190 <hfixedwidth@plt>
mov    $0x1,%edi
mov    $0x0,%al
call   1120 <hleftjustify@plt>
movsd  0x9f1(%rip),%xmm0
movsd  0x9f9(%rip),%xmm1
mov    $0x2,%al
call   1130 <move2@plt>
lea    0xb09(%rip),%rdi
mov    $0x0,%al
call   1090 <hcharstr@plt>
movsd  0x9cc(%rip),%xmm0
movsd  0x9cc(%rip),%xmm1
mov    $0x2,%al
call   1130 <move2@plt>
lea    0xaed(%rip),%rdi
mov    $0x0,%al
call   1090 <hcharstr@plt>
lea    -0x1a(%rbp),%rdi
mov    $0x0,%al
call   1160 <qread@plt>
mov    $0x0,%al
call   1060 <gexit@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%r14
mov    %edi,%ebp
lea    0xdb4(%rip),%rdi
xor    %eax,%eax
call   10d0 <winopen@plt>
mov    $0x106,%edi
xor    %eax,%eax
call   10c0 <unqdevice@plt>
mov    $0x101,%edi
xor    %eax,%eax
call   1050 <qdevice@plt>
lea    0xe(%rsp),%rbx
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
cmp    $0x105,%eax
jne    12c0 <main+0x40>
cmp    $0x2,%ebp
jne    12dc <main+0x5c>
mov    0x8(%r14),%rdi
jmp    12e3 <main+0x63>
lea    0xd6d(%rip),%rdi
xor    %eax,%eax
call   1110 <hfont@plt>
movsd  0xd0e(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <htextsize@plt>
movsd  0xd04(%rip),%xmm1
xorps  %xmm0,%xmm0
xorps  %xmm2,%xmm2
movaps %xmm1,%xmm3
mov    $0x4,%al
call   1070 <ortho2@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1100 <color@plt>
xor    %eax,%eax
call   1170 <clear@plt>
xor    %eax,%eax
call   11a0 <drawgrid@plt>
lea    0xd27(%rip),%rdi
movsd  0xcd6(%rip),%xmm1
movsd  0xcd6(%rip),%xmm2
movsd  0xcd6(%rip),%xmm0
movaps %xmm0,%xmm3
mov    $0x4,%al
call   1080 <hboxtext@plt>
lea    0xe(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1100 <color@plt>
xor    %eax,%eax
call   1170 <clear@plt>
xor    %eax,%eax
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   10b0 <hcentertext@plt>
lea    0xce4(%rip),%rdi
movsd  0xc93(%rip),%xmm0
movaps %xmm0,%xmm1
movsd  0xc78(%rip),%xmm2
movsd  0xc78(%rip),%xmm3
mov    $0x4,%al
call   1080 <hboxtext@plt>
xor    %edi,%edi
xor    %eax,%eax
call   10b0 <hcentertext@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1100 <color@plt>
xor    %eax,%eax
call   1170 <clear@plt>
xor    %eax,%eax
call   1180 <pushmatrix@plt>
xorps  %xmm2,%xmm2
movsd  0xc44(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x3,%al
call   1150 <translate@plt>
mov    $0x384,%edi
mov    $0x7a,%esi
xor    %eax,%eax
call   10f0 <rotate@plt>
movsd  0xc29(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm0,%xmm1
mov    $0x3,%al
call   1150 <translate@plt>
xor    %eax,%eax
call   11a0 <drawgrid@plt>
xor    %eax,%eax
call   1040 <popmatrix@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   10b0 <hcentertext@plt>
movsd  0xc02(%rip),%xmm0
mov    $0x1,%al
call   10e0 <htextang@plt>
lea    0xc4e(%rip),%rdi
movsd  0xbdc(%rip),%xmm0
movaps %xmm0,%xmm1
movsd  0xbc1(%rip),%xmm2
movsd  0xbc1(%rip),%xmm3
mov    $0x4,%al
call   1080 <hboxtext@plt>
xor    %edi,%edi
xor    %eax,%eax
call   10b0 <hcentertext@plt>
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   10e0 <htextang@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1100 <color@plt>
xor    %eax,%eax
call   1170 <clear@plt>
xor    %eax,%eax
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   1190 <hfixedwidth@plt>
lea    0xc0e(%rip),%rdi
movsd  0xb6b(%rip),%xmm0
movsd  0xb6b(%rip),%xmm1
movsd  0xb53(%rip),%xmm2
movaps %xmm0,%xmm3
mov    $0x4,%al
call   1080 <hboxtext@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1100 <color@plt>
xor    %eax,%eax
call   1170 <clear@plt>
xor    %eax,%eax
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   10b0 <hcentertext@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   1100 <color@plt>
movsd  0xb18(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1130 <move2@plt>
lea    0xbbd(%rip),%rdi
xor    %eax,%eax
call   1090 <hcharstr@plt>
xor    %edi,%edi
xor    %eax,%eax
call   10b0 <hcentertext@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1100 <color@plt>
xor    %eax,%eax
call   1170 <clear@plt>
xor    %eax,%eax
call   11a0 <drawgrid@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   1100 <color@plt>
movsd  0xada(%rip),%xmm0
movsd  0xaa2(%rip),%xmm1
mov    $0x2,%al
call   1130 <move2@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   1140 <hrightjustify@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1190 <hfixedwidth@plt>
lea    0xb75(%rip),%rdi
xor    %eax,%eax
call   1090 <hcharstr@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
xor    %edi,%edi
xor    %eax,%eax
call   1100 <color@plt>
xor    %eax,%eax
call   1170 <clear@plt>
xor    %eax,%eax
call   11a0 <drawgrid@plt>
movsd  0xa57(%rip),%xmm0
movsd  0xa57(%rip),%xmm1
mov    $0x8,%edi
mov    $0x2,%al
call   10a0 <hboxfit@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   1190 <hfixedwidth@plt>
mov    $0x1,%edi
xor    %eax,%eax
call   1120 <hleftjustify@plt>
movsd  0xa2b(%rip),%xmm0
movsd  0xa13(%rip),%xmm1
mov    $0x2,%al
call   1130 <move2@plt>
lea    0xb23(%rip),%rdi
xor    %eax,%eax
call   1090 <hcharstr@plt>
movsd  0xa06(%rip),%xmm0
movsd  0xa06(%rip),%xmm1
mov    $0x2,%al
call   1130 <move2@plt>
lea    0xb07(%rip),%rdi
xor    %eax,%eax
call   1090 <hcharstr@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1160 <qread@plt>
xor    %eax,%eax
call   1060 <gexit@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [8 x i8] c"moretxt\00"
@.str.1 = [9 x i8] c"futura.l\00"
@.str.2 = [24 x i8] c"{This is Some text] | $\00"
@.str.3 = [33 x i8] c"{This is Some Centered text] | $\00"
@.str.4 = [41 x i8] c"{This is Some Rotated Centered text] | $\00"
@.str.5 = [35 x i8] c"{This is Some Fixedwidth text] | $\00"
@.str.6 = [40 x i8] c"{This is Some Cent.Fixedwidth text] | $\00"
@.str.7 = [40 x i8] c"{This is Some Right Justified text] | $\00"
@.str.8 = [9 x i8] c"ABCDefgh\00"
@.str.9 = [9 x i8] c"IJKLmnop\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca float
%8 = alloca i16
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = call i32 (i8*, ...) bitcast (i32 (...)* @winopen to i32 (i8*, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i32, ...) bitcast (i32 (...)* @unqdevice to i32 (i32, ...)*)(i32 262)
%11 = call i32 (i32, ...) bitcast (i32 (...)* @qdevice to i32 (i32, ...)*)(i32 257)
br label %12
12: ; preds = %15, %2
%13 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%14 = icmp ne i32 %13, 261
br i1 %14, label %15, label %16
15: ; preds = %12
br label %12
16: ; preds = %12
%17 = load i32, i32* %4
%18 = icmp eq i32 %17, 2
br i1 %18, label %19, label %24
19: ; preds = %16
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 1
%22 = load i8*, i8** %21
%23 = call i32 (i8*, ...) bitcast (i32 (...)* @hfont to i32 (i8*, ...)*)(i8* %22)
br label %26
24: ; preds = %16
%25 = call i32 (i8*, ...) bitcast (i32 (...)* @hfont to i32 (i8*, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
br label %26
26: ; preds = %24, %19
%27 = call i32 (double, double, ...) bitcast (i32 (...)* @htextsize to i32 (double, double, ...)*)(double 5.000000e-02, double 5.000000e-02)
%28 = call i32 (double, double, double, double, ...) bitcast (i32 (...)* @ortho2 to i32 (double, double, double, double, ...)*)(double 0.000000e+00, double 1.000000e+00, double 0.000000e+00, double 1.000000e+00)
%29 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%30 = call i32 (...) @clear()
%31 = call i32 (...) @drawgrid()
%32 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 1.000000e-01, double 4.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%33 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%34 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%35 = call i32 (...) @clear()
%36 = call i32 (...) @drawgrid()
%37 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 1)
%38 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 5.000000e-01, double 5.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%39 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 0)
%40 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%41 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%42 = call i32 (...) @clear()
%43 = call i32 (...) @pushmatrix()
%44 = call i32 (double, double, double, ...) bitcast (i32 (...)* @translate to i32 (double, double, double, ...)*)(double 5.000000e-01, double 5.000000e-01, double 0.000000e+00)
%45 = call i32 (i32, i32, ...) bitcast (i32 (...)* @rotate to i32 (i32, i32, ...)*)(i32 900, i32 122)
%46 = call i32 (double, double, double, ...) bitcast (i32 (...)* @translate to i32 (double, double, double, ...)*)(double -5.000000e-01, double -5.000000e-01, double 0.000000e+00)
%47 = call i32 (...) @drawgrid()
%48 = call i32 (...) @popmatrix()
%49 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 1)
%50 = call i32 (double, ...) bitcast (i32 (...)* @htextang to i32 (double, ...)*)(double 9.000000e+01)
%51 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 5.000000e-01, double 5.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%52 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 0)
%53 = call i32 (double, ...) bitcast (i32 (...)* @htextang to i32 (double, ...)*)(double 0.000000e+00)
%54 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%55 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%56 = call i32 (...) @clear()
%57 = call i32 (...) @drawgrid()
%58 = call i32 (i32, ...) bitcast (i32 (...)* @hfixedwidth to i32 (i32, ...)*)(i32 1)
%59 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 1.000000e-01, double 5.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0))
%60 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%61 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%62 = call i32 (...) @clear()
%63 = call i32 (...) @drawgrid()
%64 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 1)
%65 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 1)
%66 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 5.000000e-01, double 5.000000e-01)
%67 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0))
%68 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 0)
%69 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%70 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%71 = call i32 (...) @clear()
%72 = call i32 (...) @drawgrid()
%73 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 1)
%74 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 9.000000e-01, double 4.000000e-01)
%75 = call i32 (i32, ...) bitcast (i32 (...)* @hrightjustify to i32 (i32, ...)*)(i32 1)
%76 = call i32 (i32, ...) bitcast (i32 (...)* @hfixedwidth to i32 (i32, ...)*)(i32 0)
%77 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%78 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%79 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%80 = call i32 (...) @clear()
%81 = call i32 (...) @drawgrid()
%82 = call i32 (double, double, i32, ...) bitcast (i32 (...)* @hboxfit to i32 (double, double, i32, ...)*)(double 8.000000e-01, double 1.000000e-01, i32 8)
%83 = call i32 (i32, ...) bitcast (i32 (...)* @hfixedwidth to i32 (i32, ...)*)(i32 1)
%84 = call i32 (i32, ...) bitcast (i32 (...)* @hleftjustify to i32 (i32, ...)*)(i32 1)
%85 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 1.000000e-01, double 4.000000e-01)
%86 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%87 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 1.000000e-01, double 5.000000e-01)
%88 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%89 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %8)
%90 = call i32 (...) @gexit()
%91 = load i32, i32* %3
ret i32 %91
}

LLVM IR (-O2):
@.str = [8 x i8] c"moretxt\00"
@.str.1 = [9 x i8] c"futura.l\00"
@.str.2 = [24 x i8] c"{This is Some text] | $\00"
@.str.3 = [33 x i8] c"{This is Some Centered text] | $\00"
@.str.4 = [41 x i8] c"{This is Some Rotated Centered text] | $\00"
@.str.5 = [35 x i8] c"{This is Some Fixedwidth text] | $\00"
@.str.6 = [40 x i8] c"{This is Some Cent.Fixedwidth text] | $\00"
@.str.7 = [40 x i8] c"{This is Some Right Justified text] | $\00"
@.str.8 = [9 x i8] c"ABCDefgh\00"
@.str.9 = [9 x i8] c"IJKLmnop\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i16
%4 = bitcast i16* %3 to i8*
%5 = tail call i32 (i8*, ...) bitcast (i32 (...)* @winopen to i32 (i8*, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 (i32, ...) bitcast (i32 (...)* @unqdevice to i32 (i32, ...)*)(i32 262)
%7 = tail call i32 (i32, ...) bitcast (i32 (...)* @qdevice to i32 (i32, ...)*)(i32 257)
br label %8
8: ; preds = %8, %2
%9 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%10 = icmp eq i32 %9, 261
br i1 %10, label %11, label %8
11: ; preds = %8
%12 = icmp eq i32 %0, 2
br i1 %12, label %13, label %16
13: ; preds = %11
%14 = getelementptr inbounds i8*, i8** %1, i64 1
%15 = load i8*, i8** %14
br label %16
16: ; preds = %11, %13
%17 = phi i8* [ %15, %13 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), %11 ]
%18 = call i32 (i8*, ...) bitcast (i32 (...)* @hfont to i32 (i8*, ...)*)(i8* %17)
%19 = call i32 (double, double, ...) bitcast (i32 (...)* @htextsize to i32 (double, double, ...)*)(double 5.000000e-02, double 5.000000e-02)
%20 = call i32 (double, double, double, double, ...) bitcast (i32 (...)* @ortho2 to i32 (double, double, double, double, ...)*)(double 0.000000e+00, double 1.000000e+00, double 0.000000e+00, double 1.000000e+00)
%21 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%22 = call i32 (...) @clear()
%23 = call i32 (...) @drawgrid()
%24 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 1.000000e-01, double 4.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%25 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%26 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%27 = call i32 (...) @clear()
%28 = call i32 (...) @drawgrid()
%29 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 1)
%30 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 5.000000e-01, double 5.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%31 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 0)
%32 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%33 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%34 = call i32 (...) @clear()
%35 = call i32 (...) @pushmatrix()
%36 = call i32 (double, double, double, ...) bitcast (i32 (...)* @translate to i32 (double, double, double, ...)*)(double 5.000000e-01, double 5.000000e-01, double 0.000000e+00)
%37 = call i32 (i32, i32, ...) bitcast (i32 (...)* @rotate to i32 (i32, i32, ...)*)(i32 900, i32 122)
%38 = call i32 (double, double, double, ...) bitcast (i32 (...)* @translate to i32 (double, double, double, ...)*)(double -5.000000e-01, double -5.000000e-01, double 0.000000e+00)
%39 = call i32 (...) @drawgrid()
%40 = call i32 (...) @popmatrix()
%41 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 1)
%42 = call i32 (double, ...) bitcast (i32 (...)* @htextang to i32 (double, ...)*)(double 9.000000e+01)
%43 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 5.000000e-01, double 5.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0))
%44 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 0)
%45 = call i32 (double, ...) bitcast (i32 (...)* @htextang to i32 (double, ...)*)(double 0.000000e+00)
%46 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%47 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%48 = call i32 (...) @clear()
%49 = call i32 (...) @drawgrid()
%50 = call i32 (i32, ...) bitcast (i32 (...)* @hfixedwidth to i32 (i32, ...)*)(i32 1)
%51 = call i32 (double, double, double, double, i8*, ...) bitcast (i32 (...)* @hboxtext to i32 (double, double, double, double, i8*, ...)*)(double 1.000000e-01, double 5.000000e-01, double 8.000000e-01, double 1.000000e-01, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0))
%52 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%53 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%54 = call i32 (...) @clear()
%55 = call i32 (...) @drawgrid()
%56 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 1)
%57 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 1)
%58 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 5.000000e-01, double 5.000000e-01)
%59 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0))
%60 = call i32 (i32, ...) bitcast (i32 (...)* @hcentertext to i32 (i32, ...)*)(i32 0)
%61 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%62 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%63 = call i32 (...) @clear()
%64 = call i32 (...) @drawgrid()
%65 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 1)
%66 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 9.000000e-01, double 4.000000e-01)
%67 = call i32 (i32, ...) bitcast (i32 (...)* @hrightjustify to i32 (i32, ...)*)(i32 1)
%68 = call i32 (i32, ...) bitcast (i32 (...)* @hfixedwidth to i32 (i32, ...)*)(i32 0)
%69 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%70 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%71 = call i32 (i32, ...) bitcast (i32 (...)* @color to i32 (i32, ...)*)(i32 0)
%72 = call i32 (...) @clear()
%73 = call i32 (...) @drawgrid()
%74 = call i32 (double, double, i32, ...) bitcast (i32 (...)* @hboxfit to i32 (double, double, i32, ...)*)(double 8.000000e-01, double 1.000000e-01, i32 8)
%75 = call i32 (i32, ...) bitcast (i32 (...)* @hfixedwidth to i32 (i32, ...)*)(i32 1)
%76 = call i32 (i32, ...) bitcast (i32 (...)* @hleftjustify to i32 (i32, ...)*)(i32 1)
%77 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 1.000000e-01, double 4.000000e-01)
%78 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%79 = call i32 (double, double, ...) bitcast (i32 (...)* @move2 to i32 (double, double, ...)*)(double 1.000000e-01, double 5.000000e-01)
%80 = call i32 (i8*, ...) bitcast (i32 (...)* @hcharstr to i32 (i8*, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%81 = call i32 (i16*, ...) bitcast (i32 (...)* @qread to i32 (i16*, ...)*)(i16* %3)
%82 = call i32 (...) @gexit()
ret i32 0
}