#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 */
struct ttfinfo {
  int dummy;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ DoDumpGlyph(int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                               struct ttfinfo *, int, double *,
                               int /*<<< orphan*/);
int /*<<< orphan*/ SEEK_SET;
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/ *, int, int /*<<< orphan*/);
int ftell(int /*<<< orphan*/ *);
double get2dot14(int /*<<< orphan*/ *);
scalar_t__ getc(int /*<<< orphan*/ *);
int getushort(int /*<<< orphan*/ *);
int /*<<< orphan*/ stderr;
void DumpCompositGlyph(FILE *ttf, FILE *eps, struct ttfinfo *info,
                       double trans[6]) {
  int flags, arg1, arg2;
  int sub_glyph;
  int oldpos;
  double transform[6], restrans[6];
  do {
    flags = getushort(ttf);
    sub_glyph = getushort(ttf);
    transform[0] = transform[3] = 1;
    transform[1] = transform[2] = transform[4] = transform[5] = 0;
    if (flags & 1) {
      arg1 = (short)getushort(ttf);
      arg2 = (short)getushort(ttf);
    } else {
      arg1 = (signed char)getc(ttf);
      arg2 = (signed char)getc(ttf);
    }
    if (flags & 2) {
      transform[4] = arg1;
      transform[5] = arg2;
    } else
      fprintf(stderr, "Don't know how to deal with !(flags&_ARGS_ARE_XY)");
    if (flags & 8)
      transform[0] = transform[3] = get2dot14(ttf);
    else if (flags & 0x40) {
      transform[0] = get2dot14(ttf);
      transform[3] = get2dot14(ttf);
    } else if (flags & 0x80) {
      transform[0] = get2dot14(ttf);
      transform[1] = get2dot14(ttf);
      transform[2] = get2dot14(ttf);
      transform[3] = get2dot14(ttf);
    }
    restrans[0] = transform[0] * trans[0] + transform[1] * trans[2];
    restrans[1] = transform[0] * trans[1] + transform[1] * trans[3];
    restrans[2] = transform[2] * trans[0] + transform[3] * trans[2];
    restrans[3] = transform[2] * trans[1] + transform[3] * trans[3];
    restrans[4] = transform[4] * trans[0] + transform[5] * trans[2] + trans[4];
    restrans[5] = transform[4] * trans[1] + transform[5] * trans[3] + trans[5];
    oldpos = ftell(ttf);
    DoDumpGlyph(ttf, eps, info, sub_glyph, restrans, 0);
    fseek(ttf, oldpos, SEEK_SET);
  } while (flags & 0x20);
}


x86 assembly (clang, -O0):
<DumpCompositGlyph>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
call   1070 <getushort@plt>
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%rdi
call   1070 <getushort@plt>
mov    %eax,-0x30(%rbp)
movsd  0xe55(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xe48(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x24(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     120b <DumpCompositGlyph+0x9b>
mov    -0x8(%rbp),%rdi
call   1070 <getushort@plt>
cwtl
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
call   1070 <getushort@plt>
cwtl
mov    %eax,-0x2c(%rbp)
jmp    1229 <DumpCompositGlyph+0xb9>
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
movsbl %al,%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
call   1090 <getc@plt>
movsbl %al,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x24(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1251 <DumpCompositGlyph+0xe1>
cvtsi2sdl -0x28(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
cvtsi2sdl -0x2c(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    1266 <DumpCompositGlyph+0xf6>
mov    0x2d88(%rip),%rax
mov    (%rax),%edi
lea    0xda7(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x24(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     128d <DumpCompositGlyph+0x11d>
mov    -0x8(%rbp),%rdi
call   1080 <get2dot14@plt>
movsd  %xmm0,-0x58(%rbp)
movsd  %xmm0,-0x70(%rbp)
jmp    1310 <DumpCompositGlyph+0x1a0>
mov    -0x24(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
je     12bd <DumpCompositGlyph+0x14d>
mov    -0x8(%rbp),%rdi
call   1080 <get2dot14@plt>
movsd  %xmm0,-0x70(%rbp)
mov    -0x8(%rbp),%rdi
call   1080 <get2dot14@plt>
movsd  %xmm0,-0x58(%rbp)
jmp    130b <DumpCompositGlyph+0x19b>
mov    -0x24(%rbp),%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     1306 <DumpCompositGlyph+0x196>
mov    -0x8(%rbp),%rdi
call   1080 <get2dot14@plt>
movsd  %xmm0,-0x70(%rbp)
mov    -0x8(%rbp),%rdi
call   1080 <get2dot14@plt>
movsd  %xmm0,-0x68(%rbp)
mov    -0x8(%rbp),%rdi
call   1080 <get2dot14@plt>
movsd  %xmm0,-0x60(%rbp)
mov    -0x8(%rbp),%rdi
call   1080 <get2dot14@plt>
movsd  %xmm0,-0x58(%rbp)
jmp    130b <DumpCompositGlyph+0x19b>
jmp    1310 <DumpCompositGlyph+0x1a0>
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mov    -0x20(%rbp),%rax
mulsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mov    -0x20(%rbp),%rax
mulsd  0x18(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mov    -0x20(%rbp),%rax
mulsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mov    -0x20(%rbp),%rax
mulsd  0x18(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mov    -0x20(%rbp),%rax
mulsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
addsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mov    -0x20(%rbp),%rax
mulsd  0x18(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
addsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <ftell@plt>
mov    %eax,-0x34(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x30(%rbp),%ecx
lea    -0xa0(%rbp),%r8
xor    %r9d,%r9d
call   1050 <DoDumpGlyph@plt>
mov    -0x8(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    0x2b7f(%rip),%rax
mov    (%rax),%edx
call   1060 <fseek@plt>
mov    -0x24(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
jne    118b <DumpCompositGlyph+0x1b>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<DumpCompositGlyph>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rcx,%r12
mov    %rdx,0x38(%rsp)
mov    %rsi,0x30(%rsp)
mov    %rdi,%rbx
jmp    1279 <DumpCompositGlyph+0x109>
cs nopw 0x0(%rax,%rax,1)
mov    %rbx,%rdi
movapd %xmm3,0x10(%rsp)
movapd %xmm4,(%rsp)
call   1080 <get2dot14@plt>
movapd (%rsp),%xmm4
movapd 0x10(%rsp),%xmm3
xorpd  %xmm5,%xmm5
xorpd  %xmm7,%xmm7
movapd %xmm0,%xmm6
movupd (%r12),%xmm1
movupd 0x10(%r12),%xmm2
unpcklpd %xmm7,%xmm7
mulpd  %xmm2,%xmm7
unpcklpd %xmm6,%xmm6
mulpd  %xmm1,%xmm6
addpd  %xmm7,%xmm6
movapd %xmm6,0x60(%rsp)
unpcklpd %xmm0,%xmm0
mulpd  %xmm2,%xmm0
unpcklpd %xmm5,%xmm5
mulpd  %xmm1,%xmm5
addpd  %xmm0,%xmm5
movapd %xmm5,0x70(%rsp)
unpcklpd %xmm4,%xmm4
mulpd  %xmm2,%xmm4
unpcklpd %xmm3,%xmm3
mulpd  %xmm1,%xmm3
addpd  %xmm4,%xmm3
movupd 0x20(%r12),%xmm0
addpd  %xmm3,%xmm0
movapd %xmm0,0x80(%rsp)
mov    %rbx,%rdi
call   1040 <ftell@plt>
mov    %eax,%r14d
mov    %rbx,%rdi
mov    0x30(%rsp),%rsi
mov    0x38(%rsp),%rdx
mov    %r15d,%ecx
lea    0x60(%rsp),%r8
xor    %r9d,%r9d
call   1050 <DoDumpGlyph@plt>
mov    0x2d76(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    %r14d,%esi
call   1060 <fseek@plt>
test   $0x20,%r13b
je     13df <DumpCompositGlyph+0x26f>
mov    %rbx,%rdi
call   1070 <getushort@plt>
mov    %eax,%r13d
mov    %rbx,%rdi
call   1070 <getushort@plt>
mov    %eax,%r15d
mov    %rbx,%rdi
test   $0x1,%r13b
jne    12d0 <DumpCompositGlyph+0x160>
call   1090 <getc@plt>
movsbl %al,%ebp
mov    %rbx,%rdi
call   1090 <getc@plt>
movsbl %al,%eax
test   $0x2,%r13b
je     12e7 <DumpCompositGlyph+0x177>
xorps  %xmm3,%xmm3
cvtsi2sd %ebp,%xmm3
xorps  %xmm4,%xmm4
cvtsi2sd %eax,%xmm4
test   $0x8,%r13b
jne    11a0 <DumpCompositGlyph+0x30>
jmp    130e <DumpCompositGlyph+0x19e>
nopl   0x0(%rax,%rax,1)
call   1070 <getushort@plt>
movswl %ax,%ebp
mov    %rbx,%rdi
call   1070 <getushort@plt>
cwtl
test   $0x2,%r13b
jne    12b1 <DumpCompositGlyph+0x141>
mov    0x2cf2(%rip),%rax
mov    (%rax),%edi
lea    0xd11(%rip),%rsi
call   1030 <fprintf@plt>
xorpd  %xmm4,%xmm4
xorpd  %xmm3,%xmm3
test   $0x8,%r13b
jne    11a0 <DumpCompositGlyph+0x30>
test   $0x40,%r13b
jne    13a0 <DumpCompositGlyph+0x230>
xorpd  %xmm5,%xmm5
movsd  0xcdc(%rip),%xmm1
movapd %xmm1,%xmm0
xorpd  %xmm7,%xmm7
movapd %xmm1,%xmm6
test   $0x80,%r13b
je     11ca <DumpCompositGlyph+0x5a>
mov    %rbx,%rdi
movapd %xmm3,0x10(%rsp)
movapd %xmm4,(%rsp)
call   1080 <get2dot14@plt>
movapd %xmm0,0x20(%rsp)
mov    %rbx,%rdi
call   1080 <get2dot14@plt>
movapd %xmm0,0x50(%rsp)
mov    %rbx,%rdi
call   1080 <get2dot14@plt>
movapd %xmm0,0x40(%rsp)
mov    %rbx,%rdi
call   1080 <get2dot14@plt>
movapd 0x50(%rsp),%xmm7
movapd 0x20(%rsp),%xmm6
movapd 0x40(%rsp),%xmm5
movapd (%rsp),%xmm4
movapd 0x10(%rsp),%xmm3
jmp    11ca <DumpCompositGlyph+0x5a>
nopl   0x0(%rax)
mov    %rbx,%rdi
movapd %xmm3,0x10(%rsp)
movapd %xmm4,(%rsp)
call   1080 <get2dot14@plt>
movapd %xmm0,0x20(%rsp)
mov    %rbx,%rdi
call   1080 <get2dot14@plt>
movapd 0x20(%rsp),%xmm6
movapd (%rsp),%xmm4
movapd 0x10(%rsp),%xmm3
xorpd  %xmm5,%xmm5
xorpd  %xmm7,%xmm7
jmp    11ca <DumpCompositGlyph+0x5a>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.ttfinfo = type { i32 }
@stderr = global i32 0
@.str = [50 x i8] c"Don't know how to deal with !(flags&_ARGS_ARE_XY)\00"
@SEEK_SET = global i32 0
define void @DumpCompositGlyph(i32* %0, i32* %1, %struct.ttfinfo* %2, double* %3) {
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca %struct.ttfinfo*
%8 = alloca double*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca [6 x double]
%15 = alloca [6 x double]
store i32* %0, i32** %5
store i32* %1, i32** %6
store %struct.ttfinfo* %2, %struct.ttfinfo** %7
store double* %3, double** %8
br label %16
16: ; preds = %200, %4
%17 = load i32*, i32** %5
%18 = call i32 @getushort(i32* %17)
store i32 %18, i32* %9
%19 = load i32*, i32** %5
%20 = call i32 @getushort(i32* %19)
store i32 %20, i32* %12
%21 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 3
store double 1.000000e+00, double* %21
%22 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 0
store double 1.000000e+00, double* %22
%23 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 5
store double 0.000000e+00, double* %23
%24 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 4
store double 0.000000e+00, double* %24
%25 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 2
store double 0.000000e+00, double* %25
%26 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 1
store double 0.000000e+00, double* %26
%27 = load i32, i32* %9
%28 = and i32 %27, 1
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %39
30: ; preds = %16
%31 = load i32*, i32** %5
%32 = call i32 @getushort(i32* %31)
%33 = trunc i32 %32 to i16
%34 = sext i16 %33 to i32
store i32 %34, i32* %10
%35 = load i32*, i32** %5
%36 = call i32 @getushort(i32* %35)
%37 = trunc i32 %36 to i16
%38 = sext i16 %37 to i32
store i32 %38, i32* %11
br label %48
39: ; preds = %16
%40 = load i32*, i32** %5
%41 = call i64 @getc(i32* %40)
%42 = trunc i64 %41 to i8
%43 = sext i8 %42 to i32
store i32 %43, i32* %10
%44 = load i32*, i32** %5
%45 = call i64 @getc(i32* %44)
%46 = trunc i64 %45 to i8
%47 = sext i8 %46 to i32
store i32 %47, i32* %11
br label %48
48: ; preds = %39, %30
%49 = load i32, i32* %9
%50 = and i32 %49, 2
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %59
52: ; preds = %48
%53 = load i32, i32* %10
%54 = sitofp i32 %53 to double
%55 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 4
store double %54, double* %55
%56 = load i32, i32* %11
%57 = sitofp i32 %56 to double
%58 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 5
store double %57, double* %58
br label %62
59: ; preds = %48
%60 = load i32, i32* @stderr
%61 = call i32 @fprintf(i32 %60, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str, i64 0, i64 0))
br label %62
62: ; preds = %59, %52
%63 = load i32, i32* %9
%64 = and i32 %63, 8
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %71
66: ; preds = %62
%67 = load i32*, i32** %5
%68 = call double @get2dot14(i32* %67)
%69 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 3
store double %68, double* %69
%70 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 0
store double %68, double* %70
br label %101
71: ; preds = %62
%72 = load i32, i32* %9
%73 = and i32 %72, 64
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %82
75: ; preds = %71
%76 = load i32*, i32** %5
%77 = call double @get2dot14(i32* %76)
%78 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 0
store double %77, double* %78
%79 = load i32*, i32** %5
%80 = call double @get2dot14(i32* %79)
%81 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 3
store double %80, double* %81
br label %100
82: ; preds = %71
%83 = load i32, i32* %9
%84 = and i32 %83, 128
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %99
86: ; preds = %82
%87 = load i32*, i32** %5
%88 = call double @get2dot14(i32* %87)
%89 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 0
store double %88, double* %89
%90 = load i32*, i32** %5
%91 = call double @get2dot14(i32* %90)
%92 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 1
store double %91, double* %92
%93 = load i32*, i32** %5
%94 = call double @get2dot14(i32* %93)
%95 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 2
store double %94, double* %95
%96 = load i32*, i32** %5
%97 = call double @get2dot14(i32* %96)
%98 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 3
store double %97, double* %98
br label %99
99: ; preds = %86, %82
br label %100
100: ; preds = %99, %75
br label %101
101: ; preds = %100, %66
%102 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 0
%103 = load double, double* %102
%104 = load double*, double** %8
%105 = getelementptr inbounds double, double* %104, i64 0
%106 = load double, double* %105
%107 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 1
%108 = load double, double* %107
%109 = load double*, double** %8
%110 = getelementptr inbounds double, double* %109, i64 2
%111 = load double, double* %110
%112 = fmul double %108, %111
%113 = call double @llvm.fmuladd.f64(double %103, double %106, double %112)
%114 = getelementptr inbounds [6 x double], [6 x double]* %15, i64 0, i64 0
store double %113, double* %114
%115 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 0
%116 = load double, double* %115
%117 = load double*, double** %8
%118 = getelementptr inbounds double, double* %117, i64 1
%119 = load double, double* %118
%120 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 1
%121 = load double, double* %120
%122 = load double*, double** %8
%123 = getelementptr inbounds double, double* %122, i64 3
%124 = load double, double* %123
%125 = fmul double %121, %124
%126 = call double @llvm.fmuladd.f64(double %116, double %119, double %125)
%127 = getelementptr inbounds [6 x double], [6 x double]* %15, i64 0, i64 1
store double %126, double* %127
%128 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 2
%129 = load double, double* %128
%130 = load double*, double** %8
%131 = getelementptr inbounds double, double* %130, i64 0
%132 = load double, double* %131
%133 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 3
%134 = load double, double* %133
%135 = load double*, double** %8
%136 = getelementptr inbounds double, double* %135, i64 2
%137 = load double, double* %136
%138 = fmul double %134, %137
%139 = call double @llvm.fmuladd.f64(double %129, double %132, double %138)
%140 = getelementptr inbounds [6 x double], [6 x double]* %15, i64 0, i64 2
store double %139, double* %140
%141 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 2
%142 = load double, double* %141
%143 = load double*, double** %8
%144 = getelementptr inbounds double, double* %143, i64 1
%145 = load double, double* %144
%146 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 3
%147 = load double, double* %146
%148 = load double*, double** %8
%149 = getelementptr inbounds double, double* %148, i64 3
%150 = load double, double* %149
%151 = fmul double %147, %150
%152 = call double @llvm.fmuladd.f64(double %142, double %145, double %151)
%153 = getelementptr inbounds [6 x double], [6 x double]* %15, i64 0, i64 3
store double %152, double* %153
%154 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 4
%155 = load double, double* %154
%156 = load double*, double** %8
%157 = getelementptr inbounds double, double* %156, i64 0
%158 = load double, double* %157
%159 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 5
%160 = load double, double* %159
%161 = load double*, double** %8
%162 = getelementptr inbounds double, double* %161, i64 2
%163 = load double, double* %162
%164 = fmul double %160, %163
%165 = call double @llvm.fmuladd.f64(double %155, double %158, double %164)
%166 = load double*, double** %8
%167 = getelementptr inbounds double, double* %166, i64 4
%168 = load double, double* %167
%169 = fadd double %165, %168
%170 = getelementptr inbounds [6 x double], [6 x double]* %15, i64 0, i64 4
store double %169, double* %170
%171 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 4
%172 = load double, double* %171
%173 = load double*, double** %8
%174 = getelementptr inbounds double, double* %173, i64 1
%175 = load double, double* %174
%176 = getelementptr inbounds [6 x double], [6 x double]* %14, i64 0, i64 5
%177 = load double, double* %176
%178 = load double*, double** %8
%179 = getelementptr inbounds double, double* %178, i64 3
%180 = load double, double* %179
%181 = fmul double %177, %180
%182 = call double @llvm.fmuladd.f64(double %172, double %175, double %181)
%183 = load double*, double** %8
%184 = getelementptr inbounds double, double* %183, i64 5
%185 = load double, double* %184
%186 = fadd double %182, %185
%187 = getelementptr inbounds [6 x double], [6 x double]* %15, i64 0, i64 5
store double %186, double* %187
%188 = load i32*, i32** %5
%189 = call i32 @ftell(i32* %188)
store i32 %189, i32* %13
%190 = load i32*, i32** %5
%191 = load i32*, i32** %6
%192 = load %struct.ttfinfo*, %struct.ttfinfo** %7
%193 = load i32, i32* %12
%194 = getelementptr inbounds [6 x double], [6 x double]* %15, i64 0, i64 0
%195 = call i32 @DoDumpGlyph(i32* %190, i32* %191, %struct.ttfinfo* %192, i32 %193, double* %194, i32 0)
%196 = load i32*, i32** %5
%197 = load i32, i32* %13
%198 = load i32, i32* @SEEK_SET
%199 = call i32 @fseek(i32* %196, i32 %197, i32 %198)
br label %200
200: ; preds = %101
%201 = load i32, i32* %9
%202 = and i32 %201, 32
%203 = icmp ne i32 %202, 0
br i1 %203, label %16, label %204
204: ; preds = %200
ret void
}

LLVM IR (-O2):
%struct.ttfinfo = type { i32 }
@stderr = global i32 0
@.str = [50 x i8] c"Don't know how to deal with !(flags&_ARGS_ARE_XY)\00"
@SEEK_SET = global i32 0
define void @DumpCompositGlyph(i32* %0, i32* %1, %struct.ttfinfo* %2, double* nocapture %3) {
%5 = alloca [6 x double]
%6 = bitcast [6 x double]* %5 to i8*
%7 = getelementptr inbounds double, double* %3, i64 2
%8 = getelementptr inbounds [6 x double], [6 x double]* %5, i64 0, i64 0
%9 = getelementptr inbounds [6 x double], [6 x double]* %5, i64 0, i64 2
%10 = getelementptr inbounds double, double* %3, i64 4
%11 = getelementptr inbounds [6 x double], [6 x double]* %5, i64 0, i64 4
%12 = bitcast double* %7 to <2 x double>*
%13 = bitcast double* %3 to <2 x double>*
%14 = bitcast [6 x double]* %5 to <2 x double>*
%15 = bitcast double* %9 to <2 x double>*
%16 = bitcast double* %10 to <2 x double>*
%17 = bitcast double* %11 to <2 x double>*
br label %18
18: ; preds = %71, %4
%19 = call i32 @getushort(i32* %0)
%20 = call i32 @getushort(i32* %0)
%21 = and i32 %19, 1
%22 = icmp eq i32 %21, 0
br i1 %22, label %30, label %23
23: ; preds = %18
%24 = call i32 @getushort(i32* %0)
%25 = shl i32 %24, 16
%26 = ashr exact i32 %25, 16
%27 = call i32 @getushort(i32* %0)
%28 = shl i32 %27, 16
%29 = ashr exact i32 %28, 16
br label %39
30: ; preds = %18
%31 = call i64 @getc(i32* %0)
%32 = trunc i64 %31 to i32
%33 = shl i32 %32, 24
%34 = ashr exact i32 %33, 24
%35 = call i64 @getc(i32* %0)
%36 = trunc i64 %35 to i32
%37 = shl i32 %36, 24
%38 = ashr exact i32 %37, 24
br label %39
39: ; preds = %30, %23
%40 = phi i32 [ %29, %23 ], [ %38, %30 ]
%41 = phi i32 [ %26, %23 ], [ %34, %30 ]
%42 = and i32 %19, 2
%43 = icmp eq i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %39
%45 = sitofp i32 %41 to double
%46 = sitofp i32 %40 to double
br label %50
47: ; preds = %39
%48 = load i32, i32* @stderr
%49 = call i32 @fprintf(i32 %48, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str, i64 0, i64 0))
br label %50
50: ; preds = %47, %44
%51 = phi double [ %46, %44 ], [ 0.000000e+00, %47 ]
%52 = phi double [ %45, %44 ], [ 0.000000e+00, %47 ]
%53 = and i32 %19, 8
%54 = icmp eq i32 %53, 0
br i1 %54, label %57, label %55
55: ; preds = %50
%56 = call double @get2dot14(i32* %0)
br label %71
57: ; preds = %50
%58 = and i32 %19, 64
%59 = icmp eq i32 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %57
%61 = call double @get2dot14(i32* %0)
%62 = call double @get2dot14(i32* %0)
br label %71
63: ; preds = %57
%64 = and i32 %19, 128
%65 = icmp eq i32 %64, 0
br i1 %65, label %71, label %66
66: ; preds = %63
%67 = call double @get2dot14(i32* %0)
%68 = call double @get2dot14(i32* %0)
%69 = call double @get2dot14(i32* %0)
%70 = call double @get2dot14(i32* %0)
br label %71
71: ; preds = %60, %66, %63, %55
%72 = phi double [ %56, %55 ], [ %62, %60 ], [ %70, %66 ], [ 1.000000e+00, %63 ]
%73 = phi double [ 0.000000e+00, %55 ], [ 0.000000e+00, %60 ], [ %69, %66 ], [ 0.000000e+00, %63 ]
%74 = phi double [ 0.000000e+00, %55 ], [ 0.000000e+00, %60 ], [ %68, %66 ], [ 0.000000e+00, %63 ]
%75 = phi double [ %56, %55 ], [ %61, %60 ], [ %67, %66 ], [ 1.000000e+00, %63 ]
%76 = load <2 x double>, <2 x double>* %12
%77 = load <2 x double>, <2 x double>* %13
%78 = insertelement <2 x double> poison, double %74, i64 0
%79 = shufflevector <2 x double> %78, <2 x double> poison, <2 x i32> zeroinitializer
%80 = fmul <2 x double> %79, %76
%81 = insertelement <2 x double> poison, double %75, i64 0
%82 = shufflevector <2 x double> %81, <2 x double> poison, <2 x i32> zeroinitializer
%83 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %82, <2 x double> %77, <2 x double> %80)
store <2 x double> %83, <2 x double>* %14
%84 = insertelement <2 x double> poison, double %72, i64 0
%85 = shufflevector <2 x double> %84, <2 x double> poison, <2 x i32> zeroinitializer
%86 = fmul <2 x double> %85, %76
%87 = insertelement <2 x double> poison, double %73, i64 0
%88 = shufflevector <2 x double> %87, <2 x double> poison, <2 x i32> zeroinitializer
%89 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %88, <2 x double> %77, <2 x double> %86)
store <2 x double> %89, <2 x double>* %15
%90 = insertelement <2 x double> poison, double %51, i64 0
%91 = shufflevector <2 x double> %90, <2 x double> poison, <2 x i32> zeroinitializer
%92 = fmul <2 x double> %91, %76
%93 = insertelement <2 x double> poison, double %52, i64 0
%94 = shufflevector <2 x double> %93, <2 x double> poison, <2 x i32> zeroinitializer
%95 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %94, <2 x double> %77, <2 x double> %92)
%96 = load <2 x double>, <2 x double>* %16
%97 = fadd <2 x double> %95, %96
store <2 x double> %97, <2 x double>* %17
%98 = call i32 @ftell(i32* %0)
%99 = call i32 @DoDumpGlyph(i32* %0, i32* %1, %struct.ttfinfo* %2, i32 %20, double* %8, i32 0)
%100 = load i32, i32* @SEEK_SET
%101 = call i32 @fseek(i32* %0, i32 %98, i32 %100)
%102 = and i32 %19, 32
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %18
104: ; preds = %71
ret void
}