shithub: h264bsd

ref: ffe52bff37ac96bb33d5a544223e820f3e9876c9
dir: /js/h264bsd_asm.js/

View raw version
// Note: Some Emscripten settings will significantly limit the speed of the generated code.
// Note: Some Emscripten settings may limit the speed of the generated code.
// The Module object: Our interface to the outside world. We import
// and export values on it, and do the work to get that through
// closure compiler if necessary. There are various ways Module can be used:
// 1. Not defined. We create it here
// 2. A function parameter, function(Module) { ..generated code.. }
// 3. pre-run appended it, var Module = {}; ..generated code..
// 4. External script tag defines var Module.
// We need to do an eval in order to handle the closure compiler
// case, where this code here is minified but Module was defined
// elsewhere (e.g. case 4 above). We also need to check if Module
// already exists (e.g. case 3 above).
// Note that if you want to run closure, and also to use Module
// after the generated code, you will need to define   var Module = {};
// before the code. Then that object will be used in the code, and you
// can continue to use Module afterwards as well.
var Module;
if (!Module) Module = eval('(function() { try { return Module || {} } catch(e) { return {} } })()');
// Sometimes an existing Module object exists with properties
// meant to overwrite the default module functionality. Here
// we collect those properties and reapply _after_ we configure
// the current environment's defaults to avoid having to be so
// defensive during initialization.
var moduleOverrides = {};
for (var key in Module) {
  if (Module.hasOwnProperty(key)) {
    moduleOverrides[key] = Module[key];
  }
}
// The environment setup code below is customized to use Module.
// *** Environment setup code ***
var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function';
var ENVIRONMENT_IS_WEB = typeof window === 'object';
var ENVIRONMENT_IS_WORKER = typeof importScripts === 'function';
var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER;
if (ENVIRONMENT_IS_NODE) {
  // Expose functionality in the same simple way that the shells work
  // Note that we pollute the global namespace here, otherwise we break in node
  Module['print'] = function print(x) {
    process['stdout'].write(x + '\n');
  };
  Module['printErr'] = function printErr(x) {
    process['stderr'].write(x + '\n');
  };
  var nodeFS = require('fs');
  var nodePath = require('path');
  Module['read'] = function read(filename, binary) {
    filename = nodePath['normalize'](filename);
    var ret = nodeFS['readFileSync'](filename);
    // The path is absolute if the normalized version is the same as the resolved.
    if (!ret && filename != nodePath['resolve'](filename)) {
      filename = path.join(__dirname, '..', 'src', filename);
      ret = nodeFS['readFileSync'](filename);
    }
    if (ret && !binary) ret = ret.toString();
    return ret;
  };
  Module['readBinary'] = function readBinary(filename) { return Module['read'](filename, true) };
  Module['load'] = function load(f) {
    globalEval(read(f));
  };
  Module['arguments'] = process['argv'].slice(2);
  module['exports'] = Module;
}
else if (ENVIRONMENT_IS_SHELL) {
  Module['print'] = print;
  if (typeof printErr != 'undefined') Module['printErr'] = printErr; // not present in v8 or older sm
  if (typeof read != 'undefined') {
    Module['read'] = read;
  } else {
    Module['read'] = function read() { throw 'no read() available (jsc?)' };
  }
  Module['readBinary'] = function readBinary(f) {
    return read(f, 'binary');
  };
  if (typeof scriptArgs != 'undefined') {
    Module['arguments'] = scriptArgs;
  } else if (typeof arguments != 'undefined') {
    Module['arguments'] = arguments;
  }
  this['Module'] = Module;
  eval("if (typeof gc === 'function' && gc.toString().indexOf('[native code]') > 0) var gc = undefined"); // wipe out the SpiderMonkey shell 'gc' function, which can confuse closure (uses it as a minified name, and it is then initted to a non-falsey value unexpectedly)
}
else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
  Module['read'] = function read(url) {
    var xhr = new XMLHttpRequest();
    xhr.open('GET', url, false);
    xhr.send(null);
    return xhr.responseText;
  };
  if (typeof arguments != 'undefined') {
    Module['arguments'] = arguments;
  }
  if (typeof console !== 'undefined') {
    Module['print'] = function print(x) {
      console.log(x);
    };
    Module['printErr'] = function printErr(x) {
      console.log(x);
    };
  } else {
    // Probably a worker, and without console.log. We can do very little here...
    var TRY_USE_DUMP = false;
    Module['print'] = (TRY_USE_DUMP && (typeof(dump) !== "undefined") ? (function(x) {
      dump(x);
    }) : (function(x) {
      // self.postMessage(x); // enable this if you want stdout to be sent as messages
    }));
  }
  if (ENVIRONMENT_IS_WEB) {
    this['Module'] = Module;
  } else {
    Module['load'] = importScripts;
  }
}
else {
  // Unreachable because SHELL is dependant on the others
  throw 'Unknown runtime environment. Where are we?';
}
function globalEval(x) {
  eval.call(null, x);
}
if (!Module['load'] == 'undefined' && Module['read']) {
  Module['load'] = function load(f) {
    globalEval(Module['read'](f));
  };
}
if (!Module['print']) {
  Module['print'] = function(){};
}
if (!Module['printErr']) {
  Module['printErr'] = Module['print'];
}
if (!Module['arguments']) {
  Module['arguments'] = [];
}
// *** Environment setup code ***
// Closure helpers
Module.print = Module['print'];
Module.printErr = Module['printErr'];
// Callbacks
Module['preRun'] = [];
Module['postRun'] = [];
// Merge back in the overrides
for (var key in moduleOverrides) {
  if (moduleOverrides.hasOwnProperty(key)) {
    Module[key] = moduleOverrides[key];
  }
}
// === Auto-generated preamble library stuff ===
//========================================
// Runtime code shared with compiler
//========================================
var Runtime = {
  stackSave: function () {
    return STACKTOP;
  },
  stackRestore: function (stackTop) {
    STACKTOP = stackTop;
  },
  forceAlign: function (target, quantum) {
    quantum = quantum || 4;
    if (quantum == 1) return target;
    if (isNumber(target) && isNumber(quantum)) {
      return Math.ceil(target/quantum)*quantum;
    } else if (isNumber(quantum) && isPowerOfTwo(quantum)) {
      return '(((' +target + ')+' + (quantum-1) + ')&' + -quantum + ')';
    }
    return 'Math.ceil((' + target + ')/' + quantum + ')*' + quantum;
  },
  isNumberType: function (type) {
    return type in Runtime.INT_TYPES || type in Runtime.FLOAT_TYPES;
  },
  isPointerType: function isPointerType(type) {
  return type[type.length-1] == '*';
},
  isStructType: function isStructType(type) {
  if (isPointerType(type)) return false;
  if (isArrayType(type)) return true;
  if (/<?{ ?[^}]* ?}>?/.test(type)) return true; // { i32, i8 } etc. - anonymous struct types
  // See comment in isStructPointerType()
  return type[0] == '%';
},
  INT_TYPES: {"i1":0,"i8":0,"i16":0,"i32":0,"i64":0},
  FLOAT_TYPES: {"float":0,"double":0},
  or64: function (x, y) {
    var l = (x | 0) | (y | 0);
    var h = (Math.round(x / 4294967296) | Math.round(y / 4294967296)) * 4294967296;
    return l + h;
  },
  and64: function (x, y) {
    var l = (x | 0) & (y | 0);
    var h = (Math.round(x / 4294967296) & Math.round(y / 4294967296)) * 4294967296;
    return l + h;
  },
  xor64: function (x, y) {
    var l = (x | 0) ^ (y | 0);
    var h = (Math.round(x / 4294967296) ^ Math.round(y / 4294967296)) * 4294967296;
    return l + h;
  },
  getNativeTypeSize: function (type) {
    switch (type) {
      case 'i1': case 'i8': return 1;
      case 'i16': return 2;
      case 'i32': return 4;
      case 'i64': return 8;
      case 'float': return 4;
      case 'double': return 8;
      default: {
        if (type[type.length-1] === '*') {
          return Runtime.QUANTUM_SIZE; // A pointer
        } else if (type[0] === 'i') {
          var bits = parseInt(type.substr(1));
          assert(bits % 8 === 0);
          return bits/8;
        } else {
          return 0;
        }
      }
    }
  },
  getNativeFieldSize: function (type) {
    return Math.max(Runtime.getNativeTypeSize(type), Runtime.QUANTUM_SIZE);
  },
  dedup: function dedup(items, ident) {
  var seen = {};
  if (ident) {
    return items.filter(function(item) {
      if (seen[item[ident]]) return false;
      seen[item[ident]] = true;
      return true;
    });
  } else {
    return items.filter(function(item) {
      if (seen[item]) return false;
      seen[item] = true;
      return true;
    });
  }
},
  set: function set() {
  var args = typeof arguments[0] === 'object' ? arguments[0] : arguments;
  var ret = {};
  for (var i = 0; i < args.length; i++) {
    ret[args[i]] = 0;
  }
  return ret;
},
  STACK_ALIGN: 8,
  getAlignSize: function (type, size, vararg) {
    // we align i64s and doubles on 64-bit boundaries, unlike x86
    if (vararg) return 8;
    if (!vararg && (type == 'i64' || type == 'double')) return 8;
    if (!type) return Math.min(size, 8); // align structures internally to 64 bits
    return Math.min(size || (type ? Runtime.getNativeFieldSize(type) : 0), Runtime.QUANTUM_SIZE);
  },
  calculateStructAlignment: function calculateStructAlignment(type) {
    type.flatSize = 0;
    type.alignSize = 0;
    var diffs = [];
    var prev = -1;
    var index = 0;
    type.flatIndexes = type.fields.map(function(field) {
      index++;
      var size, alignSize;
      if (Runtime.isNumberType(field) || Runtime.isPointerType(field)) {
        size = Runtime.getNativeTypeSize(field); // pack char; char; in structs, also char[X]s.
        alignSize = Runtime.getAlignSize(field, size);
      } else if (Runtime.isStructType(field)) {
        if (field[1] === '0') {
          // this is [0 x something]. When inside another structure like here, it must be at the end,
          // and it adds no size
          // XXX this happens in java-nbody for example... assert(index === type.fields.length, 'zero-length in the middle!');
          size = 0;
          if (Types.types[field]) {
            alignSize = Runtime.getAlignSize(null, Types.types[field].alignSize);
          } else {
            alignSize = type.alignSize || QUANTUM_SIZE;
          }
        } else {
          size = Types.types[field].flatSize;
          alignSize = Runtime.getAlignSize(null, Types.types[field].alignSize);
        }
      } else if (field[0] == 'b') {
        // bN, large number field, like a [N x i8]
        size = field.substr(1)|0;
        alignSize = 1;
      } else if (field[0] === '<') {
        // vector type
        size = alignSize = Types.types[field].flatSize; // fully aligned
      } else if (field[0] === 'i') {
        // illegal integer field, that could not be legalized because it is an internal structure field
        // it is ok to have such fields, if we just use them as markers of field size and nothing more complex
        size = alignSize = parseInt(field.substr(1))/8;
        assert(size % 1 === 0, 'cannot handle non-byte-size field ' + field);
      } else {
        assert(false, 'invalid type for calculateStructAlignment');
      }
      if (type.packed) alignSize = 1;
      type.alignSize = Math.max(type.alignSize, alignSize);
      var curr = Runtime.alignMemory(type.flatSize, alignSize); // if necessary, place this on aligned memory
      type.flatSize = curr + size;
      if (prev >= 0) {
        diffs.push(curr-prev);
      }
      prev = curr;
      return curr;
    });
    if (type.name_ && type.name_[0] === '[') {
      // arrays have 2 elements, so we get the proper difference. then we scale here. that way we avoid
      // allocating a potentially huge array for [999999 x i8] etc.
      type.flatSize = parseInt(type.name_.substr(1))*type.flatSize/2;
    }
    type.flatSize = Runtime.alignMemory(type.flatSize, type.alignSize);
    if (diffs.length == 0) {
      type.flatFactor = type.flatSize;
    } else if (Runtime.dedup(diffs).length == 1) {
      type.flatFactor = diffs[0];
    }
    type.needsFlattening = (type.flatFactor != 1);
    return type.flatIndexes;
  },
  generateStructInfo: function (struct, typeName, offset) {
    var type, alignment;
    if (typeName) {
      offset = offset || 0;
      type = (typeof Types === 'undefined' ? Runtime.typeInfo : Types.types)[typeName];
      if (!type) return null;
      if (type.fields.length != struct.length) {
        printErr('Number of named fields must match the type for ' + typeName + ': possibly duplicate struct names. Cannot return structInfo');
        return null;
      }
      alignment = type.flatIndexes;
    } else {
      var type = { fields: struct.map(function(item) { return item[0] }) };
      alignment = Runtime.calculateStructAlignment(type);
    }
    var ret = {
      __size__: type.flatSize
    };
    if (typeName) {
      struct.forEach(function(item, i) {
        if (typeof item === 'string') {
          ret[item] = alignment[i] + offset;
        } else {
          // embedded struct
          var key;
          for (var k in item) key = k;
          ret[key] = Runtime.generateStructInfo(item[key], type.fields[i], alignment[i]);
        }
      });
    } else {
      struct.forEach(function(item, i) {
        ret[item[1]] = alignment[i];
      });
    }
    return ret;
  },
  dynCall: function (sig, ptr, args) {
    if (args && args.length) {
      assert(args.length == sig.length-1);
      return FUNCTION_TABLE[ptr].apply(null, args);
    } else {
      assert(sig.length == 1);
      return FUNCTION_TABLE[ptr]();
    }
  },
  addFunction: function (func) {
    var table = FUNCTION_TABLE;
    var ret = table.length;
    assert(ret % 2 === 0);
    table.push(func);
    for (var i = 0; i < 2-1; i++) table.push(0);
    return ret;
  },
  removeFunction: function (index) {
    var table = FUNCTION_TABLE;
    table[index] = null;
  },
  getAsmConst: function (code, numArgs) {
    // code is a constant string on the heap, so we can cache these
    if (!Runtime.asmConstCache) Runtime.asmConstCache = {};
    var func = Runtime.asmConstCache[code];
    if (func) return func;
    var args = [];
    for (var i = 0; i < numArgs; i++) {
      args.push(String.fromCharCode(36) + i); // $0, $1 etc
    }
    return Runtime.asmConstCache[code] = eval('(function(' + args.join(',') + '){ ' + Pointer_stringify(code) + ' })'); // new Function does not allow upvars in node
  },
  warnOnce: function (text) {
    if (!Runtime.warnOnce.shown) Runtime.warnOnce.shown = {};
    if (!Runtime.warnOnce.shown[text]) {
      Runtime.warnOnce.shown[text] = 1;
      Module.printErr(text);
    }
  },
  funcWrappers: {},
  getFuncWrapper: function (func, sig) {
    assert(sig);
    if (!Runtime.funcWrappers[func]) {
      Runtime.funcWrappers[func] = function dynCall_wrapper() {
        return Runtime.dynCall(sig, func, arguments);
      };
    }
    return Runtime.funcWrappers[func];
  },
  UTF8Processor: function () {
    var buffer = [];
    var needed = 0;
    this.processCChar = function (code) {
      code = code & 0xFF;
      if (buffer.length == 0) {
        if ((code & 0x80) == 0x00) {        // 0xxxxxxx
          return String.fromCharCode(code);
        }
        buffer.push(code);
        if ((code & 0xE0) == 0xC0) {        // 110xxxxx
          needed = 1;
        } else if ((code & 0xF0) == 0xE0) { // 1110xxxx
          needed = 2;
        } else {                            // 11110xxx
          needed = 3;
        }
        return '';
      }
      if (needed) {
        buffer.push(code);
        needed--;
        if (needed > 0) return '';
      }
      var c1 = buffer[0];
      var c2 = buffer[1];
      var c3 = buffer[2];
      var c4 = buffer[3];
      var ret;
      if (buffer.length == 2) {
        ret = String.fromCharCode(((c1 & 0x1F) << 6)  | (c2 & 0x3F));
      } else if (buffer.length == 3) {
        ret = String.fromCharCode(((c1 & 0x0F) << 12) | ((c2 & 0x3F) << 6)  | (c3 & 0x3F));
      } else {
        // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
        var codePoint = ((c1 & 0x07) << 18) | ((c2 & 0x3F) << 12) |
                        ((c3 & 0x3F) << 6)  | (c4 & 0x3F);
        ret = String.fromCharCode(
          Math.floor((codePoint - 0x10000) / 0x400) + 0xD800,
          (codePoint - 0x10000) % 0x400 + 0xDC00);
      }
      buffer.length = 0;
      return ret;
    }
    this.processJSString = function processJSString(string) {
      string = unescape(encodeURIComponent(string));
      var ret = [];
      for (var i = 0; i < string.length; i++) {
        ret.push(string.charCodeAt(i));
      }
      return ret;
    }
  },
  stackAlloc: function (size) { var ret = STACKTOP;STACKTOP = (STACKTOP + size)|0;STACKTOP = (((STACKTOP)+7)&-8);(assert((STACKTOP|0) < (STACK_MAX|0))|0); return ret; },
  staticAlloc: function (size) { var ret = STATICTOP;STATICTOP = (STATICTOP + (assert(!staticSealed),size))|0;STATICTOP = (((STATICTOP)+7)&-8); return ret; },
  dynamicAlloc: function (size) { var ret = DYNAMICTOP;DYNAMICTOP = (DYNAMICTOP + (assert(DYNAMICTOP > 0),size))|0;DYNAMICTOP = (((DYNAMICTOP)+7)&-8); if (DYNAMICTOP >= TOTAL_MEMORY) enlargeMemory();; return ret; },
  alignMemory: function (size,quantum) { var ret = size = Math.ceil((size)/(quantum ? quantum : 8))*(quantum ? quantum : 8); return ret; },
  makeBigInt: function (low,high,unsigned) { var ret = (unsigned ? ((low>>>0)+((high>>>0)*4294967296)) : ((low>>>0)+((high|0)*4294967296))); return ret; },
  GLOBAL_BASE: 8,
  QUANTUM_SIZE: 4,
  __dummy__: 0
}
//========================================
// Runtime essentials
//========================================
var __THREW__ = 0; // Used in checking for thrown exceptions.
var setjmpId = 1; // Used in setjmp/longjmp
var setjmpLabels = {};
var ABORT = false; // whether we are quitting the application. no code should run after this. set in exit() and abort()
var EXITSTATUS = 0;
var undef = 0;
// tempInt is used for 32-bit signed values or smaller. tempBigInt is used
// for 32-bit unsigned values or more than 32 bits. TODO: audit all uses of tempInt
var tempValue, tempInt, tempBigInt, tempInt2, tempBigInt2, tempPair, tempBigIntI, tempBigIntR, tempBigIntS, tempBigIntP, tempBigIntD, tempDouble, tempFloat;
var tempI64, tempI64b;
var tempRet0, tempRet1, tempRet2, tempRet3, tempRet4, tempRet5, tempRet6, tempRet7, tempRet8, tempRet9;
function assert(condition, text) {
  if (!condition) {
    abort('Assertion failed: ' + text);
  }
}
var globalScope = this;
// C calling interface. A convenient way to call C functions (in C files, or
// defined with extern "C").
//
// Note: LLVM optimizations can inline and remove functions, after which you will not be
//       able to call them. Closure can also do so. To avoid that, add your function to
//       the exports using something like
//
//         -s EXPORTED_FUNCTIONS='["_main", "_myfunc"]'
//
// @param ident      The name of the C function (note that C++ functions will be name-mangled - use extern "C")
// @param returnType The return type of the function, one of the JS types 'number', 'string' or 'array' (use 'number' for any C pointer, and
//                   'array' for JavaScript arrays and typed arrays; note that arrays are 8-bit).
// @param argTypes   An array of the types of arguments for the function (if there are no arguments, this can be ommitted). Types are as in returnType,
//                   except that 'array' is not possible (there is no way for us to know the length of the array)
// @param args       An array of the arguments to the function, as native JS values (as in returnType)
//                   Note that string arguments will be stored on the stack (the JS string will become a C string on the stack).
// @return           The return value, as a native JS value (as in returnType)
function ccall(ident, returnType, argTypes, args) {
  return ccallFunc(getCFunc(ident), returnType, argTypes, args);
}
Module["ccall"] = ccall;
// Returns the C function with a specified identifier (for C++, you need to do manual name mangling)
function getCFunc(ident) {
  try {
    var func = Module['_' + ident]; // closure exported function
    if (!func) func = eval('_' + ident); // explicit lookup
  } catch(e) {
  }
  assert(func, 'Cannot call unknown function ' + ident + ' (perhaps LLVM optimizations or closure removed it?)');
  return func;
}
// Internal function that does a C call using a function, not an identifier
function ccallFunc(func, returnType, argTypes, args) {
  var stack = 0;
  function toC(value, type) {
    if (type == 'string') {
      if (value === null || value === undefined || value === 0) return 0; // null string
      value = intArrayFromString(value);
      type = 'array';
    }
    if (type == 'array') {
      if (!stack) stack = Runtime.stackSave();
      var ret = Runtime.stackAlloc(value.length);
      writeArrayToMemory(value, ret);
      return ret;
    }
    return value;
  }
  function fromC(value, type) {
    if (type == 'string') {
      return Pointer_stringify(value);
    }
    assert(type != 'array');
    return value;
  }
  var i = 0;
  var cArgs = args ? args.map(function(arg) {
    return toC(arg, argTypes[i++]);
  }) : [];
  var ret = fromC(func.apply(null, cArgs), returnType);
  if (stack) Runtime.stackRestore(stack);
  return ret;
}
// Returns a native JS wrapper for a C function. This is similar to ccall, but
// returns a function you can call repeatedly in a normal way. For example:
//
//   var my_function = cwrap('my_c_function', 'number', ['number', 'number']);
//   alert(my_function(5, 22));
//   alert(my_function(99, 12));
//
function cwrap(ident, returnType, argTypes) {
  var func = getCFunc(ident);
  return function() {
    return ccallFunc(func, returnType, argTypes, Array.prototype.slice.call(arguments));
  }
}
Module["cwrap"] = cwrap;
// Sets a value in memory in a dynamic way at run-time. Uses the
// type data. This is the same as makeSetValue, except that
// makeSetValue is done at compile-time and generates the needed
// code then, whereas this function picks the right code at
// run-time.
// Note that setValue and getValue only do *aligned* writes and reads!
// Note that ccall uses JS types as for defining types, while setValue and
// getValue need LLVM types ('i8', 'i32') - this is a lower-level operation
function setValue(ptr, value, type, noSafe) {
  type = type || 'i8';
  if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit
    switch(type) {
      case 'i1': HEAP8[(ptr)]=value; break;
      case 'i8': HEAP8[(ptr)]=value; break;
      case 'i16': HEAP16[((ptr)>>1)]=value; break;
      case 'i32': HEAP32[((ptr)>>2)]=value; break;
      case 'i64': (tempI64 = [value>>>0,(tempDouble=value,Math_abs(tempDouble) >= 1 ? (tempDouble > 0 ? Math_min(Math_floor((tempDouble)/4294967296), 4294967295)>>>0 : (~~(Math_ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296)))>>>0) : 0)],HEAP32[((ptr)>>2)]=tempI64[0],HEAP32[(((ptr)+(4))>>2)]=tempI64[1]); break;
      case 'float': HEAPF32[((ptr)>>2)]=value; break;
      case 'double': HEAPF64[((ptr)>>3)]=value; break;
      default: abort('invalid type for setValue: ' + type);
    }
}
Module['setValue'] = setValue;
// Parallel to setValue.
function getValue(ptr, type, noSafe) {
  type = type || 'i8';
  if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit
    switch(type) {
      case 'i1': return HEAP8[(ptr)];
      case 'i8': return HEAP8[(ptr)];
      case 'i16': return HEAP16[((ptr)>>1)];
      case 'i32': return HEAP32[((ptr)>>2)];
      case 'i64': return HEAP32[((ptr)>>2)];
      case 'float': return HEAPF32[((ptr)>>2)];
      case 'double': return HEAPF64[((ptr)>>3)];
      default: abort('invalid type for setValue: ' + type);
    }
  return null;
}
Module['getValue'] = getValue;
var ALLOC_NORMAL = 0; // Tries to use _malloc()
var ALLOC_STACK = 1; // Lives for the duration of the current function call
var ALLOC_STATIC = 2; // Cannot be freed
var ALLOC_DYNAMIC = 3; // Cannot be freed except through sbrk
var ALLOC_NONE = 4; // Do not allocate
Module['ALLOC_NORMAL'] = ALLOC_NORMAL;
Module['ALLOC_STACK'] = ALLOC_STACK;
Module['ALLOC_STATIC'] = ALLOC_STATIC;
Module['ALLOC_DYNAMIC'] = ALLOC_DYNAMIC;
Module['ALLOC_NONE'] = ALLOC_NONE;
// allocate(): This is for internal use. You can use it yourself as well, but the interface
//             is a little tricky (see docs right below). The reason is that it is optimized
//             for multiple syntaxes to save space in generated code. So you should
//             normally not use allocate(), and instead allocate memory using _malloc(),
//             initialize it with setValue(), and so forth.
// @slab: An array of data, or a number. If a number, then the size of the block to allocate,
//        in *bytes* (note that this is sometimes confusing: the next parameter does not
//        affect this!)
// @types: Either an array of types, one for each byte (or 0 if no type at that position),
//         or a single type which is used for the entire block. This only matters if there
//         is initial data - if @slab is a number, then this does not matter at all and is
//         ignored.
// @allocator: How to allocate memory, see ALLOC_*
function allocate(slab, types, allocator, ptr) {
  var zeroinit, size;
  if (typeof slab === 'number') {
    zeroinit = true;
    size = slab;
  } else {
    zeroinit = false;
    size = slab.length;
  }
  var singleType = typeof types === 'string' ? types : null;
  var ret;
  if (allocator == ALLOC_NONE) {
    ret = ptr;
  } else {
    ret = [_malloc, Runtime.stackAlloc, Runtime.staticAlloc, Runtime.dynamicAlloc][allocator === undefined ? ALLOC_STATIC : allocator](Math.max(size, singleType ? 1 : types.length));
  }
  if (zeroinit) {
    var ptr = ret, stop;
    assert((ret & 3) == 0);
    stop = ret + (size & ~3);
    for (; ptr < stop; ptr += 4) {
      HEAP32[((ptr)>>2)]=0;
    }
    stop = ret + size;
    while (ptr < stop) {
      HEAP8[((ptr++)|0)]=0;
    }
    return ret;
  }
  if (singleType === 'i8') {
    if (slab.subarray || slab.slice) {
      HEAPU8.set(slab, ret);
    } else {
      HEAPU8.set(new Uint8Array(slab), ret);
    }
    return ret;
  }
  var i = 0, type, typeSize, previousType;
  while (i < size) {
    var curr = slab[i];
    if (typeof curr === 'function') {
      curr = Runtime.getFunctionIndex(curr);
    }
    type = singleType || types[i];
    if (type === 0) {
      i++;
      continue;
    }
    assert(type, 'Must know what type to store in allocate!');
    if (type == 'i64') type = 'i32'; // special case: we have one i32 here, and one i32 later
    setValue(ret+i, curr, type);
    // no need to look up size unless type changes, so cache it
    if (previousType !== type) {
      typeSize = Runtime.getNativeTypeSize(type);
      previousType = type;
    }
    i += typeSize;
  }
  return ret;
}
Module['allocate'] = allocate;
function Pointer_stringify(ptr, /* optional */ length) {
  // TODO: use TextDecoder
  // Find the length, and check for UTF while doing so
  var hasUtf = false;
  var t;
  var i = 0;
  while (1) {
    assert(ptr + i < TOTAL_MEMORY);
    t = HEAPU8[(((ptr)+(i))|0)];
    if (t >= 128) hasUtf = true;
    else if (t == 0 && !length) break;
    i++;
    if (length && i == length) break;
  }
  if (!length) length = i;
  var ret = '';
  if (!hasUtf) {
    var MAX_CHUNK = 1024; // split up into chunks, because .apply on a huge string can overflow the stack
    var curr;
    while (length > 0) {
      curr = String.fromCharCode.apply(String, HEAPU8.subarray(ptr, ptr + Math.min(length, MAX_CHUNK)));
      ret = ret ? ret + curr : curr;
      ptr += MAX_CHUNK;
      length -= MAX_CHUNK;
    }
    return ret;
  }
  var utf8 = new Runtime.UTF8Processor();
  for (i = 0; i < length; i++) {
    assert(ptr + i < TOTAL_MEMORY);
    t = HEAPU8[(((ptr)+(i))|0)];
    ret += utf8.processCChar(t);
  }
  return ret;
}
Module['Pointer_stringify'] = Pointer_stringify;
// Given a pointer 'ptr' to a null-terminated UTF16LE-encoded string in the emscripten HEAP, returns
// a copy of that string as a Javascript String object.
function UTF16ToString(ptr) {
  var i = 0;
  var str = '';
  while (1) {
    var codeUnit = HEAP16[(((ptr)+(i*2))>>1)];
    if (codeUnit == 0)
      return str;
    ++i;
    // fromCharCode constructs a character from a UTF-16 code unit, so we can pass the UTF16 string right through.
    str += String.fromCharCode(codeUnit);
  }
}
Module['UTF16ToString'] = UTF16ToString;
// Copies the given Javascript String object 'str' to the emscripten HEAP at address 'outPtr',
// null-terminated and encoded in UTF16LE form. The copy will require at most (str.length*2+1)*2 bytes of space in the HEAP.
function stringToUTF16(str, outPtr) {
  for(var i = 0; i < str.length; ++i) {
    // charCodeAt returns a UTF-16 encoded code unit, so it can be directly written to the HEAP.
    var codeUnit = str.charCodeAt(i); // possibly a lead surrogate
    HEAP16[(((outPtr)+(i*2))>>1)]=codeUnit;
  }
  // Null-terminate the pointer to the HEAP.
  HEAP16[(((outPtr)+(str.length*2))>>1)]=0;
}
Module['stringToUTF16'] = stringToUTF16;
// Given a pointer 'ptr' to a null-terminated UTF32LE-encoded string in the emscripten HEAP, returns
// a copy of that string as a Javascript String object.
function UTF32ToString(ptr) {
  var i = 0;
  var str = '';
  while (1) {
    var utf32 = HEAP32[(((ptr)+(i*4))>>2)];
    if (utf32 == 0)
      return str;
    ++i;
    // Gotcha: fromCharCode constructs a character from a UTF-16 encoded code (pair), not from a Unicode code point! So encode the code point to UTF-16 for constructing.
    if (utf32 >= 0x10000) {
      var ch = utf32 - 0x10000;
      str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF));
    } else {
      str += String.fromCharCode(utf32);
    }
  }
}
Module['UTF32ToString'] = UTF32ToString;
// Copies the given Javascript String object 'str' to the emscripten HEAP at address 'outPtr',
// null-terminated and encoded in UTF32LE form. The copy will require at most (str.length+1)*4 bytes of space in the HEAP,
// but can use less, since str.length does not return the number of characters in the string, but the number of UTF-16 code units in the string.
function stringToUTF32(str, outPtr) {
  var iChar = 0;
  for(var iCodeUnit = 0; iCodeUnit < str.length; ++iCodeUnit) {
    // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code unit, not a Unicode code point of the character! We must decode the string to UTF-32 to the heap.
    var codeUnit = str.charCodeAt(iCodeUnit); // possibly a lead surrogate
    if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) {
      var trailSurrogate = str.charCodeAt(++iCodeUnit);
      codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF);
    }
    HEAP32[(((outPtr)+(iChar*4))>>2)]=codeUnit;
    ++iChar;
  }
  // Null-terminate the pointer to the HEAP.
  HEAP32[(((outPtr)+(iChar*4))>>2)]=0;
}
Module['stringToUTF32'] = stringToUTF32;
function demangle(func) {
  try {
    // Special-case the entry point, since its name differs from other name mangling.
    if (func == 'Object._main' || func == '_main') {
      return 'main()';
    }
    if (typeof func === 'number') func = Pointer_stringify(func);
    if (func[0] !== '_') return func;
    if (func[1] !== '_') return func; // C function
    if (func[2] !== 'Z') return func;
    switch (func[3]) {
      case 'n': return 'operator new()';
      case 'd': return 'operator delete()';
    }
    var i = 3;
    // params, etc.
    var basicTypes = {
      'v': 'void',
      'b': 'bool',
      'c': 'char',
      's': 'short',
      'i': 'int',
      'l': 'long',
      'f': 'float',
      'd': 'double',
      'w': 'wchar_t',
      'a': 'signed char',
      'h': 'unsigned char',
      't': 'unsigned short',
      'j': 'unsigned int',
      'm': 'unsigned long',
      'x': 'long long',
      'y': 'unsigned long long',
      'z': '...'
    };
    function dump(x) {
      //return;
      if (x) Module.print(x);
      Module.print(func);
      var pre = '';
      for (var a = 0; a < i; a++) pre += ' ';
      Module.print (pre + '^');
    }
    var subs = [];
    function parseNested() {
      i++;
      if (func[i] === 'K') i++; // ignore const
      var parts = [];
      while (func[i] !== 'E') {
        if (func[i] === 'S') { // substitution
          i++;
          var next = func.indexOf('_', i);
          var num = func.substring(i, next) || 0;
          parts.push(subs[num] || '?');
          i = next+1;
          continue;
        }
        if (func[i] === 'C') { // constructor
          parts.push(parts[parts.length-1]);
          i += 2;
          continue;
        }
        var size = parseInt(func.substr(i));
        var pre = size.toString().length;
        if (!size || !pre) { i--; break; } // counter i++ below us
        var curr = func.substr(i + pre, size);
        parts.push(curr);
        subs.push(curr);
        i += pre + size;
      }
      i++; // skip E
      return parts;
    }
    var first = true;
    function parse(rawList, limit, allowVoid) { // main parser
      limit = limit || Infinity;
      var ret = '', list = [];
      function flushList() {
        return '(' + list.join(', ') + ')';
      }
      var name;
      if (func[i] === 'N') {
        // namespaced N-E
        name = parseNested().join('::');
        limit--;
        if (limit === 0) return rawList ? [name] : name;
      } else {
        // not namespaced
        if (func[i] === 'K' || (first && func[i] === 'L')) i++; // ignore const and first 'L'
        var size = parseInt(func.substr(i));
        if (size) {
          var pre = size.toString().length;
          name = func.substr(i + pre, size);
          i += pre + size;
        }
      }
      first = false;
      if (func[i] === 'I') {
        i++;
        var iList = parse(true);
        var iRet = parse(true, 1, true);
        ret += iRet[0] + ' ' + name + '<' + iList.join(', ') + '>';
      } else {
        ret = name;
      }
      paramLoop: while (i < func.length && limit-- > 0) {
        //dump('paramLoop');
        var c = func[i++];
        if (c in basicTypes) {
          list.push(basicTypes[c]);
        } else {
          switch (c) {
            case 'P': list.push(parse(true, 1, true)[0] + '*'); break; // pointer
            case 'R': list.push(parse(true, 1, true)[0] + '&'); break; // reference
            case 'L': { // literal
              i++; // skip basic type
              var end = func.indexOf('E', i);
              var size = end - i;
              list.push(func.substr(i, size));
              i += size + 2; // size + 'EE'
              break;
            }
            case 'A': { // array
              var size = parseInt(func.substr(i));
              i += size.toString().length;
              if (func[i] !== '_') throw '?';
              i++; // skip _
              list.push(parse(true, 1, true)[0] + ' [' + size + ']');
              break;
            }
            case 'E': break paramLoop;
            default: ret += '?' + c; break paramLoop;
          }
        }
      }
      if (!allowVoid && list.length === 1 && list[0] === 'void') list = []; // avoid (void)
      return rawList ? list : ret + flushList();
    }
    return parse();
  } catch(e) {
    return func;
  }
}
function demangleAll(text) {
  return text.replace(/__Z[\w\d_]+/g, function(x) { var y = demangle(x); return x === y ? x : (x + ' [' + y + ']') });
}
function stackTrace() {
  var stack = new Error().stack;
  return stack ? demangleAll(stack) : '(no stack trace available)'; // Stack trace is not available at least on IE10 and Safari 6.
}
// Memory management
var PAGE_SIZE = 4096;
function alignMemoryPage(x) {
  return (x+4095)&-4096;
}
var HEAP;
var HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64;
var STATIC_BASE = 0, STATICTOP = 0, staticSealed = false; // static area
var STACK_BASE = 0, STACKTOP = 0, STACK_MAX = 0; // stack area
var DYNAMIC_BASE = 0, DYNAMICTOP = 0; // dynamic area handled by sbrk
function enlargeMemory() {
  abort('Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value ' + TOTAL_MEMORY + ', (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.');
}
var TOTAL_STACK = Module['TOTAL_STACK'] || 5242880;
var TOTAL_MEMORY = Module['TOTAL_MEMORY'] || 268435456;
var FAST_MEMORY = Module['FAST_MEMORY'] || 2097152;
// Initialize the runtime's memory
// check for full engine support (use string 'subarray' to avoid closure compiler confusion)
assert(typeof Int32Array !== 'undefined' && typeof Float64Array !== 'undefined' && !!(new Int32Array(1)['subarray']) && !!(new Int32Array(1)['set']),
       'Cannot fallback to non-typed array case: Code is too specialized');
var buffer = new ArrayBuffer(TOTAL_MEMORY);
HEAP8 = new Int8Array(buffer);
HEAP16 = new Int16Array(buffer);
HEAP32 = new Int32Array(buffer);
HEAPU8 = new Uint8Array(buffer);
HEAPU16 = new Uint16Array(buffer);
HEAPU32 = new Uint32Array(buffer);
HEAPF32 = new Float32Array(buffer);
HEAPF64 = new Float64Array(buffer);
// Endianness check (note: assumes compiler arch was little-endian)
HEAP32[0] = 255;
assert(HEAPU8[0] === 255 && HEAPU8[3] === 0, 'Typed arrays 2 must be run on a little-endian system');
Module['HEAP'] = HEAP;
Module['HEAP8'] = HEAP8;
Module['HEAP16'] = HEAP16;
Module['HEAP32'] = HEAP32;
Module['HEAPU8'] = HEAPU8;
Module['HEAPU16'] = HEAPU16;
Module['HEAPU32'] = HEAPU32;
Module['HEAPF32'] = HEAPF32;
Module['HEAPF64'] = HEAPF64;
function callRuntimeCallbacks(callbacks) {
  while(callbacks.length > 0) {
    var callback = callbacks.shift();
    if (typeof callback == 'function') {
      callback();
      continue;
    }
    var func = callback.func;
    if (typeof func === 'number') {
      if (callback.arg === undefined) {
        Runtime.dynCall('v', func);
      } else {
        Runtime.dynCall('vi', func, [callback.arg]);
      }
    } else {
      func(callback.arg === undefined ? null : callback.arg);
    }
  }
}
var __ATPRERUN__  = []; // functions called before the runtime is initialized
var __ATINIT__    = []; // functions called during startup
var __ATMAIN__    = []; // functions called when main() is to be run
var __ATEXIT__    = []; // functions called during shutdown
var __ATPOSTRUN__ = []; // functions called after the runtime has exited
var runtimeInitialized = false;
function preRun() {
  // compatibility - merge in anything from Module['preRun'] at this time
  if (Module['preRun']) {
    if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']];
    while (Module['preRun'].length) {
      addOnPreRun(Module['preRun'].shift());
    }
  }
  callRuntimeCallbacks(__ATPRERUN__);
}
function ensureInitRuntime() {
  if (runtimeInitialized) return;
  runtimeInitialized = true;
  callRuntimeCallbacks(__ATINIT__);
}
function preMain() {
  callRuntimeCallbacks(__ATMAIN__);
}
function exitRuntime() {
  callRuntimeCallbacks(__ATEXIT__);
}
function postRun() {
  // compatibility - merge in anything from Module['postRun'] at this time
  if (Module['postRun']) {
    if (typeof Module['postRun'] == 'function') Module['postRun'] = [Module['postRun']];
    while (Module['postRun'].length) {
      addOnPostRun(Module['postRun'].shift());
    }
  }
  callRuntimeCallbacks(__ATPOSTRUN__);
}
function addOnPreRun(cb) {
  __ATPRERUN__.unshift(cb);
}
Module['addOnPreRun'] = Module.addOnPreRun = addOnPreRun;
function addOnInit(cb) {
  __ATINIT__.unshift(cb);
}
Module['addOnInit'] = Module.addOnInit = addOnInit;
function addOnPreMain(cb) {
  __ATMAIN__.unshift(cb);
}
Module['addOnPreMain'] = Module.addOnPreMain = addOnPreMain;
function addOnExit(cb) {
  __ATEXIT__.unshift(cb);
}
Module['addOnExit'] = Module.addOnExit = addOnExit;
function addOnPostRun(cb) {
  __ATPOSTRUN__.unshift(cb);
}
Module['addOnPostRun'] = Module.addOnPostRun = addOnPostRun;
// Tools
// This processes a JS string into a C-line array of numbers, 0-terminated.
// For LLVM-originating strings, see parser.js:parseLLVMString function
function intArrayFromString(stringy, dontAddNull, length /* optional */) {
  var ret = (new Runtime.UTF8Processor()).processJSString(stringy);
  if (length) {
    ret.length = length;
  }
  if (!dontAddNull) {
    ret.push(0);
  }
  return ret;
}
Module['intArrayFromString'] = intArrayFromString;
function intArrayToString(array) {
  var ret = [];
  for (var i = 0; i < array.length; i++) {
    var chr = array[i];
    if (chr > 0xFF) {
        assert(false, 'Character code ' + chr + ' (' + String.fromCharCode(chr) + ')  at offset ' + i + ' not in 0x00-0xFF.');
      chr &= 0xFF;
    }
    ret.push(String.fromCharCode(chr));
  }
  return ret.join('');
}
Module['intArrayToString'] = intArrayToString;
// Write a Javascript array to somewhere in the heap
function writeStringToMemory(string, buffer, dontAddNull) {
  var array = intArrayFromString(string, dontAddNull);
  var i = 0;
  while (i < array.length) {
    var chr = array[i];
    HEAP8[(((buffer)+(i))|0)]=chr;
    i = i + 1;
  }
}
Module['writeStringToMemory'] = writeStringToMemory;
function writeArrayToMemory(array, buffer) {
  for (var i = 0; i < array.length; i++) {
    HEAP8[(((buffer)+(i))|0)]=array[i];
  }
}
Module['writeArrayToMemory'] = writeArrayToMemory;
function writeAsciiToMemory(str, buffer, dontAddNull) {
  for (var i = 0; i < str.length; i++) {
    assert(str.charCodeAt(i) === str.charCodeAt(i)&0xff);
    HEAP8[(((buffer)+(i))|0)]=str.charCodeAt(i);
  }
  if (!dontAddNull) HEAP8[(((buffer)+(str.length))|0)]=0;
}
Module['writeAsciiToMemory'] = writeAsciiToMemory;
function unSign(value, bits, ignore, sig) {
  if (value >= 0) {
    return value;
  }
  return bits <= 32 ? 2*Math.abs(1 << (bits-1)) + value // Need some trickery, since if bits == 32, we are right at the limit of the bits JS uses in bitshifts
                    : Math.pow(2, bits)         + value;
}
function reSign(value, bits, ignore, sig) {
  if (value <= 0) {
    return value;
  }
  var half = bits <= 32 ? Math.abs(1 << (bits-1)) // abs is needed if bits == 32
                        : Math.pow(2, bits-1);
  if (value >= half && (bits <= 32 || value > half)) { // for huge values, we can hit the precision limit and always get true here. so don't do that
                                                       // but, in general there is no perfect solution here. With 64-bit ints, we get rounding and errors
                                                       // TODO: In i64 mode 1, resign the two parts separately and safely
    value = -2*half + value; // Cannot bitshift half, as it may be at the limit of the bits JS uses in bitshifts
  }
  return value;
}
if (!Math['imul']) Math['imul'] = function imul(a, b) {
  var ah  = a >>> 16;
  var al = a & 0xffff;
  var bh  = b >>> 16;
  var bl = b & 0xffff;
  return (al*bl + ((ah*bl + al*bh) << 16))|0;
};
Math.imul = Math['imul'];
var Math_abs = Math.abs;
var Math_cos = Math.cos;
var Math_sin = Math.sin;
var Math_tan = Math.tan;
var Math_acos = Math.acos;
var Math_asin = Math.asin;
var Math_atan = Math.atan;
var Math_atan2 = Math.atan2;
var Math_exp = Math.exp;
var Math_log = Math.log;
var Math_sqrt = Math.sqrt;
var Math_ceil = Math.ceil;
var Math_floor = Math.floor;
var Math_pow = Math.pow;
var Math_imul = Math.imul;
var Math_fround = Math.fround;
var Math_min = Math.min;
// A counter of dependencies for calling run(). If we need to
// do asynchronous work before running, increment this and
// decrement it. Incrementing must happen in a place like
// PRE_RUN_ADDITIONS (used by emcc to add file preloading).
// Note that you can add dependencies in preRun, even though
// it happens right before run - run will be postponed until
// the dependencies are met.
var runDependencies = 0;
var runDependencyWatcher = null;
var dependenciesFulfilled = null; // overridden to take different actions when all run dependencies are fulfilled
var runDependencyTracking = {};
function addRunDependency(id) {
  runDependencies++;
  if (Module['monitorRunDependencies']) {
    Module['monitorRunDependencies'](runDependencies);
  }
  if (id) {
    assert(!runDependencyTracking[id]);
    runDependencyTracking[id] = 1;
    if (runDependencyWatcher === null && typeof setInterval !== 'undefined') {
      // Check for missing dependencies every few seconds
      runDependencyWatcher = setInterval(function() {
        var shown = false;
        for (var dep in runDependencyTracking) {
          if (!shown) {
            shown = true;
            Module.printErr('still waiting on run dependencies:');
          }
          Module.printErr('dependency: ' + dep);
        }
        if (shown) {
          Module.printErr('(end of list)');
        }
      }, 10000);
    }
  } else {
    Module.printErr('warning: run dependency added without ID');
  }
}
Module['addRunDependency'] = addRunDependency;
function removeRunDependency(id) {
  runDependencies--;
  if (Module['monitorRunDependencies']) {
    Module['monitorRunDependencies'](runDependencies);
  }
  if (id) {
    assert(runDependencyTracking[id]);
    delete runDependencyTracking[id];
  } else {
    Module.printErr('warning: run dependency removed without ID');
  }
  if (runDependencies == 0) {
    if (runDependencyWatcher !== null) {
      clearInterval(runDependencyWatcher);
      runDependencyWatcher = null;
    }
    if (dependenciesFulfilled) {
      var callback = dependenciesFulfilled;
      dependenciesFulfilled = null;
      callback(); // can add another dependenciesFulfilled
    }
  }
}
Module['removeRunDependency'] = removeRunDependency;
Module["preloadedImages"] = {}; // maps url to image data
Module["preloadedAudios"] = {}; // maps url to audio data
var memoryInitializer = null;
// === Body ===
STATIC_BASE = 8;
STATICTOP = STATIC_BASE + 19864;
/* global initializers */ __ATINIT__.push({ func: function() { runPostSets() } });
var _stderr;
var _stderr=_stderr=allocate([0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC);
/* memory initializer */ allocate([22,6,117,117,36,36,36,36,83,83,83,83,83,83,83,83,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,98,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,134,6,37,37,20,20,20,20,115,115,115,115,115,115,115,115,99,99,99,99,99,99,99,99,51,51,51,51,51,51,51,51,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,150,6,21,21,116,116,116,116,131,131,131,131,131,131,131,131,99,99,99,99,99,99,99,99,67,67,67,67,67,67,67,67,51,51,51,51,51,51,51,51,35,35,35,35,35,35,35,35,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,82,166,6,21,21,132,132,132,132,147,147,147,147,147,147,147,147,115,115,115,115,115,115,115,115,99,99,99,99,99,99,99,99,83,83,83,83,83,83,83,83,67,67,67,67,67,67,67,67,51,51,51,51,51,51,51,51,35,35,35,35,35,35,35,35,181,149,164,164,132,132,36,36,20,20,4,4,115,115,115,115,99,99,99,99,83,83,83,83,67,67,67,67,51,51,51,51,197,181,165,5,148,148,116,116,52,52,36,36,131,131,131,131,99,99,99,99,83,83,83,83,67,67,67,67,19,19,19,19,214,182,197,197,165,165,149,149,132,132,132,132,84,84,84,84,68,68,68,68,4,4,4,4,115,115,115,115,115,115,115,115,99,99,99,99,99,99,99,99,51,51,51,51,51,51,51,51,35,35,35,35,35,35,35,35,19,19,19,19,19,19,19,19,230,214,198,182,165,165,149,149,132,132,132,132,116,116,116,116,100,100,100,100,84,84,84,84,67,67,67,67,67,67,67,67,51,51,51,51,51,51,51,51,35,35,35,35,35,35,35,35,19,19,19,19,19,19,19,19,3,3,3,3,3,3,3,3,0,249,233,217,200,200,184,184,167,167,167,167,151,151,151,151,134,134,134,134,134,134,134,134,118,118,118,118,118,118,118,118,0,0,101,85,68,68,52,52,35,35,35,35,19,19,19,19,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,18,33,33,0,0,0,0,3,19,50,50,33,33,33,33,4,20,67,67,34,34,34,34,49,49,49,49,49,49,49,49,4,20,35,35,51,51,83,83,65,65,65,65,65,65,65,65,21,5,100,100,35,35,35,35,82,82,82,82,82,82,82,82,66,66,66,66,66,66,66,66,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,2,1,1,2,1,1,2,1,2,3,1,2,3,2,2,3,2,2,4,2,3,4,2,3,4,3,3,5,3,4,6,3,4,6,4,5,7,4,5,8,4,6,9,5,7,10,6,8,11,6,8,13,7,10,14,8,11,16,9,12,18,10,13,20,11,15,23,13,17,25,0,0,0,0,1,0,0,0,2,0,0,0,4,0,0,0,8,0,0,0,16,0,0,0,32,0,0,0,64,0,0,0,128,0,0,0,19,35,67,51,99,83,2,2,83,67,51,35,18,18,2,2,67,51,34,34,18,18,2,2,50,34,18,2,0,0,0,0,34,18,1,1,0,0,0,0,17,1,0,0,0,0,0,0,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,0,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,5,0,0,0,2,0,0,0,3,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,12,0,0,0,13,0,0,0,10,0,0,0,11,0,0,0,14,0,0,0,15,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,10,0,0,0,13,0,0,0,16,0,0,0,11,0,0,0,14,0,0,0,18,0,0,0,13,0,0,0,16,0,0,0,20,0,0,0,14,0,0,0,18,0,0,0,23,0,0,0,16,0,0,0,20,0,0,0,25,0,0,0,18,0,0,0,23,0,0,0,29,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,34,0,0,0,35,0,0,0,35,0,0,0,36,0,0,0,36,0,0,0,37,0,0,0,37,0,0,0,37,0,0,0,38,0,0,0,38,0,0,0,38,0,0,0,39,0,0,0,39,0,0,0,39,0,0,0,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,4,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,4,0,0,0,8,0,0,0,8,0,0,0,12,0,0,0,12,0,0,0,8,0,0,0,8,0,0,0,12,0,0,0,12,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,8,0,0,0,12,0,0,0,8,0,0,0,12,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,8,0,0,0,12,0,0,0,8,0,0,0,12,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,5,0,0,0,2,0,0,0,3,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,12,0,0,0,13,0,0,0,10,0,0,0,11,0,0,0,14,0,0,0,15,0,0,0,103,32,103,32,72,32,40,32,71,24,71,24,39,24,39,24,6,32,6,32,6,32,6,32,6,24,6,24,6,24,6,24,6,16,6,16,6,16,6,16,102,24,102,24,102,24,102,24,38,16,38,16,38,16,38,16,6,8,6,8,6,8,6,8,0,0,67,16,2,0,2,0,33,8,33,8,33,8,33,8,6,8,38,8,0,0,6,0,6,16,38,16,70,16,0,0,6,24,38,24,
, "i8", ALLOC_NONE, Runtime.GLOBAL_BASE)
function runPostSets() {
}
var tempDoublePtr = Runtime.alignMemory(allocate(12, "i8", ALLOC_STATIC), 8);
assert(tempDoublePtr % 8 == 0);
function copyTempFloat(ptr) { // functions, because inlining this code increases code size too much
  HEAP8[tempDoublePtr] = HEAP8[ptr];
  HEAP8[tempDoublePtr+1] = HEAP8[ptr+1];
  HEAP8[tempDoublePtr+2] = HEAP8[ptr+2];
  HEAP8[tempDoublePtr+3] = HEAP8[ptr+3];
}
function copyTempDouble(ptr) {
  HEAP8[tempDoublePtr] = HEAP8[ptr];
  HEAP8[tempDoublePtr+1] = HEAP8[ptr+1];
  HEAP8[tempDoublePtr+2] = HEAP8[ptr+2];
  HEAP8[tempDoublePtr+3] = HEAP8[ptr+3];
  HEAP8[tempDoublePtr+4] = HEAP8[ptr+4];
  HEAP8[tempDoublePtr+5] = HEAP8[ptr+5];
  HEAP8[tempDoublePtr+6] = HEAP8[ptr+6];
  HEAP8[tempDoublePtr+7] = HEAP8[ptr+7];
}
  var _llvm_dbg_declare=undefined;
  function ___assert_fail(condition, filename, line, func) {
      ABORT = true;
      throw 'Assertion failed: ' + Pointer_stringify(condition) + ', at: ' + [filename ? Pointer_stringify(filename) : 'unknown filename', line, func ? Pointer_stringify(func) : 'unknown function'] + ' at ' + stackTrace();
    }
  var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};
  var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can   access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"};
  var ___errno_state=0;function ___setErrNo(value) {
      // For convenient setting and returning of errno.
      HEAP32[((___errno_state)>>2)]=value
      return value;
    }
  var PATH={splitPath:function (filename) {
        var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
        return splitPathRe.exec(filename).slice(1);
      },normalizeArray:function (parts, allowAboveRoot) {
        // if the path tries to go above the root, `up` ends up > 0
        var up = 0;
        for (var i = parts.length - 1; i >= 0; i--) {
          var last = parts[i];
          if (last === '.') {
            parts.splice(i, 1);
          } else if (last === '..') {
            parts.splice(i, 1);
            up++;
          } else if (up) {
            parts.splice(i, 1);
            up--;
          }
        }
        // if the path is allowed to go above the root, restore leading ..s
        if (allowAboveRoot) {
          for (; up--; up) {
            parts.unshift('..');
          }
        }
        return parts;
      },normalize:function (path) {
        var isAbsolute = path.charAt(0) === '/',
            trailingSlash = path.substr(-1) === '/';
        // Normalize the path
        path = PATH.normalizeArray(path.split('/').filter(function(p) {
          return !!p;
        }), !isAbsolute).join('/');
        if (!path && !isAbsolute) {
          path = '.';
        }
        if (path && trailingSlash) {
          path += '/';
        }
        return (isAbsolute ? '/' : '') + path;
      },dirname:function (path) {
        var result = PATH.splitPath(path),
            root = result[0],
            dir = result[1];
        if (!root && !dir) {
          // No dirname whatsoever
          return '.';
        }
        if (dir) {
          // It has a dirname, strip trailing slash
          dir = dir.substr(0, dir.length - 1);
        }
        return root + dir;
      },basename:function (path) {
        // EMSCRIPTEN return '/'' for '/', not an empty string
        if (path === '/') return '/';
        var lastSlash = path.lastIndexOf('/');
        if (lastSlash === -1) return path;
        return path.substr(lastSlash+1);
      },extname:function (path) {
        return PATH.splitPath(path)[3];
      },join:function () {
        var paths = Array.prototype.slice.call(arguments, 0);
        return PATH.normalize(paths.join('/'));
      },join2:function (l, r) {
        return PATH.normalize(l + '/' + r);
      },resolve:function () {
        var resolvedPath = '',
          resolvedAbsolute = false;
        for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
          var path = (i >= 0) ? arguments[i] : FS.cwd();
          // Skip empty and invalid entries
          if (typeof path !== 'string') {
            throw new TypeError('Arguments to path.resolve must be strings');
          } else if (!path) {
            continue;
          }
          resolvedPath = path + '/' + resolvedPath;
          resolvedAbsolute = path.charAt(0) === '/';
        }
        // At this point the path should be resolved to a full absolute path, but
        // handle relative paths to be safe (might happen when process.cwd() fails)
        resolvedPath = PATH.normalizeArray(resolvedPath.split('/').filter(function(p) {
          return !!p;
        }), !resolvedAbsolute).join('/');
        return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
      },relative:function (from, to) {
        from = PATH.resolve(from).substr(1);
        to = PATH.resolve(to).substr(1);
        function trim(arr) {
          var start = 0;
          for (; start < arr.length; start++) {
            if (arr[start] !== '') break;
          }
          var end = arr.length - 1;
          for (; end >= 0; end--) {
            if (arr[end] !== '') break;
          }
          if (start > end) return [];
          return arr.slice(start, end - start + 1);
        }
        var fromParts = trim(from.split('/'));
        var toParts = trim(to.split('/'));
        var length = Math.min(fromParts.length, toParts.length);
        var samePartsLength = length;
        for (var i = 0; i < length; i++) {
          if (fromParts[i] !== toParts[i]) {
            samePartsLength = i;
            break;
          }
        }
        var outputParts = [];
        for (var i = samePartsLength; i < fromParts.length; i++) {
          outputParts.push('..');
        }
        outputParts = outputParts.concat(toParts.slice(samePartsLength));
        return outputParts.join('/');
      }};
  var TTY={ttys:[],init:function () {
        // https://github.com/kripken/emscripten/pull/1555
        // if (ENVIRONMENT_IS_NODE) {
        //   // currently, FS.init does not distinguish if process.stdin is a file or TTY
        //   // device, it always assumes it's a TTY device. because of this, we're forcing
        //   // process.stdin to UTF8 encoding to at least make stdin reading compatible
        //   // with text files until FS.init can be refactored.
        //   process['stdin']['setEncoding']('utf8');
        // }
      },shutdown:function () {
        // https://github.com/kripken/emscripten/pull/1555
        // if (ENVIRONMENT_IS_NODE) {
        //   // inolen: any idea as to why node -e 'process.stdin.read()' wouldn't exit immediately (with process.stdin being a tty)?
        //   // isaacs: because now it's reading from the stream, you've expressed interest in it, so that read() kicks off a _read() which creates a ReadReq operation
        //   // inolen: I thought read() in that case was a synchronous operation that just grabbed some amount of buffered data if it exists?
        //   // isaacs: it is. but it also triggers a _read() call, which calls readStart() on the handle
        //   // isaacs: do process.stdin.pause() and i'd think it'd probably close the pending call
        //   process['stdin']['pause']();
        // }
      },register:function (dev, ops) {
        TTY.ttys[dev] = { input: [], output: [], ops: ops };
        FS.registerDevice(dev, TTY.stream_ops);
      },stream_ops:{open:function (stream) {
          var tty = TTY.ttys[stream.node.rdev];
          if (!tty) {
            throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
          }
          stream.tty = tty;
          stream.seekable = false;
        },close:function (stream) {
          // flush any pending line data
          if (stream.tty.output.length) {
            stream.tty.ops.put_char(stream.tty, 10);
          }
        },read:function (stream, buffer, offset, length, pos /* ignored */) {
          if (!stream.tty || !stream.tty.ops.get_char) {
            throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
          }
          var bytesRead = 0;
          for (var i = 0; i < length; i++) {
            var result;
            try {
              result = stream.tty.ops.get_char(stream.tty);
            } catch (e) {
              throw new FS.ErrnoError(ERRNO_CODES.EIO);
            }
            if (result === undefined && bytesRead === 0) {
              throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
            }
            if (result === null || result === undefined) break;
            bytesRead++;
            buffer[offset+i] = result;
          }
          if (bytesRead) {
            stream.node.timestamp = Date.now();
          }
          return bytesRead;
        },write:function (stream, buffer, offset, length, pos) {
          if (!stream.tty || !stream.tty.ops.put_char) {
            throw new FS.ErrnoError(ERRNO_CODES.ENXIO);
          }
          for (var i = 0; i < length; i++) {
            try {
              stream.tty.ops.put_char(stream.tty, buffer[offset+i]);
            } catch (e) {
              throw new FS.ErrnoError(ERRNO_CODES.EIO);
            }
          }
          if (length) {
            stream.node.timestamp = Date.now();
          }
          return i;
        }},default_tty_ops:{get_char:function (tty) {
          if (!tty.input.length) {
            var result = null;
            if (ENVIRONMENT_IS_NODE) {
              result = process['stdin']['read']();
              if (!result) {
                if (process['stdin']['_readableState'] && process['stdin']['_readableState']['ended']) {
                  return null;  // EOF
                }
                return undefined;  // no data available
              }
            } else if (typeof window != 'undefined' &&
              typeof window.prompt == 'function') {
              // Browser.
              result = window.prompt('Input: ');  // returns null on cancel
              if (result !== null) {
                result += '\n';
              }
            } else if (typeof readline == 'function') {
              // Command line.
              result = readline();
              if (result !== null) {
                result += '\n';
              }
            }
            if (!result) {
              return null;
            }
            tty.input = intArrayFromString(result, true);
          }
          return tty.input.shift();
        },put_char:function (tty, val) {
          if (val === null || val === 10) {
            Module['print'](tty.output.join(''));
            tty.output = [];
          } else {
            tty.output.push(TTY.utf8.processCChar(val));
          }
        }},default_tty1_ops:{put_char:function (tty, val) {
          if (val === null || val === 10) {
            Module['printErr'](tty.output.join(''));
            tty.output = [];
          } else {
            tty.output.push(TTY.utf8.processCChar(val));
          }
        }}};
  var MEMFS={ops_table:null,CONTENT_OWNING:1,CONTENT_FLEXIBLE:2,CONTENT_FIXED:3,mount:function (mount) {
        return MEMFS.createNode(null, '/', 16384 | 0777, 0);
      },createNode:function (parent, name, mode, dev) {
        if (FS.isBlkdev(mode) || FS.isFIFO(mode)) {
          // no supported
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        if (!MEMFS.ops_table) {
          MEMFS.ops_table = {
            dir: {
              node: {
                getattr: MEMFS.node_ops.getattr,
                setattr: MEMFS.node_ops.setattr,
                lookup: MEMFS.node_ops.lookup,
                mknod: MEMFS.node_ops.mknod,
                mknod: MEMFS.node_ops.mknod,
                rename: MEMFS.node_ops.rename,
                unlink: MEMFS.node_ops.unlink,
                rmdir: MEMFS.node_ops.rmdir,
                readdir: MEMFS.node_ops.readdir,
                symlink: MEMFS.node_ops.symlink
              },
              stream: {
                llseek: MEMFS.stream_ops.llseek
              }
            },
            file: {
              node: {
                getattr: MEMFS.node_ops.getattr,
                setattr: MEMFS.node_ops.setattr
              },
              stream: {
                llseek: MEMFS.stream_ops.llseek,
                read: MEMFS.stream_ops.read,
                write: MEMFS.stream_ops.write,
                allocate: MEMFS.stream_ops.allocate,
                mmap: MEMFS.stream_ops.mmap
              }
            },
            link: {
              node: {
                getattr: MEMFS.node_ops.getattr,
                setattr: MEMFS.node_ops.setattr,
                readlink: MEMFS.node_ops.readlink
              },
              stream: {}
            },
            chrdev: {
              node: {
                getattr: MEMFS.node_ops.getattr,
                setattr: MEMFS.node_ops.setattr
              },
              stream: FS.chrdev_stream_ops
            },
          };
        }
        var node = FS.createNode(parent, name, mode, dev);
        if (FS.isDir(node.mode)) {
          node.node_ops = MEMFS.ops_table.dir.node;
          node.stream_ops = MEMFS.ops_table.dir.stream;
          node.contents = {};
        } else if (FS.isFile(node.mode)) {
          node.node_ops = MEMFS.ops_table.file.node;
          node.stream_ops = MEMFS.ops_table.file.stream;
          node.contents = [];
          node.contentMode = MEMFS.CONTENT_FLEXIBLE;
        } else if (FS.isLink(node.mode)) {
          node.node_ops = MEMFS.ops_table.link.node;
          node.stream_ops = MEMFS.ops_table.link.stream;
        } else if (FS.isChrdev(node.mode)) {
          node.node_ops = MEMFS.ops_table.chrdev.node;
          node.stream_ops = MEMFS.ops_table.chrdev.stream;
        }
        node.timestamp = Date.now();
        // add the new node to the parent
        if (parent) {
          parent.contents[name] = node;
        }
        return node;
      },ensureFlexible:function (node) {
        if (node.contentMode !== MEMFS.CONTENT_FLEXIBLE) {
          var contents = node.contents;
          node.contents = Array.prototype.slice.call(contents);
          node.contentMode = MEMFS.CONTENT_FLEXIBLE;
        }
      },node_ops:{getattr:function (node) {
          var attr = {};
          // device numbers reuse inode numbers.
          attr.dev = FS.isChrdev(node.mode) ? node.id : 1;
          attr.ino = node.id;
          attr.mode = node.mode;
          attr.nlink = 1;
          attr.uid = 0;
          attr.gid = 0;
          attr.rdev = node.rdev;
          if (FS.isDir(node.mode)) {
            attr.size = 4096;
          } else if (FS.isFile(node.mode)) {
            attr.size = node.contents.length;
          } else if (FS.isLink(node.mode)) {
            attr.size = node.link.length;
          } else {
            attr.size = 0;
          }
          attr.atime = new Date(node.timestamp);
          attr.mtime = new Date(node.timestamp);
          attr.ctime = new Date(node.timestamp);
          // NOTE: In our implementation, st_blocks = Math.ceil(st_size/st_blksize),
          //       but this is not required by the standard.
          attr.blksize = 4096;
          attr.blocks = Math.ceil(attr.size / attr.blksize);
          return attr;
        },setattr:function (node, attr) {
          if (attr.mode !== undefined) {
            node.mode = attr.mode;
          }
          if (attr.timestamp !== undefined) {
            node.timestamp = attr.timestamp;
          }
          if (attr.size !== undefined) {
            MEMFS.ensureFlexible(node);
            var contents = node.contents;
            if (attr.size < contents.length) contents.length = attr.size;
            else while (attr.size > contents.length) contents.push(0);
          }
        },lookup:function (parent, name) {
          throw FS.genericErrors[ERRNO_CODES.ENOENT];
        },mknod:function (parent, name, mode, dev) {
          return MEMFS.createNode(parent, name, mode, dev);
        },rename:function (old_node, new_dir, new_name) {
          // if we're overwriting a directory at new_name, make sure it's empty.
          if (FS.isDir(old_node.mode)) {
            var new_node;
            try {
              new_node = FS.lookupNode(new_dir, new_name);
            } catch (e) {
            }
            if (new_node) {
              for (var i in new_node.contents) {
                throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
              }
            }
          }
          // do the internal rewiring
          delete old_node.parent.contents[old_node.name];
          old_node.name = new_name;
          new_dir.contents[new_name] = old_node;
          old_node.parent = new_dir;
        },unlink:function (parent, name) {
          delete parent.contents[name];
        },rmdir:function (parent, name) {
          var node = FS.lookupNode(parent, name);
          for (var i in node.contents) {
            throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
          }
          delete parent.contents[name];
        },readdir:function (node) {
          var entries = ['.', '..']
          for (var key in node.contents) {
            if (!node.contents.hasOwnProperty(key)) {
              continue;
            }
            entries.push(key);
          }
          return entries;
        },symlink:function (parent, newname, oldpath) {
          var node = MEMFS.createNode(parent, newname, 0777 | 40960, 0);
          node.link = oldpath;
          return node;
        },readlink:function (node) {
          if (!FS.isLink(node.mode)) {
            throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
          }
          return node.link;
        }},stream_ops:{read:function (stream, buffer, offset, length, position) {
          var contents = stream.node.contents;
          if (position >= contents.length)
            return 0;
          var size = Math.min(contents.length - position, length);
          assert(size >= 0);
          if (size > 8 && contents.subarray) { // non-trivial, and typed array
            buffer.set(contents.subarray(position, position + size), offset);
          } else
          {
            for (var i = 0; i < size; i++) {
              buffer[offset + i] = contents[position + i];
            }
          }
          return size;
        },write:function (stream, buffer, offset, length, position, canOwn) {
          var node = stream.node;
          node.timestamp = Date.now();
          var contents = node.contents;
          if (length && contents.length === 0 && position === 0 && buffer.subarray) {
            // just replace it with the new data
            assert(buffer.length);
            if (canOwn && offset === 0) {
              node.contents = buffer; // this could be a subarray of Emscripten HEAP, or allocated from some other source.
              node.contentMode = (buffer.buffer === HEAP8.buffer) ? MEMFS.CONTENT_OWNING : MEMFS.CONTENT_FIXED;
            } else {
              node.contents = new Uint8Array(buffer.subarray(offset, offset+length));
              node.contentMode = MEMFS.CONTENT_FIXED;
            }
            return length;
          }
          MEMFS.ensureFlexible(node);
          var contents = node.contents;
          while (contents.length < position) contents.push(0);
          for (var i = 0; i < length; i++) {
            contents[position + i] = buffer[offset + i];
          }
          return length;
        },llseek:function (stream, offset, whence) {
          var position = offset;
          if (whence === 1) {  // SEEK_CUR.
            position += stream.position;
          } else if (whence === 2) {  // SEEK_END.
            if (FS.isFile(stream.node.mode)) {
              position += stream.node.contents.length;
            }
          }
          if (position < 0) {
            throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
          }
          stream.ungotten = [];
          stream.position = position;
          return position;
        },allocate:function (stream, offset, length) {
          MEMFS.ensureFlexible(stream.node);
          var contents = stream.node.contents;
          var limit = offset + length;
          while (limit > contents.length) contents.push(0);
        },mmap:function (stream, buffer, offset, length, position, prot, flags) {
          if (!FS.isFile(stream.node.mode)) {
            throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
          }
          var ptr;
          var allocated;
          var contents = stream.node.contents;
          // Only make a new copy when MAP_PRIVATE is specified.
          if ( !(flags & 2) &&
                (contents.buffer === buffer || contents.buffer === buffer.buffer) ) {
            // We can't emulate MAP_SHARED when the file is not backed by the buffer
            // we're mapping to (e.g. the HEAP buffer).
            allocated = false;
            ptr = contents.byteOffset;
          } else {
            // Try to avoid unnecessary slices.
            if (position > 0 || position + length < contents.length) {
              if (contents.subarray) {
                contents = contents.subarray(position, position + length);
              } else {
                contents = Array.prototype.slice.call(contents, position, position + length);
              }
            }
            allocated = true;
            ptr = _malloc(length);
            if (!ptr) {
              throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);
            }
            buffer.set(contents, ptr);
          }
          return { ptr: ptr, allocated: allocated };
        }}};
  var IDBFS={dbs:{},indexedDB:function () {
        return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
      },DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",mount:function (mount) {
        return MEMFS.mount.apply(null, arguments);
      },syncfs:function (mount, populate, callback) {
        IDBFS.getLocalSet(mount, function(err, local) {
          if (err) return callback(err);
          IDBFS.getRemoteSet(mount, function(err, remote) {
            if (err) return callback(err);
            var src = populate ? remote : local;
            var dst = populate ? local : remote;
            IDBFS.reconcile(src, dst, callback);
          });
        });
      },reconcile:function (src, dst, callback) {
        var total = 0;
        var create = {};
        for (var key in src.files) {
          if (!src.files.hasOwnProperty(key)) continue;
          var e = src.files[key];
          var e2 = dst.files[key];
          if (!e2 || e.timestamp > e2.timestamp) {
            create[key] = e;
            total++;
          }
        }
        var remove = {};
        for (var key in dst.files) {
          if (!dst.files.hasOwnProperty(key)) continue;
          var e = dst.files[key];
          var e2 = src.files[key];
          if (!e2) {
            remove[key] = e;
            total++;
          }
        }
        if (!total) {
          // early out
          return callback(null);
        }
        var completed = 0;
        function done(err) {
          if (err) return callback(err);
          if (++completed >= total) {
            return callback(null);
          }
        };
        // create a single transaction to handle and IDB reads / writes we'll need to do
        var db = src.type === 'remote' ? src.db : dst.db;
        var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
        transaction.onerror = function transaction_onerror() { callback(this.error); };
        var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
        for (var path in create) {
          if (!create.hasOwnProperty(path)) continue;
          var entry = create[path];
          if (dst.type === 'local') {
            // save file to local
            try {
              if (FS.isDir(entry.mode)) {
                FS.mkdir(path, entry.mode);
              } else if (FS.isFile(entry.mode)) {
                var stream = FS.open(path, 'w+', 0666);
                FS.write(stream, entry.contents, 0, entry.contents.length, 0, true /* canOwn */);
                FS.close(stream);
              }
              done(null);
            } catch (e) {
              return done(e);
            }
          } else {
            // save file to IDB
            var req = store.put(entry, path);
            req.onsuccess = function req_onsuccess() { done(null); };
            req.onerror = function req_onerror() { done(this.error); };
          }
        }
        for (var path in remove) {
          if (!remove.hasOwnProperty(path)) continue;
          var entry = remove[path];
          if (dst.type === 'local') {
            // delete file from local
            try {
              if (FS.isDir(entry.mode)) {
                // TODO recursive delete?
                FS.rmdir(path);
              } else if (FS.isFile(entry.mode)) {
                FS.unlink(path);
              }
              done(null);
            } catch (e) {
              return done(e);
            }
          } else {
            // delete file from IDB
            var req = store.delete(path);
            req.onsuccess = function req_onsuccess() { done(null); };
            req.onerror = function req_onerror() { done(this.error); };
          }
        }
      },getLocalSet:function (mount, callback) {
        var files = {};
        function isRealDir(p) {
          return p !== '.' && p !== '..';
        };
        function toAbsolute(root) {
          return function(p) {
            return PATH.join2(root, p);
          }
        };
        var check = FS.readdir(mount.mountpoint)
          .filter(isRealDir)
          .map(toAbsolute(mount.mountpoint));
        while (check.length) {
          var path = check.pop();
          var stat, node;
          try {
            var lookup = FS.lookupPath(path);
            node = lookup.node;
            stat = FS.stat(path);
          } catch (e) {
            return callback(e);
          }
          if (FS.isDir(stat.mode)) {
            check.push.apply(check, FS.readdir(path)
              .filter(isRealDir)
              .map(toAbsolute(path)));
            files[path] = { mode: stat.mode, timestamp: stat.mtime };
          } else if (FS.isFile(stat.mode)) {
            files[path] = { contents: node.contents, mode: stat.mode, timestamp: stat.mtime };
          } else {
            return callback(new Error('node type not supported'));
          }
        }
        return callback(null, { type: 'local', files: files });
      },getDB:function (name, callback) {
        // look it up in the cache
        var db = IDBFS.dbs[name];
        if (db) {
          return callback(null, db);
        }
        var req;
        try {
          req = IDBFS.indexedDB().open(name, IDBFS.DB_VERSION);
        } catch (e) {
          return onerror(e);
        }
        req.onupgradeneeded = function req_onupgradeneeded() {
          db = req.result;
          db.createObjectStore(IDBFS.DB_STORE_NAME);
        };
        req.onsuccess = function req_onsuccess() {
          db = req.result;
          // add to the cache
          IDBFS.dbs[name] = db;
          callback(null, db);
        };
        req.onerror = function req_onerror() {
          callback(this.error);
        };
      },getRemoteSet:function (mount, callback) {
        var files = {};
        IDBFS.getDB(mount.mountpoint, function(err, db) {
          if (err) return callback(err);
          var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
          transaction.onerror = function transaction_onerror() { callback(this.error); };
          var store = transaction.objectStore(IDBFS.DB_STORE_NAME);
          store.openCursor().onsuccess = function store_openCursor_onsuccess(event) {
            var cursor = event.target.result;
            if (!cursor) {
              return callback(null, { type: 'remote', db: db, files: files });
            }
            files[cursor.key] = cursor.value;
            cursor.continue();
          };
        });
      }};
  var NODEFS={isWindows:false,staticInit:function () {
        NODEFS.isWindows = !!process.platform.match(/^win/);
      },mount:function (mount) {
        assert(ENVIRONMENT_IS_NODE);
        return NODEFS.createNode(null, '/', NODEFS.getMode(mount.opts.root), 0);
      },createNode:function (parent, name, mode, dev) {
        if (!FS.isDir(mode) && !FS.isFile(mode) && !FS.isLink(mode)) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        var node = FS.createNode(parent, name, mode);
        node.node_ops = NODEFS.node_ops;
        node.stream_ops = NODEFS.stream_ops;
        return node;
      },getMode:function (path) {
        var stat;
        try {
          stat = fs.lstatSync(path);
          if (NODEFS.isWindows) {
            // On Windows, directories return permission bits 'rw-rw-rw-', even though they have 'rwxrwxrwx', so 
            // propagate write bits to execute bits.
            stat.mode = stat.mode | ((stat.mode & 146) >> 1);
          }
        } catch (e) {
          if (!e.code) throw e;
          throw new FS.ErrnoError(ERRNO_CODES[e.code]);
        }
        return stat.mode;
      },realPath:function (node) {
        var parts = [];
        while (node.parent !== node) {
          parts.push(node.name);
          node = node.parent;
        }
        parts.push(node.mount.opts.root);
        parts.reverse();
        return PATH.join.apply(null, parts);
      },flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:function (flags) {
        if (flags in NODEFS.flagsToPermissionStringMap) {
          return NODEFS.flagsToPermissionStringMap[flags];
        } else {
          return flags;
        }
      },node_ops:{getattr:function (node) {
          var path = NODEFS.realPath(node);
          var stat;
          try {
            stat = fs.lstatSync(path);
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
          // node.js v0.10.20 doesn't report blksize and blocks on Windows. Fake them with default blksize of 4096.
          // See http://support.microsoft.com/kb/140365
          if (NODEFS.isWindows && !stat.blksize) {
            stat.blksize = 4096;
          }
          if (NODEFS.isWindows && !stat.blocks) {
            stat.blocks = (stat.size+stat.blksize-1)/stat.blksize|0;
          }
          return {
            dev: stat.dev,
            ino: stat.ino,
            mode: stat.mode,
            nlink: stat.nlink,
            uid: stat.uid,
            gid: stat.gid,
            rdev: stat.rdev,
            size: stat.size,
            atime: stat.atime,
            mtime: stat.mtime,
            ctime: stat.ctime,
            blksize: stat.blksize,
            blocks: stat.blocks
          };
        },setattr:function (node, attr) {
          var path = NODEFS.realPath(node);
          try {
            if (attr.mode !== undefined) {
              fs.chmodSync(path, attr.mode);
              // update the common node structure mode as well
              node.mode = attr.mode;
            }
            if (attr.timestamp !== undefined) {
              var date = new Date(attr.timestamp);
              fs.utimesSync(path, date, date);
            }
            if (attr.size !== undefined) {
              fs.truncateSync(path, attr.size);
            }
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },lookup:function (parent, name) {
          var path = PATH.join2(NODEFS.realPath(parent), name);
          var mode = NODEFS.getMode(path);
          return NODEFS.createNode(parent, name, mode);
        },mknod:function (parent, name, mode, dev) {
          var node = NODEFS.createNode(parent, name, mode, dev);
          // create the backing node for this in the fs root as well
          var path = NODEFS.realPath(node);
          try {
            if (FS.isDir(node.mode)) {
              fs.mkdirSync(path, node.mode);
            } else {
              fs.writeFileSync(path, '', { mode: node.mode });
            }
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
          return node;
        },rename:function (oldNode, newDir, newName) {
          var oldPath = NODEFS.realPath(oldNode);
          var newPath = PATH.join2(NODEFS.realPath(newDir), newName);
          try {
            fs.renameSync(oldPath, newPath);
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },unlink:function (parent, name) {
          var path = PATH.join2(NODEFS.realPath(parent), name);
          try {
            fs.unlinkSync(path);
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },rmdir:function (parent, name) {
          var path = PATH.join2(NODEFS.realPath(parent), name);
          try {
            fs.rmdirSync(path);
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },readdir:function (node) {
          var path = NODEFS.realPath(node);
          try {
            return fs.readdirSync(path);
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },symlink:function (parent, newName, oldPath) {
          var newPath = PATH.join2(NODEFS.realPath(parent), newName);
          try {
            fs.symlinkSync(oldPath, newPath);
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },readlink:function (node) {
          var path = NODEFS.realPath(node);
          try {
            return fs.readlinkSync(path);
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        }},stream_ops:{open:function (stream) {
          var path = NODEFS.realPath(stream.node);
          try {
            if (FS.isFile(stream.node.mode)) {
              stream.nfd = fs.openSync(path, NODEFS.flagsToPermissionString(stream.flags));
            }
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },close:function (stream) {
          try {
            if (FS.isFile(stream.node.mode) && stream.nfd) {
              fs.closeSync(stream.nfd);
            }
          } catch (e) {
            if (!e.code) throw e;
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
        },read:function (stream, buffer, offset, length, position) {
          // FIXME this is terrible.
          var nbuffer = new Buffer(length);
          var res;
          try {
            res = fs.readSync(stream.nfd, nbuffer, 0, length, position);
          } catch (e) {
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
          if (res > 0) {
            for (var i = 0; i < res; i++) {
              buffer[offset + i] = nbuffer[i];
            }
          }
          return res;
        },write:function (stream, buffer, offset, length, position) {
          // FIXME this is terrible.
          var nbuffer = new Buffer(buffer.subarray(offset, offset + length));
          var res;
          try {
            res = fs.writeSync(stream.nfd, nbuffer, 0, length, position);
          } catch (e) {
            throw new FS.ErrnoError(ERRNO_CODES[e.code]);
          }
          return res;
        },llseek:function (stream, offset, whence) {
          var position = offset;
          if (whence === 1) {  // SEEK_CUR.
            position += stream.position;
          } else if (whence === 2) {  // SEEK_END.
            if (FS.isFile(stream.node.mode)) {
              try {
                var stat = fs.fstatSync(stream.nfd);
                position += stat.size;
              } catch (e) {
                throw new FS.ErrnoError(ERRNO_CODES[e.code]);
              }
            }
          }
          if (position < 0) {
            throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
          }
          stream.position = position;
          return position;
        }}};
  var _stdin=allocate(1, "i32*", ALLOC_STATIC);
  var _stdout=allocate(1, "i32*", ALLOC_STATIC);
  var _stderr=allocate(1, "i32*", ALLOC_STATIC);
  function _fflush(stream) {
      // int fflush(FILE *stream);
      // http://pubs.opengroup.org/onlinepubs/000095399/functions/fflush.html
      // we don't currently perform any user-space buffering of data
    }var FS={root:null,mounts:[],devices:[null],streams:[null],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:null,genericErrors:{},handleFSError:function (e) {
        if (!(e instanceof FS.ErrnoError)) throw e + ' : ' + stackTrace();
        return ___setErrNo(e.errno);
      },lookupPath:function (path, opts) {
        path = PATH.resolve(FS.cwd(), path);
        opts = opts || { recurse_count: 0 };
        if (opts.recurse_count > 8) {  // max recursive lookup of 8
          throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
        }
        // split the path
        var parts = PATH.normalizeArray(path.split('/').filter(function(p) {
          return !!p;
        }), false);
        // start at the root
        var current = FS.root;
        var current_path = '/';
        for (var i = 0; i < parts.length; i++) {
          var islast = (i === parts.length-1);
          if (islast && opts.parent) {
            // stop resolving
            break;
          }
          current = FS.lookupNode(current, parts[i]);
          current_path = PATH.join2(current_path, parts[i]);
          // jump to the mount's root node if this is a mountpoint
          if (FS.isMountpoint(current)) {
            current = current.mount.root;
          }
          // follow symlinks
          // by default, lookupPath will not follow a symlink if it is the final path component.
          // setting opts.follow = true will override this behavior.
          if (!islast || opts.follow) {
            var count = 0;
            while (FS.isLink(current.mode)) {
              var link = FS.readlink(current_path);
              current_path = PATH.resolve(PATH.dirname(current_path), link);
              var lookup = FS.lookupPath(current_path, { recurse_count: opts.recurse_count });
              current = lookup.node;
              if (count++ > 40) {  // limit max consecutive symlinks to 40 (SYMLOOP_MAX).
                throw new FS.ErrnoError(ERRNO_CODES.ELOOP);
              }
            }
          }
        }
        return { path: current_path, node: current };
      },getPath:function (node) {
        var path;
        while (true) {
          if (FS.isRoot(node)) {
            var mount = node.mount.mountpoint;
            if (!path) return mount;
            return mount[mount.length-1] !== '/' ? mount + '/' + path : mount + path;
          }
          path = path ? node.name + '/' + path : node.name;
          node = node.parent;
        }
      },hashName:function (parentid, name) {
        var hash = 0;
        for (var i = 0; i < name.length; i++) {
          hash = ((hash << 5) - hash + name.charCodeAt(i)) | 0;
        }
        return ((parentid + hash) >>> 0) % FS.nameTable.length;
      },hashAddNode:function (node) {
        var hash = FS.hashName(node.parent.id, node.name);
        node.name_next = FS.nameTable[hash];
        FS.nameTable[hash] = node;
      },hashRemoveNode:function (node) {
        var hash = FS.hashName(node.parent.id, node.name);
        if (FS.nameTable[hash] === node) {
          FS.nameTable[hash] = node.name_next;
        } else {
          var current = FS.nameTable[hash];
          while (current) {
            if (current.name_next === node) {
              current.name_next = node.name_next;
              break;
            }
            current = current.name_next;
          }
        }
      },lookupNode:function (parent, name) {
        var err = FS.mayLookup(parent);
        if (err) {
          throw new FS.ErrnoError(err);
        }
        var hash = FS.hashName(parent.id, name);
        for (var node = FS.nameTable[hash]; node; node = node.name_next) {
          var nodeName = node.name;
          if (node.parent.id === parent.id && nodeName === name) {
            return node;
          }
        }
        // if we failed to find it in the cache, call into the VFS
        return FS.lookup(parent, name);
      },createNode:function (parent, name, mode, rdev) {
        if (!FS.FSNode) {
          FS.FSNode = function(parent, name, mode, rdev) {
            this.id = FS.nextInode++;
            this.name = name;
            this.mode = mode;
            this.node_ops = {};
            this.stream_ops = {};
            this.rdev = rdev;
            this.parent = null;
            this.mount = null;
            if (!parent) {
              parent = this;  // root node sets parent to itself
            }
            this.parent = parent;
            this.mount = parent.mount;
            FS.hashAddNode(this);
          };
          // compatibility
          var readMode = 292 | 73;
          var writeMode = 146;
          FS.FSNode.prototype = {};
          // NOTE we must use Object.defineProperties instead of individual calls to
          // Object.defineProperty in order to make closure compiler happy
          Object.defineProperties(FS.FSNode.prototype, {
            read: {
              get: function() { return (this.mode & readMode) === readMode; },
              set: function(val) { val ? this.mode |= readMode : this.mode &= ~readMode; }
            },
            write: {
              get: function() { return (this.mode & writeMode) === writeMode; },
              set: function(val) { val ? this.mode |= writeMode : this.mode &= ~writeMode; }
            },
            isFolder: {
              get: function() { return FS.isDir(this.mode); },
            },
            isDevice: {
              get: function() { return FS.isChrdev(this.mode); },
            },
          });
        }
        return new FS.FSNode(parent, name, mode, rdev);
      },destroyNode:function (node) {
        FS.hashRemoveNode(node);
      },isRoot:function (node) {
        return node === node.parent;
      },isMountpoint:function (node) {
        return node.mounted;
      },isFile:function (mode) {
        return (mode & 61440) === 32768;
      },isDir:function (mode) {
        return (mode & 61440) === 16384;
      },isLink:function (mode) {
        return (mode & 61440) === 40960;
      },isChrdev:function (mode) {
        return (mode & 61440) === 8192;
      },isBlkdev:function (mode) {
        return (mode & 61440) === 24576;
      },isFIFO:function (mode) {
        return (mode & 61440) === 4096;
      },isSocket:function (mode) {
        return (mode & 49152) === 49152;
      },flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function (str) {
        var flags = FS.flagModes[str];
        if (typeof flags === 'undefined') {
          throw new Error('Unknown file open mode: ' + str);
        }
        return flags;
      },flagsToPermissionString:function (flag) {
        var accmode = flag & 2097155;
        var perms = ['r', 'w', 'rw'][accmode];
        if ((flag & 512)) {
          perms += 'w';
        }
        return perms;
      },nodePermissions:function (node, perms) {
        if (FS.ignorePermissions) {
          return 0;
        }
        // return 0 if any user, group or owner bits are set.
        if (perms.indexOf('r') !== -1 && !(node.mode & 292)) {
          return ERRNO_CODES.EACCES;
        } else if (perms.indexOf('w') !== -1 && !(node.mode & 146)) {
          return ERRNO_CODES.EACCES;
        } else if (perms.indexOf('x') !== -1 && !(node.mode & 73)) {
          return ERRNO_CODES.EACCES;
        }
        return 0;
      },mayLookup:function (dir) {
        return FS.nodePermissions(dir, 'x');
      },mayCreate:function (dir, name) {
        try {
          var node = FS.lookupNode(dir, name);
          return ERRNO_CODES.EEXIST;
        } catch (e) {
        }
        return FS.nodePermissions(dir, 'wx');
      },mayDelete:function (dir, name, isdir) {
        var node;
        try {
          node = FS.lookupNode(dir, name);
        } catch (e) {
          return e.errno;
        }
        var err = FS.nodePermissions(dir, 'wx');
        if (err) {
          return err;
        }
        if (isdir) {
          if (!FS.isDir(node.mode)) {
            return ERRNO_CODES.ENOTDIR;
          }
          if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) {
            return ERRNO_CODES.EBUSY;
          }
        } else {
          if (FS.isDir(node.mode)) {
            return ERRNO_CODES.EISDIR;
          }
        }
        return 0;
      },mayOpen:function (node, flags) {
        if (!node) {
          return ERRNO_CODES.ENOENT;
        }
        if (FS.isLink(node.mode)) {
          return ERRNO_CODES.ELOOP;
        } else if (FS.isDir(node.mode)) {
          if ((flags & 2097155) !== 0 ||  // opening for write
              (flags & 512)) {
            return ERRNO_CODES.EISDIR;
          }
        }
        return FS.nodePermissions(node, FS.flagsToPermissionString(flags));
      },MAX_OPEN_FDS:4096,nextfd:function (fd_start, fd_end) {
        fd_start = fd_start || 1;
        fd_end = fd_end || FS.MAX_OPEN_FDS;
        for (var fd = fd_start; fd <= fd_end; fd++) {
          if (!FS.streams[fd]) {
            return fd;
          }
        }
        throw new FS.ErrnoError(ERRNO_CODES.EMFILE);
      },getStream:function (fd) {
        return FS.streams[fd];
      },createStream:function (stream, fd_start, fd_end) {
        if (!FS.FSStream) {
          FS.FSStream = function(){};
          FS.FSStream.prototype = {};
          // compatibility
          Object.defineProperties(FS.FSStream.prototype, {
            object: {
              get: function() { return this.node; },
              set: function(val) { this.node = val; }
            },
            isRead: {
              get: function() { return (this.flags & 2097155) !== 1; }
            },
            isWrite: {
              get: function() { return (this.flags & 2097155) !== 0; }
            },
            isAppend: {
              get: function() { return (this.flags & 1024); }
            }
          });
        }
        if (stream.__proto__) {
          // reuse the object
          stream.__proto__ = FS.FSStream.prototype;
        } else {
          var newStream = new FS.FSStream();
          for (var p in stream) {
            newStream[p] = stream[p];
          }
          stream = newStream;
        }
        var fd = FS.nextfd(fd_start, fd_end);
        stream.fd = fd;
        FS.streams[fd] = stream;
        return stream;
      },closeStream:function (fd) {
        FS.streams[fd] = null;
      },chrdev_stream_ops:{open:function (stream) {
          var device = FS.getDevice(stream.node.rdev);
          // override node's stream ops with the device's
          stream.stream_ops = device.stream_ops;
          // forward the open call
          if (stream.stream_ops.open) {
            stream.stream_ops.open(stream);
          }
        },llseek:function () {
          throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
        }},major:function (dev) {
        return ((dev) >> 8);
      },minor:function (dev) {
        return ((dev) & 0xff);
      },makedev:function (ma, mi) {
        return ((ma) << 8 | (mi));
      },registerDevice:function (dev, ops) {
        FS.devices[dev] = { stream_ops: ops };
      },getDevice:function (dev) {
        return FS.devices[dev];
      },syncfs:function (populate, callback) {
        if (typeof(populate) === 'function') {
          callback = populate;
          populate = false;
        }
        var completed = 0;
        var total = FS.mounts.length;
        function done(err) {
          if (err) {
            return callback(err);
          }
          if (++completed >= total) {
            callback(null);
          }
        };
        // sync all mounts
        for (var i = 0; i < FS.mounts.length; i++) {
          var mount = FS.mounts[i];
          if (!mount.type.syncfs) {
            done(null);
            continue;
          }
          mount.type.syncfs(mount, populate, done);
        }
      },mount:function (type, opts, mountpoint) {
        var lookup;
        if (mountpoint) {
          lookup = FS.lookupPath(mountpoint, { follow: false });
          mountpoint = lookup.path;  // use the absolute path
        }
        var mount = {
          type: type,
          opts: opts,
          mountpoint: mountpoint,
          root: null
        };
        // create a root node for the fs
        var root = type.mount(mount);
        root.mount = mount;
        mount.root = root;
        // assign the mount info to the mountpoint's node
        if (lookup) {
          lookup.node.mount = mount;
          lookup.node.mounted = true;
          // compatibility update FS.root if we mount to /
          if (mountpoint === '/') {
            FS.root = mount.root;
          }
        }
        // add to our cached list of mounts
        FS.mounts.push(mount);
        return root;
      },lookup:function (parent, name) {
        return parent.node_ops.lookup(parent, name);
      },mknod:function (path, mode, dev) {
        var lookup = FS.lookupPath(path, { parent: true });
        var parent = lookup.node;
        var name = PATH.basename(path);
        var err = FS.mayCreate(parent, name);
        if (err) {
          throw new FS.ErrnoError(err);
        }
        if (!parent.node_ops.mknod) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        return parent.node_ops.mknod(parent, name, mode, dev);
      },create:function (path, mode) {
        mode = mode !== undefined ? mode : 0666;
        mode &= 4095;
        mode |= 32768;
        return FS.mknod(path, mode, 0);
      },mkdir:function (path, mode) {
        mode = mode !== undefined ? mode : 0777;
        mode &= 511 | 512;
        mode |= 16384;
        return FS.mknod(path, mode, 0);
      },mkdev:function (path, mode, dev) {
        if (typeof(dev) === 'undefined') {
          dev = mode;
          mode = 0666;
        }
        mode |= 8192;
        return FS.mknod(path, mode, dev);
      },symlink:function (oldpath, newpath) {
        var lookup = FS.lookupPath(newpath, { parent: true });
        var parent = lookup.node;
        var newname = PATH.basename(newpath);
        var err = FS.mayCreate(parent, newname);
        if (err) {
          throw new FS.ErrnoError(err);
        }
        if (!parent.node_ops.symlink) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        return parent.node_ops.symlink(parent, newname, oldpath);
      },rename:function (old_path, new_path) {
        var old_dirname = PATH.dirname(old_path);
        var new_dirname = PATH.dirname(new_path);
        var old_name = PATH.basename(old_path);
        var new_name = PATH.basename(new_path);
        // parents must exist
        var lookup, old_dir, new_dir;
        try {
          lookup = FS.lookupPath(old_path, { parent: true });
          old_dir = lookup.node;
          lookup = FS.lookupPath(new_path, { parent: true });
          new_dir = lookup.node;
        } catch (e) {
          throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
        }
        // need to be part of the same mount
        if (old_dir.mount !== new_dir.mount) {
          throw new FS.ErrnoError(ERRNO_CODES.EXDEV);
        }
        // source must exist
        var old_node = FS.lookupNode(old_dir, old_name);
        // old path should not be an ancestor of the new path
        var relative = PATH.relative(old_path, new_dirname);
        if (relative.charAt(0) !== '.') {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        // new path should not be an ancestor of the old path
        relative = PATH.relative(new_path, old_dirname);
        if (relative.charAt(0) !== '.') {
          throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);
        }
        // see if the new path already exists
        var new_node;
        try {
          new_node = FS.lookupNode(new_dir, new_name);
        } catch (e) {
          // not fatal
        }
        // early out if nothing needs to change
        if (old_node === new_node) {
          return;
        }
        // we'll need to delete the old entry
        var isdir = FS.isDir(old_node.mode);
        var err = FS.mayDelete(old_dir, old_name, isdir);
        if (err) {
          throw new FS.ErrnoError(err);
        }
        // need delete permissions if we'll be overwriting.
        // need create permissions if new doesn't already exist.
        err = new_node ?
          FS.mayDelete(new_dir, new_name, isdir) :
          FS.mayCreate(new_dir, new_name);
        if (err) {
          throw new FS.ErrnoError(err);
        }
        if (!old_dir.node_ops.rename) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        if (FS.isMountpoint(old_node) || (new_node && FS.isMountpoint(new_node))) {
          throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
        }
        // if we are going to change the parent, check write permissions
        if (new_dir !== old_dir) {
          err = FS.nodePermissions(old_dir, 'w');
          if (err) {
            throw new FS.ErrnoError(err);
          }
        }
        // remove the node from the lookup hash
        FS.hashRemoveNode(old_node);
        // do the underlying fs rename
        try {
          old_dir.node_ops.rename(old_node, new_dir, new_name);
        } catch (e) {
          throw e;
        } finally {
          // add the node back to the hash (in case node_ops.rename
          // changed its name)
          FS.hashAddNode(old_node);
        }
      },rmdir:function (path) {
        var lookup = FS.lookupPath(path, { parent: true });
        var parent = lookup.node;
        var name = PATH.basename(path);
        var node = FS.lookupNode(parent, name);
        var err = FS.mayDelete(parent, name, true);
        if (err) {
          throw new FS.ErrnoError(err);
        }
        if (!parent.node_ops.rmdir) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        if (FS.isMountpoint(node)) {
          throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
        }
        parent.node_ops.rmdir(parent, name);
        FS.destroyNode(node);
      },readdir:function (path) {
        var lookup = FS.lookupPath(path, { follow: true });
        var node = lookup.node;
        if (!node.node_ops.readdir) {
          throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
        }
        return node.node_ops.readdir(node);
      },unlink:function (path) {
        var lookup = FS.lookupPath(path, { parent: true });
        var parent = lookup.node;
        var name = PATH.basename(path);
        var node = FS.lookupNode(parent, name);
        var err = FS.mayDelete(parent, name, false);
        if (err) {
          // POSIX says unlink should set EPERM, not EISDIR
          if (err === ERRNO_CODES.EISDIR) err = ERRNO_CODES.EPERM;
          throw new FS.ErrnoError(err);
        }
        if (!parent.node_ops.unlink) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        if (FS.isMountpoint(node)) {
          throw new FS.ErrnoError(ERRNO_CODES.EBUSY);
        }
        parent.node_ops.unlink(parent, name);
        FS.destroyNode(node);
      },readlink:function (path) {
        var lookup = FS.lookupPath(path, { follow: false });
        var link = lookup.node;
        if (!link.node_ops.readlink) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        return link.node_ops.readlink(link);
      },stat:function (path, dontFollow) {
        var lookup = FS.lookupPath(path, { follow: !dontFollow });
        var node = lookup.node;
        if (!node.node_ops.getattr) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        return node.node_ops.getattr(node);
      },lstat:function (path) {
        return FS.stat(path, true);
      },chmod:function (path, mode, dontFollow) {
        var node;
        if (typeof path === 'string') {
          var lookup = FS.lookupPath(path, { follow: !dontFollow });
          node = lookup.node;
        } else {
          node = path;
        }
        if (!node.node_ops.setattr) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        node.node_ops.setattr(node, {
          mode: (mode & 4095) | (node.mode & ~4095),
          timestamp: Date.now()
        });
      },lchmod:function (path, mode) {
        FS.chmod(path, mode, true);
      },fchmod:function (fd, mode) {
        var stream = FS.getStream(fd);
        if (!stream) {
          throw new FS.ErrnoError(ERRNO_CODES.EBADF);
        }
        FS.chmod(stream.node, mode);
      },chown:function (path, uid, gid, dontFollow) {
        var node;
        if (typeof path === 'string') {
          var lookup = FS.lookupPath(path, { follow: !dontFollow });
          node = lookup.node;
        } else {
          node = path;
        }
        if (!node.node_ops.setattr) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        node.node_ops.setattr(node, {
          timestamp: Date.now()
          // we ignore the uid / gid for now
        });
      },lchown:function (path, uid, gid) {
        FS.chown(path, uid, gid, true);
      },fchown:function (fd, uid, gid) {
        var stream = FS.getStream(fd);
        if (!stream) {
          throw new FS.ErrnoError(ERRNO_CODES.EBADF);
        }
        FS.chown(stream.node, uid, gid);
      },truncate:function (path, len) {
        if (len < 0) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        var node;
        if (typeof path === 'string') {
          var lookup = FS.lookupPath(path, { follow: true });
          node = lookup.node;
        } else {
          node = path;
        }
        if (!node.node_ops.setattr) {
          throw new FS.ErrnoError(ERRNO_CODES.EPERM);
        }
        if (FS.isDir(node.mode)) {
          throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
        }
        if (!FS.isFile(node.mode)) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        var err = FS.nodePermissions(node, 'w');
        if (err) {
          throw new FS.ErrnoError(err);
        }
        node.node_ops.setattr(node, {
          size: len,
          timestamp: Date.now()
        });
      },ftruncate:function (fd, len) {
        var stream = FS.getStream(fd);
        if (!stream) {
          throw new FS.ErrnoError(ERRNO_CODES.EBADF);
        }
        if ((stream.flags & 2097155) === 0) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        FS.truncate(stream.node, len);
      },utime:function (path, atime, mtime) {
        var lookup = FS.lookupPath(path, { follow: true });
        var node = lookup.node;
        node.node_ops.setattr(node, {
          timestamp: Math.max(atime, mtime)
        });
      },open:function (path, flags, mode, fd_start, fd_end) {
        flags = typeof flags === 'string' ? FS.modeStringToFlags(flags) : flags;
        mode = typeof mode === 'undefined' ? 0666 : mode;
        if ((flags & 64)) {
          mode = (mode & 4095) | 32768;
        } else {
          mode = 0;
        }
        var node;
        if (typeof path === 'object') {
          node = path;
        } else {
          path = PATH.normalize(path);
          try {
            var lookup = FS.lookupPath(path, {
              follow: !(flags & 131072)
            });
            node = lookup.node;
          } catch (e) {
            // ignore
          }
        }
        // perhaps we need to create the node
        if ((flags & 64)) {
          if (node) {
            // if O_CREAT and O_EXCL are set, error out if the node already exists
            if ((flags & 128)) {
              throw new FS.ErrnoError(ERRNO_CODES.EEXIST);
            }
          } else {
            // node doesn't exist, try to create it
            node = FS.mknod(path, mode, 0);
          }
        }
        if (!node) {
          throw new FS.ErrnoError(ERRNO_CODES.ENOENT);
        }
        // can't truncate a device
        if (FS.isChrdev(node.mode)) {
          flags &= ~512;
        }
        // check permissions
        var err = FS.mayOpen(node, flags);
        if (err) {
          throw new FS.ErrnoError(err);
        }
        // do truncation if necessary
        if ((flags & 512)) {
          FS.truncate(node, 0);
        }
        // we've already handled these, don't pass down to the underlying vfs
        flags &= ~(128 | 512);
        // register the stream with the filesystem
        var stream = FS.createStream({
          node: node,
          path: FS.getPath(node),  // we want the absolute path to the node
          flags: flags,
          seekable: true,
          position: 0,
          stream_ops: node.stream_ops,
          // used by the file family libc calls (fopen, fwrite, ferror, etc.)
          ungotten: [],
          error: false
        }, fd_start, fd_end);
        // call the new stream's open function
        if (stream.stream_ops.open) {
          stream.stream_ops.open(stream);
        }
        if (Module['logReadFiles'] && !(flags & 1)) {
          if (!FS.readFiles) FS.readFiles = {};
          if (!(path in FS.readFiles)) {
            FS.readFiles[path] = 1;
            Module['printErr']('read file: ' + path);
          }
        }
        return stream;
      },close:function (stream) {
        try {
          if (stream.stream_ops.close) {
            stream.stream_ops.close(stream);
          }
        } catch (e) {
          throw e;
        } finally {
          FS.closeStream(stream.fd);
        }
      },llseek:function (stream, offset, whence) {
        if (!stream.seekable || !stream.stream_ops.llseek) {
          throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
        }
        return stream.stream_ops.llseek(stream, offset, whence);
      },read:function (stream, buffer, offset, length, position) {
        if (length < 0 || position < 0) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        if ((stream.flags & 2097155) === 1) {
          throw new FS.ErrnoError(ERRNO_CODES.EBADF);
        }
        if (FS.isDir(stream.node.mode)) {
          throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
        }
        if (!stream.stream_ops.read) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        var seeking = true;
        if (typeof position === 'undefined') {
          position = stream.position;
          seeking = false;
        } else if (!stream.seekable) {
          throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
        }
        var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position);
        if (!seeking) stream.position += bytesRead;
        return bytesRead;
      },write:function (stream, buffer, offset, length, position, canOwn) {
        if (length < 0 || position < 0) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        if ((stream.flags & 2097155) === 0) {
          throw new FS.ErrnoError(ERRNO_CODES.EBADF);
        }
        if (FS.isDir(stream.node.mode)) {
          throw new FS.ErrnoError(ERRNO_CODES.EISDIR);
        }
        if (!stream.stream_ops.write) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        var seeking = true;
        if (typeof position === 'undefined') {
          position = stream.position;
          seeking = false;
        } else if (!stream.seekable) {
          throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);
        }
        if (stream.flags & 1024) {
          // seek to the end before writing in append mode
          FS.llseek(stream, 0, 2);
        }
        var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn);
        if (!seeking) stream.position += bytesWritten;
        return bytesWritten;
      },allocate:function (stream, offset, length) {
        if (offset < 0 || length <= 0) {
          throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
        }
        if ((stream.flags & 2097155) === 0) {
          throw new FS.ErrnoError(ERRNO_CODES.EBADF);
        }
        if (!FS.isFile(stream.node.mode) && !FS.isDir(node.mode)) {
          throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
        }
        if (!stream.stream_ops.allocate) {
          throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
        }
        stream.stream_ops.allocate(stream, offset, length);
      },mmap:function (stream, buffer, offset, length, position, prot, flags) {
        // TODO if PROT is PROT_WRITE, make sure we have write access
        if ((stream.flags & 2097155) === 1) {
          throw new FS.ErrnoError(ERRNO_CODES.EACCES);
        }
        if (!stream.stream_ops.mmap) {
          throw new FS.ErrnoError(ERRNO_CODES.ENODEV);
        }
        return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags);
      },ioctl:function (stream, cmd, arg) {
        if (!stream.stream_ops.ioctl) {
          throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);
        }
        return stream.stream_ops.ioctl(stream, cmd, arg);
      },readFile:function (path, opts) {
        opts = opts || {};
        opts.flags = opts.flags || 'r';
        opts.encoding = opts.encoding || 'binary';
        var ret;
        var stream = FS.open(path, opts.flags);
        var stat = FS.stat(path);
        var length = stat.size;
        var buf = new Uint8Array(length);
        FS.read(stream, buf, 0, length, 0);
        if (opts.encoding === 'utf8') {
          ret = '';
          var utf8 = new Runtime.UTF8Processor();
          for (var i = 0; i < length; i++) {
            ret += utf8.processCChar(buf[i]);
          }
        } else if (opts.encoding === 'binary') {
          ret = buf;
        } else {
          throw new Error('Invalid encoding type "' + opts.encoding + '"');
        }
        FS.close(stream);
        return ret;
      },writeFile:function (path, data, opts) {
        opts = opts || {};
        opts.flags = opts.flags || 'w';
        opts.encoding = opts.encoding || 'utf8';
        var stream = FS.open(path, opts.flags, opts.mode);
        if (opts.encoding === 'utf8') {
          var utf8 = new Runtime.UTF8Processor();
          var buf = new Uint8Array(utf8.processJSString(data));
          FS.write(stream, buf, 0, buf.length, 0);
        } else if (opts.encoding === 'binary') {
          FS.write(stream, data, 0, data.length, 0);
        } else {
          throw new Error('Invalid encoding type "' + opts.encoding + '"');
        }
        FS.close(stream);
      },cwd:function () {
        return FS.currentPath;
      },chdir:function (path) {
        var lookup = FS.lookupPath(path, { follow: true });
        if (!FS.isDir(lookup.node.mode)) {
          throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);
        }
        var err = FS.nodePermissions(lookup.node, 'x');
        if (err) {
          throw new FS.ErrnoError(err);
        }
        FS.currentPath = lookup.path;
      },createDefaultDirectories:function () {
        FS.mkdir('/tmp');
      },createDefaultDevices:function () {
        // create /dev
        FS.mkdir('/dev');
        // setup /dev/null
        FS.registerDevice(FS.makedev(1, 3), {
          read: function() { return 0; },
          write: function() { return 0; }
        });
        FS.mkdev('/dev/null', FS.makedev(1, 3));
        // setup /dev/tty and /dev/tty1
        // stderr needs to print output using Module['printErr']
        // so we register a second tty just for it.
        TTY.register(FS.makedev(5, 0), TTY.default_tty_ops);
        TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops);
        FS.mkdev('/dev/tty', FS.makedev(5, 0));
        FS.mkdev('/dev/tty1', FS.makedev(6, 0));
        // we're not going to emulate the actual shm device,
        // just create the tmp dirs that reside in it commonly
        FS.mkdir('/dev/shm');
        FS.mkdir('/dev/shm/tmp');
      },createStandardStreams:function () {
        // TODO deprecate the old functionality of a single
        // input / output callback and that utilizes FS.createDevice
        // and instead require a unique set of stream ops
        // by default, we symlink the standard streams to the
        // default tty devices. however, if the standard streams
        // have been overwritten we create a unique device for
        // them instead.
        if (Module['stdin']) {
          FS.createDevice('/dev', 'stdin', Module['stdin']);
        } else {
          FS.symlink('/dev/tty', '/dev/stdin');
        }
        if (Module['stdout']) {
          FS.createDevice('/dev', 'stdout', null, Module['stdout']);
        } else {
          FS.symlink('/dev/tty', '/dev/stdout');
        }
        if (Module['stderr']) {
          FS.createDevice('/dev', 'stderr', null, Module['stderr']);
        } else {
          FS.symlink('/dev/tty1', '/dev/stderr');
        }
        // open default streams for the stdin, stdout and stderr devices
        var stdin = FS.open('/dev/stdin', 'r');
        HEAP32[((_stdin)>>2)]=stdin.fd;
        assert(stdin.fd === 1, 'invalid handle for stdin (' + stdin.fd + ')');
        var stdout = FS.open('/dev/stdout', 'w');
        HEAP32[((_stdout)>>2)]=stdout.fd;
        assert(stdout.fd === 2, 'invalid handle for stdout (' + stdout.fd + ')');
        var stderr = FS.open('/dev/stderr', 'w');
        HEAP32[((_stderr)>>2)]=stderr.fd;
        assert(stderr.fd === 3, 'invalid handle for stderr (' + stderr.fd + ')');
      },ensureErrnoError:function () {
        if (FS.ErrnoError) return;
        FS.ErrnoError = function ErrnoError(errno) {
          this.errno = errno;
          for (var key in ERRNO_CODES) {
            if (ERRNO_CODES[key] === errno) {
              this.code = key;
              break;
            }
          }
          this.message = ERRNO_MESSAGES[errno];
          this.stack = stackTrace();
        };
        FS.ErrnoError.prototype = new Error();
        FS.ErrnoError.prototype.constructor = FS.ErrnoError;
        // Some errors may happen quite a bit, to avoid overhead we reuse them (and suffer a lack of stack info)
        [ERRNO_CODES.ENOENT].forEach(function(code) {
          FS.genericErrors[code] = new FS.ErrnoError(code);
          FS.genericErrors[code].stack = '<generic error, no stack>';
        });
      },staticInit:function () {
        FS.ensureErrnoError();
        FS.nameTable = new Array(4096);
        FS.root = FS.createNode(null, '/', 16384 | 0777, 0);
        FS.mount(MEMFS, {}, '/');
        FS.createDefaultDirectories();
        FS.createDefaultDevices();
      },init:function (input, output, error) {
        assert(!FS.init.initialized, 'FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)');
        FS.init.initialized = true;
        FS.ensureErrnoError();
        // Allow Module.stdin etc. to provide defaults, if none explicitly passed to us here
        Module['stdin'] = input || Module['stdin'];
        Module['stdout'] = output || Module['stdout'];
        Module['stderr'] = error || Module['stderr'];
        FS.createStandardStreams();
      },quit:function () {
        FS.init.initialized = false;
        for (var i = 0; i < FS.streams.length; i++) {
          var stream = FS.streams[i];
          if (!stream) {
            continue;
          }
          FS.close(stream);
        }
      },getMode:function (canRead, canWrite) {
        var mode = 0;
        if (canRead) mode |= 292 | 73;
        if (canWrite) mode |= 146;
        return mode;
      },joinPath:function (parts, forceRelative) {
        var path = PATH.join.apply(null, parts);
        if (forceRelative && path[0] == '/') path = path.substr(1);
        return path;
      },absolutePath:function (relative, base) {
        return PATH.resolve(base, relative);
      },standardizePath:function (path) {
        return PATH.normalize(path);
      },findObject:function (path, dontResolveLastLink) {
        var ret = FS.analyzePath(path, dontResolveLastLink);
        if (ret.exists) {
          return ret.object;
        } else {
          ___setErrNo(ret.error);
          return null;
        }
      },analyzePath:function (path, dontResolveLastLink) {
        // operate from within the context of the symlink's target
        try {
          var lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
          path = lookup.path;
        } catch (e) {
        }
        var ret = {
          isRoot: false, exists: false, error: 0, name: null, path: null, object: null,
          parentExists: false, parentPath: null, parentObject: null
        };
        try {
          var lookup = FS.lookupPath(path, { parent: true });
          ret.parentExists = true;
          ret.parentPath = lookup.path;
          ret.parentObject = lookup.node;
          ret.name = PATH.basename(path);
          lookup = FS.lookupPath(path, { follow: !dontResolveLastLink });
          ret.exists = true;
          ret.path = lookup.path;
          ret.object = lookup.node;
          ret.name = lookup.node.name;
          ret.isRoot = lookup.path === '/';
        } catch (e) {
          ret.error = e.errno;
        };
        return ret;
      },createFolder:function (parent, name, canRead, canWrite) {
        var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name);
        var mode = FS.getMode(canRead, canWrite);
        return FS.mkdir(path, mode);
      },createPath:function (parent, path, canRead, canWrite) {
        parent = typeof parent === 'string' ? parent : FS.getPath(parent);
        var parts = path.split('/').reverse();
        while (parts.length) {
          var part = parts.pop();
          if (!part) continue;
          var current = PATH.join2(parent, part);
          try {
            FS.mkdir(current);
          } catch (e) {
            // ignore EEXIST
          }
          parent = current;
        }
        return current;
      },createFile:function (parent, name, properties, canRead, canWrite) {
        var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name);
        var mode = FS.getMode(canRead, canWrite);
        return FS.create(path, mode);
      },createDataFile:function (parent, name, data, canRead, canWrite, canOwn) {
        var path = name ? PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name) : parent;
        var mode = FS.getMode(canRead, canWrite);
        var node = FS.create(path, mode);
        if (data) {
          if (typeof data === 'string') {
            var arr = new Array(data.length);
            for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
            data = arr;
          }
          // make sure we can write to the file
          FS.chmod(node, mode | 146);
          var stream = FS.open(node, 'w');
          FS.write(stream, data, 0, data.length, 0, canOwn);
          FS.close(stream);
          FS.chmod(node, mode);
        }
        return node;
      },createDevice:function (parent, name, input, output) {
        var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name);
        var mode = FS.getMode(!!input, !!output);
        if (!FS.createDevice.major) FS.createDevice.major = 64;
        var dev = FS.makedev(FS.createDevice.major++, 0);
        // Create a fake device that a set of stream ops to emulate
        // the old behavior.
        FS.registerDevice(dev, {
          open: function(stream) {
            stream.seekable = false;
          },
          close: function(stream) {
            // flush any pending line data
            if (output && output.buffer && output.buffer.length) {
              output(10);
            }
          },
          read: function(stream, buffer, offset, length, pos /* ignored */) {
            var bytesRead = 0;
            for (var i = 0; i < length; i++) {
              var result;
              try {
                result = input();
              } catch (e) {
                throw new FS.ErrnoError(ERRNO_CODES.EIO);
              }
              if (result === undefined && bytesRead === 0) {
                throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
              }
              if (result === null || result === undefined) break;
              bytesRead++;
              buffer[offset+i] = result;
            }
            if (bytesRead) {
              stream.node.timestamp = Date.now();
            }
            return bytesRead;
          },
          write: function(stream, buffer, offset, length, pos) {
            for (var i = 0; i < length; i++) {
              try {
                output(buffer[offset+i]);
              } catch (e) {
                throw new FS.ErrnoError(ERRNO_CODES.EIO);
              }
            }
            if (length) {
              stream.node.timestamp = Date.now();
            }
            return i;
          }
        });
        return FS.mkdev(path, mode, dev);
      },createLink:function (parent, name, target, canRead, canWrite) {
        var path = PATH.join2(typeof parent === 'string' ? parent : FS.getPath(parent), name);
        return FS.symlink(target, path);
      },forceLoadFile:function (obj) {
        if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true;
        var success = true;
        if (typeof XMLHttpRequest !== 'undefined') {
          throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
        } else if (Module['read']) {
          // Command-line.
          try {
            // WARNING: Can't read binary files in V8's d8 or tracemonkey's js, as
            //          read() will try to parse UTF8.
            obj.contents = intArrayFromString(Module['read'](obj.url), true);
          } catch (e) {
            success = false;
          }
        } else {
          throw new Error('Cannot load without read() or XMLHttpRequest.');
        }
        if (!success) ___setErrNo(ERRNO_CODES.EIO);
        return success;
      },createLazyFile:function (parent, name, url, canRead, canWrite) {
        if (typeof XMLHttpRequest !== 'undefined') {
          if (!ENVIRONMENT_IS_WORKER) throw 'Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc';
          // Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse.
          function LazyUint8Array() {
            this.lengthKnown = false;
            this.chunks = []; // Loaded chunks. Index is the chunk number
          }
          LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) {
            if (idx > this.length-1 || idx < 0) {
              return undefined;
            }
            var chunkOffset = idx % this.chunkSize;
            var chunkNum = Math.floor(idx / this.chunkSize);
            return this.getter(chunkNum)[chunkOffset];
          }
          LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) {
            this.getter = getter;
          }
          LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() {
              // Find length
              var xhr = new XMLHttpRequest();
              xhr.open('HEAD', url, false);
              xhr.send(null);
              if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
              var datalength = Number(xhr.getResponseHeader("Content-length"));
              var header;
              var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
              var chunkSize = 1024*1024; // Chunk size in bytes
              if (!hasByteServing) chunkSize = datalength;
              // Function to get a range from the remote URL.
              var doXHR = (function(from, to) {
                if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
                if (to > datalength-1) throw new Error("only " + datalength + " bytes available! programmer error!");
                // TODO: Use mozResponseArrayBuffer, responseStream, etc. if available.
                var xhr = new XMLHttpRequest();
                xhr.open('GET', url, false);
                if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to);
                // Some hints to the browser that we want binary data.
                if (typeof Uint8Array != 'undefined') xhr.responseType = 'arraybuffer';
                if (xhr.overrideMimeType) {
                  xhr.overrideMimeType('text/plain; charset=x-user-defined');
                }
                xhr.send(null);
                if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
                if (xhr.response !== undefined) {
                  return new Uint8Array(xhr.response || []);
                } else {
                  return intArrayFromString(xhr.responseText || '', true);
                }
              });
              var lazyArray = this;
              lazyArray.setDataGetter(function(chunkNum) {
                var start = chunkNum * chunkSize;
                var end = (chunkNum+1) * chunkSize - 1; // including this byte
                end = Math.min(end, datalength-1); // if datalength-1 is selected, this is the last block
                if (typeof(lazyArray.chunks[chunkNum]) === "undefined") {
                  lazyArray.chunks[chunkNum] = doXHR(start, end);
                }
                if (typeof(lazyArray.chunks[chunkNum]) === "undefined") throw new Error("doXHR failed!");
                return lazyArray.chunks[chunkNum];
              });
              this._length = datalength;
              this._chunkSize = chunkSize;
              this.lengthKnown = true;
          }
          var lazyArray = new LazyUint8Array();
          Object.defineProperty(lazyArray, "length", {
              get: function() {
                  if(!this.lengthKnown) {
                      this.cacheLength();
                  }
                  return this._length;
              }
          });
          Object.defineProperty(lazyArray, "chunkSize", {
              get: function() {
                  if(!this.lengthKnown) {
                      this.cacheLength();
                  }
                  return this._chunkSize;
              }
          });
          var properties = { isDevice: false, contents: lazyArray };
        } else {
          var properties = { isDevice: false, url: url };
        }
        var node = FS.createFile(parent, name, properties, canRead, canWrite);
        // This is a total hack, but I want to get this lazy file code out of the
        // core of MEMFS. If we want to keep this lazy file concept I feel it should
        // be its own thin LAZYFS proxying calls to MEMFS.
        if (properties.contents) {
          node.contents = properties.contents;
        } else if (properties.url) {
          node.contents = null;
          node.url = properties.url;
        }
        // override each stream op with one that tries to force load the lazy file first
        var stream_ops = {};
        var keys = Object.keys(node.stream_ops);
        keys.forEach(function(key) {
          var fn = node.stream_ops[key];
          stream_ops[key] = function forceLoadLazyFile() {
            if (!FS.forceLoadFile(node)) {
              throw new FS.ErrnoError(ERRNO_CODES.EIO);
            }
            return fn.apply(null, arguments);
          };
        });
        // use a custom read function
        stream_ops.read = function stream_ops_read(stream, buffer, offset, length, position) {
          if (!FS.forceLoadFile(node)) {
            throw new FS.ErrnoError(ERRNO_CODES.EIO);
          }
          var contents = stream.node.contents;
          if (position >= contents.length)
            return 0;
          var size = Math.min(contents.length - position, length);
          assert(size >= 0);
          if (contents.slice) { // normal array
            for (var i = 0; i < size; i++) {
              buffer[offset + i] = contents[position + i];
            }
          } else {
            for (var i = 0; i < size; i++) { // LazyUint8Array from sync binary XHR
              buffer[offset + i] = contents.get(position + i);
            }
          }
          return size;
        };
        node.stream_ops = stream_ops;
        return node;
      },createPreloadedFile:function (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn) {
        Browser.init();
        // TODO we should allow people to just pass in a complete filename instead
        // of parent and name being that we just join them anyways
        var fullname = name ? PATH.resolve(PATH.join2(parent, name)) : parent;
        function processData(byteArray) {
          function finish(byteArray) {
            if (!dontCreateFile) {
              FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn);
            }
            if (onload) onload();
            removeRunDependency('cp ' + fullname);
          }
          var handled = false;
          Module['preloadPlugins'].forEach(function(plugin) {
            if (handled) return;
            if (plugin['canHandle'](fullname)) {
              plugin['handle'](byteArray, fullname, finish, function() {
                if (onerror) onerror();
                removeRunDependency('cp ' + fullname);
              });
              handled = true;
            }
          });
          if (!handled) finish(byteArray);
        }
        addRunDependency('cp ' + fullname);
        if (typeof url == 'string') {
          Browser.asyncLoad(url, function(byteArray) {
            processData(byteArray);
          }, onerror);
        } else {
          processData(url);
        }
      },indexedDB:function () {
        return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;
      },DB_NAME:function () {
        return 'EM_FS_' + window.location.pathname;
      },DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function (paths, onload, onerror) {
        onload = onload || function(){};
        onerror = onerror || function(){};
        var indexedDB = FS.indexedDB();
        try {
          var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
        } catch (e) {
          return onerror(e);
        }
        openRequest.onupgradeneeded = function openRequest_onupgradeneeded() {
          console.log('creating db');
          var db = openRequest.result;
          db.createObjectStore(FS.DB_STORE_NAME);
        };
        openRequest.onsuccess = function openRequest_onsuccess() {
          var db = openRequest.result;
          var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
          var files = transaction.objectStore(FS.DB_STORE_NAME);
          var ok = 0, fail = 0, total = paths.length;
          function finish() {
            if (fail == 0) onload(); else onerror();
          }
          paths.forEach(function(path) {
            var putRequest = files.put(FS.analyzePath(path).object.contents, path);
            putRequest.onsuccess = function putRequest_onsuccess() { ok++; if (ok + fail == total) finish() };
            putRequest.onerror = function putRequest_onerror() { fail++; if (ok + fail == total) finish() };
          });
          transaction.onerror = onerror;
        };
        openRequest.onerror = onerror;
      },loadFilesFromDB:function (paths, onload, onerror) {
        onload = onload || function(){};
        onerror = onerror || function(){};
        var indexedDB = FS.indexedDB();
        try {
          var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION);
        } catch (e) {
          return onerror(e);
        }
        openRequest.onupgradeneeded = onerror; // no database to load from
        openRequest.onsuccess = function openRequest_onsuccess() {
          var db = openRequest.result;
          try {
            var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');
          } catch(e) {
            onerror(e);
            return;
          }
          var files = transaction.objectStore(FS.DB_STORE_NAME);
          var ok = 0, fail = 0, total = paths.length;
          function finish() {
            if (fail == 0) onload(); else onerror();
          }
          paths.forEach(function(path) {
            var getRequest = files.get(path);
            getRequest.onsuccess = function getRequest_onsuccess() {
              if (FS.analyzePath(path).exists) {
                FS.unlink(path);
              }
              FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true);
              ok++;
              if (ok + fail == total) finish();
            };
            getRequest.onerror = function getRequest_onerror() { fail++; if (ok + fail == total) finish() };
          });
          transaction.onerror = onerror;
        };
        openRequest.onerror = onerror;
      }};
  var _mkport=undefined;var SOCKFS={mount:function (mount) {
        return FS.createNode(null, '/', 16384 | 0777, 0);
      },createSocket:function (family, type, protocol) {
        var streaming = type == 1;
        if (protocol) {
          assert(streaming == (protocol == 6)); // if SOCK_STREAM, must be tcp
        }
        // create our internal socket structure
        var sock = {
          family: family,
          type: type,
          protocol: protocol,
          server: null,
          peers: {},
          pending: [],
          recv_queue: [],
          sock_ops: SOCKFS.websocket_sock_ops
        };
        // create the filesystem node to store the socket structure
        var name = SOCKFS.nextname();
        var node = FS.createNode(SOCKFS.root, name, 49152, 0);
        node.sock = sock;
        // and the wrapping stream that enables library functions such
        // as read and write to indirectly interact with the socket
        var stream = FS.createStream({
          path: name,
          node: node,
          flags: FS.modeStringToFlags('r+'),
          seekable: false,
          stream_ops: SOCKFS.stream_ops
        });
        // map the new stream to the socket structure (sockets have a 1:1
        // relationship with a stream)
        sock.stream = stream;
        return sock;
      },getSocket:function (fd) {
        var stream = FS.getStream(fd);
        if (!stream || !FS.isSocket(stream.node.mode)) {
          return null;
        }
        return stream.node.sock;
      },stream_ops:{poll:function (stream) {
          var sock = stream.node.sock;
          return sock.sock_ops.poll(sock);
        },ioctl:function (stream, request, varargs) {
          var sock = stream.node.sock;
          return sock.sock_ops.ioctl(sock, request, varargs);
        },read:function (stream, buffer, offset, length, position /* ignored */) {
          var sock = stream.node.sock;
          var msg = sock.sock_ops.recvmsg(sock, length);
          if (!msg) {
            // socket is closed
            return 0;
          }
          buffer.set(msg.buffer, offset);
          return msg.buffer.length;
        },write:function (stream, buffer, offset, length, position /* ignored */) {
          var sock = stream.node.sock;
          return sock.sock_ops.sendmsg(sock, buffer, offset, length);
        },close:function (stream) {
          var sock = stream.node.sock;
          sock.sock_ops.close(sock);
        }},nextname:function () {
        if (!SOCKFS.nextname.current) {
          SOCKFS.nextname.current = 0;
        }
        return 'socket[' + (SOCKFS.nextname.current++) + ']';
      },websocket_sock_ops:{createPeer:function (sock, addr, port) {
          var ws;
          if (typeof addr === 'object') {
            ws = addr;
            addr = null;
            port = null;
          }
          if (ws) {
            // for sockets that've already connected (e.g. we're the server)
            // we can inspect the _socket property for the address
            if (ws._socket) {
              addr = ws._socket.remoteAddress;
              port = ws._socket.remotePort;
            }
            // if we're just now initializing a connection to the remote,
            // inspect the url property
            else {
              var result = /ws[s]?:\/\/([^:]+):(\d+)/.exec(ws.url);
              if (!result) {
                throw new Error('WebSocket URL must be in the format ws(s)://address:port');
              }
              addr = result[1];
              port = parseInt(result[2], 10);
            }
          } else {
            // create the actual websocket object and connect
            try {
              var url = 'ws://' + addr + ':' + port;
              // the node ws library API is slightly different than the browser's
              var opts = ENVIRONMENT_IS_NODE ? {headers: {'websocket-protocol': ['binary']}} : ['binary'];
              // If node we use the ws library.
              var WebSocket = ENVIRONMENT_IS_NODE ? require('ws') : window['WebSocket'];
              ws = new WebSocket(url, opts);
              ws.binaryType = 'arraybuffer';
            } catch (e) {
              throw new FS.ErrnoError(ERRNO_CODES.EHOSTUNREACH);
            }
          }
          var peer = {
            addr: addr,
            port: port,
            socket: ws,
            dgram_send_queue: []
          };
          SOCKFS.websocket_sock_ops.addPeer(sock, peer);
          SOCKFS.websocket_sock_ops.handlePeerEvents(sock, peer);
          // if this is a bound dgram socket, send the port number first to allow
          // us to override the ephemeral port reported to us by remotePort on the
          // remote end.
          if (sock.type === 2 && typeof sock.sport !== 'undefined') {
            peer.dgram_send_queue.push(new Uint8Array([
                255, 255, 255, 255,
                'p'.charCodeAt(0), 'o'.charCodeAt(0), 'r'.charCodeAt(0), 't'.charCodeAt(0),
                ((sock.sport & 0xff00) >> 8) , (sock.sport & 0xff)
            ]));
          }
          return peer;
        },getPeer:function (sock, addr, port) {
          return sock.peers[addr + ':' + port];
        },addPeer:function (sock, peer) {
          sock.peers[peer.addr + ':' + peer.port] = peer;
        },removePeer:function (sock, peer) {
          delete sock.peers[peer.addr + ':' + peer.port];
        },handlePeerEvents:function (sock, peer) {
          var first = true;
          var handleOpen = function () {
            try {
              var queued = peer.dgram_send_queue.shift();
              while (queued) {
                peer.socket.send(queued);
                queued = peer.dgram_send_queue.shift();
              }
            } catch (e) {
              // not much we can do here in the way of proper error handling as we've already
              // lied and said this data was sent. shut it down.
              peer.socket.close();
            }
          };
          function handleMessage(data) {
            assert(typeof data !== 'string' && data.byteLength !== undefined);  // must receive an ArrayBuffer
            data = new Uint8Array(data);  // make a typed array view on the array buffer
            // if this is the port message, override the peer's port with it
            var wasfirst = first;
            first = false;
            if (wasfirst &&
                data.length === 10 &&
                data[0] === 255 && data[1] === 255 && data[2] === 255 && data[3] === 255 &&
                data[4] === 'p'.charCodeAt(0) && data[5] === 'o'.charCodeAt(0) && data[6] === 'r'.charCodeAt(0) && data[7] === 't'.charCodeAt(0)) {
              // update the peer's port and it's key in the peer map
              var newport = ((data[8] << 8) | data[9]);
              SOCKFS.websocket_sock_ops.removePeer(sock, peer);
              peer.port = newport;
              SOCKFS.websocket_sock_ops.addPeer(sock, peer);
              return;
            }
            sock.recv_queue.push({ addr: peer.addr, port: peer.port, data: data });
          };
          if (ENVIRONMENT_IS_NODE) {
            peer.socket.on('open', handleOpen);
            peer.socket.on('message', function(data, flags) {
              if (!flags.binary) {
                return;
              }
              handleMessage((new Uint8Array(data)).buffer);  // copy from node Buffer -> ArrayBuffer
            });
            peer.socket.on('error', function() {
              // don't throw
            });
          } else {
            peer.socket.onopen = handleOpen;
            peer.socket.onmessage = function peer_socket_onmessage(event) {
              handleMessage(event.data);
            };
          }
        },poll:function (sock) {
          if (sock.type === 1 && sock.server) {
            // listen sockets should only say they're available for reading
            // if there are pending clients.
            return sock.pending.length ? (64 | 1) : 0;
          }
          var mask = 0;
          var dest = sock.type === 1 ?  // we only care about the socket state for connection-based sockets
            SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport) :
            null;
          if (sock.recv_queue.length ||
              !dest ||  // connection-less sockets are always ready to read
              (dest && dest.socket.readyState === dest.socket.CLOSING) ||
              (dest && dest.socket.readyState === dest.socket.CLOSED)) {  // let recv return 0 once closed
            mask |= (64 | 1);
          }
          if (!dest ||  // connection-less sockets are always ready to write
              (dest && dest.socket.readyState === dest.socket.OPEN)) {
            mask |= 4;
          }
          if ((dest && dest.socket.readyState === dest.socket.CLOSING) ||
              (dest && dest.socket.readyState === dest.socket.CLOSED)) {
            mask |= 16;
          }
          return mask;
        },ioctl:function (sock, request, arg) {
          switch (request) {
            case 21531:
              var bytes = 0;
              if (sock.recv_queue.length) {
                bytes = sock.recv_queue[0].data.length;
              }
              HEAP32[((arg)>>2)]=bytes;
              return 0;
            default:
              return ERRNO_CODES.EINVAL;
          }
        },close:function (sock) {
          // if we've spawned a listen server, close it
          if (sock.server) {
            try {
              sock.server.close();
            } catch (e) {
            }
            sock.server = null;
          }
          // close any peer connections
          var peers = Object.keys(sock.peers);
          for (var i = 0; i < peers.length; i++) {
            var peer = sock.peers[peers[i]];
            try {
              peer.socket.close();
            } catch (e) {
            }
            SOCKFS.websocket_sock_ops.removePeer(sock, peer);
          }
          return 0;
        },bind:function (sock, addr, port) {
          if (typeof sock.saddr !== 'undefined' || typeof sock.sport !== 'undefined') {
            throw new FS.ErrnoError(ERRNO_CODES.EINVAL);  // already bound
          }
          sock.saddr = addr;
          sock.sport = port || _mkport();
          // in order to emulate dgram sockets, we need to launch a listen server when
          // binding on a connection-less socket
          // note: this is only required on the server side
          if (sock.type === 2) {
            // close the existing server if it exists
            if (sock.server) {
              sock.server.close();
              sock.server = null;
            }
            // swallow error operation not supported error that occurs when binding in the
            // browser where this isn't supported
            try {
              sock.sock_ops.listen(sock, 0);
            } catch (e) {
              if (!(e instanceof FS.ErrnoError)) throw e;
              if (e.errno !== ERRNO_CODES.EOPNOTSUPP) throw e;
            }
          }
        },connect:function (sock, addr, port) {
          if (sock.server) {
            throw new FS.ErrnoError(ERRNO_CODS.EOPNOTSUPP);
          }
          // TODO autobind
          // if (!sock.addr && sock.type == 2) {
          // }
          // early out if we're already connected / in the middle of connecting
          if (typeof sock.daddr !== 'undefined' && typeof sock.dport !== 'undefined') {
            var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
            if (dest) {
              if (dest.socket.readyState === dest.socket.CONNECTING) {
                throw new FS.ErrnoError(ERRNO_CODES.EALREADY);
              } else {
                throw new FS.ErrnoError(ERRNO_CODES.EISCONN);
              }
            }
          }
          // add the socket to our peer list and set our
          // destination address / port to match
          var peer = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
          sock.daddr = peer.addr;
          sock.dport = peer.port;
          // always "fail" in non-blocking mode
          throw new FS.ErrnoError(ERRNO_CODES.EINPROGRESS);
        },listen:function (sock, backlog) {
          if (!ENVIRONMENT_IS_NODE) {
            throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);
          }
          if (sock.server) {
             throw new FS.ErrnoError(ERRNO_CODES.EINVAL);  // already listening
          }
          var WebSocketServer = require('ws').Server;
          var host = sock.saddr;
          sock.server = new WebSocketServer({
            host: host,
            port: sock.sport
            // TODO support backlog
          });
          sock.server.on('connection', function(ws) {
            if (sock.type === 1) {
              var newsock = SOCKFS.createSocket(sock.family, sock.type, sock.protocol);
              // create a peer on the new socket
              var peer = SOCKFS.websocket_sock_ops.createPeer(newsock, ws);
              newsock.daddr = peer.addr;
              newsock.dport = peer.port;
              // push to queue for accept to pick up
              sock.pending.push(newsock);
            } else {
              // create a peer on the listen socket so calling sendto
              // with the listen socket and an address will resolve
              // to the correct client
              SOCKFS.websocket_sock_ops.createPeer(sock, ws);
            }
          });
          sock.server.on('closed', function() {
            sock.server = null;
          });
          sock.server.on('error', function() {
            // don't throw
          });
        },accept:function (listensock) {
          if (!listensock.server) {
            throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
          }
          var newsock = listensock.pending.shift();
          newsock.stream.flags = listensock.stream.flags;
          return newsock;
        },getname:function (sock, peer) {
          var addr, port;
          if (peer) {
            if (sock.daddr === undefined || sock.dport === undefined) {
              throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
            }
            addr = sock.daddr;
            port = sock.dport;
          } else {
            // TODO saddr and sport will be set for bind()'d UDP sockets, but what
            // should we be returning for TCP sockets that've been connect()'d?
            addr = sock.saddr || 0;
            port = sock.sport || 0;
          }
          return { addr: addr, port: port };
        },sendmsg:function (sock, buffer, offset, length, addr, port) {
          if (sock.type === 2) {
            // connection-less sockets will honor the message address,
            // and otherwise fall back to the bound destination address
            if (addr === undefined || port === undefined) {
              addr = sock.daddr;
              port = sock.dport;
            }
            // if there was no address to fall back to, error out
            if (addr === undefined || port === undefined) {
              throw new FS.ErrnoError(ERRNO_CODES.EDESTADDRREQ);
            }
          } else {
            // connection-based sockets will only use the bound
            addr = sock.daddr;
            port = sock.dport;
          }
          // find the peer for the destination address
          var dest = SOCKFS.websocket_sock_ops.getPeer(sock, addr, port);
          // early out if not connected with a connection-based socket
          if (sock.type === 1) {
            if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
              throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
            } else if (dest.socket.readyState === dest.socket.CONNECTING) {
              throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
            }
          }
          // create a copy of the incoming data to send, as the WebSocket API
          // doesn't work entirely with an ArrayBufferView, it'll just send
          // the entire underlying buffer
          var data;
          if (buffer instanceof Array || buffer instanceof ArrayBuffer) {
            data = buffer.slice(offset, offset + length);
          } else {  // ArrayBufferView
            data = buffer.buffer.slice(buffer.byteOffset + offset, buffer.byteOffset + offset + length);
          }
          // if we're emulating a connection-less dgram socket and don't have
          // a cached connection, queue the buffer to send upon connect and
          // lie, saying the data was sent now.
          if (sock.type === 2) {
            if (!dest || dest.socket.readyState !== dest.socket.OPEN) {
              // if we're not connected, open a new connection
              if (!dest || dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
                dest = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
              }
              dest.dgram_send_queue.push(data);
              return length;
            }
          }
          try {
            // send the actual data
            dest.socket.send(data);
            return length;
          } catch (e) {
            throw new FS.ErrnoError(ERRNO_CODES.EINVAL);
          }
        },recvmsg:function (sock, length) {
          // http://pubs.opengroup.org/onlinepubs/7908799/xns/recvmsg.html
          if (sock.type === 1 && sock.server) {
            // tcp servers should not be recv()'ing on the listen socket
            throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
          }
          var queued = sock.recv_queue.shift();
          if (!queued) {
            if (sock.type === 1) {
              var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
              if (!dest) {
                // if we have a destination address but are not connected, error out
                throw new FS.ErrnoError(ERRNO_CODES.ENOTCONN);
              }
              else if (dest.socket.readyState === dest.socket.CLOSING || dest.socket.readyState === dest.socket.CLOSED) {
                // return null if the socket has closed
                return null;
              }
              else {
                // else, our socket is in a valid state but truly has nothing available
                throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
              }
            } else {
              throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);
            }
          }
          // queued.data will be an ArrayBuffer if it's unadulterated, but if it's
          // requeued TCP data it'll be an ArrayBufferView
          var queuedLength = queued.data.byteLength || queued.data.length;
          var queuedOffset = queued.data.byteOffset || 0;
          var queuedBuffer = queued.data.buffer || queued.data;
          var bytesRead = Math.min(length, queuedLength);
          var res = {
            buffer: new Uint8Array(queuedBuffer, queuedOffset, bytesRead),
            addr: queued.addr,
            port: queued.port
          };
          // push back any unread data for TCP connections
          if (sock.type === 1 && bytesRead < queuedLength) {
            var bytesRemaining = queuedLength - bytesRead;
            queued.data = new Uint8Array(queuedBuffer, queuedOffset + bytesRead, bytesRemaining);
            sock.recv_queue.unshift(queued);
          }
          return res;
        }}};function _send(fd, buf, len, flags) {
      var sock = SOCKFS.getSocket(fd);
      if (!sock) {
        ___setErrNo(ERRNO_CODES.EBADF);
        return -1;
      }
      // TODO honor flags
      return _write(fd, buf, len);
    }
  function _pwrite(fildes, buf, nbyte, offset) {
      // ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
      // http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html
      var stream = FS.getStream(fildes);
      if (!stream) {
        ___setErrNo(ERRNO_CODES.EBADF);
        return -1;
      }
      try {
        var slab = HEAP8;
        return FS.write(stream, slab, buf, nbyte, offset);
      } catch (e) {
        FS.handleFSError(e);
        return -1;
      }
    }function _write(fildes, buf, nbyte) {
      // ssize_t write(int fildes, const void *buf, size_t nbyte);
      // http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html
      var stream = FS.getStream(fildes);
      if (!stream) {
        ___setErrNo(ERRNO_CODES.EBADF);
        return -1;
      }
      try {
        var slab = HEAP8;
        return FS.write(stream, slab, buf, nbyte);
      } catch (e) {
        FS.handleFSError(e);
        return -1;
      }
    }function _fwrite(ptr, size, nitems, stream) {
      // size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream);
      // http://pubs.opengroup.org/onlinepubs/000095399/functions/fwrite.html
      var bytesToWrite = nitems * size;
      if (bytesToWrite == 0) return 0;
      var bytesWritten = _write(stream, ptr, bytesToWrite);
      if (bytesWritten == -1) {
        var streamObj = FS.getStream(stream);
        if (streamObj) streamObj.error = true;
        return 0;
      } else {
        return Math.floor(bytesWritten / size);
      }
    }
  function _strlen(ptr) {
      ptr = ptr|0;
      var curr = 0;
      curr = ptr;
      while (HEAP8[(curr)]) {
        curr = (curr + 1)|0;
      }
      return (curr - ptr)|0;
    }
  function __reallyNegative(x) {
      return x < 0 || (x === 0 && (1/x) === -Infinity);
    }function __formatString(format, varargs) {
      var textIndex = format;
      var argIndex = 0;
      function getNextArg(type) {
        // NOTE: Explicitly ignoring type safety. Otherwise this fails:
        //       int x = 4; printf("%c\n", (char)x);
        var ret;
        if (type === 'double') {
          ret = HEAPF64[(((varargs)+(argIndex))>>3)];
        } else if (type == 'i64') {
          ret = [HEAP32[(((varargs)+(argIndex))>>2)],
                 HEAP32[(((varargs)+(argIndex+8))>>2)]];
          argIndex += 8; // each 32-bit chunk is in a 64-bit block
        } else {
          type = 'i32'; // varargs are always i32, i64, or double
          ret = HEAP32[(((varargs)+(argIndex))>>2)];
        }
        argIndex += Math.max(Runtime.getNativeFieldSize(type), Runtime.getAlignSize(type, null, true));
        return ret;
      }
      var ret = [];
      var curr, next, currArg;
      while(1) {
        var startTextIndex = textIndex;
        curr = HEAP8[(textIndex)];
        if (curr === 0) break;
        next = HEAP8[((textIndex+1)|0)];
        if (curr == 37) {
          // Handle flags.
          var flagAlwaysSigned = false;
          var flagLeftAlign = false;
          var flagAlternative = false;
          var flagZeroPad = false;
          var flagPadSign = false;
          flagsLoop: while (1) {
            switch (next) {
              case 43:
                flagAlwaysSigned = true;
                break;
              case 45:
                flagLeftAlign = true;
                break;
              case 35:
                flagAlternative = true;
                break;
              case 48:
                if (flagZeroPad) {
                  break flagsLoop;
                } else {
                  flagZeroPad = true;
                  break;
                }
              case 32:
                flagPadSign = true;
                break;
              default:
                break flagsLoop;
            }
            textIndex++;
            next = HEAP8[((textIndex+1)|0)];
          }
          // Handle width.
          var width = 0;
          if (next == 42) {
            width = getNextArg('i32');
            textIndex++;
            next = HEAP8[((textIndex+1)|0)];
          } else {
            while (next >= 48 && next <= 57) {
              width = width * 10 + (next - 48);
              textIndex++;
              next = HEAP8[((textIndex+1)|0)];
            }
          }
          // Handle precision.
          var precisionSet = false;
          if (next == 46) {
            var precision = 0;
            precisionSet = true;
            textIndex++;
            next = HEAP8[((textIndex+1)|0)];
            if (next == 42) {
              precision = getNextArg('i32');
              textIndex++;
            } else {
              while(1) {
                var precisionChr = HEAP8[((textIndex+1)|0)];
                if (precisionChr < 48 ||
                    precisionChr > 57) break;
                precision = precision * 10 + (precisionChr - 48);
                textIndex++;
              }
            }
            next = HEAP8[((textIndex+1)|0)];
          } else {
            var precision = 6; // Standard default.
          }
          // Handle integer sizes. WARNING: These assume a 32-bit architecture!
          var argSize;
          switch (String.fromCharCode(next)) {
            case 'h':
              var nextNext = HEAP8[((textIndex+2)|0)];
              if (nextNext == 104) {
                textIndex++;
                argSize = 1; // char (actually i32 in varargs)
              } else {
                argSize = 2; // short (actually i32 in varargs)
              }
              break;
            case 'l':
              var nextNext = HEAP8[((textIndex+2)|0)];
              if (nextNext == 108) {
                textIndex++;
                argSize = 8; // long long
              } else {
                argSize = 4; // long
              }
              break;
            case 'L': // long long
            case 'q': // int64_t
            case 'j': // intmax_t
              argSize = 8;
              break;
            case 'z': // size_t
            case 't': // ptrdiff_t
            case 'I': // signed ptrdiff_t or unsigned size_t
              argSize = 4;
              break;
            default:
              argSize = null;
          }
          if (argSize) textIndex++;
          next = HEAP8[((textIndex+1)|0)];
          // Handle type specifier.
          switch (String.fromCharCode(next)) {
            case 'd': case 'i': case 'u': case 'o': case 'x': case 'X': case 'p': {
              // Integer.
              var signed = next == 100 || next == 105;
              argSize = argSize || 4;
              var currArg = getNextArg('i' + (argSize * 8));
              var origArg = currArg;
              var argText;
              // Flatten i64-1 [low, high] into a (slightly rounded) double
              if (argSize == 8) {
                currArg = Runtime.makeBigInt(currArg[0], currArg[1], next == 117);
              }
              // Truncate to requested size.
              if (argSize <= 4) {
                var limit = Math.pow(256, argSize) - 1;
                currArg = (signed ? reSign : unSign)(currArg & limit, argSize * 8);
              }
              // Format the number.
              var currAbsArg = Math.abs(currArg);
              var prefix = '';
              if (next == 100 || next == 105) {
                if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], null); else
                argText = reSign(currArg, 8 * argSize, 1).toString(10);
              } else if (next == 117) {
                if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], true); else
                argText = unSign(currArg, 8 * argSize, 1).toString(10);
                currArg = Math.abs(currArg);
              } else if (next == 111) {
                argText = (flagAlternative ? '0' : '') + currAbsArg.toString(8);
              } else if (next == 120 || next == 88) {
                prefix = (flagAlternative && currArg != 0) ? '0x' : '';
                if (argSize == 8 && i64Math) {
                  if (origArg[1]) {
                    argText = (origArg[1]>>>0).toString(16);
                    var lower = (origArg[0]>>>0).toString(16);
                    while (lower.length < 8) lower = '0' + lower;
                    argText += lower;
                  } else {
                    argText = (origArg[0]>>>0).toString(16);
                  }
                } else
                if (currArg < 0) {
                  // Represent negative numbers in hex as 2's complement.
                  currArg = -currArg;
                  argText = (currAbsArg - 1).toString(16);
                  var buffer = [];
                  for (var i = 0; i < argText.length; i++) {
                    buffer.push((0xF - parseInt(argText[i], 16)).toString(16));
                  }
                  argText = buffer.join('');
                  while (argText.length < argSize * 2) argText = 'f' + argText;
                } else {
                  argText = currAbsArg.toString(16);
                }
                if (next == 88) {
                  prefix = prefix.toUpperCase();
                  argText = argText.toUpperCase();
                }
              } else if (next == 112) {
                if (currAbsArg === 0) {
                  argText = '(nil)';
                } else {
                  prefix = '0x';
                  argText = currAbsArg.toString(16);
                }
              }
              if (precisionSet) {
                while (argText.length < precision) {
                  argText = '0' + argText;
                }
              }
              // Add sign if needed
              if (currArg >= 0) {
                if (flagAlwaysSigned) {
                  prefix = '+' + prefix;
                } else if (flagPadSign) {
                  prefix = ' ' + prefix;
                }
              }
              // Move sign to prefix so we zero-pad after the sign
              if (argText.charAt(0) == '-') {
                prefix = '-' + prefix;
                argText = argText.substr(1);
              }
              // Add padding.
              while (prefix.length + argText.length < width) {
                if (flagLeftAlign) {
                  argText += ' ';
                } else {
                  if (flagZeroPad) {
                    argText = '0' + argText;
                  } else {
                    prefix = ' ' + prefix;
                  }
                }
              }
              // Insert the result into the buffer.
              argText = prefix + argText;
              argText.split('').forEach(function(chr) {
                ret.push(chr.charCodeAt(0));
              });
              break;
            }
            case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': {
              // Float.
              var currArg = getNextArg('double');
              var argText;
              if (isNaN(currArg)) {
                argText = 'nan';
                flagZeroPad = false;
              } else if (!isFinite(currArg)) {
                argText = (currArg < 0 ? '-' : '') + 'inf';
                flagZeroPad = false;
              } else {
                var isGeneral = false;
                var effectivePrecision = Math.min(precision, 20);
                // Convert g/G to f/F or e/E, as per:
                // http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html
                if (next == 103 || next == 71) {
                  isGeneral = true;
                  precision = precision || 1;
                  var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10);
                  if (precision > exponent && exponent >= -4) {
                    next = ((next == 103) ? 'f' : 'F').charCodeAt(0);
                    precision -= exponent + 1;
                  } else {
                    next = ((next == 103) ? 'e' : 'E').charCodeAt(0);
                    precision--;
                  }
                  effectivePrecision = Math.min(precision, 20);
                }
                if (next == 101 || next == 69) {
                  argText = currArg.toExponential(effectivePrecision);
                  // Make sure the exponent has at least 2 digits.
                  if (/[eE][-+]\d$/.test(argText)) {
                    argText = argText.slice(0, -1) + '0' + argText.slice(-1);
                  }
                } else if (next == 102 || next == 70) {
                  argText = currArg.toFixed(effectivePrecision);
                  if (currArg === 0 && __reallyNegative(currArg)) {
                    argText = '-' + argText;
                  }
                }
                var parts = argText.split('e');
                if (isGeneral && !flagAlternative) {
                  // Discard trailing zeros and periods.
                  while (parts[0].length > 1 && parts[0].indexOf('.') != -1 &&
                         (parts[0].slice(-1) == '0' || parts[0].slice(-1) == '.')) {
                    parts[0] = parts[0].slice(0, -1);
                  }
                } else {
                  // Make sure we have a period in alternative mode.
                  if (flagAlternative && argText.indexOf('.') == -1) parts[0] += '.';
                  // Zero pad until required precision.
                  while (precision > effectivePrecision++) parts[0] += '0';
                }
                argText = parts[0] + (parts.length > 1 ? 'e' + parts[1] : '');
                // Capitalize 'E' if needed.
                if (next == 69) argText = argText.toUpperCase();
                // Add sign.
                if (currArg >= 0) {
                  if (flagAlwaysSigned) {
                    argText = '+' + argText;
                  } else if (flagPadSign) {
                    argText = ' ' + argText;
                  }
                }
              }
              // Add padding.
              while (argText.length < width) {
                if (flagLeftAlign) {
                  argText += ' ';
                } else {
                  if (flagZeroPad && (argText[0] == '-' || argText[0] == '+')) {
                    argText = argText[0] + '0' + argText.slice(1);
                  } else {
                    argText = (flagZeroPad ? '0' : ' ') + argText;
                  }
                }
              }
              // Adjust case.
              if (next < 97) argText = argText.toUpperCase();
              // Insert the result into the buffer.
              argText.split('').forEach(function(chr) {
                ret.push(chr.charCodeAt(0));
              });
              break;
            }
            case 's': {
              // String.
              var arg = getNextArg('i8*');
              var argLength = arg ? _strlen(arg) : '(null)'.length;
              if (precisionSet) argLength = Math.min(argLength, precision);
              if (!flagLeftAlign) {
                while (argLength < width--) {
                  ret.push(32);
                }
              }
              if (arg) {
                for (var i = 0; i < argLength; i++) {
                  ret.push(HEAPU8[((arg++)|0)]);
                }
              } else {
                ret = ret.concat(intArrayFromString('(null)'.substr(0, argLength), true));
              }
              if (flagLeftAlign) {
                while (argLength < width--) {
                  ret.push(32);
                }
              }
              break;
            }
            case 'c': {
              // Character.
              if (flagLeftAlign) ret.push(getNextArg('i8'));
              while (--width > 0) {
                ret.push(32);
              }
              if (!flagLeftAlign) ret.push(getNextArg('i8'));
              break;
            }
            case 'n': {
              // Write the length written so far to the next parameter.
              var ptr = getNextArg('i32*');
              HEAP32[((ptr)>>2)]=ret.length
              break;
            }
            case '%': {
              // Literal percent sign.
              ret.push(curr);
              break;
            }
            default: {
              // Unknown specifiers remain untouched.
              for (var i = startTextIndex; i < textIndex + 2; i++) {
                ret.push(HEAP8[(i)]);
              }
            }
          }
          textIndex += 2;
          // TODO: Support a/A (hex float) and m (last error) specifiers.
          // TODO: Support %1${specifier} for arg selection.
        } else {
          ret.push(curr);
          textIndex += 1;
        }
      }
      return ret;
    }function _fprintf(stream, format, varargs) {
      // int fprintf(FILE *restrict stream, const char *restrict format, ...);
      // http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html
      var result = __formatString(format, varargs);
      var stack = Runtime.stackSave();
      var ret = _fwrite(allocate(result, 'i8', ALLOC_STACK), 1, result.length, stream);
      Runtime.stackRestore(stack);
      return ret;
    }function _printf(format, varargs) {
      // int printf(const char *restrict format, ...);
      // http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html
      var stdout = HEAP32[((_stdout)>>2)];
      return _fprintf(stdout, format, varargs);
    }
  function _memset(ptr, value, num) {
      ptr = ptr|0; value = value|0; num = num|0;
      var stop = 0, value4 = 0, stop4 = 0, unaligned = 0;
      stop = (ptr + num)|0;
      if ((num|0) >= 20) {
        // This is unaligned, but quite large, so work hard to get to aligned settings
        value = value & 0xff;
        unaligned = ptr & 3;
        value4 = value | (value << 8) | (value << 16) | (value << 24);
        stop4 = stop & ~3;
        if (unaligned) {
          unaligned = (ptr + 4 - unaligned)|0;
          while ((ptr|0) < (unaligned|0)) { // no need to check for stop, since we have large num
            HEAP8[(ptr)]=value;
            ptr = (ptr+1)|0;
          }
        }
        while ((ptr|0) < (stop4|0)) {
          HEAP32[((ptr)>>2)]=value4;
          ptr = (ptr+4)|0;
        }
      }
      while ((ptr|0) < (stop|0)) {
        HEAP8[(ptr)]=value;
        ptr = (ptr+1)|0;
      }
      return (ptr-num)|0;
    }var _llvm_memset_p0i8_i32=_memset;
  function _memcpy(dest, src, num) {
      dest = dest|0; src = src|0; num = num|0;
      var ret = 0;
      ret = dest|0;
      if ((dest&3) == (src&3)) {
        while (dest & 3) {
          if ((num|0) == 0) return ret|0;
          HEAP8[(dest)]=HEAP8[(src)];
          dest = (dest+1)|0;
          src = (src+1)|0;
          num = (num-1)|0;
        }
        while ((num|0) >= 4) {
          HEAP32[((dest)>>2)]=HEAP32[((src)>>2)];
          dest = (dest+4)|0;
          src = (src+4)|0;
          num = (num-4)|0;
        }
      }
      while ((num|0) > 0) {
        HEAP8[(dest)]=HEAP8[(src)];
        dest = (dest+1)|0;
        src = (src+1)|0;
        num = (num-1)|0;
      }
      return ret|0;
    }var _llvm_memcpy_p0i8_p0i8_i32=_memcpy;
  function _abort() {
      Module['abort']();
    }
  function ___errno_location() {
      return ___errno_state;
    }
  function _sbrk(bytes) {
      // Implement a Linux-like 'memory area' for our 'process'.
      // Changes the size of the memory area by |bytes|; returns the
      // address of the previous top ('break') of the memory area
      // We control the "dynamic" memory - DYNAMIC_BASE to DYNAMICTOP
      var self = _sbrk;
      if (!self.called) {
        DYNAMICTOP = alignMemoryPage(DYNAMICTOP); // make sure we start out aligned
        self.called = true;
        assert(Runtime.dynamicAlloc);
        self.alloc = Runtime.dynamicAlloc;
        Runtime.dynamicAlloc = function() { abort('cannot dynamically allocate, sbrk now has control') };
      }
      var ret = DYNAMICTOP;
      if (bytes != 0) self.alloc(bytes);
      return ret;  // Previous break location.
    }
  function _sysconf(name) {
      // long sysconf(int name);
      // http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html
      switch(name) {
        case 30: return PAGE_SIZE;
        case 132:
        case 133:
        case 12:
        case 137:
        case 138:
        case 15:
        case 235:
        case 16:
        case 17:
        case 18:
        case 19:
        case 20:
        case 149:
        case 13:
        case 10:
        case 236:
        case 153:
        case 9:
        case 21:
        case 22:
        case 159:
        case 154:
        case 14:
        case 77:
        case 78:
        case 139:
        case 80:
        case 81:
        case 79:
        case 82:
        case 68:
        case 67:
        case 164:
        case 11:
        case 29:
        case 47:
        case 48:
        case 95:
        case 52:
        case 51:
        case 46:
          return 200809;
        case 27:
        case 246:
        case 127:
        case 128:
        case 23:
        case 24:
        case 160:
        case 161:
        case 181:
        case 182:
        case 242:
        case 183:
        case 184:
        case 243:
        case 244:
        case 245:
        case 165:
        case 178:
        case 179:
        case 49:
        case 50:
        case 168:
        case 169:
        case 175:
        case 170:
        case 171:
        case 172:
        case 97:
        case 76:
        case 32:
        case 173:
        case 35:
          return -1;
        case 176:
        case 177:
        case 7:
        case 155:
        case 8:
        case 157:
        case 125:
        case 126:
        case 92:
        case 93:
        case 129:
        case 130:
        case 131:
        case 94:
        case 91:
          return 1;
        case 74:
        case 60:
        case 69:
        case 70:
        case 4:
          return 1024;
        case 31:
        case 42:
        case 72:
          return 32;
        case 87:
        case 26:
        case 33:
          return 2147483647;
        case 34:
        case 1:
          return 47839;
        case 38:
        case 36:
          return 99;
        case 43:
        case 37:
          return 2048;
        case 0: return 2097152;
        case 3: return 65536;
        case 28: return 32768;
        case 44: return 32767;
        case 75: return 16384;
        case 39: return 1000;
        case 89: return 700;
        case 71: return 256;
        case 40: return 255;
        case 2: return 100;
        case 180: return 64;
        case 25: return 20;
        case 5: return 16;
        case 6: return 6;
        case 73: return 4;
        case 84: return 1;
      }
      ___setErrNo(ERRNO_CODES.EINVAL);
      return -1;
    }
  function _time(ptr) {
      var ret = Math.floor(Date.now()/1000);
      if (ptr) {
        HEAP32[((ptr)>>2)]=ret
      }
      return ret;
    }
  var Browser={mainLoop:{scheduler:null,shouldPause:false,paused:false,queue:[],pause:function () {
          Browser.mainLoop.shouldPause = true;
        },resume:function () {
          if (Browser.mainLoop.paused) {
            Browser.mainLoop.paused = false;
            Browser.mainLoop.scheduler();
          }
          Browser.mainLoop.shouldPause = false;
        },updateStatus:function () {
          if (Module['setStatus']) {
            var message = Module['statusMessage'] || 'Please wait...';
            var remaining = Browser.mainLoop.remainingBlockers;
            var expected = Browser.mainLoop.expectedBlockers;
            if (remaining) {
              if (remaining < expected) {
                Module['setStatus'](message + ' (' + (expected - remaining) + '/' + expected + ')');
              } else {
                Module['setStatus'](message);
              }
            } else {
              Module['setStatus']('');
            }
          }
        }},isFullScreen:false,pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],init:function () {
        if (!Module["preloadPlugins"]) Module["preloadPlugins"] = []; // needs to exist even in workers
        if (Browser.initted || ENVIRONMENT_IS_WORKER) return;
        Browser.initted = true;
        try {
          new Blob();
          Browser.hasBlobConstructor = true;
        } catch(e) {
          Browser.hasBlobConstructor = false;
          console.log("warning: no blob constructor, cannot create blobs with mimetypes");
        }
        Browser.BlobBuilder = typeof MozBlobBuilder != "undefined" ? MozBlobBuilder : (typeof WebKitBlobBuilder != "undefined" ? WebKitBlobBuilder : (!Browser.hasBlobConstructor ? console.log("warning: no BlobBuilder") : null));
        Browser.URLObject = typeof window != "undefined" ? (window.URL ? window.URL : window.webkitURL) : undefined;
        if (!Module.noImageDecoding && typeof Browser.URLObject === 'undefined') {
          console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.");
          Module.noImageDecoding = true;
        }
        // Support for plugins that can process preloaded files. You can add more of these to
        // your app by creating and appending to Module.preloadPlugins.
        //
        // Each plugin is asked if it can handle a file based on the file's name. If it can,
        // it is given the file's raw data. When it is done, it calls a callback with the file's
        // (possibly modified) data. For example, a plugin might decompress a file, or it
        // might create some side data structure for use later (like an Image element, etc.).
        var imagePlugin = {};
        imagePlugin['canHandle'] = function imagePlugin_canHandle(name) {
          return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/i.test(name);
        };
        imagePlugin['handle'] = function imagePlugin_handle(byteArray, name, onload, onerror) {
          var b = null;
          if (Browser.hasBlobConstructor) {
            try {
              b = new Blob([byteArray], { type: Browser.getMimetype(name) });
              if (b.size !== byteArray.length) { // Safari bug #118630
                // Safari's Blob can only take an ArrayBuffer
                b = new Blob([(new Uint8Array(byteArray)).buffer], { type: Browser.getMimetype(name) });
              }
            } catch(e) {
              Runtime.warnOnce('Blob constructor present but fails: ' + e + '; falling back to blob builder');
            }
          }
          if (!b) {
            var bb = new Browser.BlobBuilder();
            bb.append((new Uint8Array(byteArray)).buffer); // we need to pass a buffer, and must copy the array to get the right data range
            b = bb.getBlob();
          }
          var url = Browser.URLObject.createObjectURL(b);
          assert(typeof url == 'string', 'createObjectURL must return a url as a string');
          var img = new Image();
          img.onload = function img_onload() {
            assert(img.complete, 'Image ' + name + ' could not be decoded');
            var canvas = document.createElement('canvas');
            canvas.width = img.width;
            canvas.height = img.height;
            var ctx = canvas.getContext('2d');
            ctx.drawImage(img, 0, 0);
            Module["preloadedImages"][name] = canvas;
            Browser.URLObject.revokeObjectURL(url);
            if (onload) onload(byteArray);
          };
          img.onerror = function img_onerror(event) {
            console.log('Image ' + url + ' could not be decoded');
            if (onerror) onerror();
          };
          img.src = url;
        };
        Module['preloadPlugins'].push(imagePlugin);
        var audioPlugin = {};
        audioPlugin['canHandle'] = function audioPlugin_canHandle(name) {
          return !Module.noAudioDecoding && name.substr(-4) in { '.ogg': 1, '.wav': 1, '.mp3': 1 };
        };
        audioPlugin['handle'] = function audioPlugin_handle(byteArray, name, onload, onerror) {
          var done = false;
          function finish(audio) {
            if (done) return;
            done = true;
            Module["preloadedAudios"][name] = audio;
            if (onload) onload(byteArray);
          }
          function fail() {
            if (done) return;
            done = true;
            Module["preloadedAudios"][name] = new Audio(); // empty shim
            if (onerror) onerror();
          }
          if (Browser.hasBlobConstructor) {
            try {
              var b = new Blob([byteArray], { type: Browser.getMimetype(name) });
            } catch(e) {
              return fail();
            }
            var url = Browser.URLObject.createObjectURL(b); // XXX we never revoke this!
            assert(typeof url == 'string', 'createObjectURL must return a url as a string');
            var audio = new Audio();
            audio.addEventListener('canplaythrough', function() { finish(audio) }, false); // use addEventListener due to chromium bug 124926
            audio.onerror = function audio_onerror(event) {
              if (done) return;
              console.log('warning: browser could not fully decode audio ' + name + ', trying slower base64 approach');
              function encode64(data) {
                var BASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
                var PAD = '=';
                var ret = '';
                var leftchar = 0;
                var leftbits = 0;
                for (var i = 0; i < data.length; i++) {
                  leftchar = (leftchar << 8) | data[i];
                  leftbits += 8;
                  while (leftbits >= 6) {
                    var curr = (leftchar >> (leftbits-6)) & 0x3f;
                    leftbits -= 6;
                    ret += BASE[curr];
                  }
                }
                if (leftbits == 2) {
                  ret += BASE[(leftchar&3) << 4];
                  ret += PAD + PAD;
                } else if (leftbits == 4) {
                  ret += BASE[(leftchar&0xf) << 2];
                  ret += PAD;
                }
                return ret;
              }
              audio.src = 'data:audio/x-' + name.substr(-3) + ';base64,' + encode64(byteArray);
              finish(audio); // we don't wait for confirmation this worked - but it's worth trying
            };
            audio.src = url;
            // workaround for chrome bug 124926 - we do not always get oncanplaythrough or onerror
            Browser.safeSetTimeout(function() {
              finish(audio); // try to use it even though it is not necessarily ready to play
            }, 10000);
          } else {
            return fail();
          }
        };
        Module['preloadPlugins'].push(audioPlugin);
        // Canvas event setup
        var canvas = Module['canvas'];
        canvas.requestPointerLock = canvas['requestPointerLock'] ||
                                    canvas['mozRequestPointerLock'] ||
                                    canvas['webkitRequestPointerLock'];
        canvas.exitPointerLock = document['exitPointerLock'] ||
                                 document['mozExitPointerLock'] ||
                                 document['webkitExitPointerLock'] ||
                                 function(){}; // no-op if function does not exist
        canvas.exitPointerLock = canvas.exitPointerLock.bind(document);
        function pointerLockChange() {
          Browser.pointerLock = document['pointerLockElement'] === canvas ||
                                document['mozPointerLockElement'] === canvas ||
                                document['webkitPointerLockElement'] === canvas;
        }
        document.addEventListener('pointerlockchange', pointerLockChange, false);
        document.addEventListener('mozpointerlockchange', pointerLockChange, false);
        document.addEventListener('webkitpointerlockchange', pointerLockChange, false);
        if (Module['elementPointerLock']) {
          canvas.addEventListener("click", function(ev) {
            if (!Browser.pointerLock && canvas.requestPointerLock) {
              canvas.requestPointerLock();
              ev.preventDefault();
            }
          }, false);
        }
      },createContext:function (canvas, useWebGL, setInModule, webGLContextAttributes) {
        var ctx;
        try {
          if (useWebGL) {
            var contextAttributes = {
              antialias: false,
              alpha: false
            };
            if (webGLContextAttributes) {
              for (var attribute in webGLContextAttributes) {
                contextAttributes[attribute] = webGLContextAttributes[attribute];
              }
            }
            var errorInfo = '?';
            function onContextCreationError(event) {
              errorInfo = event.statusMessage || errorInfo;
            }
            canvas.addEventListener('webglcontextcreationerror', onContextCreationError, false);
            try {
              ['experimental-webgl', 'webgl'].some(function(webglId) {
                return ctx = canvas.getContext(webglId, contextAttributes);
              });
            } finally {
              canvas.removeEventListener('webglcontextcreationerror', onContextCreationError, false);
            }
          } else {
            ctx = canvas.getContext('2d');
          }
          if (!ctx) throw ':(';
        } catch (e) {
          Module.print('Could not create canvas: ' + [errorInfo, e]);
          return null;
        }
        if (useWebGL) {
          // Set the background of the WebGL canvas to black
          canvas.style.backgroundColor = "black";
          // Warn on context loss
          canvas.addEventListener('webglcontextlost', function(event) {
            alert('WebGL context lost. You will need to reload the page.');
          }, false);
        }
        if (setInModule) {
          Module.ctx = ctx;
          Module.useWebGL = useWebGL;
          Browser.moduleContextCreatedCallbacks.forEach(function(callback) { callback() });
          Browser.init();
        }
        return ctx;
      },destroyContext:function (canvas, useWebGL, setInModule) {},fullScreenHandlersInstalled:false,lockPointer:undefined,resizeCanvas:undefined,requestFullScreen:function (lockPointer, resizeCanvas) {
        Browser.lockPointer = lockPointer;
        Browser.resizeCanvas = resizeCanvas;
        if (typeof Browser.lockPointer === 'undefined') Browser.lockPointer = true;
        if (typeof Browser.resizeCanvas === 'undefined') Browser.resizeCanvas = false;
        var canvas = Module['canvas'];
        function fullScreenChange() {
          Browser.isFullScreen = false;
          if ((document['webkitFullScreenElement'] || document['webkitFullscreenElement'] ||
               document['mozFullScreenElement'] || document['mozFullscreenElement'] ||
               document['fullScreenElement'] || document['fullscreenElement']) === canvas) {
            canvas.cancelFullScreen = document['cancelFullScreen'] ||
                                      document['mozCancelFullScreen'] ||
                                      document['webkitCancelFullScreen'];
            canvas.cancelFullScreen = canvas.cancelFullScreen.bind(document);
            if (Browser.lockPointer) canvas.requestPointerLock();
            Browser.isFullScreen = true;
            if (Browser.resizeCanvas) Browser.setFullScreenCanvasSize();
          } else if (Browser.resizeCanvas){
            Browser.setWindowedCanvasSize();
          }
          if (Module['onFullScreen']) Module['onFullScreen'](Browser.isFullScreen);
        }
        if (!Browser.fullScreenHandlersInstalled) {
          Browser.fullScreenHandlersInstalled = true;
          document.addEventListener('fullscreenchange', fullScreenChange, false);
          document.addEventListener('mozfullscreenchange', fullScreenChange, false);
          document.addEventListener('webkitfullscreenchange', fullScreenChange, false);
        }
        canvas.requestFullScreen = canvas['requestFullScreen'] ||
                                   canvas['mozRequestFullScreen'] ||
                                   (canvas['webkitRequestFullScreen'] ? function() { canvas['webkitRequestFullScreen'](Element['ALLOW_KEYBOARD_INPUT']) } : null);
        canvas.requestFullScreen();
      },requestAnimationFrame:function requestAnimationFrame(func) {
        if (typeof window === 'undefined') { // Provide fallback to setTimeout if window is undefined (e.g. in Node.js)
          setTimeout(func, 1000/60);
        } else {
          if (!window.requestAnimationFrame) {
            window.requestAnimationFrame = window['requestAnimationFrame'] ||
                                           window['mozRequestAnimationFrame'] ||
                                           window['webkitRequestAnimationFrame'] ||
                                           window['msRequestAnimationFrame'] ||
                                           window['oRequestAnimationFrame'] ||
                                           window['setTimeout'];
          }
          window.requestAnimationFrame(func);
        }
      },safeCallback:function (func) {
        return function() {
          if (!ABORT) return func.apply(null, arguments);
        };
      },safeRequestAnimationFrame:function (func) {
        return Browser.requestAnimationFrame(function() {
          if (!ABORT) func();
        });
      },safeSetTimeout:function (func, timeout) {
        return setTimeout(function() {
          if (!ABORT) func();
        }, timeout);
      },safeSetInterval:function (func, timeout) {
        return setInterval(function() {
          if (!ABORT) func();
        }, timeout);
      },getMimetype:function (name) {
        return {
          'jpg': 'image/jpeg',
          'jpeg': 'image/jpeg',
          'png': 'image/png',
          'bmp': 'image/bmp',
          'ogg': 'audio/ogg',
          'wav': 'audio/wav',
          'mp3': 'audio/mpeg'
        }[name.substr(name.lastIndexOf('.')+1)];
      },getUserMedia:function (func) {
        if(!window.getUserMedia) {
          window.getUserMedia = navigator['getUserMedia'] ||
                                navigator['mozGetUserMedia'];
        }
        window.getUserMedia(func);
      },getMovementX:function (event) {
        return event['movementX'] ||
               event['mozMovementX'] ||
               event['webkitMovementX'] ||
               0;
      },getMovementY:function (event) {
        return event['movementY'] ||
               event['mozMovementY'] ||
               event['webkitMovementY'] ||
               0;
      },mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,calculateMouseEvent:function (event) { // event should be mousemove, mousedown or mouseup
        if (Browser.pointerLock) {
          // When the pointer is locked, calculate the coordinates
          // based on the movement of the mouse.
          // Workaround for Firefox bug 764498
          if (event.type != 'mousemove' &&
              ('mozMovementX' in event)) {
            Browser.mouseMovementX = Browser.mouseMovementY = 0;
          } else {
            Browser.mouseMovementX = Browser.getMovementX(event);
            Browser.mouseMovementY = Browser.getMovementY(event);
          }
          // check if SDL is available
          if (typeof SDL != "undefined") {
          	Browser.mouseX = SDL.mouseX + Browser.mouseMovementX;
          	Browser.mouseY = SDL.mouseY + Browser.mouseMovementY;
          } else {
          	// just add the mouse delta to the current absolut mouse position
          	// FIXME: ideally this should be clamped against the canvas size and zero
          	Browser.mouseX += Browser.mouseMovementX;
          	Browser.mouseY += Browser.mouseMovementY;
          }        
        } else {
          // Otherwise, calculate the movement based on the changes
          // in the coordinates.
          var rect = Module["canvas"].getBoundingClientRect();
          var x, y;
          if (event.type == 'touchstart' ||
              event.type == 'touchend' ||
              event.type == 'touchmove') {
            var t = event.touches.item(0);
            if (t) {
              x = t.pageX - (window.scrollX + rect.left);
              y = t.pageY - (window.scrollY + rect.top);
            } else {
              return;
            }
          } else {
            x = event.pageX - (window.scrollX + rect.left);
            y = event.pageY - (window.scrollY + rect.top);
          }
          // the canvas might be CSS-scaled compared to its backbuffer;
          // SDL-using content will want mouse coordinates in terms
          // of backbuffer units.
          var cw = Module["canvas"].width;
          var ch = Module["canvas"].height;
          x = x * (cw / rect.width);
          y = y * (ch / rect.height);
          Browser.mouseMovementX = x - Browser.mouseX;
          Browser.mouseMovementY = y - Browser.mouseY;
          Browser.mouseX = x;
          Browser.mouseY = y;
        }
      },xhrLoad:function (url, onload, onerror) {
        var xhr = new XMLHttpRequest();
        xhr.open('GET', url, true);
        xhr.responseType = 'arraybuffer';
        xhr.onload = function xhr_onload() {
          if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) { // file URLs can return 0
            onload(xhr.response);
          } else {
            onerror();
          }
        };
        xhr.onerror = onerror;
        xhr.send(null);
      },asyncLoad:function (url, onload, onerror, noRunDep) {
        Browser.xhrLoad(url, function(arrayBuffer) {
          assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).');
          onload(new Uint8Array(arrayBuffer));
          if (!noRunDep) removeRunDependency('al ' + url);
        }, function(event) {
          if (onerror) {
            onerror();
          } else {
            throw 'Loading data file "' + url + '" failed.';
          }
        });
        if (!noRunDep) addRunDependency('al ' + url);
      },resizeListeners:[],updateResizeListeners:function () {
        var canvas = Module['canvas'];
        Browser.resizeListeners.forEach(function(listener) {
          listener(canvas.width, canvas.height);
        });
      },setCanvasSize:function (width, height, noUpdates) {
        var canvas = Module['canvas'];
        canvas.width = width;
        canvas.height = height;
        if (!noUpdates) Browser.updateResizeListeners();
      },windowedWidth:0,windowedHeight:0,setFullScreenCanvasSize:function () {
        var canvas = Module['canvas'];
        this.windowedWidth = canvas.width;
        this.windowedHeight = canvas.height;
        canvas.width = screen.width;
        canvas.height = screen.height;
        // check if SDL is available   
        if (typeof SDL != "undefined") {
        	var flags = HEAPU32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)];
        	flags = flags | 0x00800000; // set SDL_FULLSCREEN flag
        	HEAP32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]=flags
        }
        Browser.updateResizeListeners();
      },setWindowedCanvasSize:function () {
        var canvas = Module['canvas'];
        canvas.width = this.windowedWidth;
        canvas.height = this.windowedHeight;
        // check if SDL is available       
        if (typeof SDL != "undefined") {
        	var flags = HEAPU32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)];
        	flags = flags & ~0x00800000; // clear SDL_FULLSCREEN flag
        	HEAP32[((SDL.screen+Runtime.QUANTUM_SIZE*0)>>2)]=flags
        }
        Browser.updateResizeListeners();
      }};
FS.staticInit();__ATINIT__.unshift({ func: function() { if (!Module["noFSInit"] && !FS.init.initialized) FS.init() } });__ATMAIN__.push({ func: function() { FS.ignorePermissions = false } });__ATEXIT__.push({ func: function() { FS.quit() } });Module["FS_createFolder"] = FS.createFolder;Module["FS_createPath"] = FS.createPath;Module["FS_createDataFile"] = FS.createDataFile;Module["FS_createPreloadedFile"] = FS.createPreloadedFile;Module["FS_createLazyFile"] = FS.createLazyFile;Module["FS_createLink"] = FS.createLink;Module["FS_createDevice"] = FS.createDevice;
___errno_state = Runtime.staticAlloc(4); HEAP32[((___errno_state)>>2)]=0;
__ATINIT__.unshift({ func: function() { TTY.init() } });__ATEXIT__.push({ func: function() { TTY.shutdown() } });TTY.utf8 = new Runtime.UTF8Processor();
if (ENVIRONMENT_IS_NODE) { var fs = require("fs"); NODEFS.staticInit(); }
__ATINIT__.push({ func: function() { SOCKFS.root = FS.mount(SOCKFS, {}, null); } });
Module["requestFullScreen"] = function Module_requestFullScreen(lockPointer, resizeCanvas) { Browser.requestFullScreen(lockPointer, resizeCanvas) };
  Module["requestAnimationFrame"] = function Module_requestAnimationFrame(func) { Browser.requestAnimationFrame(func) };
  Module["setCanvasSize"] = function Module_setCanvasSize(width, height, noUpdates) { Browser.setCanvasSize(width, height, noUpdates) };
  Module["pauseMainLoop"] = function Module_pauseMainLoop() { Browser.mainLoop.pause() };
  Module["resumeMainLoop"] = function Module_resumeMainLoop() { Browser.mainLoop.resume() };
  Module["getUserMedia"] = function Module_getUserMedia() { Browser.getUserMedia() }
STACK_BASE = STACKTOP = Runtime.alignMemory(STATICTOP);
staticSealed = true; // seal the static portion of memory
STACK_MAX = STACK_BASE + 5242880;
DYNAMIC_BASE = DYNAMICTOP = Runtime.alignMemory(STACK_MAX);
assert(DYNAMIC_BASE < TOTAL_MEMORY, "TOTAL_MEMORY not big enough for stack");
var FUNCTION_TABLE = [0,0,_h264bsdFillRow7,0,_FillRow1,0];
// EMSCRIPTEN_START_FUNCS
function _h264bsdExtractNalUnit($pByteStream,$len,$pStrmData,$readBytes){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $tmp;
 var $byteCount;
 var $initByteCount;
 var $zeroCount;
 var $byte;
 var $hasEmulation;
 var $invalidStream;
 var $readPtr;
 var $writePtr;
 $2=$pByteStream;
 $3=$len;
 $4=$pStrmData;
 $5=$readBytes;
 $hasEmulation=0; //@line 91 "../src/h264bsd_byte_stream.c"
 $invalidStream=0; //@line 92 "../src/h264bsd_byte_stream.c"
 var $6=$2; //@line 97 "../src/h264bsd_byte_stream.c"
 var $7=($6|0)!=0; //@line 97 "../src/h264bsd_byte_stream.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 97 "../src/h264bsd_byte_stream.c"
 case 2: 
 ___assert_fail(12544,12512,97,14024); //@line 97 "../src/h264bsd_byte_stream.c"
 throw "Reached an unreachable!"; //@line 97 "../src/h264bsd_byte_stream.c"
 label=3;break; //@line 97 "../src/h264bsd_byte_stream.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 97 "../src/h264bsd_byte_stream.c"
 var $13=$3; //@line 98 "../src/h264bsd_byte_stream.c"
 var $14=($13|0)!=0; //@line 98 "../src/h264bsd_byte_stream.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 98 "../src/h264bsd_byte_stream.c"
 case 4: 
 ___assert_fail(9472,12512,98,14024); //@line 98 "../src/h264bsd_byte_stream.c"
 throw "Reached an unreachable!"; //@line 98 "../src/h264bsd_byte_stream.c"
 label=5;break; //@line 98 "../src/h264bsd_byte_stream.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 98 "../src/h264bsd_byte_stream.c"
 var $20=$3; //@line 99 "../src/h264bsd_byte_stream.c"
 var $21=($20>>>0)<4294967295; //@line 99 "../src/h264bsd_byte_stream.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 99 "../src/h264bsd_byte_stream.c"
 case 6: 
 ___assert_fail(8280,12512,99,14024); //@line 99 "../src/h264bsd_byte_stream.c"
 throw "Reached an unreachable!"; //@line 99 "../src/h264bsd_byte_stream.c"
 label=7;break; //@line 99 "../src/h264bsd_byte_stream.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 99 "../src/h264bsd_byte_stream.c"
 var $27=$4; //@line 100 "../src/h264bsd_byte_stream.c"
 var $28=($27|0)!=0; //@line 100 "../src/h264bsd_byte_stream.c"
 if($28){var $32=1;label=9;break;}else{label=8;break;} //@line 100 "../src/h264bsd_byte_stream.c"
 case 8: 
 ___assert_fail(7400,12512,100,14024); //@line 100 "../src/h264bsd_byte_stream.c"
 throw "Reached an unreachable!"; //@line 100 "../src/h264bsd_byte_stream.c"
 label=9;break; //@line 100 "../src/h264bsd_byte_stream.c"
 case 9: 
 var $32;
 var $33=($32&1); //@line 100 "../src/h264bsd_byte_stream.c"
 var $34=$3; //@line 103 "../src/h264bsd_byte_stream.c"
 var $35=($34>>>0)>3; //@line 103 "../src/h264bsd_byte_stream.c"
 if($35){label=10;break;}else{label=45;break;} //@line 103 "../src/h264bsd_byte_stream.c"
 case 10: 
 var $37=$2; //@line 103 "../src/h264bsd_byte_stream.c"
 var $38=(($37)|0); //@line 103 "../src/h264bsd_byte_stream.c"
 var $39=HEAP8[($38)]; //@line 103 "../src/h264bsd_byte_stream.c"
 var $40=($39&255); //@line 103 "../src/h264bsd_byte_stream.c"
 var $41=($40|0)==0; //@line 103 "../src/h264bsd_byte_stream.c"
 if($41){label=11;break;}else{label=45;break;} //@line 103 "../src/h264bsd_byte_stream.c"
 case 11: 
 var $43=$2; //@line 103 "../src/h264bsd_byte_stream.c"
 var $44=(($43+1)|0); //@line 103 "../src/h264bsd_byte_stream.c"
 var $45=HEAP8[($44)]; //@line 103 "../src/h264bsd_byte_stream.c"
 var $46=($45&255); //@line 103 "../src/h264bsd_byte_stream.c"
 var $47=($46|0)==0; //@line 103 "../src/h264bsd_byte_stream.c"
 if($47){label=12;break;}else{label=45;break;} //@line 103 "../src/h264bsd_byte_stream.c"
 case 12: 
 var $49=$2; //@line 103 "../src/h264bsd_byte_stream.c"
 var $50=(($49+2)|0); //@line 103 "../src/h264bsd_byte_stream.c"
 var $51=HEAP8[($50)]; //@line 103 "../src/h264bsd_byte_stream.c"
 var $52=($51&255); //@line 103 "../src/h264bsd_byte_stream.c"
 var $53=$52&254; //@line 103 "../src/h264bsd_byte_stream.c"
 var $54=($53|0)==0; //@line 103 "../src/h264bsd_byte_stream.c"
 if($54){label=13;break;}else{label=45;break;} //@line 103 "../src/h264bsd_byte_stream.c"
 case 13: 
 $byteCount=2; //@line 108 "../src/h264bsd_byte_stream.c"
 $zeroCount=2; //@line 108 "../src/h264bsd_byte_stream.c"
 var $56=$2; //@line 109 "../src/h264bsd_byte_stream.c"
 var $57=(($56+2)|0); //@line 109 "../src/h264bsd_byte_stream.c"
 $readPtr=$57; //@line 109 "../src/h264bsd_byte_stream.c"
 label=14;break; //@line 111 "../src/h264bsd_byte_stream.c"
 case 14: 
 var $59=$readPtr; //@line 113 "../src/h264bsd_byte_stream.c"
 var $60=(($59+1)|0); //@line 113 "../src/h264bsd_byte_stream.c"
 $readPtr=$60; //@line 113 "../src/h264bsd_byte_stream.c"
 var $61=HEAP8[($59)]; //@line 113 "../src/h264bsd_byte_stream.c"
 $byte=$61; //@line 113 "../src/h264bsd_byte_stream.c"
 var $62=$byteCount; //@line 114 "../src/h264bsd_byte_stream.c"
 var $63=((($62)+(1))|0); //@line 114 "../src/h264bsd_byte_stream.c"
 $byteCount=$63; //@line 114 "../src/h264bsd_byte_stream.c"
 var $64=$byteCount; //@line 116 "../src/h264bsd_byte_stream.c"
 var $65=$3; //@line 116 "../src/h264bsd_byte_stream.c"
 var $66=($64|0)==($65|0); //@line 116 "../src/h264bsd_byte_stream.c"
 if($66){label=15;break;}else{label=16;break;} //@line 116 "../src/h264bsd_byte_stream.c"
 case 15: 
 var $68=$3; //@line 119 "../src/h264bsd_byte_stream.c"
 var $69=$5; //@line 119 "../src/h264bsd_byte_stream.c"
 HEAP32[(($69)>>2)]=$68; //@line 119 "../src/h264bsd_byte_stream.c"
 $1=1; //@line 120 "../src/h264bsd_byte_stream.c"
 label=67;break; //@line 120 "../src/h264bsd_byte_stream.c"
 case 16: 
 var $71=$byte; //@line 123 "../src/h264bsd_byte_stream.c"
 var $72=(($71<<24)>>24)!=0; //@line 123 "../src/h264bsd_byte_stream.c"
 if($72){label=18;break;}else{label=17;break;} //@line 123 "../src/h264bsd_byte_stream.c"
 case 17: 
 var $74=$zeroCount; //@line 124 "../src/h264bsd_byte_stream.c"
 var $75=((($74)+(1))|0); //@line 124 "../src/h264bsd_byte_stream.c"
 $zeroCount=$75; //@line 124 "../src/h264bsd_byte_stream.c"
 label=23;break; //@line 124 "../src/h264bsd_byte_stream.c"
 case 18: 
 var $77=$byte; //@line 125 "../src/h264bsd_byte_stream.c"
 var $78=($77&255); //@line 125 "../src/h264bsd_byte_stream.c"
 var $79=($78|0)==1; //@line 125 "../src/h264bsd_byte_stream.c"
 if($79){label=19;break;}else{label=21;break;} //@line 125 "../src/h264bsd_byte_stream.c"
 case 19: 
 var $81=$zeroCount; //@line 125 "../src/h264bsd_byte_stream.c"
 var $82=($81>>>0)>=2; //@line 125 "../src/h264bsd_byte_stream.c"
 if($82){label=20;break;}else{label=21;break;} //@line 125 "../src/h264bsd_byte_stream.c"
 case 20: 
 label=24;break; //@line 126 "../src/h264bsd_byte_stream.c"
 case 21: 
 $zeroCount=0; //@line 128 "../src/h264bsd_byte_stream.c"
 label=22;break;
 case 22: 
 label=23;break;
 case 23: 
 label=14;break; //@line 129 "../src/h264bsd_byte_stream.c"
 case 24: 
 var $88=$byteCount; //@line 131 "../src/h264bsd_byte_stream.c"
 $initByteCount=$88; //@line 131 "../src/h264bsd_byte_stream.c"
 $zeroCount=0; //@line 135 "../src/h264bsd_byte_stream.c"
 label=25;break; //@line 137 "../src/h264bsd_byte_stream.c"
 case 25: 
 var $90=$readPtr; //@line 139 "../src/h264bsd_byte_stream.c"
 var $91=(($90+1)|0); //@line 139 "../src/h264bsd_byte_stream.c"
 $readPtr=$91; //@line 139 "../src/h264bsd_byte_stream.c"
 var $92=HEAP8[($90)]; //@line 139 "../src/h264bsd_byte_stream.c"
 $byte=$92; //@line 139 "../src/h264bsd_byte_stream.c"
 var $93=$byteCount; //@line 140 "../src/h264bsd_byte_stream.c"
 var $94=((($93)+(1))|0); //@line 140 "../src/h264bsd_byte_stream.c"
 $byteCount=$94; //@line 140 "../src/h264bsd_byte_stream.c"
 var $95=$byte; //@line 141 "../src/h264bsd_byte_stream.c"
 var $96=(($95<<24)>>24)!=0; //@line 141 "../src/h264bsd_byte_stream.c"
 if($96){label=27;break;}else{label=26;break;} //@line 141 "../src/h264bsd_byte_stream.c"
 case 26: 
 var $98=$zeroCount; //@line 142 "../src/h264bsd_byte_stream.c"
 var $99=((($98)+(1))|0); //@line 142 "../src/h264bsd_byte_stream.c"
 $zeroCount=$99; //@line 142 "../src/h264bsd_byte_stream.c"
 label=27;break; //@line 142 "../src/h264bsd_byte_stream.c"
 case 27: 
 var $101=$byte; //@line 144 "../src/h264bsd_byte_stream.c"
 var $102=($101&255); //@line 144 "../src/h264bsd_byte_stream.c"
 var $103=($102|0)==3; //@line 144 "../src/h264bsd_byte_stream.c"
 if($103){label=28;break;}else{label=30;break;} //@line 144 "../src/h264bsd_byte_stream.c"
 case 28: 
 var $105=$zeroCount; //@line 144 "../src/h264bsd_byte_stream.c"
 var $106=($105|0)==2; //@line 144 "../src/h264bsd_byte_stream.c"
 if($106){label=29;break;}else{label=30;break;} //@line 144 "../src/h264bsd_byte_stream.c"
 case 29: 
 $hasEmulation=1; //@line 146 "../src/h264bsd_byte_stream.c"
 label=30;break; //@line 147 "../src/h264bsd_byte_stream.c"
 case 30: 
 var $109=$byte; //@line 149 "../src/h264bsd_byte_stream.c"
 var $110=($109&255); //@line 149 "../src/h264bsd_byte_stream.c"
 var $111=($110|0)==1; //@line 149 "../src/h264bsd_byte_stream.c"
 if($111){label=31;break;}else{label=36;break;} //@line 149 "../src/h264bsd_byte_stream.c"
 case 31: 
 var $113=$zeroCount; //@line 149 "../src/h264bsd_byte_stream.c"
 var $114=($113>>>0)>=2; //@line 149 "../src/h264bsd_byte_stream.c"
 if($114){label=32;break;}else{label=36;break;} //@line 149 "../src/h264bsd_byte_stream.c"
 case 32: 
 var $116=$byteCount; //@line 151 "../src/h264bsd_byte_stream.c"
 var $117=$initByteCount; //@line 151 "../src/h264bsd_byte_stream.c"
 var $118=((($116)-($117))|0); //@line 151 "../src/h264bsd_byte_stream.c"
 var $119=$zeroCount; //@line 151 "../src/h264bsd_byte_stream.c"
 var $120=((($118)-($119))|0); //@line 151 "../src/h264bsd_byte_stream.c"
 var $121=((($120)-(1))|0); //@line 151 "../src/h264bsd_byte_stream.c"
 var $122=$4; //@line 151 "../src/h264bsd_byte_stream.c"
 var $123=(($122+12)|0); //@line 151 "../src/h264bsd_byte_stream.c"
 HEAP32[(($123)>>2)]=$121; //@line 151 "../src/h264bsd_byte_stream.c"
 var $124=$zeroCount; //@line 153 "../src/h264bsd_byte_stream.c"
 var $125=($124>>>0)<3; //@line 153 "../src/h264bsd_byte_stream.c"
 if($125){label=33;break;}else{label=34;break;} //@line 153 "../src/h264bsd_byte_stream.c"
 case 33: 
 var $127=$zeroCount; //@line 153 "../src/h264bsd_byte_stream.c"
 var $130=$127;label=35;break; //@line 153 "../src/h264bsd_byte_stream.c"
 case 34: 
 var $130=3;label=35;break; //@line 153 "../src/h264bsd_byte_stream.c"
 case 35: 
 var $130; //@line 153 "../src/h264bsd_byte_stream.c"
 var $131=$zeroCount; //@line 153 "../src/h264bsd_byte_stream.c"
 var $132=((($131)-($130))|0); //@line 153 "../src/h264bsd_byte_stream.c"
 $zeroCount=$132; //@line 153 "../src/h264bsd_byte_stream.c"
 label=44;break; //@line 154 "../src/h264bsd_byte_stream.c"
 case 36: 
 var $134=$byte; //@line 156 "../src/h264bsd_byte_stream.c"
 var $135=(($134<<24)>>24)!=0; //@line 156 "../src/h264bsd_byte_stream.c"
 if($135){label=37;break;}else{label=40;break;} //@line 156 "../src/h264bsd_byte_stream.c"
 case 37: 
 var $137=$zeroCount; //@line 158 "../src/h264bsd_byte_stream.c"
 var $138=($137>>>0)>=3; //@line 158 "../src/h264bsd_byte_stream.c"
 if($138){label=38;break;}else{label=39;break;} //@line 158 "../src/h264bsd_byte_stream.c"
 case 38: 
 $invalidStream=1; //@line 159 "../src/h264bsd_byte_stream.c"
 label=39;break; //@line 159 "../src/h264bsd_byte_stream.c"
 case 39: 
 $zeroCount=0; //@line 160 "../src/h264bsd_byte_stream.c"
 label=40;break; //@line 161 "../src/h264bsd_byte_stream.c"
 case 40: 
 label=41;break;
 case 41: 
 var $143=$byteCount; //@line 163 "../src/h264bsd_byte_stream.c"
 var $144=$3; //@line 163 "../src/h264bsd_byte_stream.c"
 var $145=($143|0)==($144|0); //@line 163 "../src/h264bsd_byte_stream.c"
 if($145){label=42;break;}else{label=43;break;} //@line 163 "../src/h264bsd_byte_stream.c"
 case 42: 
 var $147=$byteCount; //@line 165 "../src/h264bsd_byte_stream.c"
 var $148=$initByteCount; //@line 165 "../src/h264bsd_byte_stream.c"
 var $149=((($147)-($148))|0); //@line 165 "../src/h264bsd_byte_stream.c"
 var $150=$zeroCount; //@line 165 "../src/h264bsd_byte_stream.c"
 var $151=((($149)-($150))|0); //@line 165 "../src/h264bsd_byte_stream.c"
 var $152=$4; //@line 165 "../src/h264bsd_byte_stream.c"
 var $153=(($152+12)|0); //@line 165 "../src/h264bsd_byte_stream.c"
 HEAP32[(($153)>>2)]=$151; //@line 165 "../src/h264bsd_byte_stream.c"
 label=44;break; //@line 166 "../src/h264bsd_byte_stream.c"
 case 43: 
 label=25;break; //@line 169 "../src/h264bsd_byte_stream.c"
 case 44: 
 label=46;break; //@line 170 "../src/h264bsd_byte_stream.c"
 case 45: 
 $initByteCount=0; //@line 174 "../src/h264bsd_byte_stream.c"
 $zeroCount=0; //@line 175 "../src/h264bsd_byte_stream.c"
 var $157=$3; //@line 176 "../src/h264bsd_byte_stream.c"
 var $158=$4; //@line 176 "../src/h264bsd_byte_stream.c"
 var $159=(($158+12)|0); //@line 176 "../src/h264bsd_byte_stream.c"
 HEAP32[(($159)>>2)]=$157; //@line 176 "../src/h264bsd_byte_stream.c"
 $hasEmulation=1; //@line 177 "../src/h264bsd_byte_stream.c"
 label=46;break;
 case 46: 
 var $161=$2; //@line 180 "../src/h264bsd_byte_stream.c"
 var $162=$initByteCount; //@line 180 "../src/h264bsd_byte_stream.c"
 var $163=(($161+$162)|0); //@line 180 "../src/h264bsd_byte_stream.c"
 var $164=$4; //@line 180 "../src/h264bsd_byte_stream.c"
 var $165=(($164)|0); //@line 180 "../src/h264bsd_byte_stream.c"
 HEAP32[(($165)>>2)]=$163; //@line 180 "../src/h264bsd_byte_stream.c"
 var $166=$4; //@line 181 "../src/h264bsd_byte_stream.c"
 var $167=(($166)|0); //@line 181 "../src/h264bsd_byte_stream.c"
 var $168=HEAP32[(($167)>>2)]; //@line 181 "../src/h264bsd_byte_stream.c"
 var $169=$4; //@line 181 "../src/h264bsd_byte_stream.c"
 var $170=(($169+4)|0); //@line 181 "../src/h264bsd_byte_stream.c"
 HEAP32[(($170)>>2)]=$168; //@line 181 "../src/h264bsd_byte_stream.c"
 var $171=$4; //@line 182 "../src/h264bsd_byte_stream.c"
 var $172=(($171+8)|0); //@line 182 "../src/h264bsd_byte_stream.c"
 HEAP32[(($172)>>2)]=0; //@line 182 "../src/h264bsd_byte_stream.c"
 var $173=$4; //@line 183 "../src/h264bsd_byte_stream.c"
 var $174=(($173+16)|0); //@line 183 "../src/h264bsd_byte_stream.c"
 HEAP32[(($174)>>2)]=0; //@line 183 "../src/h264bsd_byte_stream.c"
 var $175=$4; //@line 186 "../src/h264bsd_byte_stream.c"
 var $176=(($175+12)|0); //@line 186 "../src/h264bsd_byte_stream.c"
 var $177=HEAP32[(($176)>>2)]; //@line 186 "../src/h264bsd_byte_stream.c"
 var $178=$initByteCount; //@line 186 "../src/h264bsd_byte_stream.c"
 var $179=((($177)+($178))|0); //@line 186 "../src/h264bsd_byte_stream.c"
 var $180=$zeroCount; //@line 186 "../src/h264bsd_byte_stream.c"
 var $181=((($179)+($180))|0); //@line 186 "../src/h264bsd_byte_stream.c"
 var $182=$5; //@line 186 "../src/h264bsd_byte_stream.c"
 HEAP32[(($182)>>2)]=$181; //@line 186 "../src/h264bsd_byte_stream.c"
 var $183=$invalidStream; //@line 188 "../src/h264bsd_byte_stream.c"
 var $184=($183|0)!=0; //@line 188 "../src/h264bsd_byte_stream.c"
 if($184){label=47;break;}else{label=48;break;} //@line 188 "../src/h264bsd_byte_stream.c"
 case 47: 
 $1=1; //@line 190 "../src/h264bsd_byte_stream.c"
 label=67;break; //@line 190 "../src/h264bsd_byte_stream.c"
 case 48: 
 var $187=$hasEmulation; //@line 194 "../src/h264bsd_byte_stream.c"
 var $188=($187|0)!=0; //@line 194 "../src/h264bsd_byte_stream.c"
 if($188){label=49;break;}else{label=66;break;} //@line 194 "../src/h264bsd_byte_stream.c"
 case 49: 
 var $190=$4; //@line 196 "../src/h264bsd_byte_stream.c"
 var $191=(($190+12)|0); //@line 196 "../src/h264bsd_byte_stream.c"
 var $192=HEAP32[(($191)>>2)]; //@line 196 "../src/h264bsd_byte_stream.c"
 $tmp=$192; //@line 196 "../src/h264bsd_byte_stream.c"
 var $193=$4; //@line 197 "../src/h264bsd_byte_stream.c"
 var $194=(($193)|0); //@line 197 "../src/h264bsd_byte_stream.c"
 var $195=HEAP32[(($194)>>2)]; //@line 197 "../src/h264bsd_byte_stream.c"
 $writePtr=$195; //@line 197 "../src/h264bsd_byte_stream.c"
 $readPtr=$195; //@line 197 "../src/h264bsd_byte_stream.c"
 $zeroCount=0; //@line 198 "../src/h264bsd_byte_stream.c"
 var $196=$tmp; //@line 199 "../src/h264bsd_byte_stream.c"
 $i=$196; //@line 199 "../src/h264bsd_byte_stream.c"
 label=50;break; //@line 199 "../src/h264bsd_byte_stream.c"
 case 50: 
 var $198=$i; //@line 199 "../src/h264bsd_byte_stream.c"
 var $199=((($198)-(1))|0); //@line 199 "../src/h264bsd_byte_stream.c"
 $i=$199; //@line 199 "../src/h264bsd_byte_stream.c"
 var $200=($198|0)!=0; //@line 199 "../src/h264bsd_byte_stream.c"
 if($200){label=51;break;}else{label=65;break;} //@line 199 "../src/h264bsd_byte_stream.c"
 case 51: 
 var $202=$zeroCount; //@line 201 "../src/h264bsd_byte_stream.c"
 var $203=($202|0)==2; //@line 201 "../src/h264bsd_byte_stream.c"
 if($203){label=52;break;}else{label=57;break;} //@line 201 "../src/h264bsd_byte_stream.c"
 case 52: 
 var $205=$readPtr; //@line 201 "../src/h264bsd_byte_stream.c"
 var $206=HEAP8[($205)]; //@line 201 "../src/h264bsd_byte_stream.c"
 var $207=($206&255); //@line 201 "../src/h264bsd_byte_stream.c"
 var $208=($207|0)==3; //@line 201 "../src/h264bsd_byte_stream.c"
 if($208){label=53;break;}else{label=57;break;} //@line 201 "../src/h264bsd_byte_stream.c"
 case 53: 
 var $210=$i; //@line 207 "../src/h264bsd_byte_stream.c"
 var $211=($210|0)==0; //@line 207 "../src/h264bsd_byte_stream.c"
 if($211){label=55;break;}else{label=54;break;} //@line 207 "../src/h264bsd_byte_stream.c"
 case 54: 
 var $213=$readPtr; //@line 207 "../src/h264bsd_byte_stream.c"
 var $214=(($213+1)|0); //@line 207 "../src/h264bsd_byte_stream.c"
 var $215=HEAP8[($214)]; //@line 207 "../src/h264bsd_byte_stream.c"
 var $216=($215&255); //@line 207 "../src/h264bsd_byte_stream.c"
 var $217=($216|0)>3; //@line 207 "../src/h264bsd_byte_stream.c"
 if($217){label=55;break;}else{label=56;break;} //@line 207 "../src/h264bsd_byte_stream.c"
 case 55: 
 $1=1; //@line 208 "../src/h264bsd_byte_stream.c"
 label=67;break; //@line 208 "../src/h264bsd_byte_stream.c"
 case 56: 
 var $220=$readPtr; //@line 211 "../src/h264bsd_byte_stream.c"
 var $221=(($220+1)|0); //@line 211 "../src/h264bsd_byte_stream.c"
 $readPtr=$221; //@line 211 "../src/h264bsd_byte_stream.c"
 $zeroCount=0; //@line 212 "../src/h264bsd_byte_stream.c"
 label=64;break; //@line 213 "../src/h264bsd_byte_stream.c"
 case 57: 
 var $223=$zeroCount; //@line 218 "../src/h264bsd_byte_stream.c"
 var $224=($223|0)==2; //@line 218 "../src/h264bsd_byte_stream.c"
 if($224){label=58;break;}else{label=60;break;} //@line 218 "../src/h264bsd_byte_stream.c"
 case 58: 
 var $226=$readPtr; //@line 218 "../src/h264bsd_byte_stream.c"
 var $227=HEAP8[($226)]; //@line 218 "../src/h264bsd_byte_stream.c"
 var $228=($227&255); //@line 218 "../src/h264bsd_byte_stream.c"
 var $229=($228|0)<=2; //@line 218 "../src/h264bsd_byte_stream.c"
 if($229){label=59;break;}else{label=60;break;} //@line 218 "../src/h264bsd_byte_stream.c"
 case 59: 
 $1=1; //@line 219 "../src/h264bsd_byte_stream.c"
 label=67;break; //@line 219 "../src/h264bsd_byte_stream.c"
 case 60: 
 var $232=$readPtr; //@line 221 "../src/h264bsd_byte_stream.c"
 var $233=HEAP8[($232)]; //@line 221 "../src/h264bsd_byte_stream.c"
 var $234=($233&255); //@line 221 "../src/h264bsd_byte_stream.c"
 var $235=($234|0)==0; //@line 221 "../src/h264bsd_byte_stream.c"
 if($235){label=61;break;}else{label=62;break;} //@line 221 "../src/h264bsd_byte_stream.c"
 case 61: 
 var $237=$zeroCount; //@line 222 "../src/h264bsd_byte_stream.c"
 var $238=((($237)+(1))|0); //@line 222 "../src/h264bsd_byte_stream.c"
 $zeroCount=$238; //@line 222 "../src/h264bsd_byte_stream.c"
 label=63;break; //@line 222 "../src/h264bsd_byte_stream.c"
 case 62: 
 $zeroCount=0; //@line 224 "../src/h264bsd_byte_stream.c"
 label=63;break;
 case 63: 
 var $241=$readPtr; //@line 226 "../src/h264bsd_byte_stream.c"
 var $242=(($241+1)|0); //@line 226 "../src/h264bsd_byte_stream.c"
 $readPtr=$242; //@line 226 "../src/h264bsd_byte_stream.c"
 var $243=HEAP8[($241)]; //@line 226 "../src/h264bsd_byte_stream.c"
 var $244=$writePtr; //@line 226 "../src/h264bsd_byte_stream.c"
 var $245=(($244+1)|0); //@line 226 "../src/h264bsd_byte_stream.c"
 $writePtr=$245; //@line 226 "../src/h264bsd_byte_stream.c"
 HEAP8[($244)]=$243; //@line 226 "../src/h264bsd_byte_stream.c"
 label=64;break;
 case 64: 
 label=50;break; //@line 228 "../src/h264bsd_byte_stream.c"
 case 65: 
 var $248=$readPtr; //@line 232 "../src/h264bsd_byte_stream.c"
 var $249=$writePtr; //@line 232 "../src/h264bsd_byte_stream.c"
 var $250=$248; //@line 232 "../src/h264bsd_byte_stream.c"
 var $251=$249; //@line 232 "../src/h264bsd_byte_stream.c"
 var $252=((($250)-($251))|0); //@line 232 "../src/h264bsd_byte_stream.c"
 var $253=$4; //@line 232 "../src/h264bsd_byte_stream.c"
 var $254=(($253+12)|0); //@line 232 "../src/h264bsd_byte_stream.c"
 var $255=HEAP32[(($254)>>2)]; //@line 232 "../src/h264bsd_byte_stream.c"
 var $256=((($255)-($252))|0); //@line 232 "../src/h264bsd_byte_stream.c"
 HEAP32[(($254)>>2)]=$256; //@line 232 "../src/h264bsd_byte_stream.c"
 label=66;break; //@line 233 "../src/h264bsd_byte_stream.c"
 case 66: 
 $1=0; //@line 235 "../src/h264bsd_byte_stream.c"
 label=67;break; //@line 235 "../src/h264bsd_byte_stream.c"
 case 67: 
 var $259=$1; //@line 237 "../src/h264bsd_byte_stream.c"
 STACKTOP=sp;return $259; //@line 237 "../src/h264bsd_byte_stream.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeResidualBlockCavlc($pStrmData,$coeffLevel,$nc,$maxNumCoeff){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+128)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $tmp;
 var $totalCoeff;
 var $trailingOnes;
 var $suffixLength;
 var $levelPrefix;
 var $levelSuffix;
 var $zerosLeft;
 var $bit;
 var $level=sp;
 var $run=(sp)+(64);
 var $bufferValue;
 var $bufferBits;
 $2=$pStrmData;
 $3=$coeffLevel;
 $4=$nc;
 $5=$maxNumCoeff;
 var $6=$2; //@line 768 "../src/h264bsd_cavlc.c"
 var $7=($6|0)!=0; //@line 768 "../src/h264bsd_cavlc.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 768 "../src/h264bsd_cavlc.c"
 case 2: 
 ___assert_fail(6512,10200,768,14224); //@line 768 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 768 "../src/h264bsd_cavlc.c"
 label=3;break; //@line 768 "../src/h264bsd_cavlc.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 768 "../src/h264bsd_cavlc.c"
 var $13=$3; //@line 769 "../src/h264bsd_cavlc.c"
 var $14=($13|0)!=0; //@line 769 "../src/h264bsd_cavlc.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 769 "../src/h264bsd_cavlc.c"
 case 4: 
 ___assert_fail(8512,10200,769,14224); //@line 769 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 769 "../src/h264bsd_cavlc.c"
 label=5;break; //@line 769 "../src/h264bsd_cavlc.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 769 "../src/h264bsd_cavlc.c"
 var $20=$4; //@line 770 "../src/h264bsd_cavlc.c"
 var $21=($20|0)>-2; //@line 770 "../src/h264bsd_cavlc.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 770 "../src/h264bsd_cavlc.c"
 case 6: 
 ___assert_fail(7488,10200,770,14224); //@line 770 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 770 "../src/h264bsd_cavlc.c"
 label=7;break; //@line 770 "../src/h264bsd_cavlc.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 770 "../src/h264bsd_cavlc.c"
 var $27=$5; //@line 771 "../src/h264bsd_cavlc.c"
 var $28=($27|0)==4; //@line 771 "../src/h264bsd_cavlc.c"
 if($28){var $38=1;label=11;break;}else{label=8;break;} //@line 771 "../src/h264bsd_cavlc.c"
 case 8: 
 var $30=$5; //@line 771 "../src/h264bsd_cavlc.c"
 var $31=($30|0)==15; //@line 771 "../src/h264bsd_cavlc.c"
 if($31){var $38=1;label=11;break;}else{label=9;break;} //@line 771 "../src/h264bsd_cavlc.c"
 case 9: 
 var $33=$5; //@line 771 "../src/h264bsd_cavlc.c"
 var $34=($33|0)==16; //@line 771 "../src/h264bsd_cavlc.c"
 if($34){var $38=1;label=11;break;}else{label=10;break;} //@line 771 "../src/h264bsd_cavlc.c"
 case 10: 
 ___assert_fail(6552,10200,771,14224); //@line 771 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 771 "../src/h264bsd_cavlc.c"
 label=11;break; //@line 771 "../src/h264bsd_cavlc.c"
 case 11: 
 var $38;
 var $39=($38&1); //@line 771 "../src/h264bsd_cavlc.c"
 $bufferBits=32; //@line 776 "../src/h264bsd_cavlc.c"
 var $40=$2; //@line 776 "../src/h264bsd_cavlc.c"
 var $41=_h264bsdShowBits32($40); //@line 776 "../src/h264bsd_cavlc.c"
 $bufferValue=$41; //@line 776 "../src/h264bsd_cavlc.c"
 var $42=$bufferBits; //@line 779 "../src/h264bsd_cavlc.c"
 var $43=($42>>>0)<16; //@line 779 "../src/h264bsd_cavlc.c"
 if($43){label=12;break;}else{label=15;break;} //@line 779 "../src/h264bsd_cavlc.c"
 case 12: 
 var $45=$2; //@line 779 "../src/h264bsd_cavlc.c"
 var $46=$bufferBits; //@line 779 "../src/h264bsd_cavlc.c"
 var $47=(((32)-($46))|0); //@line 779 "../src/h264bsd_cavlc.c"
 var $48=_h264bsdFlushBits($45,$47); //@line 779 "../src/h264bsd_cavlc.c"
 var $49=($48|0)==-1; //@line 779 "../src/h264bsd_cavlc.c"
 if($49){label=13;break;}else{label=14;break;} //@line 779 "../src/h264bsd_cavlc.c"
 case 13: 
 $1=1; //@line 779 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 779 "../src/h264bsd_cavlc.c"
 case 14: 
 var $52=$2; //@line 779 "../src/h264bsd_cavlc.c"
 var $53=_h264bsdShowBits32($52); //@line 779 "../src/h264bsd_cavlc.c"
 $bufferValue=$53; //@line 779 "../src/h264bsd_cavlc.c"
 $bufferBits=32; //@line 779 "../src/h264bsd_cavlc.c"
 label=15;break; //@line 779 "../src/h264bsd_cavlc.c"
 case 15: 
 var $55=$bufferValue; //@line 779 "../src/h264bsd_cavlc.c"
 var $56=$55>>>16; //@line 779 "../src/h264bsd_cavlc.c"
 $bit=$56; //@line 779 "../src/h264bsd_cavlc.c"
 var $57=$bit; //@line 781 "../src/h264bsd_cavlc.c"
 var $58=$4; //@line 781 "../src/h264bsd_cavlc.c"
 var $59=_DecodeCoeffToken($57,$58); //@line 781 "../src/h264bsd_cavlc.c"
 $tmp=$59; //@line 781 "../src/h264bsd_cavlc.c"
 var $60=$tmp; //@line 782 "../src/h264bsd_cavlc.c"
 var $61=($60|0)!=0; //@line 782 "../src/h264bsd_cavlc.c"
 if($61){label=17;break;}else{label=16;break;} //@line 782 "../src/h264bsd_cavlc.c"
 case 16: 
 $1=1; //@line 783 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 783 "../src/h264bsd_cavlc.c"
 case 17: 
 var $64=$tmp; //@line 784 "../src/h264bsd_cavlc.c"
 var $65=$64&31; //@line 784 "../src/h264bsd_cavlc.c"
 var $66=$bufferValue; //@line 784 "../src/h264bsd_cavlc.c"
 var $67=$66<<$65; //@line 784 "../src/h264bsd_cavlc.c"
 $bufferValue=$67; //@line 784 "../src/h264bsd_cavlc.c"
 var $68=$tmp; //@line 784 "../src/h264bsd_cavlc.c"
 var $69=$68&31; //@line 784 "../src/h264bsd_cavlc.c"
 var $70=$bufferBits; //@line 784 "../src/h264bsd_cavlc.c"
 var $71=((($70)-($69))|0); //@line 784 "../src/h264bsd_cavlc.c"
 $bufferBits=$71; //@line 784 "../src/h264bsd_cavlc.c"
 var $72=$tmp; //@line 786 "../src/h264bsd_cavlc.c"
 var $73=$72>>>11; //@line 786 "../src/h264bsd_cavlc.c"
 var $74=$73&31; //@line 786 "../src/h264bsd_cavlc.c"
 $totalCoeff=$74; //@line 786 "../src/h264bsd_cavlc.c"
 var $75=$totalCoeff; //@line 787 "../src/h264bsd_cavlc.c"
 var $76=$5; //@line 787 "../src/h264bsd_cavlc.c"
 var $77=($75>>>0)>($76>>>0); //@line 787 "../src/h264bsd_cavlc.c"
 if($77){label=18;break;}else{label=19;break;} //@line 787 "../src/h264bsd_cavlc.c"
 case 18: 
 $1=1; //@line 788 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 788 "../src/h264bsd_cavlc.c"
 case 19: 
 var $80=$tmp; //@line 789 "../src/h264bsd_cavlc.c"
 var $81=$80>>>5; //@line 789 "../src/h264bsd_cavlc.c"
 var $82=$81&63; //@line 789 "../src/h264bsd_cavlc.c"
 $trailingOnes=$82; //@line 789 "../src/h264bsd_cavlc.c"
 var $83=$totalCoeff; //@line 791 "../src/h264bsd_cavlc.c"
 var $84=($83|0)!=0; //@line 791 "../src/h264bsd_cavlc.c"
 if($84){label=20;break;}else{label=99;break;} //@line 791 "../src/h264bsd_cavlc.c"
 case 20: 
 $i=0; //@line 793 "../src/h264bsd_cavlc.c"
 var $86=$trailingOnes; //@line 795 "../src/h264bsd_cavlc.c"
 var $87=($86|0)!=0; //@line 795 "../src/h264bsd_cavlc.c"
 if($87){label=21;break;}else{label=30;break;} //@line 795 "../src/h264bsd_cavlc.c"
 case 21: 
 var $89=$bufferBits; //@line 797 "../src/h264bsd_cavlc.c"
 var $90=$trailingOnes; //@line 797 "../src/h264bsd_cavlc.c"
 var $91=($89>>>0)<($90>>>0); //@line 797 "../src/h264bsd_cavlc.c"
 if($91){label=22;break;}else{label=25;break;} //@line 797 "../src/h264bsd_cavlc.c"
 case 22: 
 var $93=$2; //@line 797 "../src/h264bsd_cavlc.c"
 var $94=$bufferBits; //@line 797 "../src/h264bsd_cavlc.c"
 var $95=(((32)-($94))|0); //@line 797 "../src/h264bsd_cavlc.c"
 var $96=_h264bsdFlushBits($93,$95); //@line 797 "../src/h264bsd_cavlc.c"
 var $97=($96|0)==-1; //@line 797 "../src/h264bsd_cavlc.c"
 if($97){label=23;break;}else{label=24;break;} //@line 797 "../src/h264bsd_cavlc.c"
 case 23: 
 $1=1; //@line 797 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 797 "../src/h264bsd_cavlc.c"
 case 24: 
 var $100=$2; //@line 797 "../src/h264bsd_cavlc.c"
 var $101=_h264bsdShowBits32($100); //@line 797 "../src/h264bsd_cavlc.c"
 $bufferValue=$101; //@line 797 "../src/h264bsd_cavlc.c"
 $bufferBits=32; //@line 797 "../src/h264bsd_cavlc.c"
 label=25;break; //@line 797 "../src/h264bsd_cavlc.c"
 case 25: 
 var $103=$bufferValue; //@line 797 "../src/h264bsd_cavlc.c"
 var $104=$trailingOnes; //@line 797 "../src/h264bsd_cavlc.c"
 var $105=(((32)-($104))|0); //@line 797 "../src/h264bsd_cavlc.c"
 var $106=$103>>>($105>>>0); //@line 797 "../src/h264bsd_cavlc.c"
 $bit=$106; //@line 797 "../src/h264bsd_cavlc.c"
 var $107=$trailingOnes; //@line 797 "../src/h264bsd_cavlc.c"
 var $108=$bufferValue; //@line 797 "../src/h264bsd_cavlc.c"
 var $109=$108<<$107; //@line 797 "../src/h264bsd_cavlc.c"
 $bufferValue=$109; //@line 797 "../src/h264bsd_cavlc.c"
 var $110=$trailingOnes; //@line 797 "../src/h264bsd_cavlc.c"
 var $111=$bufferBits; //@line 797 "../src/h264bsd_cavlc.c"
 var $112=((($111)-($110))|0); //@line 797 "../src/h264bsd_cavlc.c"
 $bufferBits=$112; //@line 797 "../src/h264bsd_cavlc.c"
 var $113=$trailingOnes; //@line 798 "../src/h264bsd_cavlc.c"
 var $114=((($113)-(1))|0); //@line 798 "../src/h264bsd_cavlc.c"
 var $115=1<<$114; //@line 798 "../src/h264bsd_cavlc.c"
 $tmp=$115; //@line 798 "../src/h264bsd_cavlc.c"
 label=26;break; //@line 799 "../src/h264bsd_cavlc.c"
 case 26: 
 var $117=$tmp; //@line 799 "../src/h264bsd_cavlc.c"
 var $118=($117|0)!=0; //@line 799 "../src/h264bsd_cavlc.c"
 if($118){label=27;break;}else{label=29;break;} //@line 799 "../src/h264bsd_cavlc.c"
 case 27: 
 var $120=$bit; //@line 801 "../src/h264bsd_cavlc.c"
 var $121=$tmp; //@line 801 "../src/h264bsd_cavlc.c"
 var $122=$120&$121; //@line 801 "../src/h264bsd_cavlc.c"
 var $123=($122|0)!=0; //@line 801 "../src/h264bsd_cavlc.c"
 var $124=($123?-1:1); //@line 801 "../src/h264bsd_cavlc.c"
 var $125=$i; //@line 801 "../src/h264bsd_cavlc.c"
 var $126=(($level+($125<<2))|0); //@line 801 "../src/h264bsd_cavlc.c"
 HEAP32[(($126)>>2)]=$124; //@line 801 "../src/h264bsd_cavlc.c"
 var $127=$tmp; //@line 802 "../src/h264bsd_cavlc.c"
 var $128=$127>>>1; //@line 802 "../src/h264bsd_cavlc.c"
 $tmp=$128; //@line 802 "../src/h264bsd_cavlc.c"
 label=28;break; //@line 803 "../src/h264bsd_cavlc.c"
 case 28: 
 var $130=$i; //@line 799 "../src/h264bsd_cavlc.c"
 var $131=((($130)+(1))|0); //@line 799 "../src/h264bsd_cavlc.c"
 $i=$131; //@line 799 "../src/h264bsd_cavlc.c"
 label=26;break; //@line 799 "../src/h264bsd_cavlc.c"
 case 29: 
 label=30;break; //@line 804 "../src/h264bsd_cavlc.c"
 case 30: 
 var $134=$totalCoeff; //@line 807 "../src/h264bsd_cavlc.c"
 var $135=($134>>>0)>10; //@line 807 "../src/h264bsd_cavlc.c"
 if($135){label=31;break;}else{label=33;break;} //@line 807 "../src/h264bsd_cavlc.c"
 case 31: 
 var $137=$trailingOnes; //@line 807 "../src/h264bsd_cavlc.c"
 var $138=($137>>>0)<3; //@line 807 "../src/h264bsd_cavlc.c"
 if($138){label=32;break;}else{label=33;break;} //@line 807 "../src/h264bsd_cavlc.c"
 case 32: 
 $suffixLength=1; //@line 808 "../src/h264bsd_cavlc.c"
 label=34;break; //@line 808 "../src/h264bsd_cavlc.c"
 case 33: 
 $suffixLength=0; //@line 810 "../src/h264bsd_cavlc.c"
 label=34;break;
 case 34: 
 label=35;break; //@line 812 "../src/h264bsd_cavlc.c"
 case 35: 
 var $143=$i; //@line 812 "../src/h264bsd_cavlc.c"
 var $144=$totalCoeff; //@line 812 "../src/h264bsd_cavlc.c"
 var $145=($143>>>0)<($144>>>0); //@line 812 "../src/h264bsd_cavlc.c"
 if($145){label=36;break;}else{label=73;break;} //@line 812 "../src/h264bsd_cavlc.c"
 case 36: 
 var $147=$bufferBits; //@line 814 "../src/h264bsd_cavlc.c"
 var $148=($147>>>0)<16; //@line 814 "../src/h264bsd_cavlc.c"
 if($148){label=37;break;}else{label=40;break;} //@line 814 "../src/h264bsd_cavlc.c"
 case 37: 
 var $150=$2; //@line 814 "../src/h264bsd_cavlc.c"
 var $151=$bufferBits; //@line 814 "../src/h264bsd_cavlc.c"
 var $152=(((32)-($151))|0); //@line 814 "../src/h264bsd_cavlc.c"
 var $153=_h264bsdFlushBits($150,$152); //@line 814 "../src/h264bsd_cavlc.c"
 var $154=($153|0)==-1; //@line 814 "../src/h264bsd_cavlc.c"
 if($154){label=38;break;}else{label=39;break;} //@line 814 "../src/h264bsd_cavlc.c"
 case 38: 
 $1=1; //@line 814 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 814 "../src/h264bsd_cavlc.c"
 case 39: 
 var $157=$2; //@line 814 "../src/h264bsd_cavlc.c"
 var $158=_h264bsdShowBits32($157); //@line 814 "../src/h264bsd_cavlc.c"
 $bufferValue=$158; //@line 814 "../src/h264bsd_cavlc.c"
 $bufferBits=32; //@line 814 "../src/h264bsd_cavlc.c"
 label=40;break; //@line 814 "../src/h264bsd_cavlc.c"
 case 40: 
 var $160=$bufferValue; //@line 814 "../src/h264bsd_cavlc.c"
 var $161=$160>>>16; //@line 814 "../src/h264bsd_cavlc.c"
 $bit=$161; //@line 814 "../src/h264bsd_cavlc.c"
 var $162=$bit; //@line 815 "../src/h264bsd_cavlc.c"
 var $163=_DecodeLevelPrefix($162); //@line 815 "../src/h264bsd_cavlc.c"
 $levelPrefix=$163; //@line 815 "../src/h264bsd_cavlc.c"
 var $164=$levelPrefix; //@line 816 "../src/h264bsd_cavlc.c"
 var $165=($164|0)==-2; //@line 816 "../src/h264bsd_cavlc.c"
 if($165){label=41;break;}else{label=42;break;} //@line 816 "../src/h264bsd_cavlc.c"
 case 41: 
 $1=1; //@line 817 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 817 "../src/h264bsd_cavlc.c"
 case 42: 
 var $168=$levelPrefix; //@line 818 "../src/h264bsd_cavlc.c"
 var $169=((($168)+(1))|0); //@line 818 "../src/h264bsd_cavlc.c"
 var $170=$bufferValue; //@line 818 "../src/h264bsd_cavlc.c"
 var $171=$170<<$169; //@line 818 "../src/h264bsd_cavlc.c"
 $bufferValue=$171; //@line 818 "../src/h264bsd_cavlc.c"
 var $172=$levelPrefix; //@line 818 "../src/h264bsd_cavlc.c"
 var $173=((($172)+(1))|0); //@line 818 "../src/h264bsd_cavlc.c"
 var $174=$bufferBits; //@line 818 "../src/h264bsd_cavlc.c"
 var $175=((($174)-($173))|0); //@line 818 "../src/h264bsd_cavlc.c"
 $bufferBits=$175; //@line 818 "../src/h264bsd_cavlc.c"
 var $176=$levelPrefix; //@line 820 "../src/h264bsd_cavlc.c"
 var $177=($176>>>0)<14; //@line 820 "../src/h264bsd_cavlc.c"
 if($177){label=43;break;}else{label=44;break;} //@line 820 "../src/h264bsd_cavlc.c"
 case 43: 
 var $179=$suffixLength; //@line 821 "../src/h264bsd_cavlc.c"
 $tmp=$179; //@line 821 "../src/h264bsd_cavlc.c"
 label=53;break; //@line 821 "../src/h264bsd_cavlc.c"
 case 44: 
 var $181=$levelPrefix; //@line 822 "../src/h264bsd_cavlc.c"
 var $182=($181|0)==14; //@line 822 "../src/h264bsd_cavlc.c"
 if($182){label=45;break;}else{label=49;break;} //@line 822 "../src/h264bsd_cavlc.c"
 case 45: 
 var $184=$suffixLength; //@line 824 "../src/h264bsd_cavlc.c"
 var $185=($184|0)!=0; //@line 824 "../src/h264bsd_cavlc.c"
 if($185){label=46;break;}else{label=47;break;} //@line 824 "../src/h264bsd_cavlc.c"
 case 46: 
 var $187=$suffixLength; //@line 824 "../src/h264bsd_cavlc.c"
 var $190=$187;label=48;break; //@line 824 "../src/h264bsd_cavlc.c"
 case 47: 
 var $190=4;label=48;break; //@line 824 "../src/h264bsd_cavlc.c"
 case 48: 
 var $190; //@line 824 "../src/h264bsd_cavlc.c"
 $tmp=$190; //@line 824 "../src/h264bsd_cavlc.c"
 label=52;break; //@line 825 "../src/h264bsd_cavlc.c"
 case 49: 
 var $192=$suffixLength; //@line 831 "../src/h264bsd_cavlc.c"
 var $193=($192|0)!=0; //@line 831 "../src/h264bsd_cavlc.c"
 if($193){label=51;break;}else{label=50;break;} //@line 831 "../src/h264bsd_cavlc.c"
 case 50: 
 $suffixLength=1; //@line 832 "../src/h264bsd_cavlc.c"
 label=51;break; //@line 832 "../src/h264bsd_cavlc.c"
 case 51: 
 $tmp=12; //@line 833 "../src/h264bsd_cavlc.c"
 label=52;break;
 case 52: 
 label=53;break;
 case 53: 
 var $198=$suffixLength; //@line 836 "../src/h264bsd_cavlc.c"
 var $199=($198|0)!=0; //@line 836 "../src/h264bsd_cavlc.c"
 if($199){label=54;break;}else{label=55;break;} //@line 836 "../src/h264bsd_cavlc.c"
 case 54: 
 var $201=$suffixLength; //@line 837 "../src/h264bsd_cavlc.c"
 var $202=$levelPrefix; //@line 837 "../src/h264bsd_cavlc.c"
 var $203=$202<<$201; //@line 837 "../src/h264bsd_cavlc.c"
 $levelPrefix=$203; //@line 837 "../src/h264bsd_cavlc.c"
 label=55;break; //@line 837 "../src/h264bsd_cavlc.c"
 case 55: 
 var $205=$tmp; //@line 839 "../src/h264bsd_cavlc.c"
 var $206=($205|0)!=0; //@line 839 "../src/h264bsd_cavlc.c"
 if($206){label=56;break;}else{label=61;break;} //@line 839 "../src/h264bsd_cavlc.c"
 case 56: 
 var $208=$bufferBits; //@line 841 "../src/h264bsd_cavlc.c"
 var $209=$tmp; //@line 841 "../src/h264bsd_cavlc.c"
 var $210=($208>>>0)<($209>>>0); //@line 841 "../src/h264bsd_cavlc.c"
 if($210){label=57;break;}else{label=60;break;} //@line 841 "../src/h264bsd_cavlc.c"
 case 57: 
 var $212=$2; //@line 841 "../src/h264bsd_cavlc.c"
 var $213=$bufferBits; //@line 841 "../src/h264bsd_cavlc.c"
 var $214=(((32)-($213))|0); //@line 841 "../src/h264bsd_cavlc.c"
 var $215=_h264bsdFlushBits($212,$214); //@line 841 "../src/h264bsd_cavlc.c"
 var $216=($215|0)==-1; //@line 841 "../src/h264bsd_cavlc.c"
 if($216){label=58;break;}else{label=59;break;} //@line 841 "../src/h264bsd_cavlc.c"
 case 58: 
 $1=1; //@line 841 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 841 "../src/h264bsd_cavlc.c"
 case 59: 
 var $219=$2; //@line 841 "../src/h264bsd_cavlc.c"
 var $220=_h264bsdShowBits32($219); //@line 841 "../src/h264bsd_cavlc.c"
 $bufferValue=$220; //@line 841 "../src/h264bsd_cavlc.c"
 $bufferBits=32; //@line 841 "../src/h264bsd_cavlc.c"
 label=60;break; //@line 841 "../src/h264bsd_cavlc.c"
 case 60: 
 var $222=$bufferValue; //@line 841 "../src/h264bsd_cavlc.c"
 var $223=$tmp; //@line 841 "../src/h264bsd_cavlc.c"
 var $224=(((32)-($223))|0); //@line 841 "../src/h264bsd_cavlc.c"
 var $225=$222>>>($224>>>0); //@line 841 "../src/h264bsd_cavlc.c"
 $levelSuffix=$225; //@line 841 "../src/h264bsd_cavlc.c"
 var $226=$tmp; //@line 841 "../src/h264bsd_cavlc.c"
 var $227=$bufferValue; //@line 841 "../src/h264bsd_cavlc.c"
 var $228=$227<<$226; //@line 841 "../src/h264bsd_cavlc.c"
 $bufferValue=$228; //@line 841 "../src/h264bsd_cavlc.c"
 var $229=$tmp; //@line 841 "../src/h264bsd_cavlc.c"
 var $230=$bufferBits; //@line 841 "../src/h264bsd_cavlc.c"
 var $231=((($230)-($229))|0); //@line 841 "../src/h264bsd_cavlc.c"
 $bufferBits=$231; //@line 841 "../src/h264bsd_cavlc.c"
 var $232=$levelSuffix; //@line 842 "../src/h264bsd_cavlc.c"
 var $233=$levelPrefix; //@line 842 "../src/h264bsd_cavlc.c"
 var $234=((($233)+($232))|0); //@line 842 "../src/h264bsd_cavlc.c"
 $levelPrefix=$234; //@line 842 "../src/h264bsd_cavlc.c"
 label=61;break; //@line 843 "../src/h264bsd_cavlc.c"
 case 61: 
 var $236=$levelPrefix; //@line 845 "../src/h264bsd_cavlc.c"
 $tmp=$236; //@line 845 "../src/h264bsd_cavlc.c"
 var $237=$i; //@line 847 "../src/h264bsd_cavlc.c"
 var $238=$trailingOnes; //@line 847 "../src/h264bsd_cavlc.c"
 var $239=($237|0)==($238|0); //@line 847 "../src/h264bsd_cavlc.c"
 if($239){label=62;break;}else{label=64;break;} //@line 847 "../src/h264bsd_cavlc.c"
 case 62: 
 var $241=$trailingOnes; //@line 847 "../src/h264bsd_cavlc.c"
 var $242=($241>>>0)<3; //@line 847 "../src/h264bsd_cavlc.c"
 if($242){label=63;break;}else{label=64;break;} //@line 847 "../src/h264bsd_cavlc.c"
 case 63: 
 var $244=$tmp; //@line 848 "../src/h264bsd_cavlc.c"
 var $245=((($244)+(2))|0); //@line 848 "../src/h264bsd_cavlc.c"
 $tmp=$245; //@line 848 "../src/h264bsd_cavlc.c"
 label=64;break; //@line 848 "../src/h264bsd_cavlc.c"
 case 64: 
 var $247=$tmp; //@line 850 "../src/h264bsd_cavlc.c"
 var $248=((($247)+(2))|0); //@line 850 "../src/h264bsd_cavlc.c"
 var $249=$248>>>1; //@line 850 "../src/h264bsd_cavlc.c"
 var $250=$i; //@line 850 "../src/h264bsd_cavlc.c"
 var $251=(($level+($250<<2))|0); //@line 850 "../src/h264bsd_cavlc.c"
 HEAP32[(($251)>>2)]=$249; //@line 850 "../src/h264bsd_cavlc.c"
 var $252=$suffixLength; //@line 852 "../src/h264bsd_cavlc.c"
 var $253=($252|0)==0; //@line 852 "../src/h264bsd_cavlc.c"
 if($253){label=65;break;}else{label=66;break;} //@line 852 "../src/h264bsd_cavlc.c"
 case 65: 
 $suffixLength=1; //@line 853 "../src/h264bsd_cavlc.c"
 label=66;break; //@line 853 "../src/h264bsd_cavlc.c"
 case 66: 
 var $256=$i; //@line 855 "../src/h264bsd_cavlc.c"
 var $257=(($level+($256<<2))|0); //@line 855 "../src/h264bsd_cavlc.c"
 var $258=HEAP32[(($257)>>2)]; //@line 855 "../src/h264bsd_cavlc.c"
 var $259=$suffixLength; //@line 855 "../src/h264bsd_cavlc.c"
 var $260=((($259)-(1))|0); //@line 855 "../src/h264bsd_cavlc.c"
 var $261=3<<$260; //@line 855 "../src/h264bsd_cavlc.c"
 var $262=($258|0)>($261|0); //@line 855 "../src/h264bsd_cavlc.c"
 if($262){label=67;break;}else{label=69;break;} //@line 855 "../src/h264bsd_cavlc.c"
 case 67: 
 var $264=$suffixLength; //@line 855 "../src/h264bsd_cavlc.c"
 var $265=($264>>>0)<6; //@line 855 "../src/h264bsd_cavlc.c"
 if($265){label=68;break;}else{label=69;break;} //@line 855 "../src/h264bsd_cavlc.c"
 case 68: 
 var $267=$suffixLength; //@line 856 "../src/h264bsd_cavlc.c"
 var $268=((($267)+(1))|0); //@line 856 "../src/h264bsd_cavlc.c"
 $suffixLength=$268; //@line 856 "../src/h264bsd_cavlc.c"
 label=69;break; //@line 856 "../src/h264bsd_cavlc.c"
 case 69: 
 var $270=$tmp; //@line 858 "../src/h264bsd_cavlc.c"
 var $271=$270&1; //@line 858 "../src/h264bsd_cavlc.c"
 var $272=($271|0)!=0; //@line 858 "../src/h264bsd_cavlc.c"
 if($272){label=70;break;}else{label=71;break;} //@line 858 "../src/h264bsd_cavlc.c"
 case 70: 
 var $274=$i; //@line 859 "../src/h264bsd_cavlc.c"
 var $275=(($level+($274<<2))|0); //@line 859 "../src/h264bsd_cavlc.c"
 var $276=HEAP32[(($275)>>2)]; //@line 859 "../src/h264bsd_cavlc.c"
 var $277=(((-$276))|0); //@line 859 "../src/h264bsd_cavlc.c"
 var $278=$i; //@line 859 "../src/h264bsd_cavlc.c"
 var $279=(($level+($278<<2))|0); //@line 859 "../src/h264bsd_cavlc.c"
 HEAP32[(($279)>>2)]=$277; //@line 859 "../src/h264bsd_cavlc.c"
 label=71;break; //@line 859 "../src/h264bsd_cavlc.c"
 case 71: 
 label=72;break; //@line 860 "../src/h264bsd_cavlc.c"
 case 72: 
 var $282=$i; //@line 812 "../src/h264bsd_cavlc.c"
 var $283=((($282)+(1))|0); //@line 812 "../src/h264bsd_cavlc.c"
 $i=$283; //@line 812 "../src/h264bsd_cavlc.c"
 label=35;break; //@line 812 "../src/h264bsd_cavlc.c"
 case 73: 
 var $285=$totalCoeff; //@line 863 "../src/h264bsd_cavlc.c"
 var $286=$5; //@line 863 "../src/h264bsd_cavlc.c"
 var $287=($285>>>0)<($286>>>0); //@line 863 "../src/h264bsd_cavlc.c"
 if($287){label=74;break;}else{label=81;break;} //@line 863 "../src/h264bsd_cavlc.c"
 case 74: 
 var $289=$bufferBits; //@line 865 "../src/h264bsd_cavlc.c"
 var $290=($289>>>0)<9; //@line 865 "../src/h264bsd_cavlc.c"
 if($290){label=75;break;}else{label=78;break;} //@line 865 "../src/h264bsd_cavlc.c"
 case 75: 
 var $292=$2; //@line 865 "../src/h264bsd_cavlc.c"
 var $293=$bufferBits; //@line 865 "../src/h264bsd_cavlc.c"
 var $294=(((32)-($293))|0); //@line 865 "../src/h264bsd_cavlc.c"
 var $295=_h264bsdFlushBits($292,$294); //@line 865 "../src/h264bsd_cavlc.c"
 var $296=($295|0)==-1; //@line 865 "../src/h264bsd_cavlc.c"
 if($296){label=76;break;}else{label=77;break;} //@line 865 "../src/h264bsd_cavlc.c"
 case 76: 
 $1=1; //@line 865 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 865 "../src/h264bsd_cavlc.c"
 case 77: 
 var $299=$2; //@line 865 "../src/h264bsd_cavlc.c"
 var $300=_h264bsdShowBits32($299); //@line 865 "../src/h264bsd_cavlc.c"
 $bufferValue=$300; //@line 865 "../src/h264bsd_cavlc.c"
 $bufferBits=32; //@line 865 "../src/h264bsd_cavlc.c"
 label=78;break; //@line 865 "../src/h264bsd_cavlc.c"
 case 78: 
 var $302=$bufferValue; //@line 865 "../src/h264bsd_cavlc.c"
 var $303=$302>>>23; //@line 865 "../src/h264bsd_cavlc.c"
 $bit=$303; //@line 865 "../src/h264bsd_cavlc.c"
 var $304=$bit; //@line 866 "../src/h264bsd_cavlc.c"
 var $305=$totalCoeff; //@line 866 "../src/h264bsd_cavlc.c"
 var $306=$5; //@line 866 "../src/h264bsd_cavlc.c"
 var $307=($306|0)==4; //@line 866 "../src/h264bsd_cavlc.c"
 var $308=($307&1); //@line 866 "../src/h264bsd_cavlc.c"
 var $309=_DecodeTotalZeros($304,$305,$308); //@line 866 "../src/h264bsd_cavlc.c"
 $zerosLeft=$309; //@line 866 "../src/h264bsd_cavlc.c"
 var $310=$zerosLeft; //@line 868 "../src/h264bsd_cavlc.c"
 var $311=($310|0)!=0; //@line 868 "../src/h264bsd_cavlc.c"
 if($311){label=80;break;}else{label=79;break;} //@line 868 "../src/h264bsd_cavlc.c"
 case 79: 
 $1=1; //@line 869 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 869 "../src/h264bsd_cavlc.c"
 case 80: 
 var $314=$zerosLeft; //@line 870 "../src/h264bsd_cavlc.c"
 var $315=$314&15; //@line 870 "../src/h264bsd_cavlc.c"
 var $316=$bufferValue; //@line 870 "../src/h264bsd_cavlc.c"
 var $317=$316<<$315; //@line 870 "../src/h264bsd_cavlc.c"
 $bufferValue=$317; //@line 870 "../src/h264bsd_cavlc.c"
 var $318=$zerosLeft; //@line 870 "../src/h264bsd_cavlc.c"
 var $319=$318&15; //@line 870 "../src/h264bsd_cavlc.c"
 var $320=$bufferBits; //@line 870 "../src/h264bsd_cavlc.c"
 var $321=((($320)-($319))|0); //@line 870 "../src/h264bsd_cavlc.c"
 $bufferBits=$321; //@line 870 "../src/h264bsd_cavlc.c"
 var $322=$zerosLeft; //@line 871 "../src/h264bsd_cavlc.c"
 var $323=$322>>>4; //@line 871 "../src/h264bsd_cavlc.c"
 var $324=$323&15; //@line 871 "../src/h264bsd_cavlc.c"
 $zerosLeft=$324; //@line 871 "../src/h264bsd_cavlc.c"
 label=82;break; //@line 872 "../src/h264bsd_cavlc.c"
 case 81: 
 $zerosLeft=0; //@line 874 "../src/h264bsd_cavlc.c"
 label=82;break;
 case 82: 
 $i=0; //@line 876 "../src/h264bsd_cavlc.c"
 label=83;break; //@line 876 "../src/h264bsd_cavlc.c"
 case 83: 
 var $328=$i; //@line 876 "../src/h264bsd_cavlc.c"
 var $329=$totalCoeff; //@line 876 "../src/h264bsd_cavlc.c"
 var $330=((($329)-(1))|0); //@line 876 "../src/h264bsd_cavlc.c"
 var $331=($328>>>0)<($330>>>0); //@line 876 "../src/h264bsd_cavlc.c"
 if($331){label=84;break;}else{label=95;break;} //@line 876 "../src/h264bsd_cavlc.c"
 case 84: 
 var $333=$zerosLeft; //@line 878 "../src/h264bsd_cavlc.c"
 var $334=($333>>>0)>0; //@line 878 "../src/h264bsd_cavlc.c"
 if($334){label=85;break;}else{label=92;break;} //@line 878 "../src/h264bsd_cavlc.c"
 case 85: 
 var $336=$bufferBits; //@line 880 "../src/h264bsd_cavlc.c"
 var $337=($336>>>0)<11; //@line 880 "../src/h264bsd_cavlc.c"
 if($337){label=86;break;}else{label=89;break;} //@line 880 "../src/h264bsd_cavlc.c"
 case 86: 
 var $339=$2; //@line 880 "../src/h264bsd_cavlc.c"
 var $340=$bufferBits; //@line 880 "../src/h264bsd_cavlc.c"
 var $341=(((32)-($340))|0); //@line 880 "../src/h264bsd_cavlc.c"
 var $342=_h264bsdFlushBits($339,$341); //@line 880 "../src/h264bsd_cavlc.c"
 var $343=($342|0)==-1; //@line 880 "../src/h264bsd_cavlc.c"
 if($343){label=87;break;}else{label=88;break;} //@line 880 "../src/h264bsd_cavlc.c"
 case 87: 
 $1=1; //@line 880 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 880 "../src/h264bsd_cavlc.c"
 case 88: 
 var $346=$2; //@line 880 "../src/h264bsd_cavlc.c"
 var $347=_h264bsdShowBits32($346); //@line 880 "../src/h264bsd_cavlc.c"
 $bufferValue=$347; //@line 880 "../src/h264bsd_cavlc.c"
 $bufferBits=32; //@line 880 "../src/h264bsd_cavlc.c"
 label=89;break; //@line 880 "../src/h264bsd_cavlc.c"
 case 89: 
 var $349=$bufferValue; //@line 880 "../src/h264bsd_cavlc.c"
 var $350=$349>>>21; //@line 880 "../src/h264bsd_cavlc.c"
 $bit=$350; //@line 880 "../src/h264bsd_cavlc.c"
 var $351=$bit; //@line 881 "../src/h264bsd_cavlc.c"
 var $352=$zerosLeft; //@line 881 "../src/h264bsd_cavlc.c"
 var $353=_DecodeRunBefore($351,$352); //@line 881 "../src/h264bsd_cavlc.c"
 $tmp=$353; //@line 881 "../src/h264bsd_cavlc.c"
 var $354=$tmp; //@line 882 "../src/h264bsd_cavlc.c"
 var $355=($354|0)!=0; //@line 882 "../src/h264bsd_cavlc.c"
 if($355){label=91;break;}else{label=90;break;} //@line 882 "../src/h264bsd_cavlc.c"
 case 90: 
 $1=1; //@line 883 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 883 "../src/h264bsd_cavlc.c"
 case 91: 
 var $358=$tmp; //@line 884 "../src/h264bsd_cavlc.c"
 var $359=$358&15; //@line 884 "../src/h264bsd_cavlc.c"
 var $360=$bufferValue; //@line 884 "../src/h264bsd_cavlc.c"
 var $361=$360<<$359; //@line 884 "../src/h264bsd_cavlc.c"
 $bufferValue=$361; //@line 884 "../src/h264bsd_cavlc.c"
 var $362=$tmp; //@line 884 "../src/h264bsd_cavlc.c"
 var $363=$362&15; //@line 884 "../src/h264bsd_cavlc.c"
 var $364=$bufferBits; //@line 884 "../src/h264bsd_cavlc.c"
 var $365=((($364)-($363))|0); //@line 884 "../src/h264bsd_cavlc.c"
 $bufferBits=$365; //@line 884 "../src/h264bsd_cavlc.c"
 var $366=$tmp; //@line 885 "../src/h264bsd_cavlc.c"
 var $367=$366>>>4; //@line 885 "../src/h264bsd_cavlc.c"
 var $368=$367&15; //@line 885 "../src/h264bsd_cavlc.c"
 var $369=$i; //@line 885 "../src/h264bsd_cavlc.c"
 var $370=(($run+($369<<2))|0); //@line 885 "../src/h264bsd_cavlc.c"
 HEAP32[(($370)>>2)]=$368; //@line 885 "../src/h264bsd_cavlc.c"
 var $371=$i; //@line 886 "../src/h264bsd_cavlc.c"
 var $372=(($run+($371<<2))|0); //@line 886 "../src/h264bsd_cavlc.c"
 var $373=HEAP32[(($372)>>2)]; //@line 886 "../src/h264bsd_cavlc.c"
 var $374=((($373)+(1))|0); //@line 886 "../src/h264bsd_cavlc.c"
 HEAP32[(($372)>>2)]=$374; //@line 886 "../src/h264bsd_cavlc.c"
 var $375=$zerosLeft; //@line 886 "../src/h264bsd_cavlc.c"
 var $376=((($375)-($373))|0); //@line 886 "../src/h264bsd_cavlc.c"
 $zerosLeft=$376; //@line 886 "../src/h264bsd_cavlc.c"
 label=93;break; //@line 887 "../src/h264bsd_cavlc.c"
 case 92: 
 var $378=$i; //@line 890 "../src/h264bsd_cavlc.c"
 var $379=(($run+($378<<2))|0); //@line 890 "../src/h264bsd_cavlc.c"
 HEAP32[(($379)>>2)]=1; //@line 890 "../src/h264bsd_cavlc.c"
 label=93;break;
 case 93: 
 label=94;break; //@line 892 "../src/h264bsd_cavlc.c"
 case 94: 
 var $382=$i; //@line 876 "../src/h264bsd_cavlc.c"
 var $383=((($382)+(1))|0); //@line 876 "../src/h264bsd_cavlc.c"
 $i=$383; //@line 876 "../src/h264bsd_cavlc.c"
 label=83;break; //@line 876 "../src/h264bsd_cavlc.c"
 case 95: 
 var $385=$zerosLeft; //@line 898 "../src/h264bsd_cavlc.c"
 $tmp=$385; //@line 898 "../src/h264bsd_cavlc.c"
 var $386=$totalCoeff; //@line 899 "../src/h264bsd_cavlc.c"
 var $387=((($386)-(1))|0); //@line 899 "../src/h264bsd_cavlc.c"
 var $388=(($level+($387<<2))|0); //@line 899 "../src/h264bsd_cavlc.c"
 var $389=HEAP32[(($388)>>2)]; //@line 899 "../src/h264bsd_cavlc.c"
 var $390=$tmp; //@line 899 "../src/h264bsd_cavlc.c"
 var $391=$3; //@line 899 "../src/h264bsd_cavlc.c"
 var $392=(($391+($390<<2))|0); //@line 899 "../src/h264bsd_cavlc.c"
 HEAP32[(($392)>>2)]=$389; //@line 899 "../src/h264bsd_cavlc.c"
 var $393=$tmp; //@line 900 "../src/h264bsd_cavlc.c"
 var $394=1<<$393; //@line 900 "../src/h264bsd_cavlc.c"
 $levelSuffix=$394; //@line 900 "../src/h264bsd_cavlc.c"
 var $395=$totalCoeff; //@line 901 "../src/h264bsd_cavlc.c"
 var $396=((($395)-(1))|0); //@line 901 "../src/h264bsd_cavlc.c"
 $i=$396; //@line 901 "../src/h264bsd_cavlc.c"
 label=96;break; //@line 901 "../src/h264bsd_cavlc.c"
 case 96: 
 var $398=$i; //@line 901 "../src/h264bsd_cavlc.c"
 var $399=((($398)-(1))|0); //@line 901 "../src/h264bsd_cavlc.c"
 $i=$399; //@line 901 "../src/h264bsd_cavlc.c"
 var $400=($398|0)!=0; //@line 901 "../src/h264bsd_cavlc.c"
 if($400){label=97;break;}else{label=98;break;} //@line 901 "../src/h264bsd_cavlc.c"
 case 97: 
 var $402=$i; //@line 903 "../src/h264bsd_cavlc.c"
 var $403=(($run+($402<<2))|0); //@line 903 "../src/h264bsd_cavlc.c"
 var $404=HEAP32[(($403)>>2)]; //@line 903 "../src/h264bsd_cavlc.c"
 var $405=$tmp; //@line 903 "../src/h264bsd_cavlc.c"
 var $406=((($405)+($404))|0); //@line 903 "../src/h264bsd_cavlc.c"
 $tmp=$406; //@line 903 "../src/h264bsd_cavlc.c"
 var $407=$tmp; //@line 904 "../src/h264bsd_cavlc.c"
 var $408=1<<$407; //@line 904 "../src/h264bsd_cavlc.c"
 var $409=$levelSuffix; //@line 904 "../src/h264bsd_cavlc.c"
 var $410=$409|$408; //@line 904 "../src/h264bsd_cavlc.c"
 $levelSuffix=$410; //@line 904 "../src/h264bsd_cavlc.c"
 var $411=$i; //@line 905 "../src/h264bsd_cavlc.c"
 var $412=(($level+($411<<2))|0); //@line 905 "../src/h264bsd_cavlc.c"
 var $413=HEAP32[(($412)>>2)]; //@line 905 "../src/h264bsd_cavlc.c"
 var $414=$tmp; //@line 905 "../src/h264bsd_cavlc.c"
 var $415=$3; //@line 905 "../src/h264bsd_cavlc.c"
 var $416=(($415+($414<<2))|0); //@line 905 "../src/h264bsd_cavlc.c"
 HEAP32[(($416)>>2)]=$413; //@line 905 "../src/h264bsd_cavlc.c"
 label=96;break; //@line 906 "../src/h264bsd_cavlc.c"
 case 98: 
 label=100;break; //@line 908 "../src/h264bsd_cavlc.c"
 case 99: 
 $levelSuffix=0; //@line 910 "../src/h264bsd_cavlc.c"
 label=100;break;
 case 100: 
 var $420=$2; //@line 912 "../src/h264bsd_cavlc.c"
 var $421=$bufferBits; //@line 912 "../src/h264bsd_cavlc.c"
 var $422=(((32)-($421))|0); //@line 912 "../src/h264bsd_cavlc.c"
 var $423=_h264bsdFlushBits($420,$422); //@line 912 "../src/h264bsd_cavlc.c"
 var $424=($423|0)!=0; //@line 912 "../src/h264bsd_cavlc.c"
 if($424){label=101;break;}else{label=102;break;} //@line 912 "../src/h264bsd_cavlc.c"
 case 101: 
 $1=1; //@line 913 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 913 "../src/h264bsd_cavlc.c"
 case 102: 
 var $427=$totalCoeff; //@line 915 "../src/h264bsd_cavlc.c"
 var $428=$427<<4; //@line 915 "../src/h264bsd_cavlc.c"
 var $429=$levelSuffix; //@line 915 "../src/h264bsd_cavlc.c"
 var $430=$429<<16; //@line 915 "../src/h264bsd_cavlc.c"
 var $431=$428|$430; //@line 915 "../src/h264bsd_cavlc.c"
 $1=$431; //@line 915 "../src/h264bsd_cavlc.c"
 label=103;break; //@line 915 "../src/h264bsd_cavlc.c"
 case 103: 
 var $433=$1; //@line 916 "../src/h264bsd_cavlc.c"
 STACKTOP=sp;return $433; //@line 916 "../src/h264bsd_cavlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeCoeffToken($bits,$nc){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $value;
 $1=$bits;
 $2=$nc;
 var $3=$2; //@line 407 "../src/h264bsd_cavlc.c"
 var $4=($3>>>0)<=16; //@line 407 "../src/h264bsd_cavlc.c"
 if($4){var $11=0;label=4;break;}else{label=2;break;} //@line 407 "../src/h264bsd_cavlc.c"
 case 2: 
 var $6=$2; //@line 407 "../src/h264bsd_cavlc.c"
 var $7=($6|0)==-1; //@line 407 "../src/h264bsd_cavlc.c"
 if($7){var $11=1;label=4;break;}else{label=3;break;} //@line 407 "../src/h264bsd_cavlc.c"
 case 3: 
 ___assert_fail(5120,10200,407,16400); //@line 407 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 407 "../src/h264bsd_cavlc.c"
 label=4;break; //@line 407 "../src/h264bsd_cavlc.c"
 case 4: 
 var $11;
 var $12=($11&1); //@line 407 "../src/h264bsd_cavlc.c"
 var $13=$2; //@line 409 "../src/h264bsd_cavlc.c"
 var $14=($13>>>0)<2; //@line 409 "../src/h264bsd_cavlc.c"
 if($14){label=5;break;}else{label=18;break;} //@line 409 "../src/h264bsd_cavlc.c"
 case 5: 
 var $16=$1; //@line 411 "../src/h264bsd_cavlc.c"
 var $17=($16>>>0)>=32768; //@line 411 "../src/h264bsd_cavlc.c"
 if($17){label=6;break;}else{label=7;break;} //@line 411 "../src/h264bsd_cavlc.c"
 case 6: 
 $value=1; //@line 413 "../src/h264bsd_cavlc.c"
 label=17;break; //@line 414 "../src/h264bsd_cavlc.c"
 case 7: 
 var $20=$1; //@line 415 "../src/h264bsd_cavlc.c"
 var $21=($20>>>0)>=3072; //@line 415 "../src/h264bsd_cavlc.c"
 if($21){label=8;break;}else{label=9;break;} //@line 415 "../src/h264bsd_cavlc.c"
 case 8: 
 var $23=$1; //@line 416 "../src/h264bsd_cavlc.c"
 var $24=$23>>>10; //@line 416 "../src/h264bsd_cavlc.c"
 var $25=((4080+($24<<1))|0); //@line 416 "../src/h264bsd_cavlc.c"
 var $26=HEAP16[(($25)>>1)]; //@line 416 "../src/h264bsd_cavlc.c"
 var $27=($26&65535); //@line 416 "../src/h264bsd_cavlc.c"
 $value=$27; //@line 416 "../src/h264bsd_cavlc.c"
 label=16;break; //@line 416 "../src/h264bsd_cavlc.c"
 case 9: 
 var $29=$1; //@line 417 "../src/h264bsd_cavlc.c"
 var $30=($29>>>0)>=256; //@line 417 "../src/h264bsd_cavlc.c"
 if($30){label=10;break;}else{label=11;break;} //@line 417 "../src/h264bsd_cavlc.c"
 case 10: 
 var $32=$1; //@line 418 "../src/h264bsd_cavlc.c"
 var $33=$32>>>6; //@line 418 "../src/h264bsd_cavlc.c"
 var $34=((3984+($33<<1))|0); //@line 418 "../src/h264bsd_cavlc.c"
 var $35=HEAP16[(($34)>>1)]; //@line 418 "../src/h264bsd_cavlc.c"
 var $36=($35&65535); //@line 418 "../src/h264bsd_cavlc.c"
 $value=$36; //@line 418 "../src/h264bsd_cavlc.c"
 label=15;break; //@line 418 "../src/h264bsd_cavlc.c"
 case 11: 
 var $38=$1; //@line 419 "../src/h264bsd_cavlc.c"
 var $39=($38>>>0)>=32; //@line 419 "../src/h264bsd_cavlc.c"
 if($39){label=12;break;}else{label=13;break;} //@line 419 "../src/h264bsd_cavlc.c"
 case 12: 
 var $41=$1; //@line 420 "../src/h264bsd_cavlc.c"
 var $42=$41>>>2; //@line 420 "../src/h264bsd_cavlc.c"
 var $43=((($42)-(8))|0); //@line 420 "../src/h264bsd_cavlc.c"
 var $44=((3872+($43<<1))|0); //@line 420 "../src/h264bsd_cavlc.c"
 var $45=HEAP16[(($44)>>1)]; //@line 420 "../src/h264bsd_cavlc.c"
 var $46=($45&65535); //@line 420 "../src/h264bsd_cavlc.c"
 $value=$46; //@line 420 "../src/h264bsd_cavlc.c"
 label=14;break; //@line 420 "../src/h264bsd_cavlc.c"
 case 13: 
 var $48=$1; //@line 422 "../src/h264bsd_cavlc.c"
 var $49=((3808+($48<<1))|0); //@line 422 "../src/h264bsd_cavlc.c"
 var $50=HEAP16[(($49)>>1)]; //@line 422 "../src/h264bsd_cavlc.c"
 var $51=($50&65535); //@line 422 "../src/h264bsd_cavlc.c"
 $value=$51; //@line 422 "../src/h264bsd_cavlc.c"
 label=14;break;
 case 14: 
 label=15;break;
 case 15: 
 label=16;break;
 case 16: 
 label=17;break;
 case 17: 
 label=41;break; //@line 423 "../src/h264bsd_cavlc.c"
 case 18: 
 var $57=$2; //@line 424 "../src/h264bsd_cavlc.c"
 var $58=($57>>>0)<4; //@line 424 "../src/h264bsd_cavlc.c"
 if($58){label=19;break;}else{label=29;break;} //@line 424 "../src/h264bsd_cavlc.c"
 case 19: 
 var $60=$1; //@line 426 "../src/h264bsd_cavlc.c"
 var $61=($60>>>0)>=32768; //@line 426 "../src/h264bsd_cavlc.c"
 if($61){label=20;break;}else{label=21;break;} //@line 426 "../src/h264bsd_cavlc.c"
 case 20: 
 var $63=$1; //@line 428 "../src/h264bsd_cavlc.c"
 var $64=$63&16384; //@line 428 "../src/h264bsd_cavlc.c"
 var $65=($64|0)!=0; //@line 428 "../src/h264bsd_cavlc.c"
 var $66=($65?2:2082); //@line 428 "../src/h264bsd_cavlc.c"
 $value=$66; //@line 428 "../src/h264bsd_cavlc.c"
 label=28;break; //@line 429 "../src/h264bsd_cavlc.c"
 case 21: 
 var $68=$1; //@line 430 "../src/h264bsd_cavlc.c"
 var $69=($68>>>0)>=4096; //@line 430 "../src/h264bsd_cavlc.c"
 if($69){label=22;break;}else{label=23;break;} //@line 430 "../src/h264bsd_cavlc.c"
 case 22: 
 var $71=$1; //@line 431 "../src/h264bsd_cavlc.c"
 var $72=$71>>>10; //@line 431 "../src/h264bsd_cavlc.c"
 var $73=((3744+($72<<1))|0); //@line 431 "../src/h264bsd_cavlc.c"
 var $74=HEAP16[(($73)>>1)]; //@line 431 "../src/h264bsd_cavlc.c"
 var $75=($74&65535); //@line 431 "../src/h264bsd_cavlc.c"
 $value=$75; //@line 431 "../src/h264bsd_cavlc.c"
 label=27;break; //@line 431 "../src/h264bsd_cavlc.c"
 case 23: 
 var $77=$1; //@line 432 "../src/h264bsd_cavlc.c"
 var $78=($77>>>0)>=512; //@line 432 "../src/h264bsd_cavlc.c"
 if($78){label=24;break;}else{label=25;break;} //@line 432 "../src/h264bsd_cavlc.c"
 case 24: 
 var $80=$1; //@line 433 "../src/h264bsd_cavlc.c"
 var $81=$80>>>7; //@line 433 "../src/h264bsd_cavlc.c"
 var $82=((3680+($81<<1))|0); //@line 433 "../src/h264bsd_cavlc.c"
 var $83=HEAP16[(($82)>>1)]; //@line 433 "../src/h264bsd_cavlc.c"
 var $84=($83&65535); //@line 433 "../src/h264bsd_cavlc.c"
 $value=$84; //@line 433 "../src/h264bsd_cavlc.c"
 label=26;break; //@line 433 "../src/h264bsd_cavlc.c"
 case 25: 
 var $86=$1; //@line 435 "../src/h264bsd_cavlc.c"
 var $87=$86>>>2; //@line 435 "../src/h264bsd_cavlc.c"
 var $88=((3424+($87<<1))|0); //@line 435 "../src/h264bsd_cavlc.c"
 var $89=HEAP16[(($88)>>1)]; //@line 435 "../src/h264bsd_cavlc.c"
 var $90=($89&65535); //@line 435 "../src/h264bsd_cavlc.c"
 $value=$90; //@line 435 "../src/h264bsd_cavlc.c"
 label=26;break;
 case 26: 
 label=27;break;
 case 27: 
 label=28;break;
 case 28: 
 label=40;break; //@line 436 "../src/h264bsd_cavlc.c"
 case 29: 
 var $95=$2; //@line 437 "../src/h264bsd_cavlc.c"
 var $96=($95>>>0)<8; //@line 437 "../src/h264bsd_cavlc.c"
 if($96){label=30;break;}else{label=33;break;} //@line 437 "../src/h264bsd_cavlc.c"
 case 30: 
 var $98=$1; //@line 439 "../src/h264bsd_cavlc.c"
 var $99=$98>>>10; //@line 439 "../src/h264bsd_cavlc.c"
 var $100=((3296+($99<<1))|0); //@line 439 "../src/h264bsd_cavlc.c"
 var $101=HEAP16[(($100)>>1)]; //@line 439 "../src/h264bsd_cavlc.c"
 var $102=($101&65535); //@line 439 "../src/h264bsd_cavlc.c"
 $value=$102; //@line 439 "../src/h264bsd_cavlc.c"
 var $103=$value; //@line 440 "../src/h264bsd_cavlc.c"
 var $104=($103|0)!=0; //@line 440 "../src/h264bsd_cavlc.c"
 if($104){label=32;break;}else{label=31;break;} //@line 440 "../src/h264bsd_cavlc.c"
 case 31: 
 var $106=$1; //@line 441 "../src/h264bsd_cavlc.c"
 var $107=$106>>>6; //@line 441 "../src/h264bsd_cavlc.c"
 var $108=((3040+($107<<1))|0); //@line 441 "../src/h264bsd_cavlc.c"
 var $109=HEAP16[(($108)>>1)]; //@line 441 "../src/h264bsd_cavlc.c"
 var $110=($109&65535); //@line 441 "../src/h264bsd_cavlc.c"
 $value=$110; //@line 441 "../src/h264bsd_cavlc.c"
 label=32;break; //@line 441 "../src/h264bsd_cavlc.c"
 case 32: 
 label=39;break; //@line 442 "../src/h264bsd_cavlc.c"
 case 33: 
 var $113=$2; //@line 443 "../src/h264bsd_cavlc.c"
 var $114=($113>>>0)<=16; //@line 443 "../src/h264bsd_cavlc.c"
 if($114){label=34;break;}else{label=35;break;} //@line 443 "../src/h264bsd_cavlc.c"
 case 34: 
 var $116=$1; //@line 445 "../src/h264bsd_cavlc.c"
 var $117=$116>>>10; //@line 445 "../src/h264bsd_cavlc.c"
 var $118=((2912+($117<<1))|0); //@line 445 "../src/h264bsd_cavlc.c"
 var $119=HEAP16[(($118)>>1)]; //@line 445 "../src/h264bsd_cavlc.c"
 var $120=($119&65535); //@line 445 "../src/h264bsd_cavlc.c"
 $value=$120; //@line 445 "../src/h264bsd_cavlc.c"
 label=38;break; //@line 446 "../src/h264bsd_cavlc.c"
 case 35: 
 var $122=$1; //@line 449 "../src/h264bsd_cavlc.c"
 var $123=$122>>>13; //@line 449 "../src/h264bsd_cavlc.c"
 var $124=((2896+($123<<1))|0); //@line 449 "../src/h264bsd_cavlc.c"
 var $125=HEAP16[(($124)>>1)]; //@line 449 "../src/h264bsd_cavlc.c"
 var $126=($125&65535); //@line 449 "../src/h264bsd_cavlc.c"
 $value=$126; //@line 449 "../src/h264bsd_cavlc.c"
 var $127=$value; //@line 450 "../src/h264bsd_cavlc.c"
 var $128=($127|0)!=0; //@line 450 "../src/h264bsd_cavlc.c"
 if($128){label=37;break;}else{label=36;break;} //@line 450 "../src/h264bsd_cavlc.c"
 case 36: 
 var $130=$1; //@line 451 "../src/h264bsd_cavlc.c"
 var $131=$130>>>8; //@line 451 "../src/h264bsd_cavlc.c"
 var $132=((2832+($131<<1))|0); //@line 451 "../src/h264bsd_cavlc.c"
 var $133=HEAP16[(($132)>>1)]; //@line 451 "../src/h264bsd_cavlc.c"
 var $134=($133&65535); //@line 451 "../src/h264bsd_cavlc.c"
 $value=$134; //@line 451 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 451 "../src/h264bsd_cavlc.c"
 case 37: 
 label=38;break;
 case 38: 
 label=39;break;
 case 39: 
 label=40;break;
 case 40: 
 label=41;break;
 case 41: 
 var $140=$value; //@line 454 "../src/h264bsd_cavlc.c"
 STACKTOP=sp;return $140; //@line 454 "../src/h264bsd_cavlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeLevelPrefix($bits){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $numZeros;
 $2=$bits;
 var $3=$2; //@line 482 "../src/h264bsd_cavlc.c"
 var $4=($3>>>0)>=32768; //@line 482 "../src/h264bsd_cavlc.c"
 if($4){label=2;break;}else{label=3;break;} //@line 482 "../src/h264bsd_cavlc.c"
 case 2: 
 $numZeros=0; //@line 483 "../src/h264bsd_cavlc.c"
 label=49;break; //@line 483 "../src/h264bsd_cavlc.c"
 case 3: 
 var $7=$2; //@line 484 "../src/h264bsd_cavlc.c"
 var $8=($7>>>0)>=16384; //@line 484 "../src/h264bsd_cavlc.c"
 if($8){label=4;break;}else{label=5;break;} //@line 484 "../src/h264bsd_cavlc.c"
 case 4: 
 $numZeros=1; //@line 485 "../src/h264bsd_cavlc.c"
 label=48;break; //@line 485 "../src/h264bsd_cavlc.c"
 case 5: 
 var $11=$2; //@line 486 "../src/h264bsd_cavlc.c"
 var $12=($11>>>0)>=8192; //@line 486 "../src/h264bsd_cavlc.c"
 if($12){label=6;break;}else{label=7;break;} //@line 486 "../src/h264bsd_cavlc.c"
 case 6: 
 $numZeros=2; //@line 487 "../src/h264bsd_cavlc.c"
 label=47;break; //@line 487 "../src/h264bsd_cavlc.c"
 case 7: 
 var $15=$2; //@line 488 "../src/h264bsd_cavlc.c"
 var $16=($15>>>0)>=4096; //@line 488 "../src/h264bsd_cavlc.c"
 if($16){label=8;break;}else{label=9;break;} //@line 488 "../src/h264bsd_cavlc.c"
 case 8: 
 $numZeros=3; //@line 489 "../src/h264bsd_cavlc.c"
 label=46;break; //@line 489 "../src/h264bsd_cavlc.c"
 case 9: 
 var $19=$2; //@line 490 "../src/h264bsd_cavlc.c"
 var $20=($19>>>0)>=2048; //@line 490 "../src/h264bsd_cavlc.c"
 if($20){label=10;break;}else{label=11;break;} //@line 490 "../src/h264bsd_cavlc.c"
 case 10: 
 $numZeros=4; //@line 491 "../src/h264bsd_cavlc.c"
 label=45;break; //@line 491 "../src/h264bsd_cavlc.c"
 case 11: 
 var $23=$2; //@line 492 "../src/h264bsd_cavlc.c"
 var $24=($23>>>0)>=1024; //@line 492 "../src/h264bsd_cavlc.c"
 if($24){label=12;break;}else{label=13;break;} //@line 492 "../src/h264bsd_cavlc.c"
 case 12: 
 $numZeros=5; //@line 493 "../src/h264bsd_cavlc.c"
 label=44;break; //@line 493 "../src/h264bsd_cavlc.c"
 case 13: 
 var $27=$2; //@line 494 "../src/h264bsd_cavlc.c"
 var $28=($27>>>0)>=512; //@line 494 "../src/h264bsd_cavlc.c"
 if($28){label=14;break;}else{label=15;break;} //@line 494 "../src/h264bsd_cavlc.c"
 case 14: 
 $numZeros=6; //@line 495 "../src/h264bsd_cavlc.c"
 label=43;break; //@line 495 "../src/h264bsd_cavlc.c"
 case 15: 
 var $31=$2; //@line 496 "../src/h264bsd_cavlc.c"
 var $32=($31>>>0)>=256; //@line 496 "../src/h264bsd_cavlc.c"
 if($32){label=16;break;}else{label=17;break;} //@line 496 "../src/h264bsd_cavlc.c"
 case 16: 
 $numZeros=7; //@line 497 "../src/h264bsd_cavlc.c"
 label=42;break; //@line 497 "../src/h264bsd_cavlc.c"
 case 17: 
 var $35=$2; //@line 498 "../src/h264bsd_cavlc.c"
 var $36=($35>>>0)>=128; //@line 498 "../src/h264bsd_cavlc.c"
 if($36){label=18;break;}else{label=19;break;} //@line 498 "../src/h264bsd_cavlc.c"
 case 18: 
 $numZeros=8; //@line 499 "../src/h264bsd_cavlc.c"
 label=41;break; //@line 499 "../src/h264bsd_cavlc.c"
 case 19: 
 var $39=$2; //@line 500 "../src/h264bsd_cavlc.c"
 var $40=($39>>>0)>=64; //@line 500 "../src/h264bsd_cavlc.c"
 if($40){label=20;break;}else{label=21;break;} //@line 500 "../src/h264bsd_cavlc.c"
 case 20: 
 $numZeros=9; //@line 501 "../src/h264bsd_cavlc.c"
 label=40;break; //@line 501 "../src/h264bsd_cavlc.c"
 case 21: 
 var $43=$2; //@line 502 "../src/h264bsd_cavlc.c"
 var $44=($43>>>0)>=32; //@line 502 "../src/h264bsd_cavlc.c"
 if($44){label=22;break;}else{label=23;break;} //@line 502 "../src/h264bsd_cavlc.c"
 case 22: 
 $numZeros=10; //@line 503 "../src/h264bsd_cavlc.c"
 label=39;break; //@line 503 "../src/h264bsd_cavlc.c"
 case 23: 
 var $47=$2; //@line 504 "../src/h264bsd_cavlc.c"
 var $48=($47>>>0)>=16; //@line 504 "../src/h264bsd_cavlc.c"
 if($48){label=24;break;}else{label=25;break;} //@line 504 "../src/h264bsd_cavlc.c"
 case 24: 
 $numZeros=11; //@line 505 "../src/h264bsd_cavlc.c"
 label=38;break; //@line 505 "../src/h264bsd_cavlc.c"
 case 25: 
 var $51=$2; //@line 506 "../src/h264bsd_cavlc.c"
 var $52=($51>>>0)>=8; //@line 506 "../src/h264bsd_cavlc.c"
 if($52){label=26;break;}else{label=27;break;} //@line 506 "../src/h264bsd_cavlc.c"
 case 26: 
 $numZeros=12; //@line 507 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 507 "../src/h264bsd_cavlc.c"
 case 27: 
 var $55=$2; //@line 508 "../src/h264bsd_cavlc.c"
 var $56=($55>>>0)>=4; //@line 508 "../src/h264bsd_cavlc.c"
 if($56){label=28;break;}else{label=29;break;} //@line 508 "../src/h264bsd_cavlc.c"
 case 28: 
 $numZeros=13; //@line 509 "../src/h264bsd_cavlc.c"
 label=36;break; //@line 509 "../src/h264bsd_cavlc.c"
 case 29: 
 var $59=$2; //@line 510 "../src/h264bsd_cavlc.c"
 var $60=($59>>>0)>=2; //@line 510 "../src/h264bsd_cavlc.c"
 if($60){label=30;break;}else{label=31;break;} //@line 510 "../src/h264bsd_cavlc.c"
 case 30: 
 $numZeros=14; //@line 511 "../src/h264bsd_cavlc.c"
 label=35;break; //@line 511 "../src/h264bsd_cavlc.c"
 case 31: 
 var $63=$2; //@line 512 "../src/h264bsd_cavlc.c"
 var $64=($63>>>0)>=1; //@line 512 "../src/h264bsd_cavlc.c"
 if($64){label=32;break;}else{label=33;break;} //@line 512 "../src/h264bsd_cavlc.c"
 case 32: 
 $numZeros=15; //@line 513 "../src/h264bsd_cavlc.c"
 label=34;break; //@line 513 "../src/h264bsd_cavlc.c"
 case 33: 
 $1=-2; //@line 515 "../src/h264bsd_cavlc.c"
 label=50;break; //@line 515 "../src/h264bsd_cavlc.c"
 case 34: 
 label=35;break;
 case 35: 
 label=36;break;
 case 36: 
 label=37;break;
 case 37: 
 label=38;break;
 case 38: 
 label=39;break;
 case 39: 
 label=40;break;
 case 40: 
 label=41;break;
 case 41: 
 label=42;break;
 case 42: 
 label=43;break;
 case 43: 
 label=44;break;
 case 44: 
 label=45;break;
 case 45: 
 label=46;break;
 case 46: 
 label=47;break;
 case 47: 
 label=48;break;
 case 48: 
 label=49;break;
 case 49: 
 var $83=$numZeros; //@line 517 "../src/h264bsd_cavlc.c"
 $1=$83; //@line 517 "../src/h264bsd_cavlc.c"
 label=50;break; //@line 517 "../src/h264bsd_cavlc.c"
 case 50: 
 var $85=$1; //@line 519 "../src/h264bsd_cavlc.c"
 STACKTOP=sp;return $85; //@line 519 "../src/h264bsd_cavlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeTotalZeros($bits,$totalCoeff,$isChromaDC){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $value;
 $1=$bits;
 $2=$totalCoeff;
 $3=$isChromaDC;
 $value=0; //@line 544 "../src/h264bsd_cavlc.c"
 var $4=$2; //@line 548 "../src/h264bsd_cavlc.c"
 var $5=($4|0)!=0; //@line 548 "../src/h264bsd_cavlc.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 548 "../src/h264bsd_cavlc.c"
 case 2: 
 ___assert_fail(6456,10200,548,16200); //@line 548 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 548 "../src/h264bsd_cavlc.c"
 label=3;break; //@line 548 "../src/h264bsd_cavlc.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 548 "../src/h264bsd_cavlc.c"
 var $11=$3; //@line 550 "../src/h264bsd_cavlc.c"
 var $12=($11|0)!=0; //@line 550 "../src/h264bsd_cavlc.c"
 if($12){label=25;break;}else{label=4;break;} //@line 550 "../src/h264bsd_cavlc.c"
 case 4: 
 var $14=$2; //@line 552 "../src/h264bsd_cavlc.c"
 var $15=($14>>>0)<16; //@line 552 "../src/h264bsd_cavlc.c"
 if($15){var $19=1;label=6;break;}else{label=5;break;} //@line 552 "../src/h264bsd_cavlc.c"
 case 5: 
 ___assert_fail(5928,10200,552,16200); //@line 552 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 552 "../src/h264bsd_cavlc.c"
 label=6;break; //@line 552 "../src/h264bsd_cavlc.c"
 case 6: 
 var $19;
 var $20=($19&1); //@line 552 "../src/h264bsd_cavlc.c"
 var $21=$2; //@line 553 "../src/h264bsd_cavlc.c"
 switch(($21|0)){case 2:{ label=10;break;}case 3:{ label=11;break;}case 4:{ label=12;break;}case 5:{ label=13;break;}case 6:{ label=14;break;}case 7:{ label=15;break;}case 8:{ label=16;break;}case 9:{ label=17;break;}case 10:{ label=18;break;}case 11:{ label=19;break;}case 12:{ label=20;break;}case 13:{ label=21;break;}case 14:{ label=22;break;}case 1:{ label=7;break;}default:{label=23;break;}}break;
 case 7: 
 var $23=$1; //@line 556 "../src/h264bsd_cavlc.c"
 var $24=$23>>>4; //@line 556 "../src/h264bsd_cavlc.c"
 var $25=((488+$24)|0); //@line 556 "../src/h264bsd_cavlc.c"
 var $26=HEAP8[($25)]; //@line 556 "../src/h264bsd_cavlc.c"
 var $27=($26&255); //@line 556 "../src/h264bsd_cavlc.c"
 $value=$27; //@line 556 "../src/h264bsd_cavlc.c"
 var $28=$value; //@line 557 "../src/h264bsd_cavlc.c"
 var $29=($28|0)!=0; //@line 557 "../src/h264bsd_cavlc.c"
 if($29){label=9;break;}else{label=8;break;} //@line 557 "../src/h264bsd_cavlc.c"
 case 8: 
 var $31=$1; //@line 558 "../src/h264bsd_cavlc.c"
 var $32=((456+$31)|0); //@line 558 "../src/h264bsd_cavlc.c"
 var $33=HEAP8[($32)]; //@line 558 "../src/h264bsd_cavlc.c"
 var $34=($33&255); //@line 558 "../src/h264bsd_cavlc.c"
 $value=$34; //@line 558 "../src/h264bsd_cavlc.c"
 label=9;break; //@line 558 "../src/h264bsd_cavlc.c"
 case 9: 
 label=24;break; //@line 559 "../src/h264bsd_cavlc.c"
 case 10: 
 var $37=$1; //@line 562 "../src/h264bsd_cavlc.c"
 var $38=$37>>>3; //@line 562 "../src/h264bsd_cavlc.c"
 var $39=((392+$38)|0); //@line 562 "../src/h264bsd_cavlc.c"
 var $40=HEAP8[($39)]; //@line 562 "../src/h264bsd_cavlc.c"
 var $41=($40&255); //@line 562 "../src/h264bsd_cavlc.c"
 $value=$41; //@line 562 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 563 "../src/h264bsd_cavlc.c"
 case 11: 
 var $43=$1; //@line 566 "../src/h264bsd_cavlc.c"
 var $44=$43>>>3; //@line 566 "../src/h264bsd_cavlc.c"
 var $45=((328+$44)|0); //@line 566 "../src/h264bsd_cavlc.c"
 var $46=HEAP8[($45)]; //@line 566 "../src/h264bsd_cavlc.c"
 var $47=($46&255); //@line 566 "../src/h264bsd_cavlc.c"
 $value=$47; //@line 566 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 567 "../src/h264bsd_cavlc.c"
 case 12: 
 var $49=$1; //@line 570 "../src/h264bsd_cavlc.c"
 var $50=$49>>>4; //@line 570 "../src/h264bsd_cavlc.c"
 var $51=((296+$50)|0); //@line 570 "../src/h264bsd_cavlc.c"
 var $52=HEAP8[($51)]; //@line 570 "../src/h264bsd_cavlc.c"
 var $53=($52&255); //@line 570 "../src/h264bsd_cavlc.c"
 $value=$53; //@line 570 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 571 "../src/h264bsd_cavlc.c"
 case 13: 
 var $55=$1; //@line 574 "../src/h264bsd_cavlc.c"
 var $56=$55>>>4; //@line 574 "../src/h264bsd_cavlc.c"
 var $57=((264+$56)|0); //@line 574 "../src/h264bsd_cavlc.c"
 var $58=HEAP8[($57)]; //@line 574 "../src/h264bsd_cavlc.c"
 var $59=($58&255); //@line 574 "../src/h264bsd_cavlc.c"
 $value=$59; //@line 574 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 575 "../src/h264bsd_cavlc.c"
 case 14: 
 var $61=$1; //@line 578 "../src/h264bsd_cavlc.c"
 var $62=$61>>>3; //@line 578 "../src/h264bsd_cavlc.c"
 var $63=((200+$62)|0); //@line 578 "../src/h264bsd_cavlc.c"
 var $64=HEAP8[($63)]; //@line 578 "../src/h264bsd_cavlc.c"
 var $65=($64&255); //@line 578 "../src/h264bsd_cavlc.c"
 $value=$65; //@line 578 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 579 "../src/h264bsd_cavlc.c"
 case 15: 
 var $67=$1; //@line 582 "../src/h264bsd_cavlc.c"
 var $68=$67>>>3; //@line 582 "../src/h264bsd_cavlc.c"
 var $69=((136+$68)|0); //@line 582 "../src/h264bsd_cavlc.c"
 var $70=HEAP8[($69)]; //@line 582 "../src/h264bsd_cavlc.c"
 var $71=($70&255); //@line 582 "../src/h264bsd_cavlc.c"
 $value=$71; //@line 582 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 583 "../src/h264bsd_cavlc.c"
 case 16: 
 var $73=$1; //@line 586 "../src/h264bsd_cavlc.c"
 var $74=$73>>>3; //@line 586 "../src/h264bsd_cavlc.c"
 var $75=((72+$74)|0); //@line 586 "../src/h264bsd_cavlc.c"
 var $76=HEAP8[($75)]; //@line 586 "../src/h264bsd_cavlc.c"
 var $77=($76&255); //@line 586 "../src/h264bsd_cavlc.c"
 $value=$77; //@line 586 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 587 "../src/h264bsd_cavlc.c"
 case 17: 
 var $79=$1; //@line 590 "../src/h264bsd_cavlc.c"
 var $80=$79>>>3; //@line 590 "../src/h264bsd_cavlc.c"
 var $81=((8+$80)|0); //@line 590 "../src/h264bsd_cavlc.c"
 var $82=HEAP8[($81)]; //@line 590 "../src/h264bsd_cavlc.c"
 var $83=($82&255); //@line 590 "../src/h264bsd_cavlc.c"
 $value=$83; //@line 590 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 591 "../src/h264bsd_cavlc.c"
 case 18: 
 var $85=$1; //@line 594 "../src/h264bsd_cavlc.c"
 var $86=$85>>>4; //@line 594 "../src/h264bsd_cavlc.c"
 var $87=((568+$86)|0); //@line 594 "../src/h264bsd_cavlc.c"
 var $88=HEAP8[($87)]; //@line 594 "../src/h264bsd_cavlc.c"
 var $89=($88&255); //@line 594 "../src/h264bsd_cavlc.c"
 $value=$89; //@line 594 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 595 "../src/h264bsd_cavlc.c"
 case 19: 
 var $91=$1; //@line 598 "../src/h264bsd_cavlc.c"
 var $92=$91>>>5; //@line 598 "../src/h264bsd_cavlc.c"
 var $93=((552+$92)|0); //@line 598 "../src/h264bsd_cavlc.c"
 var $94=HEAP8[($93)]; //@line 598 "../src/h264bsd_cavlc.c"
 var $95=($94&255); //@line 598 "../src/h264bsd_cavlc.c"
 $value=$95; //@line 598 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 599 "../src/h264bsd_cavlc.c"
 case 20: 
 var $97=$1; //@line 602 "../src/h264bsd_cavlc.c"
 var $98=$97>>>5; //@line 602 "../src/h264bsd_cavlc.c"
 var $99=((536+$98)|0); //@line 602 "../src/h264bsd_cavlc.c"
 var $100=HEAP8[($99)]; //@line 602 "../src/h264bsd_cavlc.c"
 var $101=($100&255); //@line 602 "../src/h264bsd_cavlc.c"
 $value=$101; //@line 602 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 603 "../src/h264bsd_cavlc.c"
 case 21: 
 var $103=$1; //@line 606 "../src/h264bsd_cavlc.c"
 var $104=$103>>>6; //@line 606 "../src/h264bsd_cavlc.c"
 var $105=((528+$104)|0); //@line 606 "../src/h264bsd_cavlc.c"
 var $106=HEAP8[($105)]; //@line 606 "../src/h264bsd_cavlc.c"
 var $107=($106&255); //@line 606 "../src/h264bsd_cavlc.c"
 $value=$107; //@line 606 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 607 "../src/h264bsd_cavlc.c"
 case 22: 
 var $109=$1; //@line 610 "../src/h264bsd_cavlc.c"
 var $110=$109>>>7; //@line 610 "../src/h264bsd_cavlc.c"
 var $111=((520+$110)|0); //@line 610 "../src/h264bsd_cavlc.c"
 var $112=HEAP8[($111)]; //@line 610 "../src/h264bsd_cavlc.c"
 var $113=($112&255); //@line 610 "../src/h264bsd_cavlc.c"
 $value=$113; //@line 610 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 611 "../src/h264bsd_cavlc.c"
 case 23: 
 var $115=$1; //@line 614 "../src/h264bsd_cavlc.c"
 var $116=$115>>>8; //@line 614 "../src/h264bsd_cavlc.c"
 var $117=($116|0)!=0; //@line 614 "../src/h264bsd_cavlc.c"
 var $118=($117?17:1); //@line 614 "../src/h264bsd_cavlc.c"
 $value=$118; //@line 614 "../src/h264bsd_cavlc.c"
 label=24;break; //@line 615 "../src/h264bsd_cavlc.c"
 case 24: 
 label=43;break; //@line 617 "../src/h264bsd_cavlc.c"
 case 25: 
 var $121=$2; //@line 620 "../src/h264bsd_cavlc.c"
 var $122=($121>>>0)<4; //@line 620 "../src/h264bsd_cavlc.c"
 if($122){var $126=1;label=27;break;}else{label=26;break;} //@line 620 "../src/h264bsd_cavlc.c"
 case 26: 
 ___assert_fail(5448,10200,620,16200); //@line 620 "../src/h264bsd_cavlc.c"
 throw "Reached an unreachable!"; //@line 620 "../src/h264bsd_cavlc.c"
 label=27;break; //@line 620 "../src/h264bsd_cavlc.c"
 case 27: 
 var $126;
 var $127=($126&1); //@line 620 "../src/h264bsd_cavlc.c"
 var $128=$1; //@line 621 "../src/h264bsd_cavlc.c"
 var $129=$128>>>6; //@line 621 "../src/h264bsd_cavlc.c"
 $1=$129; //@line 621 "../src/h264bsd_cavlc.c"
 var $130=$1; //@line 622 "../src/h264bsd_cavlc.c"
 var $131=($130>>>0)>3; //@line 622 "../src/h264bsd_cavlc.c"
 if($131){label=28;break;}else{label=29;break;} //@line 622 "../src/h264bsd_cavlc.c"
 case 28: 
 $value=1; //@line 623 "../src/h264bsd_cavlc.c"
 label=42;break; //@line 623 "../src/h264bsd_cavlc.c"
 case 29: 
 var $134=$2; //@line 626 "../src/h264bsd_cavlc.c"
 var $135=($134|0)==3; //@line 626 "../src/h264bsd_cavlc.c"
 if($135){label=30;break;}else{label=31;break;} //@line 626 "../src/h264bsd_cavlc.c"
 case 30: 
 $value=17; //@line 627 "../src/h264bsd_cavlc.c"
 label=41;break; //@line 627 "../src/h264bsd_cavlc.c"
 case 31: 
 var $138=$1; //@line 628 "../src/h264bsd_cavlc.c"
 var $139=($138>>>0)>1; //@line 628 "../src/h264bsd_cavlc.c"
 if($139){label=32;break;}else{label=33;break;} //@line 628 "../src/h264bsd_cavlc.c"
 case 32: 
 $value=18; //@line 630 "../src/h264bsd_cavlc.c"
 label=40;break; //@line 631 "../src/h264bsd_cavlc.c"
 case 33: 
 var $142=$2; //@line 632 "../src/h264bsd_cavlc.c"
 var $143=($142|0)==2; //@line 632 "../src/h264bsd_cavlc.c"
 if($143){label=34;break;}else{label=35;break;} //@line 632 "../src/h264bsd_cavlc.c"
 case 34: 
 $value=34; //@line 633 "../src/h264bsd_cavlc.c"
 label=39;break; //@line 633 "../src/h264bsd_cavlc.c"
 case 35: 
 var $146=$1; //@line 634 "../src/h264bsd_cavlc.c"
 var $147=($146|0)!=0; //@line 634 "../src/h264bsd_cavlc.c"
 if($147){label=36;break;}else{label=37;break;} //@line 634 "../src/h264bsd_cavlc.c"
 case 36: 
 $value=35; //@line 635 "../src/h264bsd_cavlc.c"
 label=38;break; //@line 635 "../src/h264bsd_cavlc.c"
 case 37: 
 $value=51; //@line 637 "../src/h264bsd_cavlc.c"
 label=38;break;
 case 38: 
 label=39;break;
 case 39: 
 label=40;break;
 case 40: 
 label=41;break;
 case 41: 
 label=42;break;
 case 42: 
 label=43;break;
 case 43: 
 var $156=$value; //@line 641 "../src/h264bsd_cavlc.c"
 STACKTOP=sp;return $156; //@line 641 "../src/h264bsd_cavlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeRunBefore($bits,$zerosLeft){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $value;
 $1=$bits;
 $2=$zerosLeft;
 $value=0; //@line 666 "../src/h264bsd_cavlc.c"
 var $3=$2; //@line 670 "../src/h264bsd_cavlc.c"
 switch(($3|0)){case 1:{ label=2;break;}case 2:{ label=3;break;}case 3:{ label=4;break;}case 4:{ label=5;break;}case 5:{ label=6;break;}case 6:{ label=7;break;}default:{label=8;break;}}break;
 case 2: 
 var $5=$1; //@line 673 "../src/h264bsd_cavlc.c"
 var $6=$5>>>10; //@line 673 "../src/h264bsd_cavlc.c"
 var $7=((832+$6)|0); //@line 673 "../src/h264bsd_cavlc.c"
 var $8=HEAP8[($7)]; //@line 673 "../src/h264bsd_cavlc.c"
 var $9=($8&255); //@line 673 "../src/h264bsd_cavlc.c"
 $value=$9; //@line 673 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 674 "../src/h264bsd_cavlc.c"
 case 3: 
 var $11=$1; //@line 677 "../src/h264bsd_cavlc.c"
 var $12=$11>>>9; //@line 677 "../src/h264bsd_cavlc.c"
 var $13=((824+$12)|0); //@line 677 "../src/h264bsd_cavlc.c"
 var $14=HEAP8[($13)]; //@line 677 "../src/h264bsd_cavlc.c"
 var $15=($14&255); //@line 677 "../src/h264bsd_cavlc.c"
 $value=$15; //@line 677 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 678 "../src/h264bsd_cavlc.c"
 case 4: 
 var $17=$1; //@line 681 "../src/h264bsd_cavlc.c"
 var $18=$17>>>9; //@line 681 "../src/h264bsd_cavlc.c"
 var $19=((816+$18)|0); //@line 681 "../src/h264bsd_cavlc.c"
 var $20=HEAP8[($19)]; //@line 681 "../src/h264bsd_cavlc.c"
 var $21=($20&255); //@line 681 "../src/h264bsd_cavlc.c"
 $value=$21; //@line 681 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 682 "../src/h264bsd_cavlc.c"
 case 5: 
 var $23=$1; //@line 685 "../src/h264bsd_cavlc.c"
 var $24=$23>>>8; //@line 685 "../src/h264bsd_cavlc.c"
 var $25=((808+$24)|0); //@line 685 "../src/h264bsd_cavlc.c"
 var $26=HEAP8[($25)]; //@line 685 "../src/h264bsd_cavlc.c"
 var $27=($26&255); //@line 685 "../src/h264bsd_cavlc.c"
 $value=$27; //@line 685 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 686 "../src/h264bsd_cavlc.c"
 case 6: 
 var $29=$1; //@line 689 "../src/h264bsd_cavlc.c"
 var $30=$29>>>8; //@line 689 "../src/h264bsd_cavlc.c"
 var $31=((800+$30)|0); //@line 689 "../src/h264bsd_cavlc.c"
 var $32=HEAP8[($31)]; //@line 689 "../src/h264bsd_cavlc.c"
 var $33=($32&255); //@line 689 "../src/h264bsd_cavlc.c"
 $value=$33; //@line 689 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 690 "../src/h264bsd_cavlc.c"
 case 7: 
 var $35=$1; //@line 693 "../src/h264bsd_cavlc.c"
 var $36=$35>>>8; //@line 693 "../src/h264bsd_cavlc.c"
 var $37=((792+$36)|0); //@line 693 "../src/h264bsd_cavlc.c"
 var $38=HEAP8[($37)]; //@line 693 "../src/h264bsd_cavlc.c"
 var $39=($38&255); //@line 693 "../src/h264bsd_cavlc.c"
 $value=$39; //@line 693 "../src/h264bsd_cavlc.c"
 label=37;break; //@line 694 "../src/h264bsd_cavlc.c"
 case 8: 
 var $41=$1; //@line 697 "../src/h264bsd_cavlc.c"
 var $42=($41>>>0)>=256; //@line 697 "../src/h264bsd_cavlc.c"
 if($42){label=9;break;}else{label=10;break;} //@line 697 "../src/h264bsd_cavlc.c"
 case 9: 
 var $44=$1; //@line 698 "../src/h264bsd_cavlc.c"
 var $45=$44>>>8; //@line 698 "../src/h264bsd_cavlc.c"
 var $46=(((7)-($45))|0); //@line 698 "../src/h264bsd_cavlc.c"
 var $47=$46<<4; //@line 698 "../src/h264bsd_cavlc.c"
 var $48=((($47)+(3))|0); //@line 698 "../src/h264bsd_cavlc.c"
 $value=$48; //@line 698 "../src/h264bsd_cavlc.c"
 label=34;break; //@line 698 "../src/h264bsd_cavlc.c"
 case 10: 
 var $50=$1; //@line 699 "../src/h264bsd_cavlc.c"
 var $51=($50>>>0)>=128; //@line 699 "../src/h264bsd_cavlc.c"
 if($51){label=11;break;}else{label=12;break;} //@line 699 "../src/h264bsd_cavlc.c"
 case 11: 
 $value=116; //@line 700 "../src/h264bsd_cavlc.c"
 label=33;break; //@line 700 "../src/h264bsd_cavlc.c"
 case 12: 
 var $54=$1; //@line 701 "../src/h264bsd_cavlc.c"
 var $55=($54>>>0)>=64; //@line 701 "../src/h264bsd_cavlc.c"
 if($55){label=13;break;}else{label=14;break;} //@line 701 "../src/h264bsd_cavlc.c"
 case 13: 
 $value=133; //@line 702 "../src/h264bsd_cavlc.c"
 label=32;break; //@line 702 "../src/h264bsd_cavlc.c"
 case 14: 
 var $58=$1; //@line 703 "../src/h264bsd_cavlc.c"
 var $59=($58>>>0)>=32; //@line 703 "../src/h264bsd_cavlc.c"
 if($59){label=15;break;}else{label=16;break;} //@line 703 "../src/h264bsd_cavlc.c"
 case 15: 
 $value=150; //@line 704 "../src/h264bsd_cavlc.c"
 label=31;break; //@line 704 "../src/h264bsd_cavlc.c"
 case 16: 
 var $62=$1; //@line 705 "../src/h264bsd_cavlc.c"
 var $63=($62>>>0)>=16; //@line 705 "../src/h264bsd_cavlc.c"
 if($63){label=17;break;}else{label=18;break;} //@line 705 "../src/h264bsd_cavlc.c"
 case 17: 
 $value=167; //@line 706 "../src/h264bsd_cavlc.c"
 label=30;break; //@line 706 "../src/h264bsd_cavlc.c"
 case 18: 
 var $66=$1; //@line 707 "../src/h264bsd_cavlc.c"
 var $67=($66>>>0)>=8; //@line 707 "../src/h264bsd_cavlc.c"
 if($67){label=19;break;}else{label=20;break;} //@line 707 "../src/h264bsd_cavlc.c"
 case 19: 
 $value=184; //@line 708 "../src/h264bsd_cavlc.c"
 label=29;break; //@line 708 "../src/h264bsd_cavlc.c"
 case 20: 
 var $70=$1; //@line 709 "../src/h264bsd_cavlc.c"
 var $71=($70>>>0)>=4; //@line 709 "../src/h264bsd_cavlc.c"
 if($71){label=21;break;}else{label=22;break;} //@line 709 "../src/h264bsd_cavlc.c"
 case 21: 
 $value=201; //@line 710 "../src/h264bsd_cavlc.c"
 label=28;break; //@line 710 "../src/h264bsd_cavlc.c"
 case 22: 
 var $74=$1; //@line 711 "../src/h264bsd_cavlc.c"
 var $75=($74>>>0)>=2; //@line 711 "../src/h264bsd_cavlc.c"
 if($75){label=23;break;}else{label=24;break;} //@line 711 "../src/h264bsd_cavlc.c"
 case 23: 
 $value=218; //@line 712 "../src/h264bsd_cavlc.c"
 label=27;break; //@line 712 "../src/h264bsd_cavlc.c"
 case 24: 
 var $78=$1; //@line 713 "../src/h264bsd_cavlc.c"
 var $79=($78|0)!=0; //@line 713 "../src/h264bsd_cavlc.c"
 if($79){label=25;break;}else{label=26;break;} //@line 713 "../src/h264bsd_cavlc.c"
 case 25: 
 $value=235; //@line 714 "../src/h264bsd_cavlc.c"
 label=26;break; //@line 714 "../src/h264bsd_cavlc.c"
 case 26: 
 label=27;break;
 case 27: 
 label=28;break;
 case 28: 
 label=29;break;
 case 29: 
 label=30;break;
 case 30: 
 label=31;break;
 case 31: 
 label=32;break;
 case 32: 
 label=33;break;
 case 33: 
 label=34;break;
 case 34: 
 var $90=$value; //@line 715 "../src/h264bsd_cavlc.c"
 var $91=$90>>>4; //@line 715 "../src/h264bsd_cavlc.c"
 var $92=$91&15; //@line 715 "../src/h264bsd_cavlc.c"
 var $93=$2; //@line 715 "../src/h264bsd_cavlc.c"
 var $94=($92>>>0)>($93>>>0); //@line 715 "../src/h264bsd_cavlc.c"
 if($94){label=35;break;}else{label=36;break;} //@line 715 "../src/h264bsd_cavlc.c"
 case 35: 
 $value=0; //@line 716 "../src/h264bsd_cavlc.c"
 label=36;break; //@line 716 "../src/h264bsd_cavlc.c"
 case 36: 
 label=37;break; //@line 717 "../src/h264bsd_cavlc.c"
 case 37: 
 var $98=$value; //@line 720 "../src/h264bsd_cavlc.c"
 STACKTOP=sp;return $98; //@line 720 "../src/h264bsd_cavlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdConceal($pStorage,$currImage,$sliceType){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $j;
 var $row;
 var $col;
 var $width;
 var $height;
 var $refData;
 var $mb;
 var $ii;
 var $size;
 var $curr_data;
 $2=$pStorage;
 $3=$currImage;
 $4=$sliceType;
 var $5=$2; //@line 137 "../src/h264bsd_conceal.c"
 var $6=($5|0)!=0; //@line 137 "../src/h264bsd_conceal.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 137 "../src/h264bsd_conceal.c"
 case 2: 
 ___assert_fail(12232,12096,137,14600); //@line 137 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 137 "../src/h264bsd_conceal.c"
 label=3;break; //@line 137 "../src/h264bsd_conceal.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 137 "../src/h264bsd_conceal.c"
 var $12=$3; //@line 138 "../src/h264bsd_conceal.c"
 var $13=($12|0)!=0; //@line 138 "../src/h264bsd_conceal.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 138 "../src/h264bsd_conceal.c"
 case 4: 
 ___assert_fail(9224,12096,138,14600); //@line 138 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 138 "../src/h264bsd_conceal.c"
 label=5;break; //@line 138 "../src/h264bsd_conceal.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 138 "../src/h264bsd_conceal.c"
 var $19=$4; //@line 140 "../src/h264bsd_conceal.c"
 var $20=($19|0)==2; //@line 140 "../src/h264bsd_conceal.c"
 if($20){var $25=1;label=7;break;}else{label=6;break;} //@line 140 "../src/h264bsd_conceal.c"
 case 6: 
 var $22=$4; //@line 140 "../src/h264bsd_conceal.c"
 var $23=($22|0)==7; //@line 140 "../src/h264bsd_conceal.c"
 var $25=$23;label=7;break; //@line 140 "../src/h264bsd_conceal.c"
 case 7: 
 var $25;
 var $26=($25?7192:6400); //@line 140 "../src/h264bsd_conceal.c"
 var $27=_printf(8128,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=$26,tempVarArgs)); STACKTOP=tempVarArgs; //@line 140 "../src/h264bsd_conceal.c"
 var $28=$3; //@line 143 "../src/h264bsd_conceal.c"
 var $29=(($28+4)|0); //@line 143 "../src/h264bsd_conceal.c"
 var $30=HEAP32[(($29)>>2)]; //@line 143 "../src/h264bsd_conceal.c"
 $width=$30; //@line 143 "../src/h264bsd_conceal.c"
 var $31=$3; //@line 144 "../src/h264bsd_conceal.c"
 var $32=(($31+8)|0); //@line 144 "../src/h264bsd_conceal.c"
 var $33=HEAP32[(($32)>>2)]; //@line 144 "../src/h264bsd_conceal.c"
 $height=$33; //@line 144 "../src/h264bsd_conceal.c"
 $refData=0; //@line 145 "../src/h264bsd_conceal.c"
 var $34=$4; //@line 147 "../src/h264bsd_conceal.c"
 var $35=($34|0)==0; //@line 147 "../src/h264bsd_conceal.c"
 if($35){label=10;break;}else{label=8;break;} //@line 147 "../src/h264bsd_conceal.c"
 case 8: 
 var $37=$4; //@line 147 "../src/h264bsd_conceal.c"
 var $38=($37|0)==5; //@line 147 "../src/h264bsd_conceal.c"
 if($38){label=10;break;}else{label=9;break;} //@line 147 "../src/h264bsd_conceal.c"
 case 9: 
 var $40=$2; //@line 147 "../src/h264bsd_conceal.c"
 var $41=(($40+3384)|0); //@line 147 "../src/h264bsd_conceal.c"
 var $42=HEAP32[(($41)>>2)]; //@line 147 "../src/h264bsd_conceal.c"
 var $43=($42|0)!=0; //@line 147 "../src/h264bsd_conceal.c"
 if($43){label=10;break;}else{label=16;break;} //@line 147 "../src/h264bsd_conceal.c"
 case 10: 
 $i=0; //@line 149 "../src/h264bsd_conceal.c"
 label=11;break; //@line 150 "../src/h264bsd_conceal.c"
 case 11: 
 var $46=$2; //@line 152 "../src/h264bsd_conceal.c"
 var $47=(($46+1220)|0); //@line 152 "../src/h264bsd_conceal.c"
 var $48=(($47)|0); //@line 152 "../src/h264bsd_conceal.c"
 var $49=$i; //@line 152 "../src/h264bsd_conceal.c"
 var $50=_h264bsdGetRefPicData($48,$49); //@line 152 "../src/h264bsd_conceal.c"
 $refData=$50; //@line 152 "../src/h264bsd_conceal.c"
 var $51=$i; //@line 153 "../src/h264bsd_conceal.c"
 var $52=((($51)+(1))|0); //@line 153 "../src/h264bsd_conceal.c"
 $i=$52; //@line 153 "../src/h264bsd_conceal.c"
 var $53=$i; //@line 154 "../src/h264bsd_conceal.c"
 var $54=($53>>>0)>=16; //@line 154 "../src/h264bsd_conceal.c"
 if($54){label=12;break;}else{label=13;break;} //@line 154 "../src/h264bsd_conceal.c"
 case 12: 
 label=15;break; //@line 155 "../src/h264bsd_conceal.c"
 case 13: 
 label=14;break; //@line 156 "../src/h264bsd_conceal.c"
 case 14: 
 var $58=$refData; //@line 156 "../src/h264bsd_conceal.c"
 var $59=($58|0)==0; //@line 156 "../src/h264bsd_conceal.c"
 if($59){label=11;break;}else{label=15;break;} //@line 156 "../src/h264bsd_conceal.c"
 case 15: 
 label=16;break; //@line 157 "../src/h264bsd_conceal.c"
 case 16: 
 $col=0; //@line 159 "../src/h264bsd_conceal.c"
 $row=0; //@line 159 "../src/h264bsd_conceal.c"
 $i=0; //@line 159 "../src/h264bsd_conceal.c"
 label=17;break; //@line 161 "../src/h264bsd_conceal.c"
 case 17: 
 var $63=$i; //@line 161 "../src/h264bsd_conceal.c"
 var $64=$2; //@line 161 "../src/h264bsd_conceal.c"
 var $65=(($64+1176)|0); //@line 161 "../src/h264bsd_conceal.c"
 var $66=HEAP32[(($65)>>2)]; //@line 161 "../src/h264bsd_conceal.c"
 var $67=($63>>>0)<($66>>>0); //@line 161 "../src/h264bsd_conceal.c"
 if($67){label=18;break;}else{var $79=0;label=19;break;} //@line 161 "../src/h264bsd_conceal.c"
 case 18: 
 var $69=$i; //@line 161 "../src/h264bsd_conceal.c"
 var $70=$2; //@line 161 "../src/h264bsd_conceal.c"
 var $71=(($70+1212)|0); //@line 161 "../src/h264bsd_conceal.c"
 var $72=HEAP32[(($71)>>2)]; //@line 161 "../src/h264bsd_conceal.c"
 var $73=(($72+((($69)*(216))&-1))|0); //@line 161 "../src/h264bsd_conceal.c"
 var $74=(($73+196)|0); //@line 161 "../src/h264bsd_conceal.c"
 var $75=HEAP32[(($74)>>2)]; //@line 161 "../src/h264bsd_conceal.c"
 var $76=($75|0)!=0; //@line 161 "../src/h264bsd_conceal.c"
 var $77=$76^1; //@line 161 "../src/h264bsd_conceal.c"
 var $79=$77;label=19;break;
 case 19: 
 var $79;
 if($79){label=20;break;}else{label=23;break;}
 case 20: 
 var $81=$i; //@line 163 "../src/h264bsd_conceal.c"
 var $82=((($81)+(1))|0); //@line 163 "../src/h264bsd_conceal.c"
 $i=$82; //@line 163 "../src/h264bsd_conceal.c"
 var $83=$col; //@line 164 "../src/h264bsd_conceal.c"
 var $84=((($83)+(1))|0); //@line 164 "../src/h264bsd_conceal.c"
 $col=$84; //@line 164 "../src/h264bsd_conceal.c"
 var $85=$col; //@line 165 "../src/h264bsd_conceal.c"
 var $86=$width; //@line 165 "../src/h264bsd_conceal.c"
 var $87=($85|0)==($86|0); //@line 165 "../src/h264bsd_conceal.c"
 if($87){label=21;break;}else{label=22;break;} //@line 165 "../src/h264bsd_conceal.c"
 case 21: 
 var $89=$row; //@line 167 "../src/h264bsd_conceal.c"
 var $90=((($89)+(1))|0); //@line 167 "../src/h264bsd_conceal.c"
 $row=$90; //@line 167 "../src/h264bsd_conceal.c"
 $col=0; //@line 168 "../src/h264bsd_conceal.c"
 label=22;break; //@line 169 "../src/h264bsd_conceal.c"
 case 22: 
 label=17;break; //@line 170 "../src/h264bsd_conceal.c"
 case 23: 
 var $93=$i; //@line 173 "../src/h264bsd_conceal.c"
 var $94=$2; //@line 173 "../src/h264bsd_conceal.c"
 var $95=(($94+1176)|0); //@line 173 "../src/h264bsd_conceal.c"
 var $96=HEAP32[(($95)>>2)]; //@line 173 "../src/h264bsd_conceal.c"
 var $97=($93|0)==($96|0); //@line 173 "../src/h264bsd_conceal.c"
 if($97){label=24;break;}else{label=39;break;} //@line 173 "../src/h264bsd_conceal.c"
 case 24: 
 var $99=$4; //@line 175 "../src/h264bsd_conceal.c"
 var $100=($99|0)==2; //@line 175 "../src/h264bsd_conceal.c"
 if($100){label=26;break;}else{label=25;break;} //@line 175 "../src/h264bsd_conceal.c"
 case 25: 
 var $102=$4; //@line 175 "../src/h264bsd_conceal.c"
 var $103=($102|0)==7; //@line 175 "../src/h264bsd_conceal.c"
 if($103){label=26;break;}else{label=27;break;} //@line 175 "../src/h264bsd_conceal.c"
 case 26: 
 var $105=$2; //@line 175 "../src/h264bsd_conceal.c"
 var $106=(($105+3384)|0); //@line 175 "../src/h264bsd_conceal.c"
 var $107=HEAP32[(($106)>>2)]; //@line 175 "../src/h264bsd_conceal.c"
 var $108=($107|0)==0; //@line 175 "../src/h264bsd_conceal.c"
 if($108){label=28;break;}else{label=27;break;} //@line 175 "../src/h264bsd_conceal.c"
 case 27: 
 var $110=$refData; //@line 175 "../src/h264bsd_conceal.c"
 var $111=($110|0)==0; //@line 175 "../src/h264bsd_conceal.c"
 if($111){label=28;break;}else{label=29;break;} //@line 175 "../src/h264bsd_conceal.c"
 case 28: 
 var $113=$3; //@line 177 "../src/h264bsd_conceal.c"
 var $114=(($113)|0); //@line 177 "../src/h264bsd_conceal.c"
 var $115=HEAP32[(($114)>>2)]; //@line 177 "../src/h264bsd_conceal.c"
 var $116=$width; //@line 177 "../src/h264bsd_conceal.c"
 var $117=$height; //@line 177 "../src/h264bsd_conceal.c"
 var $118=(Math_imul($116,$117)|0); //@line 177 "../src/h264bsd_conceal.c"
 var $119=((($118)*(384))&-1); //@line 177 "../src/h264bsd_conceal.c"
 _memset($115, -128, $119)|0; //@line 177 "../src/h264bsd_conceal.c"
 label=34;break; //@line 177 "../src/h264bsd_conceal.c"
 case 29: 
 $ii=0; //@line 180 "../src/h264bsd_conceal.c"
 var $121=$width; //@line 181 "../src/h264bsd_conceal.c"
 var $122=$height; //@line 181 "../src/h264bsd_conceal.c"
 var $123=(Math_imul($121,$122)|0); //@line 181 "../src/h264bsd_conceal.c"
 var $124=((($123)*(384))&-1); //@line 181 "../src/h264bsd_conceal.c"
 $size=$124; //@line 181 "../src/h264bsd_conceal.c"
 var $125=$3; //@line 182 "../src/h264bsd_conceal.c"
 var $126=(($125)|0); //@line 182 "../src/h264bsd_conceal.c"
 var $127=HEAP32[(($126)>>2)]; //@line 182 "../src/h264bsd_conceal.c"
 $curr_data=$127; //@line 182 "../src/h264bsd_conceal.c"
 $ii=0; //@line 183 "../src/h264bsd_conceal.c"
 label=30;break; //@line 183 "../src/h264bsd_conceal.c"
 case 30: 
 var $129=$ii; //@line 183 "../src/h264bsd_conceal.c"
 var $130=$size; //@line 183 "../src/h264bsd_conceal.c"
 var $131=($129|0)<($130|0); //@line 183 "../src/h264bsd_conceal.c"
 if($131){label=31;break;}else{label=33;break;} //@line 183 "../src/h264bsd_conceal.c"
 case 31: 
 label=32;break; //@line 183 "../src/h264bsd_conceal.c"
 case 32: 
 var $134=$ii; //@line 183 "../src/h264bsd_conceal.c"
 var $135=((($134)+(1))|0); //@line 183 "../src/h264bsd_conceal.c"
 $ii=$135; //@line 183 "../src/h264bsd_conceal.c"
 label=30;break; //@line 183 "../src/h264bsd_conceal.c"
 case 33: 
 var $137=$i; //@line 184 "../src/h264bsd_conceal.c"
 var $138=$refData; //@line 184 "../src/h264bsd_conceal.c"
 var $139=(($138+$137)|0); //@line 184 "../src/h264bsd_conceal.c"
 var $140=HEAP8[($139)]; //@line 184 "../src/h264bsd_conceal.c"
 var $141=$i; //@line 184 "../src/h264bsd_conceal.c"
 var $142=$curr_data; //@line 184 "../src/h264bsd_conceal.c"
 var $143=(($142+$141)|0); //@line 184 "../src/h264bsd_conceal.c"
 HEAP8[($143)]=$140; //@line 184 "../src/h264bsd_conceal.c"
 label=34;break;
 case 34: 
 var $145=$2; //@line 186 "../src/h264bsd_conceal.c"
 var $146=(($145+1176)|0); //@line 186 "../src/h264bsd_conceal.c"
 var $147=HEAP32[(($146)>>2)]; //@line 186 "../src/h264bsd_conceal.c"
 var $148=$2; //@line 186 "../src/h264bsd_conceal.c"
 var $149=(($148+1204)|0); //@line 186 "../src/h264bsd_conceal.c"
 HEAP32[(($149)>>2)]=$147; //@line 186 "../src/h264bsd_conceal.c"
 $i=0; //@line 189 "../src/h264bsd_conceal.c"
 label=35;break; //@line 189 "../src/h264bsd_conceal.c"
 case 35: 
 var $151=$i; //@line 189 "../src/h264bsd_conceal.c"
 var $152=$2; //@line 189 "../src/h264bsd_conceal.c"
 var $153=(($152+1176)|0); //@line 189 "../src/h264bsd_conceal.c"
 var $154=HEAP32[(($153)>>2)]; //@line 189 "../src/h264bsd_conceal.c"
 var $155=($151>>>0)<($154>>>0); //@line 189 "../src/h264bsd_conceal.c"
 if($155){label=36;break;}else{label=38;break;} //@line 189 "../src/h264bsd_conceal.c"
 case 36: 
 var $157=$i; //@line 190 "../src/h264bsd_conceal.c"
 var $158=$2; //@line 190 "../src/h264bsd_conceal.c"
 var $159=(($158+1212)|0); //@line 190 "../src/h264bsd_conceal.c"
 var $160=HEAP32[(($159)>>2)]; //@line 190 "../src/h264bsd_conceal.c"
 var $161=(($160+((($157)*(216))&-1))|0); //@line 190 "../src/h264bsd_conceal.c"
 var $162=(($161+8)|0); //@line 190 "../src/h264bsd_conceal.c"
 HEAP32[(($162)>>2)]=1; //@line 190 "../src/h264bsd_conceal.c"
 label=37;break; //@line 190 "../src/h264bsd_conceal.c"
 case 37: 
 var $164=$i; //@line 189 "../src/h264bsd_conceal.c"
 var $165=((($164)+(1))|0); //@line 189 "../src/h264bsd_conceal.c"
 $i=$165; //@line 189 "../src/h264bsd_conceal.c"
 label=35;break; //@line 189 "../src/h264bsd_conceal.c"
 case 38: 
 $1=0; //@line 192 "../src/h264bsd_conceal.c"
 label=68;break; //@line 192 "../src/h264bsd_conceal.c"
 case 39: 
 var $168=$2; //@line 197 "../src/h264bsd_conceal.c"
 var $169=(($168+1212)|0); //@line 197 "../src/h264bsd_conceal.c"
 var $170=HEAP32[(($169)>>2)]; //@line 197 "../src/h264bsd_conceal.c"
 var $171=$row; //@line 197 "../src/h264bsd_conceal.c"
 var $172=$width; //@line 197 "../src/h264bsd_conceal.c"
 var $173=(Math_imul($171,$172)|0); //@line 197 "../src/h264bsd_conceal.c"
 var $174=(($170+((($173)*(216))&-1))|0); //@line 197 "../src/h264bsd_conceal.c"
 $mb=$174; //@line 197 "../src/h264bsd_conceal.c"
 var $175=$col; //@line 198 "../src/h264bsd_conceal.c"
 $j=$175; //@line 198 "../src/h264bsd_conceal.c"
 label=40;break; //@line 198 "../src/h264bsd_conceal.c"
 case 40: 
 var $177=$j; //@line 198 "../src/h264bsd_conceal.c"
 var $178=((($177)-(1))|0); //@line 198 "../src/h264bsd_conceal.c"
 $j=$178; //@line 198 "../src/h264bsd_conceal.c"
 var $179=($177|0)!=0; //@line 198 "../src/h264bsd_conceal.c"
 if($179){label=41;break;}else{label=42;break;} //@line 198 "../src/h264bsd_conceal.c"
 case 41: 
 var $181=$mb; //@line 200 "../src/h264bsd_conceal.c"
 var $182=$j; //@line 200 "../src/h264bsd_conceal.c"
 var $183=(($181+((($182)*(216))&-1))|0); //@line 200 "../src/h264bsd_conceal.c"
 var $184=$3; //@line 200 "../src/h264bsd_conceal.c"
 var $185=$row; //@line 200 "../src/h264bsd_conceal.c"
 var $186=$j; //@line 200 "../src/h264bsd_conceal.c"
 var $187=$4; //@line 200 "../src/h264bsd_conceal.c"
 var $188=$refData; //@line 200 "../src/h264bsd_conceal.c"
 var $189=_ConcealMb($183,$184,$185,$186,$187,$188); //@line 200 "../src/h264bsd_conceal.c"
 var $190=$j; //@line 201 "../src/h264bsd_conceal.c"
 var $191=$mb; //@line 201 "../src/h264bsd_conceal.c"
 var $192=(($191+((($190)*(216))&-1))|0); //@line 201 "../src/h264bsd_conceal.c"
 var $193=(($192+196)|0); //@line 201 "../src/h264bsd_conceal.c"
 HEAP32[(($193)>>2)]=1; //@line 201 "../src/h264bsd_conceal.c"
 var $194=$2; //@line 202 "../src/h264bsd_conceal.c"
 var $195=(($194+1204)|0); //@line 202 "../src/h264bsd_conceal.c"
 var $196=HEAP32[(($195)>>2)]; //@line 202 "../src/h264bsd_conceal.c"
 var $197=((($196)+(1))|0); //@line 202 "../src/h264bsd_conceal.c"
 HEAP32[(($195)>>2)]=$197; //@line 202 "../src/h264bsd_conceal.c"
 label=40;break; //@line 203 "../src/h264bsd_conceal.c"
 case 42: 
 var $199=$col; //@line 204 "../src/h264bsd_conceal.c"
 var $200=((($199)+(1))|0); //@line 204 "../src/h264bsd_conceal.c"
 $j=$200; //@line 204 "../src/h264bsd_conceal.c"
 label=43;break; //@line 204 "../src/h264bsd_conceal.c"
 case 43: 
 var $202=$j; //@line 204 "../src/h264bsd_conceal.c"
 var $203=$width; //@line 204 "../src/h264bsd_conceal.c"
 var $204=($202>>>0)<($203>>>0); //@line 204 "../src/h264bsd_conceal.c"
 if($204){label=44;break;}else{label=48;break;} //@line 204 "../src/h264bsd_conceal.c"
 case 44: 
 var $206=$j; //@line 206 "../src/h264bsd_conceal.c"
 var $207=$mb; //@line 206 "../src/h264bsd_conceal.c"
 var $208=(($207+((($206)*(216))&-1))|0); //@line 206 "../src/h264bsd_conceal.c"
 var $209=(($208+196)|0); //@line 206 "../src/h264bsd_conceal.c"
 var $210=HEAP32[(($209)>>2)]; //@line 206 "../src/h264bsd_conceal.c"
 var $211=($210|0)!=0; //@line 206 "../src/h264bsd_conceal.c"
 if($211){label=46;break;}else{label=45;break;} //@line 206 "../src/h264bsd_conceal.c"
 case 45: 
 var $213=$mb; //@line 208 "../src/h264bsd_conceal.c"
 var $214=$j; //@line 208 "../src/h264bsd_conceal.c"
 var $215=(($213+((($214)*(216))&-1))|0); //@line 208 "../src/h264bsd_conceal.c"
 var $216=$3; //@line 208 "../src/h264bsd_conceal.c"
 var $217=$row; //@line 208 "../src/h264bsd_conceal.c"
 var $218=$j; //@line 208 "../src/h264bsd_conceal.c"
 var $219=$4; //@line 208 "../src/h264bsd_conceal.c"
 var $220=$refData; //@line 208 "../src/h264bsd_conceal.c"
 var $221=_ConcealMb($215,$216,$217,$218,$219,$220); //@line 208 "../src/h264bsd_conceal.c"
 var $222=$j; //@line 209 "../src/h264bsd_conceal.c"
 var $223=$mb; //@line 209 "../src/h264bsd_conceal.c"
 var $224=(($223+((($222)*(216))&-1))|0); //@line 209 "../src/h264bsd_conceal.c"
 var $225=(($224+196)|0); //@line 209 "../src/h264bsd_conceal.c"
 HEAP32[(($225)>>2)]=1; //@line 209 "../src/h264bsd_conceal.c"
 var $226=$2; //@line 210 "../src/h264bsd_conceal.c"
 var $227=(($226+1204)|0); //@line 210 "../src/h264bsd_conceal.c"
 var $228=HEAP32[(($227)>>2)]; //@line 210 "../src/h264bsd_conceal.c"
 var $229=((($228)+(1))|0); //@line 210 "../src/h264bsd_conceal.c"
 HEAP32[(($227)>>2)]=$229; //@line 210 "../src/h264bsd_conceal.c"
 label=46;break; //@line 211 "../src/h264bsd_conceal.c"
 case 46: 
 label=47;break; //@line 212 "../src/h264bsd_conceal.c"
 case 47: 
 var $232=$j; //@line 204 "../src/h264bsd_conceal.c"
 var $233=((($232)+(1))|0); //@line 204 "../src/h264bsd_conceal.c"
 $j=$233; //@line 204 "../src/h264bsd_conceal.c"
 label=43;break; //@line 204 "../src/h264bsd_conceal.c"
 case 48: 
 var $235=$row; //@line 214 "../src/h264bsd_conceal.c"
 var $236=($235|0)!=0; //@line 214 "../src/h264bsd_conceal.c"
 if($236){label=49;break;}else{label=57;break;} //@line 214 "../src/h264bsd_conceal.c"
 case 49: 
 $j=0; //@line 216 "../src/h264bsd_conceal.c"
 label=50;break; //@line 216 "../src/h264bsd_conceal.c"
 case 50: 
 var $239=$j; //@line 216 "../src/h264bsd_conceal.c"
 var $240=$width; //@line 216 "../src/h264bsd_conceal.c"
 var $241=($239>>>0)<($240>>>0); //@line 216 "../src/h264bsd_conceal.c"
 if($241){label=51;break;}else{label=56;break;} //@line 216 "../src/h264bsd_conceal.c"
 case 51: 
 var $243=$row; //@line 218 "../src/h264bsd_conceal.c"
 var $244=((($243)-(1))|0); //@line 218 "../src/h264bsd_conceal.c"
 $i=$244; //@line 218 "../src/h264bsd_conceal.c"
 var $245=$2; //@line 219 "../src/h264bsd_conceal.c"
 var $246=(($245+1212)|0); //@line 219 "../src/h264bsd_conceal.c"
 var $247=HEAP32[(($246)>>2)]; //@line 219 "../src/h264bsd_conceal.c"
 var $248=$i; //@line 219 "../src/h264bsd_conceal.c"
 var $249=$width; //@line 219 "../src/h264bsd_conceal.c"
 var $250=(Math_imul($248,$249)|0); //@line 219 "../src/h264bsd_conceal.c"
 var $251=(($247+((($250)*(216))&-1))|0); //@line 219 "../src/h264bsd_conceal.c"
 var $252=$j; //@line 219 "../src/h264bsd_conceal.c"
 var $253=(($251+((($252)*(216))&-1))|0); //@line 219 "../src/h264bsd_conceal.c"
 $mb=$253; //@line 219 "../src/h264bsd_conceal.c"
 label=52;break; //@line 220 "../src/h264bsd_conceal.c"
 case 52: 
 var $255=$mb; //@line 222 "../src/h264bsd_conceal.c"
 var $256=$3; //@line 222 "../src/h264bsd_conceal.c"
 var $257=$i; //@line 222 "../src/h264bsd_conceal.c"
 var $258=$j; //@line 222 "../src/h264bsd_conceal.c"
 var $259=$4; //@line 222 "../src/h264bsd_conceal.c"
 var $260=$refData; //@line 222 "../src/h264bsd_conceal.c"
 var $261=_ConcealMb($255,$256,$257,$258,$259,$260); //@line 222 "../src/h264bsd_conceal.c"
 var $262=$mb; //@line 223 "../src/h264bsd_conceal.c"
 var $263=(($262+196)|0); //@line 223 "../src/h264bsd_conceal.c"
 HEAP32[(($263)>>2)]=1; //@line 223 "../src/h264bsd_conceal.c"
 var $264=$2; //@line 224 "../src/h264bsd_conceal.c"
 var $265=(($264+1204)|0); //@line 224 "../src/h264bsd_conceal.c"
 var $266=HEAP32[(($265)>>2)]; //@line 224 "../src/h264bsd_conceal.c"
 var $267=((($266)+(1))|0); //@line 224 "../src/h264bsd_conceal.c"
 HEAP32[(($265)>>2)]=$267; //@line 224 "../src/h264bsd_conceal.c"
 var $268=$width; //@line 225 "../src/h264bsd_conceal.c"
 var $269=$mb; //@line 225 "../src/h264bsd_conceal.c"
 var $270=(((-$268))|0); //@line 225 "../src/h264bsd_conceal.c"
 var $271=(($269+((($270)*(216))&-1))|0); //@line 225 "../src/h264bsd_conceal.c"
 $mb=$271; //@line 225 "../src/h264bsd_conceal.c"
 label=53;break; //@line 226 "../src/h264bsd_conceal.c"
 case 53: 
 var $273=$i; //@line 226 "../src/h264bsd_conceal.c"
 var $274=((($273)-(1))|0); //@line 226 "../src/h264bsd_conceal.c"
 $i=$274; //@line 226 "../src/h264bsd_conceal.c"
 var $275=($273|0)!=0; //@line 226 "../src/h264bsd_conceal.c"
 if($275){label=52;break;}else{label=54;break;} //@line 226 "../src/h264bsd_conceal.c"
 case 54: 
 label=55;break; //@line 227 "../src/h264bsd_conceal.c"
 case 55: 
 var $278=$j; //@line 216 "../src/h264bsd_conceal.c"
 var $279=((($278)+(1))|0); //@line 216 "../src/h264bsd_conceal.c"
 $j=$279; //@line 216 "../src/h264bsd_conceal.c"
 label=50;break; //@line 216 "../src/h264bsd_conceal.c"
 case 56: 
 label=57;break; //@line 228 "../src/h264bsd_conceal.c"
 case 57: 
 var $282=$row; //@line 231 "../src/h264bsd_conceal.c"
 var $283=((($282)+(1))|0); //@line 231 "../src/h264bsd_conceal.c"
 $i=$283; //@line 231 "../src/h264bsd_conceal.c"
 label=58;break; //@line 231 "../src/h264bsd_conceal.c"
 case 58: 
 var $285=$i; //@line 231 "../src/h264bsd_conceal.c"
 var $286=$height; //@line 231 "../src/h264bsd_conceal.c"
 var $287=($285>>>0)<($286>>>0); //@line 231 "../src/h264bsd_conceal.c"
 if($287){label=59;break;}else{label=67;break;} //@line 231 "../src/h264bsd_conceal.c"
 case 59: 
 var $289=$2; //@line 233 "../src/h264bsd_conceal.c"
 var $290=(($289+1212)|0); //@line 233 "../src/h264bsd_conceal.c"
 var $291=HEAP32[(($290)>>2)]; //@line 233 "../src/h264bsd_conceal.c"
 var $292=$i; //@line 233 "../src/h264bsd_conceal.c"
 var $293=$width; //@line 233 "../src/h264bsd_conceal.c"
 var $294=(Math_imul($292,$293)|0); //@line 233 "../src/h264bsd_conceal.c"
 var $295=(($291+((($294)*(216))&-1))|0); //@line 233 "../src/h264bsd_conceal.c"
 $mb=$295; //@line 233 "../src/h264bsd_conceal.c"
 $j=0; //@line 235 "../src/h264bsd_conceal.c"
 label=60;break; //@line 235 "../src/h264bsd_conceal.c"
 case 60: 
 var $297=$j; //@line 235 "../src/h264bsd_conceal.c"
 var $298=$width; //@line 235 "../src/h264bsd_conceal.c"
 var $299=($297>>>0)<($298>>>0); //@line 235 "../src/h264bsd_conceal.c"
 if($299){label=61;break;}else{label=65;break;} //@line 235 "../src/h264bsd_conceal.c"
 case 61: 
 var $301=$j; //@line 237 "../src/h264bsd_conceal.c"
 var $302=$mb; //@line 237 "../src/h264bsd_conceal.c"
 var $303=(($302+((($301)*(216))&-1))|0); //@line 237 "../src/h264bsd_conceal.c"
 var $304=(($303+196)|0); //@line 237 "../src/h264bsd_conceal.c"
 var $305=HEAP32[(($304)>>2)]; //@line 237 "../src/h264bsd_conceal.c"
 var $306=($305|0)!=0; //@line 237 "../src/h264bsd_conceal.c"
 if($306){label=63;break;}else{label=62;break;} //@line 237 "../src/h264bsd_conceal.c"
 case 62: 
 var $308=$mb; //@line 239 "../src/h264bsd_conceal.c"
 var $309=$j; //@line 239 "../src/h264bsd_conceal.c"
 var $310=(($308+((($309)*(216))&-1))|0); //@line 239 "../src/h264bsd_conceal.c"
 var $311=$3; //@line 239 "../src/h264bsd_conceal.c"
 var $312=$i; //@line 239 "../src/h264bsd_conceal.c"
 var $313=$j; //@line 239 "../src/h264bsd_conceal.c"
 var $314=$4; //@line 239 "../src/h264bsd_conceal.c"
 var $315=$refData; //@line 239 "../src/h264bsd_conceal.c"
 var $316=_ConcealMb($310,$311,$312,$313,$314,$315); //@line 239 "../src/h264bsd_conceal.c"
 var $317=$j; //@line 240 "../src/h264bsd_conceal.c"
 var $318=$mb; //@line 240 "../src/h264bsd_conceal.c"
 var $319=(($318+((($317)*(216))&-1))|0); //@line 240 "../src/h264bsd_conceal.c"
 var $320=(($319+196)|0); //@line 240 "../src/h264bsd_conceal.c"
 HEAP32[(($320)>>2)]=1; //@line 240 "../src/h264bsd_conceal.c"
 var $321=$2; //@line 241 "../src/h264bsd_conceal.c"
 var $322=(($321+1204)|0); //@line 241 "../src/h264bsd_conceal.c"
 var $323=HEAP32[(($322)>>2)]; //@line 241 "../src/h264bsd_conceal.c"
 var $324=((($323)+(1))|0); //@line 241 "../src/h264bsd_conceal.c"
 HEAP32[(($322)>>2)]=$324; //@line 241 "../src/h264bsd_conceal.c"
 label=63;break; //@line 242 "../src/h264bsd_conceal.c"
 case 63: 
 label=64;break; //@line 243 "../src/h264bsd_conceal.c"
 case 64: 
 var $327=$j; //@line 235 "../src/h264bsd_conceal.c"
 var $328=((($327)+(1))|0); //@line 235 "../src/h264bsd_conceal.c"
 $j=$328; //@line 235 "../src/h264bsd_conceal.c"
 label=60;break; //@line 235 "../src/h264bsd_conceal.c"
 case 65: 
 label=66;break; //@line 244 "../src/h264bsd_conceal.c"
 case 66: 
 var $331=$i; //@line 231 "../src/h264bsd_conceal.c"
 var $332=((($331)+(1))|0); //@line 231 "../src/h264bsd_conceal.c"
 $i=$332; //@line 231 "../src/h264bsd_conceal.c"
 label=58;break; //@line 231 "../src/h264bsd_conceal.c"
 case 67: 
 $1=0; //@line 246 "../src/h264bsd_conceal.c"
 label=68;break; //@line 246 "../src/h264bsd_conceal.c"
 case 68: 
 var $335=$1; //@line 247 "../src/h264bsd_conceal.c"
 STACKTOP=sp;return $335; //@line 247 "../src/h264bsd_conceal.c"
  default: assert(0, "bad label: " + label);
 }
}
function _ConcealMb($pMb,$currImage,$row,$col,$sliceType,$refData){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+544)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $i;
 var $j;
 var $comp;
 var $hor;
 var $ver;
 var $mbNum;
 var $width;
 var $height;
 var $mbPos;
 var $data=sp;
 var $pData;
 var $tmp;
 var $firstPhase=(sp)+(384);
 var $pTmp;
 var $a=(sp)+(448);
 var $b=(sp)+(464);
 var $l=(sp)+(480);
 var $r=(sp)+(496);
 var $A;
 var $B;
 var $L;
 var $R;
 var $mv=(sp)+(512);
 var $refImage=(sp)+(520);
 $2=$pMb;
 $3=$currImage;
 $4=$row;
 $5=$col;
 $6=$sliceType;
 $7=$refData;
 var $8=$2; //@line 284 "../src/h264bsd_conceal.c"
 var $9=($8|0)!=0; //@line 284 "../src/h264bsd_conceal.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 284 "../src/h264bsd_conceal.c"
 case 2: 
 ___assert_fail(5840,12096,284,16464); //@line 284 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 284 "../src/h264bsd_conceal.c"
 label=3;break; //@line 284 "../src/h264bsd_conceal.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 284 "../src/h264bsd_conceal.c"
 var $15=$2; //@line 285 "../src/h264bsd_conceal.c"
 var $16=(($15+196)|0); //@line 285 "../src/h264bsd_conceal.c"
 var $17=HEAP32[(($16)>>2)]; //@line 285 "../src/h264bsd_conceal.c"
 var $18=($17|0)!=0; //@line 285 "../src/h264bsd_conceal.c"
 if($18){label=4;break;}else{var $22=1;label=5;break;} //@line 285 "../src/h264bsd_conceal.c"
 case 4: 
 ___assert_fail(5376,12096,285,16464); //@line 285 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 285 "../src/h264bsd_conceal.c"
 label=5;break; //@line 285 "../src/h264bsd_conceal.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 285 "../src/h264bsd_conceal.c"
 var $24=$3; //@line 286 "../src/h264bsd_conceal.c"
 var $25=($24|0)!=0; //@line 286 "../src/h264bsd_conceal.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 286 "../src/h264bsd_conceal.c"
 case 6: 
 ___assert_fail(9224,12096,286,16464); //@line 286 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 286 "../src/h264bsd_conceal.c"
 label=7;break; //@line 286 "../src/h264bsd_conceal.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 286 "../src/h264bsd_conceal.c"
 var $31=$5; //@line 287 "../src/h264bsd_conceal.c"
 var $32=$3; //@line 287 "../src/h264bsd_conceal.c"
 var $33=(($32+4)|0); //@line 287 "../src/h264bsd_conceal.c"
 var $34=HEAP32[(($33)>>2)]; //@line 287 "../src/h264bsd_conceal.c"
 var $35=($31>>>0)<($34>>>0); //@line 287 "../src/h264bsd_conceal.c"
 if($35){var $39=1;label=9;break;}else{label=8;break;} //@line 287 "../src/h264bsd_conceal.c"
 case 8: 
 ___assert_fail(5056,12096,287,16464); //@line 287 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 287 "../src/h264bsd_conceal.c"
 label=9;break; //@line 287 "../src/h264bsd_conceal.c"
 case 9: 
 var $39;
 var $40=($39&1); //@line 287 "../src/h264bsd_conceal.c"
 var $41=$4; //@line 288 "../src/h264bsd_conceal.c"
 var $42=$3; //@line 288 "../src/h264bsd_conceal.c"
 var $43=(($42+8)|0); //@line 288 "../src/h264bsd_conceal.c"
 var $44=HEAP32[(($43)>>2)]; //@line 288 "../src/h264bsd_conceal.c"
 var $45=($41>>>0)<($44>>>0); //@line 288 "../src/h264bsd_conceal.c"
 if($45){var $49=1;label=11;break;}else{label=10;break;} //@line 288 "../src/h264bsd_conceal.c"
 case 10: 
 ___assert_fail(4752,12096,288,16464); //@line 288 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 288 "../src/h264bsd_conceal.c"
 label=11;break; //@line 288 "../src/h264bsd_conceal.c"
 case 11: 
 var $49;
 var $50=($49&1); //@line 288 "../src/h264bsd_conceal.c"
 var $51=$3; //@line 293 "../src/h264bsd_conceal.c"
 var $52=(($51+4)|0); //@line 293 "../src/h264bsd_conceal.c"
 var $53=HEAP32[(($52)>>2)]; //@line 293 "../src/h264bsd_conceal.c"
 $width=$53; //@line 293 "../src/h264bsd_conceal.c"
 var $54=$3; //@line 294 "../src/h264bsd_conceal.c"
 var $55=(($54+8)|0); //@line 294 "../src/h264bsd_conceal.c"
 var $56=HEAP32[(($55)>>2)]; //@line 294 "../src/h264bsd_conceal.c"
 $height=$56; //@line 294 "../src/h264bsd_conceal.c"
 var $57=$4; //@line 295 "../src/h264bsd_conceal.c"
 var $58=$width; //@line 295 "../src/h264bsd_conceal.c"
 var $59=(Math_imul($57,$58)|0); //@line 295 "../src/h264bsd_conceal.c"
 var $60=$5; //@line 295 "../src/h264bsd_conceal.c"
 var $61=((($59)+($60))|0); //@line 295 "../src/h264bsd_conceal.c"
 $mbNum=$61; //@line 295 "../src/h264bsd_conceal.c"
 var $62=$3; //@line 297 "../src/h264bsd_conceal.c"
 var $63=$mbNum; //@line 297 "../src/h264bsd_conceal.c"
 _h264bsdSetCurrImageMbPointers($62,$63); //@line 297 "../src/h264bsd_conceal.c"
 var $64=$3; //@line 299 "../src/h264bsd_conceal.c"
 var $65=(($64)|0); //@line 299 "../src/h264bsd_conceal.c"
 var $66=HEAP32[(($65)>>2)]; //@line 299 "../src/h264bsd_conceal.c"
 var $67=$4; //@line 299 "../src/h264bsd_conceal.c"
 var $68=($67<<4); //@line 299 "../src/h264bsd_conceal.c"
 var $69=$width; //@line 299 "../src/h264bsd_conceal.c"
 var $70=(Math_imul($68,$69)|0); //@line 299 "../src/h264bsd_conceal.c"
 var $71=($70<<4); //@line 299 "../src/h264bsd_conceal.c"
 var $72=(($66+$71)|0); //@line 299 "../src/h264bsd_conceal.c"
 var $73=$5; //@line 299 "../src/h264bsd_conceal.c"
 var $74=($73<<4); //@line 299 "../src/h264bsd_conceal.c"
 var $75=(($72+$74)|0); //@line 299 "../src/h264bsd_conceal.c"
 $mbPos=$75; //@line 299 "../src/h264bsd_conceal.c"
 $R=0; //@line 300 "../src/h264bsd_conceal.c"
 $L=0; //@line 300 "../src/h264bsd_conceal.c"
 $B=0; //@line 300 "../src/h264bsd_conceal.c"
 $A=0; //@line 300 "../src/h264bsd_conceal.c"
 var $76=$2; //@line 303 "../src/h264bsd_conceal.c"
 var $77=(($76+20)|0); //@line 303 "../src/h264bsd_conceal.c"
 HEAP32[(($77)>>2)]=40; //@line 303 "../src/h264bsd_conceal.c"
 var $78=$2; //@line 304 "../src/h264bsd_conceal.c"
 var $79=(($78+8)|0); //@line 304 "../src/h264bsd_conceal.c"
 HEAP32[(($79)>>2)]=0; //@line 304 "../src/h264bsd_conceal.c"
 var $80=$2; //@line 307 "../src/h264bsd_conceal.c"
 var $81=(($80)|0); //@line 307 "../src/h264bsd_conceal.c"
 HEAP32[(($81)>>2)]=6; //@line 307 "../src/h264bsd_conceal.c"
 var $82=$2; //@line 308 "../src/h264bsd_conceal.c"
 var $83=(($82+12)|0); //@line 308 "../src/h264bsd_conceal.c"
 HEAP32[(($83)>>2)]=0; //@line 308 "../src/h264bsd_conceal.c"
 var $84=$2; //@line 309 "../src/h264bsd_conceal.c"
 var $85=(($84+16)|0); //@line 309 "../src/h264bsd_conceal.c"
 HEAP32[(($85)>>2)]=0; //@line 309 "../src/h264bsd_conceal.c"
 var $86=$2; //@line 310 "../src/h264bsd_conceal.c"
 var $87=(($86+24)|0); //@line 310 "../src/h264bsd_conceal.c"
 HEAP32[(($87)>>2)]=0; //@line 310 "../src/h264bsd_conceal.c"
 var $88=$6; //@line 312 "../src/h264bsd_conceal.c"
 var $89=($88|0)==2; //@line 312 "../src/h264bsd_conceal.c"
 if($89){label=13;break;}else{label=12;break;} //@line 312 "../src/h264bsd_conceal.c"
 case 12: 
 var $91=$6; //@line 312 "../src/h264bsd_conceal.c"
 var $92=($91|0)==7; //@line 312 "../src/h264bsd_conceal.c"
 if($92){label=13;break;}else{label=14;break;} //@line 312 "../src/h264bsd_conceal.c"
 case 13: 
 var $94=$data; //@line 313 "../src/h264bsd_conceal.c"
 _memset($94, 0, 384)|0; //@line 313 "../src/h264bsd_conceal.c"
 label=18;break; //@line 313 "../src/h264bsd_conceal.c"
 case 14: 
 var $96=$mv; //@line 316 "../src/h264bsd_conceal.c"
 HEAP16[(($96)>>1)]=0; HEAP16[((($96)+(2))>>1)]=0; //@line 316 "../src/h264bsd_conceal.c"
 var $97=$width; //@line 318 "../src/h264bsd_conceal.c"
 var $98=(($refImage+4)|0); //@line 318 "../src/h264bsd_conceal.c"
 HEAP32[(($98)>>2)]=$97; //@line 318 "../src/h264bsd_conceal.c"
 var $99=$height; //@line 319 "../src/h264bsd_conceal.c"
 var $100=(($refImage+8)|0); //@line 319 "../src/h264bsd_conceal.c"
 HEAP32[(($100)>>2)]=$99; //@line 319 "../src/h264bsd_conceal.c"
 var $101=$7; //@line 320 "../src/h264bsd_conceal.c"
 var $102=(($refImage)|0); //@line 320 "../src/h264bsd_conceal.c"
 HEAP32[(($102)>>2)]=$101; //@line 320 "../src/h264bsd_conceal.c"
 var $103=(($refImage)|0); //@line 321 "../src/h264bsd_conceal.c"
 var $104=HEAP32[(($103)>>2)]; //@line 321 "../src/h264bsd_conceal.c"
 var $105=($104|0)!=0; //@line 321 "../src/h264bsd_conceal.c"
 if($105){label=15;break;}else{label=16;break;} //@line 321 "../src/h264bsd_conceal.c"
 case 15: 
 var $107=(($data)|0); //@line 324 "../src/h264bsd_conceal.c"
 var $108=$5; //@line 324 "../src/h264bsd_conceal.c"
 var $109=($108<<4); //@line 324 "../src/h264bsd_conceal.c"
 var $110=$4; //@line 324 "../src/h264bsd_conceal.c"
 var $111=($110<<4); //@line 324 "../src/h264bsd_conceal.c"
 _h264bsdPredictSamples($107,$mv,$refImage,$109,$111,0,0,16,16); //@line 324 "../src/h264bsd_conceal.c"
 var $112=$3; //@line 331 "../src/h264bsd_conceal.c"
 var $113=(($data)|0); //@line 331 "../src/h264bsd_conceal.c"
 _h264bsdWriteMacroblock($112,$113); //@line 331 "../src/h264bsd_conceal.c"
 $1=0; //@line 333 "../src/h264bsd_conceal.c"
 label=105;break; //@line 333 "../src/h264bsd_conceal.c"
 case 16: 
 var $115=$data; //@line 336 "../src/h264bsd_conceal.c"
 _memset($115, 0, 384)|0; //@line 336 "../src/h264bsd_conceal.c"
 label=17;break;
 case 17: 
 label=18;break;
 case 18: 
 var $118=$firstPhase; //@line 339 "../src/h264bsd_conceal.c"
 _memset($118, 0, 64)|0; //@line 339 "../src/h264bsd_conceal.c"
 $j=0; //@line 342 "../src/h264bsd_conceal.c"
 $ver=0; //@line 343 "../src/h264bsd_conceal.c"
 $hor=0; //@line 343 "../src/h264bsd_conceal.c"
 var $119=$4; //@line 344 "../src/h264bsd_conceal.c"
 var $120=($119|0)!=0; //@line 344 "../src/h264bsd_conceal.c"
 if($120){label=19;break;}else{label=21;break;} //@line 344 "../src/h264bsd_conceal.c"
 case 19: 
 var $122=$2; //@line 344 "../src/h264bsd_conceal.c"
 var $123=$width; //@line 344 "../src/h264bsd_conceal.c"
 var $124=(((-$123))|0); //@line 344 "../src/h264bsd_conceal.c"
 var $125=(($122+((($124)*(216))&-1))|0); //@line 344 "../src/h264bsd_conceal.c"
 var $126=(($125+196)|0); //@line 344 "../src/h264bsd_conceal.c"
 var $127=HEAP32[(($126)>>2)]; //@line 344 "../src/h264bsd_conceal.c"
 var $128=($127|0)!=0; //@line 344 "../src/h264bsd_conceal.c"
 if($128){label=20;break;}else{label=21;break;} //@line 344 "../src/h264bsd_conceal.c"
 case 20: 
 $A=1; //@line 346 "../src/h264bsd_conceal.c"
 var $130=$mbPos; //@line 347 "../src/h264bsd_conceal.c"
 var $131=$width; //@line 347 "../src/h264bsd_conceal.c"
 var $132=($131<<4); //@line 347 "../src/h264bsd_conceal.c"
 var $133=(((-$132))|0); //@line 347 "../src/h264bsd_conceal.c"
 var $134=(($130+$133)|0); //@line 347 "../src/h264bsd_conceal.c"
 $pData=$134; //@line 347 "../src/h264bsd_conceal.c"
 var $135=$pData; //@line 348 "../src/h264bsd_conceal.c"
 var $136=(($135+1)|0); //@line 348 "../src/h264bsd_conceal.c"
 $pData=$136; //@line 348 "../src/h264bsd_conceal.c"
 var $137=HEAP8[($135)]; //@line 348 "../src/h264bsd_conceal.c"
 var $138=($137&255); //@line 348 "../src/h264bsd_conceal.c"
 var $139=(($a)|0); //@line 348 "../src/h264bsd_conceal.c"
 HEAP32[(($139)>>2)]=$138; //@line 348 "../src/h264bsd_conceal.c"
 var $140=$pData; //@line 348 "../src/h264bsd_conceal.c"
 var $141=(($140+1)|0); //@line 348 "../src/h264bsd_conceal.c"
 $pData=$141; //@line 348 "../src/h264bsd_conceal.c"
 var $142=HEAP8[($140)]; //@line 348 "../src/h264bsd_conceal.c"
 var $143=($142&255); //@line 348 "../src/h264bsd_conceal.c"
 var $144=(($a)|0); //@line 348 "../src/h264bsd_conceal.c"
 var $145=HEAP32[(($144)>>2)]; //@line 348 "../src/h264bsd_conceal.c"
 var $146=((($145)+($143))|0); //@line 348 "../src/h264bsd_conceal.c"
 HEAP32[(($144)>>2)]=$146; //@line 348 "../src/h264bsd_conceal.c"
 var $147=$pData; //@line 348 "../src/h264bsd_conceal.c"
 var $148=(($147+1)|0); //@line 348 "../src/h264bsd_conceal.c"
 $pData=$148; //@line 348 "../src/h264bsd_conceal.c"
 var $149=HEAP8[($147)]; //@line 348 "../src/h264bsd_conceal.c"
 var $150=($149&255); //@line 348 "../src/h264bsd_conceal.c"
 var $151=(($a)|0); //@line 348 "../src/h264bsd_conceal.c"
 var $152=HEAP32[(($151)>>2)]; //@line 348 "../src/h264bsd_conceal.c"
 var $153=((($152)+($150))|0); //@line 348 "../src/h264bsd_conceal.c"
 HEAP32[(($151)>>2)]=$153; //@line 348 "../src/h264bsd_conceal.c"
 var $154=$pData; //@line 348 "../src/h264bsd_conceal.c"
 var $155=(($154+1)|0); //@line 348 "../src/h264bsd_conceal.c"
 $pData=$155; //@line 348 "../src/h264bsd_conceal.c"
 var $156=HEAP8[($154)]; //@line 348 "../src/h264bsd_conceal.c"
 var $157=($156&255); //@line 348 "../src/h264bsd_conceal.c"
 var $158=(($a)|0); //@line 348 "../src/h264bsd_conceal.c"
 var $159=HEAP32[(($158)>>2)]; //@line 348 "../src/h264bsd_conceal.c"
 var $160=((($159)+($157))|0); //@line 348 "../src/h264bsd_conceal.c"
 HEAP32[(($158)>>2)]=$160; //@line 348 "../src/h264bsd_conceal.c"
 var $161=$pData; //@line 349 "../src/h264bsd_conceal.c"
 var $162=(($161+1)|0); //@line 349 "../src/h264bsd_conceal.c"
 $pData=$162; //@line 349 "../src/h264bsd_conceal.c"
 var $163=HEAP8[($161)]; //@line 349 "../src/h264bsd_conceal.c"
 var $164=($163&255); //@line 349 "../src/h264bsd_conceal.c"
 var $165=(($a+4)|0); //@line 349 "../src/h264bsd_conceal.c"
 HEAP32[(($165)>>2)]=$164; //@line 349 "../src/h264bsd_conceal.c"
 var $166=$pData; //@line 349 "../src/h264bsd_conceal.c"
 var $167=(($166+1)|0); //@line 349 "../src/h264bsd_conceal.c"
 $pData=$167; //@line 349 "../src/h264bsd_conceal.c"
 var $168=HEAP8[($166)]; //@line 349 "../src/h264bsd_conceal.c"
 var $169=($168&255); //@line 349 "../src/h264bsd_conceal.c"
 var $170=(($a+4)|0); //@line 349 "../src/h264bsd_conceal.c"
 var $171=HEAP32[(($170)>>2)]; //@line 349 "../src/h264bsd_conceal.c"
 var $172=((($171)+($169))|0); //@line 349 "../src/h264bsd_conceal.c"
 HEAP32[(($170)>>2)]=$172; //@line 349 "../src/h264bsd_conceal.c"
 var $173=$pData; //@line 349 "../src/h264bsd_conceal.c"
 var $174=(($173+1)|0); //@line 349 "../src/h264bsd_conceal.c"
 $pData=$174; //@line 349 "../src/h264bsd_conceal.c"
 var $175=HEAP8[($173)]; //@line 349 "../src/h264bsd_conceal.c"
 var $176=($175&255); //@line 349 "../src/h264bsd_conceal.c"
 var $177=(($a+4)|0); //@line 349 "../src/h264bsd_conceal.c"
 var $178=HEAP32[(($177)>>2)]; //@line 349 "../src/h264bsd_conceal.c"
 var $179=((($178)+($176))|0); //@line 349 "../src/h264bsd_conceal.c"
 HEAP32[(($177)>>2)]=$179; //@line 349 "../src/h264bsd_conceal.c"
 var $180=$pData; //@line 349 "../src/h264bsd_conceal.c"
 var $181=(($180+1)|0); //@line 349 "../src/h264bsd_conceal.c"
 $pData=$181; //@line 349 "../src/h264bsd_conceal.c"
 var $182=HEAP8[($180)]; //@line 349 "../src/h264bsd_conceal.c"
 var $183=($182&255); //@line 349 "../src/h264bsd_conceal.c"
 var $184=(($a+4)|0); //@line 349 "../src/h264bsd_conceal.c"
 var $185=HEAP32[(($184)>>2)]; //@line 349 "../src/h264bsd_conceal.c"
 var $186=((($185)+($183))|0); //@line 349 "../src/h264bsd_conceal.c"
 HEAP32[(($184)>>2)]=$186; //@line 349 "../src/h264bsd_conceal.c"
 var $187=$pData; //@line 350 "../src/h264bsd_conceal.c"
 var $188=(($187+1)|0); //@line 350 "../src/h264bsd_conceal.c"
 $pData=$188; //@line 350 "../src/h264bsd_conceal.c"
 var $189=HEAP8[($187)]; //@line 350 "../src/h264bsd_conceal.c"
 var $190=($189&255); //@line 350 "../src/h264bsd_conceal.c"
 var $191=(($a+8)|0); //@line 350 "../src/h264bsd_conceal.c"
 HEAP32[(($191)>>2)]=$190; //@line 350 "../src/h264bsd_conceal.c"
 var $192=$pData; //@line 350 "../src/h264bsd_conceal.c"
 var $193=(($192+1)|0); //@line 350 "../src/h264bsd_conceal.c"
 $pData=$193; //@line 350 "../src/h264bsd_conceal.c"
 var $194=HEAP8[($192)]; //@line 350 "../src/h264bsd_conceal.c"
 var $195=($194&255); //@line 350 "../src/h264bsd_conceal.c"
 var $196=(($a+8)|0); //@line 350 "../src/h264bsd_conceal.c"
 var $197=HEAP32[(($196)>>2)]; //@line 350 "../src/h264bsd_conceal.c"
 var $198=((($197)+($195))|0); //@line 350 "../src/h264bsd_conceal.c"
 HEAP32[(($196)>>2)]=$198; //@line 350 "../src/h264bsd_conceal.c"
 var $199=$pData; //@line 350 "../src/h264bsd_conceal.c"
 var $200=(($199+1)|0); //@line 350 "../src/h264bsd_conceal.c"
 $pData=$200; //@line 350 "../src/h264bsd_conceal.c"
 var $201=HEAP8[($199)]; //@line 350 "../src/h264bsd_conceal.c"
 var $202=($201&255); //@line 350 "../src/h264bsd_conceal.c"
 var $203=(($a+8)|0); //@line 350 "../src/h264bsd_conceal.c"
 var $204=HEAP32[(($203)>>2)]; //@line 350 "../src/h264bsd_conceal.c"
 var $205=((($204)+($202))|0); //@line 350 "../src/h264bsd_conceal.c"
 HEAP32[(($203)>>2)]=$205; //@line 350 "../src/h264bsd_conceal.c"
 var $206=$pData; //@line 350 "../src/h264bsd_conceal.c"
 var $207=(($206+1)|0); //@line 350 "../src/h264bsd_conceal.c"
 $pData=$207; //@line 350 "../src/h264bsd_conceal.c"
 var $208=HEAP8[($206)]; //@line 350 "../src/h264bsd_conceal.c"
 var $209=($208&255); //@line 350 "../src/h264bsd_conceal.c"
 var $210=(($a+8)|0); //@line 350 "../src/h264bsd_conceal.c"
 var $211=HEAP32[(($210)>>2)]; //@line 350 "../src/h264bsd_conceal.c"
 var $212=((($211)+($209))|0); //@line 350 "../src/h264bsd_conceal.c"
 HEAP32[(($210)>>2)]=$212; //@line 350 "../src/h264bsd_conceal.c"
 var $213=$pData; //@line 351 "../src/h264bsd_conceal.c"
 var $214=(($213+1)|0); //@line 351 "../src/h264bsd_conceal.c"
 $pData=$214; //@line 351 "../src/h264bsd_conceal.c"
 var $215=HEAP8[($213)]; //@line 351 "../src/h264bsd_conceal.c"
 var $216=($215&255); //@line 351 "../src/h264bsd_conceal.c"
 var $217=(($a+12)|0); //@line 351 "../src/h264bsd_conceal.c"
 HEAP32[(($217)>>2)]=$216; //@line 351 "../src/h264bsd_conceal.c"
 var $218=$pData; //@line 351 "../src/h264bsd_conceal.c"
 var $219=(($218+1)|0); //@line 351 "../src/h264bsd_conceal.c"
 $pData=$219; //@line 351 "../src/h264bsd_conceal.c"
 var $220=HEAP8[($218)]; //@line 351 "../src/h264bsd_conceal.c"
 var $221=($220&255); //@line 351 "../src/h264bsd_conceal.c"
 var $222=(($a+12)|0); //@line 351 "../src/h264bsd_conceal.c"
 var $223=HEAP32[(($222)>>2)]; //@line 351 "../src/h264bsd_conceal.c"
 var $224=((($223)+($221))|0); //@line 351 "../src/h264bsd_conceal.c"
 HEAP32[(($222)>>2)]=$224; //@line 351 "../src/h264bsd_conceal.c"
 var $225=$pData; //@line 351 "../src/h264bsd_conceal.c"
 var $226=(($225+1)|0); //@line 351 "../src/h264bsd_conceal.c"
 $pData=$226; //@line 351 "../src/h264bsd_conceal.c"
 var $227=HEAP8[($225)]; //@line 351 "../src/h264bsd_conceal.c"
 var $228=($227&255); //@line 351 "../src/h264bsd_conceal.c"
 var $229=(($a+12)|0); //@line 351 "../src/h264bsd_conceal.c"
 var $230=HEAP32[(($229)>>2)]; //@line 351 "../src/h264bsd_conceal.c"
 var $231=((($230)+($228))|0); //@line 351 "../src/h264bsd_conceal.c"
 HEAP32[(($229)>>2)]=$231; //@line 351 "../src/h264bsd_conceal.c"
 var $232=$pData; //@line 351 "../src/h264bsd_conceal.c"
 var $233=(($232+1)|0); //@line 351 "../src/h264bsd_conceal.c"
 $pData=$233; //@line 351 "../src/h264bsd_conceal.c"
 var $234=HEAP8[($232)]; //@line 351 "../src/h264bsd_conceal.c"
 var $235=($234&255); //@line 351 "../src/h264bsd_conceal.c"
 var $236=(($a+12)|0); //@line 351 "../src/h264bsd_conceal.c"
 var $237=HEAP32[(($236)>>2)]; //@line 351 "../src/h264bsd_conceal.c"
 var $238=((($237)+($235))|0); //@line 351 "../src/h264bsd_conceal.c"
 HEAP32[(($236)>>2)]=$238; //@line 351 "../src/h264bsd_conceal.c"
 var $239=$j; //@line 352 "../src/h264bsd_conceal.c"
 var $240=((($239)+(1))|0); //@line 352 "../src/h264bsd_conceal.c"
 $j=$240; //@line 352 "../src/h264bsd_conceal.c"
 var $241=$hor; //@line 353 "../src/h264bsd_conceal.c"
 var $242=((($241)+(1))|0); //@line 353 "../src/h264bsd_conceal.c"
 $hor=$242; //@line 353 "../src/h264bsd_conceal.c"
 var $243=(($a)|0); //@line 354 "../src/h264bsd_conceal.c"
 var $244=HEAP32[(($243)>>2)]; //@line 354 "../src/h264bsd_conceal.c"
 var $245=(($a+4)|0); //@line 354 "../src/h264bsd_conceal.c"
 var $246=HEAP32[(($245)>>2)]; //@line 354 "../src/h264bsd_conceal.c"
 var $247=((($244)+($246))|0); //@line 354 "../src/h264bsd_conceal.c"
 var $248=(($a+8)|0); //@line 354 "../src/h264bsd_conceal.c"
 var $249=HEAP32[(($248)>>2)]; //@line 354 "../src/h264bsd_conceal.c"
 var $250=((($247)+($249))|0); //@line 354 "../src/h264bsd_conceal.c"
 var $251=(($a+12)|0); //@line 354 "../src/h264bsd_conceal.c"
 var $252=HEAP32[(($251)>>2)]; //@line 354 "../src/h264bsd_conceal.c"
 var $253=((($250)+($252))|0); //@line 354 "../src/h264bsd_conceal.c"
 var $254=(($firstPhase)|0); //@line 354 "../src/h264bsd_conceal.c"
 var $255=HEAP32[(($254)>>2)]; //@line 354 "../src/h264bsd_conceal.c"
 var $256=((($255)+($253))|0); //@line 354 "../src/h264bsd_conceal.c"
 HEAP32[(($254)>>2)]=$256; //@line 354 "../src/h264bsd_conceal.c"
 var $257=(($a)|0); //@line 355 "../src/h264bsd_conceal.c"
 var $258=HEAP32[(($257)>>2)]; //@line 355 "../src/h264bsd_conceal.c"
 var $259=(($a+4)|0); //@line 355 "../src/h264bsd_conceal.c"
 var $260=HEAP32[(($259)>>2)]; //@line 355 "../src/h264bsd_conceal.c"
 var $261=((($258)+($260))|0); //@line 355 "../src/h264bsd_conceal.c"
 var $262=(($a+8)|0); //@line 355 "../src/h264bsd_conceal.c"
 var $263=HEAP32[(($262)>>2)]; //@line 355 "../src/h264bsd_conceal.c"
 var $264=((($261)-($263))|0); //@line 355 "../src/h264bsd_conceal.c"
 var $265=(($a+12)|0); //@line 355 "../src/h264bsd_conceal.c"
 var $266=HEAP32[(($265)>>2)]; //@line 355 "../src/h264bsd_conceal.c"
 var $267=((($264)-($266))|0); //@line 355 "../src/h264bsd_conceal.c"
 var $268=(($firstPhase+4)|0); //@line 355 "../src/h264bsd_conceal.c"
 var $269=HEAP32[(($268)>>2)]; //@line 355 "../src/h264bsd_conceal.c"
 var $270=((($269)+($267))|0); //@line 355 "../src/h264bsd_conceal.c"
 HEAP32[(($268)>>2)]=$270; //@line 355 "../src/h264bsd_conceal.c"
 label=21;break; //@line 356 "../src/h264bsd_conceal.c"
 case 21: 
 var $272=$4; //@line 357 "../src/h264bsd_conceal.c"
 var $273=$height; //@line 357 "../src/h264bsd_conceal.c"
 var $274=((($273)-(1))|0); //@line 357 "../src/h264bsd_conceal.c"
 var $275=($272|0)!=($274|0); //@line 357 "../src/h264bsd_conceal.c"
 if($275){label=22;break;}else{label=24;break;} //@line 357 "../src/h264bsd_conceal.c"
 case 22: 
 var $277=$2; //@line 357 "../src/h264bsd_conceal.c"
 var $278=$width; //@line 357 "../src/h264bsd_conceal.c"
 var $279=(($277+((($278)*(216))&-1))|0); //@line 357 "../src/h264bsd_conceal.c"
 var $280=(($279+196)|0); //@line 357 "../src/h264bsd_conceal.c"
 var $281=HEAP32[(($280)>>2)]; //@line 357 "../src/h264bsd_conceal.c"
 var $282=($281|0)!=0; //@line 357 "../src/h264bsd_conceal.c"
 if($282){label=23;break;}else{label=24;break;} //@line 357 "../src/h264bsd_conceal.c"
 case 23: 
 $B=1; //@line 359 "../src/h264bsd_conceal.c"
 var $284=$mbPos; //@line 360 "../src/h264bsd_conceal.c"
 var $285=$width; //@line 360 "../src/h264bsd_conceal.c"
 var $286=($285<<4); //@line 360 "../src/h264bsd_conceal.c"
 var $287=($286<<4); //@line 360 "../src/h264bsd_conceal.c"
 var $288=(($284+$287)|0); //@line 360 "../src/h264bsd_conceal.c"
 $pData=$288; //@line 360 "../src/h264bsd_conceal.c"
 var $289=$pData; //@line 361 "../src/h264bsd_conceal.c"
 var $290=(($289+1)|0); //@line 361 "../src/h264bsd_conceal.c"
 $pData=$290; //@line 361 "../src/h264bsd_conceal.c"
 var $291=HEAP8[($289)]; //@line 361 "../src/h264bsd_conceal.c"
 var $292=($291&255); //@line 361 "../src/h264bsd_conceal.c"
 var $293=(($b)|0); //@line 361 "../src/h264bsd_conceal.c"
 HEAP32[(($293)>>2)]=$292; //@line 361 "../src/h264bsd_conceal.c"
 var $294=$pData; //@line 361 "../src/h264bsd_conceal.c"
 var $295=(($294+1)|0); //@line 361 "../src/h264bsd_conceal.c"
 $pData=$295; //@line 361 "../src/h264bsd_conceal.c"
 var $296=HEAP8[($294)]; //@line 361 "../src/h264bsd_conceal.c"
 var $297=($296&255); //@line 361 "../src/h264bsd_conceal.c"
 var $298=(($b)|0); //@line 361 "../src/h264bsd_conceal.c"
 var $299=HEAP32[(($298)>>2)]; //@line 361 "../src/h264bsd_conceal.c"
 var $300=((($299)+($297))|0); //@line 361 "../src/h264bsd_conceal.c"
 HEAP32[(($298)>>2)]=$300; //@line 361 "../src/h264bsd_conceal.c"
 var $301=$pData; //@line 361 "../src/h264bsd_conceal.c"
 var $302=(($301+1)|0); //@line 361 "../src/h264bsd_conceal.c"
 $pData=$302; //@line 361 "../src/h264bsd_conceal.c"
 var $303=HEAP8[($301)]; //@line 361 "../src/h264bsd_conceal.c"
 var $304=($303&255); //@line 361 "../src/h264bsd_conceal.c"
 var $305=(($b)|0); //@line 361 "../src/h264bsd_conceal.c"
 var $306=HEAP32[(($305)>>2)]; //@line 361 "../src/h264bsd_conceal.c"
 var $307=((($306)+($304))|0); //@line 361 "../src/h264bsd_conceal.c"
 HEAP32[(($305)>>2)]=$307; //@line 361 "../src/h264bsd_conceal.c"
 var $308=$pData; //@line 361 "../src/h264bsd_conceal.c"
 var $309=(($308+1)|0); //@line 361 "../src/h264bsd_conceal.c"
 $pData=$309; //@line 361 "../src/h264bsd_conceal.c"
 var $310=HEAP8[($308)]; //@line 361 "../src/h264bsd_conceal.c"
 var $311=($310&255); //@line 361 "../src/h264bsd_conceal.c"
 var $312=(($b)|0); //@line 361 "../src/h264bsd_conceal.c"
 var $313=HEAP32[(($312)>>2)]; //@line 361 "../src/h264bsd_conceal.c"
 var $314=((($313)+($311))|0); //@line 361 "../src/h264bsd_conceal.c"
 HEAP32[(($312)>>2)]=$314; //@line 361 "../src/h264bsd_conceal.c"
 var $315=$pData; //@line 362 "../src/h264bsd_conceal.c"
 var $316=(($315+1)|0); //@line 362 "../src/h264bsd_conceal.c"
 $pData=$316; //@line 362 "../src/h264bsd_conceal.c"
 var $317=HEAP8[($315)]; //@line 362 "../src/h264bsd_conceal.c"
 var $318=($317&255); //@line 362 "../src/h264bsd_conceal.c"
 var $319=(($b+4)|0); //@line 362 "../src/h264bsd_conceal.c"
 HEAP32[(($319)>>2)]=$318; //@line 362 "../src/h264bsd_conceal.c"
 var $320=$pData; //@line 362 "../src/h264bsd_conceal.c"
 var $321=(($320+1)|0); //@line 362 "../src/h264bsd_conceal.c"
 $pData=$321; //@line 362 "../src/h264bsd_conceal.c"
 var $322=HEAP8[($320)]; //@line 362 "../src/h264bsd_conceal.c"
 var $323=($322&255); //@line 362 "../src/h264bsd_conceal.c"
 var $324=(($b+4)|0); //@line 362 "../src/h264bsd_conceal.c"
 var $325=HEAP32[(($324)>>2)]; //@line 362 "../src/h264bsd_conceal.c"
 var $326=((($325)+($323))|0); //@line 362 "../src/h264bsd_conceal.c"
 HEAP32[(($324)>>2)]=$326; //@line 362 "../src/h264bsd_conceal.c"
 var $327=$pData; //@line 362 "../src/h264bsd_conceal.c"
 var $328=(($327+1)|0); //@line 362 "../src/h264bsd_conceal.c"
 $pData=$328; //@line 362 "../src/h264bsd_conceal.c"
 var $329=HEAP8[($327)]; //@line 362 "../src/h264bsd_conceal.c"
 var $330=($329&255); //@line 362 "../src/h264bsd_conceal.c"
 var $331=(($b+4)|0); //@line 362 "../src/h264bsd_conceal.c"
 var $332=HEAP32[(($331)>>2)]; //@line 362 "../src/h264bsd_conceal.c"
 var $333=((($332)+($330))|0); //@line 362 "../src/h264bsd_conceal.c"
 HEAP32[(($331)>>2)]=$333; //@line 362 "../src/h264bsd_conceal.c"
 var $334=$pData; //@line 362 "../src/h264bsd_conceal.c"
 var $335=(($334+1)|0); //@line 362 "../src/h264bsd_conceal.c"
 $pData=$335; //@line 362 "../src/h264bsd_conceal.c"
 var $336=HEAP8[($334)]; //@line 362 "../src/h264bsd_conceal.c"
 var $337=($336&255); //@line 362 "../src/h264bsd_conceal.c"
 var $338=(($b+4)|0); //@line 362 "../src/h264bsd_conceal.c"
 var $339=HEAP32[(($338)>>2)]; //@line 362 "../src/h264bsd_conceal.c"
 var $340=((($339)+($337))|0); //@line 362 "../src/h264bsd_conceal.c"
 HEAP32[(($338)>>2)]=$340; //@line 362 "../src/h264bsd_conceal.c"
 var $341=$pData; //@line 363 "../src/h264bsd_conceal.c"
 var $342=(($341+1)|0); //@line 363 "../src/h264bsd_conceal.c"
 $pData=$342; //@line 363 "../src/h264bsd_conceal.c"
 var $343=HEAP8[($341)]; //@line 363 "../src/h264bsd_conceal.c"
 var $344=($343&255); //@line 363 "../src/h264bsd_conceal.c"
 var $345=(($b+8)|0); //@line 363 "../src/h264bsd_conceal.c"
 HEAP32[(($345)>>2)]=$344; //@line 363 "../src/h264bsd_conceal.c"
 var $346=$pData; //@line 363 "../src/h264bsd_conceal.c"
 var $347=(($346+1)|0); //@line 363 "../src/h264bsd_conceal.c"
 $pData=$347; //@line 363 "../src/h264bsd_conceal.c"
 var $348=HEAP8[($346)]; //@line 363 "../src/h264bsd_conceal.c"
 var $349=($348&255); //@line 363 "../src/h264bsd_conceal.c"
 var $350=(($b+8)|0); //@line 363 "../src/h264bsd_conceal.c"
 var $351=HEAP32[(($350)>>2)]; //@line 363 "../src/h264bsd_conceal.c"
 var $352=((($351)+($349))|0); //@line 363 "../src/h264bsd_conceal.c"
 HEAP32[(($350)>>2)]=$352; //@line 363 "../src/h264bsd_conceal.c"
 var $353=$pData; //@line 363 "../src/h264bsd_conceal.c"
 var $354=(($353+1)|0); //@line 363 "../src/h264bsd_conceal.c"
 $pData=$354; //@line 363 "../src/h264bsd_conceal.c"
 var $355=HEAP8[($353)]; //@line 363 "../src/h264bsd_conceal.c"
 var $356=($355&255); //@line 363 "../src/h264bsd_conceal.c"
 var $357=(($b+8)|0); //@line 363 "../src/h264bsd_conceal.c"
 var $358=HEAP32[(($357)>>2)]; //@line 363 "../src/h264bsd_conceal.c"
 var $359=((($358)+($356))|0); //@line 363 "../src/h264bsd_conceal.c"
 HEAP32[(($357)>>2)]=$359; //@line 363 "../src/h264bsd_conceal.c"
 var $360=$pData; //@line 363 "../src/h264bsd_conceal.c"
 var $361=(($360+1)|0); //@line 363 "../src/h264bsd_conceal.c"
 $pData=$361; //@line 363 "../src/h264bsd_conceal.c"
 var $362=HEAP8[($360)]; //@line 363 "../src/h264bsd_conceal.c"
 var $363=($362&255); //@line 363 "../src/h264bsd_conceal.c"
 var $364=(($b+8)|0); //@line 363 "../src/h264bsd_conceal.c"
 var $365=HEAP32[(($364)>>2)]; //@line 363 "../src/h264bsd_conceal.c"
 var $366=((($365)+($363))|0); //@line 363 "../src/h264bsd_conceal.c"
 HEAP32[(($364)>>2)]=$366; //@line 363 "../src/h264bsd_conceal.c"
 var $367=$pData; //@line 364 "../src/h264bsd_conceal.c"
 var $368=(($367+1)|0); //@line 364 "../src/h264bsd_conceal.c"
 $pData=$368; //@line 364 "../src/h264bsd_conceal.c"
 var $369=HEAP8[($367)]; //@line 364 "../src/h264bsd_conceal.c"
 var $370=($369&255); //@line 364 "../src/h264bsd_conceal.c"
 var $371=(($b+12)|0); //@line 364 "../src/h264bsd_conceal.c"
 HEAP32[(($371)>>2)]=$370; //@line 364 "../src/h264bsd_conceal.c"
 var $372=$pData; //@line 364 "../src/h264bsd_conceal.c"
 var $373=(($372+1)|0); //@line 364 "../src/h264bsd_conceal.c"
 $pData=$373; //@line 364 "../src/h264bsd_conceal.c"
 var $374=HEAP8[($372)]; //@line 364 "../src/h264bsd_conceal.c"
 var $375=($374&255); //@line 364 "../src/h264bsd_conceal.c"
 var $376=(($b+12)|0); //@line 364 "../src/h264bsd_conceal.c"
 var $377=HEAP32[(($376)>>2)]; //@line 364 "../src/h264bsd_conceal.c"
 var $378=((($377)+($375))|0); //@line 364 "../src/h264bsd_conceal.c"
 HEAP32[(($376)>>2)]=$378; //@line 364 "../src/h264bsd_conceal.c"
 var $379=$pData; //@line 364 "../src/h264bsd_conceal.c"
 var $380=(($379+1)|0); //@line 364 "../src/h264bsd_conceal.c"
 $pData=$380; //@line 364 "../src/h264bsd_conceal.c"
 var $381=HEAP8[($379)]; //@line 364 "../src/h264bsd_conceal.c"
 var $382=($381&255); //@line 364 "../src/h264bsd_conceal.c"
 var $383=(($b+12)|0); //@line 364 "../src/h264bsd_conceal.c"
 var $384=HEAP32[(($383)>>2)]; //@line 364 "../src/h264bsd_conceal.c"
 var $385=((($384)+($382))|0); //@line 364 "../src/h264bsd_conceal.c"
 HEAP32[(($383)>>2)]=$385; //@line 364 "../src/h264bsd_conceal.c"
 var $386=$pData; //@line 364 "../src/h264bsd_conceal.c"
 var $387=(($386+1)|0); //@line 364 "../src/h264bsd_conceal.c"
 $pData=$387; //@line 364 "../src/h264bsd_conceal.c"
 var $388=HEAP8[($386)]; //@line 364 "../src/h264bsd_conceal.c"
 var $389=($388&255); //@line 364 "../src/h264bsd_conceal.c"
 var $390=(($b+12)|0); //@line 364 "../src/h264bsd_conceal.c"
 var $391=HEAP32[(($390)>>2)]; //@line 364 "../src/h264bsd_conceal.c"
 var $392=((($391)+($389))|0); //@line 364 "../src/h264bsd_conceal.c"
 HEAP32[(($390)>>2)]=$392; //@line 364 "../src/h264bsd_conceal.c"
 var $393=$j; //@line 365 "../src/h264bsd_conceal.c"
 var $394=((($393)+(1))|0); //@line 365 "../src/h264bsd_conceal.c"
 $j=$394; //@line 365 "../src/h264bsd_conceal.c"
 var $395=$hor; //@line 366 "../src/h264bsd_conceal.c"
 var $396=((($395)+(1))|0); //@line 366 "../src/h264bsd_conceal.c"
 $hor=$396; //@line 366 "../src/h264bsd_conceal.c"
 var $397=(($b)|0); //@line 367 "../src/h264bsd_conceal.c"
 var $398=HEAP32[(($397)>>2)]; //@line 367 "../src/h264bsd_conceal.c"
 var $399=(($b+4)|0); //@line 367 "../src/h264bsd_conceal.c"
 var $400=HEAP32[(($399)>>2)]; //@line 367 "../src/h264bsd_conceal.c"
 var $401=((($398)+($400))|0); //@line 367 "../src/h264bsd_conceal.c"
 var $402=(($b+8)|0); //@line 367 "../src/h264bsd_conceal.c"
 var $403=HEAP32[(($402)>>2)]; //@line 367 "../src/h264bsd_conceal.c"
 var $404=((($401)+($403))|0); //@line 367 "../src/h264bsd_conceal.c"
 var $405=(($b+12)|0); //@line 367 "../src/h264bsd_conceal.c"
 var $406=HEAP32[(($405)>>2)]; //@line 367 "../src/h264bsd_conceal.c"
 var $407=((($404)+($406))|0); //@line 367 "../src/h264bsd_conceal.c"
 var $408=(($firstPhase)|0); //@line 367 "../src/h264bsd_conceal.c"
 var $409=HEAP32[(($408)>>2)]; //@line 367 "../src/h264bsd_conceal.c"
 var $410=((($409)+($407))|0); //@line 367 "../src/h264bsd_conceal.c"
 HEAP32[(($408)>>2)]=$410; //@line 367 "../src/h264bsd_conceal.c"
 var $411=(($b)|0); //@line 368 "../src/h264bsd_conceal.c"
 var $412=HEAP32[(($411)>>2)]; //@line 368 "../src/h264bsd_conceal.c"
 var $413=(($b+4)|0); //@line 368 "../src/h264bsd_conceal.c"
 var $414=HEAP32[(($413)>>2)]; //@line 368 "../src/h264bsd_conceal.c"
 var $415=((($412)+($414))|0); //@line 368 "../src/h264bsd_conceal.c"
 var $416=(($b+8)|0); //@line 368 "../src/h264bsd_conceal.c"
 var $417=HEAP32[(($416)>>2)]; //@line 368 "../src/h264bsd_conceal.c"
 var $418=((($415)-($417))|0); //@line 368 "../src/h264bsd_conceal.c"
 var $419=(($b+12)|0); //@line 368 "../src/h264bsd_conceal.c"
 var $420=HEAP32[(($419)>>2)]; //@line 368 "../src/h264bsd_conceal.c"
 var $421=((($418)-($420))|0); //@line 368 "../src/h264bsd_conceal.c"
 var $422=(($firstPhase+4)|0); //@line 368 "../src/h264bsd_conceal.c"
 var $423=HEAP32[(($422)>>2)]; //@line 368 "../src/h264bsd_conceal.c"
 var $424=((($423)+($421))|0); //@line 368 "../src/h264bsd_conceal.c"
 HEAP32[(($422)>>2)]=$424; //@line 368 "../src/h264bsd_conceal.c"
 label=24;break; //@line 369 "../src/h264bsd_conceal.c"
 case 24: 
 var $426=$5; //@line 370 "../src/h264bsd_conceal.c"
 var $427=($426|0)!=0; //@line 370 "../src/h264bsd_conceal.c"
 if($427){label=25;break;}else{label=27;break;} //@line 370 "../src/h264bsd_conceal.c"
 case 25: 
 var $429=$2; //@line 370 "../src/h264bsd_conceal.c"
 var $430=((($429)-(216))|0); //@line 370 "../src/h264bsd_conceal.c"
 var $431=(($430+196)|0); //@line 370 "../src/h264bsd_conceal.c"
 var $432=HEAP32[(($431)>>2)]; //@line 370 "../src/h264bsd_conceal.c"
 var $433=($432|0)!=0; //@line 370 "../src/h264bsd_conceal.c"
 if($433){label=26;break;}else{label=27;break;} //@line 370 "../src/h264bsd_conceal.c"
 case 26: 
 $L=1; //@line 372 "../src/h264bsd_conceal.c"
 var $435=$mbPos; //@line 373 "../src/h264bsd_conceal.c"
 var $436=((($435)-(1))|0); //@line 373 "../src/h264bsd_conceal.c"
 $pData=$436; //@line 373 "../src/h264bsd_conceal.c"
 var $437=$pData; //@line 374 "../src/h264bsd_conceal.c"
 var $438=(($437)|0); //@line 374 "../src/h264bsd_conceal.c"
 var $439=HEAP8[($438)]; //@line 374 "../src/h264bsd_conceal.c"
 var $440=($439&255); //@line 374 "../src/h264bsd_conceal.c"
 var $441=(($l)|0); //@line 374 "../src/h264bsd_conceal.c"
 HEAP32[(($441)>>2)]=$440; //@line 374 "../src/h264bsd_conceal.c"
 var $442=$width; //@line 374 "../src/h264bsd_conceal.c"
 var $443=($442<<4); //@line 374 "../src/h264bsd_conceal.c"
 var $444=$pData; //@line 374 "../src/h264bsd_conceal.c"
 var $445=(($444+$443)|0); //@line 374 "../src/h264bsd_conceal.c"
 var $446=HEAP8[($445)]; //@line 374 "../src/h264bsd_conceal.c"
 var $447=($446&255); //@line 374 "../src/h264bsd_conceal.c"
 var $448=(($l)|0); //@line 374 "../src/h264bsd_conceal.c"
 var $449=HEAP32[(($448)>>2)]; //@line 374 "../src/h264bsd_conceal.c"
 var $450=((($449)+($447))|0); //@line 374 "../src/h264bsd_conceal.c"
 HEAP32[(($448)>>2)]=$450; //@line 374 "../src/h264bsd_conceal.c"
 var $451=$width; //@line 375 "../src/h264bsd_conceal.c"
 var $452=($451<<5); //@line 375 "../src/h264bsd_conceal.c"
 var $453=$pData; //@line 375 "../src/h264bsd_conceal.c"
 var $454=(($453+$452)|0); //@line 375 "../src/h264bsd_conceal.c"
 var $455=HEAP8[($454)]; //@line 375 "../src/h264bsd_conceal.c"
 var $456=($455&255); //@line 375 "../src/h264bsd_conceal.c"
 var $457=(($l)|0); //@line 375 "../src/h264bsd_conceal.c"
 var $458=HEAP32[(($457)>>2)]; //@line 375 "../src/h264bsd_conceal.c"
 var $459=((($458)+($456))|0); //@line 375 "../src/h264bsd_conceal.c"
 HEAP32[(($457)>>2)]=$459; //@line 375 "../src/h264bsd_conceal.c"
 var $460=$width; //@line 375 "../src/h264bsd_conceal.c"
 var $461=((($460)*(48))&-1); //@line 375 "../src/h264bsd_conceal.c"
 var $462=$pData; //@line 375 "../src/h264bsd_conceal.c"
 var $463=(($462+$461)|0); //@line 375 "../src/h264bsd_conceal.c"
 var $464=HEAP8[($463)]; //@line 375 "../src/h264bsd_conceal.c"
 var $465=($464&255); //@line 375 "../src/h264bsd_conceal.c"
 var $466=(($l)|0); //@line 375 "../src/h264bsd_conceal.c"
 var $467=HEAP32[(($466)>>2)]; //@line 375 "../src/h264bsd_conceal.c"
 var $468=((($467)+($465))|0); //@line 375 "../src/h264bsd_conceal.c"
 HEAP32[(($466)>>2)]=$468; //@line 375 "../src/h264bsd_conceal.c"
 var $469=$width; //@line 376 "../src/h264bsd_conceal.c"
 var $470=($469<<6); //@line 376 "../src/h264bsd_conceal.c"
 var $471=$pData; //@line 376 "../src/h264bsd_conceal.c"
 var $472=(($471+$470)|0); //@line 376 "../src/h264bsd_conceal.c"
 $pData=$472; //@line 376 "../src/h264bsd_conceal.c"
 var $473=$pData; //@line 377 "../src/h264bsd_conceal.c"
 var $474=(($473)|0); //@line 377 "../src/h264bsd_conceal.c"
 var $475=HEAP8[($474)]; //@line 377 "../src/h264bsd_conceal.c"
 var $476=($475&255); //@line 377 "../src/h264bsd_conceal.c"
 var $477=(($l+4)|0); //@line 377 "../src/h264bsd_conceal.c"
 HEAP32[(($477)>>2)]=$476; //@line 377 "../src/h264bsd_conceal.c"
 var $478=$width; //@line 377 "../src/h264bsd_conceal.c"
 var $479=($478<<4); //@line 377 "../src/h264bsd_conceal.c"
 var $480=$pData; //@line 377 "../src/h264bsd_conceal.c"
 var $481=(($480+$479)|0); //@line 377 "../src/h264bsd_conceal.c"
 var $482=HEAP8[($481)]; //@line 377 "../src/h264bsd_conceal.c"
 var $483=($482&255); //@line 377 "../src/h264bsd_conceal.c"
 var $484=(($l+4)|0); //@line 377 "../src/h264bsd_conceal.c"
 var $485=HEAP32[(($484)>>2)]; //@line 377 "../src/h264bsd_conceal.c"
 var $486=((($485)+($483))|0); //@line 377 "../src/h264bsd_conceal.c"
 HEAP32[(($484)>>2)]=$486; //@line 377 "../src/h264bsd_conceal.c"
 var $487=$width; //@line 378 "../src/h264bsd_conceal.c"
 var $488=($487<<5); //@line 378 "../src/h264bsd_conceal.c"
 var $489=$pData; //@line 378 "../src/h264bsd_conceal.c"
 var $490=(($489+$488)|0); //@line 378 "../src/h264bsd_conceal.c"
 var $491=HEAP8[($490)]; //@line 378 "../src/h264bsd_conceal.c"
 var $492=($491&255); //@line 378 "../src/h264bsd_conceal.c"
 var $493=(($l+4)|0); //@line 378 "../src/h264bsd_conceal.c"
 var $494=HEAP32[(($493)>>2)]; //@line 378 "../src/h264bsd_conceal.c"
 var $495=((($494)+($492))|0); //@line 378 "../src/h264bsd_conceal.c"
 HEAP32[(($493)>>2)]=$495; //@line 378 "../src/h264bsd_conceal.c"
 var $496=$width; //@line 378 "../src/h264bsd_conceal.c"
 var $497=((($496)*(48))&-1); //@line 378 "../src/h264bsd_conceal.c"
 var $498=$pData; //@line 378 "../src/h264bsd_conceal.c"
 var $499=(($498+$497)|0); //@line 378 "../src/h264bsd_conceal.c"
 var $500=HEAP8[($499)]; //@line 378 "../src/h264bsd_conceal.c"
 var $501=($500&255); //@line 378 "../src/h264bsd_conceal.c"
 var $502=(($l+4)|0); //@line 378 "../src/h264bsd_conceal.c"
 var $503=HEAP32[(($502)>>2)]; //@line 378 "../src/h264bsd_conceal.c"
 var $504=((($503)+($501))|0); //@line 378 "../src/h264bsd_conceal.c"
 HEAP32[(($502)>>2)]=$504; //@line 378 "../src/h264bsd_conceal.c"
 var $505=$width; //@line 379 "../src/h264bsd_conceal.c"
 var $506=($505<<6); //@line 379 "../src/h264bsd_conceal.c"
 var $507=$pData; //@line 379 "../src/h264bsd_conceal.c"
 var $508=(($507+$506)|0); //@line 379 "../src/h264bsd_conceal.c"
 $pData=$508; //@line 379 "../src/h264bsd_conceal.c"
 var $509=$pData; //@line 380 "../src/h264bsd_conceal.c"
 var $510=(($509)|0); //@line 380 "../src/h264bsd_conceal.c"
 var $511=HEAP8[($510)]; //@line 380 "../src/h264bsd_conceal.c"
 var $512=($511&255); //@line 380 "../src/h264bsd_conceal.c"
 var $513=(($l+8)|0); //@line 380 "../src/h264bsd_conceal.c"
 HEAP32[(($513)>>2)]=$512; //@line 380 "../src/h264bsd_conceal.c"
 var $514=$width; //@line 380 "../src/h264bsd_conceal.c"
 var $515=($514<<4); //@line 380 "../src/h264bsd_conceal.c"
 var $516=$pData; //@line 380 "../src/h264bsd_conceal.c"
 var $517=(($516+$515)|0); //@line 380 "../src/h264bsd_conceal.c"
 var $518=HEAP8[($517)]; //@line 380 "../src/h264bsd_conceal.c"
 var $519=($518&255); //@line 380 "../src/h264bsd_conceal.c"
 var $520=(($l+8)|0); //@line 380 "../src/h264bsd_conceal.c"
 var $521=HEAP32[(($520)>>2)]; //@line 380 "../src/h264bsd_conceal.c"
 var $522=((($521)+($519))|0); //@line 380 "../src/h264bsd_conceal.c"
 HEAP32[(($520)>>2)]=$522; //@line 380 "../src/h264bsd_conceal.c"
 var $523=$width; //@line 381 "../src/h264bsd_conceal.c"
 var $524=($523<<5); //@line 381 "../src/h264bsd_conceal.c"
 var $525=$pData; //@line 381 "../src/h264bsd_conceal.c"
 var $526=(($525+$524)|0); //@line 381 "../src/h264bsd_conceal.c"
 var $527=HEAP8[($526)]; //@line 381 "../src/h264bsd_conceal.c"
 var $528=($527&255); //@line 381 "../src/h264bsd_conceal.c"
 var $529=(($l+8)|0); //@line 381 "../src/h264bsd_conceal.c"
 var $530=HEAP32[(($529)>>2)]; //@line 381 "../src/h264bsd_conceal.c"
 var $531=((($530)+($528))|0); //@line 381 "../src/h264bsd_conceal.c"
 HEAP32[(($529)>>2)]=$531; //@line 381 "../src/h264bsd_conceal.c"
 var $532=$width; //@line 381 "../src/h264bsd_conceal.c"
 var $533=((($532)*(48))&-1); //@line 381 "../src/h264bsd_conceal.c"
 var $534=$pData; //@line 381 "../src/h264bsd_conceal.c"
 var $535=(($534+$533)|0); //@line 381 "../src/h264bsd_conceal.c"
 var $536=HEAP8[($535)]; //@line 381 "../src/h264bsd_conceal.c"
 var $537=($536&255); //@line 381 "../src/h264bsd_conceal.c"
 var $538=(($l+8)|0); //@line 381 "../src/h264bsd_conceal.c"
 var $539=HEAP32[(($538)>>2)]; //@line 381 "../src/h264bsd_conceal.c"
 var $540=((($539)+($537))|0); //@line 381 "../src/h264bsd_conceal.c"
 HEAP32[(($538)>>2)]=$540; //@line 381 "../src/h264bsd_conceal.c"
 var $541=$width; //@line 382 "../src/h264bsd_conceal.c"
 var $542=($541<<6); //@line 382 "../src/h264bsd_conceal.c"
 var $543=$pData; //@line 382 "../src/h264bsd_conceal.c"
 var $544=(($543+$542)|0); //@line 382 "../src/h264bsd_conceal.c"
 $pData=$544; //@line 382 "../src/h264bsd_conceal.c"
 var $545=$pData; //@line 383 "../src/h264bsd_conceal.c"
 var $546=(($545)|0); //@line 383 "../src/h264bsd_conceal.c"
 var $547=HEAP8[($546)]; //@line 383 "../src/h264bsd_conceal.c"
 var $548=($547&255); //@line 383 "../src/h264bsd_conceal.c"
 var $549=(($l+12)|0); //@line 383 "../src/h264bsd_conceal.c"
 HEAP32[(($549)>>2)]=$548; //@line 383 "../src/h264bsd_conceal.c"
 var $550=$width; //@line 383 "../src/h264bsd_conceal.c"
 var $551=($550<<4); //@line 383 "../src/h264bsd_conceal.c"
 var $552=$pData; //@line 383 "../src/h264bsd_conceal.c"
 var $553=(($552+$551)|0); //@line 383 "../src/h264bsd_conceal.c"
 var $554=HEAP8[($553)]; //@line 383 "../src/h264bsd_conceal.c"
 var $555=($554&255); //@line 383 "../src/h264bsd_conceal.c"
 var $556=(($l+12)|0); //@line 383 "../src/h264bsd_conceal.c"
 var $557=HEAP32[(($556)>>2)]; //@line 383 "../src/h264bsd_conceal.c"
 var $558=((($557)+($555))|0); //@line 383 "../src/h264bsd_conceal.c"
 HEAP32[(($556)>>2)]=$558; //@line 383 "../src/h264bsd_conceal.c"
 var $559=$width; //@line 384 "../src/h264bsd_conceal.c"
 var $560=($559<<5); //@line 384 "../src/h264bsd_conceal.c"
 var $561=$pData; //@line 384 "../src/h264bsd_conceal.c"
 var $562=(($561+$560)|0); //@line 384 "../src/h264bsd_conceal.c"
 var $563=HEAP8[($562)]; //@line 384 "../src/h264bsd_conceal.c"
 var $564=($563&255); //@line 384 "../src/h264bsd_conceal.c"
 var $565=(($l+12)|0); //@line 384 "../src/h264bsd_conceal.c"
 var $566=HEAP32[(($565)>>2)]; //@line 384 "../src/h264bsd_conceal.c"
 var $567=((($566)+($564))|0); //@line 384 "../src/h264bsd_conceal.c"
 HEAP32[(($565)>>2)]=$567; //@line 384 "../src/h264bsd_conceal.c"
 var $568=$width; //@line 384 "../src/h264bsd_conceal.c"
 var $569=((($568)*(48))&-1); //@line 384 "../src/h264bsd_conceal.c"
 var $570=$pData; //@line 384 "../src/h264bsd_conceal.c"
 var $571=(($570+$569)|0); //@line 384 "../src/h264bsd_conceal.c"
 var $572=HEAP8[($571)]; //@line 384 "../src/h264bsd_conceal.c"
 var $573=($572&255); //@line 384 "../src/h264bsd_conceal.c"
 var $574=(($l+12)|0); //@line 384 "../src/h264bsd_conceal.c"
 var $575=HEAP32[(($574)>>2)]; //@line 384 "../src/h264bsd_conceal.c"
 var $576=((($575)+($573))|0); //@line 384 "../src/h264bsd_conceal.c"
 HEAP32[(($574)>>2)]=$576; //@line 384 "../src/h264bsd_conceal.c"
 var $577=$j; //@line 385 "../src/h264bsd_conceal.c"
 var $578=((($577)+(1))|0); //@line 385 "../src/h264bsd_conceal.c"
 $j=$578; //@line 385 "../src/h264bsd_conceal.c"
 var $579=$ver; //@line 386 "../src/h264bsd_conceal.c"
 var $580=((($579)+(1))|0); //@line 386 "../src/h264bsd_conceal.c"
 $ver=$580; //@line 386 "../src/h264bsd_conceal.c"
 var $581=(($l)|0); //@line 387 "../src/h264bsd_conceal.c"
 var $582=HEAP32[(($581)>>2)]; //@line 387 "../src/h264bsd_conceal.c"
 var $583=(($l+4)|0); //@line 387 "../src/h264bsd_conceal.c"
 var $584=HEAP32[(($583)>>2)]; //@line 387 "../src/h264bsd_conceal.c"
 var $585=((($582)+($584))|0); //@line 387 "../src/h264bsd_conceal.c"
 var $586=(($l+8)|0); //@line 387 "../src/h264bsd_conceal.c"
 var $587=HEAP32[(($586)>>2)]; //@line 387 "../src/h264bsd_conceal.c"
 var $588=((($585)+($587))|0); //@line 387 "../src/h264bsd_conceal.c"
 var $589=(($l+12)|0); //@line 387 "../src/h264bsd_conceal.c"
 var $590=HEAP32[(($589)>>2)]; //@line 387 "../src/h264bsd_conceal.c"
 var $591=((($588)+($590))|0); //@line 387 "../src/h264bsd_conceal.c"
 var $592=(($firstPhase)|0); //@line 387 "../src/h264bsd_conceal.c"
 var $593=HEAP32[(($592)>>2)]; //@line 387 "../src/h264bsd_conceal.c"
 var $594=((($593)+($591))|0); //@line 387 "../src/h264bsd_conceal.c"
 HEAP32[(($592)>>2)]=$594; //@line 387 "../src/h264bsd_conceal.c"
 var $595=(($l)|0); //@line 388 "../src/h264bsd_conceal.c"
 var $596=HEAP32[(($595)>>2)]; //@line 388 "../src/h264bsd_conceal.c"
 var $597=(($l+4)|0); //@line 388 "../src/h264bsd_conceal.c"
 var $598=HEAP32[(($597)>>2)]; //@line 388 "../src/h264bsd_conceal.c"
 var $599=((($596)+($598))|0); //@line 388 "../src/h264bsd_conceal.c"
 var $600=(($l+8)|0); //@line 388 "../src/h264bsd_conceal.c"
 var $601=HEAP32[(($600)>>2)]; //@line 388 "../src/h264bsd_conceal.c"
 var $602=((($599)-($601))|0); //@line 388 "../src/h264bsd_conceal.c"
 var $603=(($l+12)|0); //@line 388 "../src/h264bsd_conceal.c"
 var $604=HEAP32[(($603)>>2)]; //@line 388 "../src/h264bsd_conceal.c"
 var $605=((($602)-($604))|0); //@line 388 "../src/h264bsd_conceal.c"
 var $606=(($firstPhase+16)|0); //@line 388 "../src/h264bsd_conceal.c"
 var $607=HEAP32[(($606)>>2)]; //@line 388 "../src/h264bsd_conceal.c"
 var $608=((($607)+($605))|0); //@line 388 "../src/h264bsd_conceal.c"
 HEAP32[(($606)>>2)]=$608; //@line 388 "../src/h264bsd_conceal.c"
 label=27;break; //@line 389 "../src/h264bsd_conceal.c"
 case 27: 
 var $610=$5; //@line 390 "../src/h264bsd_conceal.c"
 var $611=$width; //@line 390 "../src/h264bsd_conceal.c"
 var $612=((($611)-(1))|0); //@line 390 "../src/h264bsd_conceal.c"
 var $613=($610|0)!=($612|0); //@line 390 "../src/h264bsd_conceal.c"
 if($613){label=28;break;}else{label=30;break;} //@line 390 "../src/h264bsd_conceal.c"
 case 28: 
 var $615=$2; //@line 390 "../src/h264bsd_conceal.c"
 var $616=(($615+216)|0); //@line 390 "../src/h264bsd_conceal.c"
 var $617=(($616+196)|0); //@line 390 "../src/h264bsd_conceal.c"
 var $618=HEAP32[(($617)>>2)]; //@line 390 "../src/h264bsd_conceal.c"
 var $619=($618|0)!=0; //@line 390 "../src/h264bsd_conceal.c"
 if($619){label=29;break;}else{label=30;break;} //@line 390 "../src/h264bsd_conceal.c"
 case 29: 
 $R=1; //@line 392 "../src/h264bsd_conceal.c"
 var $621=$mbPos; //@line 393 "../src/h264bsd_conceal.c"
 var $622=(($621+16)|0); //@line 393 "../src/h264bsd_conceal.c"
 $pData=$622; //@line 393 "../src/h264bsd_conceal.c"
 var $623=$pData; //@line 394 "../src/h264bsd_conceal.c"
 var $624=(($623)|0); //@line 394 "../src/h264bsd_conceal.c"
 var $625=HEAP8[($624)]; //@line 394 "../src/h264bsd_conceal.c"
 var $626=($625&255); //@line 394 "../src/h264bsd_conceal.c"
 var $627=(($r)|0); //@line 394 "../src/h264bsd_conceal.c"
 HEAP32[(($627)>>2)]=$626; //@line 394 "../src/h264bsd_conceal.c"
 var $628=$width; //@line 394 "../src/h264bsd_conceal.c"
 var $629=($628<<4); //@line 394 "../src/h264bsd_conceal.c"
 var $630=$pData; //@line 394 "../src/h264bsd_conceal.c"
 var $631=(($630+$629)|0); //@line 394 "../src/h264bsd_conceal.c"
 var $632=HEAP8[($631)]; //@line 394 "../src/h264bsd_conceal.c"
 var $633=($632&255); //@line 394 "../src/h264bsd_conceal.c"
 var $634=(($r)|0); //@line 394 "../src/h264bsd_conceal.c"
 var $635=HEAP32[(($634)>>2)]; //@line 394 "../src/h264bsd_conceal.c"
 var $636=((($635)+($633))|0); //@line 394 "../src/h264bsd_conceal.c"
 HEAP32[(($634)>>2)]=$636; //@line 394 "../src/h264bsd_conceal.c"
 var $637=$width; //@line 395 "../src/h264bsd_conceal.c"
 var $638=($637<<5); //@line 395 "../src/h264bsd_conceal.c"
 var $639=$pData; //@line 395 "../src/h264bsd_conceal.c"
 var $640=(($639+$638)|0); //@line 395 "../src/h264bsd_conceal.c"
 var $641=HEAP8[($640)]; //@line 395 "../src/h264bsd_conceal.c"
 var $642=($641&255); //@line 395 "../src/h264bsd_conceal.c"
 var $643=(($r)|0); //@line 395 "../src/h264bsd_conceal.c"
 var $644=HEAP32[(($643)>>2)]; //@line 395 "../src/h264bsd_conceal.c"
 var $645=((($644)+($642))|0); //@line 395 "../src/h264bsd_conceal.c"
 HEAP32[(($643)>>2)]=$645; //@line 395 "../src/h264bsd_conceal.c"
 var $646=$width; //@line 395 "../src/h264bsd_conceal.c"
 var $647=((($646)*(48))&-1); //@line 395 "../src/h264bsd_conceal.c"
 var $648=$pData; //@line 395 "../src/h264bsd_conceal.c"
 var $649=(($648+$647)|0); //@line 395 "../src/h264bsd_conceal.c"
 var $650=HEAP8[($649)]; //@line 395 "../src/h264bsd_conceal.c"
 var $651=($650&255); //@line 395 "../src/h264bsd_conceal.c"
 var $652=(($r)|0); //@line 395 "../src/h264bsd_conceal.c"
 var $653=HEAP32[(($652)>>2)]; //@line 395 "../src/h264bsd_conceal.c"
 var $654=((($653)+($651))|0); //@line 395 "../src/h264bsd_conceal.c"
 HEAP32[(($652)>>2)]=$654; //@line 395 "../src/h264bsd_conceal.c"
 var $655=$width; //@line 396 "../src/h264bsd_conceal.c"
 var $656=($655<<6); //@line 396 "../src/h264bsd_conceal.c"
 var $657=$pData; //@line 396 "../src/h264bsd_conceal.c"
 var $658=(($657+$656)|0); //@line 396 "../src/h264bsd_conceal.c"
 $pData=$658; //@line 396 "../src/h264bsd_conceal.c"
 var $659=$pData; //@line 397 "../src/h264bsd_conceal.c"
 var $660=(($659)|0); //@line 397 "../src/h264bsd_conceal.c"
 var $661=HEAP8[($660)]; //@line 397 "../src/h264bsd_conceal.c"
 var $662=($661&255); //@line 397 "../src/h264bsd_conceal.c"
 var $663=(($r+4)|0); //@line 397 "../src/h264bsd_conceal.c"
 HEAP32[(($663)>>2)]=$662; //@line 397 "../src/h264bsd_conceal.c"
 var $664=$width; //@line 397 "../src/h264bsd_conceal.c"
 var $665=($664<<4); //@line 397 "../src/h264bsd_conceal.c"
 var $666=$pData; //@line 397 "../src/h264bsd_conceal.c"
 var $667=(($666+$665)|0); //@line 397 "../src/h264bsd_conceal.c"
 var $668=HEAP8[($667)]; //@line 397 "../src/h264bsd_conceal.c"
 var $669=($668&255); //@line 397 "../src/h264bsd_conceal.c"
 var $670=(($r+4)|0); //@line 397 "../src/h264bsd_conceal.c"
 var $671=HEAP32[(($670)>>2)]; //@line 397 "../src/h264bsd_conceal.c"
 var $672=((($671)+($669))|0); //@line 397 "../src/h264bsd_conceal.c"
 HEAP32[(($670)>>2)]=$672; //@line 397 "../src/h264bsd_conceal.c"
 var $673=$width; //@line 398 "../src/h264bsd_conceal.c"
 var $674=($673<<5); //@line 398 "../src/h264bsd_conceal.c"
 var $675=$pData; //@line 398 "../src/h264bsd_conceal.c"
 var $676=(($675+$674)|0); //@line 398 "../src/h264bsd_conceal.c"
 var $677=HEAP8[($676)]; //@line 398 "../src/h264bsd_conceal.c"
 var $678=($677&255); //@line 398 "../src/h264bsd_conceal.c"
 var $679=(($r+4)|0); //@line 398 "../src/h264bsd_conceal.c"
 var $680=HEAP32[(($679)>>2)]; //@line 398 "../src/h264bsd_conceal.c"
 var $681=((($680)+($678))|0); //@line 398 "../src/h264bsd_conceal.c"
 HEAP32[(($679)>>2)]=$681; //@line 398 "../src/h264bsd_conceal.c"
 var $682=$width; //@line 398 "../src/h264bsd_conceal.c"
 var $683=((($682)*(48))&-1); //@line 398 "../src/h264bsd_conceal.c"
 var $684=$pData; //@line 398 "../src/h264bsd_conceal.c"
 var $685=(($684+$683)|0); //@line 398 "../src/h264bsd_conceal.c"
 var $686=HEAP8[($685)]; //@line 398 "../src/h264bsd_conceal.c"
 var $687=($686&255); //@line 398 "../src/h264bsd_conceal.c"
 var $688=(($r+4)|0); //@line 398 "../src/h264bsd_conceal.c"
 var $689=HEAP32[(($688)>>2)]; //@line 398 "../src/h264bsd_conceal.c"
 var $690=((($689)+($687))|0); //@line 398 "../src/h264bsd_conceal.c"
 HEAP32[(($688)>>2)]=$690; //@line 398 "../src/h264bsd_conceal.c"
 var $691=$width; //@line 399 "../src/h264bsd_conceal.c"
 var $692=($691<<6); //@line 399 "../src/h264bsd_conceal.c"
 var $693=$pData; //@line 399 "../src/h264bsd_conceal.c"
 var $694=(($693+$692)|0); //@line 399 "../src/h264bsd_conceal.c"
 $pData=$694; //@line 399 "../src/h264bsd_conceal.c"
 var $695=$pData; //@line 400 "../src/h264bsd_conceal.c"
 var $696=(($695)|0); //@line 400 "../src/h264bsd_conceal.c"
 var $697=HEAP8[($696)]; //@line 400 "../src/h264bsd_conceal.c"
 var $698=($697&255); //@line 400 "../src/h264bsd_conceal.c"
 var $699=(($r+8)|0); //@line 400 "../src/h264bsd_conceal.c"
 HEAP32[(($699)>>2)]=$698; //@line 400 "../src/h264bsd_conceal.c"
 var $700=$width; //@line 400 "../src/h264bsd_conceal.c"
 var $701=($700<<4); //@line 400 "../src/h264bsd_conceal.c"
 var $702=$pData; //@line 400 "../src/h264bsd_conceal.c"
 var $703=(($702+$701)|0); //@line 400 "../src/h264bsd_conceal.c"
 var $704=HEAP8[($703)]; //@line 400 "../src/h264bsd_conceal.c"
 var $705=($704&255); //@line 400 "../src/h264bsd_conceal.c"
 var $706=(($r+8)|0); //@line 400 "../src/h264bsd_conceal.c"
 var $707=HEAP32[(($706)>>2)]; //@line 400 "../src/h264bsd_conceal.c"
 var $708=((($707)+($705))|0); //@line 400 "../src/h264bsd_conceal.c"
 HEAP32[(($706)>>2)]=$708; //@line 400 "../src/h264bsd_conceal.c"
 var $709=$width; //@line 401 "../src/h264bsd_conceal.c"
 var $710=($709<<5); //@line 401 "../src/h264bsd_conceal.c"
 var $711=$pData; //@line 401 "../src/h264bsd_conceal.c"
 var $712=(($711+$710)|0); //@line 401 "../src/h264bsd_conceal.c"
 var $713=HEAP8[($712)]; //@line 401 "../src/h264bsd_conceal.c"
 var $714=($713&255); //@line 401 "../src/h264bsd_conceal.c"
 var $715=(($r+8)|0); //@line 401 "../src/h264bsd_conceal.c"
 var $716=HEAP32[(($715)>>2)]; //@line 401 "../src/h264bsd_conceal.c"
 var $717=((($716)+($714))|0); //@line 401 "../src/h264bsd_conceal.c"
 HEAP32[(($715)>>2)]=$717; //@line 401 "../src/h264bsd_conceal.c"
 var $718=$width; //@line 401 "../src/h264bsd_conceal.c"
 var $719=((($718)*(48))&-1); //@line 401 "../src/h264bsd_conceal.c"
 var $720=$pData; //@line 401 "../src/h264bsd_conceal.c"
 var $721=(($720+$719)|0); //@line 401 "../src/h264bsd_conceal.c"
 var $722=HEAP8[($721)]; //@line 401 "../src/h264bsd_conceal.c"
 var $723=($722&255); //@line 401 "../src/h264bsd_conceal.c"
 var $724=(($r+8)|0); //@line 401 "../src/h264bsd_conceal.c"
 var $725=HEAP32[(($724)>>2)]; //@line 401 "../src/h264bsd_conceal.c"
 var $726=((($725)+($723))|0); //@line 401 "../src/h264bsd_conceal.c"
 HEAP32[(($724)>>2)]=$726; //@line 401 "../src/h264bsd_conceal.c"
 var $727=$width; //@line 402 "../src/h264bsd_conceal.c"
 var $728=($727<<6); //@line 402 "../src/h264bsd_conceal.c"
 var $729=$pData; //@line 402 "../src/h264bsd_conceal.c"
 var $730=(($729+$728)|0); //@line 402 "../src/h264bsd_conceal.c"
 $pData=$730; //@line 402 "../src/h264bsd_conceal.c"
 var $731=$pData; //@line 403 "../src/h264bsd_conceal.c"
 var $732=(($731)|0); //@line 403 "../src/h264bsd_conceal.c"
 var $733=HEAP8[($732)]; //@line 403 "../src/h264bsd_conceal.c"
 var $734=($733&255); //@line 403 "../src/h264bsd_conceal.c"
 var $735=(($r+12)|0); //@line 403 "../src/h264bsd_conceal.c"
 HEAP32[(($735)>>2)]=$734; //@line 403 "../src/h264bsd_conceal.c"
 var $736=$width; //@line 403 "../src/h264bsd_conceal.c"
 var $737=($736<<4); //@line 403 "../src/h264bsd_conceal.c"
 var $738=$pData; //@line 403 "../src/h264bsd_conceal.c"
 var $739=(($738+$737)|0); //@line 403 "../src/h264bsd_conceal.c"
 var $740=HEAP8[($739)]; //@line 403 "../src/h264bsd_conceal.c"
 var $741=($740&255); //@line 403 "../src/h264bsd_conceal.c"
 var $742=(($r+12)|0); //@line 403 "../src/h264bsd_conceal.c"
 var $743=HEAP32[(($742)>>2)]; //@line 403 "../src/h264bsd_conceal.c"
 var $744=((($743)+($741))|0); //@line 403 "../src/h264bsd_conceal.c"
 HEAP32[(($742)>>2)]=$744; //@line 403 "../src/h264bsd_conceal.c"
 var $745=$width; //@line 404 "../src/h264bsd_conceal.c"
 var $746=($745<<5); //@line 404 "../src/h264bsd_conceal.c"
 var $747=$pData; //@line 404 "../src/h264bsd_conceal.c"
 var $748=(($747+$746)|0); //@line 404 "../src/h264bsd_conceal.c"
 var $749=HEAP8[($748)]; //@line 404 "../src/h264bsd_conceal.c"
 var $750=($749&255); //@line 404 "../src/h264bsd_conceal.c"
 var $751=(($r+12)|0); //@line 404 "../src/h264bsd_conceal.c"
 var $752=HEAP32[(($751)>>2)]; //@line 404 "../src/h264bsd_conceal.c"
 var $753=((($752)+($750))|0); //@line 404 "../src/h264bsd_conceal.c"
 HEAP32[(($751)>>2)]=$753; //@line 404 "../src/h264bsd_conceal.c"
 var $754=$width; //@line 404 "../src/h264bsd_conceal.c"
 var $755=((($754)*(48))&-1); //@line 404 "../src/h264bsd_conceal.c"
 var $756=$pData; //@line 404 "../src/h264bsd_conceal.c"
 var $757=(($756+$755)|0); //@line 404 "../src/h264bsd_conceal.c"
 var $758=HEAP8[($757)]; //@line 404 "../src/h264bsd_conceal.c"
 var $759=($758&255); //@line 404 "../src/h264bsd_conceal.c"
 var $760=(($r+12)|0); //@line 404 "../src/h264bsd_conceal.c"
 var $761=HEAP32[(($760)>>2)]; //@line 404 "../src/h264bsd_conceal.c"
 var $762=((($761)+($759))|0); //@line 404 "../src/h264bsd_conceal.c"
 HEAP32[(($760)>>2)]=$762; //@line 404 "../src/h264bsd_conceal.c"
 var $763=$j; //@line 405 "../src/h264bsd_conceal.c"
 var $764=((($763)+(1))|0); //@line 405 "../src/h264bsd_conceal.c"
 $j=$764; //@line 405 "../src/h264bsd_conceal.c"
 var $765=$ver; //@line 406 "../src/h264bsd_conceal.c"
 var $766=((($765)+(1))|0); //@line 406 "../src/h264bsd_conceal.c"
 $ver=$766; //@line 406 "../src/h264bsd_conceal.c"
 var $767=(($r)|0); //@line 407 "../src/h264bsd_conceal.c"
 var $768=HEAP32[(($767)>>2)]; //@line 407 "../src/h264bsd_conceal.c"
 var $769=(($r+4)|0); //@line 407 "../src/h264bsd_conceal.c"
 var $770=HEAP32[(($769)>>2)]; //@line 407 "../src/h264bsd_conceal.c"
 var $771=((($768)+($770))|0); //@line 407 "../src/h264bsd_conceal.c"
 var $772=(($r+8)|0); //@line 407 "../src/h264bsd_conceal.c"
 var $773=HEAP32[(($772)>>2)]; //@line 407 "../src/h264bsd_conceal.c"
 var $774=((($771)+($773))|0); //@line 407 "../src/h264bsd_conceal.c"
 var $775=(($r+12)|0); //@line 407 "../src/h264bsd_conceal.c"
 var $776=HEAP32[(($775)>>2)]; //@line 407 "../src/h264bsd_conceal.c"
 var $777=((($774)+($776))|0); //@line 407 "../src/h264bsd_conceal.c"
 var $778=(($firstPhase)|0); //@line 407 "../src/h264bsd_conceal.c"
 var $779=HEAP32[(($778)>>2)]; //@line 407 "../src/h264bsd_conceal.c"
 var $780=((($779)+($777))|0); //@line 407 "../src/h264bsd_conceal.c"
 HEAP32[(($778)>>2)]=$780; //@line 407 "../src/h264bsd_conceal.c"
 var $781=(($r)|0); //@line 408 "../src/h264bsd_conceal.c"
 var $782=HEAP32[(($781)>>2)]; //@line 408 "../src/h264bsd_conceal.c"
 var $783=(($r+4)|0); //@line 408 "../src/h264bsd_conceal.c"
 var $784=HEAP32[(($783)>>2)]; //@line 408 "../src/h264bsd_conceal.c"
 var $785=((($782)+($784))|0); //@line 408 "../src/h264bsd_conceal.c"
 var $786=(($r+8)|0); //@line 408 "../src/h264bsd_conceal.c"
 var $787=HEAP32[(($786)>>2)]; //@line 408 "../src/h264bsd_conceal.c"
 var $788=((($785)-($787))|0); //@line 408 "../src/h264bsd_conceal.c"
 var $789=(($r+12)|0); //@line 408 "../src/h264bsd_conceal.c"
 var $790=HEAP32[(($789)>>2)]; //@line 408 "../src/h264bsd_conceal.c"
 var $791=((($788)-($790))|0); //@line 408 "../src/h264bsd_conceal.c"
 var $792=(($firstPhase+16)|0); //@line 408 "../src/h264bsd_conceal.c"
 var $793=HEAP32[(($792)>>2)]; //@line 408 "../src/h264bsd_conceal.c"
 var $794=((($793)+($791))|0); //@line 408 "../src/h264bsd_conceal.c"
 HEAP32[(($792)>>2)]=$794; //@line 408 "../src/h264bsd_conceal.c"
 label=30;break; //@line 409 "../src/h264bsd_conceal.c"
 case 30: 
 var $796=$j; //@line 412 "../src/h264bsd_conceal.c"
 var $797=($796|0)!=0; //@line 412 "../src/h264bsd_conceal.c"
 if($797){var $801=1;label=32;break;}else{label=31;break;} //@line 412 "../src/h264bsd_conceal.c"
 case 31: 
 ___assert_fail(12504,12096,412,16464); //@line 412 "../src/h264bsd_conceal.c"
 throw "Reached an unreachable!"; //@line 412 "../src/h264bsd_conceal.c"
 label=32;break; //@line 412 "../src/h264bsd_conceal.c"
 case 32: 
 var $801;
 var $802=($801&1); //@line 412 "../src/h264bsd_conceal.c"
 var $803=$hor; //@line 415 "../src/h264bsd_conceal.c"
 var $804=($803|0)!=0; //@line 415 "../src/h264bsd_conceal.c"
 if($804){label=36;break;}else{label=33;break;} //@line 415 "../src/h264bsd_conceal.c"
 case 33: 
 var $806=$L; //@line 415 "../src/h264bsd_conceal.c"
 var $807=($806|0)!=0; //@line 415 "../src/h264bsd_conceal.c"
 if($807){label=34;break;}else{label=36;break;} //@line 415 "../src/h264bsd_conceal.c"
 case 34: 
 var $809=$R; //@line 415 "../src/h264bsd_conceal.c"
 var $810=($809|0)!=0; //@line 415 "../src/h264bsd_conceal.c"
 if($810){label=35;break;}else{label=36;break;} //@line 415 "../src/h264bsd_conceal.c"
 case 35: 
 var $812=(($l)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $813=HEAP32[(($812)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $814=(($l+4)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $815=HEAP32[(($814)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $816=((($813)+($815))|0); //@line 416 "../src/h264bsd_conceal.c"
 var $817=(($l+8)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $818=HEAP32[(($817)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $819=((($816)+($818))|0); //@line 416 "../src/h264bsd_conceal.c"
 var $820=(($l+12)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $821=HEAP32[(($820)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $822=((($819)+($821))|0); //@line 416 "../src/h264bsd_conceal.c"
 var $823=(($r)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $824=HEAP32[(($823)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $825=((($822)-($824))|0); //@line 416 "../src/h264bsd_conceal.c"
 var $826=(($r+4)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $827=HEAP32[(($826)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $828=((($825)-($827))|0); //@line 416 "../src/h264bsd_conceal.c"
 var $829=(($r+8)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $830=HEAP32[(($829)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $831=((($828)-($830))|0); //@line 416 "../src/h264bsd_conceal.c"
 var $832=(($r+12)|0); //@line 416 "../src/h264bsd_conceal.c"
 var $833=HEAP32[(($832)>>2)]; //@line 416 "../src/h264bsd_conceal.c"
 var $834=((($831)-($833))|0); //@line 416 "../src/h264bsd_conceal.c"
 var $835=$834>>5; //@line 416 "../src/h264bsd_conceal.c"
 var $836=(($firstPhase+4)|0); //@line 416 "../src/h264bsd_conceal.c"
 HEAP32[(($836)>>2)]=$835; //@line 416 "../src/h264bsd_conceal.c"
 label=39;break; //@line 416 "../src/h264bsd_conceal.c"
 case 36: 
 var $838=$hor; //@line 417 "../src/h264bsd_conceal.c"
 var $839=($838|0)!=0; //@line 417 "../src/h264bsd_conceal.c"
 if($839){label=37;break;}else{label=38;break;} //@line 417 "../src/h264bsd_conceal.c"
 case 37: 
 var $841=$hor; //@line 418 "../src/h264bsd_conceal.c"
 var $842=((($841)+(3))|0); //@line 418 "../src/h264bsd_conceal.c"
 var $843=(($firstPhase+4)|0); //@line 418 "../src/h264bsd_conceal.c"
 var $844=HEAP32[(($843)>>2)]; //@line 418 "../src/h264bsd_conceal.c"
 var $845=$844>>($842|0); //@line 418 "../src/h264bsd_conceal.c"
 HEAP32[(($843)>>2)]=$845; //@line 418 "../src/h264bsd_conceal.c"
 label=38;break; //@line 418 "../src/h264bsd_conceal.c"
 case 38: 
 label=39;break;
 case 39: 
 var $848=$ver; //@line 420 "../src/h264bsd_conceal.c"
 var $849=($848|0)!=0; //@line 420 "../src/h264bsd_conceal.c"
 if($849){label=43;break;}else{label=40;break;} //@line 420 "../src/h264bsd_conceal.c"
 case 40: 
 var $851=$A; //@line 420 "../src/h264bsd_conceal.c"
 var $852=($851|0)!=0; //@line 420 "../src/h264bsd_conceal.c"
 if($852){label=41;break;}else{label=43;break;} //@line 420 "../src/h264bsd_conceal.c"
 case 41: 
 var $854=$B; //@line 420 "../src/h264bsd_conceal.c"
 var $855=($854|0)!=0; //@line 420 "../src/h264bsd_conceal.c"
 if($855){label=42;break;}else{label=43;break;} //@line 420 "../src/h264bsd_conceal.c"
 case 42: 
 var $857=(($a)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $858=HEAP32[(($857)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $859=(($a+4)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $860=HEAP32[(($859)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $861=((($858)+($860))|0); //@line 421 "../src/h264bsd_conceal.c"
 var $862=(($a+8)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $863=HEAP32[(($862)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $864=((($861)+($863))|0); //@line 421 "../src/h264bsd_conceal.c"
 var $865=(($a+12)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $866=HEAP32[(($865)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $867=((($864)+($866))|0); //@line 421 "../src/h264bsd_conceal.c"
 var $868=(($b)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $869=HEAP32[(($868)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $870=((($867)-($869))|0); //@line 421 "../src/h264bsd_conceal.c"
 var $871=(($b+4)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $872=HEAP32[(($871)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $873=((($870)-($872))|0); //@line 421 "../src/h264bsd_conceal.c"
 var $874=(($b+8)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $875=HEAP32[(($874)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $876=((($873)-($875))|0); //@line 421 "../src/h264bsd_conceal.c"
 var $877=(($b+12)|0); //@line 421 "../src/h264bsd_conceal.c"
 var $878=HEAP32[(($877)>>2)]; //@line 421 "../src/h264bsd_conceal.c"
 var $879=((($876)-($878))|0); //@line 421 "../src/h264bsd_conceal.c"
 var $880=$879>>5; //@line 421 "../src/h264bsd_conceal.c"
 var $881=(($firstPhase+16)|0); //@line 421 "../src/h264bsd_conceal.c"
 HEAP32[(($881)>>2)]=$880; //@line 421 "../src/h264bsd_conceal.c"
 label=46;break; //@line 421 "../src/h264bsd_conceal.c"
 case 43: 
 var $883=$ver; //@line 422 "../src/h264bsd_conceal.c"
 var $884=($883|0)!=0; //@line 422 "../src/h264bsd_conceal.c"
 if($884){label=44;break;}else{label=45;break;} //@line 422 "../src/h264bsd_conceal.c"
 case 44: 
 var $886=$ver; //@line 423 "../src/h264bsd_conceal.c"
 var $887=((($886)+(3))|0); //@line 423 "../src/h264bsd_conceal.c"
 var $888=(($firstPhase+16)|0); //@line 423 "../src/h264bsd_conceal.c"
 var $889=HEAP32[(($888)>>2)]; //@line 423 "../src/h264bsd_conceal.c"
 var $890=$889>>($887|0); //@line 423 "../src/h264bsd_conceal.c"
 HEAP32[(($888)>>2)]=$890; //@line 423 "../src/h264bsd_conceal.c"
 label=45;break; //@line 423 "../src/h264bsd_conceal.c"
 case 45: 
 label=46;break;
 case 46: 
 var $893=$j; //@line 425 "../src/h264bsd_conceal.c"
 if(($893|0)==1){ label=47;break;}else if(($893|0)==2){ label=48;break;}else if(($893|0)==3){ label=49;break;}else{label=50;break;}
 case 47: 
 var $895=(($firstPhase)|0); //@line 428 "../src/h264bsd_conceal.c"
 var $896=HEAP32[(($895)>>2)]; //@line 428 "../src/h264bsd_conceal.c"
 var $897=$896>>4; //@line 428 "../src/h264bsd_conceal.c"
 HEAP32[(($895)>>2)]=$897; //@line 428 "../src/h264bsd_conceal.c"
 label=51;break; //@line 429 "../src/h264bsd_conceal.c"
 case 48: 
 var $899=(($firstPhase)|0); //@line 432 "../src/h264bsd_conceal.c"
 var $900=HEAP32[(($899)>>2)]; //@line 432 "../src/h264bsd_conceal.c"
 var $901=$900>>5; //@line 432 "../src/h264bsd_conceal.c"
 HEAP32[(($899)>>2)]=$901; //@line 432 "../src/h264bsd_conceal.c"
 label=51;break; //@line 433 "../src/h264bsd_conceal.c"
 case 49: 
 var $903=(($firstPhase)|0); //@line 437 "../src/h264bsd_conceal.c"
 var $904=HEAP32[(($903)>>2)]; //@line 437 "../src/h264bsd_conceal.c"
 var $905=((($904)*(21))&-1); //@line 437 "../src/h264bsd_conceal.c"
 var $906=$905>>10; //@line 437 "../src/h264bsd_conceal.c"
 var $907=(($firstPhase)|0); //@line 437 "../src/h264bsd_conceal.c"
 HEAP32[(($907)>>2)]=$906; //@line 437 "../src/h264bsd_conceal.c"
 label=51;break; //@line 438 "../src/h264bsd_conceal.c"
 case 50: 
 var $909=(($firstPhase)|0); //@line 441 "../src/h264bsd_conceal.c"
 var $910=HEAP32[(($909)>>2)]; //@line 441 "../src/h264bsd_conceal.c"
 var $911=$910>>6; //@line 441 "../src/h264bsd_conceal.c"
 HEAP32[(($909)>>2)]=$911; //@line 441 "../src/h264bsd_conceal.c"
 label=51;break; //@line 442 "../src/h264bsd_conceal.c"
 case 51: 
 var $913=(($firstPhase)|0); //@line 447 "../src/h264bsd_conceal.c"
 _Transform($913); //@line 447 "../src/h264bsd_conceal.c"
 $i=0; //@line 449 "../src/h264bsd_conceal.c"
 var $914=(($data)|0); //@line 449 "../src/h264bsd_conceal.c"
 $pData=$914; //@line 449 "../src/h264bsd_conceal.c"
 var $915=(($firstPhase)|0); //@line 449 "../src/h264bsd_conceal.c"
 $pTmp=$915; //@line 449 "../src/h264bsd_conceal.c"
 label=52;break; //@line 449 "../src/h264bsd_conceal.c"
 case 52: 
 var $917=$i; //@line 449 "../src/h264bsd_conceal.c"
 var $918=($917>>>0)<256; //@line 449 "../src/h264bsd_conceal.c"
 if($918){label=53;break;}else{label=62;break;} //@line 449 "../src/h264bsd_conceal.c"
 case 53: 
 var $920=$i; //@line 451 "../src/h264bsd_conceal.c"
 var $921=$920&15; //@line 451 "../src/h264bsd_conceal.c"
 var $922=$921>>>2; //@line 451 "../src/h264bsd_conceal.c"
 var $923=$pTmp; //@line 451 "../src/h264bsd_conceal.c"
 var $924=(($923+($922<<2))|0); //@line 451 "../src/h264bsd_conceal.c"
 var $925=HEAP32[(($924)>>2)]; //@line 451 "../src/h264bsd_conceal.c"
 $tmp=$925; //@line 451 "../src/h264bsd_conceal.c"
 var $926=$tmp; //@line 453 "../src/h264bsd_conceal.c"
 var $927=($926|0)<0; //@line 453 "../src/h264bsd_conceal.c"
 if($927){label=54;break;}else{label=55;break;} //@line 453 "../src/h264bsd_conceal.c"
 case 54: 
 var $938=0;label=59;break; //@line 453 "../src/h264bsd_conceal.c"
 case 55: 
 var $930=$tmp; //@line 453 "../src/h264bsd_conceal.c"
 var $931=($930|0)>255; //@line 453 "../src/h264bsd_conceal.c"
 if($931){label=56;break;}else{label=57;break;} //@line 453 "../src/h264bsd_conceal.c"
 case 56: 
 var $936=255;label=58;break; //@line 453 "../src/h264bsd_conceal.c"
 case 57: 
 var $934=$tmp; //@line 453 "../src/h264bsd_conceal.c"
 var $936=$934;label=58;break; //@line 453 "../src/h264bsd_conceal.c"
 case 58: 
 var $936; //@line 453 "../src/h264bsd_conceal.c"
 var $938=$936;label=59;break; //@line 453 "../src/h264bsd_conceal.c"
 case 59: 
 var $938; //@line 453 "../src/h264bsd_conceal.c"
 var $939=(($938)&255); //@line 453 "../src/h264bsd_conceal.c"
 var $940=$pData; //@line 453 "../src/h264bsd_conceal.c"
 var $941=(($940+1)|0); //@line 453 "../src/h264bsd_conceal.c"
 $pData=$941; //@line 453 "../src/h264bsd_conceal.c"
 HEAP8[($940)]=$939; //@line 453 "../src/h264bsd_conceal.c"
 var $942=$i; //@line 456 "../src/h264bsd_conceal.c"
 var $943=((($942)+(1))|0); //@line 456 "../src/h264bsd_conceal.c"
 $i=$943; //@line 456 "../src/h264bsd_conceal.c"
 var $944=$i; //@line 457 "../src/h264bsd_conceal.c"
 var $945=$944&63; //@line 457 "../src/h264bsd_conceal.c"
 var $946=($945|0)!=0; //@line 457 "../src/h264bsd_conceal.c"
 if($946){label=61;break;}else{label=60;break;} //@line 457 "../src/h264bsd_conceal.c"
 case 60: 
 var $948=$pTmp; //@line 458 "../src/h264bsd_conceal.c"
 var $949=(($948+16)|0); //@line 458 "../src/h264bsd_conceal.c"
 $pTmp=$949; //@line 458 "../src/h264bsd_conceal.c"
 label=61;break; //@line 458 "../src/h264bsd_conceal.c"
 case 61: 
 label=52;break; //@line 459 "../src/h264bsd_conceal.c"
 case 62: 
 var $952=$3; //@line 462 "../src/h264bsd_conceal.c"
 var $953=(($952)|0); //@line 462 "../src/h264bsd_conceal.c"
 var $954=HEAP32[(($953)>>2)]; //@line 462 "../src/h264bsd_conceal.c"
 var $955=$width; //@line 462 "../src/h264bsd_conceal.c"
 var $956=$height; //@line 462 "../src/h264bsd_conceal.c"
 var $957=(Math_imul($955,$956)|0); //@line 462 "../src/h264bsd_conceal.c"
 var $958=($957<<8); //@line 462 "../src/h264bsd_conceal.c"
 var $959=(($954+$958)|0); //@line 462 "../src/h264bsd_conceal.c"
 var $960=$4; //@line 462 "../src/h264bsd_conceal.c"
 var $961=($960<<3); //@line 462 "../src/h264bsd_conceal.c"
 var $962=$width; //@line 462 "../src/h264bsd_conceal.c"
 var $963=(Math_imul($961,$962)|0); //@line 462 "../src/h264bsd_conceal.c"
 var $964=($963<<3); //@line 462 "../src/h264bsd_conceal.c"
 var $965=(($959+$964)|0); //@line 462 "../src/h264bsd_conceal.c"
 var $966=$5; //@line 462 "../src/h264bsd_conceal.c"
 var $967=($966<<3); //@line 462 "../src/h264bsd_conceal.c"
 var $968=(($965+$967)|0); //@line 462 "../src/h264bsd_conceal.c"
 $mbPos=$968; //@line 462 "../src/h264bsd_conceal.c"
 $comp=0; //@line 464 "../src/h264bsd_conceal.c"
 label=63;break; //@line 464 "../src/h264bsd_conceal.c"
 case 63: 
 var $970=$comp; //@line 464 "../src/h264bsd_conceal.c"
 var $971=($970>>>0)<2; //@line 464 "../src/h264bsd_conceal.c"
 if($971){label=64;break;}else{label=104;break;} //@line 464 "../src/h264bsd_conceal.c"
 case 64: 
 var $973=$firstPhase; //@line 467 "../src/h264bsd_conceal.c"
 _memset($973, 0, 64)|0; //@line 467 "../src/h264bsd_conceal.c"
 $j=0; //@line 470 "../src/h264bsd_conceal.c"
 $ver=0; //@line 471 "../src/h264bsd_conceal.c"
 $hor=0; //@line 471 "../src/h264bsd_conceal.c"
 var $974=$A; //@line 472 "../src/h264bsd_conceal.c"
 var $975=($974|0)!=0; //@line 472 "../src/h264bsd_conceal.c"
 if($975){label=65;break;}else{label=66;break;} //@line 472 "../src/h264bsd_conceal.c"
 case 65: 
 var $977=$mbPos; //@line 474 "../src/h264bsd_conceal.c"
 var $978=$width; //@line 474 "../src/h264bsd_conceal.c"
 var $979=($978<<3); //@line 474 "../src/h264bsd_conceal.c"
 var $980=(((-$979))|0); //@line 474 "../src/h264bsd_conceal.c"
 var $981=(($977+$980)|0); //@line 474 "../src/h264bsd_conceal.c"
 $pData=$981; //@line 474 "../src/h264bsd_conceal.c"
 var $982=$pData; //@line 475 "../src/h264bsd_conceal.c"
 var $983=(($982+1)|0); //@line 475 "../src/h264bsd_conceal.c"
 $pData=$983; //@line 475 "../src/h264bsd_conceal.c"
 var $984=HEAP8[($982)]; //@line 475 "../src/h264bsd_conceal.c"
 var $985=($984&255); //@line 475 "../src/h264bsd_conceal.c"
 var $986=(($a)|0); //@line 475 "../src/h264bsd_conceal.c"
 HEAP32[(($986)>>2)]=$985; //@line 475 "../src/h264bsd_conceal.c"
 var $987=$pData; //@line 475 "../src/h264bsd_conceal.c"
 var $988=(($987+1)|0); //@line 475 "../src/h264bsd_conceal.c"
 $pData=$988; //@line 475 "../src/h264bsd_conceal.c"
 var $989=HEAP8[($987)]; //@line 475 "../src/h264bsd_conceal.c"
 var $990=($989&255); //@line 475 "../src/h264bsd_conceal.c"
 var $991=(($a)|0); //@line 475 "../src/h264bsd_conceal.c"
 var $992=HEAP32[(($991)>>2)]; //@line 475 "../src/h264bsd_conceal.c"
 var $993=((($992)+($990))|0); //@line 475 "../src/h264bsd_conceal.c"
 HEAP32[(($991)>>2)]=$993; //@line 475 "../src/h264bsd_conceal.c"
 var $994=$pData; //@line 476 "../src/h264bsd_conceal.c"
 var $995=(($994+1)|0); //@line 476 "../src/h264bsd_conceal.c"
 $pData=$995; //@line 476 "../src/h264bsd_conceal.c"
 var $996=HEAP8[($994)]; //@line 476 "../src/h264bsd_conceal.c"
 var $997=($996&255); //@line 476 "../src/h264bsd_conceal.c"
 var $998=(($a+4)|0); //@line 476 "../src/h264bsd_conceal.c"
 HEAP32[(($998)>>2)]=$997; //@line 476 "../src/h264bsd_conceal.c"
 var $999=$pData; //@line 476 "../src/h264bsd_conceal.c"
 var $1000=(($999+1)|0); //@line 476 "../src/h264bsd_conceal.c"
 $pData=$1000; //@line 476 "../src/h264bsd_conceal.c"
 var $1001=HEAP8[($999)]; //@line 476 "../src/h264bsd_conceal.c"
 var $1002=($1001&255); //@line 476 "../src/h264bsd_conceal.c"
 var $1003=(($a+4)|0); //@line 476 "../src/h264bsd_conceal.c"
 var $1004=HEAP32[(($1003)>>2)]; //@line 476 "../src/h264bsd_conceal.c"
 var $1005=((($1004)+($1002))|0); //@line 476 "../src/h264bsd_conceal.c"
 HEAP32[(($1003)>>2)]=$1005; //@line 476 "../src/h264bsd_conceal.c"
 var $1006=$pData; //@line 477 "../src/h264bsd_conceal.c"
 var $1007=(($1006+1)|0); //@line 477 "../src/h264bsd_conceal.c"
 $pData=$1007; //@line 477 "../src/h264bsd_conceal.c"
 var $1008=HEAP8[($1006)]; //@line 477 "../src/h264bsd_conceal.c"
 var $1009=($1008&255); //@line 477 "../src/h264bsd_conceal.c"
 var $1010=(($a+8)|0); //@line 477 "../src/h264bsd_conceal.c"
 HEAP32[(($1010)>>2)]=$1009; //@line 477 "../src/h264bsd_conceal.c"
 var $1011=$pData; //@line 477 "../src/h264bsd_conceal.c"
 var $1012=(($1011+1)|0); //@line 477 "../src/h264bsd_conceal.c"
 $pData=$1012; //@line 477 "../src/h264bsd_conceal.c"
 var $1013=HEAP8[($1011)]; //@line 477 "../src/h264bsd_conceal.c"
 var $1014=($1013&255); //@line 477 "../src/h264bsd_conceal.c"
 var $1015=(($a+8)|0); //@line 477 "../src/h264bsd_conceal.c"
 var $1016=HEAP32[(($1015)>>2)]; //@line 477 "../src/h264bsd_conceal.c"
 var $1017=((($1016)+($1014))|0); //@line 477 "../src/h264bsd_conceal.c"
 HEAP32[(($1015)>>2)]=$1017; //@line 477 "../src/h264bsd_conceal.c"
 var $1018=$pData; //@line 478 "../src/h264bsd_conceal.c"
 var $1019=(($1018+1)|0); //@line 478 "../src/h264bsd_conceal.c"
 $pData=$1019; //@line 478 "../src/h264bsd_conceal.c"
 var $1020=HEAP8[($1018)]; //@line 478 "../src/h264bsd_conceal.c"
 var $1021=($1020&255); //@line 478 "../src/h264bsd_conceal.c"
 var $1022=(($a+12)|0); //@line 478 "../src/h264bsd_conceal.c"
 HEAP32[(($1022)>>2)]=$1021; //@line 478 "../src/h264bsd_conceal.c"
 var $1023=$pData; //@line 478 "../src/h264bsd_conceal.c"
 var $1024=(($1023+1)|0); //@line 478 "../src/h264bsd_conceal.c"
 $pData=$1024; //@line 478 "../src/h264bsd_conceal.c"
 var $1025=HEAP8[($1023)]; //@line 478 "../src/h264bsd_conceal.c"
 var $1026=($1025&255); //@line 478 "../src/h264bsd_conceal.c"
 var $1027=(($a+12)|0); //@line 478 "../src/h264bsd_conceal.c"
 var $1028=HEAP32[(($1027)>>2)]; //@line 478 "../src/h264bsd_conceal.c"
 var $1029=((($1028)+($1026))|0); //@line 478 "../src/h264bsd_conceal.c"
 HEAP32[(($1027)>>2)]=$1029; //@line 478 "../src/h264bsd_conceal.c"
 var $1030=$j; //@line 479 "../src/h264bsd_conceal.c"
 var $1031=((($1030)+(1))|0); //@line 479 "../src/h264bsd_conceal.c"
 $j=$1031; //@line 479 "../src/h264bsd_conceal.c"
 var $1032=$hor; //@line 480 "../src/h264bsd_conceal.c"
 var $1033=((($1032)+(1))|0); //@line 480 "../src/h264bsd_conceal.c"
 $hor=$1033; //@line 480 "../src/h264bsd_conceal.c"
 var $1034=(($a)|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1035=HEAP32[(($1034)>>2)]; //@line 481 "../src/h264bsd_conceal.c"
 var $1036=(($a+4)|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1037=HEAP32[(($1036)>>2)]; //@line 481 "../src/h264bsd_conceal.c"
 var $1038=((($1035)+($1037))|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1039=(($a+8)|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1040=HEAP32[(($1039)>>2)]; //@line 481 "../src/h264bsd_conceal.c"
 var $1041=((($1038)+($1040))|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1042=(($a+12)|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1043=HEAP32[(($1042)>>2)]; //@line 481 "../src/h264bsd_conceal.c"
 var $1044=((($1041)+($1043))|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1045=(($firstPhase)|0); //@line 481 "../src/h264bsd_conceal.c"
 var $1046=HEAP32[(($1045)>>2)]; //@line 481 "../src/h264bsd_conceal.c"
 var $1047=((($1046)+($1044))|0); //@line 481 "../src/h264bsd_conceal.c"
 HEAP32[(($1045)>>2)]=$1047; //@line 481 "../src/h264bsd_conceal.c"
 var $1048=(($a)|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1049=HEAP32[(($1048)>>2)]; //@line 482 "../src/h264bsd_conceal.c"
 var $1050=(($a+4)|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1051=HEAP32[(($1050)>>2)]; //@line 482 "../src/h264bsd_conceal.c"
 var $1052=((($1049)+($1051))|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1053=(($a+8)|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1054=HEAP32[(($1053)>>2)]; //@line 482 "../src/h264bsd_conceal.c"
 var $1055=((($1052)-($1054))|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1056=(($a+12)|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1057=HEAP32[(($1056)>>2)]; //@line 482 "../src/h264bsd_conceal.c"
 var $1058=((($1055)-($1057))|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1059=(($firstPhase+4)|0); //@line 482 "../src/h264bsd_conceal.c"
 var $1060=HEAP32[(($1059)>>2)]; //@line 482 "../src/h264bsd_conceal.c"
 var $1061=((($1060)+($1058))|0); //@line 482 "../src/h264bsd_conceal.c"
 HEAP32[(($1059)>>2)]=$1061; //@line 482 "../src/h264bsd_conceal.c"
 label=66;break; //@line 483 "../src/h264bsd_conceal.c"
 case 66: 
 var $1063=$B; //@line 484 "../src/h264bsd_conceal.c"
 var $1064=($1063|0)!=0; //@line 484 "../src/h264bsd_conceal.c"
 if($1064){label=67;break;}else{label=68;break;} //@line 484 "../src/h264bsd_conceal.c"
 case 67: 
 var $1066=$mbPos; //@line 486 "../src/h264bsd_conceal.c"
 var $1067=$width; //@line 486 "../src/h264bsd_conceal.c"
 var $1068=($1067<<3); //@line 486 "../src/h264bsd_conceal.c"
 var $1069=($1068<<3); //@line 486 "../src/h264bsd_conceal.c"
 var $1070=(($1066+$1069)|0); //@line 486 "../src/h264bsd_conceal.c"
 $pData=$1070; //@line 486 "../src/h264bsd_conceal.c"
 var $1071=$pData; //@line 487 "../src/h264bsd_conceal.c"
 var $1072=(($1071+1)|0); //@line 487 "../src/h264bsd_conceal.c"
 $pData=$1072; //@line 487 "../src/h264bsd_conceal.c"
 var $1073=HEAP8[($1071)]; //@line 487 "../src/h264bsd_conceal.c"
 var $1074=($1073&255); //@line 487 "../src/h264bsd_conceal.c"
 var $1075=(($b)|0); //@line 487 "../src/h264bsd_conceal.c"
 HEAP32[(($1075)>>2)]=$1074; //@line 487 "../src/h264bsd_conceal.c"
 var $1076=$pData; //@line 487 "../src/h264bsd_conceal.c"
 var $1077=(($1076+1)|0); //@line 487 "../src/h264bsd_conceal.c"
 $pData=$1077; //@line 487 "../src/h264bsd_conceal.c"
 var $1078=HEAP8[($1076)]; //@line 487 "../src/h264bsd_conceal.c"
 var $1079=($1078&255); //@line 487 "../src/h264bsd_conceal.c"
 var $1080=(($b)|0); //@line 487 "../src/h264bsd_conceal.c"
 var $1081=HEAP32[(($1080)>>2)]; //@line 487 "../src/h264bsd_conceal.c"
 var $1082=((($1081)+($1079))|0); //@line 487 "../src/h264bsd_conceal.c"
 HEAP32[(($1080)>>2)]=$1082; //@line 487 "../src/h264bsd_conceal.c"
 var $1083=$pData; //@line 488 "../src/h264bsd_conceal.c"
 var $1084=(($1083+1)|0); //@line 488 "../src/h264bsd_conceal.c"
 $pData=$1084; //@line 488 "../src/h264bsd_conceal.c"
 var $1085=HEAP8[($1083)]; //@line 488 "../src/h264bsd_conceal.c"
 var $1086=($1085&255); //@line 488 "../src/h264bsd_conceal.c"
 var $1087=(($b+4)|0); //@line 488 "../src/h264bsd_conceal.c"
 HEAP32[(($1087)>>2)]=$1086; //@line 488 "../src/h264bsd_conceal.c"
 var $1088=$pData; //@line 488 "../src/h264bsd_conceal.c"
 var $1089=(($1088+1)|0); //@line 488 "../src/h264bsd_conceal.c"
 $pData=$1089; //@line 488 "../src/h264bsd_conceal.c"
 var $1090=HEAP8[($1088)]; //@line 488 "../src/h264bsd_conceal.c"
 var $1091=($1090&255); //@line 488 "../src/h264bsd_conceal.c"
 var $1092=(($b+4)|0); //@line 488 "../src/h264bsd_conceal.c"
 var $1093=HEAP32[(($1092)>>2)]; //@line 488 "../src/h264bsd_conceal.c"
 var $1094=((($1093)+($1091))|0); //@line 488 "../src/h264bsd_conceal.c"
 HEAP32[(($1092)>>2)]=$1094; //@line 488 "../src/h264bsd_conceal.c"
 var $1095=$pData; //@line 489 "../src/h264bsd_conceal.c"
 var $1096=(($1095+1)|0); //@line 489 "../src/h264bsd_conceal.c"
 $pData=$1096; //@line 489 "../src/h264bsd_conceal.c"
 var $1097=HEAP8[($1095)]; //@line 489 "../src/h264bsd_conceal.c"
 var $1098=($1097&255); //@line 489 "../src/h264bsd_conceal.c"
 var $1099=(($b+8)|0); //@line 489 "../src/h264bsd_conceal.c"
 HEAP32[(($1099)>>2)]=$1098; //@line 489 "../src/h264bsd_conceal.c"
 var $1100=$pData; //@line 489 "../src/h264bsd_conceal.c"
 var $1101=(($1100+1)|0); //@line 489 "../src/h264bsd_conceal.c"
 $pData=$1101; //@line 489 "../src/h264bsd_conceal.c"
 var $1102=HEAP8[($1100)]; //@line 489 "../src/h264bsd_conceal.c"
 var $1103=($1102&255); //@line 489 "../src/h264bsd_conceal.c"
 var $1104=(($b+8)|0); //@line 489 "../src/h264bsd_conceal.c"
 var $1105=HEAP32[(($1104)>>2)]; //@line 489 "../src/h264bsd_conceal.c"
 var $1106=((($1105)+($1103))|0); //@line 489 "../src/h264bsd_conceal.c"
 HEAP32[(($1104)>>2)]=$1106; //@line 489 "../src/h264bsd_conceal.c"
 var $1107=$pData; //@line 490 "../src/h264bsd_conceal.c"
 var $1108=(($1107+1)|0); //@line 490 "../src/h264bsd_conceal.c"
 $pData=$1108; //@line 490 "../src/h264bsd_conceal.c"
 var $1109=HEAP8[($1107)]; //@line 490 "../src/h264bsd_conceal.c"
 var $1110=($1109&255); //@line 490 "../src/h264bsd_conceal.c"
 var $1111=(($b+12)|0); //@line 490 "../src/h264bsd_conceal.c"
 HEAP32[(($1111)>>2)]=$1110; //@line 490 "../src/h264bsd_conceal.c"
 var $1112=$pData; //@line 490 "../src/h264bsd_conceal.c"
 var $1113=(($1112+1)|0); //@line 490 "../src/h264bsd_conceal.c"
 $pData=$1113; //@line 490 "../src/h264bsd_conceal.c"
 var $1114=HEAP8[($1112)]; //@line 490 "../src/h264bsd_conceal.c"
 var $1115=($1114&255); //@line 490 "../src/h264bsd_conceal.c"
 var $1116=(($b+12)|0); //@line 490 "../src/h264bsd_conceal.c"
 var $1117=HEAP32[(($1116)>>2)]; //@line 490 "../src/h264bsd_conceal.c"
 var $1118=((($1117)+($1115))|0); //@line 490 "../src/h264bsd_conceal.c"
 HEAP32[(($1116)>>2)]=$1118; //@line 490 "../src/h264bsd_conceal.c"
 var $1119=$j; //@line 491 "../src/h264bsd_conceal.c"
 var $1120=((($1119)+(1))|0); //@line 491 "../src/h264bsd_conceal.c"
 $j=$1120; //@line 491 "../src/h264bsd_conceal.c"
 var $1121=$hor; //@line 492 "../src/h264bsd_conceal.c"
 var $1122=((($1121)+(1))|0); //@line 492 "../src/h264bsd_conceal.c"
 $hor=$1122; //@line 492 "../src/h264bsd_conceal.c"
 var $1123=(($b)|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1124=HEAP32[(($1123)>>2)]; //@line 493 "../src/h264bsd_conceal.c"
 var $1125=(($b+4)|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1126=HEAP32[(($1125)>>2)]; //@line 493 "../src/h264bsd_conceal.c"
 var $1127=((($1124)+($1126))|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1128=(($b+8)|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1129=HEAP32[(($1128)>>2)]; //@line 493 "../src/h264bsd_conceal.c"
 var $1130=((($1127)+($1129))|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1131=(($b+12)|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1132=HEAP32[(($1131)>>2)]; //@line 493 "../src/h264bsd_conceal.c"
 var $1133=((($1130)+($1132))|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1134=(($firstPhase)|0); //@line 493 "../src/h264bsd_conceal.c"
 var $1135=HEAP32[(($1134)>>2)]; //@line 493 "../src/h264bsd_conceal.c"
 var $1136=((($1135)+($1133))|0); //@line 493 "../src/h264bsd_conceal.c"
 HEAP32[(($1134)>>2)]=$1136; //@line 493 "../src/h264bsd_conceal.c"
 var $1137=(($b)|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1138=HEAP32[(($1137)>>2)]; //@line 494 "../src/h264bsd_conceal.c"
 var $1139=(($b+4)|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1140=HEAP32[(($1139)>>2)]; //@line 494 "../src/h264bsd_conceal.c"
 var $1141=((($1138)+($1140))|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1142=(($b+8)|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1143=HEAP32[(($1142)>>2)]; //@line 494 "../src/h264bsd_conceal.c"
 var $1144=((($1141)-($1143))|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1145=(($b+12)|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1146=HEAP32[(($1145)>>2)]; //@line 494 "../src/h264bsd_conceal.c"
 var $1147=((($1144)-($1146))|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1148=(($firstPhase+4)|0); //@line 494 "../src/h264bsd_conceal.c"
 var $1149=HEAP32[(($1148)>>2)]; //@line 494 "../src/h264bsd_conceal.c"
 var $1150=((($1149)+($1147))|0); //@line 494 "../src/h264bsd_conceal.c"
 HEAP32[(($1148)>>2)]=$1150; //@line 494 "../src/h264bsd_conceal.c"
 label=68;break; //@line 495 "../src/h264bsd_conceal.c"
 case 68: 
 var $1152=$L; //@line 496 "../src/h264bsd_conceal.c"
 var $1153=($1152|0)!=0; //@line 496 "../src/h264bsd_conceal.c"
 if($1153){label=69;break;}else{label=70;break;} //@line 496 "../src/h264bsd_conceal.c"
 case 69: 
 var $1155=$mbPos; //@line 498 "../src/h264bsd_conceal.c"
 var $1156=((($1155)-(1))|0); //@line 498 "../src/h264bsd_conceal.c"
 $pData=$1156; //@line 498 "../src/h264bsd_conceal.c"
 var $1157=$pData; //@line 499 "../src/h264bsd_conceal.c"
 var $1158=(($1157)|0); //@line 499 "../src/h264bsd_conceal.c"
 var $1159=HEAP8[($1158)]; //@line 499 "../src/h264bsd_conceal.c"
 var $1160=($1159&255); //@line 499 "../src/h264bsd_conceal.c"
 var $1161=(($l)|0); //@line 499 "../src/h264bsd_conceal.c"
 HEAP32[(($1161)>>2)]=$1160; //@line 499 "../src/h264bsd_conceal.c"
 var $1162=$width; //@line 499 "../src/h264bsd_conceal.c"
 var $1163=($1162<<3); //@line 499 "../src/h264bsd_conceal.c"
 var $1164=$pData; //@line 499 "../src/h264bsd_conceal.c"
 var $1165=(($1164+$1163)|0); //@line 499 "../src/h264bsd_conceal.c"
 var $1166=HEAP8[($1165)]; //@line 499 "../src/h264bsd_conceal.c"
 var $1167=($1166&255); //@line 499 "../src/h264bsd_conceal.c"
 var $1168=(($l)|0); //@line 499 "../src/h264bsd_conceal.c"
 var $1169=HEAP32[(($1168)>>2)]; //@line 499 "../src/h264bsd_conceal.c"
 var $1170=((($1169)+($1167))|0); //@line 499 "../src/h264bsd_conceal.c"
 HEAP32[(($1168)>>2)]=$1170; //@line 499 "../src/h264bsd_conceal.c"
 var $1171=$width; //@line 500 "../src/h264bsd_conceal.c"
 var $1172=($1171<<4); //@line 500 "../src/h264bsd_conceal.c"
 var $1173=$pData; //@line 500 "../src/h264bsd_conceal.c"
 var $1174=(($1173+$1172)|0); //@line 500 "../src/h264bsd_conceal.c"
 $pData=$1174; //@line 500 "../src/h264bsd_conceal.c"
 var $1175=$pData; //@line 501 "../src/h264bsd_conceal.c"
 var $1176=(($1175)|0); //@line 501 "../src/h264bsd_conceal.c"
 var $1177=HEAP8[($1176)]; //@line 501 "../src/h264bsd_conceal.c"
 var $1178=($1177&255); //@line 501 "../src/h264bsd_conceal.c"
 var $1179=(($l+4)|0); //@line 501 "../src/h264bsd_conceal.c"
 HEAP32[(($1179)>>2)]=$1178; //@line 501 "../src/h264bsd_conceal.c"
 var $1180=$width; //@line 501 "../src/h264bsd_conceal.c"
 var $1181=($1180<<3); //@line 501 "../src/h264bsd_conceal.c"
 var $1182=$pData; //@line 501 "../src/h264bsd_conceal.c"
 var $1183=(($1182+$1181)|0); //@line 501 "../src/h264bsd_conceal.c"
 var $1184=HEAP8[($1183)]; //@line 501 "../src/h264bsd_conceal.c"
 var $1185=($1184&255); //@line 501 "../src/h264bsd_conceal.c"
 var $1186=(($l+4)|0); //@line 501 "../src/h264bsd_conceal.c"
 var $1187=HEAP32[(($1186)>>2)]; //@line 501 "../src/h264bsd_conceal.c"
 var $1188=((($1187)+($1185))|0); //@line 501 "../src/h264bsd_conceal.c"
 HEAP32[(($1186)>>2)]=$1188; //@line 501 "../src/h264bsd_conceal.c"
 var $1189=$width; //@line 502 "../src/h264bsd_conceal.c"
 var $1190=($1189<<4); //@line 502 "../src/h264bsd_conceal.c"
 var $1191=$pData; //@line 502 "../src/h264bsd_conceal.c"
 var $1192=(($1191+$1190)|0); //@line 502 "../src/h264bsd_conceal.c"
 $pData=$1192; //@line 502 "../src/h264bsd_conceal.c"
 var $1193=$pData; //@line 503 "../src/h264bsd_conceal.c"
 var $1194=(($1193)|0); //@line 503 "../src/h264bsd_conceal.c"
 var $1195=HEAP8[($1194)]; //@line 503 "../src/h264bsd_conceal.c"
 var $1196=($1195&255); //@line 503 "../src/h264bsd_conceal.c"
 var $1197=(($l+8)|0); //@line 503 "../src/h264bsd_conceal.c"
 HEAP32[(($1197)>>2)]=$1196; //@line 503 "../src/h264bsd_conceal.c"
 var $1198=$width; //@line 503 "../src/h264bsd_conceal.c"
 var $1199=($1198<<3); //@line 503 "../src/h264bsd_conceal.c"
 var $1200=$pData; //@line 503 "../src/h264bsd_conceal.c"
 var $1201=(($1200+$1199)|0); //@line 503 "../src/h264bsd_conceal.c"
 var $1202=HEAP8[($1201)]; //@line 503 "../src/h264bsd_conceal.c"
 var $1203=($1202&255); //@line 503 "../src/h264bsd_conceal.c"
 var $1204=(($l+8)|0); //@line 503 "../src/h264bsd_conceal.c"
 var $1205=HEAP32[(($1204)>>2)]; //@line 503 "../src/h264bsd_conceal.c"
 var $1206=((($1205)+($1203))|0); //@line 503 "../src/h264bsd_conceal.c"
 HEAP32[(($1204)>>2)]=$1206; //@line 503 "../src/h264bsd_conceal.c"
 var $1207=$width; //@line 504 "../src/h264bsd_conceal.c"
 var $1208=($1207<<4); //@line 504 "../src/h264bsd_conceal.c"
 var $1209=$pData; //@line 504 "../src/h264bsd_conceal.c"
 var $1210=(($1209+$1208)|0); //@line 504 "../src/h264bsd_conceal.c"
 $pData=$1210; //@line 504 "../src/h264bsd_conceal.c"
 var $1211=$pData; //@line 505 "../src/h264bsd_conceal.c"
 var $1212=(($1211)|0); //@line 505 "../src/h264bsd_conceal.c"
 var $1213=HEAP8[($1212)]; //@line 505 "../src/h264bsd_conceal.c"
 var $1214=($1213&255); //@line 505 "../src/h264bsd_conceal.c"
 var $1215=(($l+12)|0); //@line 505 "../src/h264bsd_conceal.c"
 HEAP32[(($1215)>>2)]=$1214; //@line 505 "../src/h264bsd_conceal.c"
 var $1216=$width; //@line 505 "../src/h264bsd_conceal.c"
 var $1217=($1216<<3); //@line 505 "../src/h264bsd_conceal.c"
 var $1218=$pData; //@line 505 "../src/h264bsd_conceal.c"
 var $1219=(($1218+$1217)|0); //@line 505 "../src/h264bsd_conceal.c"
 var $1220=HEAP8[($1219)]; //@line 505 "../src/h264bsd_conceal.c"
 var $1221=($1220&255); //@line 505 "../src/h264bsd_conceal.c"
 var $1222=(($l+12)|0); //@line 505 "../src/h264bsd_conceal.c"
 var $1223=HEAP32[(($1222)>>2)]; //@line 505 "../src/h264bsd_conceal.c"
 var $1224=((($1223)+($1221))|0); //@line 505 "../src/h264bsd_conceal.c"
 HEAP32[(($1222)>>2)]=$1224; //@line 505 "../src/h264bsd_conceal.c"
 var $1225=$j; //@line 506 "../src/h264bsd_conceal.c"
 var $1226=((($1225)+(1))|0); //@line 506 "../src/h264bsd_conceal.c"
 $j=$1226; //@line 506 "../src/h264bsd_conceal.c"
 var $1227=$ver; //@line 507 "../src/h264bsd_conceal.c"
 var $1228=((($1227)+(1))|0); //@line 507 "../src/h264bsd_conceal.c"
 $ver=$1228; //@line 507 "../src/h264bsd_conceal.c"
 var $1229=(($l)|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1230=HEAP32[(($1229)>>2)]; //@line 508 "../src/h264bsd_conceal.c"
 var $1231=(($l+4)|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1232=HEAP32[(($1231)>>2)]; //@line 508 "../src/h264bsd_conceal.c"
 var $1233=((($1230)+($1232))|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1234=(($l+8)|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1235=HEAP32[(($1234)>>2)]; //@line 508 "../src/h264bsd_conceal.c"
 var $1236=((($1233)+($1235))|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1237=(($l+12)|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1238=HEAP32[(($1237)>>2)]; //@line 508 "../src/h264bsd_conceal.c"
 var $1239=((($1236)+($1238))|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1240=(($firstPhase)|0); //@line 508 "../src/h264bsd_conceal.c"
 var $1241=HEAP32[(($1240)>>2)]; //@line 508 "../src/h264bsd_conceal.c"
 var $1242=((($1241)+($1239))|0); //@line 508 "../src/h264bsd_conceal.c"
 HEAP32[(($1240)>>2)]=$1242; //@line 508 "../src/h264bsd_conceal.c"
 var $1243=(($l)|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1244=HEAP32[(($1243)>>2)]; //@line 509 "../src/h264bsd_conceal.c"
 var $1245=(($l+4)|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1246=HEAP32[(($1245)>>2)]; //@line 509 "../src/h264bsd_conceal.c"
 var $1247=((($1244)+($1246))|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1248=(($l+8)|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1249=HEAP32[(($1248)>>2)]; //@line 509 "../src/h264bsd_conceal.c"
 var $1250=((($1247)-($1249))|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1251=(($l+12)|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1252=HEAP32[(($1251)>>2)]; //@line 509 "../src/h264bsd_conceal.c"
 var $1253=((($1250)-($1252))|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1254=(($firstPhase+16)|0); //@line 509 "../src/h264bsd_conceal.c"
 var $1255=HEAP32[(($1254)>>2)]; //@line 509 "../src/h264bsd_conceal.c"
 var $1256=((($1255)+($1253))|0); //@line 509 "../src/h264bsd_conceal.c"
 HEAP32[(($1254)>>2)]=$1256; //@line 509 "../src/h264bsd_conceal.c"
 label=70;break; //@line 510 "../src/h264bsd_conceal.c"
 case 70: 
 var $1258=$R; //@line 511 "../src/h264bsd_conceal.c"
 var $1259=($1258|0)!=0; //@line 511 "../src/h264bsd_conceal.c"
 if($1259){label=71;break;}else{label=72;break;} //@line 511 "../src/h264bsd_conceal.c"
 case 71: 
 var $1261=$mbPos; //@line 513 "../src/h264bsd_conceal.c"
 var $1262=(($1261+8)|0); //@line 513 "../src/h264bsd_conceal.c"
 $pData=$1262; //@line 513 "../src/h264bsd_conceal.c"
 var $1263=$pData; //@line 514 "../src/h264bsd_conceal.c"
 var $1264=(($1263)|0); //@line 514 "../src/h264bsd_conceal.c"
 var $1265=HEAP8[($1264)]; //@line 514 "../src/h264bsd_conceal.c"
 var $1266=($1265&255); //@line 514 "../src/h264bsd_conceal.c"
 var $1267=(($r)|0); //@line 514 "../src/h264bsd_conceal.c"
 HEAP32[(($1267)>>2)]=$1266; //@line 514 "../src/h264bsd_conceal.c"
 var $1268=$width; //@line 514 "../src/h264bsd_conceal.c"
 var $1269=($1268<<3); //@line 514 "../src/h264bsd_conceal.c"
 var $1270=$pData; //@line 514 "../src/h264bsd_conceal.c"
 var $1271=(($1270+$1269)|0); //@line 514 "../src/h264bsd_conceal.c"
 var $1272=HEAP8[($1271)]; //@line 514 "../src/h264bsd_conceal.c"
 var $1273=($1272&255); //@line 514 "../src/h264bsd_conceal.c"
 var $1274=(($r)|0); //@line 514 "../src/h264bsd_conceal.c"
 var $1275=HEAP32[(($1274)>>2)]; //@line 514 "../src/h264bsd_conceal.c"
 var $1276=((($1275)+($1273))|0); //@line 514 "../src/h264bsd_conceal.c"
 HEAP32[(($1274)>>2)]=$1276; //@line 514 "../src/h264bsd_conceal.c"
 var $1277=$width; //@line 515 "../src/h264bsd_conceal.c"
 var $1278=($1277<<4); //@line 515 "../src/h264bsd_conceal.c"
 var $1279=$pData; //@line 515 "../src/h264bsd_conceal.c"
 var $1280=(($1279+$1278)|0); //@line 515 "../src/h264bsd_conceal.c"
 $pData=$1280; //@line 515 "../src/h264bsd_conceal.c"
 var $1281=$pData; //@line 516 "../src/h264bsd_conceal.c"
 var $1282=(($1281)|0); //@line 516 "../src/h264bsd_conceal.c"
 var $1283=HEAP8[($1282)]; //@line 516 "../src/h264bsd_conceal.c"
 var $1284=($1283&255); //@line 516 "../src/h264bsd_conceal.c"
 var $1285=(($r+4)|0); //@line 516 "../src/h264bsd_conceal.c"
 HEAP32[(($1285)>>2)]=$1284; //@line 516 "../src/h264bsd_conceal.c"
 var $1286=$width; //@line 516 "../src/h264bsd_conceal.c"
 var $1287=($1286<<3); //@line 516 "../src/h264bsd_conceal.c"
 var $1288=$pData; //@line 516 "../src/h264bsd_conceal.c"
 var $1289=(($1288+$1287)|0); //@line 516 "../src/h264bsd_conceal.c"
 var $1290=HEAP8[($1289)]; //@line 516 "../src/h264bsd_conceal.c"
 var $1291=($1290&255); //@line 516 "../src/h264bsd_conceal.c"
 var $1292=(($r+4)|0); //@line 516 "../src/h264bsd_conceal.c"
 var $1293=HEAP32[(($1292)>>2)]; //@line 516 "../src/h264bsd_conceal.c"
 var $1294=((($1293)+($1291))|0); //@line 516 "../src/h264bsd_conceal.c"
 HEAP32[(($1292)>>2)]=$1294; //@line 516 "../src/h264bsd_conceal.c"
 var $1295=$width; //@line 517 "../src/h264bsd_conceal.c"
 var $1296=($1295<<4); //@line 517 "../src/h264bsd_conceal.c"
 var $1297=$pData; //@line 517 "../src/h264bsd_conceal.c"
 var $1298=(($1297+$1296)|0); //@line 517 "../src/h264bsd_conceal.c"
 $pData=$1298; //@line 517 "../src/h264bsd_conceal.c"
 var $1299=$pData; //@line 518 "../src/h264bsd_conceal.c"
 var $1300=(($1299)|0); //@line 518 "../src/h264bsd_conceal.c"
 var $1301=HEAP8[($1300)]; //@line 518 "../src/h264bsd_conceal.c"
 var $1302=($1301&255); //@line 518 "../src/h264bsd_conceal.c"
 var $1303=(($r+8)|0); //@line 518 "../src/h264bsd_conceal.c"
 HEAP32[(($1303)>>2)]=$1302; //@line 518 "../src/h264bsd_conceal.c"
 var $1304=$width; //@line 518 "../src/h264bsd_conceal.c"
 var $1305=($1304<<3); //@line 518 "../src/h264bsd_conceal.c"
 var $1306=$pData; //@line 518 "../src/h264bsd_conceal.c"
 var $1307=(($1306+$1305)|0); //@line 518 "../src/h264bsd_conceal.c"
 var $1308=HEAP8[($1307)]; //@line 518 "../src/h264bsd_conceal.c"
 var $1309=($1308&255); //@line 518 "../src/h264bsd_conceal.c"
 var $1310=(($r+8)|0); //@line 518 "../src/h264bsd_conceal.c"
 var $1311=HEAP32[(($1310)>>2)]; //@line 518 "../src/h264bsd_conceal.c"
 var $1312=((($1311)+($1309))|0); //@line 518 "../src/h264bsd_conceal.c"
 HEAP32[(($1310)>>2)]=$1312; //@line 518 "../src/h264bsd_conceal.c"
 var $1313=$width; //@line 519 "../src/h264bsd_conceal.c"
 var $1314=($1313<<4); //@line 519 "../src/h264bsd_conceal.c"
 var $1315=$pData; //@line 519 "../src/h264bsd_conceal.c"
 var $1316=(($1315+$1314)|0); //@line 519 "../src/h264bsd_conceal.c"
 $pData=$1316; //@line 519 "../src/h264bsd_conceal.c"
 var $1317=$pData; //@line 520 "../src/h264bsd_conceal.c"
 var $1318=(($1317)|0); //@line 520 "../src/h264bsd_conceal.c"
 var $1319=HEAP8[($1318)]; //@line 520 "../src/h264bsd_conceal.c"
 var $1320=($1319&255); //@line 520 "../src/h264bsd_conceal.c"
 var $1321=(($r+12)|0); //@line 520 "../src/h264bsd_conceal.c"
 HEAP32[(($1321)>>2)]=$1320; //@line 520 "../src/h264bsd_conceal.c"
 var $1322=$width; //@line 520 "../src/h264bsd_conceal.c"
 var $1323=($1322<<3); //@line 520 "../src/h264bsd_conceal.c"
 var $1324=$pData; //@line 520 "../src/h264bsd_conceal.c"
 var $1325=(($1324+$1323)|0); //@line 520 "../src/h264bsd_conceal.c"
 var $1326=HEAP8[($1325)]; //@line 520 "../src/h264bsd_conceal.c"
 var $1327=($1326&255); //@line 520 "../src/h264bsd_conceal.c"
 var $1328=(($r+12)|0); //@line 520 "../src/h264bsd_conceal.c"
 var $1329=HEAP32[(($1328)>>2)]; //@line 520 "../src/h264bsd_conceal.c"
 var $1330=((($1329)+($1327))|0); //@line 520 "../src/h264bsd_conceal.c"
 HEAP32[(($1328)>>2)]=$1330; //@line 520 "../src/h264bsd_conceal.c"
 var $1331=$j; //@line 521 "../src/h264bsd_conceal.c"
 var $1332=((($1331)+(1))|0); //@line 521 "../src/h264bsd_conceal.c"
 $j=$1332; //@line 521 "../src/h264bsd_conceal.c"
 var $1333=$ver; //@line 522 "../src/h264bsd_conceal.c"
 var $1334=((($1333)+(1))|0); //@line 522 "../src/h264bsd_conceal.c"
 $ver=$1334; //@line 522 "../src/h264bsd_conceal.c"
 var $1335=(($r)|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1336=HEAP32[(($1335)>>2)]; //@line 523 "../src/h264bsd_conceal.c"
 var $1337=(($r+4)|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1338=HEAP32[(($1337)>>2)]; //@line 523 "../src/h264bsd_conceal.c"
 var $1339=((($1336)+($1338))|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1340=(($r+8)|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1341=HEAP32[(($1340)>>2)]; //@line 523 "../src/h264bsd_conceal.c"
 var $1342=((($1339)+($1341))|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1343=(($r+12)|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1344=HEAP32[(($1343)>>2)]; //@line 523 "../src/h264bsd_conceal.c"
 var $1345=((($1342)+($1344))|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1346=(($firstPhase)|0); //@line 523 "../src/h264bsd_conceal.c"
 var $1347=HEAP32[(($1346)>>2)]; //@line 523 "../src/h264bsd_conceal.c"
 var $1348=((($1347)+($1345))|0); //@line 523 "../src/h264bsd_conceal.c"
 HEAP32[(($1346)>>2)]=$1348; //@line 523 "../src/h264bsd_conceal.c"
 var $1349=(($r)|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1350=HEAP32[(($1349)>>2)]; //@line 524 "../src/h264bsd_conceal.c"
 var $1351=(($r+4)|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1352=HEAP32[(($1351)>>2)]; //@line 524 "../src/h264bsd_conceal.c"
 var $1353=((($1350)+($1352))|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1354=(($r+8)|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1355=HEAP32[(($1354)>>2)]; //@line 524 "../src/h264bsd_conceal.c"
 var $1356=((($1353)-($1355))|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1357=(($r+12)|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1358=HEAP32[(($1357)>>2)]; //@line 524 "../src/h264bsd_conceal.c"
 var $1359=((($1356)-($1358))|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1360=(($firstPhase+16)|0); //@line 524 "../src/h264bsd_conceal.c"
 var $1361=HEAP32[(($1360)>>2)]; //@line 524 "../src/h264bsd_conceal.c"
 var $1362=((($1361)+($1359))|0); //@line 524 "../src/h264bsd_conceal.c"
 HEAP32[(($1360)>>2)]=$1362; //@line 524 "../src/h264bsd_conceal.c"
 label=72;break; //@line 525 "../src/h264bsd_conceal.c"
 case 72: 
 var $1364=$hor; //@line 526 "../src/h264bsd_conceal.c"
 var $1365=($1364|0)!=0; //@line 526 "../src/h264bsd_conceal.c"
 if($1365){label=76;break;}else{label=73;break;} //@line 526 "../src/h264bsd_conceal.c"
 case 73: 
 var $1367=$L; //@line 526 "../src/h264bsd_conceal.c"
 var $1368=($1367|0)!=0; //@line 526 "../src/h264bsd_conceal.c"
 if($1368){label=74;break;}else{label=76;break;} //@line 526 "../src/h264bsd_conceal.c"
 case 74: 
 var $1370=$R; //@line 526 "../src/h264bsd_conceal.c"
 var $1371=($1370|0)!=0; //@line 526 "../src/h264bsd_conceal.c"
 if($1371){label=75;break;}else{label=76;break;} //@line 526 "../src/h264bsd_conceal.c"
 case 75: 
 var $1373=(($l)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1374=HEAP32[(($1373)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1375=(($l+4)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1376=HEAP32[(($1375)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1377=((($1374)+($1376))|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1378=(($l+8)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1379=HEAP32[(($1378)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1380=((($1377)+($1379))|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1381=(($l+12)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1382=HEAP32[(($1381)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1383=((($1380)+($1382))|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1384=(($r)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1385=HEAP32[(($1384)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1386=((($1383)-($1385))|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1387=(($r+4)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1388=HEAP32[(($1387)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1389=((($1386)-($1388))|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1390=(($r+8)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1391=HEAP32[(($1390)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1392=((($1389)-($1391))|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1393=(($r+12)|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1394=HEAP32[(($1393)>>2)]; //@line 527 "../src/h264bsd_conceal.c"
 var $1395=((($1392)-($1394))|0); //@line 527 "../src/h264bsd_conceal.c"
 var $1396=$1395>>4; //@line 527 "../src/h264bsd_conceal.c"
 var $1397=(($firstPhase+4)|0); //@line 527 "../src/h264bsd_conceal.c"
 HEAP32[(($1397)>>2)]=$1396; //@line 527 "../src/h264bsd_conceal.c"
 label=79;break; //@line 527 "../src/h264bsd_conceal.c"
 case 76: 
 var $1399=$hor; //@line 528 "../src/h264bsd_conceal.c"
 var $1400=($1399|0)!=0; //@line 528 "../src/h264bsd_conceal.c"
 if($1400){label=77;break;}else{label=78;break;} //@line 528 "../src/h264bsd_conceal.c"
 case 77: 
 var $1402=$hor; //@line 529 "../src/h264bsd_conceal.c"
 var $1403=((($1402)+(2))|0); //@line 529 "../src/h264bsd_conceal.c"
 var $1404=(($firstPhase+4)|0); //@line 529 "../src/h264bsd_conceal.c"
 var $1405=HEAP32[(($1404)>>2)]; //@line 529 "../src/h264bsd_conceal.c"
 var $1406=$1405>>($1403|0); //@line 529 "../src/h264bsd_conceal.c"
 HEAP32[(($1404)>>2)]=$1406; //@line 529 "../src/h264bsd_conceal.c"
 label=78;break; //@line 529 "../src/h264bsd_conceal.c"
 case 78: 
 label=79;break;
 case 79: 
 var $1409=$ver; //@line 531 "../src/h264bsd_conceal.c"
 var $1410=($1409|0)!=0; //@line 531 "../src/h264bsd_conceal.c"
 if($1410){label=83;break;}else{label=80;break;} //@line 531 "../src/h264bsd_conceal.c"
 case 80: 
 var $1412=$A; //@line 531 "../src/h264bsd_conceal.c"
 var $1413=($1412|0)!=0; //@line 531 "../src/h264bsd_conceal.c"
 if($1413){label=81;break;}else{label=83;break;} //@line 531 "../src/h264bsd_conceal.c"
 case 81: 
 var $1415=$B; //@line 531 "../src/h264bsd_conceal.c"
 var $1416=($1415|0)!=0; //@line 531 "../src/h264bsd_conceal.c"
 if($1416){label=82;break;}else{label=83;break;} //@line 531 "../src/h264bsd_conceal.c"
 case 82: 
 var $1418=(($a)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1419=HEAP32[(($1418)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1420=(($a+4)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1421=HEAP32[(($1420)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1422=((($1419)+($1421))|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1423=(($a+8)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1424=HEAP32[(($1423)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1425=((($1422)+($1424))|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1426=(($a+12)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1427=HEAP32[(($1426)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1428=((($1425)+($1427))|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1429=(($b)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1430=HEAP32[(($1429)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1431=((($1428)-($1430))|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1432=(($b+4)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1433=HEAP32[(($1432)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1434=((($1431)-($1433))|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1435=(($b+8)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1436=HEAP32[(($1435)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1437=((($1434)-($1436))|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1438=(($b+12)|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1439=HEAP32[(($1438)>>2)]; //@line 532 "../src/h264bsd_conceal.c"
 var $1440=((($1437)-($1439))|0); //@line 532 "../src/h264bsd_conceal.c"
 var $1441=$1440>>4; //@line 532 "../src/h264bsd_conceal.c"
 var $1442=(($firstPhase+16)|0); //@line 532 "../src/h264bsd_conceal.c"
 HEAP32[(($1442)>>2)]=$1441; //@line 532 "../src/h264bsd_conceal.c"
 label=86;break; //@line 532 "../src/h264bsd_conceal.c"
 case 83: 
 var $1444=$ver; //@line 533 "../src/h264bsd_conceal.c"
 var $1445=($1444|0)!=0; //@line 533 "../src/h264bsd_conceal.c"
 if($1445){label=84;break;}else{label=85;break;} //@line 533 "../src/h264bsd_conceal.c"
 case 84: 
 var $1447=$ver; //@line 534 "../src/h264bsd_conceal.c"
 var $1448=((($1447)+(2))|0); //@line 534 "../src/h264bsd_conceal.c"
 var $1449=(($firstPhase+16)|0); //@line 534 "../src/h264bsd_conceal.c"
 var $1450=HEAP32[(($1449)>>2)]; //@line 534 "../src/h264bsd_conceal.c"
 var $1451=$1450>>($1448|0); //@line 534 "../src/h264bsd_conceal.c"
 HEAP32[(($1449)>>2)]=$1451; //@line 534 "../src/h264bsd_conceal.c"
 label=85;break; //@line 534 "../src/h264bsd_conceal.c"
 case 85: 
 label=86;break;
 case 86: 
 var $1454=$j; //@line 536 "../src/h264bsd_conceal.c"
 if(($1454|0)==1){ label=87;break;}else if(($1454|0)==2){ label=88;break;}else if(($1454|0)==3){ label=89;break;}else{label=90;break;}
 case 87: 
 var $1456=(($firstPhase)|0); //@line 539 "../src/h264bsd_conceal.c"
 var $1457=HEAP32[(($1456)>>2)]; //@line 539 "../src/h264bsd_conceal.c"
 var $1458=$1457>>3; //@line 539 "../src/h264bsd_conceal.c"
 HEAP32[(($1456)>>2)]=$1458; //@line 539 "../src/h264bsd_conceal.c"
 label=91;break; //@line 540 "../src/h264bsd_conceal.c"
 case 88: 
 var $1460=(($firstPhase)|0); //@line 543 "../src/h264bsd_conceal.c"
 var $1461=HEAP32[(($1460)>>2)]; //@line 543 "../src/h264bsd_conceal.c"
 var $1462=$1461>>4; //@line 543 "../src/h264bsd_conceal.c"
 HEAP32[(($1460)>>2)]=$1462; //@line 543 "../src/h264bsd_conceal.c"
 label=91;break; //@line 544 "../src/h264bsd_conceal.c"
 case 89: 
 var $1464=(($firstPhase)|0); //@line 548 "../src/h264bsd_conceal.c"
 var $1465=HEAP32[(($1464)>>2)]; //@line 548 "../src/h264bsd_conceal.c"
 var $1466=((($1465)*(21))&-1); //@line 548 "../src/h264bsd_conceal.c"
 var $1467=$1466>>9; //@line 548 "../src/h264bsd_conceal.c"
 var $1468=(($firstPhase)|0); //@line 548 "../src/h264bsd_conceal.c"
 HEAP32[(($1468)>>2)]=$1467; //@line 548 "../src/h264bsd_conceal.c"
 label=91;break; //@line 549 "../src/h264bsd_conceal.c"
 case 90: 
 var $1470=(($firstPhase)|0); //@line 552 "../src/h264bsd_conceal.c"
 var $1471=HEAP32[(($1470)>>2)]; //@line 552 "../src/h264bsd_conceal.c"
 var $1472=$1471>>5; //@line 552 "../src/h264bsd_conceal.c"
 HEAP32[(($1470)>>2)]=$1472; //@line 552 "../src/h264bsd_conceal.c"
 label=91;break; //@line 553 "../src/h264bsd_conceal.c"
 case 91: 
 var $1474=(($firstPhase)|0); //@line 557 "../src/h264bsd_conceal.c"
 _Transform($1474); //@line 557 "../src/h264bsd_conceal.c"
 var $1475=(($data)|0); //@line 559 "../src/h264bsd_conceal.c"
 var $1476=(($1475+256)|0); //@line 559 "../src/h264bsd_conceal.c"
 var $1477=$comp; //@line 559 "../src/h264bsd_conceal.c"
 var $1478=($1477<<6); //@line 559 "../src/h264bsd_conceal.c"
 var $1479=(($1476+$1478)|0); //@line 559 "../src/h264bsd_conceal.c"
 $pData=$1479; //@line 559 "../src/h264bsd_conceal.c"
 $i=0; //@line 560 "../src/h264bsd_conceal.c"
 var $1480=(($firstPhase)|0); //@line 560 "../src/h264bsd_conceal.c"
 $pTmp=$1480; //@line 560 "../src/h264bsd_conceal.c"
 label=92;break; //@line 560 "../src/h264bsd_conceal.c"
 case 92: 
 var $1482=$i; //@line 560 "../src/h264bsd_conceal.c"
 var $1483=($1482>>>0)<64; //@line 560 "../src/h264bsd_conceal.c"
 if($1483){label=93;break;}else{label=102;break;} //@line 560 "../src/h264bsd_conceal.c"
 case 93: 
 var $1485=$i; //@line 562 "../src/h264bsd_conceal.c"
 var $1486=$1485&7; //@line 562 "../src/h264bsd_conceal.c"
 var $1487=$1486>>>1; //@line 562 "../src/h264bsd_conceal.c"
 var $1488=$pTmp; //@line 562 "../src/h264bsd_conceal.c"
 var $1489=(($1488+($1487<<2))|0); //@line 562 "../src/h264bsd_conceal.c"
 var $1490=HEAP32[(($1489)>>2)]; //@line 562 "../src/h264bsd_conceal.c"
 $tmp=$1490; //@line 562 "../src/h264bsd_conceal.c"
 var $1491=$tmp; //@line 564 "../src/h264bsd_conceal.c"
 var $1492=($1491|0)<0; //@line 564 "../src/h264bsd_conceal.c"
 if($1492){label=94;break;}else{label=95;break;} //@line 564 "../src/h264bsd_conceal.c"
 case 94: 
 var $1503=0;label=99;break; //@line 564 "../src/h264bsd_conceal.c"
 case 95: 
 var $1495=$tmp; //@line 564 "../src/h264bsd_conceal.c"
 var $1496=($1495|0)>255; //@line 564 "../src/h264bsd_conceal.c"
 if($1496){label=96;break;}else{label=97;break;} //@line 564 "../src/h264bsd_conceal.c"
 case 96: 
 var $1501=255;label=98;break; //@line 564 "../src/h264bsd_conceal.c"
 case 97: 
 var $1499=$tmp; //@line 564 "../src/h264bsd_conceal.c"
 var $1501=$1499;label=98;break; //@line 564 "../src/h264bsd_conceal.c"
 case 98: 
 var $1501; //@line 564 "../src/h264bsd_conceal.c"
 var $1503=$1501;label=99;break; //@line 564 "../src/h264bsd_conceal.c"
 case 99: 
 var $1503; //@line 564 "../src/h264bsd_conceal.c"
 var $1504=(($1503)&255); //@line 564 "../src/h264bsd_conceal.c"
 var $1505=$pData; //@line 564 "../src/h264bsd_conceal.c"
 var $1506=(($1505+1)|0); //@line 564 "../src/h264bsd_conceal.c"
 $pData=$1506; //@line 564 "../src/h264bsd_conceal.c"
 HEAP8[($1505)]=$1504; //@line 564 "../src/h264bsd_conceal.c"
 var $1507=$i; //@line 567 "../src/h264bsd_conceal.c"
 var $1508=((($1507)+(1))|0); //@line 567 "../src/h264bsd_conceal.c"
 $i=$1508; //@line 567 "../src/h264bsd_conceal.c"
 var $1509=$i; //@line 568 "../src/h264bsd_conceal.c"
 var $1510=$1509&15; //@line 568 "../src/h264bsd_conceal.c"
 var $1511=($1510|0)!=0; //@line 568 "../src/h264bsd_conceal.c"
 if($1511){label=101;break;}else{label=100;break;} //@line 568 "../src/h264bsd_conceal.c"
 case 100: 
 var $1513=$pTmp; //@line 569 "../src/h264bsd_conceal.c"
 var $1514=(($1513+16)|0); //@line 569 "../src/h264bsd_conceal.c"
 $pTmp=$1514; //@line 569 "../src/h264bsd_conceal.c"
 label=101;break; //@line 569 "../src/h264bsd_conceal.c"
 case 101: 
 label=92;break; //@line 570 "../src/h264bsd_conceal.c"
 case 102: 
 var $1517=$width; //@line 573 "../src/h264bsd_conceal.c"
 var $1518=$height; //@line 573 "../src/h264bsd_conceal.c"
 var $1519=(Math_imul($1517,$1518)|0); //@line 573 "../src/h264bsd_conceal.c"
 var $1520=($1519<<6); //@line 573 "../src/h264bsd_conceal.c"
 var $1521=$mbPos; //@line 573 "../src/h264bsd_conceal.c"
 var $1522=(($1521+$1520)|0); //@line 573 "../src/h264bsd_conceal.c"
 $mbPos=$1522; //@line 573 "../src/h264bsd_conceal.c"
 label=103;break; //@line 574 "../src/h264bsd_conceal.c"
 case 103: 
 var $1524=$comp; //@line 464 "../src/h264bsd_conceal.c"
 var $1525=((($1524)+(1))|0); //@line 464 "../src/h264bsd_conceal.c"
 $comp=$1525; //@line 464 "../src/h264bsd_conceal.c"
 label=63;break; //@line 464 "../src/h264bsd_conceal.c"
 case 104: 
 var $1527=$3; //@line 576 "../src/h264bsd_conceal.c"
 var $1528=(($data)|0); //@line 576 "../src/h264bsd_conceal.c"
 _h264bsdWriteMacroblock($1527,$1528); //@line 576 "../src/h264bsd_conceal.c"
 $1=0; //@line 578 "../src/h264bsd_conceal.c"
 label=105;break; //@line 578 "../src/h264bsd_conceal.c"
 case 105: 
 var $1530=$1; //@line 580 "../src/h264bsd_conceal.c"
 STACKTOP=sp;return $1530; //@line 580 "../src/h264bsd_conceal.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Transform($data){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $col;
 var $tmp0;
 var $tmp1;
 $1=$data;
 var $2=$1; //@line 599 "../src/h264bsd_conceal.c"
 var $3=(($2+4)|0); //@line 599 "../src/h264bsd_conceal.c"
 var $4=HEAP32[(($3)>>2)]; //@line 599 "../src/h264bsd_conceal.c"
 var $5=($4|0)!=0; //@line 599 "../src/h264bsd_conceal.c"
 if($5){label=4;break;}else{label=2;break;} //@line 599 "../src/h264bsd_conceal.c"
 case 2: 
 var $7=$1; //@line 599 "../src/h264bsd_conceal.c"
 var $8=(($7+16)|0); //@line 599 "../src/h264bsd_conceal.c"
 var $9=HEAP32[(($8)>>2)]; //@line 599 "../src/h264bsd_conceal.c"
 var $10=($9|0)!=0; //@line 599 "../src/h264bsd_conceal.c"
 if($10){label=4;break;}else{label=3;break;} //@line 599 "../src/h264bsd_conceal.c"
 case 3: 
 var $12=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $13=(($12)|0); //@line 601 "../src/h264bsd_conceal.c"
 var $14=HEAP32[(($13)>>2)]; //@line 601 "../src/h264bsd_conceal.c"
 var $15=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $16=(($15+60)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($16)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $17=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $18=(($17+56)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($18)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $19=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $20=(($19+52)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($20)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $21=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $22=(($21+48)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($22)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $23=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $24=(($23+44)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($24)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $25=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $26=(($25+40)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($26)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $27=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $28=(($27+36)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($28)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $29=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $30=(($29+32)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($30)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $31=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $32=(($31+28)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($32)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $33=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $34=(($33+24)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($34)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $35=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $36=(($35+20)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($36)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $37=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $38=(($37+16)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($38)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $39=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $40=(($39+12)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($40)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $41=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $42=(($41+8)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($42)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 var $43=$1; //@line 601 "../src/h264bsd_conceal.c"
 var $44=(($43+4)|0); //@line 601 "../src/h264bsd_conceal.c"
 HEAP32[(($44)>>2)]=$14; //@line 601 "../src/h264bsd_conceal.c"
 label=8;break; //@line 604 "../src/h264bsd_conceal.c"
 case 4: 
 var $46=$1; //@line 607 "../src/h264bsd_conceal.c"
 var $47=(($46)|0); //@line 607 "../src/h264bsd_conceal.c"
 var $48=HEAP32[(($47)>>2)]; //@line 607 "../src/h264bsd_conceal.c"
 $tmp0=$48; //@line 607 "../src/h264bsd_conceal.c"
 var $49=$1; //@line 608 "../src/h264bsd_conceal.c"
 var $50=(($49+4)|0); //@line 608 "../src/h264bsd_conceal.c"
 var $51=HEAP32[(($50)>>2)]; //@line 608 "../src/h264bsd_conceal.c"
 $tmp1=$51; //@line 608 "../src/h264bsd_conceal.c"
 var $52=$tmp0; //@line 609 "../src/h264bsd_conceal.c"
 var $53=$tmp1; //@line 609 "../src/h264bsd_conceal.c"
 var $54=((($52)+($53))|0); //@line 609 "../src/h264bsd_conceal.c"
 var $55=$1; //@line 609 "../src/h264bsd_conceal.c"
 var $56=(($55)|0); //@line 609 "../src/h264bsd_conceal.c"
 HEAP32[(($56)>>2)]=$54; //@line 609 "../src/h264bsd_conceal.c"
 var $57=$tmp0; //@line 610 "../src/h264bsd_conceal.c"
 var $58=$tmp1; //@line 610 "../src/h264bsd_conceal.c"
 var $59=$58>>1; //@line 610 "../src/h264bsd_conceal.c"
 var $60=((($57)+($59))|0); //@line 610 "../src/h264bsd_conceal.c"
 var $61=$1; //@line 610 "../src/h264bsd_conceal.c"
 var $62=(($61+4)|0); //@line 610 "../src/h264bsd_conceal.c"
 HEAP32[(($62)>>2)]=$60; //@line 610 "../src/h264bsd_conceal.c"
 var $63=$tmp0; //@line 611 "../src/h264bsd_conceal.c"
 var $64=$tmp1; //@line 611 "../src/h264bsd_conceal.c"
 var $65=$64>>1; //@line 611 "../src/h264bsd_conceal.c"
 var $66=((($63)-($65))|0); //@line 611 "../src/h264bsd_conceal.c"
 var $67=$1; //@line 611 "../src/h264bsd_conceal.c"
 var $68=(($67+8)|0); //@line 611 "../src/h264bsd_conceal.c"
 HEAP32[(($68)>>2)]=$66; //@line 611 "../src/h264bsd_conceal.c"
 var $69=$tmp0; //@line 612 "../src/h264bsd_conceal.c"
 var $70=$tmp1; //@line 612 "../src/h264bsd_conceal.c"
 var $71=((($69)-($70))|0); //@line 612 "../src/h264bsd_conceal.c"
 var $72=$1; //@line 612 "../src/h264bsd_conceal.c"
 var $73=(($72+12)|0); //@line 612 "../src/h264bsd_conceal.c"
 HEAP32[(($73)>>2)]=$71; //@line 612 "../src/h264bsd_conceal.c"
 var $74=$1; //@line 614 "../src/h264bsd_conceal.c"
 var $75=(($74+16)|0); //@line 614 "../src/h264bsd_conceal.c"
 var $76=HEAP32[(($75)>>2)]; //@line 614 "../src/h264bsd_conceal.c"
 $tmp0=$76; //@line 614 "../src/h264bsd_conceal.c"
 var $77=$tmp0; //@line 615 "../src/h264bsd_conceal.c"
 var $78=$1; //@line 615 "../src/h264bsd_conceal.c"
 var $79=(($78+20)|0); //@line 615 "../src/h264bsd_conceal.c"
 HEAP32[(($79)>>2)]=$77; //@line 615 "../src/h264bsd_conceal.c"
 var $80=$tmp0; //@line 616 "../src/h264bsd_conceal.c"
 var $81=$1; //@line 616 "../src/h264bsd_conceal.c"
 var $82=(($81+24)|0); //@line 616 "../src/h264bsd_conceal.c"
 HEAP32[(($82)>>2)]=$80; //@line 616 "../src/h264bsd_conceal.c"
 var $83=$tmp0; //@line 617 "../src/h264bsd_conceal.c"
 var $84=$1; //@line 617 "../src/h264bsd_conceal.c"
 var $85=(($84+28)|0); //@line 617 "../src/h264bsd_conceal.c"
 HEAP32[(($85)>>2)]=$83; //@line 617 "../src/h264bsd_conceal.c"
 $col=4; //@line 620 "../src/h264bsd_conceal.c"
 label=5;break; //@line 620 "../src/h264bsd_conceal.c"
 case 5: 
 var $87=$col; //@line 620 "../src/h264bsd_conceal.c"
 var $88=((($87)-(1))|0); //@line 620 "../src/h264bsd_conceal.c"
 $col=$88; //@line 620 "../src/h264bsd_conceal.c"
 var $89=($87|0)!=0; //@line 620 "../src/h264bsd_conceal.c"
 if($89){label=6;break;}else{label=8;break;} //@line 620 "../src/h264bsd_conceal.c"
 case 6: 
 var $91=$1; //@line 622 "../src/h264bsd_conceal.c"
 var $92=(($91)|0); //@line 622 "../src/h264bsd_conceal.c"
 var $93=HEAP32[(($92)>>2)]; //@line 622 "../src/h264bsd_conceal.c"
 $tmp0=$93; //@line 622 "../src/h264bsd_conceal.c"
 var $94=$1; //@line 623 "../src/h264bsd_conceal.c"
 var $95=(($94+16)|0); //@line 623 "../src/h264bsd_conceal.c"
 var $96=HEAP32[(($95)>>2)]; //@line 623 "../src/h264bsd_conceal.c"
 $tmp1=$96; //@line 623 "../src/h264bsd_conceal.c"
 var $97=$tmp0; //@line 624 "../src/h264bsd_conceal.c"
 var $98=$tmp1; //@line 624 "../src/h264bsd_conceal.c"
 var $99=((($97)+($98))|0); //@line 624 "../src/h264bsd_conceal.c"
 var $100=$1; //@line 624 "../src/h264bsd_conceal.c"
 var $101=(($100)|0); //@line 624 "../src/h264bsd_conceal.c"
 HEAP32[(($101)>>2)]=$99; //@line 624 "../src/h264bsd_conceal.c"
 var $102=$tmp0; //@line 625 "../src/h264bsd_conceal.c"
 var $103=$tmp1; //@line 625 "../src/h264bsd_conceal.c"
 var $104=$103>>1; //@line 625 "../src/h264bsd_conceal.c"
 var $105=((($102)+($104))|0); //@line 625 "../src/h264bsd_conceal.c"
 var $106=$1; //@line 625 "../src/h264bsd_conceal.c"
 var $107=(($106+16)|0); //@line 625 "../src/h264bsd_conceal.c"
 HEAP32[(($107)>>2)]=$105; //@line 625 "../src/h264bsd_conceal.c"
 var $108=$tmp0; //@line 626 "../src/h264bsd_conceal.c"
 var $109=$tmp1; //@line 626 "../src/h264bsd_conceal.c"
 var $110=$109>>1; //@line 626 "../src/h264bsd_conceal.c"
 var $111=((($108)-($110))|0); //@line 626 "../src/h264bsd_conceal.c"
 var $112=$1; //@line 626 "../src/h264bsd_conceal.c"
 var $113=(($112+32)|0); //@line 626 "../src/h264bsd_conceal.c"
 HEAP32[(($113)>>2)]=$111; //@line 626 "../src/h264bsd_conceal.c"
 var $114=$tmp0; //@line 627 "../src/h264bsd_conceal.c"
 var $115=$tmp1; //@line 627 "../src/h264bsd_conceal.c"
 var $116=((($114)-($115))|0); //@line 627 "../src/h264bsd_conceal.c"
 var $117=$1; //@line 627 "../src/h264bsd_conceal.c"
 var $118=(($117+48)|0); //@line 627 "../src/h264bsd_conceal.c"
 HEAP32[(($118)>>2)]=$116; //@line 627 "../src/h264bsd_conceal.c"
 label=7;break; //@line 628 "../src/h264bsd_conceal.c"
 case 7: 
 var $120=$1; //@line 620 "../src/h264bsd_conceal.c"
 var $121=(($120+4)|0); //@line 620 "../src/h264bsd_conceal.c"
 $1=$121; //@line 620 "../src/h264bsd_conceal.c"
 label=5;break; //@line 620 "../src/h264bsd_conceal.c"
 case 8: 
 STACKTOP=sp;return; //@line 630 "../src/h264bsd_conceal.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdFilterPicture($image,$mb){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+168)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $flags;
 var $picSizeInMbs;
 var $mbRow;
 var $mbCol;
 var $picWidthInMbs;
 var $data;
 var $pMb;
 var $bS=sp;
 var $thresholds=(sp)+(128);
 $1=$image;
 $2=$mb;
 var $3=$1; //@line 592 "../src/h264bsd_deblocking.c"
 var $4=($3|0)!=0; //@line 592 "../src/h264bsd_deblocking.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 592 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(9464,11664,592,13960); //@line 592 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 592 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 592 "../src/h264bsd_deblocking.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 592 "../src/h264bsd_deblocking.c"
 var $10=$2; //@line 593 "../src/h264bsd_deblocking.c"
 var $11=($10|0)!=0; //@line 593 "../src/h264bsd_deblocking.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 593 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(9088,11664,593,13960); //@line 593 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 593 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 593 "../src/h264bsd_deblocking.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 593 "../src/h264bsd_deblocking.c"
 var $17=$1; //@line 594 "../src/h264bsd_deblocking.c"
 var $18=(($17)|0); //@line 594 "../src/h264bsd_deblocking.c"
 var $19=HEAP32[(($18)>>2)]; //@line 594 "../src/h264bsd_deblocking.c"
 var $20=($19|0)!=0; //@line 594 "../src/h264bsd_deblocking.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 594 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(7968,11664,594,13960); //@line 594 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 594 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 594 "../src/h264bsd_deblocking.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 594 "../src/h264bsd_deblocking.c"
 var $26=$1; //@line 595 "../src/h264bsd_deblocking.c"
 var $27=(($26+4)|0); //@line 595 "../src/h264bsd_deblocking.c"
 var $28=HEAP32[(($27)>>2)]; //@line 595 "../src/h264bsd_deblocking.c"
 var $29=($28|0)!=0; //@line 595 "../src/h264bsd_deblocking.c"
 if($29){var $33=1;label=9;break;}else{label=8;break;} //@line 595 "../src/h264bsd_deblocking.c"
 case 8: 
 ___assert_fail(7048,11664,595,13960); //@line 595 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 595 "../src/h264bsd_deblocking.c"
 label=9;break; //@line 595 "../src/h264bsd_deblocking.c"
 case 9: 
 var $33;
 var $34=($33&1); //@line 595 "../src/h264bsd_deblocking.c"
 var $35=$1; //@line 596 "../src/h264bsd_deblocking.c"
 var $36=(($35+8)|0); //@line 596 "../src/h264bsd_deblocking.c"
 var $37=HEAP32[(($36)>>2)]; //@line 596 "../src/h264bsd_deblocking.c"
 var $38=($37|0)!=0; //@line 596 "../src/h264bsd_deblocking.c"
 if($38){var $42=1;label=11;break;}else{label=10;break;} //@line 596 "../src/h264bsd_deblocking.c"
 case 10: 
 ___assert_fail(6264,11664,596,13960); //@line 596 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 596 "../src/h264bsd_deblocking.c"
 label=11;break; //@line 596 "../src/h264bsd_deblocking.c"
 case 11: 
 var $42;
 var $43=($42&1); //@line 596 "../src/h264bsd_deblocking.c"
 var $44=$1; //@line 598 "../src/h264bsd_deblocking.c"
 var $45=(($44+4)|0); //@line 598 "../src/h264bsd_deblocking.c"
 var $46=HEAP32[(($45)>>2)]; //@line 598 "../src/h264bsd_deblocking.c"
 $picWidthInMbs=$46; //@line 598 "../src/h264bsd_deblocking.c"
 var $47=$1; //@line 599 "../src/h264bsd_deblocking.c"
 var $48=(($47)|0); //@line 599 "../src/h264bsd_deblocking.c"
 var $49=HEAP32[(($48)>>2)]; //@line 599 "../src/h264bsd_deblocking.c"
 $data=$49; //@line 599 "../src/h264bsd_deblocking.c"
 var $50=$picWidthInMbs; //@line 600 "../src/h264bsd_deblocking.c"
 var $51=$1; //@line 600 "../src/h264bsd_deblocking.c"
 var $52=(($51+8)|0); //@line 600 "../src/h264bsd_deblocking.c"
 var $53=HEAP32[(($52)>>2)]; //@line 600 "../src/h264bsd_deblocking.c"
 var $54=(Math_imul($50,$53)|0); //@line 600 "../src/h264bsd_deblocking.c"
 $picSizeInMbs=$54; //@line 600 "../src/h264bsd_deblocking.c"
 var $55=$2; //@line 602 "../src/h264bsd_deblocking.c"
 $pMb=$55; //@line 602 "../src/h264bsd_deblocking.c"
 $mbRow=0; //@line 604 "../src/h264bsd_deblocking.c"
 $mbCol=0; //@line 604 "../src/h264bsd_deblocking.c"
 label=12;break; //@line 604 "../src/h264bsd_deblocking.c"
 case 12: 
 var $57=$mbRow; //@line 604 "../src/h264bsd_deblocking.c"
 var $58=$1; //@line 604 "../src/h264bsd_deblocking.c"
 var $59=(($58+8)|0); //@line 604 "../src/h264bsd_deblocking.c"
 var $60=HEAP32[(($59)>>2)]; //@line 604 "../src/h264bsd_deblocking.c"
 var $61=($57>>>0)<($60>>>0); //@line 604 "../src/h264bsd_deblocking.c"
 if($61){label=13;break;}else{label=21;break;} //@line 604 "../src/h264bsd_deblocking.c"
 case 13: 
 var $63=$pMb; //@line 606 "../src/h264bsd_deblocking.c"
 var $64=_GetMbFilteringFlags($63); //@line 606 "../src/h264bsd_deblocking.c"
 $flags=$64; //@line 606 "../src/h264bsd_deblocking.c"
 var $65=$flags; //@line 608 "../src/h264bsd_deblocking.c"
 var $66=($65|0)!=0; //@line 608 "../src/h264bsd_deblocking.c"
 if($66){label=14;break;}else{label=17;break;} //@line 608 "../src/h264bsd_deblocking.c"
 case 14: 
 var $68=$pMb; //@line 612 "../src/h264bsd_deblocking.c"
 var $69=(($bS)|0); //@line 612 "../src/h264bsd_deblocking.c"
 var $70=$flags; //@line 612 "../src/h264bsd_deblocking.c"
 var $71=_GetBoundaryStrengths($68,$69,$70); //@line 612 "../src/h264bsd_deblocking.c"
 var $72=($71|0)!=0; //@line 612 "../src/h264bsd_deblocking.c"
 if($72){label=15;break;}else{label=16;break;} //@line 612 "../src/h264bsd_deblocking.c"
 case 15: 
 var $74=(($thresholds)|0); //@line 615 "../src/h264bsd_deblocking.c"
 var $75=$pMb; //@line 615 "../src/h264bsd_deblocking.c"
 var $76=$flags; //@line 615 "../src/h264bsd_deblocking.c"
 _GetLumaEdgeThresholds($74,$75,$76); //@line 615 "../src/h264bsd_deblocking.c"
 var $77=$1; //@line 616 "../src/h264bsd_deblocking.c"
 var $78=(($77)|0); //@line 616 "../src/h264bsd_deblocking.c"
 var $79=HEAP32[(($78)>>2)]; //@line 616 "../src/h264bsd_deblocking.c"
 var $80=$mbRow; //@line 616 "../src/h264bsd_deblocking.c"
 var $81=$picWidthInMbs; //@line 616 "../src/h264bsd_deblocking.c"
 var $82=(Math_imul($80,$81)|0); //@line 616 "../src/h264bsd_deblocking.c"
 var $83=($82<<8); //@line 616 "../src/h264bsd_deblocking.c"
 var $84=(($79+$83)|0); //@line 616 "../src/h264bsd_deblocking.c"
 var $85=$mbCol; //@line 616 "../src/h264bsd_deblocking.c"
 var $86=($85<<4); //@line 616 "../src/h264bsd_deblocking.c"
 var $87=(($84+$86)|0); //@line 616 "../src/h264bsd_deblocking.c"
 $data=$87; //@line 616 "../src/h264bsd_deblocking.c"
 var $88=$data; //@line 618 "../src/h264bsd_deblocking.c"
 var $89=(($bS)|0); //@line 618 "../src/h264bsd_deblocking.c"
 var $90=(($thresholds)|0); //@line 618 "../src/h264bsd_deblocking.c"
 var $91=$picWidthInMbs; //@line 618 "../src/h264bsd_deblocking.c"
 var $92=($91<<4); //@line 618 "../src/h264bsd_deblocking.c"
 _FilterLuma($88,$89,$90,$92); //@line 618 "../src/h264bsd_deblocking.c"
 var $93=(($thresholds)|0); //@line 621 "../src/h264bsd_deblocking.c"
 var $94=$pMb; //@line 621 "../src/h264bsd_deblocking.c"
 var $95=$flags; //@line 621 "../src/h264bsd_deblocking.c"
 var $96=$pMb; //@line 621 "../src/h264bsd_deblocking.c"
 var $97=(($96+24)|0); //@line 621 "../src/h264bsd_deblocking.c"
 var $98=HEAP32[(($97)>>2)]; //@line 621 "../src/h264bsd_deblocking.c"
 _GetChromaEdgeThresholds($93,$94,$95,$98); //@line 621 "../src/h264bsd_deblocking.c"
 var $99=$1; //@line 623 "../src/h264bsd_deblocking.c"
 var $100=(($99)|0); //@line 623 "../src/h264bsd_deblocking.c"
 var $101=HEAP32[(($100)>>2)]; //@line 623 "../src/h264bsd_deblocking.c"
 var $102=$picSizeInMbs; //@line 623 "../src/h264bsd_deblocking.c"
 var $103=($102<<8); //@line 623 "../src/h264bsd_deblocking.c"
 var $104=(($101+$103)|0); //@line 623 "../src/h264bsd_deblocking.c"
 var $105=$mbRow; //@line 623 "../src/h264bsd_deblocking.c"
 var $106=$picWidthInMbs; //@line 623 "../src/h264bsd_deblocking.c"
 var $107=(Math_imul($105,$106)|0); //@line 623 "../src/h264bsd_deblocking.c"
 var $108=($107<<6); //@line 623 "../src/h264bsd_deblocking.c"
 var $109=(($104+$108)|0); //@line 623 "../src/h264bsd_deblocking.c"
 var $110=$mbCol; //@line 623 "../src/h264bsd_deblocking.c"
 var $111=($110<<3); //@line 623 "../src/h264bsd_deblocking.c"
 var $112=(($109+$111)|0); //@line 623 "../src/h264bsd_deblocking.c"
 $data=$112; //@line 623 "../src/h264bsd_deblocking.c"
 var $113=$data; //@line 626 "../src/h264bsd_deblocking.c"
 var $114=$data; //@line 626 "../src/h264bsd_deblocking.c"
 var $115=$picSizeInMbs; //@line 626 "../src/h264bsd_deblocking.c"
 var $116=($115<<6); //@line 626 "../src/h264bsd_deblocking.c"
 var $117=(($114+$116)|0); //@line 626 "../src/h264bsd_deblocking.c"
 var $118=(($bS)|0); //@line 626 "../src/h264bsd_deblocking.c"
 var $119=(($thresholds)|0); //@line 626 "../src/h264bsd_deblocking.c"
 var $120=$picWidthInMbs; //@line 626 "../src/h264bsd_deblocking.c"
 var $121=($120<<3); //@line 626 "../src/h264bsd_deblocking.c"
 _FilterChroma($113,$117,$118,$119,$121); //@line 626 "../src/h264bsd_deblocking.c"
 label=16;break; //@line 629 "../src/h264bsd_deblocking.c"
 case 16: 
 label=17;break; //@line 630 "../src/h264bsd_deblocking.c"
 case 17: 
 var $124=$mbCol; //@line 632 "../src/h264bsd_deblocking.c"
 var $125=((($124)+(1))|0); //@line 632 "../src/h264bsd_deblocking.c"
 $mbCol=$125; //@line 632 "../src/h264bsd_deblocking.c"
 var $126=$mbCol; //@line 633 "../src/h264bsd_deblocking.c"
 var $127=$picWidthInMbs; //@line 633 "../src/h264bsd_deblocking.c"
 var $128=($126|0)==($127|0); //@line 633 "../src/h264bsd_deblocking.c"
 if($128){label=18;break;}else{label=19;break;} //@line 633 "../src/h264bsd_deblocking.c"
 case 18: 
 $mbCol=0; //@line 635 "../src/h264bsd_deblocking.c"
 var $130=$mbRow; //@line 636 "../src/h264bsd_deblocking.c"
 var $131=((($130)+(1))|0); //@line 636 "../src/h264bsd_deblocking.c"
 $mbRow=$131; //@line 636 "../src/h264bsd_deblocking.c"
 label=19;break; //@line 637 "../src/h264bsd_deblocking.c"
 case 19: 
 label=20;break; //@line 638 "../src/h264bsd_deblocking.c"
 case 20: 
 var $134=$pMb; //@line 604 "../src/h264bsd_deblocking.c"
 var $135=(($134+216)|0); //@line 604 "../src/h264bsd_deblocking.c"
 $pMb=$135; //@line 604 "../src/h264bsd_deblocking.c"
 label=12;break; //@line 604 "../src/h264bsd_deblocking.c"
 case 21: 
 STACKTOP=sp;return; //@line 640 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetMbFilteringFlags($mb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $flags;
 $1=$mb;
 $flags=0; //@line 294 "../src/h264bsd_deblocking.c"
 var $2=$1; //@line 298 "../src/h264bsd_deblocking.c"
 var $3=($2|0)!=0; //@line 298 "../src/h264bsd_deblocking.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 298 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(9088,11664,298,15784); //@line 298 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 298 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 298 "../src/h264bsd_deblocking.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 298 "../src/h264bsd_deblocking.c"
 var $9=$1; //@line 301 "../src/h264bsd_deblocking.c"
 var $10=(($9+8)|0); //@line 301 "../src/h264bsd_deblocking.c"
 var $11=HEAP32[(($10)>>2)]; //@line 301 "../src/h264bsd_deblocking.c"
 var $12=($11|0)!=1; //@line 301 "../src/h264bsd_deblocking.c"
 if($12){label=4;break;}else{label=13;break;} //@line 301 "../src/h264bsd_deblocking.c"
 case 4: 
 var $14=$flags; //@line 303 "../src/h264bsd_deblocking.c"
 var $15=$14|1; //@line 303 "../src/h264bsd_deblocking.c"
 $flags=$15; //@line 303 "../src/h264bsd_deblocking.c"
 var $16=$1; //@line 306 "../src/h264bsd_deblocking.c"
 var $17=(($16+200)|0); //@line 306 "../src/h264bsd_deblocking.c"
 var $18=HEAP32[(($17)>>2)]; //@line 306 "../src/h264bsd_deblocking.c"
 var $19=($18|0)!=0; //@line 306 "../src/h264bsd_deblocking.c"
 if($19){label=5;break;}else{label=8;break;} //@line 306 "../src/h264bsd_deblocking.c"
 case 5: 
 var $21=$1; //@line 306 "../src/h264bsd_deblocking.c"
 var $22=(($21+8)|0); //@line 306 "../src/h264bsd_deblocking.c"
 var $23=HEAP32[(($22)>>2)]; //@line 306 "../src/h264bsd_deblocking.c"
 var $24=($23|0)!=2; //@line 306 "../src/h264bsd_deblocking.c"
 if($24){label=7;break;}else{label=6;break;} //@line 306 "../src/h264bsd_deblocking.c"
 case 6: 
 var $26=$1; //@line 308 "../src/h264bsd_deblocking.c"
 var $27=_IsSliceBoundaryOnLeft($26); //@line 308 "../src/h264bsd_deblocking.c"
 var $28=($27|0)!=0; //@line 308 "../src/h264bsd_deblocking.c"
 if($28){label=8;break;}else{label=7;break;} //@line 308 "../src/h264bsd_deblocking.c"
 case 7: 
 var $30=$flags; //@line 309 "../src/h264bsd_deblocking.c"
 var $31=$30|4; //@line 309 "../src/h264bsd_deblocking.c"
 $flags=$31; //@line 309 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 309 "../src/h264bsd_deblocking.c"
 case 8: 
 var $33=$1; //@line 312 "../src/h264bsd_deblocking.c"
 var $34=(($33+204)|0); //@line 312 "../src/h264bsd_deblocking.c"
 var $35=HEAP32[(($34)>>2)]; //@line 312 "../src/h264bsd_deblocking.c"
 var $36=($35|0)!=0; //@line 312 "../src/h264bsd_deblocking.c"
 if($36){label=9;break;}else{label=12;break;} //@line 312 "../src/h264bsd_deblocking.c"
 case 9: 
 var $38=$1; //@line 312 "../src/h264bsd_deblocking.c"
 var $39=(($38+8)|0); //@line 312 "../src/h264bsd_deblocking.c"
 var $40=HEAP32[(($39)>>2)]; //@line 312 "../src/h264bsd_deblocking.c"
 var $41=($40|0)!=2; //@line 312 "../src/h264bsd_deblocking.c"
 if($41){label=11;break;}else{label=10;break;} //@line 312 "../src/h264bsd_deblocking.c"
 case 10: 
 var $43=$1; //@line 314 "../src/h264bsd_deblocking.c"
 var $44=_IsSliceBoundaryOnTop($43); //@line 314 "../src/h264bsd_deblocking.c"
 var $45=($44|0)!=0; //@line 314 "../src/h264bsd_deblocking.c"
 if($45){label=12;break;}else{label=11;break;} //@line 314 "../src/h264bsd_deblocking.c"
 case 11: 
 var $47=$flags; //@line 315 "../src/h264bsd_deblocking.c"
 var $48=$47|2; //@line 315 "../src/h264bsd_deblocking.c"
 $flags=$48; //@line 315 "../src/h264bsd_deblocking.c"
 label=12;break; //@line 315 "../src/h264bsd_deblocking.c"
 case 12: 
 label=13;break; //@line 316 "../src/h264bsd_deblocking.c"
 case 13: 
 var $51=$flags; //@line 318 "../src/h264bsd_deblocking.c"
 STACKTOP=sp;return $51; //@line 318 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetBoundaryStrengths($mb,$bS,$flags){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $nonZeroBs;
 $1=$mb;
 $2=$bS;
 $3=$flags;
 $nonZeroBs=0; //@line 1194 "../src/h264bsd_deblocking.c"
 var $4=$1; //@line 1198 "../src/h264bsd_deblocking.c"
 var $5=($4|0)!=0; //@line 1198 "../src/h264bsd_deblocking.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1198 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(9088,11664,1198,15872); //@line 1198 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1198 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 1198 "../src/h264bsd_deblocking.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1198 "../src/h264bsd_deblocking.c"
 var $11=$2; //@line 1199 "../src/h264bsd_deblocking.c"
 var $12=($11|0)!=0; //@line 1199 "../src/h264bsd_deblocking.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1199 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(5016,11664,1199,15872); //@line 1199 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1199 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 1199 "../src/h264bsd_deblocking.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1199 "../src/h264bsd_deblocking.c"
 var $18=$3; //@line 1200 "../src/h264bsd_deblocking.c"
 var $19=($18|0)!=0; //@line 1200 "../src/h264bsd_deblocking.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 1200 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(10824,11664,1200,15872); //@line 1200 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1200 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 1200 "../src/h264bsd_deblocking.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 1200 "../src/h264bsd_deblocking.c"
 var $25=$3; //@line 1207 "../src/h264bsd_deblocking.c"
 var $26=$25&2; //@line 1207 "../src/h264bsd_deblocking.c"
 var $27=($26|0)!=0; //@line 1207 "../src/h264bsd_deblocking.c"
 if($27){label=8;break;}else{label=18;break;} //@line 1207 "../src/h264bsd_deblocking.c"
 case 8: 
 var $29=$1; //@line 1209 "../src/h264bsd_deblocking.c"
 var $30=(($29)|0); //@line 1209 "../src/h264bsd_deblocking.c"
 var $31=HEAP32[(($30)>>2)]; //@line 1209 "../src/h264bsd_deblocking.c"
 var $32=($31>>>0)>5; //@line 1209 "../src/h264bsd_deblocking.c"
 if($32){label=10;break;}else{label=9;break;} //@line 1209 "../src/h264bsd_deblocking.c"
 case 9: 
 var $34=$1; //@line 1209 "../src/h264bsd_deblocking.c"
 var $35=(($34+204)|0); //@line 1209 "../src/h264bsd_deblocking.c"
 var $36=HEAP32[(($35)>>2)]; //@line 1209 "../src/h264bsd_deblocking.c"
 var $37=(($36)|0); //@line 1209 "../src/h264bsd_deblocking.c"
 var $38=HEAP32[(($37)>>2)]; //@line 1209 "../src/h264bsd_deblocking.c"
 var $39=($38>>>0)>5; //@line 1209 "../src/h264bsd_deblocking.c"
 if($39){label=10;break;}else{label=11;break;} //@line 1209 "../src/h264bsd_deblocking.c"
 case 10: 
 var $41=$2; //@line 1211 "../src/h264bsd_deblocking.c"
 var $42=(($41+24)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 var $43=(($42)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 HEAP32[(($43)>>2)]=4; //@line 1211 "../src/h264bsd_deblocking.c"
 var $44=$2; //@line 1211 "../src/h264bsd_deblocking.c"
 var $45=(($44+16)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 var $46=(($45)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 HEAP32[(($46)>>2)]=4; //@line 1211 "../src/h264bsd_deblocking.c"
 var $47=$2; //@line 1211 "../src/h264bsd_deblocking.c"
 var $48=(($47+8)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 var $49=(($48)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 HEAP32[(($49)>>2)]=4; //@line 1211 "../src/h264bsd_deblocking.c"
 var $50=$2; //@line 1211 "../src/h264bsd_deblocking.c"
 var $51=(($50)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 var $52=(($51)|0); //@line 1211 "../src/h264bsd_deblocking.c"
 HEAP32[(($52)>>2)]=4; //@line 1211 "../src/h264bsd_deblocking.c"
 $nonZeroBs=1; //@line 1212 "../src/h264bsd_deblocking.c"
 label=17;break; //@line 1213 "../src/h264bsd_deblocking.c"
 case 11: 
 var $54=$1; //@line 1216 "../src/h264bsd_deblocking.c"
 var $55=$1; //@line 1216 "../src/h264bsd_deblocking.c"
 var $56=(($55+204)|0); //@line 1216 "../src/h264bsd_deblocking.c"
 var $57=HEAP32[(($56)>>2)]; //@line 1216 "../src/h264bsd_deblocking.c"
 var $58=_EdgeBoundaryStrength($54,$57,0,10); //@line 1216 "../src/h264bsd_deblocking.c"
 var $59=$2; //@line 1216 "../src/h264bsd_deblocking.c"
 var $60=(($59)|0); //@line 1216 "../src/h264bsd_deblocking.c"
 var $61=(($60)|0); //@line 1216 "../src/h264bsd_deblocking.c"
 HEAP32[(($61)>>2)]=$58; //@line 1216 "../src/h264bsd_deblocking.c"
 var $62=$1; //@line 1217 "../src/h264bsd_deblocking.c"
 var $63=$1; //@line 1217 "../src/h264bsd_deblocking.c"
 var $64=(($63+204)|0); //@line 1217 "../src/h264bsd_deblocking.c"
 var $65=HEAP32[(($64)>>2)]; //@line 1217 "../src/h264bsd_deblocking.c"
 var $66=_EdgeBoundaryStrength($62,$65,1,11); //@line 1217 "../src/h264bsd_deblocking.c"
 var $67=$2; //@line 1217 "../src/h264bsd_deblocking.c"
 var $68=(($67+8)|0); //@line 1217 "../src/h264bsd_deblocking.c"
 var $69=(($68)|0); //@line 1217 "../src/h264bsd_deblocking.c"
 HEAP32[(($69)>>2)]=$66; //@line 1217 "../src/h264bsd_deblocking.c"
 var $70=$1; //@line 1218 "../src/h264bsd_deblocking.c"
 var $71=$1; //@line 1218 "../src/h264bsd_deblocking.c"
 var $72=(($71+204)|0); //@line 1218 "../src/h264bsd_deblocking.c"
 var $73=HEAP32[(($72)>>2)]; //@line 1218 "../src/h264bsd_deblocking.c"
 var $74=_EdgeBoundaryStrength($70,$73,4,14); //@line 1218 "../src/h264bsd_deblocking.c"
 var $75=$2; //@line 1218 "../src/h264bsd_deblocking.c"
 var $76=(($75+16)|0); //@line 1218 "../src/h264bsd_deblocking.c"
 var $77=(($76)|0); //@line 1218 "../src/h264bsd_deblocking.c"
 HEAP32[(($77)>>2)]=$74; //@line 1218 "../src/h264bsd_deblocking.c"
 var $78=$1; //@line 1219 "../src/h264bsd_deblocking.c"
 var $79=$1; //@line 1219 "../src/h264bsd_deblocking.c"
 var $80=(($79+204)|0); //@line 1219 "../src/h264bsd_deblocking.c"
 var $81=HEAP32[(($80)>>2)]; //@line 1219 "../src/h264bsd_deblocking.c"
 var $82=_EdgeBoundaryStrength($78,$81,5,15); //@line 1219 "../src/h264bsd_deblocking.c"
 var $83=$2; //@line 1219 "../src/h264bsd_deblocking.c"
 var $84=(($83+24)|0); //@line 1219 "../src/h264bsd_deblocking.c"
 var $85=(($84)|0); //@line 1219 "../src/h264bsd_deblocking.c"
 HEAP32[(($85)>>2)]=$82; //@line 1219 "../src/h264bsd_deblocking.c"
 var $86=$2; //@line 1220 "../src/h264bsd_deblocking.c"
 var $87=(($86)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $88=(($87)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $89=HEAP32[(($88)>>2)]; //@line 1220 "../src/h264bsd_deblocking.c"
 var $90=($89|0)!=0; //@line 1220 "../src/h264bsd_deblocking.c"
 if($90){label=15;break;}else{label=12;break;} //@line 1220 "../src/h264bsd_deblocking.c"
 case 12: 
 var $92=$2; //@line 1220 "../src/h264bsd_deblocking.c"
 var $93=(($92+8)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $94=(($93)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $95=HEAP32[(($94)>>2)]; //@line 1220 "../src/h264bsd_deblocking.c"
 var $96=($95|0)!=0; //@line 1220 "../src/h264bsd_deblocking.c"
 if($96){label=15;break;}else{label=13;break;} //@line 1220 "../src/h264bsd_deblocking.c"
 case 13: 
 var $98=$2; //@line 1220 "../src/h264bsd_deblocking.c"
 var $99=(($98+16)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $100=(($99)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $101=HEAP32[(($100)>>2)]; //@line 1220 "../src/h264bsd_deblocking.c"
 var $102=($101|0)!=0; //@line 1220 "../src/h264bsd_deblocking.c"
 if($102){label=15;break;}else{label=14;break;} //@line 1220 "../src/h264bsd_deblocking.c"
 case 14: 
 var $104=$2; //@line 1220 "../src/h264bsd_deblocking.c"
 var $105=(($104+24)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $106=(($105)|0); //@line 1220 "../src/h264bsd_deblocking.c"
 var $107=HEAP32[(($106)>>2)]; //@line 1220 "../src/h264bsd_deblocking.c"
 var $108=($107|0)!=0; //@line 1220 "../src/h264bsd_deblocking.c"
 if($108){label=15;break;}else{label=16;break;} //@line 1220 "../src/h264bsd_deblocking.c"
 case 15: 
 $nonZeroBs=1; //@line 1221 "../src/h264bsd_deblocking.c"
 label=16;break; //@line 1221 "../src/h264bsd_deblocking.c"
 case 16: 
 label=17;break;
 case 17: 
 label=19;break; //@line 1223 "../src/h264bsd_deblocking.c"
 case 18: 
 var $113=$2; //@line 1226 "../src/h264bsd_deblocking.c"
 var $114=(($113+24)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 var $115=(($114)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 HEAP32[(($115)>>2)]=0; //@line 1226 "../src/h264bsd_deblocking.c"
 var $116=$2; //@line 1226 "../src/h264bsd_deblocking.c"
 var $117=(($116+16)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 var $118=(($117)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 HEAP32[(($118)>>2)]=0; //@line 1226 "../src/h264bsd_deblocking.c"
 var $119=$2; //@line 1226 "../src/h264bsd_deblocking.c"
 var $120=(($119+8)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 var $121=(($120)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 HEAP32[(($121)>>2)]=0; //@line 1226 "../src/h264bsd_deblocking.c"
 var $122=$2; //@line 1226 "../src/h264bsd_deblocking.c"
 var $123=(($122)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 var $124=(($123)|0); //@line 1226 "../src/h264bsd_deblocking.c"
 HEAP32[(($124)>>2)]=0; //@line 1226 "../src/h264bsd_deblocking.c"
 label=19;break;
 case 19: 
 var $126=$3; //@line 1230 "../src/h264bsd_deblocking.c"
 var $127=$126&4; //@line 1230 "../src/h264bsd_deblocking.c"
 var $128=($127|0)!=0; //@line 1230 "../src/h264bsd_deblocking.c"
 if($128){label=20;break;}else{label=31;break;} //@line 1230 "../src/h264bsd_deblocking.c"
 case 20: 
 var $130=$1; //@line 1232 "../src/h264bsd_deblocking.c"
 var $131=(($130)|0); //@line 1232 "../src/h264bsd_deblocking.c"
 var $132=HEAP32[(($131)>>2)]; //@line 1232 "../src/h264bsd_deblocking.c"
 var $133=($132>>>0)>5; //@line 1232 "../src/h264bsd_deblocking.c"
 if($133){label=22;break;}else{label=21;break;} //@line 1232 "../src/h264bsd_deblocking.c"
 case 21: 
 var $135=$1; //@line 1232 "../src/h264bsd_deblocking.c"
 var $136=(($135+200)|0); //@line 1232 "../src/h264bsd_deblocking.c"
 var $137=HEAP32[(($136)>>2)]; //@line 1232 "../src/h264bsd_deblocking.c"
 var $138=(($137)|0); //@line 1232 "../src/h264bsd_deblocking.c"
 var $139=HEAP32[(($138)>>2)]; //@line 1232 "../src/h264bsd_deblocking.c"
 var $140=($139>>>0)>5; //@line 1232 "../src/h264bsd_deblocking.c"
 if($140){label=22;break;}else{label=23;break;} //@line 1232 "../src/h264bsd_deblocking.c"
 case 22: 
 var $142=$2; //@line 1234 "../src/h264bsd_deblocking.c"
 var $143=(($142+96)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 var $144=(($143+4)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 HEAP32[(($144)>>2)]=4; //@line 1234 "../src/h264bsd_deblocking.c"
 var $145=$2; //@line 1234 "../src/h264bsd_deblocking.c"
 var $146=(($145+64)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 var $147=(($146+4)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 HEAP32[(($147)>>2)]=4; //@line 1234 "../src/h264bsd_deblocking.c"
 var $148=$2; //@line 1234 "../src/h264bsd_deblocking.c"
 var $149=(($148+32)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 var $150=(($149+4)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 HEAP32[(($150)>>2)]=4; //@line 1234 "../src/h264bsd_deblocking.c"
 var $151=$2; //@line 1234 "../src/h264bsd_deblocking.c"
 var $152=(($151)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 var $153=(($152+4)|0); //@line 1234 "../src/h264bsd_deblocking.c"
 HEAP32[(($153)>>2)]=4; //@line 1234 "../src/h264bsd_deblocking.c"
 $nonZeroBs=1; //@line 1235 "../src/h264bsd_deblocking.c"
 label=30;break; //@line 1236 "../src/h264bsd_deblocking.c"
 case 23: 
 var $155=$1; //@line 1239 "../src/h264bsd_deblocking.c"
 var $156=$1; //@line 1239 "../src/h264bsd_deblocking.c"
 var $157=(($156+200)|0); //@line 1239 "../src/h264bsd_deblocking.c"
 var $158=HEAP32[(($157)>>2)]; //@line 1239 "../src/h264bsd_deblocking.c"
 var $159=_EdgeBoundaryStrength($155,$158,0,5); //@line 1239 "../src/h264bsd_deblocking.c"
 var $160=$2; //@line 1239 "../src/h264bsd_deblocking.c"
 var $161=(($160)|0); //@line 1239 "../src/h264bsd_deblocking.c"
 var $162=(($161+4)|0); //@line 1239 "../src/h264bsd_deblocking.c"
 HEAP32[(($162)>>2)]=$159; //@line 1239 "../src/h264bsd_deblocking.c"
 var $163=$1; //@line 1240 "../src/h264bsd_deblocking.c"
 var $164=$1; //@line 1240 "../src/h264bsd_deblocking.c"
 var $165=(($164+200)|0); //@line 1240 "../src/h264bsd_deblocking.c"
 var $166=HEAP32[(($165)>>2)]; //@line 1240 "../src/h264bsd_deblocking.c"
 var $167=_EdgeBoundaryStrength($163,$166,2,7); //@line 1240 "../src/h264bsd_deblocking.c"
 var $168=$2; //@line 1240 "../src/h264bsd_deblocking.c"
 var $169=(($168+32)|0); //@line 1240 "../src/h264bsd_deblocking.c"
 var $170=(($169+4)|0); //@line 1240 "../src/h264bsd_deblocking.c"
 HEAP32[(($170)>>2)]=$167; //@line 1240 "../src/h264bsd_deblocking.c"
 var $171=$1; //@line 1241 "../src/h264bsd_deblocking.c"
 var $172=$1; //@line 1241 "../src/h264bsd_deblocking.c"
 var $173=(($172+200)|0); //@line 1241 "../src/h264bsd_deblocking.c"
 var $174=HEAP32[(($173)>>2)]; //@line 1241 "../src/h264bsd_deblocking.c"
 var $175=_EdgeBoundaryStrength($171,$174,8,13); //@line 1241 "../src/h264bsd_deblocking.c"
 var $176=$2; //@line 1241 "../src/h264bsd_deblocking.c"
 var $177=(($176+64)|0); //@line 1241 "../src/h264bsd_deblocking.c"
 var $178=(($177+4)|0); //@line 1241 "../src/h264bsd_deblocking.c"
 HEAP32[(($178)>>2)]=$175; //@line 1241 "../src/h264bsd_deblocking.c"
 var $179=$1; //@line 1242 "../src/h264bsd_deblocking.c"
 var $180=$1; //@line 1242 "../src/h264bsd_deblocking.c"
 var $181=(($180+200)|0); //@line 1242 "../src/h264bsd_deblocking.c"
 var $182=HEAP32[(($181)>>2)]; //@line 1242 "../src/h264bsd_deblocking.c"
 var $183=_EdgeBoundaryStrength($179,$182,10,15); //@line 1242 "../src/h264bsd_deblocking.c"
 var $184=$2; //@line 1242 "../src/h264bsd_deblocking.c"
 var $185=(($184+96)|0); //@line 1242 "../src/h264bsd_deblocking.c"
 var $186=(($185+4)|0); //@line 1242 "../src/h264bsd_deblocking.c"
 HEAP32[(($186)>>2)]=$183; //@line 1242 "../src/h264bsd_deblocking.c"
 var $187=$nonZeroBs; //@line 1243 "../src/h264bsd_deblocking.c"
 var $188=($187|0)!=0; //@line 1243 "../src/h264bsd_deblocking.c"
 if($188){label=29;break;}else{label=24;break;} //@line 1243 "../src/h264bsd_deblocking.c"
 case 24: 
 var $190=$2; //@line 1243 "../src/h264bsd_deblocking.c"
 var $191=(($190)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $192=(($191+4)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $193=HEAP32[(($192)>>2)]; //@line 1243 "../src/h264bsd_deblocking.c"
 var $194=($193|0)!=0; //@line 1243 "../src/h264bsd_deblocking.c"
 if($194){label=28;break;}else{label=25;break;} //@line 1243 "../src/h264bsd_deblocking.c"
 case 25: 
 var $196=$2; //@line 1243 "../src/h264bsd_deblocking.c"
 var $197=(($196+32)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $198=(($197+4)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $199=HEAP32[(($198)>>2)]; //@line 1243 "../src/h264bsd_deblocking.c"
 var $200=($199|0)!=0; //@line 1243 "../src/h264bsd_deblocking.c"
 if($200){label=28;break;}else{label=26;break;} //@line 1243 "../src/h264bsd_deblocking.c"
 case 26: 
 var $202=$2; //@line 1243 "../src/h264bsd_deblocking.c"
 var $203=(($202+64)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $204=(($203+4)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $205=HEAP32[(($204)>>2)]; //@line 1243 "../src/h264bsd_deblocking.c"
 var $206=($205|0)!=0; //@line 1243 "../src/h264bsd_deblocking.c"
 if($206){label=28;break;}else{label=27;break;} //@line 1243 "../src/h264bsd_deblocking.c"
 case 27: 
 var $208=$2; //@line 1243 "../src/h264bsd_deblocking.c"
 var $209=(($208+96)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $210=(($209+4)|0); //@line 1243 "../src/h264bsd_deblocking.c"
 var $211=HEAP32[(($210)>>2)]; //@line 1243 "../src/h264bsd_deblocking.c"
 var $212=($211|0)!=0; //@line 1243 "../src/h264bsd_deblocking.c"
 if($212){label=28;break;}else{label=29;break;} //@line 1243 "../src/h264bsd_deblocking.c"
 case 28: 
 $nonZeroBs=1; //@line 1245 "../src/h264bsd_deblocking.c"
 label=29;break; //@line 1245 "../src/h264bsd_deblocking.c"
 case 29: 
 label=30;break;
 case 30: 
 label=32;break; //@line 1247 "../src/h264bsd_deblocking.c"
 case 31: 
 var $217=$2; //@line 1250 "../src/h264bsd_deblocking.c"
 var $218=(($217+96)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 var $219=(($218+4)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 HEAP32[(($219)>>2)]=0; //@line 1250 "../src/h264bsd_deblocking.c"
 var $220=$2; //@line 1250 "../src/h264bsd_deblocking.c"
 var $221=(($220+64)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 var $222=(($221+4)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 HEAP32[(($222)>>2)]=0; //@line 1250 "../src/h264bsd_deblocking.c"
 var $223=$2; //@line 1250 "../src/h264bsd_deblocking.c"
 var $224=(($223+32)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 var $225=(($224+4)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 HEAP32[(($225)>>2)]=0; //@line 1250 "../src/h264bsd_deblocking.c"
 var $226=$2; //@line 1250 "../src/h264bsd_deblocking.c"
 var $227=(($226)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 var $228=(($227+4)|0); //@line 1250 "../src/h264bsd_deblocking.c"
 HEAP32[(($228)>>2)]=0; //@line 1250 "../src/h264bsd_deblocking.c"
 label=32;break;
 case 32: 
 var $230=$1; //@line 1254 "../src/h264bsd_deblocking.c"
 var $231=(($230)|0); //@line 1254 "../src/h264bsd_deblocking.c"
 var $232=HEAP32[(($231)>>2)]; //@line 1254 "../src/h264bsd_deblocking.c"
 var $233=($232>>>0)>5; //@line 1254 "../src/h264bsd_deblocking.c"
 if($233){label=33;break;}else{label=34;break;} //@line 1254 "../src/h264bsd_deblocking.c"
 case 33: 
 var $235=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $236=(($235+120)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $237=(($236)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($237)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $238=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $239=(($238+112)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $240=(($239)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($240)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $241=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $242=(($241+104)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $243=(($242)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($243)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $244=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $245=(($244+96)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $246=(($245)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($246)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $247=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $248=(($247+88)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $249=(($248)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($249)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $250=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $251=(($250+80)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $252=(($251)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($252)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $253=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $254=(($253+72)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $255=(($254)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($255)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $256=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $257=(($256+64)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $258=(($257)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($258)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $259=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $260=(($259+56)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $261=(($260)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($261)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $262=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $263=(($262+48)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $264=(($263)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($264)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $265=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $266=(($265+40)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $267=(($266)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($267)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $268=$2; //@line 1256 "../src/h264bsd_deblocking.c"
 var $269=(($268+32)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 var $270=(($269)|0); //@line 1256 "../src/h264bsd_deblocking.c"
 HEAP32[(($270)>>2)]=3; //@line 1256 "../src/h264bsd_deblocking.c"
 var $271=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $272=(($271+120)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $273=(($272+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($273)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $274=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $275=(($274+112)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $276=(($275+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($276)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $277=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $278=(($277+104)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $279=(($278+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($279)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $280=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $281=(($280+88)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $282=(($281+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($282)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $283=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $284=(($283+80)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $285=(($284+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($285)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $286=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $287=(($286+72)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $288=(($287+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($288)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $289=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $290=(($289+56)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $291=(($290+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($291)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $292=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $293=(($292+48)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $294=(($293+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($294)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $295=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $296=(($295+40)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $297=(($296+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($297)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $298=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $299=(($298+24)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $300=(($299+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($300)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $301=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $302=(($301+16)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $303=(($302+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($303)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 var $304=$2; //@line 1260 "../src/h264bsd_deblocking.c"
 var $305=(($304+8)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 var $306=(($305+4)|0); //@line 1260 "../src/h264bsd_deblocking.c"
 HEAP32[(($306)>>2)]=3; //@line 1260 "../src/h264bsd_deblocking.c"
 $nonZeroBs=1; //@line 1264 "../src/h264bsd_deblocking.c"
 label=150;break; //@line 1265 "../src/h264bsd_deblocking.c"
 case 34: 
 var $308=$1; //@line 1270 "../src/h264bsd_deblocking.c"
 var $309=(($308)|0); //@line 1270 "../src/h264bsd_deblocking.c"
 var $310=HEAP32[(($309)>>2)]; //@line 1270 "../src/h264bsd_deblocking.c"
 var $311=_h264bsdNumMbPart($310); //@line 1270 "../src/h264bsd_deblocking.c"
 var $312=($311|0)==1; //@line 1270 "../src/h264bsd_deblocking.c"
 if($312){label=35;break;}else{label=36;break;} //@line 1270 "../src/h264bsd_deblocking.c"
 case 35: 
 var $314=$1; //@line 1272 "../src/h264bsd_deblocking.c"
 var $315=$2; //@line 1272 "../src/h264bsd_deblocking.c"
 _GetBoundaryStrengthsA($314,$315); //@line 1272 "../src/h264bsd_deblocking.c"
 label=123;break; //@line 1273 "../src/h264bsd_deblocking.c"
 case 36: 
 var $317=$1; //@line 1278 "../src/h264bsd_deblocking.c"
 var $318=(($317)|0); //@line 1278 "../src/h264bsd_deblocking.c"
 var $319=HEAP32[(($318)>>2)]; //@line 1278 "../src/h264bsd_deblocking.c"
 var $320=($319|0)==2; //@line 1278 "../src/h264bsd_deblocking.c"
 if($320){label=37;break;}else{label=78;break;} //@line 1278 "../src/h264bsd_deblocking.c"
 case 37: 
 var $322=$1; //@line 1280 "../src/h264bsd_deblocking.c"
 var $323=(($322+28)|0); //@line 1280 "../src/h264bsd_deblocking.c"
 var $324=(($323+4)|0); //@line 1280 "../src/h264bsd_deblocking.c"
 var $325=HEAP16[(($324)>>1)]; //@line 1280 "../src/h264bsd_deblocking.c"
 var $326=(($325<<16)>>16); //@line 1280 "../src/h264bsd_deblocking.c"
 var $327=($326|0)!=0; //@line 1280 "../src/h264bsd_deblocking.c"
 if($327){var $336=1;label=39;break;}else{label=38;break;} //@line 1280 "../src/h264bsd_deblocking.c"
 case 38: 
 var $329=$1; //@line 1280 "../src/h264bsd_deblocking.c"
 var $330=(($329+28)|0); //@line 1280 "../src/h264bsd_deblocking.c"
 var $331=(($330)|0); //@line 1280 "../src/h264bsd_deblocking.c"
 var $332=HEAP16[(($331)>>1)]; //@line 1280 "../src/h264bsd_deblocking.c"
 var $333=(($332<<16)>>16); //@line 1280 "../src/h264bsd_deblocking.c"
 var $334=($333|0)!=0; //@line 1280 "../src/h264bsd_deblocking.c"
 var $336=$334;label=39;break; //@line 1280 "../src/h264bsd_deblocking.c"
 case 39: 
 var $336;
 var $337=($336?2:0); //@line 1280 "../src/h264bsd_deblocking.c"
 var $338=$2; //@line 1280 "../src/h264bsd_deblocking.c"
 var $339=(($338+32)|0); //@line 1280 "../src/h264bsd_deblocking.c"
 var $340=(($339)|0); //@line 1280 "../src/h264bsd_deblocking.c"
 HEAP32[(($340)>>2)]=$337; //@line 1280 "../src/h264bsd_deblocking.c"
 var $341=$1; //@line 1281 "../src/h264bsd_deblocking.c"
 var $342=(($341+28)|0); //@line 1281 "../src/h264bsd_deblocking.c"
 var $343=(($342+6)|0); //@line 1281 "../src/h264bsd_deblocking.c"
 var $344=HEAP16[(($343)>>1)]; //@line 1281 "../src/h264bsd_deblocking.c"
 var $345=(($344<<16)>>16); //@line 1281 "../src/h264bsd_deblocking.c"
 var $346=($345|0)!=0; //@line 1281 "../src/h264bsd_deblocking.c"
 if($346){var $355=1;label=41;break;}else{label=40;break;} //@line 1281 "../src/h264bsd_deblocking.c"
 case 40: 
 var $348=$1; //@line 1281 "../src/h264bsd_deblocking.c"
 var $349=(($348+28)|0); //@line 1281 "../src/h264bsd_deblocking.c"
 var $350=(($349+2)|0); //@line 1281 "../src/h264bsd_deblocking.c"
 var $351=HEAP16[(($350)>>1)]; //@line 1281 "../src/h264bsd_deblocking.c"
 var $352=(($351<<16)>>16); //@line 1281 "../src/h264bsd_deblocking.c"
 var $353=($352|0)!=0; //@line 1281 "../src/h264bsd_deblocking.c"
 var $355=$353;label=41;break; //@line 1281 "../src/h264bsd_deblocking.c"
 case 41: 
 var $355;
 var $356=($355?2:0); //@line 1281 "../src/h264bsd_deblocking.c"
 var $357=$2; //@line 1281 "../src/h264bsd_deblocking.c"
 var $358=(($357+40)|0); //@line 1281 "../src/h264bsd_deblocking.c"
 var $359=(($358)|0); //@line 1281 "../src/h264bsd_deblocking.c"
 HEAP32[(($359)>>2)]=$356; //@line 1281 "../src/h264bsd_deblocking.c"
 var $360=$1; //@line 1282 "../src/h264bsd_deblocking.c"
 var $361=(($360+28)|0); //@line 1282 "../src/h264bsd_deblocking.c"
 var $362=(($361+12)|0); //@line 1282 "../src/h264bsd_deblocking.c"
 var $363=HEAP16[(($362)>>1)]; //@line 1282 "../src/h264bsd_deblocking.c"
 var $364=(($363<<16)>>16); //@line 1282 "../src/h264bsd_deblocking.c"
 var $365=($364|0)!=0; //@line 1282 "../src/h264bsd_deblocking.c"
 if($365){var $374=1;label=43;break;}else{label=42;break;} //@line 1282 "../src/h264bsd_deblocking.c"
 case 42: 
 var $367=$1; //@line 1282 "../src/h264bsd_deblocking.c"
 var $368=(($367+28)|0); //@line 1282 "../src/h264bsd_deblocking.c"
 var $369=(($368+8)|0); //@line 1282 "../src/h264bsd_deblocking.c"
 var $370=HEAP16[(($369)>>1)]; //@line 1282 "../src/h264bsd_deblocking.c"
 var $371=(($370<<16)>>16); //@line 1282 "../src/h264bsd_deblocking.c"
 var $372=($371|0)!=0; //@line 1282 "../src/h264bsd_deblocking.c"
 var $374=$372;label=43;break; //@line 1282 "../src/h264bsd_deblocking.c"
 case 43: 
 var $374;
 var $375=($374?2:0); //@line 1282 "../src/h264bsd_deblocking.c"
 var $376=$2; //@line 1282 "../src/h264bsd_deblocking.c"
 var $377=(($376+48)|0); //@line 1282 "../src/h264bsd_deblocking.c"
 var $378=(($377)|0); //@line 1282 "../src/h264bsd_deblocking.c"
 HEAP32[(($378)>>2)]=$375; //@line 1282 "../src/h264bsd_deblocking.c"
 var $379=$1; //@line 1283 "../src/h264bsd_deblocking.c"
 var $380=(($379+28)|0); //@line 1283 "../src/h264bsd_deblocking.c"
 var $381=(($380+14)|0); //@line 1283 "../src/h264bsd_deblocking.c"
 var $382=HEAP16[(($381)>>1)]; //@line 1283 "../src/h264bsd_deblocking.c"
 var $383=(($382<<16)>>16); //@line 1283 "../src/h264bsd_deblocking.c"
 var $384=($383|0)!=0; //@line 1283 "../src/h264bsd_deblocking.c"
 if($384){var $393=1;label=45;break;}else{label=44;break;} //@line 1283 "../src/h264bsd_deblocking.c"
 case 44: 
 var $386=$1; //@line 1283 "../src/h264bsd_deblocking.c"
 var $387=(($386+28)|0); //@line 1283 "../src/h264bsd_deblocking.c"
 var $388=(($387+10)|0); //@line 1283 "../src/h264bsd_deblocking.c"
 var $389=HEAP16[(($388)>>1)]; //@line 1283 "../src/h264bsd_deblocking.c"
 var $390=(($389<<16)>>16); //@line 1283 "../src/h264bsd_deblocking.c"
 var $391=($390|0)!=0; //@line 1283 "../src/h264bsd_deblocking.c"
 var $393=$391;label=45;break; //@line 1283 "../src/h264bsd_deblocking.c"
 case 45: 
 var $393;
 var $394=($393?2:0); //@line 1283 "../src/h264bsd_deblocking.c"
 var $395=$2; //@line 1283 "../src/h264bsd_deblocking.c"
 var $396=(($395+56)|0); //@line 1283 "../src/h264bsd_deblocking.c"
 var $397=(($396)|0); //@line 1283 "../src/h264bsd_deblocking.c"
 HEAP32[(($397)>>2)]=$394; //@line 1283 "../src/h264bsd_deblocking.c"
 var $398=$1; //@line 1284 "../src/h264bsd_deblocking.c"
 var $399=(($398+28)|0); //@line 1284 "../src/h264bsd_deblocking.c"
 var $400=(($399+20)|0); //@line 1284 "../src/h264bsd_deblocking.c"
 var $401=HEAP16[(($400)>>1)]; //@line 1284 "../src/h264bsd_deblocking.c"
 var $402=(($401<<16)>>16); //@line 1284 "../src/h264bsd_deblocking.c"
 var $403=($402|0)!=0; //@line 1284 "../src/h264bsd_deblocking.c"
 if($403){var $412=1;label=47;break;}else{label=46;break;} //@line 1284 "../src/h264bsd_deblocking.c"
 case 46: 
 var $405=$1; //@line 1284 "../src/h264bsd_deblocking.c"
 var $406=(($405+28)|0); //@line 1284 "../src/h264bsd_deblocking.c"
 var $407=(($406+16)|0); //@line 1284 "../src/h264bsd_deblocking.c"
 var $408=HEAP16[(($407)>>1)]; //@line 1284 "../src/h264bsd_deblocking.c"
 var $409=(($408<<16)>>16); //@line 1284 "../src/h264bsd_deblocking.c"
 var $410=($409|0)!=0; //@line 1284 "../src/h264bsd_deblocking.c"
 var $412=$410;label=47;break; //@line 1284 "../src/h264bsd_deblocking.c"
 case 47: 
 var $412;
 var $413=($412?2:0); //@line 1284 "../src/h264bsd_deblocking.c"
 var $414=$2; //@line 1284 "../src/h264bsd_deblocking.c"
 var $415=(($414+96)|0); //@line 1284 "../src/h264bsd_deblocking.c"
 var $416=(($415)|0); //@line 1284 "../src/h264bsd_deblocking.c"
 HEAP32[(($416)>>2)]=$413; //@line 1284 "../src/h264bsd_deblocking.c"
 var $417=$1; //@line 1285 "../src/h264bsd_deblocking.c"
 var $418=(($417+28)|0); //@line 1285 "../src/h264bsd_deblocking.c"
 var $419=(($418+22)|0); //@line 1285 "../src/h264bsd_deblocking.c"
 var $420=HEAP16[(($419)>>1)]; //@line 1285 "../src/h264bsd_deblocking.c"
 var $421=(($420<<16)>>16); //@line 1285 "../src/h264bsd_deblocking.c"
 var $422=($421|0)!=0; //@line 1285 "../src/h264bsd_deblocking.c"
 if($422){var $431=1;label=49;break;}else{label=48;break;} //@line 1285 "../src/h264bsd_deblocking.c"
 case 48: 
 var $424=$1; //@line 1285 "../src/h264bsd_deblocking.c"
 var $425=(($424+28)|0); //@line 1285 "../src/h264bsd_deblocking.c"
 var $426=(($425+18)|0); //@line 1285 "../src/h264bsd_deblocking.c"
 var $427=HEAP16[(($426)>>1)]; //@line 1285 "../src/h264bsd_deblocking.c"
 var $428=(($427<<16)>>16); //@line 1285 "../src/h264bsd_deblocking.c"
 var $429=($428|0)!=0; //@line 1285 "../src/h264bsd_deblocking.c"
 var $431=$429;label=49;break; //@line 1285 "../src/h264bsd_deblocking.c"
 case 49: 
 var $431;
 var $432=($431?2:0); //@line 1285 "../src/h264bsd_deblocking.c"
 var $433=$2; //@line 1285 "../src/h264bsd_deblocking.c"
 var $434=(($433+104)|0); //@line 1285 "../src/h264bsd_deblocking.c"
 var $435=(($434)|0); //@line 1285 "../src/h264bsd_deblocking.c"
 HEAP32[(($435)>>2)]=$432; //@line 1285 "../src/h264bsd_deblocking.c"
 var $436=$1; //@line 1286 "../src/h264bsd_deblocking.c"
 var $437=(($436+28)|0); //@line 1286 "../src/h264bsd_deblocking.c"
 var $438=(($437+28)|0); //@line 1286 "../src/h264bsd_deblocking.c"
 var $439=HEAP16[(($438)>>1)]; //@line 1286 "../src/h264bsd_deblocking.c"
 var $440=(($439<<16)>>16); //@line 1286 "../src/h264bsd_deblocking.c"
 var $441=($440|0)!=0; //@line 1286 "../src/h264bsd_deblocking.c"
 if($441){var $450=1;label=51;break;}else{label=50;break;} //@line 1286 "../src/h264bsd_deblocking.c"
 case 50: 
 var $443=$1; //@line 1286 "../src/h264bsd_deblocking.c"
 var $444=(($443+28)|0); //@line 1286 "../src/h264bsd_deblocking.c"
 var $445=(($444+24)|0); //@line 1286 "../src/h264bsd_deblocking.c"
 var $446=HEAP16[(($445)>>1)]; //@line 1286 "../src/h264bsd_deblocking.c"
 var $447=(($446<<16)>>16); //@line 1286 "../src/h264bsd_deblocking.c"
 var $448=($447|0)!=0; //@line 1286 "../src/h264bsd_deblocking.c"
 var $450=$448;label=51;break; //@line 1286 "../src/h264bsd_deblocking.c"
 case 51: 
 var $450;
 var $451=($450?2:0); //@line 1286 "../src/h264bsd_deblocking.c"
 var $452=$2; //@line 1286 "../src/h264bsd_deblocking.c"
 var $453=(($452+112)|0); //@line 1286 "../src/h264bsd_deblocking.c"
 var $454=(($453)|0); //@line 1286 "../src/h264bsd_deblocking.c"
 HEAP32[(($454)>>2)]=$451; //@line 1286 "../src/h264bsd_deblocking.c"
 var $455=$1; //@line 1287 "../src/h264bsd_deblocking.c"
 var $456=(($455+28)|0); //@line 1287 "../src/h264bsd_deblocking.c"
 var $457=(($456+30)|0); //@line 1287 "../src/h264bsd_deblocking.c"
 var $458=HEAP16[(($457)>>1)]; //@line 1287 "../src/h264bsd_deblocking.c"
 var $459=(($458<<16)>>16); //@line 1287 "../src/h264bsd_deblocking.c"
 var $460=($459|0)!=0; //@line 1287 "../src/h264bsd_deblocking.c"
 if($460){var $469=1;label=53;break;}else{label=52;break;} //@line 1287 "../src/h264bsd_deblocking.c"
 case 52: 
 var $462=$1; //@line 1287 "../src/h264bsd_deblocking.c"
 var $463=(($462+28)|0); //@line 1287 "../src/h264bsd_deblocking.c"
 var $464=(($463+26)|0); //@line 1287 "../src/h264bsd_deblocking.c"
 var $465=HEAP16[(($464)>>1)]; //@line 1287 "../src/h264bsd_deblocking.c"
 var $466=(($465<<16)>>16); //@line 1287 "../src/h264bsd_deblocking.c"
 var $467=($466|0)!=0; //@line 1287 "../src/h264bsd_deblocking.c"
 var $469=$467;label=53;break; //@line 1287 "../src/h264bsd_deblocking.c"
 case 53: 
 var $469;
 var $470=($469?2:0); //@line 1287 "../src/h264bsd_deblocking.c"
 var $471=$2; //@line 1287 "../src/h264bsd_deblocking.c"
 var $472=(($471+120)|0); //@line 1287 "../src/h264bsd_deblocking.c"
 var $473=(($472)|0); //@line 1287 "../src/h264bsd_deblocking.c"
 HEAP32[(($473)>>2)]=$470; //@line 1287 "../src/h264bsd_deblocking.c"
 var $474=$1; //@line 1288 "../src/h264bsd_deblocking.c"
 var $475=_InnerBoundaryStrength($474,8,2); //@line 1288 "../src/h264bsd_deblocking.c"
 var $476=$2; //@line 1288 "../src/h264bsd_deblocking.c"
 var $477=(($476+64)|0); //@line 1288 "../src/h264bsd_deblocking.c"
 var $478=(($477)|0); //@line 1288 "../src/h264bsd_deblocking.c"
 HEAP32[(($478)>>2)]=$475; //@line 1288 "../src/h264bsd_deblocking.c"
 var $479=$1; //@line 1289 "../src/h264bsd_deblocking.c"
 var $480=_InnerBoundaryStrength($479,9,3); //@line 1289 "../src/h264bsd_deblocking.c"
 var $481=$2; //@line 1289 "../src/h264bsd_deblocking.c"
 var $482=(($481+72)|0); //@line 1289 "../src/h264bsd_deblocking.c"
 var $483=(($482)|0); //@line 1289 "../src/h264bsd_deblocking.c"
 HEAP32[(($483)>>2)]=$480; //@line 1289 "../src/h264bsd_deblocking.c"
 var $484=$1; //@line 1290 "../src/h264bsd_deblocking.c"
 var $485=_InnerBoundaryStrength($484,12,6); //@line 1290 "../src/h264bsd_deblocking.c"
 var $486=$2; //@line 1290 "../src/h264bsd_deblocking.c"
 var $487=(($486+80)|0); //@line 1290 "../src/h264bsd_deblocking.c"
 var $488=(($487)|0); //@line 1290 "../src/h264bsd_deblocking.c"
 HEAP32[(($488)>>2)]=$485; //@line 1290 "../src/h264bsd_deblocking.c"
 var $489=$1; //@line 1291 "../src/h264bsd_deblocking.c"
 var $490=_InnerBoundaryStrength($489,13,7); //@line 1291 "../src/h264bsd_deblocking.c"
 var $491=$2; //@line 1291 "../src/h264bsd_deblocking.c"
 var $492=(($491+88)|0); //@line 1291 "../src/h264bsd_deblocking.c"
 var $493=(($492)|0); //@line 1291 "../src/h264bsd_deblocking.c"
 HEAP32[(($493)>>2)]=$490; //@line 1291 "../src/h264bsd_deblocking.c"
 var $494=$1; //@line 1293 "../src/h264bsd_deblocking.c"
 var $495=(($494+28)|0); //@line 1293 "../src/h264bsd_deblocking.c"
 var $496=(($495+2)|0); //@line 1293 "../src/h264bsd_deblocking.c"
 var $497=HEAP16[(($496)>>1)]; //@line 1293 "../src/h264bsd_deblocking.c"
 var $498=(($497<<16)>>16); //@line 1293 "../src/h264bsd_deblocking.c"
 var $499=($498|0)!=0; //@line 1293 "../src/h264bsd_deblocking.c"
 if($499){var $508=1;label=55;break;}else{label=54;break;} //@line 1293 "../src/h264bsd_deblocking.c"
 case 54: 
 var $501=$1; //@line 1293 "../src/h264bsd_deblocking.c"
 var $502=(($501+28)|0); //@line 1293 "../src/h264bsd_deblocking.c"
 var $503=(($502)|0); //@line 1293 "../src/h264bsd_deblocking.c"
 var $504=HEAP16[(($503)>>1)]; //@line 1293 "../src/h264bsd_deblocking.c"
 var $505=(($504<<16)>>16); //@line 1293 "../src/h264bsd_deblocking.c"
 var $506=($505|0)!=0; //@line 1293 "../src/h264bsd_deblocking.c"
 var $508=$506;label=55;break; //@line 1293 "../src/h264bsd_deblocking.c"
 case 55: 
 var $508;
 var $509=($508?2:0); //@line 1293 "../src/h264bsd_deblocking.c"
 var $510=$2; //@line 1293 "../src/h264bsd_deblocking.c"
 var $511=(($510+8)|0); //@line 1293 "../src/h264bsd_deblocking.c"
 var $512=(($511+4)|0); //@line 1293 "../src/h264bsd_deblocking.c"
 HEAP32[(($512)>>2)]=$509; //@line 1293 "../src/h264bsd_deblocking.c"
 var $513=$1; //@line 1294 "../src/h264bsd_deblocking.c"
 var $514=(($513+28)|0); //@line 1294 "../src/h264bsd_deblocking.c"
 var $515=(($514+8)|0); //@line 1294 "../src/h264bsd_deblocking.c"
 var $516=HEAP16[(($515)>>1)]; //@line 1294 "../src/h264bsd_deblocking.c"
 var $517=(($516<<16)>>16); //@line 1294 "../src/h264bsd_deblocking.c"
 var $518=($517|0)!=0; //@line 1294 "../src/h264bsd_deblocking.c"
 if($518){var $527=1;label=57;break;}else{label=56;break;} //@line 1294 "../src/h264bsd_deblocking.c"
 case 56: 
 var $520=$1; //@line 1294 "../src/h264bsd_deblocking.c"
 var $521=(($520+28)|0); //@line 1294 "../src/h264bsd_deblocking.c"
 var $522=(($521+2)|0); //@line 1294 "../src/h264bsd_deblocking.c"
 var $523=HEAP16[(($522)>>1)]; //@line 1294 "../src/h264bsd_deblocking.c"
 var $524=(($523<<16)>>16); //@line 1294 "../src/h264bsd_deblocking.c"
 var $525=($524|0)!=0; //@line 1294 "../src/h264bsd_deblocking.c"
 var $527=$525;label=57;break; //@line 1294 "../src/h264bsd_deblocking.c"
 case 57: 
 var $527;
 var $528=($527?2:0); //@line 1294 "../src/h264bsd_deblocking.c"
 var $529=$2; //@line 1294 "../src/h264bsd_deblocking.c"
 var $530=(($529+16)|0); //@line 1294 "../src/h264bsd_deblocking.c"
 var $531=(($530+4)|0); //@line 1294 "../src/h264bsd_deblocking.c"
 HEAP32[(($531)>>2)]=$528; //@line 1294 "../src/h264bsd_deblocking.c"
 var $532=$1; //@line 1295 "../src/h264bsd_deblocking.c"
 var $533=(($532+28)|0); //@line 1295 "../src/h264bsd_deblocking.c"
 var $534=(($533+10)|0); //@line 1295 "../src/h264bsd_deblocking.c"
 var $535=HEAP16[(($534)>>1)]; //@line 1295 "../src/h264bsd_deblocking.c"
 var $536=(($535<<16)>>16); //@line 1295 "../src/h264bsd_deblocking.c"
 var $537=($536|0)!=0; //@line 1295 "../src/h264bsd_deblocking.c"
 if($537){var $546=1;label=59;break;}else{label=58;break;} //@line 1295 "../src/h264bsd_deblocking.c"
 case 58: 
 var $539=$1; //@line 1295 "../src/h264bsd_deblocking.c"
 var $540=(($539+28)|0); //@line 1295 "../src/h264bsd_deblocking.c"
 var $541=(($540+8)|0); //@line 1295 "../src/h264bsd_deblocking.c"
 var $542=HEAP16[(($541)>>1)]; //@line 1295 "../src/h264bsd_deblocking.c"
 var $543=(($542<<16)>>16); //@line 1295 "../src/h264bsd_deblocking.c"
 var $544=($543|0)!=0; //@line 1295 "../src/h264bsd_deblocking.c"
 var $546=$544;label=59;break; //@line 1295 "../src/h264bsd_deblocking.c"
 case 59: 
 var $546;
 var $547=($546?2:0); //@line 1295 "../src/h264bsd_deblocking.c"
 var $548=$2; //@line 1295 "../src/h264bsd_deblocking.c"
 var $549=(($548+24)|0); //@line 1295 "../src/h264bsd_deblocking.c"
 var $550=(($549+4)|0); //@line 1295 "../src/h264bsd_deblocking.c"
 HEAP32[(($550)>>2)]=$547; //@line 1295 "../src/h264bsd_deblocking.c"
 var $551=$1; //@line 1296 "../src/h264bsd_deblocking.c"
 var $552=(($551+28)|0); //@line 1296 "../src/h264bsd_deblocking.c"
 var $553=(($552+6)|0); //@line 1296 "../src/h264bsd_deblocking.c"
 var $554=HEAP16[(($553)>>1)]; //@line 1296 "../src/h264bsd_deblocking.c"
 var $555=(($554<<16)>>16); //@line 1296 "../src/h264bsd_deblocking.c"
 var $556=($555|0)!=0; //@line 1296 "../src/h264bsd_deblocking.c"
 if($556){var $565=1;label=61;break;}else{label=60;break;} //@line 1296 "../src/h264bsd_deblocking.c"
 case 60: 
 var $558=$1; //@line 1296 "../src/h264bsd_deblocking.c"
 var $559=(($558+28)|0); //@line 1296 "../src/h264bsd_deblocking.c"
 var $560=(($559+4)|0); //@line 1296 "../src/h264bsd_deblocking.c"
 var $561=HEAP16[(($560)>>1)]; //@line 1296 "../src/h264bsd_deblocking.c"
 var $562=(($561<<16)>>16); //@line 1296 "../src/h264bsd_deblocking.c"
 var $563=($562|0)!=0; //@line 1296 "../src/h264bsd_deblocking.c"
 var $565=$563;label=61;break; //@line 1296 "../src/h264bsd_deblocking.c"
 case 61: 
 var $565;
 var $566=($565?2:0); //@line 1296 "../src/h264bsd_deblocking.c"
 var $567=$2; //@line 1296 "../src/h264bsd_deblocking.c"
 var $568=(($567+40)|0); //@line 1296 "../src/h264bsd_deblocking.c"
 var $569=(($568+4)|0); //@line 1296 "../src/h264bsd_deblocking.c"
 HEAP32[(($569)>>2)]=$566; //@line 1296 "../src/h264bsd_deblocking.c"
 var $570=$1; //@line 1297 "../src/h264bsd_deblocking.c"
 var $571=(($570+28)|0); //@line 1297 "../src/h264bsd_deblocking.c"
 var $572=(($571+12)|0); //@line 1297 "../src/h264bsd_deblocking.c"
 var $573=HEAP16[(($572)>>1)]; //@line 1297 "../src/h264bsd_deblocking.c"
 var $574=(($573<<16)>>16); //@line 1297 "../src/h264bsd_deblocking.c"
 var $575=($574|0)!=0; //@line 1297 "../src/h264bsd_deblocking.c"
 if($575){var $584=1;label=63;break;}else{label=62;break;} //@line 1297 "../src/h264bsd_deblocking.c"
 case 62: 
 var $577=$1; //@line 1297 "../src/h264bsd_deblocking.c"
 var $578=(($577+28)|0); //@line 1297 "../src/h264bsd_deblocking.c"
 var $579=(($578+6)|0); //@line 1297 "../src/h264bsd_deblocking.c"
 var $580=HEAP16[(($579)>>1)]; //@line 1297 "../src/h264bsd_deblocking.c"
 var $581=(($580<<16)>>16); //@line 1297 "../src/h264bsd_deblocking.c"
 var $582=($581|0)!=0; //@line 1297 "../src/h264bsd_deblocking.c"
 var $584=$582;label=63;break; //@line 1297 "../src/h264bsd_deblocking.c"
 case 63: 
 var $584;
 var $585=($584?2:0); //@line 1297 "../src/h264bsd_deblocking.c"
 var $586=$2; //@line 1297 "../src/h264bsd_deblocking.c"
 var $587=(($586+48)|0); //@line 1297 "../src/h264bsd_deblocking.c"
 var $588=(($587+4)|0); //@line 1297 "../src/h264bsd_deblocking.c"
 HEAP32[(($588)>>2)]=$585; //@line 1297 "../src/h264bsd_deblocking.c"
 var $589=$1; //@line 1298 "../src/h264bsd_deblocking.c"
 var $590=(($589+28)|0); //@line 1298 "../src/h264bsd_deblocking.c"
 var $591=(($590+14)|0); //@line 1298 "../src/h264bsd_deblocking.c"
 var $592=HEAP16[(($591)>>1)]; //@line 1298 "../src/h264bsd_deblocking.c"
 var $593=(($592<<16)>>16); //@line 1298 "../src/h264bsd_deblocking.c"
 var $594=($593|0)!=0; //@line 1298 "../src/h264bsd_deblocking.c"
 if($594){var $603=1;label=65;break;}else{label=64;break;} //@line 1298 "../src/h264bsd_deblocking.c"
 case 64: 
 var $596=$1; //@line 1298 "../src/h264bsd_deblocking.c"
 var $597=(($596+28)|0); //@line 1298 "../src/h264bsd_deblocking.c"
 var $598=(($597+12)|0); //@line 1298 "../src/h264bsd_deblocking.c"
 var $599=HEAP16[(($598)>>1)]; //@line 1298 "../src/h264bsd_deblocking.c"
 var $600=(($599<<16)>>16); //@line 1298 "../src/h264bsd_deblocking.c"
 var $601=($600|0)!=0; //@line 1298 "../src/h264bsd_deblocking.c"
 var $603=$601;label=65;break; //@line 1298 "../src/h264bsd_deblocking.c"
 case 65: 
 var $603;
 var $604=($603?2:0); //@line 1298 "../src/h264bsd_deblocking.c"
 var $605=$2; //@line 1298 "../src/h264bsd_deblocking.c"
 var $606=(($605+56)|0); //@line 1298 "../src/h264bsd_deblocking.c"
 var $607=(($606+4)|0); //@line 1298 "../src/h264bsd_deblocking.c"
 HEAP32[(($607)>>2)]=$604; //@line 1298 "../src/h264bsd_deblocking.c"
 var $608=$1; //@line 1299 "../src/h264bsd_deblocking.c"
 var $609=(($608+28)|0); //@line 1299 "../src/h264bsd_deblocking.c"
 var $610=(($609+18)|0); //@line 1299 "../src/h264bsd_deblocking.c"
 var $611=HEAP16[(($610)>>1)]; //@line 1299 "../src/h264bsd_deblocking.c"
 var $612=(($611<<16)>>16); //@line 1299 "../src/h264bsd_deblocking.c"
 var $613=($612|0)!=0; //@line 1299 "../src/h264bsd_deblocking.c"
 if($613){var $622=1;label=67;break;}else{label=66;break;} //@line 1299 "../src/h264bsd_deblocking.c"
 case 66: 
 var $615=$1; //@line 1299 "../src/h264bsd_deblocking.c"
 var $616=(($615+28)|0); //@line 1299 "../src/h264bsd_deblocking.c"
 var $617=(($616+16)|0); //@line 1299 "../src/h264bsd_deblocking.c"
 var $618=HEAP16[(($617)>>1)]; //@line 1299 "../src/h264bsd_deblocking.c"
 var $619=(($618<<16)>>16); //@line 1299 "../src/h264bsd_deblocking.c"
 var $620=($619|0)!=0; //@line 1299 "../src/h264bsd_deblocking.c"
 var $622=$620;label=67;break; //@line 1299 "../src/h264bsd_deblocking.c"
 case 67: 
 var $622;
 var $623=($622?2:0); //@line 1299 "../src/h264bsd_deblocking.c"
 var $624=$2; //@line 1299 "../src/h264bsd_deblocking.c"
 var $625=(($624+72)|0); //@line 1299 "../src/h264bsd_deblocking.c"
 var $626=(($625+4)|0); //@line 1299 "../src/h264bsd_deblocking.c"
 HEAP32[(($626)>>2)]=$623; //@line 1299 "../src/h264bsd_deblocking.c"
 var $627=$1; //@line 1300 "../src/h264bsd_deblocking.c"
 var $628=(($627+28)|0); //@line 1300 "../src/h264bsd_deblocking.c"
 var $629=(($628+24)|0); //@line 1300 "../src/h264bsd_deblocking.c"
 var $630=HEAP16[(($629)>>1)]; //@line 1300 "../src/h264bsd_deblocking.c"
 var $631=(($630<<16)>>16); //@line 1300 "../src/h264bsd_deblocking.c"
 var $632=($631|0)!=0; //@line 1300 "../src/h264bsd_deblocking.c"
 if($632){var $641=1;label=69;break;}else{label=68;break;} //@line 1300 "../src/h264bsd_deblocking.c"
 case 68: 
 var $634=$1; //@line 1300 "../src/h264bsd_deblocking.c"
 var $635=(($634+28)|0); //@line 1300 "../src/h264bsd_deblocking.c"
 var $636=(($635+18)|0); //@line 1300 "../src/h264bsd_deblocking.c"
 var $637=HEAP16[(($636)>>1)]; //@line 1300 "../src/h264bsd_deblocking.c"
 var $638=(($637<<16)>>16); //@line 1300 "../src/h264bsd_deblocking.c"
 var $639=($638|0)!=0; //@line 1300 "../src/h264bsd_deblocking.c"
 var $641=$639;label=69;break; //@line 1300 "../src/h264bsd_deblocking.c"
 case 69: 
 var $641;
 var $642=($641?2:0); //@line 1300 "../src/h264bsd_deblocking.c"
 var $643=$2; //@line 1300 "../src/h264bsd_deblocking.c"
 var $644=(($643+80)|0); //@line 1300 "../src/h264bsd_deblocking.c"
 var $645=(($644+4)|0); //@line 1300 "../src/h264bsd_deblocking.c"
 HEAP32[(($645)>>2)]=$642; //@line 1300 "../src/h264bsd_deblocking.c"
 var $646=$1; //@line 1301 "../src/h264bsd_deblocking.c"
 var $647=(($646+28)|0); //@line 1301 "../src/h264bsd_deblocking.c"
 var $648=(($647+26)|0); //@line 1301 "../src/h264bsd_deblocking.c"
 var $649=HEAP16[(($648)>>1)]; //@line 1301 "../src/h264bsd_deblocking.c"
 var $650=(($649<<16)>>16); //@line 1301 "../src/h264bsd_deblocking.c"
 var $651=($650|0)!=0; //@line 1301 "../src/h264bsd_deblocking.c"
 if($651){var $660=1;label=71;break;}else{label=70;break;} //@line 1301 "../src/h264bsd_deblocking.c"
 case 70: 
 var $653=$1; //@line 1301 "../src/h264bsd_deblocking.c"
 var $654=(($653+28)|0); //@line 1301 "../src/h264bsd_deblocking.c"
 var $655=(($654+24)|0); //@line 1301 "../src/h264bsd_deblocking.c"
 var $656=HEAP16[(($655)>>1)]; //@line 1301 "../src/h264bsd_deblocking.c"
 var $657=(($656<<16)>>16); //@line 1301 "../src/h264bsd_deblocking.c"
 var $658=($657|0)!=0; //@line 1301 "../src/h264bsd_deblocking.c"
 var $660=$658;label=71;break; //@line 1301 "../src/h264bsd_deblocking.c"
 case 71: 
 var $660;
 var $661=($660?2:0); //@line 1301 "../src/h264bsd_deblocking.c"
 var $662=$2; //@line 1301 "../src/h264bsd_deblocking.c"
 var $663=(($662+88)|0); //@line 1301 "../src/h264bsd_deblocking.c"
 var $664=(($663+4)|0); //@line 1301 "../src/h264bsd_deblocking.c"
 HEAP32[(($664)>>2)]=$661; //@line 1301 "../src/h264bsd_deblocking.c"
 var $665=$1; //@line 1302 "../src/h264bsd_deblocking.c"
 var $666=(($665+28)|0); //@line 1302 "../src/h264bsd_deblocking.c"
 var $667=(($666+22)|0); //@line 1302 "../src/h264bsd_deblocking.c"
 var $668=HEAP16[(($667)>>1)]; //@line 1302 "../src/h264bsd_deblocking.c"
 var $669=(($668<<16)>>16); //@line 1302 "../src/h264bsd_deblocking.c"
 var $670=($669|0)!=0; //@line 1302 "../src/h264bsd_deblocking.c"
 if($670){var $679=1;label=73;break;}else{label=72;break;} //@line 1302 "../src/h264bsd_deblocking.c"
 case 72: 
 var $672=$1; //@line 1302 "../src/h264bsd_deblocking.c"
 var $673=(($672+28)|0); //@line 1302 "../src/h264bsd_deblocking.c"
 var $674=(($673+20)|0); //@line 1302 "../src/h264bsd_deblocking.c"
 var $675=HEAP16[(($674)>>1)]; //@line 1302 "../src/h264bsd_deblocking.c"
 var $676=(($675<<16)>>16); //@line 1302 "../src/h264bsd_deblocking.c"
 var $677=($676|0)!=0; //@line 1302 "../src/h264bsd_deblocking.c"
 var $679=$677;label=73;break; //@line 1302 "../src/h264bsd_deblocking.c"
 case 73: 
 var $679;
 var $680=($679?2:0); //@line 1302 "../src/h264bsd_deblocking.c"
 var $681=$2; //@line 1302 "../src/h264bsd_deblocking.c"
 var $682=(($681+104)|0); //@line 1302 "../src/h264bsd_deblocking.c"
 var $683=(($682+4)|0); //@line 1302 "../src/h264bsd_deblocking.c"
 HEAP32[(($683)>>2)]=$680; //@line 1302 "../src/h264bsd_deblocking.c"
 var $684=$1; //@line 1303 "../src/h264bsd_deblocking.c"
 var $685=(($684+28)|0); //@line 1303 "../src/h264bsd_deblocking.c"
 var $686=(($685+28)|0); //@line 1303 "../src/h264bsd_deblocking.c"
 var $687=HEAP16[(($686)>>1)]; //@line 1303 "../src/h264bsd_deblocking.c"
 var $688=(($687<<16)>>16); //@line 1303 "../src/h264bsd_deblocking.c"
 var $689=($688|0)!=0; //@line 1303 "../src/h264bsd_deblocking.c"
 if($689){var $698=1;label=75;break;}else{label=74;break;} //@line 1303 "../src/h264bsd_deblocking.c"
 case 74: 
 var $691=$1; //@line 1303 "../src/h264bsd_deblocking.c"
 var $692=(($691+28)|0); //@line 1303 "../src/h264bsd_deblocking.c"
 var $693=(($692+22)|0); //@line 1303 "../src/h264bsd_deblocking.c"
 var $694=HEAP16[(($693)>>1)]; //@line 1303 "../src/h264bsd_deblocking.c"
 var $695=(($694<<16)>>16); //@line 1303 "../src/h264bsd_deblocking.c"
 var $696=($695|0)!=0; //@line 1303 "../src/h264bsd_deblocking.c"
 var $698=$696;label=75;break; //@line 1303 "../src/h264bsd_deblocking.c"
 case 75: 
 var $698;
 var $699=($698?2:0); //@line 1303 "../src/h264bsd_deblocking.c"
 var $700=$2; //@line 1303 "../src/h264bsd_deblocking.c"
 var $701=(($700+112)|0); //@line 1303 "../src/h264bsd_deblocking.c"
 var $702=(($701+4)|0); //@line 1303 "../src/h264bsd_deblocking.c"
 HEAP32[(($702)>>2)]=$699; //@line 1303 "../src/h264bsd_deblocking.c"
 var $703=$1; //@line 1304 "../src/h264bsd_deblocking.c"
 var $704=(($703+28)|0); //@line 1304 "../src/h264bsd_deblocking.c"
 var $705=(($704+30)|0); //@line 1304 "../src/h264bsd_deblocking.c"
 var $706=HEAP16[(($705)>>1)]; //@line 1304 "../src/h264bsd_deblocking.c"
 var $707=(($706<<16)>>16); //@line 1304 "../src/h264bsd_deblocking.c"
 var $708=($707|0)!=0; //@line 1304 "../src/h264bsd_deblocking.c"
 if($708){var $717=1;label=77;break;}else{label=76;break;} //@line 1304 "../src/h264bsd_deblocking.c"
 case 76: 
 var $710=$1; //@line 1304 "../src/h264bsd_deblocking.c"
 var $711=(($710+28)|0); //@line 1304 "../src/h264bsd_deblocking.c"
 var $712=(($711+28)|0); //@line 1304 "../src/h264bsd_deblocking.c"
 var $713=HEAP16[(($712)>>1)]; //@line 1304 "../src/h264bsd_deblocking.c"
 var $714=(($713<<16)>>16); //@line 1304 "../src/h264bsd_deblocking.c"
 var $715=($714|0)!=0; //@line 1304 "../src/h264bsd_deblocking.c"
 var $717=$715;label=77;break; //@line 1304 "../src/h264bsd_deblocking.c"
 case 77: 
 var $717;
 var $718=($717?2:0); //@line 1304 "../src/h264bsd_deblocking.c"
 var $719=$2; //@line 1304 "../src/h264bsd_deblocking.c"
 var $720=(($719+120)|0); //@line 1304 "../src/h264bsd_deblocking.c"
 var $721=(($720+4)|0); //@line 1304 "../src/h264bsd_deblocking.c"
 HEAP32[(($721)>>2)]=$718; //@line 1304 "../src/h264bsd_deblocking.c"
 label=122;break; //@line 1305 "../src/h264bsd_deblocking.c"
 case 78: 
 var $723=$1; //@line 1310 "../src/h264bsd_deblocking.c"
 var $724=(($723)|0); //@line 1310 "../src/h264bsd_deblocking.c"
 var $725=HEAP32[(($724)>>2)]; //@line 1310 "../src/h264bsd_deblocking.c"
 var $726=($725|0)==3; //@line 1310 "../src/h264bsd_deblocking.c"
 if($726){label=79;break;}else{label=120;break;} //@line 1310 "../src/h264bsd_deblocking.c"
 case 79: 
 var $728=$1; //@line 1312 "../src/h264bsd_deblocking.c"
 var $729=(($728+28)|0); //@line 1312 "../src/h264bsd_deblocking.c"
 var $730=(($729+4)|0); //@line 1312 "../src/h264bsd_deblocking.c"
 var $731=HEAP16[(($730)>>1)]; //@line 1312 "../src/h264bsd_deblocking.c"
 var $732=(($731<<16)>>16); //@line 1312 "../src/h264bsd_deblocking.c"
 var $733=($732|0)!=0; //@line 1312 "../src/h264bsd_deblocking.c"
 if($733){var $742=1;label=81;break;}else{label=80;break;} //@line 1312 "../src/h264bsd_deblocking.c"
 case 80: 
 var $735=$1; //@line 1312 "../src/h264bsd_deblocking.c"
 var $736=(($735+28)|0); //@line 1312 "../src/h264bsd_deblocking.c"
 var $737=(($736)|0); //@line 1312 "../src/h264bsd_deblocking.c"
 var $738=HEAP16[(($737)>>1)]; //@line 1312 "../src/h264bsd_deblocking.c"
 var $739=(($738<<16)>>16); //@line 1312 "../src/h264bsd_deblocking.c"
 var $740=($739|0)!=0; //@line 1312 "../src/h264bsd_deblocking.c"
 var $742=$740;label=81;break; //@line 1312 "../src/h264bsd_deblocking.c"
 case 81: 
 var $742;
 var $743=($742?2:0); //@line 1312 "../src/h264bsd_deblocking.c"
 var $744=$2; //@line 1312 "../src/h264bsd_deblocking.c"
 var $745=(($744+32)|0); //@line 1312 "../src/h264bsd_deblocking.c"
 var $746=(($745)|0); //@line 1312 "../src/h264bsd_deblocking.c"
 HEAP32[(($746)>>2)]=$743; //@line 1312 "../src/h264bsd_deblocking.c"
 var $747=$1; //@line 1313 "../src/h264bsd_deblocking.c"
 var $748=(($747+28)|0); //@line 1313 "../src/h264bsd_deblocking.c"
 var $749=(($748+6)|0); //@line 1313 "../src/h264bsd_deblocking.c"
 var $750=HEAP16[(($749)>>1)]; //@line 1313 "../src/h264bsd_deblocking.c"
 var $751=(($750<<16)>>16); //@line 1313 "../src/h264bsd_deblocking.c"
 var $752=($751|0)!=0; //@line 1313 "../src/h264bsd_deblocking.c"
 if($752){var $761=1;label=83;break;}else{label=82;break;} //@line 1313 "../src/h264bsd_deblocking.c"
 case 82: 
 var $754=$1; //@line 1313 "../src/h264bsd_deblocking.c"
 var $755=(($754+28)|0); //@line 1313 "../src/h264bsd_deblocking.c"
 var $756=(($755+2)|0); //@line 1313 "../src/h264bsd_deblocking.c"
 var $757=HEAP16[(($756)>>1)]; //@line 1313 "../src/h264bsd_deblocking.c"
 var $758=(($757<<16)>>16); //@line 1313 "../src/h264bsd_deblocking.c"
 var $759=($758|0)!=0; //@line 1313 "../src/h264bsd_deblocking.c"
 var $761=$759;label=83;break; //@line 1313 "../src/h264bsd_deblocking.c"
 case 83: 
 var $761;
 var $762=($761?2:0); //@line 1313 "../src/h264bsd_deblocking.c"
 var $763=$2; //@line 1313 "../src/h264bsd_deblocking.c"
 var $764=(($763+40)|0); //@line 1313 "../src/h264bsd_deblocking.c"
 var $765=(($764)|0); //@line 1313 "../src/h264bsd_deblocking.c"
 HEAP32[(($765)>>2)]=$762; //@line 1313 "../src/h264bsd_deblocking.c"
 var $766=$1; //@line 1314 "../src/h264bsd_deblocking.c"
 var $767=(($766+28)|0); //@line 1314 "../src/h264bsd_deblocking.c"
 var $768=(($767+12)|0); //@line 1314 "../src/h264bsd_deblocking.c"
 var $769=HEAP16[(($768)>>1)]; //@line 1314 "../src/h264bsd_deblocking.c"
 var $770=(($769<<16)>>16); //@line 1314 "../src/h264bsd_deblocking.c"
 var $771=($770|0)!=0; //@line 1314 "../src/h264bsd_deblocking.c"
 if($771){var $780=1;label=85;break;}else{label=84;break;} //@line 1314 "../src/h264bsd_deblocking.c"
 case 84: 
 var $773=$1; //@line 1314 "../src/h264bsd_deblocking.c"
 var $774=(($773+28)|0); //@line 1314 "../src/h264bsd_deblocking.c"
 var $775=(($774+8)|0); //@line 1314 "../src/h264bsd_deblocking.c"
 var $776=HEAP16[(($775)>>1)]; //@line 1314 "../src/h264bsd_deblocking.c"
 var $777=(($776<<16)>>16); //@line 1314 "../src/h264bsd_deblocking.c"
 var $778=($777|0)!=0; //@line 1314 "../src/h264bsd_deblocking.c"
 var $780=$778;label=85;break; //@line 1314 "../src/h264bsd_deblocking.c"
 case 85: 
 var $780;
 var $781=($780?2:0); //@line 1314 "../src/h264bsd_deblocking.c"
 var $782=$2; //@line 1314 "../src/h264bsd_deblocking.c"
 var $783=(($782+48)|0); //@line 1314 "../src/h264bsd_deblocking.c"
 var $784=(($783)|0); //@line 1314 "../src/h264bsd_deblocking.c"
 HEAP32[(($784)>>2)]=$781; //@line 1314 "../src/h264bsd_deblocking.c"
 var $785=$1; //@line 1315 "../src/h264bsd_deblocking.c"
 var $786=(($785+28)|0); //@line 1315 "../src/h264bsd_deblocking.c"
 var $787=(($786+14)|0); //@line 1315 "../src/h264bsd_deblocking.c"
 var $788=HEAP16[(($787)>>1)]; //@line 1315 "../src/h264bsd_deblocking.c"
 var $789=(($788<<16)>>16); //@line 1315 "../src/h264bsd_deblocking.c"
 var $790=($789|0)!=0; //@line 1315 "../src/h264bsd_deblocking.c"
 if($790){var $799=1;label=87;break;}else{label=86;break;} //@line 1315 "../src/h264bsd_deblocking.c"
 case 86: 
 var $792=$1; //@line 1315 "../src/h264bsd_deblocking.c"
 var $793=(($792+28)|0); //@line 1315 "../src/h264bsd_deblocking.c"
 var $794=(($793+10)|0); //@line 1315 "../src/h264bsd_deblocking.c"
 var $795=HEAP16[(($794)>>1)]; //@line 1315 "../src/h264bsd_deblocking.c"
 var $796=(($795<<16)>>16); //@line 1315 "../src/h264bsd_deblocking.c"
 var $797=($796|0)!=0; //@line 1315 "../src/h264bsd_deblocking.c"
 var $799=$797;label=87;break; //@line 1315 "../src/h264bsd_deblocking.c"
 case 87: 
 var $799;
 var $800=($799?2:0); //@line 1315 "../src/h264bsd_deblocking.c"
 var $801=$2; //@line 1315 "../src/h264bsd_deblocking.c"
 var $802=(($801+56)|0); //@line 1315 "../src/h264bsd_deblocking.c"
 var $803=(($802)|0); //@line 1315 "../src/h264bsd_deblocking.c"
 HEAP32[(($803)>>2)]=$800; //@line 1315 "../src/h264bsd_deblocking.c"
 var $804=$1; //@line 1316 "../src/h264bsd_deblocking.c"
 var $805=(($804+28)|0); //@line 1316 "../src/h264bsd_deblocking.c"
 var $806=(($805+16)|0); //@line 1316 "../src/h264bsd_deblocking.c"
 var $807=HEAP16[(($806)>>1)]; //@line 1316 "../src/h264bsd_deblocking.c"
 var $808=(($807<<16)>>16); //@line 1316 "../src/h264bsd_deblocking.c"
 var $809=($808|0)!=0; //@line 1316 "../src/h264bsd_deblocking.c"
 if($809){var $818=1;label=89;break;}else{label=88;break;} //@line 1316 "../src/h264bsd_deblocking.c"
 case 88: 
 var $811=$1; //@line 1316 "../src/h264bsd_deblocking.c"
 var $812=(($811+28)|0); //@line 1316 "../src/h264bsd_deblocking.c"
 var $813=(($812+4)|0); //@line 1316 "../src/h264bsd_deblocking.c"
 var $814=HEAP16[(($813)>>1)]; //@line 1316 "../src/h264bsd_deblocking.c"
 var $815=(($814<<16)>>16); //@line 1316 "../src/h264bsd_deblocking.c"
 var $816=($815|0)!=0; //@line 1316 "../src/h264bsd_deblocking.c"
 var $818=$816;label=89;break; //@line 1316 "../src/h264bsd_deblocking.c"
 case 89: 
 var $818;
 var $819=($818?2:0); //@line 1316 "../src/h264bsd_deblocking.c"
 var $820=$2; //@line 1316 "../src/h264bsd_deblocking.c"
 var $821=(($820+64)|0); //@line 1316 "../src/h264bsd_deblocking.c"
 var $822=(($821)|0); //@line 1316 "../src/h264bsd_deblocking.c"
 HEAP32[(($822)>>2)]=$819; //@line 1316 "../src/h264bsd_deblocking.c"
 var $823=$1; //@line 1317 "../src/h264bsd_deblocking.c"
 var $824=(($823+28)|0); //@line 1317 "../src/h264bsd_deblocking.c"
 var $825=(($824+18)|0); //@line 1317 "../src/h264bsd_deblocking.c"
 var $826=HEAP16[(($825)>>1)]; //@line 1317 "../src/h264bsd_deblocking.c"
 var $827=(($826<<16)>>16); //@line 1317 "../src/h264bsd_deblocking.c"
 var $828=($827|0)!=0; //@line 1317 "../src/h264bsd_deblocking.c"
 if($828){var $837=1;label=91;break;}else{label=90;break;} //@line 1317 "../src/h264bsd_deblocking.c"
 case 90: 
 var $830=$1; //@line 1317 "../src/h264bsd_deblocking.c"
 var $831=(($830+28)|0); //@line 1317 "../src/h264bsd_deblocking.c"
 var $832=(($831+6)|0); //@line 1317 "../src/h264bsd_deblocking.c"
 var $833=HEAP16[(($832)>>1)]; //@line 1317 "../src/h264bsd_deblocking.c"
 var $834=(($833<<16)>>16); //@line 1317 "../src/h264bsd_deblocking.c"
 var $835=($834|0)!=0; //@line 1317 "../src/h264bsd_deblocking.c"
 var $837=$835;label=91;break; //@line 1317 "../src/h264bsd_deblocking.c"
 case 91: 
 var $837;
 var $838=($837?2:0); //@line 1317 "../src/h264bsd_deblocking.c"
 var $839=$2; //@line 1317 "../src/h264bsd_deblocking.c"
 var $840=(($839+72)|0); //@line 1317 "../src/h264bsd_deblocking.c"
 var $841=(($840)|0); //@line 1317 "../src/h264bsd_deblocking.c"
 HEAP32[(($841)>>2)]=$838; //@line 1317 "../src/h264bsd_deblocking.c"
 var $842=$1; //@line 1318 "../src/h264bsd_deblocking.c"
 var $843=(($842+28)|0); //@line 1318 "../src/h264bsd_deblocking.c"
 var $844=(($843+24)|0); //@line 1318 "../src/h264bsd_deblocking.c"
 var $845=HEAP16[(($844)>>1)]; //@line 1318 "../src/h264bsd_deblocking.c"
 var $846=(($845<<16)>>16); //@line 1318 "../src/h264bsd_deblocking.c"
 var $847=($846|0)!=0; //@line 1318 "../src/h264bsd_deblocking.c"
 if($847){var $856=1;label=93;break;}else{label=92;break;} //@line 1318 "../src/h264bsd_deblocking.c"
 case 92: 
 var $849=$1; //@line 1318 "../src/h264bsd_deblocking.c"
 var $850=(($849+28)|0); //@line 1318 "../src/h264bsd_deblocking.c"
 var $851=(($850+12)|0); //@line 1318 "../src/h264bsd_deblocking.c"
 var $852=HEAP16[(($851)>>1)]; //@line 1318 "../src/h264bsd_deblocking.c"
 var $853=(($852<<16)>>16); //@line 1318 "../src/h264bsd_deblocking.c"
 var $854=($853|0)!=0; //@line 1318 "../src/h264bsd_deblocking.c"
 var $856=$854;label=93;break; //@line 1318 "../src/h264bsd_deblocking.c"
 case 93: 
 var $856;
 var $857=($856?2:0); //@line 1318 "../src/h264bsd_deblocking.c"
 var $858=$2; //@line 1318 "../src/h264bsd_deblocking.c"
 var $859=(($858+80)|0); //@line 1318 "../src/h264bsd_deblocking.c"
 var $860=(($859)|0); //@line 1318 "../src/h264bsd_deblocking.c"
 HEAP32[(($860)>>2)]=$857; //@line 1318 "../src/h264bsd_deblocking.c"
 var $861=$1; //@line 1319 "../src/h264bsd_deblocking.c"
 var $862=(($861+28)|0); //@line 1319 "../src/h264bsd_deblocking.c"
 var $863=(($862+26)|0); //@line 1319 "../src/h264bsd_deblocking.c"
 var $864=HEAP16[(($863)>>1)]; //@line 1319 "../src/h264bsd_deblocking.c"
 var $865=(($864<<16)>>16); //@line 1319 "../src/h264bsd_deblocking.c"
 var $866=($865|0)!=0; //@line 1319 "../src/h264bsd_deblocking.c"
 if($866){var $875=1;label=95;break;}else{label=94;break;} //@line 1319 "../src/h264bsd_deblocking.c"
 case 94: 
 var $868=$1; //@line 1319 "../src/h264bsd_deblocking.c"
 var $869=(($868+28)|0); //@line 1319 "../src/h264bsd_deblocking.c"
 var $870=(($869+14)|0); //@line 1319 "../src/h264bsd_deblocking.c"
 var $871=HEAP16[(($870)>>1)]; //@line 1319 "../src/h264bsd_deblocking.c"
 var $872=(($871<<16)>>16); //@line 1319 "../src/h264bsd_deblocking.c"
 var $873=($872|0)!=0; //@line 1319 "../src/h264bsd_deblocking.c"
 var $875=$873;label=95;break; //@line 1319 "../src/h264bsd_deblocking.c"
 case 95: 
 var $875;
 var $876=($875?2:0); //@line 1319 "../src/h264bsd_deblocking.c"
 var $877=$2; //@line 1319 "../src/h264bsd_deblocking.c"
 var $878=(($877+88)|0); //@line 1319 "../src/h264bsd_deblocking.c"
 var $879=(($878)|0); //@line 1319 "../src/h264bsd_deblocking.c"
 HEAP32[(($879)>>2)]=$876; //@line 1319 "../src/h264bsd_deblocking.c"
 var $880=$1; //@line 1320 "../src/h264bsd_deblocking.c"
 var $881=(($880+28)|0); //@line 1320 "../src/h264bsd_deblocking.c"
 var $882=(($881+20)|0); //@line 1320 "../src/h264bsd_deblocking.c"
 var $883=HEAP16[(($882)>>1)]; //@line 1320 "../src/h264bsd_deblocking.c"
 var $884=(($883<<16)>>16); //@line 1320 "../src/h264bsd_deblocking.c"
 var $885=($884|0)!=0; //@line 1320 "../src/h264bsd_deblocking.c"
 if($885){var $894=1;label=97;break;}else{label=96;break;} //@line 1320 "../src/h264bsd_deblocking.c"
 case 96: 
 var $887=$1; //@line 1320 "../src/h264bsd_deblocking.c"
 var $888=(($887+28)|0); //@line 1320 "../src/h264bsd_deblocking.c"
 var $889=(($888+16)|0); //@line 1320 "../src/h264bsd_deblocking.c"
 var $890=HEAP16[(($889)>>1)]; //@line 1320 "../src/h264bsd_deblocking.c"
 var $891=(($890<<16)>>16); //@line 1320 "../src/h264bsd_deblocking.c"
 var $892=($891|0)!=0; //@line 1320 "../src/h264bsd_deblocking.c"
 var $894=$892;label=97;break; //@line 1320 "../src/h264bsd_deblocking.c"
 case 97: 
 var $894;
 var $895=($894?2:0); //@line 1320 "../src/h264bsd_deblocking.c"
 var $896=$2; //@line 1320 "../src/h264bsd_deblocking.c"
 var $897=(($896+96)|0); //@line 1320 "../src/h264bsd_deblocking.c"
 var $898=(($897)|0); //@line 1320 "../src/h264bsd_deblocking.c"
 HEAP32[(($898)>>2)]=$895; //@line 1320 "../src/h264bsd_deblocking.c"
 var $899=$1; //@line 1321 "../src/h264bsd_deblocking.c"
 var $900=(($899+28)|0); //@line 1321 "../src/h264bsd_deblocking.c"
 var $901=(($900+22)|0); //@line 1321 "../src/h264bsd_deblocking.c"
 var $902=HEAP16[(($901)>>1)]; //@line 1321 "../src/h264bsd_deblocking.c"
 var $903=(($902<<16)>>16); //@line 1321 "../src/h264bsd_deblocking.c"
 var $904=($903|0)!=0; //@line 1321 "../src/h264bsd_deblocking.c"
 if($904){var $913=1;label=99;break;}else{label=98;break;} //@line 1321 "../src/h264bsd_deblocking.c"
 case 98: 
 var $906=$1; //@line 1321 "../src/h264bsd_deblocking.c"
 var $907=(($906+28)|0); //@line 1321 "../src/h264bsd_deblocking.c"
 var $908=(($907+18)|0); //@line 1321 "../src/h264bsd_deblocking.c"
 var $909=HEAP16[(($908)>>1)]; //@line 1321 "../src/h264bsd_deblocking.c"
 var $910=(($909<<16)>>16); //@line 1321 "../src/h264bsd_deblocking.c"
 var $911=($910|0)!=0; //@line 1321 "../src/h264bsd_deblocking.c"
 var $913=$911;label=99;break; //@line 1321 "../src/h264bsd_deblocking.c"
 case 99: 
 var $913;
 var $914=($913?2:0); //@line 1321 "../src/h264bsd_deblocking.c"
 var $915=$2; //@line 1321 "../src/h264bsd_deblocking.c"
 var $916=(($915+104)|0); //@line 1321 "../src/h264bsd_deblocking.c"
 var $917=(($916)|0); //@line 1321 "../src/h264bsd_deblocking.c"
 HEAP32[(($917)>>2)]=$914; //@line 1321 "../src/h264bsd_deblocking.c"
 var $918=$1; //@line 1322 "../src/h264bsd_deblocking.c"
 var $919=(($918+28)|0); //@line 1322 "../src/h264bsd_deblocking.c"
 var $920=(($919+28)|0); //@line 1322 "../src/h264bsd_deblocking.c"
 var $921=HEAP16[(($920)>>1)]; //@line 1322 "../src/h264bsd_deblocking.c"
 var $922=(($921<<16)>>16); //@line 1322 "../src/h264bsd_deblocking.c"
 var $923=($922|0)!=0; //@line 1322 "../src/h264bsd_deblocking.c"
 if($923){var $932=1;label=101;break;}else{label=100;break;} //@line 1322 "../src/h264bsd_deblocking.c"
 case 100: 
 var $925=$1; //@line 1322 "../src/h264bsd_deblocking.c"
 var $926=(($925+28)|0); //@line 1322 "../src/h264bsd_deblocking.c"
 var $927=(($926+24)|0); //@line 1322 "../src/h264bsd_deblocking.c"
 var $928=HEAP16[(($927)>>1)]; //@line 1322 "../src/h264bsd_deblocking.c"
 var $929=(($928<<16)>>16); //@line 1322 "../src/h264bsd_deblocking.c"
 var $930=($929|0)!=0; //@line 1322 "../src/h264bsd_deblocking.c"
 var $932=$930;label=101;break; //@line 1322 "../src/h264bsd_deblocking.c"
 case 101: 
 var $932;
 var $933=($932?2:0); //@line 1322 "../src/h264bsd_deblocking.c"
 var $934=$2; //@line 1322 "../src/h264bsd_deblocking.c"
 var $935=(($934+112)|0); //@line 1322 "../src/h264bsd_deblocking.c"
 var $936=(($935)|0); //@line 1322 "../src/h264bsd_deblocking.c"
 HEAP32[(($936)>>2)]=$933; //@line 1322 "../src/h264bsd_deblocking.c"
 var $937=$1; //@line 1323 "../src/h264bsd_deblocking.c"
 var $938=(($937+28)|0); //@line 1323 "../src/h264bsd_deblocking.c"
 var $939=(($938+30)|0); //@line 1323 "../src/h264bsd_deblocking.c"
 var $940=HEAP16[(($939)>>1)]; //@line 1323 "../src/h264bsd_deblocking.c"
 var $941=(($940<<16)>>16); //@line 1323 "../src/h264bsd_deblocking.c"
 var $942=($941|0)!=0; //@line 1323 "../src/h264bsd_deblocking.c"
 if($942){var $951=1;label=103;break;}else{label=102;break;} //@line 1323 "../src/h264bsd_deblocking.c"
 case 102: 
 var $944=$1; //@line 1323 "../src/h264bsd_deblocking.c"
 var $945=(($944+28)|0); //@line 1323 "../src/h264bsd_deblocking.c"
 var $946=(($945+26)|0); //@line 1323 "../src/h264bsd_deblocking.c"
 var $947=HEAP16[(($946)>>1)]; //@line 1323 "../src/h264bsd_deblocking.c"
 var $948=(($947<<16)>>16); //@line 1323 "../src/h264bsd_deblocking.c"
 var $949=($948|0)!=0; //@line 1323 "../src/h264bsd_deblocking.c"
 var $951=$949;label=103;break; //@line 1323 "../src/h264bsd_deblocking.c"
 case 103: 
 var $951;
 var $952=($951?2:0); //@line 1323 "../src/h264bsd_deblocking.c"
 var $953=$2; //@line 1323 "../src/h264bsd_deblocking.c"
 var $954=(($953+120)|0); //@line 1323 "../src/h264bsd_deblocking.c"
 var $955=(($954)|0); //@line 1323 "../src/h264bsd_deblocking.c"
 HEAP32[(($955)>>2)]=$952; //@line 1323 "../src/h264bsd_deblocking.c"
 var $956=$1; //@line 1325 "../src/h264bsd_deblocking.c"
 var $957=(($956+28)|0); //@line 1325 "../src/h264bsd_deblocking.c"
 var $958=(($957+2)|0); //@line 1325 "../src/h264bsd_deblocking.c"
 var $959=HEAP16[(($958)>>1)]; //@line 1325 "../src/h264bsd_deblocking.c"
 var $960=(($959<<16)>>16); //@line 1325 "../src/h264bsd_deblocking.c"
 var $961=($960|0)!=0; //@line 1325 "../src/h264bsd_deblocking.c"
 if($961){var $970=1;label=105;break;}else{label=104;break;} //@line 1325 "../src/h264bsd_deblocking.c"
 case 104: 
 var $963=$1; //@line 1325 "../src/h264bsd_deblocking.c"
 var $964=(($963+28)|0); //@line 1325 "../src/h264bsd_deblocking.c"
 var $965=(($964)|0); //@line 1325 "../src/h264bsd_deblocking.c"
 var $966=HEAP16[(($965)>>1)]; //@line 1325 "../src/h264bsd_deblocking.c"
 var $967=(($966<<16)>>16); //@line 1325 "../src/h264bsd_deblocking.c"
 var $968=($967|0)!=0; //@line 1325 "../src/h264bsd_deblocking.c"
 var $970=$968;label=105;break; //@line 1325 "../src/h264bsd_deblocking.c"
 case 105: 
 var $970;
 var $971=($970?2:0); //@line 1325 "../src/h264bsd_deblocking.c"
 var $972=$2; //@line 1325 "../src/h264bsd_deblocking.c"
 var $973=(($972+8)|0); //@line 1325 "../src/h264bsd_deblocking.c"
 var $974=(($973+4)|0); //@line 1325 "../src/h264bsd_deblocking.c"
 HEAP32[(($974)>>2)]=$971; //@line 1325 "../src/h264bsd_deblocking.c"
 var $975=$1; //@line 1326 "../src/h264bsd_deblocking.c"
 var $976=(($975+28)|0); //@line 1326 "../src/h264bsd_deblocking.c"
 var $977=(($976+10)|0); //@line 1326 "../src/h264bsd_deblocking.c"
 var $978=HEAP16[(($977)>>1)]; //@line 1326 "../src/h264bsd_deblocking.c"
 var $979=(($978<<16)>>16); //@line 1326 "../src/h264bsd_deblocking.c"
 var $980=($979|0)!=0; //@line 1326 "../src/h264bsd_deblocking.c"
 if($980){var $989=1;label=107;break;}else{label=106;break;} //@line 1326 "../src/h264bsd_deblocking.c"
 case 106: 
 var $982=$1; //@line 1326 "../src/h264bsd_deblocking.c"
 var $983=(($982+28)|0); //@line 1326 "../src/h264bsd_deblocking.c"
 var $984=(($983+8)|0); //@line 1326 "../src/h264bsd_deblocking.c"
 var $985=HEAP16[(($984)>>1)]; //@line 1326 "../src/h264bsd_deblocking.c"
 var $986=(($985<<16)>>16); //@line 1326 "../src/h264bsd_deblocking.c"
 var $987=($986|0)!=0; //@line 1326 "../src/h264bsd_deblocking.c"
 var $989=$987;label=107;break; //@line 1326 "../src/h264bsd_deblocking.c"
 case 107: 
 var $989;
 var $990=($989?2:0); //@line 1326 "../src/h264bsd_deblocking.c"
 var $991=$2; //@line 1326 "../src/h264bsd_deblocking.c"
 var $992=(($991+24)|0); //@line 1326 "../src/h264bsd_deblocking.c"
 var $993=(($992+4)|0); //@line 1326 "../src/h264bsd_deblocking.c"
 HEAP32[(($993)>>2)]=$990; //@line 1326 "../src/h264bsd_deblocking.c"
 var $994=$1; //@line 1327 "../src/h264bsd_deblocking.c"
 var $995=(($994+28)|0); //@line 1327 "../src/h264bsd_deblocking.c"
 var $996=(($995+6)|0); //@line 1327 "../src/h264bsd_deblocking.c"
 var $997=HEAP16[(($996)>>1)]; //@line 1327 "../src/h264bsd_deblocking.c"
 var $998=(($997<<16)>>16); //@line 1327 "../src/h264bsd_deblocking.c"
 var $999=($998|0)!=0; //@line 1327 "../src/h264bsd_deblocking.c"
 if($999){var $1008=1;label=109;break;}else{label=108;break;} //@line 1327 "../src/h264bsd_deblocking.c"
 case 108: 
 var $1001=$1; //@line 1327 "../src/h264bsd_deblocking.c"
 var $1002=(($1001+28)|0); //@line 1327 "../src/h264bsd_deblocking.c"
 var $1003=(($1002+4)|0); //@line 1327 "../src/h264bsd_deblocking.c"
 var $1004=HEAP16[(($1003)>>1)]; //@line 1327 "../src/h264bsd_deblocking.c"
 var $1005=(($1004<<16)>>16); //@line 1327 "../src/h264bsd_deblocking.c"
 var $1006=($1005|0)!=0; //@line 1327 "../src/h264bsd_deblocking.c"
 var $1008=$1006;label=109;break; //@line 1327 "../src/h264bsd_deblocking.c"
 case 109: 
 var $1008;
 var $1009=($1008?2:0); //@line 1327 "../src/h264bsd_deblocking.c"
 var $1010=$2; //@line 1327 "../src/h264bsd_deblocking.c"
 var $1011=(($1010+40)|0); //@line 1327 "../src/h264bsd_deblocking.c"
 var $1012=(($1011+4)|0); //@line 1327 "../src/h264bsd_deblocking.c"
 HEAP32[(($1012)>>2)]=$1009; //@line 1327 "../src/h264bsd_deblocking.c"
 var $1013=$1; //@line 1328 "../src/h264bsd_deblocking.c"
 var $1014=(($1013+28)|0); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1015=(($1014+14)|0); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1016=HEAP16[(($1015)>>1)]; //@line 1328 "../src/h264bsd_deblocking.c"
 var $1017=(($1016<<16)>>16); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1018=($1017|0)!=0; //@line 1328 "../src/h264bsd_deblocking.c"
 if($1018){var $1027=1;label=111;break;}else{label=110;break;} //@line 1328 "../src/h264bsd_deblocking.c"
 case 110: 
 var $1020=$1; //@line 1328 "../src/h264bsd_deblocking.c"
 var $1021=(($1020+28)|0); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1022=(($1021+12)|0); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1023=HEAP16[(($1022)>>1)]; //@line 1328 "../src/h264bsd_deblocking.c"
 var $1024=(($1023<<16)>>16); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1025=($1024|0)!=0; //@line 1328 "../src/h264bsd_deblocking.c"
 var $1027=$1025;label=111;break; //@line 1328 "../src/h264bsd_deblocking.c"
 case 111: 
 var $1027;
 var $1028=($1027?2:0); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1029=$2; //@line 1328 "../src/h264bsd_deblocking.c"
 var $1030=(($1029+56)|0); //@line 1328 "../src/h264bsd_deblocking.c"
 var $1031=(($1030+4)|0); //@line 1328 "../src/h264bsd_deblocking.c"
 HEAP32[(($1031)>>2)]=$1028; //@line 1328 "../src/h264bsd_deblocking.c"
 var $1032=$1; //@line 1329 "../src/h264bsd_deblocking.c"
 var $1033=(($1032+28)|0); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1034=(($1033+18)|0); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1035=HEAP16[(($1034)>>1)]; //@line 1329 "../src/h264bsd_deblocking.c"
 var $1036=(($1035<<16)>>16); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1037=($1036|0)!=0; //@line 1329 "../src/h264bsd_deblocking.c"
 if($1037){var $1046=1;label=113;break;}else{label=112;break;} //@line 1329 "../src/h264bsd_deblocking.c"
 case 112: 
 var $1039=$1; //@line 1329 "../src/h264bsd_deblocking.c"
 var $1040=(($1039+28)|0); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1041=(($1040+16)|0); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1042=HEAP16[(($1041)>>1)]; //@line 1329 "../src/h264bsd_deblocking.c"
 var $1043=(($1042<<16)>>16); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1044=($1043|0)!=0; //@line 1329 "../src/h264bsd_deblocking.c"
 var $1046=$1044;label=113;break; //@line 1329 "../src/h264bsd_deblocking.c"
 case 113: 
 var $1046;
 var $1047=($1046?2:0); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1048=$2; //@line 1329 "../src/h264bsd_deblocking.c"
 var $1049=(($1048+72)|0); //@line 1329 "../src/h264bsd_deblocking.c"
 var $1050=(($1049+4)|0); //@line 1329 "../src/h264bsd_deblocking.c"
 HEAP32[(($1050)>>2)]=$1047; //@line 1329 "../src/h264bsd_deblocking.c"
 var $1051=$1; //@line 1330 "../src/h264bsd_deblocking.c"
 var $1052=(($1051+28)|0); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1053=(($1052+26)|0); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1054=HEAP16[(($1053)>>1)]; //@line 1330 "../src/h264bsd_deblocking.c"
 var $1055=(($1054<<16)>>16); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1056=($1055|0)!=0; //@line 1330 "../src/h264bsd_deblocking.c"
 if($1056){var $1065=1;label=115;break;}else{label=114;break;} //@line 1330 "../src/h264bsd_deblocking.c"
 case 114: 
 var $1058=$1; //@line 1330 "../src/h264bsd_deblocking.c"
 var $1059=(($1058+28)|0); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1060=(($1059+24)|0); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1061=HEAP16[(($1060)>>1)]; //@line 1330 "../src/h264bsd_deblocking.c"
 var $1062=(($1061<<16)>>16); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1063=($1062|0)!=0; //@line 1330 "../src/h264bsd_deblocking.c"
 var $1065=$1063;label=115;break; //@line 1330 "../src/h264bsd_deblocking.c"
 case 115: 
 var $1065;
 var $1066=($1065?2:0); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1067=$2; //@line 1330 "../src/h264bsd_deblocking.c"
 var $1068=(($1067+88)|0); //@line 1330 "../src/h264bsd_deblocking.c"
 var $1069=(($1068+4)|0); //@line 1330 "../src/h264bsd_deblocking.c"
 HEAP32[(($1069)>>2)]=$1066; //@line 1330 "../src/h264bsd_deblocking.c"
 var $1070=$1; //@line 1331 "../src/h264bsd_deblocking.c"
 var $1071=(($1070+28)|0); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1072=(($1071+22)|0); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1073=HEAP16[(($1072)>>1)]; //@line 1331 "../src/h264bsd_deblocking.c"
 var $1074=(($1073<<16)>>16); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1075=($1074|0)!=0; //@line 1331 "../src/h264bsd_deblocking.c"
 if($1075){var $1084=1;label=117;break;}else{label=116;break;} //@line 1331 "../src/h264bsd_deblocking.c"
 case 116: 
 var $1077=$1; //@line 1331 "../src/h264bsd_deblocking.c"
 var $1078=(($1077+28)|0); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1079=(($1078+20)|0); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1080=HEAP16[(($1079)>>1)]; //@line 1331 "../src/h264bsd_deblocking.c"
 var $1081=(($1080<<16)>>16); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1082=($1081|0)!=0; //@line 1331 "../src/h264bsd_deblocking.c"
 var $1084=$1082;label=117;break; //@line 1331 "../src/h264bsd_deblocking.c"
 case 117: 
 var $1084;
 var $1085=($1084?2:0); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1086=$2; //@line 1331 "../src/h264bsd_deblocking.c"
 var $1087=(($1086+104)|0); //@line 1331 "../src/h264bsd_deblocking.c"
 var $1088=(($1087+4)|0); //@line 1331 "../src/h264bsd_deblocking.c"
 HEAP32[(($1088)>>2)]=$1085; //@line 1331 "../src/h264bsd_deblocking.c"
 var $1089=$1; //@line 1332 "../src/h264bsd_deblocking.c"
 var $1090=(($1089+28)|0); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1091=(($1090+30)|0); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1092=HEAP16[(($1091)>>1)]; //@line 1332 "../src/h264bsd_deblocking.c"
 var $1093=(($1092<<16)>>16); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1094=($1093|0)!=0; //@line 1332 "../src/h264bsd_deblocking.c"
 if($1094){var $1103=1;label=119;break;}else{label=118;break;} //@line 1332 "../src/h264bsd_deblocking.c"
 case 118: 
 var $1096=$1; //@line 1332 "../src/h264bsd_deblocking.c"
 var $1097=(($1096+28)|0); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1098=(($1097+28)|0); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1099=HEAP16[(($1098)>>1)]; //@line 1332 "../src/h264bsd_deblocking.c"
 var $1100=(($1099<<16)>>16); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1101=($1100|0)!=0; //@line 1332 "../src/h264bsd_deblocking.c"
 var $1103=$1101;label=119;break; //@line 1332 "../src/h264bsd_deblocking.c"
 case 119: 
 var $1103;
 var $1104=($1103?2:0); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1105=$2; //@line 1332 "../src/h264bsd_deblocking.c"
 var $1106=(($1105+120)|0); //@line 1332 "../src/h264bsd_deblocking.c"
 var $1107=(($1106+4)|0); //@line 1332 "../src/h264bsd_deblocking.c"
 HEAP32[(($1107)>>2)]=$1104; //@line 1332 "../src/h264bsd_deblocking.c"
 var $1108=$1; //@line 1333 "../src/h264bsd_deblocking.c"
 var $1109=_InnerBoundaryStrength($1108,4,1); //@line 1333 "../src/h264bsd_deblocking.c"
 var $1110=$2; //@line 1333 "../src/h264bsd_deblocking.c"
 var $1111=(($1110+16)|0); //@line 1333 "../src/h264bsd_deblocking.c"
 var $1112=(($1111+4)|0); //@line 1333 "../src/h264bsd_deblocking.c"
 HEAP32[(($1112)>>2)]=$1109; //@line 1333 "../src/h264bsd_deblocking.c"
 var $1113=$1; //@line 1334 "../src/h264bsd_deblocking.c"
 var $1114=_InnerBoundaryStrength($1113,6,3); //@line 1334 "../src/h264bsd_deblocking.c"
 var $1115=$2; //@line 1334 "../src/h264bsd_deblocking.c"
 var $1116=(($1115+48)|0); //@line 1334 "../src/h264bsd_deblocking.c"
 var $1117=(($1116+4)|0); //@line 1334 "../src/h264bsd_deblocking.c"
 HEAP32[(($1117)>>2)]=$1114; //@line 1334 "../src/h264bsd_deblocking.c"
 var $1118=$1; //@line 1335 "../src/h264bsd_deblocking.c"
 var $1119=_InnerBoundaryStrength($1118,12,9); //@line 1335 "../src/h264bsd_deblocking.c"
 var $1120=$2; //@line 1335 "../src/h264bsd_deblocking.c"
 var $1121=(($1120+80)|0); //@line 1335 "../src/h264bsd_deblocking.c"
 var $1122=(($1121+4)|0); //@line 1335 "../src/h264bsd_deblocking.c"
 HEAP32[(($1122)>>2)]=$1119; //@line 1335 "../src/h264bsd_deblocking.c"
 var $1123=$1; //@line 1336 "../src/h264bsd_deblocking.c"
 var $1124=_InnerBoundaryStrength($1123,14,11); //@line 1336 "../src/h264bsd_deblocking.c"
 var $1125=$2; //@line 1336 "../src/h264bsd_deblocking.c"
 var $1126=(($1125+112)|0); //@line 1336 "../src/h264bsd_deblocking.c"
 var $1127=(($1126+4)|0); //@line 1336 "../src/h264bsd_deblocking.c"
 HEAP32[(($1127)>>2)]=$1124; //@line 1336 "../src/h264bsd_deblocking.c"
 label=121;break; //@line 1337 "../src/h264bsd_deblocking.c"
 case 120: 
 var $1129=$1; //@line 1340 "../src/h264bsd_deblocking.c"
 var $1130=HEAP32[((968)>>2)]; //@line 1340 "../src/h264bsd_deblocking.c"
 var $1131=HEAP32[((952)>>2)]; //@line 1340 "../src/h264bsd_deblocking.c"
 var $1132=_InnerBoundaryStrength($1129,$1130,$1131); //@line 1340 "../src/h264bsd_deblocking.c"
 var $1133=$2; //@line 1340 "../src/h264bsd_deblocking.c"
 var $1134=(($1133+32)|0); //@line 1340 "../src/h264bsd_deblocking.c"
 var $1135=(($1134)|0); //@line 1340 "../src/h264bsd_deblocking.c"
 HEAP32[(($1135)>>2)]=$1132; //@line 1340 "../src/h264bsd_deblocking.c"
 var $1136=$1; //@line 1341 "../src/h264bsd_deblocking.c"
 var $1137=HEAP32[((972)>>2)]; //@line 1341 "../src/h264bsd_deblocking.c"
 var $1138=HEAP32[((956)>>2)]; //@line 1341 "../src/h264bsd_deblocking.c"
 var $1139=_InnerBoundaryStrength($1136,$1137,$1138); //@line 1341 "../src/h264bsd_deblocking.c"
 var $1140=$2; //@line 1341 "../src/h264bsd_deblocking.c"
 var $1141=(($1140+40)|0); //@line 1341 "../src/h264bsd_deblocking.c"
 var $1142=(($1141)|0); //@line 1341 "../src/h264bsd_deblocking.c"
 HEAP32[(($1142)>>2)]=$1139; //@line 1341 "../src/h264bsd_deblocking.c"
 var $1143=$1; //@line 1342 "../src/h264bsd_deblocking.c"
 var $1144=HEAP32[((976)>>2)]; //@line 1342 "../src/h264bsd_deblocking.c"
 var $1145=HEAP32[((960)>>2)]; //@line 1342 "../src/h264bsd_deblocking.c"
 var $1146=_InnerBoundaryStrength($1143,$1144,$1145); //@line 1342 "../src/h264bsd_deblocking.c"
 var $1147=$2; //@line 1342 "../src/h264bsd_deblocking.c"
 var $1148=(($1147+48)|0); //@line 1342 "../src/h264bsd_deblocking.c"
 var $1149=(($1148)|0); //@line 1342 "../src/h264bsd_deblocking.c"
 HEAP32[(($1149)>>2)]=$1146; //@line 1342 "../src/h264bsd_deblocking.c"
 var $1150=$1; //@line 1343 "../src/h264bsd_deblocking.c"
 var $1151=HEAP32[((980)>>2)]; //@line 1343 "../src/h264bsd_deblocking.c"
 var $1152=HEAP32[((964)>>2)]; //@line 1343 "../src/h264bsd_deblocking.c"
 var $1153=_InnerBoundaryStrength($1150,$1151,$1152); //@line 1343 "../src/h264bsd_deblocking.c"
 var $1154=$2; //@line 1343 "../src/h264bsd_deblocking.c"
 var $1155=(($1154+56)|0); //@line 1343 "../src/h264bsd_deblocking.c"
 var $1156=(($1155)|0); //@line 1343 "../src/h264bsd_deblocking.c"
 HEAP32[(($1156)>>2)]=$1153; //@line 1343 "../src/h264bsd_deblocking.c"
 var $1157=$1; //@line 1344 "../src/h264bsd_deblocking.c"
 var $1158=HEAP32[((984)>>2)]; //@line 1344 "../src/h264bsd_deblocking.c"
 var $1159=HEAP32[((968)>>2)]; //@line 1344 "../src/h264bsd_deblocking.c"
 var $1160=_InnerBoundaryStrength($1157,$1158,$1159); //@line 1344 "../src/h264bsd_deblocking.c"
 var $1161=$2; //@line 1344 "../src/h264bsd_deblocking.c"
 var $1162=(($1161+64)|0); //@line 1344 "../src/h264bsd_deblocking.c"
 var $1163=(($1162)|0); //@line 1344 "../src/h264bsd_deblocking.c"
 HEAP32[(($1163)>>2)]=$1160; //@line 1344 "../src/h264bsd_deblocking.c"
 var $1164=$1; //@line 1345 "../src/h264bsd_deblocking.c"
 var $1165=HEAP32[((988)>>2)]; //@line 1345 "../src/h264bsd_deblocking.c"
 var $1166=HEAP32[((972)>>2)]; //@line 1345 "../src/h264bsd_deblocking.c"
 var $1167=_InnerBoundaryStrength($1164,$1165,$1166); //@line 1345 "../src/h264bsd_deblocking.c"
 var $1168=$2; //@line 1345 "../src/h264bsd_deblocking.c"
 var $1169=(($1168+72)|0); //@line 1345 "../src/h264bsd_deblocking.c"
 var $1170=(($1169)|0); //@line 1345 "../src/h264bsd_deblocking.c"
 HEAP32[(($1170)>>2)]=$1167; //@line 1345 "../src/h264bsd_deblocking.c"
 var $1171=$1; //@line 1346 "../src/h264bsd_deblocking.c"
 var $1172=HEAP32[((992)>>2)]; //@line 1346 "../src/h264bsd_deblocking.c"
 var $1173=HEAP32[((976)>>2)]; //@line 1346 "../src/h264bsd_deblocking.c"
 var $1174=_InnerBoundaryStrength($1171,$1172,$1173); //@line 1346 "../src/h264bsd_deblocking.c"
 var $1175=$2; //@line 1346 "../src/h264bsd_deblocking.c"
 var $1176=(($1175+80)|0); //@line 1346 "../src/h264bsd_deblocking.c"
 var $1177=(($1176)|0); //@line 1346 "../src/h264bsd_deblocking.c"
 HEAP32[(($1177)>>2)]=$1174; //@line 1346 "../src/h264bsd_deblocking.c"
 var $1178=$1; //@line 1347 "../src/h264bsd_deblocking.c"
 var $1179=HEAP32[((996)>>2)]; //@line 1347 "../src/h264bsd_deblocking.c"
 var $1180=HEAP32[((980)>>2)]; //@line 1347 "../src/h264bsd_deblocking.c"
 var $1181=_InnerBoundaryStrength($1178,$1179,$1180); //@line 1347 "../src/h264bsd_deblocking.c"
 var $1182=$2; //@line 1347 "../src/h264bsd_deblocking.c"
 var $1183=(($1182+88)|0); //@line 1347 "../src/h264bsd_deblocking.c"
 var $1184=(($1183)|0); //@line 1347 "../src/h264bsd_deblocking.c"
 HEAP32[(($1184)>>2)]=$1181; //@line 1347 "../src/h264bsd_deblocking.c"
 var $1185=$1; //@line 1348 "../src/h264bsd_deblocking.c"
 var $1186=HEAP32[((1000)>>2)]; //@line 1348 "../src/h264bsd_deblocking.c"
 var $1187=HEAP32[((984)>>2)]; //@line 1348 "../src/h264bsd_deblocking.c"
 var $1188=_InnerBoundaryStrength($1185,$1186,$1187); //@line 1348 "../src/h264bsd_deblocking.c"
 var $1189=$2; //@line 1348 "../src/h264bsd_deblocking.c"
 var $1190=(($1189+96)|0); //@line 1348 "../src/h264bsd_deblocking.c"
 var $1191=(($1190)|0); //@line 1348 "../src/h264bsd_deblocking.c"
 HEAP32[(($1191)>>2)]=$1188; //@line 1348 "../src/h264bsd_deblocking.c"
 var $1192=$1; //@line 1349 "../src/h264bsd_deblocking.c"
 var $1193=HEAP32[((1004)>>2)]; //@line 1349 "../src/h264bsd_deblocking.c"
 var $1194=HEAP32[((988)>>2)]; //@line 1349 "../src/h264bsd_deblocking.c"
 var $1195=_InnerBoundaryStrength($1192,$1193,$1194); //@line 1349 "../src/h264bsd_deblocking.c"
 var $1196=$2; //@line 1349 "../src/h264bsd_deblocking.c"
 var $1197=(($1196+104)|0); //@line 1349 "../src/h264bsd_deblocking.c"
 var $1198=(($1197)|0); //@line 1349 "../src/h264bsd_deblocking.c"
 HEAP32[(($1198)>>2)]=$1195; //@line 1349 "../src/h264bsd_deblocking.c"
 var $1199=$1; //@line 1350 "../src/h264bsd_deblocking.c"
 var $1200=HEAP32[((1008)>>2)]; //@line 1350 "../src/h264bsd_deblocking.c"
 var $1201=HEAP32[((992)>>2)]; //@line 1350 "../src/h264bsd_deblocking.c"
 var $1202=_InnerBoundaryStrength($1199,$1200,$1201); //@line 1350 "../src/h264bsd_deblocking.c"
 var $1203=$2; //@line 1350 "../src/h264bsd_deblocking.c"
 var $1204=(($1203+112)|0); //@line 1350 "../src/h264bsd_deblocking.c"
 var $1205=(($1204)|0); //@line 1350 "../src/h264bsd_deblocking.c"
 HEAP32[(($1205)>>2)]=$1202; //@line 1350 "../src/h264bsd_deblocking.c"
 var $1206=$1; //@line 1351 "../src/h264bsd_deblocking.c"
 var $1207=HEAP32[((1012)>>2)]; //@line 1351 "../src/h264bsd_deblocking.c"
 var $1208=HEAP32[((996)>>2)]; //@line 1351 "../src/h264bsd_deblocking.c"
 var $1209=_InnerBoundaryStrength($1206,$1207,$1208); //@line 1351 "../src/h264bsd_deblocking.c"
 var $1210=$2; //@line 1351 "../src/h264bsd_deblocking.c"
 var $1211=(($1210+120)|0); //@line 1351 "../src/h264bsd_deblocking.c"
 var $1212=(($1211)|0); //@line 1351 "../src/h264bsd_deblocking.c"
 HEAP32[(($1212)>>2)]=$1209; //@line 1351 "../src/h264bsd_deblocking.c"
 var $1213=$1; //@line 1353 "../src/h264bsd_deblocking.c"
 var $1214=HEAP32[((956)>>2)]; //@line 1353 "../src/h264bsd_deblocking.c"
 var $1215=HEAP32[((952)>>2)]; //@line 1353 "../src/h264bsd_deblocking.c"
 var $1216=_InnerBoundaryStrength($1213,$1214,$1215); //@line 1353 "../src/h264bsd_deblocking.c"
 var $1217=$2; //@line 1353 "../src/h264bsd_deblocking.c"
 var $1218=(($1217+8)|0); //@line 1353 "../src/h264bsd_deblocking.c"
 var $1219=(($1218+4)|0); //@line 1353 "../src/h264bsd_deblocking.c"
 HEAP32[(($1219)>>2)]=$1216; //@line 1353 "../src/h264bsd_deblocking.c"
 var $1220=$1; //@line 1354 "../src/h264bsd_deblocking.c"
 var $1221=HEAP32[((960)>>2)]; //@line 1354 "../src/h264bsd_deblocking.c"
 var $1222=HEAP32[((956)>>2)]; //@line 1354 "../src/h264bsd_deblocking.c"
 var $1223=_InnerBoundaryStrength($1220,$1221,$1222); //@line 1354 "../src/h264bsd_deblocking.c"
 var $1224=$2; //@line 1354 "../src/h264bsd_deblocking.c"
 var $1225=(($1224+16)|0); //@line 1354 "../src/h264bsd_deblocking.c"
 var $1226=(($1225+4)|0); //@line 1354 "../src/h264bsd_deblocking.c"
 HEAP32[(($1226)>>2)]=$1223; //@line 1354 "../src/h264bsd_deblocking.c"
 var $1227=$1; //@line 1355 "../src/h264bsd_deblocking.c"
 var $1228=HEAP32[((964)>>2)]; //@line 1355 "../src/h264bsd_deblocking.c"
 var $1229=HEAP32[((960)>>2)]; //@line 1355 "../src/h264bsd_deblocking.c"
 var $1230=_InnerBoundaryStrength($1227,$1228,$1229); //@line 1355 "../src/h264bsd_deblocking.c"
 var $1231=$2; //@line 1355 "../src/h264bsd_deblocking.c"
 var $1232=(($1231+24)|0); //@line 1355 "../src/h264bsd_deblocking.c"
 var $1233=(($1232+4)|0); //@line 1355 "../src/h264bsd_deblocking.c"
 HEAP32[(($1233)>>2)]=$1230; //@line 1355 "../src/h264bsd_deblocking.c"
 var $1234=$1; //@line 1356 "../src/h264bsd_deblocking.c"
 var $1235=HEAP32[((972)>>2)]; //@line 1356 "../src/h264bsd_deblocking.c"
 var $1236=HEAP32[((968)>>2)]; //@line 1356 "../src/h264bsd_deblocking.c"
 var $1237=_InnerBoundaryStrength($1234,$1235,$1236); //@line 1356 "../src/h264bsd_deblocking.c"
 var $1238=$2; //@line 1356 "../src/h264bsd_deblocking.c"
 var $1239=(($1238+40)|0); //@line 1356 "../src/h264bsd_deblocking.c"
 var $1240=(($1239+4)|0); //@line 1356 "../src/h264bsd_deblocking.c"
 HEAP32[(($1240)>>2)]=$1237; //@line 1356 "../src/h264bsd_deblocking.c"
 var $1241=$1; //@line 1357 "../src/h264bsd_deblocking.c"
 var $1242=HEAP32[((976)>>2)]; //@line 1357 "../src/h264bsd_deblocking.c"
 var $1243=HEAP32[((972)>>2)]; //@line 1357 "../src/h264bsd_deblocking.c"
 var $1244=_InnerBoundaryStrength($1241,$1242,$1243); //@line 1357 "../src/h264bsd_deblocking.c"
 var $1245=$2; //@line 1357 "../src/h264bsd_deblocking.c"
 var $1246=(($1245+48)|0); //@line 1357 "../src/h264bsd_deblocking.c"
 var $1247=(($1246+4)|0); //@line 1357 "../src/h264bsd_deblocking.c"
 HEAP32[(($1247)>>2)]=$1244; //@line 1357 "../src/h264bsd_deblocking.c"
 var $1248=$1; //@line 1358 "../src/h264bsd_deblocking.c"
 var $1249=HEAP32[((980)>>2)]; //@line 1358 "../src/h264bsd_deblocking.c"
 var $1250=HEAP32[((976)>>2)]; //@line 1358 "../src/h264bsd_deblocking.c"
 var $1251=_InnerBoundaryStrength($1248,$1249,$1250); //@line 1358 "../src/h264bsd_deblocking.c"
 var $1252=$2; //@line 1358 "../src/h264bsd_deblocking.c"
 var $1253=(($1252+56)|0); //@line 1358 "../src/h264bsd_deblocking.c"
 var $1254=(($1253+4)|0); //@line 1358 "../src/h264bsd_deblocking.c"
 HEAP32[(($1254)>>2)]=$1251; //@line 1358 "../src/h264bsd_deblocking.c"
 var $1255=$1; //@line 1359 "../src/h264bsd_deblocking.c"
 var $1256=HEAP32[((988)>>2)]; //@line 1359 "../src/h264bsd_deblocking.c"
 var $1257=HEAP32[((984)>>2)]; //@line 1359 "../src/h264bsd_deblocking.c"
 var $1258=_InnerBoundaryStrength($1255,$1256,$1257); //@line 1359 "../src/h264bsd_deblocking.c"
 var $1259=$2; //@line 1359 "../src/h264bsd_deblocking.c"
 var $1260=(($1259+72)|0); //@line 1359 "../src/h264bsd_deblocking.c"
 var $1261=(($1260+4)|0); //@line 1359 "../src/h264bsd_deblocking.c"
 HEAP32[(($1261)>>2)]=$1258; //@line 1359 "../src/h264bsd_deblocking.c"
 var $1262=$1; //@line 1360 "../src/h264bsd_deblocking.c"
 var $1263=HEAP32[((992)>>2)]; //@line 1360 "../src/h264bsd_deblocking.c"
 var $1264=HEAP32[((988)>>2)]; //@line 1360 "../src/h264bsd_deblocking.c"
 var $1265=_InnerBoundaryStrength($1262,$1263,$1264); //@line 1360 "../src/h264bsd_deblocking.c"
 var $1266=$2; //@line 1360 "../src/h264bsd_deblocking.c"
 var $1267=(($1266+80)|0); //@line 1360 "../src/h264bsd_deblocking.c"
 var $1268=(($1267+4)|0); //@line 1360 "../src/h264bsd_deblocking.c"
 HEAP32[(($1268)>>2)]=$1265; //@line 1360 "../src/h264bsd_deblocking.c"
 var $1269=$1; //@line 1361 "../src/h264bsd_deblocking.c"
 var $1270=HEAP32[((996)>>2)]; //@line 1361 "../src/h264bsd_deblocking.c"
 var $1271=HEAP32[((992)>>2)]; //@line 1361 "../src/h264bsd_deblocking.c"
 var $1272=_InnerBoundaryStrength($1269,$1270,$1271); //@line 1361 "../src/h264bsd_deblocking.c"
 var $1273=$2; //@line 1361 "../src/h264bsd_deblocking.c"
 var $1274=(($1273+88)|0); //@line 1361 "../src/h264bsd_deblocking.c"
 var $1275=(($1274+4)|0); //@line 1361 "../src/h264bsd_deblocking.c"
 HEAP32[(($1275)>>2)]=$1272; //@line 1361 "../src/h264bsd_deblocking.c"
 var $1276=$1; //@line 1362 "../src/h264bsd_deblocking.c"
 var $1277=HEAP32[((1004)>>2)]; //@line 1362 "../src/h264bsd_deblocking.c"
 var $1278=HEAP32[((1000)>>2)]; //@line 1362 "../src/h264bsd_deblocking.c"
 var $1279=_InnerBoundaryStrength($1276,$1277,$1278); //@line 1362 "../src/h264bsd_deblocking.c"
 var $1280=$2; //@line 1362 "../src/h264bsd_deblocking.c"
 var $1281=(($1280+104)|0); //@line 1362 "../src/h264bsd_deblocking.c"
 var $1282=(($1281+4)|0); //@line 1362 "../src/h264bsd_deblocking.c"
 HEAP32[(($1282)>>2)]=$1279; //@line 1362 "../src/h264bsd_deblocking.c"
 var $1283=$1; //@line 1363 "../src/h264bsd_deblocking.c"
 var $1284=HEAP32[((1008)>>2)]; //@line 1363 "../src/h264bsd_deblocking.c"
 var $1285=HEAP32[((1004)>>2)]; //@line 1363 "../src/h264bsd_deblocking.c"
 var $1286=_InnerBoundaryStrength($1283,$1284,$1285); //@line 1363 "../src/h264bsd_deblocking.c"
 var $1287=$2; //@line 1363 "../src/h264bsd_deblocking.c"
 var $1288=(($1287+112)|0); //@line 1363 "../src/h264bsd_deblocking.c"
 var $1289=(($1288+4)|0); //@line 1363 "../src/h264bsd_deblocking.c"
 HEAP32[(($1289)>>2)]=$1286; //@line 1363 "../src/h264bsd_deblocking.c"
 var $1290=$1; //@line 1364 "../src/h264bsd_deblocking.c"
 var $1291=HEAP32[((1012)>>2)]; //@line 1364 "../src/h264bsd_deblocking.c"
 var $1292=HEAP32[((1008)>>2)]; //@line 1364 "../src/h264bsd_deblocking.c"
 var $1293=_InnerBoundaryStrength($1290,$1291,$1292); //@line 1364 "../src/h264bsd_deblocking.c"
 var $1294=$2; //@line 1364 "../src/h264bsd_deblocking.c"
 var $1295=(($1294+120)|0); //@line 1364 "../src/h264bsd_deblocking.c"
 var $1296=(($1295+4)|0); //@line 1364 "../src/h264bsd_deblocking.c"
 HEAP32[(($1296)>>2)]=$1293; //@line 1364 "../src/h264bsd_deblocking.c"
 label=121;break;
 case 121: 
 label=122;break;
 case 122: 
 label=123;break;
 case 123: 
 var $1300=$nonZeroBs; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1301=($1300|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1301){label=149;break;}else{label=124;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 124: 
 var $1303=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1304=(($1303+32)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1305=(($1304)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1306=HEAP32[(($1305)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1307=($1306|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1307){label=148;break;}else{label=125;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 125: 
 var $1309=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1310=(($1309+40)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1311=(($1310)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1312=HEAP32[(($1311)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1313=($1312|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1313){label=148;break;}else{label=126;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 126: 
 var $1315=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1316=(($1315+48)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1317=(($1316)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1318=HEAP32[(($1317)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1319=($1318|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1319){label=148;break;}else{label=127;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 127: 
 var $1321=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1322=(($1321+56)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1323=(($1322)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1324=HEAP32[(($1323)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1325=($1324|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1325){label=148;break;}else{label=128;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 128: 
 var $1327=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1328=(($1327+64)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1329=(($1328)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1330=HEAP32[(($1329)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1331=($1330|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1331){label=148;break;}else{label=129;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 129: 
 var $1333=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1334=(($1333+72)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1335=(($1334)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1336=HEAP32[(($1335)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1337=($1336|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1337){label=148;break;}else{label=130;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 130: 
 var $1339=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1340=(($1339+80)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1341=(($1340)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1342=HEAP32[(($1341)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1343=($1342|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1343){label=148;break;}else{label=131;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 131: 
 var $1345=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1346=(($1345+88)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1347=(($1346)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1348=HEAP32[(($1347)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1349=($1348|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1349){label=148;break;}else{label=132;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 132: 
 var $1351=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1352=(($1351+96)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1353=(($1352)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1354=HEAP32[(($1353)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1355=($1354|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1355){label=148;break;}else{label=133;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 133: 
 var $1357=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1358=(($1357+104)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1359=(($1358)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1360=HEAP32[(($1359)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1361=($1360|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1361){label=148;break;}else{label=134;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 134: 
 var $1363=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1364=(($1363+112)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1365=(($1364)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1366=HEAP32[(($1365)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1367=($1366|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1367){label=148;break;}else{label=135;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 135: 
 var $1369=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1370=(($1369+120)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1371=(($1370)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1372=HEAP32[(($1371)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1373=($1372|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1373){label=148;break;}else{label=136;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 136: 
 var $1375=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1376=(($1375+8)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1377=(($1376+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1378=HEAP32[(($1377)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1379=($1378|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1379){label=148;break;}else{label=137;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 137: 
 var $1381=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1382=(($1381+16)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1383=(($1382+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1384=HEAP32[(($1383)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1385=($1384|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1385){label=148;break;}else{label=138;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 138: 
 var $1387=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1388=(($1387+24)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1389=(($1388+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1390=HEAP32[(($1389)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1391=($1390|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1391){label=148;break;}else{label=139;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 139: 
 var $1393=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1394=(($1393+40)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1395=(($1394+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1396=HEAP32[(($1395)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1397=($1396|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1397){label=148;break;}else{label=140;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 140: 
 var $1399=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1400=(($1399+48)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1401=(($1400+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1402=HEAP32[(($1401)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1403=($1402|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1403){label=148;break;}else{label=141;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 141: 
 var $1405=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1406=(($1405+56)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1407=(($1406+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1408=HEAP32[(($1407)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1409=($1408|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1409){label=148;break;}else{label=142;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 142: 
 var $1411=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1412=(($1411+72)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1413=(($1412+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1414=HEAP32[(($1413)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1415=($1414|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1415){label=148;break;}else{label=143;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 143: 
 var $1417=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1418=(($1417+80)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1419=(($1418+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1420=HEAP32[(($1419)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1421=($1420|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1421){label=148;break;}else{label=144;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 144: 
 var $1423=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1424=(($1423+88)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1425=(($1424+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1426=HEAP32[(($1425)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1427=($1426|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1427){label=148;break;}else{label=145;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 145: 
 var $1429=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1430=(($1429+104)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1431=(($1430+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1432=HEAP32[(($1431)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1433=($1432|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1433){label=148;break;}else{label=146;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 146: 
 var $1435=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1436=(($1435+112)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1437=(($1436+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1438=HEAP32[(($1437)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1439=($1438|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1439){label=148;break;}else{label=147;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 147: 
 var $1441=$2; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1442=(($1441+120)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1443=(($1442+4)|0); //@line 1366 "../src/h264bsd_deblocking.c"
 var $1444=HEAP32[(($1443)>>2)]; //@line 1366 "../src/h264bsd_deblocking.c"
 var $1445=($1444|0)!=0; //@line 1366 "../src/h264bsd_deblocking.c"
 if($1445){label=148;break;}else{label=149;break;} //@line 1366 "../src/h264bsd_deblocking.c"
 case 148: 
 $nonZeroBs=1; //@line 1374 "../src/h264bsd_deblocking.c"
 label=149;break; //@line 1374 "../src/h264bsd_deblocking.c"
 case 149: 
 label=150;break;
 case 150: 
 var $1449=$nonZeroBs; //@line 1377 "../src/h264bsd_deblocking.c"
 STACKTOP=sp;return $1449; //@line 1377 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetLumaEdgeThresholds($thresholds,$mb,$filteringFlags){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $indexA;
 var $indexB;
 var $qpAv;
 var $qp;
 var $qpTmp;
 $1=$thresholds;
 $2=$mb;
 $3=$filteringFlags;
 var $4=$1; //@line 1403 "../src/h264bsd_deblocking.c"
 var $5=($4|0)!=0; //@line 1403 "../src/h264bsd_deblocking.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1403 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(4568,11664,1403,15808); //@line 1403 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1403 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 1403 "../src/h264bsd_deblocking.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1403 "../src/h264bsd_deblocking.c"
 var $11=$2; //@line 1404 "../src/h264bsd_deblocking.c"
 var $12=($11|0)!=0; //@line 1404 "../src/h264bsd_deblocking.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1404 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(9088,11664,1404,15808); //@line 1404 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1404 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 1404 "../src/h264bsd_deblocking.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1404 "../src/h264bsd_deblocking.c"
 var $18=$2; //@line 1406 "../src/h264bsd_deblocking.c"
 var $19=(($18+20)|0); //@line 1406 "../src/h264bsd_deblocking.c"
 var $20=HEAP32[(($19)>>2)]; //@line 1406 "../src/h264bsd_deblocking.c"
 $qp=$20; //@line 1406 "../src/h264bsd_deblocking.c"
 var $21=$qp; //@line 1408 "../src/h264bsd_deblocking.c"
 var $22=$2; //@line 1408 "../src/h264bsd_deblocking.c"
 var $23=(($22+12)|0); //@line 1408 "../src/h264bsd_deblocking.c"
 var $24=HEAP32[(($23)>>2)]; //@line 1408 "../src/h264bsd_deblocking.c"
 var $25=((($21)+($24))|0); //@line 1408 "../src/h264bsd_deblocking.c"
 var $26=($25|0)<0; //@line 1408 "../src/h264bsd_deblocking.c"
 if($26){label=6;break;}else{label=7;break;} //@line 1408 "../src/h264bsd_deblocking.c"
 case 6: 
 var $45=0;label=11;break; //@line 1408 "../src/h264bsd_deblocking.c"
 case 7: 
 var $29=$qp; //@line 1408 "../src/h264bsd_deblocking.c"
 var $30=$2; //@line 1408 "../src/h264bsd_deblocking.c"
 var $31=(($30+12)|0); //@line 1408 "../src/h264bsd_deblocking.c"
 var $32=HEAP32[(($31)>>2)]; //@line 1408 "../src/h264bsd_deblocking.c"
 var $33=((($29)+($32))|0); //@line 1408 "../src/h264bsd_deblocking.c"
 var $34=($33|0)>51; //@line 1408 "../src/h264bsd_deblocking.c"
 if($34){label=8;break;}else{label=9;break;} //@line 1408 "../src/h264bsd_deblocking.c"
 case 8: 
 var $43=51;label=10;break; //@line 1408 "../src/h264bsd_deblocking.c"
 case 9: 
 var $37=$qp; //@line 1408 "../src/h264bsd_deblocking.c"
 var $38=$2; //@line 1408 "../src/h264bsd_deblocking.c"
 var $39=(($38+12)|0); //@line 1408 "../src/h264bsd_deblocking.c"
 var $40=HEAP32[(($39)>>2)]; //@line 1408 "../src/h264bsd_deblocking.c"
 var $41=((($37)+($40))|0); //@line 1408 "../src/h264bsd_deblocking.c"
 var $43=$41;label=10;break; //@line 1408 "../src/h264bsd_deblocking.c"
 case 10: 
 var $43; //@line 1408 "../src/h264bsd_deblocking.c"
 var $45=$43;label=11;break; //@line 1408 "../src/h264bsd_deblocking.c"
 case 11: 
 var $45; //@line 1408 "../src/h264bsd_deblocking.c"
 $indexA=$45; //@line 1408 "../src/h264bsd_deblocking.c"
 var $46=$qp; //@line 1409 "../src/h264bsd_deblocking.c"
 var $47=$2; //@line 1409 "../src/h264bsd_deblocking.c"
 var $48=(($47+16)|0); //@line 1409 "../src/h264bsd_deblocking.c"
 var $49=HEAP32[(($48)>>2)]; //@line 1409 "../src/h264bsd_deblocking.c"
 var $50=((($46)+($49))|0); //@line 1409 "../src/h264bsd_deblocking.c"
 var $51=($50|0)<0; //@line 1409 "../src/h264bsd_deblocking.c"
 if($51){label=12;break;}else{label=13;break;} //@line 1409 "../src/h264bsd_deblocking.c"
 case 12: 
 var $70=0;label=17;break; //@line 1409 "../src/h264bsd_deblocking.c"
 case 13: 
 var $54=$qp; //@line 1409 "../src/h264bsd_deblocking.c"
 var $55=$2; //@line 1409 "../src/h264bsd_deblocking.c"
 var $56=(($55+16)|0); //@line 1409 "../src/h264bsd_deblocking.c"
 var $57=HEAP32[(($56)>>2)]; //@line 1409 "../src/h264bsd_deblocking.c"
 var $58=((($54)+($57))|0); //@line 1409 "../src/h264bsd_deblocking.c"
 var $59=($58|0)>51; //@line 1409 "../src/h264bsd_deblocking.c"
 if($59){label=14;break;}else{label=15;break;} //@line 1409 "../src/h264bsd_deblocking.c"
 case 14: 
 var $68=51;label=16;break; //@line 1409 "../src/h264bsd_deblocking.c"
 case 15: 
 var $62=$qp; //@line 1409 "../src/h264bsd_deblocking.c"
 var $63=$2; //@line 1409 "../src/h264bsd_deblocking.c"
 var $64=(($63+16)|0); //@line 1409 "../src/h264bsd_deblocking.c"
 var $65=HEAP32[(($64)>>2)]; //@line 1409 "../src/h264bsd_deblocking.c"
 var $66=((($62)+($65))|0); //@line 1409 "../src/h264bsd_deblocking.c"
 var $68=$66;label=16;break; //@line 1409 "../src/h264bsd_deblocking.c"
 case 16: 
 var $68; //@line 1409 "../src/h264bsd_deblocking.c"
 var $70=$68;label=17;break; //@line 1409 "../src/h264bsd_deblocking.c"
 case 17: 
 var $70; //@line 1409 "../src/h264bsd_deblocking.c"
 $indexB=$70; //@line 1409 "../src/h264bsd_deblocking.c"
 var $71=$indexA; //@line 1411 "../src/h264bsd_deblocking.c"
 var $72=((4296+$71)|0); //@line 1411 "../src/h264bsd_deblocking.c"
 var $73=HEAP8[($72)]; //@line 1411 "../src/h264bsd_deblocking.c"
 var $74=($73&255); //@line 1411 "../src/h264bsd_deblocking.c"
 var $75=$1; //@line 1411 "../src/h264bsd_deblocking.c"
 var $76=(($75+24)|0); //@line 1411 "../src/h264bsd_deblocking.c"
 var $77=(($76+4)|0); //@line 1411 "../src/h264bsd_deblocking.c"
 HEAP32[(($77)>>2)]=$74; //@line 1411 "../src/h264bsd_deblocking.c"
 var $78=$indexB; //@line 1412 "../src/h264bsd_deblocking.c"
 var $79=((4240+$78)|0); //@line 1412 "../src/h264bsd_deblocking.c"
 var $80=HEAP8[($79)]; //@line 1412 "../src/h264bsd_deblocking.c"
 var $81=($80&255); //@line 1412 "../src/h264bsd_deblocking.c"
 var $82=$1; //@line 1412 "../src/h264bsd_deblocking.c"
 var $83=(($82+24)|0); //@line 1412 "../src/h264bsd_deblocking.c"
 var $84=(($83+8)|0); //@line 1412 "../src/h264bsd_deblocking.c"
 HEAP32[(($84)>>2)]=$81; //@line 1412 "../src/h264bsd_deblocking.c"
 var $85=$indexA; //@line 1413 "../src/h264bsd_deblocking.c"
 var $86=((600+((($85)*(3))&-1))|0); //@line 1413 "../src/h264bsd_deblocking.c"
 var $87=(($86)|0); //@line 1413 "../src/h264bsd_deblocking.c"
 var $88=$1; //@line 1413 "../src/h264bsd_deblocking.c"
 var $89=(($88+24)|0); //@line 1413 "../src/h264bsd_deblocking.c"
 var $90=(($89)|0); //@line 1413 "../src/h264bsd_deblocking.c"
 HEAP32[(($90)>>2)]=$87; //@line 1413 "../src/h264bsd_deblocking.c"
 var $91=$3; //@line 1415 "../src/h264bsd_deblocking.c"
 var $92=$91&2; //@line 1415 "../src/h264bsd_deblocking.c"
 var $93=($92|0)!=0; //@line 1415 "../src/h264bsd_deblocking.c"
 if($93){label=18;break;}else{label=34;break;} //@line 1415 "../src/h264bsd_deblocking.c"
 case 18: 
 var $95=$2; //@line 1417 "../src/h264bsd_deblocking.c"
 var $96=(($95+204)|0); //@line 1417 "../src/h264bsd_deblocking.c"
 var $97=HEAP32[(($96)>>2)]; //@line 1417 "../src/h264bsd_deblocking.c"
 var $98=(($97+20)|0); //@line 1417 "../src/h264bsd_deblocking.c"
 var $99=HEAP32[(($98)>>2)]; //@line 1417 "../src/h264bsd_deblocking.c"
 $qpTmp=$99; //@line 1417 "../src/h264bsd_deblocking.c"
 var $100=$qpTmp; //@line 1418 "../src/h264bsd_deblocking.c"
 var $101=$qp; //@line 1418 "../src/h264bsd_deblocking.c"
 var $102=($100|0)!=($101|0); //@line 1418 "../src/h264bsd_deblocking.c"
 if($102){label=19;break;}else{label=32;break;} //@line 1418 "../src/h264bsd_deblocking.c"
 case 19: 
 var $104=$qp; //@line 1420 "../src/h264bsd_deblocking.c"
 var $105=$qpTmp; //@line 1420 "../src/h264bsd_deblocking.c"
 var $106=((($104)+($105))|0); //@line 1420 "../src/h264bsd_deblocking.c"
 var $107=((($106)+(1))|0); //@line 1420 "../src/h264bsd_deblocking.c"
 var $108=$107>>>1; //@line 1420 "../src/h264bsd_deblocking.c"
 $qpAv=$108; //@line 1420 "../src/h264bsd_deblocking.c"
 var $109=$qpAv; //@line 1422 "../src/h264bsd_deblocking.c"
 var $110=$2; //@line 1422 "../src/h264bsd_deblocking.c"
 var $111=(($110+12)|0); //@line 1422 "../src/h264bsd_deblocking.c"
 var $112=HEAP32[(($111)>>2)]; //@line 1422 "../src/h264bsd_deblocking.c"
 var $113=((($109)+($112))|0); //@line 1422 "../src/h264bsd_deblocking.c"
 var $114=($113|0)<0; //@line 1422 "../src/h264bsd_deblocking.c"
 if($114){label=20;break;}else{label=21;break;} //@line 1422 "../src/h264bsd_deblocking.c"
 case 20: 
 var $133=0;label=25;break; //@line 1422 "../src/h264bsd_deblocking.c"
 case 21: 
 var $117=$qpAv; //@line 1422 "../src/h264bsd_deblocking.c"
 var $118=$2; //@line 1422 "../src/h264bsd_deblocking.c"
 var $119=(($118+12)|0); //@line 1422 "../src/h264bsd_deblocking.c"
 var $120=HEAP32[(($119)>>2)]; //@line 1422 "../src/h264bsd_deblocking.c"
 var $121=((($117)+($120))|0); //@line 1422 "../src/h264bsd_deblocking.c"
 var $122=($121|0)>51; //@line 1422 "../src/h264bsd_deblocking.c"
 if($122){label=22;break;}else{label=23;break;} //@line 1422 "../src/h264bsd_deblocking.c"
 case 22: 
 var $131=51;label=24;break; //@line 1422 "../src/h264bsd_deblocking.c"
 case 23: 
 var $125=$qpAv; //@line 1422 "../src/h264bsd_deblocking.c"
 var $126=$2; //@line 1422 "../src/h264bsd_deblocking.c"
 var $127=(($126+12)|0); //@line 1422 "../src/h264bsd_deblocking.c"
 var $128=HEAP32[(($127)>>2)]; //@line 1422 "../src/h264bsd_deblocking.c"
 var $129=((($125)+($128))|0); //@line 1422 "../src/h264bsd_deblocking.c"
 var $131=$129;label=24;break; //@line 1422 "../src/h264bsd_deblocking.c"
 case 24: 
 var $131; //@line 1422 "../src/h264bsd_deblocking.c"
 var $133=$131;label=25;break; //@line 1422 "../src/h264bsd_deblocking.c"
 case 25: 
 var $133; //@line 1422 "../src/h264bsd_deblocking.c"
 $indexA=$133; //@line 1422 "../src/h264bsd_deblocking.c"
 var $134=$qpAv; //@line 1423 "../src/h264bsd_deblocking.c"
 var $135=$2; //@line 1423 "../src/h264bsd_deblocking.c"
 var $136=(($135+16)|0); //@line 1423 "../src/h264bsd_deblocking.c"
 var $137=HEAP32[(($136)>>2)]; //@line 1423 "../src/h264bsd_deblocking.c"
 var $138=((($134)+($137))|0); //@line 1423 "../src/h264bsd_deblocking.c"
 var $139=($138|0)<0; //@line 1423 "../src/h264bsd_deblocking.c"
 if($139){label=26;break;}else{label=27;break;} //@line 1423 "../src/h264bsd_deblocking.c"
 case 26: 
 var $158=0;label=31;break; //@line 1423 "../src/h264bsd_deblocking.c"
 case 27: 
 var $142=$qpAv; //@line 1423 "../src/h264bsd_deblocking.c"
 var $143=$2; //@line 1423 "../src/h264bsd_deblocking.c"
 var $144=(($143+16)|0); //@line 1423 "../src/h264bsd_deblocking.c"
 var $145=HEAP32[(($144)>>2)]; //@line 1423 "../src/h264bsd_deblocking.c"
 var $146=((($142)+($145))|0); //@line 1423 "../src/h264bsd_deblocking.c"
 var $147=($146|0)>51; //@line 1423 "../src/h264bsd_deblocking.c"
 if($147){label=28;break;}else{label=29;break;} //@line 1423 "../src/h264bsd_deblocking.c"
 case 28: 
 var $156=51;label=30;break; //@line 1423 "../src/h264bsd_deblocking.c"
 case 29: 
 var $150=$qpAv; //@line 1423 "../src/h264bsd_deblocking.c"
 var $151=$2; //@line 1423 "../src/h264bsd_deblocking.c"
 var $152=(($151+16)|0); //@line 1423 "../src/h264bsd_deblocking.c"
 var $153=HEAP32[(($152)>>2)]; //@line 1423 "../src/h264bsd_deblocking.c"
 var $154=((($150)+($153))|0); //@line 1423 "../src/h264bsd_deblocking.c"
 var $156=$154;label=30;break; //@line 1423 "../src/h264bsd_deblocking.c"
 case 30: 
 var $156; //@line 1423 "../src/h264bsd_deblocking.c"
 var $158=$156;label=31;break; //@line 1423 "../src/h264bsd_deblocking.c"
 case 31: 
 var $158; //@line 1423 "../src/h264bsd_deblocking.c"
 $indexB=$158; //@line 1423 "../src/h264bsd_deblocking.c"
 var $159=$indexA; //@line 1425 "../src/h264bsd_deblocking.c"
 var $160=((4296+$159)|0); //@line 1425 "../src/h264bsd_deblocking.c"
 var $161=HEAP8[($160)]; //@line 1425 "../src/h264bsd_deblocking.c"
 var $162=($161&255); //@line 1425 "../src/h264bsd_deblocking.c"
 var $163=$1; //@line 1425 "../src/h264bsd_deblocking.c"
 var $164=(($163)|0); //@line 1425 "../src/h264bsd_deblocking.c"
 var $165=(($164+4)|0); //@line 1425 "../src/h264bsd_deblocking.c"
 HEAP32[(($165)>>2)]=$162; //@line 1425 "../src/h264bsd_deblocking.c"
 var $166=$indexB; //@line 1426 "../src/h264bsd_deblocking.c"
 var $167=((4240+$166)|0); //@line 1426 "../src/h264bsd_deblocking.c"
 var $168=HEAP8[($167)]; //@line 1426 "../src/h264bsd_deblocking.c"
 var $169=($168&255); //@line 1426 "../src/h264bsd_deblocking.c"
 var $170=$1; //@line 1426 "../src/h264bsd_deblocking.c"
 var $171=(($170)|0); //@line 1426 "../src/h264bsd_deblocking.c"
 var $172=(($171+8)|0); //@line 1426 "../src/h264bsd_deblocking.c"
 HEAP32[(($172)>>2)]=$169; //@line 1426 "../src/h264bsd_deblocking.c"
 var $173=$indexA; //@line 1427 "../src/h264bsd_deblocking.c"
 var $174=((600+((($173)*(3))&-1))|0); //@line 1427 "../src/h264bsd_deblocking.c"
 var $175=(($174)|0); //@line 1427 "../src/h264bsd_deblocking.c"
 var $176=$1; //@line 1427 "../src/h264bsd_deblocking.c"
 var $177=(($176)|0); //@line 1427 "../src/h264bsd_deblocking.c"
 var $178=(($177)|0); //@line 1427 "../src/h264bsd_deblocking.c"
 HEAP32[(($178)>>2)]=$175; //@line 1427 "../src/h264bsd_deblocking.c"
 label=33;break; //@line 1428 "../src/h264bsd_deblocking.c"
 case 32: 
 var $180=$1; //@line 1431 "../src/h264bsd_deblocking.c"
 var $181=(($180+24)|0); //@line 1431 "../src/h264bsd_deblocking.c"
 var $182=(($181+4)|0); //@line 1431 "../src/h264bsd_deblocking.c"
 var $183=HEAP32[(($182)>>2)]; //@line 1431 "../src/h264bsd_deblocking.c"
 var $184=$1; //@line 1431 "../src/h264bsd_deblocking.c"
 var $185=(($184)|0); //@line 1431 "../src/h264bsd_deblocking.c"
 var $186=(($185+4)|0); //@line 1431 "../src/h264bsd_deblocking.c"
 HEAP32[(($186)>>2)]=$183; //@line 1431 "../src/h264bsd_deblocking.c"
 var $187=$1; //@line 1432 "../src/h264bsd_deblocking.c"
 var $188=(($187+24)|0); //@line 1432 "../src/h264bsd_deblocking.c"
 var $189=(($188+8)|0); //@line 1432 "../src/h264bsd_deblocking.c"
 var $190=HEAP32[(($189)>>2)]; //@line 1432 "../src/h264bsd_deblocking.c"
 var $191=$1; //@line 1432 "../src/h264bsd_deblocking.c"
 var $192=(($191)|0); //@line 1432 "../src/h264bsd_deblocking.c"
 var $193=(($192+8)|0); //@line 1432 "../src/h264bsd_deblocking.c"
 HEAP32[(($193)>>2)]=$190; //@line 1432 "../src/h264bsd_deblocking.c"
 var $194=$1; //@line 1433 "../src/h264bsd_deblocking.c"
 var $195=(($194+24)|0); //@line 1433 "../src/h264bsd_deblocking.c"
 var $196=(($195)|0); //@line 1433 "../src/h264bsd_deblocking.c"
 var $197=HEAP32[(($196)>>2)]; //@line 1433 "../src/h264bsd_deblocking.c"
 var $198=$1; //@line 1433 "../src/h264bsd_deblocking.c"
 var $199=(($198)|0); //@line 1433 "../src/h264bsd_deblocking.c"
 var $200=(($199)|0); //@line 1433 "../src/h264bsd_deblocking.c"
 HEAP32[(($200)>>2)]=$197; //@line 1433 "../src/h264bsd_deblocking.c"
 label=33;break;
 case 33: 
 label=34;break; //@line 1435 "../src/h264bsd_deblocking.c"
 case 34: 
 var $203=$3; //@line 1436 "../src/h264bsd_deblocking.c"
 var $204=$203&4; //@line 1436 "../src/h264bsd_deblocking.c"
 var $205=($204|0)!=0; //@line 1436 "../src/h264bsd_deblocking.c"
 if($205){label=35;break;}else{label=51;break;} //@line 1436 "../src/h264bsd_deblocking.c"
 case 35: 
 var $207=$2; //@line 1438 "../src/h264bsd_deblocking.c"
 var $208=(($207+200)|0); //@line 1438 "../src/h264bsd_deblocking.c"
 var $209=HEAP32[(($208)>>2)]; //@line 1438 "../src/h264bsd_deblocking.c"
 var $210=(($209+20)|0); //@line 1438 "../src/h264bsd_deblocking.c"
 var $211=HEAP32[(($210)>>2)]; //@line 1438 "../src/h264bsd_deblocking.c"
 $qpTmp=$211; //@line 1438 "../src/h264bsd_deblocking.c"
 var $212=$qpTmp; //@line 1439 "../src/h264bsd_deblocking.c"
 var $213=$qp; //@line 1439 "../src/h264bsd_deblocking.c"
 var $214=($212|0)!=($213|0); //@line 1439 "../src/h264bsd_deblocking.c"
 if($214){label=36;break;}else{label=49;break;} //@line 1439 "../src/h264bsd_deblocking.c"
 case 36: 
 var $216=$qp; //@line 1441 "../src/h264bsd_deblocking.c"
 var $217=$qpTmp; //@line 1441 "../src/h264bsd_deblocking.c"
 var $218=((($216)+($217))|0); //@line 1441 "../src/h264bsd_deblocking.c"
 var $219=((($218)+(1))|0); //@line 1441 "../src/h264bsd_deblocking.c"
 var $220=$219>>>1; //@line 1441 "../src/h264bsd_deblocking.c"
 $qpAv=$220; //@line 1441 "../src/h264bsd_deblocking.c"
 var $221=$qpAv; //@line 1443 "../src/h264bsd_deblocking.c"
 var $222=$2; //@line 1443 "../src/h264bsd_deblocking.c"
 var $223=(($222+12)|0); //@line 1443 "../src/h264bsd_deblocking.c"
 var $224=HEAP32[(($223)>>2)]; //@line 1443 "../src/h264bsd_deblocking.c"
 var $225=((($221)+($224))|0); //@line 1443 "../src/h264bsd_deblocking.c"
 var $226=($225|0)<0; //@line 1443 "../src/h264bsd_deblocking.c"
 if($226){label=37;break;}else{label=38;break;} //@line 1443 "../src/h264bsd_deblocking.c"
 case 37: 
 var $245=0;label=42;break; //@line 1443 "../src/h264bsd_deblocking.c"
 case 38: 
 var $229=$qpAv; //@line 1443 "../src/h264bsd_deblocking.c"
 var $230=$2; //@line 1443 "../src/h264bsd_deblocking.c"
 var $231=(($230+12)|0); //@line 1443 "../src/h264bsd_deblocking.c"
 var $232=HEAP32[(($231)>>2)]; //@line 1443 "../src/h264bsd_deblocking.c"
 var $233=((($229)+($232))|0); //@line 1443 "../src/h264bsd_deblocking.c"
 var $234=($233|0)>51; //@line 1443 "../src/h264bsd_deblocking.c"
 if($234){label=39;break;}else{label=40;break;} //@line 1443 "../src/h264bsd_deblocking.c"
 case 39: 
 var $243=51;label=41;break; //@line 1443 "../src/h264bsd_deblocking.c"
 case 40: 
 var $237=$qpAv; //@line 1443 "../src/h264bsd_deblocking.c"
 var $238=$2; //@line 1443 "../src/h264bsd_deblocking.c"
 var $239=(($238+12)|0); //@line 1443 "../src/h264bsd_deblocking.c"
 var $240=HEAP32[(($239)>>2)]; //@line 1443 "../src/h264bsd_deblocking.c"
 var $241=((($237)+($240))|0); //@line 1443 "../src/h264bsd_deblocking.c"
 var $243=$241;label=41;break; //@line 1443 "../src/h264bsd_deblocking.c"
 case 41: 
 var $243; //@line 1443 "../src/h264bsd_deblocking.c"
 var $245=$243;label=42;break; //@line 1443 "../src/h264bsd_deblocking.c"
 case 42: 
 var $245; //@line 1443 "../src/h264bsd_deblocking.c"
 $indexA=$245; //@line 1443 "../src/h264bsd_deblocking.c"
 var $246=$qpAv; //@line 1444 "../src/h264bsd_deblocking.c"
 var $247=$2; //@line 1444 "../src/h264bsd_deblocking.c"
 var $248=(($247+16)|0); //@line 1444 "../src/h264bsd_deblocking.c"
 var $249=HEAP32[(($248)>>2)]; //@line 1444 "../src/h264bsd_deblocking.c"
 var $250=((($246)+($249))|0); //@line 1444 "../src/h264bsd_deblocking.c"
 var $251=($250|0)<0; //@line 1444 "../src/h264bsd_deblocking.c"
 if($251){label=43;break;}else{label=44;break;} //@line 1444 "../src/h264bsd_deblocking.c"
 case 43: 
 var $270=0;label=48;break; //@line 1444 "../src/h264bsd_deblocking.c"
 case 44: 
 var $254=$qpAv; //@line 1444 "../src/h264bsd_deblocking.c"
 var $255=$2; //@line 1444 "../src/h264bsd_deblocking.c"
 var $256=(($255+16)|0); //@line 1444 "../src/h264bsd_deblocking.c"
 var $257=HEAP32[(($256)>>2)]; //@line 1444 "../src/h264bsd_deblocking.c"
 var $258=((($254)+($257))|0); //@line 1444 "../src/h264bsd_deblocking.c"
 var $259=($258|0)>51; //@line 1444 "../src/h264bsd_deblocking.c"
 if($259){label=45;break;}else{label=46;break;} //@line 1444 "../src/h264bsd_deblocking.c"
 case 45: 
 var $268=51;label=47;break; //@line 1444 "../src/h264bsd_deblocking.c"
 case 46: 
 var $262=$qpAv; //@line 1444 "../src/h264bsd_deblocking.c"
 var $263=$2; //@line 1444 "../src/h264bsd_deblocking.c"
 var $264=(($263+16)|0); //@line 1444 "../src/h264bsd_deblocking.c"
 var $265=HEAP32[(($264)>>2)]; //@line 1444 "../src/h264bsd_deblocking.c"
 var $266=((($262)+($265))|0); //@line 1444 "../src/h264bsd_deblocking.c"
 var $268=$266;label=47;break; //@line 1444 "../src/h264bsd_deblocking.c"
 case 47: 
 var $268; //@line 1444 "../src/h264bsd_deblocking.c"
 var $270=$268;label=48;break; //@line 1444 "../src/h264bsd_deblocking.c"
 case 48: 
 var $270; //@line 1444 "../src/h264bsd_deblocking.c"
 $indexB=$270; //@line 1444 "../src/h264bsd_deblocking.c"
 var $271=$indexA; //@line 1446 "../src/h264bsd_deblocking.c"
 var $272=((4296+$271)|0); //@line 1446 "../src/h264bsd_deblocking.c"
 var $273=HEAP8[($272)]; //@line 1446 "../src/h264bsd_deblocking.c"
 var $274=($273&255); //@line 1446 "../src/h264bsd_deblocking.c"
 var $275=$1; //@line 1446 "../src/h264bsd_deblocking.c"
 var $276=(($275+12)|0); //@line 1446 "../src/h264bsd_deblocking.c"
 var $277=(($276+4)|0); //@line 1446 "../src/h264bsd_deblocking.c"
 HEAP32[(($277)>>2)]=$274; //@line 1446 "../src/h264bsd_deblocking.c"
 var $278=$indexB; //@line 1447 "../src/h264bsd_deblocking.c"
 var $279=((4240+$278)|0); //@line 1447 "../src/h264bsd_deblocking.c"
 var $280=HEAP8[($279)]; //@line 1447 "../src/h264bsd_deblocking.c"
 var $281=($280&255); //@line 1447 "../src/h264bsd_deblocking.c"
 var $282=$1; //@line 1447 "../src/h264bsd_deblocking.c"
 var $283=(($282+12)|0); //@line 1447 "../src/h264bsd_deblocking.c"
 var $284=(($283+8)|0); //@line 1447 "../src/h264bsd_deblocking.c"
 HEAP32[(($284)>>2)]=$281; //@line 1447 "../src/h264bsd_deblocking.c"
 var $285=$indexA; //@line 1448 "../src/h264bsd_deblocking.c"
 var $286=((600+((($285)*(3))&-1))|0); //@line 1448 "../src/h264bsd_deblocking.c"
 var $287=(($286)|0); //@line 1448 "../src/h264bsd_deblocking.c"
 var $288=$1; //@line 1448 "../src/h264bsd_deblocking.c"
 var $289=(($288+12)|0); //@line 1448 "../src/h264bsd_deblocking.c"
 var $290=(($289)|0); //@line 1448 "../src/h264bsd_deblocking.c"
 HEAP32[(($290)>>2)]=$287; //@line 1448 "../src/h264bsd_deblocking.c"
 label=50;break; //@line 1449 "../src/h264bsd_deblocking.c"
 case 49: 
 var $292=$1; //@line 1452 "../src/h264bsd_deblocking.c"
 var $293=(($292+24)|0); //@line 1452 "../src/h264bsd_deblocking.c"
 var $294=(($293+4)|0); //@line 1452 "../src/h264bsd_deblocking.c"
 var $295=HEAP32[(($294)>>2)]; //@line 1452 "../src/h264bsd_deblocking.c"
 var $296=$1; //@line 1452 "../src/h264bsd_deblocking.c"
 var $297=(($296+12)|0); //@line 1452 "../src/h264bsd_deblocking.c"
 var $298=(($297+4)|0); //@line 1452 "../src/h264bsd_deblocking.c"
 HEAP32[(($298)>>2)]=$295; //@line 1452 "../src/h264bsd_deblocking.c"
 var $299=$1; //@line 1453 "../src/h264bsd_deblocking.c"
 var $300=(($299+24)|0); //@line 1453 "../src/h264bsd_deblocking.c"
 var $301=(($300+8)|0); //@line 1453 "../src/h264bsd_deblocking.c"
 var $302=HEAP32[(($301)>>2)]; //@line 1453 "../src/h264bsd_deblocking.c"
 var $303=$1; //@line 1453 "../src/h264bsd_deblocking.c"
 var $304=(($303+12)|0); //@line 1453 "../src/h264bsd_deblocking.c"
 var $305=(($304+8)|0); //@line 1453 "../src/h264bsd_deblocking.c"
 HEAP32[(($305)>>2)]=$302; //@line 1453 "../src/h264bsd_deblocking.c"
 var $306=$1; //@line 1454 "../src/h264bsd_deblocking.c"
 var $307=(($306+24)|0); //@line 1454 "../src/h264bsd_deblocking.c"
 var $308=(($307)|0); //@line 1454 "../src/h264bsd_deblocking.c"
 var $309=HEAP32[(($308)>>2)]; //@line 1454 "../src/h264bsd_deblocking.c"
 var $310=$1; //@line 1454 "../src/h264bsd_deblocking.c"
 var $311=(($310+12)|0); //@line 1454 "../src/h264bsd_deblocking.c"
 var $312=(($311)|0); //@line 1454 "../src/h264bsd_deblocking.c"
 HEAP32[(($312)>>2)]=$309; //@line 1454 "../src/h264bsd_deblocking.c"
 label=50;break;
 case 50: 
 label=51;break; //@line 1456 "../src/h264bsd_deblocking.c"
 case 51: 
 STACKTOP=sp;return; //@line 1458 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterLuma($data,$bS,$thresholds,$width){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $vblock;
 var $tmp;
 var $ptr;
 var $offset;
 $1=$data;
 $2=$bS;
 $3=$thresholds;
 $4=$width;
 var $5=$1; //@line 1567 "../src/h264bsd_deblocking.c"
 var $6=($5|0)!=0; //@line 1567 "../src/h264bsd_deblocking.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 1567 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(12344,11664,1567,16008); //@line 1567 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1567 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 1567 "../src/h264bsd_deblocking.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 1567 "../src/h264bsd_deblocking.c"
 var $12=$2; //@line 1568 "../src/h264bsd_deblocking.c"
 var $13=($12|0)!=0; //@line 1568 "../src/h264bsd_deblocking.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 1568 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(5016,11664,1568,16008); //@line 1568 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1568 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 1568 "../src/h264bsd_deblocking.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 1568 "../src/h264bsd_deblocking.c"
 var $19=$3; //@line 1569 "../src/h264bsd_deblocking.c"
 var $20=($19|0)!=0; //@line 1569 "../src/h264bsd_deblocking.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 1569 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(4568,11664,1569,16008); //@line 1569 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1569 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 1569 "../src/h264bsd_deblocking.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 1569 "../src/h264bsd_deblocking.c"
 var $26=$1; //@line 1571 "../src/h264bsd_deblocking.c"
 $ptr=$26; //@line 1571 "../src/h264bsd_deblocking.c"
 var $27=$2; //@line 1572 "../src/h264bsd_deblocking.c"
 $tmp=$27; //@line 1572 "../src/h264bsd_deblocking.c"
 $offset=0; //@line 1574 "../src/h264bsd_deblocking.c"
 $vblock=4; //@line 1578 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 1578 "../src/h264bsd_deblocking.c"
 case 8: 
 var $29=$vblock; //@line 1578 "../src/h264bsd_deblocking.c"
 var $30=((($29)-(1))|0); //@line 1578 "../src/h264bsd_deblocking.c"
 $vblock=$30; //@line 1578 "../src/h264bsd_deblocking.c"
 var $31=($29|0)!=0; //@line 1578 "../src/h264bsd_deblocking.c"
 if($31){label=9;break;}else{label=33;break;} //@line 1578 "../src/h264bsd_deblocking.c"
 case 9: 
 var $33=$tmp; //@line 1583 "../src/h264bsd_deblocking.c"
 var $34=(($33)|0); //@line 1583 "../src/h264bsd_deblocking.c"
 var $35=(($34+4)|0); //@line 1583 "../src/h264bsd_deblocking.c"
 var $36=HEAP32[(($35)>>2)]; //@line 1583 "../src/h264bsd_deblocking.c"
 var $37=($36|0)!=0; //@line 1583 "../src/h264bsd_deblocking.c"
 if($37){label=10;break;}else{label=11;break;} //@line 1583 "../src/h264bsd_deblocking.c"
 case 10: 
 var $39=$ptr; //@line 1584 "../src/h264bsd_deblocking.c"
 var $40=$tmp; //@line 1584 "../src/h264bsd_deblocking.c"
 var $41=(($40)|0); //@line 1584 "../src/h264bsd_deblocking.c"
 var $42=(($41+4)|0); //@line 1584 "../src/h264bsd_deblocking.c"
 var $43=HEAP32[(($42)>>2)]; //@line 1584 "../src/h264bsd_deblocking.c"
 var $44=$3; //@line 1584 "../src/h264bsd_deblocking.c"
 var $45=(($44+12)|0); //@line 1584 "../src/h264bsd_deblocking.c"
 var $46=$4; //@line 1584 "../src/h264bsd_deblocking.c"
 _FilterVerLumaEdge($39,$43,$45,$46); //@line 1584 "../src/h264bsd_deblocking.c"
 label=11;break; //@line 1584 "../src/h264bsd_deblocking.c"
 case 11: 
 var $48=$tmp; //@line 1585 "../src/h264bsd_deblocking.c"
 var $49=(($48+8)|0); //@line 1585 "../src/h264bsd_deblocking.c"
 var $50=(($49+4)|0); //@line 1585 "../src/h264bsd_deblocking.c"
 var $51=HEAP32[(($50)>>2)]; //@line 1585 "../src/h264bsd_deblocking.c"
 var $52=($51|0)!=0; //@line 1585 "../src/h264bsd_deblocking.c"
 if($52){label=12;break;}else{label=13;break;} //@line 1585 "../src/h264bsd_deblocking.c"
 case 12: 
 var $54=$ptr; //@line 1586 "../src/h264bsd_deblocking.c"
 var $55=(($54+4)|0); //@line 1586 "../src/h264bsd_deblocking.c"
 var $56=$tmp; //@line 1586 "../src/h264bsd_deblocking.c"
 var $57=(($56+8)|0); //@line 1586 "../src/h264bsd_deblocking.c"
 var $58=(($57+4)|0); //@line 1586 "../src/h264bsd_deblocking.c"
 var $59=HEAP32[(($58)>>2)]; //@line 1586 "../src/h264bsd_deblocking.c"
 var $60=$3; //@line 1586 "../src/h264bsd_deblocking.c"
 var $61=(($60+24)|0); //@line 1586 "../src/h264bsd_deblocking.c"
 var $62=$4; //@line 1586 "../src/h264bsd_deblocking.c"
 _FilterVerLumaEdge($55,$59,$61,$62); //@line 1586 "../src/h264bsd_deblocking.c"
 label=13;break; //@line 1586 "../src/h264bsd_deblocking.c"
 case 13: 
 var $64=$tmp; //@line 1587 "../src/h264bsd_deblocking.c"
 var $65=(($64+16)|0); //@line 1587 "../src/h264bsd_deblocking.c"
 var $66=(($65+4)|0); //@line 1587 "../src/h264bsd_deblocking.c"
 var $67=HEAP32[(($66)>>2)]; //@line 1587 "../src/h264bsd_deblocking.c"
 var $68=($67|0)!=0; //@line 1587 "../src/h264bsd_deblocking.c"
 if($68){label=14;break;}else{label=15;break;} //@line 1587 "../src/h264bsd_deblocking.c"
 case 14: 
 var $70=$ptr; //@line 1588 "../src/h264bsd_deblocking.c"
 var $71=(($70+8)|0); //@line 1588 "../src/h264bsd_deblocking.c"
 var $72=$tmp; //@line 1588 "../src/h264bsd_deblocking.c"
 var $73=(($72+16)|0); //@line 1588 "../src/h264bsd_deblocking.c"
 var $74=(($73+4)|0); //@line 1588 "../src/h264bsd_deblocking.c"
 var $75=HEAP32[(($74)>>2)]; //@line 1588 "../src/h264bsd_deblocking.c"
 var $76=$3; //@line 1588 "../src/h264bsd_deblocking.c"
 var $77=(($76+24)|0); //@line 1588 "../src/h264bsd_deblocking.c"
 var $78=$4; //@line 1588 "../src/h264bsd_deblocking.c"
 _FilterVerLumaEdge($71,$75,$77,$78); //@line 1588 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 1588 "../src/h264bsd_deblocking.c"
 case 15: 
 var $80=$tmp; //@line 1589 "../src/h264bsd_deblocking.c"
 var $81=(($80+24)|0); //@line 1589 "../src/h264bsd_deblocking.c"
 var $82=(($81+4)|0); //@line 1589 "../src/h264bsd_deblocking.c"
 var $83=HEAP32[(($82)>>2)]; //@line 1589 "../src/h264bsd_deblocking.c"
 var $84=($83|0)!=0; //@line 1589 "../src/h264bsd_deblocking.c"
 if($84){label=16;break;}else{label=17;break;} //@line 1589 "../src/h264bsd_deblocking.c"
 case 16: 
 var $86=$ptr; //@line 1590 "../src/h264bsd_deblocking.c"
 var $87=(($86+12)|0); //@line 1590 "../src/h264bsd_deblocking.c"
 var $88=$tmp; //@line 1590 "../src/h264bsd_deblocking.c"
 var $89=(($88+24)|0); //@line 1590 "../src/h264bsd_deblocking.c"
 var $90=(($89+4)|0); //@line 1590 "../src/h264bsd_deblocking.c"
 var $91=HEAP32[(($90)>>2)]; //@line 1590 "../src/h264bsd_deblocking.c"
 var $92=$3; //@line 1590 "../src/h264bsd_deblocking.c"
 var $93=(($92+24)|0); //@line 1590 "../src/h264bsd_deblocking.c"
 var $94=$4; //@line 1590 "../src/h264bsd_deblocking.c"
 _FilterVerLumaEdge($87,$91,$93,$94); //@line 1590 "../src/h264bsd_deblocking.c"
 label=17;break; //@line 1590 "../src/h264bsd_deblocking.c"
 case 17: 
 var $96=$tmp; //@line 1596 "../src/h264bsd_deblocking.c"
 var $97=(($96)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $98=(($97)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $99=HEAP32[(($98)>>2)]; //@line 1596 "../src/h264bsd_deblocking.c"
 var $100=$tmp; //@line 1596 "../src/h264bsd_deblocking.c"
 var $101=(($100+8)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $102=(($101)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $103=HEAP32[(($102)>>2)]; //@line 1596 "../src/h264bsd_deblocking.c"
 var $104=($99|0)==($103|0); //@line 1596 "../src/h264bsd_deblocking.c"
 if($104){label=18;break;}else{label=23;break;} //@line 1596 "../src/h264bsd_deblocking.c"
 case 18: 
 var $106=$tmp; //@line 1596 "../src/h264bsd_deblocking.c"
 var $107=(($106+8)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $108=(($107)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $109=HEAP32[(($108)>>2)]; //@line 1596 "../src/h264bsd_deblocking.c"
 var $110=$tmp; //@line 1596 "../src/h264bsd_deblocking.c"
 var $111=(($110+16)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $112=(($111)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $113=HEAP32[(($112)>>2)]; //@line 1596 "../src/h264bsd_deblocking.c"
 var $114=($109|0)==($113|0); //@line 1596 "../src/h264bsd_deblocking.c"
 if($114){label=19;break;}else{label=23;break;} //@line 1596 "../src/h264bsd_deblocking.c"
 case 19: 
 var $116=$tmp; //@line 1596 "../src/h264bsd_deblocking.c"
 var $117=(($116+16)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $118=(($117)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $119=HEAP32[(($118)>>2)]; //@line 1596 "../src/h264bsd_deblocking.c"
 var $120=$tmp; //@line 1596 "../src/h264bsd_deblocking.c"
 var $121=(($120+24)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $122=(($121)|0); //@line 1596 "../src/h264bsd_deblocking.c"
 var $123=HEAP32[(($122)>>2)]; //@line 1596 "../src/h264bsd_deblocking.c"
 var $124=($119|0)==($123|0); //@line 1596 "../src/h264bsd_deblocking.c"
 if($124){label=20;break;}else{label=23;break;} //@line 1596 "../src/h264bsd_deblocking.c"
 case 20: 
 var $126=$tmp; //@line 1599 "../src/h264bsd_deblocking.c"
 var $127=(($126)|0); //@line 1599 "../src/h264bsd_deblocking.c"
 var $128=(($127)|0); //@line 1599 "../src/h264bsd_deblocking.c"
 var $129=HEAP32[(($128)>>2)]; //@line 1599 "../src/h264bsd_deblocking.c"
 var $130=($129|0)!=0; //@line 1599 "../src/h264bsd_deblocking.c"
 if($130){label=21;break;}else{label=22;break;} //@line 1599 "../src/h264bsd_deblocking.c"
 case 21: 
 var $132=$ptr; //@line 1600 "../src/h264bsd_deblocking.c"
 var $133=$tmp; //@line 1600 "../src/h264bsd_deblocking.c"
 var $134=(($133)|0); //@line 1600 "../src/h264bsd_deblocking.c"
 var $135=(($134)|0); //@line 1600 "../src/h264bsd_deblocking.c"
 var $136=HEAP32[(($135)>>2)]; //@line 1600 "../src/h264bsd_deblocking.c"
 var $137=$3; //@line 1600 "../src/h264bsd_deblocking.c"
 var $138=$offset; //@line 1600 "../src/h264bsd_deblocking.c"
 var $139=(($137+((($138)*(12))&-1))|0); //@line 1600 "../src/h264bsd_deblocking.c"
 var $140=$4; //@line 1600 "../src/h264bsd_deblocking.c"
 _FilterHorLuma($132,$136,$139,$140); //@line 1600 "../src/h264bsd_deblocking.c"
 label=22;break; //@line 1600 "../src/h264bsd_deblocking.c"
 case 22: 
 label=32;break; //@line 1601 "../src/h264bsd_deblocking.c"
 case 23: 
 var $143=$tmp; //@line 1604 "../src/h264bsd_deblocking.c"
 var $144=(($143)|0); //@line 1604 "../src/h264bsd_deblocking.c"
 var $145=(($144)|0); //@line 1604 "../src/h264bsd_deblocking.c"
 var $146=HEAP32[(($145)>>2)]; //@line 1604 "../src/h264bsd_deblocking.c"
 var $147=($146|0)!=0; //@line 1604 "../src/h264bsd_deblocking.c"
 if($147){label=24;break;}else{label=25;break;} //@line 1604 "../src/h264bsd_deblocking.c"
 case 24: 
 var $149=$ptr; //@line 1605 "../src/h264bsd_deblocking.c"
 var $150=$tmp; //@line 1605 "../src/h264bsd_deblocking.c"
 var $151=(($150)|0); //@line 1605 "../src/h264bsd_deblocking.c"
 var $152=(($151)|0); //@line 1605 "../src/h264bsd_deblocking.c"
 var $153=HEAP32[(($152)>>2)]; //@line 1605 "../src/h264bsd_deblocking.c"
 var $154=$3; //@line 1605 "../src/h264bsd_deblocking.c"
 var $155=$offset; //@line 1605 "../src/h264bsd_deblocking.c"
 var $156=(($154+((($155)*(12))&-1))|0); //@line 1605 "../src/h264bsd_deblocking.c"
 var $157=$4; //@line 1605 "../src/h264bsd_deblocking.c"
 _FilterHorLumaEdge($149,$153,$156,$157); //@line 1605 "../src/h264bsd_deblocking.c"
 label=25;break; //@line 1605 "../src/h264bsd_deblocking.c"
 case 25: 
 var $159=$tmp; //@line 1607 "../src/h264bsd_deblocking.c"
 var $160=(($159+8)|0); //@line 1607 "../src/h264bsd_deblocking.c"
 var $161=(($160)|0); //@line 1607 "../src/h264bsd_deblocking.c"
 var $162=HEAP32[(($161)>>2)]; //@line 1607 "../src/h264bsd_deblocking.c"
 var $163=($162|0)!=0; //@line 1607 "../src/h264bsd_deblocking.c"
 if($163){label=26;break;}else{label=27;break;} //@line 1607 "../src/h264bsd_deblocking.c"
 case 26: 
 var $165=$ptr; //@line 1608 "../src/h264bsd_deblocking.c"
 var $166=(($165+4)|0); //@line 1608 "../src/h264bsd_deblocking.c"
 var $167=$tmp; //@line 1608 "../src/h264bsd_deblocking.c"
 var $168=(($167+8)|0); //@line 1608 "../src/h264bsd_deblocking.c"
 var $169=(($168)|0); //@line 1608 "../src/h264bsd_deblocking.c"
 var $170=HEAP32[(($169)>>2)]; //@line 1608 "../src/h264bsd_deblocking.c"
 var $171=$3; //@line 1608 "../src/h264bsd_deblocking.c"
 var $172=$offset; //@line 1608 "../src/h264bsd_deblocking.c"
 var $173=(($171+((($172)*(12))&-1))|0); //@line 1608 "../src/h264bsd_deblocking.c"
 var $174=$4; //@line 1608 "../src/h264bsd_deblocking.c"
 _FilterHorLumaEdge($166,$170,$173,$174); //@line 1608 "../src/h264bsd_deblocking.c"
 label=27;break; //@line 1608 "../src/h264bsd_deblocking.c"
 case 27: 
 var $176=$tmp; //@line 1610 "../src/h264bsd_deblocking.c"
 var $177=(($176+16)|0); //@line 1610 "../src/h264bsd_deblocking.c"
 var $178=(($177)|0); //@line 1610 "../src/h264bsd_deblocking.c"
 var $179=HEAP32[(($178)>>2)]; //@line 1610 "../src/h264bsd_deblocking.c"
 var $180=($179|0)!=0; //@line 1610 "../src/h264bsd_deblocking.c"
 if($180){label=28;break;}else{label=29;break;} //@line 1610 "../src/h264bsd_deblocking.c"
 case 28: 
 var $182=$ptr; //@line 1611 "../src/h264bsd_deblocking.c"
 var $183=(($182+8)|0); //@line 1611 "../src/h264bsd_deblocking.c"
 var $184=$tmp; //@line 1611 "../src/h264bsd_deblocking.c"
 var $185=(($184+16)|0); //@line 1611 "../src/h264bsd_deblocking.c"
 var $186=(($185)|0); //@line 1611 "../src/h264bsd_deblocking.c"
 var $187=HEAP32[(($186)>>2)]; //@line 1611 "../src/h264bsd_deblocking.c"
 var $188=$3; //@line 1611 "../src/h264bsd_deblocking.c"
 var $189=$offset; //@line 1611 "../src/h264bsd_deblocking.c"
 var $190=(($188+((($189)*(12))&-1))|0); //@line 1611 "../src/h264bsd_deblocking.c"
 var $191=$4; //@line 1611 "../src/h264bsd_deblocking.c"
 _FilterHorLumaEdge($183,$187,$190,$191); //@line 1611 "../src/h264bsd_deblocking.c"
 label=29;break; //@line 1611 "../src/h264bsd_deblocking.c"
 case 29: 
 var $193=$tmp; //@line 1613 "../src/h264bsd_deblocking.c"
 var $194=(($193+24)|0); //@line 1613 "../src/h264bsd_deblocking.c"
 var $195=(($194)|0); //@line 1613 "../src/h264bsd_deblocking.c"
 var $196=HEAP32[(($195)>>2)]; //@line 1613 "../src/h264bsd_deblocking.c"
 var $197=($196|0)!=0; //@line 1613 "../src/h264bsd_deblocking.c"
 if($197){label=30;break;}else{label=31;break;} //@line 1613 "../src/h264bsd_deblocking.c"
 case 30: 
 var $199=$ptr; //@line 1614 "../src/h264bsd_deblocking.c"
 var $200=(($199+12)|0); //@line 1614 "../src/h264bsd_deblocking.c"
 var $201=$tmp; //@line 1614 "../src/h264bsd_deblocking.c"
 var $202=(($201+24)|0); //@line 1614 "../src/h264bsd_deblocking.c"
 var $203=(($202)|0); //@line 1614 "../src/h264bsd_deblocking.c"
 var $204=HEAP32[(($203)>>2)]; //@line 1614 "../src/h264bsd_deblocking.c"
 var $205=$3; //@line 1614 "../src/h264bsd_deblocking.c"
 var $206=$offset; //@line 1614 "../src/h264bsd_deblocking.c"
 var $207=(($205+((($206)*(12))&-1))|0); //@line 1614 "../src/h264bsd_deblocking.c"
 var $208=$4; //@line 1614 "../src/h264bsd_deblocking.c"
 _FilterHorLumaEdge($200,$204,$207,$208); //@line 1614 "../src/h264bsd_deblocking.c"
 label=31;break; //@line 1614 "../src/h264bsd_deblocking.c"
 case 31: 
 label=32;break;
 case 32: 
 var $211=$4; //@line 1619 "../src/h264bsd_deblocking.c"
 var $212=($211<<2); //@line 1619 "../src/h264bsd_deblocking.c"
 var $213=$ptr; //@line 1619 "../src/h264bsd_deblocking.c"
 var $214=(($213+$212)|0); //@line 1619 "../src/h264bsd_deblocking.c"
 $ptr=$214; //@line 1619 "../src/h264bsd_deblocking.c"
 var $215=$tmp; //@line 1620 "../src/h264bsd_deblocking.c"
 var $216=(($215+32)|0); //@line 1620 "../src/h264bsd_deblocking.c"
 $tmp=$216; //@line 1620 "../src/h264bsd_deblocking.c"
 $offset=2; //@line 1621 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 1622 "../src/h264bsd_deblocking.c"
 case 33: 
 STACKTOP=sp;return; //@line 1623 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetChromaEdgeThresholds($thresholds,$mb,$filteringFlags,$chromaQpIndexOffset){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $indexA;
 var $indexB;
 var $qpAv;
 var $qp;
 var $qpTmp;
 $1=$thresholds;
 $2=$mb;
 $3=$filteringFlags;
 $4=$chromaQpIndexOffset;
 var $5=$1; //@line 1483 "../src/h264bsd_deblocking.c"
 var $6=($5|0)!=0; //@line 1483 "../src/h264bsd_deblocking.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 1483 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(4568,11664,1483,15848); //@line 1483 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1483 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 1483 "../src/h264bsd_deblocking.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 1483 "../src/h264bsd_deblocking.c"
 var $12=$2; //@line 1484 "../src/h264bsd_deblocking.c"
 var $13=($12|0)!=0; //@line 1484 "../src/h264bsd_deblocking.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 1484 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(9088,11664,1484,15848); //@line 1484 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1484 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 1484 "../src/h264bsd_deblocking.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 1484 "../src/h264bsd_deblocking.c"
 var $19=$2; //@line 1486 "../src/h264bsd_deblocking.c"
 var $20=(($19+20)|0); //@line 1486 "../src/h264bsd_deblocking.c"
 var $21=HEAP32[(($20)>>2)]; //@line 1486 "../src/h264bsd_deblocking.c"
 $qp=$21; //@line 1486 "../src/h264bsd_deblocking.c"
 var $22=$qp; //@line 1487 "../src/h264bsd_deblocking.c"
 var $23=$4; //@line 1487 "../src/h264bsd_deblocking.c"
 var $24=((($22)+($23))|0); //@line 1487 "../src/h264bsd_deblocking.c"
 var $25=($24|0)<0; //@line 1487 "../src/h264bsd_deblocking.c"
 if($25){label=6;break;}else{label=7;break;} //@line 1487 "../src/h264bsd_deblocking.c"
 case 6: 
 var $40=0;label=11;break; //@line 1487 "../src/h264bsd_deblocking.c"
 case 7: 
 var $28=$qp; //@line 1487 "../src/h264bsd_deblocking.c"
 var $29=$4; //@line 1487 "../src/h264bsd_deblocking.c"
 var $30=((($28)+($29))|0); //@line 1487 "../src/h264bsd_deblocking.c"
 var $31=($30|0)>51; //@line 1487 "../src/h264bsd_deblocking.c"
 if($31){label=8;break;}else{label=9;break;} //@line 1487 "../src/h264bsd_deblocking.c"
 case 8: 
 var $38=51;label=10;break; //@line 1487 "../src/h264bsd_deblocking.c"
 case 9: 
 var $34=$qp; //@line 1487 "../src/h264bsd_deblocking.c"
 var $35=$4; //@line 1487 "../src/h264bsd_deblocking.c"
 var $36=((($34)+($35))|0); //@line 1487 "../src/h264bsd_deblocking.c"
 var $38=$36;label=10;break; //@line 1487 "../src/h264bsd_deblocking.c"
 case 10: 
 var $38; //@line 1487 "../src/h264bsd_deblocking.c"
 var $40=$38;label=11;break; //@line 1487 "../src/h264bsd_deblocking.c"
 case 11: 
 var $40; //@line 1487 "../src/h264bsd_deblocking.c"
 var $41=((1152+($40<<2))|0); //@line 1487 "../src/h264bsd_deblocking.c"
 var $42=HEAP32[(($41)>>2)]; //@line 1487 "../src/h264bsd_deblocking.c"
 $qp=$42; //@line 1487 "../src/h264bsd_deblocking.c"
 var $43=$qp; //@line 1489 "../src/h264bsd_deblocking.c"
 var $44=$2; //@line 1489 "../src/h264bsd_deblocking.c"
 var $45=(($44+12)|0); //@line 1489 "../src/h264bsd_deblocking.c"
 var $46=HEAP32[(($45)>>2)]; //@line 1489 "../src/h264bsd_deblocking.c"
 var $47=((($43)+($46))|0); //@line 1489 "../src/h264bsd_deblocking.c"
 var $48=($47|0)<0; //@line 1489 "../src/h264bsd_deblocking.c"
 if($48){label=12;break;}else{label=13;break;} //@line 1489 "../src/h264bsd_deblocking.c"
 case 12: 
 var $67=0;label=17;break; //@line 1489 "../src/h264bsd_deblocking.c"
 case 13: 
 var $51=$qp; //@line 1489 "../src/h264bsd_deblocking.c"
 var $52=$2; //@line 1489 "../src/h264bsd_deblocking.c"
 var $53=(($52+12)|0); //@line 1489 "../src/h264bsd_deblocking.c"
 var $54=HEAP32[(($53)>>2)]; //@line 1489 "../src/h264bsd_deblocking.c"
 var $55=((($51)+($54))|0); //@line 1489 "../src/h264bsd_deblocking.c"
 var $56=($55|0)>51; //@line 1489 "../src/h264bsd_deblocking.c"
 if($56){label=14;break;}else{label=15;break;} //@line 1489 "../src/h264bsd_deblocking.c"
 case 14: 
 var $65=51;label=16;break; //@line 1489 "../src/h264bsd_deblocking.c"
 case 15: 
 var $59=$qp; //@line 1489 "../src/h264bsd_deblocking.c"
 var $60=$2; //@line 1489 "../src/h264bsd_deblocking.c"
 var $61=(($60+12)|0); //@line 1489 "../src/h264bsd_deblocking.c"
 var $62=HEAP32[(($61)>>2)]; //@line 1489 "../src/h264bsd_deblocking.c"
 var $63=((($59)+($62))|0); //@line 1489 "../src/h264bsd_deblocking.c"
 var $65=$63;label=16;break; //@line 1489 "../src/h264bsd_deblocking.c"
 case 16: 
 var $65; //@line 1489 "../src/h264bsd_deblocking.c"
 var $67=$65;label=17;break; //@line 1489 "../src/h264bsd_deblocking.c"
 case 17: 
 var $67; //@line 1489 "../src/h264bsd_deblocking.c"
 $indexA=$67; //@line 1489 "../src/h264bsd_deblocking.c"
 var $68=$qp; //@line 1490 "../src/h264bsd_deblocking.c"
 var $69=$2; //@line 1490 "../src/h264bsd_deblocking.c"
 var $70=(($69+16)|0); //@line 1490 "../src/h264bsd_deblocking.c"
 var $71=HEAP32[(($70)>>2)]; //@line 1490 "../src/h264bsd_deblocking.c"
 var $72=((($68)+($71))|0); //@line 1490 "../src/h264bsd_deblocking.c"
 var $73=($72|0)<0; //@line 1490 "../src/h264bsd_deblocking.c"
 if($73){label=18;break;}else{label=19;break;} //@line 1490 "../src/h264bsd_deblocking.c"
 case 18: 
 var $92=0;label=23;break; //@line 1490 "../src/h264bsd_deblocking.c"
 case 19: 
 var $76=$qp; //@line 1490 "../src/h264bsd_deblocking.c"
 var $77=$2; //@line 1490 "../src/h264bsd_deblocking.c"
 var $78=(($77+16)|0); //@line 1490 "../src/h264bsd_deblocking.c"
 var $79=HEAP32[(($78)>>2)]; //@line 1490 "../src/h264bsd_deblocking.c"
 var $80=((($76)+($79))|0); //@line 1490 "../src/h264bsd_deblocking.c"
 var $81=($80|0)>51; //@line 1490 "../src/h264bsd_deblocking.c"
 if($81){label=20;break;}else{label=21;break;} //@line 1490 "../src/h264bsd_deblocking.c"
 case 20: 
 var $90=51;label=22;break; //@line 1490 "../src/h264bsd_deblocking.c"
 case 21: 
 var $84=$qp; //@line 1490 "../src/h264bsd_deblocking.c"
 var $85=$2; //@line 1490 "../src/h264bsd_deblocking.c"
 var $86=(($85+16)|0); //@line 1490 "../src/h264bsd_deblocking.c"
 var $87=HEAP32[(($86)>>2)]; //@line 1490 "../src/h264bsd_deblocking.c"
 var $88=((($84)+($87))|0); //@line 1490 "../src/h264bsd_deblocking.c"
 var $90=$88;label=22;break; //@line 1490 "../src/h264bsd_deblocking.c"
 case 22: 
 var $90; //@line 1490 "../src/h264bsd_deblocking.c"
 var $92=$90;label=23;break; //@line 1490 "../src/h264bsd_deblocking.c"
 case 23: 
 var $92; //@line 1490 "../src/h264bsd_deblocking.c"
 $indexB=$92; //@line 1490 "../src/h264bsd_deblocking.c"
 var $93=$indexA; //@line 1492 "../src/h264bsd_deblocking.c"
 var $94=((4296+$93)|0); //@line 1492 "../src/h264bsd_deblocking.c"
 var $95=HEAP8[($94)]; //@line 1492 "../src/h264bsd_deblocking.c"
 var $96=($95&255); //@line 1492 "../src/h264bsd_deblocking.c"
 var $97=$1; //@line 1492 "../src/h264bsd_deblocking.c"
 var $98=(($97+24)|0); //@line 1492 "../src/h264bsd_deblocking.c"
 var $99=(($98+4)|0); //@line 1492 "../src/h264bsd_deblocking.c"
 HEAP32[(($99)>>2)]=$96; //@line 1492 "../src/h264bsd_deblocking.c"
 var $100=$indexB; //@line 1493 "../src/h264bsd_deblocking.c"
 var $101=((4240+$100)|0); //@line 1493 "../src/h264bsd_deblocking.c"
 var $102=HEAP8[($101)]; //@line 1493 "../src/h264bsd_deblocking.c"
 var $103=($102&255); //@line 1493 "../src/h264bsd_deblocking.c"
 var $104=$1; //@line 1493 "../src/h264bsd_deblocking.c"
 var $105=(($104+24)|0); //@line 1493 "../src/h264bsd_deblocking.c"
 var $106=(($105+8)|0); //@line 1493 "../src/h264bsd_deblocking.c"
 HEAP32[(($106)>>2)]=$103; //@line 1493 "../src/h264bsd_deblocking.c"
 var $107=$indexA; //@line 1494 "../src/h264bsd_deblocking.c"
 var $108=((600+((($107)*(3))&-1))|0); //@line 1494 "../src/h264bsd_deblocking.c"
 var $109=(($108)|0); //@line 1494 "../src/h264bsd_deblocking.c"
 var $110=$1; //@line 1494 "../src/h264bsd_deblocking.c"
 var $111=(($110+24)|0); //@line 1494 "../src/h264bsd_deblocking.c"
 var $112=(($111)|0); //@line 1494 "../src/h264bsd_deblocking.c"
 HEAP32[(($112)>>2)]=$109; //@line 1494 "../src/h264bsd_deblocking.c"
 var $113=$3; //@line 1496 "../src/h264bsd_deblocking.c"
 var $114=$113&2; //@line 1496 "../src/h264bsd_deblocking.c"
 var $115=($114|0)!=0; //@line 1496 "../src/h264bsd_deblocking.c"
 if($115){label=24;break;}else{label=46;break;} //@line 1496 "../src/h264bsd_deblocking.c"
 case 24: 
 var $117=$2; //@line 1498 "../src/h264bsd_deblocking.c"
 var $118=(($117+204)|0); //@line 1498 "../src/h264bsd_deblocking.c"
 var $119=HEAP32[(($118)>>2)]; //@line 1498 "../src/h264bsd_deblocking.c"
 var $120=(($119+20)|0); //@line 1498 "../src/h264bsd_deblocking.c"
 var $121=HEAP32[(($120)>>2)]; //@line 1498 "../src/h264bsd_deblocking.c"
 $qpTmp=$121; //@line 1498 "../src/h264bsd_deblocking.c"
 var $122=$qpTmp; //@line 1499 "../src/h264bsd_deblocking.c"
 var $123=$2; //@line 1499 "../src/h264bsd_deblocking.c"
 var $124=(($123+20)|0); //@line 1499 "../src/h264bsd_deblocking.c"
 var $125=HEAP32[(($124)>>2)]; //@line 1499 "../src/h264bsd_deblocking.c"
 var $126=($122|0)!=($125|0); //@line 1499 "../src/h264bsd_deblocking.c"
 if($126){label=25;break;}else{label=44;break;} //@line 1499 "../src/h264bsd_deblocking.c"
 case 25: 
 var $128=$qpTmp; //@line 1501 "../src/h264bsd_deblocking.c"
 var $129=$4; //@line 1501 "../src/h264bsd_deblocking.c"
 var $130=((($128)+($129))|0); //@line 1501 "../src/h264bsd_deblocking.c"
 var $131=($130|0)<0; //@line 1501 "../src/h264bsd_deblocking.c"
 if($131){label=26;break;}else{label=27;break;} //@line 1501 "../src/h264bsd_deblocking.c"
 case 26: 
 var $146=0;label=31;break; //@line 1501 "../src/h264bsd_deblocking.c"
 case 27: 
 var $134=$qpTmp; //@line 1501 "../src/h264bsd_deblocking.c"
 var $135=$4; //@line 1501 "../src/h264bsd_deblocking.c"
 var $136=((($134)+($135))|0); //@line 1501 "../src/h264bsd_deblocking.c"
 var $137=($136|0)>51; //@line 1501 "../src/h264bsd_deblocking.c"
 if($137){label=28;break;}else{label=29;break;} //@line 1501 "../src/h264bsd_deblocking.c"
 case 28: 
 var $144=51;label=30;break; //@line 1501 "../src/h264bsd_deblocking.c"
 case 29: 
 var $140=$qpTmp; //@line 1501 "../src/h264bsd_deblocking.c"
 var $141=$4; //@line 1501 "../src/h264bsd_deblocking.c"
 var $142=((($140)+($141))|0); //@line 1501 "../src/h264bsd_deblocking.c"
 var $144=$142;label=30;break; //@line 1501 "../src/h264bsd_deblocking.c"
 case 30: 
 var $144; //@line 1501 "../src/h264bsd_deblocking.c"
 var $146=$144;label=31;break; //@line 1501 "../src/h264bsd_deblocking.c"
 case 31: 
 var $146; //@line 1501 "../src/h264bsd_deblocking.c"
 var $147=((1152+($146<<2))|0); //@line 1501 "../src/h264bsd_deblocking.c"
 var $148=HEAP32[(($147)>>2)]; //@line 1501 "../src/h264bsd_deblocking.c"
 $qpTmp=$148; //@line 1501 "../src/h264bsd_deblocking.c"
 var $149=$qp; //@line 1502 "../src/h264bsd_deblocking.c"
 var $150=$qpTmp; //@line 1502 "../src/h264bsd_deblocking.c"
 var $151=((($149)+($150))|0); //@line 1502 "../src/h264bsd_deblocking.c"
 var $152=((($151)+(1))|0); //@line 1502 "../src/h264bsd_deblocking.c"
 var $153=$152>>>1; //@line 1502 "../src/h264bsd_deblocking.c"
 $qpAv=$153; //@line 1502 "../src/h264bsd_deblocking.c"
 var $154=$qpAv; //@line 1504 "../src/h264bsd_deblocking.c"
 var $155=$2; //@line 1504 "../src/h264bsd_deblocking.c"
 var $156=(($155+12)|0); //@line 1504 "../src/h264bsd_deblocking.c"
 var $157=HEAP32[(($156)>>2)]; //@line 1504 "../src/h264bsd_deblocking.c"
 var $158=((($154)+($157))|0); //@line 1504 "../src/h264bsd_deblocking.c"
 var $159=($158|0)<0; //@line 1504 "../src/h264bsd_deblocking.c"
 if($159){label=32;break;}else{label=33;break;} //@line 1504 "../src/h264bsd_deblocking.c"
 case 32: 
 var $178=0;label=37;break; //@line 1504 "../src/h264bsd_deblocking.c"
 case 33: 
 var $162=$qpAv; //@line 1504 "../src/h264bsd_deblocking.c"
 var $163=$2; //@line 1504 "../src/h264bsd_deblocking.c"
 var $164=(($163+12)|0); //@line 1504 "../src/h264bsd_deblocking.c"
 var $165=HEAP32[(($164)>>2)]; //@line 1504 "../src/h264bsd_deblocking.c"
 var $166=((($162)+($165))|0); //@line 1504 "../src/h264bsd_deblocking.c"
 var $167=($166|0)>51; //@line 1504 "../src/h264bsd_deblocking.c"
 if($167){label=34;break;}else{label=35;break;} //@line 1504 "../src/h264bsd_deblocking.c"
 case 34: 
 var $176=51;label=36;break; //@line 1504 "../src/h264bsd_deblocking.c"
 case 35: 
 var $170=$qpAv; //@line 1504 "../src/h264bsd_deblocking.c"
 var $171=$2; //@line 1504 "../src/h264bsd_deblocking.c"
 var $172=(($171+12)|0); //@line 1504 "../src/h264bsd_deblocking.c"
 var $173=HEAP32[(($172)>>2)]; //@line 1504 "../src/h264bsd_deblocking.c"
 var $174=((($170)+($173))|0); //@line 1504 "../src/h264bsd_deblocking.c"
 var $176=$174;label=36;break; //@line 1504 "../src/h264bsd_deblocking.c"
 case 36: 
 var $176; //@line 1504 "../src/h264bsd_deblocking.c"
 var $178=$176;label=37;break; //@line 1504 "../src/h264bsd_deblocking.c"
 case 37: 
 var $178; //@line 1504 "../src/h264bsd_deblocking.c"
 $indexA=$178; //@line 1504 "../src/h264bsd_deblocking.c"
 var $179=$qpAv; //@line 1505 "../src/h264bsd_deblocking.c"
 var $180=$2; //@line 1505 "../src/h264bsd_deblocking.c"
 var $181=(($180+16)|0); //@line 1505 "../src/h264bsd_deblocking.c"
 var $182=HEAP32[(($181)>>2)]; //@line 1505 "../src/h264bsd_deblocking.c"
 var $183=((($179)+($182))|0); //@line 1505 "../src/h264bsd_deblocking.c"
 var $184=($183|0)<0; //@line 1505 "../src/h264bsd_deblocking.c"
 if($184){label=38;break;}else{label=39;break;} //@line 1505 "../src/h264bsd_deblocking.c"
 case 38: 
 var $203=0;label=43;break; //@line 1505 "../src/h264bsd_deblocking.c"
 case 39: 
 var $187=$qpAv; //@line 1505 "../src/h264bsd_deblocking.c"
 var $188=$2; //@line 1505 "../src/h264bsd_deblocking.c"
 var $189=(($188+16)|0); //@line 1505 "../src/h264bsd_deblocking.c"
 var $190=HEAP32[(($189)>>2)]; //@line 1505 "../src/h264bsd_deblocking.c"
 var $191=((($187)+($190))|0); //@line 1505 "../src/h264bsd_deblocking.c"
 var $192=($191|0)>51; //@line 1505 "../src/h264bsd_deblocking.c"
 if($192){label=40;break;}else{label=41;break;} //@line 1505 "../src/h264bsd_deblocking.c"
 case 40: 
 var $201=51;label=42;break; //@line 1505 "../src/h264bsd_deblocking.c"
 case 41: 
 var $195=$qpAv; //@line 1505 "../src/h264bsd_deblocking.c"
 var $196=$2; //@line 1505 "../src/h264bsd_deblocking.c"
 var $197=(($196+16)|0); //@line 1505 "../src/h264bsd_deblocking.c"
 var $198=HEAP32[(($197)>>2)]; //@line 1505 "../src/h264bsd_deblocking.c"
 var $199=((($195)+($198))|0); //@line 1505 "../src/h264bsd_deblocking.c"
 var $201=$199;label=42;break; //@line 1505 "../src/h264bsd_deblocking.c"
 case 42: 
 var $201; //@line 1505 "../src/h264bsd_deblocking.c"
 var $203=$201;label=43;break; //@line 1505 "../src/h264bsd_deblocking.c"
 case 43: 
 var $203; //@line 1505 "../src/h264bsd_deblocking.c"
 $indexB=$203; //@line 1505 "../src/h264bsd_deblocking.c"
 var $204=$indexA; //@line 1507 "../src/h264bsd_deblocking.c"
 var $205=((4296+$204)|0); //@line 1507 "../src/h264bsd_deblocking.c"
 var $206=HEAP8[($205)]; //@line 1507 "../src/h264bsd_deblocking.c"
 var $207=($206&255); //@line 1507 "../src/h264bsd_deblocking.c"
 var $208=$1; //@line 1507 "../src/h264bsd_deblocking.c"
 var $209=(($208)|0); //@line 1507 "../src/h264bsd_deblocking.c"
 var $210=(($209+4)|0); //@line 1507 "../src/h264bsd_deblocking.c"
 HEAP32[(($210)>>2)]=$207; //@line 1507 "../src/h264bsd_deblocking.c"
 var $211=$indexB; //@line 1508 "../src/h264bsd_deblocking.c"
 var $212=((4240+$211)|0); //@line 1508 "../src/h264bsd_deblocking.c"
 var $213=HEAP8[($212)]; //@line 1508 "../src/h264bsd_deblocking.c"
 var $214=($213&255); //@line 1508 "../src/h264bsd_deblocking.c"
 var $215=$1; //@line 1508 "../src/h264bsd_deblocking.c"
 var $216=(($215)|0); //@line 1508 "../src/h264bsd_deblocking.c"
 var $217=(($216+8)|0); //@line 1508 "../src/h264bsd_deblocking.c"
 HEAP32[(($217)>>2)]=$214; //@line 1508 "../src/h264bsd_deblocking.c"
 var $218=$indexA; //@line 1509 "../src/h264bsd_deblocking.c"
 var $219=((600+((($218)*(3))&-1))|0); //@line 1509 "../src/h264bsd_deblocking.c"
 var $220=(($219)|0); //@line 1509 "../src/h264bsd_deblocking.c"
 var $221=$1; //@line 1509 "../src/h264bsd_deblocking.c"
 var $222=(($221)|0); //@line 1509 "../src/h264bsd_deblocking.c"
 var $223=(($222)|0); //@line 1509 "../src/h264bsd_deblocking.c"
 HEAP32[(($223)>>2)]=$220; //@line 1509 "../src/h264bsd_deblocking.c"
 label=45;break; //@line 1510 "../src/h264bsd_deblocking.c"
 case 44: 
 var $225=$1; //@line 1513 "../src/h264bsd_deblocking.c"
 var $226=(($225+24)|0); //@line 1513 "../src/h264bsd_deblocking.c"
 var $227=(($226+4)|0); //@line 1513 "../src/h264bsd_deblocking.c"
 var $228=HEAP32[(($227)>>2)]; //@line 1513 "../src/h264bsd_deblocking.c"
 var $229=$1; //@line 1513 "../src/h264bsd_deblocking.c"
 var $230=(($229)|0); //@line 1513 "../src/h264bsd_deblocking.c"
 var $231=(($230+4)|0); //@line 1513 "../src/h264bsd_deblocking.c"
 HEAP32[(($231)>>2)]=$228; //@line 1513 "../src/h264bsd_deblocking.c"
 var $232=$1; //@line 1514 "../src/h264bsd_deblocking.c"
 var $233=(($232+24)|0); //@line 1514 "../src/h264bsd_deblocking.c"
 var $234=(($233+8)|0); //@line 1514 "../src/h264bsd_deblocking.c"
 var $235=HEAP32[(($234)>>2)]; //@line 1514 "../src/h264bsd_deblocking.c"
 var $236=$1; //@line 1514 "../src/h264bsd_deblocking.c"
 var $237=(($236)|0); //@line 1514 "../src/h264bsd_deblocking.c"
 var $238=(($237+8)|0); //@line 1514 "../src/h264bsd_deblocking.c"
 HEAP32[(($238)>>2)]=$235; //@line 1514 "../src/h264bsd_deblocking.c"
 var $239=$1; //@line 1515 "../src/h264bsd_deblocking.c"
 var $240=(($239+24)|0); //@line 1515 "../src/h264bsd_deblocking.c"
 var $241=(($240)|0); //@line 1515 "../src/h264bsd_deblocking.c"
 var $242=HEAP32[(($241)>>2)]; //@line 1515 "../src/h264bsd_deblocking.c"
 var $243=$1; //@line 1515 "../src/h264bsd_deblocking.c"
 var $244=(($243)|0); //@line 1515 "../src/h264bsd_deblocking.c"
 var $245=(($244)|0); //@line 1515 "../src/h264bsd_deblocking.c"
 HEAP32[(($245)>>2)]=$242; //@line 1515 "../src/h264bsd_deblocking.c"
 label=45;break;
 case 45: 
 label=46;break; //@line 1517 "../src/h264bsd_deblocking.c"
 case 46: 
 var $248=$3; //@line 1518 "../src/h264bsd_deblocking.c"
 var $249=$248&4; //@line 1518 "../src/h264bsd_deblocking.c"
 var $250=($249|0)!=0; //@line 1518 "../src/h264bsd_deblocking.c"
 if($250){label=47;break;}else{label=69;break;} //@line 1518 "../src/h264bsd_deblocking.c"
 case 47: 
 var $252=$2; //@line 1520 "../src/h264bsd_deblocking.c"
 var $253=(($252+200)|0); //@line 1520 "../src/h264bsd_deblocking.c"
 var $254=HEAP32[(($253)>>2)]; //@line 1520 "../src/h264bsd_deblocking.c"
 var $255=(($254+20)|0); //@line 1520 "../src/h264bsd_deblocking.c"
 var $256=HEAP32[(($255)>>2)]; //@line 1520 "../src/h264bsd_deblocking.c"
 $qpTmp=$256; //@line 1520 "../src/h264bsd_deblocking.c"
 var $257=$qpTmp; //@line 1521 "../src/h264bsd_deblocking.c"
 var $258=$2; //@line 1521 "../src/h264bsd_deblocking.c"
 var $259=(($258+20)|0); //@line 1521 "../src/h264bsd_deblocking.c"
 var $260=HEAP32[(($259)>>2)]; //@line 1521 "../src/h264bsd_deblocking.c"
 var $261=($257|0)!=($260|0); //@line 1521 "../src/h264bsd_deblocking.c"
 if($261){label=48;break;}else{label=67;break;} //@line 1521 "../src/h264bsd_deblocking.c"
 case 48: 
 var $263=$qpTmp; //@line 1523 "../src/h264bsd_deblocking.c"
 var $264=$4; //@line 1523 "../src/h264bsd_deblocking.c"
 var $265=((($263)+($264))|0); //@line 1523 "../src/h264bsd_deblocking.c"
 var $266=($265|0)<0; //@line 1523 "../src/h264bsd_deblocking.c"
 if($266){label=49;break;}else{label=50;break;} //@line 1523 "../src/h264bsd_deblocking.c"
 case 49: 
 var $281=0;label=54;break; //@line 1523 "../src/h264bsd_deblocking.c"
 case 50: 
 var $269=$qpTmp; //@line 1523 "../src/h264bsd_deblocking.c"
 var $270=$4; //@line 1523 "../src/h264bsd_deblocking.c"
 var $271=((($269)+($270))|0); //@line 1523 "../src/h264bsd_deblocking.c"
 var $272=($271|0)>51; //@line 1523 "../src/h264bsd_deblocking.c"
 if($272){label=51;break;}else{label=52;break;} //@line 1523 "../src/h264bsd_deblocking.c"
 case 51: 
 var $279=51;label=53;break; //@line 1523 "../src/h264bsd_deblocking.c"
 case 52: 
 var $275=$qpTmp; //@line 1523 "../src/h264bsd_deblocking.c"
 var $276=$4; //@line 1523 "../src/h264bsd_deblocking.c"
 var $277=((($275)+($276))|0); //@line 1523 "../src/h264bsd_deblocking.c"
 var $279=$277;label=53;break; //@line 1523 "../src/h264bsd_deblocking.c"
 case 53: 
 var $279; //@line 1523 "../src/h264bsd_deblocking.c"
 var $281=$279;label=54;break; //@line 1523 "../src/h264bsd_deblocking.c"
 case 54: 
 var $281; //@line 1523 "../src/h264bsd_deblocking.c"
 var $282=((1152+($281<<2))|0); //@line 1523 "../src/h264bsd_deblocking.c"
 var $283=HEAP32[(($282)>>2)]; //@line 1523 "../src/h264bsd_deblocking.c"
 $qpTmp=$283; //@line 1523 "../src/h264bsd_deblocking.c"
 var $284=$qp; //@line 1524 "../src/h264bsd_deblocking.c"
 var $285=$qpTmp; //@line 1524 "../src/h264bsd_deblocking.c"
 var $286=((($284)+($285))|0); //@line 1524 "../src/h264bsd_deblocking.c"
 var $287=((($286)+(1))|0); //@line 1524 "../src/h264bsd_deblocking.c"
 var $288=$287>>>1; //@line 1524 "../src/h264bsd_deblocking.c"
 $qpAv=$288; //@line 1524 "../src/h264bsd_deblocking.c"
 var $289=$qpAv; //@line 1526 "../src/h264bsd_deblocking.c"
 var $290=$2; //@line 1526 "../src/h264bsd_deblocking.c"
 var $291=(($290+12)|0); //@line 1526 "../src/h264bsd_deblocking.c"
 var $292=HEAP32[(($291)>>2)]; //@line 1526 "../src/h264bsd_deblocking.c"
 var $293=((($289)+($292))|0); //@line 1526 "../src/h264bsd_deblocking.c"
 var $294=($293|0)<0; //@line 1526 "../src/h264bsd_deblocking.c"
 if($294){label=55;break;}else{label=56;break;} //@line 1526 "../src/h264bsd_deblocking.c"
 case 55: 
 var $313=0;label=60;break; //@line 1526 "../src/h264bsd_deblocking.c"
 case 56: 
 var $297=$qpAv; //@line 1526 "../src/h264bsd_deblocking.c"
 var $298=$2; //@line 1526 "../src/h264bsd_deblocking.c"
 var $299=(($298+12)|0); //@line 1526 "../src/h264bsd_deblocking.c"
 var $300=HEAP32[(($299)>>2)]; //@line 1526 "../src/h264bsd_deblocking.c"
 var $301=((($297)+($300))|0); //@line 1526 "../src/h264bsd_deblocking.c"
 var $302=($301|0)>51; //@line 1526 "../src/h264bsd_deblocking.c"
 if($302){label=57;break;}else{label=58;break;} //@line 1526 "../src/h264bsd_deblocking.c"
 case 57: 
 var $311=51;label=59;break; //@line 1526 "../src/h264bsd_deblocking.c"
 case 58: 
 var $305=$qpAv; //@line 1526 "../src/h264bsd_deblocking.c"
 var $306=$2; //@line 1526 "../src/h264bsd_deblocking.c"
 var $307=(($306+12)|0); //@line 1526 "../src/h264bsd_deblocking.c"
 var $308=HEAP32[(($307)>>2)]; //@line 1526 "../src/h264bsd_deblocking.c"
 var $309=((($305)+($308))|0); //@line 1526 "../src/h264bsd_deblocking.c"
 var $311=$309;label=59;break; //@line 1526 "../src/h264bsd_deblocking.c"
 case 59: 
 var $311; //@line 1526 "../src/h264bsd_deblocking.c"
 var $313=$311;label=60;break; //@line 1526 "../src/h264bsd_deblocking.c"
 case 60: 
 var $313; //@line 1526 "../src/h264bsd_deblocking.c"
 $indexA=$313; //@line 1526 "../src/h264bsd_deblocking.c"
 var $314=$qpAv; //@line 1527 "../src/h264bsd_deblocking.c"
 var $315=$2; //@line 1527 "../src/h264bsd_deblocking.c"
 var $316=(($315+16)|0); //@line 1527 "../src/h264bsd_deblocking.c"
 var $317=HEAP32[(($316)>>2)]; //@line 1527 "../src/h264bsd_deblocking.c"
 var $318=((($314)+($317))|0); //@line 1527 "../src/h264bsd_deblocking.c"
 var $319=($318|0)<0; //@line 1527 "../src/h264bsd_deblocking.c"
 if($319){label=61;break;}else{label=62;break;} //@line 1527 "../src/h264bsd_deblocking.c"
 case 61: 
 var $338=0;label=66;break; //@line 1527 "../src/h264bsd_deblocking.c"
 case 62: 
 var $322=$qpAv; //@line 1527 "../src/h264bsd_deblocking.c"
 var $323=$2; //@line 1527 "../src/h264bsd_deblocking.c"
 var $324=(($323+16)|0); //@line 1527 "../src/h264bsd_deblocking.c"
 var $325=HEAP32[(($324)>>2)]; //@line 1527 "../src/h264bsd_deblocking.c"
 var $326=((($322)+($325))|0); //@line 1527 "../src/h264bsd_deblocking.c"
 var $327=($326|0)>51; //@line 1527 "../src/h264bsd_deblocking.c"
 if($327){label=63;break;}else{label=64;break;} //@line 1527 "../src/h264bsd_deblocking.c"
 case 63: 
 var $336=51;label=65;break; //@line 1527 "../src/h264bsd_deblocking.c"
 case 64: 
 var $330=$qpAv; //@line 1527 "../src/h264bsd_deblocking.c"
 var $331=$2; //@line 1527 "../src/h264bsd_deblocking.c"
 var $332=(($331+16)|0); //@line 1527 "../src/h264bsd_deblocking.c"
 var $333=HEAP32[(($332)>>2)]; //@line 1527 "../src/h264bsd_deblocking.c"
 var $334=((($330)+($333))|0); //@line 1527 "../src/h264bsd_deblocking.c"
 var $336=$334;label=65;break; //@line 1527 "../src/h264bsd_deblocking.c"
 case 65: 
 var $336; //@line 1527 "../src/h264bsd_deblocking.c"
 var $338=$336;label=66;break; //@line 1527 "../src/h264bsd_deblocking.c"
 case 66: 
 var $338; //@line 1527 "../src/h264bsd_deblocking.c"
 $indexB=$338; //@line 1527 "../src/h264bsd_deblocking.c"
 var $339=$indexA; //@line 1529 "../src/h264bsd_deblocking.c"
 var $340=((4296+$339)|0); //@line 1529 "../src/h264bsd_deblocking.c"
 var $341=HEAP8[($340)]; //@line 1529 "../src/h264bsd_deblocking.c"
 var $342=($341&255); //@line 1529 "../src/h264bsd_deblocking.c"
 var $343=$1; //@line 1529 "../src/h264bsd_deblocking.c"
 var $344=(($343+12)|0); //@line 1529 "../src/h264bsd_deblocking.c"
 var $345=(($344+4)|0); //@line 1529 "../src/h264bsd_deblocking.c"
 HEAP32[(($345)>>2)]=$342; //@line 1529 "../src/h264bsd_deblocking.c"
 var $346=$indexB; //@line 1530 "../src/h264bsd_deblocking.c"
 var $347=((4240+$346)|0); //@line 1530 "../src/h264bsd_deblocking.c"
 var $348=HEAP8[($347)]; //@line 1530 "../src/h264bsd_deblocking.c"
 var $349=($348&255); //@line 1530 "../src/h264bsd_deblocking.c"
 var $350=$1; //@line 1530 "../src/h264bsd_deblocking.c"
 var $351=(($350+12)|0); //@line 1530 "../src/h264bsd_deblocking.c"
 var $352=(($351+8)|0); //@line 1530 "../src/h264bsd_deblocking.c"
 HEAP32[(($352)>>2)]=$349; //@line 1530 "../src/h264bsd_deblocking.c"
 var $353=$indexA; //@line 1531 "../src/h264bsd_deblocking.c"
 var $354=((600+((($353)*(3))&-1))|0); //@line 1531 "../src/h264bsd_deblocking.c"
 var $355=(($354)|0); //@line 1531 "../src/h264bsd_deblocking.c"
 var $356=$1; //@line 1531 "../src/h264bsd_deblocking.c"
 var $357=(($356+12)|0); //@line 1531 "../src/h264bsd_deblocking.c"
 var $358=(($357)|0); //@line 1531 "../src/h264bsd_deblocking.c"
 HEAP32[(($358)>>2)]=$355; //@line 1531 "../src/h264bsd_deblocking.c"
 label=68;break; //@line 1532 "../src/h264bsd_deblocking.c"
 case 67: 
 var $360=$1; //@line 1535 "../src/h264bsd_deblocking.c"
 var $361=(($360+24)|0); //@line 1535 "../src/h264bsd_deblocking.c"
 var $362=(($361+4)|0); //@line 1535 "../src/h264bsd_deblocking.c"
 var $363=HEAP32[(($362)>>2)]; //@line 1535 "../src/h264bsd_deblocking.c"
 var $364=$1; //@line 1535 "../src/h264bsd_deblocking.c"
 var $365=(($364+12)|0); //@line 1535 "../src/h264bsd_deblocking.c"
 var $366=(($365+4)|0); //@line 1535 "../src/h264bsd_deblocking.c"
 HEAP32[(($366)>>2)]=$363; //@line 1535 "../src/h264bsd_deblocking.c"
 var $367=$1; //@line 1536 "../src/h264bsd_deblocking.c"
 var $368=(($367+24)|0); //@line 1536 "../src/h264bsd_deblocking.c"
 var $369=(($368+8)|0); //@line 1536 "../src/h264bsd_deblocking.c"
 var $370=HEAP32[(($369)>>2)]; //@line 1536 "../src/h264bsd_deblocking.c"
 var $371=$1; //@line 1536 "../src/h264bsd_deblocking.c"
 var $372=(($371+12)|0); //@line 1536 "../src/h264bsd_deblocking.c"
 var $373=(($372+8)|0); //@line 1536 "../src/h264bsd_deblocking.c"
 HEAP32[(($373)>>2)]=$370; //@line 1536 "../src/h264bsd_deblocking.c"
 var $374=$1; //@line 1537 "../src/h264bsd_deblocking.c"
 var $375=(($374+24)|0); //@line 1537 "../src/h264bsd_deblocking.c"
 var $376=(($375)|0); //@line 1537 "../src/h264bsd_deblocking.c"
 var $377=HEAP32[(($376)>>2)]; //@line 1537 "../src/h264bsd_deblocking.c"
 var $378=$1; //@line 1537 "../src/h264bsd_deblocking.c"
 var $379=(($378+12)|0); //@line 1537 "../src/h264bsd_deblocking.c"
 var $380=(($379)|0); //@line 1537 "../src/h264bsd_deblocking.c"
 HEAP32[(($380)>>2)]=$377; //@line 1537 "../src/h264bsd_deblocking.c"
 label=68;break;
 case 68: 
 label=69;break; //@line 1539 "../src/h264bsd_deblocking.c"
 case 69: 
 STACKTOP=sp;return; //@line 1541 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterChroma($dataCb,$dataCr,$bS,$thresholds,$width){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $vblock;
 var $tmp;
 var $offset;
 $1=$dataCb;
 $2=$dataCr;
 $3=$bS;
 $4=$thresholds;
 $5=$width;
 var $6=$1; //@line 1649 "../src/h264bsd_deblocking.c"
 var $7=($6|0)!=0; //@line 1649 "../src/h264bsd_deblocking.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 1649 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(5768,11664,1649,16104); //@line 1649 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1649 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 1649 "../src/h264bsd_deblocking.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 1649 "../src/h264bsd_deblocking.c"
 var $13=$2; //@line 1650 "../src/h264bsd_deblocking.c"
 var $14=($13|0)!=0; //@line 1650 "../src/h264bsd_deblocking.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 1650 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(5336,11664,1650,16104); //@line 1650 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1650 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 1650 "../src/h264bsd_deblocking.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 1650 "../src/h264bsd_deblocking.c"
 var $20=$3; //@line 1651 "../src/h264bsd_deblocking.c"
 var $21=($20|0)!=0; //@line 1651 "../src/h264bsd_deblocking.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 1651 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(5016,11664,1651,16104); //@line 1651 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1651 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 1651 "../src/h264bsd_deblocking.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 1651 "../src/h264bsd_deblocking.c"
 var $27=$4; //@line 1652 "../src/h264bsd_deblocking.c"
 var $28=($27|0)!=0; //@line 1652 "../src/h264bsd_deblocking.c"
 if($28){var $32=1;label=9;break;}else{label=8;break;} //@line 1652 "../src/h264bsd_deblocking.c"
 case 8: 
 ___assert_fail(4568,11664,1652,16104); //@line 1652 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1652 "../src/h264bsd_deblocking.c"
 label=9;break; //@line 1652 "../src/h264bsd_deblocking.c"
 case 9: 
 var $32;
 var $33=($32&1); //@line 1652 "../src/h264bsd_deblocking.c"
 var $34=$3; //@line 1654 "../src/h264bsd_deblocking.c"
 $tmp=$34; //@line 1654 "../src/h264bsd_deblocking.c"
 $offset=0; //@line 1655 "../src/h264bsd_deblocking.c"
 $vblock=0; //@line 1659 "../src/h264bsd_deblocking.c"
 label=10;break; //@line 1659 "../src/h264bsd_deblocking.c"
 case 10: 
 var $36=$vblock; //@line 1659 "../src/h264bsd_deblocking.c"
 var $37=($36>>>0)<2; //@line 1659 "../src/h264bsd_deblocking.c"
 if($37){label=11;break;}else{label=36;break;} //@line 1659 "../src/h264bsd_deblocking.c"
 case 11: 
 var $39=$tmp; //@line 1666 "../src/h264bsd_deblocking.c"
 var $40=(($39)|0); //@line 1666 "../src/h264bsd_deblocking.c"
 var $41=(($40+4)|0); //@line 1666 "../src/h264bsd_deblocking.c"
 var $42=HEAP32[(($41)>>2)]; //@line 1666 "../src/h264bsd_deblocking.c"
 var $43=($42|0)!=0; //@line 1666 "../src/h264bsd_deblocking.c"
 if($43){label=12;break;}else{label=13;break;} //@line 1666 "../src/h264bsd_deblocking.c"
 case 12: 
 var $45=$1; //@line 1668 "../src/h264bsd_deblocking.c"
 var $46=$tmp; //@line 1668 "../src/h264bsd_deblocking.c"
 var $47=(($46)|0); //@line 1668 "../src/h264bsd_deblocking.c"
 var $48=(($47+4)|0); //@line 1668 "../src/h264bsd_deblocking.c"
 var $49=HEAP32[(($48)>>2)]; //@line 1668 "../src/h264bsd_deblocking.c"
 var $50=$4; //@line 1668 "../src/h264bsd_deblocking.c"
 var $51=(($50+12)|0); //@line 1668 "../src/h264bsd_deblocking.c"
 var $52=$5; //@line 1668 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($45,$49,$51,$52); //@line 1668 "../src/h264bsd_deblocking.c"
 var $53=$2; //@line 1669 "../src/h264bsd_deblocking.c"
 var $54=$tmp; //@line 1669 "../src/h264bsd_deblocking.c"
 var $55=(($54)|0); //@line 1669 "../src/h264bsd_deblocking.c"
 var $56=(($55+4)|0); //@line 1669 "../src/h264bsd_deblocking.c"
 var $57=HEAP32[(($56)>>2)]; //@line 1669 "../src/h264bsd_deblocking.c"
 var $58=$4; //@line 1669 "../src/h264bsd_deblocking.c"
 var $59=(($58+12)|0); //@line 1669 "../src/h264bsd_deblocking.c"
 var $60=$5; //@line 1669 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($53,$57,$59,$60); //@line 1669 "../src/h264bsd_deblocking.c"
 label=13;break; //@line 1670 "../src/h264bsd_deblocking.c"
 case 13: 
 var $62=$tmp; //@line 1671 "../src/h264bsd_deblocking.c"
 var $63=(($62+32)|0); //@line 1671 "../src/h264bsd_deblocking.c"
 var $64=(($63+4)|0); //@line 1671 "../src/h264bsd_deblocking.c"
 var $65=HEAP32[(($64)>>2)]; //@line 1671 "../src/h264bsd_deblocking.c"
 var $66=($65|0)!=0; //@line 1671 "../src/h264bsd_deblocking.c"
 if($66){label=14;break;}else{label=15;break;} //@line 1671 "../src/h264bsd_deblocking.c"
 case 14: 
 var $68=$1; //@line 1673 "../src/h264bsd_deblocking.c"
 var $69=$5; //@line 1673 "../src/h264bsd_deblocking.c"
 var $70=($69<<1); //@line 1673 "../src/h264bsd_deblocking.c"
 var $71=(($68+$70)|0); //@line 1673 "../src/h264bsd_deblocking.c"
 var $72=$tmp; //@line 1673 "../src/h264bsd_deblocking.c"
 var $73=(($72+32)|0); //@line 1673 "../src/h264bsd_deblocking.c"
 var $74=(($73+4)|0); //@line 1673 "../src/h264bsd_deblocking.c"
 var $75=HEAP32[(($74)>>2)]; //@line 1673 "../src/h264bsd_deblocking.c"
 var $76=$4; //@line 1673 "../src/h264bsd_deblocking.c"
 var $77=(($76+12)|0); //@line 1673 "../src/h264bsd_deblocking.c"
 var $78=$5; //@line 1673 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($71,$75,$77,$78); //@line 1673 "../src/h264bsd_deblocking.c"
 var $79=$2; //@line 1675 "../src/h264bsd_deblocking.c"
 var $80=$5; //@line 1675 "../src/h264bsd_deblocking.c"
 var $81=($80<<1); //@line 1675 "../src/h264bsd_deblocking.c"
 var $82=(($79+$81)|0); //@line 1675 "../src/h264bsd_deblocking.c"
 var $83=$tmp; //@line 1675 "../src/h264bsd_deblocking.c"
 var $84=(($83+32)|0); //@line 1675 "../src/h264bsd_deblocking.c"
 var $85=(($84+4)|0); //@line 1675 "../src/h264bsd_deblocking.c"
 var $86=HEAP32[(($85)>>2)]; //@line 1675 "../src/h264bsd_deblocking.c"
 var $87=$4; //@line 1675 "../src/h264bsd_deblocking.c"
 var $88=(($87+12)|0); //@line 1675 "../src/h264bsd_deblocking.c"
 var $89=$5; //@line 1675 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($82,$86,$88,$89); //@line 1675 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 1677 "../src/h264bsd_deblocking.c"
 case 15: 
 var $91=$tmp; //@line 1678 "../src/h264bsd_deblocking.c"
 var $92=(($91+16)|0); //@line 1678 "../src/h264bsd_deblocking.c"
 var $93=(($92+4)|0); //@line 1678 "../src/h264bsd_deblocking.c"
 var $94=HEAP32[(($93)>>2)]; //@line 1678 "../src/h264bsd_deblocking.c"
 var $95=($94|0)!=0; //@line 1678 "../src/h264bsd_deblocking.c"
 if($95){label=16;break;}else{label=17;break;} //@line 1678 "../src/h264bsd_deblocking.c"
 case 16: 
 var $97=$1; //@line 1680 "../src/h264bsd_deblocking.c"
 var $98=(($97+4)|0); //@line 1680 "../src/h264bsd_deblocking.c"
 var $99=$tmp; //@line 1680 "../src/h264bsd_deblocking.c"
 var $100=(($99+16)|0); //@line 1680 "../src/h264bsd_deblocking.c"
 var $101=(($100+4)|0); //@line 1680 "../src/h264bsd_deblocking.c"
 var $102=HEAP32[(($101)>>2)]; //@line 1680 "../src/h264bsd_deblocking.c"
 var $103=$4; //@line 1680 "../src/h264bsd_deblocking.c"
 var $104=(($103+24)|0); //@line 1680 "../src/h264bsd_deblocking.c"
 var $105=$5; //@line 1680 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($98,$102,$104,$105); //@line 1680 "../src/h264bsd_deblocking.c"
 var $106=$2; //@line 1682 "../src/h264bsd_deblocking.c"
 var $107=(($106+4)|0); //@line 1682 "../src/h264bsd_deblocking.c"
 var $108=$tmp; //@line 1682 "../src/h264bsd_deblocking.c"
 var $109=(($108+16)|0); //@line 1682 "../src/h264bsd_deblocking.c"
 var $110=(($109+4)|0); //@line 1682 "../src/h264bsd_deblocking.c"
 var $111=HEAP32[(($110)>>2)]; //@line 1682 "../src/h264bsd_deblocking.c"
 var $112=$4; //@line 1682 "../src/h264bsd_deblocking.c"
 var $113=(($112+24)|0); //@line 1682 "../src/h264bsd_deblocking.c"
 var $114=$5; //@line 1682 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($107,$111,$113,$114); //@line 1682 "../src/h264bsd_deblocking.c"
 label=17;break; //@line 1684 "../src/h264bsd_deblocking.c"
 case 17: 
 var $116=$tmp; //@line 1685 "../src/h264bsd_deblocking.c"
 var $117=(($116+48)|0); //@line 1685 "../src/h264bsd_deblocking.c"
 var $118=(($117+4)|0); //@line 1685 "../src/h264bsd_deblocking.c"
 var $119=HEAP32[(($118)>>2)]; //@line 1685 "../src/h264bsd_deblocking.c"
 var $120=($119|0)!=0; //@line 1685 "../src/h264bsd_deblocking.c"
 if($120){label=18;break;}else{label=19;break;} //@line 1685 "../src/h264bsd_deblocking.c"
 case 18: 
 var $122=$1; //@line 1687 "../src/h264bsd_deblocking.c"
 var $123=$5; //@line 1687 "../src/h264bsd_deblocking.c"
 var $124=($123<<1); //@line 1687 "../src/h264bsd_deblocking.c"
 var $125=(($122+$124)|0); //@line 1687 "../src/h264bsd_deblocking.c"
 var $126=(($125+4)|0); //@line 1687 "../src/h264bsd_deblocking.c"
 var $127=$tmp; //@line 1687 "../src/h264bsd_deblocking.c"
 var $128=(($127+48)|0); //@line 1687 "../src/h264bsd_deblocking.c"
 var $129=(($128+4)|0); //@line 1687 "../src/h264bsd_deblocking.c"
 var $130=HEAP32[(($129)>>2)]; //@line 1687 "../src/h264bsd_deblocking.c"
 var $131=$4; //@line 1687 "../src/h264bsd_deblocking.c"
 var $132=(($131+24)|0); //@line 1687 "../src/h264bsd_deblocking.c"
 var $133=$5; //@line 1687 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($126,$130,$132,$133); //@line 1687 "../src/h264bsd_deblocking.c"
 var $134=$2; //@line 1689 "../src/h264bsd_deblocking.c"
 var $135=$5; //@line 1689 "../src/h264bsd_deblocking.c"
 var $136=($135<<1); //@line 1689 "../src/h264bsd_deblocking.c"
 var $137=(($134+$136)|0); //@line 1689 "../src/h264bsd_deblocking.c"
 var $138=(($137+4)|0); //@line 1689 "../src/h264bsd_deblocking.c"
 var $139=$tmp; //@line 1689 "../src/h264bsd_deblocking.c"
 var $140=(($139+48)|0); //@line 1689 "../src/h264bsd_deblocking.c"
 var $141=(($140+4)|0); //@line 1689 "../src/h264bsd_deblocking.c"
 var $142=HEAP32[(($141)>>2)]; //@line 1689 "../src/h264bsd_deblocking.c"
 var $143=$4; //@line 1689 "../src/h264bsd_deblocking.c"
 var $144=(($143+24)|0); //@line 1689 "../src/h264bsd_deblocking.c"
 var $145=$5; //@line 1689 "../src/h264bsd_deblocking.c"
 _FilterVerChromaEdge($138,$142,$144,$145); //@line 1689 "../src/h264bsd_deblocking.c"
 label=19;break; //@line 1691 "../src/h264bsd_deblocking.c"
 case 19: 
 var $147=$tmp; //@line 1697 "../src/h264bsd_deblocking.c"
 var $148=(($147)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $149=(($148)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $150=HEAP32[(($149)>>2)]; //@line 1697 "../src/h264bsd_deblocking.c"
 var $151=$tmp; //@line 1697 "../src/h264bsd_deblocking.c"
 var $152=(($151+8)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $153=(($152)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $154=HEAP32[(($153)>>2)]; //@line 1697 "../src/h264bsd_deblocking.c"
 var $155=($150|0)==($154|0); //@line 1697 "../src/h264bsd_deblocking.c"
 if($155){label=20;break;}else{label=25;break;} //@line 1697 "../src/h264bsd_deblocking.c"
 case 20: 
 var $157=$tmp; //@line 1697 "../src/h264bsd_deblocking.c"
 var $158=(($157+8)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $159=(($158)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $160=HEAP32[(($159)>>2)]; //@line 1697 "../src/h264bsd_deblocking.c"
 var $161=$tmp; //@line 1697 "../src/h264bsd_deblocking.c"
 var $162=(($161+16)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $163=(($162)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $164=HEAP32[(($163)>>2)]; //@line 1697 "../src/h264bsd_deblocking.c"
 var $165=($160|0)==($164|0); //@line 1697 "../src/h264bsd_deblocking.c"
 if($165){label=21;break;}else{label=25;break;} //@line 1697 "../src/h264bsd_deblocking.c"
 case 21: 
 var $167=$tmp; //@line 1697 "../src/h264bsd_deblocking.c"
 var $168=(($167+16)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $169=(($168)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $170=HEAP32[(($169)>>2)]; //@line 1697 "../src/h264bsd_deblocking.c"
 var $171=$tmp; //@line 1697 "../src/h264bsd_deblocking.c"
 var $172=(($171+24)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $173=(($172)|0); //@line 1697 "../src/h264bsd_deblocking.c"
 var $174=HEAP32[(($173)>>2)]; //@line 1697 "../src/h264bsd_deblocking.c"
 var $175=($170|0)==($174|0); //@line 1697 "../src/h264bsd_deblocking.c"
 if($175){label=22;break;}else{label=25;break;} //@line 1697 "../src/h264bsd_deblocking.c"
 case 22: 
 var $177=$tmp; //@line 1700 "../src/h264bsd_deblocking.c"
 var $178=(($177)|0); //@line 1700 "../src/h264bsd_deblocking.c"
 var $179=(($178)|0); //@line 1700 "../src/h264bsd_deblocking.c"
 var $180=HEAP32[(($179)>>2)]; //@line 1700 "../src/h264bsd_deblocking.c"
 var $181=($180|0)!=0; //@line 1700 "../src/h264bsd_deblocking.c"
 if($181){label=23;break;}else{label=24;break;} //@line 1700 "../src/h264bsd_deblocking.c"
 case 23: 
 var $183=$1; //@line 1702 "../src/h264bsd_deblocking.c"
 var $184=$tmp; //@line 1702 "../src/h264bsd_deblocking.c"
 var $185=(($184)|0); //@line 1702 "../src/h264bsd_deblocking.c"
 var $186=(($185)|0); //@line 1702 "../src/h264bsd_deblocking.c"
 var $187=HEAP32[(($186)>>2)]; //@line 1702 "../src/h264bsd_deblocking.c"
 var $188=$4; //@line 1702 "../src/h264bsd_deblocking.c"
 var $189=$offset; //@line 1702 "../src/h264bsd_deblocking.c"
 var $190=(($188+((($189)*(12))&-1))|0); //@line 1702 "../src/h264bsd_deblocking.c"
 var $191=$5; //@line 1702 "../src/h264bsd_deblocking.c"
 _FilterHorChroma($183,$187,$190,$191); //@line 1702 "../src/h264bsd_deblocking.c"
 var $192=$2; //@line 1704 "../src/h264bsd_deblocking.c"
 var $193=$tmp; //@line 1704 "../src/h264bsd_deblocking.c"
 var $194=(($193)|0); //@line 1704 "../src/h264bsd_deblocking.c"
 var $195=(($194)|0); //@line 1704 "../src/h264bsd_deblocking.c"
 var $196=HEAP32[(($195)>>2)]; //@line 1704 "../src/h264bsd_deblocking.c"
 var $197=$4; //@line 1704 "../src/h264bsd_deblocking.c"
 var $198=$offset; //@line 1704 "../src/h264bsd_deblocking.c"
 var $199=(($197+((($198)*(12))&-1))|0); //@line 1704 "../src/h264bsd_deblocking.c"
 var $200=$5; //@line 1704 "../src/h264bsd_deblocking.c"
 _FilterHorChroma($192,$196,$199,$200); //@line 1704 "../src/h264bsd_deblocking.c"
 label=24;break; //@line 1706 "../src/h264bsd_deblocking.c"
 case 24: 
 label=34;break; //@line 1707 "../src/h264bsd_deblocking.c"
 case 25: 
 var $203=$tmp; //@line 1710 "../src/h264bsd_deblocking.c"
 var $204=(($203)|0); //@line 1710 "../src/h264bsd_deblocking.c"
 var $205=(($204)|0); //@line 1710 "../src/h264bsd_deblocking.c"
 var $206=HEAP32[(($205)>>2)]; //@line 1710 "../src/h264bsd_deblocking.c"
 var $207=($206|0)!=0; //@line 1710 "../src/h264bsd_deblocking.c"
 if($207){label=26;break;}else{label=27;break;} //@line 1710 "../src/h264bsd_deblocking.c"
 case 26: 
 var $209=$1; //@line 1712 "../src/h264bsd_deblocking.c"
 var $210=$tmp; //@line 1712 "../src/h264bsd_deblocking.c"
 var $211=(($210)|0); //@line 1712 "../src/h264bsd_deblocking.c"
 var $212=(($211)|0); //@line 1712 "../src/h264bsd_deblocking.c"
 var $213=HEAP32[(($212)>>2)]; //@line 1712 "../src/h264bsd_deblocking.c"
 var $214=$4; //@line 1712 "../src/h264bsd_deblocking.c"
 var $215=$offset; //@line 1712 "../src/h264bsd_deblocking.c"
 var $216=(($214+((($215)*(12))&-1))|0); //@line 1712 "../src/h264bsd_deblocking.c"
 var $217=$5; //@line 1712 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($209,$213,$216,$217); //@line 1712 "../src/h264bsd_deblocking.c"
 var $218=$2; //@line 1714 "../src/h264bsd_deblocking.c"
 var $219=$tmp; //@line 1714 "../src/h264bsd_deblocking.c"
 var $220=(($219)|0); //@line 1714 "../src/h264bsd_deblocking.c"
 var $221=(($220)|0); //@line 1714 "../src/h264bsd_deblocking.c"
 var $222=HEAP32[(($221)>>2)]; //@line 1714 "../src/h264bsd_deblocking.c"
 var $223=$4; //@line 1714 "../src/h264bsd_deblocking.c"
 var $224=$offset; //@line 1714 "../src/h264bsd_deblocking.c"
 var $225=(($223+((($224)*(12))&-1))|0); //@line 1714 "../src/h264bsd_deblocking.c"
 var $226=$5; //@line 1714 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($218,$222,$225,$226); //@line 1714 "../src/h264bsd_deblocking.c"
 label=27;break; //@line 1716 "../src/h264bsd_deblocking.c"
 case 27: 
 var $228=$tmp; //@line 1717 "../src/h264bsd_deblocking.c"
 var $229=(($228+8)|0); //@line 1717 "../src/h264bsd_deblocking.c"
 var $230=(($229)|0); //@line 1717 "../src/h264bsd_deblocking.c"
 var $231=HEAP32[(($230)>>2)]; //@line 1717 "../src/h264bsd_deblocking.c"
 var $232=($231|0)!=0; //@line 1717 "../src/h264bsd_deblocking.c"
 if($232){label=28;break;}else{label=29;break;} //@line 1717 "../src/h264bsd_deblocking.c"
 case 28: 
 var $234=$1; //@line 1719 "../src/h264bsd_deblocking.c"
 var $235=(($234+2)|0); //@line 1719 "../src/h264bsd_deblocking.c"
 var $236=$tmp; //@line 1719 "../src/h264bsd_deblocking.c"
 var $237=(($236+8)|0); //@line 1719 "../src/h264bsd_deblocking.c"
 var $238=(($237)|0); //@line 1719 "../src/h264bsd_deblocking.c"
 var $239=HEAP32[(($238)>>2)]; //@line 1719 "../src/h264bsd_deblocking.c"
 var $240=$4; //@line 1719 "../src/h264bsd_deblocking.c"
 var $241=$offset; //@line 1719 "../src/h264bsd_deblocking.c"
 var $242=(($240+((($241)*(12))&-1))|0); //@line 1719 "../src/h264bsd_deblocking.c"
 var $243=$5; //@line 1719 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($235,$239,$242,$243); //@line 1719 "../src/h264bsd_deblocking.c"
 var $244=$2; //@line 1721 "../src/h264bsd_deblocking.c"
 var $245=(($244+2)|0); //@line 1721 "../src/h264bsd_deblocking.c"
 var $246=$tmp; //@line 1721 "../src/h264bsd_deblocking.c"
 var $247=(($246+8)|0); //@line 1721 "../src/h264bsd_deblocking.c"
 var $248=(($247)|0); //@line 1721 "../src/h264bsd_deblocking.c"
 var $249=HEAP32[(($248)>>2)]; //@line 1721 "../src/h264bsd_deblocking.c"
 var $250=$4; //@line 1721 "../src/h264bsd_deblocking.c"
 var $251=$offset; //@line 1721 "../src/h264bsd_deblocking.c"
 var $252=(($250+((($251)*(12))&-1))|0); //@line 1721 "../src/h264bsd_deblocking.c"
 var $253=$5; //@line 1721 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($245,$249,$252,$253); //@line 1721 "../src/h264bsd_deblocking.c"
 label=29;break; //@line 1723 "../src/h264bsd_deblocking.c"
 case 29: 
 var $255=$tmp; //@line 1724 "../src/h264bsd_deblocking.c"
 var $256=(($255+16)|0); //@line 1724 "../src/h264bsd_deblocking.c"
 var $257=(($256)|0); //@line 1724 "../src/h264bsd_deblocking.c"
 var $258=HEAP32[(($257)>>2)]; //@line 1724 "../src/h264bsd_deblocking.c"
 var $259=($258|0)!=0; //@line 1724 "../src/h264bsd_deblocking.c"
 if($259){label=30;break;}else{label=31;break;} //@line 1724 "../src/h264bsd_deblocking.c"
 case 30: 
 var $261=$1; //@line 1726 "../src/h264bsd_deblocking.c"
 var $262=(($261+4)|0); //@line 1726 "../src/h264bsd_deblocking.c"
 var $263=$tmp; //@line 1726 "../src/h264bsd_deblocking.c"
 var $264=(($263+16)|0); //@line 1726 "../src/h264bsd_deblocking.c"
 var $265=(($264)|0); //@line 1726 "../src/h264bsd_deblocking.c"
 var $266=HEAP32[(($265)>>2)]; //@line 1726 "../src/h264bsd_deblocking.c"
 var $267=$4; //@line 1726 "../src/h264bsd_deblocking.c"
 var $268=$offset; //@line 1726 "../src/h264bsd_deblocking.c"
 var $269=(($267+((($268)*(12))&-1))|0); //@line 1726 "../src/h264bsd_deblocking.c"
 var $270=$5; //@line 1726 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($262,$266,$269,$270); //@line 1726 "../src/h264bsd_deblocking.c"
 var $271=$2; //@line 1728 "../src/h264bsd_deblocking.c"
 var $272=(($271+4)|0); //@line 1728 "../src/h264bsd_deblocking.c"
 var $273=$tmp; //@line 1728 "../src/h264bsd_deblocking.c"
 var $274=(($273+16)|0); //@line 1728 "../src/h264bsd_deblocking.c"
 var $275=(($274)|0); //@line 1728 "../src/h264bsd_deblocking.c"
 var $276=HEAP32[(($275)>>2)]; //@line 1728 "../src/h264bsd_deblocking.c"
 var $277=$4; //@line 1728 "../src/h264bsd_deblocking.c"
 var $278=$offset; //@line 1728 "../src/h264bsd_deblocking.c"
 var $279=(($277+((($278)*(12))&-1))|0); //@line 1728 "../src/h264bsd_deblocking.c"
 var $280=$5; //@line 1728 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($272,$276,$279,$280); //@line 1728 "../src/h264bsd_deblocking.c"
 label=31;break; //@line 1730 "../src/h264bsd_deblocking.c"
 case 31: 
 var $282=$tmp; //@line 1731 "../src/h264bsd_deblocking.c"
 var $283=(($282+24)|0); //@line 1731 "../src/h264bsd_deblocking.c"
 var $284=(($283)|0); //@line 1731 "../src/h264bsd_deblocking.c"
 var $285=HEAP32[(($284)>>2)]; //@line 1731 "../src/h264bsd_deblocking.c"
 var $286=($285|0)!=0; //@line 1731 "../src/h264bsd_deblocking.c"
 if($286){label=32;break;}else{label=33;break;} //@line 1731 "../src/h264bsd_deblocking.c"
 case 32: 
 var $288=$1; //@line 1733 "../src/h264bsd_deblocking.c"
 var $289=(($288+6)|0); //@line 1733 "../src/h264bsd_deblocking.c"
 var $290=$tmp; //@line 1733 "../src/h264bsd_deblocking.c"
 var $291=(($290+24)|0); //@line 1733 "../src/h264bsd_deblocking.c"
 var $292=(($291)|0); //@line 1733 "../src/h264bsd_deblocking.c"
 var $293=HEAP32[(($292)>>2)]; //@line 1733 "../src/h264bsd_deblocking.c"
 var $294=$4; //@line 1733 "../src/h264bsd_deblocking.c"
 var $295=$offset; //@line 1733 "../src/h264bsd_deblocking.c"
 var $296=(($294+((($295)*(12))&-1))|0); //@line 1733 "../src/h264bsd_deblocking.c"
 var $297=$5; //@line 1733 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($289,$293,$296,$297); //@line 1733 "../src/h264bsd_deblocking.c"
 var $298=$2; //@line 1735 "../src/h264bsd_deblocking.c"
 var $299=(($298+6)|0); //@line 1735 "../src/h264bsd_deblocking.c"
 var $300=$tmp; //@line 1735 "../src/h264bsd_deblocking.c"
 var $301=(($300+24)|0); //@line 1735 "../src/h264bsd_deblocking.c"
 var $302=(($301)|0); //@line 1735 "../src/h264bsd_deblocking.c"
 var $303=HEAP32[(($302)>>2)]; //@line 1735 "../src/h264bsd_deblocking.c"
 var $304=$4; //@line 1735 "../src/h264bsd_deblocking.c"
 var $305=$offset; //@line 1735 "../src/h264bsd_deblocking.c"
 var $306=(($304+((($305)*(12))&-1))|0); //@line 1735 "../src/h264bsd_deblocking.c"
 var $307=$5; //@line 1735 "../src/h264bsd_deblocking.c"
 _FilterHorChromaEdge($299,$303,$306,$307); //@line 1735 "../src/h264bsd_deblocking.c"
 label=33;break; //@line 1737 "../src/h264bsd_deblocking.c"
 case 33: 
 label=34;break;
 case 34: 
 var $310=$tmp; //@line 1740 "../src/h264bsd_deblocking.c"
 var $311=(($310+64)|0); //@line 1740 "../src/h264bsd_deblocking.c"
 $tmp=$311; //@line 1740 "../src/h264bsd_deblocking.c"
 var $312=$5; //@line 1741 "../src/h264bsd_deblocking.c"
 var $313=($312<<2); //@line 1741 "../src/h264bsd_deblocking.c"
 var $314=$1; //@line 1741 "../src/h264bsd_deblocking.c"
 var $315=(($314+$313)|0); //@line 1741 "../src/h264bsd_deblocking.c"
 $1=$315; //@line 1741 "../src/h264bsd_deblocking.c"
 var $316=$5; //@line 1742 "../src/h264bsd_deblocking.c"
 var $317=($316<<2); //@line 1742 "../src/h264bsd_deblocking.c"
 var $318=$2; //@line 1742 "../src/h264bsd_deblocking.c"
 var $319=(($318+$317)|0); //@line 1742 "../src/h264bsd_deblocking.c"
 $2=$319; //@line 1742 "../src/h264bsd_deblocking.c"
 $offset=2; //@line 1743 "../src/h264bsd_deblocking.c"
 label=35;break; //@line 1744 "../src/h264bsd_deblocking.c"
 case 35: 
 var $321=$vblock; //@line 1659 "../src/h264bsd_deblocking.c"
 var $322=((($321)+(1))|0); //@line 1659 "../src/h264bsd_deblocking.c"
 $vblock=$322; //@line 1659 "../src/h264bsd_deblocking.c"
 label=10;break; //@line 1659 "../src/h264bsd_deblocking.c"
 case 36: 
 STACKTOP=sp;return; //@line 1745 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetBoundaryStrengthsA($mb,$bS){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $1=$mb;
 $2=$bS;
 var $3=$1; //@line 1150 "../src/h264bsd_deblocking.c"
 var $4=(($3+28)|0); //@line 1150 "../src/h264bsd_deblocking.c"
 var $5=(($4+4)|0); //@line 1150 "../src/h264bsd_deblocking.c"
 var $6=HEAP16[(($5)>>1)]; //@line 1150 "../src/h264bsd_deblocking.c"
 var $7=(($6<<16)>>16); //@line 1150 "../src/h264bsd_deblocking.c"
 var $8=($7|0)!=0; //@line 1150 "../src/h264bsd_deblocking.c"
 if($8){var $17=1;label=3;break;}else{label=2;break;} //@line 1150 "../src/h264bsd_deblocking.c"
 case 2: 
 var $10=$1; //@line 1150 "../src/h264bsd_deblocking.c"
 var $11=(($10+28)|0); //@line 1150 "../src/h264bsd_deblocking.c"
 var $12=(($11)|0); //@line 1150 "../src/h264bsd_deblocking.c"
 var $13=HEAP16[(($12)>>1)]; //@line 1150 "../src/h264bsd_deblocking.c"
 var $14=(($13<<16)>>16); //@line 1150 "../src/h264bsd_deblocking.c"
 var $15=($14|0)!=0; //@line 1150 "../src/h264bsd_deblocking.c"
 var $17=$15;label=3;break; //@line 1150 "../src/h264bsd_deblocking.c"
 case 3: 
 var $17;
 var $18=($17?2:0); //@line 1150 "../src/h264bsd_deblocking.c"
 var $19=$2; //@line 1150 "../src/h264bsd_deblocking.c"
 var $20=(($19+32)|0); //@line 1150 "../src/h264bsd_deblocking.c"
 var $21=(($20)|0); //@line 1150 "../src/h264bsd_deblocking.c"
 HEAP32[(($21)>>2)]=$18; //@line 1150 "../src/h264bsd_deblocking.c"
 var $22=$1; //@line 1151 "../src/h264bsd_deblocking.c"
 var $23=(($22+28)|0); //@line 1151 "../src/h264bsd_deblocking.c"
 var $24=(($23+6)|0); //@line 1151 "../src/h264bsd_deblocking.c"
 var $25=HEAP16[(($24)>>1)]; //@line 1151 "../src/h264bsd_deblocking.c"
 var $26=(($25<<16)>>16); //@line 1151 "../src/h264bsd_deblocking.c"
 var $27=($26|0)!=0; //@line 1151 "../src/h264bsd_deblocking.c"
 if($27){var $36=1;label=5;break;}else{label=4;break;} //@line 1151 "../src/h264bsd_deblocking.c"
 case 4: 
 var $29=$1; //@line 1151 "../src/h264bsd_deblocking.c"
 var $30=(($29+28)|0); //@line 1151 "../src/h264bsd_deblocking.c"
 var $31=(($30+2)|0); //@line 1151 "../src/h264bsd_deblocking.c"
 var $32=HEAP16[(($31)>>1)]; //@line 1151 "../src/h264bsd_deblocking.c"
 var $33=(($32<<16)>>16); //@line 1151 "../src/h264bsd_deblocking.c"
 var $34=($33|0)!=0; //@line 1151 "../src/h264bsd_deblocking.c"
 var $36=$34;label=5;break; //@line 1151 "../src/h264bsd_deblocking.c"
 case 5: 
 var $36;
 var $37=($36?2:0); //@line 1151 "../src/h264bsd_deblocking.c"
 var $38=$2; //@line 1151 "../src/h264bsd_deblocking.c"
 var $39=(($38+40)|0); //@line 1151 "../src/h264bsd_deblocking.c"
 var $40=(($39)|0); //@line 1151 "../src/h264bsd_deblocking.c"
 HEAP32[(($40)>>2)]=$37; //@line 1151 "../src/h264bsd_deblocking.c"
 var $41=$1; //@line 1152 "../src/h264bsd_deblocking.c"
 var $42=(($41+28)|0); //@line 1152 "../src/h264bsd_deblocking.c"
 var $43=(($42+12)|0); //@line 1152 "../src/h264bsd_deblocking.c"
 var $44=HEAP16[(($43)>>1)]; //@line 1152 "../src/h264bsd_deblocking.c"
 var $45=(($44<<16)>>16); //@line 1152 "../src/h264bsd_deblocking.c"
 var $46=($45|0)!=0; //@line 1152 "../src/h264bsd_deblocking.c"
 if($46){var $55=1;label=7;break;}else{label=6;break;} //@line 1152 "../src/h264bsd_deblocking.c"
 case 6: 
 var $48=$1; //@line 1152 "../src/h264bsd_deblocking.c"
 var $49=(($48+28)|0); //@line 1152 "../src/h264bsd_deblocking.c"
 var $50=(($49+8)|0); //@line 1152 "../src/h264bsd_deblocking.c"
 var $51=HEAP16[(($50)>>1)]; //@line 1152 "../src/h264bsd_deblocking.c"
 var $52=(($51<<16)>>16); //@line 1152 "../src/h264bsd_deblocking.c"
 var $53=($52|0)!=0; //@line 1152 "../src/h264bsd_deblocking.c"
 var $55=$53;label=7;break; //@line 1152 "../src/h264bsd_deblocking.c"
 case 7: 
 var $55;
 var $56=($55?2:0); //@line 1152 "../src/h264bsd_deblocking.c"
 var $57=$2; //@line 1152 "../src/h264bsd_deblocking.c"
 var $58=(($57+48)|0); //@line 1152 "../src/h264bsd_deblocking.c"
 var $59=(($58)|0); //@line 1152 "../src/h264bsd_deblocking.c"
 HEAP32[(($59)>>2)]=$56; //@line 1152 "../src/h264bsd_deblocking.c"
 var $60=$1; //@line 1153 "../src/h264bsd_deblocking.c"
 var $61=(($60+28)|0); //@line 1153 "../src/h264bsd_deblocking.c"
 var $62=(($61+14)|0); //@line 1153 "../src/h264bsd_deblocking.c"
 var $63=HEAP16[(($62)>>1)]; //@line 1153 "../src/h264bsd_deblocking.c"
 var $64=(($63<<16)>>16); //@line 1153 "../src/h264bsd_deblocking.c"
 var $65=($64|0)!=0; //@line 1153 "../src/h264bsd_deblocking.c"
 if($65){var $74=1;label=9;break;}else{label=8;break;} //@line 1153 "../src/h264bsd_deblocking.c"
 case 8: 
 var $67=$1; //@line 1153 "../src/h264bsd_deblocking.c"
 var $68=(($67+28)|0); //@line 1153 "../src/h264bsd_deblocking.c"
 var $69=(($68+10)|0); //@line 1153 "../src/h264bsd_deblocking.c"
 var $70=HEAP16[(($69)>>1)]; //@line 1153 "../src/h264bsd_deblocking.c"
 var $71=(($70<<16)>>16); //@line 1153 "../src/h264bsd_deblocking.c"
 var $72=($71|0)!=0; //@line 1153 "../src/h264bsd_deblocking.c"
 var $74=$72;label=9;break; //@line 1153 "../src/h264bsd_deblocking.c"
 case 9: 
 var $74;
 var $75=($74?2:0); //@line 1153 "../src/h264bsd_deblocking.c"
 var $76=$2; //@line 1153 "../src/h264bsd_deblocking.c"
 var $77=(($76+56)|0); //@line 1153 "../src/h264bsd_deblocking.c"
 var $78=(($77)|0); //@line 1153 "../src/h264bsd_deblocking.c"
 HEAP32[(($78)>>2)]=$75; //@line 1153 "../src/h264bsd_deblocking.c"
 var $79=$1; //@line 1154 "../src/h264bsd_deblocking.c"
 var $80=(($79+28)|0); //@line 1154 "../src/h264bsd_deblocking.c"
 var $81=(($80+16)|0); //@line 1154 "../src/h264bsd_deblocking.c"
 var $82=HEAP16[(($81)>>1)]; //@line 1154 "../src/h264bsd_deblocking.c"
 var $83=(($82<<16)>>16); //@line 1154 "../src/h264bsd_deblocking.c"
 var $84=($83|0)!=0; //@line 1154 "../src/h264bsd_deblocking.c"
 if($84){var $93=1;label=11;break;}else{label=10;break;} //@line 1154 "../src/h264bsd_deblocking.c"
 case 10: 
 var $86=$1; //@line 1154 "../src/h264bsd_deblocking.c"
 var $87=(($86+28)|0); //@line 1154 "../src/h264bsd_deblocking.c"
 var $88=(($87+4)|0); //@line 1154 "../src/h264bsd_deblocking.c"
 var $89=HEAP16[(($88)>>1)]; //@line 1154 "../src/h264bsd_deblocking.c"
 var $90=(($89<<16)>>16); //@line 1154 "../src/h264bsd_deblocking.c"
 var $91=($90|0)!=0; //@line 1154 "../src/h264bsd_deblocking.c"
 var $93=$91;label=11;break; //@line 1154 "../src/h264bsd_deblocking.c"
 case 11: 
 var $93;
 var $94=($93?2:0); //@line 1154 "../src/h264bsd_deblocking.c"
 var $95=$2; //@line 1154 "../src/h264bsd_deblocking.c"
 var $96=(($95+64)|0); //@line 1154 "../src/h264bsd_deblocking.c"
 var $97=(($96)|0); //@line 1154 "../src/h264bsd_deblocking.c"
 HEAP32[(($97)>>2)]=$94; //@line 1154 "../src/h264bsd_deblocking.c"
 var $98=$1; //@line 1155 "../src/h264bsd_deblocking.c"
 var $99=(($98+28)|0); //@line 1155 "../src/h264bsd_deblocking.c"
 var $100=(($99+18)|0); //@line 1155 "../src/h264bsd_deblocking.c"
 var $101=HEAP16[(($100)>>1)]; //@line 1155 "../src/h264bsd_deblocking.c"
 var $102=(($101<<16)>>16); //@line 1155 "../src/h264bsd_deblocking.c"
 var $103=($102|0)!=0; //@line 1155 "../src/h264bsd_deblocking.c"
 if($103){var $112=1;label=13;break;}else{label=12;break;} //@line 1155 "../src/h264bsd_deblocking.c"
 case 12: 
 var $105=$1; //@line 1155 "../src/h264bsd_deblocking.c"
 var $106=(($105+28)|0); //@line 1155 "../src/h264bsd_deblocking.c"
 var $107=(($106+6)|0); //@line 1155 "../src/h264bsd_deblocking.c"
 var $108=HEAP16[(($107)>>1)]; //@line 1155 "../src/h264bsd_deblocking.c"
 var $109=(($108<<16)>>16); //@line 1155 "../src/h264bsd_deblocking.c"
 var $110=($109|0)!=0; //@line 1155 "../src/h264bsd_deblocking.c"
 var $112=$110;label=13;break; //@line 1155 "../src/h264bsd_deblocking.c"
 case 13: 
 var $112;
 var $113=($112?2:0); //@line 1155 "../src/h264bsd_deblocking.c"
 var $114=$2; //@line 1155 "../src/h264bsd_deblocking.c"
 var $115=(($114+72)|0); //@line 1155 "../src/h264bsd_deblocking.c"
 var $116=(($115)|0); //@line 1155 "../src/h264bsd_deblocking.c"
 HEAP32[(($116)>>2)]=$113; //@line 1155 "../src/h264bsd_deblocking.c"
 var $117=$1; //@line 1156 "../src/h264bsd_deblocking.c"
 var $118=(($117+28)|0); //@line 1156 "../src/h264bsd_deblocking.c"
 var $119=(($118+24)|0); //@line 1156 "../src/h264bsd_deblocking.c"
 var $120=HEAP16[(($119)>>1)]; //@line 1156 "../src/h264bsd_deblocking.c"
 var $121=(($120<<16)>>16); //@line 1156 "../src/h264bsd_deblocking.c"
 var $122=($121|0)!=0; //@line 1156 "../src/h264bsd_deblocking.c"
 if($122){var $131=1;label=15;break;}else{label=14;break;} //@line 1156 "../src/h264bsd_deblocking.c"
 case 14: 
 var $124=$1; //@line 1156 "../src/h264bsd_deblocking.c"
 var $125=(($124+28)|0); //@line 1156 "../src/h264bsd_deblocking.c"
 var $126=(($125+12)|0); //@line 1156 "../src/h264bsd_deblocking.c"
 var $127=HEAP16[(($126)>>1)]; //@line 1156 "../src/h264bsd_deblocking.c"
 var $128=(($127<<16)>>16); //@line 1156 "../src/h264bsd_deblocking.c"
 var $129=($128|0)!=0; //@line 1156 "../src/h264bsd_deblocking.c"
 var $131=$129;label=15;break; //@line 1156 "../src/h264bsd_deblocking.c"
 case 15: 
 var $131;
 var $132=($131?2:0); //@line 1156 "../src/h264bsd_deblocking.c"
 var $133=$2; //@line 1156 "../src/h264bsd_deblocking.c"
 var $134=(($133+80)|0); //@line 1156 "../src/h264bsd_deblocking.c"
 var $135=(($134)|0); //@line 1156 "../src/h264bsd_deblocking.c"
 HEAP32[(($135)>>2)]=$132; //@line 1156 "../src/h264bsd_deblocking.c"
 var $136=$1; //@line 1157 "../src/h264bsd_deblocking.c"
 var $137=(($136+28)|0); //@line 1157 "../src/h264bsd_deblocking.c"
 var $138=(($137+26)|0); //@line 1157 "../src/h264bsd_deblocking.c"
 var $139=HEAP16[(($138)>>1)]; //@line 1157 "../src/h264bsd_deblocking.c"
 var $140=(($139<<16)>>16); //@line 1157 "../src/h264bsd_deblocking.c"
 var $141=($140|0)!=0; //@line 1157 "../src/h264bsd_deblocking.c"
 if($141){var $150=1;label=17;break;}else{label=16;break;} //@line 1157 "../src/h264bsd_deblocking.c"
 case 16: 
 var $143=$1; //@line 1157 "../src/h264bsd_deblocking.c"
 var $144=(($143+28)|0); //@line 1157 "../src/h264bsd_deblocking.c"
 var $145=(($144+14)|0); //@line 1157 "../src/h264bsd_deblocking.c"
 var $146=HEAP16[(($145)>>1)]; //@line 1157 "../src/h264bsd_deblocking.c"
 var $147=(($146<<16)>>16); //@line 1157 "../src/h264bsd_deblocking.c"
 var $148=($147|0)!=0; //@line 1157 "../src/h264bsd_deblocking.c"
 var $150=$148;label=17;break; //@line 1157 "../src/h264bsd_deblocking.c"
 case 17: 
 var $150;
 var $151=($150?2:0); //@line 1157 "../src/h264bsd_deblocking.c"
 var $152=$2; //@line 1157 "../src/h264bsd_deblocking.c"
 var $153=(($152+88)|0); //@line 1157 "../src/h264bsd_deblocking.c"
 var $154=(($153)|0); //@line 1157 "../src/h264bsd_deblocking.c"
 HEAP32[(($154)>>2)]=$151; //@line 1157 "../src/h264bsd_deblocking.c"
 var $155=$1; //@line 1158 "../src/h264bsd_deblocking.c"
 var $156=(($155+28)|0); //@line 1158 "../src/h264bsd_deblocking.c"
 var $157=(($156+20)|0); //@line 1158 "../src/h264bsd_deblocking.c"
 var $158=HEAP16[(($157)>>1)]; //@line 1158 "../src/h264bsd_deblocking.c"
 var $159=(($158<<16)>>16); //@line 1158 "../src/h264bsd_deblocking.c"
 var $160=($159|0)!=0; //@line 1158 "../src/h264bsd_deblocking.c"
 if($160){var $169=1;label=19;break;}else{label=18;break;} //@line 1158 "../src/h264bsd_deblocking.c"
 case 18: 
 var $162=$1; //@line 1158 "../src/h264bsd_deblocking.c"
 var $163=(($162+28)|0); //@line 1158 "../src/h264bsd_deblocking.c"
 var $164=(($163+16)|0); //@line 1158 "../src/h264bsd_deblocking.c"
 var $165=HEAP16[(($164)>>1)]; //@line 1158 "../src/h264bsd_deblocking.c"
 var $166=(($165<<16)>>16); //@line 1158 "../src/h264bsd_deblocking.c"
 var $167=($166|0)!=0; //@line 1158 "../src/h264bsd_deblocking.c"
 var $169=$167;label=19;break; //@line 1158 "../src/h264bsd_deblocking.c"
 case 19: 
 var $169;
 var $170=($169?2:0); //@line 1158 "../src/h264bsd_deblocking.c"
 var $171=$2; //@line 1158 "../src/h264bsd_deblocking.c"
 var $172=(($171+96)|0); //@line 1158 "../src/h264bsd_deblocking.c"
 var $173=(($172)|0); //@line 1158 "../src/h264bsd_deblocking.c"
 HEAP32[(($173)>>2)]=$170; //@line 1158 "../src/h264bsd_deblocking.c"
 var $174=$1; //@line 1159 "../src/h264bsd_deblocking.c"
 var $175=(($174+28)|0); //@line 1159 "../src/h264bsd_deblocking.c"
 var $176=(($175+22)|0); //@line 1159 "../src/h264bsd_deblocking.c"
 var $177=HEAP16[(($176)>>1)]; //@line 1159 "../src/h264bsd_deblocking.c"
 var $178=(($177<<16)>>16); //@line 1159 "../src/h264bsd_deblocking.c"
 var $179=($178|0)!=0; //@line 1159 "../src/h264bsd_deblocking.c"
 if($179){var $188=1;label=21;break;}else{label=20;break;} //@line 1159 "../src/h264bsd_deblocking.c"
 case 20: 
 var $181=$1; //@line 1159 "../src/h264bsd_deblocking.c"
 var $182=(($181+28)|0); //@line 1159 "../src/h264bsd_deblocking.c"
 var $183=(($182+18)|0); //@line 1159 "../src/h264bsd_deblocking.c"
 var $184=HEAP16[(($183)>>1)]; //@line 1159 "../src/h264bsd_deblocking.c"
 var $185=(($184<<16)>>16); //@line 1159 "../src/h264bsd_deblocking.c"
 var $186=($185|0)!=0; //@line 1159 "../src/h264bsd_deblocking.c"
 var $188=$186;label=21;break; //@line 1159 "../src/h264bsd_deblocking.c"
 case 21: 
 var $188;
 var $189=($188?2:0); //@line 1159 "../src/h264bsd_deblocking.c"
 var $190=$2; //@line 1159 "../src/h264bsd_deblocking.c"
 var $191=(($190+104)|0); //@line 1159 "../src/h264bsd_deblocking.c"
 var $192=(($191)|0); //@line 1159 "../src/h264bsd_deblocking.c"
 HEAP32[(($192)>>2)]=$189; //@line 1159 "../src/h264bsd_deblocking.c"
 var $193=$1; //@line 1160 "../src/h264bsd_deblocking.c"
 var $194=(($193+28)|0); //@line 1160 "../src/h264bsd_deblocking.c"
 var $195=(($194+28)|0); //@line 1160 "../src/h264bsd_deblocking.c"
 var $196=HEAP16[(($195)>>1)]; //@line 1160 "../src/h264bsd_deblocking.c"
 var $197=(($196<<16)>>16); //@line 1160 "../src/h264bsd_deblocking.c"
 var $198=($197|0)!=0; //@line 1160 "../src/h264bsd_deblocking.c"
 if($198){var $207=1;label=23;break;}else{label=22;break;} //@line 1160 "../src/h264bsd_deblocking.c"
 case 22: 
 var $200=$1; //@line 1160 "../src/h264bsd_deblocking.c"
 var $201=(($200+28)|0); //@line 1160 "../src/h264bsd_deblocking.c"
 var $202=(($201+24)|0); //@line 1160 "../src/h264bsd_deblocking.c"
 var $203=HEAP16[(($202)>>1)]; //@line 1160 "../src/h264bsd_deblocking.c"
 var $204=(($203<<16)>>16); //@line 1160 "../src/h264bsd_deblocking.c"
 var $205=($204|0)!=0; //@line 1160 "../src/h264bsd_deblocking.c"
 var $207=$205;label=23;break; //@line 1160 "../src/h264bsd_deblocking.c"
 case 23: 
 var $207;
 var $208=($207?2:0); //@line 1160 "../src/h264bsd_deblocking.c"
 var $209=$2; //@line 1160 "../src/h264bsd_deblocking.c"
 var $210=(($209+112)|0); //@line 1160 "../src/h264bsd_deblocking.c"
 var $211=(($210)|0); //@line 1160 "../src/h264bsd_deblocking.c"
 HEAP32[(($211)>>2)]=$208; //@line 1160 "../src/h264bsd_deblocking.c"
 var $212=$1; //@line 1161 "../src/h264bsd_deblocking.c"
 var $213=(($212+28)|0); //@line 1161 "../src/h264bsd_deblocking.c"
 var $214=(($213+30)|0); //@line 1161 "../src/h264bsd_deblocking.c"
 var $215=HEAP16[(($214)>>1)]; //@line 1161 "../src/h264bsd_deblocking.c"
 var $216=(($215<<16)>>16); //@line 1161 "../src/h264bsd_deblocking.c"
 var $217=($216|0)!=0; //@line 1161 "../src/h264bsd_deblocking.c"
 if($217){var $226=1;label=25;break;}else{label=24;break;} //@line 1161 "../src/h264bsd_deblocking.c"
 case 24: 
 var $219=$1; //@line 1161 "../src/h264bsd_deblocking.c"
 var $220=(($219+28)|0); //@line 1161 "../src/h264bsd_deblocking.c"
 var $221=(($220+26)|0); //@line 1161 "../src/h264bsd_deblocking.c"
 var $222=HEAP16[(($221)>>1)]; //@line 1161 "../src/h264bsd_deblocking.c"
 var $223=(($222<<16)>>16); //@line 1161 "../src/h264bsd_deblocking.c"
 var $224=($223|0)!=0; //@line 1161 "../src/h264bsd_deblocking.c"
 var $226=$224;label=25;break; //@line 1161 "../src/h264bsd_deblocking.c"
 case 25: 
 var $226;
 var $227=($226?2:0); //@line 1161 "../src/h264bsd_deblocking.c"
 var $228=$2; //@line 1161 "../src/h264bsd_deblocking.c"
 var $229=(($228+120)|0); //@line 1161 "../src/h264bsd_deblocking.c"
 var $230=(($229)|0); //@line 1161 "../src/h264bsd_deblocking.c"
 HEAP32[(($230)>>2)]=$227; //@line 1161 "../src/h264bsd_deblocking.c"
 var $231=$1; //@line 1163 "../src/h264bsd_deblocking.c"
 var $232=(($231+28)|0); //@line 1163 "../src/h264bsd_deblocking.c"
 var $233=(($232+2)|0); //@line 1163 "../src/h264bsd_deblocking.c"
 var $234=HEAP16[(($233)>>1)]; //@line 1163 "../src/h264bsd_deblocking.c"
 var $235=(($234<<16)>>16); //@line 1163 "../src/h264bsd_deblocking.c"
 var $236=($235|0)!=0; //@line 1163 "../src/h264bsd_deblocking.c"
 if($236){var $245=1;label=27;break;}else{label=26;break;} //@line 1163 "../src/h264bsd_deblocking.c"
 case 26: 
 var $238=$1; //@line 1163 "../src/h264bsd_deblocking.c"
 var $239=(($238+28)|0); //@line 1163 "../src/h264bsd_deblocking.c"
 var $240=(($239)|0); //@line 1163 "../src/h264bsd_deblocking.c"
 var $241=HEAP16[(($240)>>1)]; //@line 1163 "../src/h264bsd_deblocking.c"
 var $242=(($241<<16)>>16); //@line 1163 "../src/h264bsd_deblocking.c"
 var $243=($242|0)!=0; //@line 1163 "../src/h264bsd_deblocking.c"
 var $245=$243;label=27;break; //@line 1163 "../src/h264bsd_deblocking.c"
 case 27: 
 var $245;
 var $246=($245?2:0); //@line 1163 "../src/h264bsd_deblocking.c"
 var $247=$2; //@line 1163 "../src/h264bsd_deblocking.c"
 var $248=(($247+8)|0); //@line 1163 "../src/h264bsd_deblocking.c"
 var $249=(($248+4)|0); //@line 1163 "../src/h264bsd_deblocking.c"
 HEAP32[(($249)>>2)]=$246; //@line 1163 "../src/h264bsd_deblocking.c"
 var $250=$1; //@line 1164 "../src/h264bsd_deblocking.c"
 var $251=(($250+28)|0); //@line 1164 "../src/h264bsd_deblocking.c"
 var $252=(($251+8)|0); //@line 1164 "../src/h264bsd_deblocking.c"
 var $253=HEAP16[(($252)>>1)]; //@line 1164 "../src/h264bsd_deblocking.c"
 var $254=(($253<<16)>>16); //@line 1164 "../src/h264bsd_deblocking.c"
 var $255=($254|0)!=0; //@line 1164 "../src/h264bsd_deblocking.c"
 if($255){var $264=1;label=29;break;}else{label=28;break;} //@line 1164 "../src/h264bsd_deblocking.c"
 case 28: 
 var $257=$1; //@line 1164 "../src/h264bsd_deblocking.c"
 var $258=(($257+28)|0); //@line 1164 "../src/h264bsd_deblocking.c"
 var $259=(($258+2)|0); //@line 1164 "../src/h264bsd_deblocking.c"
 var $260=HEAP16[(($259)>>1)]; //@line 1164 "../src/h264bsd_deblocking.c"
 var $261=(($260<<16)>>16); //@line 1164 "../src/h264bsd_deblocking.c"
 var $262=($261|0)!=0; //@line 1164 "../src/h264bsd_deblocking.c"
 var $264=$262;label=29;break; //@line 1164 "../src/h264bsd_deblocking.c"
 case 29: 
 var $264;
 var $265=($264?2:0); //@line 1164 "../src/h264bsd_deblocking.c"
 var $266=$2; //@line 1164 "../src/h264bsd_deblocking.c"
 var $267=(($266+16)|0); //@line 1164 "../src/h264bsd_deblocking.c"
 var $268=(($267+4)|0); //@line 1164 "../src/h264bsd_deblocking.c"
 HEAP32[(($268)>>2)]=$265; //@line 1164 "../src/h264bsd_deblocking.c"
 var $269=$1; //@line 1165 "../src/h264bsd_deblocking.c"
 var $270=(($269+28)|0); //@line 1165 "../src/h264bsd_deblocking.c"
 var $271=(($270+10)|0); //@line 1165 "../src/h264bsd_deblocking.c"
 var $272=HEAP16[(($271)>>1)]; //@line 1165 "../src/h264bsd_deblocking.c"
 var $273=(($272<<16)>>16); //@line 1165 "../src/h264bsd_deblocking.c"
 var $274=($273|0)!=0; //@line 1165 "../src/h264bsd_deblocking.c"
 if($274){var $283=1;label=31;break;}else{label=30;break;} //@line 1165 "../src/h264bsd_deblocking.c"
 case 30: 
 var $276=$1; //@line 1165 "../src/h264bsd_deblocking.c"
 var $277=(($276+28)|0); //@line 1165 "../src/h264bsd_deblocking.c"
 var $278=(($277+8)|0); //@line 1165 "../src/h264bsd_deblocking.c"
 var $279=HEAP16[(($278)>>1)]; //@line 1165 "../src/h264bsd_deblocking.c"
 var $280=(($279<<16)>>16); //@line 1165 "../src/h264bsd_deblocking.c"
 var $281=($280|0)!=0; //@line 1165 "../src/h264bsd_deblocking.c"
 var $283=$281;label=31;break; //@line 1165 "../src/h264bsd_deblocking.c"
 case 31: 
 var $283;
 var $284=($283?2:0); //@line 1165 "../src/h264bsd_deblocking.c"
 var $285=$2; //@line 1165 "../src/h264bsd_deblocking.c"
 var $286=(($285+24)|0); //@line 1165 "../src/h264bsd_deblocking.c"
 var $287=(($286+4)|0); //@line 1165 "../src/h264bsd_deblocking.c"
 HEAP32[(($287)>>2)]=$284; //@line 1165 "../src/h264bsd_deblocking.c"
 var $288=$1; //@line 1166 "../src/h264bsd_deblocking.c"
 var $289=(($288+28)|0); //@line 1166 "../src/h264bsd_deblocking.c"
 var $290=(($289+6)|0); //@line 1166 "../src/h264bsd_deblocking.c"
 var $291=HEAP16[(($290)>>1)]; //@line 1166 "../src/h264bsd_deblocking.c"
 var $292=(($291<<16)>>16); //@line 1166 "../src/h264bsd_deblocking.c"
 var $293=($292|0)!=0; //@line 1166 "../src/h264bsd_deblocking.c"
 if($293){var $302=1;label=33;break;}else{label=32;break;} //@line 1166 "../src/h264bsd_deblocking.c"
 case 32: 
 var $295=$1; //@line 1166 "../src/h264bsd_deblocking.c"
 var $296=(($295+28)|0); //@line 1166 "../src/h264bsd_deblocking.c"
 var $297=(($296+4)|0); //@line 1166 "../src/h264bsd_deblocking.c"
 var $298=HEAP16[(($297)>>1)]; //@line 1166 "../src/h264bsd_deblocking.c"
 var $299=(($298<<16)>>16); //@line 1166 "../src/h264bsd_deblocking.c"
 var $300=($299|0)!=0; //@line 1166 "../src/h264bsd_deblocking.c"
 var $302=$300;label=33;break; //@line 1166 "../src/h264bsd_deblocking.c"
 case 33: 
 var $302;
 var $303=($302?2:0); //@line 1166 "../src/h264bsd_deblocking.c"
 var $304=$2; //@line 1166 "../src/h264bsd_deblocking.c"
 var $305=(($304+40)|0); //@line 1166 "../src/h264bsd_deblocking.c"
 var $306=(($305+4)|0); //@line 1166 "../src/h264bsd_deblocking.c"
 HEAP32[(($306)>>2)]=$303; //@line 1166 "../src/h264bsd_deblocking.c"
 var $307=$1; //@line 1167 "../src/h264bsd_deblocking.c"
 var $308=(($307+28)|0); //@line 1167 "../src/h264bsd_deblocking.c"
 var $309=(($308+12)|0); //@line 1167 "../src/h264bsd_deblocking.c"
 var $310=HEAP16[(($309)>>1)]; //@line 1167 "../src/h264bsd_deblocking.c"
 var $311=(($310<<16)>>16); //@line 1167 "../src/h264bsd_deblocking.c"
 var $312=($311|0)!=0; //@line 1167 "../src/h264bsd_deblocking.c"
 if($312){var $321=1;label=35;break;}else{label=34;break;} //@line 1167 "../src/h264bsd_deblocking.c"
 case 34: 
 var $314=$1; //@line 1167 "../src/h264bsd_deblocking.c"
 var $315=(($314+28)|0); //@line 1167 "../src/h264bsd_deblocking.c"
 var $316=(($315+6)|0); //@line 1167 "../src/h264bsd_deblocking.c"
 var $317=HEAP16[(($316)>>1)]; //@line 1167 "../src/h264bsd_deblocking.c"
 var $318=(($317<<16)>>16); //@line 1167 "../src/h264bsd_deblocking.c"
 var $319=($318|0)!=0; //@line 1167 "../src/h264bsd_deblocking.c"
 var $321=$319;label=35;break; //@line 1167 "../src/h264bsd_deblocking.c"
 case 35: 
 var $321;
 var $322=($321?2:0); //@line 1167 "../src/h264bsd_deblocking.c"
 var $323=$2; //@line 1167 "../src/h264bsd_deblocking.c"
 var $324=(($323+48)|0); //@line 1167 "../src/h264bsd_deblocking.c"
 var $325=(($324+4)|0); //@line 1167 "../src/h264bsd_deblocking.c"
 HEAP32[(($325)>>2)]=$322; //@line 1167 "../src/h264bsd_deblocking.c"
 var $326=$1; //@line 1168 "../src/h264bsd_deblocking.c"
 var $327=(($326+28)|0); //@line 1168 "../src/h264bsd_deblocking.c"
 var $328=(($327+14)|0); //@line 1168 "../src/h264bsd_deblocking.c"
 var $329=HEAP16[(($328)>>1)]; //@line 1168 "../src/h264bsd_deblocking.c"
 var $330=(($329<<16)>>16); //@line 1168 "../src/h264bsd_deblocking.c"
 var $331=($330|0)!=0; //@line 1168 "../src/h264bsd_deblocking.c"
 if($331){var $340=1;label=37;break;}else{label=36;break;} //@line 1168 "../src/h264bsd_deblocking.c"
 case 36: 
 var $333=$1; //@line 1168 "../src/h264bsd_deblocking.c"
 var $334=(($333+28)|0); //@line 1168 "../src/h264bsd_deblocking.c"
 var $335=(($334+12)|0); //@line 1168 "../src/h264bsd_deblocking.c"
 var $336=HEAP16[(($335)>>1)]; //@line 1168 "../src/h264bsd_deblocking.c"
 var $337=(($336<<16)>>16); //@line 1168 "../src/h264bsd_deblocking.c"
 var $338=($337|0)!=0; //@line 1168 "../src/h264bsd_deblocking.c"
 var $340=$338;label=37;break; //@line 1168 "../src/h264bsd_deblocking.c"
 case 37: 
 var $340;
 var $341=($340?2:0); //@line 1168 "../src/h264bsd_deblocking.c"
 var $342=$2; //@line 1168 "../src/h264bsd_deblocking.c"
 var $343=(($342+56)|0); //@line 1168 "../src/h264bsd_deblocking.c"
 var $344=(($343+4)|0); //@line 1168 "../src/h264bsd_deblocking.c"
 HEAP32[(($344)>>2)]=$341; //@line 1168 "../src/h264bsd_deblocking.c"
 var $345=$1; //@line 1169 "../src/h264bsd_deblocking.c"
 var $346=(($345+28)|0); //@line 1169 "../src/h264bsd_deblocking.c"
 var $347=(($346+18)|0); //@line 1169 "../src/h264bsd_deblocking.c"
 var $348=HEAP16[(($347)>>1)]; //@line 1169 "../src/h264bsd_deblocking.c"
 var $349=(($348<<16)>>16); //@line 1169 "../src/h264bsd_deblocking.c"
 var $350=($349|0)!=0; //@line 1169 "../src/h264bsd_deblocking.c"
 if($350){var $359=1;label=39;break;}else{label=38;break;} //@line 1169 "../src/h264bsd_deblocking.c"
 case 38: 
 var $352=$1; //@line 1169 "../src/h264bsd_deblocking.c"
 var $353=(($352+28)|0); //@line 1169 "../src/h264bsd_deblocking.c"
 var $354=(($353+16)|0); //@line 1169 "../src/h264bsd_deblocking.c"
 var $355=HEAP16[(($354)>>1)]; //@line 1169 "../src/h264bsd_deblocking.c"
 var $356=(($355<<16)>>16); //@line 1169 "../src/h264bsd_deblocking.c"
 var $357=($356|0)!=0; //@line 1169 "../src/h264bsd_deblocking.c"
 var $359=$357;label=39;break; //@line 1169 "../src/h264bsd_deblocking.c"
 case 39: 
 var $359;
 var $360=($359?2:0); //@line 1169 "../src/h264bsd_deblocking.c"
 var $361=$2; //@line 1169 "../src/h264bsd_deblocking.c"
 var $362=(($361+72)|0); //@line 1169 "../src/h264bsd_deblocking.c"
 var $363=(($362+4)|0); //@line 1169 "../src/h264bsd_deblocking.c"
 HEAP32[(($363)>>2)]=$360; //@line 1169 "../src/h264bsd_deblocking.c"
 var $364=$1; //@line 1170 "../src/h264bsd_deblocking.c"
 var $365=(($364+28)|0); //@line 1170 "../src/h264bsd_deblocking.c"
 var $366=(($365+24)|0); //@line 1170 "../src/h264bsd_deblocking.c"
 var $367=HEAP16[(($366)>>1)]; //@line 1170 "../src/h264bsd_deblocking.c"
 var $368=(($367<<16)>>16); //@line 1170 "../src/h264bsd_deblocking.c"
 var $369=($368|0)!=0; //@line 1170 "../src/h264bsd_deblocking.c"
 if($369){var $378=1;label=41;break;}else{label=40;break;} //@line 1170 "../src/h264bsd_deblocking.c"
 case 40: 
 var $371=$1; //@line 1170 "../src/h264bsd_deblocking.c"
 var $372=(($371+28)|0); //@line 1170 "../src/h264bsd_deblocking.c"
 var $373=(($372+18)|0); //@line 1170 "../src/h264bsd_deblocking.c"
 var $374=HEAP16[(($373)>>1)]; //@line 1170 "../src/h264bsd_deblocking.c"
 var $375=(($374<<16)>>16); //@line 1170 "../src/h264bsd_deblocking.c"
 var $376=($375|0)!=0; //@line 1170 "../src/h264bsd_deblocking.c"
 var $378=$376;label=41;break; //@line 1170 "../src/h264bsd_deblocking.c"
 case 41: 
 var $378;
 var $379=($378?2:0); //@line 1170 "../src/h264bsd_deblocking.c"
 var $380=$2; //@line 1170 "../src/h264bsd_deblocking.c"
 var $381=(($380+80)|0); //@line 1170 "../src/h264bsd_deblocking.c"
 var $382=(($381+4)|0); //@line 1170 "../src/h264bsd_deblocking.c"
 HEAP32[(($382)>>2)]=$379; //@line 1170 "../src/h264bsd_deblocking.c"
 var $383=$1; //@line 1171 "../src/h264bsd_deblocking.c"
 var $384=(($383+28)|0); //@line 1171 "../src/h264bsd_deblocking.c"
 var $385=(($384+26)|0); //@line 1171 "../src/h264bsd_deblocking.c"
 var $386=HEAP16[(($385)>>1)]; //@line 1171 "../src/h264bsd_deblocking.c"
 var $387=(($386<<16)>>16); //@line 1171 "../src/h264bsd_deblocking.c"
 var $388=($387|0)!=0; //@line 1171 "../src/h264bsd_deblocking.c"
 if($388){var $397=1;label=43;break;}else{label=42;break;} //@line 1171 "../src/h264bsd_deblocking.c"
 case 42: 
 var $390=$1; //@line 1171 "../src/h264bsd_deblocking.c"
 var $391=(($390+28)|0); //@line 1171 "../src/h264bsd_deblocking.c"
 var $392=(($391+24)|0); //@line 1171 "../src/h264bsd_deblocking.c"
 var $393=HEAP16[(($392)>>1)]; //@line 1171 "../src/h264bsd_deblocking.c"
 var $394=(($393<<16)>>16); //@line 1171 "../src/h264bsd_deblocking.c"
 var $395=($394|0)!=0; //@line 1171 "../src/h264bsd_deblocking.c"
 var $397=$395;label=43;break; //@line 1171 "../src/h264bsd_deblocking.c"
 case 43: 
 var $397;
 var $398=($397?2:0); //@line 1171 "../src/h264bsd_deblocking.c"
 var $399=$2; //@line 1171 "../src/h264bsd_deblocking.c"
 var $400=(($399+88)|0); //@line 1171 "../src/h264bsd_deblocking.c"
 var $401=(($400+4)|0); //@line 1171 "../src/h264bsd_deblocking.c"
 HEAP32[(($401)>>2)]=$398; //@line 1171 "../src/h264bsd_deblocking.c"
 var $402=$1; //@line 1172 "../src/h264bsd_deblocking.c"
 var $403=(($402+28)|0); //@line 1172 "../src/h264bsd_deblocking.c"
 var $404=(($403+22)|0); //@line 1172 "../src/h264bsd_deblocking.c"
 var $405=HEAP16[(($404)>>1)]; //@line 1172 "../src/h264bsd_deblocking.c"
 var $406=(($405<<16)>>16); //@line 1172 "../src/h264bsd_deblocking.c"
 var $407=($406|0)!=0; //@line 1172 "../src/h264bsd_deblocking.c"
 if($407){var $416=1;label=45;break;}else{label=44;break;} //@line 1172 "../src/h264bsd_deblocking.c"
 case 44: 
 var $409=$1; //@line 1172 "../src/h264bsd_deblocking.c"
 var $410=(($409+28)|0); //@line 1172 "../src/h264bsd_deblocking.c"
 var $411=(($410+20)|0); //@line 1172 "../src/h264bsd_deblocking.c"
 var $412=HEAP16[(($411)>>1)]; //@line 1172 "../src/h264bsd_deblocking.c"
 var $413=(($412<<16)>>16); //@line 1172 "../src/h264bsd_deblocking.c"
 var $414=($413|0)!=0; //@line 1172 "../src/h264bsd_deblocking.c"
 var $416=$414;label=45;break; //@line 1172 "../src/h264bsd_deblocking.c"
 case 45: 
 var $416;
 var $417=($416?2:0); //@line 1172 "../src/h264bsd_deblocking.c"
 var $418=$2; //@line 1172 "../src/h264bsd_deblocking.c"
 var $419=(($418+104)|0); //@line 1172 "../src/h264bsd_deblocking.c"
 var $420=(($419+4)|0); //@line 1172 "../src/h264bsd_deblocking.c"
 HEAP32[(($420)>>2)]=$417; //@line 1172 "../src/h264bsd_deblocking.c"
 var $421=$1; //@line 1173 "../src/h264bsd_deblocking.c"
 var $422=(($421+28)|0); //@line 1173 "../src/h264bsd_deblocking.c"
 var $423=(($422+28)|0); //@line 1173 "../src/h264bsd_deblocking.c"
 var $424=HEAP16[(($423)>>1)]; //@line 1173 "../src/h264bsd_deblocking.c"
 var $425=(($424<<16)>>16); //@line 1173 "../src/h264bsd_deblocking.c"
 var $426=($425|0)!=0; //@line 1173 "../src/h264bsd_deblocking.c"
 if($426){var $435=1;label=47;break;}else{label=46;break;} //@line 1173 "../src/h264bsd_deblocking.c"
 case 46: 
 var $428=$1; //@line 1173 "../src/h264bsd_deblocking.c"
 var $429=(($428+28)|0); //@line 1173 "../src/h264bsd_deblocking.c"
 var $430=(($429+22)|0); //@line 1173 "../src/h264bsd_deblocking.c"
 var $431=HEAP16[(($430)>>1)]; //@line 1173 "../src/h264bsd_deblocking.c"
 var $432=(($431<<16)>>16); //@line 1173 "../src/h264bsd_deblocking.c"
 var $433=($432|0)!=0; //@line 1173 "../src/h264bsd_deblocking.c"
 var $435=$433;label=47;break; //@line 1173 "../src/h264bsd_deblocking.c"
 case 47: 
 var $435;
 var $436=($435?2:0); //@line 1173 "../src/h264bsd_deblocking.c"
 var $437=$2; //@line 1173 "../src/h264bsd_deblocking.c"
 var $438=(($437+112)|0); //@line 1173 "../src/h264bsd_deblocking.c"
 var $439=(($438+4)|0); //@line 1173 "../src/h264bsd_deblocking.c"
 HEAP32[(($439)>>2)]=$436; //@line 1173 "../src/h264bsd_deblocking.c"
 var $440=$1; //@line 1174 "../src/h264bsd_deblocking.c"
 var $441=(($440+28)|0); //@line 1174 "../src/h264bsd_deblocking.c"
 var $442=(($441+30)|0); //@line 1174 "../src/h264bsd_deblocking.c"
 var $443=HEAP16[(($442)>>1)]; //@line 1174 "../src/h264bsd_deblocking.c"
 var $444=(($443<<16)>>16); //@line 1174 "../src/h264bsd_deblocking.c"
 var $445=($444|0)!=0; //@line 1174 "../src/h264bsd_deblocking.c"
 if($445){var $454=1;label=49;break;}else{label=48;break;} //@line 1174 "../src/h264bsd_deblocking.c"
 case 48: 
 var $447=$1; //@line 1174 "../src/h264bsd_deblocking.c"
 var $448=(($447+28)|0); //@line 1174 "../src/h264bsd_deblocking.c"
 var $449=(($448+28)|0); //@line 1174 "../src/h264bsd_deblocking.c"
 var $450=HEAP16[(($449)>>1)]; //@line 1174 "../src/h264bsd_deblocking.c"
 var $451=(($450<<16)>>16); //@line 1174 "../src/h264bsd_deblocking.c"
 var $452=($451|0)!=0; //@line 1174 "../src/h264bsd_deblocking.c"
 var $454=$452;label=49;break; //@line 1174 "../src/h264bsd_deblocking.c"
 case 49: 
 var $454;
 var $455=($454?2:0); //@line 1174 "../src/h264bsd_deblocking.c"
 var $456=$2; //@line 1174 "../src/h264bsd_deblocking.c"
 var $457=(($456+120)|0); //@line 1174 "../src/h264bsd_deblocking.c"
 var $458=(($457+4)|0); //@line 1174 "../src/h264bsd_deblocking.c"
 HEAP32[(($458)>>2)]=$455; //@line 1174 "../src/h264bsd_deblocking.c"
 STACKTOP=sp;return; //@line 1175 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterVerChromaEdge($data,$bS,$thresholds,$width){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $delta;
 var $tc;
 var $p0;
 var $q0;
 var $p1;
 var $q1;
 var $clp;
 $1=$data;
 $2=$bS;
 $3=$thresholds;
 $4=$width;
 $clp=1872; //@line 978 "../src/h264bsd_deblocking.c"
 var $5=$1; //@line 982 "../src/h264bsd_deblocking.c"
 var $6=($5|0)!=0; //@line 982 "../src/h264bsd_deblocking.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 982 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(12344,11664,982,15984); //@line 982 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 982 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 982 "../src/h264bsd_deblocking.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 982 "../src/h264bsd_deblocking.c"
 var $12=$2; //@line 983 "../src/h264bsd_deblocking.c"
 var $13=($12>>>0)<=4; //@line 983 "../src/h264bsd_deblocking.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 983 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(11728,11664,983,15984); //@line 983 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 983 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 983 "../src/h264bsd_deblocking.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 983 "../src/h264bsd_deblocking.c"
 var $19=$3; //@line 984 "../src/h264bsd_deblocking.c"
 var $20=($19|0)!=0; //@line 984 "../src/h264bsd_deblocking.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 984 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(4568,11664,984,15984); //@line 984 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 984 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 984 "../src/h264bsd_deblocking.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 984 "../src/h264bsd_deblocking.c"
 var $26=$1; //@line 986 "../src/h264bsd_deblocking.c"
 var $27=((($26)-(2))|0); //@line 986 "../src/h264bsd_deblocking.c"
 var $28=HEAP8[($27)]; //@line 986 "../src/h264bsd_deblocking.c"
 $p1=$28; //@line 986 "../src/h264bsd_deblocking.c"
 var $29=$1; //@line 986 "../src/h264bsd_deblocking.c"
 var $30=((($29)-(1))|0); //@line 986 "../src/h264bsd_deblocking.c"
 var $31=HEAP8[($30)]; //@line 986 "../src/h264bsd_deblocking.c"
 $p0=$31; //@line 986 "../src/h264bsd_deblocking.c"
 var $32=$1; //@line 987 "../src/h264bsd_deblocking.c"
 var $33=(($32)|0); //@line 987 "../src/h264bsd_deblocking.c"
 var $34=HEAP8[($33)]; //@line 987 "../src/h264bsd_deblocking.c"
 $q0=$34; //@line 987 "../src/h264bsd_deblocking.c"
 var $35=$1; //@line 987 "../src/h264bsd_deblocking.c"
 var $36=(($35+1)|0); //@line 987 "../src/h264bsd_deblocking.c"
 var $37=HEAP8[($36)]; //@line 987 "../src/h264bsd_deblocking.c"
 $q1=$37; //@line 987 "../src/h264bsd_deblocking.c"
 var $38=$p0; //@line 988 "../src/h264bsd_deblocking.c"
 var $39=($38&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $40=$q0; //@line 988 "../src/h264bsd_deblocking.c"
 var $41=($40&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $42=((($39)-($41))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $43=($42|0)<0; //@line 988 "../src/h264bsd_deblocking.c"
 if($43){label=8;break;}else{label=9;break;} //@line 988 "../src/h264bsd_deblocking.c"
 case 8: 
 var $45=$p0; //@line 988 "../src/h264bsd_deblocking.c"
 var $46=($45&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $47=$q0; //@line 988 "../src/h264bsd_deblocking.c"
 var $48=($47&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $49=((($46)-($48))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $50=(((-$49))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $58=$50;label=10;break; //@line 988 "../src/h264bsd_deblocking.c"
 case 9: 
 var $52=$p0; //@line 988 "../src/h264bsd_deblocking.c"
 var $53=($52&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $54=$q0; //@line 988 "../src/h264bsd_deblocking.c"
 var $55=($54&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $56=((($53)-($55))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $58=$56;label=10;break; //@line 988 "../src/h264bsd_deblocking.c"
 case 10: 
 var $58; //@line 988 "../src/h264bsd_deblocking.c"
 var $59=$3; //@line 988 "../src/h264bsd_deblocking.c"
 var $60=(($59+4)|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $61=HEAP32[(($60)>>2)]; //@line 988 "../src/h264bsd_deblocking.c"
 var $62=($58>>>0)<($61>>>0); //@line 988 "../src/h264bsd_deblocking.c"
 if($62){label=11;break;}else{label=29;break;} //@line 988 "../src/h264bsd_deblocking.c"
 case 11: 
 var $64=$p1; //@line 988 "../src/h264bsd_deblocking.c"
 var $65=($64&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $66=$p0; //@line 988 "../src/h264bsd_deblocking.c"
 var $67=($66&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $68=((($65)-($67))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $69=($68|0)<0; //@line 988 "../src/h264bsd_deblocking.c"
 if($69){label=12;break;}else{label=13;break;} //@line 988 "../src/h264bsd_deblocking.c"
 case 12: 
 var $71=$p1; //@line 988 "../src/h264bsd_deblocking.c"
 var $72=($71&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $73=$p0; //@line 988 "../src/h264bsd_deblocking.c"
 var $74=($73&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $75=((($72)-($74))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $76=(((-$75))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $84=$76;label=14;break; //@line 988 "../src/h264bsd_deblocking.c"
 case 13: 
 var $78=$p1; //@line 988 "../src/h264bsd_deblocking.c"
 var $79=($78&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $80=$p0; //@line 988 "../src/h264bsd_deblocking.c"
 var $81=($80&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $82=((($79)-($81))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $84=$82;label=14;break; //@line 988 "../src/h264bsd_deblocking.c"
 case 14: 
 var $84; //@line 988 "../src/h264bsd_deblocking.c"
 var $85=$3; //@line 988 "../src/h264bsd_deblocking.c"
 var $86=(($85+8)|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $87=HEAP32[(($86)>>2)]; //@line 988 "../src/h264bsd_deblocking.c"
 var $88=($84>>>0)<($87>>>0); //@line 988 "../src/h264bsd_deblocking.c"
 if($88){label=15;break;}else{label=29;break;} //@line 988 "../src/h264bsd_deblocking.c"
 case 15: 
 var $90=$q1; //@line 988 "../src/h264bsd_deblocking.c"
 var $91=($90&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $92=$q0; //@line 988 "../src/h264bsd_deblocking.c"
 var $93=($92&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $94=((($91)-($93))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $95=($94|0)<0; //@line 988 "../src/h264bsd_deblocking.c"
 if($95){label=16;break;}else{label=17;break;} //@line 988 "../src/h264bsd_deblocking.c"
 case 16: 
 var $97=$q1; //@line 988 "../src/h264bsd_deblocking.c"
 var $98=($97&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $99=$q0; //@line 988 "../src/h264bsd_deblocking.c"
 var $100=($99&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $101=((($98)-($100))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $102=(((-$101))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $110=$102;label=18;break; //@line 988 "../src/h264bsd_deblocking.c"
 case 17: 
 var $104=$q1; //@line 988 "../src/h264bsd_deblocking.c"
 var $105=($104&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $106=$q0; //@line 988 "../src/h264bsd_deblocking.c"
 var $107=($106&255); //@line 988 "../src/h264bsd_deblocking.c"
 var $108=((($105)-($107))|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $110=$108;label=18;break; //@line 988 "../src/h264bsd_deblocking.c"
 case 18: 
 var $110; //@line 988 "../src/h264bsd_deblocking.c"
 var $111=$3; //@line 988 "../src/h264bsd_deblocking.c"
 var $112=(($111+8)|0); //@line 988 "../src/h264bsd_deblocking.c"
 var $113=HEAP32[(($112)>>2)]; //@line 988 "../src/h264bsd_deblocking.c"
 var $114=($110>>>0)<($113>>>0); //@line 988 "../src/h264bsd_deblocking.c"
 if($114){label=19;break;}else{label=29;break;} //@line 988 "../src/h264bsd_deblocking.c"
 case 19: 
 var $116=$2; //@line 992 "../src/h264bsd_deblocking.c"
 var $117=($116>>>0)<4; //@line 992 "../src/h264bsd_deblocking.c"
 if($117){label=20;break;}else{label=27;break;} //@line 992 "../src/h264bsd_deblocking.c"
 case 20: 
 var $119=$2; //@line 994 "../src/h264bsd_deblocking.c"
 var $120=((($119)-(1))|0); //@line 994 "../src/h264bsd_deblocking.c"
 var $121=$3; //@line 994 "../src/h264bsd_deblocking.c"
 var $122=(($121)|0); //@line 994 "../src/h264bsd_deblocking.c"
 var $123=HEAP32[(($122)>>2)]; //@line 994 "../src/h264bsd_deblocking.c"
 var $124=(($123+$120)|0); //@line 994 "../src/h264bsd_deblocking.c"
 var $125=HEAP8[($124)]; //@line 994 "../src/h264bsd_deblocking.c"
 var $126=($125&255); //@line 994 "../src/h264bsd_deblocking.c"
 var $127=((($126)+(1))|0); //@line 994 "../src/h264bsd_deblocking.c"
 $tc=$127; //@line 994 "../src/h264bsd_deblocking.c"
 var $128=$q0; //@line 995 "../src/h264bsd_deblocking.c"
 var $129=($128&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $130=$p0; //@line 995 "../src/h264bsd_deblocking.c"
 var $131=($130&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $132=((($129)-($131))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $133=$132<<2; //@line 995 "../src/h264bsd_deblocking.c"
 var $134=$p1; //@line 995 "../src/h264bsd_deblocking.c"
 var $135=($134&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $136=$q1; //@line 995 "../src/h264bsd_deblocking.c"
 var $137=($136&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $138=((($135)-($137))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $139=((($133)+($138))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $140=((($139)+(4))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $141=$140>>3; //@line 995 "../src/h264bsd_deblocking.c"
 var $142=$tc; //@line 995 "../src/h264bsd_deblocking.c"
 var $143=(((-$142))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $144=($141|0)<($143|0); //@line 995 "../src/h264bsd_deblocking.c"
 if($144){label=21;break;}else{label=22;break;} //@line 995 "../src/h264bsd_deblocking.c"
 case 21: 
 var $146=$tc; //@line 995 "../src/h264bsd_deblocking.c"
 var $147=(((-$146))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $185=$147;label=26;break; //@line 995 "../src/h264bsd_deblocking.c"
 case 22: 
 var $149=$q0; //@line 995 "../src/h264bsd_deblocking.c"
 var $150=($149&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $151=$p0; //@line 995 "../src/h264bsd_deblocking.c"
 var $152=($151&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $153=((($150)-($152))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $154=$153<<2; //@line 995 "../src/h264bsd_deblocking.c"
 var $155=$p1; //@line 995 "../src/h264bsd_deblocking.c"
 var $156=($155&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $157=$q1; //@line 995 "../src/h264bsd_deblocking.c"
 var $158=($157&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $159=((($156)-($158))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $160=((($154)+($159))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $161=((($160)+(4))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $162=$161>>3; //@line 995 "../src/h264bsd_deblocking.c"
 var $163=$tc; //@line 995 "../src/h264bsd_deblocking.c"
 var $164=($162|0)>($163|0); //@line 995 "../src/h264bsd_deblocking.c"
 if($164){label=23;break;}else{label=24;break;} //@line 995 "../src/h264bsd_deblocking.c"
 case 23: 
 var $166=$tc; //@line 995 "../src/h264bsd_deblocking.c"
 var $183=$166;label=25;break; //@line 995 "../src/h264bsd_deblocking.c"
 case 24: 
 var $168=$q0; //@line 995 "../src/h264bsd_deblocking.c"
 var $169=($168&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $170=$p0; //@line 995 "../src/h264bsd_deblocking.c"
 var $171=($170&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $172=((($169)-($171))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $173=$172<<2; //@line 995 "../src/h264bsd_deblocking.c"
 var $174=$p1; //@line 995 "../src/h264bsd_deblocking.c"
 var $175=($174&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $176=$q1; //@line 995 "../src/h264bsd_deblocking.c"
 var $177=($176&255); //@line 995 "../src/h264bsd_deblocking.c"
 var $178=((($175)-($177))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $179=((($173)+($178))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $180=((($179)+(4))|0); //@line 995 "../src/h264bsd_deblocking.c"
 var $181=$180>>3; //@line 995 "../src/h264bsd_deblocking.c"
 var $183=$181;label=25;break; //@line 995 "../src/h264bsd_deblocking.c"
 case 25: 
 var $183; //@line 995 "../src/h264bsd_deblocking.c"
 var $185=$183;label=26;break; //@line 995 "../src/h264bsd_deblocking.c"
 case 26: 
 var $185; //@line 995 "../src/h264bsd_deblocking.c"
 $delta=$185; //@line 995 "../src/h264bsd_deblocking.c"
 var $186=$p0; //@line 997 "../src/h264bsd_deblocking.c"
 var $187=($186&255); //@line 997 "../src/h264bsd_deblocking.c"
 var $188=$delta; //@line 997 "../src/h264bsd_deblocking.c"
 var $189=((($187)+($188))|0); //@line 997 "../src/h264bsd_deblocking.c"
 var $190=$clp; //@line 997 "../src/h264bsd_deblocking.c"
 var $191=(($190+$189)|0); //@line 997 "../src/h264bsd_deblocking.c"
 var $192=HEAP8[($191)]; //@line 997 "../src/h264bsd_deblocking.c"
 $p0=$192; //@line 997 "../src/h264bsd_deblocking.c"
 var $193=$q0; //@line 998 "../src/h264bsd_deblocking.c"
 var $194=($193&255); //@line 998 "../src/h264bsd_deblocking.c"
 var $195=$delta; //@line 998 "../src/h264bsd_deblocking.c"
 var $196=((($194)-($195))|0); //@line 998 "../src/h264bsd_deblocking.c"
 var $197=$clp; //@line 998 "../src/h264bsd_deblocking.c"
 var $198=(($197+$196)|0); //@line 998 "../src/h264bsd_deblocking.c"
 var $199=HEAP8[($198)]; //@line 998 "../src/h264bsd_deblocking.c"
 $q0=$199; //@line 998 "../src/h264bsd_deblocking.c"
 var $200=$p0; //@line 999 "../src/h264bsd_deblocking.c"
 var $201=$1; //@line 999 "../src/h264bsd_deblocking.c"
 var $202=((($201)-(1))|0); //@line 999 "../src/h264bsd_deblocking.c"
 HEAP8[($202)]=$200; //@line 999 "../src/h264bsd_deblocking.c"
 var $203=$q0; //@line 1000 "../src/h264bsd_deblocking.c"
 var $204=$1; //@line 1000 "../src/h264bsd_deblocking.c"
 var $205=(($204)|0); //@line 1000 "../src/h264bsd_deblocking.c"
 HEAP8[($205)]=$203; //@line 1000 "../src/h264bsd_deblocking.c"
 label=28;break; //@line 1001 "../src/h264bsd_deblocking.c"
 case 27: 
 var $207=$p1; //@line 1004 "../src/h264bsd_deblocking.c"
 var $208=($207&255); //@line 1004 "../src/h264bsd_deblocking.c"
 var $209=($208<<1); //@line 1004 "../src/h264bsd_deblocking.c"
 var $210=$p0; //@line 1004 "../src/h264bsd_deblocking.c"
 var $211=($210&255); //@line 1004 "../src/h264bsd_deblocking.c"
 var $212=((($209)+($211))|0); //@line 1004 "../src/h264bsd_deblocking.c"
 var $213=$q1; //@line 1004 "../src/h264bsd_deblocking.c"
 var $214=($213&255); //@line 1004 "../src/h264bsd_deblocking.c"
 var $215=((($212)+($214))|0); //@line 1004 "../src/h264bsd_deblocking.c"
 var $216=((($215)+(2))|0); //@line 1004 "../src/h264bsd_deblocking.c"
 var $217=$216>>2; //@line 1004 "../src/h264bsd_deblocking.c"
 var $218=(($217)&255); //@line 1004 "../src/h264bsd_deblocking.c"
 var $219=$1; //@line 1004 "../src/h264bsd_deblocking.c"
 var $220=((($219)-(1))|0); //@line 1004 "../src/h264bsd_deblocking.c"
 HEAP8[($220)]=$218; //@line 1004 "../src/h264bsd_deblocking.c"
 var $221=$q1; //@line 1005 "../src/h264bsd_deblocking.c"
 var $222=($221&255); //@line 1005 "../src/h264bsd_deblocking.c"
 var $223=($222<<1); //@line 1005 "../src/h264bsd_deblocking.c"
 var $224=$q0; //@line 1005 "../src/h264bsd_deblocking.c"
 var $225=($224&255); //@line 1005 "../src/h264bsd_deblocking.c"
 var $226=((($223)+($225))|0); //@line 1005 "../src/h264bsd_deblocking.c"
 var $227=$p1; //@line 1005 "../src/h264bsd_deblocking.c"
 var $228=($227&255); //@line 1005 "../src/h264bsd_deblocking.c"
 var $229=((($226)+($228))|0); //@line 1005 "../src/h264bsd_deblocking.c"
 var $230=((($229)+(2))|0); //@line 1005 "../src/h264bsd_deblocking.c"
 var $231=$230>>2; //@line 1005 "../src/h264bsd_deblocking.c"
 var $232=(($231)&255); //@line 1005 "../src/h264bsd_deblocking.c"
 var $233=$1; //@line 1005 "../src/h264bsd_deblocking.c"
 var $234=(($233)|0); //@line 1005 "../src/h264bsd_deblocking.c"
 HEAP8[($234)]=$232; //@line 1005 "../src/h264bsd_deblocking.c"
 label=28;break;
 case 28: 
 label=29;break; //@line 1007 "../src/h264bsd_deblocking.c"
 case 29: 
 var $237=$4; //@line 1008 "../src/h264bsd_deblocking.c"
 var $238=$1; //@line 1008 "../src/h264bsd_deblocking.c"
 var $239=(($238+$237)|0); //@line 1008 "../src/h264bsd_deblocking.c"
 $1=$239; //@line 1008 "../src/h264bsd_deblocking.c"
 var $240=$1; //@line 1009 "../src/h264bsd_deblocking.c"
 var $241=((($240)-(2))|0); //@line 1009 "../src/h264bsd_deblocking.c"
 var $242=HEAP8[($241)]; //@line 1009 "../src/h264bsd_deblocking.c"
 $p1=$242; //@line 1009 "../src/h264bsd_deblocking.c"
 var $243=$1; //@line 1009 "../src/h264bsd_deblocking.c"
 var $244=((($243)-(1))|0); //@line 1009 "../src/h264bsd_deblocking.c"
 var $245=HEAP8[($244)]; //@line 1009 "../src/h264bsd_deblocking.c"
 $p0=$245; //@line 1009 "../src/h264bsd_deblocking.c"
 var $246=$1; //@line 1010 "../src/h264bsd_deblocking.c"
 var $247=(($246)|0); //@line 1010 "../src/h264bsd_deblocking.c"
 var $248=HEAP8[($247)]; //@line 1010 "../src/h264bsd_deblocking.c"
 $q0=$248; //@line 1010 "../src/h264bsd_deblocking.c"
 var $249=$1; //@line 1010 "../src/h264bsd_deblocking.c"
 var $250=(($249+1)|0); //@line 1010 "../src/h264bsd_deblocking.c"
 var $251=HEAP8[($250)]; //@line 1010 "../src/h264bsd_deblocking.c"
 $q1=$251; //@line 1010 "../src/h264bsd_deblocking.c"
 var $252=$p0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $253=($252&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $254=$q0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $255=($254&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $256=((($253)-($255))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $257=($256|0)<0; //@line 1011 "../src/h264bsd_deblocking.c"
 if($257){label=30;break;}else{label=31;break;} //@line 1011 "../src/h264bsd_deblocking.c"
 case 30: 
 var $259=$p0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $260=($259&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $261=$q0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $262=($261&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $263=((($260)-($262))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $264=(((-$263))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $272=$264;label=32;break; //@line 1011 "../src/h264bsd_deblocking.c"
 case 31: 
 var $266=$p0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $267=($266&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $268=$q0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $269=($268&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $270=((($267)-($269))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $272=$270;label=32;break; //@line 1011 "../src/h264bsd_deblocking.c"
 case 32: 
 var $272; //@line 1011 "../src/h264bsd_deblocking.c"
 var $273=$3; //@line 1011 "../src/h264bsd_deblocking.c"
 var $274=(($273+4)|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $275=HEAP32[(($274)>>2)]; //@line 1011 "../src/h264bsd_deblocking.c"
 var $276=($272>>>0)<($275>>>0); //@line 1011 "../src/h264bsd_deblocking.c"
 if($276){label=33;break;}else{label=51;break;} //@line 1011 "../src/h264bsd_deblocking.c"
 case 33: 
 var $278=$p1; //@line 1011 "../src/h264bsd_deblocking.c"
 var $279=($278&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $280=$p0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $281=($280&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $282=((($279)-($281))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $283=($282|0)<0; //@line 1011 "../src/h264bsd_deblocking.c"
 if($283){label=34;break;}else{label=35;break;} //@line 1011 "../src/h264bsd_deblocking.c"
 case 34: 
 var $285=$p1; //@line 1011 "../src/h264bsd_deblocking.c"
 var $286=($285&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $287=$p0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $288=($287&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $289=((($286)-($288))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $290=(((-$289))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $298=$290;label=36;break; //@line 1011 "../src/h264bsd_deblocking.c"
 case 35: 
 var $292=$p1; //@line 1011 "../src/h264bsd_deblocking.c"
 var $293=($292&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $294=$p0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $295=($294&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $296=((($293)-($295))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $298=$296;label=36;break; //@line 1011 "../src/h264bsd_deblocking.c"
 case 36: 
 var $298; //@line 1011 "../src/h264bsd_deblocking.c"
 var $299=$3; //@line 1011 "../src/h264bsd_deblocking.c"
 var $300=(($299+8)|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $301=HEAP32[(($300)>>2)]; //@line 1011 "../src/h264bsd_deblocking.c"
 var $302=($298>>>0)<($301>>>0); //@line 1011 "../src/h264bsd_deblocking.c"
 if($302){label=37;break;}else{label=51;break;} //@line 1011 "../src/h264bsd_deblocking.c"
 case 37: 
 var $304=$q1; //@line 1011 "../src/h264bsd_deblocking.c"
 var $305=($304&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $306=$q0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $307=($306&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $308=((($305)-($307))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $309=($308|0)<0; //@line 1011 "../src/h264bsd_deblocking.c"
 if($309){label=38;break;}else{label=39;break;} //@line 1011 "../src/h264bsd_deblocking.c"
 case 38: 
 var $311=$q1; //@line 1011 "../src/h264bsd_deblocking.c"
 var $312=($311&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $313=$q0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $314=($313&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $315=((($312)-($314))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $316=(((-$315))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $324=$316;label=40;break; //@line 1011 "../src/h264bsd_deblocking.c"
 case 39: 
 var $318=$q1; //@line 1011 "../src/h264bsd_deblocking.c"
 var $319=($318&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $320=$q0; //@line 1011 "../src/h264bsd_deblocking.c"
 var $321=($320&255); //@line 1011 "../src/h264bsd_deblocking.c"
 var $322=((($319)-($321))|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $324=$322;label=40;break; //@line 1011 "../src/h264bsd_deblocking.c"
 case 40: 
 var $324; //@line 1011 "../src/h264bsd_deblocking.c"
 var $325=$3; //@line 1011 "../src/h264bsd_deblocking.c"
 var $326=(($325+8)|0); //@line 1011 "../src/h264bsd_deblocking.c"
 var $327=HEAP32[(($326)>>2)]; //@line 1011 "../src/h264bsd_deblocking.c"
 var $328=($324>>>0)<($327>>>0); //@line 1011 "../src/h264bsd_deblocking.c"
 if($328){label=41;break;}else{label=51;break;} //@line 1011 "../src/h264bsd_deblocking.c"
 case 41: 
 var $330=$2; //@line 1015 "../src/h264bsd_deblocking.c"
 var $331=($330>>>0)<4; //@line 1015 "../src/h264bsd_deblocking.c"
 if($331){label=42;break;}else{label=49;break;} //@line 1015 "../src/h264bsd_deblocking.c"
 case 42: 
 var $333=$2; //@line 1017 "../src/h264bsd_deblocking.c"
 var $334=((($333)-(1))|0); //@line 1017 "../src/h264bsd_deblocking.c"
 var $335=$3; //@line 1017 "../src/h264bsd_deblocking.c"
 var $336=(($335)|0); //@line 1017 "../src/h264bsd_deblocking.c"
 var $337=HEAP32[(($336)>>2)]; //@line 1017 "../src/h264bsd_deblocking.c"
 var $338=(($337+$334)|0); //@line 1017 "../src/h264bsd_deblocking.c"
 var $339=HEAP8[($338)]; //@line 1017 "../src/h264bsd_deblocking.c"
 var $340=($339&255); //@line 1017 "../src/h264bsd_deblocking.c"
 var $341=((($340)+(1))|0); //@line 1017 "../src/h264bsd_deblocking.c"
 $tc=$341; //@line 1017 "../src/h264bsd_deblocking.c"
 var $342=$q0; //@line 1018 "../src/h264bsd_deblocking.c"
 var $343=($342&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $344=$p0; //@line 1018 "../src/h264bsd_deblocking.c"
 var $345=($344&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $346=((($343)-($345))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $347=$346<<2; //@line 1018 "../src/h264bsd_deblocking.c"
 var $348=$p1; //@line 1018 "../src/h264bsd_deblocking.c"
 var $349=($348&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $350=$q1; //@line 1018 "../src/h264bsd_deblocking.c"
 var $351=($350&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $352=((($349)-($351))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $353=((($347)+($352))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $354=((($353)+(4))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $355=$354>>3; //@line 1018 "../src/h264bsd_deblocking.c"
 var $356=$tc; //@line 1018 "../src/h264bsd_deblocking.c"
 var $357=(((-$356))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $358=($355|0)<($357|0); //@line 1018 "../src/h264bsd_deblocking.c"
 if($358){label=43;break;}else{label=44;break;} //@line 1018 "../src/h264bsd_deblocking.c"
 case 43: 
 var $360=$tc; //@line 1018 "../src/h264bsd_deblocking.c"
 var $361=(((-$360))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $399=$361;label=48;break; //@line 1018 "../src/h264bsd_deblocking.c"
 case 44: 
 var $363=$q0; //@line 1018 "../src/h264bsd_deblocking.c"
 var $364=($363&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $365=$p0; //@line 1018 "../src/h264bsd_deblocking.c"
 var $366=($365&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $367=((($364)-($366))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $368=$367<<2; //@line 1018 "../src/h264bsd_deblocking.c"
 var $369=$p1; //@line 1018 "../src/h264bsd_deblocking.c"
 var $370=($369&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $371=$q1; //@line 1018 "../src/h264bsd_deblocking.c"
 var $372=($371&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $373=((($370)-($372))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $374=((($368)+($373))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $375=((($374)+(4))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $376=$375>>3; //@line 1018 "../src/h264bsd_deblocking.c"
 var $377=$tc; //@line 1018 "../src/h264bsd_deblocking.c"
 var $378=($376|0)>($377|0); //@line 1018 "../src/h264bsd_deblocking.c"
 if($378){label=45;break;}else{label=46;break;} //@line 1018 "../src/h264bsd_deblocking.c"
 case 45: 
 var $380=$tc; //@line 1018 "../src/h264bsd_deblocking.c"
 var $397=$380;label=47;break; //@line 1018 "../src/h264bsd_deblocking.c"
 case 46: 
 var $382=$q0; //@line 1018 "../src/h264bsd_deblocking.c"
 var $383=($382&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $384=$p0; //@line 1018 "../src/h264bsd_deblocking.c"
 var $385=($384&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $386=((($383)-($385))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $387=$386<<2; //@line 1018 "../src/h264bsd_deblocking.c"
 var $388=$p1; //@line 1018 "../src/h264bsd_deblocking.c"
 var $389=($388&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $390=$q1; //@line 1018 "../src/h264bsd_deblocking.c"
 var $391=($390&255); //@line 1018 "../src/h264bsd_deblocking.c"
 var $392=((($389)-($391))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $393=((($387)+($392))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $394=((($393)+(4))|0); //@line 1018 "../src/h264bsd_deblocking.c"
 var $395=$394>>3; //@line 1018 "../src/h264bsd_deblocking.c"
 var $397=$395;label=47;break; //@line 1018 "../src/h264bsd_deblocking.c"
 case 47: 
 var $397; //@line 1018 "../src/h264bsd_deblocking.c"
 var $399=$397;label=48;break; //@line 1018 "../src/h264bsd_deblocking.c"
 case 48: 
 var $399; //@line 1018 "../src/h264bsd_deblocking.c"
 $delta=$399; //@line 1018 "../src/h264bsd_deblocking.c"
 var $400=$p0; //@line 1020 "../src/h264bsd_deblocking.c"
 var $401=($400&255); //@line 1020 "../src/h264bsd_deblocking.c"
 var $402=$delta; //@line 1020 "../src/h264bsd_deblocking.c"
 var $403=((($401)+($402))|0); //@line 1020 "../src/h264bsd_deblocking.c"
 var $404=$clp; //@line 1020 "../src/h264bsd_deblocking.c"
 var $405=(($404+$403)|0); //@line 1020 "../src/h264bsd_deblocking.c"
 var $406=HEAP8[($405)]; //@line 1020 "../src/h264bsd_deblocking.c"
 $p0=$406; //@line 1020 "../src/h264bsd_deblocking.c"
 var $407=$q0; //@line 1021 "../src/h264bsd_deblocking.c"
 var $408=($407&255); //@line 1021 "../src/h264bsd_deblocking.c"
 var $409=$delta; //@line 1021 "../src/h264bsd_deblocking.c"
 var $410=((($408)-($409))|0); //@line 1021 "../src/h264bsd_deblocking.c"
 var $411=$clp; //@line 1021 "../src/h264bsd_deblocking.c"
 var $412=(($411+$410)|0); //@line 1021 "../src/h264bsd_deblocking.c"
 var $413=HEAP8[($412)]; //@line 1021 "../src/h264bsd_deblocking.c"
 $q0=$413; //@line 1021 "../src/h264bsd_deblocking.c"
 var $414=$p0; //@line 1022 "../src/h264bsd_deblocking.c"
 var $415=$1; //@line 1022 "../src/h264bsd_deblocking.c"
 var $416=((($415)-(1))|0); //@line 1022 "../src/h264bsd_deblocking.c"
 HEAP8[($416)]=$414; //@line 1022 "../src/h264bsd_deblocking.c"
 var $417=$q0; //@line 1023 "../src/h264bsd_deblocking.c"
 var $418=$1; //@line 1023 "../src/h264bsd_deblocking.c"
 var $419=(($418)|0); //@line 1023 "../src/h264bsd_deblocking.c"
 HEAP8[($419)]=$417; //@line 1023 "../src/h264bsd_deblocking.c"
 label=50;break; //@line 1024 "../src/h264bsd_deblocking.c"
 case 49: 
 var $421=$p1; //@line 1027 "../src/h264bsd_deblocking.c"
 var $422=($421&255); //@line 1027 "../src/h264bsd_deblocking.c"
 var $423=($422<<1); //@line 1027 "../src/h264bsd_deblocking.c"
 var $424=$p0; //@line 1027 "../src/h264bsd_deblocking.c"
 var $425=($424&255); //@line 1027 "../src/h264bsd_deblocking.c"
 var $426=((($423)+($425))|0); //@line 1027 "../src/h264bsd_deblocking.c"
 var $427=$q1; //@line 1027 "../src/h264bsd_deblocking.c"
 var $428=($427&255); //@line 1027 "../src/h264bsd_deblocking.c"
 var $429=((($426)+($428))|0); //@line 1027 "../src/h264bsd_deblocking.c"
 var $430=((($429)+(2))|0); //@line 1027 "../src/h264bsd_deblocking.c"
 var $431=$430>>2; //@line 1027 "../src/h264bsd_deblocking.c"
 var $432=(($431)&255); //@line 1027 "../src/h264bsd_deblocking.c"
 var $433=$1; //@line 1027 "../src/h264bsd_deblocking.c"
 var $434=((($433)-(1))|0); //@line 1027 "../src/h264bsd_deblocking.c"
 HEAP8[($434)]=$432; //@line 1027 "../src/h264bsd_deblocking.c"
 var $435=$q1; //@line 1028 "../src/h264bsd_deblocking.c"
 var $436=($435&255); //@line 1028 "../src/h264bsd_deblocking.c"
 var $437=($436<<1); //@line 1028 "../src/h264bsd_deblocking.c"
 var $438=$q0; //@line 1028 "../src/h264bsd_deblocking.c"
 var $439=($438&255); //@line 1028 "../src/h264bsd_deblocking.c"
 var $440=((($437)+($439))|0); //@line 1028 "../src/h264bsd_deblocking.c"
 var $441=$p1; //@line 1028 "../src/h264bsd_deblocking.c"
 var $442=($441&255); //@line 1028 "../src/h264bsd_deblocking.c"
 var $443=((($440)+($442))|0); //@line 1028 "../src/h264bsd_deblocking.c"
 var $444=((($443)+(2))|0); //@line 1028 "../src/h264bsd_deblocking.c"
 var $445=$444>>2; //@line 1028 "../src/h264bsd_deblocking.c"
 var $446=(($445)&255); //@line 1028 "../src/h264bsd_deblocking.c"
 var $447=$1; //@line 1028 "../src/h264bsd_deblocking.c"
 var $448=(($447)|0); //@line 1028 "../src/h264bsd_deblocking.c"
 HEAP8[($448)]=$446; //@line 1028 "../src/h264bsd_deblocking.c"
 label=50;break;
 case 50: 
 label=51;break; //@line 1030 "../src/h264bsd_deblocking.c"
 case 51: 
 STACKTOP=sp;return; //@line 1032 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterHorChroma($data,$bS,$thresholds,$width){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $delta;
 var $tc;
 var $i;
 var $p0;
 var $q0;
 var $p1;
 var $q1;
 var $clp;
 $1=$data;
 $2=$bS;
 $3=$thresholds;
 $4=$width;
 $clp=1872; //@line 1102 "../src/h264bsd_deblocking.c"
 var $5=$1; //@line 1106 "../src/h264bsd_deblocking.c"
 var $6=($5|0)!=0; //@line 1106 "../src/h264bsd_deblocking.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 1106 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(12344,11664,1106,16088); //@line 1106 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1106 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 1106 "../src/h264bsd_deblocking.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 1106 "../src/h264bsd_deblocking.c"
 var $12=$2; //@line 1107 "../src/h264bsd_deblocking.c"
 var $13=($12>>>0)<=4; //@line 1107 "../src/h264bsd_deblocking.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 1107 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(11728,11664,1107,16088); //@line 1107 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1107 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 1107 "../src/h264bsd_deblocking.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 1107 "../src/h264bsd_deblocking.c"
 var $19=$3; //@line 1108 "../src/h264bsd_deblocking.c"
 var $20=($19|0)!=0; //@line 1108 "../src/h264bsd_deblocking.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 1108 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(4568,11664,1108,16088); //@line 1108 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1108 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 1108 "../src/h264bsd_deblocking.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 1108 "../src/h264bsd_deblocking.c"
 var $26=$2; //@line 1110 "../src/h264bsd_deblocking.c"
 var $27=($26>>>0)<4; //@line 1110 "../src/h264bsd_deblocking.c"
 if($27){label=8;break;}else{label=32;break;} //@line 1110 "../src/h264bsd_deblocking.c"
 case 8: 
 var $29=$2; //@line 1112 "../src/h264bsd_deblocking.c"
 var $30=((($29)-(1))|0); //@line 1112 "../src/h264bsd_deblocking.c"
 var $31=$3; //@line 1112 "../src/h264bsd_deblocking.c"
 var $32=(($31)|0); //@line 1112 "../src/h264bsd_deblocking.c"
 var $33=HEAP32[(($32)>>2)]; //@line 1112 "../src/h264bsd_deblocking.c"
 var $34=(($33+$30)|0); //@line 1112 "../src/h264bsd_deblocking.c"
 var $35=HEAP8[($34)]; //@line 1112 "../src/h264bsd_deblocking.c"
 var $36=($35&255); //@line 1112 "../src/h264bsd_deblocking.c"
 var $37=((($36)+(1))|0); //@line 1112 "../src/h264bsd_deblocking.c"
 $tc=$37; //@line 1112 "../src/h264bsd_deblocking.c"
 $i=8; //@line 1113 "../src/h264bsd_deblocking.c"
 label=9;break; //@line 1113 "../src/h264bsd_deblocking.c"
 case 9: 
 var $39=$i; //@line 1113 "../src/h264bsd_deblocking.c"
 var $40=($39|0)!=0; //@line 1113 "../src/h264bsd_deblocking.c"
 if($40){label=10;break;}else{label=31;break;} //@line 1113 "../src/h264bsd_deblocking.c"
 case 10: 
 var $42=$4; //@line 1115 "../src/h264bsd_deblocking.c"
 var $43=(((-$42))|0); //@line 1115 "../src/h264bsd_deblocking.c"
 var $44=($43<<1); //@line 1115 "../src/h264bsd_deblocking.c"
 var $45=$1; //@line 1115 "../src/h264bsd_deblocking.c"
 var $46=(($45+$44)|0); //@line 1115 "../src/h264bsd_deblocking.c"
 var $47=HEAP8[($46)]; //@line 1115 "../src/h264bsd_deblocking.c"
 $p1=$47; //@line 1115 "../src/h264bsd_deblocking.c"
 var $48=$4; //@line 1115 "../src/h264bsd_deblocking.c"
 var $49=(((-$48))|0); //@line 1115 "../src/h264bsd_deblocking.c"
 var $50=$1; //@line 1115 "../src/h264bsd_deblocking.c"
 var $51=(($50+$49)|0); //@line 1115 "../src/h264bsd_deblocking.c"
 var $52=HEAP8[($51)]; //@line 1115 "../src/h264bsd_deblocking.c"
 $p0=$52; //@line 1115 "../src/h264bsd_deblocking.c"
 var $53=$1; //@line 1116 "../src/h264bsd_deblocking.c"
 var $54=(($53)|0); //@line 1116 "../src/h264bsd_deblocking.c"
 var $55=HEAP8[($54)]; //@line 1116 "../src/h264bsd_deblocking.c"
 $q0=$55; //@line 1116 "../src/h264bsd_deblocking.c"
 var $56=$4; //@line 1116 "../src/h264bsd_deblocking.c"
 var $57=$1; //@line 1116 "../src/h264bsd_deblocking.c"
 var $58=(($57+$56)|0); //@line 1116 "../src/h264bsd_deblocking.c"
 var $59=HEAP8[($58)]; //@line 1116 "../src/h264bsd_deblocking.c"
 $q1=$59; //@line 1116 "../src/h264bsd_deblocking.c"
 var $60=$p0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $61=($60&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $62=$q0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $63=($62&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $64=((($61)-($63))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $65=($64|0)<0; //@line 1117 "../src/h264bsd_deblocking.c"
 if($65){label=11;break;}else{label=12;break;} //@line 1117 "../src/h264bsd_deblocking.c"
 case 11: 
 var $67=$p0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $68=($67&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $69=$q0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $70=($69&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $71=((($68)-($70))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $72=(((-$71))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $80=$72;label=13;break; //@line 1117 "../src/h264bsd_deblocking.c"
 case 12: 
 var $74=$p0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $75=($74&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $76=$q0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $77=($76&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $78=((($75)-($77))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $80=$78;label=13;break; //@line 1117 "../src/h264bsd_deblocking.c"
 case 13: 
 var $80; //@line 1117 "../src/h264bsd_deblocking.c"
 var $81=$3; //@line 1117 "../src/h264bsd_deblocking.c"
 var $82=(($81+4)|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $83=HEAP32[(($82)>>2)]; //@line 1117 "../src/h264bsd_deblocking.c"
 var $84=($80>>>0)<($83>>>0); //@line 1117 "../src/h264bsd_deblocking.c"
 if($84){label=14;break;}else{label=29;break;} //@line 1117 "../src/h264bsd_deblocking.c"
 case 14: 
 var $86=$p1; //@line 1117 "../src/h264bsd_deblocking.c"
 var $87=($86&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $88=$p0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $89=($88&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $90=((($87)-($89))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $91=($90|0)<0; //@line 1117 "../src/h264bsd_deblocking.c"
 if($91){label=15;break;}else{label=16;break;} //@line 1117 "../src/h264bsd_deblocking.c"
 case 15: 
 var $93=$p1; //@line 1117 "../src/h264bsd_deblocking.c"
 var $94=($93&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $95=$p0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $96=($95&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $97=((($94)-($96))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $98=(((-$97))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $106=$98;label=17;break; //@line 1117 "../src/h264bsd_deblocking.c"
 case 16: 
 var $100=$p1; //@line 1117 "../src/h264bsd_deblocking.c"
 var $101=($100&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $102=$p0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $103=($102&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $104=((($101)-($103))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $106=$104;label=17;break; //@line 1117 "../src/h264bsd_deblocking.c"
 case 17: 
 var $106; //@line 1117 "../src/h264bsd_deblocking.c"
 var $107=$3; //@line 1117 "../src/h264bsd_deblocking.c"
 var $108=(($107+8)|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $109=HEAP32[(($108)>>2)]; //@line 1117 "../src/h264bsd_deblocking.c"
 var $110=($106>>>0)<($109>>>0); //@line 1117 "../src/h264bsd_deblocking.c"
 if($110){label=18;break;}else{label=29;break;} //@line 1117 "../src/h264bsd_deblocking.c"
 case 18: 
 var $112=$q1; //@line 1117 "../src/h264bsd_deblocking.c"
 var $113=($112&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $114=$q0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $115=($114&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $116=((($113)-($115))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $117=($116|0)<0; //@line 1117 "../src/h264bsd_deblocking.c"
 if($117){label=19;break;}else{label=20;break;} //@line 1117 "../src/h264bsd_deblocking.c"
 case 19: 
 var $119=$q1; //@line 1117 "../src/h264bsd_deblocking.c"
 var $120=($119&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $121=$q0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $122=($121&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $123=((($120)-($122))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $124=(((-$123))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $132=$124;label=21;break; //@line 1117 "../src/h264bsd_deblocking.c"
 case 20: 
 var $126=$q1; //@line 1117 "../src/h264bsd_deblocking.c"
 var $127=($126&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $128=$q0; //@line 1117 "../src/h264bsd_deblocking.c"
 var $129=($128&255); //@line 1117 "../src/h264bsd_deblocking.c"
 var $130=((($127)-($129))|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $132=$130;label=21;break; //@line 1117 "../src/h264bsd_deblocking.c"
 case 21: 
 var $132; //@line 1117 "../src/h264bsd_deblocking.c"
 var $133=$3; //@line 1117 "../src/h264bsd_deblocking.c"
 var $134=(($133+8)|0); //@line 1117 "../src/h264bsd_deblocking.c"
 var $135=HEAP32[(($134)>>2)]; //@line 1117 "../src/h264bsd_deblocking.c"
 var $136=($132>>>0)<($135>>>0); //@line 1117 "../src/h264bsd_deblocking.c"
 if($136){label=22;break;}else{label=29;break;} //@line 1117 "../src/h264bsd_deblocking.c"
 case 22: 
 var $138=$q0; //@line 1121 "../src/h264bsd_deblocking.c"
 var $139=($138&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $140=$p0; //@line 1121 "../src/h264bsd_deblocking.c"
 var $141=($140&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $142=((($139)-($141))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $143=$142<<2; //@line 1121 "../src/h264bsd_deblocking.c"
 var $144=$p1; //@line 1121 "../src/h264bsd_deblocking.c"
 var $145=($144&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $146=$q1; //@line 1121 "../src/h264bsd_deblocking.c"
 var $147=($146&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $148=((($145)-($147))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $149=((($143)+($148))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $150=((($149)+(4))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $151=$150>>3; //@line 1121 "../src/h264bsd_deblocking.c"
 var $152=$tc; //@line 1121 "../src/h264bsd_deblocking.c"
 var $153=(((-$152))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $154=($151|0)<($153|0); //@line 1121 "../src/h264bsd_deblocking.c"
 if($154){label=23;break;}else{label=24;break;} //@line 1121 "../src/h264bsd_deblocking.c"
 case 23: 
 var $156=$tc; //@line 1121 "../src/h264bsd_deblocking.c"
 var $157=(((-$156))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $195=$157;label=28;break; //@line 1121 "../src/h264bsd_deblocking.c"
 case 24: 
 var $159=$q0; //@line 1121 "../src/h264bsd_deblocking.c"
 var $160=($159&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $161=$p0; //@line 1121 "../src/h264bsd_deblocking.c"
 var $162=($161&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $163=((($160)-($162))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $164=$163<<2; //@line 1121 "../src/h264bsd_deblocking.c"
 var $165=$p1; //@line 1121 "../src/h264bsd_deblocking.c"
 var $166=($165&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $167=$q1; //@line 1121 "../src/h264bsd_deblocking.c"
 var $168=($167&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $169=((($166)-($168))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $170=((($164)+($169))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $171=((($170)+(4))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $172=$171>>3; //@line 1121 "../src/h264bsd_deblocking.c"
 var $173=$tc; //@line 1121 "../src/h264bsd_deblocking.c"
 var $174=($172|0)>($173|0); //@line 1121 "../src/h264bsd_deblocking.c"
 if($174){label=25;break;}else{label=26;break;} //@line 1121 "../src/h264bsd_deblocking.c"
 case 25: 
 var $176=$tc; //@line 1121 "../src/h264bsd_deblocking.c"
 var $193=$176;label=27;break; //@line 1121 "../src/h264bsd_deblocking.c"
 case 26: 
 var $178=$q0; //@line 1121 "../src/h264bsd_deblocking.c"
 var $179=($178&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $180=$p0; //@line 1121 "../src/h264bsd_deblocking.c"
 var $181=($180&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $182=((($179)-($181))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $183=$182<<2; //@line 1121 "../src/h264bsd_deblocking.c"
 var $184=$p1; //@line 1121 "../src/h264bsd_deblocking.c"
 var $185=($184&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $186=$q1; //@line 1121 "../src/h264bsd_deblocking.c"
 var $187=($186&255); //@line 1121 "../src/h264bsd_deblocking.c"
 var $188=((($185)-($187))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $189=((($183)+($188))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $190=((($189)+(4))|0); //@line 1121 "../src/h264bsd_deblocking.c"
 var $191=$190>>3; //@line 1121 "../src/h264bsd_deblocking.c"
 var $193=$191;label=27;break; //@line 1121 "../src/h264bsd_deblocking.c"
 case 27: 
 var $193; //@line 1121 "../src/h264bsd_deblocking.c"
 var $195=$193;label=28;break; //@line 1121 "../src/h264bsd_deblocking.c"
 case 28: 
 var $195; //@line 1121 "../src/h264bsd_deblocking.c"
 $delta=$195; //@line 1121 "../src/h264bsd_deblocking.c"
 var $196=$p0; //@line 1123 "../src/h264bsd_deblocking.c"
 var $197=($196&255); //@line 1123 "../src/h264bsd_deblocking.c"
 var $198=$delta; //@line 1123 "../src/h264bsd_deblocking.c"
 var $199=((($197)+($198))|0); //@line 1123 "../src/h264bsd_deblocking.c"
 var $200=$clp; //@line 1123 "../src/h264bsd_deblocking.c"
 var $201=(($200+$199)|0); //@line 1123 "../src/h264bsd_deblocking.c"
 var $202=HEAP8[($201)]; //@line 1123 "../src/h264bsd_deblocking.c"
 $p0=$202; //@line 1123 "../src/h264bsd_deblocking.c"
 var $203=$q0; //@line 1124 "../src/h264bsd_deblocking.c"
 var $204=($203&255); //@line 1124 "../src/h264bsd_deblocking.c"
 var $205=$delta; //@line 1124 "../src/h264bsd_deblocking.c"
 var $206=((($204)-($205))|0); //@line 1124 "../src/h264bsd_deblocking.c"
 var $207=$clp; //@line 1124 "../src/h264bsd_deblocking.c"
 var $208=(($207+$206)|0); //@line 1124 "../src/h264bsd_deblocking.c"
 var $209=HEAP8[($208)]; //@line 1124 "../src/h264bsd_deblocking.c"
 $q0=$209; //@line 1124 "../src/h264bsd_deblocking.c"
 var $210=$p0; //@line 1125 "../src/h264bsd_deblocking.c"
 var $211=$4; //@line 1125 "../src/h264bsd_deblocking.c"
 var $212=(((-$211))|0); //@line 1125 "../src/h264bsd_deblocking.c"
 var $213=$1; //@line 1125 "../src/h264bsd_deblocking.c"
 var $214=(($213+$212)|0); //@line 1125 "../src/h264bsd_deblocking.c"
 HEAP8[($214)]=$210; //@line 1125 "../src/h264bsd_deblocking.c"
 var $215=$q0; //@line 1126 "../src/h264bsd_deblocking.c"
 var $216=$1; //@line 1126 "../src/h264bsd_deblocking.c"
 var $217=(($216)|0); //@line 1126 "../src/h264bsd_deblocking.c"
 HEAP8[($217)]=$215; //@line 1126 "../src/h264bsd_deblocking.c"
 label=29;break; //@line 1127 "../src/h264bsd_deblocking.c"
 case 29: 
 label=30;break; //@line 1128 "../src/h264bsd_deblocking.c"
 case 30: 
 var $220=$i; //@line 1113 "../src/h264bsd_deblocking.c"
 var $221=((($220)-(1))|0); //@line 1113 "../src/h264bsd_deblocking.c"
 $i=$221; //@line 1113 "../src/h264bsd_deblocking.c"
 var $222=$1; //@line 1113 "../src/h264bsd_deblocking.c"
 var $223=(($222+1)|0); //@line 1113 "../src/h264bsd_deblocking.c"
 $1=$223; //@line 1113 "../src/h264bsd_deblocking.c"
 label=9;break; //@line 1113 "../src/h264bsd_deblocking.c"
 case 31: 
 label=50;break; //@line 1129 "../src/h264bsd_deblocking.c"
 case 32: 
 $i=8; //@line 1132 "../src/h264bsd_deblocking.c"
 label=33;break; //@line 1132 "../src/h264bsd_deblocking.c"
 case 33: 
 var $227=$i; //@line 1132 "../src/h264bsd_deblocking.c"
 var $228=($227|0)!=0; //@line 1132 "../src/h264bsd_deblocking.c"
 if($228){label=34;break;}else{label=49;break;} //@line 1132 "../src/h264bsd_deblocking.c"
 case 34: 
 var $230=$4; //@line 1134 "../src/h264bsd_deblocking.c"
 var $231=(((-$230))|0); //@line 1134 "../src/h264bsd_deblocking.c"
 var $232=($231<<1); //@line 1134 "../src/h264bsd_deblocking.c"
 var $233=$1; //@line 1134 "../src/h264bsd_deblocking.c"
 var $234=(($233+$232)|0); //@line 1134 "../src/h264bsd_deblocking.c"
 var $235=HEAP8[($234)]; //@line 1134 "../src/h264bsd_deblocking.c"
 $p1=$235; //@line 1134 "../src/h264bsd_deblocking.c"
 var $236=$4; //@line 1134 "../src/h264bsd_deblocking.c"
 var $237=(((-$236))|0); //@line 1134 "../src/h264bsd_deblocking.c"
 var $238=$1; //@line 1134 "../src/h264bsd_deblocking.c"
 var $239=(($238+$237)|0); //@line 1134 "../src/h264bsd_deblocking.c"
 var $240=HEAP8[($239)]; //@line 1134 "../src/h264bsd_deblocking.c"
 $p0=$240; //@line 1134 "../src/h264bsd_deblocking.c"
 var $241=$1; //@line 1135 "../src/h264bsd_deblocking.c"
 var $242=(($241)|0); //@line 1135 "../src/h264bsd_deblocking.c"
 var $243=HEAP8[($242)]; //@line 1135 "../src/h264bsd_deblocking.c"
 $q0=$243; //@line 1135 "../src/h264bsd_deblocking.c"
 var $244=$4; //@line 1135 "../src/h264bsd_deblocking.c"
 var $245=$1; //@line 1135 "../src/h264bsd_deblocking.c"
 var $246=(($245+$244)|0); //@line 1135 "../src/h264bsd_deblocking.c"
 var $247=HEAP8[($246)]; //@line 1135 "../src/h264bsd_deblocking.c"
 $q1=$247; //@line 1135 "../src/h264bsd_deblocking.c"
 var $248=$p0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $249=($248&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $250=$q0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $251=($250&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $252=((($249)-($251))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $253=($252|0)<0; //@line 1136 "../src/h264bsd_deblocking.c"
 if($253){label=35;break;}else{label=36;break;} //@line 1136 "../src/h264bsd_deblocking.c"
 case 35: 
 var $255=$p0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $256=($255&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $257=$q0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $258=($257&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $259=((($256)-($258))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $260=(((-$259))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $268=$260;label=37;break; //@line 1136 "../src/h264bsd_deblocking.c"
 case 36: 
 var $262=$p0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $263=($262&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $264=$q0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $265=($264&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $266=((($263)-($265))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $268=$266;label=37;break; //@line 1136 "../src/h264bsd_deblocking.c"
 case 37: 
 var $268; //@line 1136 "../src/h264bsd_deblocking.c"
 var $269=$3; //@line 1136 "../src/h264bsd_deblocking.c"
 var $270=(($269+4)|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $271=HEAP32[(($270)>>2)]; //@line 1136 "../src/h264bsd_deblocking.c"
 var $272=($268>>>0)<($271>>>0); //@line 1136 "../src/h264bsd_deblocking.c"
 if($272){label=38;break;}else{label=47;break;} //@line 1136 "../src/h264bsd_deblocking.c"
 case 38: 
 var $274=$p1; //@line 1136 "../src/h264bsd_deblocking.c"
 var $275=($274&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $276=$p0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $277=($276&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $278=((($275)-($277))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $279=($278|0)<0; //@line 1136 "../src/h264bsd_deblocking.c"
 if($279){label=39;break;}else{label=40;break;} //@line 1136 "../src/h264bsd_deblocking.c"
 case 39: 
 var $281=$p1; //@line 1136 "../src/h264bsd_deblocking.c"
 var $282=($281&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $283=$p0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $284=($283&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $285=((($282)-($284))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $286=(((-$285))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $294=$286;label=41;break; //@line 1136 "../src/h264bsd_deblocking.c"
 case 40: 
 var $288=$p1; //@line 1136 "../src/h264bsd_deblocking.c"
 var $289=($288&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $290=$p0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $291=($290&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $292=((($289)-($291))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $294=$292;label=41;break; //@line 1136 "../src/h264bsd_deblocking.c"
 case 41: 
 var $294; //@line 1136 "../src/h264bsd_deblocking.c"
 var $295=$3; //@line 1136 "../src/h264bsd_deblocking.c"
 var $296=(($295+8)|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $297=HEAP32[(($296)>>2)]; //@line 1136 "../src/h264bsd_deblocking.c"
 var $298=($294>>>0)<($297>>>0); //@line 1136 "../src/h264bsd_deblocking.c"
 if($298){label=42;break;}else{label=47;break;} //@line 1136 "../src/h264bsd_deblocking.c"
 case 42: 
 var $300=$q1; //@line 1136 "../src/h264bsd_deblocking.c"
 var $301=($300&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $302=$q0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $303=($302&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $304=((($301)-($303))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $305=($304|0)<0; //@line 1136 "../src/h264bsd_deblocking.c"
 if($305){label=43;break;}else{label=44;break;} //@line 1136 "../src/h264bsd_deblocking.c"
 case 43: 
 var $307=$q1; //@line 1136 "../src/h264bsd_deblocking.c"
 var $308=($307&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $309=$q0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $310=($309&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $311=((($308)-($310))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $312=(((-$311))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $320=$312;label=45;break; //@line 1136 "../src/h264bsd_deblocking.c"
 case 44: 
 var $314=$q1; //@line 1136 "../src/h264bsd_deblocking.c"
 var $315=($314&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $316=$q0; //@line 1136 "../src/h264bsd_deblocking.c"
 var $317=($316&255); //@line 1136 "../src/h264bsd_deblocking.c"
 var $318=((($315)-($317))|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $320=$318;label=45;break; //@line 1136 "../src/h264bsd_deblocking.c"
 case 45: 
 var $320; //@line 1136 "../src/h264bsd_deblocking.c"
 var $321=$3; //@line 1136 "../src/h264bsd_deblocking.c"
 var $322=(($321+8)|0); //@line 1136 "../src/h264bsd_deblocking.c"
 var $323=HEAP32[(($322)>>2)]; //@line 1136 "../src/h264bsd_deblocking.c"
 var $324=($320>>>0)<($323>>>0); //@line 1136 "../src/h264bsd_deblocking.c"
 if($324){label=46;break;}else{label=47;break;} //@line 1136 "../src/h264bsd_deblocking.c"
 case 46: 
 var $326=$p1; //@line 1140 "../src/h264bsd_deblocking.c"
 var $327=($326&255); //@line 1140 "../src/h264bsd_deblocking.c"
 var $328=($327<<1); //@line 1140 "../src/h264bsd_deblocking.c"
 var $329=$p0; //@line 1140 "../src/h264bsd_deblocking.c"
 var $330=($329&255); //@line 1140 "../src/h264bsd_deblocking.c"
 var $331=((($328)+($330))|0); //@line 1140 "../src/h264bsd_deblocking.c"
 var $332=$q1; //@line 1140 "../src/h264bsd_deblocking.c"
 var $333=($332&255); //@line 1140 "../src/h264bsd_deblocking.c"
 var $334=((($331)+($333))|0); //@line 1140 "../src/h264bsd_deblocking.c"
 var $335=((($334)+(2))|0); //@line 1140 "../src/h264bsd_deblocking.c"
 var $336=$335>>2; //@line 1140 "../src/h264bsd_deblocking.c"
 var $337=(($336)&255); //@line 1140 "../src/h264bsd_deblocking.c"
 var $338=$4; //@line 1140 "../src/h264bsd_deblocking.c"
 var $339=(((-$338))|0); //@line 1140 "../src/h264bsd_deblocking.c"
 var $340=$1; //@line 1140 "../src/h264bsd_deblocking.c"
 var $341=(($340+$339)|0); //@line 1140 "../src/h264bsd_deblocking.c"
 HEAP8[($341)]=$337; //@line 1140 "../src/h264bsd_deblocking.c"
 var $342=$q1; //@line 1141 "../src/h264bsd_deblocking.c"
 var $343=($342&255); //@line 1141 "../src/h264bsd_deblocking.c"
 var $344=($343<<1); //@line 1141 "../src/h264bsd_deblocking.c"
 var $345=$q0; //@line 1141 "../src/h264bsd_deblocking.c"
 var $346=($345&255); //@line 1141 "../src/h264bsd_deblocking.c"
 var $347=((($344)+($346))|0); //@line 1141 "../src/h264bsd_deblocking.c"
 var $348=$p1; //@line 1141 "../src/h264bsd_deblocking.c"
 var $349=($348&255); //@line 1141 "../src/h264bsd_deblocking.c"
 var $350=((($347)+($349))|0); //@line 1141 "../src/h264bsd_deblocking.c"
 var $351=((($350)+(2))|0); //@line 1141 "../src/h264bsd_deblocking.c"
 var $352=$351>>2; //@line 1141 "../src/h264bsd_deblocking.c"
 var $353=(($352)&255); //@line 1141 "../src/h264bsd_deblocking.c"
 var $354=$1; //@line 1141 "../src/h264bsd_deblocking.c"
 var $355=(($354)|0); //@line 1141 "../src/h264bsd_deblocking.c"
 HEAP8[($355)]=$353; //@line 1141 "../src/h264bsd_deblocking.c"
 label=47;break; //@line 1142 "../src/h264bsd_deblocking.c"
 case 47: 
 label=48;break; //@line 1143 "../src/h264bsd_deblocking.c"
 case 48: 
 var $358=$i; //@line 1132 "../src/h264bsd_deblocking.c"
 var $359=((($358)-(1))|0); //@line 1132 "../src/h264bsd_deblocking.c"
 $i=$359; //@line 1132 "../src/h264bsd_deblocking.c"
 var $360=$1; //@line 1132 "../src/h264bsd_deblocking.c"
 var $361=(($360+1)|0); //@line 1132 "../src/h264bsd_deblocking.c"
 $1=$361; //@line 1132 "../src/h264bsd_deblocking.c"
 label=33;break; //@line 1132 "../src/h264bsd_deblocking.c"
 case 49: 
 label=50;break;
 case 50: 
 STACKTOP=sp;return; //@line 1146 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterHorChromaEdge($data,$bS,$thresholds,$width){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $delta;
 var $tc;
 var $i;
 var $p0;
 var $q0;
 var $p1;
 var $q1;
 var $clp;
 $1=$data;
 $2=$bS;
 $3=$thresholds;
 $4=$width;
 $clp=1872; //@line 1054 "../src/h264bsd_deblocking.c"
 var $5=$1; //@line 1058 "../src/h264bsd_deblocking.c"
 var $6=($5|0)!=0; //@line 1058 "../src/h264bsd_deblocking.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 1058 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(12344,11664,1058,16064); //@line 1058 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1058 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 1058 "../src/h264bsd_deblocking.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 1058 "../src/h264bsd_deblocking.c"
 var $12=$2; //@line 1059 "../src/h264bsd_deblocking.c"
 var $13=($12>>>0)<4; //@line 1059 "../src/h264bsd_deblocking.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 1059 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(11984,11664,1059,16064); //@line 1059 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1059 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 1059 "../src/h264bsd_deblocking.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 1059 "../src/h264bsd_deblocking.c"
 var $19=$3; //@line 1060 "../src/h264bsd_deblocking.c"
 var $20=($19|0)!=0; //@line 1060 "../src/h264bsd_deblocking.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 1060 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(4568,11664,1060,16064); //@line 1060 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 1060 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 1060 "../src/h264bsd_deblocking.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 1060 "../src/h264bsd_deblocking.c"
 var $26=$2; //@line 1062 "../src/h264bsd_deblocking.c"
 var $27=((($26)-(1))|0); //@line 1062 "../src/h264bsd_deblocking.c"
 var $28=$3; //@line 1062 "../src/h264bsd_deblocking.c"
 var $29=(($28)|0); //@line 1062 "../src/h264bsd_deblocking.c"
 var $30=HEAP32[(($29)>>2)]; //@line 1062 "../src/h264bsd_deblocking.c"
 var $31=(($30+$27)|0); //@line 1062 "../src/h264bsd_deblocking.c"
 var $32=HEAP8[($31)]; //@line 1062 "../src/h264bsd_deblocking.c"
 var $33=($32&255); //@line 1062 "../src/h264bsd_deblocking.c"
 var $34=((($33)+(1))|0); //@line 1062 "../src/h264bsd_deblocking.c"
 $tc=$34; //@line 1062 "../src/h264bsd_deblocking.c"
 $i=2; //@line 1063 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 1063 "../src/h264bsd_deblocking.c"
 case 8: 
 var $36=$i; //@line 1063 "../src/h264bsd_deblocking.c"
 var $37=($36|0)!=0; //@line 1063 "../src/h264bsd_deblocking.c"
 if($37){label=9;break;}else{label=30;break;} //@line 1063 "../src/h264bsd_deblocking.c"
 case 9: 
 var $39=$4; //@line 1065 "../src/h264bsd_deblocking.c"
 var $40=(((-$39))|0); //@line 1065 "../src/h264bsd_deblocking.c"
 var $41=($40<<1); //@line 1065 "../src/h264bsd_deblocking.c"
 var $42=$1; //@line 1065 "../src/h264bsd_deblocking.c"
 var $43=(($42+$41)|0); //@line 1065 "../src/h264bsd_deblocking.c"
 var $44=HEAP8[($43)]; //@line 1065 "../src/h264bsd_deblocking.c"
 $p1=$44; //@line 1065 "../src/h264bsd_deblocking.c"
 var $45=$4; //@line 1065 "../src/h264bsd_deblocking.c"
 var $46=(((-$45))|0); //@line 1065 "../src/h264bsd_deblocking.c"
 var $47=$1; //@line 1065 "../src/h264bsd_deblocking.c"
 var $48=(($47+$46)|0); //@line 1065 "../src/h264bsd_deblocking.c"
 var $49=HEAP8[($48)]; //@line 1065 "../src/h264bsd_deblocking.c"
 $p0=$49; //@line 1065 "../src/h264bsd_deblocking.c"
 var $50=$1; //@line 1066 "../src/h264bsd_deblocking.c"
 var $51=(($50)|0); //@line 1066 "../src/h264bsd_deblocking.c"
 var $52=HEAP8[($51)]; //@line 1066 "../src/h264bsd_deblocking.c"
 $q0=$52; //@line 1066 "../src/h264bsd_deblocking.c"
 var $53=$4; //@line 1066 "../src/h264bsd_deblocking.c"
 var $54=$1; //@line 1066 "../src/h264bsd_deblocking.c"
 var $55=(($54+$53)|0); //@line 1066 "../src/h264bsd_deblocking.c"
 var $56=HEAP8[($55)]; //@line 1066 "../src/h264bsd_deblocking.c"
 $q1=$56; //@line 1066 "../src/h264bsd_deblocking.c"
 var $57=$p0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $58=($57&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $59=$q0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $60=($59&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $61=((($58)-($60))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $62=($61|0)<0; //@line 1067 "../src/h264bsd_deblocking.c"
 if($62){label=10;break;}else{label=11;break;} //@line 1067 "../src/h264bsd_deblocking.c"
 case 10: 
 var $64=$p0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $65=($64&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $66=$q0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $67=($66&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $68=((($65)-($67))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $69=(((-$68))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $77=$69;label=12;break; //@line 1067 "../src/h264bsd_deblocking.c"
 case 11: 
 var $71=$p0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $72=($71&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $73=$q0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $74=($73&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $75=((($72)-($74))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $77=$75;label=12;break; //@line 1067 "../src/h264bsd_deblocking.c"
 case 12: 
 var $77; //@line 1067 "../src/h264bsd_deblocking.c"
 var $78=$3; //@line 1067 "../src/h264bsd_deblocking.c"
 var $79=(($78+4)|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $80=HEAP32[(($79)>>2)]; //@line 1067 "../src/h264bsd_deblocking.c"
 var $81=($77>>>0)<($80>>>0); //@line 1067 "../src/h264bsd_deblocking.c"
 if($81){label=13;break;}else{label=28;break;} //@line 1067 "../src/h264bsd_deblocking.c"
 case 13: 
 var $83=$p1; //@line 1067 "../src/h264bsd_deblocking.c"
 var $84=($83&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $85=$p0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $86=($85&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $87=((($84)-($86))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $88=($87|0)<0; //@line 1067 "../src/h264bsd_deblocking.c"
 if($88){label=14;break;}else{label=15;break;} //@line 1067 "../src/h264bsd_deblocking.c"
 case 14: 
 var $90=$p1; //@line 1067 "../src/h264bsd_deblocking.c"
 var $91=($90&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $92=$p0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $93=($92&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $94=((($91)-($93))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $95=(((-$94))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $103=$95;label=16;break; //@line 1067 "../src/h264bsd_deblocking.c"
 case 15: 
 var $97=$p1; //@line 1067 "../src/h264bsd_deblocking.c"
 var $98=($97&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $99=$p0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $100=($99&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $101=((($98)-($100))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $103=$101;label=16;break; //@line 1067 "../src/h264bsd_deblocking.c"
 case 16: 
 var $103; //@line 1067 "../src/h264bsd_deblocking.c"
 var $104=$3; //@line 1067 "../src/h264bsd_deblocking.c"
 var $105=(($104+8)|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $106=HEAP32[(($105)>>2)]; //@line 1067 "../src/h264bsd_deblocking.c"
 var $107=($103>>>0)<($106>>>0); //@line 1067 "../src/h264bsd_deblocking.c"
 if($107){label=17;break;}else{label=28;break;} //@line 1067 "../src/h264bsd_deblocking.c"
 case 17: 
 var $109=$q1; //@line 1067 "../src/h264bsd_deblocking.c"
 var $110=($109&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $111=$q0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $112=($111&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $113=((($110)-($112))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $114=($113|0)<0; //@line 1067 "../src/h264bsd_deblocking.c"
 if($114){label=18;break;}else{label=19;break;} //@line 1067 "../src/h264bsd_deblocking.c"
 case 18: 
 var $116=$q1; //@line 1067 "../src/h264bsd_deblocking.c"
 var $117=($116&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $118=$q0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $119=($118&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $120=((($117)-($119))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $121=(((-$120))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $129=$121;label=20;break; //@line 1067 "../src/h264bsd_deblocking.c"
 case 19: 
 var $123=$q1; //@line 1067 "../src/h264bsd_deblocking.c"
 var $124=($123&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $125=$q0; //@line 1067 "../src/h264bsd_deblocking.c"
 var $126=($125&255); //@line 1067 "../src/h264bsd_deblocking.c"
 var $127=((($124)-($126))|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $129=$127;label=20;break; //@line 1067 "../src/h264bsd_deblocking.c"
 case 20: 
 var $129; //@line 1067 "../src/h264bsd_deblocking.c"
 var $130=$3; //@line 1067 "../src/h264bsd_deblocking.c"
 var $131=(($130+8)|0); //@line 1067 "../src/h264bsd_deblocking.c"
 var $132=HEAP32[(($131)>>2)]; //@line 1067 "../src/h264bsd_deblocking.c"
 var $133=($129>>>0)<($132>>>0); //@line 1067 "../src/h264bsd_deblocking.c"
 if($133){label=21;break;}else{label=28;break;} //@line 1067 "../src/h264bsd_deblocking.c"
 case 21: 
 var $135=$q0; //@line 1071 "../src/h264bsd_deblocking.c"
 var $136=($135&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $137=$p0; //@line 1071 "../src/h264bsd_deblocking.c"
 var $138=($137&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $139=((($136)-($138))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $140=$139<<2; //@line 1071 "../src/h264bsd_deblocking.c"
 var $141=$p1; //@line 1071 "../src/h264bsd_deblocking.c"
 var $142=($141&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $143=$q1; //@line 1071 "../src/h264bsd_deblocking.c"
 var $144=($143&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $145=((($142)-($144))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $146=((($140)+($145))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $147=((($146)+(4))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $148=$147>>3; //@line 1071 "../src/h264bsd_deblocking.c"
 var $149=$tc; //@line 1071 "../src/h264bsd_deblocking.c"
 var $150=(((-$149))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $151=($148|0)<($150|0); //@line 1071 "../src/h264bsd_deblocking.c"
 if($151){label=22;break;}else{label=23;break;} //@line 1071 "../src/h264bsd_deblocking.c"
 case 22: 
 var $153=$tc; //@line 1071 "../src/h264bsd_deblocking.c"
 var $154=(((-$153))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $192=$154;label=27;break; //@line 1071 "../src/h264bsd_deblocking.c"
 case 23: 
 var $156=$q0; //@line 1071 "../src/h264bsd_deblocking.c"
 var $157=($156&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $158=$p0; //@line 1071 "../src/h264bsd_deblocking.c"
 var $159=($158&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $160=((($157)-($159))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $161=$160<<2; //@line 1071 "../src/h264bsd_deblocking.c"
 var $162=$p1; //@line 1071 "../src/h264bsd_deblocking.c"
 var $163=($162&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $164=$q1; //@line 1071 "../src/h264bsd_deblocking.c"
 var $165=($164&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $166=((($163)-($165))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $167=((($161)+($166))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $168=((($167)+(4))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $169=$168>>3; //@line 1071 "../src/h264bsd_deblocking.c"
 var $170=$tc; //@line 1071 "../src/h264bsd_deblocking.c"
 var $171=($169|0)>($170|0); //@line 1071 "../src/h264bsd_deblocking.c"
 if($171){label=24;break;}else{label=25;break;} //@line 1071 "../src/h264bsd_deblocking.c"
 case 24: 
 var $173=$tc; //@line 1071 "../src/h264bsd_deblocking.c"
 var $190=$173;label=26;break; //@line 1071 "../src/h264bsd_deblocking.c"
 case 25: 
 var $175=$q0; //@line 1071 "../src/h264bsd_deblocking.c"
 var $176=($175&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $177=$p0; //@line 1071 "../src/h264bsd_deblocking.c"
 var $178=($177&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $179=((($176)-($178))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $180=$179<<2; //@line 1071 "../src/h264bsd_deblocking.c"
 var $181=$p1; //@line 1071 "../src/h264bsd_deblocking.c"
 var $182=($181&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $183=$q1; //@line 1071 "../src/h264bsd_deblocking.c"
 var $184=($183&255); //@line 1071 "../src/h264bsd_deblocking.c"
 var $185=((($182)-($184))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $186=((($180)+($185))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $187=((($186)+(4))|0); //@line 1071 "../src/h264bsd_deblocking.c"
 var $188=$187>>3; //@line 1071 "../src/h264bsd_deblocking.c"
 var $190=$188;label=26;break; //@line 1071 "../src/h264bsd_deblocking.c"
 case 26: 
 var $190; //@line 1071 "../src/h264bsd_deblocking.c"
 var $192=$190;label=27;break; //@line 1071 "../src/h264bsd_deblocking.c"
 case 27: 
 var $192; //@line 1071 "../src/h264bsd_deblocking.c"
 $delta=$192; //@line 1071 "../src/h264bsd_deblocking.c"
 var $193=$p0; //@line 1073 "../src/h264bsd_deblocking.c"
 var $194=($193&255); //@line 1073 "../src/h264bsd_deblocking.c"
 var $195=$delta; //@line 1073 "../src/h264bsd_deblocking.c"
 var $196=((($194)+($195))|0); //@line 1073 "../src/h264bsd_deblocking.c"
 var $197=$clp; //@line 1073 "../src/h264bsd_deblocking.c"
 var $198=(($197+$196)|0); //@line 1073 "../src/h264bsd_deblocking.c"
 var $199=HEAP8[($198)]; //@line 1073 "../src/h264bsd_deblocking.c"
 $p0=$199; //@line 1073 "../src/h264bsd_deblocking.c"
 var $200=$q0; //@line 1074 "../src/h264bsd_deblocking.c"
 var $201=($200&255); //@line 1074 "../src/h264bsd_deblocking.c"
 var $202=$delta; //@line 1074 "../src/h264bsd_deblocking.c"
 var $203=((($201)-($202))|0); //@line 1074 "../src/h264bsd_deblocking.c"
 var $204=$clp; //@line 1074 "../src/h264bsd_deblocking.c"
 var $205=(($204+$203)|0); //@line 1074 "../src/h264bsd_deblocking.c"
 var $206=HEAP8[($205)]; //@line 1074 "../src/h264bsd_deblocking.c"
 $q0=$206; //@line 1074 "../src/h264bsd_deblocking.c"
 var $207=$p0; //@line 1075 "../src/h264bsd_deblocking.c"
 var $208=$4; //@line 1075 "../src/h264bsd_deblocking.c"
 var $209=(((-$208))|0); //@line 1075 "../src/h264bsd_deblocking.c"
 var $210=$1; //@line 1075 "../src/h264bsd_deblocking.c"
 var $211=(($210+$209)|0); //@line 1075 "../src/h264bsd_deblocking.c"
 HEAP8[($211)]=$207; //@line 1075 "../src/h264bsd_deblocking.c"
 var $212=$q0; //@line 1076 "../src/h264bsd_deblocking.c"
 var $213=$1; //@line 1076 "../src/h264bsd_deblocking.c"
 var $214=(($213)|0); //@line 1076 "../src/h264bsd_deblocking.c"
 HEAP8[($214)]=$212; //@line 1076 "../src/h264bsd_deblocking.c"
 label=28;break; //@line 1077 "../src/h264bsd_deblocking.c"
 case 28: 
 label=29;break; //@line 1078 "../src/h264bsd_deblocking.c"
 case 29: 
 var $217=$i; //@line 1063 "../src/h264bsd_deblocking.c"
 var $218=((($217)-(1))|0); //@line 1063 "../src/h264bsd_deblocking.c"
 $i=$218; //@line 1063 "../src/h264bsd_deblocking.c"
 var $219=$1; //@line 1063 "../src/h264bsd_deblocking.c"
 var $220=(($219+1)|0); //@line 1063 "../src/h264bsd_deblocking.c"
 $1=$220; //@line 1063 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 1063 "../src/h264bsd_deblocking.c"
 case 30: 
 STACKTOP=sp;return; //@line 1079 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterVerLumaEdge($data,$bS,$thresholds,$imageWidth){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $delta;
 var $tc;
 var $tmp;
 var $i;
 var $p0;
 var $q0;
 var $p1;
 var $q1;
 var $p2;
 var $q2;
 var $tmpFlag;
 var $clp;
 var $alpha;
 var $beta;
 var $val;
 $1=$data;
 $2=$bS;
 $3=$thresholds;
 $4=$imageWidth;
 $clp=1872; //@line 669 "../src/h264bsd_deblocking.c"
 var $5=$3; //@line 671 "../src/h264bsd_deblocking.c"
 var $6=(($5+4)|0); //@line 671 "../src/h264bsd_deblocking.c"
 var $7=HEAP32[(($6)>>2)]; //@line 671 "../src/h264bsd_deblocking.c"
 $alpha=$7; //@line 671 "../src/h264bsd_deblocking.c"
 var $8=$3; //@line 672 "../src/h264bsd_deblocking.c"
 var $9=(($8+8)|0); //@line 672 "../src/h264bsd_deblocking.c"
 var $10=HEAP32[(($9)>>2)]; //@line 672 "../src/h264bsd_deblocking.c"
 $beta=$10; //@line 672 "../src/h264bsd_deblocking.c"
 var $11=$1; //@line 677 "../src/h264bsd_deblocking.c"
 var $12=($11|0)!=0; //@line 677 "../src/h264bsd_deblocking.c"
 if($12){var $16=0;label=3;break;}else{label=2;break;} //@line 677 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(12344,11664,677,15960); //@line 677 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 677 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 677 "../src/h264bsd_deblocking.c"
 case 3: 
 var $16;
 var $17=($16&1); //@line 677 "../src/h264bsd_deblocking.c"
 var $18=$2; //@line 678 "../src/h264bsd_deblocking.c"
 var $19=($18|0)!=0; //@line 678 "../src/h264bsd_deblocking.c"
 if($19){label=4;break;}else{label=5;break;} //@line 678 "../src/h264bsd_deblocking.c"
 case 4: 
 var $21=$2; //@line 678 "../src/h264bsd_deblocking.c"
 var $22=($21>>>0)<=4; //@line 678 "../src/h264bsd_deblocking.c"
 if($22){var $26=1;label=6;break;}else{label=5;break;} //@line 678 "../src/h264bsd_deblocking.c"
 case 5: 
 ___assert_fail(11368,11664,678,15960); //@line 678 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 678 "../src/h264bsd_deblocking.c"
 label=6;break; //@line 678 "../src/h264bsd_deblocking.c"
 case 6: 
 var $26;
 var $27=($26&1); //@line 678 "../src/h264bsd_deblocking.c"
 var $28=$3; //@line 679 "../src/h264bsd_deblocking.c"
 var $29=($28|0)!=0; //@line 679 "../src/h264bsd_deblocking.c"
 if($29){var $33=1;label=8;break;}else{label=7;break;} //@line 679 "../src/h264bsd_deblocking.c"
 case 7: 
 ___assert_fail(4568,11664,679,15960); //@line 679 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 679 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 679 "../src/h264bsd_deblocking.c"
 case 8: 
 var $33;
 var $34=($33&1); //@line 679 "../src/h264bsd_deblocking.c"
 var $35=$2; //@line 681 "../src/h264bsd_deblocking.c"
 var $36=($35>>>0)<4; //@line 681 "../src/h264bsd_deblocking.c"
 if($36){label=9;break;}else{label=55;break;} //@line 681 "../src/h264bsd_deblocking.c"
 case 9: 
 var $38=$2; //@line 683 "../src/h264bsd_deblocking.c"
 var $39=((($38)-(1))|0); //@line 683 "../src/h264bsd_deblocking.c"
 var $40=$3; //@line 683 "../src/h264bsd_deblocking.c"
 var $41=(($40)|0); //@line 683 "../src/h264bsd_deblocking.c"
 var $42=HEAP32[(($41)>>2)]; //@line 683 "../src/h264bsd_deblocking.c"
 var $43=(($42+$39)|0); //@line 683 "../src/h264bsd_deblocking.c"
 var $44=HEAP8[($43)]; //@line 683 "../src/h264bsd_deblocking.c"
 var $45=($44&255); //@line 683 "../src/h264bsd_deblocking.c"
 $tc=$45; //@line 683 "../src/h264bsd_deblocking.c"
 var $46=$tc; //@line 684 "../src/h264bsd_deblocking.c"
 $tmp=$46; //@line 684 "../src/h264bsd_deblocking.c"
 $i=4; //@line 685 "../src/h264bsd_deblocking.c"
 label=10;break; //@line 685 "../src/h264bsd_deblocking.c"
 case 10: 
 var $48=$i; //@line 685 "../src/h264bsd_deblocking.c"
 var $49=($48|0)!=0; //@line 685 "../src/h264bsd_deblocking.c"
 if($49){label=11;break;}else{label=54;break;} //@line 685 "../src/h264bsd_deblocking.c"
 case 11: 
 var $51=$1; //@line 687 "../src/h264bsd_deblocking.c"
 var $52=((($51)-(2))|0); //@line 687 "../src/h264bsd_deblocking.c"
 var $53=HEAP8[($52)]; //@line 687 "../src/h264bsd_deblocking.c"
 var $54=($53&255); //@line 687 "../src/h264bsd_deblocking.c"
 $p1=$54; //@line 687 "../src/h264bsd_deblocking.c"
 var $55=$1; //@line 687 "../src/h264bsd_deblocking.c"
 var $56=((($55)-(1))|0); //@line 687 "../src/h264bsd_deblocking.c"
 var $57=HEAP8[($56)]; //@line 687 "../src/h264bsd_deblocking.c"
 var $58=($57&255); //@line 687 "../src/h264bsd_deblocking.c"
 $p0=$58; //@line 687 "../src/h264bsd_deblocking.c"
 var $59=$1; //@line 688 "../src/h264bsd_deblocking.c"
 var $60=(($59)|0); //@line 688 "../src/h264bsd_deblocking.c"
 var $61=HEAP8[($60)]; //@line 688 "../src/h264bsd_deblocking.c"
 var $62=($61&255); //@line 688 "../src/h264bsd_deblocking.c"
 $q0=$62; //@line 688 "../src/h264bsd_deblocking.c"
 var $63=$1; //@line 688 "../src/h264bsd_deblocking.c"
 var $64=(($63+1)|0); //@line 688 "../src/h264bsd_deblocking.c"
 var $65=HEAP8[($64)]; //@line 688 "../src/h264bsd_deblocking.c"
 var $66=($65&255); //@line 688 "../src/h264bsd_deblocking.c"
 $q1=$66; //@line 688 "../src/h264bsd_deblocking.c"
 var $67=$p0; //@line 690 "../src/h264bsd_deblocking.c"
 var $68=$q0; //@line 690 "../src/h264bsd_deblocking.c"
 var $69=((($67)-($68))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $70=($69|0)<0; //@line 690 "../src/h264bsd_deblocking.c"
 if($70){label=12;break;}else{label=13;break;} //@line 690 "../src/h264bsd_deblocking.c"
 case 12: 
 var $72=$p0; //@line 690 "../src/h264bsd_deblocking.c"
 var $73=$q0; //@line 690 "../src/h264bsd_deblocking.c"
 var $74=((($72)-($73))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $75=(((-$74))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $81=$75;label=14;break; //@line 690 "../src/h264bsd_deblocking.c"
 case 13: 
 var $77=$p0; //@line 690 "../src/h264bsd_deblocking.c"
 var $78=$q0; //@line 690 "../src/h264bsd_deblocking.c"
 var $79=((($77)-($78))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $81=$79;label=14;break; //@line 690 "../src/h264bsd_deblocking.c"
 case 14: 
 var $81; //@line 690 "../src/h264bsd_deblocking.c"
 var $82=$alpha; //@line 690 "../src/h264bsd_deblocking.c"
 var $83=($81>>>0)<($82>>>0); //@line 690 "../src/h264bsd_deblocking.c"
 if($83){label=15;break;}else{label=52;break;} //@line 690 "../src/h264bsd_deblocking.c"
 case 15: 
 var $85=$p1; //@line 690 "../src/h264bsd_deblocking.c"
 var $86=$p0; //@line 690 "../src/h264bsd_deblocking.c"
 var $87=((($85)-($86))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $88=($87|0)<0; //@line 690 "../src/h264bsd_deblocking.c"
 if($88){label=16;break;}else{label=17;break;} //@line 690 "../src/h264bsd_deblocking.c"
 case 16: 
 var $90=$p1; //@line 690 "../src/h264bsd_deblocking.c"
 var $91=$p0; //@line 690 "../src/h264bsd_deblocking.c"
 var $92=((($90)-($91))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $93=(((-$92))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $99=$93;label=18;break; //@line 690 "../src/h264bsd_deblocking.c"
 case 17: 
 var $95=$p1; //@line 690 "../src/h264bsd_deblocking.c"
 var $96=$p0; //@line 690 "../src/h264bsd_deblocking.c"
 var $97=((($95)-($96))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $99=$97;label=18;break; //@line 690 "../src/h264bsd_deblocking.c"
 case 18: 
 var $99; //@line 690 "../src/h264bsd_deblocking.c"
 var $100=$beta; //@line 690 "../src/h264bsd_deblocking.c"
 var $101=($99>>>0)<($100>>>0); //@line 690 "../src/h264bsd_deblocking.c"
 if($101){label=19;break;}else{label=52;break;} //@line 690 "../src/h264bsd_deblocking.c"
 case 19: 
 var $103=$q1; //@line 690 "../src/h264bsd_deblocking.c"
 var $104=$q0; //@line 690 "../src/h264bsd_deblocking.c"
 var $105=((($103)-($104))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $106=($105|0)<0; //@line 690 "../src/h264bsd_deblocking.c"
 if($106){label=20;break;}else{label=21;break;} //@line 690 "../src/h264bsd_deblocking.c"
 case 20: 
 var $108=$q1; //@line 690 "../src/h264bsd_deblocking.c"
 var $109=$q0; //@line 690 "../src/h264bsd_deblocking.c"
 var $110=((($108)-($109))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $111=(((-$110))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $117=$111;label=22;break; //@line 690 "../src/h264bsd_deblocking.c"
 case 21: 
 var $113=$q1; //@line 690 "../src/h264bsd_deblocking.c"
 var $114=$q0; //@line 690 "../src/h264bsd_deblocking.c"
 var $115=((($113)-($114))|0); //@line 690 "../src/h264bsd_deblocking.c"
 var $117=$115;label=22;break; //@line 690 "../src/h264bsd_deblocking.c"
 case 22: 
 var $117; //@line 690 "../src/h264bsd_deblocking.c"
 var $118=$beta; //@line 690 "../src/h264bsd_deblocking.c"
 var $119=($117>>>0)<($118>>>0); //@line 690 "../src/h264bsd_deblocking.c"
 if($119){label=23;break;}else{label=52;break;} //@line 690 "../src/h264bsd_deblocking.c"
 case 23: 
 var $121=$1; //@line 694 "../src/h264bsd_deblocking.c"
 var $122=((($121)-(3))|0); //@line 694 "../src/h264bsd_deblocking.c"
 var $123=HEAP8[($122)]; //@line 694 "../src/h264bsd_deblocking.c"
 var $124=($123&255); //@line 694 "../src/h264bsd_deblocking.c"
 $p2=$124; //@line 694 "../src/h264bsd_deblocking.c"
 var $125=$1; //@line 695 "../src/h264bsd_deblocking.c"
 var $126=(($125+2)|0); //@line 695 "../src/h264bsd_deblocking.c"
 var $127=HEAP8[($126)]; //@line 695 "../src/h264bsd_deblocking.c"
 var $128=($127&255); //@line 695 "../src/h264bsd_deblocking.c"
 $q2=$128; //@line 695 "../src/h264bsd_deblocking.c"
 var $129=$p2; //@line 697 "../src/h264bsd_deblocking.c"
 var $130=$p0; //@line 697 "../src/h264bsd_deblocking.c"
 var $131=((($129)-($130))|0); //@line 697 "../src/h264bsd_deblocking.c"
 var $132=($131|0)<0; //@line 697 "../src/h264bsd_deblocking.c"
 if($132){label=24;break;}else{label=25;break;} //@line 697 "../src/h264bsd_deblocking.c"
 case 24: 
 var $134=$p2; //@line 697 "../src/h264bsd_deblocking.c"
 var $135=$p0; //@line 697 "../src/h264bsd_deblocking.c"
 var $136=((($134)-($135))|0); //@line 697 "../src/h264bsd_deblocking.c"
 var $137=(((-$136))|0); //@line 697 "../src/h264bsd_deblocking.c"
 var $143=$137;label=26;break; //@line 697 "../src/h264bsd_deblocking.c"
 case 25: 
 var $139=$p2; //@line 697 "../src/h264bsd_deblocking.c"
 var $140=$p0; //@line 697 "../src/h264bsd_deblocking.c"
 var $141=((($139)-($140))|0); //@line 697 "../src/h264bsd_deblocking.c"
 var $143=$141;label=26;break; //@line 697 "../src/h264bsd_deblocking.c"
 case 26: 
 var $143; //@line 697 "../src/h264bsd_deblocking.c"
 var $144=$beta; //@line 697 "../src/h264bsd_deblocking.c"
 var $145=($143>>>0)<($144>>>0); //@line 697 "../src/h264bsd_deblocking.c"
 if($145){label=27;break;}else{label=34;break;} //@line 697 "../src/h264bsd_deblocking.c"
 case 27: 
 var $147=$p2; //@line 699 "../src/h264bsd_deblocking.c"
 var $148=$p0; //@line 699 "../src/h264bsd_deblocking.c"
 var $149=$q0; //@line 699 "../src/h264bsd_deblocking.c"
 var $150=((($148)+($149))|0); //@line 699 "../src/h264bsd_deblocking.c"
 var $151=((($150)+(1))|0); //@line 699 "../src/h264bsd_deblocking.c"
 var $152=$151>>1; //@line 699 "../src/h264bsd_deblocking.c"
 var $153=((($147)+($152))|0); //@line 699 "../src/h264bsd_deblocking.c"
 var $154=$p1; //@line 699 "../src/h264bsd_deblocking.c"
 var $155=$154<<1; //@line 699 "../src/h264bsd_deblocking.c"
 var $156=((($153)-($155))|0); //@line 699 "../src/h264bsd_deblocking.c"
 var $157=$156>>1; //@line 699 "../src/h264bsd_deblocking.c"
 $val=$157; //@line 699 "../src/h264bsd_deblocking.c"
 var $158=$p1; //@line 700 "../src/h264bsd_deblocking.c"
 var $159=$val; //@line 700 "../src/h264bsd_deblocking.c"
 var $160=$tc; //@line 700 "../src/h264bsd_deblocking.c"
 var $161=(((-$160))|0); //@line 700 "../src/h264bsd_deblocking.c"
 var $162=($159|0)<($161|0); //@line 700 "../src/h264bsd_deblocking.c"
 if($162){label=28;break;}else{label=29;break;} //@line 700 "../src/h264bsd_deblocking.c"
 case 28: 
 var $164=$tc; //@line 700 "../src/h264bsd_deblocking.c"
 var $165=(((-$164))|0); //@line 700 "../src/h264bsd_deblocking.c"
 var $177=$165;label=33;break; //@line 700 "../src/h264bsd_deblocking.c"
 case 29: 
 var $167=$val; //@line 700 "../src/h264bsd_deblocking.c"
 var $168=$tc; //@line 700 "../src/h264bsd_deblocking.c"
 var $169=($167|0)>($168|0); //@line 700 "../src/h264bsd_deblocking.c"
 if($169){label=30;break;}else{label=31;break;} //@line 700 "../src/h264bsd_deblocking.c"
 case 30: 
 var $171=$tc; //@line 700 "../src/h264bsd_deblocking.c"
 var $175=$171;label=32;break; //@line 700 "../src/h264bsd_deblocking.c"
 case 31: 
 var $173=$val; //@line 700 "../src/h264bsd_deblocking.c"
 var $175=$173;label=32;break; //@line 700 "../src/h264bsd_deblocking.c"
 case 32: 
 var $175; //@line 700 "../src/h264bsd_deblocking.c"
 var $177=$175;label=33;break; //@line 700 "../src/h264bsd_deblocking.c"
 case 33: 
 var $177; //@line 700 "../src/h264bsd_deblocking.c"
 var $178=((($158)+($177))|0); //@line 700 "../src/h264bsd_deblocking.c"
 var $179=(($178)&255); //@line 700 "../src/h264bsd_deblocking.c"
 var $180=$1; //@line 700 "../src/h264bsd_deblocking.c"
 var $181=((($180)-(2))|0); //@line 700 "../src/h264bsd_deblocking.c"
 HEAP8[($181)]=$179; //@line 700 "../src/h264bsd_deblocking.c"
 var $182=$tmp; //@line 701 "../src/h264bsd_deblocking.c"
 var $183=((($182)+(1))|0); //@line 701 "../src/h264bsd_deblocking.c"
 $tmp=$183; //@line 701 "../src/h264bsd_deblocking.c"
 label=34;break; //@line 702 "../src/h264bsd_deblocking.c"
 case 34: 
 var $185=$q2; //@line 704 "../src/h264bsd_deblocking.c"
 var $186=$q0; //@line 704 "../src/h264bsd_deblocking.c"
 var $187=((($185)-($186))|0); //@line 704 "../src/h264bsd_deblocking.c"
 var $188=($187|0)<0; //@line 704 "../src/h264bsd_deblocking.c"
 if($188){label=35;break;}else{label=36;break;} //@line 704 "../src/h264bsd_deblocking.c"
 case 35: 
 var $190=$q2; //@line 704 "../src/h264bsd_deblocking.c"
 var $191=$q0; //@line 704 "../src/h264bsd_deblocking.c"
 var $192=((($190)-($191))|0); //@line 704 "../src/h264bsd_deblocking.c"
 var $193=(((-$192))|0); //@line 704 "../src/h264bsd_deblocking.c"
 var $199=$193;label=37;break; //@line 704 "../src/h264bsd_deblocking.c"
 case 36: 
 var $195=$q2; //@line 704 "../src/h264bsd_deblocking.c"
 var $196=$q0; //@line 704 "../src/h264bsd_deblocking.c"
 var $197=((($195)-($196))|0); //@line 704 "../src/h264bsd_deblocking.c"
 var $199=$197;label=37;break; //@line 704 "../src/h264bsd_deblocking.c"
 case 37: 
 var $199; //@line 704 "../src/h264bsd_deblocking.c"
 var $200=$beta; //@line 704 "../src/h264bsd_deblocking.c"
 var $201=($199>>>0)<($200>>>0); //@line 704 "../src/h264bsd_deblocking.c"
 if($201){label=38;break;}else{label=45;break;} //@line 704 "../src/h264bsd_deblocking.c"
 case 38: 
 var $203=$q2; //@line 706 "../src/h264bsd_deblocking.c"
 var $204=$p0; //@line 706 "../src/h264bsd_deblocking.c"
 var $205=$q0; //@line 706 "../src/h264bsd_deblocking.c"
 var $206=((($204)+($205))|0); //@line 706 "../src/h264bsd_deblocking.c"
 var $207=((($206)+(1))|0); //@line 706 "../src/h264bsd_deblocking.c"
 var $208=$207>>1; //@line 706 "../src/h264bsd_deblocking.c"
 var $209=((($203)+($208))|0); //@line 706 "../src/h264bsd_deblocking.c"
 var $210=$q1; //@line 706 "../src/h264bsd_deblocking.c"
 var $211=$210<<1; //@line 706 "../src/h264bsd_deblocking.c"
 var $212=((($209)-($211))|0); //@line 706 "../src/h264bsd_deblocking.c"
 var $213=$212>>1; //@line 706 "../src/h264bsd_deblocking.c"
 $val=$213; //@line 706 "../src/h264bsd_deblocking.c"
 var $214=$q1; //@line 707 "../src/h264bsd_deblocking.c"
 var $215=$val; //@line 707 "../src/h264bsd_deblocking.c"
 var $216=$tc; //@line 707 "../src/h264bsd_deblocking.c"
 var $217=(((-$216))|0); //@line 707 "../src/h264bsd_deblocking.c"
 var $218=($215|0)<($217|0); //@line 707 "../src/h264bsd_deblocking.c"
 if($218){label=39;break;}else{label=40;break;} //@line 707 "../src/h264bsd_deblocking.c"
 case 39: 
 var $220=$tc; //@line 707 "../src/h264bsd_deblocking.c"
 var $221=(((-$220))|0); //@line 707 "../src/h264bsd_deblocking.c"
 var $233=$221;label=44;break; //@line 707 "../src/h264bsd_deblocking.c"
 case 40: 
 var $223=$val; //@line 707 "../src/h264bsd_deblocking.c"
 var $224=$tc; //@line 707 "../src/h264bsd_deblocking.c"
 var $225=($223|0)>($224|0); //@line 707 "../src/h264bsd_deblocking.c"
 if($225){label=41;break;}else{label=42;break;} //@line 707 "../src/h264bsd_deblocking.c"
 case 41: 
 var $227=$tc; //@line 707 "../src/h264bsd_deblocking.c"
 var $231=$227;label=43;break; //@line 707 "../src/h264bsd_deblocking.c"
 case 42: 
 var $229=$val; //@line 707 "../src/h264bsd_deblocking.c"
 var $231=$229;label=43;break; //@line 707 "../src/h264bsd_deblocking.c"
 case 43: 
 var $231; //@line 707 "../src/h264bsd_deblocking.c"
 var $233=$231;label=44;break; //@line 707 "../src/h264bsd_deblocking.c"
 case 44: 
 var $233; //@line 707 "../src/h264bsd_deblocking.c"
 var $234=((($214)+($233))|0); //@line 707 "../src/h264bsd_deblocking.c"
 var $235=(($234)&255); //@line 707 "../src/h264bsd_deblocking.c"
 var $236=$1; //@line 707 "../src/h264bsd_deblocking.c"
 var $237=(($236+1)|0); //@line 707 "../src/h264bsd_deblocking.c"
 HEAP8[($237)]=$235; //@line 707 "../src/h264bsd_deblocking.c"
 var $238=$tmp; //@line 708 "../src/h264bsd_deblocking.c"
 var $239=((($238)+(1))|0); //@line 708 "../src/h264bsd_deblocking.c"
 $tmp=$239; //@line 708 "../src/h264bsd_deblocking.c"
 label=45;break; //@line 709 "../src/h264bsd_deblocking.c"
 case 45: 
 var $241=$q0; //@line 711 "../src/h264bsd_deblocking.c"
 var $242=$p0; //@line 711 "../src/h264bsd_deblocking.c"
 var $243=((($241)-($242))|0); //@line 711 "../src/h264bsd_deblocking.c"
 var $244=$243<<2; //@line 711 "../src/h264bsd_deblocking.c"
 var $245=$p1; //@line 711 "../src/h264bsd_deblocking.c"
 var $246=$q1; //@line 711 "../src/h264bsd_deblocking.c"
 var $247=((($245)-($246))|0); //@line 711 "../src/h264bsd_deblocking.c"
 var $248=((($244)+($247))|0); //@line 711 "../src/h264bsd_deblocking.c"
 var $249=((($248)+(4))|0); //@line 711 "../src/h264bsd_deblocking.c"
 var $250=$249>>3; //@line 711 "../src/h264bsd_deblocking.c"
 $val=$250; //@line 711 "../src/h264bsd_deblocking.c"
 var $251=$val; //@line 712 "../src/h264bsd_deblocking.c"
 var $252=$tmp; //@line 712 "../src/h264bsd_deblocking.c"
 var $253=(((-$252))|0); //@line 712 "../src/h264bsd_deblocking.c"
 var $254=($251|0)<($253|0); //@line 712 "../src/h264bsd_deblocking.c"
 if($254){label=46;break;}else{label=47;break;} //@line 712 "../src/h264bsd_deblocking.c"
 case 46: 
 var $256=$tmp; //@line 712 "../src/h264bsd_deblocking.c"
 var $257=(((-$256))|0); //@line 712 "../src/h264bsd_deblocking.c"
 var $269=$257;label=51;break; //@line 712 "../src/h264bsd_deblocking.c"
 case 47: 
 var $259=$val; //@line 712 "../src/h264bsd_deblocking.c"
 var $260=$tmp; //@line 712 "../src/h264bsd_deblocking.c"
 var $261=($259|0)>($260|0); //@line 712 "../src/h264bsd_deblocking.c"
 if($261){label=48;break;}else{label=49;break;} //@line 712 "../src/h264bsd_deblocking.c"
 case 48: 
 var $263=$tmp; //@line 712 "../src/h264bsd_deblocking.c"
 var $267=$263;label=50;break; //@line 712 "../src/h264bsd_deblocking.c"
 case 49: 
 var $265=$val; //@line 712 "../src/h264bsd_deblocking.c"
 var $267=$265;label=50;break; //@line 712 "../src/h264bsd_deblocking.c"
 case 50: 
 var $267; //@line 712 "../src/h264bsd_deblocking.c"
 var $269=$267;label=51;break; //@line 712 "../src/h264bsd_deblocking.c"
 case 51: 
 var $269; //@line 712 "../src/h264bsd_deblocking.c"
 $delta=$269; //@line 712 "../src/h264bsd_deblocking.c"
 var $270=$p0; //@line 714 "../src/h264bsd_deblocking.c"
 var $271=$delta; //@line 714 "../src/h264bsd_deblocking.c"
 var $272=((($270)+($271))|0); //@line 714 "../src/h264bsd_deblocking.c"
 var $273=$clp; //@line 714 "../src/h264bsd_deblocking.c"
 var $274=(($273+$272)|0); //@line 714 "../src/h264bsd_deblocking.c"
 var $275=HEAP8[($274)]; //@line 714 "../src/h264bsd_deblocking.c"
 var $276=($275&255); //@line 714 "../src/h264bsd_deblocking.c"
 $p0=$276; //@line 714 "../src/h264bsd_deblocking.c"
 var $277=$q0; //@line 715 "../src/h264bsd_deblocking.c"
 var $278=$delta; //@line 715 "../src/h264bsd_deblocking.c"
 var $279=((($277)-($278))|0); //@line 715 "../src/h264bsd_deblocking.c"
 var $280=$clp; //@line 715 "../src/h264bsd_deblocking.c"
 var $281=(($280+$279)|0); //@line 715 "../src/h264bsd_deblocking.c"
 var $282=HEAP8[($281)]; //@line 715 "../src/h264bsd_deblocking.c"
 var $283=($282&255); //@line 715 "../src/h264bsd_deblocking.c"
 $q0=$283; //@line 715 "../src/h264bsd_deblocking.c"
 var $284=$tc; //@line 716 "../src/h264bsd_deblocking.c"
 $tmp=$284; //@line 716 "../src/h264bsd_deblocking.c"
 var $285=$p0; //@line 717 "../src/h264bsd_deblocking.c"
 var $286=(($285)&255); //@line 717 "../src/h264bsd_deblocking.c"
 var $287=$1; //@line 717 "../src/h264bsd_deblocking.c"
 var $288=((($287)-(1))|0); //@line 717 "../src/h264bsd_deblocking.c"
 HEAP8[($288)]=$286; //@line 717 "../src/h264bsd_deblocking.c"
 var $289=$q0; //@line 718 "../src/h264bsd_deblocking.c"
 var $290=(($289)&255); //@line 718 "../src/h264bsd_deblocking.c"
 var $291=$1; //@line 718 "../src/h264bsd_deblocking.c"
 var $292=(($291)|0); //@line 718 "../src/h264bsd_deblocking.c"
 HEAP8[($292)]=$290; //@line 718 "../src/h264bsd_deblocking.c"
 label=52;break; //@line 719 "../src/h264bsd_deblocking.c"
 case 52: 
 label=53;break; //@line 721 "../src/h264bsd_deblocking.c"
 case 53: 
 var $295=$i; //@line 685 "../src/h264bsd_deblocking.c"
 var $296=((($295)-(1))|0); //@line 685 "../src/h264bsd_deblocking.c"
 $i=$296; //@line 685 "../src/h264bsd_deblocking.c"
 var $297=$4; //@line 685 "../src/h264bsd_deblocking.c"
 var $298=$1; //@line 685 "../src/h264bsd_deblocking.c"
 var $299=(($298+$297)|0); //@line 685 "../src/h264bsd_deblocking.c"
 $1=$299; //@line 685 "../src/h264bsd_deblocking.c"
 label=10;break; //@line 685 "../src/h264bsd_deblocking.c"
 case 54: 
 label=90;break; //@line 722 "../src/h264bsd_deblocking.c"
 case 55: 
 $i=4; //@line 725 "../src/h264bsd_deblocking.c"
 label=56;break; //@line 725 "../src/h264bsd_deblocking.c"
 case 56: 
 var $303=$i; //@line 725 "../src/h264bsd_deblocking.c"
 var $304=($303|0)!=0; //@line 725 "../src/h264bsd_deblocking.c"
 if($304){label=57;break;}else{label=89;break;} //@line 725 "../src/h264bsd_deblocking.c"
 case 57: 
 var $306=$1; //@line 727 "../src/h264bsd_deblocking.c"
 var $307=((($306)-(2))|0); //@line 727 "../src/h264bsd_deblocking.c"
 var $308=HEAP8[($307)]; //@line 727 "../src/h264bsd_deblocking.c"
 var $309=($308&255); //@line 727 "../src/h264bsd_deblocking.c"
 $p1=$309; //@line 727 "../src/h264bsd_deblocking.c"
 var $310=$1; //@line 727 "../src/h264bsd_deblocking.c"
 var $311=((($310)-(1))|0); //@line 727 "../src/h264bsd_deblocking.c"
 var $312=HEAP8[($311)]; //@line 727 "../src/h264bsd_deblocking.c"
 var $313=($312&255); //@line 727 "../src/h264bsd_deblocking.c"
 $p0=$313; //@line 727 "../src/h264bsd_deblocking.c"
 var $314=$1; //@line 728 "../src/h264bsd_deblocking.c"
 var $315=(($314)|0); //@line 728 "../src/h264bsd_deblocking.c"
 var $316=HEAP8[($315)]; //@line 728 "../src/h264bsd_deblocking.c"
 var $317=($316&255); //@line 728 "../src/h264bsd_deblocking.c"
 $q0=$317; //@line 728 "../src/h264bsd_deblocking.c"
 var $318=$1; //@line 728 "../src/h264bsd_deblocking.c"
 var $319=(($318+1)|0); //@line 728 "../src/h264bsd_deblocking.c"
 var $320=HEAP8[($319)]; //@line 728 "../src/h264bsd_deblocking.c"
 var $321=($320&255); //@line 728 "../src/h264bsd_deblocking.c"
 $q1=$321; //@line 728 "../src/h264bsd_deblocking.c"
 var $322=$p0; //@line 729 "../src/h264bsd_deblocking.c"
 var $323=$q0; //@line 729 "../src/h264bsd_deblocking.c"
 var $324=((($322)-($323))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $325=($324|0)<0; //@line 729 "../src/h264bsd_deblocking.c"
 if($325){label=58;break;}else{label=59;break;} //@line 729 "../src/h264bsd_deblocking.c"
 case 58: 
 var $327=$p0; //@line 729 "../src/h264bsd_deblocking.c"
 var $328=$q0; //@line 729 "../src/h264bsd_deblocking.c"
 var $329=((($327)-($328))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $330=(((-$329))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $336=$330;label=60;break; //@line 729 "../src/h264bsd_deblocking.c"
 case 59: 
 var $332=$p0; //@line 729 "../src/h264bsd_deblocking.c"
 var $333=$q0; //@line 729 "../src/h264bsd_deblocking.c"
 var $334=((($332)-($333))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $336=$334;label=60;break; //@line 729 "../src/h264bsd_deblocking.c"
 case 60: 
 var $336; //@line 729 "../src/h264bsd_deblocking.c"
 var $337=$alpha; //@line 729 "../src/h264bsd_deblocking.c"
 var $338=($336>>>0)<($337>>>0); //@line 729 "../src/h264bsd_deblocking.c"
 if($338){label=61;break;}else{label=87;break;} //@line 729 "../src/h264bsd_deblocking.c"
 case 61: 
 var $340=$p1; //@line 729 "../src/h264bsd_deblocking.c"
 var $341=$p0; //@line 729 "../src/h264bsd_deblocking.c"
 var $342=((($340)-($341))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $343=($342|0)<0; //@line 729 "../src/h264bsd_deblocking.c"
 if($343){label=62;break;}else{label=63;break;} //@line 729 "../src/h264bsd_deblocking.c"
 case 62: 
 var $345=$p1; //@line 729 "../src/h264bsd_deblocking.c"
 var $346=$p0; //@line 729 "../src/h264bsd_deblocking.c"
 var $347=((($345)-($346))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $348=(((-$347))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $354=$348;label=64;break; //@line 729 "../src/h264bsd_deblocking.c"
 case 63: 
 var $350=$p1; //@line 729 "../src/h264bsd_deblocking.c"
 var $351=$p0; //@line 729 "../src/h264bsd_deblocking.c"
 var $352=((($350)-($351))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $354=$352;label=64;break; //@line 729 "../src/h264bsd_deblocking.c"
 case 64: 
 var $354; //@line 729 "../src/h264bsd_deblocking.c"
 var $355=$beta; //@line 729 "../src/h264bsd_deblocking.c"
 var $356=($354>>>0)<($355>>>0); //@line 729 "../src/h264bsd_deblocking.c"
 if($356){label=65;break;}else{label=87;break;} //@line 729 "../src/h264bsd_deblocking.c"
 case 65: 
 var $358=$q1; //@line 729 "../src/h264bsd_deblocking.c"
 var $359=$q0; //@line 729 "../src/h264bsd_deblocking.c"
 var $360=((($358)-($359))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $361=($360|0)<0; //@line 729 "../src/h264bsd_deblocking.c"
 if($361){label=66;break;}else{label=67;break;} //@line 729 "../src/h264bsd_deblocking.c"
 case 66: 
 var $363=$q1; //@line 729 "../src/h264bsd_deblocking.c"
 var $364=$q0; //@line 729 "../src/h264bsd_deblocking.c"
 var $365=((($363)-($364))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $366=(((-$365))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $372=$366;label=68;break; //@line 729 "../src/h264bsd_deblocking.c"
 case 67: 
 var $368=$q1; //@line 729 "../src/h264bsd_deblocking.c"
 var $369=$q0; //@line 729 "../src/h264bsd_deblocking.c"
 var $370=((($368)-($369))|0); //@line 729 "../src/h264bsd_deblocking.c"
 var $372=$370;label=68;break; //@line 729 "../src/h264bsd_deblocking.c"
 case 68: 
 var $372; //@line 729 "../src/h264bsd_deblocking.c"
 var $373=$beta; //@line 729 "../src/h264bsd_deblocking.c"
 var $374=($372>>>0)<($373>>>0); //@line 729 "../src/h264bsd_deblocking.c"
 if($374){label=69;break;}else{label=87;break;} //@line 729 "../src/h264bsd_deblocking.c"
 case 69: 
 var $376=$p0; //@line 733 "../src/h264bsd_deblocking.c"
 var $377=$q0; //@line 733 "../src/h264bsd_deblocking.c"
 var $378=((($376)-($377))|0); //@line 733 "../src/h264bsd_deblocking.c"
 var $379=($378|0)<0; //@line 733 "../src/h264bsd_deblocking.c"
 if($379){label=70;break;}else{label=71;break;} //@line 733 "../src/h264bsd_deblocking.c"
 case 70: 
 var $381=$p0; //@line 733 "../src/h264bsd_deblocking.c"
 var $382=$q0; //@line 733 "../src/h264bsd_deblocking.c"
 var $383=((($381)-($382))|0); //@line 733 "../src/h264bsd_deblocking.c"
 var $384=(((-$383))|0); //@line 733 "../src/h264bsd_deblocking.c"
 var $390=$384;label=72;break; //@line 733 "../src/h264bsd_deblocking.c"
 case 71: 
 var $386=$p0; //@line 733 "../src/h264bsd_deblocking.c"
 var $387=$q0; //@line 733 "../src/h264bsd_deblocking.c"
 var $388=((($386)-($387))|0); //@line 733 "../src/h264bsd_deblocking.c"
 var $390=$388;label=72;break; //@line 733 "../src/h264bsd_deblocking.c"
 case 72: 
 var $390; //@line 733 "../src/h264bsd_deblocking.c"
 var $391=$alpha; //@line 733 "../src/h264bsd_deblocking.c"
 var $392=$391>>>2; //@line 733 "../src/h264bsd_deblocking.c"
 var $393=((($392)+(2))|0); //@line 733 "../src/h264bsd_deblocking.c"
 var $394=($390>>>0)<($393>>>0); //@line 733 "../src/h264bsd_deblocking.c"
 var $395=($394?1:0); //@line 733 "../src/h264bsd_deblocking.c"
 $tmpFlag=$395; //@line 733 "../src/h264bsd_deblocking.c"
 var $396=$1; //@line 735 "../src/h264bsd_deblocking.c"
 var $397=((($396)-(3))|0); //@line 735 "../src/h264bsd_deblocking.c"
 var $398=HEAP8[($397)]; //@line 735 "../src/h264bsd_deblocking.c"
 var $399=($398&255); //@line 735 "../src/h264bsd_deblocking.c"
 $p2=$399; //@line 735 "../src/h264bsd_deblocking.c"
 var $400=$1; //@line 736 "../src/h264bsd_deblocking.c"
 var $401=(($400+2)|0); //@line 736 "../src/h264bsd_deblocking.c"
 var $402=HEAP8[($401)]; //@line 736 "../src/h264bsd_deblocking.c"
 var $403=($402&255); //@line 736 "../src/h264bsd_deblocking.c"
 $q2=$403; //@line 736 "../src/h264bsd_deblocking.c"
 var $404=$tmpFlag; //@line 738 "../src/h264bsd_deblocking.c"
 var $405=($404|0)!=0; //@line 738 "../src/h264bsd_deblocking.c"
 if($405){label=73;break;}else{label=78;break;} //@line 738 "../src/h264bsd_deblocking.c"
 case 73: 
 var $407=$p2; //@line 738 "../src/h264bsd_deblocking.c"
 var $408=$p0; //@line 738 "../src/h264bsd_deblocking.c"
 var $409=((($407)-($408))|0); //@line 738 "../src/h264bsd_deblocking.c"
 var $410=($409|0)<0; //@line 738 "../src/h264bsd_deblocking.c"
 if($410){label=74;break;}else{label=75;break;} //@line 738 "../src/h264bsd_deblocking.c"
 case 74: 
 var $412=$p2; //@line 738 "../src/h264bsd_deblocking.c"
 var $413=$p0; //@line 738 "../src/h264bsd_deblocking.c"
 var $414=((($412)-($413))|0); //@line 738 "../src/h264bsd_deblocking.c"
 var $415=(((-$414))|0); //@line 738 "../src/h264bsd_deblocking.c"
 var $421=$415;label=76;break; //@line 738 "../src/h264bsd_deblocking.c"
 case 75: 
 var $417=$p2; //@line 738 "../src/h264bsd_deblocking.c"
 var $418=$p0; //@line 738 "../src/h264bsd_deblocking.c"
 var $419=((($417)-($418))|0); //@line 738 "../src/h264bsd_deblocking.c"
 var $421=$419;label=76;break; //@line 738 "../src/h264bsd_deblocking.c"
 case 76: 
 var $421; //@line 738 "../src/h264bsd_deblocking.c"
 var $422=$beta; //@line 738 "../src/h264bsd_deblocking.c"
 var $423=($421>>>0)<($422>>>0); //@line 738 "../src/h264bsd_deblocking.c"
 if($423){label=77;break;}else{label=78;break;} //@line 738 "../src/h264bsd_deblocking.c"
 case 77: 
 var $425=$p1; //@line 740 "../src/h264bsd_deblocking.c"
 var $426=$p0; //@line 740 "../src/h264bsd_deblocking.c"
 var $427=((($425)+($426))|0); //@line 740 "../src/h264bsd_deblocking.c"
 var $428=$q0; //@line 740 "../src/h264bsd_deblocking.c"
 var $429=((($427)+($428))|0); //@line 740 "../src/h264bsd_deblocking.c"
 $tmp=$429; //@line 740 "../src/h264bsd_deblocking.c"
 var $430=$p2; //@line 741 "../src/h264bsd_deblocking.c"
 var $431=$tmp; //@line 741 "../src/h264bsd_deblocking.c"
 var $432=($431<<1); //@line 741 "../src/h264bsd_deblocking.c"
 var $433=((($430)+($432))|0); //@line 741 "../src/h264bsd_deblocking.c"
 var $434=$q1; //@line 741 "../src/h264bsd_deblocking.c"
 var $435=((($433)+($434))|0); //@line 741 "../src/h264bsd_deblocking.c"
 var $436=((($435)+(4))|0); //@line 741 "../src/h264bsd_deblocking.c"
 var $437=$436>>3; //@line 741 "../src/h264bsd_deblocking.c"
 var $438=(($437)&255); //@line 741 "../src/h264bsd_deblocking.c"
 var $439=$1; //@line 741 "../src/h264bsd_deblocking.c"
 var $440=((($439)-(1))|0); //@line 741 "../src/h264bsd_deblocking.c"
 HEAP8[($440)]=$438; //@line 741 "../src/h264bsd_deblocking.c"
 var $441=$p2; //@line 742 "../src/h264bsd_deblocking.c"
 var $442=$tmp; //@line 742 "../src/h264bsd_deblocking.c"
 var $443=((($441)+($442))|0); //@line 742 "../src/h264bsd_deblocking.c"
 var $444=((($443)+(2))|0); //@line 742 "../src/h264bsd_deblocking.c"
 var $445=$444>>2; //@line 742 "../src/h264bsd_deblocking.c"
 var $446=(($445)&255); //@line 742 "../src/h264bsd_deblocking.c"
 var $447=$1; //@line 742 "../src/h264bsd_deblocking.c"
 var $448=((($447)-(2))|0); //@line 742 "../src/h264bsd_deblocking.c"
 HEAP8[($448)]=$446; //@line 742 "../src/h264bsd_deblocking.c"
 var $449=$1; //@line 743 "../src/h264bsd_deblocking.c"
 var $450=((($449)-(4))|0); //@line 743 "../src/h264bsd_deblocking.c"
 var $451=HEAP8[($450)]; //@line 743 "../src/h264bsd_deblocking.c"
 var $452=($451&255); //@line 743 "../src/h264bsd_deblocking.c"
 var $453=($452<<1); //@line 743 "../src/h264bsd_deblocking.c"
 var $454=$p2; //@line 743 "../src/h264bsd_deblocking.c"
 var $455=((($454)*(3))&-1); //@line 743 "../src/h264bsd_deblocking.c"
 var $456=((($453)+($455))|0); //@line 743 "../src/h264bsd_deblocking.c"
 var $457=$tmp; //@line 743 "../src/h264bsd_deblocking.c"
 var $458=((($456)+($457))|0); //@line 743 "../src/h264bsd_deblocking.c"
 var $459=((($458)+(4))|0); //@line 743 "../src/h264bsd_deblocking.c"
 var $460=$459>>3; //@line 743 "../src/h264bsd_deblocking.c"
 var $461=(($460)&255); //@line 743 "../src/h264bsd_deblocking.c"
 var $462=$1; //@line 743 "../src/h264bsd_deblocking.c"
 var $463=((($462)-(3))|0); //@line 743 "../src/h264bsd_deblocking.c"
 HEAP8[($463)]=$461; //@line 743 "../src/h264bsd_deblocking.c"
 label=79;break; //@line 744 "../src/h264bsd_deblocking.c"
 case 78: 
 var $465=$p1; //@line 746 "../src/h264bsd_deblocking.c"
 var $466=($465<<1); //@line 746 "../src/h264bsd_deblocking.c"
 var $467=$p0; //@line 746 "../src/h264bsd_deblocking.c"
 var $468=((($466)+($467))|0); //@line 746 "../src/h264bsd_deblocking.c"
 var $469=$q1; //@line 746 "../src/h264bsd_deblocking.c"
 var $470=((($468)+($469))|0); //@line 746 "../src/h264bsd_deblocking.c"
 var $471=((($470)+(2))|0); //@line 746 "../src/h264bsd_deblocking.c"
 var $472=$471>>2; //@line 746 "../src/h264bsd_deblocking.c"
 var $473=(($472)&255); //@line 746 "../src/h264bsd_deblocking.c"
 var $474=$1; //@line 746 "../src/h264bsd_deblocking.c"
 var $475=((($474)-(1))|0); //@line 746 "../src/h264bsd_deblocking.c"
 HEAP8[($475)]=$473; //@line 746 "../src/h264bsd_deblocking.c"
 label=79;break;
 case 79: 
 var $477=$tmpFlag; //@line 748 "../src/h264bsd_deblocking.c"
 var $478=($477|0)!=0; //@line 748 "../src/h264bsd_deblocking.c"
 if($478){label=80;break;}else{label=85;break;} //@line 748 "../src/h264bsd_deblocking.c"
 case 80: 
 var $480=$q2; //@line 748 "../src/h264bsd_deblocking.c"
 var $481=$q0; //@line 748 "../src/h264bsd_deblocking.c"
 var $482=((($480)-($481))|0); //@line 748 "../src/h264bsd_deblocking.c"
 var $483=($482|0)<0; //@line 748 "../src/h264bsd_deblocking.c"
 if($483){label=81;break;}else{label=82;break;} //@line 748 "../src/h264bsd_deblocking.c"
 case 81: 
 var $485=$q2; //@line 748 "../src/h264bsd_deblocking.c"
 var $486=$q0; //@line 748 "../src/h264bsd_deblocking.c"
 var $487=((($485)-($486))|0); //@line 748 "../src/h264bsd_deblocking.c"
 var $488=(((-$487))|0); //@line 748 "../src/h264bsd_deblocking.c"
 var $494=$488;label=83;break; //@line 748 "../src/h264bsd_deblocking.c"
 case 82: 
 var $490=$q2; //@line 748 "../src/h264bsd_deblocking.c"
 var $491=$q0; //@line 748 "../src/h264bsd_deblocking.c"
 var $492=((($490)-($491))|0); //@line 748 "../src/h264bsd_deblocking.c"
 var $494=$492;label=83;break; //@line 748 "../src/h264bsd_deblocking.c"
 case 83: 
 var $494; //@line 748 "../src/h264bsd_deblocking.c"
 var $495=$beta; //@line 748 "../src/h264bsd_deblocking.c"
 var $496=($494>>>0)<($495>>>0); //@line 748 "../src/h264bsd_deblocking.c"
 if($496){label=84;break;}else{label=85;break;} //@line 748 "../src/h264bsd_deblocking.c"
 case 84: 
 var $498=$p0; //@line 750 "../src/h264bsd_deblocking.c"
 var $499=$q0; //@line 750 "../src/h264bsd_deblocking.c"
 var $500=((($498)+($499))|0); //@line 750 "../src/h264bsd_deblocking.c"
 var $501=$q1; //@line 750 "../src/h264bsd_deblocking.c"
 var $502=((($500)+($501))|0); //@line 750 "../src/h264bsd_deblocking.c"
 $tmp=$502; //@line 750 "../src/h264bsd_deblocking.c"
 var $503=$p1; //@line 751 "../src/h264bsd_deblocking.c"
 var $504=$tmp; //@line 751 "../src/h264bsd_deblocking.c"
 var $505=($504<<1); //@line 751 "../src/h264bsd_deblocking.c"
 var $506=((($503)+($505))|0); //@line 751 "../src/h264bsd_deblocking.c"
 var $507=$q2; //@line 751 "../src/h264bsd_deblocking.c"
 var $508=((($506)+($507))|0); //@line 751 "../src/h264bsd_deblocking.c"
 var $509=((($508)+(4))|0); //@line 751 "../src/h264bsd_deblocking.c"
 var $510=$509>>3; //@line 751 "../src/h264bsd_deblocking.c"
 var $511=(($510)&255); //@line 751 "../src/h264bsd_deblocking.c"
 var $512=$1; //@line 751 "../src/h264bsd_deblocking.c"
 var $513=(($512)|0); //@line 751 "../src/h264bsd_deblocking.c"
 HEAP8[($513)]=$511; //@line 751 "../src/h264bsd_deblocking.c"
 var $514=$tmp; //@line 752 "../src/h264bsd_deblocking.c"
 var $515=$q2; //@line 752 "../src/h264bsd_deblocking.c"
 var $516=((($514)+($515))|0); //@line 752 "../src/h264bsd_deblocking.c"
 var $517=((($516)+(2))|0); //@line 752 "../src/h264bsd_deblocking.c"
 var $518=$517>>2; //@line 752 "../src/h264bsd_deblocking.c"
 var $519=(($518)&255); //@line 752 "../src/h264bsd_deblocking.c"
 var $520=$1; //@line 752 "../src/h264bsd_deblocking.c"
 var $521=(($520+1)|0); //@line 752 "../src/h264bsd_deblocking.c"
 HEAP8[($521)]=$519; //@line 752 "../src/h264bsd_deblocking.c"
 var $522=$1; //@line 753 "../src/h264bsd_deblocking.c"
 var $523=(($522+3)|0); //@line 753 "../src/h264bsd_deblocking.c"
 var $524=HEAP8[($523)]; //@line 753 "../src/h264bsd_deblocking.c"
 var $525=($524&255); //@line 753 "../src/h264bsd_deblocking.c"
 var $526=($525<<1); //@line 753 "../src/h264bsd_deblocking.c"
 var $527=$q2; //@line 753 "../src/h264bsd_deblocking.c"
 var $528=((($527)*(3))&-1); //@line 753 "../src/h264bsd_deblocking.c"
 var $529=((($526)+($528))|0); //@line 753 "../src/h264bsd_deblocking.c"
 var $530=$tmp; //@line 753 "../src/h264bsd_deblocking.c"
 var $531=((($529)+($530))|0); //@line 753 "../src/h264bsd_deblocking.c"
 var $532=((($531)+(4))|0); //@line 753 "../src/h264bsd_deblocking.c"
 var $533=$532>>3; //@line 753 "../src/h264bsd_deblocking.c"
 var $534=(($533)&255); //@line 753 "../src/h264bsd_deblocking.c"
 var $535=$1; //@line 753 "../src/h264bsd_deblocking.c"
 var $536=(($535+2)|0); //@line 753 "../src/h264bsd_deblocking.c"
 HEAP8[($536)]=$534; //@line 753 "../src/h264bsd_deblocking.c"
 label=86;break; //@line 754 "../src/h264bsd_deblocking.c"
 case 85: 
 var $538=$q1; //@line 756 "../src/h264bsd_deblocking.c"
 var $539=($538<<1); //@line 756 "../src/h264bsd_deblocking.c"
 var $540=$q0; //@line 756 "../src/h264bsd_deblocking.c"
 var $541=((($539)+($540))|0); //@line 756 "../src/h264bsd_deblocking.c"
 var $542=$p1; //@line 756 "../src/h264bsd_deblocking.c"
 var $543=((($541)+($542))|0); //@line 756 "../src/h264bsd_deblocking.c"
 var $544=((($543)+(2))|0); //@line 756 "../src/h264bsd_deblocking.c"
 var $545=$544>>2; //@line 756 "../src/h264bsd_deblocking.c"
 var $546=(($545)&255); //@line 756 "../src/h264bsd_deblocking.c"
 var $547=$1; //@line 756 "../src/h264bsd_deblocking.c"
 var $548=(($547)|0); //@line 756 "../src/h264bsd_deblocking.c"
 HEAP8[($548)]=$546; //@line 756 "../src/h264bsd_deblocking.c"
 label=86;break;
 case 86: 
 label=87;break; //@line 757 "../src/h264bsd_deblocking.c"
 case 87: 
 label=88;break; //@line 758 "../src/h264bsd_deblocking.c"
 case 88: 
 var $552=$i; //@line 725 "../src/h264bsd_deblocking.c"
 var $553=((($552)-(1))|0); //@line 725 "../src/h264bsd_deblocking.c"
 $i=$553; //@line 725 "../src/h264bsd_deblocking.c"
 var $554=$4; //@line 725 "../src/h264bsd_deblocking.c"
 var $555=$1; //@line 725 "../src/h264bsd_deblocking.c"
 var $556=(($555+$554)|0); //@line 725 "../src/h264bsd_deblocking.c"
 $1=$556; //@line 725 "../src/h264bsd_deblocking.c"
 label=56;break; //@line 725 "../src/h264bsd_deblocking.c"
 case 89: 
 label=90;break;
 case 90: 
 STACKTOP=sp;return; //@line 761 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterHorLuma($data,$bS,$thresholds,$imageWidth){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $delta;
 var $tc;
 var $tmp;
 var $i;
 var $p0;
 var $q0;
 var $p1;
 var $q1;
 var $p2;
 var $q2;
 var $tmpFlag;
 var $clp;
 var $alpha;
 var $beta;
 var $val;
 $1=$data;
 $2=$bS;
 $3=$thresholds;
 $4=$imageWidth;
 $clp=1872; //@line 859 "../src/h264bsd_deblocking.c"
 var $5=$3; //@line 860 "../src/h264bsd_deblocking.c"
 var $6=(($5+4)|0); //@line 860 "../src/h264bsd_deblocking.c"
 var $7=HEAP32[(($6)>>2)]; //@line 860 "../src/h264bsd_deblocking.c"
 $alpha=$7; //@line 860 "../src/h264bsd_deblocking.c"
 var $8=$3; //@line 861 "../src/h264bsd_deblocking.c"
 var $9=(($8+8)|0); //@line 861 "../src/h264bsd_deblocking.c"
 var $10=HEAP32[(($9)>>2)]; //@line 861 "../src/h264bsd_deblocking.c"
 $beta=$10; //@line 861 "../src/h264bsd_deblocking.c"
 var $11=$1; //@line 865 "../src/h264bsd_deblocking.c"
 var $12=($11|0)!=0; //@line 865 "../src/h264bsd_deblocking.c"
 if($12){var $16=0;label=3;break;}else{label=2;break;} //@line 865 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(12344,11664,865,16048); //@line 865 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 865 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 865 "../src/h264bsd_deblocking.c"
 case 3: 
 var $16;
 var $17=($16&1); //@line 865 "../src/h264bsd_deblocking.c"
 var $18=$2; //@line 866 "../src/h264bsd_deblocking.c"
 var $19=($18>>>0)<=4; //@line 866 "../src/h264bsd_deblocking.c"
 if($19){var $23=1;label=5;break;}else{label=4;break;} //@line 866 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(11728,11664,866,16048); //@line 866 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 866 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 866 "../src/h264bsd_deblocking.c"
 case 5: 
 var $23;
 var $24=($23&1); //@line 866 "../src/h264bsd_deblocking.c"
 var $25=$3; //@line 867 "../src/h264bsd_deblocking.c"
 var $26=($25|0)!=0; //@line 867 "../src/h264bsd_deblocking.c"
 if($26){var $30=1;label=7;break;}else{label=6;break;} //@line 867 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(4568,11664,867,16048); //@line 867 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 867 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 867 "../src/h264bsd_deblocking.c"
 case 7: 
 var $30;
 var $31=($30&1); //@line 867 "../src/h264bsd_deblocking.c"
 var $32=$2; //@line 873 "../src/h264bsd_deblocking.c"
 var $33=($32>>>0)<4; //@line 873 "../src/h264bsd_deblocking.c"
 if($33){label=8;break;}else{label=54;break;} //@line 873 "../src/h264bsd_deblocking.c"
 case 8: 
 var $35=$2; //@line 875 "../src/h264bsd_deblocking.c"
 var $36=((($35)-(1))|0); //@line 875 "../src/h264bsd_deblocking.c"
 var $37=$3; //@line 875 "../src/h264bsd_deblocking.c"
 var $38=(($37)|0); //@line 875 "../src/h264bsd_deblocking.c"
 var $39=HEAP32[(($38)>>2)]; //@line 875 "../src/h264bsd_deblocking.c"
 var $40=(($39+$36)|0); //@line 875 "../src/h264bsd_deblocking.c"
 var $41=HEAP8[($40)]; //@line 875 "../src/h264bsd_deblocking.c"
 var $42=($41&255); //@line 875 "../src/h264bsd_deblocking.c"
 $tc=$42; //@line 875 "../src/h264bsd_deblocking.c"
 var $43=$tc; //@line 876 "../src/h264bsd_deblocking.c"
 $tmp=$43; //@line 876 "../src/h264bsd_deblocking.c"
 $i=16; //@line 877 "../src/h264bsd_deblocking.c"
 label=9;break; //@line 877 "../src/h264bsd_deblocking.c"
 case 9: 
 var $45=$i; //@line 877 "../src/h264bsd_deblocking.c"
 var $46=($45|0)!=0; //@line 877 "../src/h264bsd_deblocking.c"
 if($46){label=10;break;}else{label=53;break;} //@line 877 "../src/h264bsd_deblocking.c"
 case 10: 
 var $48=$4; //@line 879 "../src/h264bsd_deblocking.c"
 var $49=(((-$48))|0); //@line 879 "../src/h264bsd_deblocking.c"
 var $50=($49<<1); //@line 879 "../src/h264bsd_deblocking.c"
 var $51=$1; //@line 879 "../src/h264bsd_deblocking.c"
 var $52=(($51+$50)|0); //@line 879 "../src/h264bsd_deblocking.c"
 var $53=HEAP8[($52)]; //@line 879 "../src/h264bsd_deblocking.c"
 var $54=($53&255); //@line 879 "../src/h264bsd_deblocking.c"
 $p1=$54; //@line 879 "../src/h264bsd_deblocking.c"
 var $55=$4; //@line 879 "../src/h264bsd_deblocking.c"
 var $56=(((-$55))|0); //@line 879 "../src/h264bsd_deblocking.c"
 var $57=$1; //@line 879 "../src/h264bsd_deblocking.c"
 var $58=(($57+$56)|0); //@line 879 "../src/h264bsd_deblocking.c"
 var $59=HEAP8[($58)]; //@line 879 "../src/h264bsd_deblocking.c"
 var $60=($59&255); //@line 879 "../src/h264bsd_deblocking.c"
 $p0=$60; //@line 879 "../src/h264bsd_deblocking.c"
 var $61=$1; //@line 880 "../src/h264bsd_deblocking.c"
 var $62=(($61)|0); //@line 880 "../src/h264bsd_deblocking.c"
 var $63=HEAP8[($62)]; //@line 880 "../src/h264bsd_deblocking.c"
 var $64=($63&255); //@line 880 "../src/h264bsd_deblocking.c"
 $q0=$64; //@line 880 "../src/h264bsd_deblocking.c"
 var $65=$4; //@line 880 "../src/h264bsd_deblocking.c"
 var $66=$1; //@line 880 "../src/h264bsd_deblocking.c"
 var $67=(($66+$65)|0); //@line 880 "../src/h264bsd_deblocking.c"
 var $68=HEAP8[($67)]; //@line 880 "../src/h264bsd_deblocking.c"
 var $69=($68&255); //@line 880 "../src/h264bsd_deblocking.c"
 $q1=$69; //@line 880 "../src/h264bsd_deblocking.c"
 var $70=$p0; //@line 881 "../src/h264bsd_deblocking.c"
 var $71=$q0; //@line 881 "../src/h264bsd_deblocking.c"
 var $72=((($70)-($71))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $73=($72|0)<0; //@line 881 "../src/h264bsd_deblocking.c"
 if($73){label=11;break;}else{label=12;break;} //@line 881 "../src/h264bsd_deblocking.c"
 case 11: 
 var $75=$p0; //@line 881 "../src/h264bsd_deblocking.c"
 var $76=$q0; //@line 881 "../src/h264bsd_deblocking.c"
 var $77=((($75)-($76))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $78=(((-$77))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $84=$78;label=13;break; //@line 881 "../src/h264bsd_deblocking.c"
 case 12: 
 var $80=$p0; //@line 881 "../src/h264bsd_deblocking.c"
 var $81=$q0; //@line 881 "../src/h264bsd_deblocking.c"
 var $82=((($80)-($81))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $84=$82;label=13;break; //@line 881 "../src/h264bsd_deblocking.c"
 case 13: 
 var $84; //@line 881 "../src/h264bsd_deblocking.c"
 var $85=$alpha; //@line 881 "../src/h264bsd_deblocking.c"
 var $86=($84>>>0)<($85>>>0); //@line 881 "../src/h264bsd_deblocking.c"
 if($86){label=14;break;}else{label=51;break;} //@line 881 "../src/h264bsd_deblocking.c"
 case 14: 
 var $88=$p1; //@line 881 "../src/h264bsd_deblocking.c"
 var $89=$p0; //@line 881 "../src/h264bsd_deblocking.c"
 var $90=((($88)-($89))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $91=($90|0)<0; //@line 881 "../src/h264bsd_deblocking.c"
 if($91){label=15;break;}else{label=16;break;} //@line 881 "../src/h264bsd_deblocking.c"
 case 15: 
 var $93=$p1; //@line 881 "../src/h264bsd_deblocking.c"
 var $94=$p0; //@line 881 "../src/h264bsd_deblocking.c"
 var $95=((($93)-($94))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $96=(((-$95))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $102=$96;label=17;break; //@line 881 "../src/h264bsd_deblocking.c"
 case 16: 
 var $98=$p1; //@line 881 "../src/h264bsd_deblocking.c"
 var $99=$p0; //@line 881 "../src/h264bsd_deblocking.c"
 var $100=((($98)-($99))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $102=$100;label=17;break; //@line 881 "../src/h264bsd_deblocking.c"
 case 17: 
 var $102; //@line 881 "../src/h264bsd_deblocking.c"
 var $103=$beta; //@line 881 "../src/h264bsd_deblocking.c"
 var $104=($102>>>0)<($103>>>0); //@line 881 "../src/h264bsd_deblocking.c"
 if($104){label=18;break;}else{label=51;break;} //@line 881 "../src/h264bsd_deblocking.c"
 case 18: 
 var $106=$q1; //@line 881 "../src/h264bsd_deblocking.c"
 var $107=$q0; //@line 881 "../src/h264bsd_deblocking.c"
 var $108=((($106)-($107))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $109=($108|0)<0; //@line 881 "../src/h264bsd_deblocking.c"
 if($109){label=19;break;}else{label=20;break;} //@line 881 "../src/h264bsd_deblocking.c"
 case 19: 
 var $111=$q1; //@line 881 "../src/h264bsd_deblocking.c"
 var $112=$q0; //@line 881 "../src/h264bsd_deblocking.c"
 var $113=((($111)-($112))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $114=(((-$113))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $120=$114;label=21;break; //@line 881 "../src/h264bsd_deblocking.c"
 case 20: 
 var $116=$q1; //@line 881 "../src/h264bsd_deblocking.c"
 var $117=$q0; //@line 881 "../src/h264bsd_deblocking.c"
 var $118=((($116)-($117))|0); //@line 881 "../src/h264bsd_deblocking.c"
 var $120=$118;label=21;break; //@line 881 "../src/h264bsd_deblocking.c"
 case 21: 
 var $120; //@line 881 "../src/h264bsd_deblocking.c"
 var $121=$beta; //@line 881 "../src/h264bsd_deblocking.c"
 var $122=($120>>>0)<($121>>>0); //@line 881 "../src/h264bsd_deblocking.c"
 if($122){label=22;break;}else{label=51;break;} //@line 881 "../src/h264bsd_deblocking.c"
 case 22: 
 var $124=$4; //@line 885 "../src/h264bsd_deblocking.c"
 var $125=(((-$124))|0); //@line 885 "../src/h264bsd_deblocking.c"
 var $126=((($125)*(3))&-1); //@line 885 "../src/h264bsd_deblocking.c"
 var $127=$1; //@line 885 "../src/h264bsd_deblocking.c"
 var $128=(($127+$126)|0); //@line 885 "../src/h264bsd_deblocking.c"
 var $129=HEAP8[($128)]; //@line 885 "../src/h264bsd_deblocking.c"
 var $130=($129&255); //@line 885 "../src/h264bsd_deblocking.c"
 $p2=$130; //@line 885 "../src/h264bsd_deblocking.c"
 var $131=$p2; //@line 887 "../src/h264bsd_deblocking.c"
 var $132=$p0; //@line 887 "../src/h264bsd_deblocking.c"
 var $133=((($131)-($132))|0); //@line 887 "../src/h264bsd_deblocking.c"
 var $134=($133|0)<0; //@line 887 "../src/h264bsd_deblocking.c"
 if($134){label=23;break;}else{label=24;break;} //@line 887 "../src/h264bsd_deblocking.c"
 case 23: 
 var $136=$p2; //@line 887 "../src/h264bsd_deblocking.c"
 var $137=$p0; //@line 887 "../src/h264bsd_deblocking.c"
 var $138=((($136)-($137))|0); //@line 887 "../src/h264bsd_deblocking.c"
 var $139=(((-$138))|0); //@line 887 "../src/h264bsd_deblocking.c"
 var $145=$139;label=25;break; //@line 887 "../src/h264bsd_deblocking.c"
 case 24: 
 var $141=$p2; //@line 887 "../src/h264bsd_deblocking.c"
 var $142=$p0; //@line 887 "../src/h264bsd_deblocking.c"
 var $143=((($141)-($142))|0); //@line 887 "../src/h264bsd_deblocking.c"
 var $145=$143;label=25;break; //@line 887 "../src/h264bsd_deblocking.c"
 case 25: 
 var $145; //@line 887 "../src/h264bsd_deblocking.c"
 var $146=$beta; //@line 887 "../src/h264bsd_deblocking.c"
 var $147=($145>>>0)<($146>>>0); //@line 887 "../src/h264bsd_deblocking.c"
 if($147){label=26;break;}else{label=33;break;} //@line 887 "../src/h264bsd_deblocking.c"
 case 26: 
 var $149=$p2; //@line 889 "../src/h264bsd_deblocking.c"
 var $150=$p0; //@line 889 "../src/h264bsd_deblocking.c"
 var $151=$q0; //@line 889 "../src/h264bsd_deblocking.c"
 var $152=((($150)+($151))|0); //@line 889 "../src/h264bsd_deblocking.c"
 var $153=((($152)+(1))|0); //@line 889 "../src/h264bsd_deblocking.c"
 var $154=$153>>1; //@line 889 "../src/h264bsd_deblocking.c"
 var $155=((($149)+($154))|0); //@line 889 "../src/h264bsd_deblocking.c"
 var $156=$p1; //@line 889 "../src/h264bsd_deblocking.c"
 var $157=$156<<1; //@line 889 "../src/h264bsd_deblocking.c"
 var $158=((($155)-($157))|0); //@line 889 "../src/h264bsd_deblocking.c"
 var $159=$158>>1; //@line 889 "../src/h264bsd_deblocking.c"
 $val=$159; //@line 889 "../src/h264bsd_deblocking.c"
 var $160=$p1; //@line 890 "../src/h264bsd_deblocking.c"
 var $161=$val; //@line 890 "../src/h264bsd_deblocking.c"
 var $162=$tc; //@line 890 "../src/h264bsd_deblocking.c"
 var $163=(((-$162))|0); //@line 890 "../src/h264bsd_deblocking.c"
 var $164=($161|0)<($163|0); //@line 890 "../src/h264bsd_deblocking.c"
 if($164){label=27;break;}else{label=28;break;} //@line 890 "../src/h264bsd_deblocking.c"
 case 27: 
 var $166=$tc; //@line 890 "../src/h264bsd_deblocking.c"
 var $167=(((-$166))|0); //@line 890 "../src/h264bsd_deblocking.c"
 var $179=$167;label=32;break; //@line 890 "../src/h264bsd_deblocking.c"
 case 28: 
 var $169=$val; //@line 890 "../src/h264bsd_deblocking.c"
 var $170=$tc; //@line 890 "../src/h264bsd_deblocking.c"
 var $171=($169|0)>($170|0); //@line 890 "../src/h264bsd_deblocking.c"
 if($171){label=29;break;}else{label=30;break;} //@line 890 "../src/h264bsd_deblocking.c"
 case 29: 
 var $173=$tc; //@line 890 "../src/h264bsd_deblocking.c"
 var $177=$173;label=31;break; //@line 890 "../src/h264bsd_deblocking.c"
 case 30: 
 var $175=$val; //@line 890 "../src/h264bsd_deblocking.c"
 var $177=$175;label=31;break; //@line 890 "../src/h264bsd_deblocking.c"
 case 31: 
 var $177; //@line 890 "../src/h264bsd_deblocking.c"
 var $179=$177;label=32;break; //@line 890 "../src/h264bsd_deblocking.c"
 case 32: 
 var $179; //@line 890 "../src/h264bsd_deblocking.c"
 var $180=((($160)+($179))|0); //@line 890 "../src/h264bsd_deblocking.c"
 var $181=(($180)&255); //@line 890 "../src/h264bsd_deblocking.c"
 var $182=$4; //@line 890 "../src/h264bsd_deblocking.c"
 var $183=(((-$182))|0); //@line 890 "../src/h264bsd_deblocking.c"
 var $184=($183<<1); //@line 890 "../src/h264bsd_deblocking.c"
 var $185=$1; //@line 890 "../src/h264bsd_deblocking.c"
 var $186=(($185+$184)|0); //@line 890 "../src/h264bsd_deblocking.c"
 HEAP8[($186)]=$181; //@line 890 "../src/h264bsd_deblocking.c"
 var $187=$tmp; //@line 891 "../src/h264bsd_deblocking.c"
 var $188=((($187)+(1))|0); //@line 891 "../src/h264bsd_deblocking.c"
 $tmp=$188; //@line 891 "../src/h264bsd_deblocking.c"
 label=33;break; //@line 892 "../src/h264bsd_deblocking.c"
 case 33: 
 var $190=$4; //@line 894 "../src/h264bsd_deblocking.c"
 var $191=($190<<1); //@line 894 "../src/h264bsd_deblocking.c"
 var $192=$1; //@line 894 "../src/h264bsd_deblocking.c"
 var $193=(($192+$191)|0); //@line 894 "../src/h264bsd_deblocking.c"
 var $194=HEAP8[($193)]; //@line 894 "../src/h264bsd_deblocking.c"
 var $195=($194&255); //@line 894 "../src/h264bsd_deblocking.c"
 $q2=$195; //@line 894 "../src/h264bsd_deblocking.c"
 var $196=$q2; //@line 896 "../src/h264bsd_deblocking.c"
 var $197=$q0; //@line 896 "../src/h264bsd_deblocking.c"
 var $198=((($196)-($197))|0); //@line 896 "../src/h264bsd_deblocking.c"
 var $199=($198|0)<0; //@line 896 "../src/h264bsd_deblocking.c"
 if($199){label=34;break;}else{label=35;break;} //@line 896 "../src/h264bsd_deblocking.c"
 case 34: 
 var $201=$q2; //@line 896 "../src/h264bsd_deblocking.c"
 var $202=$q0; //@line 896 "../src/h264bsd_deblocking.c"
 var $203=((($201)-($202))|0); //@line 896 "../src/h264bsd_deblocking.c"
 var $204=(((-$203))|0); //@line 896 "../src/h264bsd_deblocking.c"
 var $210=$204;label=36;break; //@line 896 "../src/h264bsd_deblocking.c"
 case 35: 
 var $206=$q2; //@line 896 "../src/h264bsd_deblocking.c"
 var $207=$q0; //@line 896 "../src/h264bsd_deblocking.c"
 var $208=((($206)-($207))|0); //@line 896 "../src/h264bsd_deblocking.c"
 var $210=$208;label=36;break; //@line 896 "../src/h264bsd_deblocking.c"
 case 36: 
 var $210; //@line 896 "../src/h264bsd_deblocking.c"
 var $211=$beta; //@line 896 "../src/h264bsd_deblocking.c"
 var $212=($210>>>0)<($211>>>0); //@line 896 "../src/h264bsd_deblocking.c"
 if($212){label=37;break;}else{label=44;break;} //@line 896 "../src/h264bsd_deblocking.c"
 case 37: 
 var $214=$q2; //@line 898 "../src/h264bsd_deblocking.c"
 var $215=$p0; //@line 898 "../src/h264bsd_deblocking.c"
 var $216=$q0; //@line 898 "../src/h264bsd_deblocking.c"
 var $217=((($215)+($216))|0); //@line 898 "../src/h264bsd_deblocking.c"
 var $218=((($217)+(1))|0); //@line 898 "../src/h264bsd_deblocking.c"
 var $219=$218>>1; //@line 898 "../src/h264bsd_deblocking.c"
 var $220=((($214)+($219))|0); //@line 898 "../src/h264bsd_deblocking.c"
 var $221=$q1; //@line 898 "../src/h264bsd_deblocking.c"
 var $222=$221<<1; //@line 898 "../src/h264bsd_deblocking.c"
 var $223=((($220)-($222))|0); //@line 898 "../src/h264bsd_deblocking.c"
 var $224=$223>>1; //@line 898 "../src/h264bsd_deblocking.c"
 $val=$224; //@line 898 "../src/h264bsd_deblocking.c"
 var $225=$q1; //@line 899 "../src/h264bsd_deblocking.c"
 var $226=$val; //@line 899 "../src/h264bsd_deblocking.c"
 var $227=$tc; //@line 899 "../src/h264bsd_deblocking.c"
 var $228=(((-$227))|0); //@line 899 "../src/h264bsd_deblocking.c"
 var $229=($226|0)<($228|0); //@line 899 "../src/h264bsd_deblocking.c"
 if($229){label=38;break;}else{label=39;break;} //@line 899 "../src/h264bsd_deblocking.c"
 case 38: 
 var $231=$tc; //@line 899 "../src/h264bsd_deblocking.c"
 var $232=(((-$231))|0); //@line 899 "../src/h264bsd_deblocking.c"
 var $244=$232;label=43;break; //@line 899 "../src/h264bsd_deblocking.c"
 case 39: 
 var $234=$val; //@line 899 "../src/h264bsd_deblocking.c"
 var $235=$tc; //@line 899 "../src/h264bsd_deblocking.c"
 var $236=($234|0)>($235|0); //@line 899 "../src/h264bsd_deblocking.c"
 if($236){label=40;break;}else{label=41;break;} //@line 899 "../src/h264bsd_deblocking.c"
 case 40: 
 var $238=$tc; //@line 899 "../src/h264bsd_deblocking.c"
 var $242=$238;label=42;break; //@line 899 "../src/h264bsd_deblocking.c"
 case 41: 
 var $240=$val; //@line 899 "../src/h264bsd_deblocking.c"
 var $242=$240;label=42;break; //@line 899 "../src/h264bsd_deblocking.c"
 case 42: 
 var $242; //@line 899 "../src/h264bsd_deblocking.c"
 var $244=$242;label=43;break; //@line 899 "../src/h264bsd_deblocking.c"
 case 43: 
 var $244; //@line 899 "../src/h264bsd_deblocking.c"
 var $245=((($225)+($244))|0); //@line 899 "../src/h264bsd_deblocking.c"
 var $246=(($245)&255); //@line 899 "../src/h264bsd_deblocking.c"
 var $247=$4; //@line 899 "../src/h264bsd_deblocking.c"
 var $248=$1; //@line 899 "../src/h264bsd_deblocking.c"
 var $249=(($248+$247)|0); //@line 899 "../src/h264bsd_deblocking.c"
 HEAP8[($249)]=$246; //@line 899 "../src/h264bsd_deblocking.c"
 var $250=$tmp; //@line 900 "../src/h264bsd_deblocking.c"
 var $251=((($250)+(1))|0); //@line 900 "../src/h264bsd_deblocking.c"
 $tmp=$251; //@line 900 "../src/h264bsd_deblocking.c"
 label=44;break; //@line 901 "../src/h264bsd_deblocking.c"
 case 44: 
 var $253=$q0; //@line 903 "../src/h264bsd_deblocking.c"
 var $254=$p0; //@line 903 "../src/h264bsd_deblocking.c"
 var $255=((($253)-($254))|0); //@line 903 "../src/h264bsd_deblocking.c"
 var $256=$255<<2; //@line 903 "../src/h264bsd_deblocking.c"
 var $257=$p1; //@line 903 "../src/h264bsd_deblocking.c"
 var $258=$q1; //@line 903 "../src/h264bsd_deblocking.c"
 var $259=((($257)-($258))|0); //@line 903 "../src/h264bsd_deblocking.c"
 var $260=((($256)+($259))|0); //@line 903 "../src/h264bsd_deblocking.c"
 var $261=((($260)+(4))|0); //@line 903 "../src/h264bsd_deblocking.c"
 var $262=$261>>3; //@line 903 "../src/h264bsd_deblocking.c"
 $val=$262; //@line 903 "../src/h264bsd_deblocking.c"
 var $263=$val; //@line 904 "../src/h264bsd_deblocking.c"
 var $264=$tmp; //@line 904 "../src/h264bsd_deblocking.c"
 var $265=(((-$264))|0); //@line 904 "../src/h264bsd_deblocking.c"
 var $266=($263|0)<($265|0); //@line 904 "../src/h264bsd_deblocking.c"
 if($266){label=45;break;}else{label=46;break;} //@line 904 "../src/h264bsd_deblocking.c"
 case 45: 
 var $268=$tmp; //@line 904 "../src/h264bsd_deblocking.c"
 var $269=(((-$268))|0); //@line 904 "../src/h264bsd_deblocking.c"
 var $281=$269;label=50;break; //@line 904 "../src/h264bsd_deblocking.c"
 case 46: 
 var $271=$val; //@line 904 "../src/h264bsd_deblocking.c"
 var $272=$tmp; //@line 904 "../src/h264bsd_deblocking.c"
 var $273=($271|0)>($272|0); //@line 904 "../src/h264bsd_deblocking.c"
 if($273){label=47;break;}else{label=48;break;} //@line 904 "../src/h264bsd_deblocking.c"
 case 47: 
 var $275=$tmp; //@line 904 "../src/h264bsd_deblocking.c"
 var $279=$275;label=49;break; //@line 904 "../src/h264bsd_deblocking.c"
 case 48: 
 var $277=$val; //@line 904 "../src/h264bsd_deblocking.c"
 var $279=$277;label=49;break; //@line 904 "../src/h264bsd_deblocking.c"
 case 49: 
 var $279; //@line 904 "../src/h264bsd_deblocking.c"
 var $281=$279;label=50;break; //@line 904 "../src/h264bsd_deblocking.c"
 case 50: 
 var $281; //@line 904 "../src/h264bsd_deblocking.c"
 $delta=$281; //@line 904 "../src/h264bsd_deblocking.c"
 var $282=$p0; //@line 906 "../src/h264bsd_deblocking.c"
 var $283=$delta; //@line 906 "../src/h264bsd_deblocking.c"
 var $284=((($282)+($283))|0); //@line 906 "../src/h264bsd_deblocking.c"
 var $285=$clp; //@line 906 "../src/h264bsd_deblocking.c"
 var $286=(($285+$284)|0); //@line 906 "../src/h264bsd_deblocking.c"
 var $287=HEAP8[($286)]; //@line 906 "../src/h264bsd_deblocking.c"
 var $288=($287&255); //@line 906 "../src/h264bsd_deblocking.c"
 $p0=$288; //@line 906 "../src/h264bsd_deblocking.c"
 var $289=$q0; //@line 907 "../src/h264bsd_deblocking.c"
 var $290=$delta; //@line 907 "../src/h264bsd_deblocking.c"
 var $291=((($289)-($290))|0); //@line 907 "../src/h264bsd_deblocking.c"
 var $292=$clp; //@line 907 "../src/h264bsd_deblocking.c"
 var $293=(($292+$291)|0); //@line 907 "../src/h264bsd_deblocking.c"
 var $294=HEAP8[($293)]; //@line 907 "../src/h264bsd_deblocking.c"
 var $295=($294&255); //@line 907 "../src/h264bsd_deblocking.c"
 $q0=$295; //@line 907 "../src/h264bsd_deblocking.c"
 var $296=$tc; //@line 908 "../src/h264bsd_deblocking.c"
 $tmp=$296; //@line 908 "../src/h264bsd_deblocking.c"
 var $297=$p0; //@line 909 "../src/h264bsd_deblocking.c"
 var $298=(($297)&255); //@line 909 "../src/h264bsd_deblocking.c"
 var $299=$4; //@line 909 "../src/h264bsd_deblocking.c"
 var $300=(((-$299))|0); //@line 909 "../src/h264bsd_deblocking.c"
 var $301=$1; //@line 909 "../src/h264bsd_deblocking.c"
 var $302=(($301+$300)|0); //@line 909 "../src/h264bsd_deblocking.c"
 HEAP8[($302)]=$298; //@line 909 "../src/h264bsd_deblocking.c"
 var $303=$q0; //@line 910 "../src/h264bsd_deblocking.c"
 var $304=(($303)&255); //@line 910 "../src/h264bsd_deblocking.c"
 var $305=$1; //@line 910 "../src/h264bsd_deblocking.c"
 var $306=(($305)|0); //@line 910 "../src/h264bsd_deblocking.c"
 HEAP8[($306)]=$304; //@line 910 "../src/h264bsd_deblocking.c"
 label=51;break; //@line 911 "../src/h264bsd_deblocking.c"
 case 51: 
 label=52;break; //@line 912 "../src/h264bsd_deblocking.c"
 case 52: 
 var $309=$i; //@line 877 "../src/h264bsd_deblocking.c"
 var $310=((($309)-(1))|0); //@line 877 "../src/h264bsd_deblocking.c"
 $i=$310; //@line 877 "../src/h264bsd_deblocking.c"
 var $311=$1; //@line 877 "../src/h264bsd_deblocking.c"
 var $312=(($311+1)|0); //@line 877 "../src/h264bsd_deblocking.c"
 $1=$312; //@line 877 "../src/h264bsd_deblocking.c"
 label=9;break; //@line 877 "../src/h264bsd_deblocking.c"
 case 53: 
 label=89;break; //@line 913 "../src/h264bsd_deblocking.c"
 case 54: 
 $i=16; //@line 916 "../src/h264bsd_deblocking.c"
 label=55;break; //@line 916 "../src/h264bsd_deblocking.c"
 case 55: 
 var $316=$i; //@line 916 "../src/h264bsd_deblocking.c"
 var $317=($316|0)!=0; //@line 916 "../src/h264bsd_deblocking.c"
 if($317){label=56;break;}else{label=88;break;} //@line 916 "../src/h264bsd_deblocking.c"
 case 56: 
 var $319=$4; //@line 918 "../src/h264bsd_deblocking.c"
 var $320=(((-$319))|0); //@line 918 "../src/h264bsd_deblocking.c"
 var $321=($320<<1); //@line 918 "../src/h264bsd_deblocking.c"
 var $322=$1; //@line 918 "../src/h264bsd_deblocking.c"
 var $323=(($322+$321)|0); //@line 918 "../src/h264bsd_deblocking.c"
 var $324=HEAP8[($323)]; //@line 918 "../src/h264bsd_deblocking.c"
 var $325=($324&255); //@line 918 "../src/h264bsd_deblocking.c"
 $p1=$325; //@line 918 "../src/h264bsd_deblocking.c"
 var $326=$4; //@line 918 "../src/h264bsd_deblocking.c"
 var $327=(((-$326))|0); //@line 918 "../src/h264bsd_deblocking.c"
 var $328=$1; //@line 918 "../src/h264bsd_deblocking.c"
 var $329=(($328+$327)|0); //@line 918 "../src/h264bsd_deblocking.c"
 var $330=HEAP8[($329)]; //@line 918 "../src/h264bsd_deblocking.c"
 var $331=($330&255); //@line 918 "../src/h264bsd_deblocking.c"
 $p0=$331; //@line 918 "../src/h264bsd_deblocking.c"
 var $332=$1; //@line 919 "../src/h264bsd_deblocking.c"
 var $333=(($332)|0); //@line 919 "../src/h264bsd_deblocking.c"
 var $334=HEAP8[($333)]; //@line 919 "../src/h264bsd_deblocking.c"
 var $335=($334&255); //@line 919 "../src/h264bsd_deblocking.c"
 $q0=$335; //@line 919 "../src/h264bsd_deblocking.c"
 var $336=$4; //@line 919 "../src/h264bsd_deblocking.c"
 var $337=$1; //@line 919 "../src/h264bsd_deblocking.c"
 var $338=(($337+$336)|0); //@line 919 "../src/h264bsd_deblocking.c"
 var $339=HEAP8[($338)]; //@line 919 "../src/h264bsd_deblocking.c"
 var $340=($339&255); //@line 919 "../src/h264bsd_deblocking.c"
 $q1=$340; //@line 919 "../src/h264bsd_deblocking.c"
 var $341=$p0; //@line 920 "../src/h264bsd_deblocking.c"
 var $342=$q0; //@line 920 "../src/h264bsd_deblocking.c"
 var $343=((($341)-($342))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $344=($343|0)<0; //@line 920 "../src/h264bsd_deblocking.c"
 if($344){label=57;break;}else{label=58;break;} //@line 920 "../src/h264bsd_deblocking.c"
 case 57: 
 var $346=$p0; //@line 920 "../src/h264bsd_deblocking.c"
 var $347=$q0; //@line 920 "../src/h264bsd_deblocking.c"
 var $348=((($346)-($347))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $349=(((-$348))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $355=$349;label=59;break; //@line 920 "../src/h264bsd_deblocking.c"
 case 58: 
 var $351=$p0; //@line 920 "../src/h264bsd_deblocking.c"
 var $352=$q0; //@line 920 "../src/h264bsd_deblocking.c"
 var $353=((($351)-($352))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $355=$353;label=59;break; //@line 920 "../src/h264bsd_deblocking.c"
 case 59: 
 var $355; //@line 920 "../src/h264bsd_deblocking.c"
 var $356=$alpha; //@line 920 "../src/h264bsd_deblocking.c"
 var $357=($355>>>0)<($356>>>0); //@line 920 "../src/h264bsd_deblocking.c"
 if($357){label=60;break;}else{label=86;break;} //@line 920 "../src/h264bsd_deblocking.c"
 case 60: 
 var $359=$p1; //@line 920 "../src/h264bsd_deblocking.c"
 var $360=$p0; //@line 920 "../src/h264bsd_deblocking.c"
 var $361=((($359)-($360))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $362=($361|0)<0; //@line 920 "../src/h264bsd_deblocking.c"
 if($362){label=61;break;}else{label=62;break;} //@line 920 "../src/h264bsd_deblocking.c"
 case 61: 
 var $364=$p1; //@line 920 "../src/h264bsd_deblocking.c"
 var $365=$p0; //@line 920 "../src/h264bsd_deblocking.c"
 var $366=((($364)-($365))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $367=(((-$366))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $373=$367;label=63;break; //@line 920 "../src/h264bsd_deblocking.c"
 case 62: 
 var $369=$p1; //@line 920 "../src/h264bsd_deblocking.c"
 var $370=$p0; //@line 920 "../src/h264bsd_deblocking.c"
 var $371=((($369)-($370))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $373=$371;label=63;break; //@line 920 "../src/h264bsd_deblocking.c"
 case 63: 
 var $373; //@line 920 "../src/h264bsd_deblocking.c"
 var $374=$beta; //@line 920 "../src/h264bsd_deblocking.c"
 var $375=($373>>>0)<($374>>>0); //@line 920 "../src/h264bsd_deblocking.c"
 if($375){label=64;break;}else{label=86;break;} //@line 920 "../src/h264bsd_deblocking.c"
 case 64: 
 var $377=$q1; //@line 920 "../src/h264bsd_deblocking.c"
 var $378=$q0; //@line 920 "../src/h264bsd_deblocking.c"
 var $379=((($377)-($378))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $380=($379|0)<0; //@line 920 "../src/h264bsd_deblocking.c"
 if($380){label=65;break;}else{label=66;break;} //@line 920 "../src/h264bsd_deblocking.c"
 case 65: 
 var $382=$q1; //@line 920 "../src/h264bsd_deblocking.c"
 var $383=$q0; //@line 920 "../src/h264bsd_deblocking.c"
 var $384=((($382)-($383))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $385=(((-$384))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $391=$385;label=67;break; //@line 920 "../src/h264bsd_deblocking.c"
 case 66: 
 var $387=$q1; //@line 920 "../src/h264bsd_deblocking.c"
 var $388=$q0; //@line 920 "../src/h264bsd_deblocking.c"
 var $389=((($387)-($388))|0); //@line 920 "../src/h264bsd_deblocking.c"
 var $391=$389;label=67;break; //@line 920 "../src/h264bsd_deblocking.c"
 case 67: 
 var $391; //@line 920 "../src/h264bsd_deblocking.c"
 var $392=$beta; //@line 920 "../src/h264bsd_deblocking.c"
 var $393=($391>>>0)<($392>>>0); //@line 920 "../src/h264bsd_deblocking.c"
 if($393){label=68;break;}else{label=86;break;} //@line 920 "../src/h264bsd_deblocking.c"
 case 68: 
 var $395=$p0; //@line 924 "../src/h264bsd_deblocking.c"
 var $396=$q0; //@line 924 "../src/h264bsd_deblocking.c"
 var $397=((($395)-($396))|0); //@line 924 "../src/h264bsd_deblocking.c"
 var $398=($397|0)<0; //@line 924 "../src/h264bsd_deblocking.c"
 if($398){label=69;break;}else{label=70;break;} //@line 924 "../src/h264bsd_deblocking.c"
 case 69: 
 var $400=$p0; //@line 924 "../src/h264bsd_deblocking.c"
 var $401=$q0; //@line 924 "../src/h264bsd_deblocking.c"
 var $402=((($400)-($401))|0); //@line 924 "../src/h264bsd_deblocking.c"
 var $403=(((-$402))|0); //@line 924 "../src/h264bsd_deblocking.c"
 var $409=$403;label=71;break; //@line 924 "../src/h264bsd_deblocking.c"
 case 70: 
 var $405=$p0; //@line 924 "../src/h264bsd_deblocking.c"
 var $406=$q0; //@line 924 "../src/h264bsd_deblocking.c"
 var $407=((($405)-($406))|0); //@line 924 "../src/h264bsd_deblocking.c"
 var $409=$407;label=71;break; //@line 924 "../src/h264bsd_deblocking.c"
 case 71: 
 var $409; //@line 924 "../src/h264bsd_deblocking.c"
 var $410=$alpha; //@line 924 "../src/h264bsd_deblocking.c"
 var $411=$410>>>2; //@line 924 "../src/h264bsd_deblocking.c"
 var $412=((($411)+(2))|0); //@line 924 "../src/h264bsd_deblocking.c"
 var $413=($409>>>0)<($412>>>0); //@line 924 "../src/h264bsd_deblocking.c"
 var $414=($413?1:0); //@line 924 "../src/h264bsd_deblocking.c"
 $tmpFlag=$414; //@line 924 "../src/h264bsd_deblocking.c"
 var $415=$4; //@line 927 "../src/h264bsd_deblocking.c"
 var $416=(((-$415))|0); //@line 927 "../src/h264bsd_deblocking.c"
 var $417=((($416)*(3))&-1); //@line 927 "../src/h264bsd_deblocking.c"
 var $418=$1; //@line 927 "../src/h264bsd_deblocking.c"
 var $419=(($418+$417)|0); //@line 927 "../src/h264bsd_deblocking.c"
 var $420=HEAP8[($419)]; //@line 927 "../src/h264bsd_deblocking.c"
 var $421=($420&255); //@line 927 "../src/h264bsd_deblocking.c"
 $p2=$421; //@line 927 "../src/h264bsd_deblocking.c"
 var $422=$4; //@line 928 "../src/h264bsd_deblocking.c"
 var $423=($422<<1); //@line 928 "../src/h264bsd_deblocking.c"
 var $424=$1; //@line 928 "../src/h264bsd_deblocking.c"
 var $425=(($424+$423)|0); //@line 928 "../src/h264bsd_deblocking.c"
 var $426=HEAP8[($425)]; //@line 928 "../src/h264bsd_deblocking.c"
 var $427=($426&255); //@line 928 "../src/h264bsd_deblocking.c"
 $q2=$427; //@line 928 "../src/h264bsd_deblocking.c"
 var $428=$tmpFlag; //@line 930 "../src/h264bsd_deblocking.c"
 var $429=($428|0)!=0; //@line 930 "../src/h264bsd_deblocking.c"
 if($429){label=72;break;}else{label=77;break;} //@line 930 "../src/h264bsd_deblocking.c"
 case 72: 
 var $431=$p2; //@line 930 "../src/h264bsd_deblocking.c"
 var $432=$p0; //@line 930 "../src/h264bsd_deblocking.c"
 var $433=((($431)-($432))|0); //@line 930 "../src/h264bsd_deblocking.c"
 var $434=($433|0)<0; //@line 930 "../src/h264bsd_deblocking.c"
 if($434){label=73;break;}else{label=74;break;} //@line 930 "../src/h264bsd_deblocking.c"
 case 73: 
 var $436=$p2; //@line 930 "../src/h264bsd_deblocking.c"
 var $437=$p0; //@line 930 "../src/h264bsd_deblocking.c"
 var $438=((($436)-($437))|0); //@line 930 "../src/h264bsd_deblocking.c"
 var $439=(((-$438))|0); //@line 930 "../src/h264bsd_deblocking.c"
 var $445=$439;label=75;break; //@line 930 "../src/h264bsd_deblocking.c"
 case 74: 
 var $441=$p2; //@line 930 "../src/h264bsd_deblocking.c"
 var $442=$p0; //@line 930 "../src/h264bsd_deblocking.c"
 var $443=((($441)-($442))|0); //@line 930 "../src/h264bsd_deblocking.c"
 var $445=$443;label=75;break; //@line 930 "../src/h264bsd_deblocking.c"
 case 75: 
 var $445; //@line 930 "../src/h264bsd_deblocking.c"
 var $446=$beta; //@line 930 "../src/h264bsd_deblocking.c"
 var $447=($445>>>0)<($446>>>0); //@line 930 "../src/h264bsd_deblocking.c"
 if($447){label=76;break;}else{label=77;break;} //@line 930 "../src/h264bsd_deblocking.c"
 case 76: 
 var $449=$p1; //@line 932 "../src/h264bsd_deblocking.c"
 var $450=$p0; //@line 932 "../src/h264bsd_deblocking.c"
 var $451=((($449)+($450))|0); //@line 932 "../src/h264bsd_deblocking.c"
 var $452=$q0; //@line 932 "../src/h264bsd_deblocking.c"
 var $453=((($451)+($452))|0); //@line 932 "../src/h264bsd_deblocking.c"
 $tmp=$453; //@line 932 "../src/h264bsd_deblocking.c"
 var $454=$p2; //@line 933 "../src/h264bsd_deblocking.c"
 var $455=$tmp; //@line 933 "../src/h264bsd_deblocking.c"
 var $456=($455<<1); //@line 933 "../src/h264bsd_deblocking.c"
 var $457=((($454)+($456))|0); //@line 933 "../src/h264bsd_deblocking.c"
 var $458=$q1; //@line 933 "../src/h264bsd_deblocking.c"
 var $459=((($457)+($458))|0); //@line 933 "../src/h264bsd_deblocking.c"
 var $460=((($459)+(4))|0); //@line 933 "../src/h264bsd_deblocking.c"
 var $461=$460>>3; //@line 933 "../src/h264bsd_deblocking.c"
 var $462=(($461)&255); //@line 933 "../src/h264bsd_deblocking.c"
 var $463=$4; //@line 933 "../src/h264bsd_deblocking.c"
 var $464=(((-$463))|0); //@line 933 "../src/h264bsd_deblocking.c"
 var $465=$1; //@line 933 "../src/h264bsd_deblocking.c"
 var $466=(($465+$464)|0); //@line 933 "../src/h264bsd_deblocking.c"
 HEAP8[($466)]=$462; //@line 933 "../src/h264bsd_deblocking.c"
 var $467=$p2; //@line 934 "../src/h264bsd_deblocking.c"
 var $468=$tmp; //@line 934 "../src/h264bsd_deblocking.c"
 var $469=((($467)+($468))|0); //@line 934 "../src/h264bsd_deblocking.c"
 var $470=((($469)+(2))|0); //@line 934 "../src/h264bsd_deblocking.c"
 var $471=$470>>2; //@line 934 "../src/h264bsd_deblocking.c"
 var $472=(($471)&255); //@line 934 "../src/h264bsd_deblocking.c"
 var $473=$4; //@line 934 "../src/h264bsd_deblocking.c"
 var $474=(((-$473))|0); //@line 934 "../src/h264bsd_deblocking.c"
 var $475=($474<<1); //@line 934 "../src/h264bsd_deblocking.c"
 var $476=$1; //@line 934 "../src/h264bsd_deblocking.c"
 var $477=(($476+$475)|0); //@line 934 "../src/h264bsd_deblocking.c"
 HEAP8[($477)]=$472; //@line 934 "../src/h264bsd_deblocking.c"
 var $478=$4; //@line 935 "../src/h264bsd_deblocking.c"
 var $479=(((-$478))|0); //@line 935 "../src/h264bsd_deblocking.c"
 var $480=($479<<2); //@line 935 "../src/h264bsd_deblocking.c"
 var $481=$1; //@line 935 "../src/h264bsd_deblocking.c"
 var $482=(($481+$480)|0); //@line 935 "../src/h264bsd_deblocking.c"
 var $483=HEAP8[($482)]; //@line 935 "../src/h264bsd_deblocking.c"
 var $484=($483&255); //@line 935 "../src/h264bsd_deblocking.c"
 var $485=($484<<1); //@line 935 "../src/h264bsd_deblocking.c"
 var $486=$p2; //@line 935 "../src/h264bsd_deblocking.c"
 var $487=((($486)*(3))&-1); //@line 935 "../src/h264bsd_deblocking.c"
 var $488=((($485)+($487))|0); //@line 935 "../src/h264bsd_deblocking.c"
 var $489=$tmp; //@line 935 "../src/h264bsd_deblocking.c"
 var $490=((($488)+($489))|0); //@line 935 "../src/h264bsd_deblocking.c"
 var $491=((($490)+(4))|0); //@line 935 "../src/h264bsd_deblocking.c"
 var $492=$491>>3; //@line 935 "../src/h264bsd_deblocking.c"
 var $493=(($492)&255); //@line 935 "../src/h264bsd_deblocking.c"
 var $494=$4; //@line 935 "../src/h264bsd_deblocking.c"
 var $495=(((-$494))|0); //@line 935 "../src/h264bsd_deblocking.c"
 var $496=((($495)*(3))&-1); //@line 935 "../src/h264bsd_deblocking.c"
 var $497=$1; //@line 935 "../src/h264bsd_deblocking.c"
 var $498=(($497+$496)|0); //@line 935 "../src/h264bsd_deblocking.c"
 HEAP8[($498)]=$493; //@line 935 "../src/h264bsd_deblocking.c"
 label=78;break; //@line 937 "../src/h264bsd_deblocking.c"
 case 77: 
 var $500=$p1; //@line 939 "../src/h264bsd_deblocking.c"
 var $501=($500<<1); //@line 939 "../src/h264bsd_deblocking.c"
 var $502=$p0; //@line 939 "../src/h264bsd_deblocking.c"
 var $503=((($501)+($502))|0); //@line 939 "../src/h264bsd_deblocking.c"
 var $504=$q1; //@line 939 "../src/h264bsd_deblocking.c"
 var $505=((($503)+($504))|0); //@line 939 "../src/h264bsd_deblocking.c"
 var $506=((($505)+(2))|0); //@line 939 "../src/h264bsd_deblocking.c"
 var $507=$506>>2; //@line 939 "../src/h264bsd_deblocking.c"
 var $508=(($507)&255); //@line 939 "../src/h264bsd_deblocking.c"
 var $509=$4; //@line 939 "../src/h264bsd_deblocking.c"
 var $510=(((-$509))|0); //@line 939 "../src/h264bsd_deblocking.c"
 var $511=$1; //@line 939 "../src/h264bsd_deblocking.c"
 var $512=(($511+$510)|0); //@line 939 "../src/h264bsd_deblocking.c"
 HEAP8[($512)]=$508; //@line 939 "../src/h264bsd_deblocking.c"
 label=78;break;
 case 78: 
 var $514=$tmpFlag; //@line 941 "../src/h264bsd_deblocking.c"
 var $515=($514|0)!=0; //@line 941 "../src/h264bsd_deblocking.c"
 if($515){label=79;break;}else{label=84;break;} //@line 941 "../src/h264bsd_deblocking.c"
 case 79: 
 var $517=$q2; //@line 941 "../src/h264bsd_deblocking.c"
 var $518=$q0; //@line 941 "../src/h264bsd_deblocking.c"
 var $519=((($517)-($518))|0); //@line 941 "../src/h264bsd_deblocking.c"
 var $520=($519|0)<0; //@line 941 "../src/h264bsd_deblocking.c"
 if($520){label=80;break;}else{label=81;break;} //@line 941 "../src/h264bsd_deblocking.c"
 case 80: 
 var $522=$q2; //@line 941 "../src/h264bsd_deblocking.c"
 var $523=$q0; //@line 941 "../src/h264bsd_deblocking.c"
 var $524=((($522)-($523))|0); //@line 941 "../src/h264bsd_deblocking.c"
 var $525=(((-$524))|0); //@line 941 "../src/h264bsd_deblocking.c"
 var $531=$525;label=82;break; //@line 941 "../src/h264bsd_deblocking.c"
 case 81: 
 var $527=$q2; //@line 941 "../src/h264bsd_deblocking.c"
 var $528=$q0; //@line 941 "../src/h264bsd_deblocking.c"
 var $529=((($527)-($528))|0); //@line 941 "../src/h264bsd_deblocking.c"
 var $531=$529;label=82;break; //@line 941 "../src/h264bsd_deblocking.c"
 case 82: 
 var $531; //@line 941 "../src/h264bsd_deblocking.c"
 var $532=$beta; //@line 941 "../src/h264bsd_deblocking.c"
 var $533=($531>>>0)<($532>>>0); //@line 941 "../src/h264bsd_deblocking.c"
 if($533){label=83;break;}else{label=84;break;} //@line 941 "../src/h264bsd_deblocking.c"
 case 83: 
 var $535=$p0; //@line 943 "../src/h264bsd_deblocking.c"
 var $536=$q0; //@line 943 "../src/h264bsd_deblocking.c"
 var $537=((($535)+($536))|0); //@line 943 "../src/h264bsd_deblocking.c"
 var $538=$q1; //@line 943 "../src/h264bsd_deblocking.c"
 var $539=((($537)+($538))|0); //@line 943 "../src/h264bsd_deblocking.c"
 $tmp=$539; //@line 943 "../src/h264bsd_deblocking.c"
 var $540=$p1; //@line 944 "../src/h264bsd_deblocking.c"
 var $541=$tmp; //@line 944 "../src/h264bsd_deblocking.c"
 var $542=($541<<1); //@line 944 "../src/h264bsd_deblocking.c"
 var $543=((($540)+($542))|0); //@line 944 "../src/h264bsd_deblocking.c"
 var $544=$q2; //@line 944 "../src/h264bsd_deblocking.c"
 var $545=((($543)+($544))|0); //@line 944 "../src/h264bsd_deblocking.c"
 var $546=((($545)+(4))|0); //@line 944 "../src/h264bsd_deblocking.c"
 var $547=$546>>3; //@line 944 "../src/h264bsd_deblocking.c"
 var $548=(($547)&255); //@line 944 "../src/h264bsd_deblocking.c"
 var $549=$1; //@line 944 "../src/h264bsd_deblocking.c"
 var $550=(($549)|0); //@line 944 "../src/h264bsd_deblocking.c"
 HEAP8[($550)]=$548; //@line 944 "../src/h264bsd_deblocking.c"
 var $551=$tmp; //@line 945 "../src/h264bsd_deblocking.c"
 var $552=$q2; //@line 945 "../src/h264bsd_deblocking.c"
 var $553=((($551)+($552))|0); //@line 945 "../src/h264bsd_deblocking.c"
 var $554=((($553)+(2))|0); //@line 945 "../src/h264bsd_deblocking.c"
 var $555=$554>>2; //@line 945 "../src/h264bsd_deblocking.c"
 var $556=(($555)&255); //@line 945 "../src/h264bsd_deblocking.c"
 var $557=$4; //@line 945 "../src/h264bsd_deblocking.c"
 var $558=$1; //@line 945 "../src/h264bsd_deblocking.c"
 var $559=(($558+$557)|0); //@line 945 "../src/h264bsd_deblocking.c"
 HEAP8[($559)]=$556; //@line 945 "../src/h264bsd_deblocking.c"
 var $560=$4; //@line 946 "../src/h264bsd_deblocking.c"
 var $561=((($560)*(3))&-1); //@line 946 "../src/h264bsd_deblocking.c"
 var $562=$1; //@line 946 "../src/h264bsd_deblocking.c"
 var $563=(($562+$561)|0); //@line 946 "../src/h264bsd_deblocking.c"
 var $564=HEAP8[($563)]; //@line 946 "../src/h264bsd_deblocking.c"
 var $565=($564&255); //@line 946 "../src/h264bsd_deblocking.c"
 var $566=($565<<1); //@line 946 "../src/h264bsd_deblocking.c"
 var $567=$q2; //@line 946 "../src/h264bsd_deblocking.c"
 var $568=((($567)*(3))&-1); //@line 946 "../src/h264bsd_deblocking.c"
 var $569=((($566)+($568))|0); //@line 946 "../src/h264bsd_deblocking.c"
 var $570=$tmp; //@line 946 "../src/h264bsd_deblocking.c"
 var $571=((($569)+($570))|0); //@line 946 "../src/h264bsd_deblocking.c"
 var $572=((($571)+(4))|0); //@line 946 "../src/h264bsd_deblocking.c"
 var $573=$572>>3; //@line 946 "../src/h264bsd_deblocking.c"
 var $574=(($573)&255); //@line 946 "../src/h264bsd_deblocking.c"
 var $575=$4; //@line 946 "../src/h264bsd_deblocking.c"
 var $576=($575<<1); //@line 946 "../src/h264bsd_deblocking.c"
 var $577=$1; //@line 946 "../src/h264bsd_deblocking.c"
 var $578=(($577+$576)|0); //@line 946 "../src/h264bsd_deblocking.c"
 HEAP8[($578)]=$574; //@line 946 "../src/h264bsd_deblocking.c"
 label=85;break; //@line 948 "../src/h264bsd_deblocking.c"
 case 84: 
 var $580=$q1; //@line 950 "../src/h264bsd_deblocking.c"
 var $581=($580<<1); //@line 950 "../src/h264bsd_deblocking.c"
 var $582=$q0; //@line 950 "../src/h264bsd_deblocking.c"
 var $583=((($581)+($582))|0); //@line 950 "../src/h264bsd_deblocking.c"
 var $584=$p1; //@line 950 "../src/h264bsd_deblocking.c"
 var $585=((($583)+($584))|0); //@line 950 "../src/h264bsd_deblocking.c"
 var $586=((($585)+(2))|0); //@line 950 "../src/h264bsd_deblocking.c"
 var $587=$586>>2; //@line 950 "../src/h264bsd_deblocking.c"
 var $588=(($587)&255); //@line 950 "../src/h264bsd_deblocking.c"
 var $589=$1; //@line 950 "../src/h264bsd_deblocking.c"
 var $590=(($589)|0); //@line 950 "../src/h264bsd_deblocking.c"
 HEAP8[($590)]=$588; //@line 950 "../src/h264bsd_deblocking.c"
 label=85;break;
 case 85: 
 label=86;break; //@line 951 "../src/h264bsd_deblocking.c"
 case 86: 
 label=87;break; //@line 952 "../src/h264bsd_deblocking.c"
 case 87: 
 var $594=$i; //@line 916 "../src/h264bsd_deblocking.c"
 var $595=((($594)-(1))|0); //@line 916 "../src/h264bsd_deblocking.c"
 $i=$595; //@line 916 "../src/h264bsd_deblocking.c"
 var $596=$1; //@line 916 "../src/h264bsd_deblocking.c"
 var $597=(($596+1)|0); //@line 916 "../src/h264bsd_deblocking.c"
 $1=$597; //@line 916 "../src/h264bsd_deblocking.c"
 label=55;break; //@line 916 "../src/h264bsd_deblocking.c"
 case 88: 
 label=89;break;
 case 89: 
 STACKTOP=sp;return; //@line 957 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FilterHorLumaEdge($data,$bS,$thresholds,$imageWidth){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $delta;
 var $tc;
 var $tmp;
 var $i;
 var $p0;
 var $q0;
 var $p1;
 var $q1;
 var $p2;
 var $q2;
 var $clp;
 var $val;
 $1=$data;
 $2=$bS;
 $3=$thresholds;
 $4=$imageWidth;
 $clp=1872; //@line 783 "../src/h264bsd_deblocking.c"
 var $5=$1; //@line 788 "../src/h264bsd_deblocking.c"
 var $6=($5|0)!=0; //@line 788 "../src/h264bsd_deblocking.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 788 "../src/h264bsd_deblocking.c"
 case 2: 
 ___assert_fail(12344,11664,788,16024); //@line 788 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 788 "../src/h264bsd_deblocking.c"
 label=3;break; //@line 788 "../src/h264bsd_deblocking.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 788 "../src/h264bsd_deblocking.c"
 var $12=$2; //@line 789 "../src/h264bsd_deblocking.c"
 var $13=($12>>>0)<4; //@line 789 "../src/h264bsd_deblocking.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 789 "../src/h264bsd_deblocking.c"
 case 4: 
 ___assert_fail(11984,11664,789,16024); //@line 789 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 789 "../src/h264bsd_deblocking.c"
 label=5;break; //@line 789 "../src/h264bsd_deblocking.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 789 "../src/h264bsd_deblocking.c"
 var $19=$3; //@line 790 "../src/h264bsd_deblocking.c"
 var $20=($19|0)!=0; //@line 790 "../src/h264bsd_deblocking.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 790 "../src/h264bsd_deblocking.c"
 case 6: 
 ___assert_fail(4568,11664,790,16024); //@line 790 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 790 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 790 "../src/h264bsd_deblocking.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 790 "../src/h264bsd_deblocking.c"
 var $26=$2; //@line 796 "../src/h264bsd_deblocking.c"
 var $27=((($26)-(1))|0); //@line 796 "../src/h264bsd_deblocking.c"
 var $28=$3; //@line 796 "../src/h264bsd_deblocking.c"
 var $29=(($28)|0); //@line 796 "../src/h264bsd_deblocking.c"
 var $30=HEAP32[(($29)>>2)]; //@line 796 "../src/h264bsd_deblocking.c"
 var $31=(($30+$27)|0); //@line 796 "../src/h264bsd_deblocking.c"
 var $32=HEAP8[($31)]; //@line 796 "../src/h264bsd_deblocking.c"
 var $33=($32&255); //@line 796 "../src/h264bsd_deblocking.c"
 $tc=$33; //@line 796 "../src/h264bsd_deblocking.c"
 var $34=$tc; //@line 797 "../src/h264bsd_deblocking.c"
 $tmp=$34; //@line 797 "../src/h264bsd_deblocking.c"
 $i=4; //@line 798 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 798 "../src/h264bsd_deblocking.c"
 case 8: 
 var $36=$i; //@line 798 "../src/h264bsd_deblocking.c"
 var $37=($36|0)!=0; //@line 798 "../src/h264bsd_deblocking.c"
 if($37){label=9;break;}else{label=52;break;} //@line 798 "../src/h264bsd_deblocking.c"
 case 9: 
 var $39=$4; //@line 800 "../src/h264bsd_deblocking.c"
 var $40=(((-$39))|0); //@line 800 "../src/h264bsd_deblocking.c"
 var $41=($40<<1); //@line 800 "../src/h264bsd_deblocking.c"
 var $42=$1; //@line 800 "../src/h264bsd_deblocking.c"
 var $43=(($42+$41)|0); //@line 800 "../src/h264bsd_deblocking.c"
 var $44=HEAP8[($43)]; //@line 800 "../src/h264bsd_deblocking.c"
 $p1=$44; //@line 800 "../src/h264bsd_deblocking.c"
 var $45=$4; //@line 800 "../src/h264bsd_deblocking.c"
 var $46=(((-$45))|0); //@line 800 "../src/h264bsd_deblocking.c"
 var $47=$1; //@line 800 "../src/h264bsd_deblocking.c"
 var $48=(($47+$46)|0); //@line 800 "../src/h264bsd_deblocking.c"
 var $49=HEAP8[($48)]; //@line 800 "../src/h264bsd_deblocking.c"
 $p0=$49; //@line 800 "../src/h264bsd_deblocking.c"
 var $50=$1; //@line 801 "../src/h264bsd_deblocking.c"
 var $51=(($50)|0); //@line 801 "../src/h264bsd_deblocking.c"
 var $52=HEAP8[($51)]; //@line 801 "../src/h264bsd_deblocking.c"
 $q0=$52; //@line 801 "../src/h264bsd_deblocking.c"
 var $53=$4; //@line 801 "../src/h264bsd_deblocking.c"
 var $54=$1; //@line 801 "../src/h264bsd_deblocking.c"
 var $55=(($54+$53)|0); //@line 801 "../src/h264bsd_deblocking.c"
 var $56=HEAP8[($55)]; //@line 801 "../src/h264bsd_deblocking.c"
 $q1=$56; //@line 801 "../src/h264bsd_deblocking.c"
 var $57=$p0; //@line 802 "../src/h264bsd_deblocking.c"
 var $58=($57&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $59=$q0; //@line 802 "../src/h264bsd_deblocking.c"
 var $60=($59&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $61=((($58)-($60))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $62=($61|0)<0; //@line 802 "../src/h264bsd_deblocking.c"
 if($62){label=10;break;}else{label=11;break;} //@line 802 "../src/h264bsd_deblocking.c"
 case 10: 
 var $64=$p0; //@line 802 "../src/h264bsd_deblocking.c"
 var $65=($64&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $66=$q0; //@line 802 "../src/h264bsd_deblocking.c"
 var $67=($66&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $68=((($65)-($67))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $69=(((-$68))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $77=$69;label=12;break; //@line 802 "../src/h264bsd_deblocking.c"
 case 11: 
 var $71=$p0; //@line 802 "../src/h264bsd_deblocking.c"
 var $72=($71&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $73=$q0; //@line 802 "../src/h264bsd_deblocking.c"
 var $74=($73&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $75=((($72)-($74))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $77=$75;label=12;break; //@line 802 "../src/h264bsd_deblocking.c"
 case 12: 
 var $77; //@line 802 "../src/h264bsd_deblocking.c"
 var $78=$3; //@line 802 "../src/h264bsd_deblocking.c"
 var $79=(($78+4)|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $80=HEAP32[(($79)>>2)]; //@line 802 "../src/h264bsd_deblocking.c"
 var $81=($77>>>0)<($80>>>0); //@line 802 "../src/h264bsd_deblocking.c"
 if($81){label=13;break;}else{label=50;break;} //@line 802 "../src/h264bsd_deblocking.c"
 case 13: 
 var $83=$p1; //@line 802 "../src/h264bsd_deblocking.c"
 var $84=($83&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $85=$p0; //@line 802 "../src/h264bsd_deblocking.c"
 var $86=($85&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $87=((($84)-($86))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $88=($87|0)<0; //@line 802 "../src/h264bsd_deblocking.c"
 if($88){label=14;break;}else{label=15;break;} //@line 802 "../src/h264bsd_deblocking.c"
 case 14: 
 var $90=$p1; //@line 802 "../src/h264bsd_deblocking.c"
 var $91=($90&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $92=$p0; //@line 802 "../src/h264bsd_deblocking.c"
 var $93=($92&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $94=((($91)-($93))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $95=(((-$94))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $103=$95;label=16;break; //@line 802 "../src/h264bsd_deblocking.c"
 case 15: 
 var $97=$p1; //@line 802 "../src/h264bsd_deblocking.c"
 var $98=($97&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $99=$p0; //@line 802 "../src/h264bsd_deblocking.c"
 var $100=($99&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $101=((($98)-($100))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $103=$101;label=16;break; //@line 802 "../src/h264bsd_deblocking.c"
 case 16: 
 var $103; //@line 802 "../src/h264bsd_deblocking.c"
 var $104=$3; //@line 802 "../src/h264bsd_deblocking.c"
 var $105=(($104+8)|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $106=HEAP32[(($105)>>2)]; //@line 802 "../src/h264bsd_deblocking.c"
 var $107=($103>>>0)<($106>>>0); //@line 802 "../src/h264bsd_deblocking.c"
 if($107){label=17;break;}else{label=50;break;} //@line 802 "../src/h264bsd_deblocking.c"
 case 17: 
 var $109=$q1; //@line 802 "../src/h264bsd_deblocking.c"
 var $110=($109&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $111=$q0; //@line 802 "../src/h264bsd_deblocking.c"
 var $112=($111&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $113=((($110)-($112))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $114=($113|0)<0; //@line 802 "../src/h264bsd_deblocking.c"
 if($114){label=18;break;}else{label=19;break;} //@line 802 "../src/h264bsd_deblocking.c"
 case 18: 
 var $116=$q1; //@line 802 "../src/h264bsd_deblocking.c"
 var $117=($116&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $118=$q0; //@line 802 "../src/h264bsd_deblocking.c"
 var $119=($118&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $120=((($117)-($119))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $121=(((-$120))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $129=$121;label=20;break; //@line 802 "../src/h264bsd_deblocking.c"
 case 19: 
 var $123=$q1; //@line 802 "../src/h264bsd_deblocking.c"
 var $124=($123&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $125=$q0; //@line 802 "../src/h264bsd_deblocking.c"
 var $126=($125&255); //@line 802 "../src/h264bsd_deblocking.c"
 var $127=((($124)-($126))|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $129=$127;label=20;break; //@line 802 "../src/h264bsd_deblocking.c"
 case 20: 
 var $129; //@line 802 "../src/h264bsd_deblocking.c"
 var $130=$3; //@line 802 "../src/h264bsd_deblocking.c"
 var $131=(($130+8)|0); //@line 802 "../src/h264bsd_deblocking.c"
 var $132=HEAP32[(($131)>>2)]; //@line 802 "../src/h264bsd_deblocking.c"
 var $133=($129>>>0)<($132>>>0); //@line 802 "../src/h264bsd_deblocking.c"
 if($133){label=21;break;}else{label=50;break;} //@line 802 "../src/h264bsd_deblocking.c"
 case 21: 
 var $135=$4; //@line 806 "../src/h264bsd_deblocking.c"
 var $136=(((-$135))|0); //@line 806 "../src/h264bsd_deblocking.c"
 var $137=((($136)*(3))&-1); //@line 806 "../src/h264bsd_deblocking.c"
 var $138=$1; //@line 806 "../src/h264bsd_deblocking.c"
 var $139=(($138+$137)|0); //@line 806 "../src/h264bsd_deblocking.c"
 var $140=HEAP8[($139)]; //@line 806 "../src/h264bsd_deblocking.c"
 $p2=$140; //@line 806 "../src/h264bsd_deblocking.c"
 var $141=$p2; //@line 808 "../src/h264bsd_deblocking.c"
 var $142=($141&255); //@line 808 "../src/h264bsd_deblocking.c"
 var $143=$p0; //@line 808 "../src/h264bsd_deblocking.c"
 var $144=($143&255); //@line 808 "../src/h264bsd_deblocking.c"
 var $145=((($142)-($144))|0); //@line 808 "../src/h264bsd_deblocking.c"
 var $146=($145|0)<0; //@line 808 "../src/h264bsd_deblocking.c"
 if($146){label=22;break;}else{label=23;break;} //@line 808 "../src/h264bsd_deblocking.c"
 case 22: 
 var $148=$p2; //@line 808 "../src/h264bsd_deblocking.c"
 var $149=($148&255); //@line 808 "../src/h264bsd_deblocking.c"
 var $150=$p0; //@line 808 "../src/h264bsd_deblocking.c"
 var $151=($150&255); //@line 808 "../src/h264bsd_deblocking.c"
 var $152=((($149)-($151))|0); //@line 808 "../src/h264bsd_deblocking.c"
 var $153=(((-$152))|0); //@line 808 "../src/h264bsd_deblocking.c"
 var $161=$153;label=24;break; //@line 808 "../src/h264bsd_deblocking.c"
 case 23: 
 var $155=$p2; //@line 808 "../src/h264bsd_deblocking.c"
 var $156=($155&255); //@line 808 "../src/h264bsd_deblocking.c"
 var $157=$p0; //@line 808 "../src/h264bsd_deblocking.c"
 var $158=($157&255); //@line 808 "../src/h264bsd_deblocking.c"
 var $159=((($156)-($158))|0); //@line 808 "../src/h264bsd_deblocking.c"
 var $161=$159;label=24;break; //@line 808 "../src/h264bsd_deblocking.c"
 case 24: 
 var $161; //@line 808 "../src/h264bsd_deblocking.c"
 var $162=$3; //@line 808 "../src/h264bsd_deblocking.c"
 var $163=(($162+8)|0); //@line 808 "../src/h264bsd_deblocking.c"
 var $164=HEAP32[(($163)>>2)]; //@line 808 "../src/h264bsd_deblocking.c"
 var $165=($161>>>0)<($164>>>0); //@line 808 "../src/h264bsd_deblocking.c"
 if($165){label=25;break;}else{label=32;break;} //@line 808 "../src/h264bsd_deblocking.c"
 case 25: 
 var $167=$p2; //@line 810 "../src/h264bsd_deblocking.c"
 var $168=($167&255); //@line 810 "../src/h264bsd_deblocking.c"
 var $169=$p0; //@line 810 "../src/h264bsd_deblocking.c"
 var $170=($169&255); //@line 810 "../src/h264bsd_deblocking.c"
 var $171=$q0; //@line 810 "../src/h264bsd_deblocking.c"
 var $172=($171&255); //@line 810 "../src/h264bsd_deblocking.c"
 var $173=((($170)+($172))|0); //@line 810 "../src/h264bsd_deblocking.c"
 var $174=((($173)+(1))|0); //@line 810 "../src/h264bsd_deblocking.c"
 var $175=$174>>1; //@line 810 "../src/h264bsd_deblocking.c"
 var $176=((($168)+($175))|0); //@line 810 "../src/h264bsd_deblocking.c"
 var $177=$p1; //@line 810 "../src/h264bsd_deblocking.c"
 var $178=($177&255); //@line 810 "../src/h264bsd_deblocking.c"
 var $179=$178<<1; //@line 810 "../src/h264bsd_deblocking.c"
 var $180=((($176)-($179))|0); //@line 810 "../src/h264bsd_deblocking.c"
 var $181=$180>>1; //@line 810 "../src/h264bsd_deblocking.c"
 $val=$181; //@line 810 "../src/h264bsd_deblocking.c"
 var $182=$p1; //@line 811 "../src/h264bsd_deblocking.c"
 var $183=($182&255); //@line 811 "../src/h264bsd_deblocking.c"
 var $184=$val; //@line 811 "../src/h264bsd_deblocking.c"
 var $185=$tc; //@line 811 "../src/h264bsd_deblocking.c"
 var $186=(((-$185))|0); //@line 811 "../src/h264bsd_deblocking.c"
 var $187=($184|0)<($186|0); //@line 811 "../src/h264bsd_deblocking.c"
 if($187){label=26;break;}else{label=27;break;} //@line 811 "../src/h264bsd_deblocking.c"
 case 26: 
 var $189=$tc; //@line 811 "../src/h264bsd_deblocking.c"
 var $190=(((-$189))|0); //@line 811 "../src/h264bsd_deblocking.c"
 var $202=$190;label=31;break; //@line 811 "../src/h264bsd_deblocking.c"
 case 27: 
 var $192=$val; //@line 811 "../src/h264bsd_deblocking.c"
 var $193=$tc; //@line 811 "../src/h264bsd_deblocking.c"
 var $194=($192|0)>($193|0); //@line 811 "../src/h264bsd_deblocking.c"
 if($194){label=28;break;}else{label=29;break;} //@line 811 "../src/h264bsd_deblocking.c"
 case 28: 
 var $196=$tc; //@line 811 "../src/h264bsd_deblocking.c"
 var $200=$196;label=30;break; //@line 811 "../src/h264bsd_deblocking.c"
 case 29: 
 var $198=$val; //@line 811 "../src/h264bsd_deblocking.c"
 var $200=$198;label=30;break; //@line 811 "../src/h264bsd_deblocking.c"
 case 30: 
 var $200; //@line 811 "../src/h264bsd_deblocking.c"
 var $202=$200;label=31;break; //@line 811 "../src/h264bsd_deblocking.c"
 case 31: 
 var $202; //@line 811 "../src/h264bsd_deblocking.c"
 var $203=((($183)+($202))|0); //@line 811 "../src/h264bsd_deblocking.c"
 var $204=(($203)&255); //@line 811 "../src/h264bsd_deblocking.c"
 var $205=$4; //@line 811 "../src/h264bsd_deblocking.c"
 var $206=(((-$205))|0); //@line 811 "../src/h264bsd_deblocking.c"
 var $207=($206<<1); //@line 811 "../src/h264bsd_deblocking.c"
 var $208=$1; //@line 811 "../src/h264bsd_deblocking.c"
 var $209=(($208+$207)|0); //@line 811 "../src/h264bsd_deblocking.c"
 HEAP8[($209)]=$204; //@line 811 "../src/h264bsd_deblocking.c"
 var $210=$tmp; //@line 812 "../src/h264bsd_deblocking.c"
 var $211=((($210)+(1))|0); //@line 812 "../src/h264bsd_deblocking.c"
 $tmp=$211; //@line 812 "../src/h264bsd_deblocking.c"
 label=32;break; //@line 813 "../src/h264bsd_deblocking.c"
 case 32: 
 var $213=$4; //@line 815 "../src/h264bsd_deblocking.c"
 var $214=($213<<1); //@line 815 "../src/h264bsd_deblocking.c"
 var $215=$1; //@line 815 "../src/h264bsd_deblocking.c"
 var $216=(($215+$214)|0); //@line 815 "../src/h264bsd_deblocking.c"
 var $217=HEAP8[($216)]; //@line 815 "../src/h264bsd_deblocking.c"
 $q2=$217; //@line 815 "../src/h264bsd_deblocking.c"
 var $218=$q2; //@line 817 "../src/h264bsd_deblocking.c"
 var $219=($218&255); //@line 817 "../src/h264bsd_deblocking.c"
 var $220=$q0; //@line 817 "../src/h264bsd_deblocking.c"
 var $221=($220&255); //@line 817 "../src/h264bsd_deblocking.c"
 var $222=((($219)-($221))|0); //@line 817 "../src/h264bsd_deblocking.c"
 var $223=($222|0)<0; //@line 817 "../src/h264bsd_deblocking.c"
 if($223){label=33;break;}else{label=34;break;} //@line 817 "../src/h264bsd_deblocking.c"
 case 33: 
 var $225=$q2; //@line 817 "../src/h264bsd_deblocking.c"
 var $226=($225&255); //@line 817 "../src/h264bsd_deblocking.c"
 var $227=$q0; //@line 817 "../src/h264bsd_deblocking.c"
 var $228=($227&255); //@line 817 "../src/h264bsd_deblocking.c"
 var $229=((($226)-($228))|0); //@line 817 "../src/h264bsd_deblocking.c"
 var $230=(((-$229))|0); //@line 817 "../src/h264bsd_deblocking.c"
 var $238=$230;label=35;break; //@line 817 "../src/h264bsd_deblocking.c"
 case 34: 
 var $232=$q2; //@line 817 "../src/h264bsd_deblocking.c"
 var $233=($232&255); //@line 817 "../src/h264bsd_deblocking.c"
 var $234=$q0; //@line 817 "../src/h264bsd_deblocking.c"
 var $235=($234&255); //@line 817 "../src/h264bsd_deblocking.c"
 var $236=((($233)-($235))|0); //@line 817 "../src/h264bsd_deblocking.c"
 var $238=$236;label=35;break; //@line 817 "../src/h264bsd_deblocking.c"
 case 35: 
 var $238; //@line 817 "../src/h264bsd_deblocking.c"
 var $239=$3; //@line 817 "../src/h264bsd_deblocking.c"
 var $240=(($239+8)|0); //@line 817 "../src/h264bsd_deblocking.c"
 var $241=HEAP32[(($240)>>2)]; //@line 817 "../src/h264bsd_deblocking.c"
 var $242=($238>>>0)<($241>>>0); //@line 817 "../src/h264bsd_deblocking.c"
 if($242){label=36;break;}else{label=43;break;} //@line 817 "../src/h264bsd_deblocking.c"
 case 36: 
 var $244=$q2; //@line 819 "../src/h264bsd_deblocking.c"
 var $245=($244&255); //@line 819 "../src/h264bsd_deblocking.c"
 var $246=$p0; //@line 819 "../src/h264bsd_deblocking.c"
 var $247=($246&255); //@line 819 "../src/h264bsd_deblocking.c"
 var $248=$q0; //@line 819 "../src/h264bsd_deblocking.c"
 var $249=($248&255); //@line 819 "../src/h264bsd_deblocking.c"
 var $250=((($247)+($249))|0); //@line 819 "../src/h264bsd_deblocking.c"
 var $251=((($250)+(1))|0); //@line 819 "../src/h264bsd_deblocking.c"
 var $252=$251>>1; //@line 819 "../src/h264bsd_deblocking.c"
 var $253=((($245)+($252))|0); //@line 819 "../src/h264bsd_deblocking.c"
 var $254=$q1; //@line 819 "../src/h264bsd_deblocking.c"
 var $255=($254&255); //@line 819 "../src/h264bsd_deblocking.c"
 var $256=$255<<1; //@line 819 "../src/h264bsd_deblocking.c"
 var $257=((($253)-($256))|0); //@line 819 "../src/h264bsd_deblocking.c"
 var $258=$257>>1; //@line 819 "../src/h264bsd_deblocking.c"
 $val=$258; //@line 819 "../src/h264bsd_deblocking.c"
 var $259=$q1; //@line 820 "../src/h264bsd_deblocking.c"
 var $260=($259&255); //@line 820 "../src/h264bsd_deblocking.c"
 var $261=$val; //@line 820 "../src/h264bsd_deblocking.c"
 var $262=$tc; //@line 820 "../src/h264bsd_deblocking.c"
 var $263=(((-$262))|0); //@line 820 "../src/h264bsd_deblocking.c"
 var $264=($261|0)<($263|0); //@line 820 "../src/h264bsd_deblocking.c"
 if($264){label=37;break;}else{label=38;break;} //@line 820 "../src/h264bsd_deblocking.c"
 case 37: 
 var $266=$tc; //@line 820 "../src/h264bsd_deblocking.c"
 var $267=(((-$266))|0); //@line 820 "../src/h264bsd_deblocking.c"
 var $279=$267;label=42;break; //@line 820 "../src/h264bsd_deblocking.c"
 case 38: 
 var $269=$val; //@line 820 "../src/h264bsd_deblocking.c"
 var $270=$tc; //@line 820 "../src/h264bsd_deblocking.c"
 var $271=($269|0)>($270|0); //@line 820 "../src/h264bsd_deblocking.c"
 if($271){label=39;break;}else{label=40;break;} //@line 820 "../src/h264bsd_deblocking.c"
 case 39: 
 var $273=$tc; //@line 820 "../src/h264bsd_deblocking.c"
 var $277=$273;label=41;break; //@line 820 "../src/h264bsd_deblocking.c"
 case 40: 
 var $275=$val; //@line 820 "../src/h264bsd_deblocking.c"
 var $277=$275;label=41;break; //@line 820 "../src/h264bsd_deblocking.c"
 case 41: 
 var $277; //@line 820 "../src/h264bsd_deblocking.c"
 var $279=$277;label=42;break; //@line 820 "../src/h264bsd_deblocking.c"
 case 42: 
 var $279; //@line 820 "../src/h264bsd_deblocking.c"
 var $280=((($260)+($279))|0); //@line 820 "../src/h264bsd_deblocking.c"
 var $281=(($280)&255); //@line 820 "../src/h264bsd_deblocking.c"
 var $282=$4; //@line 820 "../src/h264bsd_deblocking.c"
 var $283=$1; //@line 820 "../src/h264bsd_deblocking.c"
 var $284=(($283+$282)|0); //@line 820 "../src/h264bsd_deblocking.c"
 HEAP8[($284)]=$281; //@line 820 "../src/h264bsd_deblocking.c"
 var $285=$tmp; //@line 821 "../src/h264bsd_deblocking.c"
 var $286=((($285)+(1))|0); //@line 821 "../src/h264bsd_deblocking.c"
 $tmp=$286; //@line 821 "../src/h264bsd_deblocking.c"
 label=43;break; //@line 822 "../src/h264bsd_deblocking.c"
 case 43: 
 var $288=$q0; //@line 824 "../src/h264bsd_deblocking.c"
 var $289=($288&255); //@line 824 "../src/h264bsd_deblocking.c"
 var $290=$p0; //@line 824 "../src/h264bsd_deblocking.c"
 var $291=($290&255); //@line 824 "../src/h264bsd_deblocking.c"
 var $292=((($289)-($291))|0); //@line 824 "../src/h264bsd_deblocking.c"
 var $293=$292<<2; //@line 824 "../src/h264bsd_deblocking.c"
 var $294=$p1; //@line 824 "../src/h264bsd_deblocking.c"
 var $295=($294&255); //@line 824 "../src/h264bsd_deblocking.c"
 var $296=$q1; //@line 824 "../src/h264bsd_deblocking.c"
 var $297=($296&255); //@line 824 "../src/h264bsd_deblocking.c"
 var $298=((($295)-($297))|0); //@line 824 "../src/h264bsd_deblocking.c"
 var $299=((($293)+($298))|0); //@line 824 "../src/h264bsd_deblocking.c"
 var $300=((($299)+(4))|0); //@line 824 "../src/h264bsd_deblocking.c"
 var $301=$300>>3; //@line 824 "../src/h264bsd_deblocking.c"
 $val=$301; //@line 824 "../src/h264bsd_deblocking.c"
 var $302=$val; //@line 825 "../src/h264bsd_deblocking.c"
 var $303=$tmp; //@line 825 "../src/h264bsd_deblocking.c"
 var $304=(((-$303))|0); //@line 825 "../src/h264bsd_deblocking.c"
 var $305=($302|0)<($304|0); //@line 825 "../src/h264bsd_deblocking.c"
 if($305){label=44;break;}else{label=45;break;} //@line 825 "../src/h264bsd_deblocking.c"
 case 44: 
 var $307=$tmp; //@line 825 "../src/h264bsd_deblocking.c"
 var $308=(((-$307))|0); //@line 825 "../src/h264bsd_deblocking.c"
 var $320=$308;label=49;break; //@line 825 "../src/h264bsd_deblocking.c"
 case 45: 
 var $310=$val; //@line 825 "../src/h264bsd_deblocking.c"
 var $311=$tmp; //@line 825 "../src/h264bsd_deblocking.c"
 var $312=($310|0)>($311|0); //@line 825 "../src/h264bsd_deblocking.c"
 if($312){label=46;break;}else{label=47;break;} //@line 825 "../src/h264bsd_deblocking.c"
 case 46: 
 var $314=$tmp; //@line 825 "../src/h264bsd_deblocking.c"
 var $318=$314;label=48;break; //@line 825 "../src/h264bsd_deblocking.c"
 case 47: 
 var $316=$val; //@line 825 "../src/h264bsd_deblocking.c"
 var $318=$316;label=48;break; //@line 825 "../src/h264bsd_deblocking.c"
 case 48: 
 var $318; //@line 825 "../src/h264bsd_deblocking.c"
 var $320=$318;label=49;break; //@line 825 "../src/h264bsd_deblocking.c"
 case 49: 
 var $320; //@line 825 "../src/h264bsd_deblocking.c"
 $delta=$320; //@line 825 "../src/h264bsd_deblocking.c"
 var $321=$p0; //@line 827 "../src/h264bsd_deblocking.c"
 var $322=($321&255); //@line 827 "../src/h264bsd_deblocking.c"
 var $323=$delta; //@line 827 "../src/h264bsd_deblocking.c"
 var $324=((($322)+($323))|0); //@line 827 "../src/h264bsd_deblocking.c"
 var $325=$clp; //@line 827 "../src/h264bsd_deblocking.c"
 var $326=(($325+$324)|0); //@line 827 "../src/h264bsd_deblocking.c"
 var $327=HEAP8[($326)]; //@line 827 "../src/h264bsd_deblocking.c"
 $p0=$327; //@line 827 "../src/h264bsd_deblocking.c"
 var $328=$q0; //@line 828 "../src/h264bsd_deblocking.c"
 var $329=($328&255); //@line 828 "../src/h264bsd_deblocking.c"
 var $330=$delta; //@line 828 "../src/h264bsd_deblocking.c"
 var $331=((($329)-($330))|0); //@line 828 "../src/h264bsd_deblocking.c"
 var $332=$clp; //@line 828 "../src/h264bsd_deblocking.c"
 var $333=(($332+$331)|0); //@line 828 "../src/h264bsd_deblocking.c"
 var $334=HEAP8[($333)]; //@line 828 "../src/h264bsd_deblocking.c"
 $q0=$334; //@line 828 "../src/h264bsd_deblocking.c"
 var $335=$tc; //@line 829 "../src/h264bsd_deblocking.c"
 $tmp=$335; //@line 829 "../src/h264bsd_deblocking.c"
 var $336=$p0; //@line 830 "../src/h264bsd_deblocking.c"
 var $337=$4; //@line 830 "../src/h264bsd_deblocking.c"
 var $338=(((-$337))|0); //@line 830 "../src/h264bsd_deblocking.c"
 var $339=$1; //@line 830 "../src/h264bsd_deblocking.c"
 var $340=(($339+$338)|0); //@line 830 "../src/h264bsd_deblocking.c"
 HEAP8[($340)]=$336; //@line 830 "../src/h264bsd_deblocking.c"
 var $341=$q0; //@line 831 "../src/h264bsd_deblocking.c"
 var $342=$1; //@line 831 "../src/h264bsd_deblocking.c"
 var $343=(($342)|0); //@line 831 "../src/h264bsd_deblocking.c"
 HEAP8[($343)]=$341; //@line 831 "../src/h264bsd_deblocking.c"
 label=50;break; //@line 832 "../src/h264bsd_deblocking.c"
 case 50: 
 label=51;break; //@line 835 "../src/h264bsd_deblocking.c"
 case 51: 
 var $346=$i; //@line 798 "../src/h264bsd_deblocking.c"
 var $347=((($346)-(1))|0); //@line 798 "../src/h264bsd_deblocking.c"
 $i=$347; //@line 798 "../src/h264bsd_deblocking.c"
 var $348=$1; //@line 798 "../src/h264bsd_deblocking.c"
 var $349=(($348+1)|0); //@line 798 "../src/h264bsd_deblocking.c"
 $1=$349; //@line 798 "../src/h264bsd_deblocking.c"
 label=8;break; //@line 798 "../src/h264bsd_deblocking.c"
 case 52: 
 STACKTOP=sp;return; //@line 836 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _EdgeBoundaryStrength($mb1,$mb2,$ind1,$ind2){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 $2=$mb1;
 $3=$mb2;
 $4=$ind1;
 $5=$ind2;
 var $6=$4; //@line 399 "../src/h264bsd_deblocking.c"
 var $7=$2; //@line 399 "../src/h264bsd_deblocking.c"
 var $8=(($7+28)|0); //@line 399 "../src/h264bsd_deblocking.c"
 var $9=(($8+($6<<1))|0); //@line 399 "../src/h264bsd_deblocking.c"
 var $10=HEAP16[(($9)>>1)]; //@line 399 "../src/h264bsd_deblocking.c"
 var $11=(($10<<16)>>16); //@line 399 "../src/h264bsd_deblocking.c"
 var $12=($11|0)!=0; //@line 399 "../src/h264bsd_deblocking.c"
 if($12){label=3;break;}else{label=2;break;} //@line 399 "../src/h264bsd_deblocking.c"
 case 2: 
 var $14=$5; //@line 399 "../src/h264bsd_deblocking.c"
 var $15=$3; //@line 399 "../src/h264bsd_deblocking.c"
 var $16=(($15+28)|0); //@line 399 "../src/h264bsd_deblocking.c"
 var $17=(($16+($14<<1))|0); //@line 399 "../src/h264bsd_deblocking.c"
 var $18=HEAP16[(($17)>>1)]; //@line 399 "../src/h264bsd_deblocking.c"
 var $19=(($18<<16)>>16); //@line 399 "../src/h264bsd_deblocking.c"
 var $20=($19|0)!=0; //@line 399 "../src/h264bsd_deblocking.c"
 if($20){label=3;break;}else{label=4;break;} //@line 399 "../src/h264bsd_deblocking.c"
 case 3: 
 $1=2; //@line 401 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 401 "../src/h264bsd_deblocking.c"
 case 4: 
 var $23=$4; //@line 403 "../src/h264bsd_deblocking.c"
 var $24=$23>>>2; //@line 403 "../src/h264bsd_deblocking.c"
 var $25=$2; //@line 403 "../src/h264bsd_deblocking.c"
 var $26=(($25+116)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $27=(($26+($24<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $28=HEAP32[(($27)>>2)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $29=$5; //@line 403 "../src/h264bsd_deblocking.c"
 var $30=$29>>>2; //@line 403 "../src/h264bsd_deblocking.c"
 var $31=$3; //@line 403 "../src/h264bsd_deblocking.c"
 var $32=(($31+116)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $33=(($32+($30<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $34=HEAP32[(($33)>>2)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $35=($28|0)!=($34|0); //@line 403 "../src/h264bsd_deblocking.c"
 if($35){label=13;break;}else{label=5;break;} //@line 403 "../src/h264bsd_deblocking.c"
 case 5: 
 var $37=$4; //@line 403 "../src/h264bsd_deblocking.c"
 var $38=$2; //@line 403 "../src/h264bsd_deblocking.c"
 var $39=(($38+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $40=(($39+($37<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $41=(($40)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $42=HEAP16[(($41)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $43=(($42<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $44=$5; //@line 403 "../src/h264bsd_deblocking.c"
 var $45=$3; //@line 403 "../src/h264bsd_deblocking.c"
 var $46=(($45+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $47=(($46+($44<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $48=(($47)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $49=HEAP16[(($48)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $50=(($49<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $51=((($43)-($50))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $52=($51|0)<0; //@line 403 "../src/h264bsd_deblocking.c"
 if($52){label=6;break;}else{label=7;break;} //@line 403 "../src/h264bsd_deblocking.c"
 case 6: 
 var $54=$4; //@line 403 "../src/h264bsd_deblocking.c"
 var $55=$2; //@line 403 "../src/h264bsd_deblocking.c"
 var $56=(($55+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $57=(($56+($54<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $58=(($57)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $59=HEAP16[(($58)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $60=(($59<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $61=$5; //@line 403 "../src/h264bsd_deblocking.c"
 var $62=$3; //@line 403 "../src/h264bsd_deblocking.c"
 var $63=(($62+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $64=(($63+($61<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $65=(($64)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $66=HEAP16[(($65)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $67=(($66<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $68=((($60)-($67))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $69=(((-$68))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $87=$69;label=8;break; //@line 403 "../src/h264bsd_deblocking.c"
 case 7: 
 var $71=$4; //@line 403 "../src/h264bsd_deblocking.c"
 var $72=$2; //@line 403 "../src/h264bsd_deblocking.c"
 var $73=(($72+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $74=(($73+($71<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $75=(($74)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $76=HEAP16[(($75)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $77=(($76<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $78=$5; //@line 403 "../src/h264bsd_deblocking.c"
 var $79=$3; //@line 403 "../src/h264bsd_deblocking.c"
 var $80=(($79+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $81=(($80+($78<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $82=(($81)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $83=HEAP16[(($82)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $84=(($83<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $85=((($77)-($84))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $87=$85;label=8;break; //@line 403 "../src/h264bsd_deblocking.c"
 case 8: 
 var $87; //@line 403 "../src/h264bsd_deblocking.c"
 var $88=($87>>>0)>=4; //@line 403 "../src/h264bsd_deblocking.c"
 if($88){label=13;break;}else{label=9;break;} //@line 403 "../src/h264bsd_deblocking.c"
 case 9: 
 var $90=$4; //@line 403 "../src/h264bsd_deblocking.c"
 var $91=$2; //@line 403 "../src/h264bsd_deblocking.c"
 var $92=(($91+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $93=(($92+($90<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $94=(($93+2)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $95=HEAP16[(($94)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $96=(($95<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $97=$5; //@line 403 "../src/h264bsd_deblocking.c"
 var $98=$3; //@line 403 "../src/h264bsd_deblocking.c"
 var $99=(($98+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $100=(($99+($97<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $101=(($100+2)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $102=HEAP16[(($101)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $103=(($102<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $104=((($96)-($103))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $105=($104|0)<0; //@line 403 "../src/h264bsd_deblocking.c"
 if($105){label=10;break;}else{label=11;break;} //@line 403 "../src/h264bsd_deblocking.c"
 case 10: 
 var $107=$4; //@line 403 "../src/h264bsd_deblocking.c"
 var $108=$2; //@line 403 "../src/h264bsd_deblocking.c"
 var $109=(($108+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $110=(($109+($107<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $111=(($110+2)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $112=HEAP16[(($111)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $113=(($112<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $114=$5; //@line 403 "../src/h264bsd_deblocking.c"
 var $115=$3; //@line 403 "../src/h264bsd_deblocking.c"
 var $116=(($115+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $117=(($116+($114<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $118=(($117+2)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $119=HEAP16[(($118)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $120=(($119<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $121=((($113)-($120))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $122=(((-$121))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $140=$122;label=12;break; //@line 403 "../src/h264bsd_deblocking.c"
 case 11: 
 var $124=$4; //@line 403 "../src/h264bsd_deblocking.c"
 var $125=$2; //@line 403 "../src/h264bsd_deblocking.c"
 var $126=(($125+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $127=(($126+($124<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $128=(($127+2)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $129=HEAP16[(($128)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $130=(($129<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $131=$5; //@line 403 "../src/h264bsd_deblocking.c"
 var $132=$3; //@line 403 "../src/h264bsd_deblocking.c"
 var $133=(($132+132)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $134=(($133+($131<<2))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $135=(($134+2)|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $136=HEAP16[(($135)>>1)]; //@line 403 "../src/h264bsd_deblocking.c"
 var $137=(($136<<16)>>16); //@line 403 "../src/h264bsd_deblocking.c"
 var $138=((($130)-($137))|0); //@line 403 "../src/h264bsd_deblocking.c"
 var $140=$138;label=12;break; //@line 403 "../src/h264bsd_deblocking.c"
 case 12: 
 var $140; //@line 403 "../src/h264bsd_deblocking.c"
 var $141=($140>>>0)>=4; //@line 403 "../src/h264bsd_deblocking.c"
 if($141){label=13;break;}else{label=14;break;} //@line 403 "../src/h264bsd_deblocking.c"
 case 13: 
 $1=1; //@line 407 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 407 "../src/h264bsd_deblocking.c"
 case 14: 
 $1=0; //@line 410 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 410 "../src/h264bsd_deblocking.c"
 case 15: 
 var $145=$1; //@line 411 "../src/h264bsd_deblocking.c"
 STACKTOP=sp;return $145; //@line 411 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _InnerBoundaryStrength($mb1,$ind1,$ind2){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $tmp1;
 var $tmp2;
 var $mv1;
 var $mv2;
 var $mv3;
 var $mv4;
 $2=$mb1;
 $3=$ind1;
 $4=$ind2;
 var $5=$3; //@line 337 "../src/h264bsd_deblocking.c"
 var $6=$2; //@line 337 "../src/h264bsd_deblocking.c"
 var $7=(($6+28)|0); //@line 337 "../src/h264bsd_deblocking.c"
 var $8=(($7+($5<<1))|0); //@line 337 "../src/h264bsd_deblocking.c"
 var $9=HEAP16[(($8)>>1)]; //@line 337 "../src/h264bsd_deblocking.c"
 var $10=(($9<<16)>>16); //@line 337 "../src/h264bsd_deblocking.c"
 $tmp1=$10; //@line 337 "../src/h264bsd_deblocking.c"
 var $11=$4; //@line 338 "../src/h264bsd_deblocking.c"
 var $12=$2; //@line 338 "../src/h264bsd_deblocking.c"
 var $13=(($12+28)|0); //@line 338 "../src/h264bsd_deblocking.c"
 var $14=(($13+($11<<1))|0); //@line 338 "../src/h264bsd_deblocking.c"
 var $15=HEAP16[(($14)>>1)]; //@line 338 "../src/h264bsd_deblocking.c"
 var $16=(($15<<16)>>16); //@line 338 "../src/h264bsd_deblocking.c"
 $tmp2=$16; //@line 338 "../src/h264bsd_deblocking.c"
 var $17=$3; //@line 339 "../src/h264bsd_deblocking.c"
 var $18=$2; //@line 339 "../src/h264bsd_deblocking.c"
 var $19=(($18+132)|0); //@line 339 "../src/h264bsd_deblocking.c"
 var $20=(($19+($17<<2))|0); //@line 339 "../src/h264bsd_deblocking.c"
 var $21=(($20)|0); //@line 339 "../src/h264bsd_deblocking.c"
 var $22=HEAP16[(($21)>>1)]; //@line 339 "../src/h264bsd_deblocking.c"
 var $23=(($22<<16)>>16); //@line 339 "../src/h264bsd_deblocking.c"
 $mv1=$23; //@line 339 "../src/h264bsd_deblocking.c"
 var $24=$4; //@line 340 "../src/h264bsd_deblocking.c"
 var $25=$2; //@line 340 "../src/h264bsd_deblocking.c"
 var $26=(($25+132)|0); //@line 340 "../src/h264bsd_deblocking.c"
 var $27=(($26+($24<<2))|0); //@line 340 "../src/h264bsd_deblocking.c"
 var $28=(($27)|0); //@line 340 "../src/h264bsd_deblocking.c"
 var $29=HEAP16[(($28)>>1)]; //@line 340 "../src/h264bsd_deblocking.c"
 var $30=(($29<<16)>>16); //@line 340 "../src/h264bsd_deblocking.c"
 $mv2=$30; //@line 340 "../src/h264bsd_deblocking.c"
 var $31=$3; //@line 341 "../src/h264bsd_deblocking.c"
 var $32=$2; //@line 341 "../src/h264bsd_deblocking.c"
 var $33=(($32+132)|0); //@line 341 "../src/h264bsd_deblocking.c"
 var $34=(($33+($31<<2))|0); //@line 341 "../src/h264bsd_deblocking.c"
 var $35=(($34+2)|0); //@line 341 "../src/h264bsd_deblocking.c"
 var $36=HEAP16[(($35)>>1)]; //@line 341 "../src/h264bsd_deblocking.c"
 var $37=(($36<<16)>>16); //@line 341 "../src/h264bsd_deblocking.c"
 $mv3=$37; //@line 341 "../src/h264bsd_deblocking.c"
 var $38=$4; //@line 342 "../src/h264bsd_deblocking.c"
 var $39=$2; //@line 342 "../src/h264bsd_deblocking.c"
 var $40=(($39+132)|0); //@line 342 "../src/h264bsd_deblocking.c"
 var $41=(($40+($38<<2))|0); //@line 342 "../src/h264bsd_deblocking.c"
 var $42=(($41+2)|0); //@line 342 "../src/h264bsd_deblocking.c"
 var $43=HEAP16[(($42)>>1)]; //@line 342 "../src/h264bsd_deblocking.c"
 var $44=(($43<<16)>>16); //@line 342 "../src/h264bsd_deblocking.c"
 $mv4=$44; //@line 342 "../src/h264bsd_deblocking.c"
 var $45=$tmp1; //@line 344 "../src/h264bsd_deblocking.c"
 var $46=($45|0)!=0; //@line 344 "../src/h264bsd_deblocking.c"
 if($46){label=3;break;}else{label=2;break;} //@line 344 "../src/h264bsd_deblocking.c"
 case 2: 
 var $48=$tmp2; //@line 344 "../src/h264bsd_deblocking.c"
 var $49=($48|0)!=0; //@line 344 "../src/h264bsd_deblocking.c"
 if($49){label=3;break;}else{label=4;break;} //@line 344 "../src/h264bsd_deblocking.c"
 case 3: 
 $1=2; //@line 346 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 346 "../src/h264bsd_deblocking.c"
 case 4: 
 var $52=$mv1; //@line 348 "../src/h264bsd_deblocking.c"
 var $53=$mv2; //@line 348 "../src/h264bsd_deblocking.c"
 var $54=((($52)-($53))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $55=($54|0)<0; //@line 348 "../src/h264bsd_deblocking.c"
 if($55){label=5;break;}else{label=6;break;} //@line 348 "../src/h264bsd_deblocking.c"
 case 5: 
 var $57=$mv1; //@line 348 "../src/h264bsd_deblocking.c"
 var $58=$mv2; //@line 348 "../src/h264bsd_deblocking.c"
 var $59=((($57)-($58))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $60=(((-$59))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $66=$60;label=7;break; //@line 348 "../src/h264bsd_deblocking.c"
 case 6: 
 var $62=$mv1; //@line 348 "../src/h264bsd_deblocking.c"
 var $63=$mv2; //@line 348 "../src/h264bsd_deblocking.c"
 var $64=((($62)-($63))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $66=$64;label=7;break; //@line 348 "../src/h264bsd_deblocking.c"
 case 7: 
 var $66; //@line 348 "../src/h264bsd_deblocking.c"
 var $67=($66>>>0)>=4; //@line 348 "../src/h264bsd_deblocking.c"
 if($67){label=13;break;}else{label=8;break;} //@line 348 "../src/h264bsd_deblocking.c"
 case 8: 
 var $69=$mv3; //@line 348 "../src/h264bsd_deblocking.c"
 var $70=$mv4; //@line 348 "../src/h264bsd_deblocking.c"
 var $71=((($69)-($70))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $72=($71|0)<0; //@line 348 "../src/h264bsd_deblocking.c"
 if($72){label=9;break;}else{label=10;break;} //@line 348 "../src/h264bsd_deblocking.c"
 case 9: 
 var $74=$mv3; //@line 348 "../src/h264bsd_deblocking.c"
 var $75=$mv4; //@line 348 "../src/h264bsd_deblocking.c"
 var $76=((($74)-($75))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $77=(((-$76))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $83=$77;label=11;break; //@line 348 "../src/h264bsd_deblocking.c"
 case 10: 
 var $79=$mv3; //@line 348 "../src/h264bsd_deblocking.c"
 var $80=$mv4; //@line 348 "../src/h264bsd_deblocking.c"
 var $81=((($79)-($80))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $83=$81;label=11;break; //@line 348 "../src/h264bsd_deblocking.c"
 case 11: 
 var $83; //@line 348 "../src/h264bsd_deblocking.c"
 var $84=($83>>>0)>=4; //@line 348 "../src/h264bsd_deblocking.c"
 if($84){label=13;break;}else{label=12;break;} //@line 348 "../src/h264bsd_deblocking.c"
 case 12: 
 var $86=$3; //@line 348 "../src/h264bsd_deblocking.c"
 var $87=$86>>>2; //@line 348 "../src/h264bsd_deblocking.c"
 var $88=$2; //@line 348 "../src/h264bsd_deblocking.c"
 var $89=(($88+116)|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $90=(($89+($87<<2))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $91=HEAP32[(($90)>>2)]; //@line 348 "../src/h264bsd_deblocking.c"
 var $92=$4; //@line 348 "../src/h264bsd_deblocking.c"
 var $93=$92>>>2; //@line 348 "../src/h264bsd_deblocking.c"
 var $94=$2; //@line 348 "../src/h264bsd_deblocking.c"
 var $95=(($94+116)|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $96=(($95+($93<<2))|0); //@line 348 "../src/h264bsd_deblocking.c"
 var $97=HEAP32[(($96)>>2)]; //@line 348 "../src/h264bsd_deblocking.c"
 var $98=($91|0)!=($97|0); //@line 348 "../src/h264bsd_deblocking.c"
 if($98){label=13;break;}else{label=14;break;} //@line 348 "../src/h264bsd_deblocking.c"
 case 13: 
 $1=1; //@line 351 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 351 "../src/h264bsd_deblocking.c"
 case 14: 
 $1=0; //@line 354 "../src/h264bsd_deblocking.c"
 label=15;break; //@line 354 "../src/h264bsd_deblocking.c"
 case 15: 
 var $102=$1; //@line 355 "../src/h264bsd_deblocking.c"
 STACKTOP=sp;return $102; //@line 355 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _IsSliceBoundaryOnLeft($mb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$mb;
 var $3=$2; //@line 244 "../src/h264bsd_deblocking.c"
 var $4=($3|0)!=0; //@line 244 "../src/h264bsd_deblocking.c"
 if($4){label=2;break;}else{label=3;break;} //@line 244 "../src/h264bsd_deblocking.c"
 case 2: 
 var $6=$2; //@line 244 "../src/h264bsd_deblocking.c"
 var $7=(($6+200)|0); //@line 244 "../src/h264bsd_deblocking.c"
 var $8=HEAP32[(($7)>>2)]; //@line 244 "../src/h264bsd_deblocking.c"
 var $9=($8|0)!=0; //@line 244 "../src/h264bsd_deblocking.c"
 if($9){var $13=1;label=4;break;}else{label=3;break;} //@line 244 "../src/h264bsd_deblocking.c"
 case 3: 
 ___assert_fail(10112,11664,244,15216); //@line 244 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 244 "../src/h264bsd_deblocking.c"
 label=4;break; //@line 244 "../src/h264bsd_deblocking.c"
 case 4: 
 var $13;
 var $14=($13&1); //@line 244 "../src/h264bsd_deblocking.c"
 var $15=$2; //@line 246 "../src/h264bsd_deblocking.c"
 var $16=(($15+4)|0); //@line 246 "../src/h264bsd_deblocking.c"
 var $17=HEAP32[(($16)>>2)]; //@line 246 "../src/h264bsd_deblocking.c"
 var $18=$2; //@line 246 "../src/h264bsd_deblocking.c"
 var $19=(($18+200)|0); //@line 246 "../src/h264bsd_deblocking.c"
 var $20=HEAP32[(($19)>>2)]; //@line 246 "../src/h264bsd_deblocking.c"
 var $21=(($20+4)|0); //@line 246 "../src/h264bsd_deblocking.c"
 var $22=HEAP32[(($21)>>2)]; //@line 246 "../src/h264bsd_deblocking.c"
 var $23=($17|0)!=($22|0); //@line 246 "../src/h264bsd_deblocking.c"
 if($23){label=5;break;}else{label=6;break;} //@line 246 "../src/h264bsd_deblocking.c"
 case 5: 
 $1=1; //@line 247 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 247 "../src/h264bsd_deblocking.c"
 case 6: 
 $1=0; //@line 249 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 249 "../src/h264bsd_deblocking.c"
 case 7: 
 var $27=$1; //@line 251 "../src/h264bsd_deblocking.c"
 STACKTOP=sp;return $27; //@line 251 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _IsSliceBoundaryOnTop($mb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$mb;
 var $3=$2; //@line 269 "../src/h264bsd_deblocking.c"
 var $4=($3|0)!=0; //@line 269 "../src/h264bsd_deblocking.c"
 if($4){label=2;break;}else{label=3;break;} //@line 269 "../src/h264bsd_deblocking.c"
 case 2: 
 var $6=$2; //@line 269 "../src/h264bsd_deblocking.c"
 var $7=(($6+204)|0); //@line 269 "../src/h264bsd_deblocking.c"
 var $8=HEAP32[(($7)>>2)]; //@line 269 "../src/h264bsd_deblocking.c"
 var $9=($8|0)!=0; //@line 269 "../src/h264bsd_deblocking.c"
 if($9){var $13=1;label=4;break;}else{label=3;break;} //@line 269 "../src/h264bsd_deblocking.c"
 case 3: 
 ___assert_fail(10392,11664,269,15192); //@line 269 "../src/h264bsd_deblocking.c"
 throw "Reached an unreachable!"; //@line 269 "../src/h264bsd_deblocking.c"
 label=4;break; //@line 269 "../src/h264bsd_deblocking.c"
 case 4: 
 var $13;
 var $14=($13&1); //@line 269 "../src/h264bsd_deblocking.c"
 var $15=$2; //@line 271 "../src/h264bsd_deblocking.c"
 var $16=(($15+4)|0); //@line 271 "../src/h264bsd_deblocking.c"
 var $17=HEAP32[(($16)>>2)]; //@line 271 "../src/h264bsd_deblocking.c"
 var $18=$2; //@line 271 "../src/h264bsd_deblocking.c"
 var $19=(($18+204)|0); //@line 271 "../src/h264bsd_deblocking.c"
 var $20=HEAP32[(($19)>>2)]; //@line 271 "../src/h264bsd_deblocking.c"
 var $21=(($20+4)|0); //@line 271 "../src/h264bsd_deblocking.c"
 var $22=HEAP32[(($21)>>2)]; //@line 271 "../src/h264bsd_deblocking.c"
 var $23=($17|0)!=($22|0); //@line 271 "../src/h264bsd_deblocking.c"
 if($23){label=5;break;}else{label=6;break;} //@line 271 "../src/h264bsd_deblocking.c"
 case 5: 
 $1=1; //@line 272 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 272 "../src/h264bsd_deblocking.c"
 case 6: 
 $1=0; //@line 274 "../src/h264bsd_deblocking.c"
 label=7;break; //@line 274 "../src/h264bsd_deblocking.c"
 case 7: 
 var $27=$1; //@line 276 "../src/h264bsd_deblocking.c"
 STACKTOP=sp;return $27; //@line 276 "../src/h264bsd_deblocking.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInit($pStorage,$noOutputReordering){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $size;
 $2=$pStorage;
 $3=$noOutputReordering;
 var $4=$2; //@line 97 "../src/h264bsd_decoder.c"
 var $5=($4|0)!=0; //@line 97 "../src/h264bsd_decoder.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 97 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,97,13840); //@line 97 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 97 "../src/h264bsd_decoder.c"
 label=3;break; //@line 97 "../src/h264bsd_decoder.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 97 "../src/h264bsd_decoder.c"
 var $11=$2; //@line 99 "../src/h264bsd_decoder.c"
 _h264bsdInitStorage($11); //@line 99 "../src/h264bsd_decoder.c"
 $size=2112; //@line 103 "../src/h264bsd_decoder.c"
 var $12=$size; //@line 105 "../src/h264bsd_decoder.c"
 var $13=_malloc($12); //@line 105 "../src/h264bsd_decoder.c"
 var $14=$13; //@line 105 "../src/h264bsd_decoder.c"
 var $15=$2; //@line 105 "../src/h264bsd_decoder.c"
 var $16=(($15+3376)|0); //@line 105 "../src/h264bsd_decoder.c"
 HEAP32[(($16)>>2)]=$14; //@line 105 "../src/h264bsd_decoder.c"
 var $17=$2; //@line 106 "../src/h264bsd_decoder.c"
 var $18=(($17+3376)|0); //@line 106 "../src/h264bsd_decoder.c"
 var $19=HEAP32[(($18)>>2)]; //@line 106 "../src/h264bsd_decoder.c"
 var $20=($19|0)!=0; //@line 106 "../src/h264bsd_decoder.c"
 if($20){label=5;break;}else{label=4;break;} //@line 106 "../src/h264bsd_decoder.c"
 case 4: 
 $1=1; //@line 107 "../src/h264bsd_decoder.c"
 label=8;break; //@line 107 "../src/h264bsd_decoder.c"
 case 5: 
 var $23=$3; //@line 109 "../src/h264bsd_decoder.c"
 var $24=($23|0)!=0; //@line 109 "../src/h264bsd_decoder.c"
 if($24){label=6;break;}else{label=7;break;} //@line 109 "../src/h264bsd_decoder.c"
 case 6: 
 var $26=$2; //@line 110 "../src/h264bsd_decoder.c"
 var $27=(($26+1216)|0); //@line 110 "../src/h264bsd_decoder.c"
 HEAP32[(($27)>>2)]=1; //@line 110 "../src/h264bsd_decoder.c"
 label=7;break; //@line 110 "../src/h264bsd_decoder.c"
 case 7: 
 $1=0; //@line 112 "../src/h264bsd_decoder.c"
 label=8;break; //@line 112 "../src/h264bsd_decoder.c"
 case 8: 
 var $30=$1; //@line 113 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return $30; //@line 113 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdInit"] = _h264bsdInit;
function _h264bsdDecode($pStorage,$byteStrm,$len,$picId,$readBytes){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+224)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $tmp;
 var $ppsId=sp;
 var $spsId;
 var $picOrderCnt;
 var $nalUnit=(sp)+(8);
 var $seqParamSet=(sp)+(16);
 var $picParamSet=(sp)+(112);
 var $strm=(sp)+(184);
 var $accessUnitBoundaryFlag=(sp)+(208);
 var $picReady;
 var $oldSPS;
 var $newSPS;
 var $noOutputOfPriorPicsFlag=(sp)+(216);
 $2=$pStorage;
 $3=$byteStrm;
 $4=$len;
 $5=$picId;
 $6=$readBytes;
 HEAP32[(($accessUnitBoundaryFlag)>>2)]=0; //@line 164 "../src/h264bsd_decoder.c"
 $picReady=0; //@line 165 "../src/h264bsd_decoder.c"
 var $7=$2; //@line 169 "../src/h264bsd_decoder.c"
 var $8=($7|0)!=0; //@line 169 "../src/h264bsd_decoder.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 169 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,169,14528); //@line 169 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 169 "../src/h264bsd_decoder.c"
 label=3;break; //@line 169 "../src/h264bsd_decoder.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 169 "../src/h264bsd_decoder.c"
 var $14=$3; //@line 170 "../src/h264bsd_decoder.c"
 var $15=($14|0)!=0; //@line 170 "../src/h264bsd_decoder.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 170 "../src/h264bsd_decoder.c"
 case 4: 
 ___assert_fail(8880,10968,170,14528); //@line 170 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 170 "../src/h264bsd_decoder.c"
 label=5;break; //@line 170 "../src/h264bsd_decoder.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 170 "../src/h264bsd_decoder.c"
 var $21=$4; //@line 171 "../src/h264bsd_decoder.c"
 var $22=($21|0)!=0; //@line 171 "../src/h264bsd_decoder.c"
 if($22){var $26=1;label=7;break;}else{label=6;break;} //@line 171 "../src/h264bsd_decoder.c"
 case 6: 
 ___assert_fail(7864,10968,171,14528); //@line 171 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 171 "../src/h264bsd_decoder.c"
 label=7;break; //@line 171 "../src/h264bsd_decoder.c"
 case 7: 
 var $26;
 var $27=($26&1); //@line 171 "../src/h264bsd_decoder.c"
 var $28=$6; //@line 172 "../src/h264bsd_decoder.c"
 var $29=($28|0)!=0; //@line 172 "../src/h264bsd_decoder.c"
 if($29){var $33=1;label=9;break;}else{label=8;break;} //@line 172 "../src/h264bsd_decoder.c"
 case 8: 
 ___assert_fail(6912,10968,172,14528); //@line 172 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 172 "../src/h264bsd_decoder.c"
 label=9;break; //@line 172 "../src/h264bsd_decoder.c"
 case 9: 
 var $33;
 var $34=($33&1); //@line 172 "../src/h264bsd_decoder.c"
 var $35=$2; //@line 176 "../src/h264bsd_decoder.c"
 var $36=(($35+3344)|0); //@line 176 "../src/h264bsd_decoder.c"
 var $37=HEAP32[(($36)>>2)]; //@line 176 "../src/h264bsd_decoder.c"
 var $38=($37|0)!=0; //@line 176 "../src/h264bsd_decoder.c"
 if($38){label=10;break;}else{label=12;break;} //@line 176 "../src/h264bsd_decoder.c"
 case 10: 
 var $40=$3; //@line 176 "../src/h264bsd_decoder.c"
 var $41=$2; //@line 176 "../src/h264bsd_decoder.c"
 var $42=(($41+3348)|0); //@line 176 "../src/h264bsd_decoder.c"
 var $43=HEAP32[(($42)>>2)]; //@line 176 "../src/h264bsd_decoder.c"
 var $44=($40|0)==($43|0); //@line 176 "../src/h264bsd_decoder.c"
 if($44){label=11;break;}else{label=12;break;} //@line 176 "../src/h264bsd_decoder.c"
 case 11: 
 var $46=$2; //@line 178 "../src/h264bsd_decoder.c"
 var $47=(($46+3356)|0); //@line 178 "../src/h264bsd_decoder.c"
 var $48=(($47)|0); //@line 178 "../src/h264bsd_decoder.c"
 var $49=$strm; //@line 178 "../src/h264bsd_decoder.c"
 var $50=$48; //@line 178 "../src/h264bsd_decoder.c"
 assert(20 % 1 === 0);HEAP32[(($49)>>2)]=HEAP32[(($50)>>2)];HEAP32[((($49)+(4))>>2)]=HEAP32[((($50)+(4))>>2)];HEAP32[((($49)+(8))>>2)]=HEAP32[((($50)+(8))>>2)];HEAP32[((($49)+(12))>>2)]=HEAP32[((($50)+(12))>>2)];HEAP32[((($49)+(16))>>2)]=HEAP32[((($50)+(16))>>2)]; //@line 178 "../src/h264bsd_decoder.c"
 var $51=(($strm)|0); //@line 179 "../src/h264bsd_decoder.c"
 var $52=HEAP32[(($51)>>2)]; //@line 179 "../src/h264bsd_decoder.c"
 var $53=(($strm+4)|0); //@line 179 "../src/h264bsd_decoder.c"
 HEAP32[(($53)>>2)]=$52; //@line 179 "../src/h264bsd_decoder.c"
 var $54=(($strm+8)|0); //@line 180 "../src/h264bsd_decoder.c"
 HEAP32[(($54)>>2)]=0; //@line 180 "../src/h264bsd_decoder.c"
 var $55=(($strm+16)|0); //@line 180 "../src/h264bsd_decoder.c"
 HEAP32[(($55)>>2)]=0; //@line 180 "../src/h264bsd_decoder.c"
 var $56=$2; //@line 181 "../src/h264bsd_decoder.c"
 var $57=(($56+3352)|0); //@line 181 "../src/h264bsd_decoder.c"
 var $58=HEAP32[(($57)>>2)]; //@line 181 "../src/h264bsd_decoder.c"
 var $59=$6; //@line 181 "../src/h264bsd_decoder.c"
 HEAP32[(($59)>>2)]=$58; //@line 181 "../src/h264bsd_decoder.c"
 label=15;break; //@line 182 "../src/h264bsd_decoder.c"
 case 12: 
 var $61=$3; //@line 185 "../src/h264bsd_decoder.c"
 var $62=$4; //@line 185 "../src/h264bsd_decoder.c"
 var $63=$6; //@line 185 "../src/h264bsd_decoder.c"
 var $64=_h264bsdExtractNalUnit($61,$62,$strm,$63); //@line 185 "../src/h264bsd_decoder.c"
 $tmp=$64; //@line 185 "../src/h264bsd_decoder.c"
 var $65=$tmp; //@line 186 "../src/h264bsd_decoder.c"
 var $66=($65|0)!=0; //@line 186 "../src/h264bsd_decoder.c"
 if($66){label=13;break;}else{label=14;break;} //@line 186 "../src/h264bsd_decoder.c"
 case 13: 
 var $68=HEAP32[((_stderr)>>2)]; //@line 188 "../src/h264bsd_decoder.c"
 var $69=_fprintf($68,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5560,tempVarArgs)); STACKTOP=tempVarArgs; //@line 188 "../src/h264bsd_decoder.c"
 $1=3; //@line 189 "../src/h264bsd_decoder.c"
 label=98;break; //@line 189 "../src/h264bsd_decoder.c"
 case 14: 
 var $71=$2; //@line 192 "../src/h264bsd_decoder.c"
 var $72=(($71+3356)|0); //@line 192 "../src/h264bsd_decoder.c"
 var $73=(($72)|0); //@line 192 "../src/h264bsd_decoder.c"
 var $74=$73; //@line 192 "../src/h264bsd_decoder.c"
 var $75=$strm; //@line 192 "../src/h264bsd_decoder.c"
 assert(20 % 1 === 0);HEAP32[(($74)>>2)]=HEAP32[(($75)>>2)];HEAP32[((($74)+(4))>>2)]=HEAP32[((($75)+(4))>>2)];HEAP32[((($74)+(8))>>2)]=HEAP32[((($75)+(8))>>2)];HEAP32[((($74)+(12))>>2)]=HEAP32[((($75)+(12))>>2)];HEAP32[((($74)+(16))>>2)]=HEAP32[((($75)+(16))>>2)]; //@line 192 "../src/h264bsd_decoder.c"
 var $76=$6; //@line 193 "../src/h264bsd_decoder.c"
 var $77=HEAP32[(($76)>>2)]; //@line 193 "../src/h264bsd_decoder.c"
 var $78=$2; //@line 193 "../src/h264bsd_decoder.c"
 var $79=(($78+3352)|0); //@line 193 "../src/h264bsd_decoder.c"
 HEAP32[(($79)>>2)]=$77; //@line 193 "../src/h264bsd_decoder.c"
 var $80=$3; //@line 194 "../src/h264bsd_decoder.c"
 var $81=$2; //@line 194 "../src/h264bsd_decoder.c"
 var $82=(($81+3348)|0); //@line 194 "../src/h264bsd_decoder.c"
 HEAP32[(($82)>>2)]=$80; //@line 194 "../src/h264bsd_decoder.c"
 label=15;break;
 case 15: 
 var $84=$2; //@line 196 "../src/h264bsd_decoder.c"
 var $85=(($84+3344)|0); //@line 196 "../src/h264bsd_decoder.c"
 HEAP32[(($85)>>2)]=0; //@line 196 "../src/h264bsd_decoder.c"
 var $86=_h264bsdDecodeNalUnit($strm,$nalUnit); //@line 198 "../src/h264bsd_decoder.c"
 $tmp=$86; //@line 198 "../src/h264bsd_decoder.c"
 var $87=$tmp; //@line 199 "../src/h264bsd_decoder.c"
 var $88=($87|0)!=0; //@line 199 "../src/h264bsd_decoder.c"
 if($88){label=16;break;}else{label=17;break;} //@line 199 "../src/h264bsd_decoder.c"
 case 16: 
 var $90=HEAP32[((_stderr)>>2)]; //@line 201 "../src/h264bsd_decoder.c"
 var $91=_fprintf($90,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5216,tempVarArgs)); STACKTOP=tempVarArgs; //@line 201 "../src/h264bsd_decoder.c"
 $1=3; //@line 202 "../src/h264bsd_decoder.c"
 label=98;break; //@line 202 "../src/h264bsd_decoder.c"
 case 17: 
 var $93=(($nalUnit)|0); //@line 206 "../src/h264bsd_decoder.c"
 var $94=HEAP32[(($93)>>2)]; //@line 206 "../src/h264bsd_decoder.c"
 var $95=($94|0)==0; //@line 206 "../src/h264bsd_decoder.c"
 if($95){label=19;break;}else{label=18;break;} //@line 206 "../src/h264bsd_decoder.c"
 case 18: 
 var $97=(($nalUnit)|0); //@line 206 "../src/h264bsd_decoder.c"
 var $98=HEAP32[(($97)>>2)]; //@line 206 "../src/h264bsd_decoder.c"
 var $99=($98>>>0)>=13; //@line 206 "../src/h264bsd_decoder.c"
 if($99){label=19;break;}else{label=20;break;} //@line 206 "../src/h264bsd_decoder.c"
 case 19: 
 var $101=_printf(4792,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 208 "../src/h264bsd_decoder.c"
 $1=0; //@line 209 "../src/h264bsd_decoder.c"
 label=98;break; //@line 209 "../src/h264bsd_decoder.c"
 case 20: 
 var $103=$2; //@line 212 "../src/h264bsd_decoder.c"
 var $104=_h264bsdCheckAccessUnitBoundary($strm,$nalUnit,$103,$accessUnitBoundaryFlag); //@line 212 "../src/h264bsd_decoder.c"
 $tmp=$104; //@line 212 "../src/h264bsd_decoder.c"
 var $105=$tmp; //@line 217 "../src/h264bsd_decoder.c"
 var $106=($105|0)!=0; //@line 217 "../src/h264bsd_decoder.c"
 if($106){label=21;break;}else{label=24;break;} //@line 217 "../src/h264bsd_decoder.c"
 case 21: 
 var $108=HEAP32[((_stderr)>>2)]; //@line 219 "../src/h264bsd_decoder.c"
 var $109=_fprintf($108,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4400,tempVarArgs)); STACKTOP=tempVarArgs; //@line 219 "../src/h264bsd_decoder.c"
 var $110=$tmp; //@line 220 "../src/h264bsd_decoder.c"
 var $111=($110|0)==65520; //@line 220 "../src/h264bsd_decoder.c"
 if($111){label=22;break;}else{label=23;break;} //@line 220 "../src/h264bsd_decoder.c"
 case 22: 
 $1=4; //@line 221 "../src/h264bsd_decoder.c"
 label=98;break; //@line 221 "../src/h264bsd_decoder.c"
 case 23: 
 $1=3; //@line 223 "../src/h264bsd_decoder.c"
 label=98;break; //@line 223 "../src/h264bsd_decoder.c"
 case 24: 
 var $115=HEAP32[(($accessUnitBoundaryFlag)>>2)]; //@line 226 "../src/h264bsd_decoder.c"
 var $116=($115|0)!=0; //@line 226 "../src/h264bsd_decoder.c"
 if($116){label=25;break;}else{label=35;break;} //@line 226 "../src/h264bsd_decoder.c"
 case 25: 
 var $118=_printf(12272,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 228 "../src/h264bsd_decoder.c"
 var $119=$2; //@line 230 "../src/h264bsd_decoder.c"
 var $120=(($119+1184)|0); //@line 230 "../src/h264bsd_decoder.c"
 var $121=HEAP32[(($120)>>2)]; //@line 230 "../src/h264bsd_decoder.c"
 var $122=($121|0)!=0; //@line 230 "../src/h264bsd_decoder.c"
 if($122){label=26;break;}else{label=33;break;} //@line 230 "../src/h264bsd_decoder.c"
 case 26: 
 var $124=$2; //@line 230 "../src/h264bsd_decoder.c"
 var $125=(($124+16)|0); //@line 230 "../src/h264bsd_decoder.c"
 var $126=HEAP32[(($125)>>2)]; //@line 230 "../src/h264bsd_decoder.c"
 var $127=($126|0)!=0; //@line 230 "../src/h264bsd_decoder.c"
 if($127){label=27;break;}else{label=33;break;} //@line 230 "../src/h264bsd_decoder.c"
 case 27: 
 var $129=_printf(11896,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 232 "../src/h264bsd_decoder.c"
 var $130=$2; //@line 236 "../src/h264bsd_decoder.c"
 var $131=(($130+3380)|0); //@line 236 "../src/h264bsd_decoder.c"
 var $132=HEAP32[(($131)>>2)]; //@line 236 "../src/h264bsd_decoder.c"
 var $133=($132|0)!=0; //@line 236 "../src/h264bsd_decoder.c"
 if($133){label=28;break;}else{label=29;break;} //@line 236 "../src/h264bsd_decoder.c"
 case 28: 
 var $135=HEAP32[((_stderr)>>2)]; //@line 238 "../src/h264bsd_decoder.c"
 var $136=_fprintf($135,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11424,tempVarArgs)); STACKTOP=tempVarArgs; //@line 238 "../src/h264bsd_decoder.c"
 $1=3; //@line 239 "../src/h264bsd_decoder.c"
 label=98;break; //@line 239 "../src/h264bsd_decoder.c"
 case 29: 
 var $138=$2; //@line 242 "../src/h264bsd_decoder.c"
 var $139=(($138+1188)|0); //@line 242 "../src/h264bsd_decoder.c"
 var $140=HEAP32[(($139)>>2)]; //@line 242 "../src/h264bsd_decoder.c"
 var $141=($140|0)!=0; //@line 242 "../src/h264bsd_decoder.c"
 if($141){label=31;break;}else{label=30;break;} //@line 242 "../src/h264bsd_decoder.c"
 case 30: 
 var $143=$2; //@line 245 "../src/h264bsd_decoder.c"
 var $144=(($143+1220)|0); //@line 245 "../src/h264bsd_decoder.c"
 var $145=(($144)|0); //@line 245 "../src/h264bsd_decoder.c"
 var $146=_h264bsdAllocateDpbImage($145); //@line 245 "../src/h264bsd_decoder.c"
 var $147=$2; //@line 245 "../src/h264bsd_decoder.c"
 var $148=(($147+1336)|0); //@line 245 "../src/h264bsd_decoder.c"
 var $149=(($148)|0); //@line 245 "../src/h264bsd_decoder.c"
 var $150=(($149)|0); //@line 245 "../src/h264bsd_decoder.c"
 HEAP32[(($150)>>2)]=$146; //@line 245 "../src/h264bsd_decoder.c"
 var $151=$2; //@line 246 "../src/h264bsd_decoder.c"
 var $152=(($151+1220)|0); //@line 246 "../src/h264bsd_decoder.c"
 var $153=(($152)|0); //@line 246 "../src/h264bsd_decoder.c"
 _h264bsdInitRefPicList($153); //@line 246 "../src/h264bsd_decoder.c"
 var $154=$2; //@line 247 "../src/h264bsd_decoder.c"
 var $155=$2; //@line 247 "../src/h264bsd_decoder.c"
 var $156=(($155+1336)|0); //@line 247 "../src/h264bsd_decoder.c"
 var $157=(($156)|0); //@line 247 "../src/h264bsd_decoder.c"
 var $158=_h264bsdConceal($154,$157,0); //@line 247 "../src/h264bsd_decoder.c"
 $tmp=$158; //@line 247 "../src/h264bsd_decoder.c"
 label=32;break; //@line 248 "../src/h264bsd_decoder.c"
 case 31: 
 var $160=$2; //@line 250 "../src/h264bsd_decoder.c"
 var $161=$2; //@line 250 "../src/h264bsd_decoder.c"
 var $162=(($161+1336)|0); //@line 250 "../src/h264bsd_decoder.c"
 var $163=(($162)|0); //@line 250 "../src/h264bsd_decoder.c"
 var $164=$2; //@line 250 "../src/h264bsd_decoder.c"
 var $165=(($164+1368)|0); //@line 250 "../src/h264bsd_decoder.c"
 var $166=(($165)|0); //@line 250 "../src/h264bsd_decoder.c"
 var $167=(($166+4)|0); //@line 250 "../src/h264bsd_decoder.c"
 var $168=HEAP32[(($167)>>2)]; //@line 250 "../src/h264bsd_decoder.c"
 var $169=_h264bsdConceal($160,$163,$168); //@line 250 "../src/h264bsd_decoder.c"
 $tmp=$169; //@line 250 "../src/h264bsd_decoder.c"
 label=32;break;
 case 32: 
 $picReady=1; //@line 253 "../src/h264bsd_decoder.c"
 var $171=$6; //@line 257 "../src/h264bsd_decoder.c"
 HEAP32[(($171)>>2)]=0; //@line 257 "../src/h264bsd_decoder.c"
 var $172=$2; //@line 258 "../src/h264bsd_decoder.c"
 var $173=(($172+3344)|0); //@line 258 "../src/h264bsd_decoder.c"
 HEAP32[(($173)>>2)]=1; //@line 258 "../src/h264bsd_decoder.c"
 var $174=_printf(10952,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 259 "../src/h264bsd_decoder.c"
 label=34;break; //@line 260 "../src/h264bsd_decoder.c"
 case 33: 
 var $176=$2; //@line 263 "../src/h264bsd_decoder.c"
 var $177=(($176+1188)|0); //@line 263 "../src/h264bsd_decoder.c"
 HEAP32[(($177)>>2)]=0; //@line 263 "../src/h264bsd_decoder.c"
 label=34;break;
 case 34: 
 var $179=$2; //@line 265 "../src/h264bsd_decoder.c"
 var $180=(($179+1180)|0); //@line 265 "../src/h264bsd_decoder.c"
 HEAP32[(($180)>>2)]=0; //@line 265 "../src/h264bsd_decoder.c"
 label=35;break; //@line 266 "../src/h264bsd_decoder.c"
 case 35: 
 var $182=$picReady; //@line 268 "../src/h264bsd_decoder.c"
 var $183=($182|0)!=0; //@line 268 "../src/h264bsd_decoder.c"
 if($183){label=90;break;}else{label=36;break;} //@line 268 "../src/h264bsd_decoder.c"
 case 36: 
 var $185=(($nalUnit)|0); //@line 270 "../src/h264bsd_decoder.c"
 var $186=HEAP32[(($185)>>2)]; //@line 270 "../src/h264bsd_decoder.c"
 switch(($186|0)){case 7:{ label=37;break;}case 8:{ label=40;break;}case 5:{ label=43;break;}case 1:{ label=44;break;}case 6:{ label=87;break;}default:{label=88;break;}}break;
 case 37: 
 var $188=_printf(10488,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 273 "../src/h264bsd_decoder.c"
 var $189=_h264bsdDecodeSeqParamSet($strm,$seqParamSet); //@line 274 "../src/h264bsd_decoder.c"
 $tmp=$189; //@line 274 "../src/h264bsd_decoder.c"
 var $190=$tmp; //@line 275 "../src/h264bsd_decoder.c"
 var $191=($190|0)!=0; //@line 275 "../src/h264bsd_decoder.c"
 if($191){label=38;break;}else{label=39;break;} //@line 275 "../src/h264bsd_decoder.c"
 case 38: 
 var $193=HEAP32[((_stderr)>>2)]; //@line 277 "../src/h264bsd_decoder.c"
 var $194=_fprintf($193,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=10240,tempVarArgs)); STACKTOP=tempVarArgs; //@line 277 "../src/h264bsd_decoder.c"
 var $195=(($seqParamSet+40)|0); //@line 278 "../src/h264bsd_decoder.c"
 var $196=HEAP32[(($195)>>2)]; //@line 278 "../src/h264bsd_decoder.c"
 var $197=$196; //@line 278 "../src/h264bsd_decoder.c"
 _free($197); //@line 278 "../src/h264bsd_decoder.c"
 var $198=(($seqParamSet+40)|0); //@line 278 "../src/h264bsd_decoder.c"
 HEAP32[(($198)>>2)]=0; //@line 278 "../src/h264bsd_decoder.c"
 var $199=(($seqParamSet+84)|0); //@line 279 "../src/h264bsd_decoder.c"
 var $200=HEAP32[(($199)>>2)]; //@line 279 "../src/h264bsd_decoder.c"
 var $201=$200; //@line 279 "../src/h264bsd_decoder.c"
 _free($201); //@line 279 "../src/h264bsd_decoder.c"
 var $202=(($seqParamSet+84)|0); //@line 279 "../src/h264bsd_decoder.c"
 HEAP32[(($202)>>2)]=0; //@line 279 "../src/h264bsd_decoder.c"
 $1=3; //@line 280 "../src/h264bsd_decoder.c"
 label=98;break; //@line 280 "../src/h264bsd_decoder.c"
 case 39: 
 var $204=$2; //@line 282 "../src/h264bsd_decoder.c"
 var $205=_h264bsdStoreSeqParamSet($204,$seqParamSet); //@line 282 "../src/h264bsd_decoder.c"
 $tmp=$205; //@line 282 "../src/h264bsd_decoder.c"
 label=89;break; //@line 283 "../src/h264bsd_decoder.c"
 case 40: 
 var $207=_printf(9976,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 286 "../src/h264bsd_decoder.c"
 var $208=_h264bsdDecodePicParamSet($strm,$picParamSet); //@line 287 "../src/h264bsd_decoder.c"
 $tmp=$208; //@line 287 "../src/h264bsd_decoder.c"
 var $209=$tmp; //@line 288 "../src/h264bsd_decoder.c"
 var $210=($209|0)!=0; //@line 288 "../src/h264bsd_decoder.c"
 if($210){label=41;break;}else{label=42;break;} //@line 288 "../src/h264bsd_decoder.c"
 case 41: 
 var $212=HEAP32[((_stderr)>>2)]; //@line 290 "../src/h264bsd_decoder.c"
 var $213=_fprintf($212,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=9936,tempVarArgs)); STACKTOP=tempVarArgs; //@line 290 "../src/h264bsd_decoder.c"
 var $214=(($picParamSet+20)|0); //@line 291 "../src/h264bsd_decoder.c"
 var $215=HEAP32[(($214)>>2)]; //@line 291 "../src/h264bsd_decoder.c"
 var $216=$215; //@line 291 "../src/h264bsd_decoder.c"
 _free($216); //@line 291 "../src/h264bsd_decoder.c"
 var $217=(($picParamSet+20)|0); //@line 291 "../src/h264bsd_decoder.c"
 HEAP32[(($217)>>2)]=0; //@line 291 "../src/h264bsd_decoder.c"
 var $218=(($picParamSet+24)|0); //@line 292 "../src/h264bsd_decoder.c"
 var $219=HEAP32[(($218)>>2)]; //@line 292 "../src/h264bsd_decoder.c"
 var $220=$219; //@line 292 "../src/h264bsd_decoder.c"
 _free($220); //@line 292 "../src/h264bsd_decoder.c"
 var $221=(($picParamSet+24)|0); //@line 292 "../src/h264bsd_decoder.c"
 HEAP32[(($221)>>2)]=0; //@line 292 "../src/h264bsd_decoder.c"
 var $222=(($picParamSet+28)|0); //@line 293 "../src/h264bsd_decoder.c"
 var $223=HEAP32[(($222)>>2)]; //@line 293 "../src/h264bsd_decoder.c"
 var $224=$223; //@line 293 "../src/h264bsd_decoder.c"
 _free($224); //@line 293 "../src/h264bsd_decoder.c"
 var $225=(($picParamSet+28)|0); //@line 293 "../src/h264bsd_decoder.c"
 HEAP32[(($225)>>2)]=0; //@line 293 "../src/h264bsd_decoder.c"
 var $226=(($picParamSet+44)|0); //@line 294 "../src/h264bsd_decoder.c"
 var $227=HEAP32[(($226)>>2)]; //@line 294 "../src/h264bsd_decoder.c"
 var $228=$227; //@line 294 "../src/h264bsd_decoder.c"
 _free($228); //@line 294 "../src/h264bsd_decoder.c"
 var $229=(($picParamSet+44)|0); //@line 294 "../src/h264bsd_decoder.c"
 HEAP32[(($229)>>2)]=0; //@line 294 "../src/h264bsd_decoder.c"
 $1=3; //@line 295 "../src/h264bsd_decoder.c"
 label=98;break; //@line 295 "../src/h264bsd_decoder.c"
 case 42: 
 var $231=$2; //@line 297 "../src/h264bsd_decoder.c"
 var $232=_h264bsdStorePicParamSet($231,$picParamSet); //@line 297 "../src/h264bsd_decoder.c"
 $tmp=$232; //@line 297 "../src/h264bsd_decoder.c"
 label=89;break; //@line 298 "../src/h264bsd_decoder.c"
 case 43: 
 var $234=_printf(9728,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 301 "../src/h264bsd_decoder.c"
 label=44;break; //@line 301 "../src/h264bsd_decoder.c"
 case 44: 
 var $236=_printf(9624,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 304 "../src/h264bsd_decoder.c"
 var $237=$2; //@line 308 "../src/h264bsd_decoder.c"
 var $238=(($237+1180)|0); //@line 308 "../src/h264bsd_decoder.c"
 var $239=HEAP32[(($238)>>2)]; //@line 308 "../src/h264bsd_decoder.c"
 var $240=($239|0)!=0; //@line 308 "../src/h264bsd_decoder.c"
 if($240){label=45;break;}else{label=46;break;} //@line 308 "../src/h264bsd_decoder.c"
 case 45: 
 $1=0; //@line 309 "../src/h264bsd_decoder.c"
 label=98;break; //@line 309 "../src/h264bsd_decoder.c"
 case 46: 
 var $243=$2; //@line 311 "../src/h264bsd_decoder.c"
 var $244=(($243+1184)|0); //@line 311 "../src/h264bsd_decoder.c"
 HEAP32[(($244)>>2)]=1; //@line 311 "../src/h264bsd_decoder.c"
 var $245=$2; //@line 313 "../src/h264bsd_decoder.c"
 var $246=_h264bsdIsStartOfPicture($245); //@line 313 "../src/h264bsd_decoder.c"
 var $247=($246|0)!=0; //@line 313 "../src/h264bsd_decoder.c"
 if($247){label=47;break;}else{label=70;break;} //@line 313 "../src/h264bsd_decoder.c"
 case 47: 
 var $249=$2; //@line 315 "../src/h264bsd_decoder.c"
 var $250=(($249+1204)|0); //@line 315 "../src/h264bsd_decoder.c"
 HEAP32[(($250)>>2)]=0; //@line 315 "../src/h264bsd_decoder.c"
 var $251=$5; //@line 316 "../src/h264bsd_decoder.c"
 var $252=$2; //@line 316 "../src/h264bsd_decoder.c"
 var $253=(($252+1208)|0); //@line 316 "../src/h264bsd_decoder.c"
 HEAP32[(($253)>>2)]=$251; //@line 316 "../src/h264bsd_decoder.c"
 var $254=_h264bsdCheckPpsId($strm,$ppsId); //@line 318 "../src/h264bsd_decoder.c"
 $tmp=$254; //@line 318 "../src/h264bsd_decoder.c"
 var $255=$tmp; //@line 319 "../src/h264bsd_decoder.c"
 var $256=($255|0)==0; //@line 319 "../src/h264bsd_decoder.c"
 if($256){var $260=1;label=49;break;}else{label=48;break;} //@line 319 "../src/h264bsd_decoder.c"
 case 48: 
 ___assert_fail(9400,10968,319,14528); //@line 319 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 319 "../src/h264bsd_decoder.c"
 label=49;break; //@line 319 "../src/h264bsd_decoder.c"
 case 49: 
 var $260;
 var $261=($260&1); //@line 319 "../src/h264bsd_decoder.c"
 var $262=$2; //@line 322 "../src/h264bsd_decoder.c"
 var $263=(($262+8)|0); //@line 322 "../src/h264bsd_decoder.c"
 var $264=HEAP32[(($263)>>2)]; //@line 322 "../src/h264bsd_decoder.c"
 $spsId=$264; //@line 322 "../src/h264bsd_decoder.c"
 var $265=$2; //@line 323 "../src/h264bsd_decoder.c"
 var $266=HEAP32[(($ppsId)>>2)]; //@line 323 "../src/h264bsd_decoder.c"
 var $267=(($nalUnit)|0); //@line 323 "../src/h264bsd_decoder.c"
 var $268=HEAP32[(($267)>>2)]; //@line 323 "../src/h264bsd_decoder.c"
 var $269=($268|0)==5; //@line 323 "../src/h264bsd_decoder.c"
 var $270=($269?1:0); //@line 323 "../src/h264bsd_decoder.c"
 var $271=_h264bsdActivateParamSets($265,$266,$270); //@line 323 "../src/h264bsd_decoder.c"
 $tmp=$271; //@line 323 "../src/h264bsd_decoder.c"
 var $272=$tmp; //@line 326 "../src/h264bsd_decoder.c"
 var $273=($272|0)!=0; //@line 326 "../src/h264bsd_decoder.c"
 if($273){label=50;break;}else{label=53;break;} //@line 326 "../src/h264bsd_decoder.c"
 case 50: 
 var $275=HEAP32[((_stderr)>>2)]; //@line 328 "../src/h264bsd_decoder.c"
 var $276=_fprintf($275,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=9352,tempVarArgs)); STACKTOP=tempVarArgs; //@line 328 "../src/h264bsd_decoder.c"
 var $277=$2; //@line 329 "../src/h264bsd_decoder.c"
 var $278=(($277+4)|0); //@line 329 "../src/h264bsd_decoder.c"
 HEAP32[(($278)>>2)]=256; //@line 329 "../src/h264bsd_decoder.c"
 var $279=$2; //@line 330 "../src/h264bsd_decoder.c"
 var $280=(($279+12)|0); //@line 330 "../src/h264bsd_decoder.c"
 HEAP32[(($280)>>2)]=0; //@line 330 "../src/h264bsd_decoder.c"
 var $281=$2; //@line 331 "../src/h264bsd_decoder.c"
 var $282=(($281+8)|0); //@line 331 "../src/h264bsd_decoder.c"
 HEAP32[(($282)>>2)]=32; //@line 331 "../src/h264bsd_decoder.c"
 var $283=$2; //@line 332 "../src/h264bsd_decoder.c"
 var $284=(($283+16)|0); //@line 332 "../src/h264bsd_decoder.c"
 HEAP32[(($284)>>2)]=0; //@line 332 "../src/h264bsd_decoder.c"
 var $285=$2; //@line 333 "../src/h264bsd_decoder.c"
 var $286=(($285+3380)|0); //@line 333 "../src/h264bsd_decoder.c"
 HEAP32[(($286)>>2)]=0; //@line 333 "../src/h264bsd_decoder.c"
 var $287=$tmp; //@line 335 "../src/h264bsd_decoder.c"
 var $288=($287|0)==65535; //@line 335 "../src/h264bsd_decoder.c"
 if($288){label=51;break;}else{label=52;break;} //@line 335 "../src/h264bsd_decoder.c"
 case 51: 
 $1=5; //@line 337 "../src/h264bsd_decoder.c"
 label=98;break; //@line 337 "../src/h264bsd_decoder.c"
 case 52: 
 $1=4; //@line 340 "../src/h264bsd_decoder.c"
 label=98;break; //@line 340 "../src/h264bsd_decoder.c"
 case 53: 
 var $292=$spsId; //@line 343 "../src/h264bsd_decoder.c"
 var $293=$2; //@line 343 "../src/h264bsd_decoder.c"
 var $294=(($293+8)|0); //@line 343 "../src/h264bsd_decoder.c"
 var $295=HEAP32[(($294)>>2)]; //@line 343 "../src/h264bsd_decoder.c"
 var $296=($292|0)!=($295|0); //@line 343 "../src/h264bsd_decoder.c"
 if($296){label=54;break;}else{label=69;break;} //@line 343 "../src/h264bsd_decoder.c"
 case 54: 
 $oldSPS=0; //@line 345 "../src/h264bsd_decoder.c"
 var $298=$2; //@line 346 "../src/h264bsd_decoder.c"
 var $299=(($298+16)|0); //@line 346 "../src/h264bsd_decoder.c"
 var $300=HEAP32[(($299)>>2)]; //@line 346 "../src/h264bsd_decoder.c"
 $newSPS=$300; //@line 346 "../src/h264bsd_decoder.c"
 HEAP32[(($noOutputOfPriorPicsFlag)>>2)]=1; //@line 347 "../src/h264bsd_decoder.c"
 var $301=$2; //@line 349 "../src/h264bsd_decoder.c"
 var $302=(($301)|0); //@line 349 "../src/h264bsd_decoder.c"
 var $303=HEAP32[(($302)>>2)]; //@line 349 "../src/h264bsd_decoder.c"
 var $304=($303>>>0)<32; //@line 349 "../src/h264bsd_decoder.c"
 if($304){label=55;break;}else{label=56;break;} //@line 349 "../src/h264bsd_decoder.c"
 case 55: 
 var $306=$2; //@line 351 "../src/h264bsd_decoder.c"
 var $307=(($306)|0); //@line 351 "../src/h264bsd_decoder.c"
 var $308=HEAP32[(($307)>>2)]; //@line 351 "../src/h264bsd_decoder.c"
 var $309=$2; //@line 351 "../src/h264bsd_decoder.c"
 var $310=(($309+20)|0); //@line 351 "../src/h264bsd_decoder.c"
 var $311=(($310+($308<<2))|0); //@line 351 "../src/h264bsd_decoder.c"
 var $312=HEAP32[(($311)>>2)]; //@line 351 "../src/h264bsd_decoder.c"
 $oldSPS=$312; //@line 351 "../src/h264bsd_decoder.c"
 label=56;break; //@line 352 "../src/h264bsd_decoder.c"
 case 56: 
 var $314=$6; //@line 354 "../src/h264bsd_decoder.c"
 HEAP32[(($314)>>2)]=0; //@line 354 "../src/h264bsd_decoder.c"
 var $315=$2; //@line 355 "../src/h264bsd_decoder.c"
 var $316=(($315+3344)|0); //@line 355 "../src/h264bsd_decoder.c"
 HEAP32[(($316)>>2)]=1; //@line 355 "../src/h264bsd_decoder.c"
 var $317=(($nalUnit)|0); //@line 358 "../src/h264bsd_decoder.c"
 var $318=HEAP32[(($317)>>2)]; //@line 358 "../src/h264bsd_decoder.c"
 var $319=($318|0)==5; //@line 358 "../src/h264bsd_decoder.c"
 if($319){label=57;break;}else{label=58;break;} //@line 358 "../src/h264bsd_decoder.c"
 case 57: 
 var $321=$newSPS; //@line 361 "../src/h264bsd_decoder.c"
 var $322=$2; //@line 361 "../src/h264bsd_decoder.c"
 var $323=(($322+12)|0); //@line 361 "../src/h264bsd_decoder.c"
 var $324=HEAP32[(($323)>>2)]; //@line 361 "../src/h264bsd_decoder.c"
 var $325=(($nalUnit)|0); //@line 361 "../src/h264bsd_decoder.c"
 var $326=HEAP32[(($325)>>2)]; //@line 361 "../src/h264bsd_decoder.c"
 var $327=_h264bsdCheckPriorPicsFlag($noOutputOfPriorPicsFlag,$strm,$321,$324,$326); //@line 361 "../src/h264bsd_decoder.c"
 $tmp=$327; //@line 361 "../src/h264bsd_decoder.c"
 label=59;break; //@line 365 "../src/h264bsd_decoder.c"
 case 58: 
 $tmp=1; //@line 368 "../src/h264bsd_decoder.c"
 label=59;break;
 case 59: 
 var $330=$tmp; //@line 371 "../src/h264bsd_decoder.c"
 var $331=($330|0)!=0; //@line 371 "../src/h264bsd_decoder.c"
 if($331){label=66;break;}else{label=60;break;} //@line 371 "../src/h264bsd_decoder.c"
 case 60: 
 var $333=HEAP32[(($noOutputOfPriorPicsFlag)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $334=($333|0)!=0; //@line 371 "../src/h264bsd_decoder.c"
 if($334){label=66;break;}else{label=61;break;} //@line 371 "../src/h264bsd_decoder.c"
 case 61: 
 var $336=$2; //@line 371 "../src/h264bsd_decoder.c"
 var $337=(($336+1220)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $338=(($337)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $339=(($338+56)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $340=HEAP32[(($339)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $341=($340|0)!=0; //@line 371 "../src/h264bsd_decoder.c"
 if($341){label=66;break;}else{label=62;break;} //@line 371 "../src/h264bsd_decoder.c"
 case 62: 
 var $343=$oldSPS; //@line 371 "../src/h264bsd_decoder.c"
 var $344=($343|0)==0; //@line 371 "../src/h264bsd_decoder.c"
 if($344){label=66;break;}else{label=63;break;} //@line 371 "../src/h264bsd_decoder.c"
 case 63: 
 var $346=$oldSPS; //@line 371 "../src/h264bsd_decoder.c"
 var $347=(($346+52)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $348=HEAP32[(($347)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $349=$newSPS; //@line 371 "../src/h264bsd_decoder.c"
 var $350=(($349+52)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $351=HEAP32[(($350)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $352=($348|0)!=($351|0); //@line 371 "../src/h264bsd_decoder.c"
 if($352){label=66;break;}else{label=64;break;} //@line 371 "../src/h264bsd_decoder.c"
 case 64: 
 var $354=$oldSPS; //@line 371 "../src/h264bsd_decoder.c"
 var $355=(($354+56)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $356=HEAP32[(($355)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $357=$newSPS; //@line 371 "../src/h264bsd_decoder.c"
 var $358=(($357+56)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $359=HEAP32[(($358)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $360=($356|0)!=($359|0); //@line 371 "../src/h264bsd_decoder.c"
 if($360){label=66;break;}else{label=65;break;} //@line 371 "../src/h264bsd_decoder.c"
 case 65: 
 var $362=$oldSPS; //@line 371 "../src/h264bsd_decoder.c"
 var $363=(($362+88)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $364=HEAP32[(($363)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $365=$newSPS; //@line 371 "../src/h264bsd_decoder.c"
 var $366=(($365+88)|0); //@line 371 "../src/h264bsd_decoder.c"
 var $367=HEAP32[(($366)>>2)]; //@line 371 "../src/h264bsd_decoder.c"
 var $368=($364|0)!=($367|0); //@line 371 "../src/h264bsd_decoder.c"
 if($368){label=66;break;}else{label=67;break;} //@line 371 "../src/h264bsd_decoder.c"
 case 66: 
 var $370=$2; //@line 379 "../src/h264bsd_decoder.c"
 var $371=(($370+1220)|0); //@line 379 "../src/h264bsd_decoder.c"
 var $372=(($371)|0); //@line 379 "../src/h264bsd_decoder.c"
 var $373=(($372+60)|0); //@line 379 "../src/h264bsd_decoder.c"
 HEAP32[(($373)>>2)]=0; //@line 379 "../src/h264bsd_decoder.c"
 label=68;break; //@line 380 "../src/h264bsd_decoder.c"
 case 67: 
 var $375=$2; //@line 383 "../src/h264bsd_decoder.c"
 var $376=(($375+1220)|0); //@line 383 "../src/h264bsd_decoder.c"
 var $377=(($376)|0); //@line 383 "../src/h264bsd_decoder.c"
 _h264bsdFlushDpb($377); //@line 383 "../src/h264bsd_decoder.c"
 label=68;break;
 case 68: 
 var $379=$2; //@line 386 "../src/h264bsd_decoder.c"
 var $380=(($379+8)|0); //@line 386 "../src/h264bsd_decoder.c"
 var $381=HEAP32[(($380)>>2)]; //@line 386 "../src/h264bsd_decoder.c"
 var $382=$2; //@line 386 "../src/h264bsd_decoder.c"
 var $383=(($382)|0); //@line 386 "../src/h264bsd_decoder.c"
 HEAP32[(($383)>>2)]=$381; //@line 386 "../src/h264bsd_decoder.c"
 $1=2; //@line 388 "../src/h264bsd_decoder.c"
 label=98;break; //@line 388 "../src/h264bsd_decoder.c"
 case 69: 
 label=70;break; //@line 390 "../src/h264bsd_decoder.c"
 case 70: 
 var $386=$2; //@line 394 "../src/h264bsd_decoder.c"
 var $387=(($386+3380)|0); //@line 394 "../src/h264bsd_decoder.c"
 var $388=HEAP32[(($387)>>2)]; //@line 394 "../src/h264bsd_decoder.c"
 var $389=($388|0)!=0; //@line 394 "../src/h264bsd_decoder.c"
 if($389){label=71;break;}else{label=72;break;} //@line 394 "../src/h264bsd_decoder.c"
 case 71: 
 var $391=HEAP32[((_stderr)>>2)]; //@line 396 "../src/h264bsd_decoder.c"
 var $392=_fprintf($391,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11424,tempVarArgs)); STACKTOP=tempVarArgs; //@line 396 "../src/h264bsd_decoder.c"
 $1=3; //@line 397 "../src/h264bsd_decoder.c"
 label=98;break; //@line 397 "../src/h264bsd_decoder.c"
 case 72: 
 var $394=$2; //@line 399 "../src/h264bsd_decoder.c"
 var $395=(($394+1368)|0); //@line 399 "../src/h264bsd_decoder.c"
 var $396=(($395)|0); //@line 399 "../src/h264bsd_decoder.c"
 var $397=(($396+988)|0); //@line 399 "../src/h264bsd_decoder.c"
 var $398=$2; //@line 399 "../src/h264bsd_decoder.c"
 var $399=(($398+16)|0); //@line 399 "../src/h264bsd_decoder.c"
 var $400=HEAP32[(($399)>>2)]; //@line 399 "../src/h264bsd_decoder.c"
 var $401=$2; //@line 399 "../src/h264bsd_decoder.c"
 var $402=(($401+12)|0); //@line 399 "../src/h264bsd_decoder.c"
 var $403=HEAP32[(($402)>>2)]; //@line 399 "../src/h264bsd_decoder.c"
 var $404=_h264bsdDecodeSliceHeader($strm,$397,$400,$403,$nalUnit); //@line 399 "../src/h264bsd_decoder.c"
 $tmp=$404; //@line 399 "../src/h264bsd_decoder.c"
 var $405=$tmp; //@line 401 "../src/h264bsd_decoder.c"
 var $406=($405|0)!=0; //@line 401 "../src/h264bsd_decoder.c"
 if($406){label=73;break;}else{label=74;break;} //@line 401 "../src/h264bsd_decoder.c"
 case 73: 
 var $408=HEAP32[((_stderr)>>2)]; //@line 403 "../src/h264bsd_decoder.c"
 var $409=_fprintf($408,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=9112,tempVarArgs)); STACKTOP=tempVarArgs; //@line 403 "../src/h264bsd_decoder.c"
 $1=3; //@line 404 "../src/h264bsd_decoder.c"
 label=98;break; //@line 404 "../src/h264bsd_decoder.c"
 case 74: 
 var $411=$2; //@line 406 "../src/h264bsd_decoder.c"
 var $412=_h264bsdIsStartOfPicture($411); //@line 406 "../src/h264bsd_decoder.c"
 var $413=($412|0)!=0; //@line 406 "../src/h264bsd_decoder.c"
 if($413){label=75;break;}else{label=80;break;} //@line 406 "../src/h264bsd_decoder.c"
 case 75: 
 var $415=(($nalUnit)|0); //@line 408 "../src/h264bsd_decoder.c"
 var $416=HEAP32[(($415)>>2)]; //@line 408 "../src/h264bsd_decoder.c"
 var $417=($416|0)==5; //@line 408 "../src/h264bsd_decoder.c"
 if($417){label=79;break;}else{label=76;break;} //@line 408 "../src/h264bsd_decoder.c"
 case 76: 
 var $419=$2; //@line 410 "../src/h264bsd_decoder.c"
 var $420=(($419+1220)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $421=(($420)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $422=$2; //@line 410 "../src/h264bsd_decoder.c"
 var $423=(($422+1368)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $424=(($423+988)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $425=(($424+12)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $426=HEAP32[(($425)>>2)]; //@line 410 "../src/h264bsd_decoder.c"
 var $427=(($nalUnit+4)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $428=HEAP32[(($427)>>2)]; //@line 410 "../src/h264bsd_decoder.c"
 var $429=($428|0)!=0; //@line 410 "../src/h264bsd_decoder.c"
 var $430=($429?1:0); //@line 410 "../src/h264bsd_decoder.c"
 var $431=$2; //@line 410 "../src/h264bsd_decoder.c"
 var $432=(($431+16)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $433=HEAP32[(($432)>>2)]; //@line 410 "../src/h264bsd_decoder.c"
 var $434=(($433+48)|0); //@line 410 "../src/h264bsd_decoder.c"
 var $435=HEAP32[(($434)>>2)]; //@line 410 "../src/h264bsd_decoder.c"
 var $436=_h264bsdCheckGapsInFrameNum($421,$426,$430,$435); //@line 410 "../src/h264bsd_decoder.c"
 $tmp=$436; //@line 410 "../src/h264bsd_decoder.c"
 var $437=$tmp; //@line 416 "../src/h264bsd_decoder.c"
 var $438=($437|0)!=0; //@line 416 "../src/h264bsd_decoder.c"
 if($438){label=77;break;}else{label=78;break;} //@line 416 "../src/h264bsd_decoder.c"
 case 77: 
 var $440=HEAP32[((_stderr)>>2)]; //@line 418 "../src/h264bsd_decoder.c"
 var $441=_fprintf($440,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=8968,tempVarArgs)); STACKTOP=tempVarArgs; //@line 418 "../src/h264bsd_decoder.c"
 $1=3; //@line 419 "../src/h264bsd_decoder.c"
 label=98;break; //@line 419 "../src/h264bsd_decoder.c"
 case 78: 
 label=79;break; //@line 421 "../src/h264bsd_decoder.c"
 case 79: 
 var $444=$2; //@line 423 "../src/h264bsd_decoder.c"
 var $445=(($444+1220)|0); //@line 423 "../src/h264bsd_decoder.c"
 var $446=(($445)|0); //@line 423 "../src/h264bsd_decoder.c"
 var $447=_h264bsdAllocateDpbImage($446); //@line 423 "../src/h264bsd_decoder.c"
 var $448=$2; //@line 423 "../src/h264bsd_decoder.c"
 var $449=(($448+1336)|0); //@line 423 "../src/h264bsd_decoder.c"
 var $450=(($449)|0); //@line 423 "../src/h264bsd_decoder.c"
 var $451=(($450)|0); //@line 423 "../src/h264bsd_decoder.c"
 HEAP32[(($451)>>2)]=$447; //@line 423 "../src/h264bsd_decoder.c"
 label=80;break; //@line 424 "../src/h264bsd_decoder.c"
 case 80: 
 var $453=$2; //@line 427 "../src/h264bsd_decoder.c"
 var $454=(($453+1368)|0); //@line 427 "../src/h264bsd_decoder.c"
 var $455=(($454)|0); //@line 427 "../src/h264bsd_decoder.c"
 var $456=$2; //@line 427 "../src/h264bsd_decoder.c"
 var $457=(($456+1368)|0); //@line 427 "../src/h264bsd_decoder.c"
 var $458=(($457+988)|0); //@line 427 "../src/h264bsd_decoder.c"
 var $459=$455; //@line 427 "../src/h264bsd_decoder.c"
 var $460=$458; //@line 427 "../src/h264bsd_decoder.c"
 assert(988 % 1 === 0);(_memcpy($459, $460, 988)|0); //@line 427 "../src/h264bsd_decoder.c"
 var $461=$2; //@line 428 "../src/h264bsd_decoder.c"
 var $462=(($461+1188)|0); //@line 428 "../src/h264bsd_decoder.c"
 HEAP32[(($462)>>2)]=1; //@line 428 "../src/h264bsd_decoder.c"
 var $463=$2; //@line 429 "../src/h264bsd_decoder.c"
 var $464=(($463+1360)|0); //@line 429 "../src/h264bsd_decoder.c"
 var $465=(($464)|0); //@line 429 "../src/h264bsd_decoder.c"
 var $466=$465; //@line 429 "../src/h264bsd_decoder.c"
 var $467=$nalUnit; //@line 429 "../src/h264bsd_decoder.c"
 assert(8 % 1 === 0);HEAP32[(($466)>>2)]=HEAP32[(($467)>>2)];HEAP32[((($466)+(4))>>2)]=HEAP32[((($467)+(4))>>2)]; //@line 429 "../src/h264bsd_decoder.c"
 var $468=$2; //@line 431 "../src/h264bsd_decoder.c"
 var $469=$2; //@line 431 "../src/h264bsd_decoder.c"
 var $470=(($469+1368)|0); //@line 431 "../src/h264bsd_decoder.c"
 var $471=(($470)|0); //@line 431 "../src/h264bsd_decoder.c"
 var $472=(($471+64)|0); //@line 431 "../src/h264bsd_decoder.c"
 var $473=HEAP32[(($472)>>2)]; //@line 431 "../src/h264bsd_decoder.c"
 _h264bsdComputeSliceGroupMap($468,$473); //@line 431 "../src/h264bsd_decoder.c"
 var $474=$2; //@line 434 "../src/h264bsd_decoder.c"
 var $475=(($474+1220)|0); //@line 434 "../src/h264bsd_decoder.c"
 var $476=(($475)|0); //@line 434 "../src/h264bsd_decoder.c"
 _h264bsdInitRefPicList($476); //@line 434 "../src/h264bsd_decoder.c"
 var $477=$2; //@line 435 "../src/h264bsd_decoder.c"
 var $478=(($477+1220)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $479=(($478)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $480=$2; //@line 435 "../src/h264bsd_decoder.c"
 var $481=(($480+1368)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $482=(($481)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $483=(($482+68)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $484=$2; //@line 435 "../src/h264bsd_decoder.c"
 var $485=(($484+1368)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $486=(($485)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $487=(($486+12)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $488=HEAP32[(($487)>>2)]; //@line 435 "../src/h264bsd_decoder.c"
 var $489=$2; //@line 435 "../src/h264bsd_decoder.c"
 var $490=(($489+1368)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $491=(($490)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $492=(($491+44)|0); //@line 435 "../src/h264bsd_decoder.c"
 var $493=HEAP32[(($492)>>2)]; //@line 435 "../src/h264bsd_decoder.c"
 var $494=_h264bsdReorderRefPicList($479,$483,$488,$493); //@line 435 "../src/h264bsd_decoder.c"
 $tmp=$494; //@line 435 "../src/h264bsd_decoder.c"
 var $495=$tmp; //@line 439 "../src/h264bsd_decoder.c"
 var $496=($495|0)!=0; //@line 439 "../src/h264bsd_decoder.c"
 if($496){label=81;break;}else{label=82;break;} //@line 439 "../src/h264bsd_decoder.c"
 case 81: 
 var $498=HEAP32[((_stderr)>>2)]; //@line 441 "../src/h264bsd_decoder.c"
 var $499=_fprintf($498,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=8840,tempVarArgs)); STACKTOP=tempVarArgs; //@line 441 "../src/h264bsd_decoder.c"
 $1=3; //@line 442 "../src/h264bsd_decoder.c"
 label=98;break; //@line 442 "../src/h264bsd_decoder.c"
 case 82: 
 var $501=$2; //@line 445 "../src/h264bsd_decoder.c"
 var $502=(($501+1368)|0); //@line 445 "../src/h264bsd_decoder.c"
 var $503=(($502)|0); //@line 445 "../src/h264bsd_decoder.c"
 var $504=(($503)|0); //@line 445 "../src/h264bsd_decoder.c"
 var $505=HEAP32[(($504)>>2)]; //@line 445 "../src/h264bsd_decoder.c"
 var $506=_printf(8696,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=$505,tempVarArgs)); STACKTOP=tempVarArgs; //@line 445 "../src/h264bsd_decoder.c"
 var $507=$2; //@line 447 "../src/h264bsd_decoder.c"
 var $508=$2; //@line 447 "../src/h264bsd_decoder.c"
 var $509=(($508+1336)|0); //@line 447 "../src/h264bsd_decoder.c"
 var $510=(($509)|0); //@line 447 "../src/h264bsd_decoder.c"
 var $511=$2; //@line 447 "../src/h264bsd_decoder.c"
 var $512=(($511+1368)|0); //@line 447 "../src/h264bsd_decoder.c"
 var $513=(($512)|0); //@line 447 "../src/h264bsd_decoder.c"
 var $514=_h264bsdDecodeSliceData($strm,$507,$510,$513); //@line 447 "../src/h264bsd_decoder.c"
 $tmp=$514; //@line 447 "../src/h264bsd_decoder.c"
 var $515=$tmp; //@line 449 "../src/h264bsd_decoder.c"
 var $516=($515|0)!=0; //@line 449 "../src/h264bsd_decoder.c"
 if($516){label=83;break;}else{label=84;break;} //@line 449 "../src/h264bsd_decoder.c"
 case 83: 
 var $518=HEAP32[((_stderr)>>2)]; //@line 451 "../src/h264bsd_decoder.c"
 var $519=_fprintf($518,6080,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=8576,tempVarArgs)); STACKTOP=tempVarArgs; //@line 451 "../src/h264bsd_decoder.c"
 var $520=$2; //@line 452 "../src/h264bsd_decoder.c"
 var $521=$2; //@line 452 "../src/h264bsd_decoder.c"
 var $522=(($521+1368)|0); //@line 452 "../src/h264bsd_decoder.c"
 var $523=(($522)|0); //@line 452 "../src/h264bsd_decoder.c"
 var $524=(($523)|0); //@line 452 "../src/h264bsd_decoder.c"
 var $525=HEAP32[(($524)>>2)]; //@line 452 "../src/h264bsd_decoder.c"
 _h264bsdMarkSliceCorrupted($520,$525); //@line 452 "../src/h264bsd_decoder.c"
 $1=3; //@line 454 "../src/h264bsd_decoder.c"
 label=98;break; //@line 454 "../src/h264bsd_decoder.c"
 case 84: 
 var $527=$2; //@line 457 "../src/h264bsd_decoder.c"
 var $528=_h264bsdIsEndOfPicture($527); //@line 457 "../src/h264bsd_decoder.c"
 var $529=($528|0)!=0; //@line 457 "../src/h264bsd_decoder.c"
 if($529){label=85;break;}else{label=86;break;} //@line 457 "../src/h264bsd_decoder.c"
 case 85: 
 $picReady=1; //@line 459 "../src/h264bsd_decoder.c"
 var $531=$2; //@line 460 "../src/h264bsd_decoder.c"
 var $532=(($531+1180)|0); //@line 460 "../src/h264bsd_decoder.c"
 HEAP32[(($532)>>2)]=1; //@line 460 "../src/h264bsd_decoder.c"
 label=86;break; //@line 461 "../src/h264bsd_decoder.c"
 case 86: 
 label=89;break; //@line 462 "../src/h264bsd_decoder.c"
 case 87: 
 var $535=_printf(8456,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 465 "../src/h264bsd_decoder.c"
 label=89;break; //@line 466 "../src/h264bsd_decoder.c"
 case 88: 
 var $537=(($nalUnit)|0); //@line 469 "../src/h264bsd_decoder.c"
 var $538=HEAP32[(($537)>>2)]; //@line 469 "../src/h264bsd_decoder.c"
 var $539=_printf(8384,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=$538,tempVarArgs)); STACKTOP=tempVarArgs; //@line 469 "../src/h264bsd_decoder.c"
 label=89;break; //@line 470 "../src/h264bsd_decoder.c"
 case 89: 
 label=90;break; //@line 471 "../src/h264bsd_decoder.c"
 case 90: 
 var $542=$picReady; //@line 473 "../src/h264bsd_decoder.c"
 var $543=($542|0)!=0; //@line 473 "../src/h264bsd_decoder.c"
 if($543){label=91;break;}else{label=97;break;} //@line 473 "../src/h264bsd_decoder.c"
 case 91: 
 var $545=$2; //@line 475 "../src/h264bsd_decoder.c"
 var $546=(($545+1336)|0); //@line 475 "../src/h264bsd_decoder.c"
 var $547=(($546)|0); //@line 475 "../src/h264bsd_decoder.c"
 var $548=$2; //@line 475 "../src/h264bsd_decoder.c"
 var $549=(($548+1212)|0); //@line 475 "../src/h264bsd_decoder.c"
 var $550=HEAP32[(($549)>>2)]; //@line 475 "../src/h264bsd_decoder.c"
 _h264bsdFilterPicture($547,$550); //@line 475 "../src/h264bsd_decoder.c"
 var $551=$2; //@line 477 "../src/h264bsd_decoder.c"
 _h264bsdResetStorage($551); //@line 477 "../src/h264bsd_decoder.c"
 var $552=$2; //@line 479 "../src/h264bsd_decoder.c"
 var $553=(($552+1284)|0); //@line 479 "../src/h264bsd_decoder.c"
 var $554=(($553)|0); //@line 479 "../src/h264bsd_decoder.c"
 var $555=$2; //@line 479 "../src/h264bsd_decoder.c"
 var $556=(($555+16)|0); //@line 479 "../src/h264bsd_decoder.c"
 var $557=HEAP32[(($556)>>2)]; //@line 479 "../src/h264bsd_decoder.c"
 var $558=$2; //@line 479 "../src/h264bsd_decoder.c"
 var $559=(($558+1368)|0); //@line 479 "../src/h264bsd_decoder.c"
 var $560=(($559)|0); //@line 479 "../src/h264bsd_decoder.c"
 var $561=$2; //@line 479 "../src/h264bsd_decoder.c"
 var $562=(($561+1360)|0); //@line 479 "../src/h264bsd_decoder.c"
 var $563=(($562)|0); //@line 479 "../src/h264bsd_decoder.c"
 var $564=_h264bsdDecodePicOrderCnt($554,$557,$560,$563); //@line 479 "../src/h264bsd_decoder.c"
 $picOrderCnt=$564; //@line 479 "../src/h264bsd_decoder.c"
 var $565=$2; //@line 482 "../src/h264bsd_decoder.c"
 var $566=(($565+1188)|0); //@line 482 "../src/h264bsd_decoder.c"
 var $567=HEAP32[(($566)>>2)]; //@line 482 "../src/h264bsd_decoder.c"
 var $568=($567|0)!=0; //@line 482 "../src/h264bsd_decoder.c"
 if($568){label=92;break;}else{label=96;break;} //@line 482 "../src/h264bsd_decoder.c"
 case 92: 
 var $570=$2; //@line 484 "../src/h264bsd_decoder.c"
 var $571=(($570+1360)|0); //@line 484 "../src/h264bsd_decoder.c"
 var $572=(($571)|0); //@line 484 "../src/h264bsd_decoder.c"
 var $573=(($572+4)|0); //@line 484 "../src/h264bsd_decoder.c"
 var $574=HEAP32[(($573)>>2)]; //@line 484 "../src/h264bsd_decoder.c"
 var $575=($574|0)!=0; //@line 484 "../src/h264bsd_decoder.c"
 if($575){label=93;break;}else{label=94;break;} //@line 484 "../src/h264bsd_decoder.c"
 case 93: 
 var $577=$2; //@line 486 "../src/h264bsd_decoder.c"
 var $578=(($577+1220)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $579=(($578)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $580=$2; //@line 486 "../src/h264bsd_decoder.c"
 var $581=(($580+1368)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $582=(($581)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $583=(($582+276)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $584=$2; //@line 486 "../src/h264bsd_decoder.c"
 var $585=(($584+1336)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $586=(($585)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $587=$2; //@line 486 "../src/h264bsd_decoder.c"
 var $588=(($587+1368)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $589=(($588)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $590=(($589+12)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $591=HEAP32[(($590)>>2)]; //@line 486 "../src/h264bsd_decoder.c"
 var $592=$picOrderCnt; //@line 486 "../src/h264bsd_decoder.c"
 var $593=$2; //@line 486 "../src/h264bsd_decoder.c"
 var $594=(($593+1360)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $595=(($594)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $596=(($595)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $597=HEAP32[(($596)>>2)]; //@line 486 "../src/h264bsd_decoder.c"
 var $598=($597|0)==5; //@line 486 "../src/h264bsd_decoder.c"
 var $599=($598?1:0); //@line 486 "../src/h264bsd_decoder.c"
 var $600=$2; //@line 486 "../src/h264bsd_decoder.c"
 var $601=(($600+1208)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $602=HEAP32[(($601)>>2)]; //@line 486 "../src/h264bsd_decoder.c"
 var $603=$2; //@line 486 "../src/h264bsd_decoder.c"
 var $604=(($603+1204)|0); //@line 486 "../src/h264bsd_decoder.c"
 var $605=HEAP32[(($604)>>2)]; //@line 486 "../src/h264bsd_decoder.c"
 var $606=_h264bsdMarkDecRefPic($579,$583,$586,$591,$592,$599,$602,$605); //@line 486 "../src/h264bsd_decoder.c"
 $tmp=$606; //@line 486 "../src/h264bsd_decoder.c"
 label=95;break; //@line 493 "../src/h264bsd_decoder.c"
 case 94: 
 var $608=$2; //@line 498 "../src/h264bsd_decoder.c"
 var $609=(($608+1220)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $610=(($609)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $611=$2; //@line 498 "../src/h264bsd_decoder.c"
 var $612=(($611+1336)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $613=(($612)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $614=$2; //@line 498 "../src/h264bsd_decoder.c"
 var $615=(($614+1368)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $616=(($615)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $617=(($616+12)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $618=HEAP32[(($617)>>2)]; //@line 498 "../src/h264bsd_decoder.c"
 var $619=$picOrderCnt; //@line 498 "../src/h264bsd_decoder.c"
 var $620=$2; //@line 498 "../src/h264bsd_decoder.c"
 var $621=(($620+1360)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $622=(($621)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $623=(($622)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $624=HEAP32[(($623)>>2)]; //@line 498 "../src/h264bsd_decoder.c"
 var $625=($624|0)==5; //@line 498 "../src/h264bsd_decoder.c"
 var $626=($625?1:0); //@line 498 "../src/h264bsd_decoder.c"
 var $627=$2; //@line 498 "../src/h264bsd_decoder.c"
 var $628=(($627+1208)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $629=HEAP32[(($628)>>2)]; //@line 498 "../src/h264bsd_decoder.c"
 var $630=$2; //@line 498 "../src/h264bsd_decoder.c"
 var $631=(($630+1204)|0); //@line 498 "../src/h264bsd_decoder.c"
 var $632=HEAP32[(($631)>>2)]; //@line 498 "../src/h264bsd_decoder.c"
 var $633=_h264bsdMarkDecRefPic($610,0,$613,$618,$619,$626,$629,$632); //@line 498 "../src/h264bsd_decoder.c"
 $tmp=$633; //@line 498 "../src/h264bsd_decoder.c"
 label=95;break;
 case 95: 
 label=96;break; //@line 505 "../src/h264bsd_decoder.c"
 case 96: 
 var $636=$2; //@line 507 "../src/h264bsd_decoder.c"
 var $637=(($636+1184)|0); //@line 507 "../src/h264bsd_decoder.c"
 HEAP32[(($637)>>2)]=0; //@line 507 "../src/h264bsd_decoder.c"
 var $638=$2; //@line 508 "../src/h264bsd_decoder.c"
 var $639=(($638+1188)|0); //@line 508 "../src/h264bsd_decoder.c"
 HEAP32[(($639)>>2)]=0; //@line 508 "../src/h264bsd_decoder.c"
 $1=1; //@line 510 "../src/h264bsd_decoder.c"
 label=98;break; //@line 510 "../src/h264bsd_decoder.c"
 case 97: 
 $1=0; //@line 513 "../src/h264bsd_decoder.c"
 label=98;break; //@line 513 "../src/h264bsd_decoder.c"
 case 98: 
 var $642=$1; //@line 515 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return $642; //@line 515 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdDecode"] = _h264bsdDecode;
function _h264bsdShutdown($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $i;
 $1=$pStorage;
 var $2=$1; //@line 543 "../src/h264bsd_decoder.c"
 var $3=($2|0)!=0; //@line 543 "../src/h264bsd_decoder.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 543 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,543,12712); //@line 543 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 543 "../src/h264bsd_decoder.c"
 label=3;break; //@line 543 "../src/h264bsd_decoder.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 543 "../src/h264bsd_decoder.c"
 $i=0; //@line 545 "../src/h264bsd_decoder.c"
 label=4;break; //@line 545 "../src/h264bsd_decoder.c"
 case 4: 
 var $10=$i; //@line 545 "../src/h264bsd_decoder.c"
 var $11=($10>>>0)<32; //@line 545 "../src/h264bsd_decoder.c"
 if($11){label=5;break;}else{label=9;break;} //@line 545 "../src/h264bsd_decoder.c"
 case 5: 
 var $13=$i; //@line 547 "../src/h264bsd_decoder.c"
 var $14=$1; //@line 547 "../src/h264bsd_decoder.c"
 var $15=(($14+20)|0); //@line 547 "../src/h264bsd_decoder.c"
 var $16=(($15+($13<<2))|0); //@line 547 "../src/h264bsd_decoder.c"
 var $17=HEAP32[(($16)>>2)]; //@line 547 "../src/h264bsd_decoder.c"
 var $18=($17|0)!=0; //@line 547 "../src/h264bsd_decoder.c"
 if($18){label=6;break;}else{label=7;break;} //@line 547 "../src/h264bsd_decoder.c"
 case 6: 
 var $20=$i; //@line 549 "../src/h264bsd_decoder.c"
 var $21=$1; //@line 549 "../src/h264bsd_decoder.c"
 var $22=(($21+20)|0); //@line 549 "../src/h264bsd_decoder.c"
 var $23=(($22+($20<<2))|0); //@line 549 "../src/h264bsd_decoder.c"
 var $24=HEAP32[(($23)>>2)]; //@line 549 "../src/h264bsd_decoder.c"
 var $25=(($24+40)|0); //@line 549 "../src/h264bsd_decoder.c"
 var $26=HEAP32[(($25)>>2)]; //@line 549 "../src/h264bsd_decoder.c"
 var $27=$26; //@line 549 "../src/h264bsd_decoder.c"
 _free($27); //@line 549 "../src/h264bsd_decoder.c"
 var $28=$i; //@line 549 "../src/h264bsd_decoder.c"
 var $29=$1; //@line 549 "../src/h264bsd_decoder.c"
 var $30=(($29+20)|0); //@line 549 "../src/h264bsd_decoder.c"
 var $31=(($30+($28<<2))|0); //@line 549 "../src/h264bsd_decoder.c"
 var $32=HEAP32[(($31)>>2)]; //@line 549 "../src/h264bsd_decoder.c"
 var $33=(($32+40)|0); //@line 549 "../src/h264bsd_decoder.c"
 HEAP32[(($33)>>2)]=0; //@line 549 "../src/h264bsd_decoder.c"
 var $34=$i; //@line 550 "../src/h264bsd_decoder.c"
 var $35=$1; //@line 550 "../src/h264bsd_decoder.c"
 var $36=(($35+20)|0); //@line 550 "../src/h264bsd_decoder.c"
 var $37=(($36+($34<<2))|0); //@line 550 "../src/h264bsd_decoder.c"
 var $38=HEAP32[(($37)>>2)]; //@line 550 "../src/h264bsd_decoder.c"
 var $39=(($38+84)|0); //@line 550 "../src/h264bsd_decoder.c"
 var $40=HEAP32[(($39)>>2)]; //@line 550 "../src/h264bsd_decoder.c"
 var $41=$40; //@line 550 "../src/h264bsd_decoder.c"
 _free($41); //@line 550 "../src/h264bsd_decoder.c"
 var $42=$i; //@line 550 "../src/h264bsd_decoder.c"
 var $43=$1; //@line 550 "../src/h264bsd_decoder.c"
 var $44=(($43+20)|0); //@line 550 "../src/h264bsd_decoder.c"
 var $45=(($44+($42<<2))|0); //@line 550 "../src/h264bsd_decoder.c"
 var $46=HEAP32[(($45)>>2)]; //@line 550 "../src/h264bsd_decoder.c"
 var $47=(($46+84)|0); //@line 550 "../src/h264bsd_decoder.c"
 HEAP32[(($47)>>2)]=0; //@line 550 "../src/h264bsd_decoder.c"
 var $48=$i; //@line 551 "../src/h264bsd_decoder.c"
 var $49=$1; //@line 551 "../src/h264bsd_decoder.c"
 var $50=(($49+20)|0); //@line 551 "../src/h264bsd_decoder.c"
 var $51=(($50+($48<<2))|0); //@line 551 "../src/h264bsd_decoder.c"
 var $52=HEAP32[(($51)>>2)]; //@line 551 "../src/h264bsd_decoder.c"
 var $53=$52; //@line 551 "../src/h264bsd_decoder.c"
 _free($53); //@line 551 "../src/h264bsd_decoder.c"
 var $54=$i; //@line 551 "../src/h264bsd_decoder.c"
 var $55=$1; //@line 551 "../src/h264bsd_decoder.c"
 var $56=(($55+20)|0); //@line 551 "../src/h264bsd_decoder.c"
 var $57=(($56+($54<<2))|0); //@line 551 "../src/h264bsd_decoder.c"
 HEAP32[(($57)>>2)]=0; //@line 551 "../src/h264bsd_decoder.c"
 label=7;break; //@line 552 "../src/h264bsd_decoder.c"
 case 7: 
 label=8;break; //@line 553 "../src/h264bsd_decoder.c"
 case 8: 
 var $60=$i; //@line 545 "../src/h264bsd_decoder.c"
 var $61=((($60)+(1))|0); //@line 545 "../src/h264bsd_decoder.c"
 $i=$61; //@line 545 "../src/h264bsd_decoder.c"
 label=4;break; //@line 545 "../src/h264bsd_decoder.c"
 case 9: 
 $i=0; //@line 555 "../src/h264bsd_decoder.c"
 label=10;break; //@line 555 "../src/h264bsd_decoder.c"
 case 10: 
 var $64=$i; //@line 555 "../src/h264bsd_decoder.c"
 var $65=($64>>>0)<256; //@line 555 "../src/h264bsd_decoder.c"
 if($65){label=11;break;}else{label=15;break;} //@line 555 "../src/h264bsd_decoder.c"
 case 11: 
 var $67=$i; //@line 557 "../src/h264bsd_decoder.c"
 var $68=$1; //@line 557 "../src/h264bsd_decoder.c"
 var $69=(($68+148)|0); //@line 557 "../src/h264bsd_decoder.c"
 var $70=(($69+($67<<2))|0); //@line 557 "../src/h264bsd_decoder.c"
 var $71=HEAP32[(($70)>>2)]; //@line 557 "../src/h264bsd_decoder.c"
 var $72=($71|0)!=0; //@line 557 "../src/h264bsd_decoder.c"
 if($72){label=12;break;}else{label=13;break;} //@line 557 "../src/h264bsd_decoder.c"
 case 12: 
 var $74=$i; //@line 559 "../src/h264bsd_decoder.c"
 var $75=$1; //@line 559 "../src/h264bsd_decoder.c"
 var $76=(($75+148)|0); //@line 559 "../src/h264bsd_decoder.c"
 var $77=(($76+($74<<2))|0); //@line 559 "../src/h264bsd_decoder.c"
 var $78=HEAP32[(($77)>>2)]; //@line 559 "../src/h264bsd_decoder.c"
 var $79=(($78+20)|0); //@line 559 "../src/h264bsd_decoder.c"
 var $80=HEAP32[(($79)>>2)]; //@line 559 "../src/h264bsd_decoder.c"
 var $81=$80; //@line 559 "../src/h264bsd_decoder.c"
 _free($81); //@line 559 "../src/h264bsd_decoder.c"
 var $82=$i; //@line 559 "../src/h264bsd_decoder.c"
 var $83=$1; //@line 559 "../src/h264bsd_decoder.c"
 var $84=(($83+148)|0); //@line 559 "../src/h264bsd_decoder.c"
 var $85=(($84+($82<<2))|0); //@line 559 "../src/h264bsd_decoder.c"
 var $86=HEAP32[(($85)>>2)]; //@line 559 "../src/h264bsd_decoder.c"
 var $87=(($86+20)|0); //@line 559 "../src/h264bsd_decoder.c"
 HEAP32[(($87)>>2)]=0; //@line 559 "../src/h264bsd_decoder.c"
 var $88=$i; //@line 560 "../src/h264bsd_decoder.c"
 var $89=$1; //@line 560 "../src/h264bsd_decoder.c"
 var $90=(($89+148)|0); //@line 560 "../src/h264bsd_decoder.c"
 var $91=(($90+($88<<2))|0); //@line 560 "../src/h264bsd_decoder.c"
 var $92=HEAP32[(($91)>>2)]; //@line 560 "../src/h264bsd_decoder.c"
 var $93=(($92+24)|0); //@line 560 "../src/h264bsd_decoder.c"
 var $94=HEAP32[(($93)>>2)]; //@line 560 "../src/h264bsd_decoder.c"
 var $95=$94; //@line 560 "../src/h264bsd_decoder.c"
 _free($95); //@line 560 "../src/h264bsd_decoder.c"
 var $96=$i; //@line 560 "../src/h264bsd_decoder.c"
 var $97=$1; //@line 560 "../src/h264bsd_decoder.c"
 var $98=(($97+148)|0); //@line 560 "../src/h264bsd_decoder.c"
 var $99=(($98+($96<<2))|0); //@line 560 "../src/h264bsd_decoder.c"
 var $100=HEAP32[(($99)>>2)]; //@line 560 "../src/h264bsd_decoder.c"
 var $101=(($100+24)|0); //@line 560 "../src/h264bsd_decoder.c"
 HEAP32[(($101)>>2)]=0; //@line 560 "../src/h264bsd_decoder.c"
 var $102=$i; //@line 561 "../src/h264bsd_decoder.c"
 var $103=$1; //@line 561 "../src/h264bsd_decoder.c"
 var $104=(($103+148)|0); //@line 561 "../src/h264bsd_decoder.c"
 var $105=(($104+($102<<2))|0); //@line 561 "../src/h264bsd_decoder.c"
 var $106=HEAP32[(($105)>>2)]; //@line 561 "../src/h264bsd_decoder.c"
 var $107=(($106+28)|0); //@line 561 "../src/h264bsd_decoder.c"
 var $108=HEAP32[(($107)>>2)]; //@line 561 "../src/h264bsd_decoder.c"
 var $109=$108; //@line 561 "../src/h264bsd_decoder.c"
 _free($109); //@line 561 "../src/h264bsd_decoder.c"
 var $110=$i; //@line 561 "../src/h264bsd_decoder.c"
 var $111=$1; //@line 561 "../src/h264bsd_decoder.c"
 var $112=(($111+148)|0); //@line 561 "../src/h264bsd_decoder.c"
 var $113=(($112+($110<<2))|0); //@line 561 "../src/h264bsd_decoder.c"
 var $114=HEAP32[(($113)>>2)]; //@line 561 "../src/h264bsd_decoder.c"
 var $115=(($114+28)|0); //@line 561 "../src/h264bsd_decoder.c"
 HEAP32[(($115)>>2)]=0; //@line 561 "../src/h264bsd_decoder.c"
 var $116=$i; //@line 562 "../src/h264bsd_decoder.c"
 var $117=$1; //@line 562 "../src/h264bsd_decoder.c"
 var $118=(($117+148)|0); //@line 562 "../src/h264bsd_decoder.c"
 var $119=(($118+($116<<2))|0); //@line 562 "../src/h264bsd_decoder.c"
 var $120=HEAP32[(($119)>>2)]; //@line 562 "../src/h264bsd_decoder.c"
 var $121=(($120+44)|0); //@line 562 "../src/h264bsd_decoder.c"
 var $122=HEAP32[(($121)>>2)]; //@line 562 "../src/h264bsd_decoder.c"
 var $123=$122; //@line 562 "../src/h264bsd_decoder.c"
 _free($123); //@line 562 "../src/h264bsd_decoder.c"
 var $124=$i; //@line 562 "../src/h264bsd_decoder.c"
 var $125=$1; //@line 562 "../src/h264bsd_decoder.c"
 var $126=(($125+148)|0); //@line 562 "../src/h264bsd_decoder.c"
 var $127=(($126+($124<<2))|0); //@line 562 "../src/h264bsd_decoder.c"
 var $128=HEAP32[(($127)>>2)]; //@line 562 "../src/h264bsd_decoder.c"
 var $129=(($128+44)|0); //@line 562 "../src/h264bsd_decoder.c"
 HEAP32[(($129)>>2)]=0; //@line 562 "../src/h264bsd_decoder.c"
 var $130=$i; //@line 563 "../src/h264bsd_decoder.c"
 var $131=$1; //@line 563 "../src/h264bsd_decoder.c"
 var $132=(($131+148)|0); //@line 563 "../src/h264bsd_decoder.c"
 var $133=(($132+($130<<2))|0); //@line 563 "../src/h264bsd_decoder.c"
 var $134=HEAP32[(($133)>>2)]; //@line 563 "../src/h264bsd_decoder.c"
 var $135=$134; //@line 563 "../src/h264bsd_decoder.c"
 _free($135); //@line 563 "../src/h264bsd_decoder.c"
 var $136=$i; //@line 563 "../src/h264bsd_decoder.c"
 var $137=$1; //@line 563 "../src/h264bsd_decoder.c"
 var $138=(($137+148)|0); //@line 563 "../src/h264bsd_decoder.c"
 var $139=(($138+($136<<2))|0); //@line 563 "../src/h264bsd_decoder.c"
 HEAP32[(($139)>>2)]=0; //@line 563 "../src/h264bsd_decoder.c"
 label=13;break; //@line 564 "../src/h264bsd_decoder.c"
 case 13: 
 label=14;break; //@line 565 "../src/h264bsd_decoder.c"
 case 14: 
 var $142=$i; //@line 555 "../src/h264bsd_decoder.c"
 var $143=((($142)+(1))|0); //@line 555 "../src/h264bsd_decoder.c"
 $i=$143; //@line 555 "../src/h264bsd_decoder.c"
 label=10;break; //@line 555 "../src/h264bsd_decoder.c"
 case 15: 
 var $145=$1; //@line 567 "../src/h264bsd_decoder.c"
 var $146=(($145+3376)|0); //@line 567 "../src/h264bsd_decoder.c"
 var $147=HEAP32[(($146)>>2)]; //@line 567 "../src/h264bsd_decoder.c"
 var $148=$147; //@line 567 "../src/h264bsd_decoder.c"
 _free($148); //@line 567 "../src/h264bsd_decoder.c"
 var $149=$1; //@line 567 "../src/h264bsd_decoder.c"
 var $150=(($149+3376)|0); //@line 567 "../src/h264bsd_decoder.c"
 HEAP32[(($150)>>2)]=0; //@line 567 "../src/h264bsd_decoder.c"
 var $151=$1; //@line 568 "../src/h264bsd_decoder.c"
 var $152=(($151+1212)|0); //@line 568 "../src/h264bsd_decoder.c"
 var $153=HEAP32[(($152)>>2)]; //@line 568 "../src/h264bsd_decoder.c"
 var $154=$153; //@line 568 "../src/h264bsd_decoder.c"
 _free($154); //@line 568 "../src/h264bsd_decoder.c"
 var $155=$1; //@line 568 "../src/h264bsd_decoder.c"
 var $156=(($155+1212)|0); //@line 568 "../src/h264bsd_decoder.c"
 HEAP32[(($156)>>2)]=0; //@line 568 "../src/h264bsd_decoder.c"
 var $157=$1; //@line 569 "../src/h264bsd_decoder.c"
 var $158=(($157+1172)|0); //@line 569 "../src/h264bsd_decoder.c"
 var $159=HEAP32[(($158)>>2)]; //@line 569 "../src/h264bsd_decoder.c"
 var $160=$159; //@line 569 "../src/h264bsd_decoder.c"
 _free($160); //@line 569 "../src/h264bsd_decoder.c"
 var $161=$1; //@line 569 "../src/h264bsd_decoder.c"
 var $162=(($161+1172)|0); //@line 569 "../src/h264bsd_decoder.c"
 HEAP32[(($162)>>2)]=0; //@line 569 "../src/h264bsd_decoder.c"
 var $163=$1; //@line 571 "../src/h264bsd_decoder.c"
 var $164=(($163+1220)|0); //@line 571 "../src/h264bsd_decoder.c"
 var $165=(($164)|0); //@line 571 "../src/h264bsd_decoder.c"
 _h264bsdFreeDpb($165); //@line 571 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return; //@line 573 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdShutdown"] = _h264bsdShutdown;
function _h264bsdNextOutputPicture($pStorage,$picId,$isIdrPic,$numErrMbs){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $pOut;
 $2=$pStorage;
 $3=$picId;
 $4=$isIdrPic;
 $5=$numErrMbs;
 var $6=$2; //@line 607 "../src/h264bsd_decoder.c"
 var $7=($6|0)!=0; //@line 607 "../src/h264bsd_decoder.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 607 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,607,12992); //@line 607 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 607 "../src/h264bsd_decoder.c"
 label=3;break; //@line 607 "../src/h264bsd_decoder.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 607 "../src/h264bsd_decoder.c"
 var $13=$2; //@line 609 "../src/h264bsd_decoder.c"
 var $14=(($13+1220)|0); //@line 609 "../src/h264bsd_decoder.c"
 var $15=(($14)|0); //@line 609 "../src/h264bsd_decoder.c"
 var $16=_h264bsdDpbOutputPicture($15); //@line 609 "../src/h264bsd_decoder.c"
 $pOut=$16; //@line 609 "../src/h264bsd_decoder.c"
 var $17=$pOut; //@line 611 "../src/h264bsd_decoder.c"
 var $18=($17|0)!=0; //@line 611 "../src/h264bsd_decoder.c"
 if($18){label=4;break;}else{label=5;break;} //@line 611 "../src/h264bsd_decoder.c"
 case 4: 
 var $20=$pOut; //@line 613 "../src/h264bsd_decoder.c"
 var $21=(($20+4)|0); //@line 613 "../src/h264bsd_decoder.c"
 var $22=HEAP32[(($21)>>2)]; //@line 613 "../src/h264bsd_decoder.c"
 var $23=$3; //@line 613 "../src/h264bsd_decoder.c"
 HEAP32[(($23)>>2)]=$22; //@line 613 "../src/h264bsd_decoder.c"
 var $24=$pOut; //@line 614 "../src/h264bsd_decoder.c"
 var $25=(($24+12)|0); //@line 614 "../src/h264bsd_decoder.c"
 var $26=HEAP32[(($25)>>2)]; //@line 614 "../src/h264bsd_decoder.c"
 var $27=$4; //@line 614 "../src/h264bsd_decoder.c"
 HEAP32[(($27)>>2)]=$26; //@line 614 "../src/h264bsd_decoder.c"
 var $28=$pOut; //@line 615 "../src/h264bsd_decoder.c"
 var $29=(($28+8)|0); //@line 615 "../src/h264bsd_decoder.c"
 var $30=HEAP32[(($29)>>2)]; //@line 615 "../src/h264bsd_decoder.c"
 var $31=$5; //@line 615 "../src/h264bsd_decoder.c"
 HEAP32[(($31)>>2)]=$30; //@line 615 "../src/h264bsd_decoder.c"
 var $32=$pOut; //@line 616 "../src/h264bsd_decoder.c"
 var $33=(($32)|0); //@line 616 "../src/h264bsd_decoder.c"
 var $34=HEAP32[(($33)>>2)]; //@line 616 "../src/h264bsd_decoder.c"
 $1=$34; //@line 616 "../src/h264bsd_decoder.c"
 label=6;break; //@line 616 "../src/h264bsd_decoder.c"
 case 5: 
 $1=0; //@line 619 "../src/h264bsd_decoder.c"
 label=6;break; //@line 619 "../src/h264bsd_decoder.c"
 case 6: 
 var $37=$1; //@line 621 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return $37; //@line 621 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdNextOutputPicture"] = _h264bsdNextOutputPicture;
function _h264bsdNextOutputPictureARGB($pStorage,$picId,$isIdrPic,$numErrMbs){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $width;
 var $height;
 var $data;
 var $rgbSize;
 $2=$pStorage;
 $3=$picId;
 $4=$isIdrPic;
 $5=$numErrMbs;
 var $6=$2; //@line 647 "../src/h264bsd_decoder.c"
 var $7=_h264bsdPicWidth($6); //@line 647 "../src/h264bsd_decoder.c"
 var $8=($7<<4); //@line 647 "../src/h264bsd_decoder.c"
 $width=$8; //@line 647 "../src/h264bsd_decoder.c"
 var $9=$2; //@line 648 "../src/h264bsd_decoder.c"
 var $10=_h264bsdPicHeight($9); //@line 648 "../src/h264bsd_decoder.c"
 var $11=($10<<4); //@line 648 "../src/h264bsd_decoder.c"
 $height=$11; //@line 648 "../src/h264bsd_decoder.c"
 var $12=$2; //@line 649 "../src/h264bsd_decoder.c"
 var $13=$3; //@line 649 "../src/h264bsd_decoder.c"
 var $14=$4; //@line 649 "../src/h264bsd_decoder.c"
 var $15=$5; //@line 649 "../src/h264bsd_decoder.c"
 var $16=_h264bsdNextOutputPicture($12,$13,$14,$15); //@line 649 "../src/h264bsd_decoder.c"
 $data=$16; //@line 649 "../src/h264bsd_decoder.c"
 var $17=$data; //@line 651 "../src/h264bsd_decoder.c"
 var $18=($17|0)==0; //@line 651 "../src/h264bsd_decoder.c"
 if($18){label=2;break;}else{label=3;break;} //@line 651 "../src/h264bsd_decoder.c"
 case 2: 
 $1=0; //@line 651 "../src/h264bsd_decoder.c"
 label=8;break; //@line 651 "../src/h264bsd_decoder.c"
 case 3: 
 var $21=$width; //@line 653 "../src/h264bsd_decoder.c"
 var $22=($21<<2); //@line 653 "../src/h264bsd_decoder.c"
 var $23=$height; //@line 653 "../src/h264bsd_decoder.c"
 var $24=(Math_imul($22,$23)|0); //@line 653 "../src/h264bsd_decoder.c"
 $rgbSize=$24; //@line 653 "../src/h264bsd_decoder.c"
 var $25=$2; //@line 655 "../src/h264bsd_decoder.c"
 var $26=(($25+3392)|0); //@line 655 "../src/h264bsd_decoder.c"
 var $27=HEAP32[(($26)>>2)]; //@line 655 "../src/h264bsd_decoder.c"
 var $28=$rgbSize; //@line 655 "../src/h264bsd_decoder.c"
 var $29=($27>>>0)<($28>>>0); //@line 655 "../src/h264bsd_decoder.c"
 if($29){label=4;break;}else{label=7;break;} //@line 655 "../src/h264bsd_decoder.c"
 case 4: 
 var $31=$2; //@line 657 "../src/h264bsd_decoder.c"
 var $32=(($31+3388)|0); //@line 657 "../src/h264bsd_decoder.c"
 var $33=HEAP32[(($32)>>2)]; //@line 657 "../src/h264bsd_decoder.c"
 var $34=($33|0)!=0; //@line 657 "../src/h264bsd_decoder.c"
 if($34){label=5;break;}else{label=6;break;} //@line 657 "../src/h264bsd_decoder.c"
 case 5: 
 var $36=$2; //@line 657 "../src/h264bsd_decoder.c"
 var $37=(($36+3388)|0); //@line 657 "../src/h264bsd_decoder.c"
 var $38=HEAP32[(($37)>>2)]; //@line 657 "../src/h264bsd_decoder.c"
 var $39=$38; //@line 657 "../src/h264bsd_decoder.c"
 _free($39); //@line 657 "../src/h264bsd_decoder.c"
 label=6;break; //@line 657 "../src/h264bsd_decoder.c"
 case 6: 
 var $41=$rgbSize; //@line 658 "../src/h264bsd_decoder.c"
 var $42=$2; //@line 658 "../src/h264bsd_decoder.c"
 var $43=(($42+3392)|0); //@line 658 "../src/h264bsd_decoder.c"
 HEAP32[(($43)>>2)]=$41; //@line 658 "../src/h264bsd_decoder.c"
 var $44=$rgbSize; //@line 659 "../src/h264bsd_decoder.c"
 var $45=_malloc($44); //@line 659 "../src/h264bsd_decoder.c"
 var $46=$45; //@line 659 "../src/h264bsd_decoder.c"
 var $47=$2; //@line 659 "../src/h264bsd_decoder.c"
 var $48=(($47+3388)|0); //@line 659 "../src/h264bsd_decoder.c"
 HEAP32[(($48)>>2)]=$46; //@line 659 "../src/h264bsd_decoder.c"
 label=7;break; //@line 660 "../src/h264bsd_decoder.c"
 case 7: 
 var $50=$width; //@line 662 "../src/h264bsd_decoder.c"
 var $51=$height; //@line 662 "../src/h264bsd_decoder.c"
 var $52=$data; //@line 662 "../src/h264bsd_decoder.c"
 var $53=$2; //@line 662 "../src/h264bsd_decoder.c"
 var $54=(($53+3388)|0); //@line 662 "../src/h264bsd_decoder.c"
 var $55=HEAP32[(($54)>>2)]; //@line 662 "../src/h264bsd_decoder.c"
 _h264bsdConvertToARGB($50,$51,$52,$55); //@line 662 "../src/h264bsd_decoder.c"
 var $56=$2; //@line 663 "../src/h264bsd_decoder.c"
 var $57=(($56+3388)|0); //@line 663 "../src/h264bsd_decoder.c"
 var $58=HEAP32[(($57)>>2)]; //@line 663 "../src/h264bsd_decoder.c"
 $1=$58; //@line 663 "../src/h264bsd_decoder.c"
 label=8;break; //@line 663 "../src/h264bsd_decoder.c"
 case 8: 
 var $60=$1; //@line 664 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return $60; //@line 664 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdNextOutputPictureARGB"] = _h264bsdNextOutputPictureARGB;
function _h264bsdPicWidth($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$pStorage;
 var $3=$2; //@line 692 "../src/h264bsd_decoder.c"
 var $4=($3|0)!=0; //@line 692 "../src/h264bsd_decoder.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 692 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,692,12904); //@line 692 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 692 "../src/h264bsd_decoder.c"
 label=3;break; //@line 692 "../src/h264bsd_decoder.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 692 "../src/h264bsd_decoder.c"
 var $10=$2; //@line 694 "../src/h264bsd_decoder.c"
 var $11=(($10+16)|0); //@line 694 "../src/h264bsd_decoder.c"
 var $12=HEAP32[(($11)>>2)]; //@line 694 "../src/h264bsd_decoder.c"
 var $13=($12|0)!=0; //@line 694 "../src/h264bsd_decoder.c"
 if($13){label=4;break;}else{label=5;break;} //@line 694 "../src/h264bsd_decoder.c"
 case 4: 
 var $15=$2; //@line 695 "../src/h264bsd_decoder.c"
 var $16=(($15+16)|0); //@line 695 "../src/h264bsd_decoder.c"
 var $17=HEAP32[(($16)>>2)]; //@line 695 "../src/h264bsd_decoder.c"
 var $18=(($17+52)|0); //@line 695 "../src/h264bsd_decoder.c"
 var $19=HEAP32[(($18)>>2)]; //@line 695 "../src/h264bsd_decoder.c"
 $1=$19; //@line 695 "../src/h264bsd_decoder.c"
 label=6;break; //@line 695 "../src/h264bsd_decoder.c"
 case 5: 
 $1=0; //@line 697 "../src/h264bsd_decoder.c"
 label=6;break; //@line 697 "../src/h264bsd_decoder.c"
 case 6: 
 var $22=$1; //@line 699 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return $22; //@line 699 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdPicWidth"] = _h264bsdPicWidth;
function _h264bsdPicHeight($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$pStorage;
 var $3=$2; //@line 727 "../src/h264bsd_decoder.c"
 var $4=($3|0)!=0; //@line 727 "../src/h264bsd_decoder.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 727 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,727,12920); //@line 727 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 727 "../src/h264bsd_decoder.c"
 label=3;break; //@line 727 "../src/h264bsd_decoder.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 727 "../src/h264bsd_decoder.c"
 var $10=$2; //@line 729 "../src/h264bsd_decoder.c"
 var $11=(($10+16)|0); //@line 729 "../src/h264bsd_decoder.c"
 var $12=HEAP32[(($11)>>2)]; //@line 729 "../src/h264bsd_decoder.c"
 var $13=($12|0)!=0; //@line 729 "../src/h264bsd_decoder.c"
 if($13){label=4;break;}else{label=5;break;} //@line 729 "../src/h264bsd_decoder.c"
 case 4: 
 var $15=$2; //@line 730 "../src/h264bsd_decoder.c"
 var $16=(($15+16)|0); //@line 730 "../src/h264bsd_decoder.c"
 var $17=HEAP32[(($16)>>2)]; //@line 730 "../src/h264bsd_decoder.c"
 var $18=(($17+56)|0); //@line 730 "../src/h264bsd_decoder.c"
 var $19=HEAP32[(($18)>>2)]; //@line 730 "../src/h264bsd_decoder.c"
 $1=$19; //@line 730 "../src/h264bsd_decoder.c"
 label=6;break; //@line 730 "../src/h264bsd_decoder.c"
 case 5: 
 $1=0; //@line 732 "../src/h264bsd_decoder.c"
 label=6;break; //@line 732 "../src/h264bsd_decoder.c"
 case 6: 
 var $22=$1; //@line 734 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return $22; //@line 734 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdPicHeight"] = _h264bsdPicHeight;
function _h264bsdConvertToARGB($width,$height,$data,$rgbData){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $w;
 var $h;
 var $x;
 var $y;
 var $ySize;
 var $uSize;
 var $luma;
 var $cb;
 var $cr;
 var $rgb;
 var $c;
 var $d;
 var $e;
 var $r;
 var $g;
 var $b;
 var $pixel;
 $1=$width;
 $2=$height;
 $3=$data;
 $4=$rgbData;
 var $5=$1; //@line 1075 "../src/h264bsd_decoder.c"
 $w=$5; //@line 1075 "../src/h264bsd_decoder.c"
 var $6=$2; //@line 1076 "../src/h264bsd_decoder.c"
 $h=$6; //@line 1076 "../src/h264bsd_decoder.c"
 $x=0; //@line 1078 "../src/h264bsd_decoder.c"
 $y=0; //@line 1079 "../src/h264bsd_decoder.c"
 var $7=$w; //@line 1081 "../src/h264bsd_decoder.c"
 var $8=$h; //@line 1081 "../src/h264bsd_decoder.c"
 var $9=(Math_imul($7,$8)|0); //@line 1081 "../src/h264bsd_decoder.c"
 $ySize=$9; //@line 1081 "../src/h264bsd_decoder.c"
 var $10=$w; //@line 1082 "../src/h264bsd_decoder.c"
 var $11=(((($10>>>0))/(2))&-1); //@line 1082 "../src/h264bsd_decoder.c"
 var $12=$h; //@line 1082 "../src/h264bsd_decoder.c"
 var $13=(Math_imul($11,$12)|0); //@line 1082 "../src/h264bsd_decoder.c"
 var $14=(((($13>>>0))/(2))&-1); //@line 1082 "../src/h264bsd_decoder.c"
 $uSize=$14; //@line 1082 "../src/h264bsd_decoder.c"
 var $15=$3; //@line 1084 "../src/h264bsd_decoder.c"
 $luma=$15; //@line 1084 "../src/h264bsd_decoder.c"
 var $16=$3; //@line 1085 "../src/h264bsd_decoder.c"
 var $17=$ySize; //@line 1085 "../src/h264bsd_decoder.c"
 var $18=(($16+$17)|0); //@line 1085 "../src/h264bsd_decoder.c"
 $cb=$18; //@line 1085 "../src/h264bsd_decoder.c"
 var $19=$3; //@line 1086 "../src/h264bsd_decoder.c"
 var $20=$ySize; //@line 1086 "../src/h264bsd_decoder.c"
 var $21=(($19+$20)|0); //@line 1086 "../src/h264bsd_decoder.c"
 var $22=$uSize; //@line 1086 "../src/h264bsd_decoder.c"
 var $23=(($21+$22)|0); //@line 1086 "../src/h264bsd_decoder.c"
 $cr=$23; //@line 1086 "../src/h264bsd_decoder.c"
 var $24=$4; //@line 1087 "../src/h264bsd_decoder.c"
 $rgb=$24; //@line 1087 "../src/h264bsd_decoder.c"
 label=2;break; //@line 1089 "../src/h264bsd_decoder.c"
 case 2: 
 var $26=$y; //@line 1089 "../src/h264bsd_decoder.c"
 var $27=$h; //@line 1089 "../src/h264bsd_decoder.c"
 var $28=($26>>>0)<($27>>>0); //@line 1089 "../src/h264bsd_decoder.c"
 if($28){label=3;break;}else{label=28;break;} //@line 1089 "../src/h264bsd_decoder.c"
 case 3: 
 var $30=$luma; //@line 1091 "../src/h264bsd_decoder.c"
 var $31=HEAP8[($30)]; //@line 1091 "../src/h264bsd_decoder.c"
 var $32=($31&255); //@line 1091 "../src/h264bsd_decoder.c"
 var $33=((($32)-(16))|0); //@line 1091 "../src/h264bsd_decoder.c"
 $c=$33; //@line 1091 "../src/h264bsd_decoder.c"
 var $34=$cb; //@line 1092 "../src/h264bsd_decoder.c"
 var $35=HEAP8[($34)]; //@line 1092 "../src/h264bsd_decoder.c"
 var $36=($35&255); //@line 1092 "../src/h264bsd_decoder.c"
 var $37=((($36)-(128))|0); //@line 1092 "../src/h264bsd_decoder.c"
 $d=$37; //@line 1092 "../src/h264bsd_decoder.c"
 var $38=$cr; //@line 1093 "../src/h264bsd_decoder.c"
 var $39=HEAP8[($38)]; //@line 1093 "../src/h264bsd_decoder.c"
 var $40=($39&255); //@line 1093 "../src/h264bsd_decoder.c"
 var $41=((($40)-(128))|0); //@line 1093 "../src/h264bsd_decoder.c"
 $e=$41; //@line 1093 "../src/h264bsd_decoder.c"
 var $42=$c; //@line 1095 "../src/h264bsd_decoder.c"
 var $43=((($42)*(298))&-1); //@line 1095 "../src/h264bsd_decoder.c"
 var $44=$e; //@line 1095 "../src/h264bsd_decoder.c"
 var $45=((($44)*(409))&-1); //@line 1095 "../src/h264bsd_decoder.c"
 var $46=((($43)+($45))|0); //@line 1095 "../src/h264bsd_decoder.c"
 var $47=((($46)+(128))|0); //@line 1095 "../src/h264bsd_decoder.c"
 var $48=$47>>8; //@line 1095 "../src/h264bsd_decoder.c"
 var $49=($48|0)<0; //@line 1095 "../src/h264bsd_decoder.c"
 if($49){label=4;break;}else{label=5;break;} //@line 1095 "../src/h264bsd_decoder.c"
 case 4: 
 var $72=0;label=9;break; //@line 1095 "../src/h264bsd_decoder.c"
 case 5: 
 var $52=$c; //@line 1095 "../src/h264bsd_decoder.c"
 var $53=((($52)*(298))&-1); //@line 1095 "../src/h264bsd_decoder.c"
 var $54=$e; //@line 1095 "../src/h264bsd_decoder.c"
 var $55=((($54)*(409))&-1); //@line 1095 "../src/h264bsd_decoder.c"
 var $56=((($53)+($55))|0); //@line 1095 "../src/h264bsd_decoder.c"
 var $57=((($56)+(128))|0); //@line 1095 "../src/h264bsd_decoder.c"
 var $58=$57>>8; //@line 1095 "../src/h264bsd_decoder.c"
 var $59=($58|0)>255; //@line 1095 "../src/h264bsd_decoder.c"
 if($59){label=6;break;}else{label=7;break;} //@line 1095 "../src/h264bsd_decoder.c"
 case 6: 
 var $70=255;label=8;break; //@line 1095 "../src/h264bsd_decoder.c"
 case 7: 
 var $62=$c; //@line 1095 "../src/h264bsd_decoder.c"
 var $63=((($62)*(298))&-1); //@line 1095 "../src/h264bsd_decoder.c"
 var $64=$e; //@line 1095 "../src/h264bsd_decoder.c"
 var $65=((($64)*(409))&-1); //@line 1095 "../src/h264bsd_decoder.c"
 var $66=((($63)+($65))|0); //@line 1095 "../src/h264bsd_decoder.c"
 var $67=((($66)+(128))|0); //@line 1095 "../src/h264bsd_decoder.c"
 var $68=$67>>8; //@line 1095 "../src/h264bsd_decoder.c"
 var $70=$68;label=8;break; //@line 1095 "../src/h264bsd_decoder.c"
 case 8: 
 var $70; //@line 1095 "../src/h264bsd_decoder.c"
 var $72=$70;label=9;break; //@line 1095 "../src/h264bsd_decoder.c"
 case 9: 
 var $72; //@line 1095 "../src/h264bsd_decoder.c"
 $r=$72; //@line 1095 "../src/h264bsd_decoder.c"
 var $73=$c; //@line 1096 "../src/h264bsd_decoder.c"
 var $74=((($73)*(298))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $75=$d; //@line 1096 "../src/h264bsd_decoder.c"
 var $76=((($75)*(100))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $77=((($74)-($76))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $78=$e; //@line 1096 "../src/h264bsd_decoder.c"
 var $79=((($78)*(208))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $80=((($77)-($79))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $81=((($80)+(128))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $82=$81>>8; //@line 1096 "../src/h264bsd_decoder.c"
 var $83=($82|0)<0; //@line 1096 "../src/h264bsd_decoder.c"
 if($83){label=10;break;}else{label=11;break;} //@line 1096 "../src/h264bsd_decoder.c"
 case 10: 
 var $112=0;label=15;break; //@line 1096 "../src/h264bsd_decoder.c"
 case 11: 
 var $86=$c; //@line 1096 "../src/h264bsd_decoder.c"
 var $87=((($86)*(298))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $88=$d; //@line 1096 "../src/h264bsd_decoder.c"
 var $89=((($88)*(100))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $90=((($87)-($89))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $91=$e; //@line 1096 "../src/h264bsd_decoder.c"
 var $92=((($91)*(208))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $93=((($90)-($92))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $94=((($93)+(128))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $95=$94>>8; //@line 1096 "../src/h264bsd_decoder.c"
 var $96=($95|0)>255; //@line 1096 "../src/h264bsd_decoder.c"
 if($96){label=12;break;}else{label=13;break;} //@line 1096 "../src/h264bsd_decoder.c"
 case 12: 
 var $110=255;label=14;break; //@line 1096 "../src/h264bsd_decoder.c"
 case 13: 
 var $99=$c; //@line 1096 "../src/h264bsd_decoder.c"
 var $100=((($99)*(298))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $101=$d; //@line 1096 "../src/h264bsd_decoder.c"
 var $102=((($101)*(100))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $103=((($100)-($102))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $104=$e; //@line 1096 "../src/h264bsd_decoder.c"
 var $105=((($104)*(208))&-1); //@line 1096 "../src/h264bsd_decoder.c"
 var $106=((($103)-($105))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $107=((($106)+(128))|0); //@line 1096 "../src/h264bsd_decoder.c"
 var $108=$107>>8; //@line 1096 "../src/h264bsd_decoder.c"
 var $110=$108;label=14;break; //@line 1096 "../src/h264bsd_decoder.c"
 case 14: 
 var $110; //@line 1096 "../src/h264bsd_decoder.c"
 var $112=$110;label=15;break; //@line 1096 "../src/h264bsd_decoder.c"
 case 15: 
 var $112; //@line 1096 "../src/h264bsd_decoder.c"
 $g=$112; //@line 1096 "../src/h264bsd_decoder.c"
 var $113=$c; //@line 1097 "../src/h264bsd_decoder.c"
 var $114=((($113)*(298))&-1); //@line 1097 "../src/h264bsd_decoder.c"
 var $115=$d; //@line 1097 "../src/h264bsd_decoder.c"
 var $116=((($115)*(516))&-1); //@line 1097 "../src/h264bsd_decoder.c"
 var $117=((($114)+($116))|0); //@line 1097 "../src/h264bsd_decoder.c"
 var $118=((($117)+(128))|0); //@line 1097 "../src/h264bsd_decoder.c"
 var $119=$118>>8; //@line 1097 "../src/h264bsd_decoder.c"
 var $120=($119|0)<0; //@line 1097 "../src/h264bsd_decoder.c"
 if($120){label=16;break;}else{label=17;break;} //@line 1097 "../src/h264bsd_decoder.c"
 case 16: 
 var $143=0;label=21;break; //@line 1097 "../src/h264bsd_decoder.c"
 case 17: 
 var $123=$c; //@line 1097 "../src/h264bsd_decoder.c"
 var $124=((($123)*(298))&-1); //@line 1097 "../src/h264bsd_decoder.c"
 var $125=$d; //@line 1097 "../src/h264bsd_decoder.c"
 var $126=((($125)*(516))&-1); //@line 1097 "../src/h264bsd_decoder.c"
 var $127=((($124)+($126))|0); //@line 1097 "../src/h264bsd_decoder.c"
 var $128=((($127)+(128))|0); //@line 1097 "../src/h264bsd_decoder.c"
 var $129=$128>>8; //@line 1097 "../src/h264bsd_decoder.c"
 var $130=($129|0)>255; //@line 1097 "../src/h264bsd_decoder.c"
 if($130){label=18;break;}else{label=19;break;} //@line 1097 "../src/h264bsd_decoder.c"
 case 18: 
 var $141=255;label=20;break; //@line 1097 "../src/h264bsd_decoder.c"
 case 19: 
 var $133=$c; //@line 1097 "../src/h264bsd_decoder.c"
 var $134=((($133)*(298))&-1); //@line 1097 "../src/h264bsd_decoder.c"
 var $135=$d; //@line 1097 "../src/h264bsd_decoder.c"
 var $136=((($135)*(516))&-1); //@line 1097 "../src/h264bsd_decoder.c"
 var $137=((($134)+($136))|0); //@line 1097 "../src/h264bsd_decoder.c"
 var $138=((($137)+(128))|0); //@line 1097 "../src/h264bsd_decoder.c"
 var $139=$138>>8; //@line 1097 "../src/h264bsd_decoder.c"
 var $141=$139;label=20;break; //@line 1097 "../src/h264bsd_decoder.c"
 case 20: 
 var $141; //@line 1097 "../src/h264bsd_decoder.c"
 var $143=$141;label=21;break; //@line 1097 "../src/h264bsd_decoder.c"
 case 21: 
 var $143; //@line 1097 "../src/h264bsd_decoder.c"
 $b=$143; //@line 1097 "../src/h264bsd_decoder.c"
 $pixel=255; //@line 1099 "../src/h264bsd_decoder.c"
 var $144=$pixel; //@line 1100 "../src/h264bsd_decoder.c"
 var $145=$144<<8; //@line 1100 "../src/h264bsd_decoder.c"
 var $146=$r; //@line 1100 "../src/h264bsd_decoder.c"
 var $147=$145&$146; //@line 1100 "../src/h264bsd_decoder.c"
 $pixel=$147; //@line 1100 "../src/h264bsd_decoder.c"
 var $148=$pixel; //@line 1101 "../src/h264bsd_decoder.c"
 var $149=$148<<8; //@line 1101 "../src/h264bsd_decoder.c"
 var $150=$g; //@line 1101 "../src/h264bsd_decoder.c"
 var $151=$149&$150; //@line 1101 "../src/h264bsd_decoder.c"
 $pixel=$151; //@line 1101 "../src/h264bsd_decoder.c"
 var $152=$pixel; //@line 1102 "../src/h264bsd_decoder.c"
 var $153=$152<<8; //@line 1102 "../src/h264bsd_decoder.c"
 var $154=$b; //@line 1102 "../src/h264bsd_decoder.c"
 var $155=$153&$154; //@line 1102 "../src/h264bsd_decoder.c"
 $pixel=$155; //@line 1102 "../src/h264bsd_decoder.c"
 var $156=$pixel; //@line 1104 "../src/h264bsd_decoder.c"
 var $157=$rgb; //@line 1104 "../src/h264bsd_decoder.c"
 HEAP32[(($157)>>2)]=$156; //@line 1104 "../src/h264bsd_decoder.c"
 var $158=$x; //@line 1106 "../src/h264bsd_decoder.c"
 var $159=((($158)+(1))|0); //@line 1106 "../src/h264bsd_decoder.c"
 $x=$159; //@line 1106 "../src/h264bsd_decoder.c"
 var $160=$rgb; //@line 1107 "../src/h264bsd_decoder.c"
 var $161=(($160+4)|0); //@line 1107 "../src/h264bsd_decoder.c"
 $rgb=$161; //@line 1107 "../src/h264bsd_decoder.c"
 var $162=$luma; //@line 1108 "../src/h264bsd_decoder.c"
 var $163=(($162+1)|0); //@line 1108 "../src/h264bsd_decoder.c"
 $luma=$163; //@line 1108 "../src/h264bsd_decoder.c"
 var $164=$x; //@line 1110 "../src/h264bsd_decoder.c"
 var $165=$164&1; //@line 1110 "../src/h264bsd_decoder.c"
 var $166=($165|0)!=0; //@line 1110 "../src/h264bsd_decoder.c"
 if($166){label=23;break;}else{label=22;break;} //@line 1110 "../src/h264bsd_decoder.c"
 case 22: 
 var $168=$cb; //@line 1112 "../src/h264bsd_decoder.c"
 var $169=(($168+1)|0); //@line 1112 "../src/h264bsd_decoder.c"
 $cb=$169; //@line 1112 "../src/h264bsd_decoder.c"
 var $170=$cr; //@line 1113 "../src/h264bsd_decoder.c"
 var $171=(($170+1)|0); //@line 1113 "../src/h264bsd_decoder.c"
 $cr=$171; //@line 1113 "../src/h264bsd_decoder.c"
 label=23;break; //@line 1114 "../src/h264bsd_decoder.c"
 case 23: 
 var $173=$x; //@line 1116 "../src/h264bsd_decoder.c"
 var $174=$w; //@line 1116 "../src/h264bsd_decoder.c"
 var $175=($173>>>0)<($174>>>0); //@line 1116 "../src/h264bsd_decoder.c"
 if($175){label=24;break;}else{label=25;break;} //@line 1116 "../src/h264bsd_decoder.c"
 case 24: 
 label=2;break; //@line 1116 "../src/h264bsd_decoder.c"
 case 25: 
 var $178=$y; //@line 1118 "../src/h264bsd_decoder.c"
 var $179=((($178)+(1))|0); //@line 1118 "../src/h264bsd_decoder.c"
 $y=$179; //@line 1118 "../src/h264bsd_decoder.c"
 var $180=$y; //@line 1120 "../src/h264bsd_decoder.c"
 var $181=$180&1; //@line 1120 "../src/h264bsd_decoder.c"
 var $182=($181|0)!=0; //@line 1120 "../src/h264bsd_decoder.c"
 if($182){label=26;break;}else{label=27;break;} //@line 1120 "../src/h264bsd_decoder.c"
 case 26: 
 var $184=$w; //@line 1122 "../src/h264bsd_decoder.c"
 var $185=$cb; //@line 1122 "../src/h264bsd_decoder.c"
 var $186=(((-$184))|0); //@line 1122 "../src/h264bsd_decoder.c"
 var $187=(($185+$186)|0); //@line 1122 "../src/h264bsd_decoder.c"
 $cb=$187; //@line 1122 "../src/h264bsd_decoder.c"
 var $188=$w; //@line 1123 "../src/h264bsd_decoder.c"
 var $189=$cr; //@line 1123 "../src/h264bsd_decoder.c"
 var $190=(((-$188))|0); //@line 1123 "../src/h264bsd_decoder.c"
 var $191=(($189+$190)|0); //@line 1123 "../src/h264bsd_decoder.c"
 $cr=$191; //@line 1123 "../src/h264bsd_decoder.c"
 label=27;break; //@line 1124 "../src/h264bsd_decoder.c"
 case 27: 
 label=2;break; //@line 1125 "../src/h264bsd_decoder.c"
 case 28: 
 STACKTOP=sp;return; //@line 1126 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdConvertToARGB"] = _h264bsdConvertToARGB;
function _h264bsdCheckValidParamSets($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$pStorage;
 var $2=$1; //@line 785 "../src/h264bsd_decoder.c"
 var $3=($2|0)!=0; //@line 785 "../src/h264bsd_decoder.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 785 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,785,14648); //@line 785 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 785 "../src/h264bsd_decoder.c"
 label=3;break; //@line 785 "../src/h264bsd_decoder.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 785 "../src/h264bsd_decoder.c"
 var $9=$1; //@line 787 "../src/h264bsd_decoder.c"
 var $10=_h264bsdValidParamSets($9); //@line 787 "../src/h264bsd_decoder.c"
 var $11=($10|0)==0; //@line 787 "../src/h264bsd_decoder.c"
 var $12=($11?1:0); //@line 787 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return $12; //@line 787 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdCheckValidParamSets"] = _h264bsdCheckValidParamSets;
function _h264bsdCroppingParams($pStorage,$croppingFlag,$leftOffset,$width,$topOffset,$height){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 $1=$pStorage;
 $2=$croppingFlag;
 $3=$leftOffset;
 $4=$width;
 $5=$topOffset;
 $6=$height;
 var $7=$1; //@line 892 "../src/h264bsd_decoder.c"
 var $8=($7|0)!=0; //@line 892 "../src/h264bsd_decoder.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 892 "../src/h264bsd_decoder.c"
 case 2: 
 ___assert_fail(7920,10968,892,14544); //@line 892 "../src/h264bsd_decoder.c"
 throw "Reached an unreachable!"; //@line 892 "../src/h264bsd_decoder.c"
 label=3;break; //@line 892 "../src/h264bsd_decoder.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 892 "../src/h264bsd_decoder.c"
 var $14=$1; //@line 894 "../src/h264bsd_decoder.c"
 var $15=(($14+16)|0); //@line 894 "../src/h264bsd_decoder.c"
 var $16=HEAP32[(($15)>>2)]; //@line 894 "../src/h264bsd_decoder.c"
 var $17=($16|0)!=0; //@line 894 "../src/h264bsd_decoder.c"
 if($17){label=4;break;}else{label=6;break;} //@line 894 "../src/h264bsd_decoder.c"
 case 4: 
 var $19=$1; //@line 894 "../src/h264bsd_decoder.c"
 var $20=(($19+16)|0); //@line 894 "../src/h264bsd_decoder.c"
 var $21=HEAP32[(($20)>>2)]; //@line 894 "../src/h264bsd_decoder.c"
 var $22=(($21+60)|0); //@line 894 "../src/h264bsd_decoder.c"
 var $23=HEAP32[(($22)>>2)]; //@line 894 "../src/h264bsd_decoder.c"
 var $24=($23|0)!=0; //@line 894 "../src/h264bsd_decoder.c"
 if($24){label=5;break;}else{label=6;break;} //@line 894 "../src/h264bsd_decoder.c"
 case 5: 
 var $26=$2; //@line 896 "../src/h264bsd_decoder.c"
 HEAP32[(($26)>>2)]=1; //@line 896 "../src/h264bsd_decoder.c"
 var $27=$1; //@line 897 "../src/h264bsd_decoder.c"
 var $28=(($27+16)|0); //@line 897 "../src/h264bsd_decoder.c"
 var $29=HEAP32[(($28)>>2)]; //@line 897 "../src/h264bsd_decoder.c"
 var $30=(($29+64)|0); //@line 897 "../src/h264bsd_decoder.c"
 var $31=HEAP32[(($30)>>2)]; //@line 897 "../src/h264bsd_decoder.c"
 var $32=($31<<1); //@line 897 "../src/h264bsd_decoder.c"
 var $33=$3; //@line 897 "../src/h264bsd_decoder.c"
 HEAP32[(($33)>>2)]=$32; //@line 897 "../src/h264bsd_decoder.c"
 var $34=$1; //@line 898 "../src/h264bsd_decoder.c"
 var $35=(($34+16)|0); //@line 898 "../src/h264bsd_decoder.c"
 var $36=HEAP32[(($35)>>2)]; //@line 898 "../src/h264bsd_decoder.c"
 var $37=(($36+52)|0); //@line 898 "../src/h264bsd_decoder.c"
 var $38=HEAP32[(($37)>>2)]; //@line 898 "../src/h264bsd_decoder.c"
 var $39=($38<<4); //@line 898 "../src/h264bsd_decoder.c"
 var $40=$1; //@line 898 "../src/h264bsd_decoder.c"
 var $41=(($40+16)|0); //@line 898 "../src/h264bsd_decoder.c"
 var $42=HEAP32[(($41)>>2)]; //@line 898 "../src/h264bsd_decoder.c"
 var $43=(($42+64)|0); //@line 898 "../src/h264bsd_decoder.c"
 var $44=HEAP32[(($43)>>2)]; //@line 898 "../src/h264bsd_decoder.c"
 var $45=$1; //@line 898 "../src/h264bsd_decoder.c"
 var $46=(($45+16)|0); //@line 898 "../src/h264bsd_decoder.c"
 var $47=HEAP32[(($46)>>2)]; //@line 898 "../src/h264bsd_decoder.c"
 var $48=(($47+68)|0); //@line 898 "../src/h264bsd_decoder.c"
 var $49=HEAP32[(($48)>>2)]; //@line 898 "../src/h264bsd_decoder.c"
 var $50=((($44)+($49))|0); //@line 898 "../src/h264bsd_decoder.c"
 var $51=($50<<1); //@line 898 "../src/h264bsd_decoder.c"
 var $52=((($39)-($51))|0); //@line 898 "../src/h264bsd_decoder.c"
 var $53=$4; //@line 898 "../src/h264bsd_decoder.c"
 HEAP32[(($53)>>2)]=$52; //@line 898 "../src/h264bsd_decoder.c"
 var $54=$1; //@line 901 "../src/h264bsd_decoder.c"
 var $55=(($54+16)|0); //@line 901 "../src/h264bsd_decoder.c"
 var $56=HEAP32[(($55)>>2)]; //@line 901 "../src/h264bsd_decoder.c"
 var $57=(($56+72)|0); //@line 901 "../src/h264bsd_decoder.c"
 var $58=HEAP32[(($57)>>2)]; //@line 901 "../src/h264bsd_decoder.c"
 var $59=($58<<1); //@line 901 "../src/h264bsd_decoder.c"
 var $60=$5; //@line 901 "../src/h264bsd_decoder.c"
 HEAP32[(($60)>>2)]=$59; //@line 901 "../src/h264bsd_decoder.c"
 var $61=$1; //@line 902 "../src/h264bsd_decoder.c"
 var $62=(($61+16)|0); //@line 902 "../src/h264bsd_decoder.c"
 var $63=HEAP32[(($62)>>2)]; //@line 902 "../src/h264bsd_decoder.c"
 var $64=(($63+56)|0); //@line 902 "../src/h264bsd_decoder.c"
 var $65=HEAP32[(($64)>>2)]; //@line 902 "../src/h264bsd_decoder.c"
 var $66=($65<<4); //@line 902 "../src/h264bsd_decoder.c"
 var $67=$1; //@line 902 "../src/h264bsd_decoder.c"
 var $68=(($67+16)|0); //@line 902 "../src/h264bsd_decoder.c"
 var $69=HEAP32[(($68)>>2)]; //@line 902 "../src/h264bsd_decoder.c"
 var $70=(($69+72)|0); //@line 902 "../src/h264bsd_decoder.c"
 var $71=HEAP32[(($70)>>2)]; //@line 902 "../src/h264bsd_decoder.c"
 var $72=$1; //@line 902 "../src/h264bsd_decoder.c"
 var $73=(($72+16)|0); //@line 902 "../src/h264bsd_decoder.c"
 var $74=HEAP32[(($73)>>2)]; //@line 902 "../src/h264bsd_decoder.c"
 var $75=(($74+76)|0); //@line 902 "../src/h264bsd_decoder.c"
 var $76=HEAP32[(($75)>>2)]; //@line 902 "../src/h264bsd_decoder.c"
 var $77=((($71)+($76))|0); //@line 902 "../src/h264bsd_decoder.c"
 var $78=($77<<1); //@line 902 "../src/h264bsd_decoder.c"
 var $79=((($66)-($78))|0); //@line 902 "../src/h264bsd_decoder.c"
 var $80=$6; //@line 902 "../src/h264bsd_decoder.c"
 HEAP32[(($80)>>2)]=$79; //@line 902 "../src/h264bsd_decoder.c"
 label=7;break; //@line 905 "../src/h264bsd_decoder.c"
 case 6: 
 var $82=$2; //@line 908 "../src/h264bsd_decoder.c"
 HEAP32[(($82)>>2)]=0; //@line 908 "../src/h264bsd_decoder.c"
 var $83=$3; //@line 909 "../src/h264bsd_decoder.c"
 HEAP32[(($83)>>2)]=0; //@line 909 "../src/h264bsd_decoder.c"
 var $84=$4; //@line 910 "../src/h264bsd_decoder.c"
 HEAP32[(($84)>>2)]=0; //@line 910 "../src/h264bsd_decoder.c"
 var $85=$5; //@line 911 "../src/h264bsd_decoder.c"
 HEAP32[(($85)>>2)]=0; //@line 911 "../src/h264bsd_decoder.c"
 var $86=$6; //@line 912 "../src/h264bsd_decoder.c"
 HEAP32[(($86)>>2)]=0; //@line 912 "../src/h264bsd_decoder.c"
 label=7;break;
 case 7: 
 STACKTOP=sp;return; //@line 915 "../src/h264bsd_decoder.c"
  default: assert(0, "bad label: " + label);
 }
}
Module["_h264bsdCroppingParams"] = _h264bsdCroppingParams;
function _h264bsdAlloc(){
 var label=0;
 var $1=_malloc(3396); //@line 1026 "../src/h264bsd_decoder.c"
 var $2=$1; //@line 1026 "../src/h264bsd_decoder.c"
 return $2; //@line 1026 "../src/h264bsd_decoder.c"
}
Module["_h264bsdAlloc"] = _h264bsdAlloc;
function _h264bsdFree($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 var $1;
 $1=$pStorage;
 var $2=$1; //@line 1049 "../src/h264bsd_decoder.c"
 var $3=$2; //@line 1049 "../src/h264bsd_decoder.c"
 _free($3); //@line 1049 "../src/h264bsd_decoder.c"
 STACKTOP=sp;return; //@line 1050 "../src/h264bsd_decoder.c"
}
Module["_h264bsdFree"] = _h264bsdFree;
function _h264bsdReorderRefPicList($dpb,$order,$currFrameNum,$numRefIdxActive){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $j;
 var $k;
 var $picNumPred;
 var $refIdx;
 var $picNum;
 var $picNumNoWrap;
 var $index;
 var $isShortTerm;
 $2=$dpb;
 $3=$order;
 $4=$currFrameNum;
 $5=$numRefIdxActive;
 var $6=$3; //@line 240 "../src/h264bsd_dpb.c"
 var $7=($6|0)!=0; //@line 240 "../src/h264bsd_dpb.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 240 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6344,10304,240,12792); //@line 240 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 240 "../src/h264bsd_dpb.c"
 label=3;break; //@line 240 "../src/h264bsd_dpb.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 240 "../src/h264bsd_dpb.c"
 var $13=$4; //@line 241 "../src/h264bsd_dpb.c"
 var $14=$2; //@line 241 "../src/h264bsd_dpb.c"
 var $15=(($14+32)|0); //@line 241 "../src/h264bsd_dpb.c"
 var $16=HEAP32[(($15)>>2)]; //@line 241 "../src/h264bsd_dpb.c"
 var $17=($13>>>0)<=($16>>>0); //@line 241 "../src/h264bsd_dpb.c"
 if($17){var $21=1;label=5;break;}else{label=4;break;} //@line 241 "../src/h264bsd_dpb.c"
 case 4: 
 ___assert_fail(8624,10304,241,12792); //@line 241 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 241 "../src/h264bsd_dpb.c"
 label=5;break; //@line 241 "../src/h264bsd_dpb.c"
 case 5: 
 var $21;
 var $22=($21&1); //@line 241 "../src/h264bsd_dpb.c"
 var $23=$5; //@line 242 "../src/h264bsd_dpb.c"
 var $24=($23>>>0)<=16; //@line 242 "../src/h264bsd_dpb.c"
 if($24){var $28=1;label=7;break;}else{label=6;break;} //@line 242 "../src/h264bsd_dpb.c"
 case 6: 
 ___assert_fail(7640,10304,242,12792); //@line 242 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 242 "../src/h264bsd_dpb.c"
 label=7;break; //@line 242 "../src/h264bsd_dpb.c"
 case 7: 
 var $28;
 var $29=($28&1); //@line 242 "../src/h264bsd_dpb.c"
 var $30=$2; //@line 245 "../src/h264bsd_dpb.c"
 var $31=$4; //@line 245 "../src/h264bsd_dpb.c"
 _SetPicNums($30,$31); //@line 245 "../src/h264bsd_dpb.c"
 var $32=$3; //@line 247 "../src/h264bsd_dpb.c"
 var $33=(($32)|0); //@line 247 "../src/h264bsd_dpb.c"
 var $34=HEAP32[(($33)>>2)]; //@line 247 "../src/h264bsd_dpb.c"
 var $35=($34|0)!=0; //@line 247 "../src/h264bsd_dpb.c"
 if($35){label=9;break;}else{label=8;break;} //@line 247 "../src/h264bsd_dpb.c"
 case 8: 
 $1=0; //@line 248 "../src/h264bsd_dpb.c"
 label=38;break; //@line 248 "../src/h264bsd_dpb.c"
 case 9: 
 $refIdx=0; //@line 250 "../src/h264bsd_dpb.c"
 var $38=$4; //@line 251 "../src/h264bsd_dpb.c"
 $picNumPred=$38; //@line 251 "../src/h264bsd_dpb.c"
 $i=0; //@line 253 "../src/h264bsd_dpb.c"
 label=10;break; //@line 254 "../src/h264bsd_dpb.c"
 case 10: 
 var $40=$i; //@line 254 "../src/h264bsd_dpb.c"
 var $41=$3; //@line 254 "../src/h264bsd_dpb.c"
 var $42=(($41+4)|0); //@line 254 "../src/h264bsd_dpb.c"
 var $43=(($42+((($40)*(12))&-1))|0); //@line 254 "../src/h264bsd_dpb.c"
 var $44=(($43)|0); //@line 254 "../src/h264bsd_dpb.c"
 var $45=HEAP32[(($44)>>2)]; //@line 254 "../src/h264bsd_dpb.c"
 var $46=($45>>>0)<3; //@line 254 "../src/h264bsd_dpb.c"
 if($46){label=11;break;}else{label=37;break;} //@line 254 "../src/h264bsd_dpb.c"
 case 11: 
 var $48=$i; //@line 257 "../src/h264bsd_dpb.c"
 var $49=$3; //@line 257 "../src/h264bsd_dpb.c"
 var $50=(($49+4)|0); //@line 257 "../src/h264bsd_dpb.c"
 var $51=(($50+((($48)*(12))&-1))|0); //@line 257 "../src/h264bsd_dpb.c"
 var $52=(($51)|0); //@line 257 "../src/h264bsd_dpb.c"
 var $53=HEAP32[(($52)>>2)]; //@line 257 "../src/h264bsd_dpb.c"
 var $54=($53>>>0)<2; //@line 257 "../src/h264bsd_dpb.c"
 if($54){label=12;break;}else{label=22;break;} //@line 257 "../src/h264bsd_dpb.c"
 case 12: 
 var $56=$i; //@line 259 "../src/h264bsd_dpb.c"
 var $57=$3; //@line 259 "../src/h264bsd_dpb.c"
 var $58=(($57+4)|0); //@line 259 "../src/h264bsd_dpb.c"
 var $59=(($58+((($56)*(12))&-1))|0); //@line 259 "../src/h264bsd_dpb.c"
 var $60=(($59)|0); //@line 259 "../src/h264bsd_dpb.c"
 var $61=HEAP32[(($60)>>2)]; //@line 259 "../src/h264bsd_dpb.c"
 var $62=($61|0)==0; //@line 259 "../src/h264bsd_dpb.c"
 if($62){label=13;break;}else{label=16;break;} //@line 259 "../src/h264bsd_dpb.c"
 case 13: 
 var $64=$picNumPred; //@line 261 "../src/h264bsd_dpb.c"
 var $65=$i; //@line 261 "../src/h264bsd_dpb.c"
 var $66=$3; //@line 261 "../src/h264bsd_dpb.c"
 var $67=(($66+4)|0); //@line 261 "../src/h264bsd_dpb.c"
 var $68=(($67+((($65)*(12))&-1))|0); //@line 261 "../src/h264bsd_dpb.c"
 var $69=(($68+4)|0); //@line 261 "../src/h264bsd_dpb.c"
 var $70=HEAP32[(($69)>>2)]; //@line 261 "../src/h264bsd_dpb.c"
 var $71=((($64)-($70))|0); //@line 261 "../src/h264bsd_dpb.c"
 $picNumNoWrap=$71; //@line 261 "../src/h264bsd_dpb.c"
 var $72=$picNumNoWrap; //@line 263 "../src/h264bsd_dpb.c"
 var $73=($72|0)<0; //@line 263 "../src/h264bsd_dpb.c"
 if($73){label=14;break;}else{label=15;break;} //@line 263 "../src/h264bsd_dpb.c"
 case 14: 
 var $75=$2; //@line 264 "../src/h264bsd_dpb.c"
 var $76=(($75+32)|0); //@line 264 "../src/h264bsd_dpb.c"
 var $77=HEAP32[(($76)>>2)]; //@line 264 "../src/h264bsd_dpb.c"
 var $78=$picNumNoWrap; //@line 264 "../src/h264bsd_dpb.c"
 var $79=((($78)+($77))|0); //@line 264 "../src/h264bsd_dpb.c"
 $picNumNoWrap=$79; //@line 264 "../src/h264bsd_dpb.c"
 label=15;break; //@line 264 "../src/h264bsd_dpb.c"
 case 15: 
 label=19;break; //@line 265 "../src/h264bsd_dpb.c"
 case 16: 
 var $82=$picNumPred; //@line 268 "../src/h264bsd_dpb.c"
 var $83=$i; //@line 268 "../src/h264bsd_dpb.c"
 var $84=$3; //@line 268 "../src/h264bsd_dpb.c"
 var $85=(($84+4)|0); //@line 268 "../src/h264bsd_dpb.c"
 var $86=(($85+((($83)*(12))&-1))|0); //@line 268 "../src/h264bsd_dpb.c"
 var $87=(($86+4)|0); //@line 268 "../src/h264bsd_dpb.c"
 var $88=HEAP32[(($87)>>2)]; //@line 268 "../src/h264bsd_dpb.c"
 var $89=((($82)+($88))|0); //@line 268 "../src/h264bsd_dpb.c"
 $picNumNoWrap=$89; //@line 268 "../src/h264bsd_dpb.c"
 var $90=$picNumNoWrap; //@line 270 "../src/h264bsd_dpb.c"
 var $91=$2; //@line 270 "../src/h264bsd_dpb.c"
 var $92=(($91+32)|0); //@line 270 "../src/h264bsd_dpb.c"
 var $93=HEAP32[(($92)>>2)]; //@line 270 "../src/h264bsd_dpb.c"
 var $94=($90|0)>=($93|0); //@line 270 "../src/h264bsd_dpb.c"
 if($94){label=17;break;}else{label=18;break;} //@line 270 "../src/h264bsd_dpb.c"
 case 17: 
 var $96=$2; //@line 271 "../src/h264bsd_dpb.c"
 var $97=(($96+32)|0); //@line 271 "../src/h264bsd_dpb.c"
 var $98=HEAP32[(($97)>>2)]; //@line 271 "../src/h264bsd_dpb.c"
 var $99=$picNumNoWrap; //@line 271 "../src/h264bsd_dpb.c"
 var $100=((($99)-($98))|0); //@line 271 "../src/h264bsd_dpb.c"
 $picNumNoWrap=$100; //@line 271 "../src/h264bsd_dpb.c"
 label=18;break; //@line 271 "../src/h264bsd_dpb.c"
 case 18: 
 label=19;break;
 case 19: 
 var $103=$picNumNoWrap; //@line 273 "../src/h264bsd_dpb.c"
 $picNumPred=$103; //@line 273 "../src/h264bsd_dpb.c"
 var $104=$picNumNoWrap; //@line 274 "../src/h264bsd_dpb.c"
 $picNum=$104; //@line 274 "../src/h264bsd_dpb.c"
 var $105=$picNumNoWrap; //@line 275 "../src/h264bsd_dpb.c"
 var $106=$4; //@line 275 "../src/h264bsd_dpb.c"
 var $107=($105>>>0)>($106>>>0); //@line 275 "../src/h264bsd_dpb.c"
 if($107){label=20;break;}else{label=21;break;} //@line 275 "../src/h264bsd_dpb.c"
 case 20: 
 var $109=$2; //@line 276 "../src/h264bsd_dpb.c"
 var $110=(($109+32)|0); //@line 276 "../src/h264bsd_dpb.c"
 var $111=HEAP32[(($110)>>2)]; //@line 276 "../src/h264bsd_dpb.c"
 var $112=$picNum; //@line 276 "../src/h264bsd_dpb.c"
 var $113=((($112)-($111))|0); //@line 276 "../src/h264bsd_dpb.c"
 $picNum=$113; //@line 276 "../src/h264bsd_dpb.c"
 label=21;break; //@line 276 "../src/h264bsd_dpb.c"
 case 21: 
 $isShortTerm=1; //@line 277 "../src/h264bsd_dpb.c"
 label=23;break; //@line 278 "../src/h264bsd_dpb.c"
 case 22: 
 var $116=$i; //@line 282 "../src/h264bsd_dpb.c"
 var $117=$3; //@line 282 "../src/h264bsd_dpb.c"
 var $118=(($117+4)|0); //@line 282 "../src/h264bsd_dpb.c"
 var $119=(($118+((($116)*(12))&-1))|0); //@line 282 "../src/h264bsd_dpb.c"
 var $120=(($119+8)|0); //@line 282 "../src/h264bsd_dpb.c"
 var $121=HEAP32[(($120)>>2)]; //@line 282 "../src/h264bsd_dpb.c"
 $picNum=$121; //@line 282 "../src/h264bsd_dpb.c"
 $isShortTerm=0; //@line 283 "../src/h264bsd_dpb.c"
 label=23;break;
 case 23: 
 var $123=$2; //@line 287 "../src/h264bsd_dpb.c"
 var $124=$picNum; //@line 287 "../src/h264bsd_dpb.c"
 var $125=$isShortTerm; //@line 287 "../src/h264bsd_dpb.c"
 var $126=_FindDpbPic($123,$124,$125); //@line 287 "../src/h264bsd_dpb.c"
 $index=$126; //@line 287 "../src/h264bsd_dpb.c"
 var $127=$index; //@line 288 "../src/h264bsd_dpb.c"
 var $128=($127|0)<0; //@line 288 "../src/h264bsd_dpb.c"
 if($128){label=25;break;}else{label=24;break;} //@line 288 "../src/h264bsd_dpb.c"
 case 24: 
 var $130=$index; //@line 288 "../src/h264bsd_dpb.c"
 var $131=$2; //@line 288 "../src/h264bsd_dpb.c"
 var $132=(($131)|0); //@line 288 "../src/h264bsd_dpb.c"
 var $133=HEAP32[(($132)>>2)]; //@line 288 "../src/h264bsd_dpb.c"
 var $134=(($133+((($130)*(40))&-1))|0); //@line 288 "../src/h264bsd_dpb.c"
 var $135=(($134+20)|0); //@line 288 "../src/h264bsd_dpb.c"
 var $136=HEAP32[(($135)>>2)]; //@line 288 "../src/h264bsd_dpb.c"
 var $137=($136>>>0)>1; //@line 288 "../src/h264bsd_dpb.c"
 if($137){label=26;break;}else{label=25;break;} //@line 288 "../src/h264bsd_dpb.c"
 case 25: 
 $1=1; //@line 289 "../src/h264bsd_dpb.c"
 label=38;break; //@line 289 "../src/h264bsd_dpb.c"
 case 26: 
 var $140=$5; //@line 292 "../src/h264bsd_dpb.c"
 $j=$140; //@line 292 "../src/h264bsd_dpb.c"
 label=27;break; //@line 292 "../src/h264bsd_dpb.c"
 case 27: 
 var $142=$j; //@line 292 "../src/h264bsd_dpb.c"
 var $143=$refIdx; //@line 292 "../src/h264bsd_dpb.c"
 var $144=($142>>>0)>($143>>>0); //@line 292 "../src/h264bsd_dpb.c"
 if($144){label=28;break;}else{label=30;break;} //@line 292 "../src/h264bsd_dpb.c"
 case 28: 
 var $146=$j; //@line 293 "../src/h264bsd_dpb.c"
 var $147=((($146)-(1))|0); //@line 293 "../src/h264bsd_dpb.c"
 var $148=$2; //@line 293 "../src/h264bsd_dpb.c"
 var $149=(($148+4)|0); //@line 293 "../src/h264bsd_dpb.c"
 var $150=HEAP32[(($149)>>2)]; //@line 293 "../src/h264bsd_dpb.c"
 var $151=(($150+($147<<2))|0); //@line 293 "../src/h264bsd_dpb.c"
 var $152=HEAP32[(($151)>>2)]; //@line 293 "../src/h264bsd_dpb.c"
 var $153=$j; //@line 293 "../src/h264bsd_dpb.c"
 var $154=$2; //@line 293 "../src/h264bsd_dpb.c"
 var $155=(($154+4)|0); //@line 293 "../src/h264bsd_dpb.c"
 var $156=HEAP32[(($155)>>2)]; //@line 293 "../src/h264bsd_dpb.c"
 var $157=(($156+($153<<2))|0); //@line 293 "../src/h264bsd_dpb.c"
 HEAP32[(($157)>>2)]=$152; //@line 293 "../src/h264bsd_dpb.c"
 label=29;break; //@line 293 "../src/h264bsd_dpb.c"
 case 29: 
 var $159=$j; //@line 292 "../src/h264bsd_dpb.c"
 var $160=((($159)-(1))|0); //@line 292 "../src/h264bsd_dpb.c"
 $j=$160; //@line 292 "../src/h264bsd_dpb.c"
 label=27;break; //@line 292 "../src/h264bsd_dpb.c"
 case 30: 
 var $162=$index; //@line 295 "../src/h264bsd_dpb.c"
 var $163=$2; //@line 295 "../src/h264bsd_dpb.c"
 var $164=(($163)|0); //@line 295 "../src/h264bsd_dpb.c"
 var $165=HEAP32[(($164)>>2)]; //@line 295 "../src/h264bsd_dpb.c"
 var $166=(($165+((($162)*(40))&-1))|0); //@line 295 "../src/h264bsd_dpb.c"
 var $167=$refIdx; //@line 295 "../src/h264bsd_dpb.c"
 var $168=((($167)+(1))|0); //@line 295 "../src/h264bsd_dpb.c"
 $refIdx=$168; //@line 295 "../src/h264bsd_dpb.c"
 var $169=$2; //@line 295 "../src/h264bsd_dpb.c"
 var $170=(($169+4)|0); //@line 295 "../src/h264bsd_dpb.c"
 var $171=HEAP32[(($170)>>2)]; //@line 295 "../src/h264bsd_dpb.c"
 var $172=(($171+($167<<2))|0); //@line 295 "../src/h264bsd_dpb.c"
 HEAP32[(($172)>>2)]=$166; //@line 295 "../src/h264bsd_dpb.c"
 var $173=$refIdx; //@line 297 "../src/h264bsd_dpb.c"
 $k=$173; //@line 297 "../src/h264bsd_dpb.c"
 $j=$173; //@line 297 "../src/h264bsd_dpb.c"
 label=31;break; //@line 297 "../src/h264bsd_dpb.c"
 case 31: 
 var $175=$j; //@line 297 "../src/h264bsd_dpb.c"
 var $176=$5; //@line 297 "../src/h264bsd_dpb.c"
 var $177=($175>>>0)<=($176>>>0); //@line 297 "../src/h264bsd_dpb.c"
 if($177){label=32;break;}else{label=36;break;} //@line 297 "../src/h264bsd_dpb.c"
 case 32: 
 var $179=$j; //@line 298 "../src/h264bsd_dpb.c"
 var $180=$2; //@line 298 "../src/h264bsd_dpb.c"
 var $181=(($180+4)|0); //@line 298 "../src/h264bsd_dpb.c"
 var $182=HEAP32[(($181)>>2)]; //@line 298 "../src/h264bsd_dpb.c"
 var $183=(($182+($179<<2))|0); //@line 298 "../src/h264bsd_dpb.c"
 var $184=HEAP32[(($183)>>2)]; //@line 298 "../src/h264bsd_dpb.c"
 var $185=$index; //@line 298 "../src/h264bsd_dpb.c"
 var $186=$2; //@line 298 "../src/h264bsd_dpb.c"
 var $187=(($186)|0); //@line 298 "../src/h264bsd_dpb.c"
 var $188=HEAP32[(($187)>>2)]; //@line 298 "../src/h264bsd_dpb.c"
 var $189=(($188+((($185)*(40))&-1))|0); //@line 298 "../src/h264bsd_dpb.c"
 var $190=($184|0)!=($189|0); //@line 298 "../src/h264bsd_dpb.c"
 if($190){label=33;break;}else{label=34;break;} //@line 298 "../src/h264bsd_dpb.c"
 case 33: 
 var $192=$j; //@line 299 "../src/h264bsd_dpb.c"
 var $193=$2; //@line 299 "../src/h264bsd_dpb.c"
 var $194=(($193+4)|0); //@line 299 "../src/h264bsd_dpb.c"
 var $195=HEAP32[(($194)>>2)]; //@line 299 "../src/h264bsd_dpb.c"
 var $196=(($195+($192<<2))|0); //@line 299 "../src/h264bsd_dpb.c"
 var $197=HEAP32[(($196)>>2)]; //@line 299 "../src/h264bsd_dpb.c"
 var $198=$k; //@line 299 "../src/h264bsd_dpb.c"
 var $199=((($198)+(1))|0); //@line 299 "../src/h264bsd_dpb.c"
 $k=$199; //@line 299 "../src/h264bsd_dpb.c"
 var $200=$2; //@line 299 "../src/h264bsd_dpb.c"
 var $201=(($200+4)|0); //@line 299 "../src/h264bsd_dpb.c"
 var $202=HEAP32[(($201)>>2)]; //@line 299 "../src/h264bsd_dpb.c"
 var $203=(($202+($198<<2))|0); //@line 299 "../src/h264bsd_dpb.c"
 HEAP32[(($203)>>2)]=$197; //@line 299 "../src/h264bsd_dpb.c"
 label=34;break; //@line 299 "../src/h264bsd_dpb.c"
 case 34: 
 label=35;break; //@line 299 "../src/h264bsd_dpb.c"
 case 35: 
 var $206=$j; //@line 297 "../src/h264bsd_dpb.c"
 var $207=((($206)+(1))|0); //@line 297 "../src/h264bsd_dpb.c"
 $j=$207; //@line 297 "../src/h264bsd_dpb.c"
 label=31;break; //@line 297 "../src/h264bsd_dpb.c"
 case 36: 
 var $209=$i; //@line 301 "../src/h264bsd_dpb.c"
 var $210=((($209)+(1))|0); //@line 301 "../src/h264bsd_dpb.c"
 $i=$210; //@line 301 "../src/h264bsd_dpb.c"
 label=10;break; //@line 302 "../src/h264bsd_dpb.c"
 case 37: 
 $1=0; //@line 304 "../src/h264bsd_dpb.c"
 label=38;break; //@line 304 "../src/h264bsd_dpb.c"
 case 38: 
 var $213=$1; //@line 306 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $213; //@line 306 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _SetPicNums($dpb,$currFrameNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 var $frameNumWrap;
 $1=$dpb;
 $2=$currFrameNum;
 var $3=$1; //@line 1200 "../src/h264bsd_dpb.c"
 var $4=($3|0)!=0; //@line 1200 "../src/h264bsd_dpb.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1200 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,1200,15048); //@line 1200 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1200 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1200 "../src/h264bsd_dpb.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1200 "../src/h264bsd_dpb.c"
 var $10=$2; //@line 1201 "../src/h264bsd_dpb.c"
 var $11=$1; //@line 1201 "../src/h264bsd_dpb.c"
 var $12=(($11+32)|0); //@line 1201 "../src/h264bsd_dpb.c"
 var $13=HEAP32[(($12)>>2)]; //@line 1201 "../src/h264bsd_dpb.c"
 var $14=($10>>>0)<($13>>>0); //@line 1201 "../src/h264bsd_dpb.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 1201 "../src/h264bsd_dpb.c"
 case 4: 
 ___assert_fail(8592,10304,1201,15048); //@line 1201 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1201 "../src/h264bsd_dpb.c"
 label=5;break; //@line 1201 "../src/h264bsd_dpb.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 1201 "../src/h264bsd_dpb.c"
 $i=0; //@line 1203 "../src/h264bsd_dpb.c"
 label=6;break; //@line 1203 "../src/h264bsd_dpb.c"
 case 6: 
 var $21=$i; //@line 1203 "../src/h264bsd_dpb.c"
 var $22=$1; //@line 1203 "../src/h264bsd_dpb.c"
 var $23=(($22+40)|0); //@line 1203 "../src/h264bsd_dpb.c"
 var $24=HEAP32[(($23)>>2)]; //@line 1203 "../src/h264bsd_dpb.c"
 var $25=($21>>>0)<($24>>>0); //@line 1203 "../src/h264bsd_dpb.c"
 if($25){label=7;break;}else{label=15;break;} //@line 1203 "../src/h264bsd_dpb.c"
 case 7: 
 var $27=$i; //@line 1204 "../src/h264bsd_dpb.c"
 var $28=$1; //@line 1204 "../src/h264bsd_dpb.c"
 var $29=(($28)|0); //@line 1204 "../src/h264bsd_dpb.c"
 var $30=HEAP32[(($29)>>2)]; //@line 1204 "../src/h264bsd_dpb.c"
 var $31=(($30+((($27)*(40))&-1))|0); //@line 1204 "../src/h264bsd_dpb.c"
 var $32=(($31+20)|0); //@line 1204 "../src/h264bsd_dpb.c"
 var $33=HEAP32[(($32)>>2)]; //@line 1204 "../src/h264bsd_dpb.c"
 var $34=($33|0)==1; //@line 1204 "../src/h264bsd_dpb.c"
 if($34){label=9;break;}else{label=8;break;} //@line 1204 "../src/h264bsd_dpb.c"
 case 8: 
 var $36=$i; //@line 1204 "../src/h264bsd_dpb.c"
 var $37=$1; //@line 1204 "../src/h264bsd_dpb.c"
 var $38=(($37)|0); //@line 1204 "../src/h264bsd_dpb.c"
 var $39=HEAP32[(($38)>>2)]; //@line 1204 "../src/h264bsd_dpb.c"
 var $40=(($39+((($36)*(40))&-1))|0); //@line 1204 "../src/h264bsd_dpb.c"
 var $41=(($40+20)|0); //@line 1204 "../src/h264bsd_dpb.c"
 var $42=HEAP32[(($41)>>2)]; //@line 1204 "../src/h264bsd_dpb.c"
 var $43=($42|0)==2; //@line 1204 "../src/h264bsd_dpb.c"
 if($43){label=9;break;}else{label=13;break;} //@line 1204 "../src/h264bsd_dpb.c"
 case 9: 
 var $45=$i; //@line 1206 "../src/h264bsd_dpb.c"
 var $46=$1; //@line 1206 "../src/h264bsd_dpb.c"
 var $47=(($46)|0); //@line 1206 "../src/h264bsd_dpb.c"
 var $48=HEAP32[(($47)>>2)]; //@line 1206 "../src/h264bsd_dpb.c"
 var $49=(($48+((($45)*(40))&-1))|0); //@line 1206 "../src/h264bsd_dpb.c"
 var $50=(($49+12)|0); //@line 1206 "../src/h264bsd_dpb.c"
 var $51=HEAP32[(($50)>>2)]; //@line 1206 "../src/h264bsd_dpb.c"
 var $52=$2; //@line 1206 "../src/h264bsd_dpb.c"
 var $53=($51>>>0)>($52>>>0); //@line 1206 "../src/h264bsd_dpb.c"
 if($53){label=10;break;}else{label=11;break;} //@line 1206 "../src/h264bsd_dpb.c"
 case 10: 
 var $55=$i; //@line 1207 "../src/h264bsd_dpb.c"
 var $56=$1; //@line 1207 "../src/h264bsd_dpb.c"
 var $57=(($56)|0); //@line 1207 "../src/h264bsd_dpb.c"
 var $58=HEAP32[(($57)>>2)]; //@line 1207 "../src/h264bsd_dpb.c"
 var $59=(($58+((($55)*(40))&-1))|0); //@line 1207 "../src/h264bsd_dpb.c"
 var $60=(($59+12)|0); //@line 1207 "../src/h264bsd_dpb.c"
 var $61=HEAP32[(($60)>>2)]; //@line 1207 "../src/h264bsd_dpb.c"
 var $62=$1; //@line 1207 "../src/h264bsd_dpb.c"
 var $63=(($62+32)|0); //@line 1207 "../src/h264bsd_dpb.c"
 var $64=HEAP32[(($63)>>2)]; //@line 1207 "../src/h264bsd_dpb.c"
 var $65=((($61)-($64))|0); //@line 1207 "../src/h264bsd_dpb.c"
 $frameNumWrap=$65; //@line 1207 "../src/h264bsd_dpb.c"
 label=12;break; //@line 1207 "../src/h264bsd_dpb.c"
 case 11: 
 var $67=$i; //@line 1210 "../src/h264bsd_dpb.c"
 var $68=$1; //@line 1210 "../src/h264bsd_dpb.c"
 var $69=(($68)|0); //@line 1210 "../src/h264bsd_dpb.c"
 var $70=HEAP32[(($69)>>2)]; //@line 1210 "../src/h264bsd_dpb.c"
 var $71=(($70+((($67)*(40))&-1))|0); //@line 1210 "../src/h264bsd_dpb.c"
 var $72=(($71+12)|0); //@line 1210 "../src/h264bsd_dpb.c"
 var $73=HEAP32[(($72)>>2)]; //@line 1210 "../src/h264bsd_dpb.c"
 $frameNumWrap=$73; //@line 1210 "../src/h264bsd_dpb.c"
 label=12;break;
 case 12: 
 var $75=$frameNumWrap; //@line 1211 "../src/h264bsd_dpb.c"
 var $76=$i; //@line 1211 "../src/h264bsd_dpb.c"
 var $77=$1; //@line 1211 "../src/h264bsd_dpb.c"
 var $78=(($77)|0); //@line 1211 "../src/h264bsd_dpb.c"
 var $79=HEAP32[(($78)>>2)]; //@line 1211 "../src/h264bsd_dpb.c"
 var $80=(($79+((($76)*(40))&-1))|0); //@line 1211 "../src/h264bsd_dpb.c"
 var $81=(($80+8)|0); //@line 1211 "../src/h264bsd_dpb.c"
 HEAP32[(($81)>>2)]=$75; //@line 1211 "../src/h264bsd_dpb.c"
 label=13;break; //@line 1212 "../src/h264bsd_dpb.c"
 case 13: 
 label=14;break; //@line 1212 "../src/h264bsd_dpb.c"
 case 14: 
 var $84=$i; //@line 1203 "../src/h264bsd_dpb.c"
 var $85=((($84)+(1))|0); //@line 1203 "../src/h264bsd_dpb.c"
 $i=$85; //@line 1203 "../src/h264bsd_dpb.c"
 label=6;break; //@line 1203 "../src/h264bsd_dpb.c"
 case 15: 
 STACKTOP=sp;return; //@line 1214 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FindDpbPic($dpb,$picNum,$isShortTerm){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $found;
 $2=$dpb;
 $3=$picNum;
 $4=$isShortTerm;
 $i=0; //@line 1138 "../src/h264bsd_dpb.c"
 $found=0; //@line 1139 "../src/h264bsd_dpb.c"
 var $5=$4; //@line 1143 "../src/h264bsd_dpb.c"
 var $6=($5|0)!=0; //@line 1143 "../src/h264bsd_dpb.c"
 if($6){label=2;break;}else{label=13;break;} //@line 1143 "../src/h264bsd_dpb.c"
 case 2: 
 label=3;break; //@line 1145 "../src/h264bsd_dpb.c"
 case 3: 
 var $9=$i; //@line 1145 "../src/h264bsd_dpb.c"
 var $10=$2; //@line 1145 "../src/h264bsd_dpb.c"
 var $11=(($10+24)|0); //@line 1145 "../src/h264bsd_dpb.c"
 var $12=HEAP32[(($11)>>2)]; //@line 1145 "../src/h264bsd_dpb.c"
 var $13=($9>>>0)<($12>>>0); //@line 1145 "../src/h264bsd_dpb.c"
 if($13){label=4;break;}else{var $19=0;label=5;break;} //@line 1145 "../src/h264bsd_dpb.c"
 case 4: 
 var $15=$found; //@line 1145 "../src/h264bsd_dpb.c"
 var $16=($15|0)!=0; //@line 1145 "../src/h264bsd_dpb.c"
 var $17=$16^1; //@line 1145 "../src/h264bsd_dpb.c"
 var $19=$17;label=5;break;
 case 5: 
 var $19;
 if($19){label=6;break;}else{label=12;break;}
 case 6: 
 var $21=$i; //@line 1147 "../src/h264bsd_dpb.c"
 var $22=$2; //@line 1147 "../src/h264bsd_dpb.c"
 var $23=(($22)|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $24=HEAP32[(($23)>>2)]; //@line 1147 "../src/h264bsd_dpb.c"
 var $25=(($24+((($21)*(40))&-1))|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $26=(($25+20)|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $27=HEAP32[(($26)>>2)]; //@line 1147 "../src/h264bsd_dpb.c"
 var $28=($27|0)==1; //@line 1147 "../src/h264bsd_dpb.c"
 if($28){label=8;break;}else{label=7;break;} //@line 1147 "../src/h264bsd_dpb.c"
 case 7: 
 var $30=$i; //@line 1147 "../src/h264bsd_dpb.c"
 var $31=$2; //@line 1147 "../src/h264bsd_dpb.c"
 var $32=(($31)|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $33=HEAP32[(($32)>>2)]; //@line 1147 "../src/h264bsd_dpb.c"
 var $34=(($33+((($30)*(40))&-1))|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $35=(($34+20)|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $36=HEAP32[(($35)>>2)]; //@line 1147 "../src/h264bsd_dpb.c"
 var $37=($36|0)==2; //@line 1147 "../src/h264bsd_dpb.c"
 if($37){label=8;break;}else{label=10;break;} //@line 1147 "../src/h264bsd_dpb.c"
 case 8: 
 var $39=$i; //@line 1147 "../src/h264bsd_dpb.c"
 var $40=$2; //@line 1147 "../src/h264bsd_dpb.c"
 var $41=(($40)|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $42=HEAP32[(($41)>>2)]; //@line 1147 "../src/h264bsd_dpb.c"
 var $43=(($42+((($39)*(40))&-1))|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $44=(($43+8)|0); //@line 1147 "../src/h264bsd_dpb.c"
 var $45=HEAP32[(($44)>>2)]; //@line 1147 "../src/h264bsd_dpb.c"
 var $46=$3; //@line 1147 "../src/h264bsd_dpb.c"
 var $47=($45|0)==($46|0); //@line 1147 "../src/h264bsd_dpb.c"
 if($47){label=9;break;}else{label=10;break;} //@line 1147 "../src/h264bsd_dpb.c"
 case 9: 
 $found=1; //@line 1149 "../src/h264bsd_dpb.c"
 label=11;break; //@line 1149 "../src/h264bsd_dpb.c"
 case 10: 
 var $50=$i; //@line 1151 "../src/h264bsd_dpb.c"
 var $51=((($50)+(1))|0); //@line 1151 "../src/h264bsd_dpb.c"
 $i=$51; //@line 1151 "../src/h264bsd_dpb.c"
 label=11;break;
 case 11: 
 label=3;break; //@line 1152 "../src/h264bsd_dpb.c"
 case 12: 
 label=25;break; //@line 1153 "../src/h264bsd_dpb.c"
 case 13: 
 var $55=$3; //@line 1156 "../src/h264bsd_dpb.c"
 var $56=($55|0)>=0; //@line 1156 "../src/h264bsd_dpb.c"
 if($56){var $60=1;label=15;break;}else{label=14;break;} //@line 1156 "../src/h264bsd_dpb.c"
 case 14: 
 ___assert_fail(8528,10304,1156,15944); //@line 1156 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1156 "../src/h264bsd_dpb.c"
 label=15;break; //@line 1156 "../src/h264bsd_dpb.c"
 case 15: 
 var $60;
 var $61=($60&1); //@line 1156 "../src/h264bsd_dpb.c"
 label=16;break; //@line 1157 "../src/h264bsd_dpb.c"
 case 16: 
 var $63=$i; //@line 1157 "../src/h264bsd_dpb.c"
 var $64=$2; //@line 1157 "../src/h264bsd_dpb.c"
 var $65=(($64+24)|0); //@line 1157 "../src/h264bsd_dpb.c"
 var $66=HEAP32[(($65)>>2)]; //@line 1157 "../src/h264bsd_dpb.c"
 var $67=($63>>>0)<($66>>>0); //@line 1157 "../src/h264bsd_dpb.c"
 if($67){label=17;break;}else{var $73=0;label=18;break;} //@line 1157 "../src/h264bsd_dpb.c"
 case 17: 
 var $69=$found; //@line 1157 "../src/h264bsd_dpb.c"
 var $70=($69|0)!=0; //@line 1157 "../src/h264bsd_dpb.c"
 var $71=$70^1; //@line 1157 "../src/h264bsd_dpb.c"
 var $73=$71;label=18;break;
 case 18: 
 var $73;
 if($73){label=19;break;}else{label=24;break;}
 case 19: 
 var $75=$i; //@line 1159 "../src/h264bsd_dpb.c"
 var $76=$2; //@line 1159 "../src/h264bsd_dpb.c"
 var $77=(($76)|0); //@line 1159 "../src/h264bsd_dpb.c"
 var $78=HEAP32[(($77)>>2)]; //@line 1159 "../src/h264bsd_dpb.c"
 var $79=(($78+((($75)*(40))&-1))|0); //@line 1159 "../src/h264bsd_dpb.c"
 var $80=(($79+20)|0); //@line 1159 "../src/h264bsd_dpb.c"
 var $81=HEAP32[(($80)>>2)]; //@line 1159 "../src/h264bsd_dpb.c"
 var $82=($81|0)==3; //@line 1159 "../src/h264bsd_dpb.c"
 if($82){label=20;break;}else{label=22;break;} //@line 1159 "../src/h264bsd_dpb.c"
 case 20: 
 var $84=$i; //@line 1159 "../src/h264bsd_dpb.c"
 var $85=$2; //@line 1159 "../src/h264bsd_dpb.c"
 var $86=(($85)|0); //@line 1159 "../src/h264bsd_dpb.c"
 var $87=HEAP32[(($86)>>2)]; //@line 1159 "../src/h264bsd_dpb.c"
 var $88=(($87+((($84)*(40))&-1))|0); //@line 1159 "../src/h264bsd_dpb.c"
 var $89=(($88+8)|0); //@line 1159 "../src/h264bsd_dpb.c"
 var $90=HEAP32[(($89)>>2)]; //@line 1159 "../src/h264bsd_dpb.c"
 var $91=$3; //@line 1159 "../src/h264bsd_dpb.c"
 var $92=($90|0)==($91|0); //@line 1159 "../src/h264bsd_dpb.c"
 if($92){label=21;break;}else{label=22;break;} //@line 1159 "../src/h264bsd_dpb.c"
 case 21: 
 $found=1; //@line 1161 "../src/h264bsd_dpb.c"
 label=23;break; //@line 1161 "../src/h264bsd_dpb.c"
 case 22: 
 var $95=$i; //@line 1163 "../src/h264bsd_dpb.c"
 var $96=((($95)+(1))|0); //@line 1163 "../src/h264bsd_dpb.c"
 $i=$96; //@line 1163 "../src/h264bsd_dpb.c"
 label=23;break;
 case 23: 
 label=16;break; //@line 1164 "../src/h264bsd_dpb.c"
 case 24: 
 label=25;break;
 case 25: 
 var $100=$found; //@line 1167 "../src/h264bsd_dpb.c"
 var $101=($100|0)!=0; //@line 1167 "../src/h264bsd_dpb.c"
 if($101){label=26;break;}else{label=27;break;} //@line 1167 "../src/h264bsd_dpb.c"
 case 26: 
 var $103=$i; //@line 1168 "../src/h264bsd_dpb.c"
 $1=$103; //@line 1168 "../src/h264bsd_dpb.c"
 label=28;break; //@line 1168 "../src/h264bsd_dpb.c"
 case 27: 
 $1=-1; //@line 1170 "../src/h264bsd_dpb.c"
 label=28;break; //@line 1170 "../src/h264bsd_dpb.c"
 case 28: 
 var $106=$1; //@line 1172 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $106; //@line 1172 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdMarkDecRefPic($dpb,$mark,$image,$frameNum,$picOrderCnt,$isIdr,$currentPicId,$numErrMbs){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $i;
 var $status;
 var $markedAsLongTerm;
 var $toBeDisplayed;
 $2=$dpb;
 $3=$mark;
 $4=$image;
 $5=$frameNum;
 $6=$picOrderCnt;
 $7=$isIdr;
 $8=$currentPicId;
 $9=$numErrMbs;
 var $10=$2; //@line 648 "../src/h264bsd_dpb.c"
 var $11=($10|0)!=0; //@line 648 "../src/h264bsd_dpb.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 648 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,648,13256); //@line 648 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 648 "../src/h264bsd_dpb.c"
 label=3;break; //@line 648 "../src/h264bsd_dpb.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 648 "../src/h264bsd_dpb.c"
 var $17=$3; //@line 649 "../src/h264bsd_dpb.c"
 var $18=($17|0)!=0; //@line 649 "../src/h264bsd_dpb.c"
 if($18){var $25=1;label=6;break;}else{label=4;break;} //@line 649 "../src/h264bsd_dpb.c"
 case 4: 
 var $20=$7; //@line 649 "../src/h264bsd_dpb.c"
 var $21=($20|0)!=0; //@line 649 "../src/h264bsd_dpb.c"
 if($21){label=5;break;}else{var $25=1;label=6;break;} //@line 649 "../src/h264bsd_dpb.c"
 case 5: 
 ___assert_fail(5944,10304,649,13256); //@line 649 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 649 "../src/h264bsd_dpb.c"
 label=6;break; //@line 649 "../src/h264bsd_dpb.c"
 case 6: 
 var $25;
 var $26=($25&1); //@line 649 "../src/h264bsd_dpb.c"
 var $27=$7; //@line 650 "../src/h264bsd_dpb.c"
 var $28=($27|0)!=0; //@line 650 "../src/h264bsd_dpb.c"
 if($28){label=7;break;}else{var $38=1;label=10;break;} //@line 650 "../src/h264bsd_dpb.c"
 case 7: 
 var $30=$5; //@line 650 "../src/h264bsd_dpb.c"
 var $31=($30|0)==0; //@line 650 "../src/h264bsd_dpb.c"
 if($31){label=8;break;}else{label=9;break;} //@line 650 "../src/h264bsd_dpb.c"
 case 8: 
 var $33=$6; //@line 650 "../src/h264bsd_dpb.c"
 var $34=($33|0)==0; //@line 650 "../src/h264bsd_dpb.c"
 if($34){var $38=1;label=10;break;}else{label=9;break;} //@line 650 "../src/h264bsd_dpb.c"
 case 9: 
 ___assert_fail(5464,10304,650,13256); //@line 650 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 650 "../src/h264bsd_dpb.c"
 label=10;break; //@line 650 "../src/h264bsd_dpb.c"
 case 10: 
 var $38;
 var $39=($38&1); //@line 650 "../src/h264bsd_dpb.c"
 var $40=$5; //@line 651 "../src/h264bsd_dpb.c"
 var $41=$2; //@line 651 "../src/h264bsd_dpb.c"
 var $42=(($41+32)|0); //@line 651 "../src/h264bsd_dpb.c"
 var $43=HEAP32[(($42)>>2)]; //@line 651 "../src/h264bsd_dpb.c"
 var $44=($40>>>0)<($43>>>0); //@line 651 "../src/h264bsd_dpb.c"
 if($44){var $48=1;label=12;break;}else{label=11;break;} //@line 651 "../src/h264bsd_dpb.c"
 case 11: 
 ___assert_fail(5152,10304,651,13256); //@line 651 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 651 "../src/h264bsd_dpb.c"
 label=12;break; //@line 651 "../src/h264bsd_dpb.c"
 case 12: 
 var $48;
 var $49=($48&1); //@line 651 "../src/h264bsd_dpb.c"
 var $50=$4; //@line 653 "../src/h264bsd_dpb.c"
 var $51=(($50)|0); //@line 653 "../src/h264bsd_dpb.c"
 var $52=HEAP32[(($51)>>2)]; //@line 653 "../src/h264bsd_dpb.c"
 var $53=$2; //@line 653 "../src/h264bsd_dpb.c"
 var $54=(($53+8)|0); //@line 653 "../src/h264bsd_dpb.c"
 var $55=HEAP32[(($54)>>2)]; //@line 653 "../src/h264bsd_dpb.c"
 var $56=(($55)|0); //@line 653 "../src/h264bsd_dpb.c"
 var $57=HEAP32[(($56)>>2)]; //@line 653 "../src/h264bsd_dpb.c"
 var $58=($52|0)!=($57|0); //@line 653 "../src/h264bsd_dpb.c"
 if($58){label=13;break;}else{label=14;break;} //@line 653 "../src/h264bsd_dpb.c"
 case 13: 
 var $60=HEAP32[((_stderr)>>2)]; //@line 655 "../src/h264bsd_dpb.c"
 var $61=_fprintf($60,4776,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4360,tempVarArgs)); STACKTOP=tempVarArgs; //@line 655 "../src/h264bsd_dpb.c"
 $1=1; //@line 656 "../src/h264bsd_dpb.c"
 label=64;break; //@line 656 "../src/h264bsd_dpb.c"
 case 14: 
 var $63=$2; //@line 659 "../src/h264bsd_dpb.c"
 var $64=(($63+52)|0); //@line 659 "../src/h264bsd_dpb.c"
 HEAP32[(($64)>>2)]=0; //@line 659 "../src/h264bsd_dpb.c"
 $status=0; //@line 660 "../src/h264bsd_dpb.c"
 var $65=$2; //@line 662 "../src/h264bsd_dpb.c"
 var $66=(($65+56)|0); //@line 662 "../src/h264bsd_dpb.c"
 var $67=HEAP32[(($66)>>2)]; //@line 662 "../src/h264bsd_dpb.c"
 var $68=($67|0)!=0; //@line 662 "../src/h264bsd_dpb.c"
 var $69=($68?0:1); //@line 662 "../src/h264bsd_dpb.c"
 $toBeDisplayed=$69; //@line 662 "../src/h264bsd_dpb.c"
 var $70=$3; //@line 665 "../src/h264bsd_dpb.c"
 var $71=($70|0)==0; //@line 665 "../src/h264bsd_dpb.c"
 if($71){label=15;break;}else{label=18;break;} //@line 665 "../src/h264bsd_dpb.c"
 case 15: 
 var $73=$2; //@line 667 "../src/h264bsd_dpb.c"
 var $74=(($73+8)|0); //@line 667 "../src/h264bsd_dpb.c"
 var $75=HEAP32[(($74)>>2)]; //@line 667 "../src/h264bsd_dpb.c"
 var $76=(($75+20)|0); //@line 667 "../src/h264bsd_dpb.c"
 HEAP32[(($76)>>2)]=0; //@line 667 "../src/h264bsd_dpb.c"
 var $77=$5; //@line 668 "../src/h264bsd_dpb.c"
 var $78=$2; //@line 668 "../src/h264bsd_dpb.c"
 var $79=(($78+8)|0); //@line 668 "../src/h264bsd_dpb.c"
 var $80=HEAP32[(($79)>>2)]; //@line 668 "../src/h264bsd_dpb.c"
 var $81=(($80+12)|0); //@line 668 "../src/h264bsd_dpb.c"
 HEAP32[(($81)>>2)]=$77; //@line 668 "../src/h264bsd_dpb.c"
 var $82=$5; //@line 669 "../src/h264bsd_dpb.c"
 var $83=$2; //@line 669 "../src/h264bsd_dpb.c"
 var $84=(($83+8)|0); //@line 669 "../src/h264bsd_dpb.c"
 var $85=HEAP32[(($84)>>2)]; //@line 669 "../src/h264bsd_dpb.c"
 var $86=(($85+8)|0); //@line 669 "../src/h264bsd_dpb.c"
 HEAP32[(($86)>>2)]=$82; //@line 669 "../src/h264bsd_dpb.c"
 var $87=$6; //@line 670 "../src/h264bsd_dpb.c"
 var $88=$2; //@line 670 "../src/h264bsd_dpb.c"
 var $89=(($88+8)|0); //@line 670 "../src/h264bsd_dpb.c"
 var $90=HEAP32[(($89)>>2)]; //@line 670 "../src/h264bsd_dpb.c"
 var $91=(($90+16)|0); //@line 670 "../src/h264bsd_dpb.c"
 HEAP32[(($91)>>2)]=$87; //@line 670 "../src/h264bsd_dpb.c"
 var $92=$toBeDisplayed; //@line 671 "../src/h264bsd_dpb.c"
 var $93=$2; //@line 671 "../src/h264bsd_dpb.c"
 var $94=(($93+8)|0); //@line 671 "../src/h264bsd_dpb.c"
 var $95=HEAP32[(($94)>>2)]; //@line 671 "../src/h264bsd_dpb.c"
 var $96=(($95+24)|0); //@line 671 "../src/h264bsd_dpb.c"
 HEAP32[(($96)>>2)]=$92; //@line 671 "../src/h264bsd_dpb.c"
 var $97=$2; //@line 672 "../src/h264bsd_dpb.c"
 var $98=(($97+56)|0); //@line 672 "../src/h264bsd_dpb.c"
 var $99=HEAP32[(($98)>>2)]; //@line 672 "../src/h264bsd_dpb.c"
 var $100=($99|0)!=0; //@line 672 "../src/h264bsd_dpb.c"
 if($100){label=17;break;}else{label=16;break;} //@line 672 "../src/h264bsd_dpb.c"
 case 16: 
 var $102=$2; //@line 673 "../src/h264bsd_dpb.c"
 var $103=(($102+44)|0); //@line 673 "../src/h264bsd_dpb.c"
 var $104=HEAP32[(($103)>>2)]; //@line 673 "../src/h264bsd_dpb.c"
 var $105=((($104)+(1))|0); //@line 673 "../src/h264bsd_dpb.c"
 HEAP32[(($103)>>2)]=$105; //@line 673 "../src/h264bsd_dpb.c"
 label=17;break; //@line 673 "../src/h264bsd_dpb.c"
 case 17: 
 label=51;break; //@line 674 "../src/h264bsd_dpb.c"
 case 18: 
 var $108=$7; //@line 676 "../src/h264bsd_dpb.c"
 var $109=($108|0)!=0; //@line 676 "../src/h264bsd_dpb.c"
 if($109){label=19;break;}else{label=26;break;} //@line 676 "../src/h264bsd_dpb.c"
 case 19: 
 var $111=$2; //@line 681 "../src/h264bsd_dpb.c"
 var $112=(($111+20)|0); //@line 681 "../src/h264bsd_dpb.c"
 HEAP32[(($112)>>2)]=0; //@line 681 "../src/h264bsd_dpb.c"
 var $113=$2; //@line 681 "../src/h264bsd_dpb.c"
 var $114=(($113+16)|0); //@line 681 "../src/h264bsd_dpb.c"
 HEAP32[(($114)>>2)]=0; //@line 681 "../src/h264bsd_dpb.c"
 var $115=$2; //@line 684 "../src/h264bsd_dpb.c"
 var $116=_Mmcop5($115); //@line 684 "../src/h264bsd_dpb.c"
 var $117=$3; //@line 687 "../src/h264bsd_dpb.c"
 var $118=(($117)|0); //@line 687 "../src/h264bsd_dpb.c"
 var $119=HEAP32[(($118)>>2)]; //@line 687 "../src/h264bsd_dpb.c"
 var $120=($119|0)!=0; //@line 687 "../src/h264bsd_dpb.c"
 if($120){label=21;break;}else{label=20;break;} //@line 687 "../src/h264bsd_dpb.c"
 case 20: 
 var $122=$2; //@line 687 "../src/h264bsd_dpb.c"
 var $123=(($122+56)|0); //@line 687 "../src/h264bsd_dpb.c"
 var $124=HEAP32[(($123)>>2)]; //@line 687 "../src/h264bsd_dpb.c"
 var $125=($124|0)!=0; //@line 687 "../src/h264bsd_dpb.c"
 if($125){label=21;break;}else{label=22;break;} //@line 687 "../src/h264bsd_dpb.c"
 case 21: 
 var $127=$2; //@line 689 "../src/h264bsd_dpb.c"
 var $128=(($127+16)|0); //@line 689 "../src/h264bsd_dpb.c"
 HEAP32[(($128)>>2)]=0; //@line 689 "../src/h264bsd_dpb.c"
 var $129=$2; //@line 690 "../src/h264bsd_dpb.c"
 var $130=(($129+20)|0); //@line 690 "../src/h264bsd_dpb.c"
 HEAP32[(($130)>>2)]=0; //@line 690 "../src/h264bsd_dpb.c"
 label=22;break; //@line 691 "../src/h264bsd_dpb.c"
 case 22: 
 var $132=$3; //@line 693 "../src/h264bsd_dpb.c"
 var $133=(($132+4)|0); //@line 693 "../src/h264bsd_dpb.c"
 var $134=HEAP32[(($133)>>2)]; //@line 693 "../src/h264bsd_dpb.c"
 var $135=($134|0)!=0; //@line 693 "../src/h264bsd_dpb.c"
 if($135){label=23;break;}else{label=24;break;} //@line 693 "../src/h264bsd_dpb.c"
 case 23: 
 var $137=$2; //@line 695 "../src/h264bsd_dpb.c"
 var $138=(($137+8)|0); //@line 695 "../src/h264bsd_dpb.c"
 var $139=HEAP32[(($138)>>2)]; //@line 695 "../src/h264bsd_dpb.c"
 var $140=(($139+20)|0); //@line 695 "../src/h264bsd_dpb.c"
 HEAP32[(($140)>>2)]=3; //@line 695 "../src/h264bsd_dpb.c"
 var $141=$2; //@line 696 "../src/h264bsd_dpb.c"
 var $142=(($141+36)|0); //@line 696 "../src/h264bsd_dpb.c"
 HEAP32[(($142)>>2)]=0; //@line 696 "../src/h264bsd_dpb.c"
 label=25;break; //@line 697 "../src/h264bsd_dpb.c"
 case 24: 
 var $144=$2; //@line 700 "../src/h264bsd_dpb.c"
 var $145=(($144+8)|0); //@line 700 "../src/h264bsd_dpb.c"
 var $146=HEAP32[(($145)>>2)]; //@line 700 "../src/h264bsd_dpb.c"
 var $147=(($146+20)|0); //@line 700 "../src/h264bsd_dpb.c"
 HEAP32[(($147)>>2)]=2; //@line 700 "../src/h264bsd_dpb.c"
 var $148=$2; //@line 701 "../src/h264bsd_dpb.c"
 var $149=(($148+36)|0); //@line 701 "../src/h264bsd_dpb.c"
 HEAP32[(($149)>>2)]=65535; //@line 701 "../src/h264bsd_dpb.c"
 label=25;break;
 case 25: 
 var $151=$2; //@line 703 "../src/h264bsd_dpb.c"
 var $152=(($151+8)|0); //@line 703 "../src/h264bsd_dpb.c"
 var $153=HEAP32[(($152)>>2)]; //@line 703 "../src/h264bsd_dpb.c"
 var $154=(($153+12)|0); //@line 703 "../src/h264bsd_dpb.c"
 HEAP32[(($154)>>2)]=0; //@line 703 "../src/h264bsd_dpb.c"
 var $155=$2; //@line 704 "../src/h264bsd_dpb.c"
 var $156=(($155+8)|0); //@line 704 "../src/h264bsd_dpb.c"
 var $157=HEAP32[(($156)>>2)]; //@line 704 "../src/h264bsd_dpb.c"
 var $158=(($157+8)|0); //@line 704 "../src/h264bsd_dpb.c"
 HEAP32[(($158)>>2)]=0; //@line 704 "../src/h264bsd_dpb.c"
 var $159=$2; //@line 705 "../src/h264bsd_dpb.c"
 var $160=(($159+8)|0); //@line 705 "../src/h264bsd_dpb.c"
 var $161=HEAP32[(($160)>>2)]; //@line 705 "../src/h264bsd_dpb.c"
 var $162=(($161+16)|0); //@line 705 "../src/h264bsd_dpb.c"
 HEAP32[(($162)>>2)]=0; //@line 705 "../src/h264bsd_dpb.c"
 var $163=$toBeDisplayed; //@line 706 "../src/h264bsd_dpb.c"
 var $164=$2; //@line 706 "../src/h264bsd_dpb.c"
 var $165=(($164+8)|0); //@line 706 "../src/h264bsd_dpb.c"
 var $166=HEAP32[(($165)>>2)]; //@line 706 "../src/h264bsd_dpb.c"
 var $167=(($166+24)|0); //@line 706 "../src/h264bsd_dpb.c"
 HEAP32[(($167)>>2)]=$163; //@line 706 "../src/h264bsd_dpb.c"
 var $168=$2; //@line 707 "../src/h264bsd_dpb.c"
 var $169=(($168+44)|0); //@line 707 "../src/h264bsd_dpb.c"
 HEAP32[(($169)>>2)]=1; //@line 707 "../src/h264bsd_dpb.c"
 var $170=$2; //@line 708 "../src/h264bsd_dpb.c"
 var $171=(($170+40)|0); //@line 708 "../src/h264bsd_dpb.c"
 HEAP32[(($171)>>2)]=1; //@line 708 "../src/h264bsd_dpb.c"
 label=50;break; //@line 709 "../src/h264bsd_dpb.c"
 case 26: 
 $markedAsLongTerm=0; //@line 713 "../src/h264bsd_dpb.c"
 var $173=$3; //@line 714 "../src/h264bsd_dpb.c"
 var $174=(($173+8)|0); //@line 714 "../src/h264bsd_dpb.c"
 var $175=HEAP32[(($174)>>2)]; //@line 714 "../src/h264bsd_dpb.c"
 var $176=($175|0)!=0; //@line 714 "../src/h264bsd_dpb.c"
 if($176){label=27;break;}else{label=43;break;} //@line 714 "../src/h264bsd_dpb.c"
 case 27: 
 $i=0; //@line 716 "../src/h264bsd_dpb.c"
 label=28;break; //@line 717 "../src/h264bsd_dpb.c"
 case 28: 
 var $179=$i; //@line 717 "../src/h264bsd_dpb.c"
 var $180=$3; //@line 717 "../src/h264bsd_dpb.c"
 var $181=(($180+12)|0); //@line 717 "../src/h264bsd_dpb.c"
 var $182=(($181+((($179)*(20))&-1))|0); //@line 717 "../src/h264bsd_dpb.c"
 var $183=(($182)|0); //@line 717 "../src/h264bsd_dpb.c"
 var $184=HEAP32[(($183)>>2)]; //@line 717 "../src/h264bsd_dpb.c"
 var $185=($184|0)!=0; //@line 717 "../src/h264bsd_dpb.c"
 if($185){label=29;break;}else{label=42;break;} //@line 717 "../src/h264bsd_dpb.c"
 case 29: 
 var $187=$i; //@line 719 "../src/h264bsd_dpb.c"
 var $188=$3; //@line 719 "../src/h264bsd_dpb.c"
 var $189=(($188+12)|0); //@line 719 "../src/h264bsd_dpb.c"
 var $190=(($189+((($187)*(20))&-1))|0); //@line 719 "../src/h264bsd_dpb.c"
 var $191=(($190)|0); //@line 719 "../src/h264bsd_dpb.c"
 var $192=HEAP32[(($191)>>2)]; //@line 719 "../src/h264bsd_dpb.c"
 switch(($192|0)){case 1:{ label=30;break;}case 2:{ label=31;break;}case 3:{ label=32;break;}case 4:{ label=33;break;}case 5:{ label=34;break;}case 6:{ label=35;break;}default:{label=38;break;}}break;
 case 30: 
 var $194=$2; //@line 722 "../src/h264bsd_dpb.c"
 var $195=$5; //@line 722 "../src/h264bsd_dpb.c"
 var $196=$i; //@line 722 "../src/h264bsd_dpb.c"
 var $197=$3; //@line 722 "../src/h264bsd_dpb.c"
 var $198=(($197+12)|0); //@line 722 "../src/h264bsd_dpb.c"
 var $199=(($198+((($196)*(20))&-1))|0); //@line 722 "../src/h264bsd_dpb.c"
 var $200=(($199+4)|0); //@line 722 "../src/h264bsd_dpb.c"
 var $201=HEAP32[(($200)>>2)]; //@line 722 "../src/h264bsd_dpb.c"
 var $202=_Mmcop1($194,$195,$201); //@line 722 "../src/h264bsd_dpb.c"
 $status=$202; //@line 722 "../src/h264bsd_dpb.c"
 label=39;break; //@line 726 "../src/h264bsd_dpb.c"
 case 31: 
 var $204=$2; //@line 729 "../src/h264bsd_dpb.c"
 var $205=$i; //@line 729 "../src/h264bsd_dpb.c"
 var $206=$3; //@line 729 "../src/h264bsd_dpb.c"
 var $207=(($206+12)|0); //@line 729 "../src/h264bsd_dpb.c"
 var $208=(($207+((($205)*(20))&-1))|0); //@line 729 "../src/h264bsd_dpb.c"
 var $209=(($208+8)|0); //@line 729 "../src/h264bsd_dpb.c"
 var $210=HEAP32[(($209)>>2)]; //@line 729 "../src/h264bsd_dpb.c"
 var $211=_Mmcop2($204,$210); //@line 729 "../src/h264bsd_dpb.c"
 $status=$211; //@line 729 "../src/h264bsd_dpb.c"
 label=39;break; //@line 730 "../src/h264bsd_dpb.c"
 case 32: 
 var $213=$2; //@line 733 "../src/h264bsd_dpb.c"
 var $214=$5; //@line 733 "../src/h264bsd_dpb.c"
 var $215=$i; //@line 733 "../src/h264bsd_dpb.c"
 var $216=$3; //@line 733 "../src/h264bsd_dpb.c"
 var $217=(($216+12)|0); //@line 733 "../src/h264bsd_dpb.c"
 var $218=(($217+((($215)*(20))&-1))|0); //@line 733 "../src/h264bsd_dpb.c"
 var $219=(($218+4)|0); //@line 733 "../src/h264bsd_dpb.c"
 var $220=HEAP32[(($219)>>2)]; //@line 733 "../src/h264bsd_dpb.c"
 var $221=$i; //@line 733 "../src/h264bsd_dpb.c"
 var $222=$3; //@line 733 "../src/h264bsd_dpb.c"
 var $223=(($222+12)|0); //@line 733 "../src/h264bsd_dpb.c"
 var $224=(($223+((($221)*(20))&-1))|0); //@line 733 "../src/h264bsd_dpb.c"
 var $225=(($224+12)|0); //@line 733 "../src/h264bsd_dpb.c"
 var $226=HEAP32[(($225)>>2)]; //@line 733 "../src/h264bsd_dpb.c"
 var $227=_Mmcop3($213,$214,$220,$226); //@line 733 "../src/h264bsd_dpb.c"
 $status=$227; //@line 733 "../src/h264bsd_dpb.c"
 label=39;break; //@line 738 "../src/h264bsd_dpb.c"
 case 33: 
 var $229=$2; //@line 741 "../src/h264bsd_dpb.c"
 var $230=$i; //@line 741 "../src/h264bsd_dpb.c"
 var $231=$3; //@line 741 "../src/h264bsd_dpb.c"
 var $232=(($231+12)|0); //@line 741 "../src/h264bsd_dpb.c"
 var $233=(($232+((($230)*(20))&-1))|0); //@line 741 "../src/h264bsd_dpb.c"
 var $234=(($233+16)|0); //@line 741 "../src/h264bsd_dpb.c"
 var $235=HEAP32[(($234)>>2)]; //@line 741 "../src/h264bsd_dpb.c"
 var $236=_Mmcop4($229,$235); //@line 741 "../src/h264bsd_dpb.c"
 $status=$236; //@line 741 "../src/h264bsd_dpb.c"
 label=39;break; //@line 744 "../src/h264bsd_dpb.c"
 case 34: 
 var $238=$2; //@line 747 "../src/h264bsd_dpb.c"
 var $239=_Mmcop5($238); //@line 747 "../src/h264bsd_dpb.c"
 $status=$239; //@line 747 "../src/h264bsd_dpb.c"
 var $240=$2; //@line 748 "../src/h264bsd_dpb.c"
 var $241=(($240+52)|0); //@line 748 "../src/h264bsd_dpb.c"
 HEAP32[(($241)>>2)]=1; //@line 748 "../src/h264bsd_dpb.c"
 $5=0; //@line 749 "../src/h264bsd_dpb.c"
 label=39;break; //@line 750 "../src/h264bsd_dpb.c"
 case 35: 
 var $243=$2; //@line 753 "../src/h264bsd_dpb.c"
 var $244=$5; //@line 753 "../src/h264bsd_dpb.c"
 var $245=$6; //@line 753 "../src/h264bsd_dpb.c"
 var $246=$i; //@line 753 "../src/h264bsd_dpb.c"
 var $247=$3; //@line 753 "../src/h264bsd_dpb.c"
 var $248=(($247+12)|0); //@line 753 "../src/h264bsd_dpb.c"
 var $249=(($248+((($246)*(20))&-1))|0); //@line 753 "../src/h264bsd_dpb.c"
 var $250=(($249+12)|0); //@line 753 "../src/h264bsd_dpb.c"
 var $251=HEAP32[(($250)>>2)]; //@line 753 "../src/h264bsd_dpb.c"
 var $252=_Mmcop6($243,$244,$245,$251); //@line 753 "../src/h264bsd_dpb.c"
 $status=$252; //@line 753 "../src/h264bsd_dpb.c"
 var $253=$status; //@line 758 "../src/h264bsd_dpb.c"
 var $254=($253|0)==0; //@line 758 "../src/h264bsd_dpb.c"
 if($254){label=36;break;}else{label=37;break;} //@line 758 "../src/h264bsd_dpb.c"
 case 36: 
 $markedAsLongTerm=1; //@line 759 "../src/h264bsd_dpb.c"
 label=37;break; //@line 759 "../src/h264bsd_dpb.c"
 case 37: 
 label=39;break; //@line 760 "../src/h264bsd_dpb.c"
 case 38: 
 $status=1; //@line 763 "../src/h264bsd_dpb.c"
 label=39;break; //@line 764 "../src/h264bsd_dpb.c"
 case 39: 
 var $259=$status; //@line 766 "../src/h264bsd_dpb.c"
 var $260=($259|0)!=0; //@line 766 "../src/h264bsd_dpb.c"
 if($260){label=40;break;}else{label=41;break;} //@line 766 "../src/h264bsd_dpb.c"
 case 40: 
 label=42;break; //@line 768 "../src/h264bsd_dpb.c"
 case 41: 
 var $263=$i; //@line 770 "../src/h264bsd_dpb.c"
 var $264=((($263)+(1))|0); //@line 770 "../src/h264bsd_dpb.c"
 $i=$264; //@line 770 "../src/h264bsd_dpb.c"
 label=28;break; //@line 771 "../src/h264bsd_dpb.c"
 case 42: 
 label=44;break; //@line 772 "../src/h264bsd_dpb.c"
 case 43: 
 var $267=$2; //@line 775 "../src/h264bsd_dpb.c"
 var $268=_SlidingWindowRefPicMarking($267); //@line 775 "../src/h264bsd_dpb.c"
 $status=$268; //@line 775 "../src/h264bsd_dpb.c"
 label=44;break;
 case 44: 
 var $270=$markedAsLongTerm; //@line 780 "../src/h264bsd_dpb.c"
 var $271=($270|0)!=0; //@line 780 "../src/h264bsd_dpb.c"
 if($271){label=49;break;}else{label=45;break;} //@line 780 "../src/h264bsd_dpb.c"
 case 45: 
 var $273=$2; //@line 782 "../src/h264bsd_dpb.c"
 var $274=(($273+40)|0); //@line 782 "../src/h264bsd_dpb.c"
 var $275=HEAP32[(($274)>>2)]; //@line 782 "../src/h264bsd_dpb.c"
 var $276=$2; //@line 782 "../src/h264bsd_dpb.c"
 var $277=(($276+24)|0); //@line 782 "../src/h264bsd_dpb.c"
 var $278=HEAP32[(($277)>>2)]; //@line 782 "../src/h264bsd_dpb.c"
 var $279=($275>>>0)<($278>>>0); //@line 782 "../src/h264bsd_dpb.c"
 if($279){label=46;break;}else{label=47;break;} //@line 782 "../src/h264bsd_dpb.c"
 case 46: 
 var $281=$5; //@line 784 "../src/h264bsd_dpb.c"
 var $282=$2; //@line 784 "../src/h264bsd_dpb.c"
 var $283=(($282+8)|0); //@line 784 "../src/h264bsd_dpb.c"
 var $284=HEAP32[(($283)>>2)]; //@line 784 "../src/h264bsd_dpb.c"
 var $285=(($284+12)|0); //@line 784 "../src/h264bsd_dpb.c"
 HEAP32[(($285)>>2)]=$281; //@line 784 "../src/h264bsd_dpb.c"
 var $286=$5; //@line 785 "../src/h264bsd_dpb.c"
 var $287=$2; //@line 785 "../src/h264bsd_dpb.c"
 var $288=(($287+8)|0); //@line 785 "../src/h264bsd_dpb.c"
 var $289=HEAP32[(($288)>>2)]; //@line 785 "../src/h264bsd_dpb.c"
 var $290=(($289+8)|0); //@line 785 "../src/h264bsd_dpb.c"
 HEAP32[(($290)>>2)]=$286; //@line 785 "../src/h264bsd_dpb.c"
 var $291=$6; //@line 786 "../src/h264bsd_dpb.c"
 var $292=$2; //@line 786 "../src/h264bsd_dpb.c"
 var $293=(($292+8)|0); //@line 786 "../src/h264bsd_dpb.c"
 var $294=HEAP32[(($293)>>2)]; //@line 786 "../src/h264bsd_dpb.c"
 var $295=(($294+16)|0); //@line 786 "../src/h264bsd_dpb.c"
 HEAP32[(($295)>>2)]=$291; //@line 786 "../src/h264bsd_dpb.c"
 var $296=$2; //@line 787 "../src/h264bsd_dpb.c"
 var $297=(($296+8)|0); //@line 787 "../src/h264bsd_dpb.c"
 var $298=HEAP32[(($297)>>2)]; //@line 787 "../src/h264bsd_dpb.c"
 var $299=(($298+20)|0); //@line 787 "../src/h264bsd_dpb.c"
 HEAP32[(($299)>>2)]=2; //@line 787 "../src/h264bsd_dpb.c"
 var $300=$toBeDisplayed; //@line 788 "../src/h264bsd_dpb.c"
 var $301=$2; //@line 788 "../src/h264bsd_dpb.c"
 var $302=(($301+8)|0); //@line 788 "../src/h264bsd_dpb.c"
 var $303=HEAP32[(($302)>>2)]; //@line 788 "../src/h264bsd_dpb.c"
 var $304=(($303+24)|0); //@line 788 "../src/h264bsd_dpb.c"
 HEAP32[(($304)>>2)]=$300; //@line 788 "../src/h264bsd_dpb.c"
 var $305=$2; //@line 789 "../src/h264bsd_dpb.c"
 var $306=(($305+44)|0); //@line 789 "../src/h264bsd_dpb.c"
 var $307=HEAP32[(($306)>>2)]; //@line 789 "../src/h264bsd_dpb.c"
 var $308=((($307)+(1))|0); //@line 789 "../src/h264bsd_dpb.c"
 HEAP32[(($306)>>2)]=$308; //@line 789 "../src/h264bsd_dpb.c"
 var $309=$2; //@line 790 "../src/h264bsd_dpb.c"
 var $310=(($309+40)|0); //@line 790 "../src/h264bsd_dpb.c"
 var $311=HEAP32[(($310)>>2)]; //@line 790 "../src/h264bsd_dpb.c"
 var $312=((($311)+(1))|0); //@line 790 "../src/h264bsd_dpb.c"
 HEAP32[(($310)>>2)]=$312; //@line 790 "../src/h264bsd_dpb.c"
 label=48;break; //@line 791 "../src/h264bsd_dpb.c"
 case 47: 
 $status=1; //@line 795 "../src/h264bsd_dpb.c"
 label=48;break;
 case 48: 
 label=49;break; //@line 797 "../src/h264bsd_dpb.c"
 case 49: 
 label=50;break;
 case 50: 
 label=51;break;
 case 51: 
 var $318=$7; //@line 800 "../src/h264bsd_dpb.c"
 var $319=$2; //@line 800 "../src/h264bsd_dpb.c"
 var $320=(($319+8)|0); //@line 800 "../src/h264bsd_dpb.c"
 var $321=HEAP32[(($320)>>2)]; //@line 800 "../src/h264bsd_dpb.c"
 var $322=(($321+36)|0); //@line 800 "../src/h264bsd_dpb.c"
 HEAP32[(($322)>>2)]=$318; //@line 800 "../src/h264bsd_dpb.c"
 var $323=$8; //@line 801 "../src/h264bsd_dpb.c"
 var $324=$2; //@line 801 "../src/h264bsd_dpb.c"
 var $325=(($324+8)|0); //@line 801 "../src/h264bsd_dpb.c"
 var $326=HEAP32[(($325)>>2)]; //@line 801 "../src/h264bsd_dpb.c"
 var $327=(($326+28)|0); //@line 801 "../src/h264bsd_dpb.c"
 HEAP32[(($327)>>2)]=$323; //@line 801 "../src/h264bsd_dpb.c"
 var $328=$9; //@line 802 "../src/h264bsd_dpb.c"
 var $329=$2; //@line 802 "../src/h264bsd_dpb.c"
 var $330=(($329+8)|0); //@line 802 "../src/h264bsd_dpb.c"
 var $331=HEAP32[(($330)>>2)]; //@line 802 "../src/h264bsd_dpb.c"
 var $332=(($331+32)|0); //@line 802 "../src/h264bsd_dpb.c"
 HEAP32[(($332)>>2)]=$328; //@line 802 "../src/h264bsd_dpb.c"
 var $333=$2; //@line 806 "../src/h264bsd_dpb.c"
 var $334=(($333+56)|0); //@line 806 "../src/h264bsd_dpb.c"
 var $335=HEAP32[(($334)>>2)]; //@line 806 "../src/h264bsd_dpb.c"
 var $336=($335|0)!=0; //@line 806 "../src/h264bsd_dpb.c"
 if($336){label=52;break;}else{label=57;break;} //@line 806 "../src/h264bsd_dpb.c"
 case 52: 
 var $338=$2; //@line 808 "../src/h264bsd_dpb.c"
 var $339=(($338+16)|0); //@line 808 "../src/h264bsd_dpb.c"
 var $340=HEAP32[(($339)>>2)]; //@line 808 "../src/h264bsd_dpb.c"
 var $341=($340|0)==0; //@line 808 "../src/h264bsd_dpb.c"
 if($341){var $345=1;label=54;break;}else{label=53;break;} //@line 808 "../src/h264bsd_dpb.c"
 case 53: 
 ___assert_fail(12248,10304,808,13256); //@line 808 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 808 "../src/h264bsd_dpb.c"
 label=54;break; //@line 808 "../src/h264bsd_dpb.c"
 case 54: 
 var $345;
 var $346=($345&1); //@line 808 "../src/h264bsd_dpb.c"
 var $347=$2; //@line 809 "../src/h264bsd_dpb.c"
 var $348=(($347+20)|0); //@line 809 "../src/h264bsd_dpb.c"
 var $349=HEAP32[(($348)>>2)]; //@line 809 "../src/h264bsd_dpb.c"
 var $350=($349|0)==0; //@line 809 "../src/h264bsd_dpb.c"
 if($350){var $354=1;label=56;break;}else{label=55;break;} //@line 809 "../src/h264bsd_dpb.c"
 case 55: 
 ___assert_fail(11832,10304,809,13256); //@line 809 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 809 "../src/h264bsd_dpb.c"
 label=56;break; //@line 809 "../src/h264bsd_dpb.c"
 case 56: 
 var $354;
 var $355=($354&1); //@line 809 "../src/h264bsd_dpb.c"
 var $356=$2; //@line 810 "../src/h264bsd_dpb.c"
 var $357=(($356+8)|0); //@line 810 "../src/h264bsd_dpb.c"
 var $358=HEAP32[(($357)>>2)]; //@line 810 "../src/h264bsd_dpb.c"
 var $359=(($358)|0); //@line 810 "../src/h264bsd_dpb.c"
 var $360=HEAP32[(($359)>>2)]; //@line 810 "../src/h264bsd_dpb.c"
 var $361=$2; //@line 810 "../src/h264bsd_dpb.c"
 var $362=(($361+16)|0); //@line 810 "../src/h264bsd_dpb.c"
 var $363=HEAP32[(($362)>>2)]; //@line 810 "../src/h264bsd_dpb.c"
 var $364=$2; //@line 810 "../src/h264bsd_dpb.c"
 var $365=(($364+12)|0); //@line 810 "../src/h264bsd_dpb.c"
 var $366=HEAP32[(($365)>>2)]; //@line 810 "../src/h264bsd_dpb.c"
 var $367=(($366+($363<<4))|0); //@line 810 "../src/h264bsd_dpb.c"
 var $368=(($367)|0); //@line 810 "../src/h264bsd_dpb.c"
 HEAP32[(($368)>>2)]=$360; //@line 810 "../src/h264bsd_dpb.c"
 var $369=$2; //@line 811 "../src/h264bsd_dpb.c"
 var $370=(($369+8)|0); //@line 811 "../src/h264bsd_dpb.c"
 var $371=HEAP32[(($370)>>2)]; //@line 811 "../src/h264bsd_dpb.c"
 var $372=(($371+36)|0); //@line 811 "../src/h264bsd_dpb.c"
 var $373=HEAP32[(($372)>>2)]; //@line 811 "../src/h264bsd_dpb.c"
 var $374=$2; //@line 811 "../src/h264bsd_dpb.c"
 var $375=(($374+16)|0); //@line 811 "../src/h264bsd_dpb.c"
 var $376=HEAP32[(($375)>>2)]; //@line 811 "../src/h264bsd_dpb.c"
 var $377=$2; //@line 811 "../src/h264bsd_dpb.c"
 var $378=(($377+12)|0); //@line 811 "../src/h264bsd_dpb.c"
 var $379=HEAP32[(($378)>>2)]; //@line 811 "../src/h264bsd_dpb.c"
 var $380=(($379+($376<<4))|0); //@line 811 "../src/h264bsd_dpb.c"
 var $381=(($380+12)|0); //@line 811 "../src/h264bsd_dpb.c"
 HEAP32[(($381)>>2)]=$373; //@line 811 "../src/h264bsd_dpb.c"
 var $382=$2; //@line 812 "../src/h264bsd_dpb.c"
 var $383=(($382+8)|0); //@line 812 "../src/h264bsd_dpb.c"
 var $384=HEAP32[(($383)>>2)]; //@line 812 "../src/h264bsd_dpb.c"
 var $385=(($384+28)|0); //@line 812 "../src/h264bsd_dpb.c"
 var $386=HEAP32[(($385)>>2)]; //@line 812 "../src/h264bsd_dpb.c"
 var $387=$2; //@line 812 "../src/h264bsd_dpb.c"
 var $388=(($387+16)|0); //@line 812 "../src/h264bsd_dpb.c"
 var $389=HEAP32[(($388)>>2)]; //@line 812 "../src/h264bsd_dpb.c"
 var $390=$2; //@line 812 "../src/h264bsd_dpb.c"
 var $391=(($390+12)|0); //@line 812 "../src/h264bsd_dpb.c"
 var $392=HEAP32[(($391)>>2)]; //@line 812 "../src/h264bsd_dpb.c"
 var $393=(($392+($389<<4))|0); //@line 812 "../src/h264bsd_dpb.c"
 var $394=(($393+4)|0); //@line 812 "../src/h264bsd_dpb.c"
 HEAP32[(($394)>>2)]=$386; //@line 812 "../src/h264bsd_dpb.c"
 var $395=$2; //@line 813 "../src/h264bsd_dpb.c"
 var $396=(($395+8)|0); //@line 813 "../src/h264bsd_dpb.c"
 var $397=HEAP32[(($396)>>2)]; //@line 813 "../src/h264bsd_dpb.c"
 var $398=(($397+32)|0); //@line 813 "../src/h264bsd_dpb.c"
 var $399=HEAP32[(($398)>>2)]; //@line 813 "../src/h264bsd_dpb.c"
 var $400=$2; //@line 813 "../src/h264bsd_dpb.c"
 var $401=(($400+16)|0); //@line 813 "../src/h264bsd_dpb.c"
 var $402=HEAP32[(($401)>>2)]; //@line 813 "../src/h264bsd_dpb.c"
 var $403=$2; //@line 813 "../src/h264bsd_dpb.c"
 var $404=(($403+12)|0); //@line 813 "../src/h264bsd_dpb.c"
 var $405=HEAP32[(($404)>>2)]; //@line 813 "../src/h264bsd_dpb.c"
 var $406=(($405+($402<<4))|0); //@line 813 "../src/h264bsd_dpb.c"
 var $407=(($406+8)|0); //@line 813 "../src/h264bsd_dpb.c"
 HEAP32[(($407)>>2)]=$399; //@line 813 "../src/h264bsd_dpb.c"
 var $408=$2; //@line 814 "../src/h264bsd_dpb.c"
 var $409=(($408+16)|0); //@line 814 "../src/h264bsd_dpb.c"
 var $410=HEAP32[(($409)>>2)]; //@line 814 "../src/h264bsd_dpb.c"
 var $411=((($410)+(1))|0); //@line 814 "../src/h264bsd_dpb.c"
 HEAP32[(($409)>>2)]=$411; //@line 814 "../src/h264bsd_dpb.c"
 label=63;break; //@line 815 "../src/h264bsd_dpb.c"
 case 57: 
 label=58;break; //@line 819 "../src/h264bsd_dpb.c"
 case 58: 
 var $414=$2; //@line 819 "../src/h264bsd_dpb.c"
 var $415=(($414+44)|0); //@line 819 "../src/h264bsd_dpb.c"
 var $416=HEAP32[(($415)>>2)]; //@line 819 "../src/h264bsd_dpb.c"
 var $417=$2; //@line 819 "../src/h264bsd_dpb.c"
 var $418=(($417+28)|0); //@line 819 "../src/h264bsd_dpb.c"
 var $419=HEAP32[(($418)>>2)]; //@line 819 "../src/h264bsd_dpb.c"
 var $420=($416>>>0)>($419>>>0); //@line 819 "../src/h264bsd_dpb.c"
 if($420){label=59;break;}else{label=62;break;} //@line 819 "../src/h264bsd_dpb.c"
 case 59: 
 var $422=$2; //@line 821 "../src/h264bsd_dpb.c"
 var $423=_OutputPicture($422); //@line 821 "../src/h264bsd_dpb.c"
 $i=$423; //@line 821 "../src/h264bsd_dpb.c"
 var $424=$i; //@line 822 "../src/h264bsd_dpb.c"
 var $425=($424|0)==0; //@line 822 "../src/h264bsd_dpb.c"
 if($425){var $429=1;label=61;break;}else{label=60;break;} //@line 822 "../src/h264bsd_dpb.c"
 case 60: 
 ___assert_fail(11416,10304,822,13256); //@line 822 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 822 "../src/h264bsd_dpb.c"
 label=61;break; //@line 822 "../src/h264bsd_dpb.c"
 case 61: 
 var $429;
 var $430=($429&1); //@line 822 "../src/h264bsd_dpb.c"
 label=58;break; //@line 823 "../src/h264bsd_dpb.c"
 case 62: 
 label=63;break;
 case 63: 
 var $433=$2; //@line 827 "../src/h264bsd_dpb.c"
 var $434=(($433)|0); //@line 827 "../src/h264bsd_dpb.c"
 var $435=HEAP32[(($434)>>2)]; //@line 827 "../src/h264bsd_dpb.c"
 var $436=$2; //@line 827 "../src/h264bsd_dpb.c"
 var $437=(($436+28)|0); //@line 827 "../src/h264bsd_dpb.c"
 var $438=HEAP32[(($437)>>2)]; //@line 827 "../src/h264bsd_dpb.c"
 var $439=((($438)+(1))|0); //@line 827 "../src/h264bsd_dpb.c"
 _ShellSort($435,$439); //@line 827 "../src/h264bsd_dpb.c"
 var $440=$status; //@line 829 "../src/h264bsd_dpb.c"
 $1=$440; //@line 829 "../src/h264bsd_dpb.c"
 label=64;break; //@line 829 "../src/h264bsd_dpb.c"
 case 64: 
 var $442=$1; //@line 831 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $442; //@line 831 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Mmcop5($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $i;
 $1=$dpb;
 $i=0; //@line 511 "../src/h264bsd_dpb.c"
 label=2;break; //@line 511 "../src/h264bsd_dpb.c"
 case 2: 
 var $3=$i; //@line 511 "../src/h264bsd_dpb.c"
 var $4=($3>>>0)<16; //@line 511 "../src/h264bsd_dpb.c"
 if($4){label=3;break;}else{label=9;break;} //@line 511 "../src/h264bsd_dpb.c"
 case 3: 
 var $6=$i; //@line 513 "../src/h264bsd_dpb.c"
 var $7=$1; //@line 513 "../src/h264bsd_dpb.c"
 var $8=(($7)|0); //@line 513 "../src/h264bsd_dpb.c"
 var $9=HEAP32[(($8)>>2)]; //@line 513 "../src/h264bsd_dpb.c"
 var $10=(($9+((($6)*(40))&-1))|0); //@line 513 "../src/h264bsd_dpb.c"
 var $11=(($10+20)|0); //@line 513 "../src/h264bsd_dpb.c"
 var $12=HEAP32[(($11)>>2)]; //@line 513 "../src/h264bsd_dpb.c"
 var $13=($12|0)!=0; //@line 513 "../src/h264bsd_dpb.c"
 if($13){label=4;break;}else{label=7;break;} //@line 513 "../src/h264bsd_dpb.c"
 case 4: 
 var $15=$i; //@line 515 "../src/h264bsd_dpb.c"
 var $16=$1; //@line 515 "../src/h264bsd_dpb.c"
 var $17=(($16)|0); //@line 515 "../src/h264bsd_dpb.c"
 var $18=HEAP32[(($17)>>2)]; //@line 515 "../src/h264bsd_dpb.c"
 var $19=(($18+((($15)*(40))&-1))|0); //@line 515 "../src/h264bsd_dpb.c"
 var $20=(($19+20)|0); //@line 515 "../src/h264bsd_dpb.c"
 HEAP32[(($20)>>2)]=0; //@line 515 "../src/h264bsd_dpb.c"
 var $21=$i; //@line 516 "../src/h264bsd_dpb.c"
 var $22=$1; //@line 516 "../src/h264bsd_dpb.c"
 var $23=(($22)|0); //@line 516 "../src/h264bsd_dpb.c"
 var $24=HEAP32[(($23)>>2)]; //@line 516 "../src/h264bsd_dpb.c"
 var $25=(($24+((($21)*(40))&-1))|0); //@line 516 "../src/h264bsd_dpb.c"
 var $26=(($25+24)|0); //@line 516 "../src/h264bsd_dpb.c"
 var $27=HEAP32[(($26)>>2)]; //@line 516 "../src/h264bsd_dpb.c"
 var $28=($27|0)!=0; //@line 516 "../src/h264bsd_dpb.c"
 if($28){label=6;break;}else{label=5;break;} //@line 516 "../src/h264bsd_dpb.c"
 case 5: 
 var $30=$1; //@line 517 "../src/h264bsd_dpb.c"
 var $31=(($30+44)|0); //@line 517 "../src/h264bsd_dpb.c"
 var $32=HEAP32[(($31)>>2)]; //@line 517 "../src/h264bsd_dpb.c"
 var $33=((($32)-(1))|0); //@line 517 "../src/h264bsd_dpb.c"
 HEAP32[(($31)>>2)]=$33; //@line 517 "../src/h264bsd_dpb.c"
 label=6;break; //@line 517 "../src/h264bsd_dpb.c"
 case 6: 
 label=7;break; //@line 518 "../src/h264bsd_dpb.c"
 case 7: 
 label=8;break; //@line 519 "../src/h264bsd_dpb.c"
 case 8: 
 var $37=$i; //@line 511 "../src/h264bsd_dpb.c"
 var $38=((($37)+(1))|0); //@line 511 "../src/h264bsd_dpb.c"
 $i=$38; //@line 511 "../src/h264bsd_dpb.c"
 label=2;break; //@line 511 "../src/h264bsd_dpb.c"
 case 9: 
 label=10;break; //@line 522 "../src/h264bsd_dpb.c"
 case 10: 
 var $41=$1; //@line 522 "../src/h264bsd_dpb.c"
 var $42=_OutputPicture($41); //@line 522 "../src/h264bsd_dpb.c"
 var $43=($42|0)==0; //@line 522 "../src/h264bsd_dpb.c"
 if($43){label=11;break;}else{label=12;break;} //@line 522 "../src/h264bsd_dpb.c"
 case 11: 
 label=10;break; //@line 522 "../src/h264bsd_dpb.c"
 case 12: 
 var $46=$1; //@line 524 "../src/h264bsd_dpb.c"
 var $47=(($46+40)|0); //@line 524 "../src/h264bsd_dpb.c"
 HEAP32[(($47)>>2)]=0; //@line 524 "../src/h264bsd_dpb.c"
 var $48=$1; //@line 525 "../src/h264bsd_dpb.c"
 var $49=(($48+36)|0); //@line 525 "../src/h264bsd_dpb.c"
 HEAP32[(($49)>>2)]=65535; //@line 525 "../src/h264bsd_dpb.c"
 var $50=$1; //@line 526 "../src/h264bsd_dpb.c"
 var $51=(($50+48)|0); //@line 526 "../src/h264bsd_dpb.c"
 HEAP32[(($51)>>2)]=0; //@line 526 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return 0; //@line 528 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Mmcop1($dpb,$currPicNum,$differenceOfPicNums){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $index;
 var $picNum;
 $2=$dpb;
 $3=$currPicNum;
 $4=$differenceOfPicNums;
 var $5=$3; //@line 331 "../src/h264bsd_dpb.c"
 var $6=$2; //@line 331 "../src/h264bsd_dpb.c"
 var $7=(($6+32)|0); //@line 331 "../src/h264bsd_dpb.c"
 var $8=HEAP32[(($7)>>2)]; //@line 331 "../src/h264bsd_dpb.c"
 var $9=($5>>>0)<($8>>>0); //@line 331 "../src/h264bsd_dpb.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 331 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(8424,10304,331,15184); //@line 331 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 331 "../src/h264bsd_dpb.c"
 label=3;break; //@line 331 "../src/h264bsd_dpb.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 331 "../src/h264bsd_dpb.c"
 var $15=$3; //@line 333 "../src/h264bsd_dpb.c"
 var $16=$4; //@line 333 "../src/h264bsd_dpb.c"
 var $17=((($15)-($16))|0); //@line 333 "../src/h264bsd_dpb.c"
 $picNum=$17; //@line 333 "../src/h264bsd_dpb.c"
 var $18=$2; //@line 335 "../src/h264bsd_dpb.c"
 var $19=$picNum; //@line 335 "../src/h264bsd_dpb.c"
 var $20=_FindDpbPic($18,$19,1); //@line 335 "../src/h264bsd_dpb.c"
 $index=$20; //@line 335 "../src/h264bsd_dpb.c"
 var $21=$index; //@line 336 "../src/h264bsd_dpb.c"
 var $22=($21|0)<0; //@line 336 "../src/h264bsd_dpb.c"
 if($22){label=4;break;}else{label=5;break;} //@line 336 "../src/h264bsd_dpb.c"
 case 4: 
 $1=1; //@line 337 "../src/h264bsd_dpb.c"
 label=8;break; //@line 337 "../src/h264bsd_dpb.c"
 case 5: 
 var $25=$index; //@line 339 "../src/h264bsd_dpb.c"
 var $26=$2; //@line 339 "../src/h264bsd_dpb.c"
 var $27=(($26)|0); //@line 339 "../src/h264bsd_dpb.c"
 var $28=HEAP32[(($27)>>2)]; //@line 339 "../src/h264bsd_dpb.c"
 var $29=(($28+((($25)*(40))&-1))|0); //@line 339 "../src/h264bsd_dpb.c"
 var $30=(($29+20)|0); //@line 339 "../src/h264bsd_dpb.c"
 HEAP32[(($30)>>2)]=0; //@line 339 "../src/h264bsd_dpb.c"
 var $31=$2; //@line 340 "../src/h264bsd_dpb.c"
 var $32=(($31+40)|0); //@line 340 "../src/h264bsd_dpb.c"
 var $33=HEAP32[(($32)>>2)]; //@line 340 "../src/h264bsd_dpb.c"
 var $34=((($33)-(1))|0); //@line 340 "../src/h264bsd_dpb.c"
 HEAP32[(($32)>>2)]=$34; //@line 340 "../src/h264bsd_dpb.c"
 var $35=$index; //@line 341 "../src/h264bsd_dpb.c"
 var $36=$2; //@line 341 "../src/h264bsd_dpb.c"
 var $37=(($36)|0); //@line 341 "../src/h264bsd_dpb.c"
 var $38=HEAP32[(($37)>>2)]; //@line 341 "../src/h264bsd_dpb.c"
 var $39=(($38+((($35)*(40))&-1))|0); //@line 341 "../src/h264bsd_dpb.c"
 var $40=(($39+24)|0); //@line 341 "../src/h264bsd_dpb.c"
 var $41=HEAP32[(($40)>>2)]; //@line 341 "../src/h264bsd_dpb.c"
 var $42=($41|0)!=0; //@line 341 "../src/h264bsd_dpb.c"
 if($42){label=7;break;}else{label=6;break;} //@line 341 "../src/h264bsd_dpb.c"
 case 6: 
 var $44=$2; //@line 342 "../src/h264bsd_dpb.c"
 var $45=(($44+44)|0); //@line 342 "../src/h264bsd_dpb.c"
 var $46=HEAP32[(($45)>>2)]; //@line 342 "../src/h264bsd_dpb.c"
 var $47=((($46)-(1))|0); //@line 342 "../src/h264bsd_dpb.c"
 HEAP32[(($45)>>2)]=$47; //@line 342 "../src/h264bsd_dpb.c"
 label=7;break; //@line 342 "../src/h264bsd_dpb.c"
 case 7: 
 $1=0; //@line 344 "../src/h264bsd_dpb.c"
 label=8;break; //@line 344 "../src/h264bsd_dpb.c"
 case 8: 
 var $50=$1; //@line 346 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $50; //@line 346 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Mmcop2($dpb,$longTermPicNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $index;
 $2=$dpb;
 $3=$longTermPicNum;
 var $4=$2; //@line 371 "../src/h264bsd_dpb.c"
 var $5=$3; //@line 371 "../src/h264bsd_dpb.c"
 var $6=_FindDpbPic($4,$5,0); //@line 371 "../src/h264bsd_dpb.c"
 $index=$6; //@line 371 "../src/h264bsd_dpb.c"
 var $7=$index; //@line 372 "../src/h264bsd_dpb.c"
 var $8=($7|0)<0; //@line 372 "../src/h264bsd_dpb.c"
 if($8){label=2;break;}else{label=3;break;} //@line 372 "../src/h264bsd_dpb.c"
 case 2: 
 $1=1; //@line 373 "../src/h264bsd_dpb.c"
 label=6;break; //@line 373 "../src/h264bsd_dpb.c"
 case 3: 
 var $11=$index; //@line 375 "../src/h264bsd_dpb.c"
 var $12=$2; //@line 375 "../src/h264bsd_dpb.c"
 var $13=(($12)|0); //@line 375 "../src/h264bsd_dpb.c"
 var $14=HEAP32[(($13)>>2)]; //@line 375 "../src/h264bsd_dpb.c"
 var $15=(($14+((($11)*(40))&-1))|0); //@line 375 "../src/h264bsd_dpb.c"
 var $16=(($15+20)|0); //@line 375 "../src/h264bsd_dpb.c"
 HEAP32[(($16)>>2)]=0; //@line 375 "../src/h264bsd_dpb.c"
 var $17=$2; //@line 376 "../src/h264bsd_dpb.c"
 var $18=(($17+40)|0); //@line 376 "../src/h264bsd_dpb.c"
 var $19=HEAP32[(($18)>>2)]; //@line 376 "../src/h264bsd_dpb.c"
 var $20=((($19)-(1))|0); //@line 376 "../src/h264bsd_dpb.c"
 HEAP32[(($18)>>2)]=$20; //@line 376 "../src/h264bsd_dpb.c"
 var $21=$index; //@line 377 "../src/h264bsd_dpb.c"
 var $22=$2; //@line 377 "../src/h264bsd_dpb.c"
 var $23=(($22)|0); //@line 377 "../src/h264bsd_dpb.c"
 var $24=HEAP32[(($23)>>2)]; //@line 377 "../src/h264bsd_dpb.c"
 var $25=(($24+((($21)*(40))&-1))|0); //@line 377 "../src/h264bsd_dpb.c"
 var $26=(($25+24)|0); //@line 377 "../src/h264bsd_dpb.c"
 var $27=HEAP32[(($26)>>2)]; //@line 377 "../src/h264bsd_dpb.c"
 var $28=($27|0)!=0; //@line 377 "../src/h264bsd_dpb.c"
 if($28){label=5;break;}else{label=4;break;} //@line 377 "../src/h264bsd_dpb.c"
 case 4: 
 var $30=$2; //@line 378 "../src/h264bsd_dpb.c"
 var $31=(($30+44)|0); //@line 378 "../src/h264bsd_dpb.c"
 var $32=HEAP32[(($31)>>2)]; //@line 378 "../src/h264bsd_dpb.c"
 var $33=((($32)-(1))|0); //@line 378 "../src/h264bsd_dpb.c"
 HEAP32[(($31)>>2)]=$33; //@line 378 "../src/h264bsd_dpb.c"
 label=5;break; //@line 378 "../src/h264bsd_dpb.c"
 case 5: 
 $1=0; //@line 380 "../src/h264bsd_dpb.c"
 label=6;break; //@line 380 "../src/h264bsd_dpb.c"
 case 6: 
 var $36=$1; //@line 382 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $36; //@line 382 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Mmcop3($dpb,$currPicNum,$differenceOfPicNums,$longTermFrameIdx){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $index;
 var $picNum;
 var $i;
 $2=$dpb;
 $3=$currPicNum;
 $4=$differenceOfPicNums;
 $5=$longTermFrameIdx;
 var $6=$2; //@line 412 "../src/h264bsd_dpb.c"
 var $7=($6|0)!=0; //@line 412 "../src/h264bsd_dpb.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 412 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,412,15176); //@line 412 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 412 "../src/h264bsd_dpb.c"
 label=3;break; //@line 412 "../src/h264bsd_dpb.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 412 "../src/h264bsd_dpb.c"
 var $13=$3; //@line 413 "../src/h264bsd_dpb.c"
 var $14=$2; //@line 413 "../src/h264bsd_dpb.c"
 var $15=(($14+32)|0); //@line 413 "../src/h264bsd_dpb.c"
 var $16=HEAP32[(($15)>>2)]; //@line 413 "../src/h264bsd_dpb.c"
 var $17=($13>>>0)<($16>>>0); //@line 413 "../src/h264bsd_dpb.c"
 if($17){var $21=1;label=5;break;}else{label=4;break;} //@line 413 "../src/h264bsd_dpb.c"
 case 4: 
 ___assert_fail(8424,10304,413,15176); //@line 413 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 413 "../src/h264bsd_dpb.c"
 label=5;break; //@line 413 "../src/h264bsd_dpb.c"
 case 5: 
 var $21;
 var $22=($21&1); //@line 413 "../src/h264bsd_dpb.c"
 var $23=$2; //@line 415 "../src/h264bsd_dpb.c"
 var $24=(($23+36)|0); //@line 415 "../src/h264bsd_dpb.c"
 var $25=HEAP32[(($24)>>2)]; //@line 415 "../src/h264bsd_dpb.c"
 var $26=($25|0)==65535; //@line 415 "../src/h264bsd_dpb.c"
 if($26){label=7;break;}else{label=6;break;} //@line 415 "../src/h264bsd_dpb.c"
 case 6: 
 var $28=$5; //@line 415 "../src/h264bsd_dpb.c"
 var $29=$2; //@line 415 "../src/h264bsd_dpb.c"
 var $30=(($29+36)|0); //@line 415 "../src/h264bsd_dpb.c"
 var $31=HEAP32[(($30)>>2)]; //@line 415 "../src/h264bsd_dpb.c"
 var $32=($28>>>0)>($31>>>0); //@line 415 "../src/h264bsd_dpb.c"
 if($32){label=7;break;}else{label=8;break;} //@line 415 "../src/h264bsd_dpb.c"
 case 7: 
 $1=1; //@line 417 "../src/h264bsd_dpb.c"
 label=22;break; //@line 417 "../src/h264bsd_dpb.c"
 case 8: 
 $i=0; //@line 421 "../src/h264bsd_dpb.c"
 label=9;break; //@line 421 "../src/h264bsd_dpb.c"
 case 9: 
 var $36=$i; //@line 421 "../src/h264bsd_dpb.c"
 var $37=$2; //@line 421 "../src/h264bsd_dpb.c"
 var $38=(($37+24)|0); //@line 421 "../src/h264bsd_dpb.c"
 var $39=HEAP32[(($38)>>2)]; //@line 421 "../src/h264bsd_dpb.c"
 var $40=($36>>>0)<($39>>>0); //@line 421 "../src/h264bsd_dpb.c"
 if($40){label=10;break;}else{label=17;break;} //@line 421 "../src/h264bsd_dpb.c"
 case 10: 
 var $42=$i; //@line 422 "../src/h264bsd_dpb.c"
 var $43=$2; //@line 422 "../src/h264bsd_dpb.c"
 var $44=(($43)|0); //@line 422 "../src/h264bsd_dpb.c"
 var $45=HEAP32[(($44)>>2)]; //@line 422 "../src/h264bsd_dpb.c"
 var $46=(($45+((($42)*(40))&-1))|0); //@line 422 "../src/h264bsd_dpb.c"
 var $47=(($46+20)|0); //@line 422 "../src/h264bsd_dpb.c"
 var $48=HEAP32[(($47)>>2)]; //@line 422 "../src/h264bsd_dpb.c"
 var $49=($48|0)==3; //@line 422 "../src/h264bsd_dpb.c"
 if($49){label=11;break;}else{label=15;break;} //@line 422 "../src/h264bsd_dpb.c"
 case 11: 
 var $51=$i; //@line 422 "../src/h264bsd_dpb.c"
 var $52=$2; //@line 422 "../src/h264bsd_dpb.c"
 var $53=(($52)|0); //@line 422 "../src/h264bsd_dpb.c"
 var $54=HEAP32[(($53)>>2)]; //@line 422 "../src/h264bsd_dpb.c"
 var $55=(($54+((($51)*(40))&-1))|0); //@line 422 "../src/h264bsd_dpb.c"
 var $56=(($55+8)|0); //@line 422 "../src/h264bsd_dpb.c"
 var $57=HEAP32[(($56)>>2)]; //@line 422 "../src/h264bsd_dpb.c"
 var $58=$5; //@line 422 "../src/h264bsd_dpb.c"
 var $59=($57|0)==($58|0); //@line 422 "../src/h264bsd_dpb.c"
 if($59){label=12;break;}else{label=15;break;} //@line 422 "../src/h264bsd_dpb.c"
 case 12: 
 var $61=$i; //@line 425 "../src/h264bsd_dpb.c"
 var $62=$2; //@line 425 "../src/h264bsd_dpb.c"
 var $63=(($62)|0); //@line 425 "../src/h264bsd_dpb.c"
 var $64=HEAP32[(($63)>>2)]; //@line 425 "../src/h264bsd_dpb.c"
 var $65=(($64+((($61)*(40))&-1))|0); //@line 425 "../src/h264bsd_dpb.c"
 var $66=(($65+20)|0); //@line 425 "../src/h264bsd_dpb.c"
 HEAP32[(($66)>>2)]=0; //@line 425 "../src/h264bsd_dpb.c"
 var $67=$2; //@line 426 "../src/h264bsd_dpb.c"
 var $68=(($67+40)|0); //@line 426 "../src/h264bsd_dpb.c"
 var $69=HEAP32[(($68)>>2)]; //@line 426 "../src/h264bsd_dpb.c"
 var $70=((($69)-(1))|0); //@line 426 "../src/h264bsd_dpb.c"
 HEAP32[(($68)>>2)]=$70; //@line 426 "../src/h264bsd_dpb.c"
 var $71=$i; //@line 427 "../src/h264bsd_dpb.c"
 var $72=$2; //@line 427 "../src/h264bsd_dpb.c"
 var $73=(($72)|0); //@line 427 "../src/h264bsd_dpb.c"
 var $74=HEAP32[(($73)>>2)]; //@line 427 "../src/h264bsd_dpb.c"
 var $75=(($74+((($71)*(40))&-1))|0); //@line 427 "../src/h264bsd_dpb.c"
 var $76=(($75+24)|0); //@line 427 "../src/h264bsd_dpb.c"
 var $77=HEAP32[(($76)>>2)]; //@line 427 "../src/h264bsd_dpb.c"
 var $78=($77|0)!=0; //@line 427 "../src/h264bsd_dpb.c"
 if($78){label=14;break;}else{label=13;break;} //@line 427 "../src/h264bsd_dpb.c"
 case 13: 
 var $80=$2; //@line 428 "../src/h264bsd_dpb.c"
 var $81=(($80+44)|0); //@line 428 "../src/h264bsd_dpb.c"
 var $82=HEAP32[(($81)>>2)]; //@line 428 "../src/h264bsd_dpb.c"
 var $83=((($82)-(1))|0); //@line 428 "../src/h264bsd_dpb.c"
 HEAP32[(($81)>>2)]=$83; //@line 428 "../src/h264bsd_dpb.c"
 label=14;break; //@line 428 "../src/h264bsd_dpb.c"
 case 14: 
 label=17;break; //@line 429 "../src/h264bsd_dpb.c"
 case 15: 
 label=16;break; //@line 430 "../src/h264bsd_dpb.c"
 case 16: 
 var $87=$i; //@line 421 "../src/h264bsd_dpb.c"
 var $88=((($87)+(1))|0); //@line 421 "../src/h264bsd_dpb.c"
 $i=$88; //@line 421 "../src/h264bsd_dpb.c"
 label=9;break; //@line 421 "../src/h264bsd_dpb.c"
 case 17: 
 var $90=$3; //@line 432 "../src/h264bsd_dpb.c"
 var $91=$4; //@line 432 "../src/h264bsd_dpb.c"
 var $92=((($90)-($91))|0); //@line 432 "../src/h264bsd_dpb.c"
 $picNum=$92; //@line 432 "../src/h264bsd_dpb.c"
 var $93=$2; //@line 434 "../src/h264bsd_dpb.c"
 var $94=$picNum; //@line 434 "../src/h264bsd_dpb.c"
 var $95=_FindDpbPic($93,$94,1); //@line 434 "../src/h264bsd_dpb.c"
 $index=$95; //@line 434 "../src/h264bsd_dpb.c"
 var $96=$index; //@line 435 "../src/h264bsd_dpb.c"
 var $97=($96|0)<0; //@line 435 "../src/h264bsd_dpb.c"
 if($97){label=18;break;}else{label=19;break;} //@line 435 "../src/h264bsd_dpb.c"
 case 18: 
 $1=1; //@line 436 "../src/h264bsd_dpb.c"
 label=22;break; //@line 436 "../src/h264bsd_dpb.c"
 case 19: 
 var $100=$index; //@line 437 "../src/h264bsd_dpb.c"
 var $101=$2; //@line 437 "../src/h264bsd_dpb.c"
 var $102=(($101)|0); //@line 437 "../src/h264bsd_dpb.c"
 var $103=HEAP32[(($102)>>2)]; //@line 437 "../src/h264bsd_dpb.c"
 var $104=(($103+((($100)*(40))&-1))|0); //@line 437 "../src/h264bsd_dpb.c"
 var $105=(($104+20)|0); //@line 437 "../src/h264bsd_dpb.c"
 var $106=HEAP32[(($105)>>2)]; //@line 437 "../src/h264bsd_dpb.c"
 var $107=($106>>>0)>1; //@line 437 "../src/h264bsd_dpb.c"
 if($107){label=21;break;}else{label=20;break;} //@line 437 "../src/h264bsd_dpb.c"
 case 20: 
 $1=1; //@line 438 "../src/h264bsd_dpb.c"
 label=22;break; //@line 438 "../src/h264bsd_dpb.c"
 case 21: 
 var $110=$index; //@line 440 "../src/h264bsd_dpb.c"
 var $111=$2; //@line 440 "../src/h264bsd_dpb.c"
 var $112=(($111)|0); //@line 440 "../src/h264bsd_dpb.c"
 var $113=HEAP32[(($112)>>2)]; //@line 440 "../src/h264bsd_dpb.c"
 var $114=(($113+((($110)*(40))&-1))|0); //@line 440 "../src/h264bsd_dpb.c"
 var $115=(($114+20)|0); //@line 440 "../src/h264bsd_dpb.c"
 HEAP32[(($115)>>2)]=3; //@line 440 "../src/h264bsd_dpb.c"
 var $116=$5; //@line 441 "../src/h264bsd_dpb.c"
 var $117=$index; //@line 441 "../src/h264bsd_dpb.c"
 var $118=$2; //@line 441 "../src/h264bsd_dpb.c"
 var $119=(($118)|0); //@line 441 "../src/h264bsd_dpb.c"
 var $120=HEAP32[(($119)>>2)]; //@line 441 "../src/h264bsd_dpb.c"
 var $121=(($120+((($117)*(40))&-1))|0); //@line 441 "../src/h264bsd_dpb.c"
 var $122=(($121+8)|0); //@line 441 "../src/h264bsd_dpb.c"
 HEAP32[(($122)>>2)]=$116; //@line 441 "../src/h264bsd_dpb.c"
 $1=0; //@line 443 "../src/h264bsd_dpb.c"
 label=22;break; //@line 443 "../src/h264bsd_dpb.c"
 case 22: 
 var $124=$1; //@line 445 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $124; //@line 445 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Mmcop4($dpb,$maxLongTermFrameIdx){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 $1=$dpb;
 $2=$maxLongTermFrameIdx;
 var $3=$2; //@line 469 "../src/h264bsd_dpb.c"
 var $4=$1; //@line 469 "../src/h264bsd_dpb.c"
 var $5=(($4+36)|0); //@line 469 "../src/h264bsd_dpb.c"
 HEAP32[(($5)>>2)]=$3; //@line 469 "../src/h264bsd_dpb.c"
 $i=0; //@line 471 "../src/h264bsd_dpb.c"
 label=2;break; //@line 471 "../src/h264bsd_dpb.c"
 case 2: 
 var $7=$i; //@line 471 "../src/h264bsd_dpb.c"
 var $8=$1; //@line 471 "../src/h264bsd_dpb.c"
 var $9=(($8+24)|0); //@line 471 "../src/h264bsd_dpb.c"
 var $10=HEAP32[(($9)>>2)]; //@line 471 "../src/h264bsd_dpb.c"
 var $11=($7>>>0)<($10>>>0); //@line 471 "../src/h264bsd_dpb.c"
 if($11){label=3;break;}else{label=11;break;} //@line 471 "../src/h264bsd_dpb.c"
 case 3: 
 var $13=$i; //@line 472 "../src/h264bsd_dpb.c"
 var $14=$1; //@line 472 "../src/h264bsd_dpb.c"
 var $15=(($14)|0); //@line 472 "../src/h264bsd_dpb.c"
 var $16=HEAP32[(($15)>>2)]; //@line 472 "../src/h264bsd_dpb.c"
 var $17=(($16+((($13)*(40))&-1))|0); //@line 472 "../src/h264bsd_dpb.c"
 var $18=(($17+20)|0); //@line 472 "../src/h264bsd_dpb.c"
 var $19=HEAP32[(($18)>>2)]; //@line 472 "../src/h264bsd_dpb.c"
 var $20=($19|0)==3; //@line 472 "../src/h264bsd_dpb.c"
 if($20){label=4;break;}else{label=9;break;} //@line 472 "../src/h264bsd_dpb.c"
 case 4: 
 var $22=$i; //@line 472 "../src/h264bsd_dpb.c"
 var $23=$1; //@line 472 "../src/h264bsd_dpb.c"
 var $24=(($23)|0); //@line 472 "../src/h264bsd_dpb.c"
 var $25=HEAP32[(($24)>>2)]; //@line 472 "../src/h264bsd_dpb.c"
 var $26=(($25+((($22)*(40))&-1))|0); //@line 472 "../src/h264bsd_dpb.c"
 var $27=(($26+8)|0); //@line 472 "../src/h264bsd_dpb.c"
 var $28=HEAP32[(($27)>>2)]; //@line 472 "../src/h264bsd_dpb.c"
 var $29=$2; //@line 472 "../src/h264bsd_dpb.c"
 var $30=($28>>>0)>($29>>>0); //@line 472 "../src/h264bsd_dpb.c"
 if($30){label=6;break;}else{label=5;break;} //@line 472 "../src/h264bsd_dpb.c"
 case 5: 
 var $32=$1; //@line 472 "../src/h264bsd_dpb.c"
 var $33=(($32+36)|0); //@line 472 "../src/h264bsd_dpb.c"
 var $34=HEAP32[(($33)>>2)]; //@line 472 "../src/h264bsd_dpb.c"
 var $35=($34|0)==65535; //@line 472 "../src/h264bsd_dpb.c"
 if($35){label=6;break;}else{label=9;break;} //@line 472 "../src/h264bsd_dpb.c"
 case 6: 
 var $37=$i; //@line 476 "../src/h264bsd_dpb.c"
 var $38=$1; //@line 476 "../src/h264bsd_dpb.c"
 var $39=(($38)|0); //@line 476 "../src/h264bsd_dpb.c"
 var $40=HEAP32[(($39)>>2)]; //@line 476 "../src/h264bsd_dpb.c"
 var $41=(($40+((($37)*(40))&-1))|0); //@line 476 "../src/h264bsd_dpb.c"
 var $42=(($41+20)|0); //@line 476 "../src/h264bsd_dpb.c"
 HEAP32[(($42)>>2)]=0; //@line 476 "../src/h264bsd_dpb.c"
 var $43=$1; //@line 477 "../src/h264bsd_dpb.c"
 var $44=(($43+40)|0); //@line 477 "../src/h264bsd_dpb.c"
 var $45=HEAP32[(($44)>>2)]; //@line 477 "../src/h264bsd_dpb.c"
 var $46=((($45)-(1))|0); //@line 477 "../src/h264bsd_dpb.c"
 HEAP32[(($44)>>2)]=$46; //@line 477 "../src/h264bsd_dpb.c"
 var $47=$i; //@line 478 "../src/h264bsd_dpb.c"
 var $48=$1; //@line 478 "../src/h264bsd_dpb.c"
 var $49=(($48)|0); //@line 478 "../src/h264bsd_dpb.c"
 var $50=HEAP32[(($49)>>2)]; //@line 478 "../src/h264bsd_dpb.c"
 var $51=(($50+((($47)*(40))&-1))|0); //@line 478 "../src/h264bsd_dpb.c"
 var $52=(($51+24)|0); //@line 478 "../src/h264bsd_dpb.c"
 var $53=HEAP32[(($52)>>2)]; //@line 478 "../src/h264bsd_dpb.c"
 var $54=($53|0)!=0; //@line 478 "../src/h264bsd_dpb.c"
 if($54){label=8;break;}else{label=7;break;} //@line 478 "../src/h264bsd_dpb.c"
 case 7: 
 var $56=$1; //@line 479 "../src/h264bsd_dpb.c"
 var $57=(($56+44)|0); //@line 479 "../src/h264bsd_dpb.c"
 var $58=HEAP32[(($57)>>2)]; //@line 479 "../src/h264bsd_dpb.c"
 var $59=((($58)-(1))|0); //@line 479 "../src/h264bsd_dpb.c"
 HEAP32[(($57)>>2)]=$59; //@line 479 "../src/h264bsd_dpb.c"
 label=8;break; //@line 479 "../src/h264bsd_dpb.c"
 case 8: 
 label=9;break; //@line 480 "../src/h264bsd_dpb.c"
 case 9: 
 label=10;break; //@line 480 "../src/h264bsd_dpb.c"
 case 10: 
 var $63=$i; //@line 471 "../src/h264bsd_dpb.c"
 var $64=((($63)+(1))|0); //@line 471 "../src/h264bsd_dpb.c"
 $i=$64; //@line 471 "../src/h264bsd_dpb.c"
 label=2;break; //@line 471 "../src/h264bsd_dpb.c"
 case 11: 
 STACKTOP=sp;return 0; //@line 482 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Mmcop6($dpb,$frameNum,$picOrderCnt,$longTermFrameIdx){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 $2=$dpb;
 $3=$frameNum;
 $4=$picOrderCnt;
 $5=$longTermFrameIdx;
 var $6=$3; //@line 557 "../src/h264bsd_dpb.c"
 var $7=$2; //@line 557 "../src/h264bsd_dpb.c"
 var $8=(($7+32)|0); //@line 557 "../src/h264bsd_dpb.c"
 var $9=HEAP32[(($8)>>2)]; //@line 557 "../src/h264bsd_dpb.c"
 var $10=($6>>>0)<($9>>>0); //@line 557 "../src/h264bsd_dpb.c"
 if($10){var $14=0;label=3;break;}else{label=2;break;} //@line 557 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(5152,10304,557,15168); //@line 557 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 557 "../src/h264bsd_dpb.c"
 label=3;break; //@line 557 "../src/h264bsd_dpb.c"
 case 3: 
 var $14;
 var $15=($14&1); //@line 557 "../src/h264bsd_dpb.c"
 var $16=$2; //@line 559 "../src/h264bsd_dpb.c"
 var $17=(($16+36)|0); //@line 559 "../src/h264bsd_dpb.c"
 var $18=HEAP32[(($17)>>2)]; //@line 559 "../src/h264bsd_dpb.c"
 var $19=($18|0)==65535; //@line 559 "../src/h264bsd_dpb.c"
 if($19){label=5;break;}else{label=4;break;} //@line 559 "../src/h264bsd_dpb.c"
 case 4: 
 var $21=$5; //@line 559 "../src/h264bsd_dpb.c"
 var $22=$2; //@line 559 "../src/h264bsd_dpb.c"
 var $23=(($22+36)|0); //@line 559 "../src/h264bsd_dpb.c"
 var $24=HEAP32[(($23)>>2)]; //@line 559 "../src/h264bsd_dpb.c"
 var $25=($21>>>0)>($24>>>0); //@line 559 "../src/h264bsd_dpb.c"
 if($25){label=5;break;}else{label=6;break;} //@line 559 "../src/h264bsd_dpb.c"
 case 5: 
 $1=1; //@line 561 "../src/h264bsd_dpb.c"
 label=21;break; //@line 561 "../src/h264bsd_dpb.c"
 case 6: 
 $i=0; //@line 565 "../src/h264bsd_dpb.c"
 label=7;break; //@line 565 "../src/h264bsd_dpb.c"
 case 7: 
 var $29=$i; //@line 565 "../src/h264bsd_dpb.c"
 var $30=$2; //@line 565 "../src/h264bsd_dpb.c"
 var $31=(($30+24)|0); //@line 565 "../src/h264bsd_dpb.c"
 var $32=HEAP32[(($31)>>2)]; //@line 565 "../src/h264bsd_dpb.c"
 var $33=($29>>>0)<($32>>>0); //@line 565 "../src/h264bsd_dpb.c"
 if($33){label=8;break;}else{label=15;break;} //@line 565 "../src/h264bsd_dpb.c"
 case 8: 
 var $35=$i; //@line 566 "../src/h264bsd_dpb.c"
 var $36=$2; //@line 566 "../src/h264bsd_dpb.c"
 var $37=(($36)|0); //@line 566 "../src/h264bsd_dpb.c"
 var $38=HEAP32[(($37)>>2)]; //@line 566 "../src/h264bsd_dpb.c"
 var $39=(($38+((($35)*(40))&-1))|0); //@line 566 "../src/h264bsd_dpb.c"
 var $40=(($39+20)|0); //@line 566 "../src/h264bsd_dpb.c"
 var $41=HEAP32[(($40)>>2)]; //@line 566 "../src/h264bsd_dpb.c"
 var $42=($41|0)==3; //@line 566 "../src/h264bsd_dpb.c"
 if($42){label=9;break;}else{label=13;break;} //@line 566 "../src/h264bsd_dpb.c"
 case 9: 
 var $44=$i; //@line 566 "../src/h264bsd_dpb.c"
 var $45=$2; //@line 566 "../src/h264bsd_dpb.c"
 var $46=(($45)|0); //@line 566 "../src/h264bsd_dpb.c"
 var $47=HEAP32[(($46)>>2)]; //@line 566 "../src/h264bsd_dpb.c"
 var $48=(($47+((($44)*(40))&-1))|0); //@line 566 "../src/h264bsd_dpb.c"
 var $49=(($48+8)|0); //@line 566 "../src/h264bsd_dpb.c"
 var $50=HEAP32[(($49)>>2)]; //@line 566 "../src/h264bsd_dpb.c"
 var $51=$5; //@line 566 "../src/h264bsd_dpb.c"
 var $52=($50|0)==($51|0); //@line 566 "../src/h264bsd_dpb.c"
 if($52){label=10;break;}else{label=13;break;} //@line 566 "../src/h264bsd_dpb.c"
 case 10: 
 var $54=$i; //@line 569 "../src/h264bsd_dpb.c"
 var $55=$2; //@line 569 "../src/h264bsd_dpb.c"
 var $56=(($55)|0); //@line 569 "../src/h264bsd_dpb.c"
 var $57=HEAP32[(($56)>>2)]; //@line 569 "../src/h264bsd_dpb.c"
 var $58=(($57+((($54)*(40))&-1))|0); //@line 569 "../src/h264bsd_dpb.c"
 var $59=(($58+20)|0); //@line 569 "../src/h264bsd_dpb.c"
 HEAP32[(($59)>>2)]=0; //@line 569 "../src/h264bsd_dpb.c"
 var $60=$2; //@line 570 "../src/h264bsd_dpb.c"
 var $61=(($60+40)|0); //@line 570 "../src/h264bsd_dpb.c"
 var $62=HEAP32[(($61)>>2)]; //@line 570 "../src/h264bsd_dpb.c"
 var $63=((($62)-(1))|0); //@line 570 "../src/h264bsd_dpb.c"
 HEAP32[(($61)>>2)]=$63; //@line 570 "../src/h264bsd_dpb.c"
 var $64=$i; //@line 571 "../src/h264bsd_dpb.c"
 var $65=$2; //@line 571 "../src/h264bsd_dpb.c"
 var $66=(($65)|0); //@line 571 "../src/h264bsd_dpb.c"
 var $67=HEAP32[(($66)>>2)]; //@line 571 "../src/h264bsd_dpb.c"
 var $68=(($67+((($64)*(40))&-1))|0); //@line 571 "../src/h264bsd_dpb.c"
 var $69=(($68+24)|0); //@line 571 "../src/h264bsd_dpb.c"
 var $70=HEAP32[(($69)>>2)]; //@line 571 "../src/h264bsd_dpb.c"
 var $71=($70|0)!=0; //@line 571 "../src/h264bsd_dpb.c"
 if($71){label=12;break;}else{label=11;break;} //@line 571 "../src/h264bsd_dpb.c"
 case 11: 
 var $73=$2; //@line 572 "../src/h264bsd_dpb.c"
 var $74=(($73+44)|0); //@line 572 "../src/h264bsd_dpb.c"
 var $75=HEAP32[(($74)>>2)]; //@line 572 "../src/h264bsd_dpb.c"
 var $76=((($75)-(1))|0); //@line 572 "../src/h264bsd_dpb.c"
 HEAP32[(($74)>>2)]=$76; //@line 572 "../src/h264bsd_dpb.c"
 label=12;break; //@line 572 "../src/h264bsd_dpb.c"
 case 12: 
 label=15;break; //@line 573 "../src/h264bsd_dpb.c"
 case 13: 
 label=14;break; //@line 574 "../src/h264bsd_dpb.c"
 case 14: 
 var $80=$i; //@line 565 "../src/h264bsd_dpb.c"
 var $81=((($80)+(1))|0); //@line 565 "../src/h264bsd_dpb.c"
 $i=$81; //@line 565 "../src/h264bsd_dpb.c"
 label=7;break; //@line 565 "../src/h264bsd_dpb.c"
 case 15: 
 var $83=$2; //@line 576 "../src/h264bsd_dpb.c"
 var $84=(($83+40)|0); //@line 576 "../src/h264bsd_dpb.c"
 var $85=HEAP32[(($84)>>2)]; //@line 576 "../src/h264bsd_dpb.c"
 var $86=$2; //@line 576 "../src/h264bsd_dpb.c"
 var $87=(($86+24)|0); //@line 576 "../src/h264bsd_dpb.c"
 var $88=HEAP32[(($87)>>2)]; //@line 576 "../src/h264bsd_dpb.c"
 var $89=($85>>>0)<($88>>>0); //@line 576 "../src/h264bsd_dpb.c"
 if($89){label=16;break;}else{label=20;break;} //@line 576 "../src/h264bsd_dpb.c"
 case 16: 
 var $91=$3; //@line 578 "../src/h264bsd_dpb.c"
 var $92=$2; //@line 578 "../src/h264bsd_dpb.c"
 var $93=(($92+8)|0); //@line 578 "../src/h264bsd_dpb.c"
 var $94=HEAP32[(($93)>>2)]; //@line 578 "../src/h264bsd_dpb.c"
 var $95=(($94+12)|0); //@line 578 "../src/h264bsd_dpb.c"
 HEAP32[(($95)>>2)]=$91; //@line 578 "../src/h264bsd_dpb.c"
 var $96=$5; //@line 579 "../src/h264bsd_dpb.c"
 var $97=$2; //@line 579 "../src/h264bsd_dpb.c"
 var $98=(($97+8)|0); //@line 579 "../src/h264bsd_dpb.c"
 var $99=HEAP32[(($98)>>2)]; //@line 579 "../src/h264bsd_dpb.c"
 var $100=(($99+8)|0); //@line 579 "../src/h264bsd_dpb.c"
 HEAP32[(($100)>>2)]=$96; //@line 579 "../src/h264bsd_dpb.c"
 var $101=$4; //@line 580 "../src/h264bsd_dpb.c"
 var $102=$2; //@line 580 "../src/h264bsd_dpb.c"
 var $103=(($102+8)|0); //@line 580 "../src/h264bsd_dpb.c"
 var $104=HEAP32[(($103)>>2)]; //@line 580 "../src/h264bsd_dpb.c"
 var $105=(($104+16)|0); //@line 580 "../src/h264bsd_dpb.c"
 HEAP32[(($105)>>2)]=$101; //@line 580 "../src/h264bsd_dpb.c"
 var $106=$2; //@line 581 "../src/h264bsd_dpb.c"
 var $107=(($106+8)|0); //@line 581 "../src/h264bsd_dpb.c"
 var $108=HEAP32[(($107)>>2)]; //@line 581 "../src/h264bsd_dpb.c"
 var $109=(($108+20)|0); //@line 581 "../src/h264bsd_dpb.c"
 HEAP32[(($109)>>2)]=3; //@line 581 "../src/h264bsd_dpb.c"
 var $110=$2; //@line 582 "../src/h264bsd_dpb.c"
 var $111=(($110+56)|0); //@line 582 "../src/h264bsd_dpb.c"
 var $112=HEAP32[(($111)>>2)]; //@line 582 "../src/h264bsd_dpb.c"
 var $113=($112|0)!=0; //@line 582 "../src/h264bsd_dpb.c"
 if($113){label=17;break;}else{label=18;break;} //@line 582 "../src/h264bsd_dpb.c"
 case 17: 
 var $115=$2; //@line 583 "../src/h264bsd_dpb.c"
 var $116=(($115+8)|0); //@line 583 "../src/h264bsd_dpb.c"
 var $117=HEAP32[(($116)>>2)]; //@line 583 "../src/h264bsd_dpb.c"
 var $118=(($117+24)|0); //@line 583 "../src/h264bsd_dpb.c"
 HEAP32[(($118)>>2)]=0; //@line 583 "../src/h264bsd_dpb.c"
 label=19;break; //@line 583 "../src/h264bsd_dpb.c"
 case 18: 
 var $120=$2; //@line 585 "../src/h264bsd_dpb.c"
 var $121=(($120+8)|0); //@line 585 "../src/h264bsd_dpb.c"
 var $122=HEAP32[(($121)>>2)]; //@line 585 "../src/h264bsd_dpb.c"
 var $123=(($122+24)|0); //@line 585 "../src/h264bsd_dpb.c"
 HEAP32[(($123)>>2)]=1; //@line 585 "../src/h264bsd_dpb.c"
 label=19;break;
 case 19: 
 var $125=$2; //@line 586 "../src/h264bsd_dpb.c"
 var $126=(($125+40)|0); //@line 586 "../src/h264bsd_dpb.c"
 var $127=HEAP32[(($126)>>2)]; //@line 586 "../src/h264bsd_dpb.c"
 var $128=((($127)+(1))|0); //@line 586 "../src/h264bsd_dpb.c"
 HEAP32[(($126)>>2)]=$128; //@line 586 "../src/h264bsd_dpb.c"
 var $129=$2; //@line 587 "../src/h264bsd_dpb.c"
 var $130=(($129+44)|0); //@line 587 "../src/h264bsd_dpb.c"
 var $131=HEAP32[(($130)>>2)]; //@line 587 "../src/h264bsd_dpb.c"
 var $132=((($131)+(1))|0); //@line 587 "../src/h264bsd_dpb.c"
 HEAP32[(($130)>>2)]=$132; //@line 587 "../src/h264bsd_dpb.c"
 $1=0; //@line 588 "../src/h264bsd_dpb.c"
 label=21;break; //@line 588 "../src/h264bsd_dpb.c"
 case 20: 
 $1=1; //@line 592 "../src/h264bsd_dpb.c"
 label=21;break; //@line 592 "../src/h264bsd_dpb.c"
 case 21: 
 var $135=$1; //@line 594 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $135; //@line 594 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _SlidingWindowRefPicMarking($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $index;
 var $picNum;
 var $i;
 $2=$dpb;
 var $3=$2; //@line 920 "../src/h264bsd_dpb.c"
 var $4=(($3+40)|0); //@line 920 "../src/h264bsd_dpb.c"
 var $5=HEAP32[(($4)>>2)]; //@line 920 "../src/h264bsd_dpb.c"
 var $6=$2; //@line 920 "../src/h264bsd_dpb.c"
 var $7=(($6+24)|0); //@line 920 "../src/h264bsd_dpb.c"
 var $8=HEAP32[(($7)>>2)]; //@line 920 "../src/h264bsd_dpb.c"
 var $9=($5>>>0)<($8>>>0); //@line 920 "../src/h264bsd_dpb.c"
 if($9){label=2;break;}else{label=3;break;} //@line 920 "../src/h264bsd_dpb.c"
 case 2: 
 $1=0; //@line 922 "../src/h264bsd_dpb.c"
 label=19;break; //@line 922 "../src/h264bsd_dpb.c"
 case 3: 
 $index=-1; //@line 926 "../src/h264bsd_dpb.c"
 $picNum=0; //@line 927 "../src/h264bsd_dpb.c"
 $i=0; //@line 929 "../src/h264bsd_dpb.c"
 label=4;break; //@line 929 "../src/h264bsd_dpb.c"
 case 4: 
 var $13=$i; //@line 929 "../src/h264bsd_dpb.c"
 var $14=$2; //@line 929 "../src/h264bsd_dpb.c"
 var $15=(($14+40)|0); //@line 929 "../src/h264bsd_dpb.c"
 var $16=HEAP32[(($15)>>2)]; //@line 929 "../src/h264bsd_dpb.c"
 var $17=($13>>>0)<($16>>>0); //@line 929 "../src/h264bsd_dpb.c"
 if($17){label=5;break;}else{label=13;break;} //@line 929 "../src/h264bsd_dpb.c"
 case 5: 
 var $19=$i; //@line 930 "../src/h264bsd_dpb.c"
 var $20=$2; //@line 930 "../src/h264bsd_dpb.c"
 var $21=(($20)|0); //@line 930 "../src/h264bsd_dpb.c"
 var $22=HEAP32[(($21)>>2)]; //@line 930 "../src/h264bsd_dpb.c"
 var $23=(($22+((($19)*(40))&-1))|0); //@line 930 "../src/h264bsd_dpb.c"
 var $24=(($23+20)|0); //@line 930 "../src/h264bsd_dpb.c"
 var $25=HEAP32[(($24)>>2)]; //@line 930 "../src/h264bsd_dpb.c"
 var $26=($25|0)==1; //@line 930 "../src/h264bsd_dpb.c"
 if($26){label=7;break;}else{label=6;break;} //@line 930 "../src/h264bsd_dpb.c"
 case 6: 
 var $28=$i; //@line 930 "../src/h264bsd_dpb.c"
 var $29=$2; //@line 930 "../src/h264bsd_dpb.c"
 var $30=(($29)|0); //@line 930 "../src/h264bsd_dpb.c"
 var $31=HEAP32[(($30)>>2)]; //@line 930 "../src/h264bsd_dpb.c"
 var $32=(($31+((($28)*(40))&-1))|0); //@line 930 "../src/h264bsd_dpb.c"
 var $33=(($32+20)|0); //@line 930 "../src/h264bsd_dpb.c"
 var $34=HEAP32[(($33)>>2)]; //@line 930 "../src/h264bsd_dpb.c"
 var $35=($34|0)==2; //@line 930 "../src/h264bsd_dpb.c"
 if($35){label=7;break;}else{label=11;break;} //@line 930 "../src/h264bsd_dpb.c"
 case 7: 
 var $37=$i; //@line 931 "../src/h264bsd_dpb.c"
 var $38=$2; //@line 931 "../src/h264bsd_dpb.c"
 var $39=(($38)|0); //@line 931 "../src/h264bsd_dpb.c"
 var $40=HEAP32[(($39)>>2)]; //@line 931 "../src/h264bsd_dpb.c"
 var $41=(($40+((($37)*(40))&-1))|0); //@line 931 "../src/h264bsd_dpb.c"
 var $42=(($41+8)|0); //@line 931 "../src/h264bsd_dpb.c"
 var $43=HEAP32[(($42)>>2)]; //@line 931 "../src/h264bsd_dpb.c"
 var $44=$picNum; //@line 931 "../src/h264bsd_dpb.c"
 var $45=($43|0)<($44|0); //@line 931 "../src/h264bsd_dpb.c"
 if($45){label=9;break;}else{label=8;break;} //@line 931 "../src/h264bsd_dpb.c"
 case 8: 
 var $47=$index; //@line 931 "../src/h264bsd_dpb.c"
 var $48=($47|0)==-1; //@line 931 "../src/h264bsd_dpb.c"
 if($48){label=9;break;}else{label=10;break;} //@line 931 "../src/h264bsd_dpb.c"
 case 9: 
 var $50=$i; //@line 933 "../src/h264bsd_dpb.c"
 $index=$50; //@line 933 "../src/h264bsd_dpb.c"
 var $51=$i; //@line 934 "../src/h264bsd_dpb.c"
 var $52=$2; //@line 934 "../src/h264bsd_dpb.c"
 var $53=(($52)|0); //@line 934 "../src/h264bsd_dpb.c"
 var $54=HEAP32[(($53)>>2)]; //@line 934 "../src/h264bsd_dpb.c"
 var $55=(($54+((($51)*(40))&-1))|0); //@line 934 "../src/h264bsd_dpb.c"
 var $56=(($55+8)|0); //@line 934 "../src/h264bsd_dpb.c"
 var $57=HEAP32[(($56)>>2)]; //@line 934 "../src/h264bsd_dpb.c"
 $picNum=$57; //@line 934 "../src/h264bsd_dpb.c"
 label=10;break; //@line 935 "../src/h264bsd_dpb.c"
 case 10: 
 label=11;break; //@line 935 "../src/h264bsd_dpb.c"
 case 11: 
 label=12;break; //@line 935 "../src/h264bsd_dpb.c"
 case 12: 
 var $61=$i; //@line 929 "../src/h264bsd_dpb.c"
 var $62=((($61)+(1))|0); //@line 929 "../src/h264bsd_dpb.c"
 $i=$62; //@line 929 "../src/h264bsd_dpb.c"
 label=4;break; //@line 929 "../src/h264bsd_dpb.c"
 case 13: 
 var $64=$index; //@line 936 "../src/h264bsd_dpb.c"
 var $65=($64|0)>=0; //@line 936 "../src/h264bsd_dpb.c"
 if($65){label=14;break;}else{label=17;break;} //@line 936 "../src/h264bsd_dpb.c"
 case 14: 
 var $67=$index; //@line 938 "../src/h264bsd_dpb.c"
 var $68=$2; //@line 938 "../src/h264bsd_dpb.c"
 var $69=(($68)|0); //@line 938 "../src/h264bsd_dpb.c"
 var $70=HEAP32[(($69)>>2)]; //@line 938 "../src/h264bsd_dpb.c"
 var $71=(($70+((($67)*(40))&-1))|0); //@line 938 "../src/h264bsd_dpb.c"
 var $72=(($71+20)|0); //@line 938 "../src/h264bsd_dpb.c"
 HEAP32[(($72)>>2)]=0; //@line 938 "../src/h264bsd_dpb.c"
 var $73=$2; //@line 939 "../src/h264bsd_dpb.c"
 var $74=(($73+40)|0); //@line 939 "../src/h264bsd_dpb.c"
 var $75=HEAP32[(($74)>>2)]; //@line 939 "../src/h264bsd_dpb.c"
 var $76=((($75)-(1))|0); //@line 939 "../src/h264bsd_dpb.c"
 HEAP32[(($74)>>2)]=$76; //@line 939 "../src/h264bsd_dpb.c"
 var $77=$index; //@line 940 "../src/h264bsd_dpb.c"
 var $78=$2; //@line 940 "../src/h264bsd_dpb.c"
 var $79=(($78)|0); //@line 940 "../src/h264bsd_dpb.c"
 var $80=HEAP32[(($79)>>2)]; //@line 940 "../src/h264bsd_dpb.c"
 var $81=(($80+((($77)*(40))&-1))|0); //@line 940 "../src/h264bsd_dpb.c"
 var $82=(($81+24)|0); //@line 940 "../src/h264bsd_dpb.c"
 var $83=HEAP32[(($82)>>2)]; //@line 940 "../src/h264bsd_dpb.c"
 var $84=($83|0)!=0; //@line 940 "../src/h264bsd_dpb.c"
 if($84){label=16;break;}else{label=15;break;} //@line 940 "../src/h264bsd_dpb.c"
 case 15: 
 var $86=$2; //@line 941 "../src/h264bsd_dpb.c"
 var $87=(($86+44)|0); //@line 941 "../src/h264bsd_dpb.c"
 var $88=HEAP32[(($87)>>2)]; //@line 941 "../src/h264bsd_dpb.c"
 var $89=((($88)-(1))|0); //@line 941 "../src/h264bsd_dpb.c"
 HEAP32[(($87)>>2)]=$89; //@line 941 "../src/h264bsd_dpb.c"
 label=16;break; //@line 941 "../src/h264bsd_dpb.c"
 case 16: 
 $1=0; //@line 943 "../src/h264bsd_dpb.c"
 label=19;break; //@line 943 "../src/h264bsd_dpb.c"
 case 17: 
 label=18;break;
 case 18: 
 $1=1; //@line 947 "../src/h264bsd_dpb.c"
 label=19;break; //@line 947 "../src/h264bsd_dpb.c"
 case 19: 
 var $94=$1; //@line 949 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $94; //@line 949 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _OutputPicture($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $tmp;
 $2=$dpb;
 var $3=$2; //@line 1433 "../src/h264bsd_dpb.c"
 var $4=($3|0)!=0; //@line 1433 "../src/h264bsd_dpb.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1433 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,1433,15120); //@line 1433 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1433 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1433 "../src/h264bsd_dpb.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1433 "../src/h264bsd_dpb.c"
 var $10=$2; //@line 1435 "../src/h264bsd_dpb.c"
 var $11=(($10+56)|0); //@line 1435 "../src/h264bsd_dpb.c"
 var $12=HEAP32[(($11)>>2)]; //@line 1435 "../src/h264bsd_dpb.c"
 var $13=($12|0)!=0; //@line 1435 "../src/h264bsd_dpb.c"
 if($13){label=4;break;}else{label=5;break;} //@line 1435 "../src/h264bsd_dpb.c"
 case 4: 
 $1=1; //@line 1436 "../src/h264bsd_dpb.c"
 label=10;break; //@line 1436 "../src/h264bsd_dpb.c"
 case 5: 
 var $16=$2; //@line 1438 "../src/h264bsd_dpb.c"
 var $17=_FindSmallestPicOrderCnt($16); //@line 1438 "../src/h264bsd_dpb.c"
 $tmp=$17; //@line 1438 "../src/h264bsd_dpb.c"
 var $18=$tmp; //@line 1441 "../src/h264bsd_dpb.c"
 var $19=($18|0)==0; //@line 1441 "../src/h264bsd_dpb.c"
 if($19){label=6;break;}else{label=7;break;} //@line 1441 "../src/h264bsd_dpb.c"
 case 6: 
 $1=1; //@line 1442 "../src/h264bsd_dpb.c"
 label=10;break; //@line 1442 "../src/h264bsd_dpb.c"
 case 7: 
 var $22=$tmp; //@line 1444 "../src/h264bsd_dpb.c"
 var $23=(($22)|0); //@line 1444 "../src/h264bsd_dpb.c"
 var $24=HEAP32[(($23)>>2)]; //@line 1444 "../src/h264bsd_dpb.c"
 var $25=$2; //@line 1444 "../src/h264bsd_dpb.c"
 var $26=(($25+16)|0); //@line 1444 "../src/h264bsd_dpb.c"
 var $27=HEAP32[(($26)>>2)]; //@line 1444 "../src/h264bsd_dpb.c"
 var $28=$2; //@line 1444 "../src/h264bsd_dpb.c"
 var $29=(($28+12)|0); //@line 1444 "../src/h264bsd_dpb.c"
 var $30=HEAP32[(($29)>>2)]; //@line 1444 "../src/h264bsd_dpb.c"
 var $31=(($30+($27<<4))|0); //@line 1444 "../src/h264bsd_dpb.c"
 var $32=(($31)|0); //@line 1444 "../src/h264bsd_dpb.c"
 HEAP32[(($32)>>2)]=$24; //@line 1444 "../src/h264bsd_dpb.c"
 var $33=$tmp; //@line 1445 "../src/h264bsd_dpb.c"
 var $34=(($33+36)|0); //@line 1445 "../src/h264bsd_dpb.c"
 var $35=HEAP32[(($34)>>2)]; //@line 1445 "../src/h264bsd_dpb.c"
 var $36=$2; //@line 1445 "../src/h264bsd_dpb.c"
 var $37=(($36+16)|0); //@line 1445 "../src/h264bsd_dpb.c"
 var $38=HEAP32[(($37)>>2)]; //@line 1445 "../src/h264bsd_dpb.c"
 var $39=$2; //@line 1445 "../src/h264bsd_dpb.c"
 var $40=(($39+12)|0); //@line 1445 "../src/h264bsd_dpb.c"
 var $41=HEAP32[(($40)>>2)]; //@line 1445 "../src/h264bsd_dpb.c"
 var $42=(($41+($38<<4))|0); //@line 1445 "../src/h264bsd_dpb.c"
 var $43=(($42+12)|0); //@line 1445 "../src/h264bsd_dpb.c"
 HEAP32[(($43)>>2)]=$35; //@line 1445 "../src/h264bsd_dpb.c"
 var $44=$tmp; //@line 1446 "../src/h264bsd_dpb.c"
 var $45=(($44+28)|0); //@line 1446 "../src/h264bsd_dpb.c"
 var $46=HEAP32[(($45)>>2)]; //@line 1446 "../src/h264bsd_dpb.c"
 var $47=$2; //@line 1446 "../src/h264bsd_dpb.c"
 var $48=(($47+16)|0); //@line 1446 "../src/h264bsd_dpb.c"
 var $49=HEAP32[(($48)>>2)]; //@line 1446 "../src/h264bsd_dpb.c"
 var $50=$2; //@line 1446 "../src/h264bsd_dpb.c"
 var $51=(($50+12)|0); //@line 1446 "../src/h264bsd_dpb.c"
 var $52=HEAP32[(($51)>>2)]; //@line 1446 "../src/h264bsd_dpb.c"
 var $53=(($52+($49<<4))|0); //@line 1446 "../src/h264bsd_dpb.c"
 var $54=(($53+4)|0); //@line 1446 "../src/h264bsd_dpb.c"
 HEAP32[(($54)>>2)]=$46; //@line 1446 "../src/h264bsd_dpb.c"
 var $55=$tmp; //@line 1447 "../src/h264bsd_dpb.c"
 var $56=(($55+32)|0); //@line 1447 "../src/h264bsd_dpb.c"
 var $57=HEAP32[(($56)>>2)]; //@line 1447 "../src/h264bsd_dpb.c"
 var $58=$2; //@line 1447 "../src/h264bsd_dpb.c"
 var $59=(($58+16)|0); //@line 1447 "../src/h264bsd_dpb.c"
 var $60=HEAP32[(($59)>>2)]; //@line 1447 "../src/h264bsd_dpb.c"
 var $61=$2; //@line 1447 "../src/h264bsd_dpb.c"
 var $62=(($61+12)|0); //@line 1447 "../src/h264bsd_dpb.c"
 var $63=HEAP32[(($62)>>2)]; //@line 1447 "../src/h264bsd_dpb.c"
 var $64=(($63+($60<<4))|0); //@line 1447 "../src/h264bsd_dpb.c"
 var $65=(($64+8)|0); //@line 1447 "../src/h264bsd_dpb.c"
 HEAP32[(($65)>>2)]=$57; //@line 1447 "../src/h264bsd_dpb.c"
 var $66=$2; //@line 1448 "../src/h264bsd_dpb.c"
 var $67=(($66+16)|0); //@line 1448 "../src/h264bsd_dpb.c"
 var $68=HEAP32[(($67)>>2)]; //@line 1448 "../src/h264bsd_dpb.c"
 var $69=((($68)+(1))|0); //@line 1448 "../src/h264bsd_dpb.c"
 HEAP32[(($67)>>2)]=$69; //@line 1448 "../src/h264bsd_dpb.c"
 var $70=$tmp; //@line 1450 "../src/h264bsd_dpb.c"
 var $71=(($70+24)|0); //@line 1450 "../src/h264bsd_dpb.c"
 HEAP32[(($71)>>2)]=0; //@line 1450 "../src/h264bsd_dpb.c"
 var $72=$tmp; //@line 1451 "../src/h264bsd_dpb.c"
 var $73=(($72+20)|0); //@line 1451 "../src/h264bsd_dpb.c"
 var $74=HEAP32[(($73)>>2)]; //@line 1451 "../src/h264bsd_dpb.c"
 var $75=($74|0)!=0; //@line 1451 "../src/h264bsd_dpb.c"
 if($75){label=9;break;}else{label=8;break;} //@line 1451 "../src/h264bsd_dpb.c"
 case 8: 
 var $77=$2; //@line 1453 "../src/h264bsd_dpb.c"
 var $78=(($77+44)|0); //@line 1453 "../src/h264bsd_dpb.c"
 var $79=HEAP32[(($78)>>2)]; //@line 1453 "../src/h264bsd_dpb.c"
 var $80=((($79)-(1))|0); //@line 1453 "../src/h264bsd_dpb.c"
 HEAP32[(($78)>>2)]=$80; //@line 1453 "../src/h264bsd_dpb.c"
 label=9;break; //@line 1454 "../src/h264bsd_dpb.c"
 case 9: 
 $1=0; //@line 1456 "../src/h264bsd_dpb.c"
 label=10;break; //@line 1456 "../src/h264bsd_dpb.c"
 case 10: 
 var $83=$1; //@line 1458 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $83; //@line 1458 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _ShellSort($pPic,$num){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+40)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 var $j;
 var $step;
 var $tmpPic=sp;
 $1=$pPic;
 $2=$num;
 $step=7; //@line 1566 "../src/h264bsd_dpb.c"
 label=2;break; //@line 1568 "../src/h264bsd_dpb.c"
 case 2: 
 var $4=$step; //@line 1568 "../src/h264bsd_dpb.c"
 var $5=($4|0)!=0; //@line 1568 "../src/h264bsd_dpb.c"
 if($5){label=3;break;}else{label=13;break;} //@line 1568 "../src/h264bsd_dpb.c"
 case 3: 
 var $7=$step; //@line 1570 "../src/h264bsd_dpb.c"
 $i=$7; //@line 1570 "../src/h264bsd_dpb.c"
 label=4;break; //@line 1570 "../src/h264bsd_dpb.c"
 case 4: 
 var $9=$i; //@line 1570 "../src/h264bsd_dpb.c"
 var $10=$2; //@line 1570 "../src/h264bsd_dpb.c"
 var $11=($9>>>0)<($10>>>0); //@line 1570 "../src/h264bsd_dpb.c"
 if($11){label=5;break;}else{label=12;break;} //@line 1570 "../src/h264bsd_dpb.c"
 case 5: 
 var $13=$i; //@line 1572 "../src/h264bsd_dpb.c"
 var $14=$1; //@line 1572 "../src/h264bsd_dpb.c"
 var $15=(($14+((($13)*(40))&-1))|0); //@line 1572 "../src/h264bsd_dpb.c"
 var $16=$tmpPic; //@line 1572 "../src/h264bsd_dpb.c"
 var $17=$15; //@line 1572 "../src/h264bsd_dpb.c"
 assert(40 % 1 === 0);(_memcpy($16, $17, 40)|0); //@line 1572 "../src/h264bsd_dpb.c"
 var $18=$i; //@line 1573 "../src/h264bsd_dpb.c"
 $j=$18; //@line 1573 "../src/h264bsd_dpb.c"
 label=6;break; //@line 1574 "../src/h264bsd_dpb.c"
 case 6: 
 var $20=$j; //@line 1574 "../src/h264bsd_dpb.c"
 var $21=$step; //@line 1574 "../src/h264bsd_dpb.c"
 var $22=($20>>>0)>=($21>>>0); //@line 1574 "../src/h264bsd_dpb.c"
 if($22){label=7;break;}else{var $35=0;label=8;break;} //@line 1574 "../src/h264bsd_dpb.c"
 case 7: 
 var $24=$1; //@line 1574 "../src/h264bsd_dpb.c"
 var $25=$j; //@line 1574 "../src/h264bsd_dpb.c"
 var $26=(($24+((($25)*(40))&-1))|0); //@line 1574 "../src/h264bsd_dpb.c"
 var $27=$step; //@line 1574 "../src/h264bsd_dpb.c"
 var $28=(((-$27))|0); //@line 1574 "../src/h264bsd_dpb.c"
 var $29=(($26+((($28)*(40))&-1))|0); //@line 1574 "../src/h264bsd_dpb.c"
 var $30=$29; //@line 1574 "../src/h264bsd_dpb.c"
 var $31=$tmpPic; //@line 1574 "../src/h264bsd_dpb.c"
 var $32=_ComparePictures($30,$31); //@line 1574 "../src/h264bsd_dpb.c"
 var $33=($32|0)>0; //@line 1574 "../src/h264bsd_dpb.c"
 var $35=$33;label=8;break;
 case 8: 
 var $35;
 if($35){label=9;break;}else{label=10;break;}
 case 9: 
 var $37=$j; //@line 1576 "../src/h264bsd_dpb.c"
 var $38=$1; //@line 1576 "../src/h264bsd_dpb.c"
 var $39=(($38+((($37)*(40))&-1))|0); //@line 1576 "../src/h264bsd_dpb.c"
 var $40=$j; //@line 1576 "../src/h264bsd_dpb.c"
 var $41=$step; //@line 1576 "../src/h264bsd_dpb.c"
 var $42=((($40)-($41))|0); //@line 1576 "../src/h264bsd_dpb.c"
 var $43=$1; //@line 1576 "../src/h264bsd_dpb.c"
 var $44=(($43+((($42)*(40))&-1))|0); //@line 1576 "../src/h264bsd_dpb.c"
 var $45=$39; //@line 1576 "../src/h264bsd_dpb.c"
 var $46=$44; //@line 1576 "../src/h264bsd_dpb.c"
 assert(40 % 1 === 0);(_memcpy($45, $46, 40)|0); //@line 1576 "../src/h264bsd_dpb.c"
 var $47=$step; //@line 1577 "../src/h264bsd_dpb.c"
 var $48=$j; //@line 1577 "../src/h264bsd_dpb.c"
 var $49=((($48)-($47))|0); //@line 1577 "../src/h264bsd_dpb.c"
 $j=$49; //@line 1577 "../src/h264bsd_dpb.c"
 label=6;break; //@line 1578 "../src/h264bsd_dpb.c"
 case 10: 
 var $51=$j; //@line 1579 "../src/h264bsd_dpb.c"
 var $52=$1; //@line 1579 "../src/h264bsd_dpb.c"
 var $53=(($52+((($51)*(40))&-1))|0); //@line 1579 "../src/h264bsd_dpb.c"
 var $54=$53; //@line 1579 "../src/h264bsd_dpb.c"
 var $55=$tmpPic; //@line 1579 "../src/h264bsd_dpb.c"
 assert(40 % 1 === 0);(_memcpy($54, $55, 40)|0); //@line 1579 "../src/h264bsd_dpb.c"
 label=11;break; //@line 1580 "../src/h264bsd_dpb.c"
 case 11: 
 var $57=$i; //@line 1570 "../src/h264bsd_dpb.c"
 var $58=((($57)+(1))|0); //@line 1570 "../src/h264bsd_dpb.c"
 $i=$58; //@line 1570 "../src/h264bsd_dpb.c"
 label=4;break; //@line 1570 "../src/h264bsd_dpb.c"
 case 12: 
 var $60=$step; //@line 1581 "../src/h264bsd_dpb.c"
 var $61=$60>>>1; //@line 1581 "../src/h264bsd_dpb.c"
 $step=$61; //@line 1581 "../src/h264bsd_dpb.c"
 label=2;break; //@line 1582 "../src/h264bsd_dpb.c"
 case 13: 
 STACKTOP=sp;return; //@line 1584 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdGetRefPicData($dpb,$index){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 $2=$dpb;
 $3=$index;
 var $4=$3; //@line 854 "../src/h264bsd_dpb.c"
 var $5=($4>>>0)>16; //@line 854 "../src/h264bsd_dpb.c"
 if($5){label=3;break;}else{label=2;break;} //@line 854 "../src/h264bsd_dpb.c"
 case 2: 
 var $7=$3; //@line 854 "../src/h264bsd_dpb.c"
 var $8=$2; //@line 854 "../src/h264bsd_dpb.c"
 var $9=(($8+4)|0); //@line 854 "../src/h264bsd_dpb.c"
 var $10=HEAP32[(($9)>>2)]; //@line 854 "../src/h264bsd_dpb.c"
 var $11=(($10+($7<<2))|0); //@line 854 "../src/h264bsd_dpb.c"
 var $12=HEAP32[(($11)>>2)]; //@line 854 "../src/h264bsd_dpb.c"
 var $13=($12|0)==0; //@line 854 "../src/h264bsd_dpb.c"
 if($13){label=3;break;}else{label=4;break;} //@line 854 "../src/h264bsd_dpb.c"
 case 3: 
 $1=0; //@line 855 "../src/h264bsd_dpb.c"
 label=7;break; //@line 855 "../src/h264bsd_dpb.c"
 case 4: 
 var $16=$3; //@line 856 "../src/h264bsd_dpb.c"
 var $17=$2; //@line 856 "../src/h264bsd_dpb.c"
 var $18=(($17+4)|0); //@line 856 "../src/h264bsd_dpb.c"
 var $19=HEAP32[(($18)>>2)]; //@line 856 "../src/h264bsd_dpb.c"
 var $20=(($19+($16<<2))|0); //@line 856 "../src/h264bsd_dpb.c"
 var $21=HEAP32[(($20)>>2)]; //@line 856 "../src/h264bsd_dpb.c"
 var $22=(($21+20)|0); //@line 856 "../src/h264bsd_dpb.c"
 var $23=HEAP32[(($22)>>2)]; //@line 856 "../src/h264bsd_dpb.c"
 var $24=($23>>>0)>1; //@line 856 "../src/h264bsd_dpb.c"
 if($24){label=6;break;}else{label=5;break;} //@line 856 "../src/h264bsd_dpb.c"
 case 5: 
 $1=0; //@line 857 "../src/h264bsd_dpb.c"
 label=7;break; //@line 857 "../src/h264bsd_dpb.c"
 case 6: 
 var $27=$3; //@line 859 "../src/h264bsd_dpb.c"
 var $28=$2; //@line 859 "../src/h264bsd_dpb.c"
 var $29=(($28+4)|0); //@line 859 "../src/h264bsd_dpb.c"
 var $30=HEAP32[(($29)>>2)]; //@line 859 "../src/h264bsd_dpb.c"
 var $31=(($30+($27<<2))|0); //@line 859 "../src/h264bsd_dpb.c"
 var $32=HEAP32[(($31)>>2)]; //@line 859 "../src/h264bsd_dpb.c"
 var $33=(($32)|0); //@line 859 "../src/h264bsd_dpb.c"
 var $34=HEAP32[(($33)>>2)]; //@line 859 "../src/h264bsd_dpb.c"
 $1=$34; //@line 859 "../src/h264bsd_dpb.c"
 label=7;break; //@line 859 "../src/h264bsd_dpb.c"
 case 7: 
 var $36=$1; //@line 861 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $36; //@line 861 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdAllocateDpbImage($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$dpb;
 var $2=$1; //@line 885 "../src/h264bsd_dpb.c"
 var $3=(($2+28)|0); //@line 885 "../src/h264bsd_dpb.c"
 var $4=HEAP32[(($3)>>2)]; //@line 885 "../src/h264bsd_dpb.c"
 var $5=$1; //@line 885 "../src/h264bsd_dpb.c"
 var $6=(($5)|0); //@line 885 "../src/h264bsd_dpb.c"
 var $7=HEAP32[(($6)>>2)]; //@line 885 "../src/h264bsd_dpb.c"
 var $8=(($7+((($4)*(40))&-1))|0); //@line 885 "../src/h264bsd_dpb.c"
 var $9=(($8+24)|0); //@line 885 "../src/h264bsd_dpb.c"
 var $10=HEAP32[(($9)>>2)]; //@line 885 "../src/h264bsd_dpb.c"
 var $11=($10|0)!=0; //@line 885 "../src/h264bsd_dpb.c"
 if($11){label=3;break;}else{label=2;break;} //@line 885 "../src/h264bsd_dpb.c"
 case 2: 
 var $13=$1; //@line 885 "../src/h264bsd_dpb.c"
 var $14=(($13+28)|0); //@line 885 "../src/h264bsd_dpb.c"
 var $15=HEAP32[(($14)>>2)]; //@line 885 "../src/h264bsd_dpb.c"
 var $16=$1; //@line 885 "../src/h264bsd_dpb.c"
 var $17=(($16)|0); //@line 885 "../src/h264bsd_dpb.c"
 var $18=HEAP32[(($17)>>2)]; //@line 885 "../src/h264bsd_dpb.c"
 var $19=(($18+((($15)*(40))&-1))|0); //@line 885 "../src/h264bsd_dpb.c"
 var $20=(($19+20)|0); //@line 885 "../src/h264bsd_dpb.c"
 var $21=HEAP32[(($20)>>2)]; //@line 885 "../src/h264bsd_dpb.c"
 var $22=($21|0)!=0; //@line 885 "../src/h264bsd_dpb.c"
 if($22){label=3;break;}else{var $26=1;label=4;break;} //@line 885 "../src/h264bsd_dpb.c"
 case 3: 
 ___assert_fail(10864,10304,886,14952); //@line 885 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 885 "../src/h264bsd_dpb.c"
 label=4;break; //@line 885 "../src/h264bsd_dpb.c"
 case 4: 
 var $26;
 var $27=($26&1); //@line 885 "../src/h264bsd_dpb.c"
 var $28=$1; //@line 887 "../src/h264bsd_dpb.c"
 var $29=(($28+44)|0); //@line 887 "../src/h264bsd_dpb.c"
 var $30=HEAP32[(($29)>>2)]; //@line 887 "../src/h264bsd_dpb.c"
 var $31=$1; //@line 887 "../src/h264bsd_dpb.c"
 var $32=(($31+28)|0); //@line 887 "../src/h264bsd_dpb.c"
 var $33=HEAP32[(($32)>>2)]; //@line 887 "../src/h264bsd_dpb.c"
 var $34=($30>>>0)<=($33>>>0); //@line 887 "../src/h264bsd_dpb.c"
 if($34){var $38=1;label=6;break;}else{label=5;break;} //@line 887 "../src/h264bsd_dpb.c"
 case 5: 
 ___assert_fail(10432,10304,887,14952); //@line 887 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 887 "../src/h264bsd_dpb.c"
 label=6;break; //@line 887 "../src/h264bsd_dpb.c"
 case 6: 
 var $38;
 var $39=($38&1); //@line 887 "../src/h264bsd_dpb.c"
 var $40=$1; //@line 889 "../src/h264bsd_dpb.c"
 var $41=(($40)|0); //@line 889 "../src/h264bsd_dpb.c"
 var $42=HEAP32[(($41)>>2)]; //@line 889 "../src/h264bsd_dpb.c"
 var $43=$1; //@line 889 "../src/h264bsd_dpb.c"
 var $44=(($43+28)|0); //@line 889 "../src/h264bsd_dpb.c"
 var $45=HEAP32[(($44)>>2)]; //@line 889 "../src/h264bsd_dpb.c"
 var $46=(($42+((($45)*(40))&-1))|0); //@line 889 "../src/h264bsd_dpb.c"
 var $47=$1; //@line 889 "../src/h264bsd_dpb.c"
 var $48=(($47+8)|0); //@line 889 "../src/h264bsd_dpb.c"
 HEAP32[(($48)>>2)]=$46; //@line 889 "../src/h264bsd_dpb.c"
 var $49=$1; //@line 891 "../src/h264bsd_dpb.c"
 var $50=(($49+8)|0); //@line 891 "../src/h264bsd_dpb.c"
 var $51=HEAP32[(($50)>>2)]; //@line 891 "../src/h264bsd_dpb.c"
 var $52=(($51)|0); //@line 891 "../src/h264bsd_dpb.c"
 var $53=HEAP32[(($52)>>2)]; //@line 891 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $53; //@line 891 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInitDpb($dpb,$picSizeInMbs,$dpbSize,$maxRefFrames,$maxFrameNum,$noReordering){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $i;
 $2=$dpb;
 $3=$picSizeInMbs;
 $4=$dpbSize;
 $5=$maxRefFrames;
 $6=$maxFrameNum;
 $7=$noReordering;
 var $8=$3; //@line 996 "../src/h264bsd_dpb.c"
 var $9=($8|0)!=0; //@line 996 "../src/h264bsd_dpb.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 996 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(10224,10304,996,13824); //@line 996 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 996 "../src/h264bsd_dpb.c"
 label=3;break; //@line 996 "../src/h264bsd_dpb.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 996 "../src/h264bsd_dpb.c"
 var $15=$5; //@line 997 "../src/h264bsd_dpb.c"
 var $16=($15>>>0)<=16; //@line 997 "../src/h264bsd_dpb.c"
 if($16){var $20=1;label=5;break;}else{label=4;break;} //@line 997 "../src/h264bsd_dpb.c"
 case 4: 
 ___assert_fail(9952,10304,997,13824); //@line 997 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 997 "../src/h264bsd_dpb.c"
 label=5;break; //@line 997 "../src/h264bsd_dpb.c"
 case 5: 
 var $20;
 var $21=($20&1); //@line 997 "../src/h264bsd_dpb.c"
 var $22=$5; //@line 998 "../src/h264bsd_dpb.c"
 var $23=$4; //@line 998 "../src/h264bsd_dpb.c"
 var $24=($22>>>0)<=($23>>>0); //@line 998 "../src/h264bsd_dpb.c"
 if($24){var $28=1;label=7;break;}else{label=6;break;} //@line 998 "../src/h264bsd_dpb.c"
 case 6: 
 ___assert_fail(9752,10304,998,13824); //@line 998 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 998 "../src/h264bsd_dpb.c"
 label=7;break; //@line 998 "../src/h264bsd_dpb.c"
 case 7: 
 var $28;
 var $29=($28&1); //@line 998 "../src/h264bsd_dpb.c"
 var $30=$6; //@line 999 "../src/h264bsd_dpb.c"
 var $31=($30|0)!=0; //@line 999 "../src/h264bsd_dpb.c"
 if($31){var $35=1;label=9;break;}else{label=8;break;} //@line 999 "../src/h264bsd_dpb.c"
 case 8: 
 ___assert_fail(9640,10304,999,13824); //@line 999 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 999 "../src/h264bsd_dpb.c"
 label=9;break; //@line 999 "../src/h264bsd_dpb.c"
 case 9: 
 var $35;
 var $36=($35&1); //@line 999 "../src/h264bsd_dpb.c"
 var $37=$4; //@line 1000 "../src/h264bsd_dpb.c"
 var $38=($37|0)!=0; //@line 1000 "../src/h264bsd_dpb.c"
 if($38){var $42=1;label=11;break;}else{label=10;break;} //@line 1000 "../src/h264bsd_dpb.c"
 case 10: 
 ___assert_fail(9504,10304,1000,13824); //@line 1000 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1000 "../src/h264bsd_dpb.c"
 label=11;break; //@line 1000 "../src/h264bsd_dpb.c"
 case 11: 
 var $42;
 var $43=($42&1); //@line 1000 "../src/h264bsd_dpb.c"
 var $44=$2; //@line 1002 "../src/h264bsd_dpb.c"
 var $45=(($44+36)|0); //@line 1002 "../src/h264bsd_dpb.c"
 HEAP32[(($45)>>2)]=65535; //@line 1002 "../src/h264bsd_dpb.c"
 var $46=$5; //@line 1003 "../src/h264bsd_dpb.c"
 var $47=($46>>>0)>1; //@line 1003 "../src/h264bsd_dpb.c"
 if($47){label=12;break;}else{label=13;break;} //@line 1003 "../src/h264bsd_dpb.c"
 case 12: 
 var $49=$5; //@line 1003 "../src/h264bsd_dpb.c"
 var $52=$49;label=14;break; //@line 1003 "../src/h264bsd_dpb.c"
 case 13: 
 var $52=1;label=14;break; //@line 1003 "../src/h264bsd_dpb.c"
 case 14: 
 var $52; //@line 1003 "../src/h264bsd_dpb.c"
 var $53=$2; //@line 1003 "../src/h264bsd_dpb.c"
 var $54=(($53+24)|0); //@line 1003 "../src/h264bsd_dpb.c"
 HEAP32[(($54)>>2)]=$52; //@line 1003 "../src/h264bsd_dpb.c"
 var $55=$7; //@line 1004 "../src/h264bsd_dpb.c"
 var $56=($55|0)!=0; //@line 1004 "../src/h264bsd_dpb.c"
 if($56){label=15;break;}else{label=16;break;} //@line 1004 "../src/h264bsd_dpb.c"
 case 15: 
 var $58=$2; //@line 1005 "../src/h264bsd_dpb.c"
 var $59=(($58+24)|0); //@line 1005 "../src/h264bsd_dpb.c"
 var $60=HEAP32[(($59)>>2)]; //@line 1005 "../src/h264bsd_dpb.c"
 var $61=$2; //@line 1005 "../src/h264bsd_dpb.c"
 var $62=(($61+28)|0); //@line 1005 "../src/h264bsd_dpb.c"
 HEAP32[(($62)>>2)]=$60; //@line 1005 "../src/h264bsd_dpb.c"
 label=17;break; //@line 1005 "../src/h264bsd_dpb.c"
 case 16: 
 var $64=$4; //@line 1007 "../src/h264bsd_dpb.c"
 var $65=$2; //@line 1007 "../src/h264bsd_dpb.c"
 var $66=(($65+28)|0); //@line 1007 "../src/h264bsd_dpb.c"
 HEAP32[(($66)>>2)]=$64; //@line 1007 "../src/h264bsd_dpb.c"
 label=17;break;
 case 17: 
 var $68=$6; //@line 1008 "../src/h264bsd_dpb.c"
 var $69=$2; //@line 1008 "../src/h264bsd_dpb.c"
 var $70=(($69+32)|0); //@line 1008 "../src/h264bsd_dpb.c"
 HEAP32[(($70)>>2)]=$68; //@line 1008 "../src/h264bsd_dpb.c"
 var $71=$7; //@line 1009 "../src/h264bsd_dpb.c"
 var $72=$2; //@line 1009 "../src/h264bsd_dpb.c"
 var $73=(($72+56)|0); //@line 1009 "../src/h264bsd_dpb.c"
 HEAP32[(($73)>>2)]=$71; //@line 1009 "../src/h264bsd_dpb.c"
 var $74=$2; //@line 1010 "../src/h264bsd_dpb.c"
 var $75=(($74+44)|0); //@line 1010 "../src/h264bsd_dpb.c"
 HEAP32[(($75)>>2)]=0; //@line 1010 "../src/h264bsd_dpb.c"
 var $76=$2; //@line 1011 "../src/h264bsd_dpb.c"
 var $77=(($76+40)|0); //@line 1011 "../src/h264bsd_dpb.c"
 HEAP32[(($77)>>2)]=0; //@line 1011 "../src/h264bsd_dpb.c"
 var $78=$2; //@line 1012 "../src/h264bsd_dpb.c"
 var $79=(($78+48)|0); //@line 1012 "../src/h264bsd_dpb.c"
 HEAP32[(($79)>>2)]=0; //@line 1012 "../src/h264bsd_dpb.c"
 var $80=_malloc(680); //@line 1014 "../src/h264bsd_dpb.c"
 var $81=$80; //@line 1014 "../src/h264bsd_dpb.c"
 var $82=$2; //@line 1014 "../src/h264bsd_dpb.c"
 var $83=(($82)|0); //@line 1014 "../src/h264bsd_dpb.c"
 HEAP32[(($83)>>2)]=$81; //@line 1014 "../src/h264bsd_dpb.c"
 var $84=$2; //@line 1015 "../src/h264bsd_dpb.c"
 var $85=(($84)|0); //@line 1015 "../src/h264bsd_dpb.c"
 var $86=HEAP32[(($85)>>2)]; //@line 1015 "../src/h264bsd_dpb.c"
 var $87=($86|0)==0; //@line 1015 "../src/h264bsd_dpb.c"
 if($87){label=18;break;}else{label=19;break;} //@line 1015 "../src/h264bsd_dpb.c"
 case 18: 
 $1=65535; //@line 1016 "../src/h264bsd_dpb.c"
 label=29;break; //@line 1016 "../src/h264bsd_dpb.c"
 case 19: 
 var $90=$2; //@line 1017 "../src/h264bsd_dpb.c"
 var $91=(($90)|0); //@line 1017 "../src/h264bsd_dpb.c"
 var $92=HEAP32[(($91)>>2)]; //@line 1017 "../src/h264bsd_dpb.c"
 var $93=$92; //@line 1017 "../src/h264bsd_dpb.c"
 _memset($93, 0, 680)|0; //@line 1017 "../src/h264bsd_dpb.c"
 $i=0; //@line 1019 "../src/h264bsd_dpb.c"
 label=20;break; //@line 1019 "../src/h264bsd_dpb.c"
 case 20: 
 var $95=$i; //@line 1019 "../src/h264bsd_dpb.c"
 var $96=$2; //@line 1019 "../src/h264bsd_dpb.c"
 var $97=(($96+28)|0); //@line 1019 "../src/h264bsd_dpb.c"
 var $98=HEAP32[(($97)>>2)]; //@line 1019 "../src/h264bsd_dpb.c"
 var $99=((($98)+(1))|0); //@line 1019 "../src/h264bsd_dpb.c"
 var $100=($95>>>0)<($99>>>0); //@line 1019 "../src/h264bsd_dpb.c"
 if($100){label=21;break;}else{label=25;break;} //@line 1019 "../src/h264bsd_dpb.c"
 case 21: 
 var $102=$3; //@line 1026 "../src/h264bsd_dpb.c"
 var $103=((($102)*(384))&-1); //@line 1026 "../src/h264bsd_dpb.c"
 var $104=((($103)+(32))|0); //@line 1026 "../src/h264bsd_dpb.c"
 var $105=((($104)+(15))|0); //@line 1026 "../src/h264bsd_dpb.c"
 var $106=$105; //@line 1026 "../src/h264bsd_dpb.c"
 var $107=_malloc($106); //@line 1026 "../src/h264bsd_dpb.c"
 var $108=$i; //@line 1026 "../src/h264bsd_dpb.c"
 var $109=$2; //@line 1026 "../src/h264bsd_dpb.c"
 var $110=(($109)|0); //@line 1026 "../src/h264bsd_dpb.c"
 var $111=HEAP32[(($110)>>2)]; //@line 1026 "../src/h264bsd_dpb.c"
 var $112=(($111+((($108)*(40))&-1))|0); //@line 1026 "../src/h264bsd_dpb.c"
 var $113=(($112+4)|0); //@line 1026 "../src/h264bsd_dpb.c"
 HEAP32[(($113)>>2)]=$107; //@line 1026 "../src/h264bsd_dpb.c"
 var $114=$i; //@line 1027 "../src/h264bsd_dpb.c"
 var $115=$2; //@line 1027 "../src/h264bsd_dpb.c"
 var $116=(($115)|0); //@line 1027 "../src/h264bsd_dpb.c"
 var $117=HEAP32[(($116)>>2)]; //@line 1027 "../src/h264bsd_dpb.c"
 var $118=(($117+((($114)*(40))&-1))|0); //@line 1027 "../src/h264bsd_dpb.c"
 var $119=(($118+4)|0); //@line 1027 "../src/h264bsd_dpb.c"
 var $120=HEAP32[(($119)>>2)]; //@line 1027 "../src/h264bsd_dpb.c"
 var $121=($120|0)==0; //@line 1027 "../src/h264bsd_dpb.c"
 if($121){label=22;break;}else{label=23;break;} //@line 1027 "../src/h264bsd_dpb.c"
 case 22: 
 $1=65535; //@line 1028 "../src/h264bsd_dpb.c"
 label=29;break; //@line 1028 "../src/h264bsd_dpb.c"
 case 23: 
 var $124=$i; //@line 1030 "../src/h264bsd_dpb.c"
 var $125=$2; //@line 1030 "../src/h264bsd_dpb.c"
 var $126=(($125)|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $127=HEAP32[(($126)>>2)]; //@line 1030 "../src/h264bsd_dpb.c"
 var $128=(($127+((($124)*(40))&-1))|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $129=(($128+4)|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $130=HEAP32[(($129)>>2)]; //@line 1030 "../src/h264bsd_dpb.c"
 var $131=$i; //@line 1030 "../src/h264bsd_dpb.c"
 var $132=$2; //@line 1030 "../src/h264bsd_dpb.c"
 var $133=(($132)|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $134=HEAP32[(($133)>>2)]; //@line 1030 "../src/h264bsd_dpb.c"
 var $135=(($134+((($131)*(40))&-1))|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $136=(($135+4)|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $137=HEAP32[(($136)>>2)]; //@line 1030 "../src/h264bsd_dpb.c"
 var $138=$137; //@line 1030 "../src/h264bsd_dpb.c"
 var $139=(((16)-($138))|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $140=$139&15; //@line 1030 "../src/h264bsd_dpb.c"
 var $141=(((($140>>>0))/(1))&-1); //@line 1030 "../src/h264bsd_dpb.c"
 var $142=(($130+$141)|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $143=$i; //@line 1030 "../src/h264bsd_dpb.c"
 var $144=$2; //@line 1030 "../src/h264bsd_dpb.c"
 var $145=(($144)|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $146=HEAP32[(($145)>>2)]; //@line 1030 "../src/h264bsd_dpb.c"
 var $147=(($146+((($143)*(40))&-1))|0); //@line 1030 "../src/h264bsd_dpb.c"
 var $148=(($147)|0); //@line 1030 "../src/h264bsd_dpb.c"
 HEAP32[(($148)>>2)]=$142; //@line 1030 "../src/h264bsd_dpb.c"
 label=24;break; //@line 1031 "../src/h264bsd_dpb.c"
 case 24: 
 var $150=$i; //@line 1019 "../src/h264bsd_dpb.c"
 var $151=((($150)+(1))|0); //@line 1019 "../src/h264bsd_dpb.c"
 $i=$151; //@line 1019 "../src/h264bsd_dpb.c"
 label=20;break; //@line 1019 "../src/h264bsd_dpb.c"
 case 25: 
 var $153=_malloc(68); //@line 1033 "../src/h264bsd_dpb.c"
 var $154=$153; //@line 1033 "../src/h264bsd_dpb.c"
 var $155=$2; //@line 1033 "../src/h264bsd_dpb.c"
 var $156=(($155+4)|0); //@line 1033 "../src/h264bsd_dpb.c"
 HEAP32[(($156)>>2)]=$154; //@line 1033 "../src/h264bsd_dpb.c"
 var $157=$2; //@line 1034 "../src/h264bsd_dpb.c"
 var $158=(($157+28)|0); //@line 1034 "../src/h264bsd_dpb.c"
 var $159=HEAP32[(($158)>>2)]; //@line 1034 "../src/h264bsd_dpb.c"
 var $160=((($159)+(1))|0); //@line 1034 "../src/h264bsd_dpb.c"
 var $161=($160<<4); //@line 1034 "../src/h264bsd_dpb.c"
 var $162=_malloc($161); //@line 1034 "../src/h264bsd_dpb.c"
 var $163=$162; //@line 1034 "../src/h264bsd_dpb.c"
 var $164=$2; //@line 1034 "../src/h264bsd_dpb.c"
 var $165=(($164+12)|0); //@line 1034 "../src/h264bsd_dpb.c"
 HEAP32[(($165)>>2)]=$163; //@line 1034 "../src/h264bsd_dpb.c"
 var $166=$2; //@line 1036 "../src/h264bsd_dpb.c"
 var $167=(($166+4)|0); //@line 1036 "../src/h264bsd_dpb.c"
 var $168=HEAP32[(($167)>>2)]; //@line 1036 "../src/h264bsd_dpb.c"
 var $169=($168|0)==0; //@line 1036 "../src/h264bsd_dpb.c"
 if($169){label=27;break;}else{label=26;break;} //@line 1036 "../src/h264bsd_dpb.c"
 case 26: 
 var $171=$2; //@line 1036 "../src/h264bsd_dpb.c"
 var $172=(($171+12)|0); //@line 1036 "../src/h264bsd_dpb.c"
 var $173=HEAP32[(($172)>>2)]; //@line 1036 "../src/h264bsd_dpb.c"
 var $174=($173|0)==0; //@line 1036 "../src/h264bsd_dpb.c"
 if($174){label=27;break;}else{label=28;break;} //@line 1036 "../src/h264bsd_dpb.c"
 case 27: 
 $1=65535; //@line 1037 "../src/h264bsd_dpb.c"
 label=29;break; //@line 1037 "../src/h264bsd_dpb.c"
 case 28: 
 var $177=$2; //@line 1039 "../src/h264bsd_dpb.c"
 var $178=(($177+4)|0); //@line 1039 "../src/h264bsd_dpb.c"
 var $179=HEAP32[(($178)>>2)]; //@line 1039 "../src/h264bsd_dpb.c"
 var $180=$179; //@line 1039 "../src/h264bsd_dpb.c"
 _memset($180, 0, 68)|0; //@line 1039 "../src/h264bsd_dpb.c"
 var $181=$2; //@line 1042 "../src/h264bsd_dpb.c"
 var $182=(($181+20)|0); //@line 1042 "../src/h264bsd_dpb.c"
 HEAP32[(($182)>>2)]=0; //@line 1042 "../src/h264bsd_dpb.c"
 var $183=$2; //@line 1042 "../src/h264bsd_dpb.c"
 var $184=(($183+16)|0); //@line 1042 "../src/h264bsd_dpb.c"
 HEAP32[(($184)>>2)]=0; //@line 1042 "../src/h264bsd_dpb.c"
 $1=0; //@line 1044 "../src/h264bsd_dpb.c"
 label=29;break; //@line 1044 "../src/h264bsd_dpb.c"
 case 29: 
 var $186=$1; //@line 1046 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $186; //@line 1046 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdResetDpb($dpb,$picSizeInMbs,$dpbSize,$maxRefFrames,$maxFrameNum,$noReordering){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 $1=$dpb;
 $2=$picSizeInMbs;
 $3=$dpbSize;
 $4=$maxRefFrames;
 $5=$maxFrameNum;
 $6=$noReordering;
 var $7=$2; //@line 1072 "../src/h264bsd_dpb.c"
 var $8=($7|0)!=0; //@line 1072 "../src/h264bsd_dpb.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 1072 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(10224,10304,1072,12776); //@line 1072 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1072 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1072 "../src/h264bsd_dpb.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 1072 "../src/h264bsd_dpb.c"
 var $14=$4; //@line 1073 "../src/h264bsd_dpb.c"
 var $15=($14>>>0)<=16; //@line 1073 "../src/h264bsd_dpb.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 1073 "../src/h264bsd_dpb.c"
 case 4: 
 ___assert_fail(9952,10304,1073,12776); //@line 1073 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1073 "../src/h264bsd_dpb.c"
 label=5;break; //@line 1073 "../src/h264bsd_dpb.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 1073 "../src/h264bsd_dpb.c"
 var $21=$4; //@line 1074 "../src/h264bsd_dpb.c"
 var $22=$3; //@line 1074 "../src/h264bsd_dpb.c"
 var $23=($21>>>0)<=($22>>>0); //@line 1074 "../src/h264bsd_dpb.c"
 if($23){var $27=1;label=7;break;}else{label=6;break;} //@line 1074 "../src/h264bsd_dpb.c"
 case 6: 
 ___assert_fail(9752,10304,1074,12776); //@line 1074 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1074 "../src/h264bsd_dpb.c"
 label=7;break; //@line 1074 "../src/h264bsd_dpb.c"
 case 7: 
 var $27;
 var $28=($27&1); //@line 1074 "../src/h264bsd_dpb.c"
 var $29=$5; //@line 1075 "../src/h264bsd_dpb.c"
 var $30=($29|0)!=0; //@line 1075 "../src/h264bsd_dpb.c"
 if($30){var $34=1;label=9;break;}else{label=8;break;} //@line 1075 "../src/h264bsd_dpb.c"
 case 8: 
 ___assert_fail(9640,10304,1075,12776); //@line 1075 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1075 "../src/h264bsd_dpb.c"
 label=9;break; //@line 1075 "../src/h264bsd_dpb.c"
 case 9: 
 var $34;
 var $35=($34&1); //@line 1075 "../src/h264bsd_dpb.c"
 var $36=$3; //@line 1076 "../src/h264bsd_dpb.c"
 var $37=($36|0)!=0; //@line 1076 "../src/h264bsd_dpb.c"
 if($37){var $41=1;label=11;break;}else{label=10;break;} //@line 1076 "../src/h264bsd_dpb.c"
 case 10: 
 ___assert_fail(9504,10304,1076,12776); //@line 1076 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1076 "../src/h264bsd_dpb.c"
 label=11;break; //@line 1076 "../src/h264bsd_dpb.c"
 case 11: 
 var $41;
 var $42=($41&1); //@line 1076 "../src/h264bsd_dpb.c"
 var $43=$1; //@line 1078 "../src/h264bsd_dpb.c"
 _h264bsdFreeDpb($43); //@line 1078 "../src/h264bsd_dpb.c"
 var $44=$1; //@line 1080 "../src/h264bsd_dpb.c"
 var $45=$2; //@line 1080 "../src/h264bsd_dpb.c"
 var $46=$3; //@line 1080 "../src/h264bsd_dpb.c"
 var $47=$4; //@line 1080 "../src/h264bsd_dpb.c"
 var $48=$5; //@line 1080 "../src/h264bsd_dpb.c"
 var $49=$6; //@line 1080 "../src/h264bsd_dpb.c"
 var $50=_h264bsdInitDpb($44,$45,$46,$47,$48,$49); //@line 1080 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $50; //@line 1080 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdFreeDpb($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $i;
 $1=$dpb;
 var $2=$1; //@line 1533 "../src/h264bsd_dpb.c"
 var $3=($2|0)!=0; //@line 1533 "../src/h264bsd_dpb.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 1533 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,1533,13920); //@line 1533 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1533 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1533 "../src/h264bsd_dpb.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 1533 "../src/h264bsd_dpb.c"
 var $9=$1; //@line 1535 "../src/h264bsd_dpb.c"
 var $10=(($9)|0); //@line 1535 "../src/h264bsd_dpb.c"
 var $11=HEAP32[(($10)>>2)]; //@line 1535 "../src/h264bsd_dpb.c"
 var $12=($11|0)!=0; //@line 1535 "../src/h264bsd_dpb.c"
 if($12){label=4;break;}else{label=9;break;} //@line 1535 "../src/h264bsd_dpb.c"
 case 4: 
 $i=0; //@line 1537 "../src/h264bsd_dpb.c"
 label=5;break; //@line 1537 "../src/h264bsd_dpb.c"
 case 5: 
 var $15=$i; //@line 1537 "../src/h264bsd_dpb.c"
 var $16=$1; //@line 1537 "../src/h264bsd_dpb.c"
 var $17=(($16+28)|0); //@line 1537 "../src/h264bsd_dpb.c"
 var $18=HEAP32[(($17)>>2)]; //@line 1537 "../src/h264bsd_dpb.c"
 var $19=((($18)+(1))|0); //@line 1537 "../src/h264bsd_dpb.c"
 var $20=($15>>>0)<($19>>>0); //@line 1537 "../src/h264bsd_dpb.c"
 if($20){label=6;break;}else{label=8;break;} //@line 1537 "../src/h264bsd_dpb.c"
 case 6: 
 var $22=$i; //@line 1539 "../src/h264bsd_dpb.c"
 var $23=$1; //@line 1539 "../src/h264bsd_dpb.c"
 var $24=(($23)|0); //@line 1539 "../src/h264bsd_dpb.c"
 var $25=HEAP32[(($24)>>2)]; //@line 1539 "../src/h264bsd_dpb.c"
 var $26=(($25+((($22)*(40))&-1))|0); //@line 1539 "../src/h264bsd_dpb.c"
 var $27=(($26+4)|0); //@line 1539 "../src/h264bsd_dpb.c"
 var $28=HEAP32[(($27)>>2)]; //@line 1539 "../src/h264bsd_dpb.c"
 _free($28); //@line 1539 "../src/h264bsd_dpb.c"
 var $29=$i; //@line 1539 "../src/h264bsd_dpb.c"
 var $30=$1; //@line 1539 "../src/h264bsd_dpb.c"
 var $31=(($30)|0); //@line 1539 "../src/h264bsd_dpb.c"
 var $32=HEAP32[(($31)>>2)]; //@line 1539 "../src/h264bsd_dpb.c"
 var $33=(($32+((($29)*(40))&-1))|0); //@line 1539 "../src/h264bsd_dpb.c"
 var $34=(($33+4)|0); //@line 1539 "../src/h264bsd_dpb.c"
 HEAP32[(($34)>>2)]=0; //@line 1539 "../src/h264bsd_dpb.c"
 label=7;break; //@line 1540 "../src/h264bsd_dpb.c"
 case 7: 
 var $36=$i; //@line 1537 "../src/h264bsd_dpb.c"
 var $37=((($36)+(1))|0); //@line 1537 "../src/h264bsd_dpb.c"
 $i=$37; //@line 1537 "../src/h264bsd_dpb.c"
 label=5;break; //@line 1537 "../src/h264bsd_dpb.c"
 case 8: 
 label=9;break; //@line 1541 "../src/h264bsd_dpb.c"
 case 9: 
 var $40=$1; //@line 1542 "../src/h264bsd_dpb.c"
 var $41=(($40)|0); //@line 1542 "../src/h264bsd_dpb.c"
 var $42=HEAP32[(($41)>>2)]; //@line 1542 "../src/h264bsd_dpb.c"
 var $43=$42; //@line 1542 "../src/h264bsd_dpb.c"
 _free($43); //@line 1542 "../src/h264bsd_dpb.c"
 var $44=$1; //@line 1542 "../src/h264bsd_dpb.c"
 var $45=(($44)|0); //@line 1542 "../src/h264bsd_dpb.c"
 HEAP32[(($45)>>2)]=0; //@line 1542 "../src/h264bsd_dpb.c"
 var $46=$1; //@line 1543 "../src/h264bsd_dpb.c"
 var $47=(($46+4)|0); //@line 1543 "../src/h264bsd_dpb.c"
 var $48=HEAP32[(($47)>>2)]; //@line 1543 "../src/h264bsd_dpb.c"
 var $49=$48; //@line 1543 "../src/h264bsd_dpb.c"
 _free($49); //@line 1543 "../src/h264bsd_dpb.c"
 var $50=$1; //@line 1543 "../src/h264bsd_dpb.c"
 var $51=(($50+4)|0); //@line 1543 "../src/h264bsd_dpb.c"
 HEAP32[(($51)>>2)]=0; //@line 1543 "../src/h264bsd_dpb.c"
 var $52=$1; //@line 1544 "../src/h264bsd_dpb.c"
 var $53=(($52+12)|0); //@line 1544 "../src/h264bsd_dpb.c"
 var $54=HEAP32[(($53)>>2)]; //@line 1544 "../src/h264bsd_dpb.c"
 var $55=$54; //@line 1544 "../src/h264bsd_dpb.c"
 _free($55); //@line 1544 "../src/h264bsd_dpb.c"
 var $56=$1; //@line 1544 "../src/h264bsd_dpb.c"
 var $57=(($56+12)|0); //@line 1544 "../src/h264bsd_dpb.c"
 HEAP32[(($57)>>2)]=0; //@line 1544 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return; //@line 1546 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInitRefPicList($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $i;
 $1=$dpb;
 $i=0; //@line 1114 "../src/h264bsd_dpb.c"
 label=2;break; //@line 1114 "../src/h264bsd_dpb.c"
 case 2: 
 var $3=$i; //@line 1114 "../src/h264bsd_dpb.c"
 var $4=$1; //@line 1114 "../src/h264bsd_dpb.c"
 var $5=(($4+40)|0); //@line 1114 "../src/h264bsd_dpb.c"
 var $6=HEAP32[(($5)>>2)]; //@line 1114 "../src/h264bsd_dpb.c"
 var $7=($3>>>0)<($6>>>0); //@line 1114 "../src/h264bsd_dpb.c"
 if($7){label=3;break;}else{label=5;break;} //@line 1114 "../src/h264bsd_dpb.c"
 case 3: 
 var $9=$i; //@line 1115 "../src/h264bsd_dpb.c"
 var $10=$1; //@line 1115 "../src/h264bsd_dpb.c"
 var $11=(($10)|0); //@line 1115 "../src/h264bsd_dpb.c"
 var $12=HEAP32[(($11)>>2)]; //@line 1115 "../src/h264bsd_dpb.c"
 var $13=(($12+((($9)*(40))&-1))|0); //@line 1115 "../src/h264bsd_dpb.c"
 var $14=$i; //@line 1115 "../src/h264bsd_dpb.c"
 var $15=$1; //@line 1115 "../src/h264bsd_dpb.c"
 var $16=(($15+4)|0); //@line 1115 "../src/h264bsd_dpb.c"
 var $17=HEAP32[(($16)>>2)]; //@line 1115 "../src/h264bsd_dpb.c"
 var $18=(($17+($14<<2))|0); //@line 1115 "../src/h264bsd_dpb.c"
 HEAP32[(($18)>>2)]=$13; //@line 1115 "../src/h264bsd_dpb.c"
 label=4;break; //@line 1115 "../src/h264bsd_dpb.c"
 case 4: 
 var $20=$i; //@line 1114 "../src/h264bsd_dpb.c"
 var $21=((($20)+(1))|0); //@line 1114 "../src/h264bsd_dpb.c"
 $i=$21; //@line 1114 "../src/h264bsd_dpb.c"
 label=2;break; //@line 1114 "../src/h264bsd_dpb.c"
 case 5: 
 STACKTOP=sp;return; //@line 1117 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckGapsInFrameNum($dpb,$frameNum,$isRefPic,$gapsAllowed){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $unUsedShortTermFrameNum;
 var $tmp;
 var $i;
 $2=$dpb;
 $3=$frameNum;
 $4=$isRefPic;
 $5=$gapsAllowed;
 var $6=$2; //@line 1256 "../src/h264bsd_dpb.c"
 var $7=($6|0)!=0; //@line 1256 "../src/h264bsd_dpb.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 1256 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,1256,14792); //@line 1256 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1256 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1256 "../src/h264bsd_dpb.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 1256 "../src/h264bsd_dpb.c"
 var $13=$2; //@line 1257 "../src/h264bsd_dpb.c"
 var $14=(($13+44)|0); //@line 1257 "../src/h264bsd_dpb.c"
 var $15=HEAP32[(($14)>>2)]; //@line 1257 "../src/h264bsd_dpb.c"
 var $16=$2; //@line 1257 "../src/h264bsd_dpb.c"
 var $17=(($16+28)|0); //@line 1257 "../src/h264bsd_dpb.c"
 var $18=HEAP32[(($17)>>2)]; //@line 1257 "../src/h264bsd_dpb.c"
 var $19=($15>>>0)<=($18>>>0); //@line 1257 "../src/h264bsd_dpb.c"
 if($19){var $23=1;label=5;break;}else{label=4;break;} //@line 1257 "../src/h264bsd_dpb.c"
 case 4: 
 ___assert_fail(10432,10304,1257,14792); //@line 1257 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1257 "../src/h264bsd_dpb.c"
 label=5;break; //@line 1257 "../src/h264bsd_dpb.c"
 case 5: 
 var $23;
 var $24=($23&1); //@line 1257 "../src/h264bsd_dpb.c"
 var $25=$3; //@line 1258 "../src/h264bsd_dpb.c"
 var $26=$2; //@line 1258 "../src/h264bsd_dpb.c"
 var $27=(($26+32)|0); //@line 1258 "../src/h264bsd_dpb.c"
 var $28=HEAP32[(($27)>>2)]; //@line 1258 "../src/h264bsd_dpb.c"
 var $29=($25>>>0)<($28>>>0); //@line 1258 "../src/h264bsd_dpb.c"
 if($29){var $33=1;label=7;break;}else{label=6;break;} //@line 1258 "../src/h264bsd_dpb.c"
 case 6: 
 ___assert_fail(5152,10304,1258,14792); //@line 1258 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1258 "../src/h264bsd_dpb.c"
 label=7;break; //@line 1258 "../src/h264bsd_dpb.c"
 case 7: 
 var $33;
 var $34=($33&1); //@line 1258 "../src/h264bsd_dpb.c"
 var $35=$2; //@line 1260 "../src/h264bsd_dpb.c"
 var $36=(($35+16)|0); //@line 1260 "../src/h264bsd_dpb.c"
 HEAP32[(($36)>>2)]=0; //@line 1260 "../src/h264bsd_dpb.c"
 var $37=$2; //@line 1261 "../src/h264bsd_dpb.c"
 var $38=(($37+20)|0); //@line 1261 "../src/h264bsd_dpb.c"
 HEAP32[(($38)>>2)]=0; //@line 1261 "../src/h264bsd_dpb.c"
 var $39=$5; //@line 1263 "../src/h264bsd_dpb.c"
 var $40=($39|0)!=0; //@line 1263 "../src/h264bsd_dpb.c"
 if($40){label=9;break;}else{label=8;break;} //@line 1263 "../src/h264bsd_dpb.c"
 case 8: 
 $1=0; //@line 1264 "../src/h264bsd_dpb.c"
 label=53;break; //@line 1264 "../src/h264bsd_dpb.c"
 case 9: 
 var $43=$3; //@line 1266 "../src/h264bsd_dpb.c"
 var $44=$2; //@line 1266 "../src/h264bsd_dpb.c"
 var $45=(($44+48)|0); //@line 1266 "../src/h264bsd_dpb.c"
 var $46=HEAP32[(($45)>>2)]; //@line 1266 "../src/h264bsd_dpb.c"
 var $47=($43|0)!=($46|0); //@line 1266 "../src/h264bsd_dpb.c"
 if($47){label=10;break;}else{label=43;break;} //@line 1266 "../src/h264bsd_dpb.c"
 case 10: 
 var $49=$3; //@line 1266 "../src/h264bsd_dpb.c"
 var $50=$2; //@line 1266 "../src/h264bsd_dpb.c"
 var $51=(($50+48)|0); //@line 1266 "../src/h264bsd_dpb.c"
 var $52=HEAP32[(($51)>>2)]; //@line 1266 "../src/h264bsd_dpb.c"
 var $53=((($52)+(1))|0); //@line 1266 "../src/h264bsd_dpb.c"
 var $54=$2; //@line 1266 "../src/h264bsd_dpb.c"
 var $55=(($54+32)|0); //@line 1266 "../src/h264bsd_dpb.c"
 var $56=HEAP32[(($55)>>2)]; //@line 1266 "../src/h264bsd_dpb.c"
 var $57=(((($53>>>0))%(($56>>>0)))&-1); //@line 1266 "../src/h264bsd_dpb.c"
 var $58=($49|0)!=($57|0); //@line 1266 "../src/h264bsd_dpb.c"
 if($58){label=11;break;}else{label=43;break;} //@line 1266 "../src/h264bsd_dpb.c"
 case 11: 
 var $60=$2; //@line 1270 "../src/h264bsd_dpb.c"
 var $61=(($60+48)|0); //@line 1270 "../src/h264bsd_dpb.c"
 var $62=HEAP32[(($61)>>2)]; //@line 1270 "../src/h264bsd_dpb.c"
 var $63=((($62)+(1))|0); //@line 1270 "../src/h264bsd_dpb.c"
 var $64=$2; //@line 1270 "../src/h264bsd_dpb.c"
 var $65=(($64+32)|0); //@line 1270 "../src/h264bsd_dpb.c"
 var $66=HEAP32[(($65)>>2)]; //@line 1270 "../src/h264bsd_dpb.c"
 var $67=(((($63>>>0))%(($66>>>0)))&-1); //@line 1270 "../src/h264bsd_dpb.c"
 $unUsedShortTermFrameNum=$67; //@line 1270 "../src/h264bsd_dpb.c"
 var $68=$2; //@line 1276 "../src/h264bsd_dpb.c"
 var $69=(($68+28)|0); //@line 1276 "../src/h264bsd_dpb.c"
 var $70=HEAP32[(($69)>>2)]; //@line 1276 "../src/h264bsd_dpb.c"
 var $71=$2; //@line 1276 "../src/h264bsd_dpb.c"
 var $72=(($71)|0); //@line 1276 "../src/h264bsd_dpb.c"
 var $73=HEAP32[(($72)>>2)]; //@line 1276 "../src/h264bsd_dpb.c"
 var $74=(($73+((($70)*(40))&-1))|0); //@line 1276 "../src/h264bsd_dpb.c"
 var $75=(($74)|0); //@line 1276 "../src/h264bsd_dpb.c"
 var $76=HEAP32[(($75)>>2)]; //@line 1276 "../src/h264bsd_dpb.c"
 $tmp=$76; //@line 1276 "../src/h264bsd_dpb.c"
 label=12;break; //@line 1277 "../src/h264bsd_dpb.c"
 case 12: 
 var $78=$2; //@line 1279 "../src/h264bsd_dpb.c"
 var $79=$unUsedShortTermFrameNum; //@line 1279 "../src/h264bsd_dpb.c"
 _SetPicNums($78,$79); //@line 1279 "../src/h264bsd_dpb.c"
 var $80=$2; //@line 1281 "../src/h264bsd_dpb.c"
 var $81=_SlidingWindowRefPicMarking($80); //@line 1281 "../src/h264bsd_dpb.c"
 var $82=($81|0)!=0; //@line 1281 "../src/h264bsd_dpb.c"
 if($82){label=13;break;}else{label=14;break;} //@line 1281 "../src/h264bsd_dpb.c"
 case 13: 
 $1=1; //@line 1283 "../src/h264bsd_dpb.c"
 label=53;break; //@line 1283 "../src/h264bsd_dpb.c"
 case 14: 
 label=15;break; //@line 1287 "../src/h264bsd_dpb.c"
 case 15: 
 var $86=$2; //@line 1287 "../src/h264bsd_dpb.c"
 var $87=(($86+44)|0); //@line 1287 "../src/h264bsd_dpb.c"
 var $88=HEAP32[(($87)>>2)]; //@line 1287 "../src/h264bsd_dpb.c"
 var $89=$2; //@line 1287 "../src/h264bsd_dpb.c"
 var $90=(($89+28)|0); //@line 1287 "../src/h264bsd_dpb.c"
 var $91=HEAP32[(($90)>>2)]; //@line 1287 "../src/h264bsd_dpb.c"
 var $92=($88>>>0)>=($91>>>0); //@line 1287 "../src/h264bsd_dpb.c"
 if($92){label=16;break;}else{label=21;break;} //@line 1287 "../src/h264bsd_dpb.c"
 case 16: 
 var $94=$2; //@line 1290 "../src/h264bsd_dpb.c"
 var $95=(($94+56)|0); //@line 1290 "../src/h264bsd_dpb.c"
 var $96=HEAP32[(($95)>>2)]; //@line 1290 "../src/h264bsd_dpb.c"
 var $97=($96|0)!=0; //@line 1290 "../src/h264bsd_dpb.c"
 if($97){label=17;break;}else{var $101=1;label=18;break;} //@line 1290 "../src/h264bsd_dpb.c"
 case 17: 
 ___assert_fail(9376,10304,1290,14792); //@line 1290 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1290 "../src/h264bsd_dpb.c"
 label=18;break; //@line 1290 "../src/h264bsd_dpb.c"
 case 18: 
 var $101;
 var $102=($101&1); //@line 1290 "../src/h264bsd_dpb.c"
 var $103=$2; //@line 1291 "../src/h264bsd_dpb.c"
 var $104=_OutputPicture($103); //@line 1291 "../src/h264bsd_dpb.c"
 var $105=($104|0)==0; //@line 1291 "../src/h264bsd_dpb.c"
 if($105){var $109=1;label=20;break;}else{label=19;break;} //@line 1291 "../src/h264bsd_dpb.c"
 case 19: 
 ___assert_fail(9168,10304,1291,14792); //@line 1291 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1291 "../src/h264bsd_dpb.c"
 label=20;break; //@line 1291 "../src/h264bsd_dpb.c"
 case 20: 
 var $109;
 var $110=($109&1); //@line 1291 "../src/h264bsd_dpb.c"
 label=15;break; //@line 1295 "../src/h264bsd_dpb.c"
 case 21: 
 var $112=$2; //@line 1298 "../src/h264bsd_dpb.c"
 var $113=(($112+28)|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $114=HEAP32[(($113)>>2)]; //@line 1298 "../src/h264bsd_dpb.c"
 var $115=$2; //@line 1298 "../src/h264bsd_dpb.c"
 var $116=(($115)|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $117=HEAP32[(($116)>>2)]; //@line 1298 "../src/h264bsd_dpb.c"
 var $118=(($117+((($114)*(40))&-1))|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $119=(($118+24)|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $120=HEAP32[(($119)>>2)]; //@line 1298 "../src/h264bsd_dpb.c"
 var $121=($120|0)!=0; //@line 1298 "../src/h264bsd_dpb.c"
 if($121){label=23;break;}else{label=22;break;} //@line 1298 "../src/h264bsd_dpb.c"
 case 22: 
 var $123=$2; //@line 1298 "../src/h264bsd_dpb.c"
 var $124=(($123+28)|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $125=HEAP32[(($124)>>2)]; //@line 1298 "../src/h264bsd_dpb.c"
 var $126=$2; //@line 1298 "../src/h264bsd_dpb.c"
 var $127=(($126)|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $128=HEAP32[(($127)>>2)]; //@line 1298 "../src/h264bsd_dpb.c"
 var $129=(($128+((($125)*(40))&-1))|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $130=(($129+20)|0); //@line 1298 "../src/h264bsd_dpb.c"
 var $131=HEAP32[(($130)>>2)]; //@line 1298 "../src/h264bsd_dpb.c"
 var $132=($131|0)!=0; //@line 1298 "../src/h264bsd_dpb.c"
 if($132){label=23;break;}else{var $136=1;label=24;break;} //@line 1298 "../src/h264bsd_dpb.c"
 case 23: 
 ___assert_fail(10864,10304,1299,14792); //@line 1298 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1298 "../src/h264bsd_dpb.c"
 label=24;break; //@line 1298 "../src/h264bsd_dpb.c"
 case 24: 
 var $136;
 var $137=($136&1); //@line 1298 "../src/h264bsd_dpb.c"
 var $138=$2; //@line 1300 "../src/h264bsd_dpb.c"
 var $139=(($138+28)|0); //@line 1300 "../src/h264bsd_dpb.c"
 var $140=HEAP32[(($139)>>2)]; //@line 1300 "../src/h264bsd_dpb.c"
 var $141=$2; //@line 1300 "../src/h264bsd_dpb.c"
 var $142=(($141)|0); //@line 1300 "../src/h264bsd_dpb.c"
 var $143=HEAP32[(($142)>>2)]; //@line 1300 "../src/h264bsd_dpb.c"
 var $144=(($143+((($140)*(40))&-1))|0); //@line 1300 "../src/h264bsd_dpb.c"
 var $145=(($144+20)|0); //@line 1300 "../src/h264bsd_dpb.c"
 HEAP32[(($145)>>2)]=1; //@line 1300 "../src/h264bsd_dpb.c"
 var $146=$unUsedShortTermFrameNum; //@line 1301 "../src/h264bsd_dpb.c"
 var $147=$2; //@line 1301 "../src/h264bsd_dpb.c"
 var $148=(($147+28)|0); //@line 1301 "../src/h264bsd_dpb.c"
 var $149=HEAP32[(($148)>>2)]; //@line 1301 "../src/h264bsd_dpb.c"
 var $150=$2; //@line 1301 "../src/h264bsd_dpb.c"
 var $151=(($150)|0); //@line 1301 "../src/h264bsd_dpb.c"
 var $152=HEAP32[(($151)>>2)]; //@line 1301 "../src/h264bsd_dpb.c"
 var $153=(($152+((($149)*(40))&-1))|0); //@line 1301 "../src/h264bsd_dpb.c"
 var $154=(($153+12)|0); //@line 1301 "../src/h264bsd_dpb.c"
 HEAP32[(($154)>>2)]=$146; //@line 1301 "../src/h264bsd_dpb.c"
 var $155=$unUsedShortTermFrameNum; //@line 1302 "../src/h264bsd_dpb.c"
 var $156=$2; //@line 1302 "../src/h264bsd_dpb.c"
 var $157=(($156+28)|0); //@line 1302 "../src/h264bsd_dpb.c"
 var $158=HEAP32[(($157)>>2)]; //@line 1302 "../src/h264bsd_dpb.c"
 var $159=$2; //@line 1302 "../src/h264bsd_dpb.c"
 var $160=(($159)|0); //@line 1302 "../src/h264bsd_dpb.c"
 var $161=HEAP32[(($160)>>2)]; //@line 1302 "../src/h264bsd_dpb.c"
 var $162=(($161+((($158)*(40))&-1))|0); //@line 1302 "../src/h264bsd_dpb.c"
 var $163=(($162+8)|0); //@line 1302 "../src/h264bsd_dpb.c"
 HEAP32[(($163)>>2)]=$155; //@line 1302 "../src/h264bsd_dpb.c"
 var $164=$2; //@line 1303 "../src/h264bsd_dpb.c"
 var $165=(($164+28)|0); //@line 1303 "../src/h264bsd_dpb.c"
 var $166=HEAP32[(($165)>>2)]; //@line 1303 "../src/h264bsd_dpb.c"
 var $167=$2; //@line 1303 "../src/h264bsd_dpb.c"
 var $168=(($167)|0); //@line 1303 "../src/h264bsd_dpb.c"
 var $169=HEAP32[(($168)>>2)]; //@line 1303 "../src/h264bsd_dpb.c"
 var $170=(($169+((($166)*(40))&-1))|0); //@line 1303 "../src/h264bsd_dpb.c"
 var $171=(($170+16)|0); //@line 1303 "../src/h264bsd_dpb.c"
 HEAP32[(($171)>>2)]=0; //@line 1303 "../src/h264bsd_dpb.c"
 var $172=$2; //@line 1304 "../src/h264bsd_dpb.c"
 var $173=(($172+28)|0); //@line 1304 "../src/h264bsd_dpb.c"
 var $174=HEAP32[(($173)>>2)]; //@line 1304 "../src/h264bsd_dpb.c"
 var $175=$2; //@line 1304 "../src/h264bsd_dpb.c"
 var $176=(($175)|0); //@line 1304 "../src/h264bsd_dpb.c"
 var $177=HEAP32[(($176)>>2)]; //@line 1304 "../src/h264bsd_dpb.c"
 var $178=(($177+((($174)*(40))&-1))|0); //@line 1304 "../src/h264bsd_dpb.c"
 var $179=(($178+24)|0); //@line 1304 "../src/h264bsd_dpb.c"
 HEAP32[(($179)>>2)]=0; //@line 1304 "../src/h264bsd_dpb.c"
 var $180=$2; //@line 1305 "../src/h264bsd_dpb.c"
 var $181=(($180+44)|0); //@line 1305 "../src/h264bsd_dpb.c"
 var $182=HEAP32[(($181)>>2)]; //@line 1305 "../src/h264bsd_dpb.c"
 var $183=((($182)+(1))|0); //@line 1305 "../src/h264bsd_dpb.c"
 HEAP32[(($181)>>2)]=$183; //@line 1305 "../src/h264bsd_dpb.c"
 var $184=$2; //@line 1306 "../src/h264bsd_dpb.c"
 var $185=(($184+40)|0); //@line 1306 "../src/h264bsd_dpb.c"
 var $186=HEAP32[(($185)>>2)]; //@line 1306 "../src/h264bsd_dpb.c"
 var $187=((($186)+(1))|0); //@line 1306 "../src/h264bsd_dpb.c"
 HEAP32[(($185)>>2)]=$187; //@line 1306 "../src/h264bsd_dpb.c"
 var $188=$2; //@line 1309 "../src/h264bsd_dpb.c"
 var $189=(($188)|0); //@line 1309 "../src/h264bsd_dpb.c"
 var $190=HEAP32[(($189)>>2)]; //@line 1309 "../src/h264bsd_dpb.c"
 var $191=$2; //@line 1309 "../src/h264bsd_dpb.c"
 var $192=(($191+28)|0); //@line 1309 "../src/h264bsd_dpb.c"
 var $193=HEAP32[(($192)>>2)]; //@line 1309 "../src/h264bsd_dpb.c"
 var $194=((($193)+(1))|0); //@line 1309 "../src/h264bsd_dpb.c"
 _ShellSort($190,$194); //@line 1309 "../src/h264bsd_dpb.c"
 var $195=$unUsedShortTermFrameNum; //@line 1311 "../src/h264bsd_dpb.c"
 var $196=((($195)+(1))|0); //@line 1311 "../src/h264bsd_dpb.c"
 var $197=$2; //@line 1311 "../src/h264bsd_dpb.c"
 var $198=(($197+32)|0); //@line 1311 "../src/h264bsd_dpb.c"
 var $199=HEAP32[(($198)>>2)]; //@line 1311 "../src/h264bsd_dpb.c"
 var $200=(((($196>>>0))%(($199>>>0)))&-1); //@line 1311 "../src/h264bsd_dpb.c"
 $unUsedShortTermFrameNum=$200; //@line 1311 "../src/h264bsd_dpb.c"
 label=25;break; //@line 1314 "../src/h264bsd_dpb.c"
 case 25: 
 var $202=$unUsedShortTermFrameNum; //@line 1314 "../src/h264bsd_dpb.c"
 var $203=$3; //@line 1314 "../src/h264bsd_dpb.c"
 var $204=($202|0)!=($203|0); //@line 1314 "../src/h264bsd_dpb.c"
 if($204){label=12;break;}else{label=26;break;} //@line 1314 "../src/h264bsd_dpb.c"
 case 26: 
 var $206=$2; //@line 1320 "../src/h264bsd_dpb.c"
 var $207=(($206+16)|0); //@line 1320 "../src/h264bsd_dpb.c"
 var $208=HEAP32[(($207)>>2)]; //@line 1320 "../src/h264bsd_dpb.c"
 var $209=($208|0)!=0; //@line 1320 "../src/h264bsd_dpb.c"
 if($209){label=27;break;}else{label=42;break;} //@line 1320 "../src/h264bsd_dpb.c"
 case 27: 
 $i=0; //@line 1324 "../src/h264bsd_dpb.c"
 label=28;break; //@line 1324 "../src/h264bsd_dpb.c"
 case 28: 
 var $212=$i; //@line 1324 "../src/h264bsd_dpb.c"
 var $213=$2; //@line 1324 "../src/h264bsd_dpb.c"
 var $214=(($213+16)|0); //@line 1324 "../src/h264bsd_dpb.c"
 var $215=HEAP32[(($214)>>2)]; //@line 1324 "../src/h264bsd_dpb.c"
 var $216=($212>>>0)<($215>>>0); //@line 1324 "../src/h264bsd_dpb.c"
 if($216){label=29;break;}else{label=41;break;} //@line 1324 "../src/h264bsd_dpb.c"
 case 29: 
 var $218=$i; //@line 1326 "../src/h264bsd_dpb.c"
 var $219=$2; //@line 1326 "../src/h264bsd_dpb.c"
 var $220=(($219+12)|0); //@line 1326 "../src/h264bsd_dpb.c"
 var $221=HEAP32[(($220)>>2)]; //@line 1326 "../src/h264bsd_dpb.c"
 var $222=(($221+($218<<4))|0); //@line 1326 "../src/h264bsd_dpb.c"
 var $223=(($222)|0); //@line 1326 "../src/h264bsd_dpb.c"
 var $224=HEAP32[(($223)>>2)]; //@line 1326 "../src/h264bsd_dpb.c"
 var $225=$2; //@line 1326 "../src/h264bsd_dpb.c"
 var $226=(($225+28)|0); //@line 1326 "../src/h264bsd_dpb.c"
 var $227=HEAP32[(($226)>>2)]; //@line 1326 "../src/h264bsd_dpb.c"
 var $228=$2; //@line 1326 "../src/h264bsd_dpb.c"
 var $229=(($228)|0); //@line 1326 "../src/h264bsd_dpb.c"
 var $230=HEAP32[(($229)>>2)]; //@line 1326 "../src/h264bsd_dpb.c"
 var $231=(($230+((($227)*(40))&-1))|0); //@line 1326 "../src/h264bsd_dpb.c"
 var $232=(($231)|0); //@line 1326 "../src/h264bsd_dpb.c"
 var $233=HEAP32[(($232)>>2)]; //@line 1326 "../src/h264bsd_dpb.c"
 var $234=($224|0)==($233|0); //@line 1326 "../src/h264bsd_dpb.c"
 if($234){label=30;break;}else{label=39;break;} //@line 1326 "../src/h264bsd_dpb.c"
 case 30: 
 $i=0; //@line 1330 "../src/h264bsd_dpb.c"
 label=31;break; //@line 1330 "../src/h264bsd_dpb.c"
 case 31: 
 var $237=$i; //@line 1330 "../src/h264bsd_dpb.c"
 var $238=$2; //@line 1330 "../src/h264bsd_dpb.c"
 var $239=(($238+28)|0); //@line 1330 "../src/h264bsd_dpb.c"
 var $240=HEAP32[(($239)>>2)]; //@line 1330 "../src/h264bsd_dpb.c"
 var $241=($237>>>0)<($240>>>0); //@line 1330 "../src/h264bsd_dpb.c"
 if($241){label=32;break;}else{label=36;break;} //@line 1330 "../src/h264bsd_dpb.c"
 case 32: 
 var $243=$i; //@line 1332 "../src/h264bsd_dpb.c"
 var $244=$2; //@line 1332 "../src/h264bsd_dpb.c"
 var $245=(($244)|0); //@line 1332 "../src/h264bsd_dpb.c"
 var $246=HEAP32[(($245)>>2)]; //@line 1332 "../src/h264bsd_dpb.c"
 var $247=(($246+((($243)*(40))&-1))|0); //@line 1332 "../src/h264bsd_dpb.c"
 var $248=(($247)|0); //@line 1332 "../src/h264bsd_dpb.c"
 var $249=HEAP32[(($248)>>2)]; //@line 1332 "../src/h264bsd_dpb.c"
 var $250=$tmp; //@line 1332 "../src/h264bsd_dpb.c"
 var $251=($249|0)==($250|0); //@line 1332 "../src/h264bsd_dpb.c"
 if($251){label=33;break;}else{label=34;break;} //@line 1332 "../src/h264bsd_dpb.c"
 case 33: 
 var $253=$2; //@line 1334 "../src/h264bsd_dpb.c"
 var $254=(($253+28)|0); //@line 1334 "../src/h264bsd_dpb.c"
 var $255=HEAP32[(($254)>>2)]; //@line 1334 "../src/h264bsd_dpb.c"
 var $256=$2; //@line 1334 "../src/h264bsd_dpb.c"
 var $257=(($256)|0); //@line 1334 "../src/h264bsd_dpb.c"
 var $258=HEAP32[(($257)>>2)]; //@line 1334 "../src/h264bsd_dpb.c"
 var $259=(($258+((($255)*(40))&-1))|0); //@line 1334 "../src/h264bsd_dpb.c"
 var $260=(($259)|0); //@line 1334 "../src/h264bsd_dpb.c"
 var $261=HEAP32[(($260)>>2)]; //@line 1334 "../src/h264bsd_dpb.c"
 var $262=$i; //@line 1334 "../src/h264bsd_dpb.c"
 var $263=$2; //@line 1334 "../src/h264bsd_dpb.c"
 var $264=(($263)|0); //@line 1334 "../src/h264bsd_dpb.c"
 var $265=HEAP32[(($264)>>2)]; //@line 1334 "../src/h264bsd_dpb.c"
 var $266=(($265+((($262)*(40))&-1))|0); //@line 1334 "../src/h264bsd_dpb.c"
 var $267=(($266)|0); //@line 1334 "../src/h264bsd_dpb.c"
 HEAP32[(($267)>>2)]=$261; //@line 1334 "../src/h264bsd_dpb.c"
 var $268=$tmp; //@line 1336 "../src/h264bsd_dpb.c"
 var $269=$2; //@line 1336 "../src/h264bsd_dpb.c"
 var $270=(($269+28)|0); //@line 1336 "../src/h264bsd_dpb.c"
 var $271=HEAP32[(($270)>>2)]; //@line 1336 "../src/h264bsd_dpb.c"
 var $272=$2; //@line 1336 "../src/h264bsd_dpb.c"
 var $273=(($272)|0); //@line 1336 "../src/h264bsd_dpb.c"
 var $274=HEAP32[(($273)>>2)]; //@line 1336 "../src/h264bsd_dpb.c"
 var $275=(($274+((($271)*(40))&-1))|0); //@line 1336 "../src/h264bsd_dpb.c"
 var $276=(($275)|0); //@line 1336 "../src/h264bsd_dpb.c"
 HEAP32[(($276)>>2)]=$268; //@line 1336 "../src/h264bsd_dpb.c"
 label=36;break; //@line 1337 "../src/h264bsd_dpb.c"
 case 34: 
 label=35;break; //@line 1339 "../src/h264bsd_dpb.c"
 case 35: 
 var $279=$i; //@line 1330 "../src/h264bsd_dpb.c"
 var $280=((($279)+(1))|0); //@line 1330 "../src/h264bsd_dpb.c"
 $i=$280; //@line 1330 "../src/h264bsd_dpb.c"
 label=31;break; //@line 1330 "../src/h264bsd_dpb.c"
 case 36: 
 var $282=$i; //@line 1340 "../src/h264bsd_dpb.c"
 var $283=$2; //@line 1340 "../src/h264bsd_dpb.c"
 var $284=(($283+28)|0); //@line 1340 "../src/h264bsd_dpb.c"
 var $285=HEAP32[(($284)>>2)]; //@line 1340 "../src/h264bsd_dpb.c"
 var $286=($282>>>0)<($285>>>0); //@line 1340 "../src/h264bsd_dpb.c"
 if($286){var $290=1;label=38;break;}else{label=37;break;} //@line 1340 "../src/h264bsd_dpb.c"
 case 37: 
 ___assert_fail(9008,10304,1340,14792); //@line 1340 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1340 "../src/h264bsd_dpb.c"
 label=38;break; //@line 1340 "../src/h264bsd_dpb.c"
 case 38: 
 var $290;
 var $291=($290&1); //@line 1340 "../src/h264bsd_dpb.c"
 label=41;break; //@line 1341 "../src/h264bsd_dpb.c"
 case 39: 
 label=40;break; //@line 1343 "../src/h264bsd_dpb.c"
 case 40: 
 var $294=$i; //@line 1324 "../src/h264bsd_dpb.c"
 var $295=((($294)+(1))|0); //@line 1324 "../src/h264bsd_dpb.c"
 $i=$295; //@line 1324 "../src/h264bsd_dpb.c"
 label=28;break; //@line 1324 "../src/h264bsd_dpb.c"
 case 41: 
 label=42;break; //@line 1344 "../src/h264bsd_dpb.c"
 case 42: 
 label=47;break; //@line 1345 "../src/h264bsd_dpb.c"
 case 43: 
 var $299=$4; //@line 1349 "../src/h264bsd_dpb.c"
 var $300=($299|0)!=0; //@line 1349 "../src/h264bsd_dpb.c"
 if($300){label=44;break;}else{label=46;break;} //@line 1349 "../src/h264bsd_dpb.c"
 case 44: 
 var $302=$3; //@line 1349 "../src/h264bsd_dpb.c"
 var $303=$2; //@line 1349 "../src/h264bsd_dpb.c"
 var $304=(($303+48)|0); //@line 1349 "../src/h264bsd_dpb.c"
 var $305=HEAP32[(($304)>>2)]; //@line 1349 "../src/h264bsd_dpb.c"
 var $306=($302|0)==($305|0); //@line 1349 "../src/h264bsd_dpb.c"
 if($306){label=45;break;}else{label=46;break;} //@line 1349 "../src/h264bsd_dpb.c"
 case 45: 
 $1=1; //@line 1351 "../src/h264bsd_dpb.c"
 label=53;break; //@line 1351 "../src/h264bsd_dpb.c"
 case 46: 
 label=47;break;
 case 47: 
 var $310=$4; //@line 1356 "../src/h264bsd_dpb.c"
 var $311=($310|0)!=0; //@line 1356 "../src/h264bsd_dpb.c"
 if($311){label=48;break;}else{label=49;break;} //@line 1356 "../src/h264bsd_dpb.c"
 case 48: 
 var $313=$3; //@line 1357 "../src/h264bsd_dpb.c"
 var $314=$2; //@line 1357 "../src/h264bsd_dpb.c"
 var $315=(($314+48)|0); //@line 1357 "../src/h264bsd_dpb.c"
 HEAP32[(($315)>>2)]=$313; //@line 1357 "../src/h264bsd_dpb.c"
 label=52;break; //@line 1357 "../src/h264bsd_dpb.c"
 case 49: 
 var $317=$3; //@line 1358 "../src/h264bsd_dpb.c"
 var $318=$2; //@line 1358 "../src/h264bsd_dpb.c"
 var $319=(($318+48)|0); //@line 1358 "../src/h264bsd_dpb.c"
 var $320=HEAP32[(($319)>>2)]; //@line 1358 "../src/h264bsd_dpb.c"
 var $321=($317|0)!=($320|0); //@line 1358 "../src/h264bsd_dpb.c"
 if($321){label=50;break;}else{label=51;break;} //@line 1358 "../src/h264bsd_dpb.c"
 case 50: 
 var $323=$3; //@line 1360 "../src/h264bsd_dpb.c"
 var $324=$2; //@line 1360 "../src/h264bsd_dpb.c"
 var $325=(($324+32)|0); //@line 1360 "../src/h264bsd_dpb.c"
 var $326=HEAP32[(($325)>>2)]; //@line 1360 "../src/h264bsd_dpb.c"
 var $327=((($323)+($326))|0); //@line 1360 "../src/h264bsd_dpb.c"
 var $328=((($327)-(1))|0); //@line 1360 "../src/h264bsd_dpb.c"
 var $329=$2; //@line 1360 "../src/h264bsd_dpb.c"
 var $330=(($329+32)|0); //@line 1360 "../src/h264bsd_dpb.c"
 var $331=HEAP32[(($330)>>2)]; //@line 1360 "../src/h264bsd_dpb.c"
 var $332=(((($328>>>0))%(($331>>>0)))&-1); //@line 1360 "../src/h264bsd_dpb.c"
 var $333=$2; //@line 1360 "../src/h264bsd_dpb.c"
 var $334=(($333+48)|0); //@line 1360 "../src/h264bsd_dpb.c"
 HEAP32[(($334)>>2)]=$332; //@line 1360 "../src/h264bsd_dpb.c"
 label=51;break; //@line 1362 "../src/h264bsd_dpb.c"
 case 51: 
 label=52;break;
 case 52: 
 $1=0; //@line 1364 "../src/h264bsd_dpb.c"
 label=53;break; //@line 1364 "../src/h264bsd_dpb.c"
 case 53: 
 var $338=$1; //@line 1366 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $338; //@line 1366 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDpbOutputPicture($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$dpb;
 var $3=$2; //@line 1480 "../src/h264bsd_dpb.c"
 var $4=($3|0)!=0; //@line 1480 "../src/h264bsd_dpb.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1480 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,1480,14048); //@line 1480 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1480 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1480 "../src/h264bsd_dpb.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1480 "../src/h264bsd_dpb.c"
 var $10=$2; //@line 1482 "../src/h264bsd_dpb.c"
 var $11=(($10+20)|0); //@line 1482 "../src/h264bsd_dpb.c"
 var $12=HEAP32[(($11)>>2)]; //@line 1482 "../src/h264bsd_dpb.c"
 var $13=$2; //@line 1482 "../src/h264bsd_dpb.c"
 var $14=(($13+16)|0); //@line 1482 "../src/h264bsd_dpb.c"
 var $15=HEAP32[(($14)>>2)]; //@line 1482 "../src/h264bsd_dpb.c"
 var $16=($12>>>0)<($15>>>0); //@line 1482 "../src/h264bsd_dpb.c"
 if($16){label=4;break;}else{label=5;break;} //@line 1482 "../src/h264bsd_dpb.c"
 case 4: 
 var $18=$2; //@line 1483 "../src/h264bsd_dpb.c"
 var $19=(($18+12)|0); //@line 1483 "../src/h264bsd_dpb.c"
 var $20=HEAP32[(($19)>>2)]; //@line 1483 "../src/h264bsd_dpb.c"
 var $21=$2; //@line 1483 "../src/h264bsd_dpb.c"
 var $22=(($21+20)|0); //@line 1483 "../src/h264bsd_dpb.c"
 var $23=HEAP32[(($22)>>2)]; //@line 1483 "../src/h264bsd_dpb.c"
 var $24=((($23)+(1))|0); //@line 1483 "../src/h264bsd_dpb.c"
 HEAP32[(($22)>>2)]=$24; //@line 1483 "../src/h264bsd_dpb.c"
 var $25=(($20+($23<<4))|0); //@line 1483 "../src/h264bsd_dpb.c"
 $1=$25; //@line 1483 "../src/h264bsd_dpb.c"
 label=6;break; //@line 1483 "../src/h264bsd_dpb.c"
 case 5: 
 $1=0; //@line 1485 "../src/h264bsd_dpb.c"
 label=6;break; //@line 1485 "../src/h264bsd_dpb.c"
 case 6: 
 var $28=$1; //@line 1487 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $28; //@line 1487 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdFlushDpb($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$dpb;
 var $2=$1; //@line 1505 "../src/h264bsd_dpb.c"
 var $3=(($2)|0); //@line 1505 "../src/h264bsd_dpb.c"
 var $4=HEAP32[(($3)>>2)]; //@line 1505 "../src/h264bsd_dpb.c"
 var $5=($4|0)!=0; //@line 1505 "../src/h264bsd_dpb.c"
 if($5){label=2;break;}else{label=6;break;} //@line 1505 "../src/h264bsd_dpb.c"
 case 2: 
 var $7=$1; //@line 1507 "../src/h264bsd_dpb.c"
 var $8=(($7+60)|0); //@line 1507 "../src/h264bsd_dpb.c"
 HEAP32[(($8)>>2)]=1; //@line 1507 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1509 "../src/h264bsd_dpb.c"
 case 3: 
 var $10=$1; //@line 1509 "../src/h264bsd_dpb.c"
 var $11=_OutputPicture($10); //@line 1509 "../src/h264bsd_dpb.c"
 var $12=($11|0)==0; //@line 1509 "../src/h264bsd_dpb.c"
 if($12){label=4;break;}else{label=5;break;} //@line 1509 "../src/h264bsd_dpb.c"
 case 4: 
 label=3;break; //@line 1509 "../src/h264bsd_dpb.c"
 case 5: 
 label=6;break; //@line 1511 "../src/h264bsd_dpb.c"
 case 6: 
 STACKTOP=sp;return; //@line 1513 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _ComparePictures($ptr1,$ptr2){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $pic1;
 var $pic2;
 $2=$ptr1;
 $3=$ptr2;
 var $4=$2; //@line 148 "../src/h264bsd_dpb.c"
 var $5=($4|0)!=0; //@line 148 "../src/h264bsd_dpb.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 148 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(8872,10304,148,16480); //@line 148 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 148 "../src/h264bsd_dpb.c"
 label=3;break; //@line 148 "../src/h264bsd_dpb.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 148 "../src/h264bsd_dpb.c"
 var $11=$3; //@line 149 "../src/h264bsd_dpb.c"
 var $12=($11|0)!=0; //@line 149 "../src/h264bsd_dpb.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 149 "../src/h264bsd_dpb.c"
 case 4: 
 ___assert_fail(8720,10304,149,16480); //@line 149 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 149 "../src/h264bsd_dpb.c"
 label=5;break; //@line 149 "../src/h264bsd_dpb.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 149 "../src/h264bsd_dpb.c"
 var $18=$2; //@line 151 "../src/h264bsd_dpb.c"
 var $19=$18; //@line 151 "../src/h264bsd_dpb.c"
 $pic1=$19; //@line 151 "../src/h264bsd_dpb.c"
 var $20=$3; //@line 152 "../src/h264bsd_dpb.c"
 var $21=$20; //@line 152 "../src/h264bsd_dpb.c"
 $pic2=$21; //@line 152 "../src/h264bsd_dpb.c"
 var $22=$pic1; //@line 155 "../src/h264bsd_dpb.c"
 var $23=(($22+20)|0); //@line 155 "../src/h264bsd_dpb.c"
 var $24=HEAP32[(($23)>>2)]; //@line 155 "../src/h264bsd_dpb.c"
 var $25=($24|0)!=0; //@line 155 "../src/h264bsd_dpb.c"
 if($25){label=14;break;}else{label=6;break;} //@line 155 "../src/h264bsd_dpb.c"
 case 6: 
 var $27=$pic2; //@line 155 "../src/h264bsd_dpb.c"
 var $28=(($27+20)|0); //@line 155 "../src/h264bsd_dpb.c"
 var $29=HEAP32[(($28)>>2)]; //@line 155 "../src/h264bsd_dpb.c"
 var $30=($29|0)!=0; //@line 155 "../src/h264bsd_dpb.c"
 if($30){label=14;break;}else{label=7;break;} //@line 155 "../src/h264bsd_dpb.c"
 case 7: 
 var $32=$pic1; //@line 157 "../src/h264bsd_dpb.c"
 var $33=(($32+24)|0); //@line 157 "../src/h264bsd_dpb.c"
 var $34=HEAP32[(($33)>>2)]; //@line 157 "../src/h264bsd_dpb.c"
 var $35=($34|0)!=0; //@line 157 "../src/h264bsd_dpb.c"
 if($35){label=8;break;}else{label=10;break;} //@line 157 "../src/h264bsd_dpb.c"
 case 8: 
 var $37=$pic2; //@line 157 "../src/h264bsd_dpb.c"
 var $38=(($37+24)|0); //@line 157 "../src/h264bsd_dpb.c"
 var $39=HEAP32[(($38)>>2)]; //@line 157 "../src/h264bsd_dpb.c"
 var $40=($39|0)!=0; //@line 157 "../src/h264bsd_dpb.c"
 if($40){label=10;break;}else{label=9;break;} //@line 157 "../src/h264bsd_dpb.c"
 case 9: 
 $1=-1; //@line 158 "../src/h264bsd_dpb.c"
 label=38;break; //@line 158 "../src/h264bsd_dpb.c"
 case 10: 
 var $43=$pic1; //@line 159 "../src/h264bsd_dpb.c"
 var $44=(($43+24)|0); //@line 159 "../src/h264bsd_dpb.c"
 var $45=HEAP32[(($44)>>2)]; //@line 159 "../src/h264bsd_dpb.c"
 var $46=($45|0)!=0; //@line 159 "../src/h264bsd_dpb.c"
 if($46){label=13;break;}else{label=11;break;} //@line 159 "../src/h264bsd_dpb.c"
 case 11: 
 var $48=$pic2; //@line 159 "../src/h264bsd_dpb.c"
 var $49=(($48+24)|0); //@line 159 "../src/h264bsd_dpb.c"
 var $50=HEAP32[(($49)>>2)]; //@line 159 "../src/h264bsd_dpb.c"
 var $51=($50|0)!=0; //@line 159 "../src/h264bsd_dpb.c"
 if($51){label=12;break;}else{label=13;break;} //@line 159 "../src/h264bsd_dpb.c"
 case 12: 
 $1=1; //@line 160 "../src/h264bsd_dpb.c"
 label=38;break; //@line 160 "../src/h264bsd_dpb.c"
 case 13: 
 $1=0; //@line 162 "../src/h264bsd_dpb.c"
 label=38;break; //@line 162 "../src/h264bsd_dpb.c"
 case 14: 
 var $55=$pic2; //@line 165 "../src/h264bsd_dpb.c"
 var $56=(($55+20)|0); //@line 165 "../src/h264bsd_dpb.c"
 var $57=HEAP32[(($56)>>2)]; //@line 165 "../src/h264bsd_dpb.c"
 var $58=($57|0)!=0; //@line 165 "../src/h264bsd_dpb.c"
 if($58){label=16;break;}else{label=15;break;} //@line 165 "../src/h264bsd_dpb.c"
 case 15: 
 $1=-1; //@line 166 "../src/h264bsd_dpb.c"
 label=38;break; //@line 166 "../src/h264bsd_dpb.c"
 case 16: 
 var $61=$pic1; //@line 168 "../src/h264bsd_dpb.c"
 var $62=(($61+20)|0); //@line 168 "../src/h264bsd_dpb.c"
 var $63=HEAP32[(($62)>>2)]; //@line 168 "../src/h264bsd_dpb.c"
 var $64=($63|0)!=0; //@line 168 "../src/h264bsd_dpb.c"
 if($64){label=18;break;}else{label=17;break;} //@line 168 "../src/h264bsd_dpb.c"
 case 17: 
 $1=1; //@line 169 "../src/h264bsd_dpb.c"
 label=38;break; //@line 169 "../src/h264bsd_dpb.c"
 case 18: 
 var $67=$pic1; //@line 171 "../src/h264bsd_dpb.c"
 var $68=(($67+20)|0); //@line 171 "../src/h264bsd_dpb.c"
 var $69=HEAP32[(($68)>>2)]; //@line 171 "../src/h264bsd_dpb.c"
 var $70=($69|0)==1; //@line 171 "../src/h264bsd_dpb.c"
 if($70){label=20;break;}else{label=19;break;} //@line 171 "../src/h264bsd_dpb.c"
 case 19: 
 var $72=$pic1; //@line 171 "../src/h264bsd_dpb.c"
 var $73=(($72+20)|0); //@line 171 "../src/h264bsd_dpb.c"
 var $74=HEAP32[(($73)>>2)]; //@line 171 "../src/h264bsd_dpb.c"
 var $75=($74|0)==2; //@line 171 "../src/h264bsd_dpb.c"
 if($75){label=20;break;}else{label=27;break;} //@line 171 "../src/h264bsd_dpb.c"
 case 20: 
 var $77=$pic2; //@line 171 "../src/h264bsd_dpb.c"
 var $78=(($77+20)|0); //@line 171 "../src/h264bsd_dpb.c"
 var $79=HEAP32[(($78)>>2)]; //@line 171 "../src/h264bsd_dpb.c"
 var $80=($79|0)==1; //@line 171 "../src/h264bsd_dpb.c"
 if($80){label=22;break;}else{label=21;break;} //@line 171 "../src/h264bsd_dpb.c"
 case 21: 
 var $82=$pic2; //@line 171 "../src/h264bsd_dpb.c"
 var $83=(($82+20)|0); //@line 171 "../src/h264bsd_dpb.c"
 var $84=HEAP32[(($83)>>2)]; //@line 171 "../src/h264bsd_dpb.c"
 var $85=($84|0)==2; //@line 171 "../src/h264bsd_dpb.c"
 if($85){label=22;break;}else{label=27;break;} //@line 171 "../src/h264bsd_dpb.c"
 case 22: 
 var $87=$pic1; //@line 173 "../src/h264bsd_dpb.c"
 var $88=(($87+8)|0); //@line 173 "../src/h264bsd_dpb.c"
 var $89=HEAP32[(($88)>>2)]; //@line 173 "../src/h264bsd_dpb.c"
 var $90=$pic2; //@line 173 "../src/h264bsd_dpb.c"
 var $91=(($90+8)|0); //@line 173 "../src/h264bsd_dpb.c"
 var $92=HEAP32[(($91)>>2)]; //@line 173 "../src/h264bsd_dpb.c"
 var $93=($89|0)>($92|0); //@line 173 "../src/h264bsd_dpb.c"
 if($93){label=23;break;}else{label=24;break;} //@line 173 "../src/h264bsd_dpb.c"
 case 23: 
 $1=-1; //@line 174 "../src/h264bsd_dpb.c"
 label=38;break; //@line 174 "../src/h264bsd_dpb.c"
 case 24: 
 var $96=$pic1; //@line 175 "../src/h264bsd_dpb.c"
 var $97=(($96+8)|0); //@line 175 "../src/h264bsd_dpb.c"
 var $98=HEAP32[(($97)>>2)]; //@line 175 "../src/h264bsd_dpb.c"
 var $99=$pic2; //@line 175 "../src/h264bsd_dpb.c"
 var $100=(($99+8)|0); //@line 175 "../src/h264bsd_dpb.c"
 var $101=HEAP32[(($100)>>2)]; //@line 175 "../src/h264bsd_dpb.c"
 var $102=($98|0)<($101|0); //@line 175 "../src/h264bsd_dpb.c"
 if($102){label=25;break;}else{label=26;break;} //@line 175 "../src/h264bsd_dpb.c"
 case 25: 
 $1=1; //@line 176 "../src/h264bsd_dpb.c"
 label=38;break; //@line 176 "../src/h264bsd_dpb.c"
 case 26: 
 $1=0; //@line 178 "../src/h264bsd_dpb.c"
 label=38;break; //@line 178 "../src/h264bsd_dpb.c"
 case 27: 
 var $106=$pic1; //@line 181 "../src/h264bsd_dpb.c"
 var $107=(($106+20)|0); //@line 181 "../src/h264bsd_dpb.c"
 var $108=HEAP32[(($107)>>2)]; //@line 181 "../src/h264bsd_dpb.c"
 var $109=($108|0)==1; //@line 181 "../src/h264bsd_dpb.c"
 if($109){label=29;break;}else{label=28;break;} //@line 181 "../src/h264bsd_dpb.c"
 case 28: 
 var $111=$pic1; //@line 181 "../src/h264bsd_dpb.c"
 var $112=(($111+20)|0); //@line 181 "../src/h264bsd_dpb.c"
 var $113=HEAP32[(($112)>>2)]; //@line 181 "../src/h264bsd_dpb.c"
 var $114=($113|0)==2; //@line 181 "../src/h264bsd_dpb.c"
 if($114){label=29;break;}else{label=30;break;} //@line 181 "../src/h264bsd_dpb.c"
 case 29: 
 $1=-1; //@line 182 "../src/h264bsd_dpb.c"
 label=38;break; //@line 182 "../src/h264bsd_dpb.c"
 case 30: 
 var $117=$pic2; //@line 184 "../src/h264bsd_dpb.c"
 var $118=(($117+20)|0); //@line 184 "../src/h264bsd_dpb.c"
 var $119=HEAP32[(($118)>>2)]; //@line 184 "../src/h264bsd_dpb.c"
 var $120=($119|0)==1; //@line 184 "../src/h264bsd_dpb.c"
 if($120){label=32;break;}else{label=31;break;} //@line 184 "../src/h264bsd_dpb.c"
 case 31: 
 var $122=$pic2; //@line 184 "../src/h264bsd_dpb.c"
 var $123=(($122+20)|0); //@line 184 "../src/h264bsd_dpb.c"
 var $124=HEAP32[(($123)>>2)]; //@line 184 "../src/h264bsd_dpb.c"
 var $125=($124|0)==2; //@line 184 "../src/h264bsd_dpb.c"
 if($125){label=32;break;}else{label=33;break;} //@line 184 "../src/h264bsd_dpb.c"
 case 32: 
 $1=1; //@line 185 "../src/h264bsd_dpb.c"
 label=38;break; //@line 185 "../src/h264bsd_dpb.c"
 case 33: 
 var $128=$pic1; //@line 190 "../src/h264bsd_dpb.c"
 var $129=(($128+8)|0); //@line 190 "../src/h264bsd_dpb.c"
 var $130=HEAP32[(($129)>>2)]; //@line 190 "../src/h264bsd_dpb.c"
 var $131=$pic2; //@line 190 "../src/h264bsd_dpb.c"
 var $132=(($131+8)|0); //@line 190 "../src/h264bsd_dpb.c"
 var $133=HEAP32[(($132)>>2)]; //@line 190 "../src/h264bsd_dpb.c"
 var $134=($130|0)>($133|0); //@line 190 "../src/h264bsd_dpb.c"
 if($134){label=34;break;}else{label=35;break;} //@line 190 "../src/h264bsd_dpb.c"
 case 34: 
 $1=1; //@line 191 "../src/h264bsd_dpb.c"
 label=38;break; //@line 191 "../src/h264bsd_dpb.c"
 case 35: 
 var $137=$pic1; //@line 192 "../src/h264bsd_dpb.c"
 var $138=(($137+8)|0); //@line 192 "../src/h264bsd_dpb.c"
 var $139=HEAP32[(($138)>>2)]; //@line 192 "../src/h264bsd_dpb.c"
 var $140=$pic2; //@line 192 "../src/h264bsd_dpb.c"
 var $141=(($140+8)|0); //@line 192 "../src/h264bsd_dpb.c"
 var $142=HEAP32[(($141)>>2)]; //@line 192 "../src/h264bsd_dpb.c"
 var $143=($139|0)<($142|0); //@line 192 "../src/h264bsd_dpb.c"
 if($143){label=36;break;}else{label=37;break;} //@line 192 "../src/h264bsd_dpb.c"
 case 36: 
 $1=-1; //@line 193 "../src/h264bsd_dpb.c"
 label=38;break; //@line 193 "../src/h264bsd_dpb.c"
 case 37: 
 $1=0; //@line 195 "../src/h264bsd_dpb.c"
 label=38;break; //@line 195 "../src/h264bsd_dpb.c"
 case 38: 
 var $147=$1; //@line 197 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $147; //@line 197 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FindSmallestPicOrderCnt($dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $i;
 var $picOrderCnt;
 var $tmp;
 $1=$dpb;
 var $2=$1; //@line 1392 "../src/h264bsd_dpb.c"
 var $3=($2|0)!=0; //@line 1392 "../src/h264bsd_dpb.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 1392 "../src/h264bsd_dpb.c"
 case 2: 
 ___assert_fail(6696,10304,1392,15920); //@line 1392 "../src/h264bsd_dpb.c"
 throw "Reached an unreachable!"; //@line 1392 "../src/h264bsd_dpb.c"
 label=3;break; //@line 1392 "../src/h264bsd_dpb.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 1392 "../src/h264bsd_dpb.c"
 $picOrderCnt=2147483647; //@line 1394 "../src/h264bsd_dpb.c"
 $tmp=0; //@line 1395 "../src/h264bsd_dpb.c"
 $i=0; //@line 1397 "../src/h264bsd_dpb.c"
 label=4;break; //@line 1397 "../src/h264bsd_dpb.c"
 case 4: 
 var $10=$i; //@line 1397 "../src/h264bsd_dpb.c"
 var $11=$1; //@line 1397 "../src/h264bsd_dpb.c"
 var $12=(($11+28)|0); //@line 1397 "../src/h264bsd_dpb.c"
 var $13=HEAP32[(($12)>>2)]; //@line 1397 "../src/h264bsd_dpb.c"
 var $14=($10>>>0)<=($13>>>0); //@line 1397 "../src/h264bsd_dpb.c"
 if($14){label=5;break;}else{label=10;break;} //@line 1397 "../src/h264bsd_dpb.c"
 case 5: 
 var $16=$i; //@line 1399 "../src/h264bsd_dpb.c"
 var $17=$1; //@line 1399 "../src/h264bsd_dpb.c"
 var $18=(($17)|0); //@line 1399 "../src/h264bsd_dpb.c"
 var $19=HEAP32[(($18)>>2)]; //@line 1399 "../src/h264bsd_dpb.c"
 var $20=(($19+((($16)*(40))&-1))|0); //@line 1399 "../src/h264bsd_dpb.c"
 var $21=(($20+24)|0); //@line 1399 "../src/h264bsd_dpb.c"
 var $22=HEAP32[(($21)>>2)]; //@line 1399 "../src/h264bsd_dpb.c"
 var $23=($22|0)!=0; //@line 1399 "../src/h264bsd_dpb.c"
 if($23){label=6;break;}else{label=8;break;} //@line 1399 "../src/h264bsd_dpb.c"
 case 6: 
 var $25=$i; //@line 1399 "../src/h264bsd_dpb.c"
 var $26=$1; //@line 1399 "../src/h264bsd_dpb.c"
 var $27=(($26)|0); //@line 1399 "../src/h264bsd_dpb.c"
 var $28=HEAP32[(($27)>>2)]; //@line 1399 "../src/h264bsd_dpb.c"
 var $29=(($28+((($25)*(40))&-1))|0); //@line 1399 "../src/h264bsd_dpb.c"
 var $30=(($29+16)|0); //@line 1399 "../src/h264bsd_dpb.c"
 var $31=HEAP32[(($30)>>2)]; //@line 1399 "../src/h264bsd_dpb.c"
 var $32=$picOrderCnt; //@line 1399 "../src/h264bsd_dpb.c"
 var $33=($31|0)<($32|0); //@line 1399 "../src/h264bsd_dpb.c"
 if($33){label=7;break;}else{label=8;break;} //@line 1399 "../src/h264bsd_dpb.c"
 case 7: 
 var $35=$1; //@line 1402 "../src/h264bsd_dpb.c"
 var $36=(($35)|0); //@line 1402 "../src/h264bsd_dpb.c"
 var $37=HEAP32[(($36)>>2)]; //@line 1402 "../src/h264bsd_dpb.c"
 var $38=$i; //@line 1402 "../src/h264bsd_dpb.c"
 var $39=(($37+((($38)*(40))&-1))|0); //@line 1402 "../src/h264bsd_dpb.c"
 $tmp=$39; //@line 1402 "../src/h264bsd_dpb.c"
 var $40=$i; //@line 1403 "../src/h264bsd_dpb.c"
 var $41=$1; //@line 1403 "../src/h264bsd_dpb.c"
 var $42=(($41)|0); //@line 1403 "../src/h264bsd_dpb.c"
 var $43=HEAP32[(($42)>>2)]; //@line 1403 "../src/h264bsd_dpb.c"
 var $44=(($43+((($40)*(40))&-1))|0); //@line 1403 "../src/h264bsd_dpb.c"
 var $45=(($44+16)|0); //@line 1403 "../src/h264bsd_dpb.c"
 var $46=HEAP32[(($45)>>2)]; //@line 1403 "../src/h264bsd_dpb.c"
 $picOrderCnt=$46; //@line 1403 "../src/h264bsd_dpb.c"
 label=8;break; //@line 1404 "../src/h264bsd_dpb.c"
 case 8: 
 label=9;break; //@line 1405 "../src/h264bsd_dpb.c"
 case 9: 
 var $49=$i; //@line 1397 "../src/h264bsd_dpb.c"
 var $50=((($49)+(1))|0); //@line 1397 "../src/h264bsd_dpb.c"
 $i=$50; //@line 1397 "../src/h264bsd_dpb.c"
 label=4;break; //@line 1397 "../src/h264bsd_dpb.c"
 case 10: 
 var $52=$tmp; //@line 1407 "../src/h264bsd_dpb.c"
 STACKTOP=sp;return $52; //@line 1407 "../src/h264bsd_dpb.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdWriteMacroblock($image,$data){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 var $width;
 var $lum;
 var $cb;
 var $cr;
 var $ptr;
 var $tmp1;
 var $tmp2;
 $1=$image;
 $2=$data;
 var $3=$1; //@line 94 "../src/h264bsd_image.c"
 var $4=($3|0)!=0; //@line 94 "../src/h264bsd_image.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 94 "../src/h264bsd_image.c"
 case 2: 
 ___assert_fail(4352,9480,94,12592); //@line 94 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 94 "../src/h264bsd_image.c"
 label=3;break; //@line 94 "../src/h264bsd_image.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 94 "../src/h264bsd_image.c"
 var $10=$2; //@line 95 "../src/h264bsd_image.c"
 var $11=($10|0)!=0; //@line 95 "../src/h264bsd_image.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 95 "../src/h264bsd_image.c"
 case 4: 
 ___assert_fail(9344,9480,95,12592); //@line 95 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 95 "../src/h264bsd_image.c"
 label=5;break; //@line 95 "../src/h264bsd_image.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 95 "../src/h264bsd_image.c"
 var $17=$2; //@line 96 "../src/h264bsd_image.c"
 var $18=$17; //@line 96 "../src/h264bsd_image.c"
 var $19=$18&3; //@line 96 "../src/h264bsd_image.c"
 var $20=($19|0)!=0; //@line 96 "../src/h264bsd_image.c"
 if($20){label=6;break;}else{var $24=1;label=7;break;} //@line 96 "../src/h264bsd_image.c"
 case 6: 
 ___assert_fail(8208,9480,96,12592); //@line 96 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 96 "../src/h264bsd_image.c"
 label=7;break; //@line 96 "../src/h264bsd_image.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 96 "../src/h264bsd_image.c"
 var $26=$1; //@line 98 "../src/h264bsd_image.c"
 var $27=(($26+4)|0); //@line 98 "../src/h264bsd_image.c"
 var $28=HEAP32[(($27)>>2)]; //@line 98 "../src/h264bsd_image.c"
 $width=$28; //@line 98 "../src/h264bsd_image.c"
 var $29=$1; //@line 102 "../src/h264bsd_image.c"
 var $30=(($29+12)|0); //@line 102 "../src/h264bsd_image.c"
 var $31=HEAP32[(($30)>>2)]; //@line 102 "../src/h264bsd_image.c"
 var $32=$31; //@line 102 "../src/h264bsd_image.c"
 $lum=$32; //@line 102 "../src/h264bsd_image.c"
 var $33=$1; //@line 103 "../src/h264bsd_image.c"
 var $34=(($33+16)|0); //@line 103 "../src/h264bsd_image.c"
 var $35=HEAP32[(($34)>>2)]; //@line 103 "../src/h264bsd_image.c"
 var $36=$35; //@line 103 "../src/h264bsd_image.c"
 $cb=$36; //@line 103 "../src/h264bsd_image.c"
 var $37=$1; //@line 104 "../src/h264bsd_image.c"
 var $38=(($37+20)|0); //@line 104 "../src/h264bsd_image.c"
 var $39=HEAP32[(($38)>>2)]; //@line 104 "../src/h264bsd_image.c"
 var $40=$39; //@line 104 "../src/h264bsd_image.c"
 $cr=$40; //@line 104 "../src/h264bsd_image.c"
 var $41=$lum; //@line 105 "../src/h264bsd_image.c"
 var $42=$41; //@line 105 "../src/h264bsd_image.c"
 var $43=$42&3; //@line 105 "../src/h264bsd_image.c"
 var $44=($43|0)!=0; //@line 105 "../src/h264bsd_image.c"
 if($44){label=8;break;}else{var $48=1;label=9;break;} //@line 105 "../src/h264bsd_image.c"
 case 8: 
 ___assert_fail(7328,9480,105,12592); //@line 105 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 105 "../src/h264bsd_image.c"
 label=9;break; //@line 105 "../src/h264bsd_image.c"
 case 9: 
 var $48;
 var $49=($48&1); //@line 105 "../src/h264bsd_image.c"
 var $50=$cb; //@line 106 "../src/h264bsd_image.c"
 var $51=$50; //@line 106 "../src/h264bsd_image.c"
 var $52=$51&3; //@line 106 "../src/h264bsd_image.c"
 var $53=($52|0)!=0; //@line 106 "../src/h264bsd_image.c"
 if($53){label=10;break;}else{var $57=1;label=11;break;} //@line 106 "../src/h264bsd_image.c"
 case 10: 
 ___assert_fail(6440,9480,106,12592); //@line 106 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 106 "../src/h264bsd_image.c"
 label=11;break; //@line 106 "../src/h264bsd_image.c"
 case 11: 
 var $57;
 var $58=($57&1); //@line 106 "../src/h264bsd_image.c"
 var $59=$cr; //@line 107 "../src/h264bsd_image.c"
 var $60=$59; //@line 107 "../src/h264bsd_image.c"
 var $61=$60&3; //@line 107 "../src/h264bsd_image.c"
 var $62=($61|0)!=0; //@line 107 "../src/h264bsd_image.c"
 if($62){label=12;break;}else{var $66=1;label=13;break;} //@line 107 "../src/h264bsd_image.c"
 case 12: 
 ___assert_fail(5912,9480,107,12592); //@line 107 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 107 "../src/h264bsd_image.c"
 label=13;break; //@line 107 "../src/h264bsd_image.c"
 case 13: 
 var $66;
 var $67=($66&1); //@line 107 "../src/h264bsd_image.c"
 var $68=$2; //@line 109 "../src/h264bsd_image.c"
 var $69=$68; //@line 109 "../src/h264bsd_image.c"
 $ptr=$69; //@line 109 "../src/h264bsd_image.c"
 var $70=$width; //@line 111 "../src/h264bsd_image.c"
 var $71=($70<<2); //@line 111 "../src/h264bsd_image.c"
 $width=$71; //@line 111 "../src/h264bsd_image.c"
 $i=16; //@line 112 "../src/h264bsd_image.c"
 label=14;break; //@line 112 "../src/h264bsd_image.c"
 case 14: 
 var $73=$i; //@line 112 "../src/h264bsd_image.c"
 var $74=($73|0)!=0; //@line 112 "../src/h264bsd_image.c"
 if($74){label=15;break;}else{label=17;break;} //@line 112 "../src/h264bsd_image.c"
 case 15: 
 var $76=$ptr; //@line 114 "../src/h264bsd_image.c"
 var $77=(($76+4)|0); //@line 114 "../src/h264bsd_image.c"
 $ptr=$77; //@line 114 "../src/h264bsd_image.c"
 var $78=HEAP32[(($76)>>2)]; //@line 114 "../src/h264bsd_image.c"
 $tmp1=$78; //@line 114 "../src/h264bsd_image.c"
 var $79=$ptr; //@line 115 "../src/h264bsd_image.c"
 var $80=(($79+4)|0); //@line 115 "../src/h264bsd_image.c"
 $ptr=$80; //@line 115 "../src/h264bsd_image.c"
 var $81=HEAP32[(($79)>>2)]; //@line 115 "../src/h264bsd_image.c"
 $tmp2=$81; //@line 115 "../src/h264bsd_image.c"
 var $82=$tmp1; //@line 116 "../src/h264bsd_image.c"
 var $83=$lum; //@line 116 "../src/h264bsd_image.c"
 var $84=(($83+4)|0); //@line 116 "../src/h264bsd_image.c"
 $lum=$84; //@line 116 "../src/h264bsd_image.c"
 HEAP32[(($83)>>2)]=$82; //@line 116 "../src/h264bsd_image.c"
 var $85=$tmp2; //@line 117 "../src/h264bsd_image.c"
 var $86=$lum; //@line 117 "../src/h264bsd_image.c"
 var $87=(($86+4)|0); //@line 117 "../src/h264bsd_image.c"
 $lum=$87; //@line 117 "../src/h264bsd_image.c"
 HEAP32[(($86)>>2)]=$85; //@line 117 "../src/h264bsd_image.c"
 var $88=$ptr; //@line 118 "../src/h264bsd_image.c"
 var $89=(($88+4)|0); //@line 118 "../src/h264bsd_image.c"
 $ptr=$89; //@line 118 "../src/h264bsd_image.c"
 var $90=HEAP32[(($88)>>2)]; //@line 118 "../src/h264bsd_image.c"
 $tmp1=$90; //@line 118 "../src/h264bsd_image.c"
 var $91=$ptr; //@line 119 "../src/h264bsd_image.c"
 var $92=(($91+4)|0); //@line 119 "../src/h264bsd_image.c"
 $ptr=$92; //@line 119 "../src/h264bsd_image.c"
 var $93=HEAP32[(($91)>>2)]; //@line 119 "../src/h264bsd_image.c"
 $tmp2=$93; //@line 119 "../src/h264bsd_image.c"
 var $94=$tmp1; //@line 120 "../src/h264bsd_image.c"
 var $95=$lum; //@line 120 "../src/h264bsd_image.c"
 var $96=(($95+4)|0); //@line 120 "../src/h264bsd_image.c"
 $lum=$96; //@line 120 "../src/h264bsd_image.c"
 HEAP32[(($95)>>2)]=$94; //@line 120 "../src/h264bsd_image.c"
 var $97=$tmp2; //@line 121 "../src/h264bsd_image.c"
 var $98=$lum; //@line 121 "../src/h264bsd_image.c"
 var $99=(($98+4)|0); //@line 121 "../src/h264bsd_image.c"
 $lum=$99; //@line 121 "../src/h264bsd_image.c"
 HEAP32[(($98)>>2)]=$97; //@line 121 "../src/h264bsd_image.c"
 var $100=$width; //@line 122 "../src/h264bsd_image.c"
 var $101=((($100)-(4))|0); //@line 122 "../src/h264bsd_image.c"
 var $102=$lum; //@line 122 "../src/h264bsd_image.c"
 var $103=(($102+($101<<2))|0); //@line 122 "../src/h264bsd_image.c"
 $lum=$103; //@line 122 "../src/h264bsd_image.c"
 label=16;break; //@line 123 "../src/h264bsd_image.c"
 case 16: 
 var $105=$i; //@line 112 "../src/h264bsd_image.c"
 var $106=((($105)-(1))|0); //@line 112 "../src/h264bsd_image.c"
 $i=$106; //@line 112 "../src/h264bsd_image.c"
 label=14;break; //@line 112 "../src/h264bsd_image.c"
 case 17: 
 var $108=$width; //@line 125 "../src/h264bsd_image.c"
 var $109=$108>>>1; //@line 125 "../src/h264bsd_image.c"
 $width=$109; //@line 125 "../src/h264bsd_image.c"
 $i=8; //@line 126 "../src/h264bsd_image.c"
 label=18;break; //@line 126 "../src/h264bsd_image.c"
 case 18: 
 var $111=$i; //@line 126 "../src/h264bsd_image.c"
 var $112=($111|0)!=0; //@line 126 "../src/h264bsd_image.c"
 if($112){label=19;break;}else{label=21;break;} //@line 126 "../src/h264bsd_image.c"
 case 19: 
 var $114=$ptr; //@line 128 "../src/h264bsd_image.c"
 var $115=(($114+4)|0); //@line 128 "../src/h264bsd_image.c"
 $ptr=$115; //@line 128 "../src/h264bsd_image.c"
 var $116=HEAP32[(($114)>>2)]; //@line 128 "../src/h264bsd_image.c"
 $tmp1=$116; //@line 128 "../src/h264bsd_image.c"
 var $117=$ptr; //@line 129 "../src/h264bsd_image.c"
 var $118=(($117+4)|0); //@line 129 "../src/h264bsd_image.c"
 $ptr=$118; //@line 129 "../src/h264bsd_image.c"
 var $119=HEAP32[(($117)>>2)]; //@line 129 "../src/h264bsd_image.c"
 $tmp2=$119; //@line 129 "../src/h264bsd_image.c"
 var $120=$tmp1; //@line 130 "../src/h264bsd_image.c"
 var $121=$cb; //@line 130 "../src/h264bsd_image.c"
 var $122=(($121+4)|0); //@line 130 "../src/h264bsd_image.c"
 $cb=$122; //@line 130 "../src/h264bsd_image.c"
 HEAP32[(($121)>>2)]=$120; //@line 130 "../src/h264bsd_image.c"
 var $123=$tmp2; //@line 131 "../src/h264bsd_image.c"
 var $124=$cb; //@line 131 "../src/h264bsd_image.c"
 var $125=(($124+4)|0); //@line 131 "../src/h264bsd_image.c"
 $cb=$125; //@line 131 "../src/h264bsd_image.c"
 HEAP32[(($124)>>2)]=$123; //@line 131 "../src/h264bsd_image.c"
 var $126=$width; //@line 132 "../src/h264bsd_image.c"
 var $127=((($126)-(2))|0); //@line 132 "../src/h264bsd_image.c"
 var $128=$cb; //@line 132 "../src/h264bsd_image.c"
 var $129=(($128+($127<<2))|0); //@line 132 "../src/h264bsd_image.c"
 $cb=$129; //@line 132 "../src/h264bsd_image.c"
 label=20;break; //@line 133 "../src/h264bsd_image.c"
 case 20: 
 var $131=$i; //@line 126 "../src/h264bsd_image.c"
 var $132=((($131)-(1))|0); //@line 126 "../src/h264bsd_image.c"
 $i=$132; //@line 126 "../src/h264bsd_image.c"
 label=18;break; //@line 126 "../src/h264bsd_image.c"
 case 21: 
 $i=8; //@line 135 "../src/h264bsd_image.c"
 label=22;break; //@line 135 "../src/h264bsd_image.c"
 case 22: 
 var $135=$i; //@line 135 "../src/h264bsd_image.c"
 var $136=($135|0)!=0; //@line 135 "../src/h264bsd_image.c"
 if($136){label=23;break;}else{label=25;break;} //@line 135 "../src/h264bsd_image.c"
 case 23: 
 var $138=$ptr; //@line 137 "../src/h264bsd_image.c"
 var $139=(($138+4)|0); //@line 137 "../src/h264bsd_image.c"
 $ptr=$139; //@line 137 "../src/h264bsd_image.c"
 var $140=HEAP32[(($138)>>2)]; //@line 137 "../src/h264bsd_image.c"
 $tmp1=$140; //@line 137 "../src/h264bsd_image.c"
 var $141=$ptr; //@line 138 "../src/h264bsd_image.c"
 var $142=(($141+4)|0); //@line 138 "../src/h264bsd_image.c"
 $ptr=$142; //@line 138 "../src/h264bsd_image.c"
 var $143=HEAP32[(($141)>>2)]; //@line 138 "../src/h264bsd_image.c"
 $tmp2=$143; //@line 138 "../src/h264bsd_image.c"
 var $144=$tmp1; //@line 139 "../src/h264bsd_image.c"
 var $145=$cr; //@line 139 "../src/h264bsd_image.c"
 var $146=(($145+4)|0); //@line 139 "../src/h264bsd_image.c"
 $cr=$146; //@line 139 "../src/h264bsd_image.c"
 HEAP32[(($145)>>2)]=$144; //@line 139 "../src/h264bsd_image.c"
 var $147=$tmp2; //@line 140 "../src/h264bsd_image.c"
 var $148=$cr; //@line 140 "../src/h264bsd_image.c"
 var $149=(($148+4)|0); //@line 140 "../src/h264bsd_image.c"
 $cr=$149; //@line 140 "../src/h264bsd_image.c"
 HEAP32[(($148)>>2)]=$147; //@line 140 "../src/h264bsd_image.c"
 var $150=$width; //@line 141 "../src/h264bsd_image.c"
 var $151=((($150)-(2))|0); //@line 141 "../src/h264bsd_image.c"
 var $152=$cr; //@line 141 "../src/h264bsd_image.c"
 var $153=(($152+($151<<2))|0); //@line 141 "../src/h264bsd_image.c"
 $cr=$153; //@line 141 "../src/h264bsd_image.c"
 label=24;break; //@line 142 "../src/h264bsd_image.c"
 case 24: 
 var $155=$i; //@line 135 "../src/h264bsd_image.c"
 var $156=((($155)-(1))|0); //@line 135 "../src/h264bsd_image.c"
 $i=$156; //@line 135 "../src/h264bsd_image.c"
 label=22;break; //@line 135 "../src/h264bsd_image.c"
 case 25: 
 STACKTOP=sp;return; //@line 144 "../src/h264bsd_image.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdWriteOutputBlocks($image,$mbNum,$data,$residual){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $picWidth;
 var $picSize;
 var $lum;
 var $cb;
 var $cr;
 var $imageBlock;
 var $tmp;
 var $row;
 var $col;
 var $block;
 var $x;
 var $y;
 var $pRes;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $clp;
 var $in32;
 var $out32;
 var $in321;
 var $out322;
 $1=$image;
 $2=$mbNum;
 $3=$data;
 $4=$residual;
 $clp=1872; //@line 188 "../src/h264bsd_image.c"
 var $5=$1; //@line 192 "../src/h264bsd_image.c"
 var $6=($5|0)!=0; //@line 192 "../src/h264bsd_image.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 192 "../src/h264bsd_image.c"
 case 2: 
 ___assert_fail(4352,9480,192,12560); //@line 192 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 192 "../src/h264bsd_image.c"
 label=3;break; //@line 192 "../src/h264bsd_image.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 192 "../src/h264bsd_image.c"
 var $12=$3; //@line 193 "../src/h264bsd_image.c"
 var $13=($12|0)!=0; //@line 193 "../src/h264bsd_image.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 193 "../src/h264bsd_image.c"
 case 4: 
 ___assert_fail(9344,9480,193,12560); //@line 193 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 193 "../src/h264bsd_image.c"
 label=5;break; //@line 193 "../src/h264bsd_image.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 193 "../src/h264bsd_image.c"
 var $19=$2; //@line 194 "../src/h264bsd_image.c"
 var $20=$1; //@line 194 "../src/h264bsd_image.c"
 var $21=(($20+4)|0); //@line 194 "../src/h264bsd_image.c"
 var $22=HEAP32[(($21)>>2)]; //@line 194 "../src/h264bsd_image.c"
 var $23=$1; //@line 194 "../src/h264bsd_image.c"
 var $24=(($23+8)|0); //@line 194 "../src/h264bsd_image.c"
 var $25=HEAP32[(($24)>>2)]; //@line 194 "../src/h264bsd_image.c"
 var $26=(Math_imul($22,$25)|0); //@line 194 "../src/h264bsd_image.c"
 var $27=($19>>>0)<($26>>>0); //@line 194 "../src/h264bsd_image.c"
 if($27){var $31=1;label=7;break;}else{label=6;break;} //@line 194 "../src/h264bsd_image.c"
 case 6: 
 ___assert_fail(5408,9480,194,12560); //@line 194 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 194 "../src/h264bsd_image.c"
 label=7;break; //@line 194 "../src/h264bsd_image.c"
 case 7: 
 var $31;
 var $32=($31&1); //@line 194 "../src/h264bsd_image.c"
 var $33=$3; //@line 195 "../src/h264bsd_image.c"
 var $34=$33; //@line 195 "../src/h264bsd_image.c"
 var $35=$34&3; //@line 195 "../src/h264bsd_image.c"
 var $36=($35|0)!=0; //@line 195 "../src/h264bsd_image.c"
 if($36){label=8;break;}else{var $40=1;label=9;break;} //@line 195 "../src/h264bsd_image.c"
 case 8: 
 ___assert_fail(8208,9480,195,12560); //@line 195 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 195 "../src/h264bsd_image.c"
 label=9;break; //@line 195 "../src/h264bsd_image.c"
 case 9: 
 var $40;
 var $41=($40&1); //@line 195 "../src/h264bsd_image.c"
 var $42=$1; //@line 198 "../src/h264bsd_image.c"
 var $43=(($42+4)|0); //@line 198 "../src/h264bsd_image.c"
 var $44=HEAP32[(($43)>>2)]; //@line 198 "../src/h264bsd_image.c"
 $picWidth=$44; //@line 198 "../src/h264bsd_image.c"
 var $45=$picWidth; //@line 199 "../src/h264bsd_image.c"
 var $46=$1; //@line 199 "../src/h264bsd_image.c"
 var $47=(($46+8)|0); //@line 199 "../src/h264bsd_image.c"
 var $48=HEAP32[(($47)>>2)]; //@line 199 "../src/h264bsd_image.c"
 var $49=(Math_imul($45,$48)|0); //@line 199 "../src/h264bsd_image.c"
 $picSize=$49; //@line 199 "../src/h264bsd_image.c"
 var $50=$2; //@line 200 "../src/h264bsd_image.c"
 var $51=$picWidth; //@line 200 "../src/h264bsd_image.c"
 var $52=(((($50>>>0))/(($51>>>0)))&-1); //@line 200 "../src/h264bsd_image.c"
 $row=$52; //@line 200 "../src/h264bsd_image.c"
 var $53=$2; //@line 201 "../src/h264bsd_image.c"
 var $54=$picWidth; //@line 201 "../src/h264bsd_image.c"
 var $55=(((($53>>>0))%(($54>>>0)))&-1); //@line 201 "../src/h264bsd_image.c"
 $col=$55; //@line 201 "../src/h264bsd_image.c"
 var $56=$1; //@line 204 "../src/h264bsd_image.c"
 var $57=(($56)|0); //@line 204 "../src/h264bsd_image.c"
 var $58=HEAP32[(($57)>>2)]; //@line 204 "../src/h264bsd_image.c"
 var $59=$row; //@line 204 "../src/h264bsd_image.c"
 var $60=$picWidth; //@line 204 "../src/h264bsd_image.c"
 var $61=(Math_imul($59,$60)|0); //@line 204 "../src/h264bsd_image.c"
 var $62=($61<<8); //@line 204 "../src/h264bsd_image.c"
 var $63=(($58+$62)|0); //@line 204 "../src/h264bsd_image.c"
 var $64=$col; //@line 204 "../src/h264bsd_image.c"
 var $65=($64<<4); //@line 204 "../src/h264bsd_image.c"
 var $66=(($63+$65)|0); //@line 204 "../src/h264bsd_image.c"
 $lum=$66; //@line 204 "../src/h264bsd_image.c"
 var $67=$1; //@line 205 "../src/h264bsd_image.c"
 var $68=(($67)|0); //@line 205 "../src/h264bsd_image.c"
 var $69=HEAP32[(($68)>>2)]; //@line 205 "../src/h264bsd_image.c"
 var $70=$picSize; //@line 205 "../src/h264bsd_image.c"
 var $71=($70<<8); //@line 205 "../src/h264bsd_image.c"
 var $72=(($69+$71)|0); //@line 205 "../src/h264bsd_image.c"
 var $73=$row; //@line 205 "../src/h264bsd_image.c"
 var $74=$picWidth; //@line 205 "../src/h264bsd_image.c"
 var $75=(Math_imul($73,$74)|0); //@line 205 "../src/h264bsd_image.c"
 var $76=($75<<6); //@line 205 "../src/h264bsd_image.c"
 var $77=(($72+$76)|0); //@line 205 "../src/h264bsd_image.c"
 var $78=$col; //@line 205 "../src/h264bsd_image.c"
 var $79=($78<<3); //@line 205 "../src/h264bsd_image.c"
 var $80=(($77+$79)|0); //@line 205 "../src/h264bsd_image.c"
 $cb=$80; //@line 205 "../src/h264bsd_image.c"
 var $81=$cb; //@line 206 "../src/h264bsd_image.c"
 var $82=$picSize; //@line 206 "../src/h264bsd_image.c"
 var $83=($82<<6); //@line 206 "../src/h264bsd_image.c"
 var $84=(($81+$83)|0); //@line 206 "../src/h264bsd_image.c"
 $cr=$84; //@line 206 "../src/h264bsd_image.c"
 var $85=$picWidth; //@line 208 "../src/h264bsd_image.c"
 var $86=($85<<4); //@line 208 "../src/h264bsd_image.c"
 $picWidth=$86; //@line 208 "../src/h264bsd_image.c"
 $block=0; //@line 210 "../src/h264bsd_image.c"
 label=10;break; //@line 210 "../src/h264bsd_image.c"
 case 10: 
 var $88=$block; //@line 210 "../src/h264bsd_image.c"
 var $89=($88>>>0)<16; //@line 210 "../src/h264bsd_image.c"
 if($89){label=11;break;}else{label=26;break;} //@line 210 "../src/h264bsd_image.c"
 case 11: 
 var $91=$block; //@line 212 "../src/h264bsd_image.c"
 var $92=((2704+($91<<2))|0); //@line 212 "../src/h264bsd_image.c"
 var $93=((((HEAPU8[($92)])|(HEAPU8[((($92)+(1))|0)]<<8)|(HEAPU8[((($92)+(2))|0)]<<16)|(HEAPU8[((($92)+(3))|0)]<<24))|0)); //@line 212 "../src/h264bsd_image.c"
 $x=$93; //@line 212 "../src/h264bsd_image.c"
 var $94=$block; //@line 213 "../src/h264bsd_image.c"
 var $95=((2640+($94<<2))|0); //@line 213 "../src/h264bsd_image.c"
 var $96=((((HEAPU8[($95)])|(HEAPU8[((($95)+(1))|0)]<<8)|(HEAPU8[((($95)+(2))|0)]<<16)|(HEAPU8[((($95)+(3))|0)]<<24))|0)); //@line 213 "../src/h264bsd_image.c"
 $y=$96; //@line 213 "../src/h264bsd_image.c"
 var $97=$block; //@line 215 "../src/h264bsd_image.c"
 var $98=$4; //@line 215 "../src/h264bsd_image.c"
 var $99=(($98+($97<<6))|0); //@line 215 "../src/h264bsd_image.c"
 var $100=(($99)|0); //@line 215 "../src/h264bsd_image.c"
 $pRes=$100; //@line 215 "../src/h264bsd_image.c"
 var $101=$pRes; //@line 217 "../src/h264bsd_image.c"
 var $102=($101|0)!=0; //@line 217 "../src/h264bsd_image.c"
 if($102){var $106=1;label=13;break;}else{label=12;break;} //@line 217 "../src/h264bsd_image.c"
 case 12: 
 ___assert_fail(5112,9480,217,12560); //@line 217 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 217 "../src/h264bsd_image.c"
 label=13;break; //@line 217 "../src/h264bsd_image.c"
 case 13: 
 var $106;
 var $107=($106&1); //@line 217 "../src/h264bsd_image.c"
 var $108=$3; //@line 219 "../src/h264bsd_image.c"
 var $109=$y; //@line 219 "../src/h264bsd_image.c"
 var $110=($109<<4); //@line 219 "../src/h264bsd_image.c"
 var $111=(($108+$110)|0); //@line 219 "../src/h264bsd_image.c"
 var $112=$x; //@line 219 "../src/h264bsd_image.c"
 var $113=(($111+$112)|0); //@line 219 "../src/h264bsd_image.c"
 $tmp=$113; //@line 219 "../src/h264bsd_image.c"
 var $114=$lum; //@line 220 "../src/h264bsd_image.c"
 var $115=$y; //@line 220 "../src/h264bsd_image.c"
 var $116=$picWidth; //@line 220 "../src/h264bsd_image.c"
 var $117=(Math_imul($115,$116)|0); //@line 220 "../src/h264bsd_image.c"
 var $118=(($114+$117)|0); //@line 220 "../src/h264bsd_image.c"
 var $119=$x; //@line 220 "../src/h264bsd_image.c"
 var $120=(($118+$119)|0); //@line 220 "../src/h264bsd_image.c"
 $imageBlock=$120; //@line 220 "../src/h264bsd_image.c"
 var $121=$tmp; //@line 222 "../src/h264bsd_image.c"
 var $122=$121; //@line 222 "../src/h264bsd_image.c"
 var $123=$122&3; //@line 222 "../src/h264bsd_image.c"
 var $124=($123|0)!=0; //@line 222 "../src/h264bsd_image.c"
 if($124){label=14;break;}else{var $128=1;label=15;break;} //@line 222 "../src/h264bsd_image.c"
 case 14: 
 ___assert_fail(4736,9480,222,12560); //@line 222 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 222 "../src/h264bsd_image.c"
 label=15;break; //@line 222 "../src/h264bsd_image.c"
 case 15: 
 var $128;
 var $129=($128&1); //@line 222 "../src/h264bsd_image.c"
 var $130=$imageBlock; //@line 223 "../src/h264bsd_image.c"
 var $131=$130; //@line 223 "../src/h264bsd_image.c"
 var $132=$131&3; //@line 223 "../src/h264bsd_image.c"
 var $133=($132|0)!=0; //@line 223 "../src/h264bsd_image.c"
 if($133){label=16;break;}else{var $137=1;label=17;break;} //@line 223 "../src/h264bsd_image.c"
 case 16: 
 ___assert_fail(12480,9480,223,12560); //@line 223 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 223 "../src/h264bsd_image.c"
 label=17;break; //@line 223 "../src/h264bsd_image.c"
 case 17: 
 var $137;
 var $138=($137&1); //@line 223 "../src/h264bsd_image.c"
 var $139=$pRes; //@line 225 "../src/h264bsd_image.c"
 var $140=(($139)|0); //@line 225 "../src/h264bsd_image.c"
 var $141=HEAP32[(($140)>>2)]; //@line 225 "../src/h264bsd_image.c"
 var $142=($141|0)==16777215; //@line 225 "../src/h264bsd_image.c"
 if($142){label=18;break;}else{label=19;break;} //@line 225 "../src/h264bsd_image.c"
 case 18: 
 var $144=$tmp; //@line 228 "../src/h264bsd_image.c"
 var $145=$144; //@line 228 "../src/h264bsd_image.c"
 $in32=$145; //@line 228 "../src/h264bsd_image.c"
 var $146=$imageBlock; //@line 229 "../src/h264bsd_image.c"
 var $147=$146; //@line 229 "../src/h264bsd_image.c"
 $out32=$147; //@line 229 "../src/h264bsd_image.c"
 var $148=$in32; //@line 232 "../src/h264bsd_image.c"
 var $149=HEAP32[(($148)>>2)]; //@line 232 "../src/h264bsd_image.c"
 $tmp1=$149; //@line 232 "../src/h264bsd_image.c"
 var $150=$in32; //@line 232 "../src/h264bsd_image.c"
 var $151=(($150+16)|0); //@line 232 "../src/h264bsd_image.c"
 $in32=$151; //@line 232 "../src/h264bsd_image.c"
 var $152=$in32; //@line 233 "../src/h264bsd_image.c"
 var $153=HEAP32[(($152)>>2)]; //@line 233 "../src/h264bsd_image.c"
 $tmp2=$153; //@line 233 "../src/h264bsd_image.c"
 var $154=$in32; //@line 233 "../src/h264bsd_image.c"
 var $155=(($154+16)|0); //@line 233 "../src/h264bsd_image.c"
 $in32=$155; //@line 233 "../src/h264bsd_image.c"
 var $156=$tmp1; //@line 234 "../src/h264bsd_image.c"
 var $157=$out32; //@line 234 "../src/h264bsd_image.c"
 HEAP32[(($157)>>2)]=$156; //@line 234 "../src/h264bsd_image.c"
 var $158=$picWidth; //@line 234 "../src/h264bsd_image.c"
 var $159=(((($158>>>0))/(4))&-1); //@line 234 "../src/h264bsd_image.c"
 var $160=$out32; //@line 234 "../src/h264bsd_image.c"
 var $161=(($160+($159<<2))|0); //@line 234 "../src/h264bsd_image.c"
 $out32=$161; //@line 234 "../src/h264bsd_image.c"
 var $162=$tmp2; //@line 235 "../src/h264bsd_image.c"
 var $163=$out32; //@line 235 "../src/h264bsd_image.c"
 HEAP32[(($163)>>2)]=$162; //@line 235 "../src/h264bsd_image.c"
 var $164=$picWidth; //@line 235 "../src/h264bsd_image.c"
 var $165=(((($164>>>0))/(4))&-1); //@line 235 "../src/h264bsd_image.c"
 var $166=$out32; //@line 235 "../src/h264bsd_image.c"
 var $167=(($166+($165<<2))|0); //@line 235 "../src/h264bsd_image.c"
 $out32=$167; //@line 235 "../src/h264bsd_image.c"
 var $168=$in32; //@line 236 "../src/h264bsd_image.c"
 var $169=HEAP32[(($168)>>2)]; //@line 236 "../src/h264bsd_image.c"
 $tmp1=$169; //@line 236 "../src/h264bsd_image.c"
 var $170=$in32; //@line 236 "../src/h264bsd_image.c"
 var $171=(($170+16)|0); //@line 236 "../src/h264bsd_image.c"
 $in32=$171; //@line 236 "../src/h264bsd_image.c"
 var $172=$in32; //@line 237 "../src/h264bsd_image.c"
 var $173=HEAP32[(($172)>>2)]; //@line 237 "../src/h264bsd_image.c"
 $tmp2=$173; //@line 237 "../src/h264bsd_image.c"
 var $174=$tmp1; //@line 238 "../src/h264bsd_image.c"
 var $175=$out32; //@line 238 "../src/h264bsd_image.c"
 HEAP32[(($175)>>2)]=$174; //@line 238 "../src/h264bsd_image.c"
 var $176=$picWidth; //@line 238 "../src/h264bsd_image.c"
 var $177=(((($176>>>0))/(4))&-1); //@line 238 "../src/h264bsd_image.c"
 var $178=$out32; //@line 238 "../src/h264bsd_image.c"
 var $179=(($178+($177<<2))|0); //@line 238 "../src/h264bsd_image.c"
 $out32=$179; //@line 238 "../src/h264bsd_image.c"
 var $180=$tmp2; //@line 239 "../src/h264bsd_image.c"
 var $181=$out32; //@line 239 "../src/h264bsd_image.c"
 HEAP32[(($181)>>2)]=$180; //@line 239 "../src/h264bsd_image.c"
 label=24;break; //@line 240 "../src/h264bsd_image.c"
 case 19: 
 $i=4; //@line 248 "../src/h264bsd_image.c"
 label=20;break; //@line 248 "../src/h264bsd_image.c"
 case 20: 
 var $184=$i; //@line 248 "../src/h264bsd_image.c"
 var $185=($184|0)!=0; //@line 248 "../src/h264bsd_image.c"
 if($185){label=21;break;}else{label=23;break;} //@line 248 "../src/h264bsd_image.c"
 case 21: 
 var $187=$tmp; //@line 250 "../src/h264bsd_image.c"
 var $188=(($187)|0); //@line 250 "../src/h264bsd_image.c"
 var $189=HEAP8[($188)]; //@line 250 "../src/h264bsd_image.c"
 var $190=($189&255); //@line 250 "../src/h264bsd_image.c"
 $tmp1=$190; //@line 250 "../src/h264bsd_image.c"
 var $191=$pRes; //@line 251 "../src/h264bsd_image.c"
 var $192=(($191+4)|0); //@line 251 "../src/h264bsd_image.c"
 $pRes=$192; //@line 251 "../src/h264bsd_image.c"
 var $193=HEAP32[(($191)>>2)]; //@line 251 "../src/h264bsd_image.c"
 $tmp2=$193; //@line 251 "../src/h264bsd_image.c"
 var $194=$tmp; //@line 252 "../src/h264bsd_image.c"
 var $195=(($194+1)|0); //@line 252 "../src/h264bsd_image.c"
 var $196=HEAP8[($195)]; //@line 252 "../src/h264bsd_image.c"
 var $197=($196&255); //@line 252 "../src/h264bsd_image.c"
 $tmp3=$197; //@line 252 "../src/h264bsd_image.c"
 var $198=$tmp1; //@line 253 "../src/h264bsd_image.c"
 var $199=$tmp2; //@line 253 "../src/h264bsd_image.c"
 var $200=((($198)+($199))|0); //@line 253 "../src/h264bsd_image.c"
 var $201=$clp; //@line 253 "../src/h264bsd_image.c"
 var $202=(($201+$200)|0); //@line 253 "../src/h264bsd_image.c"
 var $203=HEAP8[($202)]; //@line 253 "../src/h264bsd_image.c"
 var $204=($203&255); //@line 253 "../src/h264bsd_image.c"
 $tmp1=$204; //@line 253 "../src/h264bsd_image.c"
 var $205=$pRes; //@line 254 "../src/h264bsd_image.c"
 var $206=(($205+4)|0); //@line 254 "../src/h264bsd_image.c"
 $pRes=$206; //@line 254 "../src/h264bsd_image.c"
 var $207=HEAP32[(($205)>>2)]; //@line 254 "../src/h264bsd_image.c"
 $tmp4=$207; //@line 254 "../src/h264bsd_image.c"
 var $208=$tmp1; //@line 255 "../src/h264bsd_image.c"
 var $209=(($208)&255); //@line 255 "../src/h264bsd_image.c"
 var $210=$imageBlock; //@line 255 "../src/h264bsd_image.c"
 var $211=(($210)|0); //@line 255 "../src/h264bsd_image.c"
 HEAP8[($211)]=$209; //@line 255 "../src/h264bsd_image.c"
 var $212=$tmp3; //@line 256 "../src/h264bsd_image.c"
 var $213=$tmp4; //@line 256 "../src/h264bsd_image.c"
 var $214=((($212)+($213))|0); //@line 256 "../src/h264bsd_image.c"
 var $215=$clp; //@line 256 "../src/h264bsd_image.c"
 var $216=(($215+$214)|0); //@line 256 "../src/h264bsd_image.c"
 var $217=HEAP8[($216)]; //@line 256 "../src/h264bsd_image.c"
 var $218=($217&255); //@line 256 "../src/h264bsd_image.c"
 $tmp3=$218; //@line 256 "../src/h264bsd_image.c"
 var $219=$tmp; //@line 257 "../src/h264bsd_image.c"
 var $220=(($219+2)|0); //@line 257 "../src/h264bsd_image.c"
 var $221=HEAP8[($220)]; //@line 257 "../src/h264bsd_image.c"
 var $222=($221&255); //@line 257 "../src/h264bsd_image.c"
 $tmp1=$222; //@line 257 "../src/h264bsd_image.c"
 var $223=$pRes; //@line 258 "../src/h264bsd_image.c"
 var $224=(($223+4)|0); //@line 258 "../src/h264bsd_image.c"
 $pRes=$224; //@line 258 "../src/h264bsd_image.c"
 var $225=HEAP32[(($223)>>2)]; //@line 258 "../src/h264bsd_image.c"
 $tmp2=$225; //@line 258 "../src/h264bsd_image.c"
 var $226=$tmp3; //@line 259 "../src/h264bsd_image.c"
 var $227=(($226)&255); //@line 259 "../src/h264bsd_image.c"
 var $228=$imageBlock; //@line 259 "../src/h264bsd_image.c"
 var $229=(($228+1)|0); //@line 259 "../src/h264bsd_image.c"
 HEAP8[($229)]=$227; //@line 259 "../src/h264bsd_image.c"
 var $230=$tmp1; //@line 260 "../src/h264bsd_image.c"
 var $231=$tmp2; //@line 260 "../src/h264bsd_image.c"
 var $232=((($230)+($231))|0); //@line 260 "../src/h264bsd_image.c"
 var $233=$clp; //@line 260 "../src/h264bsd_image.c"
 var $234=(($233+$232)|0); //@line 260 "../src/h264bsd_image.c"
 var $235=HEAP8[($234)]; //@line 260 "../src/h264bsd_image.c"
 var $236=($235&255); //@line 260 "../src/h264bsd_image.c"
 $tmp1=$236; //@line 260 "../src/h264bsd_image.c"
 var $237=$tmp; //@line 261 "../src/h264bsd_image.c"
 var $238=(($237+3)|0); //@line 261 "../src/h264bsd_image.c"
 var $239=HEAP8[($238)]; //@line 261 "../src/h264bsd_image.c"
 var $240=($239&255); //@line 261 "../src/h264bsd_image.c"
 $tmp3=$240; //@line 261 "../src/h264bsd_image.c"
 var $241=$pRes; //@line 262 "../src/h264bsd_image.c"
 var $242=(($241+4)|0); //@line 262 "../src/h264bsd_image.c"
 $pRes=$242; //@line 262 "../src/h264bsd_image.c"
 var $243=HEAP32[(($241)>>2)]; //@line 262 "../src/h264bsd_image.c"
 $tmp4=$243; //@line 262 "../src/h264bsd_image.c"
 var $244=$tmp1; //@line 263 "../src/h264bsd_image.c"
 var $245=(($244)&255); //@line 263 "../src/h264bsd_image.c"
 var $246=$imageBlock; //@line 263 "../src/h264bsd_image.c"
 var $247=(($246+2)|0); //@line 263 "../src/h264bsd_image.c"
 HEAP8[($247)]=$245; //@line 263 "../src/h264bsd_image.c"
 var $248=$tmp3; //@line 264 "../src/h264bsd_image.c"
 var $249=$tmp4; //@line 264 "../src/h264bsd_image.c"
 var $250=((($248)+($249))|0); //@line 264 "../src/h264bsd_image.c"
 var $251=$clp; //@line 264 "../src/h264bsd_image.c"
 var $252=(($251+$250)|0); //@line 264 "../src/h264bsd_image.c"
 var $253=HEAP8[($252)]; //@line 264 "../src/h264bsd_image.c"
 var $254=($253&255); //@line 264 "../src/h264bsd_image.c"
 $tmp3=$254; //@line 264 "../src/h264bsd_image.c"
 var $255=$tmp; //@line 265 "../src/h264bsd_image.c"
 var $256=(($255+16)|0); //@line 265 "../src/h264bsd_image.c"
 $tmp=$256; //@line 265 "../src/h264bsd_image.c"
 var $257=$tmp3; //@line 266 "../src/h264bsd_image.c"
 var $258=(($257)&255); //@line 266 "../src/h264bsd_image.c"
 var $259=$imageBlock; //@line 266 "../src/h264bsd_image.c"
 var $260=(($259+3)|0); //@line 266 "../src/h264bsd_image.c"
 HEAP8[($260)]=$258; //@line 266 "../src/h264bsd_image.c"
 var $261=$picWidth; //@line 267 "../src/h264bsd_image.c"
 var $262=$imageBlock; //@line 267 "../src/h264bsd_image.c"
 var $263=(($262+$261)|0); //@line 267 "../src/h264bsd_image.c"
 $imageBlock=$263; //@line 267 "../src/h264bsd_image.c"
 label=22;break; //@line 268 "../src/h264bsd_image.c"
 case 22: 
 var $265=$i; //@line 248 "../src/h264bsd_image.c"
 var $266=((($265)-(1))|0); //@line 248 "../src/h264bsd_image.c"
 $i=$266; //@line 248 "../src/h264bsd_image.c"
 label=20;break; //@line 248 "../src/h264bsd_image.c"
 case 23: 
 label=24;break;
 case 24: 
 label=25;break; //@line 271 "../src/h264bsd_image.c"
 case 25: 
 var $270=$block; //@line 210 "../src/h264bsd_image.c"
 var $271=((($270)+(1))|0); //@line 210 "../src/h264bsd_image.c"
 $block=$271; //@line 210 "../src/h264bsd_image.c"
 label=10;break; //@line 210 "../src/h264bsd_image.c"
 case 26: 
 var $273=$picWidth; //@line 273 "../src/h264bsd_image.c"
 var $274=(((($273>>>0))/(2))&-1); //@line 273 "../src/h264bsd_image.c"
 $picWidth=$274; //@line 273 "../src/h264bsd_image.c"
 $block=16; //@line 275 "../src/h264bsd_image.c"
 label=27;break; //@line 275 "../src/h264bsd_image.c"
 case 27: 
 var $276=$block; //@line 275 "../src/h264bsd_image.c"
 var $277=($276>>>0)<=23; //@line 275 "../src/h264bsd_image.c"
 if($277){label=28;break;}else{label=45;break;} //@line 275 "../src/h264bsd_image.c"
 case 28: 
 var $279=$block; //@line 277 "../src/h264bsd_image.c"
 var $280=$279&3; //@line 277 "../src/h264bsd_image.c"
 var $281=((2704+($280<<2))|0); //@line 277 "../src/h264bsd_image.c"
 var $282=((((HEAPU8[($281)])|(HEAPU8[((($281)+(1))|0)]<<8)|(HEAPU8[((($281)+(2))|0)]<<16)|(HEAPU8[((($281)+(3))|0)]<<24))|0)); //@line 277 "../src/h264bsd_image.c"
 $x=$282; //@line 277 "../src/h264bsd_image.c"
 var $283=$block; //@line 278 "../src/h264bsd_image.c"
 var $284=$283&3; //@line 278 "../src/h264bsd_image.c"
 var $285=((2640+($284<<2))|0); //@line 278 "../src/h264bsd_image.c"
 var $286=((((HEAPU8[($285)])|(HEAPU8[((($285)+(1))|0)]<<8)|(HEAPU8[((($285)+(2))|0)]<<16)|(HEAPU8[((($285)+(3))|0)]<<24))|0)); //@line 278 "../src/h264bsd_image.c"
 $y=$286; //@line 278 "../src/h264bsd_image.c"
 var $287=$block; //@line 280 "../src/h264bsd_image.c"
 var $288=$4; //@line 280 "../src/h264bsd_image.c"
 var $289=(($288+($287<<6))|0); //@line 280 "../src/h264bsd_image.c"
 var $290=(($289)|0); //@line 280 "../src/h264bsd_image.c"
 $pRes=$290; //@line 280 "../src/h264bsd_image.c"
 var $291=$pRes; //@line 282 "../src/h264bsd_image.c"
 var $292=($291|0)!=0; //@line 282 "../src/h264bsd_image.c"
 if($292){var $296=1;label=30;break;}else{label=29;break;} //@line 282 "../src/h264bsd_image.c"
 case 29: 
 ___assert_fail(5112,9480,282,12560); //@line 282 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 282 "../src/h264bsd_image.c"
 label=30;break; //@line 282 "../src/h264bsd_image.c"
 case 30: 
 var $296;
 var $297=($296&1); //@line 282 "../src/h264bsd_image.c"
 var $298=$3; //@line 284 "../src/h264bsd_image.c"
 var $299=(($298+256)|0); //@line 284 "../src/h264bsd_image.c"
 $tmp=$299; //@line 284 "../src/h264bsd_image.c"
 var $300=$cb; //@line 285 "../src/h264bsd_image.c"
 $imageBlock=$300; //@line 285 "../src/h264bsd_image.c"
 var $301=$block; //@line 287 "../src/h264bsd_image.c"
 var $302=($301>>>0)>=20; //@line 287 "../src/h264bsd_image.c"
 if($302){label=31;break;}else{label=32;break;} //@line 287 "../src/h264bsd_image.c"
 case 31: 
 var $304=$cr; //@line 289 "../src/h264bsd_image.c"
 $imageBlock=$304; //@line 289 "../src/h264bsd_image.c"
 var $305=$tmp; //@line 290 "../src/h264bsd_image.c"
 var $306=(($305+64)|0); //@line 290 "../src/h264bsd_image.c"
 $tmp=$306; //@line 290 "../src/h264bsd_image.c"
 label=32;break; //@line 291 "../src/h264bsd_image.c"
 case 32: 
 var $308=$y; //@line 293 "../src/h264bsd_image.c"
 var $309=($308<<3); //@line 293 "../src/h264bsd_image.c"
 var $310=$x; //@line 293 "../src/h264bsd_image.c"
 var $311=((($309)+($310))|0); //@line 293 "../src/h264bsd_image.c"
 var $312=$tmp; //@line 293 "../src/h264bsd_image.c"
 var $313=(($312+$311)|0); //@line 293 "../src/h264bsd_image.c"
 $tmp=$313; //@line 293 "../src/h264bsd_image.c"
 var $314=$y; //@line 294 "../src/h264bsd_image.c"
 var $315=$picWidth; //@line 294 "../src/h264bsd_image.c"
 var $316=(Math_imul($314,$315)|0); //@line 294 "../src/h264bsd_image.c"
 var $317=$x; //@line 294 "../src/h264bsd_image.c"
 var $318=((($316)+($317))|0); //@line 294 "../src/h264bsd_image.c"
 var $319=$imageBlock; //@line 294 "../src/h264bsd_image.c"
 var $320=(($319+$318)|0); //@line 294 "../src/h264bsd_image.c"
 $imageBlock=$320; //@line 294 "../src/h264bsd_image.c"
 var $321=$tmp; //@line 296 "../src/h264bsd_image.c"
 var $322=$321; //@line 296 "../src/h264bsd_image.c"
 var $323=$322&3; //@line 296 "../src/h264bsd_image.c"
 var $324=($323|0)!=0; //@line 296 "../src/h264bsd_image.c"
 if($324){label=33;break;}else{var $328=1;label=34;break;} //@line 296 "../src/h264bsd_image.c"
 case 33: 
 ___assert_fail(4736,9480,296,12560); //@line 296 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 296 "../src/h264bsd_image.c"
 label=34;break; //@line 296 "../src/h264bsd_image.c"
 case 34: 
 var $328;
 var $329=($328&1); //@line 296 "../src/h264bsd_image.c"
 var $330=$imageBlock; //@line 297 "../src/h264bsd_image.c"
 var $331=$330; //@line 297 "../src/h264bsd_image.c"
 var $332=$331&3; //@line 297 "../src/h264bsd_image.c"
 var $333=($332|0)!=0; //@line 297 "../src/h264bsd_image.c"
 if($333){label=35;break;}else{var $337=1;label=36;break;} //@line 297 "../src/h264bsd_image.c"
 case 35: 
 ___assert_fail(12480,9480,297,12560); //@line 297 "../src/h264bsd_image.c"
 throw "Reached an unreachable!"; //@line 297 "../src/h264bsd_image.c"
 label=36;break; //@line 297 "../src/h264bsd_image.c"
 case 36: 
 var $337;
 var $338=($337&1); //@line 297 "../src/h264bsd_image.c"
 var $339=$pRes; //@line 299 "../src/h264bsd_image.c"
 var $340=(($339)|0); //@line 299 "../src/h264bsd_image.c"
 var $341=HEAP32[(($340)>>2)]; //@line 299 "../src/h264bsd_image.c"
 var $342=($341|0)==16777215; //@line 299 "../src/h264bsd_image.c"
 if($342){label=37;break;}else{label=38;break;} //@line 299 "../src/h264bsd_image.c"
 case 37: 
 var $344=$tmp; //@line 302 "../src/h264bsd_image.c"
 var $345=$344; //@line 302 "../src/h264bsd_image.c"
 $in321=$345; //@line 302 "../src/h264bsd_image.c"
 var $346=$imageBlock; //@line 303 "../src/h264bsd_image.c"
 var $347=$346; //@line 303 "../src/h264bsd_image.c"
 $out322=$347; //@line 303 "../src/h264bsd_image.c"
 var $348=$in321; //@line 306 "../src/h264bsd_image.c"
 var $349=HEAP32[(($348)>>2)]; //@line 306 "../src/h264bsd_image.c"
 $tmp1=$349; //@line 306 "../src/h264bsd_image.c"
 var $350=$in321; //@line 306 "../src/h264bsd_image.c"
 var $351=(($350+8)|0); //@line 306 "../src/h264bsd_image.c"
 $in321=$351; //@line 306 "../src/h264bsd_image.c"
 var $352=$in321; //@line 307 "../src/h264bsd_image.c"
 var $353=HEAP32[(($352)>>2)]; //@line 307 "../src/h264bsd_image.c"
 $tmp2=$353; //@line 307 "../src/h264bsd_image.c"
 var $354=$in321; //@line 307 "../src/h264bsd_image.c"
 var $355=(($354+8)|0); //@line 307 "../src/h264bsd_image.c"
 $in321=$355; //@line 307 "../src/h264bsd_image.c"
 var $356=$tmp1; //@line 308 "../src/h264bsd_image.c"
 var $357=$out322; //@line 308 "../src/h264bsd_image.c"
 HEAP32[(($357)>>2)]=$356; //@line 308 "../src/h264bsd_image.c"
 var $358=$picWidth; //@line 308 "../src/h264bsd_image.c"
 var $359=(((($358>>>0))/(4))&-1); //@line 308 "../src/h264bsd_image.c"
 var $360=$out322; //@line 308 "../src/h264bsd_image.c"
 var $361=(($360+($359<<2))|0); //@line 308 "../src/h264bsd_image.c"
 $out322=$361; //@line 308 "../src/h264bsd_image.c"
 var $362=$tmp2; //@line 309 "../src/h264bsd_image.c"
 var $363=$out322; //@line 309 "../src/h264bsd_image.c"
 HEAP32[(($363)>>2)]=$362; //@line 309 "../src/h264bsd_image.c"
 var $364=$picWidth; //@line 309 "../src/h264bsd_image.c"
 var $365=(((($364>>>0))/(4))&-1); //@line 309 "../src/h264bsd_image.c"
 var $366=$out322; //@line 309 "../src/h264bsd_image.c"
 var $367=(($366+($365<<2))|0); //@line 309 "../src/h264bsd_image.c"
 $out322=$367; //@line 309 "../src/h264bsd_image.c"
 var $368=$in321; //@line 310 "../src/h264bsd_image.c"
 var $369=HEAP32[(($368)>>2)]; //@line 310 "../src/h264bsd_image.c"
 $tmp1=$369; //@line 310 "../src/h264bsd_image.c"
 var $370=$in321; //@line 310 "../src/h264bsd_image.c"
 var $371=(($370+8)|0); //@line 310 "../src/h264bsd_image.c"
 $in321=$371; //@line 310 "../src/h264bsd_image.c"
 var $372=$in321; //@line 311 "../src/h264bsd_image.c"
 var $373=HEAP32[(($372)>>2)]; //@line 311 "../src/h264bsd_image.c"
 $tmp2=$373; //@line 311 "../src/h264bsd_image.c"
 var $374=$tmp1; //@line 312 "../src/h264bsd_image.c"
 var $375=$out322; //@line 312 "../src/h264bsd_image.c"
 HEAP32[(($375)>>2)]=$374; //@line 312 "../src/h264bsd_image.c"
 var $376=$picWidth; //@line 312 "../src/h264bsd_image.c"
 var $377=(((($376>>>0))/(4))&-1); //@line 312 "../src/h264bsd_image.c"
 var $378=$out322; //@line 312 "../src/h264bsd_image.c"
 var $379=(($378+($377<<2))|0); //@line 312 "../src/h264bsd_image.c"
 $out322=$379; //@line 312 "../src/h264bsd_image.c"
 var $380=$tmp2; //@line 313 "../src/h264bsd_image.c"
 var $381=$out322; //@line 313 "../src/h264bsd_image.c"
 HEAP32[(($381)>>2)]=$380; //@line 313 "../src/h264bsd_image.c"
 label=43;break; //@line 314 "../src/h264bsd_image.c"
 case 38: 
 $i=4; //@line 320 "../src/h264bsd_image.c"
 label=39;break; //@line 320 "../src/h264bsd_image.c"
 case 39: 
 var $384=$i; //@line 320 "../src/h264bsd_image.c"
 var $385=($384|0)!=0; //@line 320 "../src/h264bsd_image.c"
 if($385){label=40;break;}else{label=42;break;} //@line 320 "../src/h264bsd_image.c"
 case 40: 
 var $387=$tmp; //@line 322 "../src/h264bsd_image.c"
 var $388=(($387)|0); //@line 322 "../src/h264bsd_image.c"
 var $389=HEAP8[($388)]; //@line 322 "../src/h264bsd_image.c"
 var $390=($389&255); //@line 322 "../src/h264bsd_image.c"
 $tmp1=$390; //@line 322 "../src/h264bsd_image.c"
 var $391=$pRes; //@line 323 "../src/h264bsd_image.c"
 var $392=(($391+4)|0); //@line 323 "../src/h264bsd_image.c"
 $pRes=$392; //@line 323 "../src/h264bsd_image.c"
 var $393=HEAP32[(($391)>>2)]; //@line 323 "../src/h264bsd_image.c"
 $tmp2=$393; //@line 323 "../src/h264bsd_image.c"
 var $394=$tmp; //@line 324 "../src/h264bsd_image.c"
 var $395=(($394+1)|0); //@line 324 "../src/h264bsd_image.c"
 var $396=HEAP8[($395)]; //@line 324 "../src/h264bsd_image.c"
 var $397=($396&255); //@line 324 "../src/h264bsd_image.c"
 $tmp3=$397; //@line 324 "../src/h264bsd_image.c"
 var $398=$tmp1; //@line 325 "../src/h264bsd_image.c"
 var $399=$tmp2; //@line 325 "../src/h264bsd_image.c"
 var $400=((($398)+($399))|0); //@line 325 "../src/h264bsd_image.c"
 var $401=$clp; //@line 325 "../src/h264bsd_image.c"
 var $402=(($401+$400)|0); //@line 325 "../src/h264bsd_image.c"
 var $403=HEAP8[($402)]; //@line 325 "../src/h264bsd_image.c"
 var $404=($403&255); //@line 325 "../src/h264bsd_image.c"
 $tmp1=$404; //@line 325 "../src/h264bsd_image.c"
 var $405=$pRes; //@line 326 "../src/h264bsd_image.c"
 var $406=(($405+4)|0); //@line 326 "../src/h264bsd_image.c"
 $pRes=$406; //@line 326 "../src/h264bsd_image.c"
 var $407=HEAP32[(($405)>>2)]; //@line 326 "../src/h264bsd_image.c"
 $tmp4=$407; //@line 326 "../src/h264bsd_image.c"
 var $408=$tmp1; //@line 327 "../src/h264bsd_image.c"
 var $409=(($408)&255); //@line 327 "../src/h264bsd_image.c"
 var $410=$imageBlock; //@line 327 "../src/h264bsd_image.c"
 var $411=(($410)|0); //@line 327 "../src/h264bsd_image.c"
 HEAP8[($411)]=$409; //@line 327 "../src/h264bsd_image.c"
 var $412=$tmp3; //@line 328 "../src/h264bsd_image.c"
 var $413=$tmp4; //@line 328 "../src/h264bsd_image.c"
 var $414=((($412)+($413))|0); //@line 328 "../src/h264bsd_image.c"
 var $415=$clp; //@line 328 "../src/h264bsd_image.c"
 var $416=(($415+$414)|0); //@line 328 "../src/h264bsd_image.c"
 var $417=HEAP8[($416)]; //@line 328 "../src/h264bsd_image.c"
 var $418=($417&255); //@line 328 "../src/h264bsd_image.c"
 $tmp3=$418; //@line 328 "../src/h264bsd_image.c"
 var $419=$tmp; //@line 329 "../src/h264bsd_image.c"
 var $420=(($419+2)|0); //@line 329 "../src/h264bsd_image.c"
 var $421=HEAP8[($420)]; //@line 329 "../src/h264bsd_image.c"
 var $422=($421&255); //@line 329 "../src/h264bsd_image.c"
 $tmp1=$422; //@line 329 "../src/h264bsd_image.c"
 var $423=$pRes; //@line 330 "../src/h264bsd_image.c"
 var $424=(($423+4)|0); //@line 330 "../src/h264bsd_image.c"
 $pRes=$424; //@line 330 "../src/h264bsd_image.c"
 var $425=HEAP32[(($423)>>2)]; //@line 330 "../src/h264bsd_image.c"
 $tmp2=$425; //@line 330 "../src/h264bsd_image.c"
 var $426=$tmp3; //@line 331 "../src/h264bsd_image.c"
 var $427=(($426)&255); //@line 331 "../src/h264bsd_image.c"
 var $428=$imageBlock; //@line 331 "../src/h264bsd_image.c"
 var $429=(($428+1)|0); //@line 331 "../src/h264bsd_image.c"
 HEAP8[($429)]=$427; //@line 331 "../src/h264bsd_image.c"
 var $430=$tmp1; //@line 332 "../src/h264bsd_image.c"
 var $431=$tmp2; //@line 332 "../src/h264bsd_image.c"
 var $432=((($430)+($431))|0); //@line 332 "../src/h264bsd_image.c"
 var $433=$clp; //@line 332 "../src/h264bsd_image.c"
 var $434=(($433+$432)|0); //@line 332 "../src/h264bsd_image.c"
 var $435=HEAP8[($434)]; //@line 332 "../src/h264bsd_image.c"
 var $436=($435&255); //@line 332 "../src/h264bsd_image.c"
 $tmp1=$436; //@line 332 "../src/h264bsd_image.c"
 var $437=$tmp; //@line 333 "../src/h264bsd_image.c"
 var $438=(($437+3)|0); //@line 333 "../src/h264bsd_image.c"
 var $439=HEAP8[($438)]; //@line 333 "../src/h264bsd_image.c"
 var $440=($439&255); //@line 333 "../src/h264bsd_image.c"
 $tmp3=$440; //@line 333 "../src/h264bsd_image.c"
 var $441=$pRes; //@line 334 "../src/h264bsd_image.c"
 var $442=(($441+4)|0); //@line 334 "../src/h264bsd_image.c"
 $pRes=$442; //@line 334 "../src/h264bsd_image.c"
 var $443=HEAP32[(($441)>>2)]; //@line 334 "../src/h264bsd_image.c"
 $tmp4=$443; //@line 334 "../src/h264bsd_image.c"
 var $444=$tmp1; //@line 335 "../src/h264bsd_image.c"
 var $445=(($444)&255); //@line 335 "../src/h264bsd_image.c"
 var $446=$imageBlock; //@line 335 "../src/h264bsd_image.c"
 var $447=(($446+2)|0); //@line 335 "../src/h264bsd_image.c"
 HEAP8[($447)]=$445; //@line 335 "../src/h264bsd_image.c"
 var $448=$tmp3; //@line 336 "../src/h264bsd_image.c"
 var $449=$tmp4; //@line 336 "../src/h264bsd_image.c"
 var $450=((($448)+($449))|0); //@line 336 "../src/h264bsd_image.c"
 var $451=$clp; //@line 336 "../src/h264bsd_image.c"
 var $452=(($451+$450)|0); //@line 336 "../src/h264bsd_image.c"
 var $453=HEAP8[($452)]; //@line 336 "../src/h264bsd_image.c"
 var $454=($453&255); //@line 336 "../src/h264bsd_image.c"
 $tmp3=$454; //@line 336 "../src/h264bsd_image.c"
 var $455=$tmp; //@line 337 "../src/h264bsd_image.c"
 var $456=(($455+8)|0); //@line 337 "../src/h264bsd_image.c"
 $tmp=$456; //@line 337 "../src/h264bsd_image.c"
 var $457=$tmp3; //@line 338 "../src/h264bsd_image.c"
 var $458=(($457)&255); //@line 338 "../src/h264bsd_image.c"
 var $459=$imageBlock; //@line 338 "../src/h264bsd_image.c"
 var $460=(($459+3)|0); //@line 338 "../src/h264bsd_image.c"
 HEAP8[($460)]=$458; //@line 338 "../src/h264bsd_image.c"
 var $461=$picWidth; //@line 339 "../src/h264bsd_image.c"
 var $462=$imageBlock; //@line 339 "../src/h264bsd_image.c"
 var $463=(($462+$461)|0); //@line 339 "../src/h264bsd_image.c"
 $imageBlock=$463; //@line 339 "../src/h264bsd_image.c"
 label=41;break; //@line 340 "../src/h264bsd_image.c"
 case 41: 
 var $465=$i; //@line 320 "../src/h264bsd_image.c"
 var $466=((($465)-(1))|0); //@line 320 "../src/h264bsd_image.c"
 $i=$466; //@line 320 "../src/h264bsd_image.c"
 label=39;break; //@line 320 "../src/h264bsd_image.c"
 case 42: 
 label=43;break;
 case 43: 
 label=44;break; //@line 342 "../src/h264bsd_image.c"
 case 44: 
 var $470=$block; //@line 275 "../src/h264bsd_image.c"
 var $471=((($470)+(1))|0); //@line 275 "../src/h264bsd_image.c"
 $block=$471; //@line 275 "../src/h264bsd_image.c"
 label=27;break; //@line 275 "../src/h264bsd_image.c"
 case 45: 
 STACKTOP=sp;return; //@line 344 "../src/h264bsd_image.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterPrediction($pMb,$pMbLayer,$dpb,$mbNum,$currImage,$data){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+24)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $i;
 var $x;
 var $y;
 var $row;
 var $col;
 var $subPartMode;
 var $refImage=sp;
 $2=$pMb;
 $3=$pMbLayer;
 $4=$dpb;
 $5=$mbNum;
 $6=$currImage;
 $7=$data;
 var $8=$2; //@line 375 "../src/h264bsd_inter_prediction.c"
 var $9=($8|0)!=0; //@line 375 "../src/h264bsd_inter_prediction.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 375 "../src/h264bsd_inter_prediction.c"
 case 2: 
 ___assert_fail(12224,12184,375,13752); //@line 375 "../src/h264bsd_inter_prediction.c"
 throw "Reached an unreachable!"; //@line 375 "../src/h264bsd_inter_prediction.c"
 label=3;break; //@line 375 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 375 "../src/h264bsd_inter_prediction.c"
 var $15=$2; //@line 376 "../src/h264bsd_inter_prediction.c"
 var $16=(($15)|0); //@line 376 "../src/h264bsd_inter_prediction.c"
 var $17=HEAP32[(($16)>>2)]; //@line 376 "../src/h264bsd_inter_prediction.c"
 var $18=_h264bsdMbPartPredMode($17); //@line 376 "../src/h264bsd_inter_prediction.c"
 var $19=($18|0)==2; //@line 376 "../src/h264bsd_inter_prediction.c"
 if($19){var $23=1;label=5;break;}else{label=4;break;} //@line 376 "../src/h264bsd_inter_prediction.c"
 case 4: 
 ___assert_fail(9288,12184,376,13752); //@line 376 "../src/h264bsd_inter_prediction.c"
 throw "Reached an unreachable!"; //@line 376 "../src/h264bsd_inter_prediction.c"
 label=5;break; //@line 376 "../src/h264bsd_inter_prediction.c"
 case 5: 
 var $23;
 var $24=($23&1); //@line 376 "../src/h264bsd_inter_prediction.c"
 var $25=$3; //@line 377 "../src/h264bsd_inter_prediction.c"
 var $26=($25|0)!=0; //@line 377 "../src/h264bsd_inter_prediction.c"
 if($26){var $30=1;label=7;break;}else{label=6;break;} //@line 377 "../src/h264bsd_inter_prediction.c"
 case 6: 
 ___assert_fail(8192,12184,377,13752); //@line 377 "../src/h264bsd_inter_prediction.c"
 throw "Reached an unreachable!"; //@line 377 "../src/h264bsd_inter_prediction.c"
 label=7;break; //@line 377 "../src/h264bsd_inter_prediction.c"
 case 7: 
 var $30;
 var $31=($30&1); //@line 377 "../src/h264bsd_inter_prediction.c"
 var $32=$5; //@line 379 "../src/h264bsd_inter_prediction.c"
 var $33=$6; //@line 379 "../src/h264bsd_inter_prediction.c"
 var $34=(($33+4)|0); //@line 379 "../src/h264bsd_inter_prediction.c"
 var $35=HEAP32[(($34)>>2)]; //@line 379 "../src/h264bsd_inter_prediction.c"
 var $36=(((($32>>>0))/(($35>>>0)))&-1); //@line 379 "../src/h264bsd_inter_prediction.c"
 $row=$36; //@line 379 "../src/h264bsd_inter_prediction.c"
 var $37=$5; //@line 380 "../src/h264bsd_inter_prediction.c"
 var $38=$row; //@line 380 "../src/h264bsd_inter_prediction.c"
 var $39=$6; //@line 380 "../src/h264bsd_inter_prediction.c"
 var $40=(($39+4)|0); //@line 380 "../src/h264bsd_inter_prediction.c"
 var $41=HEAP32[(($40)>>2)]; //@line 380 "../src/h264bsd_inter_prediction.c"
 var $42=(Math_imul($38,$41)|0); //@line 380 "../src/h264bsd_inter_prediction.c"
 var $43=((($37)-($42))|0); //@line 380 "../src/h264bsd_inter_prediction.c"
 $col=$43; //@line 380 "../src/h264bsd_inter_prediction.c"
 var $44=$row; //@line 381 "../src/h264bsd_inter_prediction.c"
 var $45=($44<<4); //@line 381 "../src/h264bsd_inter_prediction.c"
 $row=$45; //@line 381 "../src/h264bsd_inter_prediction.c"
 var $46=$col; //@line 382 "../src/h264bsd_inter_prediction.c"
 var $47=($46<<4); //@line 382 "../src/h264bsd_inter_prediction.c"
 $col=$47; //@line 382 "../src/h264bsd_inter_prediction.c"
 var $48=$6; //@line 384 "../src/h264bsd_inter_prediction.c"
 var $49=(($48+4)|0); //@line 384 "../src/h264bsd_inter_prediction.c"
 var $50=HEAP32[(($49)>>2)]; //@line 384 "../src/h264bsd_inter_prediction.c"
 var $51=(($refImage+4)|0); //@line 384 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($51)>>2)]=$50; //@line 384 "../src/h264bsd_inter_prediction.c"
 var $52=$6; //@line 385 "../src/h264bsd_inter_prediction.c"
 var $53=(($52+8)|0); //@line 385 "../src/h264bsd_inter_prediction.c"
 var $54=HEAP32[(($53)>>2)]; //@line 385 "../src/h264bsd_inter_prediction.c"
 var $55=(($refImage+8)|0); //@line 385 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($55)>>2)]=$54; //@line 385 "../src/h264bsd_inter_prediction.c"
 var $56=$2; //@line 387 "../src/h264bsd_inter_prediction.c"
 var $57=(($56)|0); //@line 387 "../src/h264bsd_inter_prediction.c"
 var $58=HEAP32[(($57)>>2)]; //@line 387 "../src/h264bsd_inter_prediction.c"
 if(($58|0)==2){ label=11;break;}else if(($58|0)==3){ label=14;break;}else if(($58|0)==0|($58|0)==1){ label=8;break;}else{label=17;break;}
 case 8: 
 var $60=$2; //@line 391 "../src/h264bsd_inter_prediction.c"
 var $61=$3; //@line 391 "../src/h264bsd_inter_prediction.c"
 var $62=(($61+12)|0); //@line 391 "../src/h264bsd_inter_prediction.c"
 var $63=$4; //@line 391 "../src/h264bsd_inter_prediction.c"
 var $64=_MvPrediction16x16($60,$62,$63); //@line 391 "../src/h264bsd_inter_prediction.c"
 var $65=($64|0)!=0; //@line 391 "../src/h264bsd_inter_prediction.c"
 if($65){label=9;break;}else{label=10;break;} //@line 391 "../src/h264bsd_inter_prediction.c"
 case 9: 
 $1=1; //@line 392 "../src/h264bsd_inter_prediction.c"
 label=35;break; //@line 392 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $68=$2; //@line 393 "../src/h264bsd_inter_prediction.c"
 var $69=(($68+116)|0); //@line 393 "../src/h264bsd_inter_prediction.c"
 var $70=(($69)|0); //@line 393 "../src/h264bsd_inter_prediction.c"
 var $71=HEAP32[(($70)>>2)]; //@line 393 "../src/h264bsd_inter_prediction.c"
 var $72=(($refImage)|0); //@line 393 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($72)>>2)]=$71; //@line 393 "../src/h264bsd_inter_prediction.c"
 var $73=$7; //@line 394 "../src/h264bsd_inter_prediction.c"
 var $74=$2; //@line 394 "../src/h264bsd_inter_prediction.c"
 var $75=(($74+132)|0); //@line 394 "../src/h264bsd_inter_prediction.c"
 var $76=(($75)|0); //@line 394 "../src/h264bsd_inter_prediction.c"
 var $77=$col; //@line 394 "../src/h264bsd_inter_prediction.c"
 var $78=$row; //@line 394 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($73,$76,$refImage,$77,$78,0,0,16,16); //@line 394 "../src/h264bsd_inter_prediction.c"
 label=29;break; //@line 396 "../src/h264bsd_inter_prediction.c"
 case 11: 
 var $80=$2; //@line 399 "../src/h264bsd_inter_prediction.c"
 var $81=$3; //@line 399 "../src/h264bsd_inter_prediction.c"
 var $82=(($81+12)|0); //@line 399 "../src/h264bsd_inter_prediction.c"
 var $83=$4; //@line 399 "../src/h264bsd_inter_prediction.c"
 var $84=_MvPrediction16x8($80,$82,$83); //@line 399 "../src/h264bsd_inter_prediction.c"
 var $85=($84|0)!=0; //@line 399 "../src/h264bsd_inter_prediction.c"
 if($85){label=12;break;}else{label=13;break;} //@line 399 "../src/h264bsd_inter_prediction.c"
 case 12: 
 $1=1; //@line 400 "../src/h264bsd_inter_prediction.c"
 label=35;break; //@line 400 "../src/h264bsd_inter_prediction.c"
 case 13: 
 var $88=$2; //@line 401 "../src/h264bsd_inter_prediction.c"
 var $89=(($88+116)|0); //@line 401 "../src/h264bsd_inter_prediction.c"
 var $90=(($89)|0); //@line 401 "../src/h264bsd_inter_prediction.c"
 var $91=HEAP32[(($90)>>2)]; //@line 401 "../src/h264bsd_inter_prediction.c"
 var $92=(($refImage)|0); //@line 401 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($92)>>2)]=$91; //@line 401 "../src/h264bsd_inter_prediction.c"
 var $93=$7; //@line 402 "../src/h264bsd_inter_prediction.c"
 var $94=$2; //@line 402 "../src/h264bsd_inter_prediction.c"
 var $95=(($94+132)|0); //@line 402 "../src/h264bsd_inter_prediction.c"
 var $96=(($95)|0); //@line 402 "../src/h264bsd_inter_prediction.c"
 var $97=$col; //@line 402 "../src/h264bsd_inter_prediction.c"
 var $98=$row; //@line 402 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($93,$96,$refImage,$97,$98,0,0,16,8); //@line 402 "../src/h264bsd_inter_prediction.c"
 var $99=$2; //@line 404 "../src/h264bsd_inter_prediction.c"
 var $100=(($99+116)|0); //@line 404 "../src/h264bsd_inter_prediction.c"
 var $101=(($100+8)|0); //@line 404 "../src/h264bsd_inter_prediction.c"
 var $102=HEAP32[(($101)>>2)]; //@line 404 "../src/h264bsd_inter_prediction.c"
 var $103=(($refImage)|0); //@line 404 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($103)>>2)]=$102; //@line 404 "../src/h264bsd_inter_prediction.c"
 var $104=$7; //@line 405 "../src/h264bsd_inter_prediction.c"
 var $105=$2; //@line 405 "../src/h264bsd_inter_prediction.c"
 var $106=(($105+132)|0); //@line 405 "../src/h264bsd_inter_prediction.c"
 var $107=(($106)|0); //@line 405 "../src/h264bsd_inter_prediction.c"
 var $108=(($107+32)|0); //@line 405 "../src/h264bsd_inter_prediction.c"
 var $109=$col; //@line 405 "../src/h264bsd_inter_prediction.c"
 var $110=$row; //@line 405 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($104,$108,$refImage,$109,$110,0,8,16,8); //@line 405 "../src/h264bsd_inter_prediction.c"
 label=29;break; //@line 407 "../src/h264bsd_inter_prediction.c"
 case 14: 
 var $112=$2; //@line 410 "../src/h264bsd_inter_prediction.c"
 var $113=$3; //@line 410 "../src/h264bsd_inter_prediction.c"
 var $114=(($113+12)|0); //@line 410 "../src/h264bsd_inter_prediction.c"
 var $115=$4; //@line 410 "../src/h264bsd_inter_prediction.c"
 var $116=_MvPrediction8x16($112,$114,$115); //@line 410 "../src/h264bsd_inter_prediction.c"
 var $117=($116|0)!=0; //@line 410 "../src/h264bsd_inter_prediction.c"
 if($117){label=15;break;}else{label=16;break;} //@line 410 "../src/h264bsd_inter_prediction.c"
 case 15: 
 $1=1; //@line 411 "../src/h264bsd_inter_prediction.c"
 label=35;break; //@line 411 "../src/h264bsd_inter_prediction.c"
 case 16: 
 var $120=$2; //@line 412 "../src/h264bsd_inter_prediction.c"
 var $121=(($120+116)|0); //@line 412 "../src/h264bsd_inter_prediction.c"
 var $122=(($121)|0); //@line 412 "../src/h264bsd_inter_prediction.c"
 var $123=HEAP32[(($122)>>2)]; //@line 412 "../src/h264bsd_inter_prediction.c"
 var $124=(($refImage)|0); //@line 412 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($124)>>2)]=$123; //@line 412 "../src/h264bsd_inter_prediction.c"
 var $125=$7; //@line 413 "../src/h264bsd_inter_prediction.c"
 var $126=$2; //@line 413 "../src/h264bsd_inter_prediction.c"
 var $127=(($126+132)|0); //@line 413 "../src/h264bsd_inter_prediction.c"
 var $128=(($127)|0); //@line 413 "../src/h264bsd_inter_prediction.c"
 var $129=$col; //@line 413 "../src/h264bsd_inter_prediction.c"
 var $130=$row; //@line 413 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($125,$128,$refImage,$129,$130,0,0,8,16); //@line 413 "../src/h264bsd_inter_prediction.c"
 var $131=$2; //@line 415 "../src/h264bsd_inter_prediction.c"
 var $132=(($131+116)|0); //@line 415 "../src/h264bsd_inter_prediction.c"
 var $133=(($132+4)|0); //@line 415 "../src/h264bsd_inter_prediction.c"
 var $134=HEAP32[(($133)>>2)]; //@line 415 "../src/h264bsd_inter_prediction.c"
 var $135=(($refImage)|0); //@line 415 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($135)>>2)]=$134; //@line 415 "../src/h264bsd_inter_prediction.c"
 var $136=$7; //@line 416 "../src/h264bsd_inter_prediction.c"
 var $137=$2; //@line 416 "../src/h264bsd_inter_prediction.c"
 var $138=(($137+132)|0); //@line 416 "../src/h264bsd_inter_prediction.c"
 var $139=(($138)|0); //@line 416 "../src/h264bsd_inter_prediction.c"
 var $140=(($139+16)|0); //@line 416 "../src/h264bsd_inter_prediction.c"
 var $141=$col; //@line 416 "../src/h264bsd_inter_prediction.c"
 var $142=$row; //@line 416 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($136,$140,$refImage,$141,$142,8,0,8,16); //@line 416 "../src/h264bsd_inter_prediction.c"
 label=29;break; //@line 418 "../src/h264bsd_inter_prediction.c"
 case 17: 
 var $144=$2; //@line 421 "../src/h264bsd_inter_prediction.c"
 var $145=$3; //@line 421 "../src/h264bsd_inter_prediction.c"
 var $146=(($145+176)|0); //@line 421 "../src/h264bsd_inter_prediction.c"
 var $147=$4; //@line 421 "../src/h264bsd_inter_prediction.c"
 var $148=_MvPrediction8x8($144,$146,$147); //@line 421 "../src/h264bsd_inter_prediction.c"
 var $149=($148|0)!=0; //@line 421 "../src/h264bsd_inter_prediction.c"
 if($149){label=18;break;}else{label=19;break;} //@line 421 "../src/h264bsd_inter_prediction.c"
 case 18: 
 $1=1; //@line 422 "../src/h264bsd_inter_prediction.c"
 label=35;break; //@line 422 "../src/h264bsd_inter_prediction.c"
 case 19: 
 $i=0; //@line 423 "../src/h264bsd_inter_prediction.c"
 label=20;break; //@line 423 "../src/h264bsd_inter_prediction.c"
 case 20: 
 var $153=$i; //@line 423 "../src/h264bsd_inter_prediction.c"
 var $154=($153>>>0)<4; //@line 423 "../src/h264bsd_inter_prediction.c"
 if($154){label=21;break;}else{label=28;break;} //@line 423 "../src/h264bsd_inter_prediction.c"
 case 21: 
 var $156=$i; //@line 425 "../src/h264bsd_inter_prediction.c"
 var $157=$2; //@line 425 "../src/h264bsd_inter_prediction.c"
 var $158=(($157+116)|0); //@line 425 "../src/h264bsd_inter_prediction.c"
 var $159=(($158+($156<<2))|0); //@line 425 "../src/h264bsd_inter_prediction.c"
 var $160=HEAP32[(($159)>>2)]; //@line 425 "../src/h264bsd_inter_prediction.c"
 var $161=(($refImage)|0); //@line 425 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($161)>>2)]=$160; //@line 425 "../src/h264bsd_inter_prediction.c"
 var $162=$i; //@line 427 "../src/h264bsd_inter_prediction.c"
 var $163=$3; //@line 427 "../src/h264bsd_inter_prediction.c"
 var $164=(($163+176)|0); //@line 427 "../src/h264bsd_inter_prediction.c"
 var $165=(($164)|0); //@line 427 "../src/h264bsd_inter_prediction.c"
 var $166=(($165+($162<<2))|0); //@line 427 "../src/h264bsd_inter_prediction.c"
 var $167=HEAP32[(($166)>>2)]; //@line 427 "../src/h264bsd_inter_prediction.c"
 var $168=_h264bsdSubMbPartMode($167); //@line 427 "../src/h264bsd_inter_prediction.c"
 $subPartMode=$168; //@line 427 "../src/h264bsd_inter_prediction.c"
 var $169=$i; //@line 428 "../src/h264bsd_inter_prediction.c"
 var $170=$169&1; //@line 428 "../src/h264bsd_inter_prediction.c"
 var $171=($170|0)!=0; //@line 428 "../src/h264bsd_inter_prediction.c"
 var $172=($171?8:0); //@line 428 "../src/h264bsd_inter_prediction.c"
 $x=$172; //@line 428 "../src/h264bsd_inter_prediction.c"
 var $173=$i; //@line 429 "../src/h264bsd_inter_prediction.c"
 var $174=($173>>>0)<2; //@line 429 "../src/h264bsd_inter_prediction.c"
 var $175=($174?0:8); //@line 429 "../src/h264bsd_inter_prediction.c"
 $y=$175; //@line 429 "../src/h264bsd_inter_prediction.c"
 var $176=$subPartMode; //@line 430 "../src/h264bsd_inter_prediction.c"
 if(($176|0)==0){ label=22;break;}else if(($176|0)==1){ label=23;break;}else if(($176|0)==2){ label=24;break;}else{label=25;break;}
 case 22: 
 var $178=$7; //@line 433 "../src/h264bsd_inter_prediction.c"
 var $179=$2; //@line 433 "../src/h264bsd_inter_prediction.c"
 var $180=(($179+132)|0); //@line 433 "../src/h264bsd_inter_prediction.c"
 var $181=(($180)|0); //@line 433 "../src/h264bsd_inter_prediction.c"
 var $182=$i; //@line 433 "../src/h264bsd_inter_prediction.c"
 var $183=($182<<2); //@line 433 "../src/h264bsd_inter_prediction.c"
 var $184=(($181+($183<<2))|0); //@line 433 "../src/h264bsd_inter_prediction.c"
 var $185=$col; //@line 433 "../src/h264bsd_inter_prediction.c"
 var $186=$row; //@line 433 "../src/h264bsd_inter_prediction.c"
 var $187=$x; //@line 433 "../src/h264bsd_inter_prediction.c"
 var $188=$y; //@line 433 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($178,$184,$refImage,$185,$186,$187,$188,8,8); //@line 433 "../src/h264bsd_inter_prediction.c"
 label=26;break; //@line 435 "../src/h264bsd_inter_prediction.c"
 case 23: 
 var $190=$7; //@line 438 "../src/h264bsd_inter_prediction.c"
 var $191=$2; //@line 438 "../src/h264bsd_inter_prediction.c"
 var $192=(($191+132)|0); //@line 438 "../src/h264bsd_inter_prediction.c"
 var $193=(($192)|0); //@line 438 "../src/h264bsd_inter_prediction.c"
 var $194=$i; //@line 438 "../src/h264bsd_inter_prediction.c"
 var $195=($194<<2); //@line 438 "../src/h264bsd_inter_prediction.c"
 var $196=(($193+($195<<2))|0); //@line 438 "../src/h264bsd_inter_prediction.c"
 var $197=$col; //@line 438 "../src/h264bsd_inter_prediction.c"
 var $198=$row; //@line 438 "../src/h264bsd_inter_prediction.c"
 var $199=$x; //@line 438 "../src/h264bsd_inter_prediction.c"
 var $200=$y; //@line 438 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($190,$196,$refImage,$197,$198,$199,$200,8,4); //@line 438 "../src/h264bsd_inter_prediction.c"
 var $201=$7; //@line 440 "../src/h264bsd_inter_prediction.c"
 var $202=$2; //@line 440 "../src/h264bsd_inter_prediction.c"
 var $203=(($202+132)|0); //@line 440 "../src/h264bsd_inter_prediction.c"
 var $204=(($203)|0); //@line 440 "../src/h264bsd_inter_prediction.c"
 var $205=$i; //@line 440 "../src/h264bsd_inter_prediction.c"
 var $206=($205<<2); //@line 440 "../src/h264bsd_inter_prediction.c"
 var $207=(($204+($206<<2))|0); //@line 440 "../src/h264bsd_inter_prediction.c"
 var $208=(($207+8)|0); //@line 440 "../src/h264bsd_inter_prediction.c"
 var $209=$col; //@line 440 "../src/h264bsd_inter_prediction.c"
 var $210=$row; //@line 440 "../src/h264bsd_inter_prediction.c"
 var $211=$x; //@line 440 "../src/h264bsd_inter_prediction.c"
 var $212=$y; //@line 440 "../src/h264bsd_inter_prediction.c"
 var $213=((($212)+(4))|0); //@line 440 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($201,$208,$refImage,$209,$210,$211,$213,8,4); //@line 440 "../src/h264bsd_inter_prediction.c"
 label=26;break; //@line 442 "../src/h264bsd_inter_prediction.c"
 case 24: 
 var $215=$7; //@line 445 "../src/h264bsd_inter_prediction.c"
 var $216=$2; //@line 445 "../src/h264bsd_inter_prediction.c"
 var $217=(($216+132)|0); //@line 445 "../src/h264bsd_inter_prediction.c"
 var $218=(($217)|0); //@line 445 "../src/h264bsd_inter_prediction.c"
 var $219=$i; //@line 445 "../src/h264bsd_inter_prediction.c"
 var $220=($219<<2); //@line 445 "../src/h264bsd_inter_prediction.c"
 var $221=(($218+($220<<2))|0); //@line 445 "../src/h264bsd_inter_prediction.c"
 var $222=$col; //@line 445 "../src/h264bsd_inter_prediction.c"
 var $223=$row; //@line 445 "../src/h264bsd_inter_prediction.c"
 var $224=$x; //@line 445 "../src/h264bsd_inter_prediction.c"
 var $225=$y; //@line 445 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($215,$221,$refImage,$222,$223,$224,$225,4,8); //@line 445 "../src/h264bsd_inter_prediction.c"
 var $226=$7; //@line 447 "../src/h264bsd_inter_prediction.c"
 var $227=$2; //@line 447 "../src/h264bsd_inter_prediction.c"
 var $228=(($227+132)|0); //@line 447 "../src/h264bsd_inter_prediction.c"
 var $229=(($228)|0); //@line 447 "../src/h264bsd_inter_prediction.c"
 var $230=$i; //@line 447 "../src/h264bsd_inter_prediction.c"
 var $231=($230<<2); //@line 447 "../src/h264bsd_inter_prediction.c"
 var $232=(($229+($231<<2))|0); //@line 447 "../src/h264bsd_inter_prediction.c"
 var $233=(($232+4)|0); //@line 447 "../src/h264bsd_inter_prediction.c"
 var $234=$col; //@line 447 "../src/h264bsd_inter_prediction.c"
 var $235=$row; //@line 447 "../src/h264bsd_inter_prediction.c"
 var $236=$x; //@line 447 "../src/h264bsd_inter_prediction.c"
 var $237=((($236)+(4))|0); //@line 447 "../src/h264bsd_inter_prediction.c"
 var $238=$y; //@line 447 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($226,$233,$refImage,$234,$235,$237,$238,4,8); //@line 447 "../src/h264bsd_inter_prediction.c"
 label=26;break; //@line 449 "../src/h264bsd_inter_prediction.c"
 case 25: 
 var $240=$7; //@line 452 "../src/h264bsd_inter_prediction.c"
 var $241=$2; //@line 452 "../src/h264bsd_inter_prediction.c"
 var $242=(($241+132)|0); //@line 452 "../src/h264bsd_inter_prediction.c"
 var $243=(($242)|0); //@line 452 "../src/h264bsd_inter_prediction.c"
 var $244=$i; //@line 452 "../src/h264bsd_inter_prediction.c"
 var $245=($244<<2); //@line 452 "../src/h264bsd_inter_prediction.c"
 var $246=(($243+($245<<2))|0); //@line 452 "../src/h264bsd_inter_prediction.c"
 var $247=$col; //@line 452 "../src/h264bsd_inter_prediction.c"
 var $248=$row; //@line 452 "../src/h264bsd_inter_prediction.c"
 var $249=$x; //@line 452 "../src/h264bsd_inter_prediction.c"
 var $250=$y; //@line 452 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($240,$246,$refImage,$247,$248,$249,$250,4,4); //@line 452 "../src/h264bsd_inter_prediction.c"
 var $251=$7; //@line 454 "../src/h264bsd_inter_prediction.c"
 var $252=$2; //@line 454 "../src/h264bsd_inter_prediction.c"
 var $253=(($252+132)|0); //@line 454 "../src/h264bsd_inter_prediction.c"
 var $254=(($253)|0); //@line 454 "../src/h264bsd_inter_prediction.c"
 var $255=$i; //@line 454 "../src/h264bsd_inter_prediction.c"
 var $256=($255<<2); //@line 454 "../src/h264bsd_inter_prediction.c"
 var $257=(($254+($256<<2))|0); //@line 454 "../src/h264bsd_inter_prediction.c"
 var $258=(($257+4)|0); //@line 454 "../src/h264bsd_inter_prediction.c"
 var $259=$col; //@line 454 "../src/h264bsd_inter_prediction.c"
 var $260=$row; //@line 454 "../src/h264bsd_inter_prediction.c"
 var $261=$x; //@line 454 "../src/h264bsd_inter_prediction.c"
 var $262=((($261)+(4))|0); //@line 454 "../src/h264bsd_inter_prediction.c"
 var $263=$y; //@line 454 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($251,$258,$refImage,$259,$260,$262,$263,4,4); //@line 454 "../src/h264bsd_inter_prediction.c"
 var $264=$7; //@line 456 "../src/h264bsd_inter_prediction.c"
 var $265=$2; //@line 456 "../src/h264bsd_inter_prediction.c"
 var $266=(($265+132)|0); //@line 456 "../src/h264bsd_inter_prediction.c"
 var $267=(($266)|0); //@line 456 "../src/h264bsd_inter_prediction.c"
 var $268=$i; //@line 456 "../src/h264bsd_inter_prediction.c"
 var $269=($268<<2); //@line 456 "../src/h264bsd_inter_prediction.c"
 var $270=(($267+($269<<2))|0); //@line 456 "../src/h264bsd_inter_prediction.c"
 var $271=(($270+8)|0); //@line 456 "../src/h264bsd_inter_prediction.c"
 var $272=$col; //@line 456 "../src/h264bsd_inter_prediction.c"
 var $273=$row; //@line 456 "../src/h264bsd_inter_prediction.c"
 var $274=$x; //@line 456 "../src/h264bsd_inter_prediction.c"
 var $275=$y; //@line 456 "../src/h264bsd_inter_prediction.c"
 var $276=((($275)+(4))|0); //@line 456 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($264,$271,$refImage,$272,$273,$274,$276,4,4); //@line 456 "../src/h264bsd_inter_prediction.c"
 var $277=$7; //@line 458 "../src/h264bsd_inter_prediction.c"
 var $278=$2; //@line 458 "../src/h264bsd_inter_prediction.c"
 var $279=(($278+132)|0); //@line 458 "../src/h264bsd_inter_prediction.c"
 var $280=(($279)|0); //@line 458 "../src/h264bsd_inter_prediction.c"
 var $281=$i; //@line 458 "../src/h264bsd_inter_prediction.c"
 var $282=($281<<2); //@line 458 "../src/h264bsd_inter_prediction.c"
 var $283=(($280+($282<<2))|0); //@line 458 "../src/h264bsd_inter_prediction.c"
 var $284=(($283+12)|0); //@line 458 "../src/h264bsd_inter_prediction.c"
 var $285=$col; //@line 458 "../src/h264bsd_inter_prediction.c"
 var $286=$row; //@line 458 "../src/h264bsd_inter_prediction.c"
 var $287=$x; //@line 458 "../src/h264bsd_inter_prediction.c"
 var $288=((($287)+(4))|0); //@line 458 "../src/h264bsd_inter_prediction.c"
 var $289=$y; //@line 458 "../src/h264bsd_inter_prediction.c"
 var $290=((($289)+(4))|0); //@line 458 "../src/h264bsd_inter_prediction.c"
 _h264bsdPredictSamples($277,$284,$refImage,$285,$286,$288,$290,4,4); //@line 458 "../src/h264bsd_inter_prediction.c"
 label=26;break; //@line 460 "../src/h264bsd_inter_prediction.c"
 case 26: 
 label=27;break; //@line 462 "../src/h264bsd_inter_prediction.c"
 case 27: 
 var $293=$i; //@line 423 "../src/h264bsd_inter_prediction.c"
 var $294=((($293)+(1))|0); //@line 423 "../src/h264bsd_inter_prediction.c"
 $i=$294; //@line 423 "../src/h264bsd_inter_prediction.c"
 label=20;break; //@line 423 "../src/h264bsd_inter_prediction.c"
 case 28: 
 label=29;break; //@line 463 "../src/h264bsd_inter_prediction.c"
 case 29: 
 var $297=$2; //@line 468 "../src/h264bsd_inter_prediction.c"
 var $298=(($297+196)|0); //@line 468 "../src/h264bsd_inter_prediction.c"
 var $299=HEAP32[(($298)>>2)]; //@line 468 "../src/h264bsd_inter_prediction.c"
 var $300=($299>>>0)>1; //@line 468 "../src/h264bsd_inter_prediction.c"
 if($300){label=30;break;}else{label=31;break;} //@line 468 "../src/h264bsd_inter_prediction.c"
 case 30: 
 $1=0; //@line 469 "../src/h264bsd_inter_prediction.c"
 label=35;break; //@line 469 "../src/h264bsd_inter_prediction.c"
 case 31: 
 var $303=$2; //@line 471 "../src/h264bsd_inter_prediction.c"
 var $304=(($303)|0); //@line 471 "../src/h264bsd_inter_prediction.c"
 var $305=HEAP32[(($304)>>2)]; //@line 471 "../src/h264bsd_inter_prediction.c"
 var $306=($305|0)!=0; //@line 471 "../src/h264bsd_inter_prediction.c"
 if($306){label=32;break;}else{label=33;break;} //@line 471 "../src/h264bsd_inter_prediction.c"
 case 32: 
 var $308=$6; //@line 473 "../src/h264bsd_inter_prediction.c"
 var $309=$5; //@line 473 "../src/h264bsd_inter_prediction.c"
 var $310=$7; //@line 473 "../src/h264bsd_inter_prediction.c"
 var $311=$3; //@line 473 "../src/h264bsd_inter_prediction.c"
 var $312=(($311+272)|0); //@line 473 "../src/h264bsd_inter_prediction.c"
 var $313=(($312+56)|0); //@line 473 "../src/h264bsd_inter_prediction.c"
 var $314=(($313)|0); //@line 473 "../src/h264bsd_inter_prediction.c"
 _h264bsdWriteOutputBlocks($308,$309,$310,$314); //@line 473 "../src/h264bsd_inter_prediction.c"
 label=34;break; //@line 475 "../src/h264bsd_inter_prediction.c"
 case 33: 
 var $316=$6; //@line 478 "../src/h264bsd_inter_prediction.c"
 var $317=$7; //@line 478 "../src/h264bsd_inter_prediction.c"
 _h264bsdWriteMacroblock($316,$317); //@line 478 "../src/h264bsd_inter_prediction.c"
 label=34;break;
 case 34: 
 $1=0; //@line 481 "../src/h264bsd_inter_prediction.c"
 label=35;break; //@line 481 "../src/h264bsd_inter_prediction.c"
 case 35: 
 var $320=$1; //@line 482 "../src/h264bsd_inter_prediction.c"
 STACKTOP=sp;return $320; //@line 482 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _MvPrediction16x16($pMb,$mbPred,$dpb){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+56)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $mv=sp;
 var $mvPred=(sp)+(8);
 var $a=(sp)+(16);
 var $refIndex;
 var $tmp;
 var $tmpMv1;
 var $tmpMv2;
 $2=$pMb;
 $3=$mbPred;
 $4=$dpb;
 var $5=$3; //@line 508 "../src/h264bsd_inter_prediction.c"
 var $6=(($5+132)|0); //@line 508 "../src/h264bsd_inter_prediction.c"
 var $7=(($6)|0); //@line 508 "../src/h264bsd_inter_prediction.c"
 var $8=HEAP32[(($7)>>2)]; //@line 508 "../src/h264bsd_inter_prediction.c"
 $refIndex=$8; //@line 508 "../src/h264bsd_inter_prediction.c"
 var $9=$2; //@line 510 "../src/h264bsd_inter_prediction.c"
 var $10=(($9+4)|0); //@line 510 "../src/h264bsd_inter_prediction.c"
 var $11=HEAP32[(($10)>>2)]; //@line 510 "../src/h264bsd_inter_prediction.c"
 var $12=$2; //@line 510 "../src/h264bsd_inter_prediction.c"
 var $13=(($12+200)|0); //@line 510 "../src/h264bsd_inter_prediction.c"
 var $14=HEAP32[(($13)>>2)]; //@line 510 "../src/h264bsd_inter_prediction.c"
 var $15=(($a)|0); //@line 510 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($11,$14,$15,5); //@line 510 "../src/h264bsd_inter_prediction.c"
 var $16=$2; //@line 511 "../src/h264bsd_inter_prediction.c"
 var $17=(($16+4)|0); //@line 511 "../src/h264bsd_inter_prediction.c"
 var $18=HEAP32[(($17)>>2)]; //@line 511 "../src/h264bsd_inter_prediction.c"
 var $19=$2; //@line 511 "../src/h264bsd_inter_prediction.c"
 var $20=(($19+204)|0); //@line 511 "../src/h264bsd_inter_prediction.c"
 var $21=HEAP32[(($20)>>2)]; //@line 511 "../src/h264bsd_inter_prediction.c"
 var $22=(($a)|0); //@line 511 "../src/h264bsd_inter_prediction.c"
 var $23=(($22+12)|0); //@line 511 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($18,$21,$23,10); //@line 511 "../src/h264bsd_inter_prediction.c"
 var $24=(($a)|0); //@line 513 "../src/h264bsd_inter_prediction.c"
 var $25=(($24+8)|0); //@line 513 "../src/h264bsd_inter_prediction.c"
 var $26=$25; //@line 513 "../src/h264bsd_inter_prediction.c"
 $tmpMv1=$26; //@line 513 "../src/h264bsd_inter_prediction.c"
 var $27=(($a+12)|0); //@line 515 "../src/h264bsd_inter_prediction.c"
 var $28=(($27+8)|0); //@line 515 "../src/h264bsd_inter_prediction.c"
 var $29=$28; //@line 515 "../src/h264bsd_inter_prediction.c"
 $tmpMv2=$29; //@line 515 "../src/h264bsd_inter_prediction.c"
 var $30=$2; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $31=(($30)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $32=HEAP32[(($31)>>2)]; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $33=($32|0)==0; //@line 516 "../src/h264bsd_inter_prediction.c"
 if($33){label=2;break;}else{label=9;break;} //@line 516 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $35=(($a)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $36=(($35)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $37=HEAP32[(($36)>>2)]; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $38=($37|0)!=0; //@line 516 "../src/h264bsd_inter_prediction.c"
 if($38){label=3;break;}else{label=8;break;} //@line 516 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $40=(($a+12)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $41=(($40)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $42=HEAP32[(($41)>>2)]; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $43=($42|0)!=0; //@line 516 "../src/h264bsd_inter_prediction.c"
 if($43){label=4;break;}else{label=8;break;} //@line 516 "../src/h264bsd_inter_prediction.c"
 case 4: 
 var $45=(($a)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $46=(($45+4)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $47=HEAP32[(($46)>>2)]; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $48=($47|0)==0; //@line 516 "../src/h264bsd_inter_prediction.c"
 if($48){label=5;break;}else{label=6;break;} //@line 516 "../src/h264bsd_inter_prediction.c"
 case 5: 
 var $50=$tmpMv1; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $51=HEAP32[(($50)>>2)]; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $52=($51|0)==0; //@line 516 "../src/h264bsd_inter_prediction.c"
 if($52){label=8;break;}else{label=6;break;} //@line 516 "../src/h264bsd_inter_prediction.c"
 case 6: 
 var $54=(($a+12)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $55=(($54+4)|0); //@line 516 "../src/h264bsd_inter_prediction.c"
 var $56=HEAP32[(($55)>>2)]; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $57=($56|0)==0; //@line 516 "../src/h264bsd_inter_prediction.c"
 if($57){label=7;break;}else{label=9;break;} //@line 516 "../src/h264bsd_inter_prediction.c"
 case 7: 
 var $59=$tmpMv2; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $60=HEAP32[(($59)>>2)]; //@line 516 "../src/h264bsd_inter_prediction.c"
 var $61=($60|0)==0; //@line 516 "../src/h264bsd_inter_prediction.c"
 if($61){label=8;break;}else{label=9;break;} //@line 516 "../src/h264bsd_inter_prediction.c"
 case 8: 
 var $63=(($mv+2)|0); //@line 521 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($63)>>1)]=0; //@line 521 "../src/h264bsd_inter_prediction.c"
 var $64=(($mv)|0); //@line 521 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($64)>>1)]=0; //@line 521 "../src/h264bsd_inter_prediction.c"
 label=16;break; //@line 522 "../src/h264bsd_inter_prediction.c"
 case 9: 
 var $66=$3; //@line 525 "../src/h264bsd_inter_prediction.c"
 var $67=(($66+148)|0); //@line 525 "../src/h264bsd_inter_prediction.c"
 var $68=(($67)|0); //@line 525 "../src/h264bsd_inter_prediction.c"
 var $69=$mv; //@line 525 "../src/h264bsd_inter_prediction.c"
 var $70=$68; //@line 525 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($69)>>1)]=HEAP16[(($70)>>1)];HEAP16[((($69)+(2))>>1)]=HEAP16[((($70)+(2))>>1)]; //@line 525 "../src/h264bsd_inter_prediction.c"
 var $71=$2; //@line 526 "../src/h264bsd_inter_prediction.c"
 var $72=(($71+4)|0); //@line 526 "../src/h264bsd_inter_prediction.c"
 var $73=HEAP32[(($72)>>2)]; //@line 526 "../src/h264bsd_inter_prediction.c"
 var $74=$2; //@line 526 "../src/h264bsd_inter_prediction.c"
 var $75=(($74+208)|0); //@line 526 "../src/h264bsd_inter_prediction.c"
 var $76=HEAP32[(($75)>>2)]; //@line 526 "../src/h264bsd_inter_prediction.c"
 var $77=(($a)|0); //@line 526 "../src/h264bsd_inter_prediction.c"
 var $78=(($77+24)|0); //@line 526 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($73,$76,$78,10); //@line 526 "../src/h264bsd_inter_prediction.c"
 var $79=(($a+24)|0); //@line 527 "../src/h264bsd_inter_prediction.c"
 var $80=(($79)|0); //@line 527 "../src/h264bsd_inter_prediction.c"
 var $81=HEAP32[(($80)>>2)]; //@line 527 "../src/h264bsd_inter_prediction.c"
 var $82=($81|0)!=0; //@line 527 "../src/h264bsd_inter_prediction.c"
 if($82){label=11;break;}else{label=10;break;} //@line 527 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $84=$2; //@line 529 "../src/h264bsd_inter_prediction.c"
 var $85=(($84+4)|0); //@line 529 "../src/h264bsd_inter_prediction.c"
 var $86=HEAP32[(($85)>>2)]; //@line 529 "../src/h264bsd_inter_prediction.c"
 var $87=$2; //@line 529 "../src/h264bsd_inter_prediction.c"
 var $88=(($87+212)|0); //@line 529 "../src/h264bsd_inter_prediction.c"
 var $89=HEAP32[(($88)>>2)]; //@line 529 "../src/h264bsd_inter_prediction.c"
 var $90=(($a)|0); //@line 529 "../src/h264bsd_inter_prediction.c"
 var $91=(($90+24)|0); //@line 529 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($86,$89,$91,15); //@line 529 "../src/h264bsd_inter_prediction.c"
 label=11;break; //@line 530 "../src/h264bsd_inter_prediction.c"
 case 11: 
 var $93=(($a)|0); //@line 532 "../src/h264bsd_inter_prediction.c"
 var $94=$refIndex; //@line 532 "../src/h264bsd_inter_prediction.c"
 _GetPredictionMv($mvPred,$93,$94); //@line 532 "../src/h264bsd_inter_prediction.c"
 var $95=(($mvPred)|0); //@line 534 "../src/h264bsd_inter_prediction.c"
 var $96=HEAP16[(($95)>>1)]; //@line 534 "../src/h264bsd_inter_prediction.c"
 var $97=(($96<<16)>>16); //@line 534 "../src/h264bsd_inter_prediction.c"
 var $98=(($mv)|0); //@line 534 "../src/h264bsd_inter_prediction.c"
 var $99=HEAP16[(($98)>>1)]; //@line 534 "../src/h264bsd_inter_prediction.c"
 var $100=(($99<<16)>>16); //@line 534 "../src/h264bsd_inter_prediction.c"
 var $101=((($100)+($97))|0); //@line 534 "../src/h264bsd_inter_prediction.c"
 var $102=(($101)&65535); //@line 534 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($98)>>1)]=$102; //@line 534 "../src/h264bsd_inter_prediction.c"
 var $103=(($mvPred+2)|0); //@line 535 "../src/h264bsd_inter_prediction.c"
 var $104=HEAP16[(($103)>>1)]; //@line 535 "../src/h264bsd_inter_prediction.c"
 var $105=(($104<<16)>>16); //@line 535 "../src/h264bsd_inter_prediction.c"
 var $106=(($mv+2)|0); //@line 535 "../src/h264bsd_inter_prediction.c"
 var $107=HEAP16[(($106)>>1)]; //@line 535 "../src/h264bsd_inter_prediction.c"
 var $108=(($107<<16)>>16); //@line 535 "../src/h264bsd_inter_prediction.c"
 var $109=((($108)+($105))|0); //@line 535 "../src/h264bsd_inter_prediction.c"
 var $110=(($109)&65535); //@line 535 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($106)>>1)]=$110; //@line 535 "../src/h264bsd_inter_prediction.c"
 var $111=(($mv)|0); //@line 538 "../src/h264bsd_inter_prediction.c"
 var $112=HEAP16[(($111)>>1)]; //@line 538 "../src/h264bsd_inter_prediction.c"
 var $113=(($112<<16)>>16); //@line 538 "../src/h264bsd_inter_prediction.c"
 var $114=((($113)+(8192))|0); //@line 538 "../src/h264bsd_inter_prediction.c"
 var $115=($114>>>0)>=16384; //@line 538 "../src/h264bsd_inter_prediction.c"
 if($115){label=12;break;}else{label=13;break;} //@line 538 "../src/h264bsd_inter_prediction.c"
 case 12: 
 $1=1; //@line 539 "../src/h264bsd_inter_prediction.c"
 label=19;break; //@line 539 "../src/h264bsd_inter_prediction.c"
 case 13: 
 var $118=(($mv+2)|0); //@line 543 "../src/h264bsd_inter_prediction.c"
 var $119=HEAP16[(($118)>>1)]; //@line 543 "../src/h264bsd_inter_prediction.c"
 var $120=(($119<<16)>>16); //@line 543 "../src/h264bsd_inter_prediction.c"
 var $121=((($120)+(2048))|0); //@line 543 "../src/h264bsd_inter_prediction.c"
 var $122=($121>>>0)>=4096; //@line 543 "../src/h264bsd_inter_prediction.c"
 if($122){label=14;break;}else{label=15;break;} //@line 543 "../src/h264bsd_inter_prediction.c"
 case 14: 
 $1=1; //@line 544 "../src/h264bsd_inter_prediction.c"
 label=19;break; //@line 544 "../src/h264bsd_inter_prediction.c"
 case 15: 
 label=16;break;
 case 16: 
 var $126=$4; //@line 547 "../src/h264bsd_inter_prediction.c"
 var $127=$refIndex; //@line 547 "../src/h264bsd_inter_prediction.c"
 var $128=_h264bsdGetRefPicData($126,$127); //@line 547 "../src/h264bsd_inter_prediction.c"
 $tmp=$128; //@line 547 "../src/h264bsd_inter_prediction.c"
 var $129=$tmp; //@line 548 "../src/h264bsd_inter_prediction.c"
 var $130=($129|0)==0; //@line 548 "../src/h264bsd_inter_prediction.c"
 if($130){label=17;break;}else{label=18;break;} //@line 548 "../src/h264bsd_inter_prediction.c"
 case 17: 
 $1=1; //@line 549 "../src/h264bsd_inter_prediction.c"
 label=19;break; //@line 549 "../src/h264bsd_inter_prediction.c"
 case 18: 
 var $133=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $134=(($133+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $135=(($134)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $136=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $137=(($136+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $138=(($137+4)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $139=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $140=(($139+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $141=(($140+8)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $142=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $143=(($142+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $144=(($143+12)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $145=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $146=(($145+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $147=(($146+16)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $148=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $149=(($148+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $150=(($149+20)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $151=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $152=(($151+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $153=(($152+24)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $154=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $155=(($154+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $156=(($155+28)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $157=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $158=(($157+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $159=(($158+32)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $160=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $161=(($160+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $162=(($161+36)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $163=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $164=(($163+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $165=(($164+40)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $166=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $167=(($166+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $168=(($167+44)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $169=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $170=(($169+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $171=(($170+48)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $172=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $173=(($172+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $174=(($173+52)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $175=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $176=(($175+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $177=(($176+56)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $178=$2; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $179=(($178+132)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $180=(($179+60)|0); //@line 551 "../src/h264bsd_inter_prediction.c"
 var $181=$180; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $182=$mv; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($181)>>1)]=HEAP16[(($182)>>1)];HEAP16[((($181)+(2))>>1)]=HEAP16[((($182)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $183=$177; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $184=$180; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($183)>>1)]=HEAP16[(($184)>>1)];HEAP16[((($183)+(2))>>1)]=HEAP16[((($184)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $185=$174; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $186=$177; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($185)>>1)]=HEAP16[(($186)>>1)];HEAP16[((($185)+(2))>>1)]=HEAP16[((($186)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $187=$171; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $188=$174; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($187)>>1)]=HEAP16[(($188)>>1)];HEAP16[((($187)+(2))>>1)]=HEAP16[((($188)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $189=$168; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $190=$171; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($189)>>1)]=HEAP16[(($190)>>1)];HEAP16[((($189)+(2))>>1)]=HEAP16[((($190)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $191=$165; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $192=$168; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($191)>>1)]=HEAP16[(($192)>>1)];HEAP16[((($191)+(2))>>1)]=HEAP16[((($192)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $193=$162; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $194=$165; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($193)>>1)]=HEAP16[(($194)>>1)];HEAP16[((($193)+(2))>>1)]=HEAP16[((($194)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $195=$159; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $196=$162; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($195)>>1)]=HEAP16[(($196)>>1)];HEAP16[((($195)+(2))>>1)]=HEAP16[((($196)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $197=$156; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $198=$159; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($197)>>1)]=HEAP16[(($198)>>1)];HEAP16[((($197)+(2))>>1)]=HEAP16[((($198)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $199=$153; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $200=$156; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($199)>>1)]=HEAP16[(($200)>>1)];HEAP16[((($199)+(2))>>1)]=HEAP16[((($200)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $201=$150; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $202=$153; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($201)>>1)]=HEAP16[(($202)>>1)];HEAP16[((($201)+(2))>>1)]=HEAP16[((($202)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $203=$147; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $204=$150; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($203)>>1)]=HEAP16[(($204)>>1)];HEAP16[((($203)+(2))>>1)]=HEAP16[((($204)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $205=$144; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $206=$147; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($205)>>1)]=HEAP16[(($206)>>1)];HEAP16[((($205)+(2))>>1)]=HEAP16[((($206)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $207=$141; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $208=$144; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($207)>>1)]=HEAP16[(($208)>>1)];HEAP16[((($207)+(2))>>1)]=HEAP16[((($208)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $209=$138; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $210=$141; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($209)>>1)]=HEAP16[(($210)>>1)];HEAP16[((($209)+(2))>>1)]=HEAP16[((($210)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $211=$135; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $212=$138; //@line 551 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($211)>>1)]=HEAP16[(($212)>>1)];HEAP16[((($211)+(2))>>1)]=HEAP16[((($212)+(2))>>1)]; //@line 551 "../src/h264bsd_inter_prediction.c"
 var $213=$refIndex; //@line 556 "../src/h264bsd_inter_prediction.c"
 var $214=$2; //@line 556 "../src/h264bsd_inter_prediction.c"
 var $215=(($214+100)|0); //@line 556 "../src/h264bsd_inter_prediction.c"
 var $216=(($215)|0); //@line 556 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($216)>>2)]=$213; //@line 556 "../src/h264bsd_inter_prediction.c"
 var $217=$refIndex; //@line 557 "../src/h264bsd_inter_prediction.c"
 var $218=$2; //@line 557 "../src/h264bsd_inter_prediction.c"
 var $219=(($218+100)|0); //@line 557 "../src/h264bsd_inter_prediction.c"
 var $220=(($219+4)|0); //@line 557 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($220)>>2)]=$217; //@line 557 "../src/h264bsd_inter_prediction.c"
 var $221=$refIndex; //@line 558 "../src/h264bsd_inter_prediction.c"
 var $222=$2; //@line 558 "../src/h264bsd_inter_prediction.c"
 var $223=(($222+100)|0); //@line 558 "../src/h264bsd_inter_prediction.c"
 var $224=(($223+8)|0); //@line 558 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($224)>>2)]=$221; //@line 558 "../src/h264bsd_inter_prediction.c"
 var $225=$refIndex; //@line 559 "../src/h264bsd_inter_prediction.c"
 var $226=$2; //@line 559 "../src/h264bsd_inter_prediction.c"
 var $227=(($226+100)|0); //@line 559 "../src/h264bsd_inter_prediction.c"
 var $228=(($227+12)|0); //@line 559 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($228)>>2)]=$225; //@line 559 "../src/h264bsd_inter_prediction.c"
 var $229=$tmp; //@line 560 "../src/h264bsd_inter_prediction.c"
 var $230=$2; //@line 560 "../src/h264bsd_inter_prediction.c"
 var $231=(($230+116)|0); //@line 560 "../src/h264bsd_inter_prediction.c"
 var $232=(($231)|0); //@line 560 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($232)>>2)]=$229; //@line 560 "../src/h264bsd_inter_prediction.c"
 var $233=$tmp; //@line 561 "../src/h264bsd_inter_prediction.c"
 var $234=$2; //@line 561 "../src/h264bsd_inter_prediction.c"
 var $235=(($234+116)|0); //@line 561 "../src/h264bsd_inter_prediction.c"
 var $236=(($235+4)|0); //@line 561 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($236)>>2)]=$233; //@line 561 "../src/h264bsd_inter_prediction.c"
 var $237=$tmp; //@line 562 "../src/h264bsd_inter_prediction.c"
 var $238=$2; //@line 562 "../src/h264bsd_inter_prediction.c"
 var $239=(($238+116)|0); //@line 562 "../src/h264bsd_inter_prediction.c"
 var $240=(($239+8)|0); //@line 562 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($240)>>2)]=$237; //@line 562 "../src/h264bsd_inter_prediction.c"
 var $241=$tmp; //@line 563 "../src/h264bsd_inter_prediction.c"
 var $242=$2; //@line 563 "../src/h264bsd_inter_prediction.c"
 var $243=(($242+116)|0); //@line 563 "../src/h264bsd_inter_prediction.c"
 var $244=(($243+12)|0); //@line 563 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($244)>>2)]=$241; //@line 563 "../src/h264bsd_inter_prediction.c"
 $1=0; //@line 565 "../src/h264bsd_inter_prediction.c"
 label=19;break; //@line 565 "../src/h264bsd_inter_prediction.c"
 case 19: 
 var $246=$1; //@line 567 "../src/h264bsd_inter_prediction.c"
 STACKTOP=sp;return $246; //@line 567 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _MvPrediction16x8($pMb,$mbPred,$dpb){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+56)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $mv=sp;
 var $mvPred=(sp)+(8);
 var $a=(sp)+(16);
 var $refIndex;
 var $tmp;
 $2=$pMb;
 $3=$mbPred;
 $4=$dpb;
 var $5=$3; //@line 591 "../src/h264bsd_inter_prediction.c"
 var $6=(($5+148)|0); //@line 591 "../src/h264bsd_inter_prediction.c"
 var $7=(($6)|0); //@line 591 "../src/h264bsd_inter_prediction.c"
 var $8=$mv; //@line 591 "../src/h264bsd_inter_prediction.c"
 var $9=$7; //@line 591 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($8)>>1)]=HEAP16[(($9)>>1)];HEAP16[((($8)+(2))>>1)]=HEAP16[((($9)+(2))>>1)]; //@line 591 "../src/h264bsd_inter_prediction.c"
 var $10=$3; //@line 592 "../src/h264bsd_inter_prediction.c"
 var $11=(($10+132)|0); //@line 592 "../src/h264bsd_inter_prediction.c"
 var $12=(($11)|0); //@line 592 "../src/h264bsd_inter_prediction.c"
 var $13=HEAP32[(($12)>>2)]; //@line 592 "../src/h264bsd_inter_prediction.c"
 $refIndex=$13; //@line 592 "../src/h264bsd_inter_prediction.c"
 var $14=$2; //@line 594 "../src/h264bsd_inter_prediction.c"
 var $15=(($14+4)|0); //@line 594 "../src/h264bsd_inter_prediction.c"
 var $16=HEAP32[(($15)>>2)]; //@line 594 "../src/h264bsd_inter_prediction.c"
 var $17=$2; //@line 594 "../src/h264bsd_inter_prediction.c"
 var $18=(($17+204)|0); //@line 594 "../src/h264bsd_inter_prediction.c"
 var $19=HEAP32[(($18)>>2)]; //@line 594 "../src/h264bsd_inter_prediction.c"
 var $20=(($a)|0); //@line 594 "../src/h264bsd_inter_prediction.c"
 var $21=(($20+12)|0); //@line 594 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($16,$19,$21,10); //@line 594 "../src/h264bsd_inter_prediction.c"
 var $22=(($a+12)|0); //@line 596 "../src/h264bsd_inter_prediction.c"
 var $23=(($22+4)|0); //@line 596 "../src/h264bsd_inter_prediction.c"
 var $24=HEAP32[(($23)>>2)]; //@line 596 "../src/h264bsd_inter_prediction.c"
 var $25=$refIndex; //@line 596 "../src/h264bsd_inter_prediction.c"
 var $26=($24|0)==($25|0); //@line 596 "../src/h264bsd_inter_prediction.c"
 if($26){label=2;break;}else{label=3;break;} //@line 596 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $28=(($a+12)|0); //@line 597 "../src/h264bsd_inter_prediction.c"
 var $29=(($28+8)|0); //@line 597 "../src/h264bsd_inter_prediction.c"
 var $30=$mvPred; //@line 597 "../src/h264bsd_inter_prediction.c"
 var $31=$29; //@line 597 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($30)>>1)]=HEAP16[(($31)>>1)];HEAP16[((($30)+(2))>>1)]=HEAP16[((($31)+(2))>>1)]; //@line 597 "../src/h264bsd_inter_prediction.c"
 label=6;break; //@line 597 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $33=$2; //@line 600 "../src/h264bsd_inter_prediction.c"
 var $34=(($33+4)|0); //@line 600 "../src/h264bsd_inter_prediction.c"
 var $35=HEAP32[(($34)>>2)]; //@line 600 "../src/h264bsd_inter_prediction.c"
 var $36=$2; //@line 600 "../src/h264bsd_inter_prediction.c"
 var $37=(($36+200)|0); //@line 600 "../src/h264bsd_inter_prediction.c"
 var $38=HEAP32[(($37)>>2)]; //@line 600 "../src/h264bsd_inter_prediction.c"
 var $39=(($a)|0); //@line 600 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($35,$38,$39,5); //@line 600 "../src/h264bsd_inter_prediction.c"
 var $40=$2; //@line 601 "../src/h264bsd_inter_prediction.c"
 var $41=(($40+4)|0); //@line 601 "../src/h264bsd_inter_prediction.c"
 var $42=HEAP32[(($41)>>2)]; //@line 601 "../src/h264bsd_inter_prediction.c"
 var $43=$2; //@line 601 "../src/h264bsd_inter_prediction.c"
 var $44=(($43+208)|0); //@line 601 "../src/h264bsd_inter_prediction.c"
 var $45=HEAP32[(($44)>>2)]; //@line 601 "../src/h264bsd_inter_prediction.c"
 var $46=(($a)|0); //@line 601 "../src/h264bsd_inter_prediction.c"
 var $47=(($46+24)|0); //@line 601 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($42,$45,$47,10); //@line 601 "../src/h264bsd_inter_prediction.c"
 var $48=(($a+24)|0); //@line 602 "../src/h264bsd_inter_prediction.c"
 var $49=(($48)|0); //@line 602 "../src/h264bsd_inter_prediction.c"
 var $50=HEAP32[(($49)>>2)]; //@line 602 "../src/h264bsd_inter_prediction.c"
 var $51=($50|0)!=0; //@line 602 "../src/h264bsd_inter_prediction.c"
 if($51){label=5;break;}else{label=4;break;} //@line 602 "../src/h264bsd_inter_prediction.c"
 case 4: 
 var $53=$2; //@line 604 "../src/h264bsd_inter_prediction.c"
 var $54=(($53+4)|0); //@line 604 "../src/h264bsd_inter_prediction.c"
 var $55=HEAP32[(($54)>>2)]; //@line 604 "../src/h264bsd_inter_prediction.c"
 var $56=$2; //@line 604 "../src/h264bsd_inter_prediction.c"
 var $57=(($56+212)|0); //@line 604 "../src/h264bsd_inter_prediction.c"
 var $58=HEAP32[(($57)>>2)]; //@line 604 "../src/h264bsd_inter_prediction.c"
 var $59=(($a)|0); //@line 604 "../src/h264bsd_inter_prediction.c"
 var $60=(($59+24)|0); //@line 604 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($55,$58,$60,15); //@line 604 "../src/h264bsd_inter_prediction.c"
 label=5;break; //@line 605 "../src/h264bsd_inter_prediction.c"
 case 5: 
 var $62=(($a)|0); //@line 607 "../src/h264bsd_inter_prediction.c"
 var $63=$refIndex; //@line 607 "../src/h264bsd_inter_prediction.c"
 _GetPredictionMv($mvPred,$62,$63); //@line 607 "../src/h264bsd_inter_prediction.c"
 label=6;break;
 case 6: 
 var $65=(($mvPred)|0); //@line 610 "../src/h264bsd_inter_prediction.c"
 var $66=HEAP16[(($65)>>1)]; //@line 610 "../src/h264bsd_inter_prediction.c"
 var $67=(($66<<16)>>16); //@line 610 "../src/h264bsd_inter_prediction.c"
 var $68=(($mv)|0); //@line 610 "../src/h264bsd_inter_prediction.c"
 var $69=HEAP16[(($68)>>1)]; //@line 610 "../src/h264bsd_inter_prediction.c"
 var $70=(($69<<16)>>16); //@line 610 "../src/h264bsd_inter_prediction.c"
 var $71=((($70)+($67))|0); //@line 610 "../src/h264bsd_inter_prediction.c"
 var $72=(($71)&65535); //@line 610 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($68)>>1)]=$72; //@line 610 "../src/h264bsd_inter_prediction.c"
 var $73=(($mvPred+2)|0); //@line 611 "../src/h264bsd_inter_prediction.c"
 var $74=HEAP16[(($73)>>1)]; //@line 611 "../src/h264bsd_inter_prediction.c"
 var $75=(($74<<16)>>16); //@line 611 "../src/h264bsd_inter_prediction.c"
 var $76=(($mv+2)|0); //@line 611 "../src/h264bsd_inter_prediction.c"
 var $77=HEAP16[(($76)>>1)]; //@line 611 "../src/h264bsd_inter_prediction.c"
 var $78=(($77<<16)>>16); //@line 611 "../src/h264bsd_inter_prediction.c"
 var $79=((($78)+($75))|0); //@line 611 "../src/h264bsd_inter_prediction.c"
 var $80=(($79)&65535); //@line 611 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($76)>>1)]=$80; //@line 611 "../src/h264bsd_inter_prediction.c"
 var $81=(($mv)|0); //@line 614 "../src/h264bsd_inter_prediction.c"
 var $82=HEAP16[(($81)>>1)]; //@line 614 "../src/h264bsd_inter_prediction.c"
 var $83=(($82<<16)>>16); //@line 614 "../src/h264bsd_inter_prediction.c"
 var $84=((($83)+(8192))|0); //@line 614 "../src/h264bsd_inter_prediction.c"
 var $85=($84>>>0)>=16384; //@line 614 "../src/h264bsd_inter_prediction.c"
 if($85){label=7;break;}else{label=8;break;} //@line 614 "../src/h264bsd_inter_prediction.c"
 case 7: 
 $1=1; //@line 615 "../src/h264bsd_inter_prediction.c"
 label=22;break; //@line 615 "../src/h264bsd_inter_prediction.c"
 case 8: 
 var $88=(($mv+2)|0); //@line 618 "../src/h264bsd_inter_prediction.c"
 var $89=HEAP16[(($88)>>1)]; //@line 618 "../src/h264bsd_inter_prediction.c"
 var $90=(($89<<16)>>16); //@line 618 "../src/h264bsd_inter_prediction.c"
 var $91=((($90)+(2048))|0); //@line 618 "../src/h264bsd_inter_prediction.c"
 var $92=($91>>>0)>=4096; //@line 618 "../src/h264bsd_inter_prediction.c"
 if($92){label=9;break;}else{label=10;break;} //@line 618 "../src/h264bsd_inter_prediction.c"
 case 9: 
 $1=1; //@line 619 "../src/h264bsd_inter_prediction.c"
 label=22;break; //@line 619 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $95=$4; //@line 621 "../src/h264bsd_inter_prediction.c"
 var $96=$refIndex; //@line 621 "../src/h264bsd_inter_prediction.c"
 var $97=_h264bsdGetRefPicData($95,$96); //@line 621 "../src/h264bsd_inter_prediction.c"
 $tmp=$97; //@line 621 "../src/h264bsd_inter_prediction.c"
 var $98=$tmp; //@line 622 "../src/h264bsd_inter_prediction.c"
 var $99=($98|0)==0; //@line 622 "../src/h264bsd_inter_prediction.c"
 if($99){label=11;break;}else{label=12;break;} //@line 622 "../src/h264bsd_inter_prediction.c"
 case 11: 
 $1=1; //@line 623 "../src/h264bsd_inter_prediction.c"
 label=22;break; //@line 623 "../src/h264bsd_inter_prediction.c"
 case 12: 
 var $102=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $103=(($102+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $104=(($103)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $105=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $106=(($105+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $107=(($106+4)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $108=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $109=(($108+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $110=(($109+8)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $111=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $112=(($111+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $113=(($112+12)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $114=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $115=(($114+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $116=(($115+16)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $117=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $118=(($117+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $119=(($118+20)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $120=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $121=(($120+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $122=(($121+24)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $123=$2; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $124=(($123+132)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $125=(($124+28)|0); //@line 625 "../src/h264bsd_inter_prediction.c"
 var $126=$125; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $127=$mv; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($126)>>1)]=HEAP16[(($127)>>1)];HEAP16[((($126)+(2))>>1)]=HEAP16[((($127)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $128=$122; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $129=$125; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($128)>>1)]=HEAP16[(($129)>>1)];HEAP16[((($128)+(2))>>1)]=HEAP16[((($129)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $130=$119; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $131=$122; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($130)>>1)]=HEAP16[(($131)>>1)];HEAP16[((($130)+(2))>>1)]=HEAP16[((($131)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $132=$116; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $133=$119; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($132)>>1)]=HEAP16[(($133)>>1)];HEAP16[((($132)+(2))>>1)]=HEAP16[((($133)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $134=$113; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $135=$116; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($134)>>1)]=HEAP16[(($135)>>1)];HEAP16[((($134)+(2))>>1)]=HEAP16[((($135)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $136=$110; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $137=$113; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($136)>>1)]=HEAP16[(($137)>>1)];HEAP16[((($136)+(2))>>1)]=HEAP16[((($137)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $138=$107; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $139=$110; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($138)>>1)]=HEAP16[(($139)>>1)];HEAP16[((($138)+(2))>>1)]=HEAP16[((($139)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $140=$104; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $141=$107; //@line 625 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($140)>>1)]=HEAP16[(($141)>>1)];HEAP16[((($140)+(2))>>1)]=HEAP16[((($141)+(2))>>1)]; //@line 625 "../src/h264bsd_inter_prediction.c"
 var $142=$refIndex; //@line 627 "../src/h264bsd_inter_prediction.c"
 var $143=$2; //@line 627 "../src/h264bsd_inter_prediction.c"
 var $144=(($143+100)|0); //@line 627 "../src/h264bsd_inter_prediction.c"
 var $145=(($144)|0); //@line 627 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($145)>>2)]=$142; //@line 627 "../src/h264bsd_inter_prediction.c"
 var $146=$refIndex; //@line 628 "../src/h264bsd_inter_prediction.c"
 var $147=$2; //@line 628 "../src/h264bsd_inter_prediction.c"
 var $148=(($147+100)|0); //@line 628 "../src/h264bsd_inter_prediction.c"
 var $149=(($148+4)|0); //@line 628 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($149)>>2)]=$146; //@line 628 "../src/h264bsd_inter_prediction.c"
 var $150=$tmp; //@line 629 "../src/h264bsd_inter_prediction.c"
 var $151=$2; //@line 629 "../src/h264bsd_inter_prediction.c"
 var $152=(($151+116)|0); //@line 629 "../src/h264bsd_inter_prediction.c"
 var $153=(($152)|0); //@line 629 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($153)>>2)]=$150; //@line 629 "../src/h264bsd_inter_prediction.c"
 var $154=$tmp; //@line 630 "../src/h264bsd_inter_prediction.c"
 var $155=$2; //@line 630 "../src/h264bsd_inter_prediction.c"
 var $156=(($155+116)|0); //@line 630 "../src/h264bsd_inter_prediction.c"
 var $157=(($156+4)|0); //@line 630 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($157)>>2)]=$154; //@line 630 "../src/h264bsd_inter_prediction.c"
 var $158=$3; //@line 632 "../src/h264bsd_inter_prediction.c"
 var $159=(($158+148)|0); //@line 632 "../src/h264bsd_inter_prediction.c"
 var $160=(($159+4)|0); //@line 632 "../src/h264bsd_inter_prediction.c"
 var $161=$mv; //@line 632 "../src/h264bsd_inter_prediction.c"
 var $162=$160; //@line 632 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($161)>>1)]=HEAP16[(($162)>>1)];HEAP16[((($161)+(2))>>1)]=HEAP16[((($162)+(2))>>1)]; //@line 632 "../src/h264bsd_inter_prediction.c"
 var $163=$3; //@line 633 "../src/h264bsd_inter_prediction.c"
 var $164=(($163+132)|0); //@line 633 "../src/h264bsd_inter_prediction.c"
 var $165=(($164+4)|0); //@line 633 "../src/h264bsd_inter_prediction.c"
 var $166=HEAP32[(($165)>>2)]; //@line 633 "../src/h264bsd_inter_prediction.c"
 $refIndex=$166; //@line 633 "../src/h264bsd_inter_prediction.c"
 var $167=$2; //@line 635 "../src/h264bsd_inter_prediction.c"
 var $168=(($167+4)|0); //@line 635 "../src/h264bsd_inter_prediction.c"
 var $169=HEAP32[(($168)>>2)]; //@line 635 "../src/h264bsd_inter_prediction.c"
 var $170=$2; //@line 635 "../src/h264bsd_inter_prediction.c"
 var $171=(($170+200)|0); //@line 635 "../src/h264bsd_inter_prediction.c"
 var $172=HEAP32[(($171)>>2)]; //@line 635 "../src/h264bsd_inter_prediction.c"
 var $173=(($a)|0); //@line 635 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($169,$172,$173,13); //@line 635 "../src/h264bsd_inter_prediction.c"
 var $174=(($a)|0); //@line 636 "../src/h264bsd_inter_prediction.c"
 var $175=(($174+4)|0); //@line 636 "../src/h264bsd_inter_prediction.c"
 var $176=HEAP32[(($175)>>2)]; //@line 636 "../src/h264bsd_inter_prediction.c"
 var $177=$refIndex; //@line 636 "../src/h264bsd_inter_prediction.c"
 var $178=($176|0)==($177|0); //@line 636 "../src/h264bsd_inter_prediction.c"
 if($178){label=13;break;}else{label=14;break;} //@line 636 "../src/h264bsd_inter_prediction.c"
 case 13: 
 var $180=(($a)|0); //@line 637 "../src/h264bsd_inter_prediction.c"
 var $181=(($180+8)|0); //@line 637 "../src/h264bsd_inter_prediction.c"
 var $182=$mvPred; //@line 637 "../src/h264bsd_inter_prediction.c"
 var $183=$181; //@line 637 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($182)>>1)]=HEAP16[(($183)>>1)];HEAP16[((($182)+(2))>>1)]=HEAP16[((($183)+(2))>>1)]; //@line 637 "../src/h264bsd_inter_prediction.c"
 label=15;break; //@line 637 "../src/h264bsd_inter_prediction.c"
 case 14: 
 var $185=(($a+12)|0); //@line 640 "../src/h264bsd_inter_prediction.c"
 var $186=(($185)|0); //@line 640 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($186)>>2)]=1; //@line 640 "../src/h264bsd_inter_prediction.c"
 var $187=$2; //@line 641 "../src/h264bsd_inter_prediction.c"
 var $188=(($187+100)|0); //@line 641 "../src/h264bsd_inter_prediction.c"
 var $189=(($188)|0); //@line 641 "../src/h264bsd_inter_prediction.c"
 var $190=HEAP32[(($189)>>2)]; //@line 641 "../src/h264bsd_inter_prediction.c"
 var $191=(($a+12)|0); //@line 641 "../src/h264bsd_inter_prediction.c"
 var $192=(($191+4)|0); //@line 641 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($192)>>2)]=$190; //@line 641 "../src/h264bsd_inter_prediction.c"
 var $193=(($a+12)|0); //@line 642 "../src/h264bsd_inter_prediction.c"
 var $194=(($193+8)|0); //@line 642 "../src/h264bsd_inter_prediction.c"
 var $195=$2; //@line 642 "../src/h264bsd_inter_prediction.c"
 var $196=(($195+132)|0); //@line 642 "../src/h264bsd_inter_prediction.c"
 var $197=(($196)|0); //@line 642 "../src/h264bsd_inter_prediction.c"
 var $198=$194; //@line 642 "../src/h264bsd_inter_prediction.c"
 var $199=$197; //@line 642 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($198)>>1)]=HEAP16[(($199)>>1)];HEAP16[((($198)+(2))>>1)]=HEAP16[((($199)+(2))>>1)]; //@line 642 "../src/h264bsd_inter_prediction.c"
 var $200=$2; //@line 645 "../src/h264bsd_inter_prediction.c"
 var $201=(($200+4)|0); //@line 645 "../src/h264bsd_inter_prediction.c"
 var $202=HEAP32[(($201)>>2)]; //@line 645 "../src/h264bsd_inter_prediction.c"
 var $203=$2; //@line 645 "../src/h264bsd_inter_prediction.c"
 var $204=(($203+200)|0); //@line 645 "../src/h264bsd_inter_prediction.c"
 var $205=HEAP32[(($204)>>2)]; //@line 645 "../src/h264bsd_inter_prediction.c"
 var $206=(($a)|0); //@line 645 "../src/h264bsd_inter_prediction.c"
 var $207=(($206+24)|0); //@line 645 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($202,$205,$207,7); //@line 645 "../src/h264bsd_inter_prediction.c"
 var $208=(($a)|0); //@line 647 "../src/h264bsd_inter_prediction.c"
 var $209=$refIndex; //@line 647 "../src/h264bsd_inter_prediction.c"
 _GetPredictionMv($mvPred,$208,$209); //@line 647 "../src/h264bsd_inter_prediction.c"
 label=15;break;
 case 15: 
 var $211=(($mvPred)|0); //@line 650 "../src/h264bsd_inter_prediction.c"
 var $212=HEAP16[(($211)>>1)]; //@line 650 "../src/h264bsd_inter_prediction.c"
 var $213=(($212<<16)>>16); //@line 650 "../src/h264bsd_inter_prediction.c"
 var $214=(($mv)|0); //@line 650 "../src/h264bsd_inter_prediction.c"
 var $215=HEAP16[(($214)>>1)]; //@line 650 "../src/h264bsd_inter_prediction.c"
 var $216=(($215<<16)>>16); //@line 650 "../src/h264bsd_inter_prediction.c"
 var $217=((($216)+($213))|0); //@line 650 "../src/h264bsd_inter_prediction.c"
 var $218=(($217)&65535); //@line 650 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($214)>>1)]=$218; //@line 650 "../src/h264bsd_inter_prediction.c"
 var $219=(($mvPred+2)|0); //@line 651 "../src/h264bsd_inter_prediction.c"
 var $220=HEAP16[(($219)>>1)]; //@line 651 "../src/h264bsd_inter_prediction.c"
 var $221=(($220<<16)>>16); //@line 651 "../src/h264bsd_inter_prediction.c"
 var $222=(($mv+2)|0); //@line 651 "../src/h264bsd_inter_prediction.c"
 var $223=HEAP16[(($222)>>1)]; //@line 651 "../src/h264bsd_inter_prediction.c"
 var $224=(($223<<16)>>16); //@line 651 "../src/h264bsd_inter_prediction.c"
 var $225=((($224)+($221))|0); //@line 651 "../src/h264bsd_inter_prediction.c"
 var $226=(($225)&65535); //@line 651 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($222)>>1)]=$226; //@line 651 "../src/h264bsd_inter_prediction.c"
 var $227=(($mv)|0); //@line 654 "../src/h264bsd_inter_prediction.c"
 var $228=HEAP16[(($227)>>1)]; //@line 654 "../src/h264bsd_inter_prediction.c"
 var $229=(($228<<16)>>16); //@line 654 "../src/h264bsd_inter_prediction.c"
 var $230=((($229)+(8192))|0); //@line 654 "../src/h264bsd_inter_prediction.c"
 var $231=($230>>>0)>=16384; //@line 654 "../src/h264bsd_inter_prediction.c"
 if($231){label=16;break;}else{label=17;break;} //@line 654 "../src/h264bsd_inter_prediction.c"
 case 16: 
 $1=1; //@line 655 "../src/h264bsd_inter_prediction.c"
 label=22;break; //@line 655 "../src/h264bsd_inter_prediction.c"
 case 17: 
 var $234=(($mv+2)|0); //@line 658 "../src/h264bsd_inter_prediction.c"
 var $235=HEAP16[(($234)>>1)]; //@line 658 "../src/h264bsd_inter_prediction.c"
 var $236=(($235<<16)>>16); //@line 658 "../src/h264bsd_inter_prediction.c"
 var $237=((($236)+(2048))|0); //@line 658 "../src/h264bsd_inter_prediction.c"
 var $238=($237>>>0)>=4096; //@line 658 "../src/h264bsd_inter_prediction.c"
 if($238){label=18;break;}else{label=19;break;} //@line 658 "../src/h264bsd_inter_prediction.c"
 case 18: 
 $1=1; //@line 659 "../src/h264bsd_inter_prediction.c"
 label=22;break; //@line 659 "../src/h264bsd_inter_prediction.c"
 case 19: 
 var $241=$4; //@line 661 "../src/h264bsd_inter_prediction.c"
 var $242=$refIndex; //@line 661 "../src/h264bsd_inter_prediction.c"
 var $243=_h264bsdGetRefPicData($241,$242); //@line 661 "../src/h264bsd_inter_prediction.c"
 $tmp=$243; //@line 661 "../src/h264bsd_inter_prediction.c"
 var $244=$tmp; //@line 662 "../src/h264bsd_inter_prediction.c"
 var $245=($244|0)==0; //@line 662 "../src/h264bsd_inter_prediction.c"
 if($245){label=20;break;}else{label=21;break;} //@line 662 "../src/h264bsd_inter_prediction.c"
 case 20: 
 $1=1; //@line 663 "../src/h264bsd_inter_prediction.c"
 label=22;break; //@line 663 "../src/h264bsd_inter_prediction.c"
 case 21: 
 var $248=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $249=(($248+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $250=(($249+32)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $251=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $252=(($251+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $253=(($252+36)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $254=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $255=(($254+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $256=(($255+40)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $257=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $258=(($257+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $259=(($258+44)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $260=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $261=(($260+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $262=(($261+48)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $263=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $264=(($263+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $265=(($264+52)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $266=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $267=(($266+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $268=(($267+56)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $269=$2; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $270=(($269+132)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $271=(($270+60)|0); //@line 665 "../src/h264bsd_inter_prediction.c"
 var $272=$271; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $273=$mv; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($272)>>1)]=HEAP16[(($273)>>1)];HEAP16[((($272)+(2))>>1)]=HEAP16[((($273)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $274=$268; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $275=$271; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($274)>>1)]=HEAP16[(($275)>>1)];HEAP16[((($274)+(2))>>1)]=HEAP16[((($275)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $276=$265; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $277=$268; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($276)>>1)]=HEAP16[(($277)>>1)];HEAP16[((($276)+(2))>>1)]=HEAP16[((($277)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $278=$262; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $279=$265; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($278)>>1)]=HEAP16[(($279)>>1)];HEAP16[((($278)+(2))>>1)]=HEAP16[((($279)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $280=$259; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $281=$262; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($280)>>1)]=HEAP16[(($281)>>1)];HEAP16[((($280)+(2))>>1)]=HEAP16[((($281)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $282=$256; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $283=$259; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($282)>>1)]=HEAP16[(($283)>>1)];HEAP16[((($282)+(2))>>1)]=HEAP16[((($283)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $284=$253; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $285=$256; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($284)>>1)]=HEAP16[(($285)>>1)];HEAP16[((($284)+(2))>>1)]=HEAP16[((($285)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $286=$250; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $287=$253; //@line 665 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($286)>>1)]=HEAP16[(($287)>>1)];HEAP16[((($286)+(2))>>1)]=HEAP16[((($287)+(2))>>1)]; //@line 665 "../src/h264bsd_inter_prediction.c"
 var $288=$refIndex; //@line 667 "../src/h264bsd_inter_prediction.c"
 var $289=$2; //@line 667 "../src/h264bsd_inter_prediction.c"
 var $290=(($289+100)|0); //@line 667 "../src/h264bsd_inter_prediction.c"
 var $291=(($290+8)|0); //@line 667 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($291)>>2)]=$288; //@line 667 "../src/h264bsd_inter_prediction.c"
 var $292=$refIndex; //@line 668 "../src/h264bsd_inter_prediction.c"
 var $293=$2; //@line 668 "../src/h264bsd_inter_prediction.c"
 var $294=(($293+100)|0); //@line 668 "../src/h264bsd_inter_prediction.c"
 var $295=(($294+12)|0); //@line 668 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($295)>>2)]=$292; //@line 668 "../src/h264bsd_inter_prediction.c"
 var $296=$tmp; //@line 669 "../src/h264bsd_inter_prediction.c"
 var $297=$2; //@line 669 "../src/h264bsd_inter_prediction.c"
 var $298=(($297+116)|0); //@line 669 "../src/h264bsd_inter_prediction.c"
 var $299=(($298+8)|0); //@line 669 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($299)>>2)]=$296; //@line 669 "../src/h264bsd_inter_prediction.c"
 var $300=$tmp; //@line 670 "../src/h264bsd_inter_prediction.c"
 var $301=$2; //@line 670 "../src/h264bsd_inter_prediction.c"
 var $302=(($301+116)|0); //@line 670 "../src/h264bsd_inter_prediction.c"
 var $303=(($302+12)|0); //@line 670 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($303)>>2)]=$300; //@line 670 "../src/h264bsd_inter_prediction.c"
 $1=0; //@line 672 "../src/h264bsd_inter_prediction.c"
 label=22;break; //@line 672 "../src/h264bsd_inter_prediction.c"
 case 22: 
 var $305=$1; //@line 674 "../src/h264bsd_inter_prediction.c"
 STACKTOP=sp;return $305; //@line 674 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _MvPrediction8x16($pMb,$mbPred,$dpb){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+56)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $mv=sp;
 var $mvPred=(sp)+(8);
 var $a=(sp)+(16);
 var $refIndex;
 var $tmp;
 $2=$pMb;
 $3=$mbPred;
 $4=$dpb;
 var $5=$3; //@line 698 "../src/h264bsd_inter_prediction.c"
 var $6=(($5+148)|0); //@line 698 "../src/h264bsd_inter_prediction.c"
 var $7=(($6)|0); //@line 698 "../src/h264bsd_inter_prediction.c"
 var $8=$mv; //@line 698 "../src/h264bsd_inter_prediction.c"
 var $9=$7; //@line 698 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($8)>>1)]=HEAP16[(($9)>>1)];HEAP16[((($8)+(2))>>1)]=HEAP16[((($9)+(2))>>1)]; //@line 698 "../src/h264bsd_inter_prediction.c"
 var $10=$3; //@line 699 "../src/h264bsd_inter_prediction.c"
 var $11=(($10+132)|0); //@line 699 "../src/h264bsd_inter_prediction.c"
 var $12=(($11)|0); //@line 699 "../src/h264bsd_inter_prediction.c"
 var $13=HEAP32[(($12)>>2)]; //@line 699 "../src/h264bsd_inter_prediction.c"
 $refIndex=$13; //@line 699 "../src/h264bsd_inter_prediction.c"
 var $14=$2; //@line 701 "../src/h264bsd_inter_prediction.c"
 var $15=(($14+4)|0); //@line 701 "../src/h264bsd_inter_prediction.c"
 var $16=HEAP32[(($15)>>2)]; //@line 701 "../src/h264bsd_inter_prediction.c"
 var $17=$2; //@line 701 "../src/h264bsd_inter_prediction.c"
 var $18=(($17+200)|0); //@line 701 "../src/h264bsd_inter_prediction.c"
 var $19=HEAP32[(($18)>>2)]; //@line 701 "../src/h264bsd_inter_prediction.c"
 var $20=(($a)|0); //@line 701 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($16,$19,$20,5); //@line 701 "../src/h264bsd_inter_prediction.c"
 var $21=(($a)|0); //@line 703 "../src/h264bsd_inter_prediction.c"
 var $22=(($21+4)|0); //@line 703 "../src/h264bsd_inter_prediction.c"
 var $23=HEAP32[(($22)>>2)]; //@line 703 "../src/h264bsd_inter_prediction.c"
 var $24=$refIndex; //@line 703 "../src/h264bsd_inter_prediction.c"
 var $25=($23|0)==($24|0); //@line 703 "../src/h264bsd_inter_prediction.c"
 if($25){label=2;break;}else{label=3;break;} //@line 703 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $27=(($a)|0); //@line 704 "../src/h264bsd_inter_prediction.c"
 var $28=(($27+8)|0); //@line 704 "../src/h264bsd_inter_prediction.c"
 var $29=$mvPred; //@line 704 "../src/h264bsd_inter_prediction.c"
 var $30=$28; //@line 704 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($29)>>1)]=HEAP16[(($30)>>1)];HEAP16[((($29)+(2))>>1)]=HEAP16[((($30)+(2))>>1)]; //@line 704 "../src/h264bsd_inter_prediction.c"
 label=6;break; //@line 704 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $32=$2; //@line 707 "../src/h264bsd_inter_prediction.c"
 var $33=(($32+4)|0); //@line 707 "../src/h264bsd_inter_prediction.c"
 var $34=HEAP32[(($33)>>2)]; //@line 707 "../src/h264bsd_inter_prediction.c"
 var $35=$2; //@line 707 "../src/h264bsd_inter_prediction.c"
 var $36=(($35+204)|0); //@line 707 "../src/h264bsd_inter_prediction.c"
 var $37=HEAP32[(($36)>>2)]; //@line 707 "../src/h264bsd_inter_prediction.c"
 var $38=(($a)|0); //@line 707 "../src/h264bsd_inter_prediction.c"
 var $39=(($38+12)|0); //@line 707 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($34,$37,$39,10); //@line 707 "../src/h264bsd_inter_prediction.c"
 var $40=$2; //@line 708 "../src/h264bsd_inter_prediction.c"
 var $41=(($40+4)|0); //@line 708 "../src/h264bsd_inter_prediction.c"
 var $42=HEAP32[(($41)>>2)]; //@line 708 "../src/h264bsd_inter_prediction.c"
 var $43=$2; //@line 708 "../src/h264bsd_inter_prediction.c"
 var $44=(($43+204)|0); //@line 708 "../src/h264bsd_inter_prediction.c"
 var $45=HEAP32[(($44)>>2)]; //@line 708 "../src/h264bsd_inter_prediction.c"
 var $46=(($a)|0); //@line 708 "../src/h264bsd_inter_prediction.c"
 var $47=(($46+24)|0); //@line 708 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($42,$45,$47,14); //@line 708 "../src/h264bsd_inter_prediction.c"
 var $48=(($a+24)|0); //@line 709 "../src/h264bsd_inter_prediction.c"
 var $49=(($48)|0); //@line 709 "../src/h264bsd_inter_prediction.c"
 var $50=HEAP32[(($49)>>2)]; //@line 709 "../src/h264bsd_inter_prediction.c"
 var $51=($50|0)!=0; //@line 709 "../src/h264bsd_inter_prediction.c"
 if($51){label=5;break;}else{label=4;break;} //@line 709 "../src/h264bsd_inter_prediction.c"
 case 4: 
 var $53=$2; //@line 711 "../src/h264bsd_inter_prediction.c"
 var $54=(($53+4)|0); //@line 711 "../src/h264bsd_inter_prediction.c"
 var $55=HEAP32[(($54)>>2)]; //@line 711 "../src/h264bsd_inter_prediction.c"
 var $56=$2; //@line 711 "../src/h264bsd_inter_prediction.c"
 var $57=(($56+212)|0); //@line 711 "../src/h264bsd_inter_prediction.c"
 var $58=HEAP32[(($57)>>2)]; //@line 711 "../src/h264bsd_inter_prediction.c"
 var $59=(($a)|0); //@line 711 "../src/h264bsd_inter_prediction.c"
 var $60=(($59+24)|0); //@line 711 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($55,$58,$60,15); //@line 711 "../src/h264bsd_inter_prediction.c"
 label=5;break; //@line 712 "../src/h264bsd_inter_prediction.c"
 case 5: 
 var $62=(($a)|0); //@line 714 "../src/h264bsd_inter_prediction.c"
 var $63=$refIndex; //@line 714 "../src/h264bsd_inter_prediction.c"
 _GetPredictionMv($mvPred,$62,$63); //@line 714 "../src/h264bsd_inter_prediction.c"
 label=6;break;
 case 6: 
 var $65=(($mvPred)|0); //@line 717 "../src/h264bsd_inter_prediction.c"
 var $66=HEAP16[(($65)>>1)]; //@line 717 "../src/h264bsd_inter_prediction.c"
 var $67=(($66<<16)>>16); //@line 717 "../src/h264bsd_inter_prediction.c"
 var $68=(($mv)|0); //@line 717 "../src/h264bsd_inter_prediction.c"
 var $69=HEAP16[(($68)>>1)]; //@line 717 "../src/h264bsd_inter_prediction.c"
 var $70=(($69<<16)>>16); //@line 717 "../src/h264bsd_inter_prediction.c"
 var $71=((($70)+($67))|0); //@line 717 "../src/h264bsd_inter_prediction.c"
 var $72=(($71)&65535); //@line 717 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($68)>>1)]=$72; //@line 717 "../src/h264bsd_inter_prediction.c"
 var $73=(($mvPred+2)|0); //@line 718 "../src/h264bsd_inter_prediction.c"
 var $74=HEAP16[(($73)>>1)]; //@line 718 "../src/h264bsd_inter_prediction.c"
 var $75=(($74<<16)>>16); //@line 718 "../src/h264bsd_inter_prediction.c"
 var $76=(($mv+2)|0); //@line 718 "../src/h264bsd_inter_prediction.c"
 var $77=HEAP16[(($76)>>1)]; //@line 718 "../src/h264bsd_inter_prediction.c"
 var $78=(($77<<16)>>16); //@line 718 "../src/h264bsd_inter_prediction.c"
 var $79=((($78)+($75))|0); //@line 718 "../src/h264bsd_inter_prediction.c"
 var $80=(($79)&65535); //@line 718 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($76)>>1)]=$80; //@line 718 "../src/h264bsd_inter_prediction.c"
 var $81=(($mv)|0); //@line 721 "../src/h264bsd_inter_prediction.c"
 var $82=HEAP16[(($81)>>1)]; //@line 721 "../src/h264bsd_inter_prediction.c"
 var $83=(($82<<16)>>16); //@line 721 "../src/h264bsd_inter_prediction.c"
 var $84=((($83)+(8192))|0); //@line 721 "../src/h264bsd_inter_prediction.c"
 var $85=($84>>>0)>=16384; //@line 721 "../src/h264bsd_inter_prediction.c"
 if($85){label=7;break;}else{label=8;break;} //@line 721 "../src/h264bsd_inter_prediction.c"
 case 7: 
 $1=1; //@line 722 "../src/h264bsd_inter_prediction.c"
 label=24;break; //@line 722 "../src/h264bsd_inter_prediction.c"
 case 8: 
 var $88=(($mv+2)|0); //@line 725 "../src/h264bsd_inter_prediction.c"
 var $89=HEAP16[(($88)>>1)]; //@line 725 "../src/h264bsd_inter_prediction.c"
 var $90=(($89<<16)>>16); //@line 725 "../src/h264bsd_inter_prediction.c"
 var $91=((($90)+(2048))|0); //@line 725 "../src/h264bsd_inter_prediction.c"
 var $92=($91>>>0)>=4096; //@line 725 "../src/h264bsd_inter_prediction.c"
 if($92){label=9;break;}else{label=10;break;} //@line 725 "../src/h264bsd_inter_prediction.c"
 case 9: 
 $1=1; //@line 726 "../src/h264bsd_inter_prediction.c"
 label=24;break; //@line 726 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $95=$4; //@line 728 "../src/h264bsd_inter_prediction.c"
 var $96=$refIndex; //@line 728 "../src/h264bsd_inter_prediction.c"
 var $97=_h264bsdGetRefPicData($95,$96); //@line 728 "../src/h264bsd_inter_prediction.c"
 $tmp=$97; //@line 728 "../src/h264bsd_inter_prediction.c"
 var $98=$tmp; //@line 729 "../src/h264bsd_inter_prediction.c"
 var $99=($98|0)==0; //@line 729 "../src/h264bsd_inter_prediction.c"
 if($99){label=11;break;}else{label=12;break;} //@line 729 "../src/h264bsd_inter_prediction.c"
 case 11: 
 $1=1; //@line 730 "../src/h264bsd_inter_prediction.c"
 label=24;break; //@line 730 "../src/h264bsd_inter_prediction.c"
 case 12: 
 var $102=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $103=(($102+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $104=(($103)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $105=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $106=(($105+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $107=(($106+4)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $108=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $109=(($108+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $110=(($109+8)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $111=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $112=(($111+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $113=(($112+12)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $114=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $115=(($114+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $116=(($115+32)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $117=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $118=(($117+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $119=(($118+36)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $120=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $121=(($120+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $122=(($121+40)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $123=$2; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $124=(($123+132)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $125=(($124+44)|0); //@line 732 "../src/h264bsd_inter_prediction.c"
 var $126=$125; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $127=$mv; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($126)>>1)]=HEAP16[(($127)>>1)];HEAP16[((($126)+(2))>>1)]=HEAP16[((($127)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $128=$122; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $129=$125; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($128)>>1)]=HEAP16[(($129)>>1)];HEAP16[((($128)+(2))>>1)]=HEAP16[((($129)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $130=$119; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $131=$122; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($130)>>1)]=HEAP16[(($131)>>1)];HEAP16[((($130)+(2))>>1)]=HEAP16[((($131)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $132=$116; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $133=$119; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($132)>>1)]=HEAP16[(($133)>>1)];HEAP16[((($132)+(2))>>1)]=HEAP16[((($133)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $134=$113; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $135=$116; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($134)>>1)]=HEAP16[(($135)>>1)];HEAP16[((($134)+(2))>>1)]=HEAP16[((($135)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $136=$110; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $137=$113; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($136)>>1)]=HEAP16[(($137)>>1)];HEAP16[((($136)+(2))>>1)]=HEAP16[((($137)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $138=$107; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $139=$110; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($138)>>1)]=HEAP16[(($139)>>1)];HEAP16[((($138)+(2))>>1)]=HEAP16[((($139)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $140=$104; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $141=$107; //@line 732 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($140)>>1)]=HEAP16[(($141)>>1)];HEAP16[((($140)+(2))>>1)]=HEAP16[((($141)+(2))>>1)]; //@line 732 "../src/h264bsd_inter_prediction.c"
 var $142=$refIndex; //@line 734 "../src/h264bsd_inter_prediction.c"
 var $143=$2; //@line 734 "../src/h264bsd_inter_prediction.c"
 var $144=(($143+100)|0); //@line 734 "../src/h264bsd_inter_prediction.c"
 var $145=(($144)|0); //@line 734 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($145)>>2)]=$142; //@line 734 "../src/h264bsd_inter_prediction.c"
 var $146=$refIndex; //@line 735 "../src/h264bsd_inter_prediction.c"
 var $147=$2; //@line 735 "../src/h264bsd_inter_prediction.c"
 var $148=(($147+100)|0); //@line 735 "../src/h264bsd_inter_prediction.c"
 var $149=(($148+8)|0); //@line 735 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($149)>>2)]=$146; //@line 735 "../src/h264bsd_inter_prediction.c"
 var $150=$tmp; //@line 736 "../src/h264bsd_inter_prediction.c"
 var $151=$2; //@line 736 "../src/h264bsd_inter_prediction.c"
 var $152=(($151+116)|0); //@line 736 "../src/h264bsd_inter_prediction.c"
 var $153=(($152)|0); //@line 736 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($153)>>2)]=$150; //@line 736 "../src/h264bsd_inter_prediction.c"
 var $154=$tmp; //@line 737 "../src/h264bsd_inter_prediction.c"
 var $155=$2; //@line 737 "../src/h264bsd_inter_prediction.c"
 var $156=(($155+116)|0); //@line 737 "../src/h264bsd_inter_prediction.c"
 var $157=(($156+8)|0); //@line 737 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($157)>>2)]=$154; //@line 737 "../src/h264bsd_inter_prediction.c"
 var $158=$3; //@line 739 "../src/h264bsd_inter_prediction.c"
 var $159=(($158+148)|0); //@line 739 "../src/h264bsd_inter_prediction.c"
 var $160=(($159+4)|0); //@line 739 "../src/h264bsd_inter_prediction.c"
 var $161=$mv; //@line 739 "../src/h264bsd_inter_prediction.c"
 var $162=$160; //@line 739 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($161)>>1)]=HEAP16[(($162)>>1)];HEAP16[((($161)+(2))>>1)]=HEAP16[((($162)+(2))>>1)]; //@line 739 "../src/h264bsd_inter_prediction.c"
 var $163=$3; //@line 740 "../src/h264bsd_inter_prediction.c"
 var $164=(($163+132)|0); //@line 740 "../src/h264bsd_inter_prediction.c"
 var $165=(($164+4)|0); //@line 740 "../src/h264bsd_inter_prediction.c"
 var $166=HEAP32[(($165)>>2)]; //@line 740 "../src/h264bsd_inter_prediction.c"
 $refIndex=$166; //@line 740 "../src/h264bsd_inter_prediction.c"
 var $167=$2; //@line 742 "../src/h264bsd_inter_prediction.c"
 var $168=(($167+4)|0); //@line 742 "../src/h264bsd_inter_prediction.c"
 var $169=HEAP32[(($168)>>2)]; //@line 742 "../src/h264bsd_inter_prediction.c"
 var $170=$2; //@line 742 "../src/h264bsd_inter_prediction.c"
 var $171=(($170+208)|0); //@line 742 "../src/h264bsd_inter_prediction.c"
 var $172=HEAP32[(($171)>>2)]; //@line 742 "../src/h264bsd_inter_prediction.c"
 var $173=(($a)|0); //@line 742 "../src/h264bsd_inter_prediction.c"
 var $174=(($173+24)|0); //@line 742 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($169,$172,$174,10); //@line 742 "../src/h264bsd_inter_prediction.c"
 var $175=(($a+24)|0); //@line 743 "../src/h264bsd_inter_prediction.c"
 var $176=(($175)|0); //@line 743 "../src/h264bsd_inter_prediction.c"
 var $177=HEAP32[(($176)>>2)]; //@line 743 "../src/h264bsd_inter_prediction.c"
 var $178=($177|0)!=0; //@line 743 "../src/h264bsd_inter_prediction.c"
 if($178){label=14;break;}else{label=13;break;} //@line 743 "../src/h264bsd_inter_prediction.c"
 case 13: 
 var $180=$2; //@line 745 "../src/h264bsd_inter_prediction.c"
 var $181=(($180+4)|0); //@line 745 "../src/h264bsd_inter_prediction.c"
 var $182=HEAP32[(($181)>>2)]; //@line 745 "../src/h264bsd_inter_prediction.c"
 var $183=$2; //@line 745 "../src/h264bsd_inter_prediction.c"
 var $184=(($183+204)|0); //@line 745 "../src/h264bsd_inter_prediction.c"
 var $185=HEAP32[(($184)>>2)]; //@line 745 "../src/h264bsd_inter_prediction.c"
 var $186=(($a)|0); //@line 745 "../src/h264bsd_inter_prediction.c"
 var $187=(($186+24)|0); //@line 745 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($182,$185,$187,11); //@line 745 "../src/h264bsd_inter_prediction.c"
 label=14;break; //@line 746 "../src/h264bsd_inter_prediction.c"
 case 14: 
 var $189=(($a+24)|0); //@line 747 "../src/h264bsd_inter_prediction.c"
 var $190=(($189+4)|0); //@line 747 "../src/h264bsd_inter_prediction.c"
 var $191=HEAP32[(($190)>>2)]; //@line 747 "../src/h264bsd_inter_prediction.c"
 var $192=$refIndex; //@line 747 "../src/h264bsd_inter_prediction.c"
 var $193=($191|0)==($192|0); //@line 747 "../src/h264bsd_inter_prediction.c"
 if($193){label=15;break;}else{label=16;break;} //@line 747 "../src/h264bsd_inter_prediction.c"
 case 15: 
 var $195=(($a+24)|0); //@line 748 "../src/h264bsd_inter_prediction.c"
 var $196=(($195+8)|0); //@line 748 "../src/h264bsd_inter_prediction.c"
 var $197=$mvPred; //@line 748 "../src/h264bsd_inter_prediction.c"
 var $198=$196; //@line 748 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($197)>>1)]=HEAP16[(($198)>>1)];HEAP16[((($197)+(2))>>1)]=HEAP16[((($198)+(2))>>1)]; //@line 748 "../src/h264bsd_inter_prediction.c"
 label=17;break; //@line 748 "../src/h264bsd_inter_prediction.c"
 case 16: 
 var $200=(($a)|0); //@line 751 "../src/h264bsd_inter_prediction.c"
 var $201=(($200)|0); //@line 751 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($201)>>2)]=1; //@line 751 "../src/h264bsd_inter_prediction.c"
 var $202=$2; //@line 752 "../src/h264bsd_inter_prediction.c"
 var $203=(($202+100)|0); //@line 752 "../src/h264bsd_inter_prediction.c"
 var $204=(($203)|0); //@line 752 "../src/h264bsd_inter_prediction.c"
 var $205=HEAP32[(($204)>>2)]; //@line 752 "../src/h264bsd_inter_prediction.c"
 var $206=(($a)|0); //@line 752 "../src/h264bsd_inter_prediction.c"
 var $207=(($206+4)|0); //@line 752 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($207)>>2)]=$205; //@line 752 "../src/h264bsd_inter_prediction.c"
 var $208=(($a)|0); //@line 753 "../src/h264bsd_inter_prediction.c"
 var $209=(($208+8)|0); //@line 753 "../src/h264bsd_inter_prediction.c"
 var $210=$2; //@line 753 "../src/h264bsd_inter_prediction.c"
 var $211=(($210+132)|0); //@line 753 "../src/h264bsd_inter_prediction.c"
 var $212=(($211)|0); //@line 753 "../src/h264bsd_inter_prediction.c"
 var $213=$209; //@line 753 "../src/h264bsd_inter_prediction.c"
 var $214=$212; //@line 753 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($213)>>1)]=HEAP16[(($214)>>1)];HEAP16[((($213)+(2))>>1)]=HEAP16[((($214)+(2))>>1)]; //@line 753 "../src/h264bsd_inter_prediction.c"
 var $215=$2; //@line 755 "../src/h264bsd_inter_prediction.c"
 var $216=(($215+4)|0); //@line 755 "../src/h264bsd_inter_prediction.c"
 var $217=HEAP32[(($216)>>2)]; //@line 755 "../src/h264bsd_inter_prediction.c"
 var $218=$2; //@line 755 "../src/h264bsd_inter_prediction.c"
 var $219=(($218+204)|0); //@line 755 "../src/h264bsd_inter_prediction.c"
 var $220=HEAP32[(($219)>>2)]; //@line 755 "../src/h264bsd_inter_prediction.c"
 var $221=(($a)|0); //@line 755 "../src/h264bsd_inter_prediction.c"
 var $222=(($221+12)|0); //@line 755 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($217,$220,$222,14); //@line 755 "../src/h264bsd_inter_prediction.c"
 var $223=(($a)|0); //@line 757 "../src/h264bsd_inter_prediction.c"
 var $224=$refIndex; //@line 757 "../src/h264bsd_inter_prediction.c"
 _GetPredictionMv($mvPred,$223,$224); //@line 757 "../src/h264bsd_inter_prediction.c"
 label=17;break;
 case 17: 
 var $226=(($mvPred)|0); //@line 760 "../src/h264bsd_inter_prediction.c"
 var $227=HEAP16[(($226)>>1)]; //@line 760 "../src/h264bsd_inter_prediction.c"
 var $228=(($227<<16)>>16); //@line 760 "../src/h264bsd_inter_prediction.c"
 var $229=(($mv)|0); //@line 760 "../src/h264bsd_inter_prediction.c"
 var $230=HEAP16[(($229)>>1)]; //@line 760 "../src/h264bsd_inter_prediction.c"
 var $231=(($230<<16)>>16); //@line 760 "../src/h264bsd_inter_prediction.c"
 var $232=((($231)+($228))|0); //@line 760 "../src/h264bsd_inter_prediction.c"
 var $233=(($232)&65535); //@line 760 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($229)>>1)]=$233; //@line 760 "../src/h264bsd_inter_prediction.c"
 var $234=(($mvPred+2)|0); //@line 761 "../src/h264bsd_inter_prediction.c"
 var $235=HEAP16[(($234)>>1)]; //@line 761 "../src/h264bsd_inter_prediction.c"
 var $236=(($235<<16)>>16); //@line 761 "../src/h264bsd_inter_prediction.c"
 var $237=(($mv+2)|0); //@line 761 "../src/h264bsd_inter_prediction.c"
 var $238=HEAP16[(($237)>>1)]; //@line 761 "../src/h264bsd_inter_prediction.c"
 var $239=(($238<<16)>>16); //@line 761 "../src/h264bsd_inter_prediction.c"
 var $240=((($239)+($236))|0); //@line 761 "../src/h264bsd_inter_prediction.c"
 var $241=(($240)&65535); //@line 761 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($237)>>1)]=$241; //@line 761 "../src/h264bsd_inter_prediction.c"
 var $242=(($mv)|0); //@line 764 "../src/h264bsd_inter_prediction.c"
 var $243=HEAP16[(($242)>>1)]; //@line 764 "../src/h264bsd_inter_prediction.c"
 var $244=(($243<<16)>>16); //@line 764 "../src/h264bsd_inter_prediction.c"
 var $245=((($244)+(8192))|0); //@line 764 "../src/h264bsd_inter_prediction.c"
 var $246=($245>>>0)>=16384; //@line 764 "../src/h264bsd_inter_prediction.c"
 if($246){label=18;break;}else{label=19;break;} //@line 764 "../src/h264bsd_inter_prediction.c"
 case 18: 
 $1=1; //@line 765 "../src/h264bsd_inter_prediction.c"
 label=24;break; //@line 765 "../src/h264bsd_inter_prediction.c"
 case 19: 
 var $249=(($mv+2)|0); //@line 768 "../src/h264bsd_inter_prediction.c"
 var $250=HEAP16[(($249)>>1)]; //@line 768 "../src/h264bsd_inter_prediction.c"
 var $251=(($250<<16)>>16); //@line 768 "../src/h264bsd_inter_prediction.c"
 var $252=((($251)+(2048))|0); //@line 768 "../src/h264bsd_inter_prediction.c"
 var $253=($252>>>0)>=4096; //@line 768 "../src/h264bsd_inter_prediction.c"
 if($253){label=20;break;}else{label=21;break;} //@line 768 "../src/h264bsd_inter_prediction.c"
 case 20: 
 $1=1; //@line 769 "../src/h264bsd_inter_prediction.c"
 label=24;break; //@line 769 "../src/h264bsd_inter_prediction.c"
 case 21: 
 var $256=$4; //@line 771 "../src/h264bsd_inter_prediction.c"
 var $257=$refIndex; //@line 771 "../src/h264bsd_inter_prediction.c"
 var $258=_h264bsdGetRefPicData($256,$257); //@line 771 "../src/h264bsd_inter_prediction.c"
 $tmp=$258; //@line 771 "../src/h264bsd_inter_prediction.c"
 var $259=$tmp; //@line 772 "../src/h264bsd_inter_prediction.c"
 var $260=($259|0)==0; //@line 772 "../src/h264bsd_inter_prediction.c"
 if($260){label=22;break;}else{label=23;break;} //@line 772 "../src/h264bsd_inter_prediction.c"
 case 22: 
 $1=1; //@line 773 "../src/h264bsd_inter_prediction.c"
 label=24;break; //@line 773 "../src/h264bsd_inter_prediction.c"
 case 23: 
 var $263=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $264=(($263+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $265=(($264+16)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $266=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $267=(($266+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $268=(($267+20)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $269=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $270=(($269+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $271=(($270+24)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $272=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $273=(($272+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $274=(($273+28)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $275=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $276=(($275+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $277=(($276+48)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $278=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $279=(($278+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $280=(($279+52)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $281=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $282=(($281+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $283=(($282+56)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $284=$2; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $285=(($284+132)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $286=(($285+60)|0); //@line 775 "../src/h264bsd_inter_prediction.c"
 var $287=$286; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $288=$mv; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($287)>>1)]=HEAP16[(($288)>>1)];HEAP16[((($287)+(2))>>1)]=HEAP16[((($288)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $289=$283; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $290=$286; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($289)>>1)]=HEAP16[(($290)>>1)];HEAP16[((($289)+(2))>>1)]=HEAP16[((($290)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $291=$280; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $292=$283; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($291)>>1)]=HEAP16[(($292)>>1)];HEAP16[((($291)+(2))>>1)]=HEAP16[((($292)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $293=$277; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $294=$280; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($293)>>1)]=HEAP16[(($294)>>1)];HEAP16[((($293)+(2))>>1)]=HEAP16[((($294)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $295=$274; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $296=$277; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($295)>>1)]=HEAP16[(($296)>>1)];HEAP16[((($295)+(2))>>1)]=HEAP16[((($296)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $297=$271; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $298=$274; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($297)>>1)]=HEAP16[(($298)>>1)];HEAP16[((($297)+(2))>>1)]=HEAP16[((($298)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $299=$268; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $300=$271; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($299)>>1)]=HEAP16[(($300)>>1)];HEAP16[((($299)+(2))>>1)]=HEAP16[((($300)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $301=$265; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $302=$268; //@line 775 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($301)>>1)]=HEAP16[(($302)>>1)];HEAP16[((($301)+(2))>>1)]=HEAP16[((($302)+(2))>>1)]; //@line 775 "../src/h264bsd_inter_prediction.c"
 var $303=$refIndex; //@line 777 "../src/h264bsd_inter_prediction.c"
 var $304=$2; //@line 777 "../src/h264bsd_inter_prediction.c"
 var $305=(($304+100)|0); //@line 777 "../src/h264bsd_inter_prediction.c"
 var $306=(($305+4)|0); //@line 777 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($306)>>2)]=$303; //@line 777 "../src/h264bsd_inter_prediction.c"
 var $307=$refIndex; //@line 778 "../src/h264bsd_inter_prediction.c"
 var $308=$2; //@line 778 "../src/h264bsd_inter_prediction.c"
 var $309=(($308+100)|0); //@line 778 "../src/h264bsd_inter_prediction.c"
 var $310=(($309+12)|0); //@line 778 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($310)>>2)]=$307; //@line 778 "../src/h264bsd_inter_prediction.c"
 var $311=$tmp; //@line 779 "../src/h264bsd_inter_prediction.c"
 var $312=$2; //@line 779 "../src/h264bsd_inter_prediction.c"
 var $313=(($312+116)|0); //@line 779 "../src/h264bsd_inter_prediction.c"
 var $314=(($313+4)|0); //@line 779 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($314)>>2)]=$311; //@line 779 "../src/h264bsd_inter_prediction.c"
 var $315=$tmp; //@line 780 "../src/h264bsd_inter_prediction.c"
 var $316=$2; //@line 780 "../src/h264bsd_inter_prediction.c"
 var $317=(($316+116)|0); //@line 780 "../src/h264bsd_inter_prediction.c"
 var $318=(($317+12)|0); //@line 780 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($318)>>2)]=$315; //@line 780 "../src/h264bsd_inter_prediction.c"
 $1=0; //@line 782 "../src/h264bsd_inter_prediction.c"
 label=24;break; //@line 782 "../src/h264bsd_inter_prediction.c"
 case 24: 
 var $320=$1; //@line 784 "../src/h264bsd_inter_prediction.c"
 STACKTOP=sp;return $320; //@line 784 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _MvPrediction8x8($pMb,$subMbPred,$dpb){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $j;
 var $numSubMbPart;
 $2=$pMb;
 $3=$subMbPred;
 $4=$dpb;
 $i=0; //@line 805 "../src/h264bsd_inter_prediction.c"
 label=2;break; //@line 805 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $6=$i; //@line 805 "../src/h264bsd_inter_prediction.c"
 var $7=($6>>>0)<4; //@line 805 "../src/h264bsd_inter_prediction.c"
 if($7){label=3;break;}else{label=13;break;} //@line 805 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $9=$i; //@line 807 "../src/h264bsd_inter_prediction.c"
 var $10=$3; //@line 807 "../src/h264bsd_inter_prediction.c"
 var $11=(($10)|0); //@line 807 "../src/h264bsd_inter_prediction.c"
 var $12=(($11+($9<<2))|0); //@line 807 "../src/h264bsd_inter_prediction.c"
 var $13=HEAP32[(($12)>>2)]; //@line 807 "../src/h264bsd_inter_prediction.c"
 var $14=_h264bsdNumSubMbPart($13); //@line 807 "../src/h264bsd_inter_prediction.c"
 $numSubMbPart=$14; //@line 807 "../src/h264bsd_inter_prediction.c"
 var $15=$i; //@line 808 "../src/h264bsd_inter_prediction.c"
 var $16=$3; //@line 808 "../src/h264bsd_inter_prediction.c"
 var $17=(($16+16)|0); //@line 808 "../src/h264bsd_inter_prediction.c"
 var $18=(($17+($15<<2))|0); //@line 808 "../src/h264bsd_inter_prediction.c"
 var $19=HEAP32[(($18)>>2)]; //@line 808 "../src/h264bsd_inter_prediction.c"
 var $20=$i; //@line 808 "../src/h264bsd_inter_prediction.c"
 var $21=$2; //@line 808 "../src/h264bsd_inter_prediction.c"
 var $22=(($21+100)|0); //@line 808 "../src/h264bsd_inter_prediction.c"
 var $23=(($22+($20<<2))|0); //@line 808 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($23)>>2)]=$19; //@line 808 "../src/h264bsd_inter_prediction.c"
 var $24=$4; //@line 809 "../src/h264bsd_inter_prediction.c"
 var $25=$i; //@line 809 "../src/h264bsd_inter_prediction.c"
 var $26=$3; //@line 809 "../src/h264bsd_inter_prediction.c"
 var $27=(($26+16)|0); //@line 809 "../src/h264bsd_inter_prediction.c"
 var $28=(($27+($25<<2))|0); //@line 809 "../src/h264bsd_inter_prediction.c"
 var $29=HEAP32[(($28)>>2)]; //@line 809 "../src/h264bsd_inter_prediction.c"
 var $30=_h264bsdGetRefPicData($24,$29); //@line 809 "../src/h264bsd_inter_prediction.c"
 var $31=$i; //@line 809 "../src/h264bsd_inter_prediction.c"
 var $32=$2; //@line 809 "../src/h264bsd_inter_prediction.c"
 var $33=(($32+116)|0); //@line 809 "../src/h264bsd_inter_prediction.c"
 var $34=(($33+($31<<2))|0); //@line 809 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($34)>>2)]=$30; //@line 809 "../src/h264bsd_inter_prediction.c"
 var $35=$i; //@line 810 "../src/h264bsd_inter_prediction.c"
 var $36=$2; //@line 810 "../src/h264bsd_inter_prediction.c"
 var $37=(($36+116)|0); //@line 810 "../src/h264bsd_inter_prediction.c"
 var $38=(($37+($35<<2))|0); //@line 810 "../src/h264bsd_inter_prediction.c"
 var $39=HEAP32[(($38)>>2)]; //@line 810 "../src/h264bsd_inter_prediction.c"
 var $40=($39|0)==0; //@line 810 "../src/h264bsd_inter_prediction.c"
 if($40){label=4;break;}else{label=5;break;} //@line 810 "../src/h264bsd_inter_prediction.c"
 case 4: 
 $1=1; //@line 811 "../src/h264bsd_inter_prediction.c"
 label=14;break; //@line 811 "../src/h264bsd_inter_prediction.c"
 case 5: 
 $j=0; //@line 812 "../src/h264bsd_inter_prediction.c"
 label=6;break; //@line 812 "../src/h264bsd_inter_prediction.c"
 case 6: 
 var $44=$j; //@line 812 "../src/h264bsd_inter_prediction.c"
 var $45=$numSubMbPart; //@line 812 "../src/h264bsd_inter_prediction.c"
 var $46=($44>>>0)<($45>>>0); //@line 812 "../src/h264bsd_inter_prediction.c"
 if($46){label=7;break;}else{label=11;break;} //@line 812 "../src/h264bsd_inter_prediction.c"
 case 7: 
 var $48=$2; //@line 814 "../src/h264bsd_inter_prediction.c"
 var $49=$3; //@line 814 "../src/h264bsd_inter_prediction.c"
 var $50=$i; //@line 814 "../src/h264bsd_inter_prediction.c"
 var $51=$j; //@line 814 "../src/h264bsd_inter_prediction.c"
 var $52=_MvPrediction($48,$49,$50,$51); //@line 814 "../src/h264bsd_inter_prediction.c"
 var $53=($52|0)!=0; //@line 814 "../src/h264bsd_inter_prediction.c"
 if($53){label=8;break;}else{label=9;break;} //@line 814 "../src/h264bsd_inter_prediction.c"
 case 8: 
 $1=1; //@line 815 "../src/h264bsd_inter_prediction.c"
 label=14;break; //@line 815 "../src/h264bsd_inter_prediction.c"
 case 9: 
 label=10;break; //@line 816 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $57=$j; //@line 812 "../src/h264bsd_inter_prediction.c"
 var $58=((($57)+(1))|0); //@line 812 "../src/h264bsd_inter_prediction.c"
 $j=$58; //@line 812 "../src/h264bsd_inter_prediction.c"
 label=6;break; //@line 812 "../src/h264bsd_inter_prediction.c"
 case 11: 
 label=12;break; //@line 817 "../src/h264bsd_inter_prediction.c"
 case 12: 
 var $61=$i; //@line 805 "../src/h264bsd_inter_prediction.c"
 var $62=((($61)+(1))|0); //@line 805 "../src/h264bsd_inter_prediction.c"
 $i=$62; //@line 805 "../src/h264bsd_inter_prediction.c"
 label=2;break; //@line 805 "../src/h264bsd_inter_prediction.c"
 case 13: 
 $1=0; //@line 819 "../src/h264bsd_inter_prediction.c"
 label=14;break; //@line 819 "../src/h264bsd_inter_prediction.c"
 case 14: 
 var $65=$1; //@line 821 "../src/h264bsd_inter_prediction.c"
 STACKTOP=sp;return $65; //@line 821 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _MvPrediction($pMb,$subMbPred,$mbPartIdx,$subMbPartIdx){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+56)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $mv=sp;
 var $mvPred=(sp)+(8);
 var $refIndex;
 var $subMbPartMode;
 var $n;
 var $nMb;
 var $a=(sp)+(16);
 $2=$pMb;
 $3=$subMbPred;
 $4=$mbPartIdx;
 $5=$subMbPartIdx;
 var $6=$5; //@line 847 "../src/h264bsd_inter_prediction.c"
 var $7=$4; //@line 847 "../src/h264bsd_inter_prediction.c"
 var $8=$3; //@line 847 "../src/h264bsd_inter_prediction.c"
 var $9=(($8+32)|0); //@line 847 "../src/h264bsd_inter_prediction.c"
 var $10=(($9+($7<<4))|0); //@line 847 "../src/h264bsd_inter_prediction.c"
 var $11=(($10+($6<<2))|0); //@line 847 "../src/h264bsd_inter_prediction.c"
 var $12=$mv; //@line 847 "../src/h264bsd_inter_prediction.c"
 var $13=$11; //@line 847 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($12)>>1)]=HEAP16[(($13)>>1)];HEAP16[((($12)+(2))>>1)]=HEAP16[((($13)+(2))>>1)]; //@line 847 "../src/h264bsd_inter_prediction.c"
 var $14=$4; //@line 848 "../src/h264bsd_inter_prediction.c"
 var $15=$3; //@line 848 "../src/h264bsd_inter_prediction.c"
 var $16=(($15)|0); //@line 848 "../src/h264bsd_inter_prediction.c"
 var $17=(($16+($14<<2))|0); //@line 848 "../src/h264bsd_inter_prediction.c"
 var $18=HEAP32[(($17)>>2)]; //@line 848 "../src/h264bsd_inter_prediction.c"
 var $19=_h264bsdSubMbPartMode($18); //@line 848 "../src/h264bsd_inter_prediction.c"
 $subMbPartMode=$19; //@line 848 "../src/h264bsd_inter_prediction.c"
 var $20=$4; //@line 849 "../src/h264bsd_inter_prediction.c"
 var $21=$3; //@line 849 "../src/h264bsd_inter_prediction.c"
 var $22=(($21+16)|0); //@line 849 "../src/h264bsd_inter_prediction.c"
 var $23=(($22+($20<<2))|0); //@line 849 "../src/h264bsd_inter_prediction.c"
 var $24=HEAP32[(($23)>>2)]; //@line 849 "../src/h264bsd_inter_prediction.c"
 $refIndex=$24; //@line 849 "../src/h264bsd_inter_prediction.c"
 var $25=$subMbPartMode; //@line 851 "../src/h264bsd_inter_prediction.c"
 var $26=$4; //@line 851 "../src/h264bsd_inter_prediction.c"
 var $27=((18640+($26<<7))|0); //@line 851 "../src/h264bsd_inter_prediction.c"
 var $28=(($27+($25<<5))|0); //@line 851 "../src/h264bsd_inter_prediction.c"
 var $29=(($28)|0); //@line 851 "../src/h264bsd_inter_prediction.c"
 var $30=$5; //@line 851 "../src/h264bsd_inter_prediction.c"
 var $31=(($29+($30<<3))|0); //@line 851 "../src/h264bsd_inter_prediction.c"
 $n=$31; //@line 851 "../src/h264bsd_inter_prediction.c"
 var $32=$2; //@line 852 "../src/h264bsd_inter_prediction.c"
 var $33=$n; //@line 852 "../src/h264bsd_inter_prediction.c"
 var $34=(($33)|0); //@line 852 "../src/h264bsd_inter_prediction.c"
 var $35=HEAP32[(($34)>>2)]; //@line 852 "../src/h264bsd_inter_prediction.c"
 var $36=_h264bsdGetNeighbourMb($32,$35); //@line 852 "../src/h264bsd_inter_prediction.c"
 $nMb=$36; //@line 852 "../src/h264bsd_inter_prediction.c"
 var $37=$2; //@line 853 "../src/h264bsd_inter_prediction.c"
 var $38=(($37+4)|0); //@line 853 "../src/h264bsd_inter_prediction.c"
 var $39=HEAP32[(($38)>>2)]; //@line 853 "../src/h264bsd_inter_prediction.c"
 var $40=$nMb; //@line 853 "../src/h264bsd_inter_prediction.c"
 var $41=(($a)|0); //@line 853 "../src/h264bsd_inter_prediction.c"
 var $42=$n; //@line 853 "../src/h264bsd_inter_prediction.c"
 var $43=(($42+4)|0); //@line 853 "../src/h264bsd_inter_prediction.c"
 var $44=HEAP8[($43)]; //@line 853 "../src/h264bsd_inter_prediction.c"
 var $45=($44&255); //@line 853 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($39,$40,$41,$45); //@line 853 "../src/h264bsd_inter_prediction.c"
 var $46=$subMbPartMode; //@line 855 "../src/h264bsd_inter_prediction.c"
 var $47=$4; //@line 855 "../src/h264bsd_inter_prediction.c"
 var $48=((17936+($47<<7))|0); //@line 855 "../src/h264bsd_inter_prediction.c"
 var $49=(($48+($46<<5))|0); //@line 855 "../src/h264bsd_inter_prediction.c"
 var $50=(($49)|0); //@line 855 "../src/h264bsd_inter_prediction.c"
 var $51=$5; //@line 855 "../src/h264bsd_inter_prediction.c"
 var $52=(($50+($51<<3))|0); //@line 855 "../src/h264bsd_inter_prediction.c"
 $n=$52; //@line 855 "../src/h264bsd_inter_prediction.c"
 var $53=$2; //@line 856 "../src/h264bsd_inter_prediction.c"
 var $54=$n; //@line 856 "../src/h264bsd_inter_prediction.c"
 var $55=(($54)|0); //@line 856 "../src/h264bsd_inter_prediction.c"
 var $56=HEAP32[(($55)>>2)]; //@line 856 "../src/h264bsd_inter_prediction.c"
 var $57=_h264bsdGetNeighbourMb($53,$56); //@line 856 "../src/h264bsd_inter_prediction.c"
 $nMb=$57; //@line 856 "../src/h264bsd_inter_prediction.c"
 var $58=$2; //@line 857 "../src/h264bsd_inter_prediction.c"
 var $59=(($58+4)|0); //@line 857 "../src/h264bsd_inter_prediction.c"
 var $60=HEAP32[(($59)>>2)]; //@line 857 "../src/h264bsd_inter_prediction.c"
 var $61=$nMb; //@line 857 "../src/h264bsd_inter_prediction.c"
 var $62=(($a)|0); //@line 857 "../src/h264bsd_inter_prediction.c"
 var $63=(($62+12)|0); //@line 857 "../src/h264bsd_inter_prediction.c"
 var $64=$n; //@line 857 "../src/h264bsd_inter_prediction.c"
 var $65=(($64+4)|0); //@line 857 "../src/h264bsd_inter_prediction.c"
 var $66=HEAP8[($65)]; //@line 857 "../src/h264bsd_inter_prediction.c"
 var $67=($66&255); //@line 857 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($60,$61,$63,$67); //@line 857 "../src/h264bsd_inter_prediction.c"
 var $68=$subMbPartMode; //@line 859 "../src/h264bsd_inter_prediction.c"
 var $69=$4; //@line 859 "../src/h264bsd_inter_prediction.c"
 var $70=((17232+($69<<7))|0); //@line 859 "../src/h264bsd_inter_prediction.c"
 var $71=(($70+($68<<5))|0); //@line 859 "../src/h264bsd_inter_prediction.c"
 var $72=(($71)|0); //@line 859 "../src/h264bsd_inter_prediction.c"
 var $73=$5; //@line 859 "../src/h264bsd_inter_prediction.c"
 var $74=(($72+($73<<3))|0); //@line 859 "../src/h264bsd_inter_prediction.c"
 $n=$74; //@line 859 "../src/h264bsd_inter_prediction.c"
 var $75=$2; //@line 860 "../src/h264bsd_inter_prediction.c"
 var $76=$n; //@line 860 "../src/h264bsd_inter_prediction.c"
 var $77=(($76)|0); //@line 860 "../src/h264bsd_inter_prediction.c"
 var $78=HEAP32[(($77)>>2)]; //@line 860 "../src/h264bsd_inter_prediction.c"
 var $79=_h264bsdGetNeighbourMb($75,$78); //@line 860 "../src/h264bsd_inter_prediction.c"
 $nMb=$79; //@line 860 "../src/h264bsd_inter_prediction.c"
 var $80=$2; //@line 861 "../src/h264bsd_inter_prediction.c"
 var $81=(($80+4)|0); //@line 861 "../src/h264bsd_inter_prediction.c"
 var $82=HEAP32[(($81)>>2)]; //@line 861 "../src/h264bsd_inter_prediction.c"
 var $83=$nMb; //@line 861 "../src/h264bsd_inter_prediction.c"
 var $84=(($a)|0); //@line 861 "../src/h264bsd_inter_prediction.c"
 var $85=(($84+24)|0); //@line 861 "../src/h264bsd_inter_prediction.c"
 var $86=$n; //@line 861 "../src/h264bsd_inter_prediction.c"
 var $87=(($86+4)|0); //@line 861 "../src/h264bsd_inter_prediction.c"
 var $88=HEAP8[($87)]; //@line 861 "../src/h264bsd_inter_prediction.c"
 var $89=($88&255); //@line 861 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($82,$83,$85,$89); //@line 861 "../src/h264bsd_inter_prediction.c"
 var $90=(($a+24)|0); //@line 863 "../src/h264bsd_inter_prediction.c"
 var $91=(($90)|0); //@line 863 "../src/h264bsd_inter_prediction.c"
 var $92=HEAP32[(($91)>>2)]; //@line 863 "../src/h264bsd_inter_prediction.c"
 var $93=($92|0)!=0; //@line 863 "../src/h264bsd_inter_prediction.c"
 if($93){label=3;break;}else{label=2;break;} //@line 863 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $95=$subMbPartMode; //@line 865 "../src/h264bsd_inter_prediction.c"
 var $96=$4; //@line 865 "../src/h264bsd_inter_prediction.c"
 var $97=((16528+($96<<7))|0); //@line 865 "../src/h264bsd_inter_prediction.c"
 var $98=(($97+($95<<5))|0); //@line 865 "../src/h264bsd_inter_prediction.c"
 var $99=(($98)|0); //@line 865 "../src/h264bsd_inter_prediction.c"
 var $100=$5; //@line 865 "../src/h264bsd_inter_prediction.c"
 var $101=(($99+($100<<3))|0); //@line 865 "../src/h264bsd_inter_prediction.c"
 $n=$101; //@line 865 "../src/h264bsd_inter_prediction.c"
 var $102=$2; //@line 866 "../src/h264bsd_inter_prediction.c"
 var $103=$n; //@line 866 "../src/h264bsd_inter_prediction.c"
 var $104=(($103)|0); //@line 866 "../src/h264bsd_inter_prediction.c"
 var $105=HEAP32[(($104)>>2)]; //@line 866 "../src/h264bsd_inter_prediction.c"
 var $106=_h264bsdGetNeighbourMb($102,$105); //@line 866 "../src/h264bsd_inter_prediction.c"
 $nMb=$106; //@line 866 "../src/h264bsd_inter_prediction.c"
 var $107=$2; //@line 867 "../src/h264bsd_inter_prediction.c"
 var $108=(($107+4)|0); //@line 867 "../src/h264bsd_inter_prediction.c"
 var $109=HEAP32[(($108)>>2)]; //@line 867 "../src/h264bsd_inter_prediction.c"
 var $110=$nMb; //@line 867 "../src/h264bsd_inter_prediction.c"
 var $111=(($a)|0); //@line 867 "../src/h264bsd_inter_prediction.c"
 var $112=(($111+24)|0); //@line 867 "../src/h264bsd_inter_prediction.c"
 var $113=$n; //@line 867 "../src/h264bsd_inter_prediction.c"
 var $114=(($113+4)|0); //@line 867 "../src/h264bsd_inter_prediction.c"
 var $115=HEAP8[($114)]; //@line 867 "../src/h264bsd_inter_prediction.c"
 var $116=($115&255); //@line 867 "../src/h264bsd_inter_prediction.c"
 _GetInterNeighbour($109,$110,$112,$116); //@line 867 "../src/h264bsd_inter_prediction.c"
 label=3;break; //@line 868 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $118=(($a)|0); //@line 870 "../src/h264bsd_inter_prediction.c"
 var $119=$refIndex; //@line 870 "../src/h264bsd_inter_prediction.c"
 _GetPredictionMv($mvPred,$118,$119); //@line 870 "../src/h264bsd_inter_prediction.c"
 var $120=(($mvPred)|0); //@line 872 "../src/h264bsd_inter_prediction.c"
 var $121=HEAP16[(($120)>>1)]; //@line 872 "../src/h264bsd_inter_prediction.c"
 var $122=(($121<<16)>>16); //@line 872 "../src/h264bsd_inter_prediction.c"
 var $123=(($mv)|0); //@line 872 "../src/h264bsd_inter_prediction.c"
 var $124=HEAP16[(($123)>>1)]; //@line 872 "../src/h264bsd_inter_prediction.c"
 var $125=(($124<<16)>>16); //@line 872 "../src/h264bsd_inter_prediction.c"
 var $126=((($125)+($122))|0); //@line 872 "../src/h264bsd_inter_prediction.c"
 var $127=(($126)&65535); //@line 872 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($123)>>1)]=$127; //@line 872 "../src/h264bsd_inter_prediction.c"
 var $128=(($mvPred+2)|0); //@line 873 "../src/h264bsd_inter_prediction.c"
 var $129=HEAP16[(($128)>>1)]; //@line 873 "../src/h264bsd_inter_prediction.c"
 var $130=(($129<<16)>>16); //@line 873 "../src/h264bsd_inter_prediction.c"
 var $131=(($mv+2)|0); //@line 873 "../src/h264bsd_inter_prediction.c"
 var $132=HEAP16[(($131)>>1)]; //@line 873 "../src/h264bsd_inter_prediction.c"
 var $133=(($132<<16)>>16); //@line 873 "../src/h264bsd_inter_prediction.c"
 var $134=((($133)+($130))|0); //@line 873 "../src/h264bsd_inter_prediction.c"
 var $135=(($134)&65535); //@line 873 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($131)>>1)]=$135; //@line 873 "../src/h264bsd_inter_prediction.c"
 var $136=(($mv)|0); //@line 876 "../src/h264bsd_inter_prediction.c"
 var $137=HEAP16[(($136)>>1)]; //@line 876 "../src/h264bsd_inter_prediction.c"
 var $138=(($137<<16)>>16); //@line 876 "../src/h264bsd_inter_prediction.c"
 var $139=((($138)+(8192))|0); //@line 876 "../src/h264bsd_inter_prediction.c"
 var $140=($139>>>0)>=16384; //@line 876 "../src/h264bsd_inter_prediction.c"
 if($140){label=4;break;}else{label=5;break;} //@line 876 "../src/h264bsd_inter_prediction.c"
 case 4: 
 $1=1; //@line 877 "../src/h264bsd_inter_prediction.c"
 label=13;break; //@line 877 "../src/h264bsd_inter_prediction.c"
 case 5: 
 var $143=(($mv+2)|0); //@line 880 "../src/h264bsd_inter_prediction.c"
 var $144=HEAP16[(($143)>>1)]; //@line 880 "../src/h264bsd_inter_prediction.c"
 var $145=(($144<<16)>>16); //@line 880 "../src/h264bsd_inter_prediction.c"
 var $146=((($145)+(2048))|0); //@line 880 "../src/h264bsd_inter_prediction.c"
 var $147=($146>>>0)>=4096; //@line 880 "../src/h264bsd_inter_prediction.c"
 if($147){label=6;break;}else{label=7;break;} //@line 880 "../src/h264bsd_inter_prediction.c"
 case 6: 
 $1=1; //@line 881 "../src/h264bsd_inter_prediction.c"
 label=13;break; //@line 881 "../src/h264bsd_inter_prediction.c"
 case 7: 
 var $150=$subMbPartMode; //@line 883 "../src/h264bsd_inter_prediction.c"
 if(($150|0)==2){ label=10;break;}else if(($150|0)==3){ label=11;break;}else if(($150|0)==0){ label=8;break;}else if(($150|0)==1){ label=9;break;}else{label=12;break;}
 case 8: 
 var $152=$4; //@line 886 "../src/h264bsd_inter_prediction.c"
 var $153=($152<<2); //@line 886 "../src/h264bsd_inter_prediction.c"
 var $154=$2; //@line 886 "../src/h264bsd_inter_prediction.c"
 var $155=(($154+132)|0); //@line 886 "../src/h264bsd_inter_prediction.c"
 var $156=(($155+($153<<2))|0); //@line 886 "../src/h264bsd_inter_prediction.c"
 var $157=$156; //@line 886 "../src/h264bsd_inter_prediction.c"
 var $158=$mv; //@line 886 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($157)>>1)]=HEAP16[(($158)>>1)];HEAP16[((($157)+(2))>>1)]=HEAP16[((($158)+(2))>>1)]; //@line 886 "../src/h264bsd_inter_prediction.c"
 var $159=$4; //@line 887 "../src/h264bsd_inter_prediction.c"
 var $160=($159<<2); //@line 887 "../src/h264bsd_inter_prediction.c"
 var $161=((($160)+(1))|0); //@line 887 "../src/h264bsd_inter_prediction.c"
 var $162=$2; //@line 887 "../src/h264bsd_inter_prediction.c"
 var $163=(($162+132)|0); //@line 887 "../src/h264bsd_inter_prediction.c"
 var $164=(($163+($161<<2))|0); //@line 887 "../src/h264bsd_inter_prediction.c"
 var $165=$164; //@line 887 "../src/h264bsd_inter_prediction.c"
 var $166=$mv; //@line 887 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($165)>>1)]=HEAP16[(($166)>>1)];HEAP16[((($165)+(2))>>1)]=HEAP16[((($166)+(2))>>1)]; //@line 887 "../src/h264bsd_inter_prediction.c"
 var $167=$4; //@line 888 "../src/h264bsd_inter_prediction.c"
 var $168=($167<<2); //@line 888 "../src/h264bsd_inter_prediction.c"
 var $169=((($168)+(2))|0); //@line 888 "../src/h264bsd_inter_prediction.c"
 var $170=$2; //@line 888 "../src/h264bsd_inter_prediction.c"
 var $171=(($170+132)|0); //@line 888 "../src/h264bsd_inter_prediction.c"
 var $172=(($171+($169<<2))|0); //@line 888 "../src/h264bsd_inter_prediction.c"
 var $173=$172; //@line 888 "../src/h264bsd_inter_prediction.c"
 var $174=$mv; //@line 888 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($173)>>1)]=HEAP16[(($174)>>1)];HEAP16[((($173)+(2))>>1)]=HEAP16[((($174)+(2))>>1)]; //@line 888 "../src/h264bsd_inter_prediction.c"
 var $175=$4; //@line 889 "../src/h264bsd_inter_prediction.c"
 var $176=($175<<2); //@line 889 "../src/h264bsd_inter_prediction.c"
 var $177=((($176)+(3))|0); //@line 889 "../src/h264bsd_inter_prediction.c"
 var $178=$2; //@line 889 "../src/h264bsd_inter_prediction.c"
 var $179=(($178+132)|0); //@line 889 "../src/h264bsd_inter_prediction.c"
 var $180=(($179+($177<<2))|0); //@line 889 "../src/h264bsd_inter_prediction.c"
 var $181=$180; //@line 889 "../src/h264bsd_inter_prediction.c"
 var $182=$mv; //@line 889 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($181)>>1)]=HEAP16[(($182)>>1)];HEAP16[((($181)+(2))>>1)]=HEAP16[((($182)+(2))>>1)]; //@line 889 "../src/h264bsd_inter_prediction.c"
 label=12;break; //@line 890 "../src/h264bsd_inter_prediction.c"
 case 9: 
 var $184=$4; //@line 893 "../src/h264bsd_inter_prediction.c"
 var $185=($184<<2); //@line 893 "../src/h264bsd_inter_prediction.c"
 var $186=$5; //@line 893 "../src/h264bsd_inter_prediction.c"
 var $187=($186<<1); //@line 893 "../src/h264bsd_inter_prediction.c"
 var $188=((($185)+($187))|0); //@line 893 "../src/h264bsd_inter_prediction.c"
 var $189=$2; //@line 893 "../src/h264bsd_inter_prediction.c"
 var $190=(($189+132)|0); //@line 893 "../src/h264bsd_inter_prediction.c"
 var $191=(($190+($188<<2))|0); //@line 893 "../src/h264bsd_inter_prediction.c"
 var $192=$191; //@line 893 "../src/h264bsd_inter_prediction.c"
 var $193=$mv; //@line 893 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($192)>>1)]=HEAP16[(($193)>>1)];HEAP16[((($192)+(2))>>1)]=HEAP16[((($193)+(2))>>1)]; //@line 893 "../src/h264bsd_inter_prediction.c"
 var $194=$4; //@line 894 "../src/h264bsd_inter_prediction.c"
 var $195=($194<<2); //@line 894 "../src/h264bsd_inter_prediction.c"
 var $196=$5; //@line 894 "../src/h264bsd_inter_prediction.c"
 var $197=($196<<1); //@line 894 "../src/h264bsd_inter_prediction.c"
 var $198=((($195)+($197))|0); //@line 894 "../src/h264bsd_inter_prediction.c"
 var $199=((($198)+(1))|0); //@line 894 "../src/h264bsd_inter_prediction.c"
 var $200=$2; //@line 894 "../src/h264bsd_inter_prediction.c"
 var $201=(($200+132)|0); //@line 894 "../src/h264bsd_inter_prediction.c"
 var $202=(($201+($199<<2))|0); //@line 894 "../src/h264bsd_inter_prediction.c"
 var $203=$202; //@line 894 "../src/h264bsd_inter_prediction.c"
 var $204=$mv; //@line 894 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($203)>>1)]=HEAP16[(($204)>>1)];HEAP16[((($203)+(2))>>1)]=HEAP16[((($204)+(2))>>1)]; //@line 894 "../src/h264bsd_inter_prediction.c"
 label=12;break; //@line 895 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $206=$4; //@line 898 "../src/h264bsd_inter_prediction.c"
 var $207=($206<<2); //@line 898 "../src/h264bsd_inter_prediction.c"
 var $208=$5; //@line 898 "../src/h264bsd_inter_prediction.c"
 var $209=((($207)+($208))|0); //@line 898 "../src/h264bsd_inter_prediction.c"
 var $210=$2; //@line 898 "../src/h264bsd_inter_prediction.c"
 var $211=(($210+132)|0); //@line 898 "../src/h264bsd_inter_prediction.c"
 var $212=(($211+($209<<2))|0); //@line 898 "../src/h264bsd_inter_prediction.c"
 var $213=$212; //@line 898 "../src/h264bsd_inter_prediction.c"
 var $214=$mv; //@line 898 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($213)>>1)]=HEAP16[(($214)>>1)];HEAP16[((($213)+(2))>>1)]=HEAP16[((($214)+(2))>>1)]; //@line 898 "../src/h264bsd_inter_prediction.c"
 var $215=$4; //@line 899 "../src/h264bsd_inter_prediction.c"
 var $216=($215<<2); //@line 899 "../src/h264bsd_inter_prediction.c"
 var $217=$5; //@line 899 "../src/h264bsd_inter_prediction.c"
 var $218=((($216)+($217))|0); //@line 899 "../src/h264bsd_inter_prediction.c"
 var $219=((($218)+(2))|0); //@line 899 "../src/h264bsd_inter_prediction.c"
 var $220=$2; //@line 899 "../src/h264bsd_inter_prediction.c"
 var $221=(($220+132)|0); //@line 899 "../src/h264bsd_inter_prediction.c"
 var $222=(($221+($219<<2))|0); //@line 899 "../src/h264bsd_inter_prediction.c"
 var $223=$222; //@line 899 "../src/h264bsd_inter_prediction.c"
 var $224=$mv; //@line 899 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($223)>>1)]=HEAP16[(($224)>>1)];HEAP16[((($223)+(2))>>1)]=HEAP16[((($224)+(2))>>1)]; //@line 899 "../src/h264bsd_inter_prediction.c"
 label=12;break; //@line 900 "../src/h264bsd_inter_prediction.c"
 case 11: 
 var $226=$4; //@line 903 "../src/h264bsd_inter_prediction.c"
 var $227=($226<<2); //@line 903 "../src/h264bsd_inter_prediction.c"
 var $228=$5; //@line 903 "../src/h264bsd_inter_prediction.c"
 var $229=((($227)+($228))|0); //@line 903 "../src/h264bsd_inter_prediction.c"
 var $230=$2; //@line 903 "../src/h264bsd_inter_prediction.c"
 var $231=(($230+132)|0); //@line 903 "../src/h264bsd_inter_prediction.c"
 var $232=(($231+($229<<2))|0); //@line 903 "../src/h264bsd_inter_prediction.c"
 var $233=$232; //@line 903 "../src/h264bsd_inter_prediction.c"
 var $234=$mv; //@line 903 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($233)>>1)]=HEAP16[(($234)>>1)];HEAP16[((($233)+(2))>>1)]=HEAP16[((($234)+(2))>>1)]; //@line 903 "../src/h264bsd_inter_prediction.c"
 label=12;break; //@line 904 "../src/h264bsd_inter_prediction.c"
 case 12: 
 $1=0; //@line 907 "../src/h264bsd_inter_prediction.c"
 label=13;break; //@line 907 "../src/h264bsd_inter_prediction.c"
 case 13: 
 var $237=$1; //@line 909 "../src/h264bsd_inter_prediction.c"
 STACKTOP=sp;return $237; //@line 909 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetInterNeighbour($sliceId,$nMb,$n,$index){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+8)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $tmp;
 var $tmpMv=sp;
 $1=$sliceId;
 $2=$nMb;
 $3=$n;
 $4=$index;
 var $5=$3; //@line 967 "../src/h264bsd_inter_prediction.c"
 var $6=(($5)|0); //@line 967 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($6)>>2)]=0; //@line 967 "../src/h264bsd_inter_prediction.c"
 var $7=$3; //@line 968 "../src/h264bsd_inter_prediction.c"
 var $8=(($7+4)|0); //@line 968 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($8)>>2)]=-1; //@line 968 "../src/h264bsd_inter_prediction.c"
 var $9=$3; //@line 969 "../src/h264bsd_inter_prediction.c"
 var $10=(($9+8)|0); //@line 969 "../src/h264bsd_inter_prediction.c"
 var $11=(($10+2)|0); //@line 969 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($11)>>1)]=0; //@line 969 "../src/h264bsd_inter_prediction.c"
 var $12=$3; //@line 969 "../src/h264bsd_inter_prediction.c"
 var $13=(($12+8)|0); //@line 969 "../src/h264bsd_inter_prediction.c"
 var $14=(($13)|0); //@line 969 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($14)>>1)]=0; //@line 969 "../src/h264bsd_inter_prediction.c"
 var $15=$2; //@line 971 "../src/h264bsd_inter_prediction.c"
 var $16=($15|0)!=0; //@line 971 "../src/h264bsd_inter_prediction.c"
 if($16){label=2;break;}else{label=6;break;} //@line 971 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $18=$1; //@line 971 "../src/h264bsd_inter_prediction.c"
 var $19=$2; //@line 971 "../src/h264bsd_inter_prediction.c"
 var $20=(($19+4)|0); //@line 971 "../src/h264bsd_inter_prediction.c"
 var $21=HEAP32[(($20)>>2)]; //@line 971 "../src/h264bsd_inter_prediction.c"
 var $22=($18|0)==($21|0); //@line 971 "../src/h264bsd_inter_prediction.c"
 if($22){label=3;break;}else{label=6;break;} //@line 971 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $24=$2; //@line 976 "../src/h264bsd_inter_prediction.c"
 var $25=(($24)|0); //@line 976 "../src/h264bsd_inter_prediction.c"
 var $26=HEAP32[(($25)>>2)]; //@line 976 "../src/h264bsd_inter_prediction.c"
 $tmp=$26; //@line 976 "../src/h264bsd_inter_prediction.c"
 var $27=$3; //@line 977 "../src/h264bsd_inter_prediction.c"
 var $28=(($27)|0); //@line 977 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($28)>>2)]=1; //@line 977 "../src/h264bsd_inter_prediction.c"
 var $29=$tmp; //@line 979 "../src/h264bsd_inter_prediction.c"
 var $30=($29>>>0)<=5; //@line 979 "../src/h264bsd_inter_prediction.c"
 if($30){label=4;break;}else{label=5;break;} //@line 979 "../src/h264bsd_inter_prediction.c"
 case 4: 
 var $32=$4; //@line 981 "../src/h264bsd_inter_prediction.c"
 var $33=$2; //@line 981 "../src/h264bsd_inter_prediction.c"
 var $34=(($33+132)|0); //@line 981 "../src/h264bsd_inter_prediction.c"
 var $35=(($34+($32<<2))|0); //@line 981 "../src/h264bsd_inter_prediction.c"
 var $36=$tmpMv; //@line 981 "../src/h264bsd_inter_prediction.c"
 var $37=$35; //@line 981 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($36)>>1)]=HEAP16[(($37)>>1)];HEAP16[((($36)+(2))>>1)]=HEAP16[((($37)+(2))>>1)]; //@line 981 "../src/h264bsd_inter_prediction.c"
 var $38=$4; //@line 982 "../src/h264bsd_inter_prediction.c"
 var $39=$38>>>2; //@line 982 "../src/h264bsd_inter_prediction.c"
 var $40=$2; //@line 982 "../src/h264bsd_inter_prediction.c"
 var $41=(($40+100)|0); //@line 982 "../src/h264bsd_inter_prediction.c"
 var $42=(($41+($39<<2))|0); //@line 982 "../src/h264bsd_inter_prediction.c"
 var $43=HEAP32[(($42)>>2)]; //@line 982 "../src/h264bsd_inter_prediction.c"
 $tmp=$43; //@line 982 "../src/h264bsd_inter_prediction.c"
 var $44=$tmp; //@line 983 "../src/h264bsd_inter_prediction.c"
 var $45=$3; //@line 983 "../src/h264bsd_inter_prediction.c"
 var $46=(($45+4)|0); //@line 983 "../src/h264bsd_inter_prediction.c"
 HEAP32[(($46)>>2)]=$44; //@line 983 "../src/h264bsd_inter_prediction.c"
 var $47=$3; //@line 984 "../src/h264bsd_inter_prediction.c"
 var $48=(($47+8)|0); //@line 984 "../src/h264bsd_inter_prediction.c"
 var $49=$48; //@line 984 "../src/h264bsd_inter_prediction.c"
 var $50=$tmpMv; //@line 984 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($49)>>1)]=HEAP16[(($50)>>1)];HEAP16[((($49)+(2))>>1)]=HEAP16[((($50)+(2))>>1)]; //@line 984 "../src/h264bsd_inter_prediction.c"
 label=5;break; //@line 985 "../src/h264bsd_inter_prediction.c"
 case 5: 
 label=6;break; //@line 986 "../src/h264bsd_inter_prediction.c"
 case 6: 
 STACKTOP=sp;return; //@line 988 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetPredictionMv($mv,$a,$refIndex){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $isA;
 var $isB;
 var $isC;
 $1=$mv;
 $2=$a;
 $3=$refIndex;
 var $4=$2; //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $5=(($4+12)|0); //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $6=(($5)|0); //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $7=HEAP32[(($6)>>2)]; //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $8=($7|0)!=0; //@line 1002 "../src/h264bsd_inter_prediction.c"
 if($8){label=4;break;}else{label=2;break;} //@line 1002 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $10=$2; //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $11=(($10+24)|0); //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $12=(($11)|0); //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $13=HEAP32[(($12)>>2)]; //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $14=($13|0)!=0; //@line 1002 "../src/h264bsd_inter_prediction.c"
 if($14){label=4;break;}else{label=3;break;} //@line 1002 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $16=$2; //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $17=(($16)|0); //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $18=(($17)|0); //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $19=HEAP32[(($18)>>2)]; //@line 1002 "../src/h264bsd_inter_prediction.c"
 var $20=($19|0)!=0; //@line 1002 "../src/h264bsd_inter_prediction.c"
 if($20){label=14;break;}else{label=4;break;} //@line 1002 "../src/h264bsd_inter_prediction.c"
 case 4: 
 var $22=$2; //@line 1005 "../src/h264bsd_inter_prediction.c"
 var $23=(($22)|0); //@line 1005 "../src/h264bsd_inter_prediction.c"
 var $24=(($23+4)|0); //@line 1005 "../src/h264bsd_inter_prediction.c"
 var $25=HEAP32[(($24)>>2)]; //@line 1005 "../src/h264bsd_inter_prediction.c"
 var $26=$3; //@line 1005 "../src/h264bsd_inter_prediction.c"
 var $27=($25|0)==($26|0); //@line 1005 "../src/h264bsd_inter_prediction.c"
 var $28=($27?1:0); //@line 1005 "../src/h264bsd_inter_prediction.c"
 $isA=$28; //@line 1005 "../src/h264bsd_inter_prediction.c"
 var $29=$2; //@line 1006 "../src/h264bsd_inter_prediction.c"
 var $30=(($29+12)|0); //@line 1006 "../src/h264bsd_inter_prediction.c"
 var $31=(($30+4)|0); //@line 1006 "../src/h264bsd_inter_prediction.c"
 var $32=HEAP32[(($31)>>2)]; //@line 1006 "../src/h264bsd_inter_prediction.c"
 var $33=$3; //@line 1006 "../src/h264bsd_inter_prediction.c"
 var $34=($32|0)==($33|0); //@line 1006 "../src/h264bsd_inter_prediction.c"
 var $35=($34?1:0); //@line 1006 "../src/h264bsd_inter_prediction.c"
 $isB=$35; //@line 1006 "../src/h264bsd_inter_prediction.c"
 var $36=$2; //@line 1007 "../src/h264bsd_inter_prediction.c"
 var $37=(($36+24)|0); //@line 1007 "../src/h264bsd_inter_prediction.c"
 var $38=(($37+4)|0); //@line 1007 "../src/h264bsd_inter_prediction.c"
 var $39=HEAP32[(($38)>>2)]; //@line 1007 "../src/h264bsd_inter_prediction.c"
 var $40=$3; //@line 1007 "../src/h264bsd_inter_prediction.c"
 var $41=($39|0)==($40|0); //@line 1007 "../src/h264bsd_inter_prediction.c"
 var $42=($41?1:0); //@line 1007 "../src/h264bsd_inter_prediction.c"
 $isC=$42; //@line 1007 "../src/h264bsd_inter_prediction.c"
 var $43=$isA; //@line 1009 "../src/h264bsd_inter_prediction.c"
 var $44=$isB; //@line 1009 "../src/h264bsd_inter_prediction.c"
 var $45=((($43)+($44))|0); //@line 1009 "../src/h264bsd_inter_prediction.c"
 var $46=$isC; //@line 1009 "../src/h264bsd_inter_prediction.c"
 var $47=((($45)+($46))|0); //@line 1009 "../src/h264bsd_inter_prediction.c"
 var $48=($47|0)!=1; //@line 1009 "../src/h264bsd_inter_prediction.c"
 if($48){label=5;break;}else{label=6;break;} //@line 1009 "../src/h264bsd_inter_prediction.c"
 case 5: 
 var $50=$2; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $51=(($50)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $52=(($51+8)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $53=(($52)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $54=HEAP16[(($53)>>1)]; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $55=(($54<<16)>>16); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $56=$2; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $57=(($56+12)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $58=(($57+8)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $59=(($58)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $60=HEAP16[(($59)>>1)]; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $61=(($60<<16)>>16); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $62=$2; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $63=(($62+24)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $64=(($63+8)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $65=(($64)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $66=HEAP16[(($65)>>1)]; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $67=(($66<<16)>>16); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $68=_MedianFilter($55,$61,$67); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $69=(($68)&65535); //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $70=$1; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $71=(($70)|0); //@line 1011 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($71)>>1)]=$69; //@line 1011 "../src/h264bsd_inter_prediction.c"
 var $72=$2; //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $73=(($72)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $74=(($73+8)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $75=(($74+2)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $76=HEAP16[(($75)>>1)]; //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $77=(($76<<16)>>16); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $78=$2; //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $79=(($78+12)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $80=(($79+8)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $81=(($80+2)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $82=HEAP16[(($81)>>1)]; //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $83=(($82<<16)>>16); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $84=$2; //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $85=(($84+24)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $86=(($85+8)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $87=(($86+2)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $88=HEAP16[(($87)>>1)]; //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $89=(($88<<16)>>16); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $90=_MedianFilter($77,$83,$89); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $91=(($90)&65535); //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $92=$1; //@line 1012 "../src/h264bsd_inter_prediction.c"
 var $93=(($92+2)|0); //@line 1012 "../src/h264bsd_inter_prediction.c"
 HEAP16[(($93)>>1)]=$91; //@line 1012 "../src/h264bsd_inter_prediction.c"
 label=13;break; //@line 1013 "../src/h264bsd_inter_prediction.c"
 case 6: 
 var $95=$isA; //@line 1014 "../src/h264bsd_inter_prediction.c"
 var $96=($95|0)!=0; //@line 1014 "../src/h264bsd_inter_prediction.c"
 if($96){label=7;break;}else{label=8;break;} //@line 1014 "../src/h264bsd_inter_prediction.c"
 case 7: 
 var $98=$1; //@line 1015 "../src/h264bsd_inter_prediction.c"
 var $99=$2; //@line 1015 "../src/h264bsd_inter_prediction.c"
 var $100=(($99)|0); //@line 1015 "../src/h264bsd_inter_prediction.c"
 var $101=(($100+8)|0); //@line 1015 "../src/h264bsd_inter_prediction.c"
 var $102=$98; //@line 1015 "../src/h264bsd_inter_prediction.c"
 var $103=$101; //@line 1015 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($102)>>1)]=HEAP16[(($103)>>1)];HEAP16[((($102)+(2))>>1)]=HEAP16[((($103)+(2))>>1)]; //@line 1015 "../src/h264bsd_inter_prediction.c"
 label=12;break; //@line 1015 "../src/h264bsd_inter_prediction.c"
 case 8: 
 var $105=$isB; //@line 1016 "../src/h264bsd_inter_prediction.c"
 var $106=($105|0)!=0; //@line 1016 "../src/h264bsd_inter_prediction.c"
 if($106){label=9;break;}else{label=10;break;} //@line 1016 "../src/h264bsd_inter_prediction.c"
 case 9: 
 var $108=$1; //@line 1017 "../src/h264bsd_inter_prediction.c"
 var $109=$2; //@line 1017 "../src/h264bsd_inter_prediction.c"
 var $110=(($109+12)|0); //@line 1017 "../src/h264bsd_inter_prediction.c"
 var $111=(($110+8)|0); //@line 1017 "../src/h264bsd_inter_prediction.c"
 var $112=$108; //@line 1017 "../src/h264bsd_inter_prediction.c"
 var $113=$111; //@line 1017 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($112)>>1)]=HEAP16[(($113)>>1)];HEAP16[((($112)+(2))>>1)]=HEAP16[((($113)+(2))>>1)]; //@line 1017 "../src/h264bsd_inter_prediction.c"
 label=11;break; //@line 1017 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $115=$1; //@line 1019 "../src/h264bsd_inter_prediction.c"
 var $116=$2; //@line 1019 "../src/h264bsd_inter_prediction.c"
 var $117=(($116+24)|0); //@line 1019 "../src/h264bsd_inter_prediction.c"
 var $118=(($117+8)|0); //@line 1019 "../src/h264bsd_inter_prediction.c"
 var $119=$115; //@line 1019 "../src/h264bsd_inter_prediction.c"
 var $120=$118; //@line 1019 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($119)>>1)]=HEAP16[(($120)>>1)];HEAP16[((($119)+(2))>>1)]=HEAP16[((($120)+(2))>>1)]; //@line 1019 "../src/h264bsd_inter_prediction.c"
 label=11;break;
 case 11: 
 label=12;break;
 case 12: 
 label=13;break;
 case 13: 
 label=15;break; //@line 1020 "../src/h264bsd_inter_prediction.c"
 case 14: 
 var $125=$1; //@line 1023 "../src/h264bsd_inter_prediction.c"
 var $126=$2; //@line 1023 "../src/h264bsd_inter_prediction.c"
 var $127=(($126)|0); //@line 1023 "../src/h264bsd_inter_prediction.c"
 var $128=(($127+8)|0); //@line 1023 "../src/h264bsd_inter_prediction.c"
 var $129=$125; //@line 1023 "../src/h264bsd_inter_prediction.c"
 var $130=$128; //@line 1023 "../src/h264bsd_inter_prediction.c"
 assert(4 % 1 === 0);HEAP16[(($129)>>1)]=HEAP16[(($130)>>1)];HEAP16[((($129)+(2))>>1)]=HEAP16[((($130)+(2))>>1)]; //@line 1023 "../src/h264bsd_inter_prediction.c"
 label=15;break;
 case 15: 
 STACKTOP=sp;return; //@line 1026 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _MedianFilter($a,$b,$c){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $max;
 var $min;
 var $med;
 $1=$a;
 $2=$b;
 $3=$c;
 var $4=$1; //@line 929 "../src/h264bsd_inter_prediction.c"
 $med=$4; //@line 929 "../src/h264bsd_inter_prediction.c"
 $min=$4; //@line 929 "../src/h264bsd_inter_prediction.c"
 $max=$4; //@line 929 "../src/h264bsd_inter_prediction.c"
 var $5=$2; //@line 930 "../src/h264bsd_inter_prediction.c"
 var $6=$max; //@line 930 "../src/h264bsd_inter_prediction.c"
 var $7=($5|0)>($6|0); //@line 930 "../src/h264bsd_inter_prediction.c"
 if($7){label=2;break;}else{label=3;break;} //@line 930 "../src/h264bsd_inter_prediction.c"
 case 2: 
 var $9=$2; //@line 932 "../src/h264bsd_inter_prediction.c"
 $max=$9; //@line 932 "../src/h264bsd_inter_prediction.c"
 label=6;break; //@line 933 "../src/h264bsd_inter_prediction.c"
 case 3: 
 var $11=$2; //@line 934 "../src/h264bsd_inter_prediction.c"
 var $12=$min; //@line 934 "../src/h264bsd_inter_prediction.c"
 var $13=($11|0)<($12|0); //@line 934 "../src/h264bsd_inter_prediction.c"
 if($13){label=4;break;}else{label=5;break;} //@line 934 "../src/h264bsd_inter_prediction.c"
 case 4: 
 var $15=$2; //@line 936 "../src/h264bsd_inter_prediction.c"
 $min=$15; //@line 936 "../src/h264bsd_inter_prediction.c"
 label=5;break; //@line 937 "../src/h264bsd_inter_prediction.c"
 case 5: 
 label=6;break;
 case 6: 
 var $18=$3; //@line 938 "../src/h264bsd_inter_prediction.c"
 var $19=$max; //@line 938 "../src/h264bsd_inter_prediction.c"
 var $20=($18|0)>($19|0); //@line 938 "../src/h264bsd_inter_prediction.c"
 if($20){label=7;break;}else{label=8;break;} //@line 938 "../src/h264bsd_inter_prediction.c"
 case 7: 
 var $22=$max; //@line 940 "../src/h264bsd_inter_prediction.c"
 $med=$22; //@line 940 "../src/h264bsd_inter_prediction.c"
 label=12;break; //@line 941 "../src/h264bsd_inter_prediction.c"
 case 8: 
 var $24=$3; //@line 942 "../src/h264bsd_inter_prediction.c"
 var $25=$min; //@line 942 "../src/h264bsd_inter_prediction.c"
 var $26=($24|0)<($25|0); //@line 942 "../src/h264bsd_inter_prediction.c"
 if($26){label=9;break;}else{label=10;break;} //@line 942 "../src/h264bsd_inter_prediction.c"
 case 9: 
 var $28=$min; //@line 944 "../src/h264bsd_inter_prediction.c"
 $med=$28; //@line 944 "../src/h264bsd_inter_prediction.c"
 label=11;break; //@line 945 "../src/h264bsd_inter_prediction.c"
 case 10: 
 var $30=$3; //@line 948 "../src/h264bsd_inter_prediction.c"
 $med=$30; //@line 948 "../src/h264bsd_inter_prediction.c"
 label=11;break;
 case 11: 
 label=12;break;
 case 12: 
 var $33=$med; //@line 951 "../src/h264bsd_inter_prediction.c"
 STACKTOP=sp;return $33; //@line 951 "../src/h264bsd_inter_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIntraPrediction($pMb,$mbLayer,$image,$mbNum,$constrainedIntraPred,$data){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+72)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $pelAbove=sp;
 var $pelLeft=(sp)+(40);
 var $tmp;
 $2=$pMb;
 $3=$mbLayer;
 $4=$image;
 $5=$mbNum;
 $6=$constrainedIntraPred;
 $7=$data;
 var $8=$2; //@line 496 "../src/h264bsd_intra_prediction.c"
 var $9=($8|0)!=0; //@line 496 "../src/h264bsd_intra_prediction.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 496 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(11624,12024,496,13280); //@line 496 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 496 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 496 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 496 "../src/h264bsd_intra_prediction.c"
 var $15=$4; //@line 497 "../src/h264bsd_intra_prediction.c"
 var $16=($15|0)!=0; //@line 497 "../src/h264bsd_intra_prediction.c"
 if($16){var $20=1;label=5;break;}else{label=4;break;} //@line 497 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(9248,12024,497,13280); //@line 497 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 497 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 497 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $20;
 var $21=($20&1); //@line 497 "../src/h264bsd_intra_prediction.c"
 var $22=$5; //@line 498 "../src/h264bsd_intra_prediction.c"
 var $23=$4; //@line 498 "../src/h264bsd_intra_prediction.c"
 var $24=(($23+4)|0); //@line 498 "../src/h264bsd_intra_prediction.c"
 var $25=HEAP32[(($24)>>2)]; //@line 498 "../src/h264bsd_intra_prediction.c"
 var $26=$4; //@line 498 "../src/h264bsd_intra_prediction.c"
 var $27=(($26+8)|0); //@line 498 "../src/h264bsd_intra_prediction.c"
 var $28=HEAP32[(($27)>>2)]; //@line 498 "../src/h264bsd_intra_prediction.c"
 var $29=(Math_imul($25,$28)|0); //@line 498 "../src/h264bsd_intra_prediction.c"
 var $30=($22>>>0)<($29>>>0); //@line 498 "../src/h264bsd_intra_prediction.c"
 if($30){var $34=1;label=7;break;}else{label=6;break;} //@line 498 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(8152,12024,498,13280); //@line 498 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 498 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 498 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $34;
 var $35=($34&1); //@line 498 "../src/h264bsd_intra_prediction.c"
 var $36=$2; //@line 499 "../src/h264bsd_intra_prediction.c"
 var $37=(($36)|0); //@line 499 "../src/h264bsd_intra_prediction.c"
 var $38=HEAP32[(($37)>>2)]; //@line 499 "../src/h264bsd_intra_prediction.c"
 var $39=_h264bsdMbPartPredMode($38); //@line 499 "../src/h264bsd_intra_prediction.c"
 var $40=($39|0)!=2; //@line 499 "../src/h264bsd_intra_prediction.c"
 if($40){var $44=1;label=9;break;}else{label=8;break;} //@line 499 "../src/h264bsd_intra_prediction.c"
 case 8: 
 ___assert_fail(7272,12024,499,13280); //@line 499 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 499 "../src/h264bsd_intra_prediction.c"
 label=9;break; //@line 499 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $44;
 var $45=($44&1); //@line 499 "../src/h264bsd_intra_prediction.c"
 var $46=$4; //@line 501 "../src/h264bsd_intra_prediction.c"
 var $47=(($pelAbove)|0); //@line 501 "../src/h264bsd_intra_prediction.c"
 var $48=(($pelLeft)|0); //@line 501 "../src/h264bsd_intra_prediction.c"
 var $49=$5; //@line 501 "../src/h264bsd_intra_prediction.c"
 _h264bsdGetNeighbourPels($46,$47,$48,$49); //@line 501 "../src/h264bsd_intra_prediction.c"
 var $50=$2; //@line 503 "../src/h264bsd_intra_prediction.c"
 var $51=(($50)|0); //@line 503 "../src/h264bsd_intra_prediction.c"
 var $52=HEAP32[(($51)>>2)]; //@line 503 "../src/h264bsd_intra_prediction.c"
 var $53=_h264bsdMbPartPredMode($52); //@line 503 "../src/h264bsd_intra_prediction.c"
 var $54=($53|0)==1; //@line 503 "../src/h264bsd_intra_prediction.c"
 if($54){label=10;break;}else{label=13;break;} //@line 503 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $56=$2; //@line 505 "../src/h264bsd_intra_prediction.c"
 var $57=$7; //@line 505 "../src/h264bsd_intra_prediction.c"
 var $58=$3; //@line 505 "../src/h264bsd_intra_prediction.c"
 var $59=(($58+272)|0); //@line 505 "../src/h264bsd_intra_prediction.c"
 var $60=(($59+56)|0); //@line 505 "../src/h264bsd_intra_prediction.c"
 var $61=(($60)|0); //@line 505 "../src/h264bsd_intra_prediction.c"
 var $62=(($pelAbove)|0); //@line 505 "../src/h264bsd_intra_prediction.c"
 var $63=(($pelLeft)|0); //@line 505 "../src/h264bsd_intra_prediction.c"
 var $64=$6; //@line 505 "../src/h264bsd_intra_prediction.c"
 var $65=_h264bsdIntra16x16Prediction($56,$57,$61,$62,$63,$64); //@line 505 "../src/h264bsd_intra_prediction.c"
 $tmp=$65; //@line 505 "../src/h264bsd_intra_prediction.c"
 var $66=$tmp; //@line 507 "../src/h264bsd_intra_prediction.c"
 var $67=($66|0)!=0; //@line 507 "../src/h264bsd_intra_prediction.c"
 if($67){label=11;break;}else{label=12;break;} //@line 507 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $69=$tmp; //@line 508 "../src/h264bsd_intra_prediction.c"
 $1=$69; //@line 508 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 508 "../src/h264bsd_intra_prediction.c"
 case 12: 
 label=16;break; //@line 509 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $72=$2; //@line 512 "../src/h264bsd_intra_prediction.c"
 var $73=$7; //@line 512 "../src/h264bsd_intra_prediction.c"
 var $74=$3; //@line 512 "../src/h264bsd_intra_prediction.c"
 var $75=(($pelAbove)|0); //@line 512 "../src/h264bsd_intra_prediction.c"
 var $76=(($pelLeft)|0); //@line 512 "../src/h264bsd_intra_prediction.c"
 var $77=$6; //@line 512 "../src/h264bsd_intra_prediction.c"
 var $78=_h264bsdIntra4x4Prediction($72,$73,$74,$75,$76,$77); //@line 512 "../src/h264bsd_intra_prediction.c"
 $tmp=$78; //@line 512 "../src/h264bsd_intra_prediction.c"
 var $79=$tmp; //@line 514 "../src/h264bsd_intra_prediction.c"
 var $80=($79|0)!=0; //@line 514 "../src/h264bsd_intra_prediction.c"
 if($80){label=14;break;}else{label=15;break;} //@line 514 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $82=$tmp; //@line 515 "../src/h264bsd_intra_prediction.c"
 $1=$82; //@line 515 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 515 "../src/h264bsd_intra_prediction.c"
 case 15: 
 label=16;break;
 case 16: 
 var $85=$2; //@line 518 "../src/h264bsd_intra_prediction.c"
 var $86=$7; //@line 518 "../src/h264bsd_intra_prediction.c"
 var $87=(($86+256)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $88=$3; //@line 518 "../src/h264bsd_intra_prediction.c"
 var $89=(($88+272)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $90=(($89+56)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $91=(($90)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $92=(($91+1024)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $93=(($pelAbove)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $94=(($93+21)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $95=(($pelLeft)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $96=(($95+16)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $97=$3; //@line 518 "../src/h264bsd_intra_prediction.c"
 var $98=(($97+12)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $99=(($98+128)|0); //@line 518 "../src/h264bsd_intra_prediction.c"
 var $100=HEAP32[(($99)>>2)]; //@line 518 "../src/h264bsd_intra_prediction.c"
 var $101=$6; //@line 518 "../src/h264bsd_intra_prediction.c"
 var $102=_h264bsdIntraChromaPrediction($85,$87,$92,$94,$96,$100,$101); //@line 518 "../src/h264bsd_intra_prediction.c"
 $tmp=$102; //@line 518 "../src/h264bsd_intra_prediction.c"
 var $103=$tmp; //@line 521 "../src/h264bsd_intra_prediction.c"
 var $104=($103|0)!=0; //@line 521 "../src/h264bsd_intra_prediction.c"
 if($104){label=17;break;}else{label=18;break;} //@line 521 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $106=$tmp; //@line 522 "../src/h264bsd_intra_prediction.c"
 $1=$106; //@line 522 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 522 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $108=$2; //@line 526 "../src/h264bsd_intra_prediction.c"
 var $109=(($108+196)|0); //@line 526 "../src/h264bsd_intra_prediction.c"
 var $110=HEAP32[(($109)>>2)]; //@line 526 "../src/h264bsd_intra_prediction.c"
 var $111=($110>>>0)>1; //@line 526 "../src/h264bsd_intra_prediction.c"
 if($111){label=19;break;}else{label=20;break;} //@line 526 "../src/h264bsd_intra_prediction.c"
 case 19: 
 $1=0; //@line 527 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 527 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $114=$4; //@line 529 "../src/h264bsd_intra_prediction.c"
 var $115=$7; //@line 529 "../src/h264bsd_intra_prediction.c"
 _h264bsdWriteMacroblock($114,$115); //@line 529 "../src/h264bsd_intra_prediction.c"
 $1=0; //@line 531 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 531 "../src/h264bsd_intra_prediction.c"
 case 21: 
 var $117=$1; //@line 533 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return $117; //@line 533 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdGetNeighbourPels($image,$above,$left,$mbNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $width;
 var $picSize;
 var $ptr;
 var $tmp;
 var $row;
 var $col;
 $1=$image;
 $2=$above;
 $3=$left;
 $4=$mbNum;
 var $5=$1; //@line 557 "../src/h264bsd_intra_prediction.c"
 var $6=($5|0)!=0; //@line 557 "../src/h264bsd_intra_prediction.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 557 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(9248,12024,557,13856); //@line 557 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 557 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 557 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 557 "../src/h264bsd_intra_prediction.c"
 var $12=$2; //@line 558 "../src/h264bsd_intra_prediction.c"
 var $13=($12|0)!=0; //@line 558 "../src/h264bsd_intra_prediction.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 558 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,558,13856); //@line 558 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 558 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 558 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 558 "../src/h264bsd_intra_prediction.c"
 var $19=$3; //@line 559 "../src/h264bsd_intra_prediction.c"
 var $20=($19|0)!=0; //@line 559 "../src/h264bsd_intra_prediction.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 559 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,559,13856); //@line 559 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 559 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 559 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 559 "../src/h264bsd_intra_prediction.c"
 var $26=$4; //@line 560 "../src/h264bsd_intra_prediction.c"
 var $27=$1; //@line 560 "../src/h264bsd_intra_prediction.c"
 var $28=(($27+4)|0); //@line 560 "../src/h264bsd_intra_prediction.c"
 var $29=HEAP32[(($28)>>2)]; //@line 560 "../src/h264bsd_intra_prediction.c"
 var $30=$1; //@line 560 "../src/h264bsd_intra_prediction.c"
 var $31=(($30+8)|0); //@line 560 "../src/h264bsd_intra_prediction.c"
 var $32=HEAP32[(($31)>>2)]; //@line 560 "../src/h264bsd_intra_prediction.c"
 var $33=(Math_imul($29,$32)|0); //@line 560 "../src/h264bsd_intra_prediction.c"
 var $34=($26>>>0)<($33>>>0); //@line 560 "../src/h264bsd_intra_prediction.c"
 if($34){var $38=1;label=9;break;}else{label=8;break;} //@line 560 "../src/h264bsd_intra_prediction.c"
 case 8: 
 ___assert_fail(8152,12024,560,13856); //@line 560 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 560 "../src/h264bsd_intra_prediction.c"
 label=9;break; //@line 560 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $38;
 var $39=($38&1); //@line 560 "../src/h264bsd_intra_prediction.c"
 var $40=$4; //@line 562 "../src/h264bsd_intra_prediction.c"
 var $41=($40|0)!=0; //@line 562 "../src/h264bsd_intra_prediction.c"
 if($41){label=11;break;}else{label=10;break;} //@line 562 "../src/h264bsd_intra_prediction.c"
 case 10: 
 label=40;break; //@line 563 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $44=$1; //@line 565 "../src/h264bsd_intra_prediction.c"
 var $45=(($44+4)|0); //@line 565 "../src/h264bsd_intra_prediction.c"
 var $46=HEAP32[(($45)>>2)]; //@line 565 "../src/h264bsd_intra_prediction.c"
 $width=$46; //@line 565 "../src/h264bsd_intra_prediction.c"
 var $47=$width; //@line 566 "../src/h264bsd_intra_prediction.c"
 var $48=$1; //@line 566 "../src/h264bsd_intra_prediction.c"
 var $49=(($48+8)|0); //@line 566 "../src/h264bsd_intra_prediction.c"
 var $50=HEAP32[(($49)>>2)]; //@line 566 "../src/h264bsd_intra_prediction.c"
 var $51=(Math_imul($47,$50)|0); //@line 566 "../src/h264bsd_intra_prediction.c"
 $picSize=$51; //@line 566 "../src/h264bsd_intra_prediction.c"
 var $52=$4; //@line 567 "../src/h264bsd_intra_prediction.c"
 var $53=$width; //@line 567 "../src/h264bsd_intra_prediction.c"
 var $54=(((($52>>>0))/(($53>>>0)))&-1); //@line 567 "../src/h264bsd_intra_prediction.c"
 $row=$54; //@line 567 "../src/h264bsd_intra_prediction.c"
 var $55=$4; //@line 568 "../src/h264bsd_intra_prediction.c"
 var $56=$row; //@line 568 "../src/h264bsd_intra_prediction.c"
 var $57=$width; //@line 568 "../src/h264bsd_intra_prediction.c"
 var $58=(Math_imul($56,$57)|0); //@line 568 "../src/h264bsd_intra_prediction.c"
 var $59=((($55)-($58))|0); //@line 568 "../src/h264bsd_intra_prediction.c"
 $col=$59; //@line 568 "../src/h264bsd_intra_prediction.c"
 var $60=$width; //@line 570 "../src/h264bsd_intra_prediction.c"
 var $61=($60<<4); //@line 570 "../src/h264bsd_intra_prediction.c"
 $width=$61; //@line 570 "../src/h264bsd_intra_prediction.c"
 var $62=$1; //@line 571 "../src/h264bsd_intra_prediction.c"
 var $63=(($62)|0); //@line 571 "../src/h264bsd_intra_prediction.c"
 var $64=HEAP32[(($63)>>2)]; //@line 571 "../src/h264bsd_intra_prediction.c"
 var $65=$row; //@line 571 "../src/h264bsd_intra_prediction.c"
 var $66=($65<<4); //@line 571 "../src/h264bsd_intra_prediction.c"
 var $67=$width; //@line 571 "../src/h264bsd_intra_prediction.c"
 var $68=(Math_imul($66,$67)|0); //@line 571 "../src/h264bsd_intra_prediction.c"
 var $69=(($64+$68)|0); //@line 571 "../src/h264bsd_intra_prediction.c"
 var $70=$col; //@line 571 "../src/h264bsd_intra_prediction.c"
 var $71=($70<<4); //@line 571 "../src/h264bsd_intra_prediction.c"
 var $72=(($69+$71)|0); //@line 571 "../src/h264bsd_intra_prediction.c"
 $ptr=$72; //@line 571 "../src/h264bsd_intra_prediction.c"
 var $73=$row; //@line 578 "../src/h264bsd_intra_prediction.c"
 var $74=($73|0)!=0; //@line 578 "../src/h264bsd_intra_prediction.c"
 if($74){label=12;break;}else{label=16;break;} //@line 578 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $76=$ptr; //@line 580 "../src/h264bsd_intra_prediction.c"
 var $77=$width; //@line 580 "../src/h264bsd_intra_prediction.c"
 var $78=((($77)+(1))|0); //@line 580 "../src/h264bsd_intra_prediction.c"
 var $79=(((-$78))|0); //@line 580 "../src/h264bsd_intra_prediction.c"
 var $80=(($76+$79)|0); //@line 580 "../src/h264bsd_intra_prediction.c"
 $tmp=$80; //@line 580 "../src/h264bsd_intra_prediction.c"
 $i=21; //@line 581 "../src/h264bsd_intra_prediction.c"
 label=13;break; //@line 581 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $82=$i; //@line 581 "../src/h264bsd_intra_prediction.c"
 var $83=((($82)-(1))|0); //@line 581 "../src/h264bsd_intra_prediction.c"
 $i=$83; //@line 581 "../src/h264bsd_intra_prediction.c"
 var $84=($82|0)!=0; //@line 581 "../src/h264bsd_intra_prediction.c"
 if($84){label=14;break;}else{label=15;break;} //@line 581 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $86=$tmp; //@line 582 "../src/h264bsd_intra_prediction.c"
 var $87=(($86+1)|0); //@line 582 "../src/h264bsd_intra_prediction.c"
 $tmp=$87; //@line 582 "../src/h264bsd_intra_prediction.c"
 var $88=HEAP8[($86)]; //@line 582 "../src/h264bsd_intra_prediction.c"
 var $89=$2; //@line 582 "../src/h264bsd_intra_prediction.c"
 var $90=(($89+1)|0); //@line 582 "../src/h264bsd_intra_prediction.c"
 $2=$90; //@line 582 "../src/h264bsd_intra_prediction.c"
 HEAP8[($89)]=$88; //@line 582 "../src/h264bsd_intra_prediction.c"
 label=13;break; //@line 582 "../src/h264bsd_intra_prediction.c"
 case 15: 
 label=16;break; //@line 583 "../src/h264bsd_intra_prediction.c"
 case 16: 
 var $93=$col; //@line 585 "../src/h264bsd_intra_prediction.c"
 var $94=($93|0)!=0; //@line 585 "../src/h264bsd_intra_prediction.c"
 if($94){label=17;break;}else{label=22;break;} //@line 585 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $96=$ptr; //@line 587 "../src/h264bsd_intra_prediction.c"
 var $97=((($96)-(1))|0); //@line 587 "../src/h264bsd_intra_prediction.c"
 $ptr=$97; //@line 587 "../src/h264bsd_intra_prediction.c"
 $i=16; //@line 588 "../src/h264bsd_intra_prediction.c"
 label=18;break; //@line 588 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $99=$i; //@line 588 "../src/h264bsd_intra_prediction.c"
 var $100=((($99)-(1))|0); //@line 588 "../src/h264bsd_intra_prediction.c"
 $i=$100; //@line 588 "../src/h264bsd_intra_prediction.c"
 var $101=($99|0)!=0; //@line 588 "../src/h264bsd_intra_prediction.c"
 if($101){label=19;break;}else{label=21;break;} //@line 588 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $103=$ptr; //@line 589 "../src/h264bsd_intra_prediction.c"
 var $104=HEAP8[($103)]; //@line 589 "../src/h264bsd_intra_prediction.c"
 var $105=$3; //@line 589 "../src/h264bsd_intra_prediction.c"
 var $106=(($105+1)|0); //@line 589 "../src/h264bsd_intra_prediction.c"
 $3=$106; //@line 589 "../src/h264bsd_intra_prediction.c"
 HEAP8[($105)]=$104; //@line 589 "../src/h264bsd_intra_prediction.c"
 label=20;break; //@line 589 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $108=$width; //@line 588 "../src/h264bsd_intra_prediction.c"
 var $109=$ptr; //@line 588 "../src/h264bsd_intra_prediction.c"
 var $110=(($109+$108)|0); //@line 588 "../src/h264bsd_intra_prediction.c"
 $ptr=$110; //@line 588 "../src/h264bsd_intra_prediction.c"
 label=18;break; //@line 588 "../src/h264bsd_intra_prediction.c"
 case 21: 
 label=22;break; //@line 590 "../src/h264bsd_intra_prediction.c"
 case 22: 
 var $113=$width; //@line 592 "../src/h264bsd_intra_prediction.c"
 var $114=$113>>>1; //@line 592 "../src/h264bsd_intra_prediction.c"
 $width=$114; //@line 592 "../src/h264bsd_intra_prediction.c"
 var $115=$1; //@line 593 "../src/h264bsd_intra_prediction.c"
 var $116=(($115)|0); //@line 593 "../src/h264bsd_intra_prediction.c"
 var $117=HEAP32[(($116)>>2)]; //@line 593 "../src/h264bsd_intra_prediction.c"
 var $118=$picSize; //@line 593 "../src/h264bsd_intra_prediction.c"
 var $119=($118<<8); //@line 593 "../src/h264bsd_intra_prediction.c"
 var $120=(($117+$119)|0); //@line 593 "../src/h264bsd_intra_prediction.c"
 var $121=$row; //@line 593 "../src/h264bsd_intra_prediction.c"
 var $122=($121<<3); //@line 593 "../src/h264bsd_intra_prediction.c"
 var $123=$width; //@line 593 "../src/h264bsd_intra_prediction.c"
 var $124=(Math_imul($122,$123)|0); //@line 593 "../src/h264bsd_intra_prediction.c"
 var $125=(($120+$124)|0); //@line 593 "../src/h264bsd_intra_prediction.c"
 var $126=$col; //@line 593 "../src/h264bsd_intra_prediction.c"
 var $127=($126<<3); //@line 593 "../src/h264bsd_intra_prediction.c"
 var $128=(($125+$127)|0); //@line 593 "../src/h264bsd_intra_prediction.c"
 $ptr=$128; //@line 593 "../src/h264bsd_intra_prediction.c"
 var $129=$row; //@line 595 "../src/h264bsd_intra_prediction.c"
 var $130=($129|0)!=0; //@line 595 "../src/h264bsd_intra_prediction.c"
 if($130){label=23;break;}else{label=30;break;} //@line 595 "../src/h264bsd_intra_prediction.c"
 case 23: 
 var $132=$ptr; //@line 597 "../src/h264bsd_intra_prediction.c"
 var $133=$width; //@line 597 "../src/h264bsd_intra_prediction.c"
 var $134=((($133)+(1))|0); //@line 597 "../src/h264bsd_intra_prediction.c"
 var $135=(((-$134))|0); //@line 597 "../src/h264bsd_intra_prediction.c"
 var $136=(($132+$135)|0); //@line 597 "../src/h264bsd_intra_prediction.c"
 $tmp=$136; //@line 597 "../src/h264bsd_intra_prediction.c"
 $i=9; //@line 598 "../src/h264bsd_intra_prediction.c"
 label=24;break; //@line 598 "../src/h264bsd_intra_prediction.c"
 case 24: 
 var $138=$i; //@line 598 "../src/h264bsd_intra_prediction.c"
 var $139=((($138)-(1))|0); //@line 598 "../src/h264bsd_intra_prediction.c"
 $i=$139; //@line 598 "../src/h264bsd_intra_prediction.c"
 var $140=($138|0)!=0; //@line 598 "../src/h264bsd_intra_prediction.c"
 if($140){label=25;break;}else{label=26;break;} //@line 598 "../src/h264bsd_intra_prediction.c"
 case 25: 
 var $142=$tmp; //@line 599 "../src/h264bsd_intra_prediction.c"
 var $143=(($142+1)|0); //@line 599 "../src/h264bsd_intra_prediction.c"
 $tmp=$143; //@line 599 "../src/h264bsd_intra_prediction.c"
 var $144=HEAP8[($142)]; //@line 599 "../src/h264bsd_intra_prediction.c"
 var $145=$2; //@line 599 "../src/h264bsd_intra_prediction.c"
 var $146=(($145+1)|0); //@line 599 "../src/h264bsd_intra_prediction.c"
 $2=$146; //@line 599 "../src/h264bsd_intra_prediction.c"
 HEAP8[($145)]=$144; //@line 599 "../src/h264bsd_intra_prediction.c"
 label=24;break; //@line 599 "../src/h264bsd_intra_prediction.c"
 case 26: 
 var $148=$picSize; //@line 600 "../src/h264bsd_intra_prediction.c"
 var $149=($148<<6); //@line 600 "../src/h264bsd_intra_prediction.c"
 var $150=((($149)-(9))|0); //@line 600 "../src/h264bsd_intra_prediction.c"
 var $151=$tmp; //@line 600 "../src/h264bsd_intra_prediction.c"
 var $152=(($151+$150)|0); //@line 600 "../src/h264bsd_intra_prediction.c"
 $tmp=$152; //@line 600 "../src/h264bsd_intra_prediction.c"
 $i=9; //@line 601 "../src/h264bsd_intra_prediction.c"
 label=27;break; //@line 601 "../src/h264bsd_intra_prediction.c"
 case 27: 
 var $154=$i; //@line 601 "../src/h264bsd_intra_prediction.c"
 var $155=((($154)-(1))|0); //@line 601 "../src/h264bsd_intra_prediction.c"
 $i=$155; //@line 601 "../src/h264bsd_intra_prediction.c"
 var $156=($154|0)!=0; //@line 601 "../src/h264bsd_intra_prediction.c"
 if($156){label=28;break;}else{label=29;break;} //@line 601 "../src/h264bsd_intra_prediction.c"
 case 28: 
 var $158=$tmp; //@line 602 "../src/h264bsd_intra_prediction.c"
 var $159=(($158+1)|0); //@line 602 "../src/h264bsd_intra_prediction.c"
 $tmp=$159; //@line 602 "../src/h264bsd_intra_prediction.c"
 var $160=HEAP8[($158)]; //@line 602 "../src/h264bsd_intra_prediction.c"
 var $161=$2; //@line 602 "../src/h264bsd_intra_prediction.c"
 var $162=(($161+1)|0); //@line 602 "../src/h264bsd_intra_prediction.c"
 $2=$162; //@line 602 "../src/h264bsd_intra_prediction.c"
 HEAP8[($161)]=$160; //@line 602 "../src/h264bsd_intra_prediction.c"
 label=27;break; //@line 602 "../src/h264bsd_intra_prediction.c"
 case 29: 
 label=30;break; //@line 603 "../src/h264bsd_intra_prediction.c"
 case 30: 
 var $165=$col; //@line 605 "../src/h264bsd_intra_prediction.c"
 var $166=($165|0)!=0; //@line 605 "../src/h264bsd_intra_prediction.c"
 if($166){label=31;break;}else{label=40;break;} //@line 605 "../src/h264bsd_intra_prediction.c"
 case 31: 
 var $168=$ptr; //@line 607 "../src/h264bsd_intra_prediction.c"
 var $169=((($168)-(1))|0); //@line 607 "../src/h264bsd_intra_prediction.c"
 $ptr=$169; //@line 607 "../src/h264bsd_intra_prediction.c"
 $i=8; //@line 608 "../src/h264bsd_intra_prediction.c"
 label=32;break; //@line 608 "../src/h264bsd_intra_prediction.c"
 case 32: 
 var $171=$i; //@line 608 "../src/h264bsd_intra_prediction.c"
 var $172=((($171)-(1))|0); //@line 608 "../src/h264bsd_intra_prediction.c"
 $i=$172; //@line 608 "../src/h264bsd_intra_prediction.c"
 var $173=($171|0)!=0; //@line 608 "../src/h264bsd_intra_prediction.c"
 if($173){label=33;break;}else{label=35;break;} //@line 608 "../src/h264bsd_intra_prediction.c"
 case 33: 
 var $175=$ptr; //@line 609 "../src/h264bsd_intra_prediction.c"
 var $176=HEAP8[($175)]; //@line 609 "../src/h264bsd_intra_prediction.c"
 var $177=$3; //@line 609 "../src/h264bsd_intra_prediction.c"
 var $178=(($177+1)|0); //@line 609 "../src/h264bsd_intra_prediction.c"
 $3=$178; //@line 609 "../src/h264bsd_intra_prediction.c"
 HEAP8[($177)]=$176; //@line 609 "../src/h264bsd_intra_prediction.c"
 label=34;break; //@line 609 "../src/h264bsd_intra_prediction.c"
 case 34: 
 var $180=$width; //@line 608 "../src/h264bsd_intra_prediction.c"
 var $181=$ptr; //@line 608 "../src/h264bsd_intra_prediction.c"
 var $182=(($181+$180)|0); //@line 608 "../src/h264bsd_intra_prediction.c"
 $ptr=$182; //@line 608 "../src/h264bsd_intra_prediction.c"
 label=32;break; //@line 608 "../src/h264bsd_intra_prediction.c"
 case 35: 
 var $184=$picSize; //@line 610 "../src/h264bsd_intra_prediction.c"
 var $185=($184<<6); //@line 610 "../src/h264bsd_intra_prediction.c"
 var $186=$width; //@line 610 "../src/h264bsd_intra_prediction.c"
 var $187=($186<<3); //@line 610 "../src/h264bsd_intra_prediction.c"
 var $188=((($185)-($187))|0); //@line 610 "../src/h264bsd_intra_prediction.c"
 var $189=$ptr; //@line 610 "../src/h264bsd_intra_prediction.c"
 var $190=(($189+$188)|0); //@line 610 "../src/h264bsd_intra_prediction.c"
 $ptr=$190; //@line 610 "../src/h264bsd_intra_prediction.c"
 $i=8; //@line 611 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 611 "../src/h264bsd_intra_prediction.c"
 case 36: 
 var $192=$i; //@line 611 "../src/h264bsd_intra_prediction.c"
 var $193=((($192)-(1))|0); //@line 611 "../src/h264bsd_intra_prediction.c"
 $i=$193; //@line 611 "../src/h264bsd_intra_prediction.c"
 var $194=($192|0)!=0; //@line 611 "../src/h264bsd_intra_prediction.c"
 if($194){label=37;break;}else{label=39;break;} //@line 611 "../src/h264bsd_intra_prediction.c"
 case 37: 
 var $196=$ptr; //@line 612 "../src/h264bsd_intra_prediction.c"
 var $197=HEAP8[($196)]; //@line 612 "../src/h264bsd_intra_prediction.c"
 var $198=$3; //@line 612 "../src/h264bsd_intra_prediction.c"
 var $199=(($198+1)|0); //@line 612 "../src/h264bsd_intra_prediction.c"
 $3=$199; //@line 612 "../src/h264bsd_intra_prediction.c"
 HEAP8[($198)]=$197; //@line 612 "../src/h264bsd_intra_prediction.c"
 label=38;break; //@line 612 "../src/h264bsd_intra_prediction.c"
 case 38: 
 var $201=$width; //@line 611 "../src/h264bsd_intra_prediction.c"
 var $202=$ptr; //@line 611 "../src/h264bsd_intra_prediction.c"
 var $203=(($202+$201)|0); //@line 611 "../src/h264bsd_intra_prediction.c"
 $ptr=$203; //@line 611 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 611 "../src/h264bsd_intra_prediction.c"
 case 39: 
 label=40;break; //@line 613 "../src/h264bsd_intra_prediction.c"
 case 40: 
 STACKTOP=sp;return; //@line 614 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIntra16x16Prediction($pMb,$data,$residual,$above,$left,$constrainedIntraPred){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $i;
 var $availableA;
 var $availableB;
 var $availableD;
 $2=$pMb;
 $3=$data;
 $4=$residual;
 $5=$above;
 $6=$left;
 $7=$constrainedIntraPred;
 var $8=$3; //@line 638 "../src/h264bsd_intra_prediction.c"
 var $9=($8|0)!=0; //@line 638 "../src/h264bsd_intra_prediction.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 638 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,638,13368); //@line 638 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 638 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 638 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 638 "../src/h264bsd_intra_prediction.c"
 var $15=$4; //@line 639 "../src/h264bsd_intra_prediction.c"
 var $16=($15|0)!=0; //@line 639 "../src/h264bsd_intra_prediction.c"
 if($16){var $20=1;label=5;break;}else{label=4;break;} //@line 639 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(5096,12024,639,13368); //@line 639 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 639 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 639 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $20;
 var $21=($20&1); //@line 639 "../src/h264bsd_intra_prediction.c"
 var $22=$5; //@line 640 "../src/h264bsd_intra_prediction.c"
 var $23=($22|0)!=0; //@line 640 "../src/h264bsd_intra_prediction.c"
 if($23){var $27=1;label=7;break;}else{label=6;break;} //@line 640 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(6432,12024,640,13368); //@line 640 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 640 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 640 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $27;
 var $28=($27&1); //@line 640 "../src/h264bsd_intra_prediction.c"
 var $29=$6; //@line 641 "../src/h264bsd_intra_prediction.c"
 var $30=($29|0)!=0; //@line 641 "../src/h264bsd_intra_prediction.c"
 if($30){var $34=1;label=9;break;}else{label=8;break;} //@line 641 "../src/h264bsd_intra_prediction.c"
 case 8: 
 ___assert_fail(5904,12024,641,13368); //@line 641 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 641 "../src/h264bsd_intra_prediction.c"
 label=9;break; //@line 641 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $34;
 var $35=($34&1); //@line 641 "../src/h264bsd_intra_prediction.c"
 var $36=$2; //@line 642 "../src/h264bsd_intra_prediction.c"
 var $37=(($36)|0); //@line 642 "../src/h264bsd_intra_prediction.c"
 var $38=HEAP32[(($37)>>2)]; //@line 642 "../src/h264bsd_intra_prediction.c"
 var $39=_h264bsdPredModeIntra16x16($38); //@line 642 "../src/h264bsd_intra_prediction.c"
 var $40=($39>>>0)<4; //@line 642 "../src/h264bsd_intra_prediction.c"
 if($40){var $44=1;label=11;break;}else{label=10;break;} //@line 642 "../src/h264bsd_intra_prediction.c"
 case 10: 
 ___assert_fail(4688,12024,642,13368); //@line 642 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 642 "../src/h264bsd_intra_prediction.c"
 label=11;break; //@line 642 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $44;
 var $45=($44&1); //@line 642 "../src/h264bsd_intra_prediction.c"
 var $46=$2; //@line 644 "../src/h264bsd_intra_prediction.c"
 var $47=$2; //@line 644 "../src/h264bsd_intra_prediction.c"
 var $48=(($47+200)|0); //@line 644 "../src/h264bsd_intra_prediction.c"
 var $49=HEAP32[(($48)>>2)]; //@line 644 "../src/h264bsd_intra_prediction.c"
 var $50=_h264bsdIsNeighbourAvailable($46,$49); //@line 644 "../src/h264bsd_intra_prediction.c"
 $availableA=$50; //@line 644 "../src/h264bsd_intra_prediction.c"
 var $51=$availableA; //@line 645 "../src/h264bsd_intra_prediction.c"
 var $52=($51|0)!=0; //@line 645 "../src/h264bsd_intra_prediction.c"
 if($52){label=12;break;}else{label=15;break;} //@line 645 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $54=$7; //@line 645 "../src/h264bsd_intra_prediction.c"
 var $55=($54|0)!=0; //@line 645 "../src/h264bsd_intra_prediction.c"
 if($55){label=13;break;}else{label=15;break;} //@line 645 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $57=$2; //@line 646 "../src/h264bsd_intra_prediction.c"
 var $58=(($57+200)|0); //@line 646 "../src/h264bsd_intra_prediction.c"
 var $59=HEAP32[(($58)>>2)]; //@line 646 "../src/h264bsd_intra_prediction.c"
 var $60=(($59)|0); //@line 646 "../src/h264bsd_intra_prediction.c"
 var $61=HEAP32[(($60)>>2)]; //@line 646 "../src/h264bsd_intra_prediction.c"
 var $62=_h264bsdMbPartPredMode($61); //@line 646 "../src/h264bsd_intra_prediction.c"
 var $63=($62|0)==2; //@line 646 "../src/h264bsd_intra_prediction.c"
 if($63){label=14;break;}else{label=15;break;} //@line 646 "../src/h264bsd_intra_prediction.c"
 case 14: 
 $availableA=0; //@line 647 "../src/h264bsd_intra_prediction.c"
 label=15;break; //@line 647 "../src/h264bsd_intra_prediction.c"
 case 15: 
 var $66=$2; //@line 648 "../src/h264bsd_intra_prediction.c"
 var $67=$2; //@line 648 "../src/h264bsd_intra_prediction.c"
 var $68=(($67+204)|0); //@line 648 "../src/h264bsd_intra_prediction.c"
 var $69=HEAP32[(($68)>>2)]; //@line 648 "../src/h264bsd_intra_prediction.c"
 var $70=_h264bsdIsNeighbourAvailable($66,$69); //@line 648 "../src/h264bsd_intra_prediction.c"
 $availableB=$70; //@line 648 "../src/h264bsd_intra_prediction.c"
 var $71=$availableB; //@line 649 "../src/h264bsd_intra_prediction.c"
 var $72=($71|0)!=0; //@line 649 "../src/h264bsd_intra_prediction.c"
 if($72){label=16;break;}else{label=19;break;} //@line 649 "../src/h264bsd_intra_prediction.c"
 case 16: 
 var $74=$7; //@line 649 "../src/h264bsd_intra_prediction.c"
 var $75=($74|0)!=0; //@line 649 "../src/h264bsd_intra_prediction.c"
 if($75){label=17;break;}else{label=19;break;} //@line 649 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $77=$2; //@line 650 "../src/h264bsd_intra_prediction.c"
 var $78=(($77+204)|0); //@line 650 "../src/h264bsd_intra_prediction.c"
 var $79=HEAP32[(($78)>>2)]; //@line 650 "../src/h264bsd_intra_prediction.c"
 var $80=(($79)|0); //@line 650 "../src/h264bsd_intra_prediction.c"
 var $81=HEAP32[(($80)>>2)]; //@line 650 "../src/h264bsd_intra_prediction.c"
 var $82=_h264bsdMbPartPredMode($81); //@line 650 "../src/h264bsd_intra_prediction.c"
 var $83=($82|0)==2; //@line 650 "../src/h264bsd_intra_prediction.c"
 if($83){label=18;break;}else{label=19;break;} //@line 650 "../src/h264bsd_intra_prediction.c"
 case 18: 
 $availableB=0; //@line 651 "../src/h264bsd_intra_prediction.c"
 label=19;break; //@line 651 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $86=$2; //@line 652 "../src/h264bsd_intra_prediction.c"
 var $87=$2; //@line 652 "../src/h264bsd_intra_prediction.c"
 var $88=(($87+212)|0); //@line 652 "../src/h264bsd_intra_prediction.c"
 var $89=HEAP32[(($88)>>2)]; //@line 652 "../src/h264bsd_intra_prediction.c"
 var $90=_h264bsdIsNeighbourAvailable($86,$89); //@line 652 "../src/h264bsd_intra_prediction.c"
 $availableD=$90; //@line 652 "../src/h264bsd_intra_prediction.c"
 var $91=$availableD; //@line 653 "../src/h264bsd_intra_prediction.c"
 var $92=($91|0)!=0; //@line 653 "../src/h264bsd_intra_prediction.c"
 if($92){label=20;break;}else{label=23;break;} //@line 653 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $94=$7; //@line 653 "../src/h264bsd_intra_prediction.c"
 var $95=($94|0)!=0; //@line 653 "../src/h264bsd_intra_prediction.c"
 if($95){label=21;break;}else{label=23;break;} //@line 653 "../src/h264bsd_intra_prediction.c"
 case 21: 
 var $97=$2; //@line 654 "../src/h264bsd_intra_prediction.c"
 var $98=(($97+212)|0); //@line 654 "../src/h264bsd_intra_prediction.c"
 var $99=HEAP32[(($98)>>2)]; //@line 654 "../src/h264bsd_intra_prediction.c"
 var $100=(($99)|0); //@line 654 "../src/h264bsd_intra_prediction.c"
 var $101=HEAP32[(($100)>>2)]; //@line 654 "../src/h264bsd_intra_prediction.c"
 var $102=_h264bsdMbPartPredMode($101); //@line 654 "../src/h264bsd_intra_prediction.c"
 var $103=($102|0)==2; //@line 654 "../src/h264bsd_intra_prediction.c"
 if($103){label=22;break;}else{label=23;break;} //@line 654 "../src/h264bsd_intra_prediction.c"
 case 22: 
 $availableD=0; //@line 655 "../src/h264bsd_intra_prediction.c"
 label=23;break; //@line 655 "../src/h264bsd_intra_prediction.c"
 case 23: 
 var $106=$2; //@line 657 "../src/h264bsd_intra_prediction.c"
 var $107=(($106)|0); //@line 657 "../src/h264bsd_intra_prediction.c"
 var $108=HEAP32[(($107)>>2)]; //@line 657 "../src/h264bsd_intra_prediction.c"
 var $109=_h264bsdPredModeIntra16x16($108); //@line 657 "../src/h264bsd_intra_prediction.c"
 if(($109|0)==0){ label=24;break;}else if(($109|0)==1){ label=27;break;}else if(($109|0)==2){ label=30;break;}else{label=31;break;}
 case 24: 
 var $111=$availableB; //@line 660 "../src/h264bsd_intra_prediction.c"
 var $112=($111|0)!=0; //@line 660 "../src/h264bsd_intra_prediction.c"
 if($112){label=26;break;}else{label=25;break;} //@line 660 "../src/h264bsd_intra_prediction.c"
 case 25: 
 $1=1; //@line 661 "../src/h264bsd_intra_prediction.c"
 label=41;break; //@line 661 "../src/h264bsd_intra_prediction.c"
 case 26: 
 var $115=$3; //@line 662 "../src/h264bsd_intra_prediction.c"
 var $116=$5; //@line 662 "../src/h264bsd_intra_prediction.c"
 var $117=(($116+1)|0); //@line 662 "../src/h264bsd_intra_prediction.c"
 _Intra16x16VerticalPrediction($115,$117); //@line 662 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 663 "../src/h264bsd_intra_prediction.c"
 case 27: 
 var $119=$availableA; //@line 666 "../src/h264bsd_intra_prediction.c"
 var $120=($119|0)!=0; //@line 666 "../src/h264bsd_intra_prediction.c"
 if($120){label=29;break;}else{label=28;break;} //@line 666 "../src/h264bsd_intra_prediction.c"
 case 28: 
 $1=1; //@line 667 "../src/h264bsd_intra_prediction.c"
 label=41;break; //@line 667 "../src/h264bsd_intra_prediction.c"
 case 29: 
 var $123=$3; //@line 668 "../src/h264bsd_intra_prediction.c"
 var $124=$6; //@line 668 "../src/h264bsd_intra_prediction.c"
 _Intra16x16HorizontalPrediction($123,$124); //@line 668 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 669 "../src/h264bsd_intra_prediction.c"
 case 30: 
 var $126=$3; //@line 672 "../src/h264bsd_intra_prediction.c"
 var $127=$5; //@line 672 "../src/h264bsd_intra_prediction.c"
 var $128=(($127+1)|0); //@line 672 "../src/h264bsd_intra_prediction.c"
 var $129=$6; //@line 672 "../src/h264bsd_intra_prediction.c"
 var $130=$availableA; //@line 672 "../src/h264bsd_intra_prediction.c"
 var $131=$availableB; //@line 672 "../src/h264bsd_intra_prediction.c"
 _Intra16x16DcPrediction($126,$128,$129,$130,$131); //@line 672 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 673 "../src/h264bsd_intra_prediction.c"
 case 31: 
 var $133=$availableA; //@line 676 "../src/h264bsd_intra_prediction.c"
 var $134=($133|0)!=0; //@line 676 "../src/h264bsd_intra_prediction.c"
 if($134){label=32;break;}else{label=34;break;} //@line 676 "../src/h264bsd_intra_prediction.c"
 case 32: 
 var $136=$availableB; //@line 676 "../src/h264bsd_intra_prediction.c"
 var $137=($136|0)!=0; //@line 676 "../src/h264bsd_intra_prediction.c"
 if($137){label=33;break;}else{label=34;break;} //@line 676 "../src/h264bsd_intra_prediction.c"
 case 33: 
 var $139=$availableD; //@line 676 "../src/h264bsd_intra_prediction.c"
 var $140=($139|0)!=0; //@line 676 "../src/h264bsd_intra_prediction.c"
 if($140){label=35;break;}else{label=34;break;} //@line 676 "../src/h264bsd_intra_prediction.c"
 case 34: 
 $1=1; //@line 677 "../src/h264bsd_intra_prediction.c"
 label=41;break; //@line 677 "../src/h264bsd_intra_prediction.c"
 case 35: 
 var $143=$3; //@line 678 "../src/h264bsd_intra_prediction.c"
 var $144=$5; //@line 678 "../src/h264bsd_intra_prediction.c"
 var $145=(($144+1)|0); //@line 678 "../src/h264bsd_intra_prediction.c"
 var $146=$6; //@line 678 "../src/h264bsd_intra_prediction.c"
 _Intra16x16PlanePrediction($143,$145,$146); //@line 678 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 679 "../src/h264bsd_intra_prediction.c"
 case 36: 
 $i=0; //@line 682 "../src/h264bsd_intra_prediction.c"
 label=37;break; //@line 682 "../src/h264bsd_intra_prediction.c"
 case 37: 
 var $149=$i; //@line 682 "../src/h264bsd_intra_prediction.c"
 var $150=($149>>>0)<16; //@line 682 "../src/h264bsd_intra_prediction.c"
 if($150){label=38;break;}else{label=40;break;} //@line 682 "../src/h264bsd_intra_prediction.c"
 case 38: 
 var $152=$3; //@line 683 "../src/h264bsd_intra_prediction.c"
 var $153=$i; //@line 683 "../src/h264bsd_intra_prediction.c"
 var $154=$4; //@line 683 "../src/h264bsd_intra_prediction.c"
 var $155=(($154+($153<<6))|0); //@line 683 "../src/h264bsd_intra_prediction.c"
 var $156=(($155)|0); //@line 683 "../src/h264bsd_intra_prediction.c"
 var $157=$i; //@line 683 "../src/h264bsd_intra_prediction.c"
 _h264bsdAddResidual($152,$156,$157); //@line 683 "../src/h264bsd_intra_prediction.c"
 label=39;break; //@line 683 "../src/h264bsd_intra_prediction.c"
 case 39: 
 var $159=$i; //@line 682 "../src/h264bsd_intra_prediction.c"
 var $160=((($159)+(1))|0); //@line 682 "../src/h264bsd_intra_prediction.c"
 $i=$160; //@line 682 "../src/h264bsd_intra_prediction.c"
 label=37;break; //@line 682 "../src/h264bsd_intra_prediction.c"
 case 40: 
 $1=0; //@line 685 "../src/h264bsd_intra_prediction.c"
 label=41;break; //@line 685 "../src/h264bsd_intra_prediction.c"
 case 41: 
 var $163=$1; //@line 687 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return $163; //@line 687 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIntra4x4Prediction($pMb,$data,$mbLayer,$above,$left,$constrainedIntraPred){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+56)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $block;
 var $mode;
 var $neighbour=sp;
 var $neighbourB=(sp)+(8);
 var $nMb;
 var $nMb2;
 var $a=(sp)+(16);
 var $l=(sp)+(32);
 var $data4x4=(sp)+(40);
 var $availableA;
 var $availableB;
 var $availableC;
 var $availableD;
 $2=$pMb;
 $3=$data;
 $4=$mbLayer;
 $5=$above;
 $6=$left;
 $7=$constrainedIntraPred;
 var $8=$3; //@line 718 "../src/h264bsd_intra_prediction.c"
 var $9=($8|0)!=0; //@line 718 "../src/h264bsd_intra_prediction.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 718 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,718,13336); //@line 718 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 718 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 718 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 718 "../src/h264bsd_intra_prediction.c"
 var $15=$4; //@line 719 "../src/h264bsd_intra_prediction.c"
 var $16=($15|0)!=0; //@line 719 "../src/h264bsd_intra_prediction.c"
 if($16){var $20=1;label=5;break;}else{label=4;break;} //@line 719 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(12472,12024,719,13336); //@line 719 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 719 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 719 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $20;
 var $21=($20&1); //@line 719 "../src/h264bsd_intra_prediction.c"
 var $22=$5; //@line 720 "../src/h264bsd_intra_prediction.c"
 var $23=($22|0)!=0; //@line 720 "../src/h264bsd_intra_prediction.c"
 if($23){var $27=1;label=7;break;}else{label=6;break;} //@line 720 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(6432,12024,720,13336); //@line 720 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 720 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 720 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $27;
 var $28=($27&1); //@line 720 "../src/h264bsd_intra_prediction.c"
 var $29=$6; //@line 721 "../src/h264bsd_intra_prediction.c"
 var $30=($29|0)!=0; //@line 721 "../src/h264bsd_intra_prediction.c"
 if($30){var $34=1;label=9;break;}else{label=8;break;} //@line 721 "../src/h264bsd_intra_prediction.c"
 case 8: 
 ___assert_fail(5904,12024,721,13336); //@line 721 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 721 "../src/h264bsd_intra_prediction.c"
 label=9;break; //@line 721 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $34;
 var $35=($34&1); //@line 721 "../src/h264bsd_intra_prediction.c"
 $block=0; //@line 723 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 723 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $37=$block; //@line 723 "../src/h264bsd_intra_prediction.c"
 var $38=($37>>>0)<16; //@line 723 "../src/h264bsd_intra_prediction.c"
 if($38){label=11;break;}else{label=69;break;} //@line 723 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $40=$block; //@line 726 "../src/h264bsd_intra_prediction.c"
 var $41=$2; //@line 726 "../src/h264bsd_intra_prediction.c"
 var $42=(($41+82)|0); //@line 726 "../src/h264bsd_intra_prediction.c"
 var $43=(($42+$40)|0); //@line 726 "../src/h264bsd_intra_prediction.c"
 var $44=HEAP8[($43)]; //@line 726 "../src/h264bsd_intra_prediction.c"
 var $45=($44&255); //@line 726 "../src/h264bsd_intra_prediction.c"
 var $46=($45|0)<9; //@line 726 "../src/h264bsd_intra_prediction.c"
 if($46){var $50=1;label=13;break;}else{label=12;break;} //@line 726 "../src/h264bsd_intra_prediction.c"
 case 12: 
 ___assert_fail(12144,12024,726,13336); //@line 726 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 726 "../src/h264bsd_intra_prediction.c"
 label=13;break; //@line 726 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $50;
 var $51=($50&1); //@line 726 "../src/h264bsd_intra_prediction.c"
 var $52=$block; //@line 728 "../src/h264bsd_intra_prediction.c"
 var $53=_h264bsdNeighbour4x4BlockA($52); //@line 728 "../src/h264bsd_intra_prediction.c"
 var $54=$neighbour; //@line 728 "../src/h264bsd_intra_prediction.c"
 var $55=$53; //@line 728 "../src/h264bsd_intra_prediction.c"
 assert(8 % 1 === 0);HEAP32[(($54)>>2)]=HEAP32[(($55)>>2)];HEAP32[((($54)+(4))>>2)]=HEAP32[((($55)+(4))>>2)]; //@line 728 "../src/h264bsd_intra_prediction.c"
 var $56=$2; //@line 729 "../src/h264bsd_intra_prediction.c"
 var $57=(($neighbour)|0); //@line 729 "../src/h264bsd_intra_prediction.c"
 var $58=HEAP32[(($57)>>2)]; //@line 729 "../src/h264bsd_intra_prediction.c"
 var $59=_h264bsdGetNeighbourMb($56,$58); //@line 729 "../src/h264bsd_intra_prediction.c"
 $nMb=$59; //@line 729 "../src/h264bsd_intra_prediction.c"
 var $60=$2; //@line 730 "../src/h264bsd_intra_prediction.c"
 var $61=$nMb; //@line 730 "../src/h264bsd_intra_prediction.c"
 var $62=_h264bsdIsNeighbourAvailable($60,$61); //@line 730 "../src/h264bsd_intra_prediction.c"
 $availableA=$62; //@line 730 "../src/h264bsd_intra_prediction.c"
 var $63=$availableA; //@line 731 "../src/h264bsd_intra_prediction.c"
 var $64=($63|0)!=0; //@line 731 "../src/h264bsd_intra_prediction.c"
 if($64){label=14;break;}else{label=17;break;} //@line 731 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $66=$7; //@line 731 "../src/h264bsd_intra_prediction.c"
 var $67=($66|0)!=0; //@line 731 "../src/h264bsd_intra_prediction.c"
 if($67){label=15;break;}else{label=17;break;} //@line 731 "../src/h264bsd_intra_prediction.c"
 case 15: 
 var $69=$nMb; //@line 732 "../src/h264bsd_intra_prediction.c"
 var $70=(($69)|0); //@line 732 "../src/h264bsd_intra_prediction.c"
 var $71=HEAP32[(($70)>>2)]; //@line 732 "../src/h264bsd_intra_prediction.c"
 var $72=_h264bsdMbPartPredMode($71); //@line 732 "../src/h264bsd_intra_prediction.c"
 var $73=($72|0)==2; //@line 732 "../src/h264bsd_intra_prediction.c"
 if($73){label=16;break;}else{label=17;break;} //@line 732 "../src/h264bsd_intra_prediction.c"
 case 16: 
 $availableA=0; //@line 734 "../src/h264bsd_intra_prediction.c"
 label=17;break; //@line 735 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $76=$block; //@line 737 "../src/h264bsd_intra_prediction.c"
 var $77=_h264bsdNeighbour4x4BlockB($76); //@line 737 "../src/h264bsd_intra_prediction.c"
 var $78=$neighbourB; //@line 737 "../src/h264bsd_intra_prediction.c"
 var $79=$77; //@line 737 "../src/h264bsd_intra_prediction.c"
 assert(8 % 1 === 0);HEAP32[(($78)>>2)]=HEAP32[(($79)>>2)];HEAP32[((($78)+(4))>>2)]=HEAP32[((($79)+(4))>>2)]; //@line 737 "../src/h264bsd_intra_prediction.c"
 var $80=$2; //@line 738 "../src/h264bsd_intra_prediction.c"
 var $81=(($neighbourB)|0); //@line 738 "../src/h264bsd_intra_prediction.c"
 var $82=HEAP32[(($81)>>2)]; //@line 738 "../src/h264bsd_intra_prediction.c"
 var $83=_h264bsdGetNeighbourMb($80,$82); //@line 738 "../src/h264bsd_intra_prediction.c"
 $nMb2=$83; //@line 738 "../src/h264bsd_intra_prediction.c"
 var $84=$2; //@line 739 "../src/h264bsd_intra_prediction.c"
 var $85=$nMb2; //@line 739 "../src/h264bsd_intra_prediction.c"
 var $86=_h264bsdIsNeighbourAvailable($84,$85); //@line 739 "../src/h264bsd_intra_prediction.c"
 $availableB=$86; //@line 739 "../src/h264bsd_intra_prediction.c"
 var $87=$availableB; //@line 740 "../src/h264bsd_intra_prediction.c"
 var $88=($87|0)!=0; //@line 740 "../src/h264bsd_intra_prediction.c"
 if($88){label=18;break;}else{label=21;break;} //@line 740 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $90=$7; //@line 740 "../src/h264bsd_intra_prediction.c"
 var $91=($90|0)!=0; //@line 740 "../src/h264bsd_intra_prediction.c"
 if($91){label=19;break;}else{label=21;break;} //@line 740 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $93=$nMb2; //@line 741 "../src/h264bsd_intra_prediction.c"
 var $94=(($93)|0); //@line 741 "../src/h264bsd_intra_prediction.c"
 var $95=HEAP32[(($94)>>2)]; //@line 741 "../src/h264bsd_intra_prediction.c"
 var $96=_h264bsdMbPartPredMode($95); //@line 741 "../src/h264bsd_intra_prediction.c"
 var $97=($96|0)==2; //@line 741 "../src/h264bsd_intra_prediction.c"
 if($97){label=20;break;}else{label=21;break;} //@line 741 "../src/h264bsd_intra_prediction.c"
 case 20: 
 $availableB=0; //@line 743 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 744 "../src/h264bsd_intra_prediction.c"
 case 21: 
 var $100=$4; //@line 746 "../src/h264bsd_intra_prediction.c"
 var $101=$availableA; //@line 746 "../src/h264bsd_intra_prediction.c"
 var $102=($101|0)!=0; //@line 746 "../src/h264bsd_intra_prediction.c"
 if($102){label=22;break;}else{var $107=0;label=23;break;} //@line 746 "../src/h264bsd_intra_prediction.c"
 case 22: 
 var $104=$availableB; //@line 746 "../src/h264bsd_intra_prediction.c"
 var $105=($104|0)!=0; //@line 746 "../src/h264bsd_intra_prediction.c"
 var $107=$105;label=23;break;
 case 23: 
 var $107;
 var $108=($107&1);
 var $109=$block;
 var $110=$nMb;
 var $111=$nMb2;
 var $112=_DetermineIntra4x4PredMode($100,$108,$neighbour,$neighbourB,$109,$110,$111);
 $mode=$112;
 var $113=$mode; //@line 749 "../src/h264bsd_intra_prediction.c"
 var $114=(($113)&255); //@line 749 "../src/h264bsd_intra_prediction.c"
 var $115=$block; //@line 749 "../src/h264bsd_intra_prediction.c"
 var $116=$2; //@line 749 "../src/h264bsd_intra_prediction.c"
 var $117=(($116+82)|0); //@line 749 "../src/h264bsd_intra_prediction.c"
 var $118=(($117+$115)|0); //@line 749 "../src/h264bsd_intra_prediction.c"
 HEAP8[($118)]=$114; //@line 749 "../src/h264bsd_intra_prediction.c"
 var $119=$block; //@line 751 "../src/h264bsd_intra_prediction.c"
 var $120=_h264bsdNeighbour4x4BlockC($119); //@line 751 "../src/h264bsd_intra_prediction.c"
 var $121=$neighbour; //@line 751 "../src/h264bsd_intra_prediction.c"
 var $122=$120; //@line 751 "../src/h264bsd_intra_prediction.c"
 assert(8 % 1 === 0);HEAP32[(($121)>>2)]=HEAP32[(($122)>>2)];HEAP32[((($121)+(4))>>2)]=HEAP32[((($122)+(4))>>2)]; //@line 751 "../src/h264bsd_intra_prediction.c"
 var $123=$2; //@line 752 "../src/h264bsd_intra_prediction.c"
 var $124=(($neighbour)|0); //@line 752 "../src/h264bsd_intra_prediction.c"
 var $125=HEAP32[(($124)>>2)]; //@line 752 "../src/h264bsd_intra_prediction.c"
 var $126=_h264bsdGetNeighbourMb($123,$125); //@line 752 "../src/h264bsd_intra_prediction.c"
 $nMb=$126; //@line 752 "../src/h264bsd_intra_prediction.c"
 var $127=$2; //@line 753 "../src/h264bsd_intra_prediction.c"
 var $128=$nMb; //@line 753 "../src/h264bsd_intra_prediction.c"
 var $129=_h264bsdIsNeighbourAvailable($127,$128); //@line 753 "../src/h264bsd_intra_prediction.c"
 $availableC=$129; //@line 753 "../src/h264bsd_intra_prediction.c"
 var $130=$availableC; //@line 754 "../src/h264bsd_intra_prediction.c"
 var $131=($130|0)!=0; //@line 754 "../src/h264bsd_intra_prediction.c"
 if($131){label=24;break;}else{label=27;break;} //@line 754 "../src/h264bsd_intra_prediction.c"
 case 24: 
 var $133=$7; //@line 754 "../src/h264bsd_intra_prediction.c"
 var $134=($133|0)!=0; //@line 754 "../src/h264bsd_intra_prediction.c"
 if($134){label=25;break;}else{label=27;break;} //@line 754 "../src/h264bsd_intra_prediction.c"
 case 25: 
 var $136=$nMb; //@line 755 "../src/h264bsd_intra_prediction.c"
 var $137=(($136)|0); //@line 755 "../src/h264bsd_intra_prediction.c"
 var $138=HEAP32[(($137)>>2)]; //@line 755 "../src/h264bsd_intra_prediction.c"
 var $139=_h264bsdMbPartPredMode($138); //@line 755 "../src/h264bsd_intra_prediction.c"
 var $140=($139|0)==2; //@line 755 "../src/h264bsd_intra_prediction.c"
 if($140){label=26;break;}else{label=27;break;} //@line 755 "../src/h264bsd_intra_prediction.c"
 case 26: 
 $availableC=0; //@line 757 "../src/h264bsd_intra_prediction.c"
 label=27;break; //@line 758 "../src/h264bsd_intra_prediction.c"
 case 27: 
 var $143=$block; //@line 760 "../src/h264bsd_intra_prediction.c"
 var $144=_h264bsdNeighbour4x4BlockD($143); //@line 760 "../src/h264bsd_intra_prediction.c"
 var $145=$neighbour; //@line 760 "../src/h264bsd_intra_prediction.c"
 var $146=$144; //@line 760 "../src/h264bsd_intra_prediction.c"
 assert(8 % 1 === 0);HEAP32[(($145)>>2)]=HEAP32[(($146)>>2)];HEAP32[((($145)+(4))>>2)]=HEAP32[((($146)+(4))>>2)]; //@line 760 "../src/h264bsd_intra_prediction.c"
 var $147=$2; //@line 761 "../src/h264bsd_intra_prediction.c"
 var $148=(($neighbour)|0); //@line 761 "../src/h264bsd_intra_prediction.c"
 var $149=HEAP32[(($148)>>2)]; //@line 761 "../src/h264bsd_intra_prediction.c"
 var $150=_h264bsdGetNeighbourMb($147,$149); //@line 761 "../src/h264bsd_intra_prediction.c"
 $nMb=$150; //@line 761 "../src/h264bsd_intra_prediction.c"
 var $151=$2; //@line 762 "../src/h264bsd_intra_prediction.c"
 var $152=$nMb; //@line 762 "../src/h264bsd_intra_prediction.c"
 var $153=_h264bsdIsNeighbourAvailable($151,$152); //@line 762 "../src/h264bsd_intra_prediction.c"
 $availableD=$153; //@line 762 "../src/h264bsd_intra_prediction.c"
 var $154=$availableD; //@line 763 "../src/h264bsd_intra_prediction.c"
 var $155=($154|0)!=0; //@line 763 "../src/h264bsd_intra_prediction.c"
 if($155){label=28;break;}else{label=31;break;} //@line 763 "../src/h264bsd_intra_prediction.c"
 case 28: 
 var $157=$7; //@line 763 "../src/h264bsd_intra_prediction.c"
 var $158=($157|0)!=0; //@line 763 "../src/h264bsd_intra_prediction.c"
 if($158){label=29;break;}else{label=31;break;} //@line 763 "../src/h264bsd_intra_prediction.c"
 case 29: 
 var $160=$nMb; //@line 764 "../src/h264bsd_intra_prediction.c"
 var $161=(($160)|0); //@line 764 "../src/h264bsd_intra_prediction.c"
 var $162=HEAP32[(($161)>>2)]; //@line 764 "../src/h264bsd_intra_prediction.c"
 var $163=_h264bsdMbPartPredMode($162); //@line 764 "../src/h264bsd_intra_prediction.c"
 var $164=($163|0)==2; //@line 764 "../src/h264bsd_intra_prediction.c"
 if($164){label=30;break;}else{label=31;break;} //@line 764 "../src/h264bsd_intra_prediction.c"
 case 30: 
 $availableD=0; //@line 766 "../src/h264bsd_intra_prediction.c"
 label=31;break; //@line 767 "../src/h264bsd_intra_prediction.c"
 case 31: 
 var $167=(($a)|0); //@line 769 "../src/h264bsd_intra_prediction.c"
 var $168=(($l)|0); //@line 769 "../src/h264bsd_intra_prediction.c"
 var $169=$3; //@line 769 "../src/h264bsd_intra_prediction.c"
 var $170=$5; //@line 769 "../src/h264bsd_intra_prediction.c"
 var $171=$6; //@line 769 "../src/h264bsd_intra_prediction.c"
 var $172=$block; //@line 769 "../src/h264bsd_intra_prediction.c"
 _Get4x4NeighbourPels($167,$168,$169,$170,$171,$172); //@line 769 "../src/h264bsd_intra_prediction.c"
 var $173=$mode; //@line 771 "../src/h264bsd_intra_prediction.c"
 switch(($173|0)){case 0:{ label=32;break;}case 1:{ label=35;break;}case 2:{ label=38;break;}case 3:{ label=39;break;}case 4:{ label=44;break;}case 5:{ label=49;break;}case 6:{ label=54;break;}case 7:{ label=59;break;}default:{label=64;break;}}break;
 case 32: 
 var $175=$availableB; //@line 774 "../src/h264bsd_intra_prediction.c"
 var $176=($175|0)!=0; //@line 774 "../src/h264bsd_intra_prediction.c"
 if($176){label=34;break;}else{label=33;break;} //@line 774 "../src/h264bsd_intra_prediction.c"
 case 33: 
 $1=1; //@line 775 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 775 "../src/h264bsd_intra_prediction.c"
 case 34: 
 var $179=(($data4x4)|0); //@line 776 "../src/h264bsd_intra_prediction.c"
 var $180=$179; //@line 776 "../src/h264bsd_intra_prediction.c"
 var $181=(($a)|0); //@line 776 "../src/h264bsd_intra_prediction.c"
 var $182=(($181+1)|0); //@line 776 "../src/h264bsd_intra_prediction.c"
 _Intra4x4VerticalPrediction($180,$182); //@line 776 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 777 "../src/h264bsd_intra_prediction.c"
 case 35: 
 var $184=$availableA; //@line 779 "../src/h264bsd_intra_prediction.c"
 var $185=($184|0)!=0; //@line 779 "../src/h264bsd_intra_prediction.c"
 if($185){label=37;break;}else{label=36;break;} //@line 779 "../src/h264bsd_intra_prediction.c"
 case 36: 
 $1=1; //@line 780 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 780 "../src/h264bsd_intra_prediction.c"
 case 37: 
 var $188=(($data4x4)|0); //@line 781 "../src/h264bsd_intra_prediction.c"
 var $189=$188; //@line 781 "../src/h264bsd_intra_prediction.c"
 var $190=(($l)|0); //@line 781 "../src/h264bsd_intra_prediction.c"
 var $191=(($190+1)|0); //@line 781 "../src/h264bsd_intra_prediction.c"
 _Intra4x4HorizontalPrediction($189,$191); //@line 781 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 782 "../src/h264bsd_intra_prediction.c"
 case 38: 
 var $193=(($data4x4)|0); //@line 784 "../src/h264bsd_intra_prediction.c"
 var $194=$193; //@line 784 "../src/h264bsd_intra_prediction.c"
 var $195=(($a)|0); //@line 784 "../src/h264bsd_intra_prediction.c"
 var $196=(($195+1)|0); //@line 784 "../src/h264bsd_intra_prediction.c"
 var $197=(($l)|0); //@line 784 "../src/h264bsd_intra_prediction.c"
 var $198=(($197+1)|0); //@line 784 "../src/h264bsd_intra_prediction.c"
 var $199=$availableA; //@line 784 "../src/h264bsd_intra_prediction.c"
 var $200=$availableB; //@line 784 "../src/h264bsd_intra_prediction.c"
 _Intra4x4DcPrediction($194,$196,$198,$199,$200); //@line 784 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 786 "../src/h264bsd_intra_prediction.c"
 case 39: 
 var $202=$availableB; //@line 788 "../src/h264bsd_intra_prediction.c"
 var $203=($202|0)!=0; //@line 788 "../src/h264bsd_intra_prediction.c"
 if($203){label=41;break;}else{label=40;break;} //@line 788 "../src/h264bsd_intra_prediction.c"
 case 40: 
 $1=1; //@line 789 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 789 "../src/h264bsd_intra_prediction.c"
 case 41: 
 var $206=$availableC; //@line 790 "../src/h264bsd_intra_prediction.c"
 var $207=($206|0)!=0; //@line 790 "../src/h264bsd_intra_prediction.c"
 if($207){label=43;break;}else{label=42;break;} //@line 790 "../src/h264bsd_intra_prediction.c"
 case 42: 
 var $209=(($a+4)|0); //@line 792 "../src/h264bsd_intra_prediction.c"
 var $210=HEAP8[($209)]; //@line 792 "../src/h264bsd_intra_prediction.c"
 var $211=(($a+8)|0); //@line 792 "../src/h264bsd_intra_prediction.c"
 HEAP8[($211)]=$210; //@line 792 "../src/h264bsd_intra_prediction.c"
 var $212=(($a+7)|0); //@line 792 "../src/h264bsd_intra_prediction.c"
 HEAP8[($212)]=$210; //@line 792 "../src/h264bsd_intra_prediction.c"
 var $213=(($a+6)|0); //@line 792 "../src/h264bsd_intra_prediction.c"
 HEAP8[($213)]=$210; //@line 792 "../src/h264bsd_intra_prediction.c"
 var $214=(($a+5)|0); //@line 792 "../src/h264bsd_intra_prediction.c"
 HEAP8[($214)]=$210; //@line 792 "../src/h264bsd_intra_prediction.c"
 label=43;break; //@line 793 "../src/h264bsd_intra_prediction.c"
 case 43: 
 var $216=(($data4x4)|0); //@line 794 "../src/h264bsd_intra_prediction.c"
 var $217=$216; //@line 794 "../src/h264bsd_intra_prediction.c"
 var $218=(($a)|0); //@line 794 "../src/h264bsd_intra_prediction.c"
 var $219=(($218+1)|0); //@line 794 "../src/h264bsd_intra_prediction.c"
 _Intra4x4DiagonalDownLeftPrediction($217,$219); //@line 794 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 795 "../src/h264bsd_intra_prediction.c"
 case 44: 
 var $221=$availableA; //@line 797 "../src/h264bsd_intra_prediction.c"
 var $222=($221|0)!=0; //@line 797 "../src/h264bsd_intra_prediction.c"
 if($222){label=45;break;}else{label=47;break;} //@line 797 "../src/h264bsd_intra_prediction.c"
 case 45: 
 var $224=$availableB; //@line 797 "../src/h264bsd_intra_prediction.c"
 var $225=($224|0)!=0; //@line 797 "../src/h264bsd_intra_prediction.c"
 if($225){label=46;break;}else{label=47;break;} //@line 797 "../src/h264bsd_intra_prediction.c"
 case 46: 
 var $227=$availableD; //@line 797 "../src/h264bsd_intra_prediction.c"
 var $228=($227|0)!=0; //@line 797 "../src/h264bsd_intra_prediction.c"
 if($228){label=48;break;}else{label=47;break;} //@line 797 "../src/h264bsd_intra_prediction.c"
 case 47: 
 $1=1; //@line 798 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 798 "../src/h264bsd_intra_prediction.c"
 case 48: 
 var $231=(($data4x4)|0); //@line 799 "../src/h264bsd_intra_prediction.c"
 var $232=$231; //@line 799 "../src/h264bsd_intra_prediction.c"
 var $233=(($a)|0); //@line 799 "../src/h264bsd_intra_prediction.c"
 var $234=(($233+1)|0); //@line 799 "../src/h264bsd_intra_prediction.c"
 var $235=(($l)|0); //@line 799 "../src/h264bsd_intra_prediction.c"
 var $236=(($235+1)|0); //@line 799 "../src/h264bsd_intra_prediction.c"
 _Intra4x4DiagonalDownRightPrediction($232,$234,$236); //@line 799 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 800 "../src/h264bsd_intra_prediction.c"
 case 49: 
 var $238=$availableA; //@line 802 "../src/h264bsd_intra_prediction.c"
 var $239=($238|0)!=0; //@line 802 "../src/h264bsd_intra_prediction.c"
 if($239){label=50;break;}else{label=52;break;} //@line 802 "../src/h264bsd_intra_prediction.c"
 case 50: 
 var $241=$availableB; //@line 802 "../src/h264bsd_intra_prediction.c"
 var $242=($241|0)!=0; //@line 802 "../src/h264bsd_intra_prediction.c"
 if($242){label=51;break;}else{label=52;break;} //@line 802 "../src/h264bsd_intra_prediction.c"
 case 51: 
 var $244=$availableD; //@line 802 "../src/h264bsd_intra_prediction.c"
 var $245=($244|0)!=0; //@line 802 "../src/h264bsd_intra_prediction.c"
 if($245){label=53;break;}else{label=52;break;} //@line 802 "../src/h264bsd_intra_prediction.c"
 case 52: 
 $1=1; //@line 803 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 803 "../src/h264bsd_intra_prediction.c"
 case 53: 
 var $248=(($data4x4)|0); //@line 804 "../src/h264bsd_intra_prediction.c"
 var $249=$248; //@line 804 "../src/h264bsd_intra_prediction.c"
 var $250=(($a)|0); //@line 804 "../src/h264bsd_intra_prediction.c"
 var $251=(($250+1)|0); //@line 804 "../src/h264bsd_intra_prediction.c"
 var $252=(($l)|0); //@line 804 "../src/h264bsd_intra_prediction.c"
 var $253=(($252+1)|0); //@line 804 "../src/h264bsd_intra_prediction.c"
 _Intra4x4VerticalRightPrediction($249,$251,$253); //@line 804 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 805 "../src/h264bsd_intra_prediction.c"
 case 54: 
 var $255=$availableA; //@line 807 "../src/h264bsd_intra_prediction.c"
 var $256=($255|0)!=0; //@line 807 "../src/h264bsd_intra_prediction.c"
 if($256){label=55;break;}else{label=57;break;} //@line 807 "../src/h264bsd_intra_prediction.c"
 case 55: 
 var $258=$availableB; //@line 807 "../src/h264bsd_intra_prediction.c"
 var $259=($258|0)!=0; //@line 807 "../src/h264bsd_intra_prediction.c"
 if($259){label=56;break;}else{label=57;break;} //@line 807 "../src/h264bsd_intra_prediction.c"
 case 56: 
 var $261=$availableD; //@line 807 "../src/h264bsd_intra_prediction.c"
 var $262=($261|0)!=0; //@line 807 "../src/h264bsd_intra_prediction.c"
 if($262){label=58;break;}else{label=57;break;} //@line 807 "../src/h264bsd_intra_prediction.c"
 case 57: 
 $1=1; //@line 808 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 808 "../src/h264bsd_intra_prediction.c"
 case 58: 
 var $265=(($data4x4)|0); //@line 809 "../src/h264bsd_intra_prediction.c"
 var $266=$265; //@line 809 "../src/h264bsd_intra_prediction.c"
 var $267=(($a)|0); //@line 809 "../src/h264bsd_intra_prediction.c"
 var $268=(($267+1)|0); //@line 809 "../src/h264bsd_intra_prediction.c"
 var $269=(($l)|0); //@line 809 "../src/h264bsd_intra_prediction.c"
 var $270=(($269+1)|0); //@line 809 "../src/h264bsd_intra_prediction.c"
 _Intra4x4HorizontalDownPrediction($266,$268,$270); //@line 809 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 810 "../src/h264bsd_intra_prediction.c"
 case 59: 
 var $272=$availableB; //@line 812 "../src/h264bsd_intra_prediction.c"
 var $273=($272|0)!=0; //@line 812 "../src/h264bsd_intra_prediction.c"
 if($273){label=61;break;}else{label=60;break;} //@line 812 "../src/h264bsd_intra_prediction.c"
 case 60: 
 $1=1; //@line 813 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 813 "../src/h264bsd_intra_prediction.c"
 case 61: 
 var $276=$availableC; //@line 814 "../src/h264bsd_intra_prediction.c"
 var $277=($276|0)!=0; //@line 814 "../src/h264bsd_intra_prediction.c"
 if($277){label=63;break;}else{label=62;break;} //@line 814 "../src/h264bsd_intra_prediction.c"
 case 62: 
 var $279=(($a+4)|0); //@line 816 "../src/h264bsd_intra_prediction.c"
 var $280=HEAP8[($279)]; //@line 816 "../src/h264bsd_intra_prediction.c"
 var $281=(($a+8)|0); //@line 816 "../src/h264bsd_intra_prediction.c"
 HEAP8[($281)]=$280; //@line 816 "../src/h264bsd_intra_prediction.c"
 var $282=(($a+7)|0); //@line 816 "../src/h264bsd_intra_prediction.c"
 HEAP8[($282)]=$280; //@line 816 "../src/h264bsd_intra_prediction.c"
 var $283=(($a+6)|0); //@line 816 "../src/h264bsd_intra_prediction.c"
 HEAP8[($283)]=$280; //@line 816 "../src/h264bsd_intra_prediction.c"
 var $284=(($a+5)|0); //@line 816 "../src/h264bsd_intra_prediction.c"
 HEAP8[($284)]=$280; //@line 816 "../src/h264bsd_intra_prediction.c"
 label=63;break; //@line 817 "../src/h264bsd_intra_prediction.c"
 case 63: 
 var $286=(($data4x4)|0); //@line 818 "../src/h264bsd_intra_prediction.c"
 var $287=$286; //@line 818 "../src/h264bsd_intra_prediction.c"
 var $288=(($a)|0); //@line 818 "../src/h264bsd_intra_prediction.c"
 var $289=(($288+1)|0); //@line 818 "../src/h264bsd_intra_prediction.c"
 _Intra4x4VerticalLeftPrediction($287,$289); //@line 818 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 819 "../src/h264bsd_intra_prediction.c"
 case 64: 
 var $291=$availableA; //@line 821 "../src/h264bsd_intra_prediction.c"
 var $292=($291|0)!=0; //@line 821 "../src/h264bsd_intra_prediction.c"
 if($292){label=66;break;}else{label=65;break;} //@line 821 "../src/h264bsd_intra_prediction.c"
 case 65: 
 $1=1; //@line 822 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 822 "../src/h264bsd_intra_prediction.c"
 case 66: 
 var $295=(($data4x4)|0); //@line 823 "../src/h264bsd_intra_prediction.c"
 var $296=$295; //@line 823 "../src/h264bsd_intra_prediction.c"
 var $297=(($l)|0); //@line 823 "../src/h264bsd_intra_prediction.c"
 var $298=(($297+1)|0); //@line 823 "../src/h264bsd_intra_prediction.c"
 _Intra4x4HorizontalUpPrediction($296,$298); //@line 823 "../src/h264bsd_intra_prediction.c"
 label=67;break; //@line 824 "../src/h264bsd_intra_prediction.c"
 case 67: 
 var $300=$3; //@line 827 "../src/h264bsd_intra_prediction.c"
 var $301=(($data4x4)|0); //@line 827 "../src/h264bsd_intra_prediction.c"
 var $302=$301; //@line 827 "../src/h264bsd_intra_prediction.c"
 var $303=$block; //@line 827 "../src/h264bsd_intra_prediction.c"
 _Write4x4To16x16($300,$302,$303); //@line 827 "../src/h264bsd_intra_prediction.c"
 var $304=$3; //@line 828 "../src/h264bsd_intra_prediction.c"
 var $305=$block; //@line 828 "../src/h264bsd_intra_prediction.c"
 var $306=$4; //@line 828 "../src/h264bsd_intra_prediction.c"
 var $307=(($306+272)|0); //@line 828 "../src/h264bsd_intra_prediction.c"
 var $308=(($307+56)|0); //@line 828 "../src/h264bsd_intra_prediction.c"
 var $309=(($308+($305<<6))|0); //@line 828 "../src/h264bsd_intra_prediction.c"
 var $310=(($309)|0); //@line 828 "../src/h264bsd_intra_prediction.c"
 var $311=$block; //@line 828 "../src/h264bsd_intra_prediction.c"
 _h264bsdAddResidual($304,$310,$311); //@line 828 "../src/h264bsd_intra_prediction.c"
 label=68;break; //@line 829 "../src/h264bsd_intra_prediction.c"
 case 68: 
 var $313=$block; //@line 723 "../src/h264bsd_intra_prediction.c"
 var $314=((($313)+(1))|0); //@line 723 "../src/h264bsd_intra_prediction.c"
 $block=$314; //@line 723 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 723 "../src/h264bsd_intra_prediction.c"
 case 69: 
 $1=0; //@line 831 "../src/h264bsd_intra_prediction.c"
 label=70;break; //@line 831 "../src/h264bsd_intra_prediction.c"
 case 70: 
 var $317=$1; //@line 833 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return $317; //@line 833 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIntraChromaPrediction($pMb,$data,$residual,$above,$left,$predMode,$constrainedIntraPred){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $i;
 var $comp;
 var $block;
 var $availableA;
 var $availableB;
 var $availableD;
 $2=$pMb;
 $3=$data;
 $4=$residual;
 $5=$above;
 $6=$left;
 $7=$predMode;
 $8=$constrainedIntraPred;
 var $9=$3; //@line 856 "../src/h264bsd_intra_prediction.c"
 var $10=($9|0)!=0; //@line 856 "../src/h264bsd_intra_prediction.c"
 if($10){var $14=0;label=3;break;}else{label=2;break;} //@line 856 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,856,13304); //@line 856 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 856 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 856 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $14;
 var $15=($14&1); //@line 856 "../src/h264bsd_intra_prediction.c"
 var $16=$4; //@line 857 "../src/h264bsd_intra_prediction.c"
 var $17=($16|0)!=0; //@line 857 "../src/h264bsd_intra_prediction.c"
 if($17){var $21=1;label=5;break;}else{label=4;break;} //@line 857 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(5096,12024,857,13304); //@line 857 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 857 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 857 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $21;
 var $22=($21&1); //@line 857 "../src/h264bsd_intra_prediction.c"
 var $23=$5; //@line 858 "../src/h264bsd_intra_prediction.c"
 var $24=($23|0)!=0; //@line 858 "../src/h264bsd_intra_prediction.c"
 if($24){var $28=1;label=7;break;}else{label=6;break;} //@line 858 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(6432,12024,858,13304); //@line 858 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 858 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 858 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $28;
 var $29=($28&1); //@line 858 "../src/h264bsd_intra_prediction.c"
 var $30=$6; //@line 859 "../src/h264bsd_intra_prediction.c"
 var $31=($30|0)!=0; //@line 859 "../src/h264bsd_intra_prediction.c"
 if($31){var $35=1;label=9;break;}else{label=8;break;} //@line 859 "../src/h264bsd_intra_prediction.c"
 case 8: 
 ___assert_fail(5904,12024,859,13304); //@line 859 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 859 "../src/h264bsd_intra_prediction.c"
 label=9;break; //@line 859 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $35;
 var $36=($35&1); //@line 859 "../src/h264bsd_intra_prediction.c"
 var $37=$7; //@line 860 "../src/h264bsd_intra_prediction.c"
 var $38=($37>>>0)<4; //@line 860 "../src/h264bsd_intra_prediction.c"
 if($38){var $42=1;label=11;break;}else{label=10;break;} //@line 860 "../src/h264bsd_intra_prediction.c"
 case 10: 
 ___assert_fail(11648,12024,860,13304); //@line 860 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 860 "../src/h264bsd_intra_prediction.c"
 label=11;break; //@line 860 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $42;
 var $43=($42&1); //@line 860 "../src/h264bsd_intra_prediction.c"
 var $44=$2; //@line 862 "../src/h264bsd_intra_prediction.c"
 var $45=$2; //@line 862 "../src/h264bsd_intra_prediction.c"
 var $46=(($45+200)|0); //@line 862 "../src/h264bsd_intra_prediction.c"
 var $47=HEAP32[(($46)>>2)]; //@line 862 "../src/h264bsd_intra_prediction.c"
 var $48=_h264bsdIsNeighbourAvailable($44,$47); //@line 862 "../src/h264bsd_intra_prediction.c"
 $availableA=$48; //@line 862 "../src/h264bsd_intra_prediction.c"
 var $49=$availableA; //@line 863 "../src/h264bsd_intra_prediction.c"
 var $50=($49|0)!=0; //@line 863 "../src/h264bsd_intra_prediction.c"
 if($50){label=12;break;}else{label=15;break;} //@line 863 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $52=$8; //@line 863 "../src/h264bsd_intra_prediction.c"
 var $53=($52|0)!=0; //@line 863 "../src/h264bsd_intra_prediction.c"
 if($53){label=13;break;}else{label=15;break;} //@line 863 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $55=$2; //@line 864 "../src/h264bsd_intra_prediction.c"
 var $56=(($55+200)|0); //@line 864 "../src/h264bsd_intra_prediction.c"
 var $57=HEAP32[(($56)>>2)]; //@line 864 "../src/h264bsd_intra_prediction.c"
 var $58=(($57)|0); //@line 864 "../src/h264bsd_intra_prediction.c"
 var $59=HEAP32[(($58)>>2)]; //@line 864 "../src/h264bsd_intra_prediction.c"
 var $60=_h264bsdMbPartPredMode($59); //@line 864 "../src/h264bsd_intra_prediction.c"
 var $61=($60|0)==2; //@line 864 "../src/h264bsd_intra_prediction.c"
 if($61){label=14;break;}else{label=15;break;} //@line 864 "../src/h264bsd_intra_prediction.c"
 case 14: 
 $availableA=0; //@line 865 "../src/h264bsd_intra_prediction.c"
 label=15;break; //@line 865 "../src/h264bsd_intra_prediction.c"
 case 15: 
 var $64=$2; //@line 866 "../src/h264bsd_intra_prediction.c"
 var $65=$2; //@line 866 "../src/h264bsd_intra_prediction.c"
 var $66=(($65+204)|0); //@line 866 "../src/h264bsd_intra_prediction.c"
 var $67=HEAP32[(($66)>>2)]; //@line 866 "../src/h264bsd_intra_prediction.c"
 var $68=_h264bsdIsNeighbourAvailable($64,$67); //@line 866 "../src/h264bsd_intra_prediction.c"
 $availableB=$68; //@line 866 "../src/h264bsd_intra_prediction.c"
 var $69=$availableB; //@line 867 "../src/h264bsd_intra_prediction.c"
 var $70=($69|0)!=0; //@line 867 "../src/h264bsd_intra_prediction.c"
 if($70){label=16;break;}else{label=19;break;} //@line 867 "../src/h264bsd_intra_prediction.c"
 case 16: 
 var $72=$8; //@line 867 "../src/h264bsd_intra_prediction.c"
 var $73=($72|0)!=0; //@line 867 "../src/h264bsd_intra_prediction.c"
 if($73){label=17;break;}else{label=19;break;} //@line 867 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $75=$2; //@line 868 "../src/h264bsd_intra_prediction.c"
 var $76=(($75+204)|0); //@line 868 "../src/h264bsd_intra_prediction.c"
 var $77=HEAP32[(($76)>>2)]; //@line 868 "../src/h264bsd_intra_prediction.c"
 var $78=(($77)|0); //@line 868 "../src/h264bsd_intra_prediction.c"
 var $79=HEAP32[(($78)>>2)]; //@line 868 "../src/h264bsd_intra_prediction.c"
 var $80=_h264bsdMbPartPredMode($79); //@line 868 "../src/h264bsd_intra_prediction.c"
 var $81=($80|0)==2; //@line 868 "../src/h264bsd_intra_prediction.c"
 if($81){label=18;break;}else{label=19;break;} //@line 868 "../src/h264bsd_intra_prediction.c"
 case 18: 
 $availableB=0; //@line 869 "../src/h264bsd_intra_prediction.c"
 label=19;break; //@line 869 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $84=$2; //@line 870 "../src/h264bsd_intra_prediction.c"
 var $85=$2; //@line 870 "../src/h264bsd_intra_prediction.c"
 var $86=(($85+212)|0); //@line 870 "../src/h264bsd_intra_prediction.c"
 var $87=HEAP32[(($86)>>2)]; //@line 870 "../src/h264bsd_intra_prediction.c"
 var $88=_h264bsdIsNeighbourAvailable($84,$87); //@line 870 "../src/h264bsd_intra_prediction.c"
 $availableD=$88; //@line 870 "../src/h264bsd_intra_prediction.c"
 var $89=$availableD; //@line 871 "../src/h264bsd_intra_prediction.c"
 var $90=($89|0)!=0; //@line 871 "../src/h264bsd_intra_prediction.c"
 if($90){label=20;break;}else{label=23;break;} //@line 871 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $92=$8; //@line 871 "../src/h264bsd_intra_prediction.c"
 var $93=($92|0)!=0; //@line 871 "../src/h264bsd_intra_prediction.c"
 if($93){label=21;break;}else{label=23;break;} //@line 871 "../src/h264bsd_intra_prediction.c"
 case 21: 
 var $95=$2; //@line 872 "../src/h264bsd_intra_prediction.c"
 var $96=(($95+212)|0); //@line 872 "../src/h264bsd_intra_prediction.c"
 var $97=HEAP32[(($96)>>2)]; //@line 872 "../src/h264bsd_intra_prediction.c"
 var $98=(($97)|0); //@line 872 "../src/h264bsd_intra_prediction.c"
 var $99=HEAP32[(($98)>>2)]; //@line 872 "../src/h264bsd_intra_prediction.c"
 var $100=_h264bsdMbPartPredMode($99); //@line 872 "../src/h264bsd_intra_prediction.c"
 var $101=($100|0)==2; //@line 872 "../src/h264bsd_intra_prediction.c"
 if($101){label=22;break;}else{label=23;break;} //@line 872 "../src/h264bsd_intra_prediction.c"
 case 22: 
 $availableD=0; //@line 873 "../src/h264bsd_intra_prediction.c"
 label=23;break; //@line 873 "../src/h264bsd_intra_prediction.c"
 case 23: 
 $comp=0; //@line 875 "../src/h264bsd_intra_prediction.c"
 $block=16; //@line 875 "../src/h264bsd_intra_prediction.c"
 label=24;break; //@line 875 "../src/h264bsd_intra_prediction.c"
 case 24: 
 var $105=$comp; //@line 875 "../src/h264bsd_intra_prediction.c"
 var $106=($105>>>0)<2; //@line 875 "../src/h264bsd_intra_prediction.c"
 if($106){label=25;break;}else{label=44;break;} //@line 875 "../src/h264bsd_intra_prediction.c"
 case 25: 
 var $108=$7; //@line 877 "../src/h264bsd_intra_prediction.c"
 if(($108|0)==0){ label=26;break;}else if(($108|0)==1){ label=27;break;}else if(($108|0)==2){ label=30;break;}else{label=33;break;}
 case 26: 
 var $110=$3; //@line 880 "../src/h264bsd_intra_prediction.c"
 var $111=$5; //@line 880 "../src/h264bsd_intra_prediction.c"
 var $112=(($111+1)|0); //@line 880 "../src/h264bsd_intra_prediction.c"
 var $113=$6; //@line 880 "../src/h264bsd_intra_prediction.c"
 var $114=$availableA; //@line 880 "../src/h264bsd_intra_prediction.c"
 var $115=$availableB; //@line 880 "../src/h264bsd_intra_prediction.c"
 _IntraChromaDcPrediction($110,$112,$113,$114,$115); //@line 880 "../src/h264bsd_intra_prediction.c"
 label=38;break; //@line 882 "../src/h264bsd_intra_prediction.c"
 case 27: 
 var $117=$availableA; //@line 885 "../src/h264bsd_intra_prediction.c"
 var $118=($117|0)!=0; //@line 885 "../src/h264bsd_intra_prediction.c"
 if($118){label=29;break;}else{label=28;break;} //@line 885 "../src/h264bsd_intra_prediction.c"
 case 28: 
 $1=1; //@line 886 "../src/h264bsd_intra_prediction.c"
 label=45;break; //@line 886 "../src/h264bsd_intra_prediction.c"
 case 29: 
 var $121=$3; //@line 887 "../src/h264bsd_intra_prediction.c"
 var $122=$6; //@line 887 "../src/h264bsd_intra_prediction.c"
 _IntraChromaHorizontalPrediction($121,$122); //@line 887 "../src/h264bsd_intra_prediction.c"
 label=38;break; //@line 888 "../src/h264bsd_intra_prediction.c"
 case 30: 
 var $124=$availableB; //@line 891 "../src/h264bsd_intra_prediction.c"
 var $125=($124|0)!=0; //@line 891 "../src/h264bsd_intra_prediction.c"
 if($125){label=32;break;}else{label=31;break;} //@line 891 "../src/h264bsd_intra_prediction.c"
 case 31: 
 $1=1; //@line 892 "../src/h264bsd_intra_prediction.c"
 label=45;break; //@line 892 "../src/h264bsd_intra_prediction.c"
 case 32: 
 var $128=$3; //@line 893 "../src/h264bsd_intra_prediction.c"
 var $129=$5; //@line 893 "../src/h264bsd_intra_prediction.c"
 var $130=(($129+1)|0); //@line 893 "../src/h264bsd_intra_prediction.c"
 _IntraChromaVerticalPrediction($128,$130); //@line 893 "../src/h264bsd_intra_prediction.c"
 label=38;break; //@line 895 "../src/h264bsd_intra_prediction.c"
 case 33: 
 var $132=$availableA; //@line 898 "../src/h264bsd_intra_prediction.c"
 var $133=($132|0)!=0; //@line 898 "../src/h264bsd_intra_prediction.c"
 if($133){label=34;break;}else{label=36;break;} //@line 898 "../src/h264bsd_intra_prediction.c"
 case 34: 
 var $135=$availableB; //@line 898 "../src/h264bsd_intra_prediction.c"
 var $136=($135|0)!=0; //@line 898 "../src/h264bsd_intra_prediction.c"
 if($136){label=35;break;}else{label=36;break;} //@line 898 "../src/h264bsd_intra_prediction.c"
 case 35: 
 var $138=$availableD; //@line 898 "../src/h264bsd_intra_prediction.c"
 var $139=($138|0)!=0; //@line 898 "../src/h264bsd_intra_prediction.c"
 if($139){label=37;break;}else{label=36;break;} //@line 898 "../src/h264bsd_intra_prediction.c"
 case 36: 
 $1=1; //@line 899 "../src/h264bsd_intra_prediction.c"
 label=45;break; //@line 899 "../src/h264bsd_intra_prediction.c"
 case 37: 
 var $142=$3; //@line 900 "../src/h264bsd_intra_prediction.c"
 var $143=$5; //@line 900 "../src/h264bsd_intra_prediction.c"
 var $144=(($143+1)|0); //@line 900 "../src/h264bsd_intra_prediction.c"
 var $145=$6; //@line 900 "../src/h264bsd_intra_prediction.c"
 _IntraChromaPlanePrediction($142,$144,$145); //@line 900 "../src/h264bsd_intra_prediction.c"
 label=38;break; //@line 901 "../src/h264bsd_intra_prediction.c"
 case 38: 
 $i=0; //@line 903 "../src/h264bsd_intra_prediction.c"
 label=39;break; //@line 903 "../src/h264bsd_intra_prediction.c"
 case 39: 
 var $148=$i; //@line 903 "../src/h264bsd_intra_prediction.c"
 var $149=($148>>>0)<4; //@line 903 "../src/h264bsd_intra_prediction.c"
 if($149){label=40;break;}else{label=42;break;} //@line 903 "../src/h264bsd_intra_prediction.c"
 case 40: 
 var $151=$3; //@line 904 "../src/h264bsd_intra_prediction.c"
 var $152=$i; //@line 904 "../src/h264bsd_intra_prediction.c"
 var $153=$4; //@line 904 "../src/h264bsd_intra_prediction.c"
 var $154=(($153+($152<<6))|0); //@line 904 "../src/h264bsd_intra_prediction.c"
 var $155=(($154)|0); //@line 904 "../src/h264bsd_intra_prediction.c"
 var $156=$block; //@line 904 "../src/h264bsd_intra_prediction.c"
 _h264bsdAddResidual($151,$155,$156); //@line 904 "../src/h264bsd_intra_prediction.c"
 label=41;break; //@line 904 "../src/h264bsd_intra_prediction.c"
 case 41: 
 var $158=$i; //@line 903 "../src/h264bsd_intra_prediction.c"
 var $159=((($158)+(1))|0); //@line 903 "../src/h264bsd_intra_prediction.c"
 $i=$159; //@line 903 "../src/h264bsd_intra_prediction.c"
 var $160=$block; //@line 903 "../src/h264bsd_intra_prediction.c"
 var $161=((($160)+(1))|0); //@line 903 "../src/h264bsd_intra_prediction.c"
 $block=$161; //@line 903 "../src/h264bsd_intra_prediction.c"
 label=39;break; //@line 903 "../src/h264bsd_intra_prediction.c"
 case 42: 
 var $163=$3; //@line 907 "../src/h264bsd_intra_prediction.c"
 var $164=(($163+64)|0); //@line 907 "../src/h264bsd_intra_prediction.c"
 $3=$164; //@line 907 "../src/h264bsd_intra_prediction.c"
 var $165=$5; //@line 908 "../src/h264bsd_intra_prediction.c"
 var $166=(($165+9)|0); //@line 908 "../src/h264bsd_intra_prediction.c"
 $5=$166; //@line 908 "../src/h264bsd_intra_prediction.c"
 var $167=$6; //@line 909 "../src/h264bsd_intra_prediction.c"
 var $168=(($167+8)|0); //@line 909 "../src/h264bsd_intra_prediction.c"
 $6=$168; //@line 909 "../src/h264bsd_intra_prediction.c"
 var $169=$4; //@line 910 "../src/h264bsd_intra_prediction.c"
 var $170=(($169+256)|0); //@line 910 "../src/h264bsd_intra_prediction.c"
 $4=$170; //@line 910 "../src/h264bsd_intra_prediction.c"
 label=43;break; //@line 911 "../src/h264bsd_intra_prediction.c"
 case 43: 
 var $172=$comp; //@line 875 "../src/h264bsd_intra_prediction.c"
 var $173=((($172)+(1))|0); //@line 875 "../src/h264bsd_intra_prediction.c"
 $comp=$173; //@line 875 "../src/h264bsd_intra_prediction.c"
 label=24;break; //@line 875 "../src/h264bsd_intra_prediction.c"
 case 44: 
 $1=0; //@line 913 "../src/h264bsd_intra_prediction.c"
 label=45;break; //@line 913 "../src/h264bsd_intra_prediction.c"
 case 45: 
 var $176=$1; //@line 915 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return $176; //@line 915 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra16x16VerticalPrediction($data,$above){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 var $j;
 $1=$data;
 $2=$above;
 var $3=$1; //@line 1009 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1009 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1009 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1009,15664); //@line 1009 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1009 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1009 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1009 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1010 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1010 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1010 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1010,15664); //@line 1010 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1010 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1010 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1010 "../src/h264bsd_intra_prediction.c"
 $i=0; //@line 1012 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1012 "../src/h264bsd_intra_prediction.c"
 case 6: 
 var $18=$i; //@line 1012 "../src/h264bsd_intra_prediction.c"
 var $19=($18>>>0)<16; //@line 1012 "../src/h264bsd_intra_prediction.c"
 if($19){label=7;break;}else{label=13;break;} //@line 1012 "../src/h264bsd_intra_prediction.c"
 case 7: 
 $j=0; //@line 1014 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1014 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $22=$j; //@line 1014 "../src/h264bsd_intra_prediction.c"
 var $23=($22>>>0)<16; //@line 1014 "../src/h264bsd_intra_prediction.c"
 if($23){label=9;break;}else{label=11;break;} //@line 1014 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $25=$j; //@line 1016 "../src/h264bsd_intra_prediction.c"
 var $26=$2; //@line 1016 "../src/h264bsd_intra_prediction.c"
 var $27=(($26+$25)|0); //@line 1016 "../src/h264bsd_intra_prediction.c"
 var $28=HEAP8[($27)]; //@line 1016 "../src/h264bsd_intra_prediction.c"
 var $29=$1; //@line 1016 "../src/h264bsd_intra_prediction.c"
 var $30=(($29+1)|0); //@line 1016 "../src/h264bsd_intra_prediction.c"
 $1=$30; //@line 1016 "../src/h264bsd_intra_prediction.c"
 HEAP8[($29)]=$28; //@line 1016 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 1017 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $32=$j; //@line 1014 "../src/h264bsd_intra_prediction.c"
 var $33=((($32)+(1))|0); //@line 1014 "../src/h264bsd_intra_prediction.c"
 $j=$33; //@line 1014 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1014 "../src/h264bsd_intra_prediction.c"
 case 11: 
 label=12;break; //@line 1018 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $36=$i; //@line 1012 "../src/h264bsd_intra_prediction.c"
 var $37=((($36)+(1))|0); //@line 1012 "../src/h264bsd_intra_prediction.c"
 $i=$37; //@line 1012 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1012 "../src/h264bsd_intra_prediction.c"
 case 13: 
 STACKTOP=sp;return; //@line 1020 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra16x16HorizontalPrediction($data,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 var $j;
 $1=$data;
 $2=$left;
 var $3=$1; //@line 1040 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1040 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1040 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1040,15728); //@line 1040 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1040 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1040 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1040 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1041 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1041 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1041 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(5904,12024,1041,15728); //@line 1041 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1041 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1041 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1041 "../src/h264bsd_intra_prediction.c"
 $i=0; //@line 1043 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1043 "../src/h264bsd_intra_prediction.c"
 case 6: 
 var $18=$i; //@line 1043 "../src/h264bsd_intra_prediction.c"
 var $19=($18>>>0)<16; //@line 1043 "../src/h264bsd_intra_prediction.c"
 if($19){label=7;break;}else{label=13;break;} //@line 1043 "../src/h264bsd_intra_prediction.c"
 case 7: 
 $j=0; //@line 1045 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1045 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $22=$j; //@line 1045 "../src/h264bsd_intra_prediction.c"
 var $23=($22>>>0)<16; //@line 1045 "../src/h264bsd_intra_prediction.c"
 if($23){label=9;break;}else{label=11;break;} //@line 1045 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $25=$i; //@line 1047 "../src/h264bsd_intra_prediction.c"
 var $26=$2; //@line 1047 "../src/h264bsd_intra_prediction.c"
 var $27=(($26+$25)|0); //@line 1047 "../src/h264bsd_intra_prediction.c"
 var $28=HEAP8[($27)]; //@line 1047 "../src/h264bsd_intra_prediction.c"
 var $29=$1; //@line 1047 "../src/h264bsd_intra_prediction.c"
 var $30=(($29+1)|0); //@line 1047 "../src/h264bsd_intra_prediction.c"
 $1=$30; //@line 1047 "../src/h264bsd_intra_prediction.c"
 HEAP8[($29)]=$28; //@line 1047 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 1048 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $32=$j; //@line 1045 "../src/h264bsd_intra_prediction.c"
 var $33=((($32)+(1))|0); //@line 1045 "../src/h264bsd_intra_prediction.c"
 $j=$33; //@line 1045 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1045 "../src/h264bsd_intra_prediction.c"
 case 11: 
 label=12;break; //@line 1049 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $36=$i; //@line 1043 "../src/h264bsd_intra_prediction.c"
 var $37=((($36)+(1))|0); //@line 1043 "../src/h264bsd_intra_prediction.c"
 $i=$37; //@line 1043 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1043 "../src/h264bsd_intra_prediction.c"
 case 13: 
 STACKTOP=sp;return; //@line 1051 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra16x16DcPrediction($data,$above,$left,$availableA,$availableB){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $tmp;
 $1=$data;
 $2=$above;
 $3=$left;
 $4=$availableA;
 $5=$availableB;
 var $6=$1; //@line 1072 "../src/h264bsd_intra_prediction.c"
 var $7=($6|0)!=0; //@line 1072 "../src/h264bsd_intra_prediction.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 1072 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1072,15760); //@line 1072 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1072 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1072 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 1072 "../src/h264bsd_intra_prediction.c"
 var $13=$2; //@line 1073 "../src/h264bsd_intra_prediction.c"
 var $14=($13|0)!=0; //@line 1073 "../src/h264bsd_intra_prediction.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 1073 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1073,15760); //@line 1073 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1073 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1073 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 1073 "../src/h264bsd_intra_prediction.c"
 var $20=$3; //@line 1074 "../src/h264bsd_intra_prediction.c"
 var $21=($20|0)!=0; //@line 1074 "../src/h264bsd_intra_prediction.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 1074 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1074,15760); //@line 1074 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1074 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1074 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 1074 "../src/h264bsd_intra_prediction.c"
 var $27=$4; //@line 1076 "../src/h264bsd_intra_prediction.c"
 var $28=($27|0)!=0; //@line 1076 "../src/h264bsd_intra_prediction.c"
 if($28){label=8;break;}else{label=14;break;} //@line 1076 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $30=$5; //@line 1076 "../src/h264bsd_intra_prediction.c"
 var $31=($30|0)!=0; //@line 1076 "../src/h264bsd_intra_prediction.c"
 if($31){label=9;break;}else{label=14;break;} //@line 1076 "../src/h264bsd_intra_prediction.c"
 case 9: 
 $i=0; //@line 1078 "../src/h264bsd_intra_prediction.c"
 $tmp=0; //@line 1078 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 1078 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $34=$i; //@line 1078 "../src/h264bsd_intra_prediction.c"
 var $35=($34>>>0)<16; //@line 1078 "../src/h264bsd_intra_prediction.c"
 if($35){label=11;break;}else{label=13;break;} //@line 1078 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $37=$i; //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $38=$2; //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $39=(($38+$37)|0); //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $40=HEAP8[($39)]; //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $41=($40&255); //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $42=$i; //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $43=$3; //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $44=(($43+$42)|0); //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $45=HEAP8[($44)]; //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $46=($45&255); //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $47=((($41)+($46))|0); //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $48=$tmp; //@line 1079 "../src/h264bsd_intra_prediction.c"
 var $49=((($48)+($47))|0); //@line 1079 "../src/h264bsd_intra_prediction.c"
 $tmp=$49; //@line 1079 "../src/h264bsd_intra_prediction.c"
 label=12;break; //@line 1079 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $51=$i; //@line 1078 "../src/h264bsd_intra_prediction.c"
 var $52=((($51)+(1))|0); //@line 1078 "../src/h264bsd_intra_prediction.c"
 $i=$52; //@line 1078 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 1078 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $54=$tmp; //@line 1080 "../src/h264bsd_intra_prediction.c"
 var $55=((($54)+(16))|0); //@line 1080 "../src/h264bsd_intra_prediction.c"
 var $56=$55>>>5; //@line 1080 "../src/h264bsd_intra_prediction.c"
 $tmp=$56; //@line 1080 "../src/h264bsd_intra_prediction.c"
 label=29;break; //@line 1081 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $58=$4; //@line 1082 "../src/h264bsd_intra_prediction.c"
 var $59=($58|0)!=0; //@line 1082 "../src/h264bsd_intra_prediction.c"
 if($59){label=15;break;}else{label=20;break;} //@line 1082 "../src/h264bsd_intra_prediction.c"
 case 15: 
 $i=0; //@line 1084 "../src/h264bsd_intra_prediction.c"
 $tmp=0; //@line 1084 "../src/h264bsd_intra_prediction.c"
 label=16;break; //@line 1084 "../src/h264bsd_intra_prediction.c"
 case 16: 
 var $62=$i; //@line 1084 "../src/h264bsd_intra_prediction.c"
 var $63=($62>>>0)<16; //@line 1084 "../src/h264bsd_intra_prediction.c"
 if($63){label=17;break;}else{label=19;break;} //@line 1084 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $65=$i; //@line 1085 "../src/h264bsd_intra_prediction.c"
 var $66=$3; //@line 1085 "../src/h264bsd_intra_prediction.c"
 var $67=(($66+$65)|0); //@line 1085 "../src/h264bsd_intra_prediction.c"
 var $68=HEAP8[($67)]; //@line 1085 "../src/h264bsd_intra_prediction.c"
 var $69=($68&255); //@line 1085 "../src/h264bsd_intra_prediction.c"
 var $70=$tmp; //@line 1085 "../src/h264bsd_intra_prediction.c"
 var $71=((($70)+($69))|0); //@line 1085 "../src/h264bsd_intra_prediction.c"
 $tmp=$71; //@line 1085 "../src/h264bsd_intra_prediction.c"
 label=18;break; //@line 1085 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $73=$i; //@line 1084 "../src/h264bsd_intra_prediction.c"
 var $74=((($73)+(1))|0); //@line 1084 "../src/h264bsd_intra_prediction.c"
 $i=$74; //@line 1084 "../src/h264bsd_intra_prediction.c"
 label=16;break; //@line 1084 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $76=$tmp; //@line 1086 "../src/h264bsd_intra_prediction.c"
 var $77=((($76)+(8))|0); //@line 1086 "../src/h264bsd_intra_prediction.c"
 var $78=$77>>>4; //@line 1086 "../src/h264bsd_intra_prediction.c"
 $tmp=$78; //@line 1086 "../src/h264bsd_intra_prediction.c"
 label=28;break; //@line 1087 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $80=$5; //@line 1088 "../src/h264bsd_intra_prediction.c"
 var $81=($80|0)!=0; //@line 1088 "../src/h264bsd_intra_prediction.c"
 if($81){label=21;break;}else{label=26;break;} //@line 1088 "../src/h264bsd_intra_prediction.c"
 case 21: 
 $i=0; //@line 1090 "../src/h264bsd_intra_prediction.c"
 $tmp=0; //@line 1090 "../src/h264bsd_intra_prediction.c"
 label=22;break; //@line 1090 "../src/h264bsd_intra_prediction.c"
 case 22: 
 var $84=$i; //@line 1090 "../src/h264bsd_intra_prediction.c"
 var $85=($84>>>0)<16; //@line 1090 "../src/h264bsd_intra_prediction.c"
 if($85){label=23;break;}else{label=25;break;} //@line 1090 "../src/h264bsd_intra_prediction.c"
 case 23: 
 var $87=$i; //@line 1091 "../src/h264bsd_intra_prediction.c"
 var $88=$2; //@line 1091 "../src/h264bsd_intra_prediction.c"
 var $89=(($88+$87)|0); //@line 1091 "../src/h264bsd_intra_prediction.c"
 var $90=HEAP8[($89)]; //@line 1091 "../src/h264bsd_intra_prediction.c"
 var $91=($90&255); //@line 1091 "../src/h264bsd_intra_prediction.c"
 var $92=$tmp; //@line 1091 "../src/h264bsd_intra_prediction.c"
 var $93=((($92)+($91))|0); //@line 1091 "../src/h264bsd_intra_prediction.c"
 $tmp=$93; //@line 1091 "../src/h264bsd_intra_prediction.c"
 label=24;break; //@line 1091 "../src/h264bsd_intra_prediction.c"
 case 24: 
 var $95=$i; //@line 1090 "../src/h264bsd_intra_prediction.c"
 var $96=((($95)+(1))|0); //@line 1090 "../src/h264bsd_intra_prediction.c"
 $i=$96; //@line 1090 "../src/h264bsd_intra_prediction.c"
 label=22;break; //@line 1090 "../src/h264bsd_intra_prediction.c"
 case 25: 
 var $98=$tmp; //@line 1092 "../src/h264bsd_intra_prediction.c"
 var $99=((($98)+(8))|0); //@line 1092 "../src/h264bsd_intra_prediction.c"
 var $100=$99>>>4; //@line 1092 "../src/h264bsd_intra_prediction.c"
 $tmp=$100; //@line 1092 "../src/h264bsd_intra_prediction.c"
 label=27;break; //@line 1093 "../src/h264bsd_intra_prediction.c"
 case 26: 
 $tmp=128; //@line 1097 "../src/h264bsd_intra_prediction.c"
 label=27;break;
 case 27: 
 label=28;break;
 case 28: 
 label=29;break;
 case 29: 
 $i=0; //@line 1099 "../src/h264bsd_intra_prediction.c"
 label=30;break; //@line 1099 "../src/h264bsd_intra_prediction.c"
 case 30: 
 var $106=$i; //@line 1099 "../src/h264bsd_intra_prediction.c"
 var $107=($106>>>0)<256; //@line 1099 "../src/h264bsd_intra_prediction.c"
 if($107){label=31;break;}else{label=33;break;} //@line 1099 "../src/h264bsd_intra_prediction.c"
 case 31: 
 var $109=$tmp; //@line 1100 "../src/h264bsd_intra_prediction.c"
 var $110=(($109)&255); //@line 1100 "../src/h264bsd_intra_prediction.c"
 var $111=$i; //@line 1100 "../src/h264bsd_intra_prediction.c"
 var $112=$1; //@line 1100 "../src/h264bsd_intra_prediction.c"
 var $113=(($112+$111)|0); //@line 1100 "../src/h264bsd_intra_prediction.c"
 HEAP8[($113)]=$110; //@line 1100 "../src/h264bsd_intra_prediction.c"
 label=32;break; //@line 1100 "../src/h264bsd_intra_prediction.c"
 case 32: 
 var $115=$i; //@line 1099 "../src/h264bsd_intra_prediction.c"
 var $116=((($115)+(1))|0); //@line 1099 "../src/h264bsd_intra_prediction.c"
 $i=$116; //@line 1099 "../src/h264bsd_intra_prediction.c"
 label=30;break; //@line 1099 "../src/h264bsd_intra_prediction.c"
 case 33: 
 STACKTOP=sp;return; //@line 1102 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra16x16PlanePrediction($data,$above,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $i;
 var $j;
 var $a;
 var $b;
 var $c;
 var $tmp;
 $1=$data;
 $2=$above;
 $3=$left;
 var $4=$1; //@line 1124 "../src/h264bsd_intra_prediction.c"
 var $5=($4|0)!=0; //@line 1124 "../src/h264bsd_intra_prediction.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1124 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1124,15696); //@line 1124 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1124 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1124 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1124 "../src/h264bsd_intra_prediction.c"
 var $11=$2; //@line 1125 "../src/h264bsd_intra_prediction.c"
 var $12=($11|0)!=0; //@line 1125 "../src/h264bsd_intra_prediction.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1125 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1125,15696); //@line 1125 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1125 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1125 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1125 "../src/h264bsd_intra_prediction.c"
 var $18=$3; //@line 1126 "../src/h264bsd_intra_prediction.c"
 var $19=($18|0)!=0; //@line 1126 "../src/h264bsd_intra_prediction.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 1126 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1126,15696); //@line 1126 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1126 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1126 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 1126 "../src/h264bsd_intra_prediction.c"
 var $25=$2; //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $26=(($25+15)|0); //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP8[($26)]; //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $28=($27&255); //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $29=$3; //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $30=(($29+15)|0); //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $31=HEAP8[($30)]; //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $32=($31&255); //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $33=((($28)+($32))|0); //@line 1128 "../src/h264bsd_intra_prediction.c"
 var $34=($33<<4); //@line 1128 "../src/h264bsd_intra_prediction.c"
 $a=$34; //@line 1128 "../src/h264bsd_intra_prediction.c"
 $i=0; //@line 1130 "../src/h264bsd_intra_prediction.c"
 $b=0; //@line 1130 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1130 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $36=$i; //@line 1130 "../src/h264bsd_intra_prediction.c"
 var $37=($36>>>0)<8; //@line 1130 "../src/h264bsd_intra_prediction.c"
 if($37){label=9;break;}else{label=11;break;} //@line 1130 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $39=$i; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $40=((($39)+(1))|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $41=$i; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $42=((($41)+(8))|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $43=$2; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $44=(($43+$42)|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $45=HEAP8[($44)]; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $46=($45&255); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $47=$i; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $48=(((6)-($47))|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $49=$2; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $50=(($49+$48)|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $51=HEAP8[($50)]; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $52=($51&255); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $53=((($46)-($52))|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $54=(Math_imul($40,$53)|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $55=$b; //@line 1131 "../src/h264bsd_intra_prediction.c"
 var $56=((($55)+($54))|0); //@line 1131 "../src/h264bsd_intra_prediction.c"
 $b=$56; //@line 1131 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 1131 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $58=$i; //@line 1130 "../src/h264bsd_intra_prediction.c"
 var $59=((($58)+(1))|0); //@line 1130 "../src/h264bsd_intra_prediction.c"
 $i=$59; //@line 1130 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1130 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $61=$b; //@line 1132 "../src/h264bsd_intra_prediction.c"
 var $62=((($61)*(5))&-1); //@line 1132 "../src/h264bsd_intra_prediction.c"
 var $63=((($62)+(32))|0); //@line 1132 "../src/h264bsd_intra_prediction.c"
 var $64=$63>>6; //@line 1132 "../src/h264bsd_intra_prediction.c"
 $b=$64; //@line 1132 "../src/h264bsd_intra_prediction.c"
 $i=0; //@line 1134 "../src/h264bsd_intra_prediction.c"
 $c=0; //@line 1134 "../src/h264bsd_intra_prediction.c"
 label=12;break; //@line 1134 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $66=$i; //@line 1134 "../src/h264bsd_intra_prediction.c"
 var $67=($66>>>0)<7; //@line 1134 "../src/h264bsd_intra_prediction.c"
 if($67){label=13;break;}else{label=15;break;} //@line 1134 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $69=$i; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $70=((($69)+(1))|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $71=$i; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $72=((($71)+(8))|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $73=$3; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $74=(($73+$72)|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $75=HEAP8[($74)]; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $76=($75&255); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $77=$i; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $78=(((6)-($77))|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $79=$3; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $80=(($79+$78)|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $81=HEAP8[($80)]; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $82=($81&255); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $83=((($76)-($82))|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $84=(Math_imul($70,$83)|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $85=$c; //@line 1135 "../src/h264bsd_intra_prediction.c"
 var $86=((($85)+($84))|0); //@line 1135 "../src/h264bsd_intra_prediction.c"
 $c=$86; //@line 1135 "../src/h264bsd_intra_prediction.c"
 label=14;break; //@line 1135 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $88=$i; //@line 1134 "../src/h264bsd_intra_prediction.c"
 var $89=((($88)+(1))|0); //@line 1134 "../src/h264bsd_intra_prediction.c"
 $i=$89; //@line 1134 "../src/h264bsd_intra_prediction.c"
 label=12;break; //@line 1134 "../src/h264bsd_intra_prediction.c"
 case 15: 
 var $91=$i; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $92=((($91)+(1))|0); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $93=$i; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $94=((($93)+(8))|0); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $95=$3; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $96=(($95+$94)|0); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $97=HEAP8[($96)]; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $98=($97&255); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $99=$2; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $100=((($99)-(1))|0); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $101=HEAP8[($100)]; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $102=($101&255); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $103=((($98)-($102))|0); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $104=(Math_imul($92,$103)|0); //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $105=$c; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $106=((($105)+($104))|0); //@line 1137 "../src/h264bsd_intra_prediction.c"
 $c=$106; //@line 1137 "../src/h264bsd_intra_prediction.c"
 var $107=$c; //@line 1138 "../src/h264bsd_intra_prediction.c"
 var $108=((($107)*(5))&-1); //@line 1138 "../src/h264bsd_intra_prediction.c"
 var $109=((($108)+(32))|0); //@line 1138 "../src/h264bsd_intra_prediction.c"
 var $110=$109>>6; //@line 1138 "../src/h264bsd_intra_prediction.c"
 $c=$110; //@line 1138 "../src/h264bsd_intra_prediction.c"
 $i=0; //@line 1140 "../src/h264bsd_intra_prediction.c"
 label=16;break; //@line 1140 "../src/h264bsd_intra_prediction.c"
 case 16: 
 var $112=$i; //@line 1140 "../src/h264bsd_intra_prediction.c"
 var $113=($112>>>0)<16; //@line 1140 "../src/h264bsd_intra_prediction.c"
 if($113){label=17;break;}else{label=29;break;} //@line 1140 "../src/h264bsd_intra_prediction.c"
 case 17: 
 $j=0; //@line 1142 "../src/h264bsd_intra_prediction.c"
 label=18;break; //@line 1142 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $116=$j; //@line 1142 "../src/h264bsd_intra_prediction.c"
 var $117=($116>>>0)<16; //@line 1142 "../src/h264bsd_intra_prediction.c"
 if($117){label=19;break;}else{label=27;break;} //@line 1142 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $119=$a; //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $120=$b; //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $121=$j; //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $122=((($121)-(7))|0); //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $123=(Math_imul($120,$122)|0); //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $124=((($119)+($123))|0); //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $125=$c; //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $126=$i; //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $127=((($126)-(7))|0); //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $128=(Math_imul($125,$127)|0); //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $129=((($124)+($128))|0); //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $130=((($129)+(16))|0); //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $131=$130>>5; //@line 1144 "../src/h264bsd_intra_prediction.c"
 $tmp=$131; //@line 1144 "../src/h264bsd_intra_prediction.c"
 var $132=$tmp; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $133=($132|0)<0; //@line 1145 "../src/h264bsd_intra_prediction.c"
 if($133){label=20;break;}else{label=21;break;} //@line 1145 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $144=0;label=25;break; //@line 1145 "../src/h264bsd_intra_prediction.c"
 case 21: 
 var $136=$tmp; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $137=($136|0)>255; //@line 1145 "../src/h264bsd_intra_prediction.c"
 if($137){label=22;break;}else{label=23;break;} //@line 1145 "../src/h264bsd_intra_prediction.c"
 case 22: 
 var $142=255;label=24;break; //@line 1145 "../src/h264bsd_intra_prediction.c"
 case 23: 
 var $140=$tmp; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $142=$140;label=24;break; //@line 1145 "../src/h264bsd_intra_prediction.c"
 case 24: 
 var $142; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $144=$142;label=25;break; //@line 1145 "../src/h264bsd_intra_prediction.c"
 case 25: 
 var $144; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $145=(($144)&255); //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $146=$i; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $147=($146<<4); //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $148=$j; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $149=((($147)+($148))|0); //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $150=$1; //@line 1145 "../src/h264bsd_intra_prediction.c"
 var $151=(($150+$149)|0); //@line 1145 "../src/h264bsd_intra_prediction.c"
 HEAP8[($151)]=$145; //@line 1145 "../src/h264bsd_intra_prediction.c"
 label=26;break; //@line 1146 "../src/h264bsd_intra_prediction.c"
 case 26: 
 var $153=$j; //@line 1142 "../src/h264bsd_intra_prediction.c"
 var $154=((($153)+(1))|0); //@line 1142 "../src/h264bsd_intra_prediction.c"
 $j=$154; //@line 1142 "../src/h264bsd_intra_prediction.c"
 label=18;break; //@line 1142 "../src/h264bsd_intra_prediction.c"
 case 27: 
 label=28;break; //@line 1147 "../src/h264bsd_intra_prediction.c"
 case 28: 
 var $157=$i; //@line 1140 "../src/h264bsd_intra_prediction.c"
 var $158=((($157)+(1))|0); //@line 1140 "../src/h264bsd_intra_prediction.c"
 $i=$158; //@line 1140 "../src/h264bsd_intra_prediction.c"
 label=16;break; //@line 1140 "../src/h264bsd_intra_prediction.c"
 case 29: 
 STACKTOP=sp;return; //@line 1149 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdAddResidual($data,$residual,$blockNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $i;
 var $x;
 var $y;
 var $width;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp;
 var $clp;
 $1=$data;
 $2=$residual;
 $3=$blockNum;
 $clp=1872; //@line 937 "../src/h264bsd_intra_prediction.c"
 var $4=$1; //@line 941 "../src/h264bsd_intra_prediction.c"
 var $5=($4|0)!=0; //@line 941 "../src/h264bsd_intra_prediction.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 941 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,941,14976); //@line 941 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 941 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 941 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 941 "../src/h264bsd_intra_prediction.c"
 var $11=$2; //@line 942 "../src/h264bsd_intra_prediction.c"
 var $12=($11|0)!=0; //@line 942 "../src/h264bsd_intra_prediction.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 942 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(5096,12024,942,14976); //@line 942 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 942 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 942 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 942 "../src/h264bsd_intra_prediction.c"
 var $18=$3; //@line 943 "../src/h264bsd_intra_prediction.c"
 var $19=($18>>>0)<24; //@line 943 "../src/h264bsd_intra_prediction.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 943 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(11312,12024,943,14976); //@line 943 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 943 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 943 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 943 "../src/h264bsd_intra_prediction.c"
 var $25=$2; //@line 945 "../src/h264bsd_intra_prediction.c"
 var $26=(($25)|0); //@line 945 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP32[(($26)>>2)]; //@line 945 "../src/h264bsd_intra_prediction.c"
 var $28=($27|0)==16777215; //@line 945 "../src/h264bsd_intra_prediction.c"
 if($28){label=8;break;}else{label=9;break;} //@line 945 "../src/h264bsd_intra_prediction.c"
 case 8: 
 label=16;break; //@line 946 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $31=$3; //@line 950 "../src/h264bsd_intra_prediction.c"
 var $32=($31>>>0)<16; //@line 950 "../src/h264bsd_intra_prediction.c"
 if($32){label=10;break;}else{label=11;break;} //@line 950 "../src/h264bsd_intra_prediction.c"
 case 10: 
 $width=16; //@line 952 "../src/h264bsd_intra_prediction.c"
 var $34=$3; //@line 953 "../src/h264bsd_intra_prediction.c"
 var $35=((2704+($34<<2))|0); //@line 953 "../src/h264bsd_intra_prediction.c"
 var $36=HEAP32[(($35)>>2)]; //@line 953 "../src/h264bsd_intra_prediction.c"
 $x=$36; //@line 953 "../src/h264bsd_intra_prediction.c"
 var $37=$3; //@line 954 "../src/h264bsd_intra_prediction.c"
 var $38=((2640+($37<<2))|0); //@line 954 "../src/h264bsd_intra_prediction.c"
 var $39=HEAP32[(($38)>>2)]; //@line 954 "../src/h264bsd_intra_prediction.c"
 $y=$39; //@line 954 "../src/h264bsd_intra_prediction.c"
 label=12;break; //@line 955 "../src/h264bsd_intra_prediction.c"
 case 11: 
 $width=8; //@line 958 "../src/h264bsd_intra_prediction.c"
 var $41=$3; //@line 959 "../src/h264bsd_intra_prediction.c"
 var $42=$41&3; //@line 959 "../src/h264bsd_intra_prediction.c"
 var $43=((2704+($42<<2))|0); //@line 959 "../src/h264bsd_intra_prediction.c"
 var $44=HEAP32[(($43)>>2)]; //@line 959 "../src/h264bsd_intra_prediction.c"
 $x=$44; //@line 959 "../src/h264bsd_intra_prediction.c"
 var $45=$3; //@line 960 "../src/h264bsd_intra_prediction.c"
 var $46=$45&3; //@line 960 "../src/h264bsd_intra_prediction.c"
 var $47=((2640+($46<<2))|0); //@line 960 "../src/h264bsd_intra_prediction.c"
 var $48=HEAP32[(($47)>>2)]; //@line 960 "../src/h264bsd_intra_prediction.c"
 $y=$48; //@line 960 "../src/h264bsd_intra_prediction.c"
 label=12;break;
 case 12: 
 var $50=$1; //@line 963 "../src/h264bsd_intra_prediction.c"
 var $51=$y; //@line 963 "../src/h264bsd_intra_prediction.c"
 var $52=$width; //@line 963 "../src/h264bsd_intra_prediction.c"
 var $53=(Math_imul($51,$52)|0); //@line 963 "../src/h264bsd_intra_prediction.c"
 var $54=(($50+$53)|0); //@line 963 "../src/h264bsd_intra_prediction.c"
 var $55=$x; //@line 963 "../src/h264bsd_intra_prediction.c"
 var $56=(($54+$55)|0); //@line 963 "../src/h264bsd_intra_prediction.c"
 $tmp=$56; //@line 963 "../src/h264bsd_intra_prediction.c"
 $i=4; //@line 964 "../src/h264bsd_intra_prediction.c"
 label=13;break; //@line 964 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $58=$i; //@line 964 "../src/h264bsd_intra_prediction.c"
 var $59=($58|0)!=0; //@line 964 "../src/h264bsd_intra_prediction.c"
 if($59){label=14;break;}else{label=16;break;} //@line 964 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $61=$2; //@line 966 "../src/h264bsd_intra_prediction.c"
 var $62=(($61+4)|0); //@line 966 "../src/h264bsd_intra_prediction.c"
 $2=$62; //@line 966 "../src/h264bsd_intra_prediction.c"
 var $63=HEAP32[(($61)>>2)]; //@line 966 "../src/h264bsd_intra_prediction.c"
 $tmp1=$63; //@line 966 "../src/h264bsd_intra_prediction.c"
 var $64=$tmp; //@line 967 "../src/h264bsd_intra_prediction.c"
 var $65=(($64)|0); //@line 967 "../src/h264bsd_intra_prediction.c"
 var $66=HEAP8[($65)]; //@line 967 "../src/h264bsd_intra_prediction.c"
 var $67=($66&255); //@line 967 "../src/h264bsd_intra_prediction.c"
 $tmp2=$67; //@line 967 "../src/h264bsd_intra_prediction.c"
 var $68=$2; //@line 968 "../src/h264bsd_intra_prediction.c"
 var $69=(($68+4)|0); //@line 968 "../src/h264bsd_intra_prediction.c"
 $2=$69; //@line 968 "../src/h264bsd_intra_prediction.c"
 var $70=HEAP32[(($68)>>2)]; //@line 968 "../src/h264bsd_intra_prediction.c"
 $tmp3=$70; //@line 968 "../src/h264bsd_intra_prediction.c"
 var $71=$tmp; //@line 969 "../src/h264bsd_intra_prediction.c"
 var $72=(($71+1)|0); //@line 969 "../src/h264bsd_intra_prediction.c"
 var $73=HEAP8[($72)]; //@line 969 "../src/h264bsd_intra_prediction.c"
 var $74=($73&255); //@line 969 "../src/h264bsd_intra_prediction.c"
 $tmp4=$74; //@line 969 "../src/h264bsd_intra_prediction.c"
 var $75=$tmp1; //@line 971 "../src/h264bsd_intra_prediction.c"
 var $76=$tmp2; //@line 971 "../src/h264bsd_intra_prediction.c"
 var $77=((($75)+($76))|0); //@line 971 "../src/h264bsd_intra_prediction.c"
 var $78=$clp; //@line 971 "../src/h264bsd_intra_prediction.c"
 var $79=(($78+$77)|0); //@line 971 "../src/h264bsd_intra_prediction.c"
 var $80=HEAP8[($79)]; //@line 971 "../src/h264bsd_intra_prediction.c"
 var $81=$tmp; //@line 971 "../src/h264bsd_intra_prediction.c"
 var $82=(($81)|0); //@line 971 "../src/h264bsd_intra_prediction.c"
 HEAP8[($82)]=$80; //@line 971 "../src/h264bsd_intra_prediction.c"
 var $83=$2; //@line 973 "../src/h264bsd_intra_prediction.c"
 var $84=(($83+4)|0); //@line 973 "../src/h264bsd_intra_prediction.c"
 $2=$84; //@line 973 "../src/h264bsd_intra_prediction.c"
 var $85=HEAP32[(($83)>>2)]; //@line 973 "../src/h264bsd_intra_prediction.c"
 $tmp1=$85; //@line 973 "../src/h264bsd_intra_prediction.c"
 var $86=$tmp; //@line 974 "../src/h264bsd_intra_prediction.c"
 var $87=(($86+2)|0); //@line 974 "../src/h264bsd_intra_prediction.c"
 var $88=HEAP8[($87)]; //@line 974 "../src/h264bsd_intra_prediction.c"
 var $89=($88&255); //@line 974 "../src/h264bsd_intra_prediction.c"
 $tmp2=$89; //@line 974 "../src/h264bsd_intra_prediction.c"
 var $90=$tmp3; //@line 976 "../src/h264bsd_intra_prediction.c"
 var $91=$tmp4; //@line 976 "../src/h264bsd_intra_prediction.c"
 var $92=((($90)+($91))|0); //@line 976 "../src/h264bsd_intra_prediction.c"
 var $93=$clp; //@line 976 "../src/h264bsd_intra_prediction.c"
 var $94=(($93+$92)|0); //@line 976 "../src/h264bsd_intra_prediction.c"
 var $95=HEAP8[($94)]; //@line 976 "../src/h264bsd_intra_prediction.c"
 var $96=$tmp; //@line 976 "../src/h264bsd_intra_prediction.c"
 var $97=(($96+1)|0); //@line 976 "../src/h264bsd_intra_prediction.c"
 HEAP8[($97)]=$95; //@line 976 "../src/h264bsd_intra_prediction.c"
 var $98=$2; //@line 978 "../src/h264bsd_intra_prediction.c"
 var $99=(($98+4)|0); //@line 978 "../src/h264bsd_intra_prediction.c"
 $2=$99; //@line 978 "../src/h264bsd_intra_prediction.c"
 var $100=HEAP32[(($98)>>2)]; //@line 978 "../src/h264bsd_intra_prediction.c"
 $tmp3=$100; //@line 978 "../src/h264bsd_intra_prediction.c"
 var $101=$tmp; //@line 979 "../src/h264bsd_intra_prediction.c"
 var $102=(($101+3)|0); //@line 979 "../src/h264bsd_intra_prediction.c"
 var $103=HEAP8[($102)]; //@line 979 "../src/h264bsd_intra_prediction.c"
 var $104=($103&255); //@line 979 "../src/h264bsd_intra_prediction.c"
 $tmp4=$104; //@line 979 "../src/h264bsd_intra_prediction.c"
 var $105=$tmp1; //@line 981 "../src/h264bsd_intra_prediction.c"
 var $106=$tmp2; //@line 981 "../src/h264bsd_intra_prediction.c"
 var $107=((($105)+($106))|0); //@line 981 "../src/h264bsd_intra_prediction.c"
 var $108=$clp; //@line 981 "../src/h264bsd_intra_prediction.c"
 var $109=(($108+$107)|0); //@line 981 "../src/h264bsd_intra_prediction.c"
 var $110=HEAP8[($109)]; //@line 981 "../src/h264bsd_intra_prediction.c"
 var $111=($110&255); //@line 981 "../src/h264bsd_intra_prediction.c"
 $tmp1=$111; //@line 981 "../src/h264bsd_intra_prediction.c"
 var $112=$tmp3; //@line 982 "../src/h264bsd_intra_prediction.c"
 var $113=$tmp4; //@line 982 "../src/h264bsd_intra_prediction.c"
 var $114=((($112)+($113))|0); //@line 982 "../src/h264bsd_intra_prediction.c"
 var $115=$clp; //@line 982 "../src/h264bsd_intra_prediction.c"
 var $116=(($115+$114)|0); //@line 982 "../src/h264bsd_intra_prediction.c"
 var $117=HEAP8[($116)]; //@line 982 "../src/h264bsd_intra_prediction.c"
 var $118=($117&255); //@line 982 "../src/h264bsd_intra_prediction.c"
 $tmp3=$118; //@line 982 "../src/h264bsd_intra_prediction.c"
 var $119=$tmp1; //@line 983 "../src/h264bsd_intra_prediction.c"
 var $120=(($119)&255); //@line 983 "../src/h264bsd_intra_prediction.c"
 var $121=$tmp; //@line 983 "../src/h264bsd_intra_prediction.c"
 var $122=(($121+2)|0); //@line 983 "../src/h264bsd_intra_prediction.c"
 HEAP8[($122)]=$120; //@line 983 "../src/h264bsd_intra_prediction.c"
 var $123=$tmp3; //@line 984 "../src/h264bsd_intra_prediction.c"
 var $124=(($123)&255); //@line 984 "../src/h264bsd_intra_prediction.c"
 var $125=$tmp; //@line 984 "../src/h264bsd_intra_prediction.c"
 var $126=(($125+3)|0); //@line 984 "../src/h264bsd_intra_prediction.c"
 HEAP8[($126)]=$124; //@line 984 "../src/h264bsd_intra_prediction.c"
 var $127=$width; //@line 986 "../src/h264bsd_intra_prediction.c"
 var $128=$tmp; //@line 986 "../src/h264bsd_intra_prediction.c"
 var $129=(($128+$127)|0); //@line 986 "../src/h264bsd_intra_prediction.c"
 $tmp=$129; //@line 986 "../src/h264bsd_intra_prediction.c"
 label=15;break; //@line 987 "../src/h264bsd_intra_prediction.c"
 case 15: 
 var $131=$i; //@line 964 "../src/h264bsd_intra_prediction.c"
 var $132=((($131)-(1))|0); //@line 964 "../src/h264bsd_intra_prediction.c"
 $i=$132; //@line 964 "../src/h264bsd_intra_prediction.c"
 label=13;break; //@line 964 "../src/h264bsd_intra_prediction.c"
 case 16: 
 STACKTOP=sp;return; //@line 989 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DetermineIntra4x4PredMode($pMbLayer,$available,$nA,$nB,$index,$nMbA,$nMbB){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $mode1;
 var $mode2;
 var $pMb;
 $1=$pMbLayer;
 $2=$available;
 $3=$nA;
 $4=$nB;
 $5=$index;
 $6=$nMbA;
 $7=$nMbB;
 var $8=$1; //@line 1898 "../src/h264bsd_intra_prediction.c"
 var $9=($8|0)!=0; //@line 1898 "../src/h264bsd_intra_prediction.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 1898 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(10808,12024,1898,16152); //@line 1898 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1898 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1898 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 1898 "../src/h264bsd_intra_prediction.c"
 var $15=$2; //@line 1901 "../src/h264bsd_intra_prediction.c"
 var $16=($15|0)!=0; //@line 1901 "../src/h264bsd_intra_prediction.c"
 if($16){label=5;break;}else{label=4;break;} //@line 1901 "../src/h264bsd_intra_prediction.c"
 case 4: 
 $mode1=2; //@line 1902 "../src/h264bsd_intra_prediction.c"
 label=15;break; //@line 1902 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $19=$6; //@line 1905 "../src/h264bsd_intra_prediction.c"
 $pMb=$19; //@line 1905 "../src/h264bsd_intra_prediction.c"
 var $20=$pMb; //@line 1906 "../src/h264bsd_intra_prediction.c"
 var $21=(($20)|0); //@line 1906 "../src/h264bsd_intra_prediction.c"
 var $22=HEAP32[(($21)>>2)]; //@line 1906 "../src/h264bsd_intra_prediction.c"
 var $23=_h264bsdMbPartPredMode($22); //@line 1906 "../src/h264bsd_intra_prediction.c"
 var $24=($23|0)==0; //@line 1906 "../src/h264bsd_intra_prediction.c"
 if($24){label=6;break;}else{label=7;break;} //@line 1906 "../src/h264bsd_intra_prediction.c"
 case 6: 
 var $26=$3; //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $27=(($26+4)|0); //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $28=HEAP8[($27)]; //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $29=($28&255); //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $30=$pMb; //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $31=(($30+82)|0); //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $32=(($31+$29)|0); //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $33=HEAP8[($32)]; //@line 1908 "../src/h264bsd_intra_prediction.c"
 var $34=($33&255); //@line 1908 "../src/h264bsd_intra_prediction.c"
 $mode1=$34; //@line 1908 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1909 "../src/h264bsd_intra_prediction.c"
 case 7: 
 $mode1=2; //@line 1911 "../src/h264bsd_intra_prediction.c"
 label=8;break;
 case 8: 
 var $37=$7; //@line 1913 "../src/h264bsd_intra_prediction.c"
 $pMb=$37; //@line 1913 "../src/h264bsd_intra_prediction.c"
 var $38=$pMb; //@line 1914 "../src/h264bsd_intra_prediction.c"
 var $39=(($38)|0); //@line 1914 "../src/h264bsd_intra_prediction.c"
 var $40=HEAP32[(($39)>>2)]; //@line 1914 "../src/h264bsd_intra_prediction.c"
 var $41=_h264bsdMbPartPredMode($40); //@line 1914 "../src/h264bsd_intra_prediction.c"
 var $42=($41|0)==0; //@line 1914 "../src/h264bsd_intra_prediction.c"
 if($42){label=9;break;}else{label=10;break;} //@line 1914 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $44=$4; //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $45=(($44+4)|0); //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $46=HEAP8[($45)]; //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $47=($46&255); //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $48=$pMb; //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $49=(($48+82)|0); //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $50=(($49+$47)|0); //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $51=HEAP8[($50)]; //@line 1916 "../src/h264bsd_intra_prediction.c"
 var $52=($51&255); //@line 1916 "../src/h264bsd_intra_prediction.c"
 $mode2=$52; //@line 1916 "../src/h264bsd_intra_prediction.c"
 label=11;break; //@line 1917 "../src/h264bsd_intra_prediction.c"
 case 10: 
 $mode2=2; //@line 1919 "../src/h264bsd_intra_prediction.c"
 label=11;break;
 case 11: 
 var $55=$mode1; //@line 1921 "../src/h264bsd_intra_prediction.c"
 var $56=$mode2; //@line 1921 "../src/h264bsd_intra_prediction.c"
 var $57=($55>>>0)<($56>>>0); //@line 1921 "../src/h264bsd_intra_prediction.c"
 if($57){label=12;break;}else{label=13;break;} //@line 1921 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $59=$mode1; //@line 1921 "../src/h264bsd_intra_prediction.c"
 var $63=$59;label=14;break; //@line 1921 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $61=$mode2; //@line 1921 "../src/h264bsd_intra_prediction.c"
 var $63=$61;label=14;break; //@line 1921 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $63; //@line 1921 "../src/h264bsd_intra_prediction.c"
 $mode1=$63; //@line 1921 "../src/h264bsd_intra_prediction.c"
 label=15;break;
 case 15: 
 var $65=$5; //@line 1924 "../src/h264bsd_intra_prediction.c"
 var $66=$1; //@line 1924 "../src/h264bsd_intra_prediction.c"
 var $67=(($66+12)|0); //@line 1924 "../src/h264bsd_intra_prediction.c"
 var $68=(($67)|0); //@line 1924 "../src/h264bsd_intra_prediction.c"
 var $69=(($68+($65<<2))|0); //@line 1924 "../src/h264bsd_intra_prediction.c"
 var $70=HEAP32[(($69)>>2)]; //@line 1924 "../src/h264bsd_intra_prediction.c"
 var $71=($70|0)!=0; //@line 1924 "../src/h264bsd_intra_prediction.c"
 if($71){label=20;break;}else{label=16;break;} //@line 1924 "../src/h264bsd_intra_prediction.c"
 case 16: 
 var $73=$5; //@line 1926 "../src/h264bsd_intra_prediction.c"
 var $74=$1; //@line 1926 "../src/h264bsd_intra_prediction.c"
 var $75=(($74+12)|0); //@line 1926 "../src/h264bsd_intra_prediction.c"
 var $76=(($75+64)|0); //@line 1926 "../src/h264bsd_intra_prediction.c"
 var $77=(($76+($73<<2))|0); //@line 1926 "../src/h264bsd_intra_prediction.c"
 var $78=HEAP32[(($77)>>2)]; //@line 1926 "../src/h264bsd_intra_prediction.c"
 var $79=$mode1; //@line 1926 "../src/h264bsd_intra_prediction.c"
 var $80=($78>>>0)<($79>>>0); //@line 1926 "../src/h264bsd_intra_prediction.c"
 if($80){label=17;break;}else{label=18;break;} //@line 1926 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $82=$5; //@line 1928 "../src/h264bsd_intra_prediction.c"
 var $83=$1; //@line 1928 "../src/h264bsd_intra_prediction.c"
 var $84=(($83+12)|0); //@line 1928 "../src/h264bsd_intra_prediction.c"
 var $85=(($84+64)|0); //@line 1928 "../src/h264bsd_intra_prediction.c"
 var $86=(($85+($82<<2))|0); //@line 1928 "../src/h264bsd_intra_prediction.c"
 var $87=HEAP32[(($86)>>2)]; //@line 1928 "../src/h264bsd_intra_prediction.c"
 $mode1=$87; //@line 1928 "../src/h264bsd_intra_prediction.c"
 label=19;break; //@line 1929 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $89=$5; //@line 1932 "../src/h264bsd_intra_prediction.c"
 var $90=$1; //@line 1932 "../src/h264bsd_intra_prediction.c"
 var $91=(($90+12)|0); //@line 1932 "../src/h264bsd_intra_prediction.c"
 var $92=(($91+64)|0); //@line 1932 "../src/h264bsd_intra_prediction.c"
 var $93=(($92+($89<<2))|0); //@line 1932 "../src/h264bsd_intra_prediction.c"
 var $94=HEAP32[(($93)>>2)]; //@line 1932 "../src/h264bsd_intra_prediction.c"
 var $95=((($94)+(1))|0); //@line 1932 "../src/h264bsd_intra_prediction.c"
 $mode1=$95; //@line 1932 "../src/h264bsd_intra_prediction.c"
 label=19;break;
 case 19: 
 label=20;break; //@line 1934 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $98=$mode1; //@line 1936 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return $98; //@line 1936 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Get4x4NeighbourPels($a,$l,$data,$above,$left,$blockNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $x;
 var $y;
 var $t1;
 var $t2;
 $1=$a;
 $2=$l;
 $3=$data;
 $4=$above;
 $5=$left;
 $6=$blockNum;
 var $7=$1; //@line 1399 "../src/h264bsd_intra_prediction.c"
 var $8=($7|0)!=0; //@line 1399 "../src/h264bsd_intra_prediction.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 1399 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(9616,12024,1399,15896); //@line 1399 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1399 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1399 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 1399 "../src/h264bsd_intra_prediction.c"
 var $14=$2; //@line 1400 "../src/h264bsd_intra_prediction.c"
 var $15=($14|0)!=0; //@line 1400 "../src/h264bsd_intra_prediction.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 1400 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(9456,12024,1400,15896); //@line 1400 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1400 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1400 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 1400 "../src/h264bsd_intra_prediction.c"
 var $21=$3; //@line 1401 "../src/h264bsd_intra_prediction.c"
 var $22=($21|0)!=0; //@line 1401 "../src/h264bsd_intra_prediction.c"
 if($22){var $26=1;label=7;break;}else{label=6;break;} //@line 1401 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5400,12024,1401,15896); //@line 1401 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1401 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1401 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $26;
 var $27=($26&1); //@line 1401 "../src/h264bsd_intra_prediction.c"
 var $28=$4; //@line 1402 "../src/h264bsd_intra_prediction.c"
 var $29=($28|0)!=0; //@line 1402 "../src/h264bsd_intra_prediction.c"
 if($29){var $33=1;label=9;break;}else{label=8;break;} //@line 1402 "../src/h264bsd_intra_prediction.c"
 case 8: 
 ___assert_fail(6432,12024,1402,15896); //@line 1402 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1402 "../src/h264bsd_intra_prediction.c"
 label=9;break; //@line 1402 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $33;
 var $34=($33&1); //@line 1402 "../src/h264bsd_intra_prediction.c"
 var $35=$5; //@line 1403 "../src/h264bsd_intra_prediction.c"
 var $36=($35|0)!=0; //@line 1403 "../src/h264bsd_intra_prediction.c"
 if($36){var $40=1;label=11;break;}else{label=10;break;} //@line 1403 "../src/h264bsd_intra_prediction.c"
 case 10: 
 ___assert_fail(5904,12024,1403,15896); //@line 1403 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1403 "../src/h264bsd_intra_prediction.c"
 label=11;break; //@line 1403 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $40;
 var $41=($40&1); //@line 1403 "../src/h264bsd_intra_prediction.c"
 var $42=$6; //@line 1404 "../src/h264bsd_intra_prediction.c"
 var $43=($42>>>0)<16; //@line 1404 "../src/h264bsd_intra_prediction.c"
 if($43){var $47=1;label=13;break;}else{label=12;break;} //@line 1404 "../src/h264bsd_intra_prediction.c"
 case 12: 
 ___assert_fail(10184,12024,1404,15896); //@line 1404 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1404 "../src/h264bsd_intra_prediction.c"
 label=13;break; //@line 1404 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $47;
 var $48=($47&1); //@line 1404 "../src/h264bsd_intra_prediction.c"
 var $49=$6; //@line 1406 "../src/h264bsd_intra_prediction.c"
 var $50=((2704+($49<<2))|0); //@line 1406 "../src/h264bsd_intra_prediction.c"
 var $51=HEAP32[(($50)>>2)]; //@line 1406 "../src/h264bsd_intra_prediction.c"
 $x=$51; //@line 1406 "../src/h264bsd_intra_prediction.c"
 var $52=$6; //@line 1407 "../src/h264bsd_intra_prediction.c"
 var $53=((2640+($52<<2))|0); //@line 1407 "../src/h264bsd_intra_prediction.c"
 var $54=HEAP32[(($53)>>2)]; //@line 1407 "../src/h264bsd_intra_prediction.c"
 $y=$54; //@line 1407 "../src/h264bsd_intra_prediction.c"
 var $55=$x; //@line 1410 "../src/h264bsd_intra_prediction.c"
 var $56=($55|0)==0; //@line 1410 "../src/h264bsd_intra_prediction.c"
 if($56){label=14;break;}else{label=15;break;} //@line 1410 "../src/h264bsd_intra_prediction.c"
 case 14: 
 var $58=$y; //@line 1412 "../src/h264bsd_intra_prediction.c"
 var $59=$5; //@line 1412 "../src/h264bsd_intra_prediction.c"
 var $60=(($59+$58)|0); //@line 1412 "../src/h264bsd_intra_prediction.c"
 var $61=HEAP8[($60)]; //@line 1412 "../src/h264bsd_intra_prediction.c"
 $t1=$61; //@line 1412 "../src/h264bsd_intra_prediction.c"
 var $62=$y; //@line 1413 "../src/h264bsd_intra_prediction.c"
 var $63=((($62)+(1))|0); //@line 1413 "../src/h264bsd_intra_prediction.c"
 var $64=$5; //@line 1413 "../src/h264bsd_intra_prediction.c"
 var $65=(($64+$63)|0); //@line 1413 "../src/h264bsd_intra_prediction.c"
 var $66=HEAP8[($65)]; //@line 1413 "../src/h264bsd_intra_prediction.c"
 $t2=$66; //@line 1413 "../src/h264bsd_intra_prediction.c"
 var $67=$t1; //@line 1414 "../src/h264bsd_intra_prediction.c"
 var $68=$2; //@line 1414 "../src/h264bsd_intra_prediction.c"
 var $69=(($68+1)|0); //@line 1414 "../src/h264bsd_intra_prediction.c"
 HEAP8[($69)]=$67; //@line 1414 "../src/h264bsd_intra_prediction.c"
 var $70=$t2; //@line 1415 "../src/h264bsd_intra_prediction.c"
 var $71=$2; //@line 1415 "../src/h264bsd_intra_prediction.c"
 var $72=(($71+2)|0); //@line 1415 "../src/h264bsd_intra_prediction.c"
 HEAP8[($72)]=$70; //@line 1415 "../src/h264bsd_intra_prediction.c"
 var $73=$y; //@line 1416 "../src/h264bsd_intra_prediction.c"
 var $74=((($73)+(2))|0); //@line 1416 "../src/h264bsd_intra_prediction.c"
 var $75=$5; //@line 1416 "../src/h264bsd_intra_prediction.c"
 var $76=(($75+$74)|0); //@line 1416 "../src/h264bsd_intra_prediction.c"
 var $77=HEAP8[($76)]; //@line 1416 "../src/h264bsd_intra_prediction.c"
 $t1=$77; //@line 1416 "../src/h264bsd_intra_prediction.c"
 var $78=$y; //@line 1417 "../src/h264bsd_intra_prediction.c"
 var $79=((($78)+(3))|0); //@line 1417 "../src/h264bsd_intra_prediction.c"
 var $80=$5; //@line 1417 "../src/h264bsd_intra_prediction.c"
 var $81=(($80+$79)|0); //@line 1417 "../src/h264bsd_intra_prediction.c"
 var $82=HEAP8[($81)]; //@line 1417 "../src/h264bsd_intra_prediction.c"
 $t2=$82; //@line 1417 "../src/h264bsd_intra_prediction.c"
 var $83=$t1; //@line 1418 "../src/h264bsd_intra_prediction.c"
 var $84=$2; //@line 1418 "../src/h264bsd_intra_prediction.c"
 var $85=(($84+3)|0); //@line 1418 "../src/h264bsd_intra_prediction.c"
 HEAP8[($85)]=$83; //@line 1418 "../src/h264bsd_intra_prediction.c"
 var $86=$t2; //@line 1419 "../src/h264bsd_intra_prediction.c"
 var $87=$2; //@line 1419 "../src/h264bsd_intra_prediction.c"
 var $88=(($87+4)|0); //@line 1419 "../src/h264bsd_intra_prediction.c"
 HEAP8[($88)]=$86; //@line 1419 "../src/h264bsd_intra_prediction.c"
 label=16;break; //@line 1420 "../src/h264bsd_intra_prediction.c"
 case 15: 
 var $90=$y; //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $91=($90<<4); //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $92=$x; //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $93=((($91)+($92))|0); //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $94=((($93)-(1))|0); //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $95=$3; //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $96=(($95+$94)|0); //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $97=HEAP8[($96)]; //@line 1423 "../src/h264bsd_intra_prediction.c"
 $t1=$97; //@line 1423 "../src/h264bsd_intra_prediction.c"
 var $98=$y; //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $99=($98<<4); //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $100=$x; //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $101=((($99)+($100))|0); //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $102=((($101)-(1))|0); //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $103=((($102)+(16))|0); //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $104=$3; //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $105=(($104+$103)|0); //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $106=HEAP8[($105)]; //@line 1424 "../src/h264bsd_intra_prediction.c"
 $t2=$106; //@line 1424 "../src/h264bsd_intra_prediction.c"
 var $107=$t1; //@line 1425 "../src/h264bsd_intra_prediction.c"
 var $108=$2; //@line 1425 "../src/h264bsd_intra_prediction.c"
 var $109=(($108+1)|0); //@line 1425 "../src/h264bsd_intra_prediction.c"
 HEAP8[($109)]=$107; //@line 1425 "../src/h264bsd_intra_prediction.c"
 var $110=$t2; //@line 1426 "../src/h264bsd_intra_prediction.c"
 var $111=$2; //@line 1426 "../src/h264bsd_intra_prediction.c"
 var $112=(($111+2)|0); //@line 1426 "../src/h264bsd_intra_prediction.c"
 HEAP8[($112)]=$110; //@line 1426 "../src/h264bsd_intra_prediction.c"
 var $113=$y; //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $114=($113<<4); //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $115=$x; //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $116=((($114)+($115))|0); //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $117=((($116)-(1))|0); //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $118=((($117)+(32))|0); //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $119=$3; //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $120=(($119+$118)|0); //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $121=HEAP8[($120)]; //@line 1427 "../src/h264bsd_intra_prediction.c"
 $t1=$121; //@line 1427 "../src/h264bsd_intra_prediction.c"
 var $122=$y; //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $123=($122<<4); //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $124=$x; //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $125=((($123)+($124))|0); //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $126=((($125)-(1))|0); //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $127=((($126)+(48))|0); //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $128=$3; //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $129=(($128+$127)|0); //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $130=HEAP8[($129)]; //@line 1428 "../src/h264bsd_intra_prediction.c"
 $t2=$130; //@line 1428 "../src/h264bsd_intra_prediction.c"
 var $131=$t1; //@line 1429 "../src/h264bsd_intra_prediction.c"
 var $132=$2; //@line 1429 "../src/h264bsd_intra_prediction.c"
 var $133=(($132+3)|0); //@line 1429 "../src/h264bsd_intra_prediction.c"
 HEAP8[($133)]=$131; //@line 1429 "../src/h264bsd_intra_prediction.c"
 var $134=$t2; //@line 1430 "../src/h264bsd_intra_prediction.c"
 var $135=$2; //@line 1430 "../src/h264bsd_intra_prediction.c"
 var $136=(($135+4)|0); //@line 1430 "../src/h264bsd_intra_prediction.c"
 HEAP8[($136)]=$134; //@line 1430 "../src/h264bsd_intra_prediction.c"
 label=16;break;
 case 16: 
 var $138=$y; //@line 1434 "../src/h264bsd_intra_prediction.c"
 var $139=($138|0)==0; //@line 1434 "../src/h264bsd_intra_prediction.c"
 if($139){label=17;break;}else{label=18;break;} //@line 1434 "../src/h264bsd_intra_prediction.c"
 case 17: 
 var $141=$x; //@line 1436 "../src/h264bsd_intra_prediction.c"
 var $142=$4; //@line 1436 "../src/h264bsd_intra_prediction.c"
 var $143=(($142+$141)|0); //@line 1436 "../src/h264bsd_intra_prediction.c"
 var $144=HEAP8[($143)]; //@line 1436 "../src/h264bsd_intra_prediction.c"
 $t1=$144; //@line 1436 "../src/h264bsd_intra_prediction.c"
 var $145=$x; //@line 1437 "../src/h264bsd_intra_prediction.c"
 var $146=$4; //@line 1437 "../src/h264bsd_intra_prediction.c"
 var $147=(($146+$145)|0); //@line 1437 "../src/h264bsd_intra_prediction.c"
 var $148=HEAP8[($147)]; //@line 1437 "../src/h264bsd_intra_prediction.c"
 $t2=$148; //@line 1437 "../src/h264bsd_intra_prediction.c"
 var $149=$t1; //@line 1438 "../src/h264bsd_intra_prediction.c"
 var $150=$2; //@line 1438 "../src/h264bsd_intra_prediction.c"
 var $151=(($150)|0); //@line 1438 "../src/h264bsd_intra_prediction.c"
 HEAP8[($151)]=$149; //@line 1438 "../src/h264bsd_intra_prediction.c"
 var $152=$t2; //@line 1439 "../src/h264bsd_intra_prediction.c"
 var $153=$1; //@line 1439 "../src/h264bsd_intra_prediction.c"
 var $154=(($153)|0); //@line 1439 "../src/h264bsd_intra_prediction.c"
 HEAP8[($154)]=$152; //@line 1439 "../src/h264bsd_intra_prediction.c"
 var $155=$x; //@line 1440 "../src/h264bsd_intra_prediction.c"
 var $156=((($155)+(1))|0); //@line 1440 "../src/h264bsd_intra_prediction.c"
 var $157=$4; //@line 1440 "../src/h264bsd_intra_prediction.c"
 var $158=(($157+$156)|0); //@line 1440 "../src/h264bsd_intra_prediction.c"
 var $159=HEAP8[($158)]; //@line 1440 "../src/h264bsd_intra_prediction.c"
 $t1=$159; //@line 1440 "../src/h264bsd_intra_prediction.c"
 var $160=$x; //@line 1441 "../src/h264bsd_intra_prediction.c"
 var $161=((($160)+(2))|0); //@line 1441 "../src/h264bsd_intra_prediction.c"
 var $162=$4; //@line 1441 "../src/h264bsd_intra_prediction.c"
 var $163=(($162+$161)|0); //@line 1441 "../src/h264bsd_intra_prediction.c"
 var $164=HEAP8[($163)]; //@line 1441 "../src/h264bsd_intra_prediction.c"
 $t2=$164; //@line 1441 "../src/h264bsd_intra_prediction.c"
 var $165=$t1; //@line 1442 "../src/h264bsd_intra_prediction.c"
 var $166=$1; //@line 1442 "../src/h264bsd_intra_prediction.c"
 var $167=(($166+1)|0); //@line 1442 "../src/h264bsd_intra_prediction.c"
 HEAP8[($167)]=$165; //@line 1442 "../src/h264bsd_intra_prediction.c"
 var $168=$t2; //@line 1443 "../src/h264bsd_intra_prediction.c"
 var $169=$1; //@line 1443 "../src/h264bsd_intra_prediction.c"
 var $170=(($169+2)|0); //@line 1443 "../src/h264bsd_intra_prediction.c"
 HEAP8[($170)]=$168; //@line 1443 "../src/h264bsd_intra_prediction.c"
 var $171=$x; //@line 1444 "../src/h264bsd_intra_prediction.c"
 var $172=((($171)+(3))|0); //@line 1444 "../src/h264bsd_intra_prediction.c"
 var $173=$4; //@line 1444 "../src/h264bsd_intra_prediction.c"
 var $174=(($173+$172)|0); //@line 1444 "../src/h264bsd_intra_prediction.c"
 var $175=HEAP8[($174)]; //@line 1444 "../src/h264bsd_intra_prediction.c"
 $t1=$175; //@line 1444 "../src/h264bsd_intra_prediction.c"
 var $176=$x; //@line 1445 "../src/h264bsd_intra_prediction.c"
 var $177=((($176)+(4))|0); //@line 1445 "../src/h264bsd_intra_prediction.c"
 var $178=$4; //@line 1445 "../src/h264bsd_intra_prediction.c"
 var $179=(($178+$177)|0); //@line 1445 "../src/h264bsd_intra_prediction.c"
 var $180=HEAP8[($179)]; //@line 1445 "../src/h264bsd_intra_prediction.c"
 $t2=$180; //@line 1445 "../src/h264bsd_intra_prediction.c"
 var $181=$t1; //@line 1446 "../src/h264bsd_intra_prediction.c"
 var $182=$1; //@line 1446 "../src/h264bsd_intra_prediction.c"
 var $183=(($182+3)|0); //@line 1446 "../src/h264bsd_intra_prediction.c"
 HEAP8[($183)]=$181; //@line 1446 "../src/h264bsd_intra_prediction.c"
 var $184=$t2; //@line 1447 "../src/h264bsd_intra_prediction.c"
 var $185=$1; //@line 1447 "../src/h264bsd_intra_prediction.c"
 var $186=(($185+4)|0); //@line 1447 "../src/h264bsd_intra_prediction.c"
 HEAP8[($186)]=$184; //@line 1447 "../src/h264bsd_intra_prediction.c"
 var $187=$x; //@line 1448 "../src/h264bsd_intra_prediction.c"
 var $188=((($187)+(5))|0); //@line 1448 "../src/h264bsd_intra_prediction.c"
 var $189=$4; //@line 1448 "../src/h264bsd_intra_prediction.c"
 var $190=(($189+$188)|0); //@line 1448 "../src/h264bsd_intra_prediction.c"
 var $191=HEAP8[($190)]; //@line 1448 "../src/h264bsd_intra_prediction.c"
 $t1=$191; //@line 1448 "../src/h264bsd_intra_prediction.c"
 var $192=$x; //@line 1449 "../src/h264bsd_intra_prediction.c"
 var $193=((($192)+(6))|0); //@line 1449 "../src/h264bsd_intra_prediction.c"
 var $194=$4; //@line 1449 "../src/h264bsd_intra_prediction.c"
 var $195=(($194+$193)|0); //@line 1449 "../src/h264bsd_intra_prediction.c"
 var $196=HEAP8[($195)]; //@line 1449 "../src/h264bsd_intra_prediction.c"
 $t2=$196; //@line 1449 "../src/h264bsd_intra_prediction.c"
 var $197=$t1; //@line 1450 "../src/h264bsd_intra_prediction.c"
 var $198=$1; //@line 1450 "../src/h264bsd_intra_prediction.c"
 var $199=(($198+5)|0); //@line 1450 "../src/h264bsd_intra_prediction.c"
 HEAP8[($199)]=$197; //@line 1450 "../src/h264bsd_intra_prediction.c"
 var $200=$t2; //@line 1451 "../src/h264bsd_intra_prediction.c"
 var $201=$1; //@line 1451 "../src/h264bsd_intra_prediction.c"
 var $202=(($201+6)|0); //@line 1451 "../src/h264bsd_intra_prediction.c"
 HEAP8[($202)]=$200; //@line 1451 "../src/h264bsd_intra_prediction.c"
 var $203=$x; //@line 1452 "../src/h264bsd_intra_prediction.c"
 var $204=((($203)+(7))|0); //@line 1452 "../src/h264bsd_intra_prediction.c"
 var $205=$4; //@line 1452 "../src/h264bsd_intra_prediction.c"
 var $206=(($205+$204)|0); //@line 1452 "../src/h264bsd_intra_prediction.c"
 var $207=HEAP8[($206)]; //@line 1452 "../src/h264bsd_intra_prediction.c"
 $t1=$207; //@line 1452 "../src/h264bsd_intra_prediction.c"
 var $208=$x; //@line 1453 "../src/h264bsd_intra_prediction.c"
 var $209=((($208)+(8))|0); //@line 1453 "../src/h264bsd_intra_prediction.c"
 var $210=$4; //@line 1453 "../src/h264bsd_intra_prediction.c"
 var $211=(($210+$209)|0); //@line 1453 "../src/h264bsd_intra_prediction.c"
 var $212=HEAP8[($211)]; //@line 1453 "../src/h264bsd_intra_prediction.c"
 $t2=$212; //@line 1453 "../src/h264bsd_intra_prediction.c"
 var $213=$t1; //@line 1454 "../src/h264bsd_intra_prediction.c"
 var $214=$1; //@line 1454 "../src/h264bsd_intra_prediction.c"
 var $215=(($214+7)|0); //@line 1454 "../src/h264bsd_intra_prediction.c"
 HEAP8[($215)]=$213; //@line 1454 "../src/h264bsd_intra_prediction.c"
 var $216=$t2; //@line 1455 "../src/h264bsd_intra_prediction.c"
 var $217=$1; //@line 1455 "../src/h264bsd_intra_prediction.c"
 var $218=(($217+8)|0); //@line 1455 "../src/h264bsd_intra_prediction.c"
 HEAP8[($218)]=$216; //@line 1455 "../src/h264bsd_intra_prediction.c"
 label=22;break; //@line 1456 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $220=$y; //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $221=((($220)-(1))|0); //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $222=($221<<4); //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $223=$x; //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $224=((($222)+($223))|0); //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $225=$3; //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $226=(($225+$224)|0); //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $227=HEAP8[($226)]; //@line 1459 "../src/h264bsd_intra_prediction.c"
 $t1=$227; //@line 1459 "../src/h264bsd_intra_prediction.c"
 var $228=$y; //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $229=((($228)-(1))|0); //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $230=($229<<4); //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $231=$x; //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $232=((($230)+($231))|0); //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $233=((($232)+(1))|0); //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $234=$3; //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $235=(($234+$233)|0); //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $236=HEAP8[($235)]; //@line 1460 "../src/h264bsd_intra_prediction.c"
 $t2=$236; //@line 1460 "../src/h264bsd_intra_prediction.c"
 var $237=$t1; //@line 1461 "../src/h264bsd_intra_prediction.c"
 var $238=$1; //@line 1461 "../src/h264bsd_intra_prediction.c"
 var $239=(($238+1)|0); //@line 1461 "../src/h264bsd_intra_prediction.c"
 HEAP8[($239)]=$237; //@line 1461 "../src/h264bsd_intra_prediction.c"
 var $240=$t2; //@line 1462 "../src/h264bsd_intra_prediction.c"
 var $241=$1; //@line 1462 "../src/h264bsd_intra_prediction.c"
 var $242=(($241+2)|0); //@line 1462 "../src/h264bsd_intra_prediction.c"
 HEAP8[($242)]=$240; //@line 1462 "../src/h264bsd_intra_prediction.c"
 var $243=$y; //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $244=((($243)-(1))|0); //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $245=($244<<4); //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $246=$x; //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $247=((($245)+($246))|0); //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $248=((($247)+(2))|0); //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $249=$3; //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $250=(($249+$248)|0); //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $251=HEAP8[($250)]; //@line 1463 "../src/h264bsd_intra_prediction.c"
 $t1=$251; //@line 1463 "../src/h264bsd_intra_prediction.c"
 var $252=$y; //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $253=((($252)-(1))|0); //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $254=($253<<4); //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $255=$x; //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $256=((($254)+($255))|0); //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $257=((($256)+(3))|0); //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $258=$3; //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $259=(($258+$257)|0); //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $260=HEAP8[($259)]; //@line 1464 "../src/h264bsd_intra_prediction.c"
 $t2=$260; //@line 1464 "../src/h264bsd_intra_prediction.c"
 var $261=$t1; //@line 1465 "../src/h264bsd_intra_prediction.c"
 var $262=$1; //@line 1465 "../src/h264bsd_intra_prediction.c"
 var $263=(($262+3)|0); //@line 1465 "../src/h264bsd_intra_prediction.c"
 HEAP8[($263)]=$261; //@line 1465 "../src/h264bsd_intra_prediction.c"
 var $264=$t2; //@line 1466 "../src/h264bsd_intra_prediction.c"
 var $265=$1; //@line 1466 "../src/h264bsd_intra_prediction.c"
 var $266=(($265+4)|0); //@line 1466 "../src/h264bsd_intra_prediction.c"
 HEAP8[($266)]=$264; //@line 1466 "../src/h264bsd_intra_prediction.c"
 var $267=$y; //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $268=((($267)-(1))|0); //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $269=($268<<4); //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $270=$x; //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $271=((($269)+($270))|0); //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $272=((($271)+(4))|0); //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $273=$3; //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $274=(($273+$272)|0); //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $275=HEAP8[($274)]; //@line 1467 "../src/h264bsd_intra_prediction.c"
 $t1=$275; //@line 1467 "../src/h264bsd_intra_prediction.c"
 var $276=$y; //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $277=((($276)-(1))|0); //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $278=($277<<4); //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $279=$x; //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $280=((($278)+($279))|0); //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $281=((($280)+(5))|0); //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $282=$3; //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $283=(($282+$281)|0); //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $284=HEAP8[($283)]; //@line 1468 "../src/h264bsd_intra_prediction.c"
 $t2=$284; //@line 1468 "../src/h264bsd_intra_prediction.c"
 var $285=$t1; //@line 1469 "../src/h264bsd_intra_prediction.c"
 var $286=$1; //@line 1469 "../src/h264bsd_intra_prediction.c"
 var $287=(($286+5)|0); //@line 1469 "../src/h264bsd_intra_prediction.c"
 HEAP8[($287)]=$285; //@line 1469 "../src/h264bsd_intra_prediction.c"
 var $288=$t2; //@line 1470 "../src/h264bsd_intra_prediction.c"
 var $289=$1; //@line 1470 "../src/h264bsd_intra_prediction.c"
 var $290=(($289+6)|0); //@line 1470 "../src/h264bsd_intra_prediction.c"
 HEAP8[($290)]=$288; //@line 1470 "../src/h264bsd_intra_prediction.c"
 var $291=$y; //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $292=((($291)-(1))|0); //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $293=($292<<4); //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $294=$x; //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $295=((($293)+($294))|0); //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $296=((($295)+(6))|0); //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $297=$3; //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $298=(($297+$296)|0); //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $299=HEAP8[($298)]; //@line 1471 "../src/h264bsd_intra_prediction.c"
 $t1=$299; //@line 1471 "../src/h264bsd_intra_prediction.c"
 var $300=$y; //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $301=((($300)-(1))|0); //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $302=($301<<4); //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $303=$x; //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $304=((($302)+($303))|0); //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $305=((($304)+(7))|0); //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $306=$3; //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $307=(($306+$305)|0); //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $308=HEAP8[($307)]; //@line 1472 "../src/h264bsd_intra_prediction.c"
 $t2=$308; //@line 1472 "../src/h264bsd_intra_prediction.c"
 var $309=$t1; //@line 1473 "../src/h264bsd_intra_prediction.c"
 var $310=$1; //@line 1473 "../src/h264bsd_intra_prediction.c"
 var $311=(($310+7)|0); //@line 1473 "../src/h264bsd_intra_prediction.c"
 HEAP8[($311)]=$309; //@line 1473 "../src/h264bsd_intra_prediction.c"
 var $312=$t2; //@line 1474 "../src/h264bsd_intra_prediction.c"
 var $313=$1; //@line 1474 "../src/h264bsd_intra_prediction.c"
 var $314=(($313+8)|0); //@line 1474 "../src/h264bsd_intra_prediction.c"
 HEAP8[($314)]=$312; //@line 1474 "../src/h264bsd_intra_prediction.c"
 var $315=$x; //@line 1476 "../src/h264bsd_intra_prediction.c"
 var $316=($315|0)==0; //@line 1476 "../src/h264bsd_intra_prediction.c"
 if($316){label=19;break;}else{label=20;break;} //@line 1476 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $318=$y; //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $319=((($318)-(1))|0); //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $320=$5; //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $321=(($320+$319)|0); //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $322=HEAP8[($321)]; //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $323=$1; //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $324=(($323)|0); //@line 1477 "../src/h264bsd_intra_prediction.c"
 HEAP8[($324)]=$322; //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $325=$2; //@line 1477 "../src/h264bsd_intra_prediction.c"
 var $326=(($325)|0); //@line 1477 "../src/h264bsd_intra_prediction.c"
 HEAP8[($326)]=$322; //@line 1477 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 1477 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $328=$y; //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $329=((($328)-(1))|0); //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $330=($329<<4); //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $331=$x; //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $332=((($330)+($331))|0); //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $333=((($332)-(1))|0); //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $334=$3; //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $335=(($334+$333)|0); //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $336=HEAP8[($335)]; //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $337=$1; //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $338=(($337)|0); //@line 1479 "../src/h264bsd_intra_prediction.c"
 HEAP8[($338)]=$336; //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $339=$2; //@line 1479 "../src/h264bsd_intra_prediction.c"
 var $340=(($339)|0); //@line 1479 "../src/h264bsd_intra_prediction.c"
 HEAP8[($340)]=$336; //@line 1479 "../src/h264bsd_intra_prediction.c"
 label=21;break;
 case 21: 
 label=22;break;
 case 22: 
 STACKTOP=sp;return; //@line 1481 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4VerticalPrediction($data,$above){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $t1;
 var $t2;
 $1=$data;
 $2=$above;
 var $3=$1; //@line 1502 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1502 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1502 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1502,15392); //@line 1502 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1502 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1502 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1502 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1503 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1503 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1503 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1503,15392); //@line 1503 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1503 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1503 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1503 "../src/h264bsd_intra_prediction.c"
 var $17=$2; //@line 1505 "../src/h264bsd_intra_prediction.c"
 var $18=(($17)|0); //@line 1505 "../src/h264bsd_intra_prediction.c"
 var $19=HEAP8[($18)]; //@line 1505 "../src/h264bsd_intra_prediction.c"
 $t1=$19; //@line 1505 "../src/h264bsd_intra_prediction.c"
 var $20=$2; //@line 1506 "../src/h264bsd_intra_prediction.c"
 var $21=(($20+1)|0); //@line 1506 "../src/h264bsd_intra_prediction.c"
 var $22=HEAP8[($21)]; //@line 1506 "../src/h264bsd_intra_prediction.c"
 $t2=$22; //@line 1506 "../src/h264bsd_intra_prediction.c"
 var $23=$t1; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $24=$1; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $25=(($24+12)|0); //@line 1507 "../src/h264bsd_intra_prediction.c"
 HEAP8[($25)]=$23; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $26=$1; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $27=(($26+8)|0); //@line 1507 "../src/h264bsd_intra_prediction.c"
 HEAP8[($27)]=$23; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $28=$1; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $29=(($28+4)|0); //@line 1507 "../src/h264bsd_intra_prediction.c"
 HEAP8[($29)]=$23; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $30=$1; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $31=(($30)|0); //@line 1507 "../src/h264bsd_intra_prediction.c"
 HEAP8[($31)]=$23; //@line 1507 "../src/h264bsd_intra_prediction.c"
 var $32=$t2; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $33=$1; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $34=(($33+13)|0); //@line 1508 "../src/h264bsd_intra_prediction.c"
 HEAP8[($34)]=$32; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $35=$1; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $36=(($35+9)|0); //@line 1508 "../src/h264bsd_intra_prediction.c"
 HEAP8[($36)]=$32; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $37=$1; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $38=(($37+5)|0); //@line 1508 "../src/h264bsd_intra_prediction.c"
 HEAP8[($38)]=$32; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $39=$1; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $40=(($39+1)|0); //@line 1508 "../src/h264bsd_intra_prediction.c"
 HEAP8[($40)]=$32; //@line 1508 "../src/h264bsd_intra_prediction.c"
 var $41=$2; //@line 1509 "../src/h264bsd_intra_prediction.c"
 var $42=(($41+2)|0); //@line 1509 "../src/h264bsd_intra_prediction.c"
 var $43=HEAP8[($42)]; //@line 1509 "../src/h264bsd_intra_prediction.c"
 $t1=$43; //@line 1509 "../src/h264bsd_intra_prediction.c"
 var $44=$2; //@line 1510 "../src/h264bsd_intra_prediction.c"
 var $45=(($44+3)|0); //@line 1510 "../src/h264bsd_intra_prediction.c"
 var $46=HEAP8[($45)]; //@line 1510 "../src/h264bsd_intra_prediction.c"
 $t2=$46; //@line 1510 "../src/h264bsd_intra_prediction.c"
 var $47=$t1; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $48=$1; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $49=(($48+14)|0); //@line 1511 "../src/h264bsd_intra_prediction.c"
 HEAP8[($49)]=$47; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $50=$1; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $51=(($50+10)|0); //@line 1511 "../src/h264bsd_intra_prediction.c"
 HEAP8[($51)]=$47; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $52=$1; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $53=(($52+6)|0); //@line 1511 "../src/h264bsd_intra_prediction.c"
 HEAP8[($53)]=$47; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $54=$1; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $55=(($54+2)|0); //@line 1511 "../src/h264bsd_intra_prediction.c"
 HEAP8[($55)]=$47; //@line 1511 "../src/h264bsd_intra_prediction.c"
 var $56=$t2; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $57=$1; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $58=(($57+15)|0); //@line 1512 "../src/h264bsd_intra_prediction.c"
 HEAP8[($58)]=$56; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $59=$1; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $60=(($59+11)|0); //@line 1512 "../src/h264bsd_intra_prediction.c"
 HEAP8[($60)]=$56; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $61=$1; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $62=(($61+7)|0); //@line 1512 "../src/h264bsd_intra_prediction.c"
 HEAP8[($62)]=$56; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $63=$1; //@line 1512 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+3)|0); //@line 1512 "../src/h264bsd_intra_prediction.c"
 HEAP8[($64)]=$56; //@line 1512 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1514 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4HorizontalPrediction($data,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $t1;
 var $t2;
 $1=$data;
 $2=$left;
 var $3=$1; //@line 1534 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1534 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1534 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1534,15488); //@line 1534 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1534 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1534 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1534 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1535 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1535 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1535 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(5904,12024,1535,15488); //@line 1535 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1535 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1535 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1535 "../src/h264bsd_intra_prediction.c"
 var $17=$2; //@line 1537 "../src/h264bsd_intra_prediction.c"
 var $18=(($17)|0); //@line 1537 "../src/h264bsd_intra_prediction.c"
 var $19=HEAP8[($18)]; //@line 1537 "../src/h264bsd_intra_prediction.c"
 $t1=$19; //@line 1537 "../src/h264bsd_intra_prediction.c"
 var $20=$2; //@line 1538 "../src/h264bsd_intra_prediction.c"
 var $21=(($20+1)|0); //@line 1538 "../src/h264bsd_intra_prediction.c"
 var $22=HEAP8[($21)]; //@line 1538 "../src/h264bsd_intra_prediction.c"
 $t2=$22; //@line 1538 "../src/h264bsd_intra_prediction.c"
 var $23=$t1; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $24=$1; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $25=(($24+3)|0); //@line 1539 "../src/h264bsd_intra_prediction.c"
 HEAP8[($25)]=$23; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $26=$1; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $27=(($26+2)|0); //@line 1539 "../src/h264bsd_intra_prediction.c"
 HEAP8[($27)]=$23; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $28=$1; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $29=(($28+1)|0); //@line 1539 "../src/h264bsd_intra_prediction.c"
 HEAP8[($29)]=$23; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $30=$1; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $31=(($30)|0); //@line 1539 "../src/h264bsd_intra_prediction.c"
 HEAP8[($31)]=$23; //@line 1539 "../src/h264bsd_intra_prediction.c"
 var $32=$t2; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $33=$1; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $34=(($33+7)|0); //@line 1540 "../src/h264bsd_intra_prediction.c"
 HEAP8[($34)]=$32; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $35=$1; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $36=(($35+6)|0); //@line 1540 "../src/h264bsd_intra_prediction.c"
 HEAP8[($36)]=$32; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $37=$1; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $38=(($37+5)|0); //@line 1540 "../src/h264bsd_intra_prediction.c"
 HEAP8[($38)]=$32; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $39=$1; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $40=(($39+4)|0); //@line 1540 "../src/h264bsd_intra_prediction.c"
 HEAP8[($40)]=$32; //@line 1540 "../src/h264bsd_intra_prediction.c"
 var $41=$2; //@line 1541 "../src/h264bsd_intra_prediction.c"
 var $42=(($41+2)|0); //@line 1541 "../src/h264bsd_intra_prediction.c"
 var $43=HEAP8[($42)]; //@line 1541 "../src/h264bsd_intra_prediction.c"
 $t1=$43; //@line 1541 "../src/h264bsd_intra_prediction.c"
 var $44=$2; //@line 1542 "../src/h264bsd_intra_prediction.c"
 var $45=(($44+3)|0); //@line 1542 "../src/h264bsd_intra_prediction.c"
 var $46=HEAP8[($45)]; //@line 1542 "../src/h264bsd_intra_prediction.c"
 $t2=$46; //@line 1542 "../src/h264bsd_intra_prediction.c"
 var $47=$t1; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $48=$1; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $49=(($48+11)|0); //@line 1543 "../src/h264bsd_intra_prediction.c"
 HEAP8[($49)]=$47; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $50=$1; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $51=(($50+10)|0); //@line 1543 "../src/h264bsd_intra_prediction.c"
 HEAP8[($51)]=$47; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $52=$1; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $53=(($52+9)|0); //@line 1543 "../src/h264bsd_intra_prediction.c"
 HEAP8[($53)]=$47; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $54=$1; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $55=(($54+8)|0); //@line 1543 "../src/h264bsd_intra_prediction.c"
 HEAP8[($55)]=$47; //@line 1543 "../src/h264bsd_intra_prediction.c"
 var $56=$t2; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $57=$1; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $58=(($57+15)|0); //@line 1544 "../src/h264bsd_intra_prediction.c"
 HEAP8[($58)]=$56; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $59=$1; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $60=(($59+14)|0); //@line 1544 "../src/h264bsd_intra_prediction.c"
 HEAP8[($60)]=$56; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $61=$1; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $62=(($61+13)|0); //@line 1544 "../src/h264bsd_intra_prediction.c"
 HEAP8[($62)]=$56; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $63=$1; //@line 1544 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+12)|0); //@line 1544 "../src/h264bsd_intra_prediction.c"
 HEAP8[($64)]=$56; //@line 1544 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1546 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4DcPrediction($data,$above,$left,$availableA,$availableB){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $t1;
 var $t2;
 var $t3;
 var $t4;
 $1=$data;
 $2=$above;
 $3=$left;
 $4=$availableA;
 $5=$availableB;
 var $6=$1; //@line 1568 "../src/h264bsd_intra_prediction.c"
 var $7=($6|0)!=0; //@line 1568 "../src/h264bsd_intra_prediction.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 1568 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1568,15640); //@line 1568 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1568 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1568 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 1568 "../src/h264bsd_intra_prediction.c"
 var $13=$2; //@line 1569 "../src/h264bsd_intra_prediction.c"
 var $14=($13|0)!=0; //@line 1569 "../src/h264bsd_intra_prediction.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 1569 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1569,15640); //@line 1569 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1569 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1569 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 1569 "../src/h264bsd_intra_prediction.c"
 var $20=$3; //@line 1570 "../src/h264bsd_intra_prediction.c"
 var $21=($20|0)!=0; //@line 1570 "../src/h264bsd_intra_prediction.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 1570 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1570,15640); //@line 1570 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1570 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1570 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 1570 "../src/h264bsd_intra_prediction.c"
 var $27=$4; //@line 1572 "../src/h264bsd_intra_prediction.c"
 var $28=($27|0)!=0; //@line 1572 "../src/h264bsd_intra_prediction.c"
 if($28){label=8;break;}else{label=10;break;} //@line 1572 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $30=$5; //@line 1572 "../src/h264bsd_intra_prediction.c"
 var $31=($30|0)!=0; //@line 1572 "../src/h264bsd_intra_prediction.c"
 if($31){label=9;break;}else{label=10;break;} //@line 1572 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $33=$2; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $34=(($33)|0); //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $35=HEAP8[($34)]; //@line 1574 "../src/h264bsd_intra_prediction.c"
 $t1=$35; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $36=$2; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $37=(($36+1)|0); //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $38=HEAP8[($37)]; //@line 1574 "../src/h264bsd_intra_prediction.c"
 $t2=$38; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $39=$2; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $40=(($39+2)|0); //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $41=HEAP8[($40)]; //@line 1574 "../src/h264bsd_intra_prediction.c"
 $t3=$41; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $42=$2; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $43=(($42+3)|0); //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $44=HEAP8[($43)]; //@line 1574 "../src/h264bsd_intra_prediction.c"
 $t4=$44; //@line 1574 "../src/h264bsd_intra_prediction.c"
 var $45=$t1; //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $46=($45&255); //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $47=$t2; //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $48=($47&255); //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $49=((($46)+($48))|0); //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $50=$t3; //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $51=($50&255); //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $52=((($49)+($51))|0); //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $53=$t4; //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $54=($53&255); //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $55=((($52)+($54))|0); //@line 1575 "../src/h264bsd_intra_prediction.c"
 $tmp=$55; //@line 1575 "../src/h264bsd_intra_prediction.c"
 var $56=$3; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $57=(($56)|0); //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $58=HEAP8[($57)]; //@line 1576 "../src/h264bsd_intra_prediction.c"
 $t1=$58; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $59=$3; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $60=(($59+1)|0); //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $61=HEAP8[($60)]; //@line 1576 "../src/h264bsd_intra_prediction.c"
 $t2=$61; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $62=$3; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $63=(($62+2)|0); //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $64=HEAP8[($63)]; //@line 1576 "../src/h264bsd_intra_prediction.c"
 $t3=$64; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $65=$3; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $66=(($65+3)|0); //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $67=HEAP8[($66)]; //@line 1576 "../src/h264bsd_intra_prediction.c"
 $t4=$67; //@line 1576 "../src/h264bsd_intra_prediction.c"
 var $68=$t1; //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $69=($68&255); //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $70=$t2; //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $71=($70&255); //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $72=((($69)+($71))|0); //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $73=$t3; //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $74=($73&255); //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $75=((($72)+($74))|0); //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $76=$t4; //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $77=($76&255); //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $78=((($75)+($77))|0); //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $79=$tmp; //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $80=((($79)+($78))|0); //@line 1577 "../src/h264bsd_intra_prediction.c"
 $tmp=$80; //@line 1577 "../src/h264bsd_intra_prediction.c"
 var $81=$tmp; //@line 1578 "../src/h264bsd_intra_prediction.c"
 var $82=((($81)+(4))|0); //@line 1578 "../src/h264bsd_intra_prediction.c"
 var $83=$82>>>3; //@line 1578 "../src/h264bsd_intra_prediction.c"
 $tmp=$83; //@line 1578 "../src/h264bsd_intra_prediction.c"
 label=17;break; //@line 1579 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $85=$4; //@line 1580 "../src/h264bsd_intra_prediction.c"
 var $86=($85|0)!=0; //@line 1580 "../src/h264bsd_intra_prediction.c"
 if($86){label=11;break;}else{label=12;break;} //@line 1580 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $88=$3; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $89=(($88)|0); //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $90=HEAP8[($89)]; //@line 1582 "../src/h264bsd_intra_prediction.c"
 $t1=$90; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $91=$3; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $92=(($91+1)|0); //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $93=HEAP8[($92)]; //@line 1582 "../src/h264bsd_intra_prediction.c"
 $t2=$93; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $94=$3; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $95=(($94+2)|0); //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $96=HEAP8[($95)]; //@line 1582 "../src/h264bsd_intra_prediction.c"
 $t3=$96; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $97=$3; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $98=(($97+3)|0); //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $99=HEAP8[($98)]; //@line 1582 "../src/h264bsd_intra_prediction.c"
 $t4=$99; //@line 1582 "../src/h264bsd_intra_prediction.c"
 var $100=$t1; //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $101=($100&255); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $102=$t2; //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $103=($102&255); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $104=((($101)+($103))|0); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $105=$t3; //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $106=($105&255); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $107=((($104)+($106))|0); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $108=$t4; //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $109=($108&255); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $110=((($107)+($109))|0); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $111=((($110)+(2))|0); //@line 1583 "../src/h264bsd_intra_prediction.c"
 var $112=$111>>2; //@line 1583 "../src/h264bsd_intra_prediction.c"
 $tmp=$112; //@line 1583 "../src/h264bsd_intra_prediction.c"
 label=16;break; //@line 1584 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $114=$5; //@line 1585 "../src/h264bsd_intra_prediction.c"
 var $115=($114|0)!=0; //@line 1585 "../src/h264bsd_intra_prediction.c"
 if($115){label=13;break;}else{label=14;break;} //@line 1585 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $117=$2; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $118=(($117)|0); //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $119=HEAP8[($118)]; //@line 1587 "../src/h264bsd_intra_prediction.c"
 $t1=$119; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $120=$2; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $121=(($120+1)|0); //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $122=HEAP8[($121)]; //@line 1587 "../src/h264bsd_intra_prediction.c"
 $t2=$122; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $123=$2; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $124=(($123+2)|0); //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $125=HEAP8[($124)]; //@line 1587 "../src/h264bsd_intra_prediction.c"
 $t3=$125; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $126=$2; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $127=(($126+3)|0); //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $128=HEAP8[($127)]; //@line 1587 "../src/h264bsd_intra_prediction.c"
 $t4=$128; //@line 1587 "../src/h264bsd_intra_prediction.c"
 var $129=$t1; //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $130=($129&255); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $131=$t2; //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $132=($131&255); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $133=((($130)+($132))|0); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $134=$t3; //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $135=($134&255); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $136=((($133)+($135))|0); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $137=$t4; //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $138=($137&255); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $139=((($136)+($138))|0); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $140=((($139)+(2))|0); //@line 1588 "../src/h264bsd_intra_prediction.c"
 var $141=$140>>2; //@line 1588 "../src/h264bsd_intra_prediction.c"
 $tmp=$141; //@line 1588 "../src/h264bsd_intra_prediction.c"
 label=15;break; //@line 1589 "../src/h264bsd_intra_prediction.c"
 case 14: 
 $tmp=128; //@line 1592 "../src/h264bsd_intra_prediction.c"
 label=15;break;
 case 15: 
 label=16;break;
 case 16: 
 label=17;break;
 case 17: 
 var $146=$tmp; //@line 1595 "../src/h264bsd_intra_prediction.c"
 var $147=($146>>>0)<256; //@line 1595 "../src/h264bsd_intra_prediction.c"
 if($147){var $151=1;label=19;break;}else{label=18;break;} //@line 1595 "../src/h264bsd_intra_prediction.c"
 case 18: 
 ___assert_fail(9712,12024,1595,15640); //@line 1595 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1595 "../src/h264bsd_intra_prediction.c"
 label=19;break; //@line 1595 "../src/h264bsd_intra_prediction.c"
 case 19: 
 var $151;
 var $152=($151&1); //@line 1595 "../src/h264bsd_intra_prediction.c"
 var $153=$tmp; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $154=(($153)&255); //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $155=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $156=(($155+15)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($156)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $157=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $158=(($157+14)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($158)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $159=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $160=(($159+13)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($160)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $161=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $162=(($161+12)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($162)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $163=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $164=(($163+11)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($164)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $165=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $166=(($165+10)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($166)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $167=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $168=(($167+9)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($168)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $169=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $170=(($169+8)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($170)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $171=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $172=(($171+7)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($172)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $173=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $174=(($173+6)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($174)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $175=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $176=(($175+5)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($176)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $177=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $178=(($177+4)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($178)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $179=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $180=(($179+3)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($180)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $181=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $182=(($181+2)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($182)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $183=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $184=(($183+1)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($184)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $185=$1; //@line 1596 "../src/h264bsd_intra_prediction.c"
 var $186=(($185)|0); //@line 1596 "../src/h264bsd_intra_prediction.c"
 HEAP8[($186)]=$154; //@line 1596 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1601 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4DiagonalDownLeftPrediction($data,$above){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $1=$data;
 $2=$above;
 var $3=$1; //@line 1619 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1619 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1619 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1619,15600); //@line 1619 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1619 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1619 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1619 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1620 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1620 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1620 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1620,15600); //@line 1620 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1620 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1620 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1620 "../src/h264bsd_intra_prediction.c"
 var $17=$2; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $18=(($17)|0); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $19=HEAP8[($18)]; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $20=($19&255); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $21=$2; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $22=(($21+1)|0); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $23=HEAP8[($22)]; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $24=($23&255); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $25=($24<<1); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $26=((($20)+($25))|0); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $27=$2; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $28=(($27+2)|0); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $29=HEAP8[($28)]; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $30=($29&255); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $31=((($26)+($30))|0); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $32=((($31)+(2))|0); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $33=$32>>2; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $34=(($33)&255); //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $35=$1; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $36=(($35)|0); //@line 1622 "../src/h264bsd_intra_prediction.c"
 HEAP8[($36)]=$34; //@line 1622 "../src/h264bsd_intra_prediction.c"
 var $37=$2; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $38=(($37+1)|0); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $39=HEAP8[($38)]; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $40=($39&255); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $41=$2; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $42=(($41+2)|0); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $43=HEAP8[($42)]; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $44=($43&255); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $45=($44<<1); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $46=((($40)+($45))|0); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $47=$2; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $48=(($47+3)|0); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $49=HEAP8[($48)]; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $50=($49&255); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $51=((($46)+($50))|0); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $52=((($51)+(2))|0); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $53=$52>>2; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $54=(($53)&255); //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $55=$1; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $56=(($55+1)|0); //@line 1623 "../src/h264bsd_intra_prediction.c"
 HEAP8[($56)]=$54; //@line 1623 "../src/h264bsd_intra_prediction.c"
 var $57=$2; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $58=(($57+1)|0); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $59=HEAP8[($58)]; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $60=($59&255); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $61=$2; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $62=(($61+2)|0); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $63=HEAP8[($62)]; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $64=($63&255); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $65=($64<<1); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $66=((($60)+($65))|0); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $67=$2; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $68=(($67+3)|0); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $69=HEAP8[($68)]; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $70=($69&255); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $71=((($66)+($70))|0); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $72=((($71)+(2))|0); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $73=$72>>2; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $74=(($73)&255); //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $75=$1; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $76=(($75+4)|0); //@line 1624 "../src/h264bsd_intra_prediction.c"
 HEAP8[($76)]=$74; //@line 1624 "../src/h264bsd_intra_prediction.c"
 var $77=$2; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $78=(($77+2)|0); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $79=HEAP8[($78)]; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $80=($79&255); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $81=$2; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $82=(($81+3)|0); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $83=HEAP8[($82)]; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $84=($83&255); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $85=($84<<1); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $86=((($80)+($85))|0); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $87=$2; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $88=(($87+4)|0); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $89=HEAP8[($88)]; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $90=($89&255); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $91=((($86)+($90))|0); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $92=((($91)+(2))|0); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $93=$92>>2; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $94=(($93)&255); //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $95=$1; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $96=(($95+2)|0); //@line 1625 "../src/h264bsd_intra_prediction.c"
 HEAP8[($96)]=$94; //@line 1625 "../src/h264bsd_intra_prediction.c"
 var $97=$2; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $98=(($97+2)|0); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $99=HEAP8[($98)]; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $100=($99&255); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $101=$2; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $102=(($101+3)|0); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $103=HEAP8[($102)]; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $104=($103&255); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $105=($104<<1); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $106=((($100)+($105))|0); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $107=$2; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $108=(($107+4)|0); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $109=HEAP8[($108)]; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $110=($109&255); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $111=((($106)+($110))|0); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $112=((($111)+(2))|0); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $113=$112>>2; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $114=(($113)&255); //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $115=$1; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $116=(($115+5)|0); //@line 1626 "../src/h264bsd_intra_prediction.c"
 HEAP8[($116)]=$114; //@line 1626 "../src/h264bsd_intra_prediction.c"
 var $117=$2; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $118=(($117+2)|0); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $119=HEAP8[($118)]; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $120=($119&255); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $121=$2; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $122=(($121+3)|0); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $123=HEAP8[($122)]; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $124=($123&255); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $125=($124<<1); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $126=((($120)+($125))|0); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $127=$2; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $128=(($127+4)|0); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $129=HEAP8[($128)]; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $130=($129&255); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $131=((($126)+($130))|0); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $132=((($131)+(2))|0); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $133=$132>>2; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $134=(($133)&255); //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $135=$1; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $136=(($135+8)|0); //@line 1627 "../src/h264bsd_intra_prediction.c"
 HEAP8[($136)]=$134; //@line 1627 "../src/h264bsd_intra_prediction.c"
 var $137=$2; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $138=(($137+3)|0); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $139=HEAP8[($138)]; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $140=($139&255); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $141=$2; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $142=(($141+4)|0); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $143=HEAP8[($142)]; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $144=($143&255); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $145=($144<<1); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $146=((($140)+($145))|0); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $147=$2; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $148=(($147+5)|0); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $149=HEAP8[($148)]; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $150=($149&255); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $151=((($146)+($150))|0); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $152=((($151)+(2))|0); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $153=$152>>2; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $154=(($153)&255); //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $155=$1; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $156=(($155+3)|0); //@line 1628 "../src/h264bsd_intra_prediction.c"
 HEAP8[($156)]=$154; //@line 1628 "../src/h264bsd_intra_prediction.c"
 var $157=$2; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $158=(($157+3)|0); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $159=HEAP8[($158)]; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $160=($159&255); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $161=$2; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $162=(($161+4)|0); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $163=HEAP8[($162)]; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $164=($163&255); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $165=($164<<1); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $166=((($160)+($165))|0); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $167=$2; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $168=(($167+5)|0); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $169=HEAP8[($168)]; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $170=($169&255); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $171=((($166)+($170))|0); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $172=((($171)+(2))|0); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $173=$172>>2; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $174=(($173)&255); //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $175=$1; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $176=(($175+6)|0); //@line 1629 "../src/h264bsd_intra_prediction.c"
 HEAP8[($176)]=$174; //@line 1629 "../src/h264bsd_intra_prediction.c"
 var $177=$2; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $178=(($177+3)|0); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $179=HEAP8[($178)]; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $180=($179&255); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $181=$2; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $182=(($181+4)|0); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $183=HEAP8[($182)]; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $184=($183&255); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $185=($184<<1); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $186=((($180)+($185))|0); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $187=$2; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $188=(($187+5)|0); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $189=HEAP8[($188)]; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $190=($189&255); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $191=((($186)+($190))|0); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $192=((($191)+(2))|0); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $193=$192>>2; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $194=(($193)&255); //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $195=$1; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $196=(($195+9)|0); //@line 1630 "../src/h264bsd_intra_prediction.c"
 HEAP8[($196)]=$194; //@line 1630 "../src/h264bsd_intra_prediction.c"
 var $197=$2; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $198=(($197+3)|0); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $199=HEAP8[($198)]; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $200=($199&255); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $201=$2; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $202=(($201+4)|0); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $203=HEAP8[($202)]; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $204=($203&255); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $205=($204<<1); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $206=((($200)+($205))|0); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $207=$2; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $208=(($207+5)|0); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $209=HEAP8[($208)]; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $210=($209&255); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $211=((($206)+($210))|0); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $212=((($211)+(2))|0); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $213=$212>>2; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $214=(($213)&255); //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $215=$1; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $216=(($215+12)|0); //@line 1631 "../src/h264bsd_intra_prediction.c"
 HEAP8[($216)]=$214; //@line 1631 "../src/h264bsd_intra_prediction.c"
 var $217=$2; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $218=(($217+4)|0); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $219=HEAP8[($218)]; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $220=($219&255); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $221=$2; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $222=(($221+5)|0); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $223=HEAP8[($222)]; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $224=($223&255); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $225=($224<<1); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $226=((($220)+($225))|0); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $227=$2; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $228=(($227+6)|0); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $229=HEAP8[($228)]; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $230=($229&255); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $231=((($226)+($230))|0); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $232=((($231)+(2))|0); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $233=$232>>2; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $234=(($233)&255); //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $235=$1; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $236=(($235+7)|0); //@line 1632 "../src/h264bsd_intra_prediction.c"
 HEAP8[($236)]=$234; //@line 1632 "../src/h264bsd_intra_prediction.c"
 var $237=$2; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $238=(($237+4)|0); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $239=HEAP8[($238)]; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $240=($239&255); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $241=$2; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $242=(($241+5)|0); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $243=HEAP8[($242)]; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $244=($243&255); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $245=($244<<1); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $246=((($240)+($245))|0); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $247=$2; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $248=(($247+6)|0); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $249=HEAP8[($248)]; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $250=($249&255); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $251=((($246)+($250))|0); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $252=((($251)+(2))|0); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $253=$252>>2; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $254=(($253)&255); //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $255=$1; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $256=(($255+10)|0); //@line 1633 "../src/h264bsd_intra_prediction.c"
 HEAP8[($256)]=$254; //@line 1633 "../src/h264bsd_intra_prediction.c"
 var $257=$2; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $258=(($257+4)|0); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $259=HEAP8[($258)]; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $260=($259&255); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $261=$2; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $262=(($261+5)|0); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $263=HEAP8[($262)]; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $264=($263&255); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $265=($264<<1); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $266=((($260)+($265))|0); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $267=$2; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $268=(($267+6)|0); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $269=HEAP8[($268)]; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $270=($269&255); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $271=((($266)+($270))|0); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $272=((($271)+(2))|0); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $273=$272>>2; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $274=(($273)&255); //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $275=$1; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $276=(($275+13)|0); //@line 1634 "../src/h264bsd_intra_prediction.c"
 HEAP8[($276)]=$274; //@line 1634 "../src/h264bsd_intra_prediction.c"
 var $277=$2; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $278=(($277+5)|0); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $279=HEAP8[($278)]; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $280=($279&255); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $281=$2; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $282=(($281+6)|0); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $283=HEAP8[($282)]; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $284=($283&255); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $285=($284<<1); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $286=((($280)+($285))|0); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $287=$2; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $288=(($287+7)|0); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $289=HEAP8[($288)]; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $290=($289&255); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $291=((($286)+($290))|0); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $292=((($291)+(2))|0); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $293=$292>>2; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $294=(($293)&255); //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $295=$1; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $296=(($295+11)|0); //@line 1635 "../src/h264bsd_intra_prediction.c"
 HEAP8[($296)]=$294; //@line 1635 "../src/h264bsd_intra_prediction.c"
 var $297=$2; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $298=(($297+5)|0); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $299=HEAP8[($298)]; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $300=($299&255); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $301=$2; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $302=(($301+6)|0); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $303=HEAP8[($302)]; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $304=($303&255); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $305=($304<<1); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $306=((($300)+($305))|0); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $307=$2; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $308=(($307+7)|0); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $309=HEAP8[($308)]; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $310=($309&255); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $311=((($306)+($310))|0); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $312=((($311)+(2))|0); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $313=$312>>2; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $314=(($313)&255); //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $315=$1; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $316=(($315+14)|0); //@line 1636 "../src/h264bsd_intra_prediction.c"
 HEAP8[($316)]=$314; //@line 1636 "../src/h264bsd_intra_prediction.c"
 var $317=$2; //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $318=(($317+6)|0); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $319=HEAP8[($318)]; //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $320=($319&255); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $321=$2; //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $322=(($321+7)|0); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $323=HEAP8[($322)]; //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $324=($323&255); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $325=((($324)*(3))&-1); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $326=((($320)+($325))|0); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $327=((($326)+(2))|0); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $328=$327>>2; //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $329=(($328)&255); //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $330=$1; //@line 1637 "../src/h264bsd_intra_prediction.c"
 var $331=(($330+15)|0); //@line 1637 "../src/h264bsd_intra_prediction.c"
 HEAP8[($331)]=$329; //@line 1637 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1639 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4DiagonalDownRightPrediction($data,$above,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 $1=$data;
 $2=$above;
 $3=$left;
 var $4=$1; //@line 1657 "../src/h264bsd_intra_prediction.c"
 var $5=($4|0)!=0; //@line 1657 "../src/h264bsd_intra_prediction.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1657 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1657,15560); //@line 1657 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1657 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1657 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1657 "../src/h264bsd_intra_prediction.c"
 var $11=$2; //@line 1658 "../src/h264bsd_intra_prediction.c"
 var $12=($11|0)!=0; //@line 1658 "../src/h264bsd_intra_prediction.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1658 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1658,15560); //@line 1658 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1658 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1658 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1658 "../src/h264bsd_intra_prediction.c"
 var $18=$3; //@line 1659 "../src/h264bsd_intra_prediction.c"
 var $19=($18|0)!=0; //@line 1659 "../src/h264bsd_intra_prediction.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 1659 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1659,15560); //@line 1659 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1659 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1659 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 1659 "../src/h264bsd_intra_prediction.c"
 var $25=$2; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $26=(($25)|0); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP8[($26)]; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $28=($27&255); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $29=$2; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $30=((($29)-(1))|0); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $31=HEAP8[($30)]; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $32=($31&255); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $33=($32<<1); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $34=((($28)+($33))|0); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $35=$3; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $36=(($35)|0); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $37=HEAP8[($36)]; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $38=($37&255); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $39=((($34)+($38))|0); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $40=((($39)+(2))|0); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $41=$40>>2; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $42=(($41)&255); //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $43=$1; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $44=(($43)|0); //@line 1661 "../src/h264bsd_intra_prediction.c"
 HEAP8[($44)]=$42; //@line 1661 "../src/h264bsd_intra_prediction.c"
 var $45=$2; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $46=(($45)|0); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $47=HEAP8[($46)]; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $48=($47&255); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $49=$2; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $50=((($49)-(1))|0); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $51=HEAP8[($50)]; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $52=($51&255); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $53=($52<<1); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $54=((($48)+($53))|0); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $55=$3; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $56=(($55)|0); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $57=HEAP8[($56)]; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $58=($57&255); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $59=((($54)+($58))|0); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $60=((($59)+(2))|0); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $61=$60>>2; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $62=(($61)&255); //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $63=$1; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+5)|0); //@line 1662 "../src/h264bsd_intra_prediction.c"
 HEAP8[($64)]=$62; //@line 1662 "../src/h264bsd_intra_prediction.c"
 var $65=$2; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $66=(($65)|0); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $67=HEAP8[($66)]; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $68=($67&255); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $69=$2; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $70=((($69)-(1))|0); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $71=HEAP8[($70)]; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $72=($71&255); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $73=($72<<1); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $74=((($68)+($73))|0); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $75=$3; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $76=(($75)|0); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $77=HEAP8[($76)]; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $78=($77&255); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $79=((($74)+($78))|0); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $80=((($79)+(2))|0); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $81=$80>>2; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $82=(($81)&255); //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $83=$1; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $84=(($83+10)|0); //@line 1663 "../src/h264bsd_intra_prediction.c"
 HEAP8[($84)]=$82; //@line 1663 "../src/h264bsd_intra_prediction.c"
 var $85=$2; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $86=(($85)|0); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $87=HEAP8[($86)]; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $88=($87&255); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $89=$2; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $90=((($89)-(1))|0); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $91=HEAP8[($90)]; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $92=($91&255); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $93=($92<<1); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $94=((($88)+($93))|0); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $95=$3; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $96=(($95)|0); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $97=HEAP8[($96)]; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $98=($97&255); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $99=((($94)+($98))|0); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $100=((($99)+(2))|0); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $101=$100>>2; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $102=(($101)&255); //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $103=$1; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $104=(($103+15)|0); //@line 1664 "../src/h264bsd_intra_prediction.c"
 HEAP8[($104)]=$102; //@line 1664 "../src/h264bsd_intra_prediction.c"
 var $105=$2; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $106=((($105)-(1))|0); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $107=HEAP8[($106)]; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $108=($107&255); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $109=$2; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $110=(($109)|0); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $111=HEAP8[($110)]; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $112=($111&255); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $113=($112<<1); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $114=((($108)+($113))|0); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $115=$2; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $116=(($115+1)|0); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $117=HEAP8[($116)]; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $118=($117&255); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $119=((($114)+($118))|0); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $120=((($119)+(2))|0); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $121=$120>>2; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $122=(($121)&255); //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $123=$1; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $124=(($123+1)|0); //@line 1665 "../src/h264bsd_intra_prediction.c"
 HEAP8[($124)]=$122; //@line 1665 "../src/h264bsd_intra_prediction.c"
 var $125=$2; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $126=((($125)-(1))|0); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $127=HEAP8[($126)]; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $128=($127&255); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $129=$2; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $130=(($129)|0); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $131=HEAP8[($130)]; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $132=($131&255); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $133=($132<<1); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $134=((($128)+($133))|0); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $135=$2; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $136=(($135+1)|0); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $137=HEAP8[($136)]; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $138=($137&255); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $139=((($134)+($138))|0); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $140=((($139)+(2))|0); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $141=$140>>2; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $142=(($141)&255); //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $143=$1; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $144=(($143+6)|0); //@line 1666 "../src/h264bsd_intra_prediction.c"
 HEAP8[($144)]=$142; //@line 1666 "../src/h264bsd_intra_prediction.c"
 var $145=$2; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $146=((($145)-(1))|0); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $147=HEAP8[($146)]; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $148=($147&255); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $149=$2; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $150=(($149)|0); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $151=HEAP8[($150)]; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $152=($151&255); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $153=($152<<1); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $154=((($148)+($153))|0); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $155=$2; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $156=(($155+1)|0); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $157=HEAP8[($156)]; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $158=($157&255); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $159=((($154)+($158))|0); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $160=((($159)+(2))|0); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $161=$160>>2; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $162=(($161)&255); //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $163=$1; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $164=(($163+11)|0); //@line 1667 "../src/h264bsd_intra_prediction.c"
 HEAP8[($164)]=$162; //@line 1667 "../src/h264bsd_intra_prediction.c"
 var $165=$2; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $166=(($165)|0); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $167=HEAP8[($166)]; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $168=($167&255); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $169=$2; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $170=(($169+1)|0); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $171=HEAP8[($170)]; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $172=($171&255); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $173=($172<<1); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $174=((($168)+($173))|0); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $175=$2; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $176=(($175+2)|0); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $177=HEAP8[($176)]; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $178=($177&255); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $179=((($174)+($178))|0); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $180=((($179)+(2))|0); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $181=$180>>2; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $182=(($181)&255); //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $183=$1; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $184=(($183+2)|0); //@line 1668 "../src/h264bsd_intra_prediction.c"
 HEAP8[($184)]=$182; //@line 1668 "../src/h264bsd_intra_prediction.c"
 var $185=$2; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $186=(($185)|0); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $187=HEAP8[($186)]; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $188=($187&255); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $189=$2; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $190=(($189+1)|0); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $191=HEAP8[($190)]; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $192=($191&255); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $193=($192<<1); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $194=((($188)+($193))|0); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $195=$2; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $196=(($195+2)|0); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $197=HEAP8[($196)]; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $198=($197&255); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $199=((($194)+($198))|0); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $200=((($199)+(2))|0); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $201=$200>>2; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $202=(($201)&255); //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $203=$1; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $204=(($203+7)|0); //@line 1669 "../src/h264bsd_intra_prediction.c"
 HEAP8[($204)]=$202; //@line 1669 "../src/h264bsd_intra_prediction.c"
 var $205=$2; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $206=(($205+1)|0); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $207=HEAP8[($206)]; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $208=($207&255); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $209=$2; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $210=(($209+2)|0); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $211=HEAP8[($210)]; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $212=($211&255); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $213=($212<<1); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $214=((($208)+($213))|0); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $215=$2; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $216=(($215+3)|0); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $217=HEAP8[($216)]; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $218=($217&255); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $219=((($214)+($218))|0); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $220=((($219)+(2))|0); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $221=$220>>2; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $222=(($221)&255); //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $223=$1; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $224=(($223+3)|0); //@line 1670 "../src/h264bsd_intra_prediction.c"
 HEAP8[($224)]=$222; //@line 1670 "../src/h264bsd_intra_prediction.c"
 var $225=$3; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $226=((($225)-(1))|0); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $227=HEAP8[($226)]; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $228=($227&255); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $229=$3; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $230=(($229)|0); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $231=HEAP8[($230)]; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $232=($231&255); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $233=($232<<1); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $234=((($228)+($233))|0); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $235=$3; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $236=(($235+1)|0); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $237=HEAP8[($236)]; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $238=($237&255); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $239=((($234)+($238))|0); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $240=((($239)+(2))|0); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $241=$240>>2; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $242=(($241)&255); //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $243=$1; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $244=(($243+4)|0); //@line 1671 "../src/h264bsd_intra_prediction.c"
 HEAP8[($244)]=$242; //@line 1671 "../src/h264bsd_intra_prediction.c"
 var $245=$3; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $246=((($245)-(1))|0); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $247=HEAP8[($246)]; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $248=($247&255); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $249=$3; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $250=(($249)|0); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $251=HEAP8[($250)]; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $252=($251&255); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $253=($252<<1); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $254=((($248)+($253))|0); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $255=$3; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $256=(($255+1)|0); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $257=HEAP8[($256)]; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $258=($257&255); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $259=((($254)+($258))|0); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $260=((($259)+(2))|0); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $261=$260>>2; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $262=(($261)&255); //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $263=$1; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $264=(($263+9)|0); //@line 1672 "../src/h264bsd_intra_prediction.c"
 HEAP8[($264)]=$262; //@line 1672 "../src/h264bsd_intra_prediction.c"
 var $265=$3; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $266=((($265)-(1))|0); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $267=HEAP8[($266)]; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $268=($267&255); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $269=$3; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $270=(($269)|0); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $271=HEAP8[($270)]; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $272=($271&255); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $273=($272<<1); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $274=((($268)+($273))|0); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $275=$3; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $276=(($275+1)|0); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $277=HEAP8[($276)]; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $278=($277&255); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $279=((($274)+($278))|0); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $280=((($279)+(2))|0); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $281=$280>>2; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $282=(($281)&255); //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $283=$1; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $284=(($283+14)|0); //@line 1673 "../src/h264bsd_intra_prediction.c"
 HEAP8[($284)]=$282; //@line 1673 "../src/h264bsd_intra_prediction.c"
 var $285=$3; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $286=(($285)|0); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $287=HEAP8[($286)]; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $288=($287&255); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $289=$3; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $290=(($289+1)|0); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $291=HEAP8[($290)]; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $292=($291&255); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $293=($292<<1); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $294=((($288)+($293))|0); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $295=$3; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $296=(($295+2)|0); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $297=HEAP8[($296)]; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $298=($297&255); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $299=((($294)+($298))|0); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $300=((($299)+(2))|0); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $301=$300>>2; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $302=(($301)&255); //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $303=$1; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $304=(($303+8)|0); //@line 1674 "../src/h264bsd_intra_prediction.c"
 HEAP8[($304)]=$302; //@line 1674 "../src/h264bsd_intra_prediction.c"
 var $305=$3; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $306=(($305)|0); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $307=HEAP8[($306)]; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $308=($307&255); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $309=$3; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $310=(($309+1)|0); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $311=HEAP8[($310)]; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $312=($311&255); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $313=($312<<1); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $314=((($308)+($313))|0); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $315=$3; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $316=(($315+2)|0); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $317=HEAP8[($316)]; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $318=($317&255); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $319=((($314)+($318))|0); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $320=((($319)+(2))|0); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $321=$320>>2; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $322=(($321)&255); //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $323=$1; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $324=(($323+13)|0); //@line 1675 "../src/h264bsd_intra_prediction.c"
 HEAP8[($324)]=$322; //@line 1675 "../src/h264bsd_intra_prediction.c"
 var $325=$3; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $326=(($325+1)|0); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $327=HEAP8[($326)]; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $328=($327&255); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $329=$3; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $330=(($329+2)|0); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $331=HEAP8[($330)]; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $332=($331&255); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $333=($332<<1); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $334=((($328)+($333))|0); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $335=$3; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $336=(($335+3)|0); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $337=HEAP8[($336)]; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $338=($337&255); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $339=((($334)+($338))|0); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $340=((($339)+(2))|0); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $341=$340>>2; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $342=(($341)&255); //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $343=$1; //@line 1676 "../src/h264bsd_intra_prediction.c"
 var $344=(($343+12)|0); //@line 1676 "../src/h264bsd_intra_prediction.c"
 HEAP8[($344)]=$342; //@line 1676 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1677 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4VerticalRightPrediction($data,$above,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 $1=$data;
 $2=$above;
 $3=$left;
 var $4=$1; //@line 1695 "../src/h264bsd_intra_prediction.c"
 var $5=($4|0)!=0; //@line 1695 "../src/h264bsd_intra_prediction.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1695 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1695,15360); //@line 1695 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1695 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1695 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1695 "../src/h264bsd_intra_prediction.c"
 var $11=$2; //@line 1696 "../src/h264bsd_intra_prediction.c"
 var $12=($11|0)!=0; //@line 1696 "../src/h264bsd_intra_prediction.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1696 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1696,15360); //@line 1696 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1696 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1696 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1696 "../src/h264bsd_intra_prediction.c"
 var $18=$3; //@line 1697 "../src/h264bsd_intra_prediction.c"
 var $19=($18|0)!=0; //@line 1697 "../src/h264bsd_intra_prediction.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 1697 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1697,15360); //@line 1697 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1697 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1697 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 1697 "../src/h264bsd_intra_prediction.c"
 var $25=$2; //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $26=((($25)-(1))|0); //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP8[($26)]; //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $28=($27&255); //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $29=$2; //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $30=(($29)|0); //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $31=HEAP8[($30)]; //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $32=($31&255); //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $33=((($28)+($32))|0); //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $34=((($33)+(1))|0); //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $35=$34>>1; //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $36=(($35)&255); //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $37=$1; //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $38=(($37)|0); //@line 1699 "../src/h264bsd_intra_prediction.c"
 HEAP8[($38)]=$36; //@line 1699 "../src/h264bsd_intra_prediction.c"
 var $39=$2; //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $40=((($39)-(1))|0); //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $41=HEAP8[($40)]; //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $42=($41&255); //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $43=$2; //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $44=(($43)|0); //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $45=HEAP8[($44)]; //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $46=($45&255); //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $47=((($42)+($46))|0); //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $48=((($47)+(1))|0); //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $49=$48>>1; //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $50=(($49)&255); //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $51=$1; //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $52=(($51+9)|0); //@line 1700 "../src/h264bsd_intra_prediction.c"
 HEAP8[($52)]=$50; //@line 1700 "../src/h264bsd_intra_prediction.c"
 var $53=$2; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $54=((($53)-(1))|0); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $55=HEAP8[($54)]; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $56=($55&255); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $57=$2; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $58=(($57)|0); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $59=HEAP8[($58)]; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $60=($59&255); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $61=($60<<1); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $62=((($56)+($61))|0); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $63=$2; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+1)|0); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $65=HEAP8[($64)]; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $66=($65&255); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $67=((($62)+($66))|0); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $68=((($67)+(2))|0); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $69=$68>>2; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $70=(($69)&255); //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $71=$1; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $72=(($71+5)|0); //@line 1701 "../src/h264bsd_intra_prediction.c"
 HEAP8[($72)]=$70; //@line 1701 "../src/h264bsd_intra_prediction.c"
 var $73=$2; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $74=((($73)-(1))|0); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $75=HEAP8[($74)]; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $76=($75&255); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $77=$2; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $78=(($77)|0); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $79=HEAP8[($78)]; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $80=($79&255); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $81=($80<<1); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $82=((($76)+($81))|0); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $83=$2; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $84=(($83+1)|0); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $85=HEAP8[($84)]; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $86=($85&255); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $87=((($82)+($86))|0); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $88=((($87)+(2))|0); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $89=$88>>2; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $90=(($89)&255); //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $91=$1; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $92=(($91+14)|0); //@line 1702 "../src/h264bsd_intra_prediction.c"
 HEAP8[($92)]=$90; //@line 1702 "../src/h264bsd_intra_prediction.c"
 var $93=$2; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $94=(($93)|0); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $95=HEAP8[($94)]; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $96=($95&255); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $97=$2; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $98=((($97)-(1))|0); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $99=HEAP8[($98)]; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $100=($99&255); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $101=($100<<1); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $102=((($96)+($101))|0); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $103=$3; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $104=(($103)|0); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $105=HEAP8[($104)]; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $106=($105&255); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $107=((($102)+($106))|0); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $108=((($107)+(2))|0); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $109=$108>>2; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $110=(($109)&255); //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $111=$1; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $112=(($111+4)|0); //@line 1703 "../src/h264bsd_intra_prediction.c"
 HEAP8[($112)]=$110; //@line 1703 "../src/h264bsd_intra_prediction.c"
 var $113=$2; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $114=(($113)|0); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $115=HEAP8[($114)]; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $116=($115&255); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $117=$2; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $118=((($117)-(1))|0); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $119=HEAP8[($118)]; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $120=($119&255); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $121=($120<<1); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $122=((($116)+($121))|0); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $123=$3; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $124=(($123)|0); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $125=HEAP8[($124)]; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $126=($125&255); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $127=((($122)+($126))|0); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $128=((($127)+(2))|0); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $129=$128>>2; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $130=(($129)&255); //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $131=$1; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $132=(($131+13)|0); //@line 1704 "../src/h264bsd_intra_prediction.c"
 HEAP8[($132)]=$130; //@line 1704 "../src/h264bsd_intra_prediction.c"
 var $133=$2; //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $134=(($133)|0); //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $135=HEAP8[($134)]; //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $136=($135&255); //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $137=$2; //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $138=(($137+1)|0); //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $139=HEAP8[($138)]; //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $140=($139&255); //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $141=((($136)+($140))|0); //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $142=((($141)+(1))|0); //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $143=$142>>1; //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $144=(($143)&255); //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $145=$1; //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $146=(($145+1)|0); //@line 1705 "../src/h264bsd_intra_prediction.c"
 HEAP8[($146)]=$144; //@line 1705 "../src/h264bsd_intra_prediction.c"
 var $147=$2; //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $148=(($147)|0); //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $149=HEAP8[($148)]; //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $150=($149&255); //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $151=$2; //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $152=(($151+1)|0); //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $153=HEAP8[($152)]; //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $154=($153&255); //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $155=((($150)+($154))|0); //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $156=((($155)+(1))|0); //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $157=$156>>1; //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $158=(($157)&255); //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $159=$1; //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $160=(($159+10)|0); //@line 1706 "../src/h264bsd_intra_prediction.c"
 HEAP8[($160)]=$158; //@line 1706 "../src/h264bsd_intra_prediction.c"
 var $161=$2; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $162=(($161)|0); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $163=HEAP8[($162)]; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $164=($163&255); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $165=$2; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $166=(($165+1)|0); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $167=HEAP8[($166)]; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $168=($167&255); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $169=($168<<1); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $170=((($164)+($169))|0); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $171=$2; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $172=(($171+2)|0); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $173=HEAP8[($172)]; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $174=($173&255); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $175=((($170)+($174))|0); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $176=((($175)+(2))|0); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $177=$176>>2; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $178=(($177)&255); //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $179=$1; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $180=(($179+6)|0); //@line 1707 "../src/h264bsd_intra_prediction.c"
 HEAP8[($180)]=$178; //@line 1707 "../src/h264bsd_intra_prediction.c"
 var $181=$2; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $182=(($181)|0); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $183=HEAP8[($182)]; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $184=($183&255); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $185=$2; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $186=(($185+1)|0); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $187=HEAP8[($186)]; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $188=($187&255); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $189=($188<<1); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $190=((($184)+($189))|0); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $191=$2; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $192=(($191+2)|0); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $193=HEAP8[($192)]; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $194=($193&255); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $195=((($190)+($194))|0); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $196=((($195)+(2))|0); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $197=$196>>2; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $198=(($197)&255); //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $199=$1; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $200=(($199+15)|0); //@line 1708 "../src/h264bsd_intra_prediction.c"
 HEAP8[($200)]=$198; //@line 1708 "../src/h264bsd_intra_prediction.c"
 var $201=$2; //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $202=(($201+1)|0); //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $203=HEAP8[($202)]; //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $204=($203&255); //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $205=$2; //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $206=(($205+2)|0); //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $207=HEAP8[($206)]; //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $208=($207&255); //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $209=((($204)+($208))|0); //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $210=((($209)+(1))|0); //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $211=$210>>1; //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $212=(($211)&255); //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $213=$1; //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $214=(($213+2)|0); //@line 1709 "../src/h264bsd_intra_prediction.c"
 HEAP8[($214)]=$212; //@line 1709 "../src/h264bsd_intra_prediction.c"
 var $215=$2; //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $216=(($215+1)|0); //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $217=HEAP8[($216)]; //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $218=($217&255); //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $219=$2; //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $220=(($219+2)|0); //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $221=HEAP8[($220)]; //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $222=($221&255); //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $223=((($218)+($222))|0); //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $224=((($223)+(1))|0); //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $225=$224>>1; //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $226=(($225)&255); //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $227=$1; //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $228=(($227+11)|0); //@line 1710 "../src/h264bsd_intra_prediction.c"
 HEAP8[($228)]=$226; //@line 1710 "../src/h264bsd_intra_prediction.c"
 var $229=$2; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $230=(($229+1)|0); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $231=HEAP8[($230)]; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $232=($231&255); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $233=$2; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $234=(($233+2)|0); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $235=HEAP8[($234)]; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $236=($235&255); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $237=($236<<1); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $238=((($232)+($237))|0); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $239=$2; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $240=(($239+3)|0); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $241=HEAP8[($240)]; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $242=($241&255); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $243=((($238)+($242))|0); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $244=((($243)+(2))|0); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $245=$244>>2; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $246=(($245)&255); //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $247=$1; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $248=(($247+7)|0); //@line 1711 "../src/h264bsd_intra_prediction.c"
 HEAP8[($248)]=$246; //@line 1711 "../src/h264bsd_intra_prediction.c"
 var $249=$2; //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $250=(($249+2)|0); //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $251=HEAP8[($250)]; //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $252=($251&255); //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $253=$2; //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $254=(($253+3)|0); //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $255=HEAP8[($254)]; //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $256=($255&255); //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $257=((($252)+($256))|0); //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $258=((($257)+(1))|0); //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $259=$258>>1; //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $260=(($259)&255); //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $261=$1; //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $262=(($261+3)|0); //@line 1712 "../src/h264bsd_intra_prediction.c"
 HEAP8[($262)]=$260; //@line 1712 "../src/h264bsd_intra_prediction.c"
 var $263=$3; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $264=(($263+1)|0); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $265=HEAP8[($264)]; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $266=($265&255); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $267=$3; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $268=(($267)|0); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $269=HEAP8[($268)]; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $270=($269&255); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $271=($270<<1); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $272=((($266)+($271))|0); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $273=$3; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $274=((($273)-(1))|0); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $275=HEAP8[($274)]; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $276=($275&255); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $277=((($272)+($276))|0); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $278=((($277)+(2))|0); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $279=$278>>2; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $280=(($279)&255); //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $281=$1; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $282=(($281+8)|0); //@line 1713 "../src/h264bsd_intra_prediction.c"
 HEAP8[($282)]=$280; //@line 1713 "../src/h264bsd_intra_prediction.c"
 var $283=$3; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $284=(($283+2)|0); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $285=HEAP8[($284)]; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $286=($285&255); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $287=$3; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $288=(($287+1)|0); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $289=HEAP8[($288)]; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $290=($289&255); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $291=($290<<1); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $292=((($286)+($291))|0); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $293=$3; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $294=(($293)|0); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $295=HEAP8[($294)]; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $296=($295&255); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $297=((($292)+($296))|0); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $298=((($297)+(2))|0); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $299=$298>>2; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $300=(($299)&255); //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $301=$1; //@line 1714 "../src/h264bsd_intra_prediction.c"
 var $302=(($301+12)|0); //@line 1714 "../src/h264bsd_intra_prediction.c"
 HEAP8[($302)]=$300; //@line 1714 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1716 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4HorizontalDownPrediction($data,$above,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 $1=$data;
 $2=$above;
 $3=$left;
 var $4=$1; //@line 1734 "../src/h264bsd_intra_prediction.c"
 var $5=($4|0)!=0; //@line 1734 "../src/h264bsd_intra_prediction.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1734 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1734,15520); //@line 1734 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1734 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1734 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1734 "../src/h264bsd_intra_prediction.c"
 var $11=$2; //@line 1735 "../src/h264bsd_intra_prediction.c"
 var $12=($11|0)!=0; //@line 1735 "../src/h264bsd_intra_prediction.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1735 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1735,15520); //@line 1735 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1735 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1735 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1735 "../src/h264bsd_intra_prediction.c"
 var $18=$3; //@line 1736 "../src/h264bsd_intra_prediction.c"
 var $19=($18|0)!=0; //@line 1736 "../src/h264bsd_intra_prediction.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 1736 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1736,15520); //@line 1736 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1736 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1736 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 1736 "../src/h264bsd_intra_prediction.c"
 var $25=$3; //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $26=((($25)-(1))|0); //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP8[($26)]; //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $28=($27&255); //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $29=$3; //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $30=(($29)|0); //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $31=HEAP8[($30)]; //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $32=($31&255); //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $33=((($28)+($32))|0); //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $34=((($33)+(1))|0); //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $35=$34>>1; //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $36=(($35)&255); //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $37=$1; //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $38=(($37)|0); //@line 1738 "../src/h264bsd_intra_prediction.c"
 HEAP8[($38)]=$36; //@line 1738 "../src/h264bsd_intra_prediction.c"
 var $39=$3; //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $40=((($39)-(1))|0); //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $41=HEAP8[($40)]; //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $42=($41&255); //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $43=$3; //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $44=(($43)|0); //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $45=HEAP8[($44)]; //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $46=($45&255); //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $47=((($42)+($46))|0); //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $48=((($47)+(1))|0); //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $49=$48>>1; //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $50=(($49)&255); //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $51=$1; //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $52=(($51+6)|0); //@line 1739 "../src/h264bsd_intra_prediction.c"
 HEAP8[($52)]=$50; //@line 1739 "../src/h264bsd_intra_prediction.c"
 var $53=$3; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $54=((($53)-(1))|0); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $55=HEAP8[($54)]; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $56=($55&255); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $57=$3; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $58=(($57)|0); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $59=HEAP8[($58)]; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $60=($59&255); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $61=($60<<1); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $62=((($56)+($61))|0); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $63=$3; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+1)|0); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $65=HEAP8[($64)]; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $66=($65&255); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $67=((($62)+($66))|0); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $68=((($67)+(2))|0); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $69=$68>>2; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $70=(($69)&255); //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $71=$1; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $72=(($71+5)|0); //@line 1740 "../src/h264bsd_intra_prediction.c"
 HEAP8[($72)]=$70; //@line 1740 "../src/h264bsd_intra_prediction.c"
 var $73=$3; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $74=((($73)-(1))|0); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $75=HEAP8[($74)]; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $76=($75&255); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $77=$3; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $78=(($77)|0); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $79=HEAP8[($78)]; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $80=($79&255); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $81=($80<<1); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $82=((($76)+($81))|0); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $83=$3; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $84=(($83+1)|0); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $85=HEAP8[($84)]; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $86=($85&255); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $87=((($82)+($86))|0); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $88=((($87)+(2))|0); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $89=$88>>2; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $90=(($89)&255); //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $91=$1; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $92=(($91+11)|0); //@line 1741 "../src/h264bsd_intra_prediction.c"
 HEAP8[($92)]=$90; //@line 1741 "../src/h264bsd_intra_prediction.c"
 var $93=$3; //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $94=(($93)|0); //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $95=HEAP8[($94)]; //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $96=($95&255); //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $97=$3; //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $98=(($97+1)|0); //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $99=HEAP8[($98)]; //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $100=($99&255); //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $101=((($96)+($100))|0); //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $102=((($101)+(1))|0); //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $103=$102>>1; //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $104=(($103)&255); //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $105=$1; //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $106=(($105+4)|0); //@line 1742 "../src/h264bsd_intra_prediction.c"
 HEAP8[($106)]=$104; //@line 1742 "../src/h264bsd_intra_prediction.c"
 var $107=$3; //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $108=(($107)|0); //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $109=HEAP8[($108)]; //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $110=($109&255); //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $111=$3; //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $112=(($111+1)|0); //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $113=HEAP8[($112)]; //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $114=($113&255); //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $115=((($110)+($114))|0); //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $116=((($115)+(1))|0); //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $117=$116>>1; //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $118=(($117)&255); //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $119=$1; //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $120=(($119+10)|0); //@line 1743 "../src/h264bsd_intra_prediction.c"
 HEAP8[($120)]=$118; //@line 1743 "../src/h264bsd_intra_prediction.c"
 var $121=$3; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $122=(($121)|0); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $123=HEAP8[($122)]; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $124=($123&255); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $125=$3; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $126=(($125+1)|0); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $127=HEAP8[($126)]; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $128=($127&255); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $129=($128<<1); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $130=((($124)+($129))|0); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $131=$3; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $132=(($131+2)|0); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $133=HEAP8[($132)]; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $134=($133&255); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $135=((($130)+($134))|0); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $136=((($135)+(2))|0); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $137=$136>>2; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $138=(($137)&255); //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $139=$1; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $140=(($139+9)|0); //@line 1744 "../src/h264bsd_intra_prediction.c"
 HEAP8[($140)]=$138; //@line 1744 "../src/h264bsd_intra_prediction.c"
 var $141=$3; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $142=(($141)|0); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $143=HEAP8[($142)]; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $144=($143&255); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $145=$3; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $146=(($145+1)|0); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $147=HEAP8[($146)]; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $148=($147&255); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $149=($148<<1); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $150=((($144)+($149))|0); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $151=$3; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $152=(($151+2)|0); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $153=HEAP8[($152)]; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $154=($153&255); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $155=((($150)+($154))|0); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $156=((($155)+(2))|0); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $157=$156>>2; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $158=(($157)&255); //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $159=$1; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $160=(($159+15)|0); //@line 1745 "../src/h264bsd_intra_prediction.c"
 HEAP8[($160)]=$158; //@line 1745 "../src/h264bsd_intra_prediction.c"
 var $161=$3; //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $162=(($161+1)|0); //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $163=HEAP8[($162)]; //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $164=($163&255); //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $165=$3; //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $166=(($165+2)|0); //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $167=HEAP8[($166)]; //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $168=($167&255); //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $169=((($164)+($168))|0); //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $170=((($169)+(1))|0); //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $171=$170>>1; //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $172=(($171)&255); //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $173=$1; //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $174=(($173+8)|0); //@line 1746 "../src/h264bsd_intra_prediction.c"
 HEAP8[($174)]=$172; //@line 1746 "../src/h264bsd_intra_prediction.c"
 var $175=$3; //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $176=(($175+1)|0); //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $177=HEAP8[($176)]; //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $178=($177&255); //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $179=$3; //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $180=(($179+2)|0); //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $181=HEAP8[($180)]; //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $182=($181&255); //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $183=((($178)+($182))|0); //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $184=((($183)+(1))|0); //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $185=$184>>1; //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $186=(($185)&255); //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $187=$1; //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $188=(($187+14)|0); //@line 1747 "../src/h264bsd_intra_prediction.c"
 HEAP8[($188)]=$186; //@line 1747 "../src/h264bsd_intra_prediction.c"
 var $189=$3; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $190=(($189+1)|0); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $191=HEAP8[($190)]; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $192=($191&255); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $193=$3; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $194=(($193+2)|0); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $195=HEAP8[($194)]; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $196=($195&255); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $197=($196<<1); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $198=((($192)+($197))|0); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $199=$3; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $200=(($199+3)|0); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $201=HEAP8[($200)]; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $202=($201&255); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $203=((($198)+($202))|0); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $204=((($203)+(2))|0); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $205=$204>>2; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $206=(($205)&255); //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $207=$1; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $208=(($207+13)|0); //@line 1748 "../src/h264bsd_intra_prediction.c"
 HEAP8[($208)]=$206; //@line 1748 "../src/h264bsd_intra_prediction.c"
 var $209=$3; //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $210=(($209+2)|0); //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $211=HEAP8[($210)]; //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $212=($211&255); //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $213=$3; //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $214=(($213+3)|0); //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $215=HEAP8[($214)]; //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $216=($215&255); //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $217=((($212)+($216))|0); //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $218=((($217)+(1))|0); //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $219=$218>>1; //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $220=(($219)&255); //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $221=$1; //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $222=(($221+12)|0); //@line 1749 "../src/h264bsd_intra_prediction.c"
 HEAP8[($222)]=$220; //@line 1749 "../src/h264bsd_intra_prediction.c"
 var $223=$2; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $224=(($223)|0); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $225=HEAP8[($224)]; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $226=($225&255); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $227=$2; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $228=((($227)-(1))|0); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $229=HEAP8[($228)]; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $230=($229&255); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $231=($230<<1); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $232=((($226)+($231))|0); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $233=$3; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $234=(($233)|0); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $235=HEAP8[($234)]; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $236=($235&255); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $237=((($232)+($236))|0); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $238=((($237)+(2))|0); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $239=$238>>2; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $240=(($239)&255); //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $241=$1; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $242=(($241+1)|0); //@line 1750 "../src/h264bsd_intra_prediction.c"
 HEAP8[($242)]=$240; //@line 1750 "../src/h264bsd_intra_prediction.c"
 var $243=$2; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $244=(($243)|0); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $245=HEAP8[($244)]; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $246=($245&255); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $247=$2; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $248=((($247)-(1))|0); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $249=HEAP8[($248)]; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $250=($249&255); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $251=($250<<1); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $252=((($246)+($251))|0); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $253=$3; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $254=(($253)|0); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $255=HEAP8[($254)]; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $256=($255&255); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $257=((($252)+($256))|0); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $258=((($257)+(2))|0); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $259=$258>>2; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $260=(($259)&255); //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $261=$1; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $262=(($261+7)|0); //@line 1751 "../src/h264bsd_intra_prediction.c"
 HEAP8[($262)]=$260; //@line 1751 "../src/h264bsd_intra_prediction.c"
 var $263=$2; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $264=(($263+1)|0); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $265=HEAP8[($264)]; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $266=($265&255); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $267=$2; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $268=(($267)|0); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $269=HEAP8[($268)]; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $270=($269&255); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $271=($270<<1); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $272=((($266)+($271))|0); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $273=$2; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $274=((($273)-(1))|0); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $275=HEAP8[($274)]; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $276=($275&255); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $277=((($272)+($276))|0); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $278=((($277)+(2))|0); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $279=$278>>2; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $280=(($279)&255); //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $281=$1; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $282=(($281+2)|0); //@line 1752 "../src/h264bsd_intra_prediction.c"
 HEAP8[($282)]=$280; //@line 1752 "../src/h264bsd_intra_prediction.c"
 var $283=$2; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $284=(($283+2)|0); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $285=HEAP8[($284)]; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $286=($285&255); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $287=$2; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $288=(($287+1)|0); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $289=HEAP8[($288)]; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $290=($289&255); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $291=($290<<1); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $292=((($286)+($291))|0); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $293=$2; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $294=(($293)|0); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $295=HEAP8[($294)]; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $296=($295&255); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $297=((($292)+($296))|0); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $298=((($297)+(2))|0); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $299=$298>>2; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $300=(($299)&255); //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $301=$1; //@line 1753 "../src/h264bsd_intra_prediction.c"
 var $302=(($301+3)|0); //@line 1753 "../src/h264bsd_intra_prediction.c"
 HEAP8[($302)]=$300; //@line 1753 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1754 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4VerticalLeftPrediction($data,$above){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $1=$data;
 $2=$above;
 var $3=$1; //@line 1772 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1772 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1772 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1772,15424); //@line 1772 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1772 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1772 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1772 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1773 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1773 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1773 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1773,15424); //@line 1773 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1773 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1773 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1773 "../src/h264bsd_intra_prediction.c"
 var $17=$2; //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $18=(($17)|0); //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $19=HEAP8[($18)]; //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $20=($19&255); //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $21=$2; //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $22=(($21+1)|0); //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $23=HEAP8[($22)]; //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $24=($23&255); //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $25=((($20)+($24))|0); //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $26=((($25)+(1))|0); //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $27=$26>>1; //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $28=(($27)&255); //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $29=$1; //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $30=(($29)|0); //@line 1775 "../src/h264bsd_intra_prediction.c"
 HEAP8[($30)]=$28; //@line 1775 "../src/h264bsd_intra_prediction.c"
 var $31=$2; //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $32=(($31+1)|0); //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $33=HEAP8[($32)]; //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $34=($33&255); //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $35=$2; //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $36=(($35+2)|0); //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $37=HEAP8[($36)]; //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $38=($37&255); //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $39=((($34)+($38))|0); //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $40=((($39)+(1))|0); //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $41=$40>>1; //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $42=(($41)&255); //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $43=$1; //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $44=(($43+1)|0); //@line 1776 "../src/h264bsd_intra_prediction.c"
 HEAP8[($44)]=$42; //@line 1776 "../src/h264bsd_intra_prediction.c"
 var $45=$2; //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $46=(($45+2)|0); //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $47=HEAP8[($46)]; //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $48=($47&255); //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $49=$2; //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $50=(($49+3)|0); //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $51=HEAP8[($50)]; //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $52=($51&255); //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $53=((($48)+($52))|0); //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $54=((($53)+(1))|0); //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $55=$54>>1; //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $56=(($55)&255); //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $57=$1; //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $58=(($57+2)|0); //@line 1777 "../src/h264bsd_intra_prediction.c"
 HEAP8[($58)]=$56; //@line 1777 "../src/h264bsd_intra_prediction.c"
 var $59=$2; //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $60=(($59+3)|0); //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $61=HEAP8[($60)]; //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $62=($61&255); //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $63=$2; //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+4)|0); //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $65=HEAP8[($64)]; //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $66=($65&255); //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $67=((($62)+($66))|0); //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $68=((($67)+(1))|0); //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $69=$68>>1; //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $70=(($69)&255); //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $71=$1; //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $72=(($71+3)|0); //@line 1778 "../src/h264bsd_intra_prediction.c"
 HEAP8[($72)]=$70; //@line 1778 "../src/h264bsd_intra_prediction.c"
 var $73=$2; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $74=(($73)|0); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $75=HEAP8[($74)]; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $76=($75&255); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $77=$2; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $78=(($77+1)|0); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $79=HEAP8[($78)]; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $80=($79&255); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $81=($80<<1); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $82=((($76)+($81))|0); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $83=$2; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $84=(($83+2)|0); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $85=HEAP8[($84)]; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $86=($85&255); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $87=((($82)+($86))|0); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $88=((($87)+(2))|0); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $89=$88>>2; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $90=(($89)&255); //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $91=$1; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $92=(($91+4)|0); //@line 1779 "../src/h264bsd_intra_prediction.c"
 HEAP8[($92)]=$90; //@line 1779 "../src/h264bsd_intra_prediction.c"
 var $93=$2; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $94=(($93+1)|0); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $95=HEAP8[($94)]; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $96=($95&255); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $97=$2; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $98=(($97+2)|0); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $99=HEAP8[($98)]; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $100=($99&255); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $101=($100<<1); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $102=((($96)+($101))|0); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $103=$2; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $104=(($103+3)|0); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $105=HEAP8[($104)]; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $106=($105&255); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $107=((($102)+($106))|0); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $108=((($107)+(2))|0); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $109=$108>>2; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $110=(($109)&255); //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $111=$1; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $112=(($111+5)|0); //@line 1780 "../src/h264bsd_intra_prediction.c"
 HEAP8[($112)]=$110; //@line 1780 "../src/h264bsd_intra_prediction.c"
 var $113=$2; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $114=(($113+2)|0); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $115=HEAP8[($114)]; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $116=($115&255); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $117=$2; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $118=(($117+3)|0); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $119=HEAP8[($118)]; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $120=($119&255); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $121=($120<<1); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $122=((($116)+($121))|0); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $123=$2; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $124=(($123+4)|0); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $125=HEAP8[($124)]; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $126=($125&255); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $127=((($122)+($126))|0); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $128=((($127)+(2))|0); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $129=$128>>2; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $130=(($129)&255); //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $131=$1; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $132=(($131+6)|0); //@line 1781 "../src/h264bsd_intra_prediction.c"
 HEAP8[($132)]=$130; //@line 1781 "../src/h264bsd_intra_prediction.c"
 var $133=$2; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $134=(($133+3)|0); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $135=HEAP8[($134)]; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $136=($135&255); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $137=$2; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $138=(($137+4)|0); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $139=HEAP8[($138)]; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $140=($139&255); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $141=($140<<1); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $142=((($136)+($141))|0); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $143=$2; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $144=(($143+5)|0); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $145=HEAP8[($144)]; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $146=($145&255); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $147=((($142)+($146))|0); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $148=((($147)+(2))|0); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $149=$148>>2; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $150=(($149)&255); //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $151=$1; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $152=(($151+7)|0); //@line 1782 "../src/h264bsd_intra_prediction.c"
 HEAP8[($152)]=$150; //@line 1782 "../src/h264bsd_intra_prediction.c"
 var $153=$2; //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $154=(($153+1)|0); //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $155=HEAP8[($154)]; //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $156=($155&255); //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $157=$2; //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $158=(($157+2)|0); //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $159=HEAP8[($158)]; //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $160=($159&255); //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $161=((($156)+($160))|0); //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $162=((($161)+(1))|0); //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $163=$162>>1; //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $164=(($163)&255); //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $165=$1; //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $166=(($165+8)|0); //@line 1783 "../src/h264bsd_intra_prediction.c"
 HEAP8[($166)]=$164; //@line 1783 "../src/h264bsd_intra_prediction.c"
 var $167=$2; //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $168=(($167+2)|0); //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $169=HEAP8[($168)]; //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $170=($169&255); //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $171=$2; //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $172=(($171+3)|0); //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $173=HEAP8[($172)]; //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $174=($173&255); //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $175=((($170)+($174))|0); //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $176=((($175)+(1))|0); //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $177=$176>>1; //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $178=(($177)&255); //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $179=$1; //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $180=(($179+9)|0); //@line 1784 "../src/h264bsd_intra_prediction.c"
 HEAP8[($180)]=$178; //@line 1784 "../src/h264bsd_intra_prediction.c"
 var $181=$2; //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $182=(($181+3)|0); //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $183=HEAP8[($182)]; //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $184=($183&255); //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $185=$2; //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $186=(($185+4)|0); //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $187=HEAP8[($186)]; //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $188=($187&255); //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $189=((($184)+($188))|0); //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $190=((($189)+(1))|0); //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $191=$190>>1; //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $192=(($191)&255); //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $193=$1; //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $194=(($193+10)|0); //@line 1785 "../src/h264bsd_intra_prediction.c"
 HEAP8[($194)]=$192; //@line 1785 "../src/h264bsd_intra_prediction.c"
 var $195=$2; //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $196=(($195+4)|0); //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $197=HEAP8[($196)]; //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $198=($197&255); //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $199=$2; //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $200=(($199+5)|0); //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $201=HEAP8[($200)]; //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $202=($201&255); //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $203=((($198)+($202))|0); //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $204=((($203)+(1))|0); //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $205=$204>>1; //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $206=(($205)&255); //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $207=$1; //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $208=(($207+11)|0); //@line 1786 "../src/h264bsd_intra_prediction.c"
 HEAP8[($208)]=$206; //@line 1786 "../src/h264bsd_intra_prediction.c"
 var $209=$2; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $210=(($209+1)|0); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $211=HEAP8[($210)]; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $212=($211&255); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $213=$2; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $214=(($213+2)|0); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $215=HEAP8[($214)]; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $216=($215&255); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $217=($216<<1); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $218=((($212)+($217))|0); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $219=$2; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $220=(($219+3)|0); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $221=HEAP8[($220)]; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $222=($221&255); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $223=((($218)+($222))|0); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $224=((($223)+(2))|0); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $225=$224>>2; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $226=(($225)&255); //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $227=$1; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $228=(($227+12)|0); //@line 1787 "../src/h264bsd_intra_prediction.c"
 HEAP8[($228)]=$226; //@line 1787 "../src/h264bsd_intra_prediction.c"
 var $229=$2; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $230=(($229+2)|0); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $231=HEAP8[($230)]; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $232=($231&255); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $233=$2; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $234=(($233+3)|0); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $235=HEAP8[($234)]; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $236=($235&255); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $237=($236<<1); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $238=((($232)+($237))|0); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $239=$2; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $240=(($239+4)|0); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $241=HEAP8[($240)]; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $242=($241&255); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $243=((($238)+($242))|0); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $244=((($243)+(2))|0); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $245=$244>>2; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $246=(($245)&255); //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $247=$1; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $248=(($247+13)|0); //@line 1788 "../src/h264bsd_intra_prediction.c"
 HEAP8[($248)]=$246; //@line 1788 "../src/h264bsd_intra_prediction.c"
 var $249=$2; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $250=(($249+3)|0); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $251=HEAP8[($250)]; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $252=($251&255); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $253=$2; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $254=(($253+4)|0); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $255=HEAP8[($254)]; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $256=($255&255); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $257=($256<<1); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $258=((($252)+($257))|0); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $259=$2; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $260=(($259+5)|0); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $261=HEAP8[($260)]; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $262=($261&255); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $263=((($258)+($262))|0); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $264=((($263)+(2))|0); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $265=$264>>2; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $266=(($265)&255); //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $267=$1; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $268=(($267+14)|0); //@line 1789 "../src/h264bsd_intra_prediction.c"
 HEAP8[($268)]=$266; //@line 1789 "../src/h264bsd_intra_prediction.c"
 var $269=$2; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $270=(($269+4)|0); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $271=HEAP8[($270)]; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $272=($271&255); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $273=$2; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $274=(($273+5)|0); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $275=HEAP8[($274)]; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $276=($275&255); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $277=($276<<1); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $278=((($272)+($277))|0); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $279=$2; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $280=(($279+6)|0); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $281=HEAP8[($280)]; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $282=($281&255); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $283=((($278)+($282))|0); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $284=((($283)+(2))|0); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $285=$284>>2; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $286=(($285)&255); //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $287=$1; //@line 1790 "../src/h264bsd_intra_prediction.c"
 var $288=(($287+15)|0); //@line 1790 "../src/h264bsd_intra_prediction.c"
 HEAP8[($288)]=$286; //@line 1790 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1792 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Intra4x4HorizontalUpPrediction($data,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $1=$data;
 $2=$left;
 var $3=$1; //@line 1810 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1810 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1810 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1810,15456); //@line 1810 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1810 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1810 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1810 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1811 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1811 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1811 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(5904,12024,1811,15456); //@line 1811 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1811 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1811 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1811 "../src/h264bsd_intra_prediction.c"
 var $17=$2; //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $18=(($17)|0); //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $19=HEAP8[($18)]; //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $20=($19&255); //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $21=$2; //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $22=(($21+1)|0); //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $23=HEAP8[($22)]; //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $24=($23&255); //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $25=((($20)+($24))|0); //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $26=((($25)+(1))|0); //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $27=$26>>1; //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $28=(($27)&255); //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $29=$1; //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $30=(($29)|0); //@line 1813 "../src/h264bsd_intra_prediction.c"
 HEAP8[($30)]=$28; //@line 1813 "../src/h264bsd_intra_prediction.c"
 var $31=$2; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $32=(($31)|0); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $33=HEAP8[($32)]; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $34=($33&255); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $35=$2; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $36=(($35+1)|0); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $37=HEAP8[($36)]; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $38=($37&255); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $39=($38<<1); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $40=((($34)+($39))|0); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $41=$2; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $42=(($41+2)|0); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $43=HEAP8[($42)]; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $44=($43&255); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $45=((($40)+($44))|0); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $46=((($45)+(2))|0); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $47=$46>>2; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $48=(($47)&255); //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $49=$1; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $50=(($49+1)|0); //@line 1814 "../src/h264bsd_intra_prediction.c"
 HEAP8[($50)]=$48; //@line 1814 "../src/h264bsd_intra_prediction.c"
 var $51=$2; //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $52=(($51+1)|0); //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $53=HEAP8[($52)]; //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $54=($53&255); //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $55=$2; //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $56=(($55+2)|0); //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $57=HEAP8[($56)]; //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $58=($57&255); //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $59=((($54)+($58))|0); //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $60=((($59)+(1))|0); //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $61=$60>>1; //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $62=(($61)&255); //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $63=$1; //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+2)|0); //@line 1815 "../src/h264bsd_intra_prediction.c"
 HEAP8[($64)]=$62; //@line 1815 "../src/h264bsd_intra_prediction.c"
 var $65=$2; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $66=(($65+1)|0); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $67=HEAP8[($66)]; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $68=($67&255); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $69=$2; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $70=(($69+2)|0); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $71=HEAP8[($70)]; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $72=($71&255); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $73=($72<<1); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $74=((($68)+($73))|0); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $75=$2; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $76=(($75+3)|0); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $77=HEAP8[($76)]; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $78=($77&255); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $79=((($74)+($78))|0); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $80=((($79)+(2))|0); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $81=$80>>2; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $82=(($81)&255); //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $83=$1; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $84=(($83+3)|0); //@line 1816 "../src/h264bsd_intra_prediction.c"
 HEAP8[($84)]=$82; //@line 1816 "../src/h264bsd_intra_prediction.c"
 var $85=$2; //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $86=(($85+1)|0); //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $87=HEAP8[($86)]; //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $88=($87&255); //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $89=$2; //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $90=(($89+2)|0); //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $91=HEAP8[($90)]; //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $92=($91&255); //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $93=((($88)+($92))|0); //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $94=((($93)+(1))|0); //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $95=$94>>1; //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $96=(($95)&255); //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $97=$1; //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $98=(($97+4)|0); //@line 1817 "../src/h264bsd_intra_prediction.c"
 HEAP8[($98)]=$96; //@line 1817 "../src/h264bsd_intra_prediction.c"
 var $99=$2; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $100=(($99+1)|0); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $101=HEAP8[($100)]; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $102=($101&255); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $103=$2; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $104=(($103+2)|0); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $105=HEAP8[($104)]; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $106=($105&255); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $107=($106<<1); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $108=((($102)+($107))|0); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $109=$2; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $110=(($109+3)|0); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $111=HEAP8[($110)]; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $112=($111&255); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $113=((($108)+($112))|0); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $114=((($113)+(2))|0); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $115=$114>>2; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $116=(($115)&255); //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $117=$1; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $118=(($117+5)|0); //@line 1818 "../src/h264bsd_intra_prediction.c"
 HEAP8[($118)]=$116; //@line 1818 "../src/h264bsd_intra_prediction.c"
 var $119=$2; //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $120=(($119+2)|0); //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $121=HEAP8[($120)]; //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $122=($121&255); //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $123=$2; //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $124=(($123+3)|0); //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $125=HEAP8[($124)]; //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $126=($125&255); //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $127=((($122)+($126))|0); //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $128=((($127)+(1))|0); //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $129=$128>>1; //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $130=(($129)&255); //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $131=$1; //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $132=(($131+6)|0); //@line 1819 "../src/h264bsd_intra_prediction.c"
 HEAP8[($132)]=$130; //@line 1819 "../src/h264bsd_intra_prediction.c"
 var $133=$2; //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $134=(($133+2)|0); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $135=HEAP8[($134)]; //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $136=($135&255); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $137=$2; //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $138=(($137+3)|0); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $139=HEAP8[($138)]; //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $140=($139&255); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $141=((($140)*(3))&-1); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $142=((($136)+($141))|0); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $143=((($142)+(2))|0); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $144=$143>>2; //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $145=(($144)&255); //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $146=$1; //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $147=(($146+7)|0); //@line 1820 "../src/h264bsd_intra_prediction.c"
 HEAP8[($147)]=$145; //@line 1820 "../src/h264bsd_intra_prediction.c"
 var $148=$2; //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $149=(($148+2)|0); //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $150=HEAP8[($149)]; //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $151=($150&255); //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $152=$2; //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $153=(($152+3)|0); //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $154=HEAP8[($153)]; //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $155=($154&255); //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $156=((($151)+($155))|0); //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $157=((($156)+(1))|0); //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $158=$157>>1; //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $159=(($158)&255); //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $160=$1; //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $161=(($160+8)|0); //@line 1821 "../src/h264bsd_intra_prediction.c"
 HEAP8[($161)]=$159; //@line 1821 "../src/h264bsd_intra_prediction.c"
 var $162=$2; //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $163=(($162+2)|0); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $164=HEAP8[($163)]; //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $165=($164&255); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $166=$2; //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $167=(($166+3)|0); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $168=HEAP8[($167)]; //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $169=($168&255); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $170=((($169)*(3))&-1); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $171=((($165)+($170))|0); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $172=((($171)+(2))|0); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $173=$172>>2; //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $174=(($173)&255); //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $175=$1; //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $176=(($175+9)|0); //@line 1822 "../src/h264bsd_intra_prediction.c"
 HEAP8[($176)]=$174; //@line 1822 "../src/h264bsd_intra_prediction.c"
 var $177=$2; //@line 1823 "../src/h264bsd_intra_prediction.c"
 var $178=(($177+3)|0); //@line 1823 "../src/h264bsd_intra_prediction.c"
 var $179=HEAP8[($178)]; //@line 1823 "../src/h264bsd_intra_prediction.c"
 var $180=$1; //@line 1823 "../src/h264bsd_intra_prediction.c"
 var $181=(($180+10)|0); //@line 1823 "../src/h264bsd_intra_prediction.c"
 HEAP8[($181)]=$179; //@line 1823 "../src/h264bsd_intra_prediction.c"
 var $182=$2; //@line 1824 "../src/h264bsd_intra_prediction.c"
 var $183=(($182+3)|0); //@line 1824 "../src/h264bsd_intra_prediction.c"
 var $184=HEAP8[($183)]; //@line 1824 "../src/h264bsd_intra_prediction.c"
 var $185=$1; //@line 1824 "../src/h264bsd_intra_prediction.c"
 var $186=(($185+11)|0); //@line 1824 "../src/h264bsd_intra_prediction.c"
 HEAP8[($186)]=$184; //@line 1824 "../src/h264bsd_intra_prediction.c"
 var $187=$2; //@line 1825 "../src/h264bsd_intra_prediction.c"
 var $188=(($187+3)|0); //@line 1825 "../src/h264bsd_intra_prediction.c"
 var $189=HEAP8[($188)]; //@line 1825 "../src/h264bsd_intra_prediction.c"
 var $190=$1; //@line 1825 "../src/h264bsd_intra_prediction.c"
 var $191=(($190+12)|0); //@line 1825 "../src/h264bsd_intra_prediction.c"
 HEAP8[($191)]=$189; //@line 1825 "../src/h264bsd_intra_prediction.c"
 var $192=$2; //@line 1826 "../src/h264bsd_intra_prediction.c"
 var $193=(($192+3)|0); //@line 1826 "../src/h264bsd_intra_prediction.c"
 var $194=HEAP8[($193)]; //@line 1826 "../src/h264bsd_intra_prediction.c"
 var $195=$1; //@line 1826 "../src/h264bsd_intra_prediction.c"
 var $196=(($195+13)|0); //@line 1826 "../src/h264bsd_intra_prediction.c"
 HEAP8[($196)]=$194; //@line 1826 "../src/h264bsd_intra_prediction.c"
 var $197=$2; //@line 1827 "../src/h264bsd_intra_prediction.c"
 var $198=(($197+3)|0); //@line 1827 "../src/h264bsd_intra_prediction.c"
 var $199=HEAP8[($198)]; //@line 1827 "../src/h264bsd_intra_prediction.c"
 var $200=$1; //@line 1827 "../src/h264bsd_intra_prediction.c"
 var $201=(($200+14)|0); //@line 1827 "../src/h264bsd_intra_prediction.c"
 HEAP8[($201)]=$199; //@line 1827 "../src/h264bsd_intra_prediction.c"
 var $202=$2; //@line 1828 "../src/h264bsd_intra_prediction.c"
 var $203=(($202+3)|0); //@line 1828 "../src/h264bsd_intra_prediction.c"
 var $204=HEAP8[($203)]; //@line 1828 "../src/h264bsd_intra_prediction.c"
 var $205=$1; //@line 1828 "../src/h264bsd_intra_prediction.c"
 var $206=(($205+15)|0); //@line 1828 "../src/h264bsd_intra_prediction.c"
 HEAP8[($206)]=$204; //@line 1828 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1830 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _Write4x4To16x16($data,$data4x4,$blockNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $x;
 var $y;
 var $in32;
 var $out32;
 $1=$data;
 $2=$data4x4;
 $3=$blockNum;
 var $4=$1; //@line 1854 "../src/h264bsd_intra_prediction.c"
 var $5=($4|0)!=0; //@line 1854 "../src/h264bsd_intra_prediction.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1854 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1854,15032); //@line 1854 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1854 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1854 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1854 "../src/h264bsd_intra_prediction.c"
 var $11=$2; //@line 1855 "../src/h264bsd_intra_prediction.c"
 var $12=($11|0)!=0; //@line 1855 "../src/h264bsd_intra_prediction.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1855 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(10384,12024,1855,15032); //@line 1855 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1855 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1855 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1855 "../src/h264bsd_intra_prediction.c"
 var $18=$3; //@line 1856 "../src/h264bsd_intra_prediction.c"
 var $19=($18>>>0)<16; //@line 1856 "../src/h264bsd_intra_prediction.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 1856 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(10184,12024,1856,15032); //@line 1856 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1856 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1856 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 1856 "../src/h264bsd_intra_prediction.c"
 var $25=$3; //@line 1858 "../src/h264bsd_intra_prediction.c"
 var $26=((2704+($25<<2))|0); //@line 1858 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP32[(($26)>>2)]; //@line 1858 "../src/h264bsd_intra_prediction.c"
 $x=$27; //@line 1858 "../src/h264bsd_intra_prediction.c"
 var $28=$3; //@line 1859 "../src/h264bsd_intra_prediction.c"
 var $29=((2640+($28<<2))|0); //@line 1859 "../src/h264bsd_intra_prediction.c"
 var $30=HEAP32[(($29)>>2)]; //@line 1859 "../src/h264bsd_intra_prediction.c"
 $y=$30; //@line 1859 "../src/h264bsd_intra_prediction.c"
 var $31=$y; //@line 1861 "../src/h264bsd_intra_prediction.c"
 var $32=($31<<4); //@line 1861 "../src/h264bsd_intra_prediction.c"
 var $33=$x; //@line 1861 "../src/h264bsd_intra_prediction.c"
 var $34=((($32)+($33))|0); //@line 1861 "../src/h264bsd_intra_prediction.c"
 var $35=$1; //@line 1861 "../src/h264bsd_intra_prediction.c"
 var $36=(($35+$34)|0); //@line 1861 "../src/h264bsd_intra_prediction.c"
 $1=$36; //@line 1861 "../src/h264bsd_intra_prediction.c"
 var $37=$1; //@line 1863 "../src/h264bsd_intra_prediction.c"
 var $38=$37; //@line 1863 "../src/h264bsd_intra_prediction.c"
 var $39=$38&3; //@line 1863 "../src/h264bsd_intra_prediction.c"
 var $40=($39|0)==0; //@line 1863 "../src/h264bsd_intra_prediction.c"
 if($40){var $44=1;label=9;break;}else{label=8;break;} //@line 1863 "../src/h264bsd_intra_prediction.c"
 case 8: 
 ___assert_fail(9896,12024,1863,15032); //@line 1863 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1863 "../src/h264bsd_intra_prediction.c"
 label=9;break; //@line 1863 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $44;
 var $45=($44&1); //@line 1863 "../src/h264bsd_intra_prediction.c"
 var $46=$1; //@line 1866 "../src/h264bsd_intra_prediction.c"
 var $47=$46; //@line 1866 "../src/h264bsd_intra_prediction.c"
 $out32=$47; //@line 1866 "../src/h264bsd_intra_prediction.c"
 var $48=$2; //@line 1868 "../src/h264bsd_intra_prediction.c"
 var $49=$48; //@line 1868 "../src/h264bsd_intra_prediction.c"
 $in32=$49; //@line 1868 "../src/h264bsd_intra_prediction.c"
 var $50=$in32; //@line 1870 "../src/h264bsd_intra_prediction.c"
 var $51=(($50+4)|0); //@line 1870 "../src/h264bsd_intra_prediction.c"
 $in32=$51; //@line 1870 "../src/h264bsd_intra_prediction.c"
 var $52=HEAP32[(($50)>>2)]; //@line 1870 "../src/h264bsd_intra_prediction.c"
 var $53=$out32; //@line 1870 "../src/h264bsd_intra_prediction.c"
 var $54=(($53)|0); //@line 1870 "../src/h264bsd_intra_prediction.c"
 HEAP32[(($54)>>2)]=$52; //@line 1870 "../src/h264bsd_intra_prediction.c"
 var $55=$in32; //@line 1871 "../src/h264bsd_intra_prediction.c"
 var $56=(($55+4)|0); //@line 1871 "../src/h264bsd_intra_prediction.c"
 $in32=$56; //@line 1871 "../src/h264bsd_intra_prediction.c"
 var $57=HEAP32[(($55)>>2)]; //@line 1871 "../src/h264bsd_intra_prediction.c"
 var $58=$out32; //@line 1871 "../src/h264bsd_intra_prediction.c"
 var $59=(($58+16)|0); //@line 1871 "../src/h264bsd_intra_prediction.c"
 HEAP32[(($59)>>2)]=$57; //@line 1871 "../src/h264bsd_intra_prediction.c"
 var $60=$in32; //@line 1872 "../src/h264bsd_intra_prediction.c"
 var $61=(($60+4)|0); //@line 1872 "../src/h264bsd_intra_prediction.c"
 $in32=$61; //@line 1872 "../src/h264bsd_intra_prediction.c"
 var $62=HEAP32[(($60)>>2)]; //@line 1872 "../src/h264bsd_intra_prediction.c"
 var $63=$out32; //@line 1872 "../src/h264bsd_intra_prediction.c"
 var $64=(($63+32)|0); //@line 1872 "../src/h264bsd_intra_prediction.c"
 HEAP32[(($64)>>2)]=$62; //@line 1872 "../src/h264bsd_intra_prediction.c"
 var $65=$in32; //@line 1873 "../src/h264bsd_intra_prediction.c"
 var $66=(($65+4)|0); //@line 1873 "../src/h264bsd_intra_prediction.c"
 $in32=$66; //@line 1873 "../src/h264bsd_intra_prediction.c"
 var $67=HEAP32[(($65)>>2)]; //@line 1873 "../src/h264bsd_intra_prediction.c"
 var $68=$out32; //@line 1873 "../src/h264bsd_intra_prediction.c"
 var $69=(($68+48)|0); //@line 1873 "../src/h264bsd_intra_prediction.c"
 HEAP32[(($69)>>2)]=$67; //@line 1873 "../src/h264bsd_intra_prediction.c"
 STACKTOP=sp;return; //@line 1874 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _IntraChromaDcPrediction($data,$above,$left,$availableA,$availableB){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $tmp1;
 var $tmp2;
 $1=$data;
 $2=$above;
 $3=$left;
 $4=$availableA;
 $5=$availableB;
 var $6=$1; //@line 1171 "../src/h264bsd_intra_prediction.c"
 var $7=($6|0)!=0; //@line 1171 "../src/h264bsd_intra_prediction.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 1171 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1171,15336); //@line 1171 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1171 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1171 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 1171 "../src/h264bsd_intra_prediction.c"
 var $13=$2; //@line 1172 "../src/h264bsd_intra_prediction.c"
 var $14=($13|0)!=0; //@line 1172 "../src/h264bsd_intra_prediction.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 1172 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1172,15336); //@line 1172 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1172 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1172 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 1172 "../src/h264bsd_intra_prediction.c"
 var $20=$3; //@line 1173 "../src/h264bsd_intra_prediction.c"
 var $21=($20|0)!=0; //@line 1173 "../src/h264bsd_intra_prediction.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 1173 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1173,15336); //@line 1173 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1173 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1173 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 1173 "../src/h264bsd_intra_prediction.c"
 var $27=$4; //@line 1176 "../src/h264bsd_intra_prediction.c"
 var $28=($27|0)!=0; //@line 1176 "../src/h264bsd_intra_prediction.c"
 if($28){label=8;break;}else{label=10;break;} //@line 1176 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $30=$5; //@line 1176 "../src/h264bsd_intra_prediction.c"
 var $31=($30|0)!=0; //@line 1176 "../src/h264bsd_intra_prediction.c"
 if($31){label=9;break;}else{label=10;break;} //@line 1176 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $33=$2; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $34=(($33)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $35=HEAP8[($34)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $36=($35&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $37=$2; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $38=(($37+1)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $39=HEAP8[($38)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $40=($39&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $41=((($36)+($40))|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $42=$2; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $43=(($42+2)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $44=HEAP8[($43)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $45=($44&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $46=((($41)+($45))|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $47=$2; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $48=(($47+3)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $49=HEAP8[($48)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $50=($49&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $51=((($46)+($50))|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $52=$3; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $53=(($52)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $54=HEAP8[($53)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $55=($54&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $56=((($51)+($55))|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $57=$3; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $58=(($57+1)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $59=HEAP8[($58)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $60=($59&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $61=((($56)+($60))|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $62=$3; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $63=(($62+2)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $64=HEAP8[($63)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $65=($64&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $66=((($61)+($65))|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $67=$3; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $68=(($67+3)|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $69=HEAP8[($68)]; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $70=($69&255); //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $71=((($66)+($70))|0); //@line 1178 "../src/h264bsd_intra_prediction.c"
 $tmp1=$71; //@line 1178 "../src/h264bsd_intra_prediction.c"
 var $72=$tmp1; //@line 1180 "../src/h264bsd_intra_prediction.c"
 var $73=((($72)+(4))|0); //@line 1180 "../src/h264bsd_intra_prediction.c"
 var $74=$73>>>3; //@line 1180 "../src/h264bsd_intra_prediction.c"
 $tmp1=$74; //@line 1180 "../src/h264bsd_intra_prediction.c"
 var $75=$2; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $76=(($75+4)|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $77=HEAP8[($76)]; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $78=($77&255); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $79=$2; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $80=(($79+5)|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $81=HEAP8[($80)]; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $82=($81&255); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $83=((($78)+($82))|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $84=$2; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $85=(($84+6)|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $86=HEAP8[($85)]; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $87=($86&255); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $88=((($83)+($87))|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $89=$2; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $90=(($89+7)|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $91=HEAP8[($90)]; //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $92=($91&255); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $93=((($88)+($92))|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $94=((($93)+(2))|0); //@line 1181 "../src/h264bsd_intra_prediction.c"
 var $95=$94>>2; //@line 1181 "../src/h264bsd_intra_prediction.c"
 $tmp2=$95; //@line 1181 "../src/h264bsd_intra_prediction.c"
 label=17;break; //@line 1182 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $97=$5; //@line 1183 "../src/h264bsd_intra_prediction.c"
 var $98=($97|0)!=0; //@line 1183 "../src/h264bsd_intra_prediction.c"
 if($98){label=11;break;}else{label=12;break;} //@line 1183 "../src/h264bsd_intra_prediction.c"
 case 11: 
 var $100=$2; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $101=(($100)|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $102=HEAP8[($101)]; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $103=($102&255); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $104=$2; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $105=(($104+1)|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $106=HEAP8[($105)]; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $107=($106&255); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $108=((($103)+($107))|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $109=$2; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $110=(($109+2)|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $111=HEAP8[($110)]; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $112=($111&255); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $113=((($108)+($112))|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $114=$2; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $115=(($114+3)|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $116=HEAP8[($115)]; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $117=($116&255); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $118=((($113)+($117))|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $119=((($118)+(2))|0); //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $120=$119>>2; //@line 1185 "../src/h264bsd_intra_prediction.c"
 $tmp1=$120; //@line 1185 "../src/h264bsd_intra_prediction.c"
 var $121=$2; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $122=(($121+4)|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $123=HEAP8[($122)]; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $124=($123&255); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $125=$2; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $126=(($125+5)|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $127=HEAP8[($126)]; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $128=($127&255); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $129=((($124)+($128))|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $130=$2; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $131=(($130+6)|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $132=HEAP8[($131)]; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $133=($132&255); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $134=((($129)+($133))|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $135=$2; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $136=(($135+7)|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $137=HEAP8[($136)]; //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $138=($137&255); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $139=((($134)+($138))|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $140=((($139)+(2))|0); //@line 1186 "../src/h264bsd_intra_prediction.c"
 var $141=$140>>2; //@line 1186 "../src/h264bsd_intra_prediction.c"
 $tmp2=$141; //@line 1186 "../src/h264bsd_intra_prediction.c"
 label=16;break; //@line 1187 "../src/h264bsd_intra_prediction.c"
 case 12: 
 var $143=$4; //@line 1188 "../src/h264bsd_intra_prediction.c"
 var $144=($143|0)!=0; //@line 1188 "../src/h264bsd_intra_prediction.c"
 if($144){label=13;break;}else{label=14;break;} //@line 1188 "../src/h264bsd_intra_prediction.c"
 case 13: 
 var $146=$3; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $147=(($146)|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $148=HEAP8[($147)]; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $149=($148&255); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $150=$3; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $151=(($150+1)|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $152=HEAP8[($151)]; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $153=($152&255); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $154=((($149)+($153))|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $155=$3; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $156=(($155+2)|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $157=HEAP8[($156)]; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $158=($157&255); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $159=((($154)+($158))|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $160=$3; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $161=(($160+3)|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $162=HEAP8[($161)]; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $163=($162&255); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $164=((($159)+($163))|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $165=((($164)+(2))|0); //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $166=$165>>2; //@line 1190 "../src/h264bsd_intra_prediction.c"
 $tmp1=$166; //@line 1190 "../src/h264bsd_intra_prediction.c"
 var $167=$tmp1; //@line 1191 "../src/h264bsd_intra_prediction.c"
 $tmp2=$167; //@line 1191 "../src/h264bsd_intra_prediction.c"
 label=15;break; //@line 1192 "../src/h264bsd_intra_prediction.c"
 case 14: 
 $tmp2=128; //@line 1196 "../src/h264bsd_intra_prediction.c"
 $tmp1=128; //@line 1196 "../src/h264bsd_intra_prediction.c"
 label=15;break;
 case 15: 
 label=16;break;
 case 16: 
 label=17;break;
 case 17: 
 var $172=$tmp1; //@line 1199 "../src/h264bsd_intra_prediction.c"
 var $173=($172>>>0)<256; //@line 1199 "../src/h264bsd_intra_prediction.c"
 if($173){label=18;break;}else{label=19;break;} //@line 1199 "../src/h264bsd_intra_prediction.c"
 case 18: 
 var $175=$tmp2; //@line 1199 "../src/h264bsd_intra_prediction.c"
 var $176=($175>>>0)<256; //@line 1199 "../src/h264bsd_intra_prediction.c"
 if($176){var $180=1;label=20;break;}else{label=19;break;} //@line 1199 "../src/h264bsd_intra_prediction.c"
 case 19: 
 ___assert_fail(9256,12024,1199,15336); //@line 1199 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1199 "../src/h264bsd_intra_prediction.c"
 label=20;break; //@line 1199 "../src/h264bsd_intra_prediction.c"
 case 20: 
 var $180;
 var $181=($180&1); //@line 1199 "../src/h264bsd_intra_prediction.c"
 $i=4; //@line 1200 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 1200 "../src/h264bsd_intra_prediction.c"
 case 21: 
 var $183=$i; //@line 1200 "../src/h264bsd_intra_prediction.c"
 var $184=((($183)-(1))|0); //@line 1200 "../src/h264bsd_intra_prediction.c"
 $i=$184; //@line 1200 "../src/h264bsd_intra_prediction.c"
 var $185=($183|0)!=0; //@line 1200 "../src/h264bsd_intra_prediction.c"
 if($185){label=22;break;}else{label=23;break;} //@line 1200 "../src/h264bsd_intra_prediction.c"
 case 22: 
 var $187=$tmp1; //@line 1202 "../src/h264bsd_intra_prediction.c"
 var $188=(($187)&255); //@line 1202 "../src/h264bsd_intra_prediction.c"
 var $189=$1; //@line 1202 "../src/h264bsd_intra_prediction.c"
 var $190=(($189+1)|0); //@line 1202 "../src/h264bsd_intra_prediction.c"
 $1=$190; //@line 1202 "../src/h264bsd_intra_prediction.c"
 HEAP8[($189)]=$188; //@line 1202 "../src/h264bsd_intra_prediction.c"
 var $191=$tmp1; //@line 1203 "../src/h264bsd_intra_prediction.c"
 var $192=(($191)&255); //@line 1203 "../src/h264bsd_intra_prediction.c"
 var $193=$1; //@line 1203 "../src/h264bsd_intra_prediction.c"
 var $194=(($193+1)|0); //@line 1203 "../src/h264bsd_intra_prediction.c"
 $1=$194; //@line 1203 "../src/h264bsd_intra_prediction.c"
 HEAP8[($193)]=$192; //@line 1203 "../src/h264bsd_intra_prediction.c"
 var $195=$tmp1; //@line 1204 "../src/h264bsd_intra_prediction.c"
 var $196=(($195)&255); //@line 1204 "../src/h264bsd_intra_prediction.c"
 var $197=$1; //@line 1204 "../src/h264bsd_intra_prediction.c"
 var $198=(($197+1)|0); //@line 1204 "../src/h264bsd_intra_prediction.c"
 $1=$198; //@line 1204 "../src/h264bsd_intra_prediction.c"
 HEAP8[($197)]=$196; //@line 1204 "../src/h264bsd_intra_prediction.c"
 var $199=$tmp1; //@line 1205 "../src/h264bsd_intra_prediction.c"
 var $200=(($199)&255); //@line 1205 "../src/h264bsd_intra_prediction.c"
 var $201=$1; //@line 1205 "../src/h264bsd_intra_prediction.c"
 var $202=(($201+1)|0); //@line 1205 "../src/h264bsd_intra_prediction.c"
 $1=$202; //@line 1205 "../src/h264bsd_intra_prediction.c"
 HEAP8[($201)]=$200; //@line 1205 "../src/h264bsd_intra_prediction.c"
 var $203=$tmp2; //@line 1206 "../src/h264bsd_intra_prediction.c"
 var $204=(($203)&255); //@line 1206 "../src/h264bsd_intra_prediction.c"
 var $205=$1; //@line 1206 "../src/h264bsd_intra_prediction.c"
 var $206=(($205+1)|0); //@line 1206 "../src/h264bsd_intra_prediction.c"
 $1=$206; //@line 1206 "../src/h264bsd_intra_prediction.c"
 HEAP8[($205)]=$204; //@line 1206 "../src/h264bsd_intra_prediction.c"
 var $207=$tmp2; //@line 1207 "../src/h264bsd_intra_prediction.c"
 var $208=(($207)&255); //@line 1207 "../src/h264bsd_intra_prediction.c"
 var $209=$1; //@line 1207 "../src/h264bsd_intra_prediction.c"
 var $210=(($209+1)|0); //@line 1207 "../src/h264bsd_intra_prediction.c"
 $1=$210; //@line 1207 "../src/h264bsd_intra_prediction.c"
 HEAP8[($209)]=$208; //@line 1207 "../src/h264bsd_intra_prediction.c"
 var $211=$tmp2; //@line 1208 "../src/h264bsd_intra_prediction.c"
 var $212=(($211)&255); //@line 1208 "../src/h264bsd_intra_prediction.c"
 var $213=$1; //@line 1208 "../src/h264bsd_intra_prediction.c"
 var $214=(($213+1)|0); //@line 1208 "../src/h264bsd_intra_prediction.c"
 $1=$214; //@line 1208 "../src/h264bsd_intra_prediction.c"
 HEAP8[($213)]=$212; //@line 1208 "../src/h264bsd_intra_prediction.c"
 var $215=$tmp2; //@line 1209 "../src/h264bsd_intra_prediction.c"
 var $216=(($215)&255); //@line 1209 "../src/h264bsd_intra_prediction.c"
 var $217=$1; //@line 1209 "../src/h264bsd_intra_prediction.c"
 var $218=(($217+1)|0); //@line 1209 "../src/h264bsd_intra_prediction.c"
 $1=$218; //@line 1209 "../src/h264bsd_intra_prediction.c"
 HEAP8[($217)]=$216; //@line 1209 "../src/h264bsd_intra_prediction.c"
 label=21;break; //@line 1210 "../src/h264bsd_intra_prediction.c"
 case 23: 
 var $220=$4; //@line 1213 "../src/h264bsd_intra_prediction.c"
 var $221=($220|0)!=0; //@line 1213 "../src/h264bsd_intra_prediction.c"
 if($221){label=24;break;}else{label=28;break;} //@line 1213 "../src/h264bsd_intra_prediction.c"
 case 24: 
 var $223=$3; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $224=(($223+4)|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $225=HEAP8[($224)]; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $226=($225&255); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $227=$3; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $228=(($227+5)|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $229=HEAP8[($228)]; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $230=($229&255); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $231=((($226)+($230))|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $232=$3; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $233=(($232+6)|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $234=HEAP8[($233)]; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $235=($234&255); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $236=((($231)+($235))|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $237=$3; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $238=(($237+7)|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $239=HEAP8[($238)]; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $240=($239&255); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $241=((($236)+($240))|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $242=((($241)+(2))|0); //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $243=$242>>2; //@line 1215 "../src/h264bsd_intra_prediction.c"
 $tmp1=$243; //@line 1215 "../src/h264bsd_intra_prediction.c"
 var $244=$5; //@line 1216 "../src/h264bsd_intra_prediction.c"
 var $245=($244|0)!=0; //@line 1216 "../src/h264bsd_intra_prediction.c"
 if($245){label=25;break;}else{label=26;break;} //@line 1216 "../src/h264bsd_intra_prediction.c"
 case 25: 
 var $247=$2; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $248=(($247+4)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $249=HEAP8[($248)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $250=($249&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $251=$2; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $252=(($251+5)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $253=HEAP8[($252)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $254=($253&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $255=((($250)+($254))|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $256=$2; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $257=(($256+6)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $258=HEAP8[($257)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $259=($258&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $260=((($255)+($259))|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $261=$2; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $262=(($261+7)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $263=HEAP8[($262)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $264=($263&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $265=((($260)+($264))|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $266=$3; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $267=(($266+4)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $268=HEAP8[($267)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $269=($268&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $270=((($265)+($269))|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $271=$3; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $272=(($271+5)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $273=HEAP8[($272)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $274=($273&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $275=((($270)+($274))|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $276=$3; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $277=(($276+6)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $278=HEAP8[($277)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $279=($278&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $280=((($275)+($279))|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $281=$3; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $282=(($281+7)|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $283=HEAP8[($282)]; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $284=($283&255); //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $285=((($280)+($284))|0); //@line 1218 "../src/h264bsd_intra_prediction.c"
 $tmp2=$285; //@line 1218 "../src/h264bsd_intra_prediction.c"
 var $286=$tmp2; //@line 1220 "../src/h264bsd_intra_prediction.c"
 var $287=((($286)+(4))|0); //@line 1220 "../src/h264bsd_intra_prediction.c"
 var $288=$287>>>3; //@line 1220 "../src/h264bsd_intra_prediction.c"
 $tmp2=$288; //@line 1220 "../src/h264bsd_intra_prediction.c"
 label=27;break; //@line 1221 "../src/h264bsd_intra_prediction.c"
 case 26: 
 var $290=$tmp1; //@line 1223 "../src/h264bsd_intra_prediction.c"
 $tmp2=$290; //@line 1223 "../src/h264bsd_intra_prediction.c"
 label=27;break;
 case 27: 
 label=32;break; //@line 1224 "../src/h264bsd_intra_prediction.c"
 case 28: 
 var $293=$5; //@line 1225 "../src/h264bsd_intra_prediction.c"
 var $294=($293|0)!=0; //@line 1225 "../src/h264bsd_intra_prediction.c"
 if($294){label=29;break;}else{label=30;break;} //@line 1225 "../src/h264bsd_intra_prediction.c"
 case 29: 
 var $296=$2; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $297=(($296)|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $298=HEAP8[($297)]; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $299=($298&255); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $300=$2; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $301=(($300+1)|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $302=HEAP8[($301)]; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $303=($302&255); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $304=((($299)+($303))|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $305=$2; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $306=(($305+2)|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $307=HEAP8[($306)]; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $308=($307&255); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $309=((($304)+($308))|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $310=$2; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $311=(($310+3)|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $312=HEAP8[($311)]; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $313=($312&255); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $314=((($309)+($313))|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $315=((($314)+(2))|0); //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $316=$315>>2; //@line 1227 "../src/h264bsd_intra_prediction.c"
 $tmp1=$316; //@line 1227 "../src/h264bsd_intra_prediction.c"
 var $317=$2; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $318=(($317+4)|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $319=HEAP8[($318)]; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $320=($319&255); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $321=$2; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $322=(($321+5)|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $323=HEAP8[($322)]; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $324=($323&255); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $325=((($320)+($324))|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $326=$2; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $327=(($326+6)|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $328=HEAP8[($327)]; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $329=($328&255); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $330=((($325)+($329))|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $331=$2; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $332=(($331+7)|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $333=HEAP8[($332)]; //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $334=($333&255); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $335=((($330)+($334))|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $336=((($335)+(2))|0); //@line 1228 "../src/h264bsd_intra_prediction.c"
 var $337=$336>>2; //@line 1228 "../src/h264bsd_intra_prediction.c"
 $tmp2=$337; //@line 1228 "../src/h264bsd_intra_prediction.c"
 label=31;break; //@line 1229 "../src/h264bsd_intra_prediction.c"
 case 30: 
 $tmp2=128; //@line 1232 "../src/h264bsd_intra_prediction.c"
 $tmp1=128; //@line 1232 "../src/h264bsd_intra_prediction.c"
 label=31;break;
 case 31: 
 label=32;break;
 case 32: 
 var $341=$tmp1; //@line 1235 "../src/h264bsd_intra_prediction.c"
 var $342=($341>>>0)<256; //@line 1235 "../src/h264bsd_intra_prediction.c"
 if($342){label=33;break;}else{label=34;break;} //@line 1235 "../src/h264bsd_intra_prediction.c"
 case 33: 
 var $344=$tmp2; //@line 1235 "../src/h264bsd_intra_prediction.c"
 var $345=($344>>>0)<256; //@line 1235 "../src/h264bsd_intra_prediction.c"
 if($345){var $349=1;label=35;break;}else{label=34;break;} //@line 1235 "../src/h264bsd_intra_prediction.c"
 case 34: 
 ___assert_fail(9256,12024,1235,15336); //@line 1235 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1235 "../src/h264bsd_intra_prediction.c"
 label=35;break; //@line 1235 "../src/h264bsd_intra_prediction.c"
 case 35: 
 var $349;
 var $350=($349&1); //@line 1235 "../src/h264bsd_intra_prediction.c"
 $i=4; //@line 1236 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 1236 "../src/h264bsd_intra_prediction.c"
 case 36: 
 var $352=$i; //@line 1236 "../src/h264bsd_intra_prediction.c"
 var $353=((($352)-(1))|0); //@line 1236 "../src/h264bsd_intra_prediction.c"
 $i=$353; //@line 1236 "../src/h264bsd_intra_prediction.c"
 var $354=($352|0)!=0; //@line 1236 "../src/h264bsd_intra_prediction.c"
 if($354){label=37;break;}else{label=38;break;} //@line 1236 "../src/h264bsd_intra_prediction.c"
 case 37: 
 var $356=$tmp1; //@line 1238 "../src/h264bsd_intra_prediction.c"
 var $357=(($356)&255); //@line 1238 "../src/h264bsd_intra_prediction.c"
 var $358=$1; //@line 1238 "../src/h264bsd_intra_prediction.c"
 var $359=(($358+1)|0); //@line 1238 "../src/h264bsd_intra_prediction.c"
 $1=$359; //@line 1238 "../src/h264bsd_intra_prediction.c"
 HEAP8[($358)]=$357; //@line 1238 "../src/h264bsd_intra_prediction.c"
 var $360=$tmp1; //@line 1239 "../src/h264bsd_intra_prediction.c"
 var $361=(($360)&255); //@line 1239 "../src/h264bsd_intra_prediction.c"
 var $362=$1; //@line 1239 "../src/h264bsd_intra_prediction.c"
 var $363=(($362+1)|0); //@line 1239 "../src/h264bsd_intra_prediction.c"
 $1=$363; //@line 1239 "../src/h264bsd_intra_prediction.c"
 HEAP8[($362)]=$361; //@line 1239 "../src/h264bsd_intra_prediction.c"
 var $364=$tmp1; //@line 1240 "../src/h264bsd_intra_prediction.c"
 var $365=(($364)&255); //@line 1240 "../src/h264bsd_intra_prediction.c"
 var $366=$1; //@line 1240 "../src/h264bsd_intra_prediction.c"
 var $367=(($366+1)|0); //@line 1240 "../src/h264bsd_intra_prediction.c"
 $1=$367; //@line 1240 "../src/h264bsd_intra_prediction.c"
 HEAP8[($366)]=$365; //@line 1240 "../src/h264bsd_intra_prediction.c"
 var $368=$tmp1; //@line 1241 "../src/h264bsd_intra_prediction.c"
 var $369=(($368)&255); //@line 1241 "../src/h264bsd_intra_prediction.c"
 var $370=$1; //@line 1241 "../src/h264bsd_intra_prediction.c"
 var $371=(($370+1)|0); //@line 1241 "../src/h264bsd_intra_prediction.c"
 $1=$371; //@line 1241 "../src/h264bsd_intra_prediction.c"
 HEAP8[($370)]=$369; //@line 1241 "../src/h264bsd_intra_prediction.c"
 var $372=$tmp2; //@line 1242 "../src/h264bsd_intra_prediction.c"
 var $373=(($372)&255); //@line 1242 "../src/h264bsd_intra_prediction.c"
 var $374=$1; //@line 1242 "../src/h264bsd_intra_prediction.c"
 var $375=(($374+1)|0); //@line 1242 "../src/h264bsd_intra_prediction.c"
 $1=$375; //@line 1242 "../src/h264bsd_intra_prediction.c"
 HEAP8[($374)]=$373; //@line 1242 "../src/h264bsd_intra_prediction.c"
 var $376=$tmp2; //@line 1243 "../src/h264bsd_intra_prediction.c"
 var $377=(($376)&255); //@line 1243 "../src/h264bsd_intra_prediction.c"
 var $378=$1; //@line 1243 "../src/h264bsd_intra_prediction.c"
 var $379=(($378+1)|0); //@line 1243 "../src/h264bsd_intra_prediction.c"
 $1=$379; //@line 1243 "../src/h264bsd_intra_prediction.c"
 HEAP8[($378)]=$377; //@line 1243 "../src/h264bsd_intra_prediction.c"
 var $380=$tmp2; //@line 1244 "../src/h264bsd_intra_prediction.c"
 var $381=(($380)&255); //@line 1244 "../src/h264bsd_intra_prediction.c"
 var $382=$1; //@line 1244 "../src/h264bsd_intra_prediction.c"
 var $383=(($382+1)|0); //@line 1244 "../src/h264bsd_intra_prediction.c"
 $1=$383; //@line 1244 "../src/h264bsd_intra_prediction.c"
 HEAP8[($382)]=$381; //@line 1244 "../src/h264bsd_intra_prediction.c"
 var $384=$tmp2; //@line 1245 "../src/h264bsd_intra_prediction.c"
 var $385=(($384)&255); //@line 1245 "../src/h264bsd_intra_prediction.c"
 var $386=$1; //@line 1245 "../src/h264bsd_intra_prediction.c"
 var $387=(($386+1)|0); //@line 1245 "../src/h264bsd_intra_prediction.c"
 $1=$387; //@line 1245 "../src/h264bsd_intra_prediction.c"
 HEAP8[($386)]=$385; //@line 1245 "../src/h264bsd_intra_prediction.c"
 label=36;break; //@line 1246 "../src/h264bsd_intra_prediction.c"
 case 38: 
 STACKTOP=sp;return; //@line 1247 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _IntraChromaHorizontalPrediction($data,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 $1=$data;
 $2=$left;
 var $3=$1; //@line 1267 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1267 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1267 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1267,15304); //@line 1267 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1267 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1267 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1267 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1268 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1268 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1268 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(5904,12024,1268,15304); //@line 1268 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1268 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1268 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1268 "../src/h264bsd_intra_prediction.c"
 $i=8; //@line 1270 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1270 "../src/h264bsd_intra_prediction.c"
 case 6: 
 var $18=$i; //@line 1270 "../src/h264bsd_intra_prediction.c"
 var $19=((($18)-(1))|0); //@line 1270 "../src/h264bsd_intra_prediction.c"
 $i=$19; //@line 1270 "../src/h264bsd_intra_prediction.c"
 var $20=($18|0)!=0; //@line 1270 "../src/h264bsd_intra_prediction.c"
 if($20){label=7;break;}else{label=8;break;} //@line 1270 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $22=$2; //@line 1272 "../src/h264bsd_intra_prediction.c"
 var $23=HEAP8[($22)]; //@line 1272 "../src/h264bsd_intra_prediction.c"
 var $24=$1; //@line 1272 "../src/h264bsd_intra_prediction.c"
 var $25=(($24+1)|0); //@line 1272 "../src/h264bsd_intra_prediction.c"
 $1=$25; //@line 1272 "../src/h264bsd_intra_prediction.c"
 HEAP8[($24)]=$23; //@line 1272 "../src/h264bsd_intra_prediction.c"
 var $26=$2; //@line 1273 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP8[($26)]; //@line 1273 "../src/h264bsd_intra_prediction.c"
 var $28=$1; //@line 1273 "../src/h264bsd_intra_prediction.c"
 var $29=(($28+1)|0); //@line 1273 "../src/h264bsd_intra_prediction.c"
 $1=$29; //@line 1273 "../src/h264bsd_intra_prediction.c"
 HEAP8[($28)]=$27; //@line 1273 "../src/h264bsd_intra_prediction.c"
 var $30=$2; //@line 1274 "../src/h264bsd_intra_prediction.c"
 var $31=HEAP8[($30)]; //@line 1274 "../src/h264bsd_intra_prediction.c"
 var $32=$1; //@line 1274 "../src/h264bsd_intra_prediction.c"
 var $33=(($32+1)|0); //@line 1274 "../src/h264bsd_intra_prediction.c"
 $1=$33; //@line 1274 "../src/h264bsd_intra_prediction.c"
 HEAP8[($32)]=$31; //@line 1274 "../src/h264bsd_intra_prediction.c"
 var $34=$2; //@line 1275 "../src/h264bsd_intra_prediction.c"
 var $35=HEAP8[($34)]; //@line 1275 "../src/h264bsd_intra_prediction.c"
 var $36=$1; //@line 1275 "../src/h264bsd_intra_prediction.c"
 var $37=(($36+1)|0); //@line 1275 "../src/h264bsd_intra_prediction.c"
 $1=$37; //@line 1275 "../src/h264bsd_intra_prediction.c"
 HEAP8[($36)]=$35; //@line 1275 "../src/h264bsd_intra_prediction.c"
 var $38=$2; //@line 1276 "../src/h264bsd_intra_prediction.c"
 var $39=HEAP8[($38)]; //@line 1276 "../src/h264bsd_intra_prediction.c"
 var $40=$1; //@line 1276 "../src/h264bsd_intra_prediction.c"
 var $41=(($40+1)|0); //@line 1276 "../src/h264bsd_intra_prediction.c"
 $1=$41; //@line 1276 "../src/h264bsd_intra_prediction.c"
 HEAP8[($40)]=$39; //@line 1276 "../src/h264bsd_intra_prediction.c"
 var $42=$2; //@line 1277 "../src/h264bsd_intra_prediction.c"
 var $43=HEAP8[($42)]; //@line 1277 "../src/h264bsd_intra_prediction.c"
 var $44=$1; //@line 1277 "../src/h264bsd_intra_prediction.c"
 var $45=(($44+1)|0); //@line 1277 "../src/h264bsd_intra_prediction.c"
 $1=$45; //@line 1277 "../src/h264bsd_intra_prediction.c"
 HEAP8[($44)]=$43; //@line 1277 "../src/h264bsd_intra_prediction.c"
 var $46=$2; //@line 1278 "../src/h264bsd_intra_prediction.c"
 var $47=HEAP8[($46)]; //@line 1278 "../src/h264bsd_intra_prediction.c"
 var $48=$1; //@line 1278 "../src/h264bsd_intra_prediction.c"
 var $49=(($48+1)|0); //@line 1278 "../src/h264bsd_intra_prediction.c"
 $1=$49; //@line 1278 "../src/h264bsd_intra_prediction.c"
 HEAP8[($48)]=$47; //@line 1278 "../src/h264bsd_intra_prediction.c"
 var $50=$2; //@line 1279 "../src/h264bsd_intra_prediction.c"
 var $51=(($50+1)|0); //@line 1279 "../src/h264bsd_intra_prediction.c"
 $2=$51; //@line 1279 "../src/h264bsd_intra_prediction.c"
 var $52=HEAP8[($50)]; //@line 1279 "../src/h264bsd_intra_prediction.c"
 var $53=$1; //@line 1279 "../src/h264bsd_intra_prediction.c"
 var $54=(($53+1)|0); //@line 1279 "../src/h264bsd_intra_prediction.c"
 $1=$54; //@line 1279 "../src/h264bsd_intra_prediction.c"
 HEAP8[($53)]=$52; //@line 1279 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1280 "../src/h264bsd_intra_prediction.c"
 case 8: 
 STACKTOP=sp;return; //@line 1282 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _IntraChromaVerticalPrediction($data,$above){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 $1=$data;
 $2=$above;
 var $3=$1; //@line 1302 "../src/h264bsd_intra_prediction.c"
 var $4=($3|0)!=0; //@line 1302 "../src/h264bsd_intra_prediction.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 1302 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1302,15240); //@line 1302 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1302 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1302 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 1302 "../src/h264bsd_intra_prediction.c"
 var $10=$2; //@line 1303 "../src/h264bsd_intra_prediction.c"
 var $11=($10|0)!=0; //@line 1303 "../src/h264bsd_intra_prediction.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 1303 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1303,15240); //@line 1303 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1303 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1303 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 1303 "../src/h264bsd_intra_prediction.c"
 $i=8; //@line 1305 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1305 "../src/h264bsd_intra_prediction.c"
 case 6: 
 var $18=$i; //@line 1305 "../src/h264bsd_intra_prediction.c"
 var $19=((($18)-(1))|0); //@line 1305 "../src/h264bsd_intra_prediction.c"
 $i=$19; //@line 1305 "../src/h264bsd_intra_prediction.c"
 var $20=($18|0)!=0; //@line 1305 "../src/h264bsd_intra_prediction.c"
 if($20){label=7;break;}else{label=9;break;} //@line 1305 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $22=$2; //@line 1307 "../src/h264bsd_intra_prediction.c"
 var $23=HEAP8[($22)]; //@line 1307 "../src/h264bsd_intra_prediction.c"
 var $24=$1; //@line 1307 "../src/h264bsd_intra_prediction.c"
 var $25=(($24)|0); //@line 1307 "../src/h264bsd_intra_prediction.c"
 HEAP8[($25)]=$23; //@line 1307 "../src/h264bsd_intra_prediction.c"
 var $26=$2; //@line 1308 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP8[($26)]; //@line 1308 "../src/h264bsd_intra_prediction.c"
 var $28=$1; //@line 1308 "../src/h264bsd_intra_prediction.c"
 var $29=(($28+8)|0); //@line 1308 "../src/h264bsd_intra_prediction.c"
 HEAP8[($29)]=$27; //@line 1308 "../src/h264bsd_intra_prediction.c"
 var $30=$2; //@line 1309 "../src/h264bsd_intra_prediction.c"
 var $31=HEAP8[($30)]; //@line 1309 "../src/h264bsd_intra_prediction.c"
 var $32=$1; //@line 1309 "../src/h264bsd_intra_prediction.c"
 var $33=(($32+16)|0); //@line 1309 "../src/h264bsd_intra_prediction.c"
 HEAP8[($33)]=$31; //@line 1309 "../src/h264bsd_intra_prediction.c"
 var $34=$2; //@line 1310 "../src/h264bsd_intra_prediction.c"
 var $35=HEAP8[($34)]; //@line 1310 "../src/h264bsd_intra_prediction.c"
 var $36=$1; //@line 1310 "../src/h264bsd_intra_prediction.c"
 var $37=(($36+24)|0); //@line 1310 "../src/h264bsd_intra_prediction.c"
 HEAP8[($37)]=$35; //@line 1310 "../src/h264bsd_intra_prediction.c"
 var $38=$2; //@line 1311 "../src/h264bsd_intra_prediction.c"
 var $39=HEAP8[($38)]; //@line 1311 "../src/h264bsd_intra_prediction.c"
 var $40=$1; //@line 1311 "../src/h264bsd_intra_prediction.c"
 var $41=(($40+32)|0); //@line 1311 "../src/h264bsd_intra_prediction.c"
 HEAP8[($41)]=$39; //@line 1311 "../src/h264bsd_intra_prediction.c"
 var $42=$2; //@line 1312 "../src/h264bsd_intra_prediction.c"
 var $43=HEAP8[($42)]; //@line 1312 "../src/h264bsd_intra_prediction.c"
 var $44=$1; //@line 1312 "../src/h264bsd_intra_prediction.c"
 var $45=(($44+40)|0); //@line 1312 "../src/h264bsd_intra_prediction.c"
 HEAP8[($45)]=$43; //@line 1312 "../src/h264bsd_intra_prediction.c"
 var $46=$2; //@line 1313 "../src/h264bsd_intra_prediction.c"
 var $47=HEAP8[($46)]; //@line 1313 "../src/h264bsd_intra_prediction.c"
 var $48=$1; //@line 1313 "../src/h264bsd_intra_prediction.c"
 var $49=(($48+48)|0); //@line 1313 "../src/h264bsd_intra_prediction.c"
 HEAP8[($49)]=$47; //@line 1313 "../src/h264bsd_intra_prediction.c"
 var $50=$2; //@line 1314 "../src/h264bsd_intra_prediction.c"
 var $51=(($50+1)|0); //@line 1314 "../src/h264bsd_intra_prediction.c"
 $2=$51; //@line 1314 "../src/h264bsd_intra_prediction.c"
 var $52=HEAP8[($50)]; //@line 1314 "../src/h264bsd_intra_prediction.c"
 var $53=$1; //@line 1314 "../src/h264bsd_intra_prediction.c"
 var $54=(($53+56)|0); //@line 1314 "../src/h264bsd_intra_prediction.c"
 HEAP8[($54)]=$52; //@line 1314 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1315 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $56=$1; //@line 1305 "../src/h264bsd_intra_prediction.c"
 var $57=(($56+1)|0); //@line 1305 "../src/h264bsd_intra_prediction.c"
 $1=$57; //@line 1305 "../src/h264bsd_intra_prediction.c"
 label=6;break; //@line 1305 "../src/h264bsd_intra_prediction.c"
 case 9: 
 STACKTOP=sp;return; //@line 1317 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _IntraChromaPlanePrediction($data,$above,$left){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $i;
 var $a;
 var $b;
 var $c;
 var $tmp;
 var $clp;
 $1=$data;
 $2=$above;
 $3=$left;
 $clp=1872; //@line 1336 "../src/h264bsd_intra_prediction.c"
 var $4=$1; //@line 1340 "../src/h264bsd_intra_prediction.c"
 var $5=($4|0)!=0; //@line 1340 "../src/h264bsd_intra_prediction.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 1340 "../src/h264bsd_intra_prediction.c"
 case 2: 
 ___assert_fail(5400,12024,1340,15272); //@line 1340 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1340 "../src/h264bsd_intra_prediction.c"
 label=3;break; //@line 1340 "../src/h264bsd_intra_prediction.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 1340 "../src/h264bsd_intra_prediction.c"
 var $11=$2; //@line 1341 "../src/h264bsd_intra_prediction.c"
 var $12=($11|0)!=0; //@line 1341 "../src/h264bsd_intra_prediction.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 1341 "../src/h264bsd_intra_prediction.c"
 case 4: 
 ___assert_fail(6432,12024,1341,15272); //@line 1341 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1341 "../src/h264bsd_intra_prediction.c"
 label=5;break; //@line 1341 "../src/h264bsd_intra_prediction.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 1341 "../src/h264bsd_intra_prediction.c"
 var $18=$3; //@line 1342 "../src/h264bsd_intra_prediction.c"
 var $19=($18|0)!=0; //@line 1342 "../src/h264bsd_intra_prediction.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 1342 "../src/h264bsd_intra_prediction.c"
 case 6: 
 ___assert_fail(5904,12024,1342,15272); //@line 1342 "../src/h264bsd_intra_prediction.c"
 throw "Reached an unreachable!"; //@line 1342 "../src/h264bsd_intra_prediction.c"
 label=7;break; //@line 1342 "../src/h264bsd_intra_prediction.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 1342 "../src/h264bsd_intra_prediction.c"
 var $25=$2; //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $26=(($25+7)|0); //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $27=HEAP8[($26)]; //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $28=($27&255); //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $29=$3; //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $30=(($29+7)|0); //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $31=HEAP8[($30)]; //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $32=($31&255); //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $33=((($28)+($32))|0); //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $34=($33<<4); //@line 1344 "../src/h264bsd_intra_prediction.c"
 $a=$34; //@line 1344 "../src/h264bsd_intra_prediction.c"
 var $35=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $36=(($35+4)|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $37=HEAP8[($36)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $38=($37&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $39=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $40=(($39+2)|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $41=HEAP8[($40)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $42=($41&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $43=((($38)-($42))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $44=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $45=(($44+5)|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $46=HEAP8[($45)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $47=($46&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $48=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $49=(($48+1)|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $50=HEAP8[($49)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $51=($50&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $52=((($47)-($51))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $53=($52<<1); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $54=((($43)+($53))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $55=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $56=(($55+6)|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $57=HEAP8[($56)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $58=($57&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $59=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $60=(($59)|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $61=HEAP8[($60)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $62=($61&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $63=((($58)-($62))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $64=((($63)*(3))&-1); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $65=((($54)+($64))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $66=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $67=(($66+7)|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $68=HEAP8[($67)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $69=($68&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $70=$2; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $71=((($70)-(1))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $72=HEAP8[($71)]; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $73=($72&255); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $74=((($69)-($73))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $75=($74<<2); //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $76=((($65)+($75))|0); //@line 1346 "../src/h264bsd_intra_prediction.c"
 $b=$76; //@line 1346 "../src/h264bsd_intra_prediction.c"
 var $77=$b; //@line 1348 "../src/h264bsd_intra_prediction.c"
 var $78=((($77)*(17))&-1); //@line 1348 "../src/h264bsd_intra_prediction.c"
 var $79=((($78)+(16))|0); //@line 1348 "../src/h264bsd_intra_prediction.c"
 var $80=$79>>5; //@line 1348 "../src/h264bsd_intra_prediction.c"
 $b=$80; //@line 1348 "../src/h264bsd_intra_prediction.c"
 var $81=$3; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $82=(($81+4)|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $83=HEAP8[($82)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $84=($83&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $85=$3; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $86=(($85+2)|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $87=HEAP8[($86)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $88=($87&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $89=((($84)-($88))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $90=$3; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $91=(($90+5)|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $92=HEAP8[($91)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $93=($92&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $94=$3; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $95=(($94+1)|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $96=HEAP8[($95)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $97=($96&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $98=((($93)-($97))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $99=($98<<1); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $100=((($89)+($99))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $101=$3; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $102=(($101+6)|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $103=HEAP8[($102)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $104=($103&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $105=$3; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $106=(($105)|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $107=HEAP8[($106)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $108=($107&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $109=((($104)-($108))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $110=((($109)*(3))&-1); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $111=((($100)+($110))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $112=$3; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $113=(($112+7)|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $114=HEAP8[($113)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $115=($114&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $116=$2; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $117=((($116)-(1))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $118=HEAP8[($117)]; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $119=($118&255); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $120=((($115)-($119))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $121=($120<<2); //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $122=((($111)+($121))|0); //@line 1351 "../src/h264bsd_intra_prediction.c"
 $c=$122; //@line 1351 "../src/h264bsd_intra_prediction.c"
 var $123=$c; //@line 1353 "../src/h264bsd_intra_prediction.c"
 var $124=((($123)*(17))&-1); //@line 1353 "../src/h264bsd_intra_prediction.c"
 var $125=((($124)+(16))|0); //@line 1353 "../src/h264bsd_intra_prediction.c"
 var $126=$125>>5; //@line 1353 "../src/h264bsd_intra_prediction.c"
 $c=$126; //@line 1353 "../src/h264bsd_intra_prediction.c"
 var $127=$a; //@line 1356 "../src/h264bsd_intra_prediction.c"
 var $128=$c; //@line 1356 "../src/h264bsd_intra_prediction.c"
 var $129=((($128)*(3))&-1); //@line 1356 "../src/h264bsd_intra_prediction.c"
 var $130=((($127)-($129))|0); //@line 1356 "../src/h264bsd_intra_prediction.c"
 var $131=((($130)+(16))|0); //@line 1356 "../src/h264bsd_intra_prediction.c"
 $a=$131; //@line 1356 "../src/h264bsd_intra_prediction.c"
 $i=8; //@line 1357 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1357 "../src/h264bsd_intra_prediction.c"
 case 8: 
 var $133=$i; //@line 1357 "../src/h264bsd_intra_prediction.c"
 var $134=((($133)-(1))|0); //@line 1357 "../src/h264bsd_intra_prediction.c"
 $i=$134; //@line 1357 "../src/h264bsd_intra_prediction.c"
 var $135=($133|0)!=0; //@line 1357 "../src/h264bsd_intra_prediction.c"
 if($135){label=9;break;}else{label=11;break;} //@line 1357 "../src/h264bsd_intra_prediction.c"
 case 9: 
 var $137=$a; //@line 1359 "../src/h264bsd_intra_prediction.c"
 var $138=$b; //@line 1359 "../src/h264bsd_intra_prediction.c"
 var $139=((($138)*(3))&-1); //@line 1359 "../src/h264bsd_intra_prediction.c"
 var $140=((($137)-($139))|0); //@line 1359 "../src/h264bsd_intra_prediction.c"
 $tmp=$140; //@line 1359 "../src/h264bsd_intra_prediction.c"
 var $141=$tmp; //@line 1360 "../src/h264bsd_intra_prediction.c"
 var $142=$141>>5; //@line 1360 "../src/h264bsd_intra_prediction.c"
 var $143=$clp; //@line 1360 "../src/h264bsd_intra_prediction.c"
 var $144=(($143+$142)|0); //@line 1360 "../src/h264bsd_intra_prediction.c"
 var $145=HEAP8[($144)]; //@line 1360 "../src/h264bsd_intra_prediction.c"
 var $146=$1; //@line 1360 "../src/h264bsd_intra_prediction.c"
 var $147=(($146+1)|0); //@line 1360 "../src/h264bsd_intra_prediction.c"
 $1=$147; //@line 1360 "../src/h264bsd_intra_prediction.c"
 HEAP8[($146)]=$145; //@line 1360 "../src/h264bsd_intra_prediction.c"
 var $148=$b; //@line 1361 "../src/h264bsd_intra_prediction.c"
 var $149=$tmp; //@line 1361 "../src/h264bsd_intra_prediction.c"
 var $150=((($149)+($148))|0); //@line 1361 "../src/h264bsd_intra_prediction.c"
 $tmp=$150; //@line 1361 "../src/h264bsd_intra_prediction.c"
 var $151=$tmp; //@line 1362 "../src/h264bsd_intra_prediction.c"
 var $152=$151>>5; //@line 1362 "../src/h264bsd_intra_prediction.c"
 var $153=$clp; //@line 1362 "../src/h264bsd_intra_prediction.c"
 var $154=(($153+$152)|0); //@line 1362 "../src/h264bsd_intra_prediction.c"
 var $155=HEAP8[($154)]; //@line 1362 "../src/h264bsd_intra_prediction.c"
 var $156=$1; //@line 1362 "../src/h264bsd_intra_prediction.c"
 var $157=(($156+1)|0); //@line 1362 "../src/h264bsd_intra_prediction.c"
 $1=$157; //@line 1362 "../src/h264bsd_intra_prediction.c"
 HEAP8[($156)]=$155; //@line 1362 "../src/h264bsd_intra_prediction.c"
 var $158=$b; //@line 1363 "../src/h264bsd_intra_prediction.c"
 var $159=$tmp; //@line 1363 "../src/h264bsd_intra_prediction.c"
 var $160=((($159)+($158))|0); //@line 1363 "../src/h264bsd_intra_prediction.c"
 $tmp=$160; //@line 1363 "../src/h264bsd_intra_prediction.c"
 var $161=$tmp; //@line 1364 "../src/h264bsd_intra_prediction.c"
 var $162=$161>>5; //@line 1364 "../src/h264bsd_intra_prediction.c"
 var $163=$clp; //@line 1364 "../src/h264bsd_intra_prediction.c"
 var $164=(($163+$162)|0); //@line 1364 "../src/h264bsd_intra_prediction.c"
 var $165=HEAP8[($164)]; //@line 1364 "../src/h264bsd_intra_prediction.c"
 var $166=$1; //@line 1364 "../src/h264bsd_intra_prediction.c"
 var $167=(($166+1)|0); //@line 1364 "../src/h264bsd_intra_prediction.c"
 $1=$167; //@line 1364 "../src/h264bsd_intra_prediction.c"
 HEAP8[($166)]=$165; //@line 1364 "../src/h264bsd_intra_prediction.c"
 var $168=$b; //@line 1365 "../src/h264bsd_intra_prediction.c"
 var $169=$tmp; //@line 1365 "../src/h264bsd_intra_prediction.c"
 var $170=((($169)+($168))|0); //@line 1365 "../src/h264bsd_intra_prediction.c"
 $tmp=$170; //@line 1365 "../src/h264bsd_intra_prediction.c"
 var $171=$tmp; //@line 1366 "../src/h264bsd_intra_prediction.c"
 var $172=$171>>5; //@line 1366 "../src/h264bsd_intra_prediction.c"
 var $173=$clp; //@line 1366 "../src/h264bsd_intra_prediction.c"
 var $174=(($173+$172)|0); //@line 1366 "../src/h264bsd_intra_prediction.c"
 var $175=HEAP8[($174)]; //@line 1366 "../src/h264bsd_intra_prediction.c"
 var $176=$1; //@line 1366 "../src/h264bsd_intra_prediction.c"
 var $177=(($176+1)|0); //@line 1366 "../src/h264bsd_intra_prediction.c"
 $1=$177; //@line 1366 "../src/h264bsd_intra_prediction.c"
 HEAP8[($176)]=$175; //@line 1366 "../src/h264bsd_intra_prediction.c"
 var $178=$b; //@line 1367 "../src/h264bsd_intra_prediction.c"
 var $179=$tmp; //@line 1367 "../src/h264bsd_intra_prediction.c"
 var $180=((($179)+($178))|0); //@line 1367 "../src/h264bsd_intra_prediction.c"
 $tmp=$180; //@line 1367 "../src/h264bsd_intra_prediction.c"
 var $181=$tmp; //@line 1368 "../src/h264bsd_intra_prediction.c"
 var $182=$181>>5; //@line 1368 "../src/h264bsd_intra_prediction.c"
 var $183=$clp; //@line 1368 "../src/h264bsd_intra_prediction.c"
 var $184=(($183+$182)|0); //@line 1368 "../src/h264bsd_intra_prediction.c"
 var $185=HEAP8[($184)]; //@line 1368 "../src/h264bsd_intra_prediction.c"
 var $186=$1; //@line 1368 "../src/h264bsd_intra_prediction.c"
 var $187=(($186+1)|0); //@line 1368 "../src/h264bsd_intra_prediction.c"
 $1=$187; //@line 1368 "../src/h264bsd_intra_prediction.c"
 HEAP8[($186)]=$185; //@line 1368 "../src/h264bsd_intra_prediction.c"
 var $188=$b; //@line 1369 "../src/h264bsd_intra_prediction.c"
 var $189=$tmp; //@line 1369 "../src/h264bsd_intra_prediction.c"
 var $190=((($189)+($188))|0); //@line 1369 "../src/h264bsd_intra_prediction.c"
 $tmp=$190; //@line 1369 "../src/h264bsd_intra_prediction.c"
 var $191=$tmp; //@line 1370 "../src/h264bsd_intra_prediction.c"
 var $192=$191>>5; //@line 1370 "../src/h264bsd_intra_prediction.c"
 var $193=$clp; //@line 1370 "../src/h264bsd_intra_prediction.c"
 var $194=(($193+$192)|0); //@line 1370 "../src/h264bsd_intra_prediction.c"
 var $195=HEAP8[($194)]; //@line 1370 "../src/h264bsd_intra_prediction.c"
 var $196=$1; //@line 1370 "../src/h264bsd_intra_prediction.c"
 var $197=(($196+1)|0); //@line 1370 "../src/h264bsd_intra_prediction.c"
 $1=$197; //@line 1370 "../src/h264bsd_intra_prediction.c"
 HEAP8[($196)]=$195; //@line 1370 "../src/h264bsd_intra_prediction.c"
 var $198=$b; //@line 1371 "../src/h264bsd_intra_prediction.c"
 var $199=$tmp; //@line 1371 "../src/h264bsd_intra_prediction.c"
 var $200=((($199)+($198))|0); //@line 1371 "../src/h264bsd_intra_prediction.c"
 $tmp=$200; //@line 1371 "../src/h264bsd_intra_prediction.c"
 var $201=$tmp; //@line 1372 "../src/h264bsd_intra_prediction.c"
 var $202=$201>>5; //@line 1372 "../src/h264bsd_intra_prediction.c"
 var $203=$clp; //@line 1372 "../src/h264bsd_intra_prediction.c"
 var $204=(($203+$202)|0); //@line 1372 "../src/h264bsd_intra_prediction.c"
 var $205=HEAP8[($204)]; //@line 1372 "../src/h264bsd_intra_prediction.c"
 var $206=$1; //@line 1372 "../src/h264bsd_intra_prediction.c"
 var $207=(($206+1)|0); //@line 1372 "../src/h264bsd_intra_prediction.c"
 $1=$207; //@line 1372 "../src/h264bsd_intra_prediction.c"
 HEAP8[($206)]=$205; //@line 1372 "../src/h264bsd_intra_prediction.c"
 var $208=$b; //@line 1373 "../src/h264bsd_intra_prediction.c"
 var $209=$tmp; //@line 1373 "../src/h264bsd_intra_prediction.c"
 var $210=((($209)+($208))|0); //@line 1373 "../src/h264bsd_intra_prediction.c"
 $tmp=$210; //@line 1373 "../src/h264bsd_intra_prediction.c"
 var $211=$tmp; //@line 1374 "../src/h264bsd_intra_prediction.c"
 var $212=$211>>5; //@line 1374 "../src/h264bsd_intra_prediction.c"
 var $213=$clp; //@line 1374 "../src/h264bsd_intra_prediction.c"
 var $214=(($213+$212)|0); //@line 1374 "../src/h264bsd_intra_prediction.c"
 var $215=HEAP8[($214)]; //@line 1374 "../src/h264bsd_intra_prediction.c"
 var $216=$1; //@line 1374 "../src/h264bsd_intra_prediction.c"
 var $217=(($216+1)|0); //@line 1374 "../src/h264bsd_intra_prediction.c"
 $1=$217; //@line 1374 "../src/h264bsd_intra_prediction.c"
 HEAP8[($216)]=$215; //@line 1374 "../src/h264bsd_intra_prediction.c"
 label=10;break; //@line 1375 "../src/h264bsd_intra_prediction.c"
 case 10: 
 var $219=$c; //@line 1357 "../src/h264bsd_intra_prediction.c"
 var $220=$a; //@line 1357 "../src/h264bsd_intra_prediction.c"
 var $221=((($220)+($219))|0); //@line 1357 "../src/h264bsd_intra_prediction.c"
 $a=$221; //@line 1357 "../src/h264bsd_intra_prediction.c"
 label=8;break; //@line 1357 "../src/h264bsd_intra_prediction.c"
 case 11: 
 STACKTOP=sp;return; //@line 1377 "../src/h264bsd_intra_prediction.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeMacroblockLayer($pStrmData,$pMbLayer,$pMb,$sliceType,$numRefIdxActive){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+16)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $tmp;
 var $i;
 var $value=sp;
 var $itmp=(sp)+(8);
 var $partMode;
 var $level;
 $2=$pStrmData;
 $3=$pMbLayer;
 $4=$pMb;
 $5=$sliceType;
 $6=$numRefIdxActive;
 var $7=$2; //@line 147 "../src/h264bsd_macroblock_layer.c"
 var $8=($7|0)!=0; //@line 147 "../src/h264bsd_macroblock_layer.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 147 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(10504,11856,147,14344); //@line 147 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 147 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 147 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 147 "../src/h264bsd_macroblock_layer.c"
 var $14=$3; //@line 148 "../src/h264bsd_macroblock_layer.c"
 var $15=($14|0)!=0; //@line 148 "../src/h264bsd_macroblock_layer.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 148 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 ___assert_fail(9192,11856,148,14344); //@line 148 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 148 "../src/h264bsd_macroblock_layer.c"
 label=5;break; //@line 148 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 148 "../src/h264bsd_macroblock_layer.c"
 var $21=$3; //@line 153 "../src/h264bsd_macroblock_layer.c"
 var $22=$21; //@line 153 "../src/h264bsd_macroblock_layer.c"
 _memset($22, 0, 2088)|0; //@line 153 "../src/h264bsd_macroblock_layer.c"
 var $23=$2; //@line 156 "../src/h264bsd_macroblock_layer.c"
 var $24=_h264bsdDecodeExpGolombUnsigned($23,$value); //@line 156 "../src/h264bsd_macroblock_layer.c"
 $tmp=$24; //@line 156 "../src/h264bsd_macroblock_layer.c"
 var $25=$5; //@line 158 "../src/h264bsd_macroblock_layer.c"
 var $26=($25|0)==2; //@line 158 "../src/h264bsd_macroblock_layer.c"
 if($26){label=7;break;}else{label=6;break;} //@line 158 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 var $28=$5; //@line 158 "../src/h264bsd_macroblock_layer.c"
 var $29=($28|0)==7; //@line 158 "../src/h264bsd_macroblock_layer.c"
 if($29){label=7;break;}else{label=11;break;} //@line 158 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $31=HEAP32[(($value)>>2)]; //@line 160 "../src/h264bsd_macroblock_layer.c"
 var $32=((($31)+(6))|0); //@line 160 "../src/h264bsd_macroblock_layer.c"
 var $33=($32>>>0)>31; //@line 160 "../src/h264bsd_macroblock_layer.c"
 if($33){label=9;break;}else{label=8;break;} //@line 160 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $35=$tmp; //@line 160 "../src/h264bsd_macroblock_layer.c"
 var $36=($35|0)!=0; //@line 160 "../src/h264bsd_macroblock_layer.c"
 if($36){label=9;break;}else{label=10;break;} //@line 160 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 $1=1; //@line 161 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 161 "../src/h264bsd_macroblock_layer.c"
 case 10: 
 var $39=HEAP32[(($value)>>2)]; //@line 162 "../src/h264bsd_macroblock_layer.c"
 var $40=((($39)+(6))|0); //@line 162 "../src/h264bsd_macroblock_layer.c"
 var $41=$3; //@line 162 "../src/h264bsd_macroblock_layer.c"
 var $42=(($41)|0); //@line 162 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($42)>>2)]=$40; //@line 162 "../src/h264bsd_macroblock_layer.c"
 label=15;break; //@line 163 "../src/h264bsd_macroblock_layer.c"
 case 11: 
 var $44=HEAP32[(($value)>>2)]; //@line 166 "../src/h264bsd_macroblock_layer.c"
 var $45=((($44)+(1))|0); //@line 166 "../src/h264bsd_macroblock_layer.c"
 var $46=($45>>>0)>31; //@line 166 "../src/h264bsd_macroblock_layer.c"
 if($46){label=13;break;}else{label=12;break;} //@line 166 "../src/h264bsd_macroblock_layer.c"
 case 12: 
 var $48=$tmp; //@line 166 "../src/h264bsd_macroblock_layer.c"
 var $49=($48|0)!=0; //@line 166 "../src/h264bsd_macroblock_layer.c"
 if($49){label=13;break;}else{label=14;break;} //@line 166 "../src/h264bsd_macroblock_layer.c"
 case 13: 
 $1=1; //@line 167 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 167 "../src/h264bsd_macroblock_layer.c"
 case 14: 
 var $52=HEAP32[(($value)>>2)]; //@line 168 "../src/h264bsd_macroblock_layer.c"
 var $53=((($52)+(1))|0); //@line 168 "../src/h264bsd_macroblock_layer.c"
 var $54=$3; //@line 168 "../src/h264bsd_macroblock_layer.c"
 var $55=(($54)|0); //@line 168 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($55)>>2)]=$53; //@line 168 "../src/h264bsd_macroblock_layer.c"
 label=15;break;
 case 15: 
 var $57=$3; //@line 171 "../src/h264bsd_macroblock_layer.c"
 var $58=(($57)|0); //@line 171 "../src/h264bsd_macroblock_layer.c"
 var $59=HEAP32[(($58)>>2)]; //@line 171 "../src/h264bsd_macroblock_layer.c"
 var $60=($59|0)==31; //@line 171 "../src/h264bsd_macroblock_layer.c"
 if($60){label=16;break;}else{label=28;break;} //@line 171 "../src/h264bsd_macroblock_layer.c"
 case 16: 
 label=17;break; //@line 174 "../src/h264bsd_macroblock_layer.c"
 case 17: 
 var $63=$2; //@line 174 "../src/h264bsd_macroblock_layer.c"
 var $64=_h264bsdIsByteAligned($63); //@line 174 "../src/h264bsd_macroblock_layer.c"
 var $65=($64|0)!=0; //@line 174 "../src/h264bsd_macroblock_layer.c"
 var $66=$65^1; //@line 174 "../src/h264bsd_macroblock_layer.c"
 if($66){label=18;break;}else{label=21;break;} //@line 174 "../src/h264bsd_macroblock_layer.c"
 case 18: 
 var $68=$2; //@line 177 "../src/h264bsd_macroblock_layer.c"
 var $69=_h264bsdGetBits($68,1); //@line 177 "../src/h264bsd_macroblock_layer.c"
 $tmp=$69; //@line 177 "../src/h264bsd_macroblock_layer.c"
 var $70=$tmp; //@line 178 "../src/h264bsd_macroblock_layer.c"
 var $71=($70|0)!=0; //@line 178 "../src/h264bsd_macroblock_layer.c"
 if($71){label=19;break;}else{label=20;break;} //@line 178 "../src/h264bsd_macroblock_layer.c"
 case 19: 
 $1=1; //@line 179 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 179 "../src/h264bsd_macroblock_layer.c"
 case 20: 
 label=17;break; //@line 180 "../src/h264bsd_macroblock_layer.c"
 case 21: 
 var $75=$3; //@line 182 "../src/h264bsd_macroblock_layer.c"
 var $76=(($75+272)|0); //@line 182 "../src/h264bsd_macroblock_layer.c"
 var $77=(($76+56)|0); //@line 182 "../src/h264bsd_macroblock_layer.c"
 var $78=(($77)|0); //@line 182 "../src/h264bsd_macroblock_layer.c"
 var $79=(($78)|0); //@line 182 "../src/h264bsd_macroblock_layer.c"
 $level=$79; //@line 182 "../src/h264bsd_macroblock_layer.c"
 $i=0; //@line 183 "../src/h264bsd_macroblock_layer.c"
 label=22;break; //@line 183 "../src/h264bsd_macroblock_layer.c"
 case 22: 
 var $81=$i; //@line 183 "../src/h264bsd_macroblock_layer.c"
 var $82=($81>>>0)<384; //@line 183 "../src/h264bsd_macroblock_layer.c"
 if($82){label=23;break;}else{label=27;break;} //@line 183 "../src/h264bsd_macroblock_layer.c"
 case 23: 
 var $84=$2; //@line 185 "../src/h264bsd_macroblock_layer.c"
 var $85=_h264bsdGetBits($84,8); //@line 185 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($value)>>2)]=$85; //@line 185 "../src/h264bsd_macroblock_layer.c"
 var $86=HEAP32[(($value)>>2)]; //@line 186 "../src/h264bsd_macroblock_layer.c"
 var $87=($86|0)==-1; //@line 186 "../src/h264bsd_macroblock_layer.c"
 if($87){label=24;break;}else{label=25;break;} //@line 186 "../src/h264bsd_macroblock_layer.c"
 case 24: 
 $1=1; //@line 187 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 187 "../src/h264bsd_macroblock_layer.c"
 case 25: 
 var $90=HEAP32[(($value)>>2)]; //@line 188 "../src/h264bsd_macroblock_layer.c"
 var $91=$level; //@line 188 "../src/h264bsd_macroblock_layer.c"
 var $92=(($91+4)|0); //@line 188 "../src/h264bsd_macroblock_layer.c"
 $level=$92; //@line 188 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($91)>>2)]=$90; //@line 188 "../src/h264bsd_macroblock_layer.c"
 label=26;break; //@line 189 "../src/h264bsd_macroblock_layer.c"
 case 26: 
 var $94=$i; //@line 183 "../src/h264bsd_macroblock_layer.c"
 var $95=((($94)+(1))|0); //@line 183 "../src/h264bsd_macroblock_layer.c"
 $i=$95; //@line 183 "../src/h264bsd_macroblock_layer.c"
 label=22;break; //@line 183 "../src/h264bsd_macroblock_layer.c"
 case 27: 
 label=49;break; //@line 190 "../src/h264bsd_macroblock_layer.c"
 case 28: 
 var $98=$3; //@line 193 "../src/h264bsd_macroblock_layer.c"
 var $99=(($98)|0); //@line 193 "../src/h264bsd_macroblock_layer.c"
 var $100=HEAP32[(($99)>>2)]; //@line 193 "../src/h264bsd_macroblock_layer.c"
 var $101=_h264bsdMbPartPredMode($100); //@line 193 "../src/h264bsd_macroblock_layer.c"
 $partMode=$101; //@line 193 "../src/h264bsd_macroblock_layer.c"
 var $102=$partMode; //@line 194 "../src/h264bsd_macroblock_layer.c"
 var $103=($102|0)==2; //@line 194 "../src/h264bsd_macroblock_layer.c"
 if($103){label=29;break;}else{label=31;break;} //@line 194 "../src/h264bsd_macroblock_layer.c"
 case 29: 
 var $105=$3; //@line 195 "../src/h264bsd_macroblock_layer.c"
 var $106=(($105)|0); //@line 195 "../src/h264bsd_macroblock_layer.c"
 var $107=HEAP32[(($106)>>2)]; //@line 195 "../src/h264bsd_macroblock_layer.c"
 var $108=_h264bsdNumMbPart($107); //@line 195 "../src/h264bsd_macroblock_layer.c"
 var $109=($108|0)==4; //@line 195 "../src/h264bsd_macroblock_layer.c"
 if($109){label=30;break;}else{label=31;break;} //@line 195 "../src/h264bsd_macroblock_layer.c"
 case 30: 
 var $111=$2; //@line 197 "../src/h264bsd_macroblock_layer.c"
 var $112=$3; //@line 197 "../src/h264bsd_macroblock_layer.c"
 var $113=(($112+176)|0); //@line 197 "../src/h264bsd_macroblock_layer.c"
 var $114=$3; //@line 197 "../src/h264bsd_macroblock_layer.c"
 var $115=(($114)|0); //@line 197 "../src/h264bsd_macroblock_layer.c"
 var $116=HEAP32[(($115)>>2)]; //@line 197 "../src/h264bsd_macroblock_layer.c"
 var $117=$6; //@line 197 "../src/h264bsd_macroblock_layer.c"
 var $118=_DecodeSubMbPred($111,$113,$116,$117); //@line 197 "../src/h264bsd_macroblock_layer.c"
 $tmp=$118; //@line 197 "../src/h264bsd_macroblock_layer.c"
 label=32;break; //@line 199 "../src/h264bsd_macroblock_layer.c"
 case 31: 
 var $120=$2; //@line 202 "../src/h264bsd_macroblock_layer.c"
 var $121=$3; //@line 202 "../src/h264bsd_macroblock_layer.c"
 var $122=(($121+12)|0); //@line 202 "../src/h264bsd_macroblock_layer.c"
 var $123=$3; //@line 202 "../src/h264bsd_macroblock_layer.c"
 var $124=(($123)|0); //@line 202 "../src/h264bsd_macroblock_layer.c"
 var $125=HEAP32[(($124)>>2)]; //@line 202 "../src/h264bsd_macroblock_layer.c"
 var $126=$6; //@line 202 "../src/h264bsd_macroblock_layer.c"
 var $127=_DecodeMbPred($120,$122,$125,$126); //@line 202 "../src/h264bsd_macroblock_layer.c"
 $tmp=$127; //@line 202 "../src/h264bsd_macroblock_layer.c"
 label=32;break;
 case 32: 
 var $129=$tmp; //@line 205 "../src/h264bsd_macroblock_layer.c"
 var $130=($129|0)!=0; //@line 205 "../src/h264bsd_macroblock_layer.c"
 if($130){label=33;break;}else{label=34;break;} //@line 205 "../src/h264bsd_macroblock_layer.c"
 case 33: 
 var $132=$tmp; //@line 206 "../src/h264bsd_macroblock_layer.c"
 $1=$132; //@line 206 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 206 "../src/h264bsd_macroblock_layer.c"
 case 34: 
 var $134=$partMode; //@line 208 "../src/h264bsd_macroblock_layer.c"
 var $135=($134|0)!=1; //@line 208 "../src/h264bsd_macroblock_layer.c"
 if($135){label=35;break;}else{label=38;break;} //@line 208 "../src/h264bsd_macroblock_layer.c"
 case 35: 
 var $137=$2; //@line 210 "../src/h264bsd_macroblock_layer.c"
 var $138=$partMode; //@line 210 "../src/h264bsd_macroblock_layer.c"
 var $139=($138|0)==0; //@line 210 "../src/h264bsd_macroblock_layer.c"
 var $140=($139&1); //@line 210 "../src/h264bsd_macroblock_layer.c"
 var $141=_h264bsdDecodeExpGolombMapped($137,$value,$140); //@line 210 "../src/h264bsd_macroblock_layer.c"
 $tmp=$141; //@line 210 "../src/h264bsd_macroblock_layer.c"
 var $142=$tmp; //@line 212 "../src/h264bsd_macroblock_layer.c"
 var $143=($142|0)!=0; //@line 212 "../src/h264bsd_macroblock_layer.c"
 if($143){label=36;break;}else{label=37;break;} //@line 212 "../src/h264bsd_macroblock_layer.c"
 case 36: 
 var $145=$tmp; //@line 213 "../src/h264bsd_macroblock_layer.c"
 $1=$145; //@line 213 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 213 "../src/h264bsd_macroblock_layer.c"
 case 37: 
 var $147=HEAP32[(($value)>>2)]; //@line 214 "../src/h264bsd_macroblock_layer.c"
 var $148=$3; //@line 214 "../src/h264bsd_macroblock_layer.c"
 var $149=(($148+4)|0); //@line 214 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($149)>>2)]=$147; //@line 214 "../src/h264bsd_macroblock_layer.c"
 label=39;break; //@line 215 "../src/h264bsd_macroblock_layer.c"
 case 38: 
 var $151=$3; //@line 218 "../src/h264bsd_macroblock_layer.c"
 var $152=(($151)|0); //@line 218 "../src/h264bsd_macroblock_layer.c"
 var $153=HEAP32[(($152)>>2)]; //@line 218 "../src/h264bsd_macroblock_layer.c"
 var $154=_CbpIntra16x16($153); //@line 218 "../src/h264bsd_macroblock_layer.c"
 var $155=$3; //@line 218 "../src/h264bsd_macroblock_layer.c"
 var $156=(($155+4)|0); //@line 218 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($156)>>2)]=$154; //@line 218 "../src/h264bsd_macroblock_layer.c"
 label=39;break;
 case 39: 
 var $158=$3; //@line 221 "../src/h264bsd_macroblock_layer.c"
 var $159=(($158+4)|0); //@line 221 "../src/h264bsd_macroblock_layer.c"
 var $160=HEAP32[(($159)>>2)]; //@line 221 "../src/h264bsd_macroblock_layer.c"
 var $161=($160|0)!=0; //@line 221 "../src/h264bsd_macroblock_layer.c"
 if($161){label=41;break;}else{label=40;break;} //@line 221 "../src/h264bsd_macroblock_layer.c"
 case 40: 
 var $163=$partMode; //@line 221 "../src/h264bsd_macroblock_layer.c"
 var $164=($163|0)==1; //@line 221 "../src/h264bsd_macroblock_layer.c"
 if($164){label=41;break;}else{label=48;break;} //@line 221 "../src/h264bsd_macroblock_layer.c"
 case 41: 
 var $166=$2; //@line 224 "../src/h264bsd_macroblock_layer.c"
 var $167=_h264bsdDecodeExpGolombSigned($166,$itmp); //@line 224 "../src/h264bsd_macroblock_layer.c"
 $tmp=$167; //@line 224 "../src/h264bsd_macroblock_layer.c"
 var $168=$tmp; //@line 225 "../src/h264bsd_macroblock_layer.c"
 var $169=($168|0)!=0; //@line 225 "../src/h264bsd_macroblock_layer.c"
 if($169){label=44;break;}else{label=42;break;} //@line 225 "../src/h264bsd_macroblock_layer.c"
 case 42: 
 var $171=HEAP32[(($itmp)>>2)]; //@line 225 "../src/h264bsd_macroblock_layer.c"
 var $172=($171|0)<-26; //@line 225 "../src/h264bsd_macroblock_layer.c"
 if($172){label=44;break;}else{label=43;break;} //@line 225 "../src/h264bsd_macroblock_layer.c"
 case 43: 
 var $174=HEAP32[(($itmp)>>2)]; //@line 225 "../src/h264bsd_macroblock_layer.c"
 var $175=($174|0)>25; //@line 225 "../src/h264bsd_macroblock_layer.c"
 if($175){label=44;break;}else{label=45;break;} //@line 225 "../src/h264bsd_macroblock_layer.c"
 case 44: 
 $1=1; //@line 226 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 226 "../src/h264bsd_macroblock_layer.c"
 case 45: 
 var $178=HEAP32[(($itmp)>>2)]; //@line 227 "../src/h264bsd_macroblock_layer.c"
 var $179=$3; //@line 227 "../src/h264bsd_macroblock_layer.c"
 var $180=(($179+8)|0); //@line 227 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($180)>>2)]=$178; //@line 227 "../src/h264bsd_macroblock_layer.c"
 var $181=$2; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $182=$3; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $183=(($182+272)|0); //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $184=$4; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $185=$3; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $186=(($185)|0); //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $187=HEAP32[(($186)>>2)]; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $188=$3; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $189=(($188+4)|0); //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $190=HEAP32[(($189)>>2)]; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $191=_DecodeResidual($181,$183,$184,$187,$190); //@line 229 "../src/h264bsd_macroblock_layer.c"
 $tmp=$191; //@line 229 "../src/h264bsd_macroblock_layer.c"
 var $192=$2; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $193=(($192+4)|0); //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $194=HEAP32[(($193)>>2)]; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $195=$2; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $196=(($195)|0); //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $197=HEAP32[(($196)>>2)]; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $198=$194; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $199=$197; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $200=((($198)-($199))|0); //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $201=($200<<3); //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $202=$2; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $203=(($202+8)|0); //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $204=HEAP32[(($203)>>2)]; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $205=((($201)+($204))|0); //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $206=$2; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $207=(($206+16)|0); //@line 232 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($207)>>2)]=$205; //@line 232 "../src/h264bsd_macroblock_layer.c"
 var $208=$tmp; //@line 236 "../src/h264bsd_macroblock_layer.c"
 var $209=($208|0)!=0; //@line 236 "../src/h264bsd_macroblock_layer.c"
 if($209){label=46;break;}else{label=47;break;} //@line 236 "../src/h264bsd_macroblock_layer.c"
 case 46: 
 var $211=$tmp; //@line 237 "../src/h264bsd_macroblock_layer.c"
 $1=$211; //@line 237 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 237 "../src/h264bsd_macroblock_layer.c"
 case 47: 
 label=48;break; //@line 238 "../src/h264bsd_macroblock_layer.c"
 case 48: 
 label=49;break;
 case 49: 
 $1=0; //@line 241 "../src/h264bsd_macroblock_layer.c"
 label=50;break; //@line 241 "../src/h264bsd_macroblock_layer.c"
 case 50: 
 var $216=$1; //@line 243 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $216; //@line 243 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdMbPartPredMode($mbType){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$mbType;
 var $3=$2; //@line 262 "../src/h264bsd_macroblock_layer.c"
 var $4=($3>>>0)<=31; //@line 262 "../src/h264bsd_macroblock_layer.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 262 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(8112,11856,262,13200); //@line 262 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 262 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 262 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 262 "../src/h264bsd_macroblock_layer.c"
 var $10=$2; //@line 264 "../src/h264bsd_macroblock_layer.c"
 var $11=($10>>>0)<=5; //@line 264 "../src/h264bsd_macroblock_layer.c"
 if($11){label=4;break;}else{label=5;break;} //@line 264 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 $1=2; //@line 265 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 265 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $14=$2; //@line 266 "../src/h264bsd_macroblock_layer.c"
 var $15=($14|0)==6; //@line 266 "../src/h264bsd_macroblock_layer.c"
 if($15){label=6;break;}else{label=7;break;} //@line 266 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 $1=0; //@line 267 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 267 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 $1=1; //@line 269 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 269 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $19=$1; //@line 271 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $19; //@line 271 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdNumMbPart($mbType){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$mbType;
 var $3=$2; //@line 290 "../src/h264bsd_macroblock_layer.c"
 var $4=_h264bsdMbPartPredMode($3); //@line 290 "../src/h264bsd_macroblock_layer.c"
 var $5=($4|0)==2; //@line 290 "../src/h264bsd_macroblock_layer.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 290 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(7200,11856,290,12968); //@line 290 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 290 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 290 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 290 "../src/h264bsd_macroblock_layer.c"
 var $11=$2; //@line 292 "../src/h264bsd_macroblock_layer.c"
 if(($11|0)==1|($11|0)==0){ label=4;break;}else if(($11|0)==2|($11|0)==3){ label=5;break;}else{label=6;break;}
 case 4: 
 $1=1; //@line 296 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 296 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 $1=2; //@line 300 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 300 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 $1=4; //@line 304 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 304 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $16=$1; //@line 307 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $16; //@line 307 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeSubMbPred($pStrmData,$pSubMbPred,$mbType,$numRefIdxActive){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+16)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $i;
 var $j;
 var $value=sp;
 var $itmp=(sp)+(8);
 $2=$pStrmData;
 $3=$pSubMbPred;
 $4=$mbType;
 $5=$numRefIdxActive;
 var $6=$2; //@line 453 "../src/h264bsd_macroblock_layer.c"
 var $7=($6|0)!=0; //@line 453 "../src/h264bsd_macroblock_layer.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 453 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(10504,11856,453,16224); //@line 453 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 453 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 453 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 453 "../src/h264bsd_macroblock_layer.c"
 var $13=$3; //@line 454 "../src/h264bsd_macroblock_layer.c"
 var $14=($13|0)!=0; //@line 454 "../src/h264bsd_macroblock_layer.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 454 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 ___assert_fail(10368,11856,454,16224); //@line 454 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 454 "../src/h264bsd_macroblock_layer.c"
 label=5;break; //@line 454 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 454 "../src/h264bsd_macroblock_layer.c"
 var $20=$4; //@line 455 "../src/h264bsd_macroblock_layer.c"
 var $21=_h264bsdMbPartPredMode($20); //@line 455 "../src/h264bsd_macroblock_layer.c"
 var $22=($21|0)==2; //@line 455 "../src/h264bsd_macroblock_layer.c"
 if($22){var $26=1;label=7;break;}else{label=6;break;} //@line 455 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 ___assert_fail(7200,11856,455,16224); //@line 455 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 455 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 455 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $26;
 var $27=($26&1); //@line 455 "../src/h264bsd_macroblock_layer.c"
 $i=0; //@line 457 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 457 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $29=$i; //@line 457 "../src/h264bsd_macroblock_layer.c"
 var $30=($29>>>0)<4; //@line 457 "../src/h264bsd_macroblock_layer.c"
 if($30){label=9;break;}else{label=14;break;} //@line 457 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 var $32=$2; //@line 459 "../src/h264bsd_macroblock_layer.c"
 var $33=_h264bsdDecodeExpGolombUnsigned($32,$value); //@line 459 "../src/h264bsd_macroblock_layer.c"
 $tmp=$33; //@line 459 "../src/h264bsd_macroblock_layer.c"
 var $34=$tmp; //@line 460 "../src/h264bsd_macroblock_layer.c"
 var $35=($34|0)!=0; //@line 460 "../src/h264bsd_macroblock_layer.c"
 if($35){label=11;break;}else{label=10;break;} //@line 460 "../src/h264bsd_macroblock_layer.c"
 case 10: 
 var $37=HEAP32[(($value)>>2)]; //@line 460 "../src/h264bsd_macroblock_layer.c"
 var $38=($37>>>0)>3; //@line 460 "../src/h264bsd_macroblock_layer.c"
 if($38){label=11;break;}else{label=12;break;} //@line 460 "../src/h264bsd_macroblock_layer.c"
 case 11: 
 $1=1; //@line 461 "../src/h264bsd_macroblock_layer.c"
 label=37;break; //@line 461 "../src/h264bsd_macroblock_layer.c"
 case 12: 
 var $41=HEAP32[(($value)>>2)]; //@line 462 "../src/h264bsd_macroblock_layer.c"
 var $42=$i; //@line 462 "../src/h264bsd_macroblock_layer.c"
 var $43=$3; //@line 462 "../src/h264bsd_macroblock_layer.c"
 var $44=(($43)|0); //@line 462 "../src/h264bsd_macroblock_layer.c"
 var $45=(($44+($42<<2))|0); //@line 462 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($45)>>2)]=$41; //@line 462 "../src/h264bsd_macroblock_layer.c"
 label=13;break; //@line 463 "../src/h264bsd_macroblock_layer.c"
 case 13: 
 var $47=$i; //@line 457 "../src/h264bsd_macroblock_layer.c"
 var $48=((($47)+(1))|0); //@line 457 "../src/h264bsd_macroblock_layer.c"
 $i=$48; //@line 457 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 457 "../src/h264bsd_macroblock_layer.c"
 case 14: 
 var $50=$5; //@line 465 "../src/h264bsd_macroblock_layer.c"
 var $51=($50>>>0)>1; //@line 465 "../src/h264bsd_macroblock_layer.c"
 if($51){label=15;break;}else{label=24;break;} //@line 465 "../src/h264bsd_macroblock_layer.c"
 case 15: 
 var $53=$4; //@line 465 "../src/h264bsd_macroblock_layer.c"
 var $54=($53|0)!=5; //@line 465 "../src/h264bsd_macroblock_layer.c"
 if($54){label=16;break;}else{label=24;break;} //@line 465 "../src/h264bsd_macroblock_layer.c"
 case 16: 
 $i=0; //@line 467 "../src/h264bsd_macroblock_layer.c"
 label=17;break; //@line 467 "../src/h264bsd_macroblock_layer.c"
 case 17: 
 var $57=$i; //@line 467 "../src/h264bsd_macroblock_layer.c"
 var $58=($57>>>0)<4; //@line 467 "../src/h264bsd_macroblock_layer.c"
 if($58){label=18;break;}else{label=23;break;} //@line 467 "../src/h264bsd_macroblock_layer.c"
 case 18: 
 var $60=$2; //@line 469 "../src/h264bsd_macroblock_layer.c"
 var $61=$5; //@line 469 "../src/h264bsd_macroblock_layer.c"
 var $62=($61>>>0)>2; //@line 469 "../src/h264bsd_macroblock_layer.c"
 var $63=($62&1); //@line 469 "../src/h264bsd_macroblock_layer.c"
 var $64=_h264bsdDecodeExpGolombTruncated($60,$value,$63); //@line 469 "../src/h264bsd_macroblock_layer.c"
 $tmp=$64; //@line 469 "../src/h264bsd_macroblock_layer.c"
 var $65=$tmp; //@line 471 "../src/h264bsd_macroblock_layer.c"
 var $66=($65|0)!=0; //@line 471 "../src/h264bsd_macroblock_layer.c"
 if($66){label=20;break;}else{label=19;break;} //@line 471 "../src/h264bsd_macroblock_layer.c"
 case 19: 
 var $68=HEAP32[(($value)>>2)]; //@line 471 "../src/h264bsd_macroblock_layer.c"
 var $69=$5; //@line 471 "../src/h264bsd_macroblock_layer.c"
 var $70=($68>>>0)>=($69>>>0); //@line 471 "../src/h264bsd_macroblock_layer.c"
 if($70){label=20;break;}else{label=21;break;} //@line 471 "../src/h264bsd_macroblock_layer.c"
 case 20: 
 $1=1; //@line 472 "../src/h264bsd_macroblock_layer.c"
 label=37;break; //@line 472 "../src/h264bsd_macroblock_layer.c"
 case 21: 
 var $73=HEAP32[(($value)>>2)]; //@line 473 "../src/h264bsd_macroblock_layer.c"
 var $74=$i; //@line 473 "../src/h264bsd_macroblock_layer.c"
 var $75=$3; //@line 473 "../src/h264bsd_macroblock_layer.c"
 var $76=(($75+16)|0); //@line 473 "../src/h264bsd_macroblock_layer.c"
 var $77=(($76+($74<<2))|0); //@line 473 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($77)>>2)]=$73; //@line 473 "../src/h264bsd_macroblock_layer.c"
 label=22;break; //@line 474 "../src/h264bsd_macroblock_layer.c"
 case 22: 
 var $79=$i; //@line 467 "../src/h264bsd_macroblock_layer.c"
 var $80=((($79)+(1))|0); //@line 467 "../src/h264bsd_macroblock_layer.c"
 $i=$80; //@line 467 "../src/h264bsd_macroblock_layer.c"
 label=17;break; //@line 467 "../src/h264bsd_macroblock_layer.c"
 case 23: 
 label=24;break; //@line 475 "../src/h264bsd_macroblock_layer.c"
 case 24: 
 $i=0; //@line 477 "../src/h264bsd_macroblock_layer.c"
 label=25;break; //@line 477 "../src/h264bsd_macroblock_layer.c"
 case 25: 
 var $84=$i; //@line 477 "../src/h264bsd_macroblock_layer.c"
 var $85=($84>>>0)<4; //@line 477 "../src/h264bsd_macroblock_layer.c"
 if($85){label=26;break;}else{label=36;break;} //@line 477 "../src/h264bsd_macroblock_layer.c"
 case 26: 
 $j=0; //@line 479 "../src/h264bsd_macroblock_layer.c"
 var $87=$i; //@line 480 "../src/h264bsd_macroblock_layer.c"
 var $88=$3; //@line 480 "../src/h264bsd_macroblock_layer.c"
 var $89=(($88)|0); //@line 480 "../src/h264bsd_macroblock_layer.c"
 var $90=(($89+($87<<2))|0); //@line 480 "../src/h264bsd_macroblock_layer.c"
 var $91=HEAP32[(($90)>>2)]; //@line 480 "../src/h264bsd_macroblock_layer.c"
 var $92=_h264bsdNumSubMbPart($91); //@line 480 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($value)>>2)]=$92; //@line 480 "../src/h264bsd_macroblock_layer.c"
 label=27;break; //@line 480 "../src/h264bsd_macroblock_layer.c"
 case 27: 
 var $94=HEAP32[(($value)>>2)]; //@line 480 "../src/h264bsd_macroblock_layer.c"
 var $95=((($94)-(1))|0); //@line 480 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($value)>>2)]=$95; //@line 480 "../src/h264bsd_macroblock_layer.c"
 var $96=($94|0)!=0; //@line 480 "../src/h264bsd_macroblock_layer.c"
 if($96){label=28;break;}else{label=34;break;} //@line 480 "../src/h264bsd_macroblock_layer.c"
 case 28: 
 var $98=$2; //@line 483 "../src/h264bsd_macroblock_layer.c"
 var $99=_h264bsdDecodeExpGolombSigned($98,$itmp); //@line 483 "../src/h264bsd_macroblock_layer.c"
 $tmp=$99; //@line 483 "../src/h264bsd_macroblock_layer.c"
 var $100=$tmp; //@line 484 "../src/h264bsd_macroblock_layer.c"
 var $101=($100|0)!=0; //@line 484 "../src/h264bsd_macroblock_layer.c"
 if($101){label=29;break;}else{label=30;break;} //@line 484 "../src/h264bsd_macroblock_layer.c"
 case 29: 
 var $103=$tmp; //@line 485 "../src/h264bsd_macroblock_layer.c"
 $1=$103; //@line 485 "../src/h264bsd_macroblock_layer.c"
 label=37;break; //@line 485 "../src/h264bsd_macroblock_layer.c"
 case 30: 
 var $105=HEAP32[(($itmp)>>2)]; //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $106=(($105)&65535); //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $107=$j; //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $108=$i; //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $109=$3; //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $110=(($109+32)|0); //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $111=(($110+($108<<4))|0); //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $112=(($111+($107<<2))|0); //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $113=(($112)|0); //@line 486 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($113)>>1)]=$106; //@line 486 "../src/h264bsd_macroblock_layer.c"
 var $114=$2; //@line 488 "../src/h264bsd_macroblock_layer.c"
 var $115=_h264bsdDecodeExpGolombSigned($114,$itmp); //@line 488 "../src/h264bsd_macroblock_layer.c"
 $tmp=$115; //@line 488 "../src/h264bsd_macroblock_layer.c"
 var $116=$tmp; //@line 489 "../src/h264bsd_macroblock_layer.c"
 var $117=($116|0)!=0; //@line 489 "../src/h264bsd_macroblock_layer.c"
 if($117){label=31;break;}else{label=32;break;} //@line 489 "../src/h264bsd_macroblock_layer.c"
 case 31: 
 var $119=$tmp; //@line 490 "../src/h264bsd_macroblock_layer.c"
 $1=$119; //@line 490 "../src/h264bsd_macroblock_layer.c"
 label=37;break; //@line 490 "../src/h264bsd_macroblock_layer.c"
 case 32: 
 var $121=HEAP32[(($itmp)>>2)]; //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $122=(($121)&65535); //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $123=$j; //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $124=$i; //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $125=$3; //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $126=(($125+32)|0); //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $127=(($126+($124<<4))|0); //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $128=(($127+($123<<2))|0); //@line 491 "../src/h264bsd_macroblock_layer.c"
 var $129=(($128+2)|0); //@line 491 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($129)>>1)]=$122; //@line 491 "../src/h264bsd_macroblock_layer.c"
 label=33;break; //@line 492 "../src/h264bsd_macroblock_layer.c"
 case 33: 
 var $131=$j; //@line 481 "../src/h264bsd_macroblock_layer.c"
 var $132=((($131)+(1))|0); //@line 481 "../src/h264bsd_macroblock_layer.c"
 $j=$132; //@line 481 "../src/h264bsd_macroblock_layer.c"
 label=27;break; //@line 481 "../src/h264bsd_macroblock_layer.c"
 case 34: 
 label=35;break; //@line 493 "../src/h264bsd_macroblock_layer.c"
 case 35: 
 var $135=$i; //@line 477 "../src/h264bsd_macroblock_layer.c"
 var $136=((($135)+(1))|0); //@line 477 "../src/h264bsd_macroblock_layer.c"
 $i=$136; //@line 477 "../src/h264bsd_macroblock_layer.c"
 label=25;break; //@line 477 "../src/h264bsd_macroblock_layer.c"
 case 36: 
 $1=0; //@line 495 "../src/h264bsd_macroblock_layer.c"
 label=37;break; //@line 495 "../src/h264bsd_macroblock_layer.c"
 case 37: 
 var $139=$1; //@line 497 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $139; //@line 497 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeMbPred($pStrmData,$pMbPred,$mbType,$numRefIdxActive){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+16)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $i;
 var $j;
 var $value=sp;
 var $itmp=(sp)+(8);
 $2=$pStrmData;
 $3=$pMbPred;
 $4=$mbType;
 $5=$numRefIdxActive;
 var $6=$2; //@line 365 "../src/h264bsd_macroblock_layer.c"
 var $7=($6|0)!=0; //@line 365 "../src/h264bsd_macroblock_layer.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 365 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(10504,11856,365,16280); //@line 365 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 365 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 365 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 365 "../src/h264bsd_macroblock_layer.c"
 var $13=$3; //@line 366 "../src/h264bsd_macroblock_layer.c"
 var $14=($13|0)!=0; //@line 366 "../src/h264bsd_macroblock_layer.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 366 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 ___assert_fail(10176,11856,366,16280); //@line 366 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 366 "../src/h264bsd_macroblock_layer.c"
 label=5;break; //@line 366 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 366 "../src/h264bsd_macroblock_layer.c"
 var $20=$4; //@line 368 "../src/h264bsd_macroblock_layer.c"
 var $21=_h264bsdMbPartPredMode($20); //@line 368 "../src/h264bsd_macroblock_layer.c"
 if(($21|0)==0){ label=24;break;}else if(($21|0)==1){ label=37;break;}else if(($21|0)==2){ label=6;break;}else{label=41;break;}
 case 6: 
 var $23=$5; //@line 371 "../src/h264bsd_macroblock_layer.c"
 var $24=($23>>>0)>1; //@line 371 "../src/h264bsd_macroblock_layer.c"
 if($24){label=7;break;}else{label=15;break;} //@line 371 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $26=$4; //@line 373 "../src/h264bsd_macroblock_layer.c"
 var $27=_h264bsdNumMbPart($26); //@line 373 "../src/h264bsd_macroblock_layer.c"
 $i=$27; //@line 373 "../src/h264bsd_macroblock_layer.c"
 $j=0; //@line 373 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 373 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $29=$i; //@line 373 "../src/h264bsd_macroblock_layer.c"
 var $30=((($29)-(1))|0); //@line 373 "../src/h264bsd_macroblock_layer.c"
 $i=$30; //@line 373 "../src/h264bsd_macroblock_layer.c"
 var $31=($29|0)!=0; //@line 373 "../src/h264bsd_macroblock_layer.c"
 if($31){label=9;break;}else{label=14;break;} //@line 373 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 var $33=$2; //@line 375 "../src/h264bsd_macroblock_layer.c"
 var $34=$5; //@line 375 "../src/h264bsd_macroblock_layer.c"
 var $35=($34>>>0)>2; //@line 375 "../src/h264bsd_macroblock_layer.c"
 var $36=($35&1); //@line 375 "../src/h264bsd_macroblock_layer.c"
 var $37=_h264bsdDecodeExpGolombTruncated($33,$value,$36); //@line 375 "../src/h264bsd_macroblock_layer.c"
 $tmp=$37; //@line 375 "../src/h264bsd_macroblock_layer.c"
 var $38=$tmp; //@line 377 "../src/h264bsd_macroblock_layer.c"
 var $39=($38|0)!=0; //@line 377 "../src/h264bsd_macroblock_layer.c"
 if($39){label=11;break;}else{label=10;break;} //@line 377 "../src/h264bsd_macroblock_layer.c"
 case 10: 
 var $41=HEAP32[(($value)>>2)]; //@line 377 "../src/h264bsd_macroblock_layer.c"
 var $42=$5; //@line 377 "../src/h264bsd_macroblock_layer.c"
 var $43=($41>>>0)>=($42>>>0); //@line 377 "../src/h264bsd_macroblock_layer.c"
 if($43){label=11;break;}else{label=12;break;} //@line 377 "../src/h264bsd_macroblock_layer.c"
 case 11: 
 $1=1; //@line 378 "../src/h264bsd_macroblock_layer.c"
 label=42;break; //@line 378 "../src/h264bsd_macroblock_layer.c"
 case 12: 
 var $46=HEAP32[(($value)>>2)]; //@line 380 "../src/h264bsd_macroblock_layer.c"
 var $47=$j; //@line 380 "../src/h264bsd_macroblock_layer.c"
 var $48=$3; //@line 380 "../src/h264bsd_macroblock_layer.c"
 var $49=(($48+132)|0); //@line 380 "../src/h264bsd_macroblock_layer.c"
 var $50=(($49+($47<<2))|0); //@line 380 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($50)>>2)]=$46; //@line 380 "../src/h264bsd_macroblock_layer.c"
 label=13;break; //@line 381 "../src/h264bsd_macroblock_layer.c"
 case 13: 
 var $52=$j; //@line 373 "../src/h264bsd_macroblock_layer.c"
 var $53=((($52)+(1))|0); //@line 373 "../src/h264bsd_macroblock_layer.c"
 $j=$53; //@line 373 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 373 "../src/h264bsd_macroblock_layer.c"
 case 14: 
 label=15;break; //@line 382 "../src/h264bsd_macroblock_layer.c"
 case 15: 
 var $56=$4; //@line 384 "../src/h264bsd_macroblock_layer.c"
 var $57=_h264bsdNumMbPart($56); //@line 384 "../src/h264bsd_macroblock_layer.c"
 $i=$57; //@line 384 "../src/h264bsd_macroblock_layer.c"
 $j=0; //@line 384 "../src/h264bsd_macroblock_layer.c"
 label=16;break; //@line 384 "../src/h264bsd_macroblock_layer.c"
 case 16: 
 var $59=$i; //@line 384 "../src/h264bsd_macroblock_layer.c"
 var $60=((($59)-(1))|0); //@line 384 "../src/h264bsd_macroblock_layer.c"
 $i=$60; //@line 384 "../src/h264bsd_macroblock_layer.c"
 var $61=($59|0)!=0; //@line 384 "../src/h264bsd_macroblock_layer.c"
 if($61){label=17;break;}else{label=23;break;} //@line 384 "../src/h264bsd_macroblock_layer.c"
 case 17: 
 var $63=$2; //@line 386 "../src/h264bsd_macroblock_layer.c"
 var $64=_h264bsdDecodeExpGolombSigned($63,$itmp); //@line 386 "../src/h264bsd_macroblock_layer.c"
 $tmp=$64; //@line 386 "../src/h264bsd_macroblock_layer.c"
 var $65=$tmp; //@line 387 "../src/h264bsd_macroblock_layer.c"
 var $66=($65|0)!=0; //@line 387 "../src/h264bsd_macroblock_layer.c"
 if($66){label=18;break;}else{label=19;break;} //@line 387 "../src/h264bsd_macroblock_layer.c"
 case 18: 
 var $68=$tmp; //@line 388 "../src/h264bsd_macroblock_layer.c"
 $1=$68; //@line 388 "../src/h264bsd_macroblock_layer.c"
 label=42;break; //@line 388 "../src/h264bsd_macroblock_layer.c"
 case 19: 
 var $70=HEAP32[(($itmp)>>2)]; //@line 389 "../src/h264bsd_macroblock_layer.c"
 var $71=(($70)&65535); //@line 389 "../src/h264bsd_macroblock_layer.c"
 var $72=$j; //@line 389 "../src/h264bsd_macroblock_layer.c"
 var $73=$3; //@line 389 "../src/h264bsd_macroblock_layer.c"
 var $74=(($73+148)|0); //@line 389 "../src/h264bsd_macroblock_layer.c"
 var $75=(($74+($72<<2))|0); //@line 389 "../src/h264bsd_macroblock_layer.c"
 var $76=(($75)|0); //@line 389 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($76)>>1)]=$71; //@line 389 "../src/h264bsd_macroblock_layer.c"
 var $77=$2; //@line 391 "../src/h264bsd_macroblock_layer.c"
 var $78=_h264bsdDecodeExpGolombSigned($77,$itmp); //@line 391 "../src/h264bsd_macroblock_layer.c"
 $tmp=$78; //@line 391 "../src/h264bsd_macroblock_layer.c"
 var $79=$tmp; //@line 392 "../src/h264bsd_macroblock_layer.c"
 var $80=($79|0)!=0; //@line 392 "../src/h264bsd_macroblock_layer.c"
 if($80){label=20;break;}else{label=21;break;} //@line 392 "../src/h264bsd_macroblock_layer.c"
 case 20: 
 var $82=$tmp; //@line 393 "../src/h264bsd_macroblock_layer.c"
 $1=$82; //@line 393 "../src/h264bsd_macroblock_layer.c"
 label=42;break; //@line 393 "../src/h264bsd_macroblock_layer.c"
 case 21: 
 var $84=HEAP32[(($itmp)>>2)]; //@line 394 "../src/h264bsd_macroblock_layer.c"
 var $85=(($84)&65535); //@line 394 "../src/h264bsd_macroblock_layer.c"
 var $86=$j; //@line 394 "../src/h264bsd_macroblock_layer.c"
 var $87=$3; //@line 394 "../src/h264bsd_macroblock_layer.c"
 var $88=(($87+148)|0); //@line 394 "../src/h264bsd_macroblock_layer.c"
 var $89=(($88+($86<<2))|0); //@line 394 "../src/h264bsd_macroblock_layer.c"
 var $90=(($89+2)|0); //@line 394 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($90)>>1)]=$85; //@line 394 "../src/h264bsd_macroblock_layer.c"
 label=22;break; //@line 395 "../src/h264bsd_macroblock_layer.c"
 case 22: 
 var $92=$j; //@line 384 "../src/h264bsd_macroblock_layer.c"
 var $93=((($92)+(1))|0); //@line 384 "../src/h264bsd_macroblock_layer.c"
 $j=$93; //@line 384 "../src/h264bsd_macroblock_layer.c"
 label=16;break; //@line 384 "../src/h264bsd_macroblock_layer.c"
 case 23: 
 label=41;break; //@line 396 "../src/h264bsd_macroblock_layer.c"
 case 24: 
 HEAP32[(($itmp)>>2)]=0; //@line 399 "../src/h264bsd_macroblock_layer.c"
 $i=0; //@line 399 "../src/h264bsd_macroblock_layer.c"
 label=25;break; //@line 399 "../src/h264bsd_macroblock_layer.c"
 case 25: 
 var $97=HEAP32[(($itmp)>>2)]; //@line 399 "../src/h264bsd_macroblock_layer.c"
 var $98=($97|0)<2; //@line 399 "../src/h264bsd_macroblock_layer.c"
 if($98){label=26;break;}else{label=36;break;} //@line 399 "../src/h264bsd_macroblock_layer.c"
 case 26: 
 var $100=$2; //@line 401 "../src/h264bsd_macroblock_layer.c"
 var $101=_h264bsdShowBits32($100); //@line 401 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($value)>>2)]=$101; //@line 401 "../src/h264bsd_macroblock_layer.c"
 $tmp=0; //@line 402 "../src/h264bsd_macroblock_layer.c"
 $j=8; //@line 403 "../src/h264bsd_macroblock_layer.c"
 label=27;break; //@line 403 "../src/h264bsd_macroblock_layer.c"
 case 27: 
 var $103=$j; //@line 403 "../src/h264bsd_macroblock_layer.c"
 var $104=((($103)-(1))|0); //@line 403 "../src/h264bsd_macroblock_layer.c"
 $j=$104; //@line 403 "../src/h264bsd_macroblock_layer.c"
 var $105=($103|0)!=0; //@line 403 "../src/h264bsd_macroblock_layer.c"
 if($105){label=28;break;}else{label=32;break;} //@line 403 "../src/h264bsd_macroblock_layer.c"
 case 28: 
 var $107=HEAP32[(($value)>>2)]; //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $108=$107&-2147483648; //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $109=($108|0)!=0; //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $110=($109?1:0); //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $111=$i; //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $112=$3; //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $113=(($112)|0); //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $114=(($113+($111<<2))|0); //@line 405 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($114)>>2)]=$110; //@line 405 "../src/h264bsd_macroblock_layer.c"
 var $115=HEAP32[(($value)>>2)]; //@line 407 "../src/h264bsd_macroblock_layer.c"
 var $116=$115<<1; //@line 407 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($value)>>2)]=$116; //@line 407 "../src/h264bsd_macroblock_layer.c"
 var $117=$i; //@line 408 "../src/h264bsd_macroblock_layer.c"
 var $118=$3; //@line 408 "../src/h264bsd_macroblock_layer.c"
 var $119=(($118)|0); //@line 408 "../src/h264bsd_macroblock_layer.c"
 var $120=(($119+($117<<2))|0); //@line 408 "../src/h264bsd_macroblock_layer.c"
 var $121=HEAP32[(($120)>>2)]; //@line 408 "../src/h264bsd_macroblock_layer.c"
 var $122=($121|0)!=0; //@line 408 "../src/h264bsd_macroblock_layer.c"
 if($122){label=30;break;}else{label=29;break;} //@line 408 "../src/h264bsd_macroblock_layer.c"
 case 29: 
 var $124=HEAP32[(($value)>>2)]; //@line 410 "../src/h264bsd_macroblock_layer.c"
 var $125=$124>>>29; //@line 410 "../src/h264bsd_macroblock_layer.c"
 var $126=$i; //@line 410 "../src/h264bsd_macroblock_layer.c"
 var $127=$3; //@line 410 "../src/h264bsd_macroblock_layer.c"
 var $128=(($127+64)|0); //@line 410 "../src/h264bsd_macroblock_layer.c"
 var $129=(($128+($126<<2))|0); //@line 410 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($129)>>2)]=$125; //@line 410 "../src/h264bsd_macroblock_layer.c"
 var $130=HEAP32[(($value)>>2)]; //@line 411 "../src/h264bsd_macroblock_layer.c"
 var $131=$130<<3; //@line 411 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($value)>>2)]=$131; //@line 411 "../src/h264bsd_macroblock_layer.c"
 var $132=$tmp; //@line 412 "../src/h264bsd_macroblock_layer.c"
 var $133=((($132)+(1))|0); //@line 412 "../src/h264bsd_macroblock_layer.c"
 $tmp=$133; //@line 412 "../src/h264bsd_macroblock_layer.c"
 label=30;break; //@line 413 "../src/h264bsd_macroblock_layer.c"
 case 30: 
 label=31;break; //@line 414 "../src/h264bsd_macroblock_layer.c"
 case 31: 
 var $136=$i; //@line 403 "../src/h264bsd_macroblock_layer.c"
 var $137=((($136)+(1))|0); //@line 403 "../src/h264bsd_macroblock_layer.c"
 $i=$137; //@line 403 "../src/h264bsd_macroblock_layer.c"
 label=27;break; //@line 403 "../src/h264bsd_macroblock_layer.c"
 case 32: 
 var $139=$2; //@line 415 "../src/h264bsd_macroblock_layer.c"
 var $140=$tmp; //@line 415 "../src/h264bsd_macroblock_layer.c"
 var $141=((($140)*(3))&-1); //@line 415 "../src/h264bsd_macroblock_layer.c"
 var $142=((($141)+(8))|0); //@line 415 "../src/h264bsd_macroblock_layer.c"
 var $143=_h264bsdFlushBits($139,$142); //@line 415 "../src/h264bsd_macroblock_layer.c"
 var $144=($143|0)==-1; //@line 415 "../src/h264bsd_macroblock_layer.c"
 if($144){label=33;break;}else{label=34;break;} //@line 415 "../src/h264bsd_macroblock_layer.c"
 case 33: 
 $1=1; //@line 416 "../src/h264bsd_macroblock_layer.c"
 label=42;break; //@line 416 "../src/h264bsd_macroblock_layer.c"
 case 34: 
 label=35;break; //@line 417 "../src/h264bsd_macroblock_layer.c"
 case 35: 
 var $148=HEAP32[(($itmp)>>2)]; //@line 399 "../src/h264bsd_macroblock_layer.c"
 var $149=((($148)+(1))|0); //@line 399 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($itmp)>>2)]=$149; //@line 399 "../src/h264bsd_macroblock_layer.c"
 label=25;break; //@line 399 "../src/h264bsd_macroblock_layer.c"
 case 36: 
 label=37;break; //@line 417 "../src/h264bsd_macroblock_layer.c"
 case 37: 
 var $152=$2; //@line 421 "../src/h264bsd_macroblock_layer.c"
 var $153=_h264bsdDecodeExpGolombUnsigned($152,$value); //@line 421 "../src/h264bsd_macroblock_layer.c"
 $tmp=$153; //@line 421 "../src/h264bsd_macroblock_layer.c"
 var $154=$tmp; //@line 422 "../src/h264bsd_macroblock_layer.c"
 var $155=($154|0)!=0; //@line 422 "../src/h264bsd_macroblock_layer.c"
 if($155){label=39;break;}else{label=38;break;} //@line 422 "../src/h264bsd_macroblock_layer.c"
 case 38: 
 var $157=HEAP32[(($value)>>2)]; //@line 422 "../src/h264bsd_macroblock_layer.c"
 var $158=($157>>>0)>3; //@line 422 "../src/h264bsd_macroblock_layer.c"
 if($158){label=39;break;}else{label=40;break;} //@line 422 "../src/h264bsd_macroblock_layer.c"
 case 39: 
 $1=1; //@line 423 "../src/h264bsd_macroblock_layer.c"
 label=42;break; //@line 423 "../src/h264bsd_macroblock_layer.c"
 case 40: 
 var $161=HEAP32[(($value)>>2)]; //@line 424 "../src/h264bsd_macroblock_layer.c"
 var $162=$3; //@line 424 "../src/h264bsd_macroblock_layer.c"
 var $163=(($162+128)|0); //@line 424 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($163)>>2)]=$161; //@line 424 "../src/h264bsd_macroblock_layer.c"
 label=41;break; //@line 425 "../src/h264bsd_macroblock_layer.c"
 case 41: 
 $1=0; //@line 428 "../src/h264bsd_macroblock_layer.c"
 label=42;break; //@line 428 "../src/h264bsd_macroblock_layer.c"
 case 42: 
 var $166=$1; //@line 430 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $166; //@line 430 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _CbpIntra16x16($mbType){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $cbp;
 var $tmp;
 $1=$mbType;
 var $2=$1; //@line 891 "../src/h264bsd_macroblock_layer.c"
 var $3=($2>>>0)>=7; //@line 891 "../src/h264bsd_macroblock_layer.c"
 if($3){label=2;break;}else{label=3;break;} //@line 891 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 var $5=$1; //@line 891 "../src/h264bsd_macroblock_layer.c"
 var $6=($5>>>0)<=30; //@line 891 "../src/h264bsd_macroblock_layer.c"
 if($6){var $10=1;label=4;break;}else{label=3;break;} //@line 891 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 ___assert_fail(5848,11856,891,16512); //@line 891 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 891 "../src/h264bsd_macroblock_layer.c"
 label=4;break; //@line 891 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 var $10;
 var $11=($10&1); //@line 891 "../src/h264bsd_macroblock_layer.c"
 var $12=$1; //@line 893 "../src/h264bsd_macroblock_layer.c"
 var $13=($12>>>0)>=19; //@line 893 "../src/h264bsd_macroblock_layer.c"
 if($13){label=5;break;}else{label=6;break;} //@line 893 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 $cbp=15; //@line 894 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 894 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 $cbp=0; //@line 896 "../src/h264bsd_macroblock_layer.c"
 label=7;break;
 case 7: 
 var $17=$1; //@line 900 "../src/h264bsd_macroblock_layer.c"
 var $18=((($17)-(7))|0); //@line 900 "../src/h264bsd_macroblock_layer.c"
 var $19=$18>>>2; //@line 900 "../src/h264bsd_macroblock_layer.c"
 $tmp=$19; //@line 900 "../src/h264bsd_macroblock_layer.c"
 var $20=$tmp; //@line 901 "../src/h264bsd_macroblock_layer.c"
 var $21=($20>>>0)>2; //@line 901 "../src/h264bsd_macroblock_layer.c"
 if($21){label=8;break;}else{label=9;break;} //@line 901 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $23=$tmp; //@line 902 "../src/h264bsd_macroblock_layer.c"
 var $24=((($23)-(3))|0); //@line 902 "../src/h264bsd_macroblock_layer.c"
 $tmp=$24; //@line 902 "../src/h264bsd_macroblock_layer.c"
 label=9;break; //@line 902 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 var $26=$tmp; //@line 904 "../src/h264bsd_macroblock_layer.c"
 var $27=$26<<4; //@line 904 "../src/h264bsd_macroblock_layer.c"
 var $28=$cbp; //@line 904 "../src/h264bsd_macroblock_layer.c"
 var $29=((($28)+($27))|0); //@line 904 "../src/h264bsd_macroblock_layer.c"
 $cbp=$29; //@line 904 "../src/h264bsd_macroblock_layer.c"
 var $30=$cbp; //@line 906 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $30; //@line 906 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeResidual($pStrmData,$pResidual,$pMb,$mbType,$codedBlockPattern){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $i;
 var $j;
 var $tmp;
 var $nc;
 var $blockCoded;
 var $blockIndex;
 var $is16x16;
 var $level;
 $2=$pStrmData;
 $3=$pResidual;
 $4=$pMb;
 $5=$mbType;
 $6=$codedBlockPattern;
 var $7=$2; //@line 715 "../src/h264bsd_macroblock_layer.c"
 var $8=($7|0)!=0; //@line 715 "../src/h264bsd_macroblock_layer.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 715 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(10504,11856,715,16240); //@line 715 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 715 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 715 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 715 "../src/h264bsd_macroblock_layer.c"
 var $14=$3; //@line 716 "../src/h264bsd_macroblock_layer.c"
 var $15=($14|0)!=0; //@line 716 "../src/h264bsd_macroblock_layer.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 716 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 ___assert_fail(11296,11856,716,16240); //@line 716 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 716 "../src/h264bsd_macroblock_layer.c"
 label=5;break; //@line 716 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 716 "../src/h264bsd_macroblock_layer.c"
 var $21=$3; //@line 718 "../src/h264bsd_macroblock_layer.c"
 var $22=(($21+56)|0); //@line 718 "../src/h264bsd_macroblock_layer.c"
 var $23=(($22)|0); //@line 718 "../src/h264bsd_macroblock_layer.c"
 $level=$23; //@line 718 "../src/h264bsd_macroblock_layer.c"
 var $24=$5; //@line 721 "../src/h264bsd_macroblock_layer.c"
 var $25=_h264bsdMbPartPredMode($24); //@line 721 "../src/h264bsd_macroblock_layer.c"
 var $26=($25|0)==1; //@line 721 "../src/h264bsd_macroblock_layer.c"
 if($26){label=6;break;}else{label=9;break;} //@line 721 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 var $28=$4; //@line 723 "../src/h264bsd_macroblock_layer.c"
 var $29=$3; //@line 723 "../src/h264bsd_macroblock_layer.c"
 var $30=(($29)|0); //@line 723 "../src/h264bsd_macroblock_layer.c"
 var $31=(($30)|0); //@line 723 "../src/h264bsd_macroblock_layer.c"
 var $32=_DetermineNc($28,0,$31); //@line 723 "../src/h264bsd_macroblock_layer.c"
 $nc=$32; //@line 723 "../src/h264bsd_macroblock_layer.c"
 var $33=$2; //@line 724 "../src/h264bsd_macroblock_layer.c"
 var $34=$level; //@line 724 "../src/h264bsd_macroblock_layer.c"
 var $35=(($34+1536)|0); //@line 724 "../src/h264bsd_macroblock_layer.c"
 var $36=(($35)|0); //@line 724 "../src/h264bsd_macroblock_layer.c"
 var $37=$nc; //@line 724 "../src/h264bsd_macroblock_layer.c"
 var $38=_h264bsdDecodeResidualBlockCavlc($33,$36,$37,16); //@line 724 "../src/h264bsd_macroblock_layer.c"
 $tmp=$38; //@line 724 "../src/h264bsd_macroblock_layer.c"
 var $39=$tmp; //@line 725 "../src/h264bsd_macroblock_layer.c"
 var $40=$39&15; //@line 725 "../src/h264bsd_macroblock_layer.c"
 var $41=($40|0)!=0; //@line 725 "../src/h264bsd_macroblock_layer.c"
 if($41){label=7;break;}else{label=8;break;} //@line 725 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $43=$tmp; //@line 726 "../src/h264bsd_macroblock_layer.c"
 $1=$43; //@line 726 "../src/h264bsd_macroblock_layer.c"
 label=40;break; //@line 726 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $45=$tmp; //@line 727 "../src/h264bsd_macroblock_layer.c"
 var $46=$45>>>4; //@line 727 "../src/h264bsd_macroblock_layer.c"
 var $47=$46&255; //@line 727 "../src/h264bsd_macroblock_layer.c"
 var $48=(($47)&65535); //@line 727 "../src/h264bsd_macroblock_layer.c"
 var $49=$3; //@line 727 "../src/h264bsd_macroblock_layer.c"
 var $50=(($49)|0); //@line 727 "../src/h264bsd_macroblock_layer.c"
 var $51=(($50+48)|0); //@line 727 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($51)>>1)]=$48; //@line 727 "../src/h264bsd_macroblock_layer.c"
 $is16x16=1; //@line 728 "../src/h264bsd_macroblock_layer.c"
 label=10;break; //@line 729 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 $is16x16=0; //@line 731 "../src/h264bsd_macroblock_layer.c"
 label=10;break;
 case 10: 
 $i=4; //@line 733 "../src/h264bsd_macroblock_layer.c"
 $blockIndex=0; //@line 733 "../src/h264bsd_macroblock_layer.c"
 label=11;break; //@line 733 "../src/h264bsd_macroblock_layer.c"
 case 11: 
 var $55=$i; //@line 733 "../src/h264bsd_macroblock_layer.c"
 var $56=((($55)-(1))|0); //@line 733 "../src/h264bsd_macroblock_layer.c"
 $i=$56; //@line 733 "../src/h264bsd_macroblock_layer.c"
 var $57=($55|0)!=0; //@line 733 "../src/h264bsd_macroblock_layer.c"
 if($57){label=12;break;}else{label=25;break;} //@line 733 "../src/h264bsd_macroblock_layer.c"
 case 12: 
 var $59=$6; //@line 736 "../src/h264bsd_macroblock_layer.c"
 var $60=$59&1; //@line 736 "../src/h264bsd_macroblock_layer.c"
 $blockCoded=$60; //@line 736 "../src/h264bsd_macroblock_layer.c"
 var $61=$6; //@line 737 "../src/h264bsd_macroblock_layer.c"
 var $62=$61>>>1; //@line 737 "../src/h264bsd_macroblock_layer.c"
 $6=$62; //@line 737 "../src/h264bsd_macroblock_layer.c"
 var $63=$blockCoded; //@line 738 "../src/h264bsd_macroblock_layer.c"
 var $64=($63|0)!=0; //@line 738 "../src/h264bsd_macroblock_layer.c"
 if($64){label=13;break;}else{label=23;break;} //@line 738 "../src/h264bsd_macroblock_layer.c"
 case 13: 
 $j=4; //@line 740 "../src/h264bsd_macroblock_layer.c"
 label=14;break; //@line 740 "../src/h264bsd_macroblock_layer.c"
 case 14: 
 var $67=$j; //@line 740 "../src/h264bsd_macroblock_layer.c"
 var $68=((($67)-(1))|0); //@line 740 "../src/h264bsd_macroblock_layer.c"
 $j=$68; //@line 740 "../src/h264bsd_macroblock_layer.c"
 var $69=($67|0)!=0; //@line 740 "../src/h264bsd_macroblock_layer.c"
 if($69){label=15;break;}else{label=22;break;} //@line 740 "../src/h264bsd_macroblock_layer.c"
 case 15: 
 var $71=$4; //@line 742 "../src/h264bsd_macroblock_layer.c"
 var $72=$blockIndex; //@line 742 "../src/h264bsd_macroblock_layer.c"
 var $73=$3; //@line 742 "../src/h264bsd_macroblock_layer.c"
 var $74=(($73)|0); //@line 742 "../src/h264bsd_macroblock_layer.c"
 var $75=(($74)|0); //@line 742 "../src/h264bsd_macroblock_layer.c"
 var $76=_DetermineNc($71,$72,$75); //@line 742 "../src/h264bsd_macroblock_layer.c"
 $nc=$76; //@line 742 "../src/h264bsd_macroblock_layer.c"
 var $77=$is16x16; //@line 743 "../src/h264bsd_macroblock_layer.c"
 var $78=($77|0)!=0; //@line 743 "../src/h264bsd_macroblock_layer.c"
 if($78){label=16;break;}else{label=17;break;} //@line 743 "../src/h264bsd_macroblock_layer.c"
 case 16: 
 var $80=$2; //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $81=$blockIndex; //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $82=$level; //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $83=(($82+($81<<6))|0); //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $84=(($83)|0); //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $85=(($84+4)|0); //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $86=$nc; //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $87=_h264bsdDecodeResidualBlockCavlc($80,$85,$86,15); //@line 745 "../src/h264bsd_macroblock_layer.c"
 $tmp=$87; //@line 745 "../src/h264bsd_macroblock_layer.c"
 var $88=$tmp; //@line 747 "../src/h264bsd_macroblock_layer.c"
 var $89=$88>>>15; //@line 747 "../src/h264bsd_macroblock_layer.c"
 var $90=$blockIndex; //@line 747 "../src/h264bsd_macroblock_layer.c"
 var $91=$3; //@line 747 "../src/h264bsd_macroblock_layer.c"
 var $92=(($91+1720)|0); //@line 747 "../src/h264bsd_macroblock_layer.c"
 var $93=(($92+($90<<2))|0); //@line 747 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($93)>>2)]=$89; //@line 747 "../src/h264bsd_macroblock_layer.c"
 label=18;break; //@line 748 "../src/h264bsd_macroblock_layer.c"
 case 17: 
 var $95=$2; //@line 751 "../src/h264bsd_macroblock_layer.c"
 var $96=$blockIndex; //@line 751 "../src/h264bsd_macroblock_layer.c"
 var $97=$level; //@line 751 "../src/h264bsd_macroblock_layer.c"
 var $98=(($97+($96<<6))|0); //@line 751 "../src/h264bsd_macroblock_layer.c"
 var $99=(($98)|0); //@line 751 "../src/h264bsd_macroblock_layer.c"
 var $100=$nc; //@line 751 "../src/h264bsd_macroblock_layer.c"
 var $101=_h264bsdDecodeResidualBlockCavlc($95,$99,$100,16); //@line 751 "../src/h264bsd_macroblock_layer.c"
 $tmp=$101; //@line 751 "../src/h264bsd_macroblock_layer.c"
 var $102=$tmp; //@line 753 "../src/h264bsd_macroblock_layer.c"
 var $103=$102>>>16; //@line 753 "../src/h264bsd_macroblock_layer.c"
 var $104=$blockIndex; //@line 753 "../src/h264bsd_macroblock_layer.c"
 var $105=$3; //@line 753 "../src/h264bsd_macroblock_layer.c"
 var $106=(($105+1720)|0); //@line 753 "../src/h264bsd_macroblock_layer.c"
 var $107=(($106+($104<<2))|0); //@line 753 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($107)>>2)]=$103; //@line 753 "../src/h264bsd_macroblock_layer.c"
 label=18;break;
 case 18: 
 var $109=$tmp; //@line 755 "../src/h264bsd_macroblock_layer.c"
 var $110=$109&15; //@line 755 "../src/h264bsd_macroblock_layer.c"
 var $111=($110|0)!=0; //@line 755 "../src/h264bsd_macroblock_layer.c"
 if($111){label=19;break;}else{label=20;break;} //@line 755 "../src/h264bsd_macroblock_layer.c"
 case 19: 
 var $113=$tmp; //@line 756 "../src/h264bsd_macroblock_layer.c"
 $1=$113; //@line 756 "../src/h264bsd_macroblock_layer.c"
 label=40;break; //@line 756 "../src/h264bsd_macroblock_layer.c"
 case 20: 
 var $115=$tmp; //@line 757 "../src/h264bsd_macroblock_layer.c"
 var $116=$115>>>4; //@line 757 "../src/h264bsd_macroblock_layer.c"
 var $117=$116&255; //@line 757 "../src/h264bsd_macroblock_layer.c"
 var $118=(($117)&65535); //@line 757 "../src/h264bsd_macroblock_layer.c"
 var $119=$blockIndex; //@line 757 "../src/h264bsd_macroblock_layer.c"
 var $120=$3; //@line 757 "../src/h264bsd_macroblock_layer.c"
 var $121=(($120)|0); //@line 757 "../src/h264bsd_macroblock_layer.c"
 var $122=(($121+($119<<1))|0); //@line 757 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($122)>>1)]=$118; //@line 757 "../src/h264bsd_macroblock_layer.c"
 label=21;break; //@line 758 "../src/h264bsd_macroblock_layer.c"
 case 21: 
 var $124=$blockIndex; //@line 740 "../src/h264bsd_macroblock_layer.c"
 var $125=((($124)+(1))|0); //@line 740 "../src/h264bsd_macroblock_layer.c"
 $blockIndex=$125; //@line 740 "../src/h264bsd_macroblock_layer.c"
 label=14;break; //@line 740 "../src/h264bsd_macroblock_layer.c"
 case 22: 
 label=24;break; //@line 759 "../src/h264bsd_macroblock_layer.c"
 case 23: 
 var $128=$blockIndex; //@line 761 "../src/h264bsd_macroblock_layer.c"
 var $129=((($128)+(4))|0); //@line 761 "../src/h264bsd_macroblock_layer.c"
 $blockIndex=$129; //@line 761 "../src/h264bsd_macroblock_layer.c"
 label=24;break;
 case 24: 
 label=11;break; //@line 762 "../src/h264bsd_macroblock_layer.c"
 case 25: 
 var $132=$6; //@line 765 "../src/h264bsd_macroblock_layer.c"
 var $133=$132&3; //@line 765 "../src/h264bsd_macroblock_layer.c"
 $blockCoded=$133; //@line 765 "../src/h264bsd_macroblock_layer.c"
 var $134=$blockCoded; //@line 766 "../src/h264bsd_macroblock_layer.c"
 var $135=($134|0)!=0; //@line 766 "../src/h264bsd_macroblock_layer.c"
 if($135){label=26;break;}else{label=31;break;} //@line 766 "../src/h264bsd_macroblock_layer.c"
 case 26: 
 var $137=$2; //@line 768 "../src/h264bsd_macroblock_layer.c"
 var $138=$level; //@line 768 "../src/h264bsd_macroblock_layer.c"
 var $139=(($138+1600)|0); //@line 768 "../src/h264bsd_macroblock_layer.c"
 var $140=(($139)|0); //@line 768 "../src/h264bsd_macroblock_layer.c"
 var $141=_h264bsdDecodeResidualBlockCavlc($137,$140,-1,4); //@line 768 "../src/h264bsd_macroblock_layer.c"
 $tmp=$141; //@line 768 "../src/h264bsd_macroblock_layer.c"
 var $142=$tmp; //@line 769 "../src/h264bsd_macroblock_layer.c"
 var $143=$142&15; //@line 769 "../src/h264bsd_macroblock_layer.c"
 var $144=($143|0)!=0; //@line 769 "../src/h264bsd_macroblock_layer.c"
 if($144){label=27;break;}else{label=28;break;} //@line 769 "../src/h264bsd_macroblock_layer.c"
 case 27: 
 var $146=$tmp; //@line 770 "../src/h264bsd_macroblock_layer.c"
 $1=$146; //@line 770 "../src/h264bsd_macroblock_layer.c"
 label=40;break; //@line 770 "../src/h264bsd_macroblock_layer.c"
 case 28: 
 var $148=$tmp; //@line 771 "../src/h264bsd_macroblock_layer.c"
 var $149=$148>>>4; //@line 771 "../src/h264bsd_macroblock_layer.c"
 var $150=$149&255; //@line 771 "../src/h264bsd_macroblock_layer.c"
 var $151=(($150)&65535); //@line 771 "../src/h264bsd_macroblock_layer.c"
 var $152=$3; //@line 771 "../src/h264bsd_macroblock_layer.c"
 var $153=(($152)|0); //@line 771 "../src/h264bsd_macroblock_layer.c"
 var $154=(($153+50)|0); //@line 771 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($154)>>1)]=$151; //@line 771 "../src/h264bsd_macroblock_layer.c"
 var $155=$2; //@line 772 "../src/h264bsd_macroblock_layer.c"
 var $156=$level; //@line 772 "../src/h264bsd_macroblock_layer.c"
 var $157=(($156+1600)|0); //@line 772 "../src/h264bsd_macroblock_layer.c"
 var $158=(($157)|0); //@line 772 "../src/h264bsd_macroblock_layer.c"
 var $159=(($158+16)|0); //@line 772 "../src/h264bsd_macroblock_layer.c"
 var $160=_h264bsdDecodeResidualBlockCavlc($155,$159,-1,4); //@line 772 "../src/h264bsd_macroblock_layer.c"
 $tmp=$160; //@line 772 "../src/h264bsd_macroblock_layer.c"
 var $161=$tmp; //@line 773 "../src/h264bsd_macroblock_layer.c"
 var $162=$161&15; //@line 773 "../src/h264bsd_macroblock_layer.c"
 var $163=($162|0)!=0; //@line 773 "../src/h264bsd_macroblock_layer.c"
 if($163){label=29;break;}else{label=30;break;} //@line 773 "../src/h264bsd_macroblock_layer.c"
 case 29: 
 var $165=$tmp; //@line 774 "../src/h264bsd_macroblock_layer.c"
 $1=$165; //@line 774 "../src/h264bsd_macroblock_layer.c"
 label=40;break; //@line 774 "../src/h264bsd_macroblock_layer.c"
 case 30: 
 var $167=$tmp; //@line 775 "../src/h264bsd_macroblock_layer.c"
 var $168=$167>>>4; //@line 775 "../src/h264bsd_macroblock_layer.c"
 var $169=$168&255; //@line 775 "../src/h264bsd_macroblock_layer.c"
 var $170=(($169)&65535); //@line 775 "../src/h264bsd_macroblock_layer.c"
 var $171=$3; //@line 775 "../src/h264bsd_macroblock_layer.c"
 var $172=(($171)|0); //@line 775 "../src/h264bsd_macroblock_layer.c"
 var $173=(($172+52)|0); //@line 775 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($173)>>1)]=$170; //@line 775 "../src/h264bsd_macroblock_layer.c"
 label=31;break; //@line 776 "../src/h264bsd_macroblock_layer.c"
 case 31: 
 var $175=$6; //@line 779 "../src/h264bsd_macroblock_layer.c"
 var $176=$175&2; //@line 779 "../src/h264bsd_macroblock_layer.c"
 $blockCoded=$176; //@line 779 "../src/h264bsd_macroblock_layer.c"
 var $177=$blockCoded; //@line 780 "../src/h264bsd_macroblock_layer.c"
 var $178=($177|0)!=0; //@line 780 "../src/h264bsd_macroblock_layer.c"
 if($178){label=32;break;}else{label=39;break;} //@line 780 "../src/h264bsd_macroblock_layer.c"
 case 32: 
 $i=8; //@line 782 "../src/h264bsd_macroblock_layer.c"
 label=33;break; //@line 782 "../src/h264bsd_macroblock_layer.c"
 case 33: 
 var $181=$i; //@line 782 "../src/h264bsd_macroblock_layer.c"
 var $182=((($181)-(1))|0); //@line 782 "../src/h264bsd_macroblock_layer.c"
 $i=$182; //@line 782 "../src/h264bsd_macroblock_layer.c"
 var $183=($181|0)!=0; //@line 782 "../src/h264bsd_macroblock_layer.c"
 if($183){label=34;break;}else{label=38;break;} //@line 782 "../src/h264bsd_macroblock_layer.c"
 case 34: 
 var $185=$4; //@line 784 "../src/h264bsd_macroblock_layer.c"
 var $186=$blockIndex; //@line 784 "../src/h264bsd_macroblock_layer.c"
 var $187=$3; //@line 784 "../src/h264bsd_macroblock_layer.c"
 var $188=(($187)|0); //@line 784 "../src/h264bsd_macroblock_layer.c"
 var $189=(($188)|0); //@line 784 "../src/h264bsd_macroblock_layer.c"
 var $190=_DetermineNc($185,$186,$189); //@line 784 "../src/h264bsd_macroblock_layer.c"
 $nc=$190; //@line 784 "../src/h264bsd_macroblock_layer.c"
 var $191=$2; //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $192=$blockIndex; //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $193=$level; //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $194=(($193+($192<<6))|0); //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $195=(($194)|0); //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $196=(($195+4)|0); //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $197=$nc; //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $198=_h264bsdDecodeResidualBlockCavlc($191,$196,$197,15); //@line 785 "../src/h264bsd_macroblock_layer.c"
 $tmp=$198; //@line 785 "../src/h264bsd_macroblock_layer.c"
 var $199=$tmp; //@line 787 "../src/h264bsd_macroblock_layer.c"
 var $200=$199&15; //@line 787 "../src/h264bsd_macroblock_layer.c"
 var $201=($200|0)!=0; //@line 787 "../src/h264bsd_macroblock_layer.c"
 if($201){label=35;break;}else{label=36;break;} //@line 787 "../src/h264bsd_macroblock_layer.c"
 case 35: 
 var $203=$tmp; //@line 788 "../src/h264bsd_macroblock_layer.c"
 $1=$203; //@line 788 "../src/h264bsd_macroblock_layer.c"
 label=40;break; //@line 788 "../src/h264bsd_macroblock_layer.c"
 case 36: 
 var $205=$tmp; //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $206=$205>>>4; //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $207=$206&255; //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $208=(($207)&65535); //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $209=$blockIndex; //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $210=$3; //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $211=(($210)|0); //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $212=(($211+($209<<1))|0); //@line 789 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($212)>>1)]=$208; //@line 789 "../src/h264bsd_macroblock_layer.c"
 var $213=$tmp; //@line 790 "../src/h264bsd_macroblock_layer.c"
 var $214=$213>>>15; //@line 790 "../src/h264bsd_macroblock_layer.c"
 var $215=$blockIndex; //@line 790 "../src/h264bsd_macroblock_layer.c"
 var $216=$3; //@line 790 "../src/h264bsd_macroblock_layer.c"
 var $217=(($216+1720)|0); //@line 790 "../src/h264bsd_macroblock_layer.c"
 var $218=(($217+($215<<2))|0); //@line 790 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($218)>>2)]=$214; //@line 790 "../src/h264bsd_macroblock_layer.c"
 label=37;break; //@line 791 "../src/h264bsd_macroblock_layer.c"
 case 37: 
 var $220=$blockIndex; //@line 782 "../src/h264bsd_macroblock_layer.c"
 var $221=((($220)+(1))|0); //@line 782 "../src/h264bsd_macroblock_layer.c"
 $blockIndex=$221; //@line 782 "../src/h264bsd_macroblock_layer.c"
 label=33;break; //@line 782 "../src/h264bsd_macroblock_layer.c"
 case 38: 
 label=39;break; //@line 792 "../src/h264bsd_macroblock_layer.c"
 case 39: 
 $1=0; //@line 794 "../src/h264bsd_macroblock_layer.c"
 label=40;break; //@line 794 "../src/h264bsd_macroblock_layer.c"
 case 40: 
 var $225=$1; //@line 796 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $225; //@line 796 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdNumSubMbPart($subMbType){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$subMbType;
 var $3=$2; //@line 326 "../src/h264bsd_macroblock_layer.c"
 var $4=($3>>>0)<=3; //@line 326 "../src/h264bsd_macroblock_layer.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 326 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(6408,11856,326,12944); //@line 326 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 326 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 326 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 326 "../src/h264bsd_macroblock_layer.c"
 var $10=$2; //@line 328 "../src/h264bsd_macroblock_layer.c"
 if(($10|0)==0){ label=4;break;}else if(($10|0)==1|($10|0)==2){ label=5;break;}else{label=6;break;}
 case 4: 
 $1=1; //@line 331 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 331 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 $1=2; //@line 335 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 335 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 $1=4; //@line 339 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 339 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $15=$1; //@line 342 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $15; //@line 342 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdPredModeIntra16x16($mbType){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $tmp;
 $1=$mbType;
 var $2=$1; //@line 928 "../src/h264bsd_macroblock_layer.c"
 var $3=($2>>>0)>=7; //@line 928 "../src/h264bsd_macroblock_layer.c"
 if($3){label=2;break;}else{label=3;break;} //@line 928 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 var $5=$1; //@line 928 "../src/h264bsd_macroblock_layer.c"
 var $6=($5>>>0)<=30; //@line 928 "../src/h264bsd_macroblock_layer.c"
 if($6){var $10=1;label=4;break;}else{label=3;break;} //@line 928 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 ___assert_fail(5848,11856,928,12872); //@line 928 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 928 "../src/h264bsd_macroblock_layer.c"
 label=4;break; //@line 928 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 var $10;
 var $11=($10&1); //@line 928 "../src/h264bsd_macroblock_layer.c"
 var $12=$1; //@line 932 "../src/h264bsd_macroblock_layer.c"
 var $13=((($12)-(7))|0); //@line 932 "../src/h264bsd_macroblock_layer.c"
 $tmp=$13; //@line 932 "../src/h264bsd_macroblock_layer.c"
 var $14=$tmp; //@line 934 "../src/h264bsd_macroblock_layer.c"
 var $15=$14&3; //@line 934 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $15; //@line 934 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeMacroblock($pMb,$pMbLayer,$currImage,$dpb,$qpY,$mbNum,$constrainedIntraPredFlag,$data){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $i;
 var $tmp;
 var $mbType;
 var $pData;
 var $tot;
 var $lev;
 $2=$pMb;
 $3=$pMbLayer;
 $4=$currImage;
 $5=$dpb;
 $6=$qpY;
 $7=$mbNum;
 $8=$constrainedIntraPredFlag;
 $9=$data;
 var $10=$2; //@line 979 "../src/h264bsd_macroblock_layer.c"
 var $11=($10|0)!=0; //@line 979 "../src/h264bsd_macroblock_layer.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 979 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(5392,11856,979,14376); //@line 979 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 979 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 979 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 979 "../src/h264bsd_macroblock_layer.c"
 var $17=$3; //@line 980 "../src/h264bsd_macroblock_layer.c"
 var $18=($17|0)!=0; //@line 980 "../src/h264bsd_macroblock_layer.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 980 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 ___assert_fail(9192,11856,980,14376); //@line 980 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 980 "../src/h264bsd_macroblock_layer.c"
 label=5;break; //@line 980 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 980 "../src/h264bsd_macroblock_layer.c"
 var $24=$4; //@line 981 "../src/h264bsd_macroblock_layer.c"
 var $25=($24|0)!=0; //@line 981 "../src/h264bsd_macroblock_layer.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 981 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 ___assert_fail(5080,11856,981,14376); //@line 981 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 981 "../src/h264bsd_macroblock_layer.c"
 label=7;break; //@line 981 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 981 "../src/h264bsd_macroblock_layer.c"
 var $31=$6; //@line 982 "../src/h264bsd_macroblock_layer.c"
 var $32=($31|0)!=0; //@line 982 "../src/h264bsd_macroblock_layer.c"
 if($32){label=8;break;}else{label=9;break;} //@line 982 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $34=$6; //@line 982 "../src/h264bsd_macroblock_layer.c"
 var $35=HEAP32[(($34)>>2)]; //@line 982 "../src/h264bsd_macroblock_layer.c"
 var $36=($35|0)<52; //@line 982 "../src/h264bsd_macroblock_layer.c"
 if($36){var $40=1;label=10;break;}else{label=9;break;} //@line 982 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 ___assert_fail(4664,11856,982,14376); //@line 982 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 982 "../src/h264bsd_macroblock_layer.c"
 label=10;break; //@line 982 "../src/h264bsd_macroblock_layer.c"
 case 10: 
 var $40;
 var $41=($40&1); //@line 982 "../src/h264bsd_macroblock_layer.c"
 var $42=$7; //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $43=$4; //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $44=(($43+4)|0); //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $45=HEAP32[(($44)>>2)]; //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $46=$4; //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $47=(($46+8)|0); //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $48=HEAP32[(($47)>>2)]; //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $49=(Math_imul($45,$48)|0); //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $50=($42>>>0)<($49>>>0); //@line 983 "../src/h264bsd_macroblock_layer.c"
 if($50){var $54=1;label=12;break;}else{label=11;break;} //@line 983 "../src/h264bsd_macroblock_layer.c"
 case 11: 
 ___assert_fail(12424,11856,983,14376); //@line 983 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 983 "../src/h264bsd_macroblock_layer.c"
 label=12;break; //@line 983 "../src/h264bsd_macroblock_layer.c"
 case 12: 
 var $54;
 var $55=($54&1); //@line 983 "../src/h264bsd_macroblock_layer.c"
 var $56=$3; //@line 985 "../src/h264bsd_macroblock_layer.c"
 var $57=(($56)|0); //@line 985 "../src/h264bsd_macroblock_layer.c"
 var $58=HEAP32[(($57)>>2)]; //@line 985 "../src/h264bsd_macroblock_layer.c"
 $mbType=$58; //@line 985 "../src/h264bsd_macroblock_layer.c"
 var $59=$mbType; //@line 986 "../src/h264bsd_macroblock_layer.c"
 var $60=$2; //@line 986 "../src/h264bsd_macroblock_layer.c"
 var $61=(($60)|0); //@line 986 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($61)>>2)]=$59; //@line 986 "../src/h264bsd_macroblock_layer.c"
 var $62=$2; //@line 988 "../src/h264bsd_macroblock_layer.c"
 var $63=(($62+196)|0); //@line 988 "../src/h264bsd_macroblock_layer.c"
 var $64=HEAP32[(($63)>>2)]; //@line 988 "../src/h264bsd_macroblock_layer.c"
 var $65=((($64)+(1))|0); //@line 988 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($63)>>2)]=$65; //@line 988 "../src/h264bsd_macroblock_layer.c"
 var $66=$4; //@line 990 "../src/h264bsd_macroblock_layer.c"
 var $67=$7; //@line 990 "../src/h264bsd_macroblock_layer.c"
 _h264bsdSetCurrImageMbPointers($66,$67); //@line 990 "../src/h264bsd_macroblock_layer.c"
 var $68=$mbType; //@line 992 "../src/h264bsd_macroblock_layer.c"
 var $69=($68|0)==31; //@line 992 "../src/h264bsd_macroblock_layer.c"
 if($69){label=13;break;}else{label=25;break;} //@line 992 "../src/h264bsd_macroblock_layer.c"
 case 13: 
 var $71=$9; //@line 994 "../src/h264bsd_macroblock_layer.c"
 $pData=$71; //@line 994 "../src/h264bsd_macroblock_layer.c"
 var $72=$2; //@line 998 "../src/h264bsd_macroblock_layer.c"
 var $73=(($72+28)|0); //@line 998 "../src/h264bsd_macroblock_layer.c"
 var $74=(($73)|0); //@line 998 "../src/h264bsd_macroblock_layer.c"
 $tot=$74; //@line 998 "../src/h264bsd_macroblock_layer.c"
 var $75=$3; //@line 1000 "../src/h264bsd_macroblock_layer.c"
 var $76=(($75+272)|0); //@line 1000 "../src/h264bsd_macroblock_layer.c"
 var $77=(($76+56)|0); //@line 1000 "../src/h264bsd_macroblock_layer.c"
 var $78=(($77)|0); //@line 1000 "../src/h264bsd_macroblock_layer.c"
 var $79=(($78)|0); //@line 1000 "../src/h264bsd_macroblock_layer.c"
 $lev=$79; //@line 1000 "../src/h264bsd_macroblock_layer.c"
 var $80=$2; //@line 1002 "../src/h264bsd_macroblock_layer.c"
 var $81=(($80+20)|0); //@line 1002 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($81)>>2)]=0; //@line 1002 "../src/h264bsd_macroblock_layer.c"
 var $82=$2; //@line 1006 "../src/h264bsd_macroblock_layer.c"
 var $83=(($82+196)|0); //@line 1006 "../src/h264bsd_macroblock_layer.c"
 var $84=HEAP32[(($83)>>2)]; //@line 1006 "../src/h264bsd_macroblock_layer.c"
 var $85=($84>>>0)>1; //@line 1006 "../src/h264bsd_macroblock_layer.c"
 if($85){label=14;break;}else{label=18;break;} //@line 1006 "../src/h264bsd_macroblock_layer.c"
 case 14: 
 $i=24; //@line 1008 "../src/h264bsd_macroblock_layer.c"
 label=15;break; //@line 1008 "../src/h264bsd_macroblock_layer.c"
 case 15: 
 var $88=$i; //@line 1008 "../src/h264bsd_macroblock_layer.c"
 var $89=((($88)-(1))|0); //@line 1008 "../src/h264bsd_macroblock_layer.c"
 $i=$89; //@line 1008 "../src/h264bsd_macroblock_layer.c"
 var $90=($88|0)!=0; //@line 1008 "../src/h264bsd_macroblock_layer.c"
 if($90){label=16;break;}else{label=17;break;} //@line 1008 "../src/h264bsd_macroblock_layer.c"
 case 16: 
 var $92=$tot; //@line 1009 "../src/h264bsd_macroblock_layer.c"
 var $93=(($92+2)|0); //@line 1009 "../src/h264bsd_macroblock_layer.c"
 $tot=$93; //@line 1009 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($92)>>1)]=16; //@line 1009 "../src/h264bsd_macroblock_layer.c"
 label=15;break; //@line 1009 "../src/h264bsd_macroblock_layer.c"
 case 17: 
 $1=0; //@line 1010 "../src/h264bsd_macroblock_layer.c"
 label=46;break; //@line 1010 "../src/h264bsd_macroblock_layer.c"
 case 18: 
 $i=24; //@line 1013 "../src/h264bsd_macroblock_layer.c"
 label=19;break; //@line 1013 "../src/h264bsd_macroblock_layer.c"
 case 19: 
 var $97=$i; //@line 1013 "../src/h264bsd_macroblock_layer.c"
 var $98=((($97)-(1))|0); //@line 1013 "../src/h264bsd_macroblock_layer.c"
 $i=$98; //@line 1013 "../src/h264bsd_macroblock_layer.c"
 var $99=($97|0)!=0; //@line 1013 "../src/h264bsd_macroblock_layer.c"
 if($99){label=20;break;}else{label=24;break;} //@line 1013 "../src/h264bsd_macroblock_layer.c"
 case 20: 
 var $101=$tot; //@line 1015 "../src/h264bsd_macroblock_layer.c"
 var $102=(($101+2)|0); //@line 1015 "../src/h264bsd_macroblock_layer.c"
 $tot=$102; //@line 1015 "../src/h264bsd_macroblock_layer.c"
 HEAP16[(($101)>>1)]=16; //@line 1015 "../src/h264bsd_macroblock_layer.c"
 $tmp=16; //@line 1016 "../src/h264bsd_macroblock_layer.c"
 label=21;break; //@line 1016 "../src/h264bsd_macroblock_layer.c"
 case 21: 
 var $104=$tmp; //@line 1016 "../src/h264bsd_macroblock_layer.c"
 var $105=((($104)-(1))|0); //@line 1016 "../src/h264bsd_macroblock_layer.c"
 $tmp=$105; //@line 1016 "../src/h264bsd_macroblock_layer.c"
 var $106=($104|0)!=0; //@line 1016 "../src/h264bsd_macroblock_layer.c"
 if($106){label=22;break;}else{label=23;break;} //@line 1016 "../src/h264bsd_macroblock_layer.c"
 case 22: 
 var $108=$lev; //@line 1017 "../src/h264bsd_macroblock_layer.c"
 var $109=(($108+4)|0); //@line 1017 "../src/h264bsd_macroblock_layer.c"
 $lev=$109; //@line 1017 "../src/h264bsd_macroblock_layer.c"
 var $110=HEAP32[(($108)>>2)]; //@line 1017 "../src/h264bsd_macroblock_layer.c"
 var $111=(($110)&255); //@line 1017 "../src/h264bsd_macroblock_layer.c"
 var $112=$pData; //@line 1017 "../src/h264bsd_macroblock_layer.c"
 var $113=(($112+1)|0); //@line 1017 "../src/h264bsd_macroblock_layer.c"
 $pData=$113; //@line 1017 "../src/h264bsd_macroblock_layer.c"
 HEAP8[($112)]=$111; //@line 1017 "../src/h264bsd_macroblock_layer.c"
 label=21;break; //@line 1017 "../src/h264bsd_macroblock_layer.c"
 case 23: 
 label=19;break; //@line 1018 "../src/h264bsd_macroblock_layer.c"
 case 24: 
 var $116=$4; //@line 1019 "../src/h264bsd_macroblock_layer.c"
 var $117=$9; //@line 1019 "../src/h264bsd_macroblock_layer.c"
 _h264bsdWriteMacroblock($116,$117); //@line 1019 "../src/h264bsd_macroblock_layer.c"
 $1=0; //@line 1021 "../src/h264bsd_macroblock_layer.c"
 label=46;break; //@line 1021 "../src/h264bsd_macroblock_layer.c"
 case 25: 
 var $119=$mbType; //@line 1033 "../src/h264bsd_macroblock_layer.c"
 var $120=($119|0)!=0; //@line 1033 "../src/h264bsd_macroblock_layer.c"
 if($120){label=26;break;}else{label=36;break;} //@line 1033 "../src/h264bsd_macroblock_layer.c"
 case 26: 
 var $122=$2; //@line 1035 "../src/h264bsd_macroblock_layer.c"
 var $123=(($122+28)|0); //@line 1035 "../src/h264bsd_macroblock_layer.c"
 var $124=$123; //@line 1035 "../src/h264bsd_macroblock_layer.c"
 var $125=$3; //@line 1035 "../src/h264bsd_macroblock_layer.c"
 var $126=(($125+272)|0); //@line 1035 "../src/h264bsd_macroblock_layer.c"
 var $127=(($126)|0); //@line 1035 "../src/h264bsd_macroblock_layer.c"
 var $128=$127; //@line 1035 "../src/h264bsd_macroblock_layer.c"
 assert(54 % 1 === 0);(_memcpy($124, $128, 54)|0); //@line 1035 "../src/h264bsd_macroblock_layer.c"
 var $129=$3; //@line 1040 "../src/h264bsd_macroblock_layer.c"
 var $130=(($129+8)|0); //@line 1040 "../src/h264bsd_macroblock_layer.c"
 var $131=HEAP32[(($130)>>2)]; //@line 1040 "../src/h264bsd_macroblock_layer.c"
 var $132=($131|0)!=0; //@line 1040 "../src/h264bsd_macroblock_layer.c"
 if($132){label=27;break;}else{label=33;break;} //@line 1040 "../src/h264bsd_macroblock_layer.c"
 case 27: 
 var $134=$6; //@line 1042 "../src/h264bsd_macroblock_layer.c"
 var $135=HEAP32[(($134)>>2)]; //@line 1042 "../src/h264bsd_macroblock_layer.c"
 var $136=$3; //@line 1042 "../src/h264bsd_macroblock_layer.c"
 var $137=(($136+8)|0); //@line 1042 "../src/h264bsd_macroblock_layer.c"
 var $138=HEAP32[(($137)>>2)]; //@line 1042 "../src/h264bsd_macroblock_layer.c"
 var $139=((($135)+($138))|0); //@line 1042 "../src/h264bsd_macroblock_layer.c"
 var $140=$6; //@line 1042 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($140)>>2)]=$139; //@line 1042 "../src/h264bsd_macroblock_layer.c"
 var $141=$6; //@line 1043 "../src/h264bsd_macroblock_layer.c"
 var $142=HEAP32[(($141)>>2)]; //@line 1043 "../src/h264bsd_macroblock_layer.c"
 var $143=($142|0)<0; //@line 1043 "../src/h264bsd_macroblock_layer.c"
 if($143){label=28;break;}else{label=29;break;} //@line 1043 "../src/h264bsd_macroblock_layer.c"
 case 28: 
 var $145=$6; //@line 1043 "../src/h264bsd_macroblock_layer.c"
 var $146=HEAP32[(($145)>>2)]; //@line 1043 "../src/h264bsd_macroblock_layer.c"
 var $147=((($146)+(52))|0); //@line 1043 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($145)>>2)]=$147; //@line 1043 "../src/h264bsd_macroblock_layer.c"
 label=32;break; //@line 1043 "../src/h264bsd_macroblock_layer.c"
 case 29: 
 var $149=$6; //@line 1044 "../src/h264bsd_macroblock_layer.c"
 var $150=HEAP32[(($149)>>2)]; //@line 1044 "../src/h264bsd_macroblock_layer.c"
 var $151=($150|0)>=52; //@line 1044 "../src/h264bsd_macroblock_layer.c"
 if($151){label=30;break;}else{label=31;break;} //@line 1044 "../src/h264bsd_macroblock_layer.c"
 case 30: 
 var $153=$6; //@line 1044 "../src/h264bsd_macroblock_layer.c"
 var $154=HEAP32[(($153)>>2)]; //@line 1044 "../src/h264bsd_macroblock_layer.c"
 var $155=((($154)-(52))|0); //@line 1044 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($153)>>2)]=$155; //@line 1044 "../src/h264bsd_macroblock_layer.c"
 label=31;break; //@line 1044 "../src/h264bsd_macroblock_layer.c"
 case 31: 
 label=32;break;
 case 32: 
 label=33;break; //@line 1045 "../src/h264bsd_macroblock_layer.c"
 case 33: 
 var $159=$6; //@line 1046 "../src/h264bsd_macroblock_layer.c"
 var $160=HEAP32[(($159)>>2)]; //@line 1046 "../src/h264bsd_macroblock_layer.c"
 var $161=$2; //@line 1046 "../src/h264bsd_macroblock_layer.c"
 var $162=(($161+20)|0); //@line 1046 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($162)>>2)]=$160; //@line 1046 "../src/h264bsd_macroblock_layer.c"
 var $163=$2; //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $164=$3; //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $165=(($164+272)|0); //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $166=(($165+56)|0); //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $167=(($166)|0); //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $168=$3; //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $169=(($168+272)|0); //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $170=(($169+1720)|0); //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $171=(($170)|0); //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $172=_ProcessResidual($163,$167,$171); //@line 1096 "../src/h264bsd_macroblock_layer.c"
 $tmp=$172; //@line 1096 "../src/h264bsd_macroblock_layer.c"
 var $173=$tmp; //@line 1099 "../src/h264bsd_macroblock_layer.c"
 var $174=($173|0)!=0; //@line 1099 "../src/h264bsd_macroblock_layer.c"
 if($174){label=34;break;}else{label=35;break;} //@line 1099 "../src/h264bsd_macroblock_layer.c"
 case 34: 
 var $176=$tmp; //@line 1100 "../src/h264bsd_macroblock_layer.c"
 $1=$176; //@line 1100 "../src/h264bsd_macroblock_layer.c"
 label=46;break; //@line 1100 "../src/h264bsd_macroblock_layer.c"
 case 35: 
 label=37;break; //@line 1101 "../src/h264bsd_macroblock_layer.c"
 case 36: 
 var $179=$2; //@line 1104 "../src/h264bsd_macroblock_layer.c"
 var $180=(($179+28)|0); //@line 1104 "../src/h264bsd_macroblock_layer.c"
 var $181=$180; //@line 1104 "../src/h264bsd_macroblock_layer.c"
 _memset($181, 0, 54)|0; //@line 1104 "../src/h264bsd_macroblock_layer.c"
 var $182=$6; //@line 1105 "../src/h264bsd_macroblock_layer.c"
 var $183=HEAP32[(($182)>>2)]; //@line 1105 "../src/h264bsd_macroblock_layer.c"
 var $184=$2; //@line 1105 "../src/h264bsd_macroblock_layer.c"
 var $185=(($184+20)|0); //@line 1105 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($185)>>2)]=$183; //@line 1105 "../src/h264bsd_macroblock_layer.c"
 label=37;break;
 case 37: 
 var $187=$mbType; //@line 1115 "../src/h264bsd_macroblock_layer.c"
 var $188=_h264bsdMbPartPredMode($187); //@line 1115 "../src/h264bsd_macroblock_layer.c"
 var $189=($188|0)!=2; //@line 1115 "../src/h264bsd_macroblock_layer.c"
 if($189){label=38;break;}else{label=41;break;} //@line 1115 "../src/h264bsd_macroblock_layer.c"
 case 38: 
 var $191=$2; //@line 1117 "../src/h264bsd_macroblock_layer.c"
 var $192=$3; //@line 1117 "../src/h264bsd_macroblock_layer.c"
 var $193=$4; //@line 1117 "../src/h264bsd_macroblock_layer.c"
 var $194=$7; //@line 1117 "../src/h264bsd_macroblock_layer.c"
 var $195=$8; //@line 1117 "../src/h264bsd_macroblock_layer.c"
 var $196=$9; //@line 1117 "../src/h264bsd_macroblock_layer.c"
 var $197=_h264bsdIntraPrediction($191,$192,$193,$194,$195,$196); //@line 1117 "../src/h264bsd_macroblock_layer.c"
 $tmp=$197; //@line 1117 "../src/h264bsd_macroblock_layer.c"
 var $198=$tmp; //@line 1119 "../src/h264bsd_macroblock_layer.c"
 var $199=($198|0)!=0; //@line 1119 "../src/h264bsd_macroblock_layer.c"
 if($199){label=39;break;}else{label=40;break;} //@line 1119 "../src/h264bsd_macroblock_layer.c"
 case 39: 
 var $201=$tmp; //@line 1119 "../src/h264bsd_macroblock_layer.c"
 $1=$201; //@line 1119 "../src/h264bsd_macroblock_layer.c"
 label=46;break; //@line 1119 "../src/h264bsd_macroblock_layer.c"
 case 40: 
 label=44;break; //@line 1120 "../src/h264bsd_macroblock_layer.c"
 case 41: 
 var $204=$2; //@line 1123 "../src/h264bsd_macroblock_layer.c"
 var $205=$3; //@line 1123 "../src/h264bsd_macroblock_layer.c"
 var $206=$5; //@line 1123 "../src/h264bsd_macroblock_layer.c"
 var $207=$7; //@line 1123 "../src/h264bsd_macroblock_layer.c"
 var $208=$4; //@line 1123 "../src/h264bsd_macroblock_layer.c"
 var $209=$9; //@line 1123 "../src/h264bsd_macroblock_layer.c"
 var $210=_h264bsdInterPrediction($204,$205,$206,$207,$208,$209); //@line 1123 "../src/h264bsd_macroblock_layer.c"
 $tmp=$210; //@line 1123 "../src/h264bsd_macroblock_layer.c"
 var $211=$tmp; //@line 1125 "../src/h264bsd_macroblock_layer.c"
 var $212=($211|0)!=0; //@line 1125 "../src/h264bsd_macroblock_layer.c"
 if($212){label=42;break;}else{label=43;break;} //@line 1125 "../src/h264bsd_macroblock_layer.c"
 case 42: 
 var $214=$tmp; //@line 1125 "../src/h264bsd_macroblock_layer.c"
 $1=$214; //@line 1125 "../src/h264bsd_macroblock_layer.c"
 label=46;break; //@line 1125 "../src/h264bsd_macroblock_layer.c"
 case 43: 
 label=44;break;
 case 44: 
 label=45;break;
 case 45: 
 $1=0; //@line 1130 "../src/h264bsd_macroblock_layer.c"
 label=46;break; //@line 1130 "../src/h264bsd_macroblock_layer.c"
 case 46: 
 var $219=$1; //@line 1131 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $219; //@line 1131 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _ProcessResidual($pMb,$residualLevel,$coeffMap){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $chromaQp;
 var $blockData;
 var $blockDc;
 var $totalCoeff;
 var $chromaDc;
 var $dcCoeffIdx;
 $2=$pMb;
 $3=$residualLevel;
 $4=$coeffMap;
 var $5=$2; //@line 1355 "../src/h264bsd_macroblock_layer.c"
 var $6=($5|0)!=0; //@line 1355 "../src/h264bsd_macroblock_layer.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 1355 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(5392,11856,1355,15088); //@line 1355 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 1355 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 1355 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 1355 "../src/h264bsd_macroblock_layer.c"
 var $12=$3; //@line 1356 "../src/h264bsd_macroblock_layer.c"
 var $13=($12|0)!=0; //@line 1356 "../src/h264bsd_macroblock_layer.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 1356 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 ___assert_fail(11632,11856,1356,15088); //@line 1356 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 1356 "../src/h264bsd_macroblock_layer.c"
 label=5;break; //@line 1356 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 1356 "../src/h264bsd_macroblock_layer.c"
 var $19=$3; //@line 1359 "../src/h264bsd_macroblock_layer.c"
 var $20=(($19+1536)|0); //@line 1359 "../src/h264bsd_macroblock_layer.c"
 $blockDc=$20; //@line 1359 "../src/h264bsd_macroblock_layer.c"
 var $21=$3; //@line 1361 "../src/h264bsd_macroblock_layer.c"
 $blockData=$21; //@line 1361 "../src/h264bsd_macroblock_layer.c"
 var $22=$2; //@line 1362 "../src/h264bsd_macroblock_layer.c"
 var $23=(($22+28)|0); //@line 1362 "../src/h264bsd_macroblock_layer.c"
 var $24=(($23)|0); //@line 1362 "../src/h264bsd_macroblock_layer.c"
 $totalCoeff=$24; //@line 1362 "../src/h264bsd_macroblock_layer.c"
 var $25=$2; //@line 1363 "../src/h264bsd_macroblock_layer.c"
 var $26=(($25)|0); //@line 1363 "../src/h264bsd_macroblock_layer.c"
 var $27=HEAP32[(($26)>>2)]; //@line 1363 "../src/h264bsd_macroblock_layer.c"
 var $28=_h264bsdMbPartPredMode($27); //@line 1363 "../src/h264bsd_macroblock_layer.c"
 var $29=($28|0)==1; //@line 1363 "../src/h264bsd_macroblock_layer.c"
 if($29){label=6;break;}else{label=19;break;} //@line 1363 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 var $31=$totalCoeff; //@line 1365 "../src/h264bsd_macroblock_layer.c"
 var $32=(($31+48)|0); //@line 1365 "../src/h264bsd_macroblock_layer.c"
 var $33=HEAP16[(($32)>>1)]; //@line 1365 "../src/h264bsd_macroblock_layer.c"
 var $34=(($33<<16)>>16)!=0; //@line 1365 "../src/h264bsd_macroblock_layer.c"
 if($34){label=7;break;}else{label=8;break;} //@line 1365 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $36=$blockDc; //@line 1367 "../src/h264bsd_macroblock_layer.c"
 var $37=(($36)|0); //@line 1367 "../src/h264bsd_macroblock_layer.c"
 var $38=$2; //@line 1367 "../src/h264bsd_macroblock_layer.c"
 var $39=(($38+20)|0); //@line 1367 "../src/h264bsd_macroblock_layer.c"
 var $40=HEAP32[(($39)>>2)]; //@line 1367 "../src/h264bsd_macroblock_layer.c"
 _h264bsdProcessLumaDc($37,$40); //@line 1367 "../src/h264bsd_macroblock_layer.c"
 label=8;break; //@line 1368 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 $dcCoeffIdx=2768; //@line 1369 "../src/h264bsd_macroblock_layer.c"
 $i=16; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 label=9;break; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 var $43=$i; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 var $44=((($43)-(1))|0); //@line 1371 "../src/h264bsd_macroblock_layer.c"
 $i=$44; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 var $45=($43|0)!=0; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 if($45){label=10;break;}else{label=18;break;} //@line 1371 "../src/h264bsd_macroblock_layer.c"
 case 10: 
 var $47=$dcCoeffIdx; //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $48=(($47+4)|0); //@line 1374 "../src/h264bsd_macroblock_layer.c"
 $dcCoeffIdx=$48; //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $49=HEAP32[(($47)>>2)]; //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $50=$blockDc; //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $51=(($50+($49<<2))|0); //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $52=HEAP32[(($51)>>2)]; //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $53=$blockData; //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $54=(($53)|0); //@line 1374 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($54)>>2)]=$52; //@line 1374 "../src/h264bsd_macroblock_layer.c"
 var $55=$blockData; //@line 1375 "../src/h264bsd_macroblock_layer.c"
 var $56=(($55)|0); //@line 1375 "../src/h264bsd_macroblock_layer.c"
 var $57=HEAP32[(($56)>>2)]; //@line 1375 "../src/h264bsd_macroblock_layer.c"
 var $58=($57|0)!=0; //@line 1375 "../src/h264bsd_macroblock_layer.c"
 if($58){label=12;break;}else{label=11;break;} //@line 1375 "../src/h264bsd_macroblock_layer.c"
 case 11: 
 var $60=$totalCoeff; //@line 1375 "../src/h264bsd_macroblock_layer.c"
 var $61=HEAP16[(($60)>>1)]; //@line 1375 "../src/h264bsd_macroblock_layer.c"
 var $62=(($61<<16)>>16); //@line 1375 "../src/h264bsd_macroblock_layer.c"
 var $63=($62|0)!=0; //@line 1375 "../src/h264bsd_macroblock_layer.c"
 if($63){label=12;break;}else{label=15;break;} //@line 1375 "../src/h264bsd_macroblock_layer.c"
 case 12: 
 var $65=$blockData; //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $66=(($65)|0); //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $67=$2; //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $68=(($67+20)|0); //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $69=HEAP32[(($68)>>2)]; //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $70=$4; //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $71=HEAP32[(($70)>>2)]; //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $72=_h264bsdProcessBlock($66,$69,1,$71); //@line 1377 "../src/h264bsd_macroblock_layer.c"
 var $73=($72|0)!=0; //@line 1377 "../src/h264bsd_macroblock_layer.c"
 if($73){label=13;break;}else{label=14;break;} //@line 1377 "../src/h264bsd_macroblock_layer.c"
 case 13: 
 $1=1; //@line 1379 "../src/h264bsd_macroblock_layer.c"
 label=49;break; //@line 1379 "../src/h264bsd_macroblock_layer.c"
 case 14: 
 label=16;break; //@line 1380 "../src/h264bsd_macroblock_layer.c"
 case 15: 
 var $77=$blockData; //@line 1382 "../src/h264bsd_macroblock_layer.c"
 var $78=(($77)|0); //@line 1382 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($78)>>2)]=16777215; //@line 1382 "../src/h264bsd_macroblock_layer.c"
 label=16;break;
 case 16: 
 label=17;break; //@line 1383 "../src/h264bsd_macroblock_layer.c"
 case 17: 
 var $81=$blockData; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 var $82=(($81+64)|0); //@line 1371 "../src/h264bsd_macroblock_layer.c"
 $blockData=$82; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 var $83=$totalCoeff; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 var $84=(($83+2)|0); //@line 1371 "../src/h264bsd_macroblock_layer.c"
 $totalCoeff=$84; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 var $85=$4; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 var $86=(($85+4)|0); //@line 1371 "../src/h264bsd_macroblock_layer.c"
 $4=$86; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 label=9;break; //@line 1371 "../src/h264bsd_macroblock_layer.c"
 case 18: 
 label=29;break; //@line 1384 "../src/h264bsd_macroblock_layer.c"
 case 19: 
 $i=16; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 label=20;break; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 case 20: 
 var $90=$i; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 var $91=((($90)-(1))|0); //@line 1387 "../src/h264bsd_macroblock_layer.c"
 $i=$91; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 var $92=($90|0)!=0; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 if($92){label=21;break;}else{label=28;break;} //@line 1387 "../src/h264bsd_macroblock_layer.c"
 case 21: 
 var $94=$totalCoeff; //@line 1389 "../src/h264bsd_macroblock_layer.c"
 var $95=HEAP16[(($94)>>1)]; //@line 1389 "../src/h264bsd_macroblock_layer.c"
 var $96=(($95<<16)>>16)!=0; //@line 1389 "../src/h264bsd_macroblock_layer.c"
 if($96){label=22;break;}else{label=25;break;} //@line 1389 "../src/h264bsd_macroblock_layer.c"
 case 22: 
 var $98=$blockData; //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $99=(($98)|0); //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $100=$2; //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $101=(($100+20)|0); //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $102=HEAP32[(($101)>>2)]; //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $103=$4; //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $104=HEAP32[(($103)>>2)]; //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $105=_h264bsdProcessBlock($99,$102,0,$104); //@line 1391 "../src/h264bsd_macroblock_layer.c"
 var $106=($105|0)!=0; //@line 1391 "../src/h264bsd_macroblock_layer.c"
 if($106){label=23;break;}else{label=24;break;} //@line 1391 "../src/h264bsd_macroblock_layer.c"
 case 23: 
 $1=1; //@line 1393 "../src/h264bsd_macroblock_layer.c"
 label=49;break; //@line 1393 "../src/h264bsd_macroblock_layer.c"
 case 24: 
 label=26;break; //@line 1394 "../src/h264bsd_macroblock_layer.c"
 case 25: 
 var $110=$blockData; //@line 1396 "../src/h264bsd_macroblock_layer.c"
 var $111=(($110)|0); //@line 1396 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($111)>>2)]=16777215; //@line 1396 "../src/h264bsd_macroblock_layer.c"
 label=26;break;
 case 26: 
 label=27;break; //@line 1397 "../src/h264bsd_macroblock_layer.c"
 case 27: 
 var $114=$blockData; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 var $115=(($114+64)|0); //@line 1387 "../src/h264bsd_macroblock_layer.c"
 $blockData=$115; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 var $116=$totalCoeff; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 var $117=(($116+2)|0); //@line 1387 "../src/h264bsd_macroblock_layer.c"
 $totalCoeff=$117; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 var $118=$4; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 var $119=(($118+4)|0); //@line 1387 "../src/h264bsd_macroblock_layer.c"
 $4=$119; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 label=20;break; //@line 1387 "../src/h264bsd_macroblock_layer.c"
 case 28: 
 label=29;break;
 case 29: 
 var $122=$2; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $123=(($122+20)|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $124=HEAP32[(($123)>>2)]; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $125=$2; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $126=(($125+24)|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $127=HEAP32[(($126)>>2)]; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $128=((($124)+($127))|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $129=($128|0)<0; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 if($129){label=30;break;}else{label=31;break;} //@line 1401 "../src/h264bsd_macroblock_layer.c"
 case 30: 
 var $152=0;label=35;break; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 case 31: 
 var $132=$2; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $133=(($132+20)|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $134=HEAP32[(($133)>>2)]; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $135=$2; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $136=(($135+24)|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $137=HEAP32[(($136)>>2)]; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $138=((($134)+($137))|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $139=($138|0)>51; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 if($139){label=32;break;}else{label=33;break;} //@line 1401 "../src/h264bsd_macroblock_layer.c"
 case 32: 
 var $150=51;label=34;break; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 case 33: 
 var $142=$2; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $143=(($142+20)|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $144=HEAP32[(($143)>>2)]; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $145=$2; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $146=(($145+24)|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $147=HEAP32[(($146)>>2)]; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $148=((($144)+($147))|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $150=$148;label=34;break; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 case 34: 
 var $150; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $152=$150;label=35;break; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 case 35: 
 var $152; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $153=((1152+($152<<2))|0); //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $154=HEAP32[(($153)>>2)]; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 $chromaQp=$154; //@line 1401 "../src/h264bsd_macroblock_layer.c"
 var $155=$2; //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $156=(($155+28)|0); //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $157=(($156+50)|0); //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $158=HEAP16[(($157)>>1)]; //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $159=(($158<<16)>>16); //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $160=($159|0)!=0; //@line 1403 "../src/h264bsd_macroblock_layer.c"
 if($160){label=37;break;}else{label=36;break;} //@line 1403 "../src/h264bsd_macroblock_layer.c"
 case 36: 
 var $162=$2; //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $163=(($162+28)|0); //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $164=(($163+52)|0); //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $165=HEAP16[(($164)>>1)]; //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $166=(($165<<16)>>16); //@line 1403 "../src/h264bsd_macroblock_layer.c"
 var $167=($166|0)!=0; //@line 1403 "../src/h264bsd_macroblock_layer.c"
 if($167){label=37;break;}else{label=38;break;} //@line 1403 "../src/h264bsd_macroblock_layer.c"
 case 37: 
 var $169=$3; //@line 1404 "../src/h264bsd_macroblock_layer.c"
 var $170=(($169+1600)|0); //@line 1404 "../src/h264bsd_macroblock_layer.c"
 var $171=(($170)|0); //@line 1404 "../src/h264bsd_macroblock_layer.c"
 var $172=$chromaQp; //@line 1404 "../src/h264bsd_macroblock_layer.c"
 _h264bsdProcessChromaDc($171,$172); //@line 1404 "../src/h264bsd_macroblock_layer.c"
 label=38;break; //@line 1404 "../src/h264bsd_macroblock_layer.c"
 case 38: 
 var $174=$3; //@line 1405 "../src/h264bsd_macroblock_layer.c"
 var $175=(($174+1600)|0); //@line 1405 "../src/h264bsd_macroblock_layer.c"
 var $176=(($175)|0); //@line 1405 "../src/h264bsd_macroblock_layer.c"
 $chromaDc=$176; //@line 1405 "../src/h264bsd_macroblock_layer.c"
 $i=8; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 label=39;break; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 case 39: 
 var $178=$i; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 var $179=((($178)-(1))|0); //@line 1406 "../src/h264bsd_macroblock_layer.c"
 $i=$179; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 var $180=($178|0)!=0; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 if($180){label=40;break;}else{label=48;break;} //@line 1406 "../src/h264bsd_macroblock_layer.c"
 case 40: 
 var $182=$chromaDc; //@line 1409 "../src/h264bsd_macroblock_layer.c"
 var $183=(($182+4)|0); //@line 1409 "../src/h264bsd_macroblock_layer.c"
 $chromaDc=$183; //@line 1409 "../src/h264bsd_macroblock_layer.c"
 var $184=HEAP32[(($182)>>2)]; //@line 1409 "../src/h264bsd_macroblock_layer.c"
 var $185=$blockData; //@line 1409 "../src/h264bsd_macroblock_layer.c"
 var $186=(($185)|0); //@line 1409 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($186)>>2)]=$184; //@line 1409 "../src/h264bsd_macroblock_layer.c"
 var $187=$blockData; //@line 1410 "../src/h264bsd_macroblock_layer.c"
 var $188=(($187)|0); //@line 1410 "../src/h264bsd_macroblock_layer.c"
 var $189=HEAP32[(($188)>>2)]; //@line 1410 "../src/h264bsd_macroblock_layer.c"
 var $190=($189|0)!=0; //@line 1410 "../src/h264bsd_macroblock_layer.c"
 if($190){label=42;break;}else{label=41;break;} //@line 1410 "../src/h264bsd_macroblock_layer.c"
 case 41: 
 var $192=$totalCoeff; //@line 1410 "../src/h264bsd_macroblock_layer.c"
 var $193=HEAP16[(($192)>>1)]; //@line 1410 "../src/h264bsd_macroblock_layer.c"
 var $194=(($193<<16)>>16); //@line 1410 "../src/h264bsd_macroblock_layer.c"
 var $195=($194|0)!=0; //@line 1410 "../src/h264bsd_macroblock_layer.c"
 if($195){label=42;break;}else{label=45;break;} //@line 1410 "../src/h264bsd_macroblock_layer.c"
 case 42: 
 var $197=$blockData; //@line 1412 "../src/h264bsd_macroblock_layer.c"
 var $198=(($197)|0); //@line 1412 "../src/h264bsd_macroblock_layer.c"
 var $199=$chromaQp; //@line 1412 "../src/h264bsd_macroblock_layer.c"
 var $200=$4; //@line 1412 "../src/h264bsd_macroblock_layer.c"
 var $201=HEAP32[(($200)>>2)]; //@line 1412 "../src/h264bsd_macroblock_layer.c"
 var $202=_h264bsdProcessBlock($198,$199,1,$201); //@line 1412 "../src/h264bsd_macroblock_layer.c"
 var $203=($202|0)!=0; //@line 1412 "../src/h264bsd_macroblock_layer.c"
 if($203){label=43;break;}else{label=44;break;} //@line 1412 "../src/h264bsd_macroblock_layer.c"
 case 43: 
 $1=1; //@line 1414 "../src/h264bsd_macroblock_layer.c"
 label=49;break; //@line 1414 "../src/h264bsd_macroblock_layer.c"
 case 44: 
 label=46;break; //@line 1415 "../src/h264bsd_macroblock_layer.c"
 case 45: 
 var $207=$blockData; //@line 1417 "../src/h264bsd_macroblock_layer.c"
 var $208=(($207)|0); //@line 1417 "../src/h264bsd_macroblock_layer.c"
 HEAP32[(($208)>>2)]=16777215; //@line 1417 "../src/h264bsd_macroblock_layer.c"
 label=46;break;
 case 46: 
 label=47;break; //@line 1418 "../src/h264bsd_macroblock_layer.c"
 case 47: 
 var $211=$blockData; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 var $212=(($211+64)|0); //@line 1406 "../src/h264bsd_macroblock_layer.c"
 $blockData=$212; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 var $213=$totalCoeff; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 var $214=(($213+2)|0); //@line 1406 "../src/h264bsd_macroblock_layer.c"
 $totalCoeff=$214; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 var $215=$4; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 var $216=(($215+4)|0); //@line 1406 "../src/h264bsd_macroblock_layer.c"
 $4=$216; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 label=39;break; //@line 1406 "../src/h264bsd_macroblock_layer.c"
 case 48: 
 $1=0; //@line 1420 "../src/h264bsd_macroblock_layer.c"
 label=49;break; //@line 1420 "../src/h264bsd_macroblock_layer.c"
 case 49: 
 var $219=$1; //@line 1421 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $219; //@line 1421 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdSubMbPartMode($subMbType){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$subMbType;
 var $2=$1; //@line 1441 "../src/h264bsd_macroblock_layer.c"
 var $3=($2>>>0)<4; //@line 1441 "../src/h264bsd_macroblock_layer.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 1441 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(12128,11856,1441,12640); //@line 1441 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 1441 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 1441 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 1441 "../src/h264bsd_macroblock_layer.c"
 var $9=$1; //@line 1443 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $9; //@line 1443 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DetermineNc($pMb,$blockIndex,$pTotalCoeff){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 var $n;
 var $neighbourA;
 var $neighbourB;
 var $neighbourAindex;
 var $neighbourBindex;
 $1=$pMb;
 $2=$blockIndex;
 $3=$pTotalCoeff;
 var $4=$2; //@line 823 "../src/h264bsd_macroblock_layer.c"
 var $5=($4>>>0)<24; //@line 823 "../src/h264bsd_macroblock_layer.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 823 "../src/h264bsd_macroblock_layer.c"
 case 2: 
 ___assert_fail(10768,11856,823,16136); //@line 823 "../src/h264bsd_macroblock_layer.c"
 throw "Reached an unreachable!"; //@line 823 "../src/h264bsd_macroblock_layer.c"
 label=3;break; //@line 823 "../src/h264bsd_macroblock_layer.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 823 "../src/h264bsd_macroblock_layer.c"
 var $11=$2; //@line 827 "../src/h264bsd_macroblock_layer.c"
 var $12=_h264bsdNeighbour4x4BlockA($11); //@line 827 "../src/h264bsd_macroblock_layer.c"
 $neighbourA=$12; //@line 827 "../src/h264bsd_macroblock_layer.c"
 var $13=$2; //@line 828 "../src/h264bsd_macroblock_layer.c"
 var $14=_h264bsdNeighbour4x4BlockB($13); //@line 828 "../src/h264bsd_macroblock_layer.c"
 $neighbourB=$14; //@line 828 "../src/h264bsd_macroblock_layer.c"
 var $15=$neighbourA; //@line 829 "../src/h264bsd_macroblock_layer.c"
 var $16=(($15+4)|0); //@line 829 "../src/h264bsd_macroblock_layer.c"
 var $17=HEAP8[($16)]; //@line 829 "../src/h264bsd_macroblock_layer.c"
 $neighbourAindex=$17; //@line 829 "../src/h264bsd_macroblock_layer.c"
 var $18=$neighbourB; //@line 830 "../src/h264bsd_macroblock_layer.c"
 var $19=(($18+4)|0); //@line 830 "../src/h264bsd_macroblock_layer.c"
 var $20=HEAP8[($19)]; //@line 830 "../src/h264bsd_macroblock_layer.c"
 $neighbourBindex=$20; //@line 830 "../src/h264bsd_macroblock_layer.c"
 var $21=$neighbourA; //@line 831 "../src/h264bsd_macroblock_layer.c"
 var $22=(($21)|0); //@line 831 "../src/h264bsd_macroblock_layer.c"
 var $23=HEAP32[(($22)>>2)]; //@line 831 "../src/h264bsd_macroblock_layer.c"
 var $24=($23|0)==4; //@line 831 "../src/h264bsd_macroblock_layer.c"
 if($24){label=4;break;}else{label=6;break;} //@line 831 "../src/h264bsd_macroblock_layer.c"
 case 4: 
 var $26=$neighbourB; //@line 831 "../src/h264bsd_macroblock_layer.c"
 var $27=(($26)|0); //@line 831 "../src/h264bsd_macroblock_layer.c"
 var $28=HEAP32[(($27)>>2)]; //@line 831 "../src/h264bsd_macroblock_layer.c"
 var $29=($28|0)==4; //@line 831 "../src/h264bsd_macroblock_layer.c"
 if($29){label=5;break;}else{label=6;break;} //@line 831 "../src/h264bsd_macroblock_layer.c"
 case 5: 
 var $31=$neighbourAindex; //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $32=($31&255); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $33=$3; //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $34=(($33+($32<<1))|0); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $35=HEAP16[(($34)>>1)]; //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $36=(($35<<16)>>16); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $37=$neighbourBindex; //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $38=($37&255); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $39=$3; //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $40=(($39+($38<<1))|0); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $41=HEAP16[(($40)>>1)]; //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $42=(($41<<16)>>16); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $43=((($36)+($42))|0); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $44=((($43)+(1))|0); //@line 833 "../src/h264bsd_macroblock_layer.c"
 var $45=$44>>1; //@line 833 "../src/h264bsd_macroblock_layer.c"
 $n=$45; //@line 833 "../src/h264bsd_macroblock_layer.c"
 label=24;break; //@line 835 "../src/h264bsd_macroblock_layer.c"
 case 6: 
 var $47=$neighbourA; //@line 836 "../src/h264bsd_macroblock_layer.c"
 var $48=(($47)|0); //@line 836 "../src/h264bsd_macroblock_layer.c"
 var $49=HEAP32[(($48)>>2)]; //@line 836 "../src/h264bsd_macroblock_layer.c"
 var $50=($49|0)==4; //@line 836 "../src/h264bsd_macroblock_layer.c"
 if($50){label=7;break;}else{label=10;break;} //@line 836 "../src/h264bsd_macroblock_layer.c"
 case 7: 
 var $52=$neighbourAindex; //@line 838 "../src/h264bsd_macroblock_layer.c"
 var $53=($52&255); //@line 838 "../src/h264bsd_macroblock_layer.c"
 var $54=$3; //@line 838 "../src/h264bsd_macroblock_layer.c"
 var $55=(($54+($53<<1))|0); //@line 838 "../src/h264bsd_macroblock_layer.c"
 var $56=HEAP16[(($55)>>1)]; //@line 838 "../src/h264bsd_macroblock_layer.c"
 var $57=(($56<<16)>>16); //@line 838 "../src/h264bsd_macroblock_layer.c"
 $n=$57; //@line 838 "../src/h264bsd_macroblock_layer.c"
 var $58=$1; //@line 839 "../src/h264bsd_macroblock_layer.c"
 var $59=$1; //@line 839 "../src/h264bsd_macroblock_layer.c"
 var $60=(($59+204)|0); //@line 839 "../src/h264bsd_macroblock_layer.c"
 var $61=HEAP32[(($60)>>2)]; //@line 839 "../src/h264bsd_macroblock_layer.c"
 var $62=_h264bsdIsNeighbourAvailable($58,$61); //@line 839 "../src/h264bsd_macroblock_layer.c"
 var $63=($62|0)!=0; //@line 839 "../src/h264bsd_macroblock_layer.c"
 if($63){label=8;break;}else{label=9;break;} //@line 839 "../src/h264bsd_macroblock_layer.c"
 case 8: 
 var $65=$n; //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $66=$neighbourBindex; //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $67=($66&255); //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $68=$1; //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $69=(($68+204)|0); //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $70=HEAP32[(($69)>>2)]; //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $71=(($70+28)|0); //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $72=(($71+($67<<1))|0); //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $73=HEAP16[(($72)>>1)]; //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $74=(($73<<16)>>16); //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $75=((($65)+($74))|0); //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $76=((($75)+(1))|0); //@line 841 "../src/h264bsd_macroblock_layer.c"
 var $77=$76>>1; //@line 841 "../src/h264bsd_macroblock_layer.c"
 $n=$77; //@line 841 "../src/h264bsd_macroblock_layer.c"
 label=9;break; //@line 842 "../src/h264bsd_macroblock_layer.c"
 case 9: 
 label=23;break; //@line 843 "../src/h264bsd_macroblock_layer.c"
 case 10: 
 var $80=$neighbourB; //@line 844 "../src/h264bsd_macroblock_layer.c"
 var $81=(($80)|0); //@line 844 "../src/h264bsd_macroblock_layer.c"
 var $82=HEAP32[(($81)>>2)]; //@line 844 "../src/h264bsd_macroblock_layer.c"
 var $83=($82|0)==4; //@line 844 "../src/h264bsd_macroblock_layer.c"
 if($83){label=11;break;}else{label=14;break;} //@line 844 "../src/h264bsd_macroblock_layer.c"
 case 11: 
 var $85=$neighbourBindex; //@line 846 "../src/h264bsd_macroblock_layer.c"
 var $86=($85&255); //@line 846 "../src/h264bsd_macroblock_layer.c"
 var $87=$3; //@line 846 "../src/h264bsd_macroblock_layer.c"
 var $88=(($87+($86<<1))|0); //@line 846 "../src/h264bsd_macroblock_layer.c"
 var $89=HEAP16[(($88)>>1)]; //@line 846 "../src/h264bsd_macroblock_layer.c"
 var $90=(($89<<16)>>16); //@line 846 "../src/h264bsd_macroblock_layer.c"
 $n=$90; //@line 846 "../src/h264bsd_macroblock_layer.c"
 var $91=$1; //@line 847 "../src/h264bsd_macroblock_layer.c"
 var $92=$1; //@line 847 "../src/h264bsd_macroblock_layer.c"
 var $93=(($92+200)|0); //@line 847 "../src/h264bsd_macroblock_layer.c"
 var $94=HEAP32[(($93)>>2)]; //@line 847 "../src/h264bsd_macroblock_layer.c"
 var $95=_h264bsdIsNeighbourAvailable($91,$94); //@line 847 "../src/h264bsd_macroblock_layer.c"
 var $96=($95|0)!=0; //@line 847 "../src/h264bsd_macroblock_layer.c"
 if($96){label=12;break;}else{label=13;break;} //@line 847 "../src/h264bsd_macroblock_layer.c"
 case 12: 
 var $98=$n; //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $99=$neighbourAindex; //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $100=($99&255); //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $101=$1; //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $102=(($101+200)|0); //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $103=HEAP32[(($102)>>2)]; //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $104=(($103+28)|0); //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $105=(($104+($100<<1))|0); //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $106=HEAP16[(($105)>>1)]; //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $107=(($106<<16)>>16); //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $108=((($98)+($107))|0); //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $109=((($108)+(1))|0); //@line 849 "../src/h264bsd_macroblock_layer.c"
 var $110=$109>>1; //@line 849 "../src/h264bsd_macroblock_layer.c"
 $n=$110; //@line 849 "../src/h264bsd_macroblock_layer.c"
 label=13;break; //@line 850 "../src/h264bsd_macroblock_layer.c"
 case 13: 
 label=22;break; //@line 851 "../src/h264bsd_macroblock_layer.c"
 case 14: 
 $tmp=0; //@line 854 "../src/h264bsd_macroblock_layer.c"
 $n=0; //@line 854 "../src/h264bsd_macroblock_layer.c"
 var $113=$1; //@line 855 "../src/h264bsd_macroblock_layer.c"
 var $114=$1; //@line 855 "../src/h264bsd_macroblock_layer.c"
 var $115=(($114+200)|0); //@line 855 "../src/h264bsd_macroblock_layer.c"
 var $116=HEAP32[(($115)>>2)]; //@line 855 "../src/h264bsd_macroblock_layer.c"
 var $117=_h264bsdIsNeighbourAvailable($113,$116); //@line 855 "../src/h264bsd_macroblock_layer.c"
 var $118=($117|0)!=0; //@line 855 "../src/h264bsd_macroblock_layer.c"
 if($118){label=15;break;}else{label=16;break;} //@line 855 "../src/h264bsd_macroblock_layer.c"
 case 15: 
 var $120=$neighbourAindex; //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $121=($120&255); //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $122=$1; //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $123=(($122+200)|0); //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $124=HEAP32[(($123)>>2)]; //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $125=(($124+28)|0); //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $126=(($125+($121<<1))|0); //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $127=HEAP16[(($126)>>1)]; //@line 857 "../src/h264bsd_macroblock_layer.c"
 var $128=(($127<<16)>>16); //@line 857 "../src/h264bsd_macroblock_layer.c"
 $n=$128; //@line 857 "../src/h264bsd_macroblock_layer.c"
 $tmp=1; //@line 858 "../src/h264bsd_macroblock_layer.c"
 label=16;break; //@line 859 "../src/h264bsd_macroblock_layer.c"
 case 16: 
 var $130=$1; //@line 860 "../src/h264bsd_macroblock_layer.c"
 var $131=$1; //@line 860 "../src/h264bsd_macroblock_layer.c"
 var $132=(($131+204)|0); //@line 860 "../src/h264bsd_macroblock_layer.c"
 var $133=HEAP32[(($132)>>2)]; //@line 860 "../src/h264bsd_macroblock_layer.c"
 var $134=_h264bsdIsNeighbourAvailable($130,$133); //@line 860 "../src/h264bsd_macroblock_layer.c"
 var $135=($134|0)!=0; //@line 860 "../src/h264bsd_macroblock_layer.c"
 if($135){label=17;break;}else{label=21;break;} //@line 860 "../src/h264bsd_macroblock_layer.c"
 case 17: 
 var $137=$tmp; //@line 862 "../src/h264bsd_macroblock_layer.c"
 var $138=($137|0)!=0; //@line 862 "../src/h264bsd_macroblock_layer.c"
 if($138){label=18;break;}else{label=19;break;} //@line 862 "../src/h264bsd_macroblock_layer.c"
 case 18: 
 var $140=$n; //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $141=$neighbourBindex; //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $142=($141&255); //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $143=$1; //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $144=(($143+204)|0); //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $145=HEAP32[(($144)>>2)]; //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $146=(($145+28)|0); //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $147=(($146+($142<<1))|0); //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $148=HEAP16[(($147)>>1)]; //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $149=(($148<<16)>>16); //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $150=((($140)+($149))|0); //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $151=((($150)+(1))|0); //@line 863 "../src/h264bsd_macroblock_layer.c"
 var $152=$151>>1; //@line 863 "../src/h264bsd_macroblock_layer.c"
 $n=$152; //@line 863 "../src/h264bsd_macroblock_layer.c"
 label=20;break; //@line 863 "../src/h264bsd_macroblock_layer.c"
 case 19: 
 var $154=$neighbourBindex; //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $155=($154&255); //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $156=$1; //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $157=(($156+204)|0); //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $158=HEAP32[(($157)>>2)]; //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $159=(($158+28)|0); //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $160=(($159+($155<<1))|0); //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $161=HEAP16[(($160)>>1)]; //@line 865 "../src/h264bsd_macroblock_layer.c"
 var $162=(($161<<16)>>16); //@line 865 "../src/h264bsd_macroblock_layer.c"
 $n=$162; //@line 865 "../src/h264bsd_macroblock_layer.c"
 label=20;break;
 case 20: 
 label=21;break; //@line 866 "../src/h264bsd_macroblock_layer.c"
 case 21: 
 label=22;break;
 case 22: 
 label=23;break;
 case 23: 
 label=24;break;
 case 24: 
 var $168=$n; //@line 868 "../src/h264bsd_macroblock_layer.c"
 STACKTOP=sp;return $168; //@line 868 "../src/h264bsd_macroblock_layer.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeNalUnit($pStrmData,$pNalUnit){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 $2=$pStrmData;
 $3=$pNalUnit;
 var $4=$2; //@line 78 "../src/h264bsd_nal_unit.c"
 var $5=($4|0)!=0; //@line 78 "../src/h264bsd_nal_unit.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 78 "../src/h264bsd_nal_unit.c"
 case 2: 
 ___assert_fail(9920,11800,78,14320); //@line 78 "../src/h264bsd_nal_unit.c"
 throw "Reached an unreachable!"; //@line 78 "../src/h264bsd_nal_unit.c"
 label=3;break; //@line 78 "../src/h264bsd_nal_unit.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 78 "../src/h264bsd_nal_unit.c"
 var $11=$3; //@line 79 "../src/h264bsd_nal_unit.c"
 var $12=($11|0)!=0; //@line 79 "../src/h264bsd_nal_unit.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 79 "../src/h264bsd_nal_unit.c"
 case 4: 
 ___assert_fail(9152,11800,79,14320); //@line 79 "../src/h264bsd_nal_unit.c"
 throw "Reached an unreachable!"; //@line 79 "../src/h264bsd_nal_unit.c"
 label=5;break; //@line 79 "../src/h264bsd_nal_unit.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 79 "../src/h264bsd_nal_unit.c"
 var $18=$2; //@line 80 "../src/h264bsd_nal_unit.c"
 var $19=(($18+8)|0); //@line 80 "../src/h264bsd_nal_unit.c"
 var $20=HEAP32[(($19)>>2)]; //@line 80 "../src/h264bsd_nal_unit.c"
 var $21=($20|0)==0; //@line 80 "../src/h264bsd_nal_unit.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 80 "../src/h264bsd_nal_unit.c"
 case 6: 
 ___assert_fail(8080,11800,80,14320); //@line 80 "../src/h264bsd_nal_unit.c"
 throw "Reached an unreachable!"; //@line 80 "../src/h264bsd_nal_unit.c"
 label=7;break; //@line 80 "../src/h264bsd_nal_unit.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 80 "../src/h264bsd_nal_unit.c"
 var $27=$2; //@line 83 "../src/h264bsd_nal_unit.c"
 var $28=_h264bsdGetBits($27,1); //@line 83 "../src/h264bsd_nal_unit.c"
 $tmp=$28; //@line 83 "../src/h264bsd_nal_unit.c"
 var $29=$tmp; //@line 86 "../src/h264bsd_nal_unit.c"
 var $30=($29|0)==-1; //@line 86 "../src/h264bsd_nal_unit.c"
 if($30){label=8;break;}else{label=9;break;} //@line 86 "../src/h264bsd_nal_unit.c"
 case 8: 
 $1=1; //@line 87 "../src/h264bsd_nal_unit.c"
 label=27;break; //@line 87 "../src/h264bsd_nal_unit.c"
 case 9: 
 var $33=$2; //@line 89 "../src/h264bsd_nal_unit.c"
 var $34=_h264bsdGetBits($33,2); //@line 89 "../src/h264bsd_nal_unit.c"
 $tmp=$34; //@line 89 "../src/h264bsd_nal_unit.c"
 var $35=$tmp; //@line 90 "../src/h264bsd_nal_unit.c"
 var $36=$3; //@line 90 "../src/h264bsd_nal_unit.c"
 var $37=(($36+4)|0); //@line 90 "../src/h264bsd_nal_unit.c"
 HEAP32[(($37)>>2)]=$35; //@line 90 "../src/h264bsd_nal_unit.c"
 var $38=$2; //@line 92 "../src/h264bsd_nal_unit.c"
 var $39=_h264bsdGetBits($38,5); //@line 92 "../src/h264bsd_nal_unit.c"
 $tmp=$39; //@line 92 "../src/h264bsd_nal_unit.c"
 var $40=$tmp; //@line 93 "../src/h264bsd_nal_unit.c"
 var $41=$3; //@line 93 "../src/h264bsd_nal_unit.c"
 var $42=(($41)|0); //@line 93 "../src/h264bsd_nal_unit.c"
 HEAP32[(($42)>>2)]=$40; //@line 93 "../src/h264bsd_nal_unit.c"
 var $43=$tmp; //@line 96 "../src/h264bsd_nal_unit.c"
 var $44=($43|0)==2; //@line 96 "../src/h264bsd_nal_unit.c"
 if($44){label=12;break;}else{label=10;break;} //@line 96 "../src/h264bsd_nal_unit.c"
 case 10: 
 var $46=$tmp; //@line 96 "../src/h264bsd_nal_unit.c"
 var $47=($46|0)==3; //@line 96 "../src/h264bsd_nal_unit.c"
 if($47){label=12;break;}else{label=11;break;} //@line 96 "../src/h264bsd_nal_unit.c"
 case 11: 
 var $49=$tmp; //@line 96 "../src/h264bsd_nal_unit.c"
 var $50=($49|0)==4; //@line 96 "../src/h264bsd_nal_unit.c"
 if($50){label=12;break;}else{label=13;break;} //@line 96 "../src/h264bsd_nal_unit.c"
 case 12: 
 $1=1; //@line 98 "../src/h264bsd_nal_unit.c"
 label=27;break; //@line 98 "../src/h264bsd_nal_unit.c"
 case 13: 
 var $53=$tmp; //@line 102 "../src/h264bsd_nal_unit.c"
 var $54=($53|0)==7; //@line 102 "../src/h264bsd_nal_unit.c"
 if($54){label=16;break;}else{label=14;break;} //@line 102 "../src/h264bsd_nal_unit.c"
 case 14: 
 var $56=$tmp; //@line 102 "../src/h264bsd_nal_unit.c"
 var $57=($56|0)==8; //@line 102 "../src/h264bsd_nal_unit.c"
 if($57){label=16;break;}else{label=15;break;} //@line 102 "../src/h264bsd_nal_unit.c"
 case 15: 
 var $59=$tmp; //@line 102 "../src/h264bsd_nal_unit.c"
 var $60=($59|0)==5; //@line 102 "../src/h264bsd_nal_unit.c"
 if($60){label=16;break;}else{label=18;break;} //@line 102 "../src/h264bsd_nal_unit.c"
 case 16: 
 var $62=$3; //@line 102 "../src/h264bsd_nal_unit.c"
 var $63=(($62+4)|0); //@line 102 "../src/h264bsd_nal_unit.c"
 var $64=HEAP32[(($63)>>2)]; //@line 102 "../src/h264bsd_nal_unit.c"
 var $65=($64|0)==0; //@line 102 "../src/h264bsd_nal_unit.c"
 if($65){label=17;break;}else{label=18;break;} //@line 102 "../src/h264bsd_nal_unit.c"
 case 17: 
 $1=1; //@line 105 "../src/h264bsd_nal_unit.c"
 label=27;break; //@line 105 "../src/h264bsd_nal_unit.c"
 case 18: 
 var $68=$tmp; //@line 108 "../src/h264bsd_nal_unit.c"
 var $69=($68|0)==6; //@line 108 "../src/h264bsd_nal_unit.c"
 if($69){label=23;break;}else{label=19;break;} //@line 108 "../src/h264bsd_nal_unit.c"
 case 19: 
 var $71=$tmp; //@line 108 "../src/h264bsd_nal_unit.c"
 var $72=($71|0)==9; //@line 108 "../src/h264bsd_nal_unit.c"
 if($72){label=23;break;}else{label=20;break;} //@line 108 "../src/h264bsd_nal_unit.c"
 case 20: 
 var $74=$tmp; //@line 108 "../src/h264bsd_nal_unit.c"
 var $75=($74|0)==10; //@line 108 "../src/h264bsd_nal_unit.c"
 if($75){label=23;break;}else{label=21;break;} //@line 108 "../src/h264bsd_nal_unit.c"
 case 21: 
 var $77=$tmp; //@line 108 "../src/h264bsd_nal_unit.c"
 var $78=($77|0)==11; //@line 108 "../src/h264bsd_nal_unit.c"
 if($78){label=23;break;}else{label=22;break;} //@line 108 "../src/h264bsd_nal_unit.c"
 case 22: 
 var $80=$tmp; //@line 108 "../src/h264bsd_nal_unit.c"
 var $81=($80|0)==12; //@line 108 "../src/h264bsd_nal_unit.c"
 if($81){label=23;break;}else{label=25;break;} //@line 108 "../src/h264bsd_nal_unit.c"
 case 23: 
 var $83=$3; //@line 108 "../src/h264bsd_nal_unit.c"
 var $84=(($83+4)|0); //@line 108 "../src/h264bsd_nal_unit.c"
 var $85=HEAP32[(($84)>>2)]; //@line 108 "../src/h264bsd_nal_unit.c"
 var $86=($85|0)!=0; //@line 108 "../src/h264bsd_nal_unit.c"
 if($86){label=24;break;}else{label=25;break;} //@line 108 "../src/h264bsd_nal_unit.c"
 case 24: 
 $1=1; //@line 112 "../src/h264bsd_nal_unit.c"
 label=27;break; //@line 112 "../src/h264bsd_nal_unit.c"
 case 25: 
 label=26;break;
 case 26: 
 $1=0; //@line 115 "../src/h264bsd_nal_unit.c"
 label=27;break; //@line 115 "../src/h264bsd_nal_unit.c"
 case 27: 
 var $91=$1; //@line 117 "../src/h264bsd_nal_unit.c"
 STACKTOP=sp;return $91; //@line 117 "../src/h264bsd_nal_unit.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInitMbNeighbours($pMbStorage,$picWidth,$picSizeInMbs){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $i;
 var $row;
 var $col;
 $1=$pMbStorage;
 $2=$picWidth;
 $3=$picSizeInMbs;
 var $4=$1; //@line 138 "../src/h264bsd_neighbour.c"
 var $5=($4|0)!=0; //@line 138 "../src/h264bsd_neighbour.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 138 "../src/h264bsd_neighbour.c"
 case 2: 
 ___assert_fail(9736,11768,138,13800); //@line 138 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 138 "../src/h264bsd_neighbour.c"
 label=3;break; //@line 138 "../src/h264bsd_neighbour.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 138 "../src/h264bsd_neighbour.c"
 var $11=$2; //@line 139 "../src/h264bsd_neighbour.c"
 var $12=($11|0)!=0; //@line 139 "../src/h264bsd_neighbour.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 139 "../src/h264bsd_neighbour.c"
 case 4: 
 ___assert_fail(9136,11768,139,13800); //@line 139 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 139 "../src/h264bsd_neighbour.c"
 label=5;break; //@line 139 "../src/h264bsd_neighbour.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 139 "../src/h264bsd_neighbour.c"
 var $18=$2; //@line 140 "../src/h264bsd_neighbour.c"
 var $19=$3; //@line 140 "../src/h264bsd_neighbour.c"
 var $20=($18>>>0)<=($19>>>0); //@line 140 "../src/h264bsd_neighbour.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 140 "../src/h264bsd_neighbour.c"
 case 6: 
 ___assert_fail(8040,11768,140,13800); //@line 140 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 140 "../src/h264bsd_neighbour.c"
 label=7;break; //@line 140 "../src/h264bsd_neighbour.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 140 "../src/h264bsd_neighbour.c"
 var $26=$3; //@line 141 "../src/h264bsd_neighbour.c"
 var $27=$2; //@line 141 "../src/h264bsd_neighbour.c"
 var $28=(((($26>>>0))/(($27>>>0)))&-1); //@line 141 "../src/h264bsd_neighbour.c"
 var $29=$2; //@line 141 "../src/h264bsd_neighbour.c"
 var $30=(Math_imul($28,$29)|0); //@line 141 "../src/h264bsd_neighbour.c"
 var $31=$3; //@line 141 "../src/h264bsd_neighbour.c"
 var $32=($30|0)==($31|0); //@line 141 "../src/h264bsd_neighbour.c"
 if($32){var $36=1;label=9;break;}else{label=8;break;} //@line 141 "../src/h264bsd_neighbour.c"
 case 8: 
 ___assert_fail(7136,11768,141,13800); //@line 141 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 141 "../src/h264bsd_neighbour.c"
 label=9;break; //@line 141 "../src/h264bsd_neighbour.c"
 case 9: 
 var $36;
 var $37=($36&1); //@line 141 "../src/h264bsd_neighbour.c"
 $col=0; //@line 143 "../src/h264bsd_neighbour.c"
 $row=0; //@line 143 "../src/h264bsd_neighbour.c"
 $i=0; //@line 145 "../src/h264bsd_neighbour.c"
 label=10;break; //@line 145 "../src/h264bsd_neighbour.c"
 case 10: 
 var $39=$i; //@line 145 "../src/h264bsd_neighbour.c"
 var $40=$3; //@line 145 "../src/h264bsd_neighbour.c"
 var $41=($39>>>0)<($40>>>0); //@line 145 "../src/h264bsd_neighbour.c"
 if($41){label=11;break;}else{label=29;break;} //@line 145 "../src/h264bsd_neighbour.c"
 case 11: 
 var $43=$col; //@line 148 "../src/h264bsd_neighbour.c"
 var $44=($43|0)!=0; //@line 148 "../src/h264bsd_neighbour.c"
 if($44){label=12;break;}else{label=13;break;} //@line 148 "../src/h264bsd_neighbour.c"
 case 12: 
 var $46=$1; //@line 149 "../src/h264bsd_neighbour.c"
 var $47=$i; //@line 149 "../src/h264bsd_neighbour.c"
 var $48=(($46+((($47)*(216))&-1))|0); //@line 149 "../src/h264bsd_neighbour.c"
 var $49=((($48)-(216))|0); //@line 149 "../src/h264bsd_neighbour.c"
 var $50=$i; //@line 149 "../src/h264bsd_neighbour.c"
 var $51=$1; //@line 149 "../src/h264bsd_neighbour.c"
 var $52=(($51+((($50)*(216))&-1))|0); //@line 149 "../src/h264bsd_neighbour.c"
 var $53=(($52+200)|0); //@line 149 "../src/h264bsd_neighbour.c"
 HEAP32[(($53)>>2)]=$49; //@line 149 "../src/h264bsd_neighbour.c"
 label=14;break; //@line 149 "../src/h264bsd_neighbour.c"
 case 13: 
 var $55=$i; //@line 151 "../src/h264bsd_neighbour.c"
 var $56=$1; //@line 151 "../src/h264bsd_neighbour.c"
 var $57=(($56+((($55)*(216))&-1))|0); //@line 151 "../src/h264bsd_neighbour.c"
 var $58=(($57+200)|0); //@line 151 "../src/h264bsd_neighbour.c"
 HEAP32[(($58)>>2)]=0; //@line 151 "../src/h264bsd_neighbour.c"
 label=14;break;
 case 14: 
 var $60=$row; //@line 153 "../src/h264bsd_neighbour.c"
 var $61=($60|0)!=0; //@line 153 "../src/h264bsd_neighbour.c"
 if($61){label=15;break;}else{label=16;break;} //@line 153 "../src/h264bsd_neighbour.c"
 case 15: 
 var $63=$1; //@line 154 "../src/h264bsd_neighbour.c"
 var $64=$i; //@line 154 "../src/h264bsd_neighbour.c"
 var $65=(($63+((($64)*(216))&-1))|0); //@line 154 "../src/h264bsd_neighbour.c"
 var $66=$2; //@line 154 "../src/h264bsd_neighbour.c"
 var $67=(((-$66))|0); //@line 154 "../src/h264bsd_neighbour.c"
 var $68=(($65+((($67)*(216))&-1))|0); //@line 154 "../src/h264bsd_neighbour.c"
 var $69=$i; //@line 154 "../src/h264bsd_neighbour.c"
 var $70=$1; //@line 154 "../src/h264bsd_neighbour.c"
 var $71=(($70+((($69)*(216))&-1))|0); //@line 154 "../src/h264bsd_neighbour.c"
 var $72=(($71+204)|0); //@line 154 "../src/h264bsd_neighbour.c"
 HEAP32[(($72)>>2)]=$68; //@line 154 "../src/h264bsd_neighbour.c"
 label=17;break; //@line 154 "../src/h264bsd_neighbour.c"
 case 16: 
 var $74=$i; //@line 156 "../src/h264bsd_neighbour.c"
 var $75=$1; //@line 156 "../src/h264bsd_neighbour.c"
 var $76=(($75+((($74)*(216))&-1))|0); //@line 156 "../src/h264bsd_neighbour.c"
 var $77=(($76+204)|0); //@line 156 "../src/h264bsd_neighbour.c"
 HEAP32[(($77)>>2)]=0; //@line 156 "../src/h264bsd_neighbour.c"
 label=17;break;
 case 17: 
 var $79=$row; //@line 158 "../src/h264bsd_neighbour.c"
 var $80=($79|0)!=0; //@line 158 "../src/h264bsd_neighbour.c"
 if($80){label=18;break;}else{label=20;break;} //@line 158 "../src/h264bsd_neighbour.c"
 case 18: 
 var $82=$col; //@line 158 "../src/h264bsd_neighbour.c"
 var $83=$2; //@line 158 "../src/h264bsd_neighbour.c"
 var $84=((($83)-(1))|0); //@line 158 "../src/h264bsd_neighbour.c"
 var $85=($82>>>0)<($84>>>0); //@line 158 "../src/h264bsd_neighbour.c"
 if($85){label=19;break;}else{label=20;break;} //@line 158 "../src/h264bsd_neighbour.c"
 case 19: 
 var $87=$1; //@line 159 "../src/h264bsd_neighbour.c"
 var $88=$i; //@line 159 "../src/h264bsd_neighbour.c"
 var $89=(($87+((($88)*(216))&-1))|0); //@line 159 "../src/h264bsd_neighbour.c"
 var $90=$2; //@line 159 "../src/h264bsd_neighbour.c"
 var $91=((($90)-(1))|0); //@line 159 "../src/h264bsd_neighbour.c"
 var $92=(((-$91))|0); //@line 159 "../src/h264bsd_neighbour.c"
 var $93=(($89+((($92)*(216))&-1))|0); //@line 159 "../src/h264bsd_neighbour.c"
 var $94=$i; //@line 159 "../src/h264bsd_neighbour.c"
 var $95=$1; //@line 159 "../src/h264bsd_neighbour.c"
 var $96=(($95+((($94)*(216))&-1))|0); //@line 159 "../src/h264bsd_neighbour.c"
 var $97=(($96+208)|0); //@line 159 "../src/h264bsd_neighbour.c"
 HEAP32[(($97)>>2)]=$93; //@line 159 "../src/h264bsd_neighbour.c"
 label=21;break; //@line 159 "../src/h264bsd_neighbour.c"
 case 20: 
 var $99=$i; //@line 161 "../src/h264bsd_neighbour.c"
 var $100=$1; //@line 161 "../src/h264bsd_neighbour.c"
 var $101=(($100+((($99)*(216))&-1))|0); //@line 161 "../src/h264bsd_neighbour.c"
 var $102=(($101+208)|0); //@line 161 "../src/h264bsd_neighbour.c"
 HEAP32[(($102)>>2)]=0; //@line 161 "../src/h264bsd_neighbour.c"
 label=21;break;
 case 21: 
 var $104=$row; //@line 163 "../src/h264bsd_neighbour.c"
 var $105=($104|0)!=0; //@line 163 "../src/h264bsd_neighbour.c"
 if($105){label=22;break;}else{label=24;break;} //@line 163 "../src/h264bsd_neighbour.c"
 case 22: 
 var $107=$col; //@line 163 "../src/h264bsd_neighbour.c"
 var $108=($107|0)!=0; //@line 163 "../src/h264bsd_neighbour.c"
 if($108){label=23;break;}else{label=24;break;} //@line 163 "../src/h264bsd_neighbour.c"
 case 23: 
 var $110=$1; //@line 164 "../src/h264bsd_neighbour.c"
 var $111=$i; //@line 164 "../src/h264bsd_neighbour.c"
 var $112=(($110+((($111)*(216))&-1))|0); //@line 164 "../src/h264bsd_neighbour.c"
 var $113=$2; //@line 164 "../src/h264bsd_neighbour.c"
 var $114=((($113)+(1))|0); //@line 164 "../src/h264bsd_neighbour.c"
 var $115=(((-$114))|0); //@line 164 "../src/h264bsd_neighbour.c"
 var $116=(($112+((($115)*(216))&-1))|0); //@line 164 "../src/h264bsd_neighbour.c"
 var $117=$i; //@line 164 "../src/h264bsd_neighbour.c"
 var $118=$1; //@line 164 "../src/h264bsd_neighbour.c"
 var $119=(($118+((($117)*(216))&-1))|0); //@line 164 "../src/h264bsd_neighbour.c"
 var $120=(($119+212)|0); //@line 164 "../src/h264bsd_neighbour.c"
 HEAP32[(($120)>>2)]=$116; //@line 164 "../src/h264bsd_neighbour.c"
 label=25;break; //@line 164 "../src/h264bsd_neighbour.c"
 case 24: 
 var $122=$i; //@line 166 "../src/h264bsd_neighbour.c"
 var $123=$1; //@line 166 "../src/h264bsd_neighbour.c"
 var $124=(($123+((($122)*(216))&-1))|0); //@line 166 "../src/h264bsd_neighbour.c"
 var $125=(($124+212)|0); //@line 166 "../src/h264bsd_neighbour.c"
 HEAP32[(($125)>>2)]=0; //@line 166 "../src/h264bsd_neighbour.c"
 label=25;break;
 case 25: 
 var $127=$col; //@line 168 "../src/h264bsd_neighbour.c"
 var $128=((($127)+(1))|0); //@line 168 "../src/h264bsd_neighbour.c"
 $col=$128; //@line 168 "../src/h264bsd_neighbour.c"
 var $129=$col; //@line 169 "../src/h264bsd_neighbour.c"
 var $130=$2; //@line 169 "../src/h264bsd_neighbour.c"
 var $131=($129|0)==($130|0); //@line 169 "../src/h264bsd_neighbour.c"
 if($131){label=26;break;}else{label=27;break;} //@line 169 "../src/h264bsd_neighbour.c"
 case 26: 
 $col=0; //@line 171 "../src/h264bsd_neighbour.c"
 var $133=$row; //@line 172 "../src/h264bsd_neighbour.c"
 var $134=((($133)+(1))|0); //@line 172 "../src/h264bsd_neighbour.c"
 $row=$134; //@line 172 "../src/h264bsd_neighbour.c"
 label=27;break; //@line 173 "../src/h264bsd_neighbour.c"
 case 27: 
 label=28;break; //@line 174 "../src/h264bsd_neighbour.c"
 case 28: 
 var $137=$i; //@line 145 "../src/h264bsd_neighbour.c"
 var $138=((($137)+(1))|0); //@line 145 "../src/h264bsd_neighbour.c"
 $i=$138; //@line 145 "../src/h264bsd_neighbour.c"
 label=10;break; //@line 145 "../src/h264bsd_neighbour.c"
 case 29: 
 STACKTOP=sp;return; //@line 176 "../src/h264bsd_neighbour.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdGetNeighbourMb($pMb,$neighbour){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 $2=$pMb;
 $3=$neighbour;
 var $4=$3; //@line 207 "../src/h264bsd_neighbour.c"
 var $5=($4>>>0)<=4; //@line 207 "../src/h264bsd_neighbour.c"
 if($5){var $12=0;label=4;break;}else{label=2;break;} //@line 207 "../src/h264bsd_neighbour.c"
 case 2: 
 var $7=$3; //@line 207 "../src/h264bsd_neighbour.c"
 var $8=($7|0)==255; //@line 207 "../src/h264bsd_neighbour.c"
 if($8){var $12=1;label=4;break;}else{label=3;break;} //@line 207 "../src/h264bsd_neighbour.c"
 case 3: 
 ___assert_fail(6352,11768,207,13880); //@line 207 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 207 "../src/h264bsd_neighbour.c"
 label=4;break; //@line 207 "../src/h264bsd_neighbour.c"
 case 4: 
 var $12;
 var $13=($12&1); //@line 207 "../src/h264bsd_neighbour.c"
 var $14=$3; //@line 209 "../src/h264bsd_neighbour.c"
 var $15=($14|0)==0; //@line 209 "../src/h264bsd_neighbour.c"
 if($15){label=5;break;}else{label=6;break;} //@line 209 "../src/h264bsd_neighbour.c"
 case 5: 
 var $17=$2; //@line 210 "../src/h264bsd_neighbour.c"
 var $18=(($17+200)|0); //@line 210 "../src/h264bsd_neighbour.c"
 var $19=HEAP32[(($18)>>2)]; //@line 210 "../src/h264bsd_neighbour.c"
 $1=$19; //@line 210 "../src/h264bsd_neighbour.c"
 label=15;break; //@line 210 "../src/h264bsd_neighbour.c"
 case 6: 
 var $21=$3; //@line 211 "../src/h264bsd_neighbour.c"
 var $22=($21|0)==1; //@line 211 "../src/h264bsd_neighbour.c"
 if($22){label=7;break;}else{label=8;break;} //@line 211 "../src/h264bsd_neighbour.c"
 case 7: 
 var $24=$2; //@line 212 "../src/h264bsd_neighbour.c"
 var $25=(($24+204)|0); //@line 212 "../src/h264bsd_neighbour.c"
 var $26=HEAP32[(($25)>>2)]; //@line 212 "../src/h264bsd_neighbour.c"
 $1=$26; //@line 212 "../src/h264bsd_neighbour.c"
 label=15;break; //@line 212 "../src/h264bsd_neighbour.c"
 case 8: 
 var $28=$3; //@line 213 "../src/h264bsd_neighbour.c"
 var $29=($28|0)==2; //@line 213 "../src/h264bsd_neighbour.c"
 if($29){label=9;break;}else{label=10;break;} //@line 213 "../src/h264bsd_neighbour.c"
 case 9: 
 var $31=$2; //@line 214 "../src/h264bsd_neighbour.c"
 var $32=(($31+208)|0); //@line 214 "../src/h264bsd_neighbour.c"
 var $33=HEAP32[(($32)>>2)]; //@line 214 "../src/h264bsd_neighbour.c"
 $1=$33; //@line 214 "../src/h264bsd_neighbour.c"
 label=15;break; //@line 214 "../src/h264bsd_neighbour.c"
 case 10: 
 var $35=$3; //@line 215 "../src/h264bsd_neighbour.c"
 var $36=($35|0)==3; //@line 215 "../src/h264bsd_neighbour.c"
 if($36){label=11;break;}else{label=12;break;} //@line 215 "../src/h264bsd_neighbour.c"
 case 11: 
 var $38=$2; //@line 216 "../src/h264bsd_neighbour.c"
 var $39=(($38+212)|0); //@line 216 "../src/h264bsd_neighbour.c"
 var $40=HEAP32[(($39)>>2)]; //@line 216 "../src/h264bsd_neighbour.c"
 $1=$40; //@line 216 "../src/h264bsd_neighbour.c"
 label=15;break; //@line 216 "../src/h264bsd_neighbour.c"
 case 12: 
 var $42=$3; //@line 217 "../src/h264bsd_neighbour.c"
 var $43=($42|0)==4; //@line 217 "../src/h264bsd_neighbour.c"
 if($43){label=13;break;}else{label=14;break;} //@line 217 "../src/h264bsd_neighbour.c"
 case 13: 
 var $45=$2; //@line 218 "../src/h264bsd_neighbour.c"
 $1=$45; //@line 218 "../src/h264bsd_neighbour.c"
 label=15;break; //@line 218 "../src/h264bsd_neighbour.c"
 case 14: 
 $1=0; //@line 220 "../src/h264bsd_neighbour.c"
 label=15;break; //@line 220 "../src/h264bsd_neighbour.c"
 case 15: 
 var $48=$1; //@line 222 "../src/h264bsd_neighbour.c"
 STACKTOP=sp;return $48; //@line 222 "../src/h264bsd_neighbour.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdNeighbour4x4BlockA($blockIndex){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$blockIndex;
 var $2=$1; //@line 249 "../src/h264bsd_neighbour.c"
 var $3=($2>>>0)<24; //@line 249 "../src/h264bsd_neighbour.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 249 "../src/h264bsd_neighbour.c"
 case 2: 
 ___assert_fail(5824,11768,249,13144); //@line 249 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 249 "../src/h264bsd_neighbour.c"
 label=3;break; //@line 249 "../src/h264bsd_neighbour.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 249 "../src/h264bsd_neighbour.c"
 var $9=$1; //@line 251 "../src/h264bsd_neighbour.c"
 var $10=((19152+($9<<3))|0); //@line 251 "../src/h264bsd_neighbour.c"
 STACKTOP=sp;return $10; //@line 251 "../src/h264bsd_neighbour.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdNeighbour4x4BlockB($blockIndex){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$blockIndex;
 var $2=$1; //@line 280 "../src/h264bsd_neighbour.c"
 var $3=($2>>>0)<24; //@line 280 "../src/h264bsd_neighbour.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 280 "../src/h264bsd_neighbour.c"
 case 2: 
 ___assert_fail(5824,11768,280,13112); //@line 280 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 280 "../src/h264bsd_neighbour.c"
 label=3;break; //@line 280 "../src/h264bsd_neighbour.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 280 "../src/h264bsd_neighbour.c"
 var $9=$1; //@line 282 "../src/h264bsd_neighbour.c"
 var $10=((18448+($9<<3))|0); //@line 282 "../src/h264bsd_neighbour.c"
 STACKTOP=sp;return $10; //@line 282 "../src/h264bsd_neighbour.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdNeighbour4x4BlockC($blockIndex){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$blockIndex;
 var $2=$1; //@line 311 "../src/h264bsd_neighbour.c"
 var $3=($2>>>0)<24; //@line 311 "../src/h264bsd_neighbour.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 311 "../src/h264bsd_neighbour.c"
 case 2: 
 ___assert_fail(5824,11768,311,13080); //@line 311 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 311 "../src/h264bsd_neighbour.c"
 label=3;break; //@line 311 "../src/h264bsd_neighbour.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 311 "../src/h264bsd_neighbour.c"
 var $9=$1; //@line 313 "../src/h264bsd_neighbour.c"
 var $10=((17744+($9<<3))|0); //@line 313 "../src/h264bsd_neighbour.c"
 STACKTOP=sp;return $10; //@line 313 "../src/h264bsd_neighbour.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdNeighbour4x4BlockD($blockIndex){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$blockIndex;
 var $2=$1; //@line 342 "../src/h264bsd_neighbour.c"
 var $3=($2>>>0)<24; //@line 342 "../src/h264bsd_neighbour.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 342 "../src/h264bsd_neighbour.c"
 case 2: 
 ___assert_fail(5824,11768,342,13048); //@line 342 "../src/h264bsd_neighbour.c"
 throw "Reached an unreachable!"; //@line 342 "../src/h264bsd_neighbour.c"
 label=3;break; //@line 342 "../src/h264bsd_neighbour.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 342 "../src/h264bsd_neighbour.c"
 var $9=$1; //@line 344 "../src/h264bsd_neighbour.c"
 var $10=((17040+($9<<3))|0); //@line 344 "../src/h264bsd_neighbour.c"
 STACKTOP=sp;return $10; //@line 344 "../src/h264bsd_neighbour.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIsNeighbourAvailable($pMb,$pNeighbour){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 $2=$pMb;
 $3=$pNeighbour;
 var $4=$3; //@line 377 "../src/h264bsd_neighbour.c"
 var $5=($4|0)==0; //@line 377 "../src/h264bsd_neighbour.c"
 if($5){label=3;break;}else{label=2;break;} //@line 377 "../src/h264bsd_neighbour.c"
 case 2: 
 var $7=$2; //@line 377 "../src/h264bsd_neighbour.c"
 var $8=(($7+4)|0); //@line 377 "../src/h264bsd_neighbour.c"
 var $9=HEAP32[(($8)>>2)]; //@line 377 "../src/h264bsd_neighbour.c"
 var $10=$3; //@line 377 "../src/h264bsd_neighbour.c"
 var $11=(($10+4)|0); //@line 377 "../src/h264bsd_neighbour.c"
 var $12=HEAP32[(($11)>>2)]; //@line 377 "../src/h264bsd_neighbour.c"
 var $13=($9|0)!=($12|0); //@line 377 "../src/h264bsd_neighbour.c"
 if($13){label=3;break;}else{label=4;break;} //@line 377 "../src/h264bsd_neighbour.c"
 case 3: 
 $1=0; //@line 378 "../src/h264bsd_neighbour.c"
 label=5;break; //@line 378 "../src/h264bsd_neighbour.c"
 case 4: 
 $1=1; //@line 380 "../src/h264bsd_neighbour.c"
 label=5;break; //@line 380 "../src/h264bsd_neighbour.c"
 case 5: 
 var $17=$1; //@line 382 "../src/h264bsd_neighbour.c"
 STACKTOP=sp;return $17; //@line 382 "../src/h264bsd_neighbour.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodePicOrderCnt($poc,$sps,$pSliceHeader,$pNalUnit){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $picOrderCnt;
 var $frameNumOffset;
 var $absFrameNum;
 var $picOrderCntCycleCnt;
 var $frameNumInPicOrderCntCycle;
 var $expectedDeltaPicOrderCntCycle;
 var $containsMmco5;
 $1=$poc;
 $2=$sps;
 $3=$pSliceHeader;
 $4=$pNalUnit;
 var $5=$1; //@line 95 "../src/h264bsd_pic_order_cnt.c"
 var $6=($5|0)!=0; //@line 95 "../src/h264bsd_pic_order_cnt.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 95 "../src/h264bsd_pic_order_cnt.c"
 case 2: 
 ___assert_fail(9512,11736,95,14288); //@line 95 "../src/h264bsd_pic_order_cnt.c"
 throw "Reached an unreachable!"; //@line 95 "../src/h264bsd_pic_order_cnt.c"
 label=3;break; //@line 95 "../src/h264bsd_pic_order_cnt.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 95 "../src/h264bsd_pic_order_cnt.c"
 var $12=$2; //@line 96 "../src/h264bsd_pic_order_cnt.c"
 var $13=($12|0)!=0; //@line 96 "../src/h264bsd_pic_order_cnt.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 96 "../src/h264bsd_pic_order_cnt.c"
 case 4: 
 ___assert_fail(9128,11736,96,14288); //@line 96 "../src/h264bsd_pic_order_cnt.c"
 throw "Reached an unreachable!"; //@line 96 "../src/h264bsd_pic_order_cnt.c"
 label=5;break; //@line 96 "../src/h264bsd_pic_order_cnt.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 96 "../src/h264bsd_pic_order_cnt.c"
 var $19=$3; //@line 97 "../src/h264bsd_pic_order_cnt.c"
 var $20=($19|0)!=0; //@line 97 "../src/h264bsd_pic_order_cnt.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 97 "../src/h264bsd_pic_order_cnt.c"
 case 6: 
 ___assert_fail(8024,11736,97,14288); //@line 97 "../src/h264bsd_pic_order_cnt.c"
 throw "Reached an unreachable!"; //@line 97 "../src/h264bsd_pic_order_cnt.c"
 label=7;break; //@line 97 "../src/h264bsd_pic_order_cnt.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 97 "../src/h264bsd_pic_order_cnt.c"
 var $26=$4; //@line 98 "../src/h264bsd_pic_order_cnt.c"
 var $27=($26|0)!=0; //@line 98 "../src/h264bsd_pic_order_cnt.c"
 if($27){var $31=1;label=9;break;}else{label=8;break;} //@line 98 "../src/h264bsd_pic_order_cnt.c"
 case 8: 
 ___assert_fail(7104,11736,98,14288); //@line 98 "../src/h264bsd_pic_order_cnt.c"
 throw "Reached an unreachable!"; //@line 98 "../src/h264bsd_pic_order_cnt.c"
 label=9;break; //@line 98 "../src/h264bsd_pic_order_cnt.c"
 case 9: 
 var $31;
 var $32=($31&1); //@line 98 "../src/h264bsd_pic_order_cnt.c"
 var $33=$2; //@line 99 "../src/h264bsd_pic_order_cnt.c"
 var $34=(($33+16)|0); //@line 99 "../src/h264bsd_pic_order_cnt.c"
 var $35=HEAP32[(($34)>>2)]; //@line 99 "../src/h264bsd_pic_order_cnt.c"
 var $36=($35>>>0)<=2; //@line 99 "../src/h264bsd_pic_order_cnt.c"
 if($36){var $40=1;label=11;break;}else{label=10;break;} //@line 99 "../src/h264bsd_pic_order_cnt.c"
 case 10: 
 ___assert_fail(6312,11736,99,14288); //@line 99 "../src/h264bsd_pic_order_cnt.c"
 throw "Reached an unreachable!"; //@line 99 "../src/h264bsd_pic_order_cnt.c"
 label=11;break; //@line 99 "../src/h264bsd_pic_order_cnt.c"
 case 11: 
 var $40;
 var $41=($40&1); //@line 99 "../src/h264bsd_pic_order_cnt.c"
 $containsMmco5=0; //@line 137 "../src/h264bsd_pic_order_cnt.c"
 var $42=$3; //@line 138 "../src/h264bsd_pic_order_cnt.c"
 var $43=(($42+276)|0); //@line 138 "../src/h264bsd_pic_order_cnt.c"
 var $44=(($43+8)|0); //@line 138 "../src/h264bsd_pic_order_cnt.c"
 var $45=HEAP32[(($44)>>2)]; //@line 138 "../src/h264bsd_pic_order_cnt.c"
 var $46=($45|0)!=0; //@line 138 "../src/h264bsd_pic_order_cnt.c"
 if($46){label=12;break;}else{label=18;break;} //@line 138 "../src/h264bsd_pic_order_cnt.c"
 case 12: 
 $i=0; //@line 140 "../src/h264bsd_pic_order_cnt.c"
 label=13;break; //@line 141 "../src/h264bsd_pic_order_cnt.c"
 case 13: 
 var $49=$i; //@line 141 "../src/h264bsd_pic_order_cnt.c"
 var $50=$3; //@line 141 "../src/h264bsd_pic_order_cnt.c"
 var $51=(($50+276)|0); //@line 141 "../src/h264bsd_pic_order_cnt.c"
 var $52=(($51+12)|0); //@line 141 "../src/h264bsd_pic_order_cnt.c"
 var $53=(($52+((($49)*(20))&-1))|0); //@line 141 "../src/h264bsd_pic_order_cnt.c"
 var $54=(($53)|0); //@line 141 "../src/h264bsd_pic_order_cnt.c"
 var $55=HEAP32[(($54)>>2)]; //@line 141 "../src/h264bsd_pic_order_cnt.c"
 var $56=($55|0)!=0; //@line 141 "../src/h264bsd_pic_order_cnt.c"
 if($56){label=14;break;}else{label=17;break;} //@line 141 "../src/h264bsd_pic_order_cnt.c"
 case 14: 
 var $58=$i; //@line 144 "../src/h264bsd_pic_order_cnt.c"
 var $59=$3; //@line 144 "../src/h264bsd_pic_order_cnt.c"
 var $60=(($59+276)|0); //@line 144 "../src/h264bsd_pic_order_cnt.c"
 var $61=(($60+12)|0); //@line 144 "../src/h264bsd_pic_order_cnt.c"
 var $62=(($61+((($58)*(20))&-1))|0); //@line 144 "../src/h264bsd_pic_order_cnt.c"
 var $63=(($62)|0); //@line 144 "../src/h264bsd_pic_order_cnt.c"
 var $64=HEAP32[(($63)>>2)]; //@line 144 "../src/h264bsd_pic_order_cnt.c"
 var $65=($64|0)==5; //@line 144 "../src/h264bsd_pic_order_cnt.c"
 if($65){label=15;break;}else{label=16;break;} //@line 144 "../src/h264bsd_pic_order_cnt.c"
 case 15: 
 $containsMmco5=1; //@line 147 "../src/h264bsd_pic_order_cnt.c"
 label=17;break; //@line 148 "../src/h264bsd_pic_order_cnt.c"
 case 16: 
 var $68=$i; //@line 150 "../src/h264bsd_pic_order_cnt.c"
 var $69=((($68)+(1))|0); //@line 150 "../src/h264bsd_pic_order_cnt.c"
 $i=$69; //@line 150 "../src/h264bsd_pic_order_cnt.c"
 label=13;break; //@line 151 "../src/h264bsd_pic_order_cnt.c"
 case 17: 
 label=18;break; //@line 152 "../src/h264bsd_pic_order_cnt.c"
 case 18: 
 var $72=$2; //@line 153 "../src/h264bsd_pic_order_cnt.c"
 var $73=(($72+16)|0); //@line 153 "../src/h264bsd_pic_order_cnt.c"
 var $74=HEAP32[(($73)>>2)]; //@line 153 "../src/h264bsd_pic_order_cnt.c"
 if(($74|0)==0){ label=19;break;}else if(($74|0)==1){ label=42;break;}else{label=75;break;}
 case 19: 
 var $76=$4; //@line 158 "../src/h264bsd_pic_order_cnt.c"
 var $77=(($76)|0); //@line 158 "../src/h264bsd_pic_order_cnt.c"
 var $78=HEAP32[(($77)>>2)]; //@line 158 "../src/h264bsd_pic_order_cnt.c"
 var $79=($78|0)==5; //@line 158 "../src/h264bsd_pic_order_cnt.c"
 if($79){label=20;break;}else{label=21;break;} //@line 158 "../src/h264bsd_pic_order_cnt.c"
 case 20: 
 var $81=$1; //@line 160 "../src/h264bsd_pic_order_cnt.c"
 var $82=(($81+4)|0); //@line 160 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($82)>>2)]=0; //@line 160 "../src/h264bsd_pic_order_cnt.c"
 var $83=$1; //@line 161 "../src/h264bsd_pic_order_cnt.c"
 var $84=(($83)|0); //@line 161 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($84)>>2)]=0; //@line 161 "../src/h264bsd_pic_order_cnt.c"
 label=21;break; //@line 162 "../src/h264bsd_pic_order_cnt.c"
 case 21: 
 var $86=$3; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $87=(($86+20)|0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $88=HEAP32[(($87)>>2)]; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $89=$1; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $90=(($89)|0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $91=HEAP32[(($90)>>2)]; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $92=($88>>>0)<($91>>>0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 if($92){label=22;break;}else{label=24;break;} //@line 165 "../src/h264bsd_pic_order_cnt.c"
 case 22: 
 var $94=$1; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $95=(($94)|0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $96=HEAP32[(($95)>>2)]; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $97=$3; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $98=(($97+20)|0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $99=HEAP32[(($98)>>2)]; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $100=((($96)-($99))|0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $101=$2; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $102=(($101+20)|0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $103=HEAP32[(($102)>>2)]; //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $104=(((($103>>>0))/(2))&-1); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 var $105=($100>>>0)>=($104>>>0); //@line 165 "../src/h264bsd_pic_order_cnt.c"
 if($105){label=23;break;}else{label=24;break;} //@line 165 "../src/h264bsd_pic_order_cnt.c"
 case 23: 
 var $107=$1; //@line 169 "../src/h264bsd_pic_order_cnt.c"
 var $108=(($107+4)|0); //@line 169 "../src/h264bsd_pic_order_cnt.c"
 var $109=HEAP32[(($108)>>2)]; //@line 169 "../src/h264bsd_pic_order_cnt.c"
 var $110=$2; //@line 169 "../src/h264bsd_pic_order_cnt.c"
 var $111=(($110+20)|0); //@line 169 "../src/h264bsd_pic_order_cnt.c"
 var $112=HEAP32[(($111)>>2)]; //@line 169 "../src/h264bsd_pic_order_cnt.c"
 var $113=((($109)+($112))|0); //@line 169 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$113; //@line 169 "../src/h264bsd_pic_order_cnt.c"
 label=29;break; //@line 171 "../src/h264bsd_pic_order_cnt.c"
 case 24: 
 var $115=$3; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $116=(($115+20)|0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $117=HEAP32[(($116)>>2)]; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $118=$1; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $119=(($118)|0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $120=HEAP32[(($119)>>2)]; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $121=($117>>>0)>($120>>>0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 if($121){label=25;break;}else{label=27;break;} //@line 172 "../src/h264bsd_pic_order_cnt.c"
 case 25: 
 var $123=$3; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $124=(($123+20)|0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $125=HEAP32[(($124)>>2)]; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $126=$1; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $127=(($126)|0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $128=HEAP32[(($127)>>2)]; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $129=((($125)-($128))|0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $130=$2; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $131=(($130+20)|0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $132=HEAP32[(($131)>>2)]; //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $133=(((($132>>>0))/(2))&-1); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 var $134=($129>>>0)>($133>>>0); //@line 172 "../src/h264bsd_pic_order_cnt.c"
 if($134){label=26;break;}else{label=27;break;} //@line 172 "../src/h264bsd_pic_order_cnt.c"
 case 26: 
 var $136=$1; //@line 176 "../src/h264bsd_pic_order_cnt.c"
 var $137=(($136+4)|0); //@line 176 "../src/h264bsd_pic_order_cnt.c"
 var $138=HEAP32[(($137)>>2)]; //@line 176 "../src/h264bsd_pic_order_cnt.c"
 var $139=$2; //@line 176 "../src/h264bsd_pic_order_cnt.c"
 var $140=(($139+20)|0); //@line 176 "../src/h264bsd_pic_order_cnt.c"
 var $141=HEAP32[(($140)>>2)]; //@line 176 "../src/h264bsd_pic_order_cnt.c"
 var $142=((($138)-($141))|0); //@line 176 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$142; //@line 176 "../src/h264bsd_pic_order_cnt.c"
 label=28;break; //@line 178 "../src/h264bsd_pic_order_cnt.c"
 case 27: 
 var $144=$1; //@line 180 "../src/h264bsd_pic_order_cnt.c"
 var $145=(($144+4)|0); //@line 180 "../src/h264bsd_pic_order_cnt.c"
 var $146=HEAP32[(($145)>>2)]; //@line 180 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$146; //@line 180 "../src/h264bsd_pic_order_cnt.c"
 label=28;break;
 case 28: 
 label=29;break;
 case 29: 
 var $149=$4; //@line 185 "../src/h264bsd_pic_order_cnt.c"
 var $150=(($149+4)|0); //@line 185 "../src/h264bsd_pic_order_cnt.c"
 var $151=HEAP32[(($150)>>2)]; //@line 185 "../src/h264bsd_pic_order_cnt.c"
 var $152=($151|0)!=0; //@line 185 "../src/h264bsd_pic_order_cnt.c"
 if($152){label=30;break;}else{label=31;break;} //@line 185 "../src/h264bsd_pic_order_cnt.c"
 case 30: 
 var $154=$picOrderCnt; //@line 186 "../src/h264bsd_pic_order_cnt.c"
 var $155=$1; //@line 186 "../src/h264bsd_pic_order_cnt.c"
 var $156=(($155+4)|0); //@line 186 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($156)>>2)]=$154; //@line 186 "../src/h264bsd_pic_order_cnt.c"
 label=31;break; //@line 186 "../src/h264bsd_pic_order_cnt.c"
 case 31: 
 var $158=$3; //@line 189 "../src/h264bsd_pic_order_cnt.c"
 var $159=(($158+20)|0); //@line 189 "../src/h264bsd_pic_order_cnt.c"
 var $160=HEAP32[(($159)>>2)]; //@line 189 "../src/h264bsd_pic_order_cnt.c"
 var $161=$picOrderCnt; //@line 189 "../src/h264bsd_pic_order_cnt.c"
 var $162=((($161)+($160))|0); //@line 189 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$162; //@line 189 "../src/h264bsd_pic_order_cnt.c"
 var $163=$3; //@line 193 "../src/h264bsd_pic_order_cnt.c"
 var $164=(($163+24)|0); //@line 193 "../src/h264bsd_pic_order_cnt.c"
 var $165=HEAP32[(($164)>>2)]; //@line 193 "../src/h264bsd_pic_order_cnt.c"
 var $166=($165|0)<0; //@line 193 "../src/h264bsd_pic_order_cnt.c"
 if($166){label=32;break;}else{label=33;break;} //@line 193 "../src/h264bsd_pic_order_cnt.c"
 case 32: 
 var $168=$3; //@line 194 "../src/h264bsd_pic_order_cnt.c"
 var $169=(($168+24)|0); //@line 194 "../src/h264bsd_pic_order_cnt.c"
 var $170=HEAP32[(($169)>>2)]; //@line 194 "../src/h264bsd_pic_order_cnt.c"
 var $171=$picOrderCnt; //@line 194 "../src/h264bsd_pic_order_cnt.c"
 var $172=((($171)+($170))|0); //@line 194 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$172; //@line 194 "../src/h264bsd_pic_order_cnt.c"
 label=33;break; //@line 194 "../src/h264bsd_pic_order_cnt.c"
 case 33: 
 var $174=$4; //@line 199 "../src/h264bsd_pic_order_cnt.c"
 var $175=(($174+4)|0); //@line 199 "../src/h264bsd_pic_order_cnt.c"
 var $176=HEAP32[(($175)>>2)]; //@line 199 "../src/h264bsd_pic_order_cnt.c"
 var $177=($176|0)!=0; //@line 199 "../src/h264bsd_pic_order_cnt.c"
 if($177){label=34;break;}else{label=41;break;} //@line 199 "../src/h264bsd_pic_order_cnt.c"
 case 34: 
 var $179=$containsMmco5; //@line 203 "../src/h264bsd_pic_order_cnt.c"
 var $180=($179|0)!=0; //@line 203 "../src/h264bsd_pic_order_cnt.c"
 if($180){label=35;break;}else{label=39;break;} //@line 203 "../src/h264bsd_pic_order_cnt.c"
 case 35: 
 var $182=$1; //@line 205 "../src/h264bsd_pic_order_cnt.c"
 var $183=(($182+4)|0); //@line 205 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($183)>>2)]=0; //@line 205 "../src/h264bsd_pic_order_cnt.c"
 var $184=$3; //@line 213 "../src/h264bsd_pic_order_cnt.c"
 var $185=(($184+24)|0); //@line 213 "../src/h264bsd_pic_order_cnt.c"
 var $186=HEAP32[(($185)>>2)]; //@line 213 "../src/h264bsd_pic_order_cnt.c"
 var $187=($186|0)<0; //@line 213 "../src/h264bsd_pic_order_cnt.c"
 if($187){label=36;break;}else{label=37;break;} //@line 213 "../src/h264bsd_pic_order_cnt.c"
 case 36: 
 var $189=$3; //@line 214 "../src/h264bsd_pic_order_cnt.c"
 var $190=(($189+24)|0); //@line 214 "../src/h264bsd_pic_order_cnt.c"
 var $191=HEAP32[(($190)>>2)]; //@line 214 "../src/h264bsd_pic_order_cnt.c"
 var $192=(((-$191))|0); //@line 214 "../src/h264bsd_pic_order_cnt.c"
 var $193=$1; //@line 214 "../src/h264bsd_pic_order_cnt.c"
 var $194=(($193)|0); //@line 214 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($194)>>2)]=$192; //@line 214 "../src/h264bsd_pic_order_cnt.c"
 label=38;break; //@line 214 "../src/h264bsd_pic_order_cnt.c"
 case 37: 
 var $196=$1; //@line 217 "../src/h264bsd_pic_order_cnt.c"
 var $197=(($196)|0); //@line 217 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($197)>>2)]=0; //@line 217 "../src/h264bsd_pic_order_cnt.c"
 label=38;break;
 case 38: 
 $picOrderCnt=0; //@line 218 "../src/h264bsd_pic_order_cnt.c"
 label=40;break; //@line 219 "../src/h264bsd_pic_order_cnt.c"
 case 39: 
 var $200=$3; //@line 222 "../src/h264bsd_pic_order_cnt.c"
 var $201=(($200+20)|0); //@line 222 "../src/h264bsd_pic_order_cnt.c"
 var $202=HEAP32[(($201)>>2)]; //@line 222 "../src/h264bsd_pic_order_cnt.c"
 var $203=$1; //@line 222 "../src/h264bsd_pic_order_cnt.c"
 var $204=(($203)|0); //@line 222 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($204)>>2)]=$202; //@line 222 "../src/h264bsd_pic_order_cnt.c"
 label=40;break;
 case 40: 
 label=41;break; //@line 224 "../src/h264bsd_pic_order_cnt.c"
 case 41: 
 label=91;break; //@line 226 "../src/h264bsd_pic_order_cnt.c"
 case 42: 
 var $208=$4; //@line 231 "../src/h264bsd_pic_order_cnt.c"
 var $209=(($208)|0); //@line 231 "../src/h264bsd_pic_order_cnt.c"
 var $210=HEAP32[(($209)>>2)]; //@line 231 "../src/h264bsd_pic_order_cnt.c"
 var $211=($210|0)==5; //@line 231 "../src/h264bsd_pic_order_cnt.c"
 if($211){label=43;break;}else{label=44;break;} //@line 231 "../src/h264bsd_pic_order_cnt.c"
 case 43: 
 $frameNumOffset=0; //@line 232 "../src/h264bsd_pic_order_cnt.c"
 label=48;break; //@line 232 "../src/h264bsd_pic_order_cnt.c"
 case 44: 
 var $214=$1; //@line 233 "../src/h264bsd_pic_order_cnt.c"
 var $215=(($214+8)|0); //@line 233 "../src/h264bsd_pic_order_cnt.c"
 var $216=HEAP32[(($215)>>2)]; //@line 233 "../src/h264bsd_pic_order_cnt.c"
 var $217=$3; //@line 233 "../src/h264bsd_pic_order_cnt.c"
 var $218=(($217+12)|0); //@line 233 "../src/h264bsd_pic_order_cnt.c"
 var $219=HEAP32[(($218)>>2)]; //@line 233 "../src/h264bsd_pic_order_cnt.c"
 var $220=($216>>>0)>($219>>>0); //@line 233 "../src/h264bsd_pic_order_cnt.c"
 if($220){label=45;break;}else{label=46;break;} //@line 233 "../src/h264bsd_pic_order_cnt.c"
 case 45: 
 var $222=$1; //@line 234 "../src/h264bsd_pic_order_cnt.c"
 var $223=(($222+12)|0); //@line 234 "../src/h264bsd_pic_order_cnt.c"
 var $224=HEAP32[(($223)>>2)]; //@line 234 "../src/h264bsd_pic_order_cnt.c"
 var $225=$2; //@line 234 "../src/h264bsd_pic_order_cnt.c"
 var $226=(($225+12)|0); //@line 234 "../src/h264bsd_pic_order_cnt.c"
 var $227=HEAP32[(($226)>>2)]; //@line 234 "../src/h264bsd_pic_order_cnt.c"
 var $228=((($224)+($227))|0); //@line 234 "../src/h264bsd_pic_order_cnt.c"
 $frameNumOffset=$228; //@line 234 "../src/h264bsd_pic_order_cnt.c"
 label=47;break; //@line 234 "../src/h264bsd_pic_order_cnt.c"
 case 46: 
 var $230=$1; //@line 236 "../src/h264bsd_pic_order_cnt.c"
 var $231=(($230+12)|0); //@line 236 "../src/h264bsd_pic_order_cnt.c"
 var $232=HEAP32[(($231)>>2)]; //@line 236 "../src/h264bsd_pic_order_cnt.c"
 $frameNumOffset=$232; //@line 236 "../src/h264bsd_pic_order_cnt.c"
 label=47;break;
 case 47: 
 label=48;break;
 case 48: 
 var $235=$2; //@line 239 "../src/h264bsd_pic_order_cnt.c"
 var $236=(($235+36)|0); //@line 239 "../src/h264bsd_pic_order_cnt.c"
 var $237=HEAP32[(($236)>>2)]; //@line 239 "../src/h264bsd_pic_order_cnt.c"
 var $238=($237|0)!=0; //@line 239 "../src/h264bsd_pic_order_cnt.c"
 if($238){label=49;break;}else{label=50;break;} //@line 239 "../src/h264bsd_pic_order_cnt.c"
 case 49: 
 var $240=$frameNumOffset; //@line 240 "../src/h264bsd_pic_order_cnt.c"
 var $241=$3; //@line 240 "../src/h264bsd_pic_order_cnt.c"
 var $242=(($241+12)|0); //@line 240 "../src/h264bsd_pic_order_cnt.c"
 var $243=HEAP32[(($242)>>2)]; //@line 240 "../src/h264bsd_pic_order_cnt.c"
 var $244=((($240)+($243))|0); //@line 240 "../src/h264bsd_pic_order_cnt.c"
 $absFrameNum=$244; //@line 240 "../src/h264bsd_pic_order_cnt.c"
 label=51;break; //@line 240 "../src/h264bsd_pic_order_cnt.c"
 case 50: 
 $absFrameNum=0; //@line 242 "../src/h264bsd_pic_order_cnt.c"
 label=51;break;
 case 51: 
 var $247=$4; //@line 244 "../src/h264bsd_pic_order_cnt.c"
 var $248=(($247+4)|0); //@line 244 "../src/h264bsd_pic_order_cnt.c"
 var $249=HEAP32[(($248)>>2)]; //@line 244 "../src/h264bsd_pic_order_cnt.c"
 var $250=($249|0)==0; //@line 244 "../src/h264bsd_pic_order_cnt.c"
 if($250){label=52;break;}else{label=54;break;} //@line 244 "../src/h264bsd_pic_order_cnt.c"
 case 52: 
 var $252=$absFrameNum; //@line 244 "../src/h264bsd_pic_order_cnt.c"
 var $253=($252>>>0)>0; //@line 244 "../src/h264bsd_pic_order_cnt.c"
 if($253){label=53;break;}else{label=54;break;} //@line 244 "../src/h264bsd_pic_order_cnt.c"
 case 53: 
 var $255=$absFrameNum; //@line 245 "../src/h264bsd_pic_order_cnt.c"
 var $256=((($255)-(1))|0); //@line 245 "../src/h264bsd_pic_order_cnt.c"
 $absFrameNum=$256; //@line 245 "../src/h264bsd_pic_order_cnt.c"
 label=54;break; //@line 245 "../src/h264bsd_pic_order_cnt.c"
 case 54: 
 var $258=$absFrameNum; //@line 248 "../src/h264bsd_pic_order_cnt.c"
 var $259=($258>>>0)>0; //@line 248 "../src/h264bsd_pic_order_cnt.c"
 if($259){label=55;break;}else{label=56;break;} //@line 248 "../src/h264bsd_pic_order_cnt.c"
 case 55: 
 var $261=$absFrameNum; //@line 250 "../src/h264bsd_pic_order_cnt.c"
 var $262=((($261)-(1))|0); //@line 250 "../src/h264bsd_pic_order_cnt.c"
 var $263=$2; //@line 250 "../src/h264bsd_pic_order_cnt.c"
 var $264=(($263+36)|0); //@line 250 "../src/h264bsd_pic_order_cnt.c"
 var $265=HEAP32[(($264)>>2)]; //@line 250 "../src/h264bsd_pic_order_cnt.c"
 var $266=(((($262>>>0))/(($265>>>0)))&-1); //@line 250 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCntCycleCnt=$266; //@line 250 "../src/h264bsd_pic_order_cnt.c"
 var $267=$absFrameNum; //@line 252 "../src/h264bsd_pic_order_cnt.c"
 var $268=((($267)-(1))|0); //@line 252 "../src/h264bsd_pic_order_cnt.c"
 var $269=$2; //@line 252 "../src/h264bsd_pic_order_cnt.c"
 var $270=(($269+36)|0); //@line 252 "../src/h264bsd_pic_order_cnt.c"
 var $271=HEAP32[(($270)>>2)]; //@line 252 "../src/h264bsd_pic_order_cnt.c"
 var $272=(((($268>>>0))%(($271>>>0)))&-1); //@line 252 "../src/h264bsd_pic_order_cnt.c"
 $frameNumInPicOrderCntCycle=$272; //@line 252 "../src/h264bsd_pic_order_cnt.c"
 label=56;break; //@line 254 "../src/h264bsd_pic_order_cnt.c"
 case 56: 
 $expectedDeltaPicOrderCntCycle=0; //@line 257 "../src/h264bsd_pic_order_cnt.c"
 $i=0; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 label=57;break; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 case 57: 
 var $275=$i; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 var $276=$2; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 var $277=(($276+36)|0); //@line 258 "../src/h264bsd_pic_order_cnt.c"
 var $278=HEAP32[(($277)>>2)]; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 var $279=($275>>>0)<($278>>>0); //@line 258 "../src/h264bsd_pic_order_cnt.c"
 if($279){label=58;break;}else{label=60;break;} //@line 258 "../src/h264bsd_pic_order_cnt.c"
 case 58: 
 var $281=$i; //@line 259 "../src/h264bsd_pic_order_cnt.c"
 var $282=$2; //@line 259 "../src/h264bsd_pic_order_cnt.c"
 var $283=(($282+40)|0); //@line 259 "../src/h264bsd_pic_order_cnt.c"
 var $284=HEAP32[(($283)>>2)]; //@line 259 "../src/h264bsd_pic_order_cnt.c"
 var $285=(($284+($281<<2))|0); //@line 259 "../src/h264bsd_pic_order_cnt.c"
 var $286=HEAP32[(($285)>>2)]; //@line 259 "../src/h264bsd_pic_order_cnt.c"
 var $287=$expectedDeltaPicOrderCntCycle; //@line 259 "../src/h264bsd_pic_order_cnt.c"
 var $288=((($287)+($286))|0); //@line 259 "../src/h264bsd_pic_order_cnt.c"
 $expectedDeltaPicOrderCntCycle=$288; //@line 259 "../src/h264bsd_pic_order_cnt.c"
 label=59;break; //@line 259 "../src/h264bsd_pic_order_cnt.c"
 case 59: 
 var $290=$i; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 var $291=((($290)+(1))|0); //@line 258 "../src/h264bsd_pic_order_cnt.c"
 $i=$291; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 label=57;break; //@line 258 "../src/h264bsd_pic_order_cnt.c"
 case 60: 
 var $293=$absFrameNum; //@line 264 "../src/h264bsd_pic_order_cnt.c"
 var $294=($293>>>0)>0; //@line 264 "../src/h264bsd_pic_order_cnt.c"
 if($294){label=61;break;}else{label=66;break;} //@line 264 "../src/h264bsd_pic_order_cnt.c"
 case 61: 
 var $296=$picOrderCntCycleCnt; //@line 266 "../src/h264bsd_pic_order_cnt.c"
 var $297=$expectedDeltaPicOrderCntCycle; //@line 266 "../src/h264bsd_pic_order_cnt.c"
 var $298=(Math_imul($296,$297)|0); //@line 266 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$298; //@line 266 "../src/h264bsd_pic_order_cnt.c"
 $i=0; //@line 268 "../src/h264bsd_pic_order_cnt.c"
 label=62;break; //@line 268 "../src/h264bsd_pic_order_cnt.c"
 case 62: 
 var $300=$i; //@line 268 "../src/h264bsd_pic_order_cnt.c"
 var $301=$frameNumInPicOrderCntCycle; //@line 268 "../src/h264bsd_pic_order_cnt.c"
 var $302=($300>>>0)<=($301>>>0); //@line 268 "../src/h264bsd_pic_order_cnt.c"
 if($302){label=63;break;}else{label=65;break;} //@line 268 "../src/h264bsd_pic_order_cnt.c"
 case 63: 
 var $304=$i; //@line 269 "../src/h264bsd_pic_order_cnt.c"
 var $305=$2; //@line 269 "../src/h264bsd_pic_order_cnt.c"
 var $306=(($305+40)|0); //@line 269 "../src/h264bsd_pic_order_cnt.c"
 var $307=HEAP32[(($306)>>2)]; //@line 269 "../src/h264bsd_pic_order_cnt.c"
 var $308=(($307+($304<<2))|0); //@line 269 "../src/h264bsd_pic_order_cnt.c"
 var $309=HEAP32[(($308)>>2)]; //@line 269 "../src/h264bsd_pic_order_cnt.c"
 var $310=$picOrderCnt; //@line 269 "../src/h264bsd_pic_order_cnt.c"
 var $311=((($310)+($309))|0); //@line 269 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$311; //@line 269 "../src/h264bsd_pic_order_cnt.c"
 label=64;break; //@line 269 "../src/h264bsd_pic_order_cnt.c"
 case 64: 
 var $313=$i; //@line 268 "../src/h264bsd_pic_order_cnt.c"
 var $314=((($313)+(1))|0); //@line 268 "../src/h264bsd_pic_order_cnt.c"
 $i=$314; //@line 268 "../src/h264bsd_pic_order_cnt.c"
 label=62;break; //@line 268 "../src/h264bsd_pic_order_cnt.c"
 case 65: 
 label=67;break; //@line 270 "../src/h264bsd_pic_order_cnt.c"
 case 66: 
 $picOrderCnt=0; //@line 272 "../src/h264bsd_pic_order_cnt.c"
 label=67;break;
 case 67: 
 var $318=$4; //@line 274 "../src/h264bsd_pic_order_cnt.c"
 var $319=(($318+4)|0); //@line 274 "../src/h264bsd_pic_order_cnt.c"
 var $320=HEAP32[(($319)>>2)]; //@line 274 "../src/h264bsd_pic_order_cnt.c"
 var $321=($320|0)==0; //@line 274 "../src/h264bsd_pic_order_cnt.c"
 if($321){label=68;break;}else{label=69;break;} //@line 274 "../src/h264bsd_pic_order_cnt.c"
 case 68: 
 var $323=$2; //@line 275 "../src/h264bsd_pic_order_cnt.c"
 var $324=(($323+28)|0); //@line 275 "../src/h264bsd_pic_order_cnt.c"
 var $325=HEAP32[(($324)>>2)]; //@line 275 "../src/h264bsd_pic_order_cnt.c"
 var $326=$picOrderCnt; //@line 275 "../src/h264bsd_pic_order_cnt.c"
 var $327=((($326)+($325))|0); //@line 275 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$327; //@line 275 "../src/h264bsd_pic_order_cnt.c"
 label=69;break; //@line 275 "../src/h264bsd_pic_order_cnt.c"
 case 69: 
 var $329=$3; //@line 279 "../src/h264bsd_pic_order_cnt.c"
 var $330=(($329+28)|0); //@line 279 "../src/h264bsd_pic_order_cnt.c"
 var $331=(($330)|0); //@line 279 "../src/h264bsd_pic_order_cnt.c"
 var $332=HEAP32[(($331)>>2)]; //@line 279 "../src/h264bsd_pic_order_cnt.c"
 var $333=$picOrderCnt; //@line 279 "../src/h264bsd_pic_order_cnt.c"
 var $334=((($333)+($332))|0); //@line 279 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$334; //@line 279 "../src/h264bsd_pic_order_cnt.c"
 var $335=$2; //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $336=(($335+32)|0); //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $337=HEAP32[(($336)>>2)]; //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $338=$3; //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $339=(($338+28)|0); //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $340=(($339+4)|0); //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $341=HEAP32[(($340)>>2)]; //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $342=((($337)+($341))|0); //@line 281 "../src/h264bsd_pic_order_cnt.c"
 var $343=($342|0)<0; //@line 281 "../src/h264bsd_pic_order_cnt.c"
 if($343){label=70;break;}else{label=71;break;} //@line 281 "../src/h264bsd_pic_order_cnt.c"
 case 70: 
 var $345=$2; //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $346=(($345+32)|0); //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $347=HEAP32[(($346)>>2)]; //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $348=$3; //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $349=(($348+28)|0); //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $350=(($349+4)|0); //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $351=HEAP32[(($350)>>2)]; //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $352=((($347)+($351))|0); //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $353=$picOrderCnt; //@line 284 "../src/h264bsd_pic_order_cnt.c"
 var $354=((($353)+($352))|0); //@line 284 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$354; //@line 284 "../src/h264bsd_pic_order_cnt.c"
 label=71;break; //@line 286 "../src/h264bsd_pic_order_cnt.c"
 case 71: 
 var $356=$containsMmco5; //@line 292 "../src/h264bsd_pic_order_cnt.c"
 var $357=($356|0)!=0; //@line 292 "../src/h264bsd_pic_order_cnt.c"
 if($357){label=73;break;}else{label=72;break;} //@line 292 "../src/h264bsd_pic_order_cnt.c"
 case 72: 
 var $359=$frameNumOffset; //@line 294 "../src/h264bsd_pic_order_cnt.c"
 var $360=$1; //@line 294 "../src/h264bsd_pic_order_cnt.c"
 var $361=(($360+12)|0); //@line 294 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($361)>>2)]=$359; //@line 294 "../src/h264bsd_pic_order_cnt.c"
 var $362=$3; //@line 295 "../src/h264bsd_pic_order_cnt.c"
 var $363=(($362+12)|0); //@line 295 "../src/h264bsd_pic_order_cnt.c"
 var $364=HEAP32[(($363)>>2)]; //@line 295 "../src/h264bsd_pic_order_cnt.c"
 var $365=$1; //@line 295 "../src/h264bsd_pic_order_cnt.c"
 var $366=(($365+8)|0); //@line 295 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($366)>>2)]=$364; //@line 295 "../src/h264bsd_pic_order_cnt.c"
 label=74;break; //@line 296 "../src/h264bsd_pic_order_cnt.c"
 case 73: 
 var $368=$1; //@line 299 "../src/h264bsd_pic_order_cnt.c"
 var $369=(($368+12)|0); //@line 299 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($369)>>2)]=0; //@line 299 "../src/h264bsd_pic_order_cnt.c"
 var $370=$1; //@line 300 "../src/h264bsd_pic_order_cnt.c"
 var $371=(($370+8)|0); //@line 300 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($371)>>2)]=0; //@line 300 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=0; //@line 301 "../src/h264bsd_pic_order_cnt.c"
 label=74;break;
 case 74: 
 label=91;break; //@line 303 "../src/h264bsd_pic_order_cnt.c"
 case 75: 
 var $374=$4; //@line 307 "../src/h264bsd_pic_order_cnt.c"
 var $375=(($374)|0); //@line 307 "../src/h264bsd_pic_order_cnt.c"
 var $376=HEAP32[(($375)>>2)]; //@line 307 "../src/h264bsd_pic_order_cnt.c"
 var $377=($376|0)==5; //@line 307 "../src/h264bsd_pic_order_cnt.c"
 if($377){label=76;break;}else{label=77;break;} //@line 307 "../src/h264bsd_pic_order_cnt.c"
 case 76: 
 $frameNumOffset=0; //@line 308 "../src/h264bsd_pic_order_cnt.c"
 label=81;break; //@line 308 "../src/h264bsd_pic_order_cnt.c"
 case 77: 
 var $380=$1; //@line 309 "../src/h264bsd_pic_order_cnt.c"
 var $381=(($380+8)|0); //@line 309 "../src/h264bsd_pic_order_cnt.c"
 var $382=HEAP32[(($381)>>2)]; //@line 309 "../src/h264bsd_pic_order_cnt.c"
 var $383=$3; //@line 309 "../src/h264bsd_pic_order_cnt.c"
 var $384=(($383+12)|0); //@line 309 "../src/h264bsd_pic_order_cnt.c"
 var $385=HEAP32[(($384)>>2)]; //@line 309 "../src/h264bsd_pic_order_cnt.c"
 var $386=($382>>>0)>($385>>>0); //@line 309 "../src/h264bsd_pic_order_cnt.c"
 if($386){label=78;break;}else{label=79;break;} //@line 309 "../src/h264bsd_pic_order_cnt.c"
 case 78: 
 var $388=$1; //@line 310 "../src/h264bsd_pic_order_cnt.c"
 var $389=(($388+12)|0); //@line 310 "../src/h264bsd_pic_order_cnt.c"
 var $390=HEAP32[(($389)>>2)]; //@line 310 "../src/h264bsd_pic_order_cnt.c"
 var $391=$2; //@line 310 "../src/h264bsd_pic_order_cnt.c"
 var $392=(($391+12)|0); //@line 310 "../src/h264bsd_pic_order_cnt.c"
 var $393=HEAP32[(($392)>>2)]; //@line 310 "../src/h264bsd_pic_order_cnt.c"
 var $394=((($390)+($393))|0); //@line 310 "../src/h264bsd_pic_order_cnt.c"
 $frameNumOffset=$394; //@line 310 "../src/h264bsd_pic_order_cnt.c"
 label=80;break; //@line 310 "../src/h264bsd_pic_order_cnt.c"
 case 79: 
 var $396=$1; //@line 312 "../src/h264bsd_pic_order_cnt.c"
 var $397=(($396+12)|0); //@line 312 "../src/h264bsd_pic_order_cnt.c"
 var $398=HEAP32[(($397)>>2)]; //@line 312 "../src/h264bsd_pic_order_cnt.c"
 $frameNumOffset=$398; //@line 312 "../src/h264bsd_pic_order_cnt.c"
 label=80;break;
 case 80: 
 label=81;break;
 case 81: 
 var $401=$4; //@line 316 "../src/h264bsd_pic_order_cnt.c"
 var $402=(($401)|0); //@line 316 "../src/h264bsd_pic_order_cnt.c"
 var $403=HEAP32[(($402)>>2)]; //@line 316 "../src/h264bsd_pic_order_cnt.c"
 var $404=($403|0)==5; //@line 316 "../src/h264bsd_pic_order_cnt.c"
 if($404){label=82;break;}else{label=83;break;} //@line 316 "../src/h264bsd_pic_order_cnt.c"
 case 82: 
 $picOrderCnt=0; //@line 317 "../src/h264bsd_pic_order_cnt.c"
 label=87;break; //@line 317 "../src/h264bsd_pic_order_cnt.c"
 case 83: 
 var $407=$4; //@line 318 "../src/h264bsd_pic_order_cnt.c"
 var $408=(($407+4)|0); //@line 318 "../src/h264bsd_pic_order_cnt.c"
 var $409=HEAP32[(($408)>>2)]; //@line 318 "../src/h264bsd_pic_order_cnt.c"
 var $410=($409|0)==0; //@line 318 "../src/h264bsd_pic_order_cnt.c"
 if($410){label=84;break;}else{label=85;break;} //@line 318 "../src/h264bsd_pic_order_cnt.c"
 case 84: 
 var $412=$frameNumOffset; //@line 319 "../src/h264bsd_pic_order_cnt.c"
 var $413=$3; //@line 319 "../src/h264bsd_pic_order_cnt.c"
 var $414=(($413+12)|0); //@line 319 "../src/h264bsd_pic_order_cnt.c"
 var $415=HEAP32[(($414)>>2)]; //@line 319 "../src/h264bsd_pic_order_cnt.c"
 var $416=((($412)+($415))|0); //@line 319 "../src/h264bsd_pic_order_cnt.c"
 var $417=($416<<1); //@line 319 "../src/h264bsd_pic_order_cnt.c"
 var $418=((($417)-(1))|0); //@line 319 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$418; //@line 319 "../src/h264bsd_pic_order_cnt.c"
 label=86;break; //@line 319 "../src/h264bsd_pic_order_cnt.c"
 case 85: 
 var $420=$frameNumOffset; //@line 322 "../src/h264bsd_pic_order_cnt.c"
 var $421=$3; //@line 322 "../src/h264bsd_pic_order_cnt.c"
 var $422=(($421+12)|0); //@line 322 "../src/h264bsd_pic_order_cnt.c"
 var $423=HEAP32[(($422)>>2)]; //@line 322 "../src/h264bsd_pic_order_cnt.c"
 var $424=((($420)+($423))|0); //@line 322 "../src/h264bsd_pic_order_cnt.c"
 var $425=($424<<1); //@line 322 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=$425; //@line 322 "../src/h264bsd_pic_order_cnt.c"
 label=86;break;
 case 86: 
 label=87;break;
 case 87: 
 var $428=$containsMmco5; //@line 329 "../src/h264bsd_pic_order_cnt.c"
 var $429=($428|0)!=0; //@line 329 "../src/h264bsd_pic_order_cnt.c"
 if($429){label=89;break;}else{label=88;break;} //@line 329 "../src/h264bsd_pic_order_cnt.c"
 case 88: 
 var $431=$frameNumOffset; //@line 331 "../src/h264bsd_pic_order_cnt.c"
 var $432=$1; //@line 331 "../src/h264bsd_pic_order_cnt.c"
 var $433=(($432+12)|0); //@line 331 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($433)>>2)]=$431; //@line 331 "../src/h264bsd_pic_order_cnt.c"
 var $434=$3; //@line 332 "../src/h264bsd_pic_order_cnt.c"
 var $435=(($434+12)|0); //@line 332 "../src/h264bsd_pic_order_cnt.c"
 var $436=HEAP32[(($435)>>2)]; //@line 332 "../src/h264bsd_pic_order_cnt.c"
 var $437=$1; //@line 332 "../src/h264bsd_pic_order_cnt.c"
 var $438=(($437+8)|0); //@line 332 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($438)>>2)]=$436; //@line 332 "../src/h264bsd_pic_order_cnt.c"
 label=90;break; //@line 333 "../src/h264bsd_pic_order_cnt.c"
 case 89: 
 var $440=$1; //@line 336 "../src/h264bsd_pic_order_cnt.c"
 var $441=(($440+12)|0); //@line 336 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($441)>>2)]=0; //@line 336 "../src/h264bsd_pic_order_cnt.c"
 var $442=$1; //@line 337 "../src/h264bsd_pic_order_cnt.c"
 var $443=(($442+8)|0); //@line 337 "../src/h264bsd_pic_order_cnt.c"
 HEAP32[(($443)>>2)]=0; //@line 337 "../src/h264bsd_pic_order_cnt.c"
 $picOrderCnt=0; //@line 338 "../src/h264bsd_pic_order_cnt.c"
 label=90;break;
 case 90: 
 label=91;break; //@line 340 "../src/h264bsd_pic_order_cnt.c"
 case 91: 
 var $446=$picOrderCnt; //@line 345 "../src/h264bsd_pic_order_cnt.c"
 STACKTOP=sp;return $446; //@line 345 "../src/h264bsd_pic_order_cnt.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodePicParamSet($pStrmData,$pPicParamSet){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+16)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 var $i;
 var $value=sp;
 var $itmp=(sp)+(8);
 $2=$pStrmData;
 $3=$pPicParamSet;
 var $4=$2; //@line 100 "../src/h264bsd_pic_param_set.c"
 var $5=($4|0)!=0; //@line 100 "../src/h264bsd_pic_param_set.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 100 "../src/h264bsd_pic_param_set.c"
 case 2: 
 ___assert_fail(9416,11696,100,14256); //@line 100 "../src/h264bsd_pic_param_set.c"
 throw "Reached an unreachable!"; //@line 100 "../src/h264bsd_pic_param_set.c"
 label=3;break; //@line 100 "../src/h264bsd_pic_param_set.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 100 "../src/h264bsd_pic_param_set.c"
 var $11=$3; //@line 101 "../src/h264bsd_pic_param_set.c"
 var $12=($11|0)!=0; //@line 101 "../src/h264bsd_pic_param_set.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 101 "../src/h264bsd_pic_param_set.c"
 case 4: 
 ___assert_fail(9096,11696,101,14256); //@line 101 "../src/h264bsd_pic_param_set.c"
 throw "Reached an unreachable!"; //@line 101 "../src/h264bsd_pic_param_set.c"
 label=5;break; //@line 101 "../src/h264bsd_pic_param_set.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 101 "../src/h264bsd_pic_param_set.c"
 var $18=$3; //@line 104 "../src/h264bsd_pic_param_set.c"
 var $19=$18; //@line 104 "../src/h264bsd_pic_param_set.c"
 _memset($19, 0, 72)|0; //@line 104 "../src/h264bsd_pic_param_set.c"
 var $20=$2; //@line 106 "../src/h264bsd_pic_param_set.c"
 var $21=$3; //@line 106 "../src/h264bsd_pic_param_set.c"
 var $22=(($21)|0); //@line 106 "../src/h264bsd_pic_param_set.c"
 var $23=_h264bsdDecodeExpGolombUnsigned($20,$22); //@line 106 "../src/h264bsd_pic_param_set.c"
 $tmp=$23; //@line 106 "../src/h264bsd_pic_param_set.c"
 var $24=$tmp; //@line 108 "../src/h264bsd_pic_param_set.c"
 var $25=($24|0)!=0; //@line 108 "../src/h264bsd_pic_param_set.c"
 if($25){label=6;break;}else{label=7;break;} //@line 108 "../src/h264bsd_pic_param_set.c"
 case 6: 
 var $27=$tmp; //@line 109 "../src/h264bsd_pic_param_set.c"
 $1=$27; //@line 109 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 109 "../src/h264bsd_pic_param_set.c"
 case 7: 
 var $29=$3; //@line 110 "../src/h264bsd_pic_param_set.c"
 var $30=(($29)|0); //@line 110 "../src/h264bsd_pic_param_set.c"
 var $31=HEAP32[(($30)>>2)]; //@line 110 "../src/h264bsd_pic_param_set.c"
 var $32=($31>>>0)>=256; //@line 110 "../src/h264bsd_pic_param_set.c"
 if($32){label=8;break;}else{label=9;break;} //@line 110 "../src/h264bsd_pic_param_set.c"
 case 8: 
 var $34=HEAP32[((_stderr)>>2)]; //@line 112 "../src/h264bsd_pic_param_set.c"
 var $35=_fprintf($34,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=7080,tempVarArgs)); STACKTOP=tempVarArgs; //@line 112 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 113 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 113 "../src/h264bsd_pic_param_set.c"
 case 9: 
 var $37=$2; //@line 116 "../src/h264bsd_pic_param_set.c"
 var $38=$3; //@line 116 "../src/h264bsd_pic_param_set.c"
 var $39=(($38+4)|0); //@line 116 "../src/h264bsd_pic_param_set.c"
 var $40=_h264bsdDecodeExpGolombUnsigned($37,$39); //@line 116 "../src/h264bsd_pic_param_set.c"
 $tmp=$40; //@line 116 "../src/h264bsd_pic_param_set.c"
 var $41=$tmp; //@line 118 "../src/h264bsd_pic_param_set.c"
 var $42=($41|0)!=0; //@line 118 "../src/h264bsd_pic_param_set.c"
 if($42){label=10;break;}else{label=11;break;} //@line 118 "../src/h264bsd_pic_param_set.c"
 case 10: 
 var $44=$tmp; //@line 119 "../src/h264bsd_pic_param_set.c"
 $1=$44; //@line 119 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 119 "../src/h264bsd_pic_param_set.c"
 case 11: 
 var $46=$3; //@line 120 "../src/h264bsd_pic_param_set.c"
 var $47=(($46+4)|0); //@line 120 "../src/h264bsd_pic_param_set.c"
 var $48=HEAP32[(($47)>>2)]; //@line 120 "../src/h264bsd_pic_param_set.c"
 var $49=($48>>>0)>=32; //@line 120 "../src/h264bsd_pic_param_set.c"
 if($49){label=12;break;}else{label=13;break;} //@line 120 "../src/h264bsd_pic_param_set.c"
 case 12: 
 var $51=HEAP32[((_stderr)>>2)]; //@line 122 "../src/h264bsd_pic_param_set.c"
 var $52=_fprintf($51,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=6288,tempVarArgs)); STACKTOP=tempVarArgs; //@line 122 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 123 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 123 "../src/h264bsd_pic_param_set.c"
 case 13: 
 var $54=$2; //@line 127 "../src/h264bsd_pic_param_set.c"
 var $55=_h264bsdGetBits($54,1); //@line 127 "../src/h264bsd_pic_param_set.c"
 $tmp=$55; //@line 127 "../src/h264bsd_pic_param_set.c"
 var $56=$tmp; //@line 128 "../src/h264bsd_pic_param_set.c"
 var $57=($56|0)!=0; //@line 128 "../src/h264bsd_pic_param_set.c"
 if($57){label=14;break;}else{label=15;break;} //@line 128 "../src/h264bsd_pic_param_set.c"
 case 14: 
 var $59=HEAP32[((_stderr)>>2)]; //@line 130 "../src/h264bsd_pic_param_set.c"
 var $60=_fprintf($59,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5792,tempVarArgs)); STACKTOP=tempVarArgs; //@line 130 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 131 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 131 "../src/h264bsd_pic_param_set.c"
 case 15: 
 var $62=$2; //@line 134 "../src/h264bsd_pic_param_set.c"
 var $63=_h264bsdGetBits($62,1); //@line 134 "../src/h264bsd_pic_param_set.c"
 $tmp=$63; //@line 134 "../src/h264bsd_pic_param_set.c"
 var $64=$tmp; //@line 135 "../src/h264bsd_pic_param_set.c"
 var $65=($64|0)==-1; //@line 135 "../src/h264bsd_pic_param_set.c"
 if($65){label=16;break;}else{label=17;break;} //@line 135 "../src/h264bsd_pic_param_set.c"
 case 16: 
 $1=1; //@line 136 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 136 "../src/h264bsd_pic_param_set.c"
 case 17: 
 var $68=$tmp; //@line 137 "../src/h264bsd_pic_param_set.c"
 var $69=($68|0)==1; //@line 137 "../src/h264bsd_pic_param_set.c"
 var $70=($69?1:0); //@line 137 "../src/h264bsd_pic_param_set.c"
 var $71=$3; //@line 137 "../src/h264bsd_pic_param_set.c"
 var $72=(($71+8)|0); //@line 137 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($72)>>2)]=$70; //@line 137 "../src/h264bsd_pic_param_set.c"
 var $73=$2; //@line 140 "../src/h264bsd_pic_param_set.c"
 var $74=_h264bsdDecodeExpGolombUnsigned($73,$value); //@line 140 "../src/h264bsd_pic_param_set.c"
 $tmp=$74; //@line 140 "../src/h264bsd_pic_param_set.c"
 var $75=$tmp; //@line 141 "../src/h264bsd_pic_param_set.c"
 var $76=($75|0)!=0; //@line 141 "../src/h264bsd_pic_param_set.c"
 if($76){label=18;break;}else{label=19;break;} //@line 141 "../src/h264bsd_pic_param_set.c"
 case 18: 
 var $78=$tmp; //@line 142 "../src/h264bsd_pic_param_set.c"
 $1=$78; //@line 142 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 142 "../src/h264bsd_pic_param_set.c"
 case 19: 
 var $80=HEAP32[(($value)>>2)]; //@line 143 "../src/h264bsd_pic_param_set.c"
 var $81=((($80)+(1))|0); //@line 143 "../src/h264bsd_pic_param_set.c"
 var $82=$3; //@line 143 "../src/h264bsd_pic_param_set.c"
 var $83=(($82+12)|0); //@line 143 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($83)>>2)]=$81; //@line 143 "../src/h264bsd_pic_param_set.c"
 var $84=$3; //@line 144 "../src/h264bsd_pic_param_set.c"
 var $85=(($84+12)|0); //@line 144 "../src/h264bsd_pic_param_set.c"
 var $86=HEAP32[(($85)>>2)]; //@line 144 "../src/h264bsd_pic_param_set.c"
 var $87=($86>>>0)>8; //@line 144 "../src/h264bsd_pic_param_set.c"
 if($87){label=20;break;}else{label=21;break;} //@line 144 "../src/h264bsd_pic_param_set.c"
 case 20: 
 var $89=HEAP32[((_stderr)>>2)]; //@line 146 "../src/h264bsd_pic_param_set.c"
 var $90=_fprintf($89,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5352,tempVarArgs)); STACKTOP=tempVarArgs; //@line 146 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 147 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 147 "../src/h264bsd_pic_param_set.c"
 case 21: 
 var $92=$3; //@line 151 "../src/h264bsd_pic_param_set.c"
 var $93=(($92+12)|0); //@line 151 "../src/h264bsd_pic_param_set.c"
 var $94=HEAP32[(($93)>>2)]; //@line 151 "../src/h264bsd_pic_param_set.c"
 var $95=($94>>>0)>1; //@line 151 "../src/h264bsd_pic_param_set.c"
 if($95){label=22;break;}else{label=73;break;} //@line 151 "../src/h264bsd_pic_param_set.c"
 case 22: 
 var $97=$2; //@line 153 "../src/h264bsd_pic_param_set.c"
 var $98=$3; //@line 153 "../src/h264bsd_pic_param_set.c"
 var $99=(($98+16)|0); //@line 153 "../src/h264bsd_pic_param_set.c"
 var $100=_h264bsdDecodeExpGolombUnsigned($97,$99); //@line 153 "../src/h264bsd_pic_param_set.c"
 $tmp=$100; //@line 153 "../src/h264bsd_pic_param_set.c"
 var $101=$tmp; //@line 155 "../src/h264bsd_pic_param_set.c"
 var $102=($101|0)!=0; //@line 155 "../src/h264bsd_pic_param_set.c"
 if($102){label=23;break;}else{label=24;break;} //@line 155 "../src/h264bsd_pic_param_set.c"
 case 23: 
 var $104=$tmp; //@line 156 "../src/h264bsd_pic_param_set.c"
 $1=$104; //@line 156 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 156 "../src/h264bsd_pic_param_set.c"
 case 24: 
 var $106=$3; //@line 157 "../src/h264bsd_pic_param_set.c"
 var $107=(($106+16)|0); //@line 157 "../src/h264bsd_pic_param_set.c"
 var $108=HEAP32[(($107)>>2)]; //@line 157 "../src/h264bsd_pic_param_set.c"
 var $109=($108>>>0)>6; //@line 157 "../src/h264bsd_pic_param_set.c"
 if($109){label=25;break;}else{label=26;break;} //@line 157 "../src/h264bsd_pic_param_set.c"
 case 25: 
 var $111=HEAP32[((_stderr)>>2)]; //@line 159 "../src/h264bsd_pic_param_set.c"
 var $112=_fprintf($111,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5032,tempVarArgs)); STACKTOP=tempVarArgs; //@line 159 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 160 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 160 "../src/h264bsd_pic_param_set.c"
 case 26: 
 var $114=$3; //@line 163 "../src/h264bsd_pic_param_set.c"
 var $115=(($114+16)|0); //@line 163 "../src/h264bsd_pic_param_set.c"
 var $116=HEAP32[(($115)>>2)]; //@line 163 "../src/h264bsd_pic_param_set.c"
 var $117=($116|0)==0; //@line 163 "../src/h264bsd_pic_param_set.c"
 if($117){label=27;break;}else{label=36;break;} //@line 163 "../src/h264bsd_pic_param_set.c"
 case 27: 
 var $119=$3; //@line 165 "../src/h264bsd_pic_param_set.c"
 var $120=(($119+12)|0); //@line 165 "../src/h264bsd_pic_param_set.c"
 var $121=HEAP32[(($120)>>2)]; //@line 165 "../src/h264bsd_pic_param_set.c"
 var $122=($121<<2); //@line 165 "../src/h264bsd_pic_param_set.c"
 var $123=_malloc($122); //@line 165 "../src/h264bsd_pic_param_set.c"
 var $124=$123; //@line 165 "../src/h264bsd_pic_param_set.c"
 var $125=$3; //@line 165 "../src/h264bsd_pic_param_set.c"
 var $126=(($125+20)|0); //@line 165 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($126)>>2)]=$124; //@line 165 "../src/h264bsd_pic_param_set.c"
 var $127=$3; //@line 167 "../src/h264bsd_pic_param_set.c"
 var $128=(($127+20)|0); //@line 167 "../src/h264bsd_pic_param_set.c"
 var $129=HEAP32[(($128)>>2)]; //@line 167 "../src/h264bsd_pic_param_set.c"
 var $130=($129|0)==0; //@line 167 "../src/h264bsd_pic_param_set.c"
 if($130){label=28;break;}else{label=29;break;} //@line 167 "../src/h264bsd_pic_param_set.c"
 case 28: 
 $1=65535; //@line 168 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 168 "../src/h264bsd_pic_param_set.c"
 case 29: 
 $i=0; //@line 169 "../src/h264bsd_pic_param_set.c"
 label=30;break; //@line 169 "../src/h264bsd_pic_param_set.c"
 case 30: 
 var $134=$i; //@line 169 "../src/h264bsd_pic_param_set.c"
 var $135=$3; //@line 169 "../src/h264bsd_pic_param_set.c"
 var $136=(($135+12)|0); //@line 169 "../src/h264bsd_pic_param_set.c"
 var $137=HEAP32[(($136)>>2)]; //@line 169 "../src/h264bsd_pic_param_set.c"
 var $138=($134>>>0)<($137>>>0); //@line 169 "../src/h264bsd_pic_param_set.c"
 if($138){label=31;break;}else{label=35;break;} //@line 169 "../src/h264bsd_pic_param_set.c"
 case 31: 
 var $140=$2; //@line 171 "../src/h264bsd_pic_param_set.c"
 var $141=_h264bsdDecodeExpGolombUnsigned($140,$value); //@line 171 "../src/h264bsd_pic_param_set.c"
 $tmp=$141; //@line 171 "../src/h264bsd_pic_param_set.c"
 var $142=$tmp; //@line 172 "../src/h264bsd_pic_param_set.c"
 var $143=($142|0)!=0; //@line 172 "../src/h264bsd_pic_param_set.c"
 if($143){label=32;break;}else{label=33;break;} //@line 172 "../src/h264bsd_pic_param_set.c"
 case 32: 
 var $145=$tmp; //@line 173 "../src/h264bsd_pic_param_set.c"
 $1=$145; //@line 173 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 173 "../src/h264bsd_pic_param_set.c"
 case 33: 
 var $147=HEAP32[(($value)>>2)]; //@line 174 "../src/h264bsd_pic_param_set.c"
 var $148=((($147)+(1))|0); //@line 174 "../src/h264bsd_pic_param_set.c"
 var $149=$i; //@line 174 "../src/h264bsd_pic_param_set.c"
 var $150=$3; //@line 174 "../src/h264bsd_pic_param_set.c"
 var $151=(($150+20)|0); //@line 174 "../src/h264bsd_pic_param_set.c"
 var $152=HEAP32[(($151)>>2)]; //@line 174 "../src/h264bsd_pic_param_set.c"
 var $153=(($152+($149<<2))|0); //@line 174 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($153)>>2)]=$148; //@line 174 "../src/h264bsd_pic_param_set.c"
 label=34;break; //@line 176 "../src/h264bsd_pic_param_set.c"
 case 34: 
 var $155=$i; //@line 169 "../src/h264bsd_pic_param_set.c"
 var $156=((($155)+(1))|0); //@line 169 "../src/h264bsd_pic_param_set.c"
 $i=$156; //@line 169 "../src/h264bsd_pic_param_set.c"
 label=30;break; //@line 169 "../src/h264bsd_pic_param_set.c"
 case 35: 
 label=72;break; //@line 177 "../src/h264bsd_pic_param_set.c"
 case 36: 
 var $159=$3; //@line 178 "../src/h264bsd_pic_param_set.c"
 var $160=(($159+16)|0); //@line 178 "../src/h264bsd_pic_param_set.c"
 var $161=HEAP32[(($160)>>2)]; //@line 178 "../src/h264bsd_pic_param_set.c"
 var $162=($161|0)==2; //@line 178 "../src/h264bsd_pic_param_set.c"
 if($162){label=37;break;}else{label=49;break;} //@line 178 "../src/h264bsd_pic_param_set.c"
 case 37: 
 var $164=$3; //@line 180 "../src/h264bsd_pic_param_set.c"
 var $165=(($164+12)|0); //@line 180 "../src/h264bsd_pic_param_set.c"
 var $166=HEAP32[(($165)>>2)]; //@line 180 "../src/h264bsd_pic_param_set.c"
 var $167=((($166)-(1))|0); //@line 180 "../src/h264bsd_pic_param_set.c"
 var $168=($167<<2); //@line 180 "../src/h264bsd_pic_param_set.c"
 var $169=_malloc($168); //@line 180 "../src/h264bsd_pic_param_set.c"
 var $170=$169; //@line 180 "../src/h264bsd_pic_param_set.c"
 var $171=$3; //@line 180 "../src/h264bsd_pic_param_set.c"
 var $172=(($171+24)|0); //@line 180 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($172)>>2)]=$170; //@line 180 "../src/h264bsd_pic_param_set.c"
 var $173=$3; //@line 182 "../src/h264bsd_pic_param_set.c"
 var $174=(($173+12)|0); //@line 182 "../src/h264bsd_pic_param_set.c"
 var $175=HEAP32[(($174)>>2)]; //@line 182 "../src/h264bsd_pic_param_set.c"
 var $176=((($175)-(1))|0); //@line 182 "../src/h264bsd_pic_param_set.c"
 var $177=($176<<2); //@line 182 "../src/h264bsd_pic_param_set.c"
 var $178=_malloc($177); //@line 182 "../src/h264bsd_pic_param_set.c"
 var $179=$178; //@line 182 "../src/h264bsd_pic_param_set.c"
 var $180=$3; //@line 182 "../src/h264bsd_pic_param_set.c"
 var $181=(($180+28)|0); //@line 182 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($181)>>2)]=$179; //@line 182 "../src/h264bsd_pic_param_set.c"
 var $182=$3; //@line 184 "../src/h264bsd_pic_param_set.c"
 var $183=(($182+24)|0); //@line 184 "../src/h264bsd_pic_param_set.c"
 var $184=HEAP32[(($183)>>2)]; //@line 184 "../src/h264bsd_pic_param_set.c"
 var $185=($184|0)==0; //@line 184 "../src/h264bsd_pic_param_set.c"
 if($185){label=39;break;}else{label=38;break;} //@line 184 "../src/h264bsd_pic_param_set.c"
 case 38: 
 var $187=$3; //@line 184 "../src/h264bsd_pic_param_set.c"
 var $188=(($187+28)|0); //@line 184 "../src/h264bsd_pic_param_set.c"
 var $189=HEAP32[(($188)>>2)]; //@line 184 "../src/h264bsd_pic_param_set.c"
 var $190=($189|0)==0; //@line 184 "../src/h264bsd_pic_param_set.c"
 if($190){label=39;break;}else{label=40;break;} //@line 184 "../src/h264bsd_pic_param_set.c"
 case 39: 
 $1=65535; //@line 186 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 186 "../src/h264bsd_pic_param_set.c"
 case 40: 
 $i=0; //@line 187 "../src/h264bsd_pic_param_set.c"
 label=41;break; //@line 187 "../src/h264bsd_pic_param_set.c"
 case 41: 
 var $194=$i; //@line 187 "../src/h264bsd_pic_param_set.c"
 var $195=$3; //@line 187 "../src/h264bsd_pic_param_set.c"
 var $196=(($195+12)|0); //@line 187 "../src/h264bsd_pic_param_set.c"
 var $197=HEAP32[(($196)>>2)]; //@line 187 "../src/h264bsd_pic_param_set.c"
 var $198=((($197)-(1))|0); //@line 187 "../src/h264bsd_pic_param_set.c"
 var $199=($194>>>0)<($198>>>0); //@line 187 "../src/h264bsd_pic_param_set.c"
 if($199){label=42;break;}else{label=48;break;} //@line 187 "../src/h264bsd_pic_param_set.c"
 case 42: 
 var $201=$2; //@line 189 "../src/h264bsd_pic_param_set.c"
 var $202=_h264bsdDecodeExpGolombUnsigned($201,$value); //@line 189 "../src/h264bsd_pic_param_set.c"
 $tmp=$202; //@line 189 "../src/h264bsd_pic_param_set.c"
 var $203=$tmp; //@line 190 "../src/h264bsd_pic_param_set.c"
 var $204=($203|0)!=0; //@line 190 "../src/h264bsd_pic_param_set.c"
 if($204){label=43;break;}else{label=44;break;} //@line 190 "../src/h264bsd_pic_param_set.c"
 case 43: 
 var $206=$tmp; //@line 191 "../src/h264bsd_pic_param_set.c"
 $1=$206; //@line 191 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 191 "../src/h264bsd_pic_param_set.c"
 case 44: 
 var $208=HEAP32[(($value)>>2)]; //@line 192 "../src/h264bsd_pic_param_set.c"
 var $209=$i; //@line 192 "../src/h264bsd_pic_param_set.c"
 var $210=$3; //@line 192 "../src/h264bsd_pic_param_set.c"
 var $211=(($210+24)|0); //@line 192 "../src/h264bsd_pic_param_set.c"
 var $212=HEAP32[(($211)>>2)]; //@line 192 "../src/h264bsd_pic_param_set.c"
 var $213=(($212+($209<<2))|0); //@line 192 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($213)>>2)]=$208; //@line 192 "../src/h264bsd_pic_param_set.c"
 var $214=$2; //@line 193 "../src/h264bsd_pic_param_set.c"
 var $215=_h264bsdDecodeExpGolombUnsigned($214,$value); //@line 193 "../src/h264bsd_pic_param_set.c"
 $tmp=$215; //@line 193 "../src/h264bsd_pic_param_set.c"
 var $216=$tmp; //@line 194 "../src/h264bsd_pic_param_set.c"
 var $217=($216|0)!=0; //@line 194 "../src/h264bsd_pic_param_set.c"
 if($217){label=45;break;}else{label=46;break;} //@line 194 "../src/h264bsd_pic_param_set.c"
 case 45: 
 var $219=$tmp; //@line 195 "../src/h264bsd_pic_param_set.c"
 $1=$219; //@line 195 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 195 "../src/h264bsd_pic_param_set.c"
 case 46: 
 var $221=HEAP32[(($value)>>2)]; //@line 196 "../src/h264bsd_pic_param_set.c"
 var $222=$i; //@line 196 "../src/h264bsd_pic_param_set.c"
 var $223=$3; //@line 196 "../src/h264bsd_pic_param_set.c"
 var $224=(($223+28)|0); //@line 196 "../src/h264bsd_pic_param_set.c"
 var $225=HEAP32[(($224)>>2)]; //@line 196 "../src/h264bsd_pic_param_set.c"
 var $226=(($225+($222<<2))|0); //@line 196 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($226)>>2)]=$221; //@line 196 "../src/h264bsd_pic_param_set.c"
 label=47;break; //@line 198 "../src/h264bsd_pic_param_set.c"
 case 47: 
 var $228=$i; //@line 187 "../src/h264bsd_pic_param_set.c"
 var $229=((($228)+(1))|0); //@line 187 "../src/h264bsd_pic_param_set.c"
 $i=$229; //@line 187 "../src/h264bsd_pic_param_set.c"
 label=41;break; //@line 187 "../src/h264bsd_pic_param_set.c"
 case 48: 
 label=71;break; //@line 199 "../src/h264bsd_pic_param_set.c"
 case 49: 
 var $232=$3; //@line 200 "../src/h264bsd_pic_param_set.c"
 var $233=(($232+16)|0); //@line 200 "../src/h264bsd_pic_param_set.c"
 var $234=HEAP32[(($233)>>2)]; //@line 200 "../src/h264bsd_pic_param_set.c"
 var $235=($234|0)==3; //@line 200 "../src/h264bsd_pic_param_set.c"
 if($235){label=52;break;}else{label=50;break;} //@line 200 "../src/h264bsd_pic_param_set.c"
 case 50: 
 var $237=$3; //@line 200 "../src/h264bsd_pic_param_set.c"
 var $238=(($237+16)|0); //@line 200 "../src/h264bsd_pic_param_set.c"
 var $239=HEAP32[(($238)>>2)]; //@line 200 "../src/h264bsd_pic_param_set.c"
 var $240=($239|0)==4; //@line 200 "../src/h264bsd_pic_param_set.c"
 if($240){label=52;break;}else{label=51;break;} //@line 200 "../src/h264bsd_pic_param_set.c"
 case 51: 
 var $242=$3; //@line 200 "../src/h264bsd_pic_param_set.c"
 var $243=(($242+16)|0); //@line 200 "../src/h264bsd_pic_param_set.c"
 var $244=HEAP32[(($243)>>2)]; //@line 200 "../src/h264bsd_pic_param_set.c"
 var $245=($244|0)==5; //@line 200 "../src/h264bsd_pic_param_set.c"
 if($245){label=52;break;}else{label=57;break;} //@line 200 "../src/h264bsd_pic_param_set.c"
 case 52: 
 var $247=$2; //@line 204 "../src/h264bsd_pic_param_set.c"
 var $248=_h264bsdGetBits($247,1); //@line 204 "../src/h264bsd_pic_param_set.c"
 $tmp=$248; //@line 204 "../src/h264bsd_pic_param_set.c"
 var $249=$tmp; //@line 205 "../src/h264bsd_pic_param_set.c"
 var $250=($249|0)==-1; //@line 205 "../src/h264bsd_pic_param_set.c"
 if($250){label=53;break;}else{label=54;break;} //@line 205 "../src/h264bsd_pic_param_set.c"
 case 53: 
 $1=1; //@line 206 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 206 "../src/h264bsd_pic_param_set.c"
 case 54: 
 var $253=$tmp; //@line 207 "../src/h264bsd_pic_param_set.c"
 var $254=($253|0)==1; //@line 207 "../src/h264bsd_pic_param_set.c"
 var $255=($254?1:0); //@line 207 "../src/h264bsd_pic_param_set.c"
 var $256=$3; //@line 207 "../src/h264bsd_pic_param_set.c"
 var $257=(($256+32)|0); //@line 207 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($257)>>2)]=$255; //@line 207 "../src/h264bsd_pic_param_set.c"
 var $258=$2; //@line 209 "../src/h264bsd_pic_param_set.c"
 var $259=_h264bsdDecodeExpGolombUnsigned($258,$value); //@line 209 "../src/h264bsd_pic_param_set.c"
 $tmp=$259; //@line 209 "../src/h264bsd_pic_param_set.c"
 var $260=$tmp; //@line 210 "../src/h264bsd_pic_param_set.c"
 var $261=($260|0)!=0; //@line 210 "../src/h264bsd_pic_param_set.c"
 if($261){label=55;break;}else{label=56;break;} //@line 210 "../src/h264bsd_pic_param_set.c"
 case 55: 
 var $263=$tmp; //@line 211 "../src/h264bsd_pic_param_set.c"
 $1=$263; //@line 211 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 211 "../src/h264bsd_pic_param_set.c"
 case 56: 
 var $265=HEAP32[(($value)>>2)]; //@line 212 "../src/h264bsd_pic_param_set.c"
 var $266=((($265)+(1))|0); //@line 212 "../src/h264bsd_pic_param_set.c"
 var $267=$3; //@line 212 "../src/h264bsd_pic_param_set.c"
 var $268=(($267+36)|0); //@line 212 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($268)>>2)]=$266; //@line 212 "../src/h264bsd_pic_param_set.c"
 label=70;break; //@line 214 "../src/h264bsd_pic_param_set.c"
 case 57: 
 var $270=$3; //@line 215 "../src/h264bsd_pic_param_set.c"
 var $271=(($270+16)|0); //@line 215 "../src/h264bsd_pic_param_set.c"
 var $272=HEAP32[(($271)>>2)]; //@line 215 "../src/h264bsd_pic_param_set.c"
 var $273=($272|0)==6; //@line 215 "../src/h264bsd_pic_param_set.c"
 if($273){label=58;break;}else{label=69;break;} //@line 215 "../src/h264bsd_pic_param_set.c"
 case 58: 
 var $275=$2; //@line 217 "../src/h264bsd_pic_param_set.c"
 var $276=_h264bsdDecodeExpGolombUnsigned($275,$value); //@line 217 "../src/h264bsd_pic_param_set.c"
 $tmp=$276; //@line 217 "../src/h264bsd_pic_param_set.c"
 var $277=$tmp; //@line 218 "../src/h264bsd_pic_param_set.c"
 var $278=($277|0)!=0; //@line 218 "../src/h264bsd_pic_param_set.c"
 if($278){label=59;break;}else{label=60;break;} //@line 218 "../src/h264bsd_pic_param_set.c"
 case 59: 
 var $280=$tmp; //@line 219 "../src/h264bsd_pic_param_set.c"
 $1=$280; //@line 219 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 219 "../src/h264bsd_pic_param_set.c"
 case 60: 
 var $282=HEAP32[(($value)>>2)]; //@line 220 "../src/h264bsd_pic_param_set.c"
 var $283=((($282)+(1))|0); //@line 220 "../src/h264bsd_pic_param_set.c"
 var $284=$3; //@line 220 "../src/h264bsd_pic_param_set.c"
 var $285=(($284+40)|0); //@line 220 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($285)>>2)]=$283; //@line 220 "../src/h264bsd_pic_param_set.c"
 var $286=$3; //@line 222 "../src/h264bsd_pic_param_set.c"
 var $287=(($286+40)|0); //@line 222 "../src/h264bsd_pic_param_set.c"
 var $288=HEAP32[(($287)>>2)]; //@line 222 "../src/h264bsd_pic_param_set.c"
 var $289=($288<<2); //@line 222 "../src/h264bsd_pic_param_set.c"
 var $290=_malloc($289); //@line 222 "../src/h264bsd_pic_param_set.c"
 var $291=$290; //@line 222 "../src/h264bsd_pic_param_set.c"
 var $292=$3; //@line 222 "../src/h264bsd_pic_param_set.c"
 var $293=(($292+44)|0); //@line 222 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($293)>>2)]=$291; //@line 222 "../src/h264bsd_pic_param_set.c"
 var $294=$3; //@line 224 "../src/h264bsd_pic_param_set.c"
 var $295=(($294+44)|0); //@line 224 "../src/h264bsd_pic_param_set.c"
 var $296=HEAP32[(($295)>>2)]; //@line 224 "../src/h264bsd_pic_param_set.c"
 var $297=($296|0)==0; //@line 224 "../src/h264bsd_pic_param_set.c"
 if($297){label=61;break;}else{label=62;break;} //@line 224 "../src/h264bsd_pic_param_set.c"
 case 61: 
 $1=65535; //@line 225 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 225 "../src/h264bsd_pic_param_set.c"
 case 62: 
 var $300=$3; //@line 229 "../src/h264bsd_pic_param_set.c"
 var $301=(($300+12)|0); //@line 229 "../src/h264bsd_pic_param_set.c"
 var $302=HEAP32[(($301)>>2)]; //@line 229 "../src/h264bsd_pic_param_set.c"
 var $303=((($302)-(1))|0); //@line 229 "../src/h264bsd_pic_param_set.c"
 var $304=((19344+($303<<2))|0); //@line 229 "../src/h264bsd_pic_param_set.c"
 var $305=HEAP32[(($304)>>2)]; //@line 229 "../src/h264bsd_pic_param_set.c"
 $tmp=$305; //@line 229 "../src/h264bsd_pic_param_set.c"
 $i=0; //@line 231 "../src/h264bsd_pic_param_set.c"
 label=63;break; //@line 231 "../src/h264bsd_pic_param_set.c"
 case 63: 
 var $307=$i; //@line 231 "../src/h264bsd_pic_param_set.c"
 var $308=$3; //@line 231 "../src/h264bsd_pic_param_set.c"
 var $309=(($308+40)|0); //@line 231 "../src/h264bsd_pic_param_set.c"
 var $310=HEAP32[(($309)>>2)]; //@line 231 "../src/h264bsd_pic_param_set.c"
 var $311=($307>>>0)<($310>>>0); //@line 231 "../src/h264bsd_pic_param_set.c"
 if($311){label=64;break;}else{label=68;break;} //@line 231 "../src/h264bsd_pic_param_set.c"
 case 64: 
 var $313=$2; //@line 233 "../src/h264bsd_pic_param_set.c"
 var $314=$tmp; //@line 233 "../src/h264bsd_pic_param_set.c"
 var $315=_h264bsdGetBits($313,$314); //@line 233 "../src/h264bsd_pic_param_set.c"
 var $316=$i; //@line 233 "../src/h264bsd_pic_param_set.c"
 var $317=$3; //@line 233 "../src/h264bsd_pic_param_set.c"
 var $318=(($317+44)|0); //@line 233 "../src/h264bsd_pic_param_set.c"
 var $319=HEAP32[(($318)>>2)]; //@line 233 "../src/h264bsd_pic_param_set.c"
 var $320=(($319+($316<<2))|0); //@line 233 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($320)>>2)]=$315; //@line 233 "../src/h264bsd_pic_param_set.c"
 var $321=$i; //@line 234 "../src/h264bsd_pic_param_set.c"
 var $322=$3; //@line 234 "../src/h264bsd_pic_param_set.c"
 var $323=(($322+44)|0); //@line 234 "../src/h264bsd_pic_param_set.c"
 var $324=HEAP32[(($323)>>2)]; //@line 234 "../src/h264bsd_pic_param_set.c"
 var $325=(($324+($321<<2))|0); //@line 234 "../src/h264bsd_pic_param_set.c"
 var $326=HEAP32[(($325)>>2)]; //@line 234 "../src/h264bsd_pic_param_set.c"
 var $327=$3; //@line 234 "../src/h264bsd_pic_param_set.c"
 var $328=(($327+12)|0); //@line 234 "../src/h264bsd_pic_param_set.c"
 var $329=HEAP32[(($328)>>2)]; //@line 234 "../src/h264bsd_pic_param_set.c"
 var $330=($326>>>0)>=($329>>>0); //@line 234 "../src/h264bsd_pic_param_set.c"
 if($330){label=65;break;}else{label=66;break;} //@line 234 "../src/h264bsd_pic_param_set.c"
 case 65: 
 var $332=HEAP32[((_stderr)>>2)]; //@line 237 "../src/h264bsd_pic_param_set.c"
 var $333=_fprintf($332,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4648,tempVarArgs)); STACKTOP=tempVarArgs; //@line 237 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 238 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 238 "../src/h264bsd_pic_param_set.c"
 case 66: 
 label=67;break; //@line 240 "../src/h264bsd_pic_param_set.c"
 case 67: 
 var $336=$i; //@line 231 "../src/h264bsd_pic_param_set.c"
 var $337=((($336)+(1))|0); //@line 231 "../src/h264bsd_pic_param_set.c"
 $i=$337; //@line 231 "../src/h264bsd_pic_param_set.c"
 label=63;break; //@line 231 "../src/h264bsd_pic_param_set.c"
 case 68: 
 label=69;break; //@line 241 "../src/h264bsd_pic_param_set.c"
 case 69: 
 label=70;break;
 case 70: 
 label=71;break;
 case 71: 
 label=72;break;
 case 72: 
 label=73;break; //@line 242 "../src/h264bsd_pic_param_set.c"
 case 73: 
 var $344=$2; //@line 245 "../src/h264bsd_pic_param_set.c"
 var $345=_h264bsdDecodeExpGolombUnsigned($344,$value); //@line 245 "../src/h264bsd_pic_param_set.c"
 $tmp=$345; //@line 245 "../src/h264bsd_pic_param_set.c"
 var $346=$tmp; //@line 246 "../src/h264bsd_pic_param_set.c"
 var $347=($346|0)!=0; //@line 246 "../src/h264bsd_pic_param_set.c"
 if($347){label=74;break;}else{label=75;break;} //@line 246 "../src/h264bsd_pic_param_set.c"
 case 74: 
 var $349=$tmp; //@line 247 "../src/h264bsd_pic_param_set.c"
 $1=$349; //@line 247 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 247 "../src/h264bsd_pic_param_set.c"
 case 75: 
 var $351=HEAP32[(($value)>>2)]; //@line 248 "../src/h264bsd_pic_param_set.c"
 var $352=($351>>>0)>31; //@line 248 "../src/h264bsd_pic_param_set.c"
 if($352){label=76;break;}else{label=77;break;} //@line 248 "../src/h264bsd_pic_param_set.c"
 case 76: 
 var $354=HEAP32[((_stderr)>>2)]; //@line 250 "../src/h264bsd_pic_param_set.c"
 var $355=_fprintf($354,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=12392,tempVarArgs)); STACKTOP=tempVarArgs; //@line 250 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 251 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 251 "../src/h264bsd_pic_param_set.c"
 case 77: 
 var $357=HEAP32[(($value)>>2)]; //@line 253 "../src/h264bsd_pic_param_set.c"
 var $358=((($357)+(1))|0); //@line 253 "../src/h264bsd_pic_param_set.c"
 var $359=$3; //@line 253 "../src/h264bsd_pic_param_set.c"
 var $360=(($359+48)|0); //@line 253 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($360)>>2)]=$358; //@line 253 "../src/h264bsd_pic_param_set.c"
 var $361=$2; //@line 256 "../src/h264bsd_pic_param_set.c"
 var $362=_h264bsdDecodeExpGolombUnsigned($361,$value); //@line 256 "../src/h264bsd_pic_param_set.c"
 $tmp=$362; //@line 256 "../src/h264bsd_pic_param_set.c"
 var $363=$tmp; //@line 257 "../src/h264bsd_pic_param_set.c"
 var $364=($363|0)!=0; //@line 257 "../src/h264bsd_pic_param_set.c"
 if($364){label=78;break;}else{label=79;break;} //@line 257 "../src/h264bsd_pic_param_set.c"
 case 78: 
 var $366=$tmp; //@line 258 "../src/h264bsd_pic_param_set.c"
 $1=$366; //@line 258 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 258 "../src/h264bsd_pic_param_set.c"
 case 79: 
 var $368=HEAP32[(($value)>>2)]; //@line 259 "../src/h264bsd_pic_param_set.c"
 var $369=($368>>>0)>31; //@line 259 "../src/h264bsd_pic_param_set.c"
 if($369){label=80;break;}else{label=81;break;} //@line 259 "../src/h264bsd_pic_param_set.c"
 case 80: 
 var $371=HEAP32[((_stderr)>>2)]; //@line 261 "../src/h264bsd_pic_param_set.c"
 var $372=_fprintf($371,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=12064,tempVarArgs)); STACKTOP=tempVarArgs; //@line 261 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 262 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 262 "../src/h264bsd_pic_param_set.c"
 case 81: 
 var $374=$2; //@line 266 "../src/h264bsd_pic_param_set.c"
 var $375=_h264bsdGetBits($374,1); //@line 266 "../src/h264bsd_pic_param_set.c"
 $tmp=$375; //@line 266 "../src/h264bsd_pic_param_set.c"
 var $376=$tmp; //@line 267 "../src/h264bsd_pic_param_set.c"
 var $377=($376|0)!=0; //@line 267 "../src/h264bsd_pic_param_set.c"
 if($377){label=82;break;}else{label=83;break;} //@line 267 "../src/h264bsd_pic_param_set.c"
 case 82: 
 var $379=HEAP32[((_stderr)>>2)]; //@line 269 "../src/h264bsd_pic_param_set.c"
 var $380=_fprintf($379,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11600,tempVarArgs)); STACKTOP=tempVarArgs; //@line 269 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 270 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 270 "../src/h264bsd_pic_param_set.c"
 case 83: 
 var $382=$2; //@line 274 "../src/h264bsd_pic_param_set.c"
 var $383=_h264bsdGetBits($382,2); //@line 274 "../src/h264bsd_pic_param_set.c"
 $tmp=$383; //@line 274 "../src/h264bsd_pic_param_set.c"
 var $384=$tmp; //@line 275 "../src/h264bsd_pic_param_set.c"
 var $385=($384>>>0)>2; //@line 275 "../src/h264bsd_pic_param_set.c"
 if($385){label=84;break;}else{label=85;break;} //@line 275 "../src/h264bsd_pic_param_set.c"
 case 84: 
 var $387=HEAP32[((_stderr)>>2)]; //@line 277 "../src/h264bsd_pic_param_set.c"
 var $388=_fprintf($387,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11232,tempVarArgs)); STACKTOP=tempVarArgs; //@line 277 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 278 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 278 "../src/h264bsd_pic_param_set.c"
 case 85: 
 var $390=$2; //@line 282 "../src/h264bsd_pic_param_set.c"
 var $391=_h264bsdDecodeExpGolombSigned($390,$itmp); //@line 282 "../src/h264bsd_pic_param_set.c"
 $tmp=$391; //@line 282 "../src/h264bsd_pic_param_set.c"
 var $392=$tmp; //@line 283 "../src/h264bsd_pic_param_set.c"
 var $393=($392|0)!=0; //@line 283 "../src/h264bsd_pic_param_set.c"
 if($393){label=86;break;}else{label=87;break;} //@line 283 "../src/h264bsd_pic_param_set.c"
 case 86: 
 var $395=$tmp; //@line 284 "../src/h264bsd_pic_param_set.c"
 $1=$395; //@line 284 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 284 "../src/h264bsd_pic_param_set.c"
 case 87: 
 var $397=HEAP32[(($itmp)>>2)]; //@line 285 "../src/h264bsd_pic_param_set.c"
 var $398=($397|0)<-26; //@line 285 "../src/h264bsd_pic_param_set.c"
 if($398){label=89;break;}else{label=88;break;} //@line 285 "../src/h264bsd_pic_param_set.c"
 case 88: 
 var $400=HEAP32[(($itmp)>>2)]; //@line 285 "../src/h264bsd_pic_param_set.c"
 var $401=($400|0)>25; //@line 285 "../src/h264bsd_pic_param_set.c"
 if($401){label=89;break;}else{label=90;break;} //@line 285 "../src/h264bsd_pic_param_set.c"
 case 89: 
 var $403=HEAP32[((_stderr)>>2)]; //@line 287 "../src/h264bsd_pic_param_set.c"
 var $404=_fprintf($403,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=10744,tempVarArgs)); STACKTOP=tempVarArgs; //@line 287 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 288 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 288 "../src/h264bsd_pic_param_set.c"
 case 90: 
 var $406=HEAP32[(($itmp)>>2)]; //@line 290 "../src/h264bsd_pic_param_set.c"
 var $407=((($406)+(26))|0); //@line 290 "../src/h264bsd_pic_param_set.c"
 var $408=$3; //@line 290 "../src/h264bsd_pic_param_set.c"
 var $409=(($408+52)|0); //@line 290 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($409)>>2)]=$407; //@line 290 "../src/h264bsd_pic_param_set.c"
 var $410=$2; //@line 293 "../src/h264bsd_pic_param_set.c"
 var $411=_h264bsdDecodeExpGolombSigned($410,$itmp); //@line 293 "../src/h264bsd_pic_param_set.c"
 $tmp=$411; //@line 293 "../src/h264bsd_pic_param_set.c"
 var $412=$tmp; //@line 294 "../src/h264bsd_pic_param_set.c"
 var $413=($412|0)!=0; //@line 294 "../src/h264bsd_pic_param_set.c"
 if($413){label=91;break;}else{label=92;break;} //@line 294 "../src/h264bsd_pic_param_set.c"
 case 91: 
 var $415=$tmp; //@line 295 "../src/h264bsd_pic_param_set.c"
 $1=$415; //@line 295 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 295 "../src/h264bsd_pic_param_set.c"
 case 92: 
 var $417=HEAP32[(($itmp)>>2)]; //@line 296 "../src/h264bsd_pic_param_set.c"
 var $418=($417|0)<-26; //@line 296 "../src/h264bsd_pic_param_set.c"
 if($418){label=94;break;}else{label=93;break;} //@line 296 "../src/h264bsd_pic_param_set.c"
 case 93: 
 var $420=HEAP32[(($itmp)>>2)]; //@line 296 "../src/h264bsd_pic_param_set.c"
 var $421=($420|0)>25; //@line 296 "../src/h264bsd_pic_param_set.c"
 if($421){label=94;break;}else{label=95;break;} //@line 296 "../src/h264bsd_pic_param_set.c"
 case 94: 
 var $423=HEAP32[((_stderr)>>2)]; //@line 298 "../src/h264bsd_pic_param_set.c"
 var $424=_fprintf($423,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=10344,tempVarArgs)); STACKTOP=tempVarArgs; //@line 298 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 299 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 299 "../src/h264bsd_pic_param_set.c"
 case 95: 
 var $426=$2; //@line 302 "../src/h264bsd_pic_param_set.c"
 var $427=_h264bsdDecodeExpGolombSigned($426,$itmp); //@line 302 "../src/h264bsd_pic_param_set.c"
 $tmp=$427; //@line 302 "../src/h264bsd_pic_param_set.c"
 var $428=$tmp; //@line 303 "../src/h264bsd_pic_param_set.c"
 var $429=($428|0)!=0; //@line 303 "../src/h264bsd_pic_param_set.c"
 if($429){label=96;break;}else{label=97;break;} //@line 303 "../src/h264bsd_pic_param_set.c"
 case 96: 
 var $431=$tmp; //@line 304 "../src/h264bsd_pic_param_set.c"
 $1=$431; //@line 304 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 304 "../src/h264bsd_pic_param_set.c"
 case 97: 
 var $433=HEAP32[(($itmp)>>2)]; //@line 305 "../src/h264bsd_pic_param_set.c"
 var $434=($433|0)<-12; //@line 305 "../src/h264bsd_pic_param_set.c"
 if($434){label=99;break;}else{label=98;break;} //@line 305 "../src/h264bsd_pic_param_set.c"
 case 98: 
 var $436=HEAP32[(($itmp)>>2)]; //@line 305 "../src/h264bsd_pic_param_set.c"
 var $437=($436|0)>12; //@line 305 "../src/h264bsd_pic_param_set.c"
 if($437){label=99;break;}else{label=100;break;} //@line 305 "../src/h264bsd_pic_param_set.c"
 case 99: 
 var $439=HEAP32[((_stderr)>>2)]; //@line 307 "../src/h264bsd_pic_param_set.c"
 var $440=_fprintf($439,8008,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=10152,tempVarArgs)); STACKTOP=tempVarArgs; //@line 307 "../src/h264bsd_pic_param_set.c"
 $1=1; //@line 308 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 308 "../src/h264bsd_pic_param_set.c"
 case 100: 
 var $442=HEAP32[(($itmp)>>2)]; //@line 310 "../src/h264bsd_pic_param_set.c"
 var $443=$3; //@line 310 "../src/h264bsd_pic_param_set.c"
 var $444=(($443+56)|0); //@line 310 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($444)>>2)]=$442; //@line 310 "../src/h264bsd_pic_param_set.c"
 var $445=$2; //@line 312 "../src/h264bsd_pic_param_set.c"
 var $446=_h264bsdGetBits($445,1); //@line 312 "../src/h264bsd_pic_param_set.c"
 $tmp=$446; //@line 312 "../src/h264bsd_pic_param_set.c"
 var $447=$tmp; //@line 313 "../src/h264bsd_pic_param_set.c"
 var $448=($447|0)==-1; //@line 313 "../src/h264bsd_pic_param_set.c"
 if($448){label=101;break;}else{label=102;break;} //@line 313 "../src/h264bsd_pic_param_set.c"
 case 101: 
 $1=1; //@line 314 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 314 "../src/h264bsd_pic_param_set.c"
 case 102: 
 var $451=$tmp; //@line 315 "../src/h264bsd_pic_param_set.c"
 var $452=($451|0)==1; //@line 315 "../src/h264bsd_pic_param_set.c"
 var $453=($452?1:0); //@line 315 "../src/h264bsd_pic_param_set.c"
 var $454=$3; //@line 315 "../src/h264bsd_pic_param_set.c"
 var $455=(($454+60)|0); //@line 315 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($455)>>2)]=$453; //@line 315 "../src/h264bsd_pic_param_set.c"
 var $456=$2; //@line 318 "../src/h264bsd_pic_param_set.c"
 var $457=_h264bsdGetBits($456,1); //@line 318 "../src/h264bsd_pic_param_set.c"
 $tmp=$457; //@line 318 "../src/h264bsd_pic_param_set.c"
 var $458=$tmp; //@line 319 "../src/h264bsd_pic_param_set.c"
 var $459=($458|0)==-1; //@line 319 "../src/h264bsd_pic_param_set.c"
 if($459){label=103;break;}else{label=104;break;} //@line 319 "../src/h264bsd_pic_param_set.c"
 case 103: 
 $1=1; //@line 320 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 320 "../src/h264bsd_pic_param_set.c"
 case 104: 
 var $462=$tmp; //@line 321 "../src/h264bsd_pic_param_set.c"
 var $463=($462|0)==1; //@line 321 "../src/h264bsd_pic_param_set.c"
 var $464=($463?1:0); //@line 321 "../src/h264bsd_pic_param_set.c"
 var $465=$3; //@line 321 "../src/h264bsd_pic_param_set.c"
 var $466=(($465+64)|0); //@line 321 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($466)>>2)]=$464; //@line 321 "../src/h264bsd_pic_param_set.c"
 var $467=$2; //@line 324 "../src/h264bsd_pic_param_set.c"
 var $468=_h264bsdGetBits($467,1); //@line 324 "../src/h264bsd_pic_param_set.c"
 $tmp=$468; //@line 324 "../src/h264bsd_pic_param_set.c"
 var $469=$tmp; //@line 325 "../src/h264bsd_pic_param_set.c"
 var $470=($469|0)==-1; //@line 325 "../src/h264bsd_pic_param_set.c"
 if($470){label=105;break;}else{label=106;break;} //@line 325 "../src/h264bsd_pic_param_set.c"
 case 105: 
 $1=1; //@line 326 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 326 "../src/h264bsd_pic_param_set.c"
 case 106: 
 var $473=$tmp; //@line 327 "../src/h264bsd_pic_param_set.c"
 var $474=($473|0)==1; //@line 327 "../src/h264bsd_pic_param_set.c"
 var $475=($474?1:0); //@line 327 "../src/h264bsd_pic_param_set.c"
 var $476=$3; //@line 327 "../src/h264bsd_pic_param_set.c"
 var $477=(($476+68)|0); //@line 327 "../src/h264bsd_pic_param_set.c"
 HEAP32[(($477)>>2)]=$475; //@line 327 "../src/h264bsd_pic_param_set.c"
 var $478=$2; //@line 330 "../src/h264bsd_pic_param_set.c"
 var $479=_h264bsdRbspTrailingBits($478); //@line 330 "../src/h264bsd_pic_param_set.c"
 $tmp=$479; //@line 330 "../src/h264bsd_pic_param_set.c"
 $1=0; //@line 333 "../src/h264bsd_pic_param_set.c"
 label=107;break; //@line 333 "../src/h264bsd_pic_param_set.c"
 case 107: 
 var $481=$1; //@line 335 "../src/h264bsd_pic_param_set.c"
 STACKTOP=sp;return $481; //@line 335 "../src/h264bsd_pic_param_set.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateChromaHor($pRef,$predPartChroma,$x0,$y0,$width,$height,$xFrac,$chromaPartWidth,$chromaPartHeight){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+144)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $c;
 var $val;
 var $ptrA;
 var $cbr;
 var $comp;
 var $block=sp;
 $1=$pRef;
 $2=$predPartChroma;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$xFrac;
 $8=$chromaPartWidth;
 $9=$chromaPartHeight;
 var $10=$2; //@line 130 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 130 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 130 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(9032,11560,130,13720); //@line 130 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 130 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 130 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 130 "../src/h264bsd_reconstruct.c"
 var $17=$8; //@line 131 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 131 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 131 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(9064,11560,131,13720); //@line 131 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 131 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 131 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 131 "../src/h264bsd_reconstruct.c"
 var $24=$9; //@line 132 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)!=0; //@line 132 "../src/h264bsd_reconstruct.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 132 "../src/h264bsd_reconstruct.c"
 case 6: 
 ___assert_fail(7984,11560,132,13720); //@line 132 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 132 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 132 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 132 "../src/h264bsd_reconstruct.c"
 var $31=$7; //@line 133 "../src/h264bsd_reconstruct.c"
 var $32=($31>>>0)<8; //@line 133 "../src/h264bsd_reconstruct.c"
 if($32){var $36=1;label=9;break;}else{label=8;break;} //@line 133 "../src/h264bsd_reconstruct.c"
 case 8: 
 ___assert_fail(7064,11560,133,13720); //@line 133 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 133 "../src/h264bsd_reconstruct.c"
 label=9;break; //@line 133 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $36;
 var $37=($36&1); //@line 133 "../src/h264bsd_reconstruct.c"
 var $38=$1; //@line 134 "../src/h264bsd_reconstruct.c"
 var $39=($38|0)!=0; //@line 134 "../src/h264bsd_reconstruct.c"
 if($39){var $43=1;label=11;break;}else{label=10;break;} //@line 134 "../src/h264bsd_reconstruct.c"
 case 10: 
 ___assert_fail(6280,11560,134,13720); //@line 134 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 134 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 134 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $43;
 var $44=($43&1); //@line 134 "../src/h264bsd_reconstruct.c"
 var $45=$3; //@line 136 "../src/h264bsd_reconstruct.c"
 var $46=($45|0)<0; //@line 136 "../src/h264bsd_reconstruct.c"
 if($46){label=15;break;}else{label=12;break;} //@line 136 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $48=$3; //@line 136 "../src/h264bsd_reconstruct.c"
 var $49=$8; //@line 136 "../src/h264bsd_reconstruct.c"
 var $50=((($48)+($49))|0); //@line 136 "../src/h264bsd_reconstruct.c"
 var $51=((($50)+(1))|0); //@line 136 "../src/h264bsd_reconstruct.c"
 var $52=$5; //@line 136 "../src/h264bsd_reconstruct.c"
 var $53=($51>>>0)>($52>>>0); //@line 136 "../src/h264bsd_reconstruct.c"
 if($53){label=15;break;}else{label=13;break;} //@line 136 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $55=$4; //@line 136 "../src/h264bsd_reconstruct.c"
 var $56=($55|0)<0; //@line 136 "../src/h264bsd_reconstruct.c"
 if($56){label=15;break;}else{label=14;break;} //@line 136 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $58=$4; //@line 136 "../src/h264bsd_reconstruct.c"
 var $59=$9; //@line 136 "../src/h264bsd_reconstruct.c"
 var $60=((($58)+($59))|0); //@line 136 "../src/h264bsd_reconstruct.c"
 var $61=$6; //@line 136 "../src/h264bsd_reconstruct.c"
 var $62=($60>>>0)>($61>>>0); //@line 136 "../src/h264bsd_reconstruct.c"
 if($62){label=15;break;}else{label=16;break;} //@line 136 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $64=$1; //@line 139 "../src/h264bsd_reconstruct.c"
 var $65=(($block)|0); //@line 139 "../src/h264bsd_reconstruct.c"
 var $66=$3; //@line 139 "../src/h264bsd_reconstruct.c"
 var $67=$4; //@line 139 "../src/h264bsd_reconstruct.c"
 var $68=$5; //@line 139 "../src/h264bsd_reconstruct.c"
 var $69=$6; //@line 139 "../src/h264bsd_reconstruct.c"
 var $70=$8; //@line 139 "../src/h264bsd_reconstruct.c"
 var $71=((($70)+(1))|0); //@line 139 "../src/h264bsd_reconstruct.c"
 var $72=$9; //@line 139 "../src/h264bsd_reconstruct.c"
 var $73=$8; //@line 139 "../src/h264bsd_reconstruct.c"
 var $74=((($73)+(1))|0); //@line 139 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($64,$65,$66,$67,$68,$69,$71,$72,$74); //@line 139 "../src/h264bsd_reconstruct.c"
 var $75=$5; //@line 141 "../src/h264bsd_reconstruct.c"
 var $76=$6; //@line 141 "../src/h264bsd_reconstruct.c"
 var $77=(Math_imul($75,$76)|0); //@line 141 "../src/h264bsd_reconstruct.c"
 var $78=$1; //@line 141 "../src/h264bsd_reconstruct.c"
 var $79=(($78+$77)|0); //@line 141 "../src/h264bsd_reconstruct.c"
 $1=$79; //@line 141 "../src/h264bsd_reconstruct.c"
 var $80=$1; //@line 142 "../src/h264bsd_reconstruct.c"
 var $81=(($block)|0); //@line 142 "../src/h264bsd_reconstruct.c"
 var $82=$8; //@line 142 "../src/h264bsd_reconstruct.c"
 var $83=((($82)+(1))|0); //@line 142 "../src/h264bsd_reconstruct.c"
 var $84=$9; //@line 142 "../src/h264bsd_reconstruct.c"
 var $85=(Math_imul($83,$84)|0); //@line 142 "../src/h264bsd_reconstruct.c"
 var $86=(($81+$85)|0); //@line 142 "../src/h264bsd_reconstruct.c"
 var $87=$3; //@line 142 "../src/h264bsd_reconstruct.c"
 var $88=$4; //@line 142 "../src/h264bsd_reconstruct.c"
 var $89=$5; //@line 142 "../src/h264bsd_reconstruct.c"
 var $90=$6; //@line 142 "../src/h264bsd_reconstruct.c"
 var $91=$8; //@line 142 "../src/h264bsd_reconstruct.c"
 var $92=((($91)+(1))|0); //@line 142 "../src/h264bsd_reconstruct.c"
 var $93=$9; //@line 142 "../src/h264bsd_reconstruct.c"
 var $94=$8; //@line 142 "../src/h264bsd_reconstruct.c"
 var $95=((($94)+(1))|0); //@line 142 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($80,$86,$87,$88,$89,$90,$92,$93,$95); //@line 142 "../src/h264bsd_reconstruct.c"
 var $96=(($block)|0); //@line 146 "../src/h264bsd_reconstruct.c"
 $1=$96; //@line 146 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 147 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 148 "../src/h264bsd_reconstruct.c"
 var $97=$8; //@line 149 "../src/h264bsd_reconstruct.c"
 var $98=((($97)+(1))|0); //@line 149 "../src/h264bsd_reconstruct.c"
 $5=$98; //@line 149 "../src/h264bsd_reconstruct.c"
 var $99=$9; //@line 150 "../src/h264bsd_reconstruct.c"
 $6=$99; //@line 150 "../src/h264bsd_reconstruct.c"
 label=16;break; //@line 151 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $101=$7; //@line 153 "../src/h264bsd_reconstruct.c"
 var $102=(((8)-($101))|0); //@line 153 "../src/h264bsd_reconstruct.c"
 $val=$102; //@line 153 "../src/h264bsd_reconstruct.c"
 $comp=0; //@line 155 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 155 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $104=$comp; //@line 155 "../src/h264bsd_reconstruct.c"
 var $105=($104>>>0)<=1; //@line 155 "../src/h264bsd_reconstruct.c"
 if($105){label=18;break;}else{label=28;break;} //@line 155 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $107=$1; //@line 158 "../src/h264bsd_reconstruct.c"
 var $108=$comp; //@line 158 "../src/h264bsd_reconstruct.c"
 var $109=$6; //@line 158 "../src/h264bsd_reconstruct.c"
 var $110=(Math_imul($108,$109)|0); //@line 158 "../src/h264bsd_reconstruct.c"
 var $111=$4; //@line 158 "../src/h264bsd_reconstruct.c"
 var $112=((($110)+($111))|0); //@line 158 "../src/h264bsd_reconstruct.c"
 var $113=$5; //@line 158 "../src/h264bsd_reconstruct.c"
 var $114=(Math_imul($112,$113)|0); //@line 158 "../src/h264bsd_reconstruct.c"
 var $115=(($107+$114)|0); //@line 158 "../src/h264bsd_reconstruct.c"
 var $116=$3; //@line 158 "../src/h264bsd_reconstruct.c"
 var $117=(($115+$116)|0); //@line 158 "../src/h264bsd_reconstruct.c"
 $ptrA=$117; //@line 158 "../src/h264bsd_reconstruct.c"
 var $118=$2; //@line 159 "../src/h264bsd_reconstruct.c"
 var $119=$comp; //@line 159 "../src/h264bsd_reconstruct.c"
 var $120=($119<<3); //@line 159 "../src/h264bsd_reconstruct.c"
 var $121=($120<<3); //@line 159 "../src/h264bsd_reconstruct.c"
 var $122=(($118+$121)|0); //@line 159 "../src/h264bsd_reconstruct.c"
 $cbr=$122; //@line 159 "../src/h264bsd_reconstruct.c"
 var $123=$9; //@line 163 "../src/h264bsd_reconstruct.c"
 var $124=$123>>>1; //@line 163 "../src/h264bsd_reconstruct.c"
 $y=$124; //@line 163 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 163 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $126=$y; //@line 163 "../src/h264bsd_reconstruct.c"
 var $127=($126|0)!=0; //@line 163 "../src/h264bsd_reconstruct.c"
 if($127){label=20;break;}else{label=26;break;} //@line 163 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $129=$8; //@line 165 "../src/h264bsd_reconstruct.c"
 var $130=$129>>>1; //@line 165 "../src/h264bsd_reconstruct.c"
 $x=$130; //@line 165 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 165 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $132=$x; //@line 165 "../src/h264bsd_reconstruct.c"
 var $133=($132|0)!=0; //@line 165 "../src/h264bsd_reconstruct.c"
 if($133){label=22;break;}else{label=24;break;} //@line 165 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $135=$5; //@line 167 "../src/h264bsd_reconstruct.c"
 var $136=$ptrA; //@line 167 "../src/h264bsd_reconstruct.c"
 var $137=(($136+$135)|0); //@line 167 "../src/h264bsd_reconstruct.c"
 var $138=HEAP8[($137)]; //@line 167 "../src/h264bsd_reconstruct.c"
 var $139=($138&255); //@line 167 "../src/h264bsd_reconstruct.c"
 $tmp1=$139; //@line 167 "../src/h264bsd_reconstruct.c"
 var $140=$ptrA; //@line 168 "../src/h264bsd_reconstruct.c"
 var $141=(($140+1)|0); //@line 168 "../src/h264bsd_reconstruct.c"
 $ptrA=$141; //@line 168 "../src/h264bsd_reconstruct.c"
 var $142=HEAP8[($140)]; //@line 168 "../src/h264bsd_reconstruct.c"
 var $143=($142&255); //@line 168 "../src/h264bsd_reconstruct.c"
 $tmp2=$143; //@line 168 "../src/h264bsd_reconstruct.c"
 var $144=$5; //@line 169 "../src/h264bsd_reconstruct.c"
 var $145=$ptrA; //@line 169 "../src/h264bsd_reconstruct.c"
 var $146=(($145+$144)|0); //@line 169 "../src/h264bsd_reconstruct.c"
 var $147=HEAP8[($146)]; //@line 169 "../src/h264bsd_reconstruct.c"
 var $148=($147&255); //@line 169 "../src/h264bsd_reconstruct.c"
 $tmp3=$148; //@line 169 "../src/h264bsd_reconstruct.c"
 var $149=$ptrA; //@line 170 "../src/h264bsd_reconstruct.c"
 var $150=(($149+1)|0); //@line 170 "../src/h264bsd_reconstruct.c"
 $ptrA=$150; //@line 170 "../src/h264bsd_reconstruct.c"
 var $151=HEAP8[($149)]; //@line 170 "../src/h264bsd_reconstruct.c"
 var $152=($151&255); //@line 170 "../src/h264bsd_reconstruct.c"
 $tmp4=$152; //@line 170 "../src/h264bsd_reconstruct.c"
 var $153=$val; //@line 171 "../src/h264bsd_reconstruct.c"
 var $154=$tmp1; //@line 171 "../src/h264bsd_reconstruct.c"
 var $155=(Math_imul($153,$154)|0); //@line 171 "../src/h264bsd_reconstruct.c"
 var $156=$7; //@line 171 "../src/h264bsd_reconstruct.c"
 var $157=$tmp3; //@line 171 "../src/h264bsd_reconstruct.c"
 var $158=(Math_imul($156,$157)|0); //@line 171 "../src/h264bsd_reconstruct.c"
 var $159=((($155)+($158))|0); //@line 171 "../src/h264bsd_reconstruct.c"
 var $160=$159<<3; //@line 171 "../src/h264bsd_reconstruct.c"
 var $161=((($160)+(32))|0); //@line 171 "../src/h264bsd_reconstruct.c"
 $c=$161; //@line 171 "../src/h264bsd_reconstruct.c"
 var $162=$c; //@line 172 "../src/h264bsd_reconstruct.c"
 var $163=$162>>>6; //@line 172 "../src/h264bsd_reconstruct.c"
 $c=$163; //@line 172 "../src/h264bsd_reconstruct.c"
 var $164=$c; //@line 173 "../src/h264bsd_reconstruct.c"
 var $165=(($164)&255); //@line 173 "../src/h264bsd_reconstruct.c"
 var $166=$cbr; //@line 173 "../src/h264bsd_reconstruct.c"
 var $167=(($166+8)|0); //@line 173 "../src/h264bsd_reconstruct.c"
 HEAP8[($167)]=$165; //@line 173 "../src/h264bsd_reconstruct.c"
 var $168=$val; //@line 174 "../src/h264bsd_reconstruct.c"
 var $169=$tmp2; //@line 174 "../src/h264bsd_reconstruct.c"
 var $170=(Math_imul($168,$169)|0); //@line 174 "../src/h264bsd_reconstruct.c"
 var $171=$7; //@line 174 "../src/h264bsd_reconstruct.c"
 var $172=$tmp4; //@line 174 "../src/h264bsd_reconstruct.c"
 var $173=(Math_imul($171,$172)|0); //@line 174 "../src/h264bsd_reconstruct.c"
 var $174=((($170)+($173))|0); //@line 174 "../src/h264bsd_reconstruct.c"
 var $175=$174<<3; //@line 174 "../src/h264bsd_reconstruct.c"
 var $176=((($175)+(32))|0); //@line 174 "../src/h264bsd_reconstruct.c"
 $c=$176; //@line 174 "../src/h264bsd_reconstruct.c"
 var $177=$c; //@line 175 "../src/h264bsd_reconstruct.c"
 var $178=$177>>>6; //@line 175 "../src/h264bsd_reconstruct.c"
 $c=$178; //@line 175 "../src/h264bsd_reconstruct.c"
 var $179=$c; //@line 176 "../src/h264bsd_reconstruct.c"
 var $180=(($179)&255); //@line 176 "../src/h264bsd_reconstruct.c"
 var $181=$cbr; //@line 176 "../src/h264bsd_reconstruct.c"
 var $182=(($181+1)|0); //@line 176 "../src/h264bsd_reconstruct.c"
 $cbr=$182; //@line 176 "../src/h264bsd_reconstruct.c"
 HEAP8[($181)]=$180; //@line 176 "../src/h264bsd_reconstruct.c"
 var $183=$5; //@line 177 "../src/h264bsd_reconstruct.c"
 var $184=$ptrA; //@line 177 "../src/h264bsd_reconstruct.c"
 var $185=(($184+$183)|0); //@line 177 "../src/h264bsd_reconstruct.c"
 var $186=HEAP8[($185)]; //@line 177 "../src/h264bsd_reconstruct.c"
 var $187=($186&255); //@line 177 "../src/h264bsd_reconstruct.c"
 $tmp1=$187; //@line 177 "../src/h264bsd_reconstruct.c"
 var $188=$ptrA; //@line 178 "../src/h264bsd_reconstruct.c"
 var $189=HEAP8[($188)]; //@line 178 "../src/h264bsd_reconstruct.c"
 var $190=($189&255); //@line 178 "../src/h264bsd_reconstruct.c"
 $tmp2=$190; //@line 178 "../src/h264bsd_reconstruct.c"
 var $191=$val; //@line 179 "../src/h264bsd_reconstruct.c"
 var $192=$tmp3; //@line 179 "../src/h264bsd_reconstruct.c"
 var $193=(Math_imul($191,$192)|0); //@line 179 "../src/h264bsd_reconstruct.c"
 var $194=$7; //@line 179 "../src/h264bsd_reconstruct.c"
 var $195=$tmp1; //@line 179 "../src/h264bsd_reconstruct.c"
 var $196=(Math_imul($194,$195)|0); //@line 179 "../src/h264bsd_reconstruct.c"
 var $197=((($193)+($196))|0); //@line 179 "../src/h264bsd_reconstruct.c"
 var $198=$197<<3; //@line 179 "../src/h264bsd_reconstruct.c"
 var $199=((($198)+(32))|0); //@line 179 "../src/h264bsd_reconstruct.c"
 $c=$199; //@line 179 "../src/h264bsd_reconstruct.c"
 var $200=$c; //@line 180 "../src/h264bsd_reconstruct.c"
 var $201=$200>>>6; //@line 180 "../src/h264bsd_reconstruct.c"
 $c=$201; //@line 180 "../src/h264bsd_reconstruct.c"
 var $202=$c; //@line 181 "../src/h264bsd_reconstruct.c"
 var $203=(($202)&255); //@line 181 "../src/h264bsd_reconstruct.c"
 var $204=$cbr; //@line 181 "../src/h264bsd_reconstruct.c"
 var $205=(($204+8)|0); //@line 181 "../src/h264bsd_reconstruct.c"
 HEAP8[($205)]=$203; //@line 181 "../src/h264bsd_reconstruct.c"
 var $206=$val; //@line 182 "../src/h264bsd_reconstruct.c"
 var $207=$tmp4; //@line 182 "../src/h264bsd_reconstruct.c"
 var $208=(Math_imul($206,$207)|0); //@line 182 "../src/h264bsd_reconstruct.c"
 var $209=$7; //@line 182 "../src/h264bsd_reconstruct.c"
 var $210=$tmp2; //@line 182 "../src/h264bsd_reconstruct.c"
 var $211=(Math_imul($209,$210)|0); //@line 182 "../src/h264bsd_reconstruct.c"
 var $212=((($208)+($211))|0); //@line 182 "../src/h264bsd_reconstruct.c"
 var $213=$212<<3; //@line 182 "../src/h264bsd_reconstruct.c"
 var $214=((($213)+(32))|0); //@line 182 "../src/h264bsd_reconstruct.c"
 $c=$214; //@line 182 "../src/h264bsd_reconstruct.c"
 var $215=$c; //@line 183 "../src/h264bsd_reconstruct.c"
 var $216=$215>>>6; //@line 183 "../src/h264bsd_reconstruct.c"
 $c=$216; //@line 183 "../src/h264bsd_reconstruct.c"
 var $217=$c; //@line 184 "../src/h264bsd_reconstruct.c"
 var $218=(($217)&255); //@line 184 "../src/h264bsd_reconstruct.c"
 var $219=$cbr; //@line 184 "../src/h264bsd_reconstruct.c"
 var $220=(($219+1)|0); //@line 184 "../src/h264bsd_reconstruct.c"
 $cbr=$220; //@line 184 "../src/h264bsd_reconstruct.c"
 HEAP8[($219)]=$218; //@line 184 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 185 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $222=$x; //@line 165 "../src/h264bsd_reconstruct.c"
 var $223=((($222)-(1))|0); //@line 165 "../src/h264bsd_reconstruct.c"
 $x=$223; //@line 165 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 165 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $225=$8; //@line 186 "../src/h264bsd_reconstruct.c"
 var $226=(((16)-($225))|0); //@line 186 "../src/h264bsd_reconstruct.c"
 var $227=$cbr; //@line 186 "../src/h264bsd_reconstruct.c"
 var $228=(($227+$226)|0); //@line 186 "../src/h264bsd_reconstruct.c"
 $cbr=$228; //@line 186 "../src/h264bsd_reconstruct.c"
 var $229=$5; //@line 187 "../src/h264bsd_reconstruct.c"
 var $230=($229<<1); //@line 187 "../src/h264bsd_reconstruct.c"
 var $231=$8; //@line 187 "../src/h264bsd_reconstruct.c"
 var $232=((($230)-($231))|0); //@line 187 "../src/h264bsd_reconstruct.c"
 var $233=$ptrA; //@line 187 "../src/h264bsd_reconstruct.c"
 var $234=(($233+$232)|0); //@line 187 "../src/h264bsd_reconstruct.c"
 $ptrA=$234; //@line 187 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 188 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $236=$y; //@line 163 "../src/h264bsd_reconstruct.c"
 var $237=((($236)-(1))|0); //@line 163 "../src/h264bsd_reconstruct.c"
 $y=$237; //@line 163 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 163 "../src/h264bsd_reconstruct.c"
 case 26: 
 label=27;break; //@line 189 "../src/h264bsd_reconstruct.c"
 case 27: 
 var $240=$comp; //@line 155 "../src/h264bsd_reconstruct.c"
 var $241=((($240)+(1))|0); //@line 155 "../src/h264bsd_reconstruct.c"
 $comp=$241; //@line 155 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 155 "../src/h264bsd_reconstruct.c"
 case 28: 
 STACKTOP=sp;return; //@line 191 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdFillBlock($ref,$fill,$x0,$y0,$width,$height,$blockWidth,$blockHeight,$fillScanLength){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $xstop;
 var $ystop;
 var $fp;
 var $left;
 var $x;
 var $right;
 var $top;
 var $y;
 var $bottom;
 $1=$ref;
 $2=$fill;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$blockWidth;
 $8=$blockHeight;
 $9=$fillScanLength;
 var $10=$1; //@line 2265 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 2265 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 2265 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,2265,14000); //@line 2265 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2265 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 2265 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 2265 "../src/h264bsd_reconstruct.c"
 var $17=$2; //@line 2266 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 2266 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 2266 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(9448,11560,2266,14000); //@line 2266 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2266 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 2266 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 2266 "../src/h264bsd_reconstruct.c"
 var $24=$5; //@line 2267 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)!=0; //@line 2267 "../src/h264bsd_reconstruct.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 2267 "../src/h264bsd_reconstruct.c"
 case 6: 
 ___assert_fail(9240,11560,2267,14000); //@line 2267 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2267 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 2267 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 2267 "../src/h264bsd_reconstruct.c"
 var $31=$6; //@line 2268 "../src/h264bsd_reconstruct.c"
 var $32=($31|0)!=0; //@line 2268 "../src/h264bsd_reconstruct.c"
 if($32){var $36=1;label=9;break;}else{label=8;break;} //@line 2268 "../src/h264bsd_reconstruct.c"
 case 8: 
 ___assert_fail(9080,11560,2268,14000); //@line 2268 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2268 "../src/h264bsd_reconstruct.c"
 label=9;break; //@line 2268 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $36;
 var $37=($36&1); //@line 2268 "../src/h264bsd_reconstruct.c"
 var $38=$2; //@line 2269 "../src/h264bsd_reconstruct.c"
 var $39=($38|0)!=0; //@line 2269 "../src/h264bsd_reconstruct.c"
 if($39){var $43=1;label=11;break;}else{label=10;break;} //@line 2269 "../src/h264bsd_reconstruct.c"
 case 10: 
 ___assert_fail(9448,11560,2269,14000); //@line 2269 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2269 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 2269 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $43;
 var $44=($43&1); //@line 2269 "../src/h264bsd_reconstruct.c"
 var $45=$7; //@line 2270 "../src/h264bsd_reconstruct.c"
 var $46=($45|0)!=0; //@line 2270 "../src/h264bsd_reconstruct.c"
 if($46){var $50=1;label=13;break;}else{label=12;break;} //@line 2270 "../src/h264bsd_reconstruct.c"
 case 12: 
 ___assert_fail(8928,11560,2270,14000); //@line 2270 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2270 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 2270 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $50;
 var $51=($50&1); //@line 2270 "../src/h264bsd_reconstruct.c"
 var $52=$8; //@line 2271 "../src/h264bsd_reconstruct.c"
 var $53=($52|0)!=0; //@line 2271 "../src/h264bsd_reconstruct.c"
 if($53){var $57=1;label=15;break;}else{label=14;break;} //@line 2271 "../src/h264bsd_reconstruct.c"
 case 14: 
 ___assert_fail(8808,11560,2271,14000); //@line 2271 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2271 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 2271 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $57;
 var $58=($57&1); //@line 2271 "../src/h264bsd_reconstruct.c"
 var $59=$3; //@line 2273 "../src/h264bsd_reconstruct.c"
 var $60=$7; //@line 2273 "../src/h264bsd_reconstruct.c"
 var $61=((($59)+($60))|0); //@line 2273 "../src/h264bsd_reconstruct.c"
 $xstop=$61; //@line 2273 "../src/h264bsd_reconstruct.c"
 var $62=$4; //@line 2274 "../src/h264bsd_reconstruct.c"
 var $63=$8; //@line 2274 "../src/h264bsd_reconstruct.c"
 var $64=((($62)+($63))|0); //@line 2274 "../src/h264bsd_reconstruct.c"
 $ystop=$64; //@line 2274 "../src/h264bsd_reconstruct.c"
 var $65=$3; //@line 2278 "../src/h264bsd_reconstruct.c"
 var $66=($65|0)>=0; //@line 2278 "../src/h264bsd_reconstruct.c"
 if($66){label=16;break;}else{label=18;break;} //@line 2278 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $68=$xstop; //@line 2278 "../src/h264bsd_reconstruct.c"
 var $69=$5; //@line 2278 "../src/h264bsd_reconstruct.c"
 var $70=($68|0)<=($69|0); //@line 2278 "../src/h264bsd_reconstruct.c"
 if($70){label=17;break;}else{label=18;break;} //@line 2278 "../src/h264bsd_reconstruct.c"
 case 17: 
 $fp=4; //@line 2279 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 2279 "../src/h264bsd_reconstruct.c"
 case 18: 
 $fp=2; //@line 2281 "../src/h264bsd_reconstruct.c"
 label=19;break;
 case 19: 
 var $74=$ystop; //@line 2283 "../src/h264bsd_reconstruct.c"
 var $75=($74|0)<0; //@line 2283 "../src/h264bsd_reconstruct.c"
 if($75){label=20;break;}else{label=21;break;} //@line 2283 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $77=$8; //@line 2284 "../src/h264bsd_reconstruct.c"
 var $78=(((-$77))|0); //@line 2284 "../src/h264bsd_reconstruct.c"
 $4=$78; //@line 2284 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 2284 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $80=$xstop; //@line 2286 "../src/h264bsd_reconstruct.c"
 var $81=($80|0)<0; //@line 2286 "../src/h264bsd_reconstruct.c"
 if($81){label=22;break;}else{label=23;break;} //@line 2286 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $83=$7; //@line 2287 "../src/h264bsd_reconstruct.c"
 var $84=(((-$83))|0); //@line 2287 "../src/h264bsd_reconstruct.c"
 $3=$84; //@line 2287 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 2287 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $86=$4; //@line 2289 "../src/h264bsd_reconstruct.c"
 var $87=$6; //@line 2289 "../src/h264bsd_reconstruct.c"
 var $88=($86|0)>($87|0); //@line 2289 "../src/h264bsd_reconstruct.c"
 if($88){label=24;break;}else{label=25;break;} //@line 2289 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $90=$6; //@line 2290 "../src/h264bsd_reconstruct.c"
 $4=$90; //@line 2290 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 2290 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $92=$3; //@line 2292 "../src/h264bsd_reconstruct.c"
 var $93=$5; //@line 2292 "../src/h264bsd_reconstruct.c"
 var $94=($92|0)>($93|0); //@line 2292 "../src/h264bsd_reconstruct.c"
 if($94){label=26;break;}else{label=27;break;} //@line 2292 "../src/h264bsd_reconstruct.c"
 case 26: 
 var $96=$5; //@line 2293 "../src/h264bsd_reconstruct.c"
 $3=$96; //@line 2293 "../src/h264bsd_reconstruct.c"
 label=27;break; //@line 2293 "../src/h264bsd_reconstruct.c"
 case 27: 
 var $98=$3; //@line 2295 "../src/h264bsd_reconstruct.c"
 var $99=$7; //@line 2295 "../src/h264bsd_reconstruct.c"
 var $100=((($98)+($99))|0); //@line 2295 "../src/h264bsd_reconstruct.c"
 $xstop=$100; //@line 2295 "../src/h264bsd_reconstruct.c"
 var $101=$4; //@line 2296 "../src/h264bsd_reconstruct.c"
 var $102=$8; //@line 2296 "../src/h264bsd_reconstruct.c"
 var $103=((($101)+($102))|0); //@line 2296 "../src/h264bsd_reconstruct.c"
 $ystop=$103; //@line 2296 "../src/h264bsd_reconstruct.c"
 var $104=$3; //@line 2298 "../src/h264bsd_reconstruct.c"
 var $105=($104|0)>0; //@line 2298 "../src/h264bsd_reconstruct.c"
 if($105){label=28;break;}else{label=29;break;} //@line 2298 "../src/h264bsd_reconstruct.c"
 case 28: 
 var $107=$3; //@line 2299 "../src/h264bsd_reconstruct.c"
 var $108=$1; //@line 2299 "../src/h264bsd_reconstruct.c"
 var $109=(($108+$107)|0); //@line 2299 "../src/h264bsd_reconstruct.c"
 $1=$109; //@line 2299 "../src/h264bsd_reconstruct.c"
 label=29;break; //@line 2299 "../src/h264bsd_reconstruct.c"
 case 29: 
 var $111=$4; //@line 2301 "../src/h264bsd_reconstruct.c"
 var $112=($111|0)>0; //@line 2301 "../src/h264bsd_reconstruct.c"
 if($112){label=30;break;}else{label=31;break;} //@line 2301 "../src/h264bsd_reconstruct.c"
 case 30: 
 var $114=$4; //@line 2302 "../src/h264bsd_reconstruct.c"
 var $115=$5; //@line 2302 "../src/h264bsd_reconstruct.c"
 var $116=(Math_imul($114,$115)|0); //@line 2302 "../src/h264bsd_reconstruct.c"
 var $117=$1; //@line 2302 "../src/h264bsd_reconstruct.c"
 var $118=(($117+$116)|0); //@line 2302 "../src/h264bsd_reconstruct.c"
 $1=$118; //@line 2302 "../src/h264bsd_reconstruct.c"
 label=31;break; //@line 2302 "../src/h264bsd_reconstruct.c"
 case 31: 
 var $120=$3; //@line 2304 "../src/h264bsd_reconstruct.c"
 var $121=($120|0)<0; //@line 2304 "../src/h264bsd_reconstruct.c"
 if($121){label=32;break;}else{label=33;break;} //@line 2304 "../src/h264bsd_reconstruct.c"
 case 32: 
 var $123=$3; //@line 2304 "../src/h264bsd_reconstruct.c"
 var $124=(((-$123))|0); //@line 2304 "../src/h264bsd_reconstruct.c"
 var $127=$124;label=34;break; //@line 2304 "../src/h264bsd_reconstruct.c"
 case 33: 
 var $127=0;label=34;break; //@line 2304 "../src/h264bsd_reconstruct.c"
 case 34: 
 var $127; //@line 2304 "../src/h264bsd_reconstruct.c"
 $left=$127; //@line 2304 "../src/h264bsd_reconstruct.c"
 var $128=$xstop; //@line 2305 "../src/h264bsd_reconstruct.c"
 var $129=$5; //@line 2305 "../src/h264bsd_reconstruct.c"
 var $130=($128|0)>($129|0); //@line 2305 "../src/h264bsd_reconstruct.c"
 if($130){label=35;break;}else{label=36;break;} //@line 2305 "../src/h264bsd_reconstruct.c"
 case 35: 
 var $132=$xstop; //@line 2305 "../src/h264bsd_reconstruct.c"
 var $133=$5; //@line 2305 "../src/h264bsd_reconstruct.c"
 var $134=((($132)-($133))|0); //@line 2305 "../src/h264bsd_reconstruct.c"
 var $137=$134;label=37;break; //@line 2305 "../src/h264bsd_reconstruct.c"
 case 36: 
 var $137=0;label=37;break; //@line 2305 "../src/h264bsd_reconstruct.c"
 case 37: 
 var $137; //@line 2305 "../src/h264bsd_reconstruct.c"
 $right=$137; //@line 2305 "../src/h264bsd_reconstruct.c"
 var $138=$7; //@line 2306 "../src/h264bsd_reconstruct.c"
 var $139=$left; //@line 2306 "../src/h264bsd_reconstruct.c"
 var $140=((($138)-($139))|0); //@line 2306 "../src/h264bsd_reconstruct.c"
 var $141=$right; //@line 2306 "../src/h264bsd_reconstruct.c"
 var $142=((($140)-($141))|0); //@line 2306 "../src/h264bsd_reconstruct.c"
 $x=$142; //@line 2306 "../src/h264bsd_reconstruct.c"
 var $143=$4; //@line 2308 "../src/h264bsd_reconstruct.c"
 var $144=($143|0)<0; //@line 2308 "../src/h264bsd_reconstruct.c"
 if($144){label=38;break;}else{label=39;break;} //@line 2308 "../src/h264bsd_reconstruct.c"
 case 38: 
 var $146=$4; //@line 2308 "../src/h264bsd_reconstruct.c"
 var $147=(((-$146))|0); //@line 2308 "../src/h264bsd_reconstruct.c"
 var $150=$147;label=40;break; //@line 2308 "../src/h264bsd_reconstruct.c"
 case 39: 
 var $150=0;label=40;break; //@line 2308 "../src/h264bsd_reconstruct.c"
 case 40: 
 var $150; //@line 2308 "../src/h264bsd_reconstruct.c"
 $top=$150; //@line 2308 "../src/h264bsd_reconstruct.c"
 var $151=$ystop; //@line 2309 "../src/h264bsd_reconstruct.c"
 var $152=$6; //@line 2309 "../src/h264bsd_reconstruct.c"
 var $153=($151|0)>($152|0); //@line 2309 "../src/h264bsd_reconstruct.c"
 if($153){label=41;break;}else{label=42;break;} //@line 2309 "../src/h264bsd_reconstruct.c"
 case 41: 
 var $155=$ystop; //@line 2309 "../src/h264bsd_reconstruct.c"
 var $156=$6; //@line 2309 "../src/h264bsd_reconstruct.c"
 var $157=((($155)-($156))|0); //@line 2309 "../src/h264bsd_reconstruct.c"
 var $160=$157;label=43;break; //@line 2309 "../src/h264bsd_reconstruct.c"
 case 42: 
 var $160=0;label=43;break; //@line 2309 "../src/h264bsd_reconstruct.c"
 case 43: 
 var $160; //@line 2309 "../src/h264bsd_reconstruct.c"
 $bottom=$160; //@line 2309 "../src/h264bsd_reconstruct.c"
 var $161=$8; //@line 2310 "../src/h264bsd_reconstruct.c"
 var $162=$top; //@line 2310 "../src/h264bsd_reconstruct.c"
 var $163=((($161)-($162))|0); //@line 2310 "../src/h264bsd_reconstruct.c"
 var $164=$bottom; //@line 2310 "../src/h264bsd_reconstruct.c"
 var $165=((($163)-($164))|0); //@line 2310 "../src/h264bsd_reconstruct.c"
 $y=$165; //@line 2310 "../src/h264bsd_reconstruct.c"
 var $166=$3; //@line 2312 "../src/h264bsd_reconstruct.c"
 var $167=($166|0)>=0; //@line 2312 "../src/h264bsd_reconstruct.c"
 if($167){label=44;break;}else{label=58;break;} //@line 2312 "../src/h264bsd_reconstruct.c"
 case 44: 
 var $169=$xstop; //@line 2312 "../src/h264bsd_reconstruct.c"
 var $170=$5; //@line 2312 "../src/h264bsd_reconstruct.c"
 var $171=($169|0)<=($170|0); //@line 2312 "../src/h264bsd_reconstruct.c"
 if($171){label=45;break;}else{label=58;break;} //@line 2312 "../src/h264bsd_reconstruct.c"
 case 45: 
 label=46;break; //@line 2314 "../src/h264bsd_reconstruct.c"
 case 46: 
 var $174=$top; //@line 2314 "../src/h264bsd_reconstruct.c"
 var $175=($174|0)!=0; //@line 2314 "../src/h264bsd_reconstruct.c"
 if($175){label=47;break;}else{label=49;break;} //@line 2314 "../src/h264bsd_reconstruct.c"
 case 47: 
 var $177=$1; //@line 2316 "../src/h264bsd_reconstruct.c"
 var $178=$2; //@line 2316 "../src/h264bsd_reconstruct.c"
 var $179=$left; //@line 2316 "../src/h264bsd_reconstruct.c"
 var $180=$x; //@line 2316 "../src/h264bsd_reconstruct.c"
 var $181=$right; //@line 2316 "../src/h264bsd_reconstruct.c"
 _FillRow1($177,$178,$179,$180,$181); //@line 2316 "../src/h264bsd_reconstruct.c"
 var $182=$9; //@line 2317 "../src/h264bsd_reconstruct.c"
 var $183=$2; //@line 2317 "../src/h264bsd_reconstruct.c"
 var $184=(($183+$182)|0); //@line 2317 "../src/h264bsd_reconstruct.c"
 $2=$184; //@line 2317 "../src/h264bsd_reconstruct.c"
 label=48;break; //@line 2318 "../src/h264bsd_reconstruct.c"
 case 48: 
 var $186=$top; //@line 2314 "../src/h264bsd_reconstruct.c"
 var $187=((($186)-(1))|0); //@line 2314 "../src/h264bsd_reconstruct.c"
 $top=$187; //@line 2314 "../src/h264bsd_reconstruct.c"
 label=46;break; //@line 2314 "../src/h264bsd_reconstruct.c"
 case 49: 
 label=50;break; //@line 2319 "../src/h264bsd_reconstruct.c"
 case 50: 
 var $190=$top; //@line 2319 "../src/h264bsd_reconstruct.c"
 var $191=($190|0)!=0; //@line 2319 "../src/h264bsd_reconstruct.c"
 if($191){label=51;break;}else{label=53;break;} //@line 2319 "../src/h264bsd_reconstruct.c"
 case 51: 
 var $193=$1; //@line 2321 "../src/h264bsd_reconstruct.c"
 var $194=$2; //@line 2321 "../src/h264bsd_reconstruct.c"
 var $195=$left; //@line 2321 "../src/h264bsd_reconstruct.c"
 var $196=$x; //@line 2321 "../src/h264bsd_reconstruct.c"
 var $197=$right; //@line 2321 "../src/h264bsd_reconstruct.c"
 _FillRow1($193,$194,$195,$196,$197); //@line 2321 "../src/h264bsd_reconstruct.c"
 label=52;break; //@line 2322 "../src/h264bsd_reconstruct.c"
 case 52: 
 var $199=$top; //@line 2319 "../src/h264bsd_reconstruct.c"
 var $200=((($199)-(1))|0); //@line 2319 "../src/h264bsd_reconstruct.c"
 $top=$200; //@line 2319 "../src/h264bsd_reconstruct.c"
 label=50;break; //@line 2319 "../src/h264bsd_reconstruct.c"
 case 53: 
 label=54;break; //@line 2323 "../src/h264bsd_reconstruct.c"
 case 54: 
 var $203=$y; //@line 2323 "../src/h264bsd_reconstruct.c"
 var $204=($203|0)!=0; //@line 2323 "../src/h264bsd_reconstruct.c"
 if($204){label=55;break;}else{label=57;break;} //@line 2323 "../src/h264bsd_reconstruct.c"
 case 55: 
 var $206=$1; //@line 2325 "../src/h264bsd_reconstruct.c"
 var $207=$2; //@line 2325 "../src/h264bsd_reconstruct.c"
 var $208=$left; //@line 2325 "../src/h264bsd_reconstruct.c"
 var $209=$x; //@line 2325 "../src/h264bsd_reconstruct.c"
 var $210=$right; //@line 2325 "../src/h264bsd_reconstruct.c"
 _FillRow1($206,$207,$208,$209,$210); //@line 2325 "../src/h264bsd_reconstruct.c"
 var $211=$5; //@line 2326 "../src/h264bsd_reconstruct.c"
 var $212=$1; //@line 2326 "../src/h264bsd_reconstruct.c"
 var $213=(($212+$211)|0); //@line 2326 "../src/h264bsd_reconstruct.c"
 $1=$213; //@line 2326 "../src/h264bsd_reconstruct.c"
 var $214=$9; //@line 2327 "../src/h264bsd_reconstruct.c"
 var $215=$2; //@line 2327 "../src/h264bsd_reconstruct.c"
 var $216=(($215+$214)|0); //@line 2327 "../src/h264bsd_reconstruct.c"
 $2=$216; //@line 2327 "../src/h264bsd_reconstruct.c"
 label=56;break; //@line 2328 "../src/h264bsd_reconstruct.c"
 case 56: 
 var $218=$y; //@line 2323 "../src/h264bsd_reconstruct.c"
 var $219=((($218)-(1))|0); //@line 2323 "../src/h264bsd_reconstruct.c"
 $y=$219; //@line 2323 "../src/h264bsd_reconstruct.c"
 label=54;break; //@line 2323 "../src/h264bsd_reconstruct.c"
 case 57: 
 label=71;break; //@line 2329 "../src/h264bsd_reconstruct.c"
 case 58: 
 label=59;break; //@line 2332 "../src/h264bsd_reconstruct.c"
 case 59: 
 var $223=$top; //@line 2332 "../src/h264bsd_reconstruct.c"
 var $224=($223|0)!=0; //@line 2332 "../src/h264bsd_reconstruct.c"
 if($224){label=60;break;}else{label=62;break;} //@line 2332 "../src/h264bsd_reconstruct.c"
 case 60: 
 var $226=$1; //@line 2334 "../src/h264bsd_reconstruct.c"
 var $227=$2; //@line 2334 "../src/h264bsd_reconstruct.c"
 var $228=$left; //@line 2334 "../src/h264bsd_reconstruct.c"
 var $229=$x; //@line 2334 "../src/h264bsd_reconstruct.c"
 var $230=$right; //@line 2334 "../src/h264bsd_reconstruct.c"
 _h264bsdFillRow7($226,$227,$228,$229,$230); //@line 2334 "../src/h264bsd_reconstruct.c"
 var $231=$9; //@line 2335 "../src/h264bsd_reconstruct.c"
 var $232=$2; //@line 2335 "../src/h264bsd_reconstruct.c"
 var $233=(($232+$231)|0); //@line 2335 "../src/h264bsd_reconstruct.c"
 $2=$233; //@line 2335 "../src/h264bsd_reconstruct.c"
 label=61;break; //@line 2336 "../src/h264bsd_reconstruct.c"
 case 61: 
 var $235=$top; //@line 2332 "../src/h264bsd_reconstruct.c"
 var $236=((($235)-(1))|0); //@line 2332 "../src/h264bsd_reconstruct.c"
 $top=$236; //@line 2332 "../src/h264bsd_reconstruct.c"
 label=59;break; //@line 2332 "../src/h264bsd_reconstruct.c"
 case 62: 
 label=63;break; //@line 2337 "../src/h264bsd_reconstruct.c"
 case 63: 
 var $239=$top; //@line 2337 "../src/h264bsd_reconstruct.c"
 var $240=($239|0)!=0; //@line 2337 "../src/h264bsd_reconstruct.c"
 if($240){label=64;break;}else{label=66;break;} //@line 2337 "../src/h264bsd_reconstruct.c"
 case 64: 
 var $242=$1; //@line 2339 "../src/h264bsd_reconstruct.c"
 var $243=$2; //@line 2339 "../src/h264bsd_reconstruct.c"
 var $244=$left; //@line 2339 "../src/h264bsd_reconstruct.c"
 var $245=$x; //@line 2339 "../src/h264bsd_reconstruct.c"
 var $246=$right; //@line 2339 "../src/h264bsd_reconstruct.c"
 _h264bsdFillRow7($242,$243,$244,$245,$246); //@line 2339 "../src/h264bsd_reconstruct.c"
 label=65;break; //@line 2340 "../src/h264bsd_reconstruct.c"
 case 65: 
 var $248=$top; //@line 2337 "../src/h264bsd_reconstruct.c"
 var $249=((($248)-(1))|0); //@line 2337 "../src/h264bsd_reconstruct.c"
 $top=$249; //@line 2337 "../src/h264bsd_reconstruct.c"
 label=63;break; //@line 2337 "../src/h264bsd_reconstruct.c"
 case 66: 
 label=67;break; //@line 2341 "../src/h264bsd_reconstruct.c"
 case 67: 
 var $252=$y; //@line 2341 "../src/h264bsd_reconstruct.c"
 var $253=($252|0)!=0; //@line 2341 "../src/h264bsd_reconstruct.c"
 if($253){label=68;break;}else{label=70;break;} //@line 2341 "../src/h264bsd_reconstruct.c"
 case 68: 
 var $255=$1; //@line 2343 "../src/h264bsd_reconstruct.c"
 var $256=$2; //@line 2343 "../src/h264bsd_reconstruct.c"
 var $257=$left; //@line 2343 "../src/h264bsd_reconstruct.c"
 var $258=$x; //@line 2343 "../src/h264bsd_reconstruct.c"
 var $259=$right; //@line 2343 "../src/h264bsd_reconstruct.c"
 _h264bsdFillRow7($255,$256,$257,$258,$259); //@line 2343 "../src/h264bsd_reconstruct.c"
 var $260=$5; //@line 2344 "../src/h264bsd_reconstruct.c"
 var $261=$1; //@line 2344 "../src/h264bsd_reconstruct.c"
 var $262=(($261+$260)|0); //@line 2344 "../src/h264bsd_reconstruct.c"
 $1=$262; //@line 2344 "../src/h264bsd_reconstruct.c"
 var $263=$9; //@line 2345 "../src/h264bsd_reconstruct.c"
 var $264=$2; //@line 2345 "../src/h264bsd_reconstruct.c"
 var $265=(($264+$263)|0); //@line 2345 "../src/h264bsd_reconstruct.c"
 $2=$265; //@line 2345 "../src/h264bsd_reconstruct.c"
 label=69;break; //@line 2346 "../src/h264bsd_reconstruct.c"
 case 69: 
 var $267=$y; //@line 2341 "../src/h264bsd_reconstruct.c"
 var $268=((($267)-(1))|0); //@line 2341 "../src/h264bsd_reconstruct.c"
 $y=$268; //@line 2341 "../src/h264bsd_reconstruct.c"
 label=67;break; //@line 2341 "../src/h264bsd_reconstruct.c"
 case 70: 
 label=71;break;
 case 71: 
 var $271=$5; //@line 2354 "../src/h264bsd_reconstruct.c"
 var $272=$1; //@line 2354 "../src/h264bsd_reconstruct.c"
 var $273=(((-$271))|0); //@line 2354 "../src/h264bsd_reconstruct.c"
 var $274=(($272+$273)|0); //@line 2354 "../src/h264bsd_reconstruct.c"
 $1=$274; //@line 2354 "../src/h264bsd_reconstruct.c"
 label=72;break; //@line 2357 "../src/h264bsd_reconstruct.c"
 case 72: 
 var $276=$bottom; //@line 2357 "../src/h264bsd_reconstruct.c"
 var $277=($276|0)!=0; //@line 2357 "../src/h264bsd_reconstruct.c"
 if($277){label=73;break;}else{label=79;break;} //@line 2357 "../src/h264bsd_reconstruct.c"
 case 73: 
 var $279=$3; //@line 2360 "../src/h264bsd_reconstruct.c"
 var $280=($279|0)>=0; //@line 2360 "../src/h264bsd_reconstruct.c"
 if($280){label=74;break;}else{label=76;break;} //@line 2360 "../src/h264bsd_reconstruct.c"
 case 74: 
 var $282=$xstop; //@line 2360 "../src/h264bsd_reconstruct.c"
 var $283=$5; //@line 2360 "../src/h264bsd_reconstruct.c"
 var $284=($282|0)<=($283|0); //@line 2360 "../src/h264bsd_reconstruct.c"
 if($284){label=75;break;}else{label=76;break;} //@line 2360 "../src/h264bsd_reconstruct.c"
 case 75: 
 var $286=$1; //@line 2361 "../src/h264bsd_reconstruct.c"
 var $287=$2; //@line 2361 "../src/h264bsd_reconstruct.c"
 var $288=$left; //@line 2361 "../src/h264bsd_reconstruct.c"
 var $289=$x; //@line 2361 "../src/h264bsd_reconstruct.c"
 var $290=$right; //@line 2361 "../src/h264bsd_reconstruct.c"
 _FillRow1($286,$287,$288,$289,$290); //@line 2361 "../src/h264bsd_reconstruct.c"
 label=77;break; //@line 2361 "../src/h264bsd_reconstruct.c"
 case 76: 
 var $292=$1; //@line 2363 "../src/h264bsd_reconstruct.c"
 var $293=$2; //@line 2363 "../src/h264bsd_reconstruct.c"
 var $294=$left; //@line 2363 "../src/h264bsd_reconstruct.c"
 var $295=$x; //@line 2363 "../src/h264bsd_reconstruct.c"
 var $296=$right; //@line 2363 "../src/h264bsd_reconstruct.c"
 _h264bsdFillRow7($292,$293,$294,$295,$296); //@line 2363 "../src/h264bsd_reconstruct.c"
 label=77;break;
 case 77: 
 var $298=$9; //@line 2364 "../src/h264bsd_reconstruct.c"
 var $299=$2; //@line 2364 "../src/h264bsd_reconstruct.c"
 var $300=(($299+$298)|0); //@line 2364 "../src/h264bsd_reconstruct.c"
 $2=$300; //@line 2364 "../src/h264bsd_reconstruct.c"
 label=78;break; //@line 2365 "../src/h264bsd_reconstruct.c"
 case 78: 
 var $302=$bottom; //@line 2357 "../src/h264bsd_reconstruct.c"
 var $303=((($302)-(1))|0); //@line 2357 "../src/h264bsd_reconstruct.c"
 $bottom=$303; //@line 2357 "../src/h264bsd_reconstruct.c"
 label=72;break; //@line 2357 "../src/h264bsd_reconstruct.c"
 case 79: 
 STACKTOP=sp;return; //@line 2366 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateChromaVer($pRef,$predPartChroma,$x0,$y0,$width,$height,$yFrac,$chromaPartWidth,$chromaPartHeight){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+144)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $c;
 var $val;
 var $ptrA;
 var $cbr;
 var $comp;
 var $block=sp;
 $1=$pRef;
 $2=$predPartChroma;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$yFrac;
 $8=$chromaPartWidth;
 $9=$chromaPartHeight;
 var $10=$2; //@line 226 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 226 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 226 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(9032,11560,226,13656); //@line 226 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 226 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 226 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 226 "../src/h264bsd_reconstruct.c"
 var $17=$8; //@line 227 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 227 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 227 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(9064,11560,227,13656); //@line 227 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 227 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 227 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 227 "../src/h264bsd_reconstruct.c"
 var $24=$9; //@line 228 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)!=0; //@line 228 "../src/h264bsd_reconstruct.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 228 "../src/h264bsd_reconstruct.c"
 case 6: 
 ___assert_fail(7984,11560,228,13656); //@line 228 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 228 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 228 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 228 "../src/h264bsd_reconstruct.c"
 var $31=$7; //@line 229 "../src/h264bsd_reconstruct.c"
 var $32=($31>>>0)<8; //@line 229 "../src/h264bsd_reconstruct.c"
 if($32){var $36=1;label=9;break;}else{label=8;break;} //@line 229 "../src/h264bsd_reconstruct.c"
 case 8: 
 ___assert_fail(5776,11560,229,13656); //@line 229 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 229 "../src/h264bsd_reconstruct.c"
 label=9;break; //@line 229 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $36;
 var $37=($36&1); //@line 229 "../src/h264bsd_reconstruct.c"
 var $38=$1; //@line 230 "../src/h264bsd_reconstruct.c"
 var $39=($38|0)!=0; //@line 230 "../src/h264bsd_reconstruct.c"
 if($39){var $43=1;label=11;break;}else{label=10;break;} //@line 230 "../src/h264bsd_reconstruct.c"
 case 10: 
 ___assert_fail(6280,11560,230,13656); //@line 230 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 230 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 230 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $43;
 var $44=($43&1); //@line 230 "../src/h264bsd_reconstruct.c"
 var $45=$3; //@line 232 "../src/h264bsd_reconstruct.c"
 var $46=($45|0)<0; //@line 232 "../src/h264bsd_reconstruct.c"
 if($46){label=15;break;}else{label=12;break;} //@line 232 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $48=$3; //@line 232 "../src/h264bsd_reconstruct.c"
 var $49=$8; //@line 232 "../src/h264bsd_reconstruct.c"
 var $50=((($48)+($49))|0); //@line 232 "../src/h264bsd_reconstruct.c"
 var $51=$5; //@line 232 "../src/h264bsd_reconstruct.c"
 var $52=($50>>>0)>($51>>>0); //@line 232 "../src/h264bsd_reconstruct.c"
 if($52){label=15;break;}else{label=13;break;} //@line 232 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $54=$4; //@line 232 "../src/h264bsd_reconstruct.c"
 var $55=($54|0)<0; //@line 232 "../src/h264bsd_reconstruct.c"
 if($55){label=15;break;}else{label=14;break;} //@line 232 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $57=$4; //@line 232 "../src/h264bsd_reconstruct.c"
 var $58=$9; //@line 232 "../src/h264bsd_reconstruct.c"
 var $59=((($57)+($58))|0); //@line 232 "../src/h264bsd_reconstruct.c"
 var $60=((($59)+(1))|0); //@line 232 "../src/h264bsd_reconstruct.c"
 var $61=$6; //@line 232 "../src/h264bsd_reconstruct.c"
 var $62=($60>>>0)>($61>>>0); //@line 232 "../src/h264bsd_reconstruct.c"
 if($62){label=15;break;}else{label=16;break;} //@line 232 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $64=$1; //@line 235 "../src/h264bsd_reconstruct.c"
 var $65=(($block)|0); //@line 235 "../src/h264bsd_reconstruct.c"
 var $66=$3; //@line 235 "../src/h264bsd_reconstruct.c"
 var $67=$4; //@line 235 "../src/h264bsd_reconstruct.c"
 var $68=$5; //@line 235 "../src/h264bsd_reconstruct.c"
 var $69=$6; //@line 235 "../src/h264bsd_reconstruct.c"
 var $70=$8; //@line 235 "../src/h264bsd_reconstruct.c"
 var $71=$9; //@line 235 "../src/h264bsd_reconstruct.c"
 var $72=((($71)+(1))|0); //@line 235 "../src/h264bsd_reconstruct.c"
 var $73=$8; //@line 235 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($64,$65,$66,$67,$68,$69,$70,$72,$73); //@line 235 "../src/h264bsd_reconstruct.c"
 var $74=$5; //@line 237 "../src/h264bsd_reconstruct.c"
 var $75=$6; //@line 237 "../src/h264bsd_reconstruct.c"
 var $76=(Math_imul($74,$75)|0); //@line 237 "../src/h264bsd_reconstruct.c"
 var $77=$1; //@line 237 "../src/h264bsd_reconstruct.c"
 var $78=(($77+$76)|0); //@line 237 "../src/h264bsd_reconstruct.c"
 $1=$78; //@line 237 "../src/h264bsd_reconstruct.c"
 var $79=$1; //@line 238 "../src/h264bsd_reconstruct.c"
 var $80=(($block)|0); //@line 238 "../src/h264bsd_reconstruct.c"
 var $81=$8; //@line 238 "../src/h264bsd_reconstruct.c"
 var $82=$9; //@line 238 "../src/h264bsd_reconstruct.c"
 var $83=((($82)+(1))|0); //@line 238 "../src/h264bsd_reconstruct.c"
 var $84=(Math_imul($81,$83)|0); //@line 238 "../src/h264bsd_reconstruct.c"
 var $85=(($80+$84)|0); //@line 238 "../src/h264bsd_reconstruct.c"
 var $86=$3; //@line 238 "../src/h264bsd_reconstruct.c"
 var $87=$4; //@line 238 "../src/h264bsd_reconstruct.c"
 var $88=$5; //@line 238 "../src/h264bsd_reconstruct.c"
 var $89=$6; //@line 238 "../src/h264bsd_reconstruct.c"
 var $90=$8; //@line 238 "../src/h264bsd_reconstruct.c"
 var $91=$9; //@line 238 "../src/h264bsd_reconstruct.c"
 var $92=((($91)+(1))|0); //@line 238 "../src/h264bsd_reconstruct.c"
 var $93=$8; //@line 238 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($79,$85,$86,$87,$88,$89,$90,$92,$93); //@line 238 "../src/h264bsd_reconstruct.c"
 var $94=(($block)|0); //@line 242 "../src/h264bsd_reconstruct.c"
 $1=$94; //@line 242 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 243 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 244 "../src/h264bsd_reconstruct.c"
 var $95=$8; //@line 245 "../src/h264bsd_reconstruct.c"
 $5=$95; //@line 245 "../src/h264bsd_reconstruct.c"
 var $96=$9; //@line 246 "../src/h264bsd_reconstruct.c"
 var $97=((($96)+(1))|0); //@line 246 "../src/h264bsd_reconstruct.c"
 $6=$97; //@line 246 "../src/h264bsd_reconstruct.c"
 label=16;break; //@line 247 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $99=$7; //@line 249 "../src/h264bsd_reconstruct.c"
 var $100=(((8)-($99))|0); //@line 249 "../src/h264bsd_reconstruct.c"
 $val=$100; //@line 249 "../src/h264bsd_reconstruct.c"
 $comp=0; //@line 251 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 251 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $102=$comp; //@line 251 "../src/h264bsd_reconstruct.c"
 var $103=($102>>>0)<=1; //@line 251 "../src/h264bsd_reconstruct.c"
 if($103){label=18;break;}else{label=28;break;} //@line 251 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $105=$1; //@line 254 "../src/h264bsd_reconstruct.c"
 var $106=$comp; //@line 254 "../src/h264bsd_reconstruct.c"
 var $107=$6; //@line 254 "../src/h264bsd_reconstruct.c"
 var $108=(Math_imul($106,$107)|0); //@line 254 "../src/h264bsd_reconstruct.c"
 var $109=$4; //@line 254 "../src/h264bsd_reconstruct.c"
 var $110=((($108)+($109))|0); //@line 254 "../src/h264bsd_reconstruct.c"
 var $111=$5; //@line 254 "../src/h264bsd_reconstruct.c"
 var $112=(Math_imul($110,$111)|0); //@line 254 "../src/h264bsd_reconstruct.c"
 var $113=(($105+$112)|0); //@line 254 "../src/h264bsd_reconstruct.c"
 var $114=$3; //@line 254 "../src/h264bsd_reconstruct.c"
 var $115=(($113+$114)|0); //@line 254 "../src/h264bsd_reconstruct.c"
 $ptrA=$115; //@line 254 "../src/h264bsd_reconstruct.c"
 var $116=$2; //@line 255 "../src/h264bsd_reconstruct.c"
 var $117=$comp; //@line 255 "../src/h264bsd_reconstruct.c"
 var $118=($117<<3); //@line 255 "../src/h264bsd_reconstruct.c"
 var $119=($118<<3); //@line 255 "../src/h264bsd_reconstruct.c"
 var $120=(($116+$119)|0); //@line 255 "../src/h264bsd_reconstruct.c"
 $cbr=$120; //@line 255 "../src/h264bsd_reconstruct.c"
 var $121=$9; //@line 259 "../src/h264bsd_reconstruct.c"
 var $122=$121>>>1; //@line 259 "../src/h264bsd_reconstruct.c"
 $y=$122; //@line 259 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 259 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $124=$y; //@line 259 "../src/h264bsd_reconstruct.c"
 var $125=($124|0)!=0; //@line 259 "../src/h264bsd_reconstruct.c"
 if($125){label=20;break;}else{label=26;break;} //@line 259 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $127=$8; //@line 261 "../src/h264bsd_reconstruct.c"
 var $128=$127>>>1; //@line 261 "../src/h264bsd_reconstruct.c"
 $x=$128; //@line 261 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 261 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $130=$x; //@line 261 "../src/h264bsd_reconstruct.c"
 var $131=($130|0)!=0; //@line 261 "../src/h264bsd_reconstruct.c"
 if($131){label=22;break;}else{label=24;break;} //@line 261 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $133=$5; //@line 263 "../src/h264bsd_reconstruct.c"
 var $134=($133<<1); //@line 263 "../src/h264bsd_reconstruct.c"
 var $135=$ptrA; //@line 263 "../src/h264bsd_reconstruct.c"
 var $136=(($135+$134)|0); //@line 263 "../src/h264bsd_reconstruct.c"
 var $137=HEAP8[($136)]; //@line 263 "../src/h264bsd_reconstruct.c"
 var $138=($137&255); //@line 263 "../src/h264bsd_reconstruct.c"
 $tmp3=$138; //@line 263 "../src/h264bsd_reconstruct.c"
 var $139=$5; //@line 264 "../src/h264bsd_reconstruct.c"
 var $140=$ptrA; //@line 264 "../src/h264bsd_reconstruct.c"
 var $141=(($140+$139)|0); //@line 264 "../src/h264bsd_reconstruct.c"
 var $142=HEAP8[($141)]; //@line 264 "../src/h264bsd_reconstruct.c"
 var $143=($142&255); //@line 264 "../src/h264bsd_reconstruct.c"
 $tmp2=$143; //@line 264 "../src/h264bsd_reconstruct.c"
 var $144=$ptrA; //@line 265 "../src/h264bsd_reconstruct.c"
 var $145=(($144+1)|0); //@line 265 "../src/h264bsd_reconstruct.c"
 $ptrA=$145; //@line 265 "../src/h264bsd_reconstruct.c"
 var $146=HEAP8[($144)]; //@line 265 "../src/h264bsd_reconstruct.c"
 var $147=($146&255); //@line 265 "../src/h264bsd_reconstruct.c"
 $tmp1=$147; //@line 265 "../src/h264bsd_reconstruct.c"
 var $148=$val; //@line 266 "../src/h264bsd_reconstruct.c"
 var $149=$tmp2; //@line 266 "../src/h264bsd_reconstruct.c"
 var $150=(Math_imul($148,$149)|0); //@line 266 "../src/h264bsd_reconstruct.c"
 var $151=$7; //@line 266 "../src/h264bsd_reconstruct.c"
 var $152=$tmp3; //@line 266 "../src/h264bsd_reconstruct.c"
 var $153=(Math_imul($151,$152)|0); //@line 266 "../src/h264bsd_reconstruct.c"
 var $154=((($150)+($153))|0); //@line 266 "../src/h264bsd_reconstruct.c"
 var $155=$154<<3; //@line 266 "../src/h264bsd_reconstruct.c"
 var $156=((($155)+(32))|0); //@line 266 "../src/h264bsd_reconstruct.c"
 $c=$156; //@line 266 "../src/h264bsd_reconstruct.c"
 var $157=$c; //@line 267 "../src/h264bsd_reconstruct.c"
 var $158=$157>>>6; //@line 267 "../src/h264bsd_reconstruct.c"
 $c=$158; //@line 267 "../src/h264bsd_reconstruct.c"
 var $159=$c; //@line 268 "../src/h264bsd_reconstruct.c"
 var $160=(($159)&255); //@line 268 "../src/h264bsd_reconstruct.c"
 var $161=$cbr; //@line 268 "../src/h264bsd_reconstruct.c"
 var $162=(($161+8)|0); //@line 268 "../src/h264bsd_reconstruct.c"
 HEAP8[($162)]=$160; //@line 268 "../src/h264bsd_reconstruct.c"
 var $163=$val; //@line 269 "../src/h264bsd_reconstruct.c"
 var $164=$tmp1; //@line 269 "../src/h264bsd_reconstruct.c"
 var $165=(Math_imul($163,$164)|0); //@line 269 "../src/h264bsd_reconstruct.c"
 var $166=$7; //@line 269 "../src/h264bsd_reconstruct.c"
 var $167=$tmp2; //@line 269 "../src/h264bsd_reconstruct.c"
 var $168=(Math_imul($166,$167)|0); //@line 269 "../src/h264bsd_reconstruct.c"
 var $169=((($165)+($168))|0); //@line 269 "../src/h264bsd_reconstruct.c"
 var $170=$169<<3; //@line 269 "../src/h264bsd_reconstruct.c"
 var $171=((($170)+(32))|0); //@line 269 "../src/h264bsd_reconstruct.c"
 $c=$171; //@line 269 "../src/h264bsd_reconstruct.c"
 var $172=$c; //@line 270 "../src/h264bsd_reconstruct.c"
 var $173=$172>>>6; //@line 270 "../src/h264bsd_reconstruct.c"
 $c=$173; //@line 270 "../src/h264bsd_reconstruct.c"
 var $174=$c; //@line 271 "../src/h264bsd_reconstruct.c"
 var $175=(($174)&255); //@line 271 "../src/h264bsd_reconstruct.c"
 var $176=$cbr; //@line 271 "../src/h264bsd_reconstruct.c"
 var $177=(($176+1)|0); //@line 271 "../src/h264bsd_reconstruct.c"
 $cbr=$177; //@line 271 "../src/h264bsd_reconstruct.c"
 HEAP8[($176)]=$175; //@line 271 "../src/h264bsd_reconstruct.c"
 var $178=$5; //@line 272 "../src/h264bsd_reconstruct.c"
 var $179=($178<<1); //@line 272 "../src/h264bsd_reconstruct.c"
 var $180=$ptrA; //@line 272 "../src/h264bsd_reconstruct.c"
 var $181=(($180+$179)|0); //@line 272 "../src/h264bsd_reconstruct.c"
 var $182=HEAP8[($181)]; //@line 272 "../src/h264bsd_reconstruct.c"
 var $183=($182&255); //@line 272 "../src/h264bsd_reconstruct.c"
 $tmp3=$183; //@line 272 "../src/h264bsd_reconstruct.c"
 var $184=$5; //@line 273 "../src/h264bsd_reconstruct.c"
 var $185=$ptrA; //@line 273 "../src/h264bsd_reconstruct.c"
 var $186=(($185+$184)|0); //@line 273 "../src/h264bsd_reconstruct.c"
 var $187=HEAP8[($186)]; //@line 273 "../src/h264bsd_reconstruct.c"
 var $188=($187&255); //@line 273 "../src/h264bsd_reconstruct.c"
 $tmp2=$188; //@line 273 "../src/h264bsd_reconstruct.c"
 var $189=$ptrA; //@line 274 "../src/h264bsd_reconstruct.c"
 var $190=(($189+1)|0); //@line 274 "../src/h264bsd_reconstruct.c"
 $ptrA=$190; //@line 274 "../src/h264bsd_reconstruct.c"
 var $191=HEAP8[($189)]; //@line 274 "../src/h264bsd_reconstruct.c"
 var $192=($191&255); //@line 274 "../src/h264bsd_reconstruct.c"
 $tmp1=$192; //@line 274 "../src/h264bsd_reconstruct.c"
 var $193=$val; //@line 275 "../src/h264bsd_reconstruct.c"
 var $194=$tmp2; //@line 275 "../src/h264bsd_reconstruct.c"
 var $195=(Math_imul($193,$194)|0); //@line 275 "../src/h264bsd_reconstruct.c"
 var $196=$7; //@line 275 "../src/h264bsd_reconstruct.c"
 var $197=$tmp3; //@line 275 "../src/h264bsd_reconstruct.c"
 var $198=(Math_imul($196,$197)|0); //@line 275 "../src/h264bsd_reconstruct.c"
 var $199=((($195)+($198))|0); //@line 275 "../src/h264bsd_reconstruct.c"
 var $200=$199<<3; //@line 275 "../src/h264bsd_reconstruct.c"
 var $201=((($200)+(32))|0); //@line 275 "../src/h264bsd_reconstruct.c"
 $c=$201; //@line 275 "../src/h264bsd_reconstruct.c"
 var $202=$c; //@line 276 "../src/h264bsd_reconstruct.c"
 var $203=$202>>>6; //@line 276 "../src/h264bsd_reconstruct.c"
 $c=$203; //@line 276 "../src/h264bsd_reconstruct.c"
 var $204=$c; //@line 277 "../src/h264bsd_reconstruct.c"
 var $205=(($204)&255); //@line 277 "../src/h264bsd_reconstruct.c"
 var $206=$cbr; //@line 277 "../src/h264bsd_reconstruct.c"
 var $207=(($206+8)|0); //@line 277 "../src/h264bsd_reconstruct.c"
 HEAP8[($207)]=$205; //@line 277 "../src/h264bsd_reconstruct.c"
 var $208=$val; //@line 278 "../src/h264bsd_reconstruct.c"
 var $209=$tmp1; //@line 278 "../src/h264bsd_reconstruct.c"
 var $210=(Math_imul($208,$209)|0); //@line 278 "../src/h264bsd_reconstruct.c"
 var $211=$7; //@line 278 "../src/h264bsd_reconstruct.c"
 var $212=$tmp2; //@line 278 "../src/h264bsd_reconstruct.c"
 var $213=(Math_imul($211,$212)|0); //@line 278 "../src/h264bsd_reconstruct.c"
 var $214=((($210)+($213))|0); //@line 278 "../src/h264bsd_reconstruct.c"
 var $215=$214<<3; //@line 278 "../src/h264bsd_reconstruct.c"
 var $216=((($215)+(32))|0); //@line 278 "../src/h264bsd_reconstruct.c"
 $c=$216; //@line 278 "../src/h264bsd_reconstruct.c"
 var $217=$c; //@line 279 "../src/h264bsd_reconstruct.c"
 var $218=$217>>>6; //@line 279 "../src/h264bsd_reconstruct.c"
 $c=$218; //@line 279 "../src/h264bsd_reconstruct.c"
 var $219=$c; //@line 280 "../src/h264bsd_reconstruct.c"
 var $220=(($219)&255); //@line 280 "../src/h264bsd_reconstruct.c"
 var $221=$cbr; //@line 280 "../src/h264bsd_reconstruct.c"
 var $222=(($221+1)|0); //@line 280 "../src/h264bsd_reconstruct.c"
 $cbr=$222; //@line 280 "../src/h264bsd_reconstruct.c"
 HEAP8[($221)]=$220; //@line 280 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 281 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $224=$x; //@line 261 "../src/h264bsd_reconstruct.c"
 var $225=((($224)-(1))|0); //@line 261 "../src/h264bsd_reconstruct.c"
 $x=$225; //@line 261 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 261 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $227=$8; //@line 282 "../src/h264bsd_reconstruct.c"
 var $228=(((16)-($227))|0); //@line 282 "../src/h264bsd_reconstruct.c"
 var $229=$cbr; //@line 282 "../src/h264bsd_reconstruct.c"
 var $230=(($229+$228)|0); //@line 282 "../src/h264bsd_reconstruct.c"
 $cbr=$230; //@line 282 "../src/h264bsd_reconstruct.c"
 var $231=$5; //@line 283 "../src/h264bsd_reconstruct.c"
 var $232=($231<<1); //@line 283 "../src/h264bsd_reconstruct.c"
 var $233=$8; //@line 283 "../src/h264bsd_reconstruct.c"
 var $234=((($232)-($233))|0); //@line 283 "../src/h264bsd_reconstruct.c"
 var $235=$ptrA; //@line 283 "../src/h264bsd_reconstruct.c"
 var $236=(($235+$234)|0); //@line 283 "../src/h264bsd_reconstruct.c"
 $ptrA=$236; //@line 283 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 284 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $238=$y; //@line 259 "../src/h264bsd_reconstruct.c"
 var $239=((($238)-(1))|0); //@line 259 "../src/h264bsd_reconstruct.c"
 $y=$239; //@line 259 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 259 "../src/h264bsd_reconstruct.c"
 case 26: 
 label=27;break; //@line 285 "../src/h264bsd_reconstruct.c"
 case 27: 
 var $242=$comp; //@line 251 "../src/h264bsd_reconstruct.c"
 var $243=((($242)+(1))|0); //@line 251 "../src/h264bsd_reconstruct.c"
 $comp=$243; //@line 251 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 251 "../src/h264bsd_reconstruct.c"
 case 28: 
 STACKTOP=sp;return; //@line 287 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateChromaHorVer($ref,$predPartChroma,$x0,$y0,$width,$height,$xFrac,$yFrac,$chromaPartWidth,$chromaPartHeight){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+168)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $10;
 var $block=sp;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $valX;
 var $valY;
 var $plus32;
 var $comp;
 var $ptrA;
 var $cbr;
 $1=$ref;
 $2=$predPartChroma;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$xFrac;
 $8=$yFrac;
 $9=$chromaPartWidth;
 $10=$chromaPartHeight;
 $plus32=32; //@line 314 "../src/h264bsd_reconstruct.c"
 var $11=$2; //@line 320 "../src/h264bsd_reconstruct.c"
 var $12=($11|0)!=0; //@line 320 "../src/h264bsd_reconstruct.c"
 if($12){var $16=0;label=3;break;}else{label=2;break;} //@line 320 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(9032,11560,320,13688); //@line 320 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 320 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 320 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $16;
 var $17=($16&1); //@line 320 "../src/h264bsd_reconstruct.c"
 var $18=$9; //@line 321 "../src/h264bsd_reconstruct.c"
 var $19=($18|0)!=0; //@line 321 "../src/h264bsd_reconstruct.c"
 if($19){var $23=1;label=5;break;}else{label=4;break;} //@line 321 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(9064,11560,321,13688); //@line 321 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 321 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 321 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $23;
 var $24=($23&1); //@line 321 "../src/h264bsd_reconstruct.c"
 var $25=$10; //@line 322 "../src/h264bsd_reconstruct.c"
 var $26=($25|0)!=0; //@line 322 "../src/h264bsd_reconstruct.c"
 if($26){var $30=1;label=7;break;}else{label=6;break;} //@line 322 "../src/h264bsd_reconstruct.c"
 case 6: 
 ___assert_fail(7984,11560,322,13688); //@line 322 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 322 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 322 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $30;
 var $31=($30&1); //@line 322 "../src/h264bsd_reconstruct.c"
 var $32=$7; //@line 323 "../src/h264bsd_reconstruct.c"
 var $33=($32>>>0)<8; //@line 323 "../src/h264bsd_reconstruct.c"
 if($33){var $37=1;label=9;break;}else{label=8;break;} //@line 323 "../src/h264bsd_reconstruct.c"
 case 8: 
 ___assert_fail(7064,11560,323,13688); //@line 323 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 323 "../src/h264bsd_reconstruct.c"
 label=9;break; //@line 323 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $37;
 var $38=($37&1); //@line 323 "../src/h264bsd_reconstruct.c"
 var $39=$8; //@line 324 "../src/h264bsd_reconstruct.c"
 var $40=($39>>>0)<8; //@line 324 "../src/h264bsd_reconstruct.c"
 if($40){var $44=1;label=11;break;}else{label=10;break;} //@line 324 "../src/h264bsd_reconstruct.c"
 case 10: 
 ___assert_fail(5776,11560,324,13688); //@line 324 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 324 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 324 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $44;
 var $45=($44&1); //@line 324 "../src/h264bsd_reconstruct.c"
 var $46=$1; //@line 325 "../src/h264bsd_reconstruct.c"
 var $47=($46|0)!=0; //@line 325 "../src/h264bsd_reconstruct.c"
 if($47){var $51=1;label=13;break;}else{label=12;break;} //@line 325 "../src/h264bsd_reconstruct.c"
 case 12: 
 ___assert_fail(5344,11560,325,13688); //@line 325 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 325 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 325 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $51;
 var $52=($51&1); //@line 325 "../src/h264bsd_reconstruct.c"
 var $53=$3; //@line 327 "../src/h264bsd_reconstruct.c"
 var $54=($53|0)<0; //@line 327 "../src/h264bsd_reconstruct.c"
 if($54){label=17;break;}else{label=14;break;} //@line 327 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $56=$3; //@line 327 "../src/h264bsd_reconstruct.c"
 var $57=$9; //@line 327 "../src/h264bsd_reconstruct.c"
 var $58=((($56)+($57))|0); //@line 327 "../src/h264bsd_reconstruct.c"
 var $59=((($58)+(1))|0); //@line 327 "../src/h264bsd_reconstruct.c"
 var $60=$5; //@line 327 "../src/h264bsd_reconstruct.c"
 var $61=($59>>>0)>($60>>>0); //@line 327 "../src/h264bsd_reconstruct.c"
 if($61){label=17;break;}else{label=15;break;} //@line 327 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $63=$4; //@line 327 "../src/h264bsd_reconstruct.c"
 var $64=($63|0)<0; //@line 327 "../src/h264bsd_reconstruct.c"
 if($64){label=17;break;}else{label=16;break;} //@line 327 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $66=$4; //@line 327 "../src/h264bsd_reconstruct.c"
 var $67=$10; //@line 327 "../src/h264bsd_reconstruct.c"
 var $68=((($66)+($67))|0); //@line 327 "../src/h264bsd_reconstruct.c"
 var $69=((($68)+(1))|0); //@line 327 "../src/h264bsd_reconstruct.c"
 var $70=$6; //@line 327 "../src/h264bsd_reconstruct.c"
 var $71=($69>>>0)>($70>>>0); //@line 327 "../src/h264bsd_reconstruct.c"
 if($71){label=17;break;}else{label=18;break;} //@line 327 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $73=$1; //@line 330 "../src/h264bsd_reconstruct.c"
 var $74=(($block)|0); //@line 330 "../src/h264bsd_reconstruct.c"
 var $75=$3; //@line 330 "../src/h264bsd_reconstruct.c"
 var $76=$4; //@line 330 "../src/h264bsd_reconstruct.c"
 var $77=$5; //@line 330 "../src/h264bsd_reconstruct.c"
 var $78=$6; //@line 330 "../src/h264bsd_reconstruct.c"
 var $79=$9; //@line 330 "../src/h264bsd_reconstruct.c"
 var $80=((($79)+(1))|0); //@line 330 "../src/h264bsd_reconstruct.c"
 var $81=$10; //@line 330 "../src/h264bsd_reconstruct.c"
 var $82=((($81)+(1))|0); //@line 330 "../src/h264bsd_reconstruct.c"
 var $83=$9; //@line 330 "../src/h264bsd_reconstruct.c"
 var $84=((($83)+(1))|0); //@line 330 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($73,$74,$75,$76,$77,$78,$80,$82,$84); //@line 330 "../src/h264bsd_reconstruct.c"
 var $85=$5; //@line 332 "../src/h264bsd_reconstruct.c"
 var $86=$6; //@line 332 "../src/h264bsd_reconstruct.c"
 var $87=(Math_imul($85,$86)|0); //@line 332 "../src/h264bsd_reconstruct.c"
 var $88=$1; //@line 332 "../src/h264bsd_reconstruct.c"
 var $89=(($88+$87)|0); //@line 332 "../src/h264bsd_reconstruct.c"
 $1=$89; //@line 332 "../src/h264bsd_reconstruct.c"
 var $90=$1; //@line 333 "../src/h264bsd_reconstruct.c"
 var $91=(($block)|0); //@line 333 "../src/h264bsd_reconstruct.c"
 var $92=$9; //@line 333 "../src/h264bsd_reconstruct.c"
 var $93=((($92)+(1))|0); //@line 333 "../src/h264bsd_reconstruct.c"
 var $94=$10; //@line 333 "../src/h264bsd_reconstruct.c"
 var $95=((($94)+(1))|0); //@line 333 "../src/h264bsd_reconstruct.c"
 var $96=(Math_imul($93,$95)|0); //@line 333 "../src/h264bsd_reconstruct.c"
 var $97=(($91+$96)|0); //@line 333 "../src/h264bsd_reconstruct.c"
 var $98=$3; //@line 333 "../src/h264bsd_reconstruct.c"
 var $99=$4; //@line 333 "../src/h264bsd_reconstruct.c"
 var $100=$5; //@line 333 "../src/h264bsd_reconstruct.c"
 var $101=$6; //@line 333 "../src/h264bsd_reconstruct.c"
 var $102=$9; //@line 333 "../src/h264bsd_reconstruct.c"
 var $103=((($102)+(1))|0); //@line 333 "../src/h264bsd_reconstruct.c"
 var $104=$10; //@line 333 "../src/h264bsd_reconstruct.c"
 var $105=((($104)+(1))|0); //@line 333 "../src/h264bsd_reconstruct.c"
 var $106=$9; //@line 333 "../src/h264bsd_reconstruct.c"
 var $107=((($106)+(1))|0); //@line 333 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($90,$97,$98,$99,$100,$101,$103,$105,$107); //@line 333 "../src/h264bsd_reconstruct.c"
 var $108=(($block)|0); //@line 337 "../src/h264bsd_reconstruct.c"
 $1=$108; //@line 337 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 338 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 339 "../src/h264bsd_reconstruct.c"
 var $109=$9; //@line 340 "../src/h264bsd_reconstruct.c"
 var $110=((($109)+(1))|0); //@line 340 "../src/h264bsd_reconstruct.c"
 $5=$110; //@line 340 "../src/h264bsd_reconstruct.c"
 var $111=$10; //@line 341 "../src/h264bsd_reconstruct.c"
 var $112=((($111)+(1))|0); //@line 341 "../src/h264bsd_reconstruct.c"
 $6=$112; //@line 341 "../src/h264bsd_reconstruct.c"
 label=18;break; //@line 342 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $114=$7; //@line 344 "../src/h264bsd_reconstruct.c"
 var $115=(((8)-($114))|0); //@line 344 "../src/h264bsd_reconstruct.c"
 $valX=$115; //@line 344 "../src/h264bsd_reconstruct.c"
 var $116=$8; //@line 345 "../src/h264bsd_reconstruct.c"
 var $117=(((8)-($116))|0); //@line 345 "../src/h264bsd_reconstruct.c"
 $valY=$117; //@line 345 "../src/h264bsd_reconstruct.c"
 $comp=0; //@line 347 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 347 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $119=$comp; //@line 347 "../src/h264bsd_reconstruct.c"
 var $120=($119>>>0)<=1; //@line 347 "../src/h264bsd_reconstruct.c"
 if($120){label=20;break;}else{label=30;break;} //@line 347 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $122=$1; //@line 350 "../src/h264bsd_reconstruct.c"
 var $123=$comp; //@line 350 "../src/h264bsd_reconstruct.c"
 var $124=$6; //@line 350 "../src/h264bsd_reconstruct.c"
 var $125=(Math_imul($123,$124)|0); //@line 350 "../src/h264bsd_reconstruct.c"
 var $126=$4; //@line 350 "../src/h264bsd_reconstruct.c"
 var $127=((($125)+($126))|0); //@line 350 "../src/h264bsd_reconstruct.c"
 var $128=$5; //@line 350 "../src/h264bsd_reconstruct.c"
 var $129=(Math_imul($127,$128)|0); //@line 350 "../src/h264bsd_reconstruct.c"
 var $130=(($122+$129)|0); //@line 350 "../src/h264bsd_reconstruct.c"
 var $131=$3; //@line 350 "../src/h264bsd_reconstruct.c"
 var $132=(($130+$131)|0); //@line 350 "../src/h264bsd_reconstruct.c"
 $ptrA=$132; //@line 350 "../src/h264bsd_reconstruct.c"
 var $133=$2; //@line 351 "../src/h264bsd_reconstruct.c"
 var $134=$comp; //@line 351 "../src/h264bsd_reconstruct.c"
 var $135=($134<<3); //@line 351 "../src/h264bsd_reconstruct.c"
 var $136=($135<<3); //@line 351 "../src/h264bsd_reconstruct.c"
 var $137=(($133+$136)|0); //@line 351 "../src/h264bsd_reconstruct.c"
 $cbr=$137; //@line 351 "../src/h264bsd_reconstruct.c"
 var $138=$10; //@line 355 "../src/h264bsd_reconstruct.c"
 var $139=$138>>>1; //@line 355 "../src/h264bsd_reconstruct.c"
 $y=$139; //@line 355 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 355 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $141=$y; //@line 355 "../src/h264bsd_reconstruct.c"
 var $142=($141|0)!=0; //@line 355 "../src/h264bsd_reconstruct.c"
 if($142){label=22;break;}else{label=28;break;} //@line 355 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $144=$ptrA; //@line 357 "../src/h264bsd_reconstruct.c"
 var $145=HEAP8[($144)]; //@line 357 "../src/h264bsd_reconstruct.c"
 var $146=($145&255); //@line 357 "../src/h264bsd_reconstruct.c"
 $tmp1=$146; //@line 357 "../src/h264bsd_reconstruct.c"
 var $147=$5; //@line 358 "../src/h264bsd_reconstruct.c"
 var $148=$ptrA; //@line 358 "../src/h264bsd_reconstruct.c"
 var $149=(($148+$147)|0); //@line 358 "../src/h264bsd_reconstruct.c"
 var $150=HEAP8[($149)]; //@line 358 "../src/h264bsd_reconstruct.c"
 var $151=($150&255); //@line 358 "../src/h264bsd_reconstruct.c"
 $tmp3=$151; //@line 358 "../src/h264bsd_reconstruct.c"
 var $152=$5; //@line 359 "../src/h264bsd_reconstruct.c"
 var $153=($152<<1); //@line 359 "../src/h264bsd_reconstruct.c"
 var $154=$ptrA; //@line 359 "../src/h264bsd_reconstruct.c"
 var $155=(($154+$153)|0); //@line 359 "../src/h264bsd_reconstruct.c"
 var $156=HEAP8[($155)]; //@line 359 "../src/h264bsd_reconstruct.c"
 var $157=($156&255); //@line 359 "../src/h264bsd_reconstruct.c"
 $tmp5=$157; //@line 359 "../src/h264bsd_reconstruct.c"
 var $158=$valY; //@line 360 "../src/h264bsd_reconstruct.c"
 var $159=$tmp1; //@line 360 "../src/h264bsd_reconstruct.c"
 var $160=(Math_imul($159,$158)|0); //@line 360 "../src/h264bsd_reconstruct.c"
 $tmp1=$160; //@line 360 "../src/h264bsd_reconstruct.c"
 var $161=$tmp3; //@line 361 "../src/h264bsd_reconstruct.c"
 var $162=$8; //@line 361 "../src/h264bsd_reconstruct.c"
 var $163=(Math_imul($161,$162)|0); //@line 361 "../src/h264bsd_reconstruct.c"
 var $164=$tmp1; //@line 361 "../src/h264bsd_reconstruct.c"
 var $165=((($164)+($163))|0); //@line 361 "../src/h264bsd_reconstruct.c"
 $tmp1=$165; //@line 361 "../src/h264bsd_reconstruct.c"
 var $166=$valY; //@line 362 "../src/h264bsd_reconstruct.c"
 var $167=$tmp3; //@line 362 "../src/h264bsd_reconstruct.c"
 var $168=(Math_imul($167,$166)|0); //@line 362 "../src/h264bsd_reconstruct.c"
 $tmp3=$168; //@line 362 "../src/h264bsd_reconstruct.c"
 var $169=$tmp5; //@line 363 "../src/h264bsd_reconstruct.c"
 var $170=$8; //@line 363 "../src/h264bsd_reconstruct.c"
 var $171=(Math_imul($169,$170)|0); //@line 363 "../src/h264bsd_reconstruct.c"
 var $172=$tmp3; //@line 363 "../src/h264bsd_reconstruct.c"
 var $173=((($172)+($171))|0); //@line 363 "../src/h264bsd_reconstruct.c"
 $tmp3=$173; //@line 363 "../src/h264bsd_reconstruct.c"
 var $174=$9; //@line 364 "../src/h264bsd_reconstruct.c"
 var $175=$174>>>1; //@line 364 "../src/h264bsd_reconstruct.c"
 $x=$175; //@line 364 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 364 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $177=$x; //@line 364 "../src/h264bsd_reconstruct.c"
 var $178=($177|0)!=0; //@line 364 "../src/h264bsd_reconstruct.c"
 if($178){label=24;break;}else{label=26;break;} //@line 364 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $180=$ptrA; //@line 366 "../src/h264bsd_reconstruct.c"
 var $181=(($180+1)|0); //@line 366 "../src/h264bsd_reconstruct.c"
 $ptrA=$181; //@line 366 "../src/h264bsd_reconstruct.c"
 var $182=HEAP8[($181)]; //@line 366 "../src/h264bsd_reconstruct.c"
 var $183=($182&255); //@line 366 "../src/h264bsd_reconstruct.c"
 $tmp2=$183; //@line 366 "../src/h264bsd_reconstruct.c"
 var $184=$5; //@line 367 "../src/h264bsd_reconstruct.c"
 var $185=$ptrA; //@line 367 "../src/h264bsd_reconstruct.c"
 var $186=(($185+$184)|0); //@line 367 "../src/h264bsd_reconstruct.c"
 var $187=HEAP8[($186)]; //@line 367 "../src/h264bsd_reconstruct.c"
 var $188=($187&255); //@line 367 "../src/h264bsd_reconstruct.c"
 $tmp4=$188; //@line 367 "../src/h264bsd_reconstruct.c"
 var $189=$5; //@line 368 "../src/h264bsd_reconstruct.c"
 var $190=($189<<1); //@line 368 "../src/h264bsd_reconstruct.c"
 var $191=$ptrA; //@line 368 "../src/h264bsd_reconstruct.c"
 var $192=(($191+$190)|0); //@line 368 "../src/h264bsd_reconstruct.c"
 var $193=HEAP8[($192)]; //@line 368 "../src/h264bsd_reconstruct.c"
 var $194=($193&255); //@line 368 "../src/h264bsd_reconstruct.c"
 $tmp6=$194; //@line 368 "../src/h264bsd_reconstruct.c"
 var $195=$valY; //@line 369 "../src/h264bsd_reconstruct.c"
 var $196=$tmp2; //@line 369 "../src/h264bsd_reconstruct.c"
 var $197=(Math_imul($196,$195)|0); //@line 369 "../src/h264bsd_reconstruct.c"
 $tmp2=$197; //@line 369 "../src/h264bsd_reconstruct.c"
 var $198=$tmp4; //@line 370 "../src/h264bsd_reconstruct.c"
 var $199=$8; //@line 370 "../src/h264bsd_reconstruct.c"
 var $200=(Math_imul($198,$199)|0); //@line 370 "../src/h264bsd_reconstruct.c"
 var $201=$tmp2; //@line 370 "../src/h264bsd_reconstruct.c"
 var $202=((($201)+($200))|0); //@line 370 "../src/h264bsd_reconstruct.c"
 $tmp2=$202; //@line 370 "../src/h264bsd_reconstruct.c"
 var $203=$valY; //@line 371 "../src/h264bsd_reconstruct.c"
 var $204=$tmp4; //@line 371 "../src/h264bsd_reconstruct.c"
 var $205=(Math_imul($204,$203)|0); //@line 371 "../src/h264bsd_reconstruct.c"
 $tmp4=$205; //@line 371 "../src/h264bsd_reconstruct.c"
 var $206=$tmp6; //@line 372 "../src/h264bsd_reconstruct.c"
 var $207=$8; //@line 372 "../src/h264bsd_reconstruct.c"
 var $208=(Math_imul($206,$207)|0); //@line 372 "../src/h264bsd_reconstruct.c"
 var $209=$tmp4; //@line 372 "../src/h264bsd_reconstruct.c"
 var $210=((($209)+($208))|0); //@line 372 "../src/h264bsd_reconstruct.c"
 $tmp4=$210; //@line 372 "../src/h264bsd_reconstruct.c"
 var $211=$tmp1; //@line 373 "../src/h264bsd_reconstruct.c"
 var $212=$valX; //@line 373 "../src/h264bsd_reconstruct.c"
 var $213=(Math_imul($211,$212)|0); //@line 373 "../src/h264bsd_reconstruct.c"
 var $214=$plus32; //@line 373 "../src/h264bsd_reconstruct.c"
 var $215=((($213)+($214))|0); //@line 373 "../src/h264bsd_reconstruct.c"
 $tmp1=$215; //@line 373 "../src/h264bsd_reconstruct.c"
 var $216=$tmp3; //@line 374 "../src/h264bsd_reconstruct.c"
 var $217=$valX; //@line 374 "../src/h264bsd_reconstruct.c"
 var $218=(Math_imul($216,$217)|0); //@line 374 "../src/h264bsd_reconstruct.c"
 var $219=$plus32; //@line 374 "../src/h264bsd_reconstruct.c"
 var $220=((($218)+($219))|0); //@line 374 "../src/h264bsd_reconstruct.c"
 $tmp3=$220; //@line 374 "../src/h264bsd_reconstruct.c"
 var $221=$tmp2; //@line 375 "../src/h264bsd_reconstruct.c"
 var $222=$7; //@line 375 "../src/h264bsd_reconstruct.c"
 var $223=(Math_imul($221,$222)|0); //@line 375 "../src/h264bsd_reconstruct.c"
 var $224=$tmp1; //@line 375 "../src/h264bsd_reconstruct.c"
 var $225=((($224)+($223))|0); //@line 375 "../src/h264bsd_reconstruct.c"
 $tmp1=$225; //@line 375 "../src/h264bsd_reconstruct.c"
 var $226=$tmp1; //@line 376 "../src/h264bsd_reconstruct.c"
 var $227=$226>>>6; //@line 376 "../src/h264bsd_reconstruct.c"
 $tmp1=$227; //@line 376 "../src/h264bsd_reconstruct.c"
 var $228=$tmp4; //@line 377 "../src/h264bsd_reconstruct.c"
 var $229=$7; //@line 377 "../src/h264bsd_reconstruct.c"
 var $230=(Math_imul($228,$229)|0); //@line 377 "../src/h264bsd_reconstruct.c"
 var $231=$tmp3; //@line 377 "../src/h264bsd_reconstruct.c"
 var $232=((($231)+($230))|0); //@line 377 "../src/h264bsd_reconstruct.c"
 $tmp3=$232; //@line 377 "../src/h264bsd_reconstruct.c"
 var $233=$tmp3; //@line 378 "../src/h264bsd_reconstruct.c"
 var $234=$233>>>6; //@line 378 "../src/h264bsd_reconstruct.c"
 $tmp3=$234; //@line 378 "../src/h264bsd_reconstruct.c"
 var $235=$tmp3; //@line 379 "../src/h264bsd_reconstruct.c"
 var $236=(($235)&255); //@line 379 "../src/h264bsd_reconstruct.c"
 var $237=$cbr; //@line 379 "../src/h264bsd_reconstruct.c"
 var $238=(($237+8)|0); //@line 379 "../src/h264bsd_reconstruct.c"
 HEAP8[($238)]=$236; //@line 379 "../src/h264bsd_reconstruct.c"
 var $239=$tmp1; //@line 380 "../src/h264bsd_reconstruct.c"
 var $240=(($239)&255); //@line 380 "../src/h264bsd_reconstruct.c"
 var $241=$cbr; //@line 380 "../src/h264bsd_reconstruct.c"
 var $242=(($241+1)|0); //@line 380 "../src/h264bsd_reconstruct.c"
 $cbr=$242; //@line 380 "../src/h264bsd_reconstruct.c"
 HEAP8[($241)]=$240; //@line 380 "../src/h264bsd_reconstruct.c"
 var $243=$ptrA; //@line 382 "../src/h264bsd_reconstruct.c"
 var $244=(($243+1)|0); //@line 382 "../src/h264bsd_reconstruct.c"
 $ptrA=$244; //@line 382 "../src/h264bsd_reconstruct.c"
 var $245=HEAP8[($244)]; //@line 382 "../src/h264bsd_reconstruct.c"
 var $246=($245&255); //@line 382 "../src/h264bsd_reconstruct.c"
 $tmp1=$246; //@line 382 "../src/h264bsd_reconstruct.c"
 var $247=$5; //@line 383 "../src/h264bsd_reconstruct.c"
 var $248=$ptrA; //@line 383 "../src/h264bsd_reconstruct.c"
 var $249=(($248+$247)|0); //@line 383 "../src/h264bsd_reconstruct.c"
 var $250=HEAP8[($249)]; //@line 383 "../src/h264bsd_reconstruct.c"
 var $251=($250&255); //@line 383 "../src/h264bsd_reconstruct.c"
 $tmp3=$251; //@line 383 "../src/h264bsd_reconstruct.c"
 var $252=$5; //@line 384 "../src/h264bsd_reconstruct.c"
 var $253=($252<<1); //@line 384 "../src/h264bsd_reconstruct.c"
 var $254=$ptrA; //@line 384 "../src/h264bsd_reconstruct.c"
 var $255=(($254+$253)|0); //@line 384 "../src/h264bsd_reconstruct.c"
 var $256=HEAP8[($255)]; //@line 384 "../src/h264bsd_reconstruct.c"
 var $257=($256&255); //@line 384 "../src/h264bsd_reconstruct.c"
 $tmp5=$257; //@line 384 "../src/h264bsd_reconstruct.c"
 var $258=$valY; //@line 385 "../src/h264bsd_reconstruct.c"
 var $259=$tmp1; //@line 385 "../src/h264bsd_reconstruct.c"
 var $260=(Math_imul($259,$258)|0); //@line 385 "../src/h264bsd_reconstruct.c"
 $tmp1=$260; //@line 385 "../src/h264bsd_reconstruct.c"
 var $261=$tmp3; //@line 386 "../src/h264bsd_reconstruct.c"
 var $262=$8; //@line 386 "../src/h264bsd_reconstruct.c"
 var $263=(Math_imul($261,$262)|0); //@line 386 "../src/h264bsd_reconstruct.c"
 var $264=$tmp1; //@line 386 "../src/h264bsd_reconstruct.c"
 var $265=((($264)+($263))|0); //@line 386 "../src/h264bsd_reconstruct.c"
 $tmp1=$265; //@line 386 "../src/h264bsd_reconstruct.c"
 var $266=$valY; //@line 387 "../src/h264bsd_reconstruct.c"
 var $267=$tmp3; //@line 387 "../src/h264bsd_reconstruct.c"
 var $268=(Math_imul($267,$266)|0); //@line 387 "../src/h264bsd_reconstruct.c"
 $tmp3=$268; //@line 387 "../src/h264bsd_reconstruct.c"
 var $269=$tmp5; //@line 388 "../src/h264bsd_reconstruct.c"
 var $270=$8; //@line 388 "../src/h264bsd_reconstruct.c"
 var $271=(Math_imul($269,$270)|0); //@line 388 "../src/h264bsd_reconstruct.c"
 var $272=$tmp3; //@line 388 "../src/h264bsd_reconstruct.c"
 var $273=((($272)+($271))|0); //@line 388 "../src/h264bsd_reconstruct.c"
 $tmp3=$273; //@line 388 "../src/h264bsd_reconstruct.c"
 var $274=$tmp2; //@line 389 "../src/h264bsd_reconstruct.c"
 var $275=$valX; //@line 389 "../src/h264bsd_reconstruct.c"
 var $276=(Math_imul($274,$275)|0); //@line 389 "../src/h264bsd_reconstruct.c"
 var $277=$plus32; //@line 389 "../src/h264bsd_reconstruct.c"
 var $278=((($276)+($277))|0); //@line 389 "../src/h264bsd_reconstruct.c"
 $tmp2=$278; //@line 389 "../src/h264bsd_reconstruct.c"
 var $279=$tmp4; //@line 390 "../src/h264bsd_reconstruct.c"
 var $280=$valX; //@line 390 "../src/h264bsd_reconstruct.c"
 var $281=(Math_imul($279,$280)|0); //@line 390 "../src/h264bsd_reconstruct.c"
 var $282=$plus32; //@line 390 "../src/h264bsd_reconstruct.c"
 var $283=((($281)+($282))|0); //@line 390 "../src/h264bsd_reconstruct.c"
 $tmp4=$283; //@line 390 "../src/h264bsd_reconstruct.c"
 var $284=$tmp1; //@line 391 "../src/h264bsd_reconstruct.c"
 var $285=$7; //@line 391 "../src/h264bsd_reconstruct.c"
 var $286=(Math_imul($284,$285)|0); //@line 391 "../src/h264bsd_reconstruct.c"
 var $287=$tmp2; //@line 391 "../src/h264bsd_reconstruct.c"
 var $288=((($287)+($286))|0); //@line 391 "../src/h264bsd_reconstruct.c"
 $tmp2=$288; //@line 391 "../src/h264bsd_reconstruct.c"
 var $289=$tmp2; //@line 392 "../src/h264bsd_reconstruct.c"
 var $290=$289>>>6; //@line 392 "../src/h264bsd_reconstruct.c"
 $tmp2=$290; //@line 392 "../src/h264bsd_reconstruct.c"
 var $291=$tmp3; //@line 393 "../src/h264bsd_reconstruct.c"
 var $292=$7; //@line 393 "../src/h264bsd_reconstruct.c"
 var $293=(Math_imul($291,$292)|0); //@line 393 "../src/h264bsd_reconstruct.c"
 var $294=$tmp4; //@line 393 "../src/h264bsd_reconstruct.c"
 var $295=((($294)+($293))|0); //@line 393 "../src/h264bsd_reconstruct.c"
 $tmp4=$295; //@line 393 "../src/h264bsd_reconstruct.c"
 var $296=$tmp4; //@line 394 "../src/h264bsd_reconstruct.c"
 var $297=$296>>>6; //@line 394 "../src/h264bsd_reconstruct.c"
 $tmp4=$297; //@line 394 "../src/h264bsd_reconstruct.c"
 var $298=$tmp4; //@line 395 "../src/h264bsd_reconstruct.c"
 var $299=(($298)&255); //@line 395 "../src/h264bsd_reconstruct.c"
 var $300=$cbr; //@line 395 "../src/h264bsd_reconstruct.c"
 var $301=(($300+8)|0); //@line 395 "../src/h264bsd_reconstruct.c"
 HEAP8[($301)]=$299; //@line 395 "../src/h264bsd_reconstruct.c"
 var $302=$tmp2; //@line 396 "../src/h264bsd_reconstruct.c"
 var $303=(($302)&255); //@line 396 "../src/h264bsd_reconstruct.c"
 var $304=$cbr; //@line 396 "../src/h264bsd_reconstruct.c"
 var $305=(($304+1)|0); //@line 396 "../src/h264bsd_reconstruct.c"
 $cbr=$305; //@line 396 "../src/h264bsd_reconstruct.c"
 HEAP8[($304)]=$303; //@line 396 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 397 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $307=$x; //@line 364 "../src/h264bsd_reconstruct.c"
 var $308=((($307)-(1))|0); //@line 364 "../src/h264bsd_reconstruct.c"
 $x=$308; //@line 364 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 364 "../src/h264bsd_reconstruct.c"
 case 26: 
 var $310=$9; //@line 398 "../src/h264bsd_reconstruct.c"
 var $311=(((16)-($310))|0); //@line 398 "../src/h264bsd_reconstruct.c"
 var $312=$cbr; //@line 398 "../src/h264bsd_reconstruct.c"
 var $313=(($312+$311)|0); //@line 398 "../src/h264bsd_reconstruct.c"
 $cbr=$313; //@line 398 "../src/h264bsd_reconstruct.c"
 var $314=$5; //@line 399 "../src/h264bsd_reconstruct.c"
 var $315=($314<<1); //@line 399 "../src/h264bsd_reconstruct.c"
 var $316=$9; //@line 399 "../src/h264bsd_reconstruct.c"
 var $317=((($315)-($316))|0); //@line 399 "../src/h264bsd_reconstruct.c"
 var $318=$ptrA; //@line 399 "../src/h264bsd_reconstruct.c"
 var $319=(($318+$317)|0); //@line 399 "../src/h264bsd_reconstruct.c"
 $ptrA=$319; //@line 399 "../src/h264bsd_reconstruct.c"
 label=27;break; //@line 400 "../src/h264bsd_reconstruct.c"
 case 27: 
 var $321=$y; //@line 355 "../src/h264bsd_reconstruct.c"
 var $322=((($321)-(1))|0); //@line 355 "../src/h264bsd_reconstruct.c"
 $y=$322; //@line 355 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 355 "../src/h264bsd_reconstruct.c"
 case 28: 
 label=29;break; //@line 401 "../src/h264bsd_reconstruct.c"
 case 29: 
 var $325=$comp; //@line 347 "../src/h264bsd_reconstruct.c"
 var $326=((($325)+(1))|0); //@line 347 "../src/h264bsd_reconstruct.c"
 $comp=$326; //@line 347 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 347 "../src/h264bsd_reconstruct.c"
 case 30: 
 STACKTOP=sp;return; //@line 403 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateVerHalf($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+448)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $p1=sp;
 var $i;
 var $j;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $ptrC;
 var $ptrV;
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $clp=1872; //@line 504 "../src/h264bsd_reconstruct.c"
 var $9=$1; //@line 508 "../src/h264bsd_reconstruct.c"
 var $10=($9|0)!=0; //@line 508 "../src/h264bsd_reconstruct.c"
 if($10){var $14=0;label=3;break;}else{label=2;break;} //@line 508 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,508,13432); //@line 508 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 508 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 508 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $14;
 var $15=($14&1); //@line 508 "../src/h264bsd_reconstruct.c"
 var $16=$2; //@line 509 "../src/h264bsd_reconstruct.c"
 var $17=($16|0)!=0; //@line 509 "../src/h264bsd_reconstruct.c"
 if($17){var $21=1;label=5;break;}else{label=4;break;} //@line 509 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,509,13432); //@line 509 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 509 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 509 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $21;
 var $22=($21&1); //@line 509 "../src/h264bsd_reconstruct.c"
 var $23=$3; //@line 511 "../src/h264bsd_reconstruct.c"
 var $24=($23|0)<0; //@line 511 "../src/h264bsd_reconstruct.c"
 if($24){label=9;break;}else{label=6;break;} //@line 511 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $26=$3; //@line 511 "../src/h264bsd_reconstruct.c"
 var $27=$7; //@line 511 "../src/h264bsd_reconstruct.c"
 var $28=((($26)+($27))|0); //@line 511 "../src/h264bsd_reconstruct.c"
 var $29=$5; //@line 511 "../src/h264bsd_reconstruct.c"
 var $30=($28>>>0)>($29>>>0); //@line 511 "../src/h264bsd_reconstruct.c"
 if($30){label=9;break;}else{label=7;break;} //@line 511 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $32=$4; //@line 511 "../src/h264bsd_reconstruct.c"
 var $33=($32|0)<0; //@line 511 "../src/h264bsd_reconstruct.c"
 if($33){label=9;break;}else{label=8;break;} //@line 511 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $35=$4; //@line 511 "../src/h264bsd_reconstruct.c"
 var $36=$8; //@line 511 "../src/h264bsd_reconstruct.c"
 var $37=((($35)+($36))|0); //@line 511 "../src/h264bsd_reconstruct.c"
 var $38=((($37)+(5))|0); //@line 511 "../src/h264bsd_reconstruct.c"
 var $39=$6; //@line 511 "../src/h264bsd_reconstruct.c"
 var $40=($38>>>0)>($39>>>0); //@line 511 "../src/h264bsd_reconstruct.c"
 if($40){label=9;break;}else{label=10;break;} //@line 511 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $42=$1; //@line 514 "../src/h264bsd_reconstruct.c"
 var $43=(($p1)|0); //@line 514 "../src/h264bsd_reconstruct.c"
 var $44=$43; //@line 514 "../src/h264bsd_reconstruct.c"
 var $45=$3; //@line 514 "../src/h264bsd_reconstruct.c"
 var $46=$4; //@line 514 "../src/h264bsd_reconstruct.c"
 var $47=$5; //@line 514 "../src/h264bsd_reconstruct.c"
 var $48=$6; //@line 514 "../src/h264bsd_reconstruct.c"
 var $49=$7; //@line 514 "../src/h264bsd_reconstruct.c"
 var $50=$8; //@line 514 "../src/h264bsd_reconstruct.c"
 var $51=((($50)+(5))|0); //@line 514 "../src/h264bsd_reconstruct.c"
 var $52=$7; //@line 514 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($42,$44,$45,$46,$47,$48,$49,$51,$52); //@line 514 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 517 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 518 "../src/h264bsd_reconstruct.c"
 var $53=(($p1)|0); //@line 519 "../src/h264bsd_reconstruct.c"
 var $54=$53; //@line 519 "../src/h264bsd_reconstruct.c"
 $1=$54; //@line 519 "../src/h264bsd_reconstruct.c"
 var $55=$7; //@line 520 "../src/h264bsd_reconstruct.c"
 $5=$55; //@line 520 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 521 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $57=$4; //@line 523 "../src/h264bsd_reconstruct.c"
 var $58=$5; //@line 523 "../src/h264bsd_reconstruct.c"
 var $59=(Math_imul($57,$58)|0); //@line 523 "../src/h264bsd_reconstruct.c"
 var $60=$3; //@line 523 "../src/h264bsd_reconstruct.c"
 var $61=((($59)+($60))|0); //@line 523 "../src/h264bsd_reconstruct.c"
 var $62=$1; //@line 523 "../src/h264bsd_reconstruct.c"
 var $63=(($62+$61)|0); //@line 523 "../src/h264bsd_reconstruct.c"
 $1=$63; //@line 523 "../src/h264bsd_reconstruct.c"
 var $64=$1; //@line 525 "../src/h264bsd_reconstruct.c"
 var $65=$5; //@line 525 "../src/h264bsd_reconstruct.c"
 var $66=(($64+$65)|0); //@line 525 "../src/h264bsd_reconstruct.c"
 $ptrC=$66; //@line 525 "../src/h264bsd_reconstruct.c"
 var $67=$ptrC; //@line 526 "../src/h264bsd_reconstruct.c"
 var $68=$5; //@line 526 "../src/h264bsd_reconstruct.c"
 var $69=((($68)*(5))&-1); //@line 526 "../src/h264bsd_reconstruct.c"
 var $70=(($67+$69)|0); //@line 526 "../src/h264bsd_reconstruct.c"
 $ptrV=$70; //@line 526 "../src/h264bsd_reconstruct.c"
 var $71=$8; //@line 529 "../src/h264bsd_reconstruct.c"
 var $72=$71>>>2; //@line 529 "../src/h264bsd_reconstruct.c"
 $i=$72; //@line 529 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 529 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $74=$i; //@line 529 "../src/h264bsd_reconstruct.c"
 var $75=($74|0)!=0; //@line 529 "../src/h264bsd_reconstruct.c"
 if($75){label=12;break;}else{label=18;break;} //@line 529 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $77=$7; //@line 532 "../src/h264bsd_reconstruct.c"
 $j=$77; //@line 532 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 532 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $79=$j; //@line 532 "../src/h264bsd_reconstruct.c"
 var $80=($79|0)!=0; //@line 532 "../src/h264bsd_reconstruct.c"
 if($80){label=14;break;}else{label=16;break;} //@line 532 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $82=$5; //@line 534 "../src/h264bsd_reconstruct.c"
 var $83=(((-$82))|0); //@line 534 "../src/h264bsd_reconstruct.c"
 var $84=($83<<1); //@line 534 "../src/h264bsd_reconstruct.c"
 var $85=$ptrV; //@line 534 "../src/h264bsd_reconstruct.c"
 var $86=(($85+$84)|0); //@line 534 "../src/h264bsd_reconstruct.c"
 var $87=HEAP8[($86)]; //@line 534 "../src/h264bsd_reconstruct.c"
 var $88=($87&255); //@line 534 "../src/h264bsd_reconstruct.c"
 $tmp4=$88; //@line 534 "../src/h264bsd_reconstruct.c"
 var $89=$5; //@line 535 "../src/h264bsd_reconstruct.c"
 var $90=(((-$89))|0); //@line 535 "../src/h264bsd_reconstruct.c"
 var $91=$ptrV; //@line 535 "../src/h264bsd_reconstruct.c"
 var $92=(($91+$90)|0); //@line 535 "../src/h264bsd_reconstruct.c"
 var $93=HEAP8[($92)]; //@line 535 "../src/h264bsd_reconstruct.c"
 var $94=($93&255); //@line 535 "../src/h264bsd_reconstruct.c"
 $tmp5=$94; //@line 535 "../src/h264bsd_reconstruct.c"
 var $95=$5; //@line 536 "../src/h264bsd_reconstruct.c"
 var $96=$ptrV; //@line 536 "../src/h264bsd_reconstruct.c"
 var $97=(($96+$95)|0); //@line 536 "../src/h264bsd_reconstruct.c"
 var $98=HEAP8[($97)]; //@line 536 "../src/h264bsd_reconstruct.c"
 var $99=($98&255); //@line 536 "../src/h264bsd_reconstruct.c"
 $tmp1=$99; //@line 536 "../src/h264bsd_reconstruct.c"
 var $100=$5; //@line 537 "../src/h264bsd_reconstruct.c"
 var $101=($100<<1); //@line 537 "../src/h264bsd_reconstruct.c"
 var $102=$ptrV; //@line 537 "../src/h264bsd_reconstruct.c"
 var $103=(($102+$101)|0); //@line 537 "../src/h264bsd_reconstruct.c"
 var $104=HEAP8[($103)]; //@line 537 "../src/h264bsd_reconstruct.c"
 var $105=($104&255); //@line 537 "../src/h264bsd_reconstruct.c"
 $tmp2=$105; //@line 537 "../src/h264bsd_reconstruct.c"
 var $106=$ptrV; //@line 538 "../src/h264bsd_reconstruct.c"
 var $107=(($106+1)|0); //@line 538 "../src/h264bsd_reconstruct.c"
 $ptrV=$107; //@line 538 "../src/h264bsd_reconstruct.c"
 var $108=HEAP8[($106)]; //@line 538 "../src/h264bsd_reconstruct.c"
 var $109=($108&255); //@line 538 "../src/h264bsd_reconstruct.c"
 $tmp6=$109; //@line 538 "../src/h264bsd_reconstruct.c"
 var $110=$tmp4; //@line 540 "../src/h264bsd_reconstruct.c"
 var $111=$tmp1; //@line 540 "../src/h264bsd_reconstruct.c"
 var $112=((($110)+($111))|0); //@line 540 "../src/h264bsd_reconstruct.c"
 $tmp7=$112; //@line 540 "../src/h264bsd_reconstruct.c"
 var $113=$tmp7; //@line 541 "../src/h264bsd_reconstruct.c"
 var $114=$113<<2; //@line 541 "../src/h264bsd_reconstruct.c"
 var $115=$tmp2; //@line 541 "../src/h264bsd_reconstruct.c"
 var $116=((($115)-($114))|0); //@line 541 "../src/h264bsd_reconstruct.c"
 $tmp2=$116; //@line 541 "../src/h264bsd_reconstruct.c"
 var $117=$tmp7; //@line 542 "../src/h264bsd_reconstruct.c"
 var $118=$tmp2; //@line 542 "../src/h264bsd_reconstruct.c"
 var $119=((($118)-($117))|0); //@line 542 "../src/h264bsd_reconstruct.c"
 $tmp2=$119; //@line 542 "../src/h264bsd_reconstruct.c"
 var $120=$tmp2; //@line 543 "../src/h264bsd_reconstruct.c"
 var $121=((($120)+(16))|0); //@line 543 "../src/h264bsd_reconstruct.c"
 $tmp2=$121; //@line 543 "../src/h264bsd_reconstruct.c"
 var $122=$tmp5; //@line 544 "../src/h264bsd_reconstruct.c"
 var $123=$tmp6; //@line 544 "../src/h264bsd_reconstruct.c"
 var $124=((($122)+($123))|0); //@line 544 "../src/h264bsd_reconstruct.c"
 $tmp7=$124; //@line 544 "../src/h264bsd_reconstruct.c"
 var $125=$5; //@line 545 "../src/h264bsd_reconstruct.c"
 var $126=($125<<1); //@line 545 "../src/h264bsd_reconstruct.c"
 var $127=$ptrC; //@line 545 "../src/h264bsd_reconstruct.c"
 var $128=(($127+$126)|0); //@line 545 "../src/h264bsd_reconstruct.c"
 var $129=HEAP8[($128)]; //@line 545 "../src/h264bsd_reconstruct.c"
 var $130=($129&255); //@line 545 "../src/h264bsd_reconstruct.c"
 $tmp3=$130; //@line 545 "../src/h264bsd_reconstruct.c"
 var $131=$tmp7; //@line 546 "../src/h264bsd_reconstruct.c"
 var $132=$131<<4; //@line 546 "../src/h264bsd_reconstruct.c"
 var $133=$tmp2; //@line 546 "../src/h264bsd_reconstruct.c"
 var $134=((($133)+($132))|0); //@line 546 "../src/h264bsd_reconstruct.c"
 $tmp2=$134; //@line 546 "../src/h264bsd_reconstruct.c"
 var $135=$tmp7; //@line 547 "../src/h264bsd_reconstruct.c"
 var $136=$135<<2; //@line 547 "../src/h264bsd_reconstruct.c"
 var $137=$tmp2; //@line 547 "../src/h264bsd_reconstruct.c"
 var $138=((($137)+($136))|0); //@line 547 "../src/h264bsd_reconstruct.c"
 $tmp2=$138; //@line 547 "../src/h264bsd_reconstruct.c"
 var $139=$tmp3; //@line 548 "../src/h264bsd_reconstruct.c"
 var $140=$tmp2; //@line 548 "../src/h264bsd_reconstruct.c"
 var $141=((($140)+($139))|0); //@line 548 "../src/h264bsd_reconstruct.c"
 $tmp2=$141; //@line 548 "../src/h264bsd_reconstruct.c"
 var $142=$tmp2; //@line 549 "../src/h264bsd_reconstruct.c"
 var $143=$142>>5; //@line 549 "../src/h264bsd_reconstruct.c"
 var $144=$clp; //@line 549 "../src/h264bsd_reconstruct.c"
 var $145=(($144+$143)|0); //@line 549 "../src/h264bsd_reconstruct.c"
 var $146=HEAP8[($145)]; //@line 549 "../src/h264bsd_reconstruct.c"
 var $147=($146&255); //@line 549 "../src/h264bsd_reconstruct.c"
 $tmp2=$147; //@line 549 "../src/h264bsd_reconstruct.c"
 var $148=$tmp1; //@line 550 "../src/h264bsd_reconstruct.c"
 var $149=((($148)+(16))|0); //@line 550 "../src/h264bsd_reconstruct.c"
 $tmp1=$149; //@line 550 "../src/h264bsd_reconstruct.c"
 var $150=$tmp2; //@line 551 "../src/h264bsd_reconstruct.c"
 var $151=(($150)&255); //@line 551 "../src/h264bsd_reconstruct.c"
 var $152=$2; //@line 551 "../src/h264bsd_reconstruct.c"
 var $153=(($152+48)|0); //@line 551 "../src/h264bsd_reconstruct.c"
 HEAP8[($153)]=$151; //@line 551 "../src/h264bsd_reconstruct.c"
 var $154=$tmp3; //@line 553 "../src/h264bsd_reconstruct.c"
 var $155=$tmp6; //@line 553 "../src/h264bsd_reconstruct.c"
 var $156=((($154)+($155))|0); //@line 553 "../src/h264bsd_reconstruct.c"
 $tmp7=$156; //@line 553 "../src/h264bsd_reconstruct.c"
 var $157=$tmp7; //@line 554 "../src/h264bsd_reconstruct.c"
 var $158=$157<<2; //@line 554 "../src/h264bsd_reconstruct.c"
 var $159=$tmp1; //@line 554 "../src/h264bsd_reconstruct.c"
 var $160=((($159)-($158))|0); //@line 554 "../src/h264bsd_reconstruct.c"
 $tmp1=$160; //@line 554 "../src/h264bsd_reconstruct.c"
 var $161=$tmp7; //@line 555 "../src/h264bsd_reconstruct.c"
 var $162=$tmp1; //@line 555 "../src/h264bsd_reconstruct.c"
 var $163=((($162)-($161))|0); //@line 555 "../src/h264bsd_reconstruct.c"
 $tmp1=$163; //@line 555 "../src/h264bsd_reconstruct.c"
 var $164=$tmp4; //@line 556 "../src/h264bsd_reconstruct.c"
 var $165=$tmp5; //@line 556 "../src/h264bsd_reconstruct.c"
 var $166=((($164)+($165))|0); //@line 556 "../src/h264bsd_reconstruct.c"
 $tmp7=$166; //@line 556 "../src/h264bsd_reconstruct.c"
 var $167=$5; //@line 557 "../src/h264bsd_reconstruct.c"
 var $168=$ptrC; //@line 557 "../src/h264bsd_reconstruct.c"
 var $169=(($168+$167)|0); //@line 557 "../src/h264bsd_reconstruct.c"
 var $170=HEAP8[($169)]; //@line 557 "../src/h264bsd_reconstruct.c"
 var $171=($170&255); //@line 557 "../src/h264bsd_reconstruct.c"
 $tmp2=$171; //@line 557 "../src/h264bsd_reconstruct.c"
 var $172=$tmp7; //@line 558 "../src/h264bsd_reconstruct.c"
 var $173=$172<<4; //@line 558 "../src/h264bsd_reconstruct.c"
 var $174=$tmp1; //@line 558 "../src/h264bsd_reconstruct.c"
 var $175=((($174)+($173))|0); //@line 558 "../src/h264bsd_reconstruct.c"
 $tmp1=$175; //@line 558 "../src/h264bsd_reconstruct.c"
 var $176=$tmp7; //@line 559 "../src/h264bsd_reconstruct.c"
 var $177=$176<<2; //@line 559 "../src/h264bsd_reconstruct.c"
 var $178=$tmp1; //@line 559 "../src/h264bsd_reconstruct.c"
 var $179=((($178)+($177))|0); //@line 559 "../src/h264bsd_reconstruct.c"
 $tmp1=$179; //@line 559 "../src/h264bsd_reconstruct.c"
 var $180=$tmp2; //@line 560 "../src/h264bsd_reconstruct.c"
 var $181=$tmp1; //@line 560 "../src/h264bsd_reconstruct.c"
 var $182=((($181)+($180))|0); //@line 560 "../src/h264bsd_reconstruct.c"
 $tmp1=$182; //@line 560 "../src/h264bsd_reconstruct.c"
 var $183=$tmp1; //@line 561 "../src/h264bsd_reconstruct.c"
 var $184=$183>>5; //@line 561 "../src/h264bsd_reconstruct.c"
 var $185=$clp; //@line 561 "../src/h264bsd_reconstruct.c"
 var $186=(($185+$184)|0); //@line 561 "../src/h264bsd_reconstruct.c"
 var $187=HEAP8[($186)]; //@line 561 "../src/h264bsd_reconstruct.c"
 var $188=($187&255); //@line 561 "../src/h264bsd_reconstruct.c"
 $tmp1=$188; //@line 561 "../src/h264bsd_reconstruct.c"
 var $189=$tmp6; //@line 562 "../src/h264bsd_reconstruct.c"
 var $190=((($189)+(16))|0); //@line 562 "../src/h264bsd_reconstruct.c"
 $tmp6=$190; //@line 562 "../src/h264bsd_reconstruct.c"
 var $191=$tmp1; //@line 563 "../src/h264bsd_reconstruct.c"
 var $192=(($191)&255); //@line 563 "../src/h264bsd_reconstruct.c"
 var $193=$2; //@line 563 "../src/h264bsd_reconstruct.c"
 var $194=(($193+32)|0); //@line 563 "../src/h264bsd_reconstruct.c"
 HEAP8[($194)]=$192; //@line 563 "../src/h264bsd_reconstruct.c"
 var $195=$tmp2; //@line 565 "../src/h264bsd_reconstruct.c"
 var $196=$tmp5; //@line 565 "../src/h264bsd_reconstruct.c"
 var $197=((($195)+($196))|0); //@line 565 "../src/h264bsd_reconstruct.c"
 $tmp7=$197; //@line 565 "../src/h264bsd_reconstruct.c"
 var $198=$tmp7; //@line 566 "../src/h264bsd_reconstruct.c"
 var $199=$198<<2; //@line 566 "../src/h264bsd_reconstruct.c"
 var $200=$tmp6; //@line 566 "../src/h264bsd_reconstruct.c"
 var $201=((($200)-($199))|0); //@line 566 "../src/h264bsd_reconstruct.c"
 $tmp6=$201; //@line 566 "../src/h264bsd_reconstruct.c"
 var $202=$tmp7; //@line 567 "../src/h264bsd_reconstruct.c"
 var $203=$tmp6; //@line 567 "../src/h264bsd_reconstruct.c"
 var $204=((($203)-($202))|0); //@line 567 "../src/h264bsd_reconstruct.c"
 $tmp6=$204; //@line 567 "../src/h264bsd_reconstruct.c"
 var $205=$tmp4; //@line 568 "../src/h264bsd_reconstruct.c"
 var $206=$tmp3; //@line 568 "../src/h264bsd_reconstruct.c"
 var $207=((($205)+($206))|0); //@line 568 "../src/h264bsd_reconstruct.c"
 $tmp7=$207; //@line 568 "../src/h264bsd_reconstruct.c"
 var $208=$ptrC; //@line 569 "../src/h264bsd_reconstruct.c"
 var $209=HEAP8[($208)]; //@line 569 "../src/h264bsd_reconstruct.c"
 var $210=($209&255); //@line 569 "../src/h264bsd_reconstruct.c"
 $tmp1=$210; //@line 569 "../src/h264bsd_reconstruct.c"
 var $211=$tmp7; //@line 570 "../src/h264bsd_reconstruct.c"
 var $212=$211<<4; //@line 570 "../src/h264bsd_reconstruct.c"
 var $213=$tmp6; //@line 570 "../src/h264bsd_reconstruct.c"
 var $214=((($213)+($212))|0); //@line 570 "../src/h264bsd_reconstruct.c"
 $tmp6=$214; //@line 570 "../src/h264bsd_reconstruct.c"
 var $215=$tmp7; //@line 571 "../src/h264bsd_reconstruct.c"
 var $216=$215<<2; //@line 571 "../src/h264bsd_reconstruct.c"
 var $217=$tmp6; //@line 571 "../src/h264bsd_reconstruct.c"
 var $218=((($217)+($216))|0); //@line 571 "../src/h264bsd_reconstruct.c"
 $tmp6=$218; //@line 571 "../src/h264bsd_reconstruct.c"
 var $219=$tmp1; //@line 572 "../src/h264bsd_reconstruct.c"
 var $220=$tmp6; //@line 572 "../src/h264bsd_reconstruct.c"
 var $221=((($220)+($219))|0); //@line 572 "../src/h264bsd_reconstruct.c"
 $tmp6=$221; //@line 572 "../src/h264bsd_reconstruct.c"
 var $222=$tmp6; //@line 573 "../src/h264bsd_reconstruct.c"
 var $223=$222>>5; //@line 573 "../src/h264bsd_reconstruct.c"
 var $224=$clp; //@line 573 "../src/h264bsd_reconstruct.c"
 var $225=(($224+$223)|0); //@line 573 "../src/h264bsd_reconstruct.c"
 var $226=HEAP8[($225)]; //@line 573 "../src/h264bsd_reconstruct.c"
 var $227=($226&255); //@line 573 "../src/h264bsd_reconstruct.c"
 $tmp6=$227; //@line 573 "../src/h264bsd_reconstruct.c"
 var $228=$tmp5; //@line 574 "../src/h264bsd_reconstruct.c"
 var $229=((($228)+(16))|0); //@line 574 "../src/h264bsd_reconstruct.c"
 $tmp5=$229; //@line 574 "../src/h264bsd_reconstruct.c"
 var $230=$tmp6; //@line 575 "../src/h264bsd_reconstruct.c"
 var $231=(($230)&255); //@line 575 "../src/h264bsd_reconstruct.c"
 var $232=$2; //@line 575 "../src/h264bsd_reconstruct.c"
 var $233=(($232+16)|0); //@line 575 "../src/h264bsd_reconstruct.c"
 HEAP8[($233)]=$231; //@line 575 "../src/h264bsd_reconstruct.c"
 var $234=$tmp4; //@line 577 "../src/h264bsd_reconstruct.c"
 var $235=$tmp1; //@line 577 "../src/h264bsd_reconstruct.c"
 var $236=((($235)+($234))|0); //@line 577 "../src/h264bsd_reconstruct.c"
 $tmp1=$236; //@line 577 "../src/h264bsd_reconstruct.c"
 var $237=$tmp1; //@line 578 "../src/h264bsd_reconstruct.c"
 var $238=$237<<2; //@line 578 "../src/h264bsd_reconstruct.c"
 var $239=$tmp5; //@line 578 "../src/h264bsd_reconstruct.c"
 var $240=((($239)-($238))|0); //@line 578 "../src/h264bsd_reconstruct.c"
 $tmp5=$240; //@line 578 "../src/h264bsd_reconstruct.c"
 var $241=$tmp1; //@line 579 "../src/h264bsd_reconstruct.c"
 var $242=$tmp5; //@line 579 "../src/h264bsd_reconstruct.c"
 var $243=((($242)-($241))|0); //@line 579 "../src/h264bsd_reconstruct.c"
 $tmp5=$243; //@line 579 "../src/h264bsd_reconstruct.c"
 var $244=$tmp2; //@line 580 "../src/h264bsd_reconstruct.c"
 var $245=$tmp3; //@line 580 "../src/h264bsd_reconstruct.c"
 var $246=((($245)+($244))|0); //@line 580 "../src/h264bsd_reconstruct.c"
 $tmp3=$246; //@line 580 "../src/h264bsd_reconstruct.c"
 var $247=$5; //@line 581 "../src/h264bsd_reconstruct.c"
 var $248=(((-$247))|0); //@line 581 "../src/h264bsd_reconstruct.c"
 var $249=$ptrC; //@line 581 "../src/h264bsd_reconstruct.c"
 var $250=(($249+$248)|0); //@line 581 "../src/h264bsd_reconstruct.c"
 var $251=HEAP8[($250)]; //@line 581 "../src/h264bsd_reconstruct.c"
 var $252=($251&255); //@line 581 "../src/h264bsd_reconstruct.c"
 $tmp6=$252; //@line 581 "../src/h264bsd_reconstruct.c"
 var $253=$tmp3; //@line 582 "../src/h264bsd_reconstruct.c"
 var $254=$253<<4; //@line 582 "../src/h264bsd_reconstruct.c"
 var $255=$tmp5; //@line 582 "../src/h264bsd_reconstruct.c"
 var $256=((($255)+($254))|0); //@line 582 "../src/h264bsd_reconstruct.c"
 $tmp5=$256; //@line 582 "../src/h264bsd_reconstruct.c"
 var $257=$tmp3; //@line 583 "../src/h264bsd_reconstruct.c"
 var $258=$257<<2; //@line 583 "../src/h264bsd_reconstruct.c"
 var $259=$tmp5; //@line 583 "../src/h264bsd_reconstruct.c"
 var $260=((($259)+($258))|0); //@line 583 "../src/h264bsd_reconstruct.c"
 $tmp5=$260; //@line 583 "../src/h264bsd_reconstruct.c"
 var $261=$tmp6; //@line 584 "../src/h264bsd_reconstruct.c"
 var $262=$tmp5; //@line 584 "../src/h264bsd_reconstruct.c"
 var $263=((($262)+($261))|0); //@line 584 "../src/h264bsd_reconstruct.c"
 $tmp5=$263; //@line 584 "../src/h264bsd_reconstruct.c"
 var $264=$tmp5; //@line 585 "../src/h264bsd_reconstruct.c"
 var $265=$264>>5; //@line 585 "../src/h264bsd_reconstruct.c"
 var $266=$clp; //@line 585 "../src/h264bsd_reconstruct.c"
 var $267=(($266+$265)|0); //@line 585 "../src/h264bsd_reconstruct.c"
 var $268=HEAP8[($267)]; //@line 585 "../src/h264bsd_reconstruct.c"
 var $269=($268&255); //@line 585 "../src/h264bsd_reconstruct.c"
 $tmp5=$269; //@line 585 "../src/h264bsd_reconstruct.c"
 var $270=$tmp5; //@line 586 "../src/h264bsd_reconstruct.c"
 var $271=(($270)&255); //@line 586 "../src/h264bsd_reconstruct.c"
 var $272=$2; //@line 586 "../src/h264bsd_reconstruct.c"
 var $273=(($272+1)|0); //@line 586 "../src/h264bsd_reconstruct.c"
 $2=$273; //@line 586 "../src/h264bsd_reconstruct.c"
 HEAP8[($272)]=$271; //@line 586 "../src/h264bsd_reconstruct.c"
 var $274=$ptrC; //@line 587 "../src/h264bsd_reconstruct.c"
 var $275=(($274+1)|0); //@line 587 "../src/h264bsd_reconstruct.c"
 $ptrC=$275; //@line 587 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 588 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $277=$j; //@line 532 "../src/h264bsd_reconstruct.c"
 var $278=((($277)-(1))|0); //@line 532 "../src/h264bsd_reconstruct.c"
 $j=$278; //@line 532 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 532 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $280=$5; //@line 589 "../src/h264bsd_reconstruct.c"
 var $281=($280<<2); //@line 589 "../src/h264bsd_reconstruct.c"
 var $282=$7; //@line 589 "../src/h264bsd_reconstruct.c"
 var $283=((($281)-($282))|0); //@line 589 "../src/h264bsd_reconstruct.c"
 var $284=$ptrC; //@line 589 "../src/h264bsd_reconstruct.c"
 var $285=(($284+$283)|0); //@line 589 "../src/h264bsd_reconstruct.c"
 $ptrC=$285; //@line 589 "../src/h264bsd_reconstruct.c"
 var $286=$5; //@line 590 "../src/h264bsd_reconstruct.c"
 var $287=($286<<2); //@line 590 "../src/h264bsd_reconstruct.c"
 var $288=$7; //@line 590 "../src/h264bsd_reconstruct.c"
 var $289=((($287)-($288))|0); //@line 590 "../src/h264bsd_reconstruct.c"
 var $290=$ptrV; //@line 590 "../src/h264bsd_reconstruct.c"
 var $291=(($290+$289)|0); //@line 590 "../src/h264bsd_reconstruct.c"
 $ptrV=$291; //@line 590 "../src/h264bsd_reconstruct.c"
 var $292=$7; //@line 591 "../src/h264bsd_reconstruct.c"
 var $293=(((64)-($292))|0); //@line 591 "../src/h264bsd_reconstruct.c"
 var $294=$2; //@line 591 "../src/h264bsd_reconstruct.c"
 var $295=(($294+$293)|0); //@line 591 "../src/h264bsd_reconstruct.c"
 $2=$295; //@line 591 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 592 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $297=$i; //@line 529 "../src/h264bsd_reconstruct.c"
 var $298=((($297)-(1))|0); //@line 529 "../src/h264bsd_reconstruct.c"
 $i=$298; //@line 529 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 529 "../src/h264bsd_reconstruct.c"
 case 18: 
 STACKTOP=sp;return; //@line 594 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateVerQuarter($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight,$verOffset){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+448)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $p1=sp;
 var $i;
 var $j;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $ptrC;
 var $ptrV;
 var $ptrInt;
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $9=$verOffset;
 $clp=1872; //@line 623 "../src/h264bsd_reconstruct.c"
 var $10=$1; //@line 627 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 627 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 627 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,627,13400); //@line 627 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 627 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 627 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 627 "../src/h264bsd_reconstruct.c"
 var $17=$2; //@line 628 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 628 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 628 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,628,13400); //@line 628 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 628 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 628 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 628 "../src/h264bsd_reconstruct.c"
 var $24=$3; //@line 630 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)<0; //@line 630 "../src/h264bsd_reconstruct.c"
 if($25){label=9;break;}else{label=6;break;} //@line 630 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $27=$3; //@line 630 "../src/h264bsd_reconstruct.c"
 var $28=$7; //@line 630 "../src/h264bsd_reconstruct.c"
 var $29=((($27)+($28))|0); //@line 630 "../src/h264bsd_reconstruct.c"
 var $30=$5; //@line 630 "../src/h264bsd_reconstruct.c"
 var $31=($29>>>0)>($30>>>0); //@line 630 "../src/h264bsd_reconstruct.c"
 if($31){label=9;break;}else{label=7;break;} //@line 630 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $33=$4; //@line 630 "../src/h264bsd_reconstruct.c"
 var $34=($33|0)<0; //@line 630 "../src/h264bsd_reconstruct.c"
 if($34){label=9;break;}else{label=8;break;} //@line 630 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $36=$4; //@line 630 "../src/h264bsd_reconstruct.c"
 var $37=$8; //@line 630 "../src/h264bsd_reconstruct.c"
 var $38=((($36)+($37))|0); //@line 630 "../src/h264bsd_reconstruct.c"
 var $39=((($38)+(5))|0); //@line 630 "../src/h264bsd_reconstruct.c"
 var $40=$6; //@line 630 "../src/h264bsd_reconstruct.c"
 var $41=($39>>>0)>($40>>>0); //@line 630 "../src/h264bsd_reconstruct.c"
 if($41){label=9;break;}else{label=10;break;} //@line 630 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $43=$1; //@line 633 "../src/h264bsd_reconstruct.c"
 var $44=(($p1)|0); //@line 633 "../src/h264bsd_reconstruct.c"
 var $45=$44; //@line 633 "../src/h264bsd_reconstruct.c"
 var $46=$3; //@line 633 "../src/h264bsd_reconstruct.c"
 var $47=$4; //@line 633 "../src/h264bsd_reconstruct.c"
 var $48=$5; //@line 633 "../src/h264bsd_reconstruct.c"
 var $49=$6; //@line 633 "../src/h264bsd_reconstruct.c"
 var $50=$7; //@line 633 "../src/h264bsd_reconstruct.c"
 var $51=$8; //@line 633 "../src/h264bsd_reconstruct.c"
 var $52=((($51)+(5))|0); //@line 633 "../src/h264bsd_reconstruct.c"
 var $53=$7; //@line 633 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($43,$45,$46,$47,$48,$49,$50,$52,$53); //@line 633 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 636 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 637 "../src/h264bsd_reconstruct.c"
 var $54=(($p1)|0); //@line 638 "../src/h264bsd_reconstruct.c"
 var $55=$54; //@line 638 "../src/h264bsd_reconstruct.c"
 $1=$55; //@line 638 "../src/h264bsd_reconstruct.c"
 var $56=$7; //@line 639 "../src/h264bsd_reconstruct.c"
 $5=$56; //@line 639 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 640 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $58=$4; //@line 642 "../src/h264bsd_reconstruct.c"
 var $59=$5; //@line 642 "../src/h264bsd_reconstruct.c"
 var $60=(Math_imul($58,$59)|0); //@line 642 "../src/h264bsd_reconstruct.c"
 var $61=$3; //@line 642 "../src/h264bsd_reconstruct.c"
 var $62=((($60)+($61))|0); //@line 642 "../src/h264bsd_reconstruct.c"
 var $63=$1; //@line 642 "../src/h264bsd_reconstruct.c"
 var $64=(($63+$62)|0); //@line 642 "../src/h264bsd_reconstruct.c"
 $1=$64; //@line 642 "../src/h264bsd_reconstruct.c"
 var $65=$1; //@line 644 "../src/h264bsd_reconstruct.c"
 var $66=$5; //@line 644 "../src/h264bsd_reconstruct.c"
 var $67=(($65+$66)|0); //@line 644 "../src/h264bsd_reconstruct.c"
 $ptrC=$67; //@line 644 "../src/h264bsd_reconstruct.c"
 var $68=$ptrC; //@line 645 "../src/h264bsd_reconstruct.c"
 var $69=$5; //@line 645 "../src/h264bsd_reconstruct.c"
 var $70=((($69)*(5))&-1); //@line 645 "../src/h264bsd_reconstruct.c"
 var $71=(($68+$70)|0); //@line 645 "../src/h264bsd_reconstruct.c"
 $ptrV=$71; //@line 645 "../src/h264bsd_reconstruct.c"
 var $72=$ptrC; //@line 648 "../src/h264bsd_reconstruct.c"
 var $73=$9; //@line 648 "../src/h264bsd_reconstruct.c"
 var $74=((($73)+(2))|0); //@line 648 "../src/h264bsd_reconstruct.c"
 var $75=$5; //@line 648 "../src/h264bsd_reconstruct.c"
 var $76=(Math_imul($74,$75)|0); //@line 648 "../src/h264bsd_reconstruct.c"
 var $77=(($72+$76)|0); //@line 648 "../src/h264bsd_reconstruct.c"
 $ptrInt=$77; //@line 648 "../src/h264bsd_reconstruct.c"
 var $78=$8; //@line 653 "../src/h264bsd_reconstruct.c"
 var $79=$78>>>2; //@line 653 "../src/h264bsd_reconstruct.c"
 $i=$79; //@line 653 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 653 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $81=$i; //@line 653 "../src/h264bsd_reconstruct.c"
 var $82=($81|0)!=0; //@line 653 "../src/h264bsd_reconstruct.c"
 if($82){label=12;break;}else{label=18;break;} //@line 653 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $84=$7; //@line 656 "../src/h264bsd_reconstruct.c"
 $j=$84; //@line 656 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 656 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $86=$j; //@line 656 "../src/h264bsd_reconstruct.c"
 var $87=($86|0)!=0; //@line 656 "../src/h264bsd_reconstruct.c"
 if($87){label=14;break;}else{label=16;break;} //@line 656 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $89=$5; //@line 658 "../src/h264bsd_reconstruct.c"
 var $90=(((-$89))|0); //@line 658 "../src/h264bsd_reconstruct.c"
 var $91=($90<<1); //@line 658 "../src/h264bsd_reconstruct.c"
 var $92=$ptrV; //@line 658 "../src/h264bsd_reconstruct.c"
 var $93=(($92+$91)|0); //@line 658 "../src/h264bsd_reconstruct.c"
 var $94=HEAP8[($93)]; //@line 658 "../src/h264bsd_reconstruct.c"
 var $95=($94&255); //@line 658 "../src/h264bsd_reconstruct.c"
 $tmp4=$95; //@line 658 "../src/h264bsd_reconstruct.c"
 var $96=$5; //@line 659 "../src/h264bsd_reconstruct.c"
 var $97=(((-$96))|0); //@line 659 "../src/h264bsd_reconstruct.c"
 var $98=$ptrV; //@line 659 "../src/h264bsd_reconstruct.c"
 var $99=(($98+$97)|0); //@line 659 "../src/h264bsd_reconstruct.c"
 var $100=HEAP8[($99)]; //@line 659 "../src/h264bsd_reconstruct.c"
 var $101=($100&255); //@line 659 "../src/h264bsd_reconstruct.c"
 $tmp5=$101; //@line 659 "../src/h264bsd_reconstruct.c"
 var $102=$5; //@line 660 "../src/h264bsd_reconstruct.c"
 var $103=$ptrV; //@line 660 "../src/h264bsd_reconstruct.c"
 var $104=(($103+$102)|0); //@line 660 "../src/h264bsd_reconstruct.c"
 var $105=HEAP8[($104)]; //@line 660 "../src/h264bsd_reconstruct.c"
 var $106=($105&255); //@line 660 "../src/h264bsd_reconstruct.c"
 $tmp1=$106; //@line 660 "../src/h264bsd_reconstruct.c"
 var $107=$5; //@line 661 "../src/h264bsd_reconstruct.c"
 var $108=($107<<1); //@line 661 "../src/h264bsd_reconstruct.c"
 var $109=$ptrV; //@line 661 "../src/h264bsd_reconstruct.c"
 var $110=(($109+$108)|0); //@line 661 "../src/h264bsd_reconstruct.c"
 var $111=HEAP8[($110)]; //@line 661 "../src/h264bsd_reconstruct.c"
 var $112=($111&255); //@line 661 "../src/h264bsd_reconstruct.c"
 $tmp2=$112; //@line 661 "../src/h264bsd_reconstruct.c"
 var $113=$ptrV; //@line 662 "../src/h264bsd_reconstruct.c"
 var $114=(($113+1)|0); //@line 662 "../src/h264bsd_reconstruct.c"
 $ptrV=$114; //@line 662 "../src/h264bsd_reconstruct.c"
 var $115=HEAP8[($113)]; //@line 662 "../src/h264bsd_reconstruct.c"
 var $116=($115&255); //@line 662 "../src/h264bsd_reconstruct.c"
 $tmp6=$116; //@line 662 "../src/h264bsd_reconstruct.c"
 var $117=$tmp4; //@line 664 "../src/h264bsd_reconstruct.c"
 var $118=$tmp1; //@line 664 "../src/h264bsd_reconstruct.c"
 var $119=((($117)+($118))|0); //@line 664 "../src/h264bsd_reconstruct.c"
 $tmp7=$119; //@line 664 "../src/h264bsd_reconstruct.c"
 var $120=$tmp7; //@line 665 "../src/h264bsd_reconstruct.c"
 var $121=$120<<2; //@line 665 "../src/h264bsd_reconstruct.c"
 var $122=$tmp2; //@line 665 "../src/h264bsd_reconstruct.c"
 var $123=((($122)-($121))|0); //@line 665 "../src/h264bsd_reconstruct.c"
 $tmp2=$123; //@line 665 "../src/h264bsd_reconstruct.c"
 var $124=$tmp7; //@line 666 "../src/h264bsd_reconstruct.c"
 var $125=$tmp2; //@line 666 "../src/h264bsd_reconstruct.c"
 var $126=((($125)-($124))|0); //@line 666 "../src/h264bsd_reconstruct.c"
 $tmp2=$126; //@line 666 "../src/h264bsd_reconstruct.c"
 var $127=$tmp2; //@line 667 "../src/h264bsd_reconstruct.c"
 var $128=((($127)+(16))|0); //@line 667 "../src/h264bsd_reconstruct.c"
 $tmp2=$128; //@line 667 "../src/h264bsd_reconstruct.c"
 var $129=$tmp5; //@line 668 "../src/h264bsd_reconstruct.c"
 var $130=$tmp6; //@line 668 "../src/h264bsd_reconstruct.c"
 var $131=((($129)+($130))|0); //@line 668 "../src/h264bsd_reconstruct.c"
 $tmp7=$131; //@line 668 "../src/h264bsd_reconstruct.c"
 var $132=$5; //@line 669 "../src/h264bsd_reconstruct.c"
 var $133=($132<<1); //@line 669 "../src/h264bsd_reconstruct.c"
 var $134=$ptrC; //@line 669 "../src/h264bsd_reconstruct.c"
 var $135=(($134+$133)|0); //@line 669 "../src/h264bsd_reconstruct.c"
 var $136=HEAP8[($135)]; //@line 669 "../src/h264bsd_reconstruct.c"
 var $137=($136&255); //@line 669 "../src/h264bsd_reconstruct.c"
 $tmp3=$137; //@line 669 "../src/h264bsd_reconstruct.c"
 var $138=$tmp7; //@line 670 "../src/h264bsd_reconstruct.c"
 var $139=$138<<4; //@line 670 "../src/h264bsd_reconstruct.c"
 var $140=$tmp2; //@line 670 "../src/h264bsd_reconstruct.c"
 var $141=((($140)+($139))|0); //@line 670 "../src/h264bsd_reconstruct.c"
 $tmp2=$141; //@line 670 "../src/h264bsd_reconstruct.c"
 var $142=$tmp7; //@line 671 "../src/h264bsd_reconstruct.c"
 var $143=$142<<2; //@line 671 "../src/h264bsd_reconstruct.c"
 var $144=$tmp2; //@line 671 "../src/h264bsd_reconstruct.c"
 var $145=((($144)+($143))|0); //@line 671 "../src/h264bsd_reconstruct.c"
 $tmp2=$145; //@line 671 "../src/h264bsd_reconstruct.c"
 var $146=$tmp3; //@line 672 "../src/h264bsd_reconstruct.c"
 var $147=$tmp2; //@line 672 "../src/h264bsd_reconstruct.c"
 var $148=((($147)+($146))|0); //@line 672 "../src/h264bsd_reconstruct.c"
 $tmp2=$148; //@line 672 "../src/h264bsd_reconstruct.c"
 var $149=$tmp2; //@line 673 "../src/h264bsd_reconstruct.c"
 var $150=$149>>5; //@line 673 "../src/h264bsd_reconstruct.c"
 var $151=$clp; //@line 673 "../src/h264bsd_reconstruct.c"
 var $152=(($151+$150)|0); //@line 673 "../src/h264bsd_reconstruct.c"
 var $153=HEAP8[($152)]; //@line 673 "../src/h264bsd_reconstruct.c"
 var $154=($153&255); //@line 673 "../src/h264bsd_reconstruct.c"
 $tmp2=$154; //@line 673 "../src/h264bsd_reconstruct.c"
 var $155=$5; //@line 674 "../src/h264bsd_reconstruct.c"
 var $156=($155<<1); //@line 674 "../src/h264bsd_reconstruct.c"
 var $157=$ptrInt; //@line 674 "../src/h264bsd_reconstruct.c"
 var $158=(($157+$156)|0); //@line 674 "../src/h264bsd_reconstruct.c"
 var $159=HEAP8[($158)]; //@line 674 "../src/h264bsd_reconstruct.c"
 var $160=($159&255); //@line 674 "../src/h264bsd_reconstruct.c"
 $tmp7=$160; //@line 674 "../src/h264bsd_reconstruct.c"
 var $161=$tmp1; //@line 675 "../src/h264bsd_reconstruct.c"
 var $162=((($161)+(16))|0); //@line 675 "../src/h264bsd_reconstruct.c"
 $tmp1=$162; //@line 675 "../src/h264bsd_reconstruct.c"
 var $163=$tmp2; //@line 676 "../src/h264bsd_reconstruct.c"
 var $164=((($163)+(1))|0); //@line 676 "../src/h264bsd_reconstruct.c"
 $tmp2=$164; //@line 676 "../src/h264bsd_reconstruct.c"
 var $165=$tmp2; //@line 677 "../src/h264bsd_reconstruct.c"
 var $166=$tmp7; //@line 677 "../src/h264bsd_reconstruct.c"
 var $167=((($165)+($166))|0); //@line 677 "../src/h264bsd_reconstruct.c"
 var $168=$167>>1; //@line 677 "../src/h264bsd_reconstruct.c"
 var $169=(($168)&255); //@line 677 "../src/h264bsd_reconstruct.c"
 var $170=$2; //@line 677 "../src/h264bsd_reconstruct.c"
 var $171=(($170+48)|0); //@line 677 "../src/h264bsd_reconstruct.c"
 HEAP8[($171)]=$169; //@line 677 "../src/h264bsd_reconstruct.c"
 var $172=$tmp3; //@line 679 "../src/h264bsd_reconstruct.c"
 var $173=$tmp6; //@line 679 "../src/h264bsd_reconstruct.c"
 var $174=((($172)+($173))|0); //@line 679 "../src/h264bsd_reconstruct.c"
 $tmp7=$174; //@line 679 "../src/h264bsd_reconstruct.c"
 var $175=$tmp7; //@line 680 "../src/h264bsd_reconstruct.c"
 var $176=$175<<2; //@line 680 "../src/h264bsd_reconstruct.c"
 var $177=$tmp1; //@line 680 "../src/h264bsd_reconstruct.c"
 var $178=((($177)-($176))|0); //@line 680 "../src/h264bsd_reconstruct.c"
 $tmp1=$178; //@line 680 "../src/h264bsd_reconstruct.c"
 var $179=$tmp7; //@line 681 "../src/h264bsd_reconstruct.c"
 var $180=$tmp1; //@line 681 "../src/h264bsd_reconstruct.c"
 var $181=((($180)-($179))|0); //@line 681 "../src/h264bsd_reconstruct.c"
 $tmp1=$181; //@line 681 "../src/h264bsd_reconstruct.c"
 var $182=$tmp4; //@line 682 "../src/h264bsd_reconstruct.c"
 var $183=$tmp5; //@line 682 "../src/h264bsd_reconstruct.c"
 var $184=((($182)+($183))|0); //@line 682 "../src/h264bsd_reconstruct.c"
 $tmp7=$184; //@line 682 "../src/h264bsd_reconstruct.c"
 var $185=$5; //@line 683 "../src/h264bsd_reconstruct.c"
 var $186=$ptrC; //@line 683 "../src/h264bsd_reconstruct.c"
 var $187=(($186+$185)|0); //@line 683 "../src/h264bsd_reconstruct.c"
 var $188=HEAP8[($187)]; //@line 683 "../src/h264bsd_reconstruct.c"
 var $189=($188&255); //@line 683 "../src/h264bsd_reconstruct.c"
 $tmp2=$189; //@line 683 "../src/h264bsd_reconstruct.c"
 var $190=$tmp7; //@line 684 "../src/h264bsd_reconstruct.c"
 var $191=$190<<4; //@line 684 "../src/h264bsd_reconstruct.c"
 var $192=$tmp1; //@line 684 "../src/h264bsd_reconstruct.c"
 var $193=((($192)+($191))|0); //@line 684 "../src/h264bsd_reconstruct.c"
 $tmp1=$193; //@line 684 "../src/h264bsd_reconstruct.c"
 var $194=$tmp7; //@line 685 "../src/h264bsd_reconstruct.c"
 var $195=$194<<2; //@line 685 "../src/h264bsd_reconstruct.c"
 var $196=$tmp1; //@line 685 "../src/h264bsd_reconstruct.c"
 var $197=((($196)+($195))|0); //@line 685 "../src/h264bsd_reconstruct.c"
 $tmp1=$197; //@line 685 "../src/h264bsd_reconstruct.c"
 var $198=$tmp2; //@line 686 "../src/h264bsd_reconstruct.c"
 var $199=$tmp1; //@line 686 "../src/h264bsd_reconstruct.c"
 var $200=((($199)+($198))|0); //@line 686 "../src/h264bsd_reconstruct.c"
 $tmp1=$200; //@line 686 "../src/h264bsd_reconstruct.c"
 var $201=$tmp1; //@line 687 "../src/h264bsd_reconstruct.c"
 var $202=$201>>5; //@line 687 "../src/h264bsd_reconstruct.c"
 var $203=$clp; //@line 687 "../src/h264bsd_reconstruct.c"
 var $204=(($203+$202)|0); //@line 687 "../src/h264bsd_reconstruct.c"
 var $205=HEAP8[($204)]; //@line 687 "../src/h264bsd_reconstruct.c"
 var $206=($205&255); //@line 687 "../src/h264bsd_reconstruct.c"
 $tmp1=$206; //@line 687 "../src/h264bsd_reconstruct.c"
 var $207=$5; //@line 688 "../src/h264bsd_reconstruct.c"
 var $208=$ptrInt; //@line 688 "../src/h264bsd_reconstruct.c"
 var $209=(($208+$207)|0); //@line 688 "../src/h264bsd_reconstruct.c"
 var $210=HEAP8[($209)]; //@line 688 "../src/h264bsd_reconstruct.c"
 var $211=($210&255); //@line 688 "../src/h264bsd_reconstruct.c"
 $tmp7=$211; //@line 688 "../src/h264bsd_reconstruct.c"
 var $212=$tmp6; //@line 689 "../src/h264bsd_reconstruct.c"
 var $213=((($212)+(16))|0); //@line 689 "../src/h264bsd_reconstruct.c"
 $tmp6=$213; //@line 689 "../src/h264bsd_reconstruct.c"
 var $214=$tmp1; //@line 690 "../src/h264bsd_reconstruct.c"
 var $215=((($214)+(1))|0); //@line 690 "../src/h264bsd_reconstruct.c"
 $tmp1=$215; //@line 690 "../src/h264bsd_reconstruct.c"
 var $216=$tmp1; //@line 691 "../src/h264bsd_reconstruct.c"
 var $217=$tmp7; //@line 691 "../src/h264bsd_reconstruct.c"
 var $218=((($216)+($217))|0); //@line 691 "../src/h264bsd_reconstruct.c"
 var $219=$218>>1; //@line 691 "../src/h264bsd_reconstruct.c"
 var $220=(($219)&255); //@line 691 "../src/h264bsd_reconstruct.c"
 var $221=$2; //@line 691 "../src/h264bsd_reconstruct.c"
 var $222=(($221+32)|0); //@line 691 "../src/h264bsd_reconstruct.c"
 HEAP8[($222)]=$220; //@line 691 "../src/h264bsd_reconstruct.c"
 var $223=$tmp2; //@line 693 "../src/h264bsd_reconstruct.c"
 var $224=$tmp5; //@line 693 "../src/h264bsd_reconstruct.c"
 var $225=((($223)+($224))|0); //@line 693 "../src/h264bsd_reconstruct.c"
 $tmp7=$225; //@line 693 "../src/h264bsd_reconstruct.c"
 var $226=$tmp7; //@line 694 "../src/h264bsd_reconstruct.c"
 var $227=$226<<2; //@line 694 "../src/h264bsd_reconstruct.c"
 var $228=$tmp6; //@line 694 "../src/h264bsd_reconstruct.c"
 var $229=((($228)-($227))|0); //@line 694 "../src/h264bsd_reconstruct.c"
 $tmp6=$229; //@line 694 "../src/h264bsd_reconstruct.c"
 var $230=$tmp7; //@line 695 "../src/h264bsd_reconstruct.c"
 var $231=$tmp6; //@line 695 "../src/h264bsd_reconstruct.c"
 var $232=((($231)-($230))|0); //@line 695 "../src/h264bsd_reconstruct.c"
 $tmp6=$232; //@line 695 "../src/h264bsd_reconstruct.c"
 var $233=$tmp4; //@line 696 "../src/h264bsd_reconstruct.c"
 var $234=$tmp3; //@line 696 "../src/h264bsd_reconstruct.c"
 var $235=((($233)+($234))|0); //@line 696 "../src/h264bsd_reconstruct.c"
 $tmp7=$235; //@line 696 "../src/h264bsd_reconstruct.c"
 var $236=$ptrC; //@line 697 "../src/h264bsd_reconstruct.c"
 var $237=HEAP8[($236)]; //@line 697 "../src/h264bsd_reconstruct.c"
 var $238=($237&255); //@line 697 "../src/h264bsd_reconstruct.c"
 $tmp1=$238; //@line 697 "../src/h264bsd_reconstruct.c"
 var $239=$tmp7; //@line 698 "../src/h264bsd_reconstruct.c"
 var $240=$239<<4; //@line 698 "../src/h264bsd_reconstruct.c"
 var $241=$tmp6; //@line 698 "../src/h264bsd_reconstruct.c"
 var $242=((($241)+($240))|0); //@line 698 "../src/h264bsd_reconstruct.c"
 $tmp6=$242; //@line 698 "../src/h264bsd_reconstruct.c"
 var $243=$tmp7; //@line 699 "../src/h264bsd_reconstruct.c"
 var $244=$243<<2; //@line 699 "../src/h264bsd_reconstruct.c"
 var $245=$tmp6; //@line 699 "../src/h264bsd_reconstruct.c"
 var $246=((($245)+($244))|0); //@line 699 "../src/h264bsd_reconstruct.c"
 $tmp6=$246; //@line 699 "../src/h264bsd_reconstruct.c"
 var $247=$tmp1; //@line 700 "../src/h264bsd_reconstruct.c"
 var $248=$tmp6; //@line 700 "../src/h264bsd_reconstruct.c"
 var $249=((($248)+($247))|0); //@line 700 "../src/h264bsd_reconstruct.c"
 $tmp6=$249; //@line 700 "../src/h264bsd_reconstruct.c"
 var $250=$tmp6; //@line 701 "../src/h264bsd_reconstruct.c"
 var $251=$250>>5; //@line 701 "../src/h264bsd_reconstruct.c"
 var $252=$clp; //@line 701 "../src/h264bsd_reconstruct.c"
 var $253=(($252+$251)|0); //@line 701 "../src/h264bsd_reconstruct.c"
 var $254=HEAP8[($253)]; //@line 701 "../src/h264bsd_reconstruct.c"
 var $255=($254&255); //@line 701 "../src/h264bsd_reconstruct.c"
 $tmp6=$255; //@line 701 "../src/h264bsd_reconstruct.c"
 var $256=$ptrInt; //@line 702 "../src/h264bsd_reconstruct.c"
 var $257=HEAP8[($256)]; //@line 702 "../src/h264bsd_reconstruct.c"
 var $258=($257&255); //@line 702 "../src/h264bsd_reconstruct.c"
 $tmp7=$258; //@line 702 "../src/h264bsd_reconstruct.c"
 var $259=$tmp5; //@line 703 "../src/h264bsd_reconstruct.c"
 var $260=((($259)+(16))|0); //@line 703 "../src/h264bsd_reconstruct.c"
 $tmp5=$260; //@line 703 "../src/h264bsd_reconstruct.c"
 var $261=$tmp6; //@line 704 "../src/h264bsd_reconstruct.c"
 var $262=((($261)+(1))|0); //@line 704 "../src/h264bsd_reconstruct.c"
 $tmp6=$262; //@line 704 "../src/h264bsd_reconstruct.c"
 var $263=$tmp6; //@line 705 "../src/h264bsd_reconstruct.c"
 var $264=$tmp7; //@line 705 "../src/h264bsd_reconstruct.c"
 var $265=((($263)+($264))|0); //@line 705 "../src/h264bsd_reconstruct.c"
 var $266=$265>>1; //@line 705 "../src/h264bsd_reconstruct.c"
 var $267=(($266)&255); //@line 705 "../src/h264bsd_reconstruct.c"
 var $268=$2; //@line 705 "../src/h264bsd_reconstruct.c"
 var $269=(($268+16)|0); //@line 705 "../src/h264bsd_reconstruct.c"
 HEAP8[($269)]=$267; //@line 705 "../src/h264bsd_reconstruct.c"
 var $270=$tmp4; //@line 707 "../src/h264bsd_reconstruct.c"
 var $271=$tmp1; //@line 707 "../src/h264bsd_reconstruct.c"
 var $272=((($271)+($270))|0); //@line 707 "../src/h264bsd_reconstruct.c"
 $tmp1=$272; //@line 707 "../src/h264bsd_reconstruct.c"
 var $273=$tmp1; //@line 708 "../src/h264bsd_reconstruct.c"
 var $274=$273<<2; //@line 708 "../src/h264bsd_reconstruct.c"
 var $275=$tmp5; //@line 708 "../src/h264bsd_reconstruct.c"
 var $276=((($275)-($274))|0); //@line 708 "../src/h264bsd_reconstruct.c"
 $tmp5=$276; //@line 708 "../src/h264bsd_reconstruct.c"
 var $277=$tmp1; //@line 709 "../src/h264bsd_reconstruct.c"
 var $278=$tmp5; //@line 709 "../src/h264bsd_reconstruct.c"
 var $279=((($278)-($277))|0); //@line 709 "../src/h264bsd_reconstruct.c"
 $tmp5=$279; //@line 709 "../src/h264bsd_reconstruct.c"
 var $280=$tmp2; //@line 710 "../src/h264bsd_reconstruct.c"
 var $281=$tmp3; //@line 710 "../src/h264bsd_reconstruct.c"
 var $282=((($281)+($280))|0); //@line 710 "../src/h264bsd_reconstruct.c"
 $tmp3=$282; //@line 710 "../src/h264bsd_reconstruct.c"
 var $283=$5; //@line 711 "../src/h264bsd_reconstruct.c"
 var $284=(((-$283))|0); //@line 711 "../src/h264bsd_reconstruct.c"
 var $285=$ptrC; //@line 711 "../src/h264bsd_reconstruct.c"
 var $286=(($285+$284)|0); //@line 711 "../src/h264bsd_reconstruct.c"
 var $287=HEAP8[($286)]; //@line 711 "../src/h264bsd_reconstruct.c"
 var $288=($287&255); //@line 711 "../src/h264bsd_reconstruct.c"
 $tmp6=$288; //@line 711 "../src/h264bsd_reconstruct.c"
 var $289=$tmp3; //@line 712 "../src/h264bsd_reconstruct.c"
 var $290=$289<<4; //@line 712 "../src/h264bsd_reconstruct.c"
 var $291=$tmp5; //@line 712 "../src/h264bsd_reconstruct.c"
 var $292=((($291)+($290))|0); //@line 712 "../src/h264bsd_reconstruct.c"
 $tmp5=$292; //@line 712 "../src/h264bsd_reconstruct.c"
 var $293=$tmp3; //@line 713 "../src/h264bsd_reconstruct.c"
 var $294=$293<<2; //@line 713 "../src/h264bsd_reconstruct.c"
 var $295=$tmp5; //@line 713 "../src/h264bsd_reconstruct.c"
 var $296=((($295)+($294))|0); //@line 713 "../src/h264bsd_reconstruct.c"
 $tmp5=$296; //@line 713 "../src/h264bsd_reconstruct.c"
 var $297=$tmp6; //@line 714 "../src/h264bsd_reconstruct.c"
 var $298=$tmp5; //@line 714 "../src/h264bsd_reconstruct.c"
 var $299=((($298)+($297))|0); //@line 714 "../src/h264bsd_reconstruct.c"
 $tmp5=$299; //@line 714 "../src/h264bsd_reconstruct.c"
 var $300=$tmp5; //@line 715 "../src/h264bsd_reconstruct.c"
 var $301=$300>>5; //@line 715 "../src/h264bsd_reconstruct.c"
 var $302=$clp; //@line 715 "../src/h264bsd_reconstruct.c"
 var $303=(($302+$301)|0); //@line 715 "../src/h264bsd_reconstruct.c"
 var $304=HEAP8[($303)]; //@line 715 "../src/h264bsd_reconstruct.c"
 var $305=($304&255); //@line 715 "../src/h264bsd_reconstruct.c"
 $tmp5=$305; //@line 715 "../src/h264bsd_reconstruct.c"
 var $306=$5; //@line 716 "../src/h264bsd_reconstruct.c"
 var $307=(((-$306))|0); //@line 716 "../src/h264bsd_reconstruct.c"
 var $308=$ptrInt; //@line 716 "../src/h264bsd_reconstruct.c"
 var $309=(($308+$307)|0); //@line 716 "../src/h264bsd_reconstruct.c"
 var $310=HEAP8[($309)]; //@line 716 "../src/h264bsd_reconstruct.c"
 var $311=($310&255); //@line 716 "../src/h264bsd_reconstruct.c"
 $tmp7=$311; //@line 716 "../src/h264bsd_reconstruct.c"
 var $312=$tmp5; //@line 717 "../src/h264bsd_reconstruct.c"
 var $313=((($312)+(1))|0); //@line 717 "../src/h264bsd_reconstruct.c"
 $tmp5=$313; //@line 717 "../src/h264bsd_reconstruct.c"
 var $314=$tmp5; //@line 718 "../src/h264bsd_reconstruct.c"
 var $315=$tmp7; //@line 718 "../src/h264bsd_reconstruct.c"
 var $316=((($314)+($315))|0); //@line 718 "../src/h264bsd_reconstruct.c"
 var $317=$316>>1; //@line 718 "../src/h264bsd_reconstruct.c"
 var $318=(($317)&255); //@line 718 "../src/h264bsd_reconstruct.c"
 var $319=$2; //@line 718 "../src/h264bsd_reconstruct.c"
 var $320=(($319+1)|0); //@line 718 "../src/h264bsd_reconstruct.c"
 $2=$320; //@line 718 "../src/h264bsd_reconstruct.c"
 HEAP8[($319)]=$318; //@line 718 "../src/h264bsd_reconstruct.c"
 var $321=$ptrC; //@line 719 "../src/h264bsd_reconstruct.c"
 var $322=(($321+1)|0); //@line 719 "../src/h264bsd_reconstruct.c"
 $ptrC=$322; //@line 719 "../src/h264bsd_reconstruct.c"
 var $323=$ptrInt; //@line 720 "../src/h264bsd_reconstruct.c"
 var $324=(($323+1)|0); //@line 720 "../src/h264bsd_reconstruct.c"
 $ptrInt=$324; //@line 720 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 721 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $326=$j; //@line 656 "../src/h264bsd_reconstruct.c"
 var $327=((($326)-(1))|0); //@line 656 "../src/h264bsd_reconstruct.c"
 $j=$327; //@line 656 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 656 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $329=$5; //@line 722 "../src/h264bsd_reconstruct.c"
 var $330=($329<<2); //@line 722 "../src/h264bsd_reconstruct.c"
 var $331=$7; //@line 722 "../src/h264bsd_reconstruct.c"
 var $332=((($330)-($331))|0); //@line 722 "../src/h264bsd_reconstruct.c"
 var $333=$ptrC; //@line 722 "../src/h264bsd_reconstruct.c"
 var $334=(($333+$332)|0); //@line 722 "../src/h264bsd_reconstruct.c"
 $ptrC=$334; //@line 722 "../src/h264bsd_reconstruct.c"
 var $335=$5; //@line 723 "../src/h264bsd_reconstruct.c"
 var $336=($335<<2); //@line 723 "../src/h264bsd_reconstruct.c"
 var $337=$7; //@line 723 "../src/h264bsd_reconstruct.c"
 var $338=((($336)-($337))|0); //@line 723 "../src/h264bsd_reconstruct.c"
 var $339=$ptrV; //@line 723 "../src/h264bsd_reconstruct.c"
 var $340=(($339+$338)|0); //@line 723 "../src/h264bsd_reconstruct.c"
 $ptrV=$340; //@line 723 "../src/h264bsd_reconstruct.c"
 var $341=$5; //@line 724 "../src/h264bsd_reconstruct.c"
 var $342=($341<<2); //@line 724 "../src/h264bsd_reconstruct.c"
 var $343=$7; //@line 724 "../src/h264bsd_reconstruct.c"
 var $344=((($342)-($343))|0); //@line 724 "../src/h264bsd_reconstruct.c"
 var $345=$ptrInt; //@line 724 "../src/h264bsd_reconstruct.c"
 var $346=(($345+$344)|0); //@line 724 "../src/h264bsd_reconstruct.c"
 $ptrInt=$346; //@line 724 "../src/h264bsd_reconstruct.c"
 var $347=$7; //@line 725 "../src/h264bsd_reconstruct.c"
 var $348=(((64)-($347))|0); //@line 725 "../src/h264bsd_reconstruct.c"
 var $349=$2; //@line 725 "../src/h264bsd_reconstruct.c"
 var $350=(($349+$348)|0); //@line 725 "../src/h264bsd_reconstruct.c"
 $2=$350; //@line 725 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 726 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $352=$i; //@line 653 "../src/h264bsd_reconstruct.c"
 var $353=((($352)-(1))|0); //@line 653 "../src/h264bsd_reconstruct.c"
 $i=$353; //@line 653 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 653 "../src/h264bsd_reconstruct.c"
 case 18: 
 STACKTOP=sp;return; //@line 728 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateHorHalf($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+448)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $p1=sp;
 var $ptrJ;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $clp=1872; //@line 756 "../src/h264bsd_reconstruct.c"
 var $9=$1; //@line 760 "../src/h264bsd_reconstruct.c"
 var $10=($9|0)!=0; //@line 760 "../src/h264bsd_reconstruct.c"
 if($10){var $14=0;label=3;break;}else{label=2;break;} //@line 760 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,760,13624); //@line 760 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 760 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 760 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $14;
 var $15=($14&1); //@line 760 "../src/h264bsd_reconstruct.c"
 var $16=$2; //@line 761 "../src/h264bsd_reconstruct.c"
 var $17=($16|0)!=0; //@line 761 "../src/h264bsd_reconstruct.c"
 if($17){var $21=1;label=5;break;}else{label=4;break;} //@line 761 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,761,13624); //@line 761 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 761 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 761 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $21;
 var $22=($21&1); //@line 761 "../src/h264bsd_reconstruct.c"
 var $23=$7; //@line 762 "../src/h264bsd_reconstruct.c"
 var $24=$23&3; //@line 762 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)==0; //@line 762 "../src/h264bsd_reconstruct.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 762 "../src/h264bsd_reconstruct.c"
 case 6: 
 ___assert_fail(4624,11560,762,13624); //@line 762 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 762 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 762 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 762 "../src/h264bsd_reconstruct.c"
 var $31=$8; //@line 763 "../src/h264bsd_reconstruct.c"
 var $32=$31&3; //@line 763 "../src/h264bsd_reconstruct.c"
 var $33=($32|0)==0; //@line 763 "../src/h264bsd_reconstruct.c"
 if($33){var $37=1;label=9;break;}else{label=8;break;} //@line 763 "../src/h264bsd_reconstruct.c"
 case 8: 
 ___assert_fail(12368,11560,763,13624); //@line 763 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 763 "../src/h264bsd_reconstruct.c"
 label=9;break; //@line 763 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $37;
 var $38=($37&1); //@line 763 "../src/h264bsd_reconstruct.c"
 var $39=$3; //@line 765 "../src/h264bsd_reconstruct.c"
 var $40=($39|0)<0; //@line 765 "../src/h264bsd_reconstruct.c"
 if($40){label=13;break;}else{label=10;break;} //@line 765 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $42=$3; //@line 765 "../src/h264bsd_reconstruct.c"
 var $43=$7; //@line 765 "../src/h264bsd_reconstruct.c"
 var $44=((($42)+($43))|0); //@line 765 "../src/h264bsd_reconstruct.c"
 var $45=((($44)+(5))|0); //@line 765 "../src/h264bsd_reconstruct.c"
 var $46=$5; //@line 765 "../src/h264bsd_reconstruct.c"
 var $47=($45>>>0)>($46>>>0); //@line 765 "../src/h264bsd_reconstruct.c"
 if($47){label=13;break;}else{label=11;break;} //@line 765 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $49=$4; //@line 765 "../src/h264bsd_reconstruct.c"
 var $50=($49|0)<0; //@line 765 "../src/h264bsd_reconstruct.c"
 if($50){label=13;break;}else{label=12;break;} //@line 765 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $52=$4; //@line 765 "../src/h264bsd_reconstruct.c"
 var $53=$8; //@line 765 "../src/h264bsd_reconstruct.c"
 var $54=((($52)+($53))|0); //@line 765 "../src/h264bsd_reconstruct.c"
 var $55=$6; //@line 765 "../src/h264bsd_reconstruct.c"
 var $56=($54>>>0)>($55>>>0); //@line 765 "../src/h264bsd_reconstruct.c"
 if($56){label=13;break;}else{label=14;break;} //@line 765 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $58=$1; //@line 768 "../src/h264bsd_reconstruct.c"
 var $59=(($p1)|0); //@line 768 "../src/h264bsd_reconstruct.c"
 var $60=$59; //@line 768 "../src/h264bsd_reconstruct.c"
 var $61=$3; //@line 768 "../src/h264bsd_reconstruct.c"
 var $62=$4; //@line 768 "../src/h264bsd_reconstruct.c"
 var $63=$5; //@line 768 "../src/h264bsd_reconstruct.c"
 var $64=$6; //@line 768 "../src/h264bsd_reconstruct.c"
 var $65=$7; //@line 768 "../src/h264bsd_reconstruct.c"
 var $66=((($65)+(5))|0); //@line 768 "../src/h264bsd_reconstruct.c"
 var $67=$8; //@line 768 "../src/h264bsd_reconstruct.c"
 var $68=$7; //@line 768 "../src/h264bsd_reconstruct.c"
 var $69=((($68)+(5))|0); //@line 768 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($58,$60,$61,$62,$63,$64,$66,$67,$69); //@line 768 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 771 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 772 "../src/h264bsd_reconstruct.c"
 var $70=(($p1)|0); //@line 773 "../src/h264bsd_reconstruct.c"
 var $71=$70; //@line 773 "../src/h264bsd_reconstruct.c"
 $1=$71; //@line 773 "../src/h264bsd_reconstruct.c"
 var $72=$7; //@line 774 "../src/h264bsd_reconstruct.c"
 var $73=((($72)+(5))|0); //@line 774 "../src/h264bsd_reconstruct.c"
 $5=$73; //@line 774 "../src/h264bsd_reconstruct.c"
 label=14;break; //@line 775 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $75=$4; //@line 777 "../src/h264bsd_reconstruct.c"
 var $76=$5; //@line 777 "../src/h264bsd_reconstruct.c"
 var $77=(Math_imul($75,$76)|0); //@line 777 "../src/h264bsd_reconstruct.c"
 var $78=$3; //@line 777 "../src/h264bsd_reconstruct.c"
 var $79=((($77)+($78))|0); //@line 777 "../src/h264bsd_reconstruct.c"
 var $80=$1; //@line 777 "../src/h264bsd_reconstruct.c"
 var $81=(($80+$79)|0); //@line 777 "../src/h264bsd_reconstruct.c"
 $1=$81; //@line 777 "../src/h264bsd_reconstruct.c"
 var $82=$1; //@line 779 "../src/h264bsd_reconstruct.c"
 var $83=(($82+5)|0); //@line 779 "../src/h264bsd_reconstruct.c"
 $ptrJ=$83; //@line 779 "../src/h264bsd_reconstruct.c"
 var $84=$8; //@line 781 "../src/h264bsd_reconstruct.c"
 $y=$84; //@line 781 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 781 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $86=$y; //@line 781 "../src/h264bsd_reconstruct.c"
 var $87=($86|0)!=0; //@line 781 "../src/h264bsd_reconstruct.c"
 if($87){label=16;break;}else{label=22;break;} //@line 781 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $89=$ptrJ; //@line 783 "../src/h264bsd_reconstruct.c"
 var $90=((($89)-(5))|0); //@line 783 "../src/h264bsd_reconstruct.c"
 var $91=HEAP8[($90)]; //@line 783 "../src/h264bsd_reconstruct.c"
 var $92=($91&255); //@line 783 "../src/h264bsd_reconstruct.c"
 $tmp6=$92; //@line 783 "../src/h264bsd_reconstruct.c"
 var $93=$ptrJ; //@line 784 "../src/h264bsd_reconstruct.c"
 var $94=((($93)-(4))|0); //@line 784 "../src/h264bsd_reconstruct.c"
 var $95=HEAP8[($94)]; //@line 784 "../src/h264bsd_reconstruct.c"
 var $96=($95&255); //@line 784 "../src/h264bsd_reconstruct.c"
 $tmp5=$96; //@line 784 "../src/h264bsd_reconstruct.c"
 var $97=$ptrJ; //@line 785 "../src/h264bsd_reconstruct.c"
 var $98=((($97)-(3))|0); //@line 785 "../src/h264bsd_reconstruct.c"
 var $99=HEAP8[($98)]; //@line 785 "../src/h264bsd_reconstruct.c"
 var $100=($99&255); //@line 785 "../src/h264bsd_reconstruct.c"
 $tmp4=$100; //@line 785 "../src/h264bsd_reconstruct.c"
 var $101=$ptrJ; //@line 786 "../src/h264bsd_reconstruct.c"
 var $102=((($101)-(2))|0); //@line 786 "../src/h264bsd_reconstruct.c"
 var $103=HEAP8[($102)]; //@line 786 "../src/h264bsd_reconstruct.c"
 var $104=($103&255); //@line 786 "../src/h264bsd_reconstruct.c"
 $tmp3=$104; //@line 786 "../src/h264bsd_reconstruct.c"
 var $105=$ptrJ; //@line 787 "../src/h264bsd_reconstruct.c"
 var $106=((($105)-(1))|0); //@line 787 "../src/h264bsd_reconstruct.c"
 var $107=HEAP8[($106)]; //@line 787 "../src/h264bsd_reconstruct.c"
 var $108=($107&255); //@line 787 "../src/h264bsd_reconstruct.c"
 $tmp2=$108; //@line 787 "../src/h264bsd_reconstruct.c"
 var $109=$7; //@line 790 "../src/h264bsd_reconstruct.c"
 var $110=$109>>>2; //@line 790 "../src/h264bsd_reconstruct.c"
 $x=$110; //@line 790 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 790 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $112=$x; //@line 790 "../src/h264bsd_reconstruct.c"
 var $113=($112|0)!=0; //@line 790 "../src/h264bsd_reconstruct.c"
 if($113){label=18;break;}else{label=20;break;} //@line 790 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $115=$tmp6; //@line 793 "../src/h264bsd_reconstruct.c"
 var $116=((($115)+(16))|0); //@line 793 "../src/h264bsd_reconstruct.c"
 $tmp6=$116; //@line 793 "../src/h264bsd_reconstruct.c"
 var $117=$tmp3; //@line 794 "../src/h264bsd_reconstruct.c"
 var $118=$tmp4; //@line 794 "../src/h264bsd_reconstruct.c"
 var $119=((($117)+($118))|0); //@line 794 "../src/h264bsd_reconstruct.c"
 $tmp7=$119; //@line 794 "../src/h264bsd_reconstruct.c"
 var $120=$tmp7; //@line 795 "../src/h264bsd_reconstruct.c"
 var $121=$120<<4; //@line 795 "../src/h264bsd_reconstruct.c"
 var $122=$tmp6; //@line 795 "../src/h264bsd_reconstruct.c"
 var $123=((($122)+($121))|0); //@line 795 "../src/h264bsd_reconstruct.c"
 $tmp6=$123; //@line 795 "../src/h264bsd_reconstruct.c"
 var $124=$tmp7; //@line 796 "../src/h264bsd_reconstruct.c"
 var $125=$124<<2; //@line 796 "../src/h264bsd_reconstruct.c"
 var $126=$tmp6; //@line 796 "../src/h264bsd_reconstruct.c"
 var $127=((($126)+($125))|0); //@line 796 "../src/h264bsd_reconstruct.c"
 $tmp6=$127; //@line 796 "../src/h264bsd_reconstruct.c"
 var $128=$tmp2; //@line 797 "../src/h264bsd_reconstruct.c"
 var $129=$tmp5; //@line 797 "../src/h264bsd_reconstruct.c"
 var $130=((($128)+($129))|0); //@line 797 "../src/h264bsd_reconstruct.c"
 $tmp7=$130; //@line 797 "../src/h264bsd_reconstruct.c"
 var $131=$ptrJ; //@line 798 "../src/h264bsd_reconstruct.c"
 var $132=(($131+1)|0); //@line 798 "../src/h264bsd_reconstruct.c"
 $ptrJ=$132; //@line 798 "../src/h264bsd_reconstruct.c"
 var $133=HEAP8[($131)]; //@line 798 "../src/h264bsd_reconstruct.c"
 var $134=($133&255); //@line 798 "../src/h264bsd_reconstruct.c"
 $tmp1=$134; //@line 798 "../src/h264bsd_reconstruct.c"
 var $135=$tmp7; //@line 799 "../src/h264bsd_reconstruct.c"
 var $136=$135<<2; //@line 799 "../src/h264bsd_reconstruct.c"
 var $137=$tmp6; //@line 799 "../src/h264bsd_reconstruct.c"
 var $138=((($137)-($136))|0); //@line 799 "../src/h264bsd_reconstruct.c"
 $tmp6=$138; //@line 799 "../src/h264bsd_reconstruct.c"
 var $139=$tmp7; //@line 800 "../src/h264bsd_reconstruct.c"
 var $140=$tmp6; //@line 800 "../src/h264bsd_reconstruct.c"
 var $141=((($140)-($139))|0); //@line 800 "../src/h264bsd_reconstruct.c"
 $tmp6=$141; //@line 800 "../src/h264bsd_reconstruct.c"
 var $142=$tmp1; //@line 801 "../src/h264bsd_reconstruct.c"
 var $143=$tmp6; //@line 801 "../src/h264bsd_reconstruct.c"
 var $144=((($143)+($142))|0); //@line 801 "../src/h264bsd_reconstruct.c"
 $tmp6=$144; //@line 801 "../src/h264bsd_reconstruct.c"
 var $145=$tmp6; //@line 802 "../src/h264bsd_reconstruct.c"
 var $146=$145>>5; //@line 802 "../src/h264bsd_reconstruct.c"
 var $147=$clp; //@line 802 "../src/h264bsd_reconstruct.c"
 var $148=(($147+$146)|0); //@line 802 "../src/h264bsd_reconstruct.c"
 var $149=HEAP8[($148)]; //@line 802 "../src/h264bsd_reconstruct.c"
 var $150=($149&255); //@line 802 "../src/h264bsd_reconstruct.c"
 $tmp6=$150; //@line 802 "../src/h264bsd_reconstruct.c"
 var $151=$tmp5; //@line 804 "../src/h264bsd_reconstruct.c"
 var $152=((($151)+(16))|0); //@line 804 "../src/h264bsd_reconstruct.c"
 $tmp5=$152; //@line 804 "../src/h264bsd_reconstruct.c"
 var $153=$tmp2; //@line 805 "../src/h264bsd_reconstruct.c"
 var $154=$tmp3; //@line 805 "../src/h264bsd_reconstruct.c"
 var $155=((($153)+($154))|0); //@line 805 "../src/h264bsd_reconstruct.c"
 $tmp7=$155; //@line 805 "../src/h264bsd_reconstruct.c"
 var $156=$tmp6; //@line 806 "../src/h264bsd_reconstruct.c"
 var $157=(($156)&255); //@line 806 "../src/h264bsd_reconstruct.c"
 var $158=$2; //@line 806 "../src/h264bsd_reconstruct.c"
 var $159=(($158+1)|0); //@line 806 "../src/h264bsd_reconstruct.c"
 $2=$159; //@line 806 "../src/h264bsd_reconstruct.c"
 HEAP8[($158)]=$157; //@line 806 "../src/h264bsd_reconstruct.c"
 var $160=$tmp7; //@line 807 "../src/h264bsd_reconstruct.c"
 var $161=$160<<4; //@line 807 "../src/h264bsd_reconstruct.c"
 var $162=$tmp5; //@line 807 "../src/h264bsd_reconstruct.c"
 var $163=((($162)+($161))|0); //@line 807 "../src/h264bsd_reconstruct.c"
 $tmp5=$163; //@line 807 "../src/h264bsd_reconstruct.c"
 var $164=$tmp7; //@line 808 "../src/h264bsd_reconstruct.c"
 var $165=$164<<2; //@line 808 "../src/h264bsd_reconstruct.c"
 var $166=$tmp5; //@line 808 "../src/h264bsd_reconstruct.c"
 var $167=((($166)+($165))|0); //@line 808 "../src/h264bsd_reconstruct.c"
 $tmp5=$167; //@line 808 "../src/h264bsd_reconstruct.c"
 var $168=$tmp1; //@line 809 "../src/h264bsd_reconstruct.c"
 var $169=$tmp4; //@line 809 "../src/h264bsd_reconstruct.c"
 var $170=((($168)+($169))|0); //@line 809 "../src/h264bsd_reconstruct.c"
 $tmp7=$170; //@line 809 "../src/h264bsd_reconstruct.c"
 var $171=$ptrJ; //@line 810 "../src/h264bsd_reconstruct.c"
 var $172=(($171+1)|0); //@line 810 "../src/h264bsd_reconstruct.c"
 $ptrJ=$172; //@line 810 "../src/h264bsd_reconstruct.c"
 var $173=HEAP8[($171)]; //@line 810 "../src/h264bsd_reconstruct.c"
 var $174=($173&255); //@line 810 "../src/h264bsd_reconstruct.c"
 $tmp6=$174; //@line 810 "../src/h264bsd_reconstruct.c"
 var $175=$tmp7; //@line 811 "../src/h264bsd_reconstruct.c"
 var $176=$175<<2; //@line 811 "../src/h264bsd_reconstruct.c"
 var $177=$tmp5; //@line 811 "../src/h264bsd_reconstruct.c"
 var $178=((($177)-($176))|0); //@line 811 "../src/h264bsd_reconstruct.c"
 $tmp5=$178; //@line 811 "../src/h264bsd_reconstruct.c"
 var $179=$tmp7; //@line 812 "../src/h264bsd_reconstruct.c"
 var $180=$tmp5; //@line 812 "../src/h264bsd_reconstruct.c"
 var $181=((($180)-($179))|0); //@line 812 "../src/h264bsd_reconstruct.c"
 $tmp5=$181; //@line 812 "../src/h264bsd_reconstruct.c"
 var $182=$tmp6; //@line 813 "../src/h264bsd_reconstruct.c"
 var $183=$tmp5; //@line 813 "../src/h264bsd_reconstruct.c"
 var $184=((($183)+($182))|0); //@line 813 "../src/h264bsd_reconstruct.c"
 $tmp5=$184; //@line 813 "../src/h264bsd_reconstruct.c"
 var $185=$tmp5; //@line 814 "../src/h264bsd_reconstruct.c"
 var $186=$185>>5; //@line 814 "../src/h264bsd_reconstruct.c"
 var $187=$clp; //@line 814 "../src/h264bsd_reconstruct.c"
 var $188=(($187+$186)|0); //@line 814 "../src/h264bsd_reconstruct.c"
 var $189=HEAP8[($188)]; //@line 814 "../src/h264bsd_reconstruct.c"
 var $190=($189&255); //@line 814 "../src/h264bsd_reconstruct.c"
 $tmp5=$190; //@line 814 "../src/h264bsd_reconstruct.c"
 var $191=$tmp4; //@line 816 "../src/h264bsd_reconstruct.c"
 var $192=((($191)+(16))|0); //@line 816 "../src/h264bsd_reconstruct.c"
 $tmp4=$192; //@line 816 "../src/h264bsd_reconstruct.c"
 var $193=$tmp1; //@line 817 "../src/h264bsd_reconstruct.c"
 var $194=$tmp2; //@line 817 "../src/h264bsd_reconstruct.c"
 var $195=((($193)+($194))|0); //@line 817 "../src/h264bsd_reconstruct.c"
 $tmp7=$195; //@line 817 "../src/h264bsd_reconstruct.c"
 var $196=$tmp5; //@line 818 "../src/h264bsd_reconstruct.c"
 var $197=(($196)&255); //@line 818 "../src/h264bsd_reconstruct.c"
 var $198=$2; //@line 818 "../src/h264bsd_reconstruct.c"
 var $199=(($198+1)|0); //@line 818 "../src/h264bsd_reconstruct.c"
 $2=$199; //@line 818 "../src/h264bsd_reconstruct.c"
 HEAP8[($198)]=$197; //@line 818 "../src/h264bsd_reconstruct.c"
 var $200=$tmp7; //@line 819 "../src/h264bsd_reconstruct.c"
 var $201=$200<<4; //@line 819 "../src/h264bsd_reconstruct.c"
 var $202=$tmp4; //@line 819 "../src/h264bsd_reconstruct.c"
 var $203=((($202)+($201))|0); //@line 819 "../src/h264bsd_reconstruct.c"
 $tmp4=$203; //@line 819 "../src/h264bsd_reconstruct.c"
 var $204=$tmp7; //@line 820 "../src/h264bsd_reconstruct.c"
 var $205=$204<<2; //@line 820 "../src/h264bsd_reconstruct.c"
 var $206=$tmp4; //@line 820 "../src/h264bsd_reconstruct.c"
 var $207=((($206)+($205))|0); //@line 820 "../src/h264bsd_reconstruct.c"
 $tmp4=$207; //@line 820 "../src/h264bsd_reconstruct.c"
 var $208=$tmp6; //@line 821 "../src/h264bsd_reconstruct.c"
 var $209=$tmp3; //@line 821 "../src/h264bsd_reconstruct.c"
 var $210=((($208)+($209))|0); //@line 821 "../src/h264bsd_reconstruct.c"
 $tmp7=$210; //@line 821 "../src/h264bsd_reconstruct.c"
 var $211=$ptrJ; //@line 822 "../src/h264bsd_reconstruct.c"
 var $212=(($211+1)|0); //@line 822 "../src/h264bsd_reconstruct.c"
 $ptrJ=$212; //@line 822 "../src/h264bsd_reconstruct.c"
 var $213=HEAP8[($211)]; //@line 822 "../src/h264bsd_reconstruct.c"
 var $214=($213&255); //@line 822 "../src/h264bsd_reconstruct.c"
 $tmp5=$214; //@line 822 "../src/h264bsd_reconstruct.c"
 var $215=$tmp7; //@line 823 "../src/h264bsd_reconstruct.c"
 var $216=$215<<2; //@line 823 "../src/h264bsd_reconstruct.c"
 var $217=$tmp4; //@line 823 "../src/h264bsd_reconstruct.c"
 var $218=((($217)-($216))|0); //@line 823 "../src/h264bsd_reconstruct.c"
 $tmp4=$218; //@line 823 "../src/h264bsd_reconstruct.c"
 var $219=$tmp7; //@line 824 "../src/h264bsd_reconstruct.c"
 var $220=$tmp4; //@line 824 "../src/h264bsd_reconstruct.c"
 var $221=((($220)-($219))|0); //@line 824 "../src/h264bsd_reconstruct.c"
 $tmp4=$221; //@line 824 "../src/h264bsd_reconstruct.c"
 var $222=$tmp5; //@line 825 "../src/h264bsd_reconstruct.c"
 var $223=$tmp4; //@line 825 "../src/h264bsd_reconstruct.c"
 var $224=((($223)+($222))|0); //@line 825 "../src/h264bsd_reconstruct.c"
 $tmp4=$224; //@line 825 "../src/h264bsd_reconstruct.c"
 var $225=$tmp4; //@line 826 "../src/h264bsd_reconstruct.c"
 var $226=$225>>5; //@line 826 "../src/h264bsd_reconstruct.c"
 var $227=$clp; //@line 826 "../src/h264bsd_reconstruct.c"
 var $228=(($227+$226)|0); //@line 826 "../src/h264bsd_reconstruct.c"
 var $229=HEAP8[($228)]; //@line 826 "../src/h264bsd_reconstruct.c"
 var $230=($229&255); //@line 826 "../src/h264bsd_reconstruct.c"
 $tmp4=$230; //@line 826 "../src/h264bsd_reconstruct.c"
 var $231=$tmp3; //@line 828 "../src/h264bsd_reconstruct.c"
 var $232=((($231)+(16))|0); //@line 828 "../src/h264bsd_reconstruct.c"
 $tmp3=$232; //@line 828 "../src/h264bsd_reconstruct.c"
 var $233=$tmp6; //@line 829 "../src/h264bsd_reconstruct.c"
 var $234=$tmp1; //@line 829 "../src/h264bsd_reconstruct.c"
 var $235=((($233)+($234))|0); //@line 829 "../src/h264bsd_reconstruct.c"
 $tmp7=$235; //@line 829 "../src/h264bsd_reconstruct.c"
 var $236=$tmp4; //@line 830 "../src/h264bsd_reconstruct.c"
 var $237=(($236)&255); //@line 830 "../src/h264bsd_reconstruct.c"
 var $238=$2; //@line 830 "../src/h264bsd_reconstruct.c"
 var $239=(($238+1)|0); //@line 830 "../src/h264bsd_reconstruct.c"
 $2=$239; //@line 830 "../src/h264bsd_reconstruct.c"
 HEAP8[($238)]=$237; //@line 830 "../src/h264bsd_reconstruct.c"
 var $240=$tmp7; //@line 831 "../src/h264bsd_reconstruct.c"
 var $241=$240<<4; //@line 831 "../src/h264bsd_reconstruct.c"
 var $242=$tmp3; //@line 831 "../src/h264bsd_reconstruct.c"
 var $243=((($242)+($241))|0); //@line 831 "../src/h264bsd_reconstruct.c"
 $tmp3=$243; //@line 831 "../src/h264bsd_reconstruct.c"
 var $244=$tmp7; //@line 832 "../src/h264bsd_reconstruct.c"
 var $245=$244<<2; //@line 832 "../src/h264bsd_reconstruct.c"
 var $246=$tmp3; //@line 832 "../src/h264bsd_reconstruct.c"
 var $247=((($246)+($245))|0); //@line 832 "../src/h264bsd_reconstruct.c"
 $tmp3=$247; //@line 832 "../src/h264bsd_reconstruct.c"
 var $248=$tmp5; //@line 833 "../src/h264bsd_reconstruct.c"
 var $249=$tmp2; //@line 833 "../src/h264bsd_reconstruct.c"
 var $250=((($248)+($249))|0); //@line 833 "../src/h264bsd_reconstruct.c"
 $tmp7=$250; //@line 833 "../src/h264bsd_reconstruct.c"
 var $251=$ptrJ; //@line 834 "../src/h264bsd_reconstruct.c"
 var $252=(($251+1)|0); //@line 834 "../src/h264bsd_reconstruct.c"
 $ptrJ=$252; //@line 834 "../src/h264bsd_reconstruct.c"
 var $253=HEAP8[($251)]; //@line 834 "../src/h264bsd_reconstruct.c"
 var $254=($253&255); //@line 834 "../src/h264bsd_reconstruct.c"
 $tmp4=$254; //@line 834 "../src/h264bsd_reconstruct.c"
 var $255=$tmp7; //@line 835 "../src/h264bsd_reconstruct.c"
 var $256=$255<<2; //@line 835 "../src/h264bsd_reconstruct.c"
 var $257=$tmp3; //@line 835 "../src/h264bsd_reconstruct.c"
 var $258=((($257)-($256))|0); //@line 835 "../src/h264bsd_reconstruct.c"
 $tmp3=$258; //@line 835 "../src/h264bsd_reconstruct.c"
 var $259=$tmp7; //@line 836 "../src/h264bsd_reconstruct.c"
 var $260=$tmp3; //@line 836 "../src/h264bsd_reconstruct.c"
 var $261=((($260)-($259))|0); //@line 836 "../src/h264bsd_reconstruct.c"
 $tmp3=$261; //@line 836 "../src/h264bsd_reconstruct.c"
 var $262=$tmp4; //@line 837 "../src/h264bsd_reconstruct.c"
 var $263=$tmp3; //@line 837 "../src/h264bsd_reconstruct.c"
 var $264=((($263)+($262))|0); //@line 837 "../src/h264bsd_reconstruct.c"
 $tmp3=$264; //@line 837 "../src/h264bsd_reconstruct.c"
 var $265=$tmp3; //@line 838 "../src/h264bsd_reconstruct.c"
 var $266=$265>>5; //@line 838 "../src/h264bsd_reconstruct.c"
 var $267=$clp; //@line 838 "../src/h264bsd_reconstruct.c"
 var $268=(($267+$266)|0); //@line 838 "../src/h264bsd_reconstruct.c"
 var $269=HEAP8[($268)]; //@line 838 "../src/h264bsd_reconstruct.c"
 var $270=($269&255); //@line 838 "../src/h264bsd_reconstruct.c"
 $tmp3=$270; //@line 838 "../src/h264bsd_reconstruct.c"
 var $271=$tmp4; //@line 839 "../src/h264bsd_reconstruct.c"
 $tmp7=$271; //@line 839 "../src/h264bsd_reconstruct.c"
 var $272=$tmp6; //@line 840 "../src/h264bsd_reconstruct.c"
 $tmp4=$272; //@line 840 "../src/h264bsd_reconstruct.c"
 var $273=$tmp2; //@line 841 "../src/h264bsd_reconstruct.c"
 $tmp6=$273; //@line 841 "../src/h264bsd_reconstruct.c"
 var $274=$tmp7; //@line 842 "../src/h264bsd_reconstruct.c"
 $tmp2=$274; //@line 842 "../src/h264bsd_reconstruct.c"
 var $275=$tmp3; //@line 843 "../src/h264bsd_reconstruct.c"
 var $276=(($275)&255); //@line 843 "../src/h264bsd_reconstruct.c"
 var $277=$2; //@line 843 "../src/h264bsd_reconstruct.c"
 var $278=(($277+1)|0); //@line 843 "../src/h264bsd_reconstruct.c"
 $2=$278; //@line 843 "../src/h264bsd_reconstruct.c"
 HEAP8[($277)]=$276; //@line 843 "../src/h264bsd_reconstruct.c"
 var $279=$tmp5; //@line 844 "../src/h264bsd_reconstruct.c"
 $tmp3=$279; //@line 844 "../src/h264bsd_reconstruct.c"
 var $280=$tmp1; //@line 845 "../src/h264bsd_reconstruct.c"
 $tmp5=$280; //@line 845 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 846 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $282=$x; //@line 790 "../src/h264bsd_reconstruct.c"
 var $283=((($282)-(1))|0); //@line 790 "../src/h264bsd_reconstruct.c"
 $x=$283; //@line 790 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 790 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $285=$5; //@line 847 "../src/h264bsd_reconstruct.c"
 var $286=$7; //@line 847 "../src/h264bsd_reconstruct.c"
 var $287=((($285)-($286))|0); //@line 847 "../src/h264bsd_reconstruct.c"
 var $288=$ptrJ; //@line 847 "../src/h264bsd_reconstruct.c"
 var $289=(($288+$287)|0); //@line 847 "../src/h264bsd_reconstruct.c"
 $ptrJ=$289; //@line 847 "../src/h264bsd_reconstruct.c"
 var $290=$7; //@line 848 "../src/h264bsd_reconstruct.c"
 var $291=(((16)-($290))|0); //@line 848 "../src/h264bsd_reconstruct.c"
 var $292=$2; //@line 848 "../src/h264bsd_reconstruct.c"
 var $293=(($292+$291)|0); //@line 848 "../src/h264bsd_reconstruct.c"
 $2=$293; //@line 848 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 849 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $295=$y; //@line 781 "../src/h264bsd_reconstruct.c"
 var $296=((($295)-(1))|0); //@line 781 "../src/h264bsd_reconstruct.c"
 $y=$296; //@line 781 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 781 "../src/h264bsd_reconstruct.c"
 case 22: 
 STACKTOP=sp;return; //@line 851 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateHorQuarter($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight,$horOffset){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+448)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $p1=sp;
 var $ptrJ;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $9=$horOffset;
 $clp=1872; //@line 880 "../src/h264bsd_reconstruct.c"
 var $10=$1; //@line 884 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 884 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 884 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,884,13592); //@line 884 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 884 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 884 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 884 "../src/h264bsd_reconstruct.c"
 var $17=$2; //@line 885 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 885 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 885 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,885,13592); //@line 885 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 885 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 885 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 885 "../src/h264bsd_reconstruct.c"
 var $24=$3; //@line 887 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)<0; //@line 887 "../src/h264bsd_reconstruct.c"
 if($25){label=9;break;}else{label=6;break;} //@line 887 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $27=$3; //@line 887 "../src/h264bsd_reconstruct.c"
 var $28=$7; //@line 887 "../src/h264bsd_reconstruct.c"
 var $29=((($27)+($28))|0); //@line 887 "../src/h264bsd_reconstruct.c"
 var $30=((($29)+(5))|0); //@line 887 "../src/h264bsd_reconstruct.c"
 var $31=$5; //@line 887 "../src/h264bsd_reconstruct.c"
 var $32=($30>>>0)>($31>>>0); //@line 887 "../src/h264bsd_reconstruct.c"
 if($32){label=9;break;}else{label=7;break;} //@line 887 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $34=$4; //@line 887 "../src/h264bsd_reconstruct.c"
 var $35=($34|0)<0; //@line 887 "../src/h264bsd_reconstruct.c"
 if($35){label=9;break;}else{label=8;break;} //@line 887 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $37=$4; //@line 887 "../src/h264bsd_reconstruct.c"
 var $38=$8; //@line 887 "../src/h264bsd_reconstruct.c"
 var $39=((($37)+($38))|0); //@line 887 "../src/h264bsd_reconstruct.c"
 var $40=$6; //@line 887 "../src/h264bsd_reconstruct.c"
 var $41=($39>>>0)>($40>>>0); //@line 887 "../src/h264bsd_reconstruct.c"
 if($41){label=9;break;}else{label=10;break;} //@line 887 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $43=$1; //@line 890 "../src/h264bsd_reconstruct.c"
 var $44=(($p1)|0); //@line 890 "../src/h264bsd_reconstruct.c"
 var $45=$44; //@line 890 "../src/h264bsd_reconstruct.c"
 var $46=$3; //@line 890 "../src/h264bsd_reconstruct.c"
 var $47=$4; //@line 890 "../src/h264bsd_reconstruct.c"
 var $48=$5; //@line 890 "../src/h264bsd_reconstruct.c"
 var $49=$6; //@line 890 "../src/h264bsd_reconstruct.c"
 var $50=$7; //@line 890 "../src/h264bsd_reconstruct.c"
 var $51=((($50)+(5))|0); //@line 890 "../src/h264bsd_reconstruct.c"
 var $52=$8; //@line 890 "../src/h264bsd_reconstruct.c"
 var $53=$7; //@line 890 "../src/h264bsd_reconstruct.c"
 var $54=((($53)+(5))|0); //@line 890 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($43,$45,$46,$47,$48,$49,$51,$52,$54); //@line 890 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 893 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 894 "../src/h264bsd_reconstruct.c"
 var $55=(($p1)|0); //@line 895 "../src/h264bsd_reconstruct.c"
 var $56=$55; //@line 895 "../src/h264bsd_reconstruct.c"
 $1=$56; //@line 895 "../src/h264bsd_reconstruct.c"
 var $57=$7; //@line 896 "../src/h264bsd_reconstruct.c"
 var $58=((($57)+(5))|0); //@line 896 "../src/h264bsd_reconstruct.c"
 $5=$58; //@line 896 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 897 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $60=$4; //@line 899 "../src/h264bsd_reconstruct.c"
 var $61=$5; //@line 899 "../src/h264bsd_reconstruct.c"
 var $62=(Math_imul($60,$61)|0); //@line 899 "../src/h264bsd_reconstruct.c"
 var $63=$3; //@line 899 "../src/h264bsd_reconstruct.c"
 var $64=((($62)+($63))|0); //@line 899 "../src/h264bsd_reconstruct.c"
 var $65=$1; //@line 899 "../src/h264bsd_reconstruct.c"
 var $66=(($65+$64)|0); //@line 899 "../src/h264bsd_reconstruct.c"
 $1=$66; //@line 899 "../src/h264bsd_reconstruct.c"
 var $67=$1; //@line 901 "../src/h264bsd_reconstruct.c"
 var $68=(($67+5)|0); //@line 901 "../src/h264bsd_reconstruct.c"
 $ptrJ=$68; //@line 901 "../src/h264bsd_reconstruct.c"
 var $69=$8; //@line 903 "../src/h264bsd_reconstruct.c"
 $y=$69; //@line 903 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 903 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $71=$y; //@line 903 "../src/h264bsd_reconstruct.c"
 var $72=($71|0)!=0; //@line 903 "../src/h264bsd_reconstruct.c"
 if($72){label=12;break;}else{label=30;break;} //@line 903 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $74=$ptrJ; //@line 905 "../src/h264bsd_reconstruct.c"
 var $75=((($74)-(5))|0); //@line 905 "../src/h264bsd_reconstruct.c"
 var $76=HEAP8[($75)]; //@line 905 "../src/h264bsd_reconstruct.c"
 var $77=($76&255); //@line 905 "../src/h264bsd_reconstruct.c"
 $tmp6=$77; //@line 905 "../src/h264bsd_reconstruct.c"
 var $78=$ptrJ; //@line 906 "../src/h264bsd_reconstruct.c"
 var $79=((($78)-(4))|0); //@line 906 "../src/h264bsd_reconstruct.c"
 var $80=HEAP8[($79)]; //@line 906 "../src/h264bsd_reconstruct.c"
 var $81=($80&255); //@line 906 "../src/h264bsd_reconstruct.c"
 $tmp5=$81; //@line 906 "../src/h264bsd_reconstruct.c"
 var $82=$ptrJ; //@line 907 "../src/h264bsd_reconstruct.c"
 var $83=((($82)-(3))|0); //@line 907 "../src/h264bsd_reconstruct.c"
 var $84=HEAP8[($83)]; //@line 907 "../src/h264bsd_reconstruct.c"
 var $85=($84&255); //@line 907 "../src/h264bsd_reconstruct.c"
 $tmp4=$85; //@line 907 "../src/h264bsd_reconstruct.c"
 var $86=$ptrJ; //@line 908 "../src/h264bsd_reconstruct.c"
 var $87=((($86)-(2))|0); //@line 908 "../src/h264bsd_reconstruct.c"
 var $88=HEAP8[($87)]; //@line 908 "../src/h264bsd_reconstruct.c"
 var $89=($88&255); //@line 908 "../src/h264bsd_reconstruct.c"
 $tmp3=$89; //@line 908 "../src/h264bsd_reconstruct.c"
 var $90=$ptrJ; //@line 909 "../src/h264bsd_reconstruct.c"
 var $91=((($90)-(1))|0); //@line 909 "../src/h264bsd_reconstruct.c"
 var $92=HEAP8[($91)]; //@line 909 "../src/h264bsd_reconstruct.c"
 var $93=($92&255); //@line 909 "../src/h264bsd_reconstruct.c"
 $tmp2=$93; //@line 909 "../src/h264bsd_reconstruct.c"
 var $94=$7; //@line 912 "../src/h264bsd_reconstruct.c"
 var $95=$94>>>2; //@line 912 "../src/h264bsd_reconstruct.c"
 $x=$95; //@line 912 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 912 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $97=$x; //@line 912 "../src/h264bsd_reconstruct.c"
 var $98=($97|0)!=0; //@line 912 "../src/h264bsd_reconstruct.c"
 if($98){label=14;break;}else{label=28;break;} //@line 912 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $100=$tmp6; //@line 915 "../src/h264bsd_reconstruct.c"
 var $101=((($100)+(16))|0); //@line 915 "../src/h264bsd_reconstruct.c"
 $tmp6=$101; //@line 915 "../src/h264bsd_reconstruct.c"
 var $102=$tmp3; //@line 916 "../src/h264bsd_reconstruct.c"
 var $103=$tmp4; //@line 916 "../src/h264bsd_reconstruct.c"
 var $104=((($102)+($103))|0); //@line 916 "../src/h264bsd_reconstruct.c"
 $tmp7=$104; //@line 916 "../src/h264bsd_reconstruct.c"
 var $105=$tmp7; //@line 917 "../src/h264bsd_reconstruct.c"
 var $106=$105<<4; //@line 917 "../src/h264bsd_reconstruct.c"
 var $107=$tmp6; //@line 917 "../src/h264bsd_reconstruct.c"
 var $108=((($107)+($106))|0); //@line 917 "../src/h264bsd_reconstruct.c"
 $tmp6=$108; //@line 917 "../src/h264bsd_reconstruct.c"
 var $109=$tmp7; //@line 918 "../src/h264bsd_reconstruct.c"
 var $110=$109<<2; //@line 918 "../src/h264bsd_reconstruct.c"
 var $111=$tmp6; //@line 918 "../src/h264bsd_reconstruct.c"
 var $112=((($111)+($110))|0); //@line 918 "../src/h264bsd_reconstruct.c"
 $tmp6=$112; //@line 918 "../src/h264bsd_reconstruct.c"
 var $113=$tmp2; //@line 919 "../src/h264bsd_reconstruct.c"
 var $114=$tmp5; //@line 919 "../src/h264bsd_reconstruct.c"
 var $115=((($113)+($114))|0); //@line 919 "../src/h264bsd_reconstruct.c"
 $tmp7=$115; //@line 919 "../src/h264bsd_reconstruct.c"
 var $116=$ptrJ; //@line 920 "../src/h264bsd_reconstruct.c"
 var $117=(($116+1)|0); //@line 920 "../src/h264bsd_reconstruct.c"
 $ptrJ=$117; //@line 920 "../src/h264bsd_reconstruct.c"
 var $118=HEAP8[($116)]; //@line 920 "../src/h264bsd_reconstruct.c"
 var $119=($118&255); //@line 920 "../src/h264bsd_reconstruct.c"
 $tmp1=$119; //@line 920 "../src/h264bsd_reconstruct.c"
 var $120=$tmp7; //@line 921 "../src/h264bsd_reconstruct.c"
 var $121=$120<<2; //@line 921 "../src/h264bsd_reconstruct.c"
 var $122=$tmp6; //@line 921 "../src/h264bsd_reconstruct.c"
 var $123=((($122)-($121))|0); //@line 921 "../src/h264bsd_reconstruct.c"
 $tmp6=$123; //@line 921 "../src/h264bsd_reconstruct.c"
 var $124=$tmp7; //@line 922 "../src/h264bsd_reconstruct.c"
 var $125=$tmp6; //@line 922 "../src/h264bsd_reconstruct.c"
 var $126=((($125)-($124))|0); //@line 922 "../src/h264bsd_reconstruct.c"
 $tmp6=$126; //@line 922 "../src/h264bsd_reconstruct.c"
 var $127=$tmp1; //@line 923 "../src/h264bsd_reconstruct.c"
 var $128=$tmp6; //@line 923 "../src/h264bsd_reconstruct.c"
 var $129=((($128)+($127))|0); //@line 923 "../src/h264bsd_reconstruct.c"
 $tmp6=$129; //@line 923 "../src/h264bsd_reconstruct.c"
 var $130=$tmp6; //@line 924 "../src/h264bsd_reconstruct.c"
 var $131=$130>>5; //@line 924 "../src/h264bsd_reconstruct.c"
 var $132=$clp; //@line 924 "../src/h264bsd_reconstruct.c"
 var $133=(($132+$131)|0); //@line 924 "../src/h264bsd_reconstruct.c"
 var $134=HEAP8[($133)]; //@line 924 "../src/h264bsd_reconstruct.c"
 var $135=($134&255); //@line 924 "../src/h264bsd_reconstruct.c"
 $tmp6=$135; //@line 924 "../src/h264bsd_reconstruct.c"
 var $136=$tmp5; //@line 925 "../src/h264bsd_reconstruct.c"
 var $137=((($136)+(16))|0); //@line 925 "../src/h264bsd_reconstruct.c"
 $tmp5=$137; //@line 925 "../src/h264bsd_reconstruct.c"
 var $138=$9; //@line 926 "../src/h264bsd_reconstruct.c"
 var $139=($138|0)!=0; //@line 926 "../src/h264bsd_reconstruct.c"
 if($139){label=16;break;}else{label=15;break;} //@line 926 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $141=$tmp4; //@line 927 "../src/h264bsd_reconstruct.c"
 var $142=$tmp6; //@line 927 "../src/h264bsd_reconstruct.c"
 var $143=((($142)+($141))|0); //@line 927 "../src/h264bsd_reconstruct.c"
 $tmp6=$143; //@line 927 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 927 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $145=$tmp3; //@line 929 "../src/h264bsd_reconstruct.c"
 var $146=$tmp6; //@line 929 "../src/h264bsd_reconstruct.c"
 var $147=((($146)+($145))|0); //@line 929 "../src/h264bsd_reconstruct.c"
 $tmp6=$147; //@line 929 "../src/h264bsd_reconstruct.c"
 label=17;break;
 case 17: 
 var $149=$tmp6; //@line 930 "../src/h264bsd_reconstruct.c"
 var $150=((($149)+(1))|0); //@line 930 "../src/h264bsd_reconstruct.c"
 var $151=$150>>1; //@line 930 "../src/h264bsd_reconstruct.c"
 var $152=(($151)&255); //@line 930 "../src/h264bsd_reconstruct.c"
 var $153=$2; //@line 930 "../src/h264bsd_reconstruct.c"
 var $154=(($153+1)|0); //@line 930 "../src/h264bsd_reconstruct.c"
 $2=$154; //@line 930 "../src/h264bsd_reconstruct.c"
 HEAP8[($153)]=$152; //@line 930 "../src/h264bsd_reconstruct.c"
 var $155=$tmp2; //@line 932 "../src/h264bsd_reconstruct.c"
 var $156=$tmp3; //@line 932 "../src/h264bsd_reconstruct.c"
 var $157=((($155)+($156))|0); //@line 932 "../src/h264bsd_reconstruct.c"
 $tmp7=$157; //@line 932 "../src/h264bsd_reconstruct.c"
 var $158=$tmp7; //@line 933 "../src/h264bsd_reconstruct.c"
 var $159=$158<<4; //@line 933 "../src/h264bsd_reconstruct.c"
 var $160=$tmp5; //@line 933 "../src/h264bsd_reconstruct.c"
 var $161=((($160)+($159))|0); //@line 933 "../src/h264bsd_reconstruct.c"
 $tmp5=$161; //@line 933 "../src/h264bsd_reconstruct.c"
 var $162=$tmp7; //@line 934 "../src/h264bsd_reconstruct.c"
 var $163=$162<<2; //@line 934 "../src/h264bsd_reconstruct.c"
 var $164=$tmp5; //@line 934 "../src/h264bsd_reconstruct.c"
 var $165=((($164)+($163))|0); //@line 934 "../src/h264bsd_reconstruct.c"
 $tmp5=$165; //@line 934 "../src/h264bsd_reconstruct.c"
 var $166=$tmp1; //@line 935 "../src/h264bsd_reconstruct.c"
 var $167=$tmp4; //@line 935 "../src/h264bsd_reconstruct.c"
 var $168=((($166)+($167))|0); //@line 935 "../src/h264bsd_reconstruct.c"
 $tmp7=$168; //@line 935 "../src/h264bsd_reconstruct.c"
 var $169=$ptrJ; //@line 936 "../src/h264bsd_reconstruct.c"
 var $170=(($169+1)|0); //@line 936 "../src/h264bsd_reconstruct.c"
 $ptrJ=$170; //@line 936 "../src/h264bsd_reconstruct.c"
 var $171=HEAP8[($169)]; //@line 936 "../src/h264bsd_reconstruct.c"
 var $172=($171&255); //@line 936 "../src/h264bsd_reconstruct.c"
 $tmp6=$172; //@line 936 "../src/h264bsd_reconstruct.c"
 var $173=$tmp7; //@line 937 "../src/h264bsd_reconstruct.c"
 var $174=$173<<2; //@line 937 "../src/h264bsd_reconstruct.c"
 var $175=$tmp5; //@line 937 "../src/h264bsd_reconstruct.c"
 var $176=((($175)-($174))|0); //@line 937 "../src/h264bsd_reconstruct.c"
 $tmp5=$176; //@line 937 "../src/h264bsd_reconstruct.c"
 var $177=$tmp7; //@line 938 "../src/h264bsd_reconstruct.c"
 var $178=$tmp5; //@line 938 "../src/h264bsd_reconstruct.c"
 var $179=((($178)-($177))|0); //@line 938 "../src/h264bsd_reconstruct.c"
 $tmp5=$179; //@line 938 "../src/h264bsd_reconstruct.c"
 var $180=$tmp6; //@line 939 "../src/h264bsd_reconstruct.c"
 var $181=$tmp5; //@line 939 "../src/h264bsd_reconstruct.c"
 var $182=((($181)+($180))|0); //@line 939 "../src/h264bsd_reconstruct.c"
 $tmp5=$182; //@line 939 "../src/h264bsd_reconstruct.c"
 var $183=$tmp5; //@line 940 "../src/h264bsd_reconstruct.c"
 var $184=$183>>5; //@line 940 "../src/h264bsd_reconstruct.c"
 var $185=$clp; //@line 940 "../src/h264bsd_reconstruct.c"
 var $186=(($185+$184)|0); //@line 940 "../src/h264bsd_reconstruct.c"
 var $187=HEAP8[($186)]; //@line 940 "../src/h264bsd_reconstruct.c"
 var $188=($187&255); //@line 940 "../src/h264bsd_reconstruct.c"
 $tmp5=$188; //@line 940 "../src/h264bsd_reconstruct.c"
 var $189=$tmp4; //@line 941 "../src/h264bsd_reconstruct.c"
 var $190=((($189)+(16))|0); //@line 941 "../src/h264bsd_reconstruct.c"
 $tmp4=$190; //@line 941 "../src/h264bsd_reconstruct.c"
 var $191=$9; //@line 942 "../src/h264bsd_reconstruct.c"
 var $192=($191|0)!=0; //@line 942 "../src/h264bsd_reconstruct.c"
 if($192){label=19;break;}else{label=18;break;} //@line 942 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $194=$tmp3; //@line 943 "../src/h264bsd_reconstruct.c"
 var $195=$tmp5; //@line 943 "../src/h264bsd_reconstruct.c"
 var $196=((($195)+($194))|0); //@line 943 "../src/h264bsd_reconstruct.c"
 $tmp5=$196; //@line 943 "../src/h264bsd_reconstruct.c"
 label=20;break; //@line 943 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $198=$tmp2; //@line 945 "../src/h264bsd_reconstruct.c"
 var $199=$tmp5; //@line 945 "../src/h264bsd_reconstruct.c"
 var $200=((($199)+($198))|0); //@line 945 "../src/h264bsd_reconstruct.c"
 $tmp5=$200; //@line 945 "../src/h264bsd_reconstruct.c"
 label=20;break;
 case 20: 
 var $202=$tmp5; //@line 946 "../src/h264bsd_reconstruct.c"
 var $203=((($202)+(1))|0); //@line 946 "../src/h264bsd_reconstruct.c"
 var $204=$203>>1; //@line 946 "../src/h264bsd_reconstruct.c"
 var $205=(($204)&255); //@line 946 "../src/h264bsd_reconstruct.c"
 var $206=$2; //@line 946 "../src/h264bsd_reconstruct.c"
 var $207=(($206+1)|0); //@line 946 "../src/h264bsd_reconstruct.c"
 $2=$207; //@line 946 "../src/h264bsd_reconstruct.c"
 HEAP8[($206)]=$205; //@line 946 "../src/h264bsd_reconstruct.c"
 var $208=$tmp1; //@line 948 "../src/h264bsd_reconstruct.c"
 var $209=$tmp2; //@line 948 "../src/h264bsd_reconstruct.c"
 var $210=((($208)+($209))|0); //@line 948 "../src/h264bsd_reconstruct.c"
 $tmp7=$210; //@line 948 "../src/h264bsd_reconstruct.c"
 var $211=$tmp7; //@line 949 "../src/h264bsd_reconstruct.c"
 var $212=$211<<4; //@line 949 "../src/h264bsd_reconstruct.c"
 var $213=$tmp4; //@line 949 "../src/h264bsd_reconstruct.c"
 var $214=((($213)+($212))|0); //@line 949 "../src/h264bsd_reconstruct.c"
 $tmp4=$214; //@line 949 "../src/h264bsd_reconstruct.c"
 var $215=$tmp7; //@line 950 "../src/h264bsd_reconstruct.c"
 var $216=$215<<2; //@line 950 "../src/h264bsd_reconstruct.c"
 var $217=$tmp4; //@line 950 "../src/h264bsd_reconstruct.c"
 var $218=((($217)+($216))|0); //@line 950 "../src/h264bsd_reconstruct.c"
 $tmp4=$218; //@line 950 "../src/h264bsd_reconstruct.c"
 var $219=$tmp6; //@line 951 "../src/h264bsd_reconstruct.c"
 var $220=$tmp3; //@line 951 "../src/h264bsd_reconstruct.c"
 var $221=((($219)+($220))|0); //@line 951 "../src/h264bsd_reconstruct.c"
 $tmp7=$221; //@line 951 "../src/h264bsd_reconstruct.c"
 var $222=$ptrJ; //@line 952 "../src/h264bsd_reconstruct.c"
 var $223=(($222+1)|0); //@line 952 "../src/h264bsd_reconstruct.c"
 $ptrJ=$223; //@line 952 "../src/h264bsd_reconstruct.c"
 var $224=HEAP8[($222)]; //@line 952 "../src/h264bsd_reconstruct.c"
 var $225=($224&255); //@line 952 "../src/h264bsd_reconstruct.c"
 $tmp5=$225; //@line 952 "../src/h264bsd_reconstruct.c"
 var $226=$tmp7; //@line 953 "../src/h264bsd_reconstruct.c"
 var $227=$226<<2; //@line 953 "../src/h264bsd_reconstruct.c"
 var $228=$tmp4; //@line 953 "../src/h264bsd_reconstruct.c"
 var $229=((($228)-($227))|0); //@line 953 "../src/h264bsd_reconstruct.c"
 $tmp4=$229; //@line 953 "../src/h264bsd_reconstruct.c"
 var $230=$tmp7; //@line 954 "../src/h264bsd_reconstruct.c"
 var $231=$tmp4; //@line 954 "../src/h264bsd_reconstruct.c"
 var $232=((($231)-($230))|0); //@line 954 "../src/h264bsd_reconstruct.c"
 $tmp4=$232; //@line 954 "../src/h264bsd_reconstruct.c"
 var $233=$tmp5; //@line 955 "../src/h264bsd_reconstruct.c"
 var $234=$tmp4; //@line 955 "../src/h264bsd_reconstruct.c"
 var $235=((($234)+($233))|0); //@line 955 "../src/h264bsd_reconstruct.c"
 $tmp4=$235; //@line 955 "../src/h264bsd_reconstruct.c"
 var $236=$tmp4; //@line 956 "../src/h264bsd_reconstruct.c"
 var $237=$236>>5; //@line 956 "../src/h264bsd_reconstruct.c"
 var $238=$clp; //@line 956 "../src/h264bsd_reconstruct.c"
 var $239=(($238+$237)|0); //@line 956 "../src/h264bsd_reconstruct.c"
 var $240=HEAP8[($239)]; //@line 956 "../src/h264bsd_reconstruct.c"
 var $241=($240&255); //@line 956 "../src/h264bsd_reconstruct.c"
 $tmp4=$241; //@line 956 "../src/h264bsd_reconstruct.c"
 var $242=$tmp3; //@line 957 "../src/h264bsd_reconstruct.c"
 var $243=((($242)+(16))|0); //@line 957 "../src/h264bsd_reconstruct.c"
 $tmp3=$243; //@line 957 "../src/h264bsd_reconstruct.c"
 var $244=$9; //@line 958 "../src/h264bsd_reconstruct.c"
 var $245=($244|0)!=0; //@line 958 "../src/h264bsd_reconstruct.c"
 if($245){label=22;break;}else{label=21;break;} //@line 958 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $247=$tmp2; //@line 959 "../src/h264bsd_reconstruct.c"
 var $248=$tmp4; //@line 959 "../src/h264bsd_reconstruct.c"
 var $249=((($248)+($247))|0); //@line 959 "../src/h264bsd_reconstruct.c"
 $tmp4=$249; //@line 959 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 959 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $251=$tmp1; //@line 961 "../src/h264bsd_reconstruct.c"
 var $252=$tmp4; //@line 961 "../src/h264bsd_reconstruct.c"
 var $253=((($252)+($251))|0); //@line 961 "../src/h264bsd_reconstruct.c"
 $tmp4=$253; //@line 961 "../src/h264bsd_reconstruct.c"
 label=23;break;
 case 23: 
 var $255=$tmp4; //@line 962 "../src/h264bsd_reconstruct.c"
 var $256=((($255)+(1))|0); //@line 962 "../src/h264bsd_reconstruct.c"
 var $257=$256>>1; //@line 962 "../src/h264bsd_reconstruct.c"
 var $258=(($257)&255); //@line 962 "../src/h264bsd_reconstruct.c"
 var $259=$2; //@line 962 "../src/h264bsd_reconstruct.c"
 var $260=(($259+1)|0); //@line 962 "../src/h264bsd_reconstruct.c"
 $2=$260; //@line 962 "../src/h264bsd_reconstruct.c"
 HEAP8[($259)]=$258; //@line 962 "../src/h264bsd_reconstruct.c"
 var $261=$tmp6; //@line 964 "../src/h264bsd_reconstruct.c"
 var $262=$tmp1; //@line 964 "../src/h264bsd_reconstruct.c"
 var $263=((($261)+($262))|0); //@line 964 "../src/h264bsd_reconstruct.c"
 $tmp7=$263; //@line 964 "../src/h264bsd_reconstruct.c"
 var $264=$tmp7; //@line 965 "../src/h264bsd_reconstruct.c"
 var $265=$264<<4; //@line 965 "../src/h264bsd_reconstruct.c"
 var $266=$tmp3; //@line 965 "../src/h264bsd_reconstruct.c"
 var $267=((($266)+($265))|0); //@line 965 "../src/h264bsd_reconstruct.c"
 $tmp3=$267; //@line 965 "../src/h264bsd_reconstruct.c"
 var $268=$tmp7; //@line 966 "../src/h264bsd_reconstruct.c"
 var $269=$268<<2; //@line 966 "../src/h264bsd_reconstruct.c"
 var $270=$tmp3; //@line 966 "../src/h264bsd_reconstruct.c"
 var $271=((($270)+($269))|0); //@line 966 "../src/h264bsd_reconstruct.c"
 $tmp3=$271; //@line 966 "../src/h264bsd_reconstruct.c"
 var $272=$tmp5; //@line 967 "../src/h264bsd_reconstruct.c"
 var $273=$tmp2; //@line 967 "../src/h264bsd_reconstruct.c"
 var $274=((($272)+($273))|0); //@line 967 "../src/h264bsd_reconstruct.c"
 $tmp7=$274; //@line 967 "../src/h264bsd_reconstruct.c"
 var $275=$ptrJ; //@line 968 "../src/h264bsd_reconstruct.c"
 var $276=(($275+1)|0); //@line 968 "../src/h264bsd_reconstruct.c"
 $ptrJ=$276; //@line 968 "../src/h264bsd_reconstruct.c"
 var $277=HEAP8[($275)]; //@line 968 "../src/h264bsd_reconstruct.c"
 var $278=($277&255); //@line 968 "../src/h264bsd_reconstruct.c"
 $tmp4=$278; //@line 968 "../src/h264bsd_reconstruct.c"
 var $279=$tmp7; //@line 969 "../src/h264bsd_reconstruct.c"
 var $280=$279<<2; //@line 969 "../src/h264bsd_reconstruct.c"
 var $281=$tmp3; //@line 969 "../src/h264bsd_reconstruct.c"
 var $282=((($281)-($280))|0); //@line 969 "../src/h264bsd_reconstruct.c"
 $tmp3=$282; //@line 969 "../src/h264bsd_reconstruct.c"
 var $283=$tmp7; //@line 970 "../src/h264bsd_reconstruct.c"
 var $284=$tmp3; //@line 970 "../src/h264bsd_reconstruct.c"
 var $285=((($284)-($283))|0); //@line 970 "../src/h264bsd_reconstruct.c"
 $tmp3=$285; //@line 970 "../src/h264bsd_reconstruct.c"
 var $286=$tmp4; //@line 971 "../src/h264bsd_reconstruct.c"
 var $287=$tmp3; //@line 971 "../src/h264bsd_reconstruct.c"
 var $288=((($287)+($286))|0); //@line 971 "../src/h264bsd_reconstruct.c"
 $tmp3=$288; //@line 971 "../src/h264bsd_reconstruct.c"
 var $289=$tmp3; //@line 972 "../src/h264bsd_reconstruct.c"
 var $290=$289>>5; //@line 972 "../src/h264bsd_reconstruct.c"
 var $291=$clp; //@line 972 "../src/h264bsd_reconstruct.c"
 var $292=(($291+$290)|0); //@line 972 "../src/h264bsd_reconstruct.c"
 var $293=HEAP8[($292)]; //@line 972 "../src/h264bsd_reconstruct.c"
 var $294=($293&255); //@line 972 "../src/h264bsd_reconstruct.c"
 $tmp3=$294; //@line 972 "../src/h264bsd_reconstruct.c"
 var $295=$9; //@line 973 "../src/h264bsd_reconstruct.c"
 var $296=($295|0)!=0; //@line 973 "../src/h264bsd_reconstruct.c"
 if($296){label=25;break;}else{label=24;break;} //@line 973 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $298=$tmp1; //@line 974 "../src/h264bsd_reconstruct.c"
 var $299=$tmp3; //@line 974 "../src/h264bsd_reconstruct.c"
 var $300=((($299)+($298))|0); //@line 974 "../src/h264bsd_reconstruct.c"
 $tmp3=$300; //@line 974 "../src/h264bsd_reconstruct.c"
 label=26;break; //@line 974 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $302=$tmp6; //@line 976 "../src/h264bsd_reconstruct.c"
 var $303=$tmp3; //@line 976 "../src/h264bsd_reconstruct.c"
 var $304=((($303)+($302))|0); //@line 976 "../src/h264bsd_reconstruct.c"
 $tmp3=$304; //@line 976 "../src/h264bsd_reconstruct.c"
 label=26;break;
 case 26: 
 var $306=$tmp3; //@line 977 "../src/h264bsd_reconstruct.c"
 var $307=((($306)+(1))|0); //@line 977 "../src/h264bsd_reconstruct.c"
 var $308=$307>>1; //@line 977 "../src/h264bsd_reconstruct.c"
 var $309=(($308)&255); //@line 977 "../src/h264bsd_reconstruct.c"
 var $310=$2; //@line 977 "../src/h264bsd_reconstruct.c"
 var $311=(($310+1)|0); //@line 977 "../src/h264bsd_reconstruct.c"
 $2=$311; //@line 977 "../src/h264bsd_reconstruct.c"
 HEAP8[($310)]=$309; //@line 977 "../src/h264bsd_reconstruct.c"
 var $312=$tmp5; //@line 978 "../src/h264bsd_reconstruct.c"
 $tmp3=$312; //@line 978 "../src/h264bsd_reconstruct.c"
 var $313=$tmp1; //@line 979 "../src/h264bsd_reconstruct.c"
 $tmp5=$313; //@line 979 "../src/h264bsd_reconstruct.c"
 var $314=$tmp4; //@line 980 "../src/h264bsd_reconstruct.c"
 $tmp7=$314; //@line 980 "../src/h264bsd_reconstruct.c"
 var $315=$tmp6; //@line 981 "../src/h264bsd_reconstruct.c"
 $tmp4=$315; //@line 981 "../src/h264bsd_reconstruct.c"
 var $316=$tmp2; //@line 982 "../src/h264bsd_reconstruct.c"
 $tmp6=$316; //@line 982 "../src/h264bsd_reconstruct.c"
 var $317=$tmp7; //@line 983 "../src/h264bsd_reconstruct.c"
 $tmp2=$317; //@line 983 "../src/h264bsd_reconstruct.c"
 label=27;break; //@line 984 "../src/h264bsd_reconstruct.c"
 case 27: 
 var $319=$x; //@line 912 "../src/h264bsd_reconstruct.c"
 var $320=((($319)-(1))|0); //@line 912 "../src/h264bsd_reconstruct.c"
 $x=$320; //@line 912 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 912 "../src/h264bsd_reconstruct.c"
 case 28: 
 var $322=$5; //@line 985 "../src/h264bsd_reconstruct.c"
 var $323=$7; //@line 985 "../src/h264bsd_reconstruct.c"
 var $324=((($322)-($323))|0); //@line 985 "../src/h264bsd_reconstruct.c"
 var $325=$ptrJ; //@line 985 "../src/h264bsd_reconstruct.c"
 var $326=(($325+$324)|0); //@line 985 "../src/h264bsd_reconstruct.c"
 $ptrJ=$326; //@line 985 "../src/h264bsd_reconstruct.c"
 var $327=$7; //@line 986 "../src/h264bsd_reconstruct.c"
 var $328=(((16)-($327))|0); //@line 986 "../src/h264bsd_reconstruct.c"
 var $329=$2; //@line 986 "../src/h264bsd_reconstruct.c"
 var $330=(($329+$328)|0); //@line 986 "../src/h264bsd_reconstruct.c"
 $2=$330; //@line 986 "../src/h264bsd_reconstruct.c"
 label=29;break; //@line 987 "../src/h264bsd_reconstruct.c"
 case 29: 
 var $332=$y; //@line 903 "../src/h264bsd_reconstruct.c"
 var $333=((($332)-(1))|0); //@line 903 "../src/h264bsd_reconstruct.c"
 $y=$333; //@line 903 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 903 "../src/h264bsd_reconstruct.c"
 case 30: 
 STACKTOP=sp;return; //@line 989 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateHorVerQuarter($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight,$horVerOffset){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+448)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $p1=sp;
 var $ptrC;
 var $ptrJ;
 var $ptrV;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $9=$horVerOffset;
 $clp=1872; //@line 1019 "../src/h264bsd_reconstruct.c"
 var $10=$1; //@line 1023 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 1023 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 1023 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,1023,13560); //@line 1023 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1023 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 1023 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 1023 "../src/h264bsd_reconstruct.c"
 var $17=$2; //@line 1024 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 1024 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 1024 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,1024,13560); //@line 1024 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1024 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 1024 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 1024 "../src/h264bsd_reconstruct.c"
 var $24=$3; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)<0; //@line 1026 "../src/h264bsd_reconstruct.c"
 if($25){label=9;break;}else{label=6;break;} //@line 1026 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $27=$3; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $28=$7; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $29=((($27)+($28))|0); //@line 1026 "../src/h264bsd_reconstruct.c"
 var $30=((($29)+(5))|0); //@line 1026 "../src/h264bsd_reconstruct.c"
 var $31=$5; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $32=($30>>>0)>($31>>>0); //@line 1026 "../src/h264bsd_reconstruct.c"
 if($32){label=9;break;}else{label=7;break;} //@line 1026 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $34=$4; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $35=($34|0)<0; //@line 1026 "../src/h264bsd_reconstruct.c"
 if($35){label=9;break;}else{label=8;break;} //@line 1026 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $37=$4; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $38=$8; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $39=((($37)+($38))|0); //@line 1026 "../src/h264bsd_reconstruct.c"
 var $40=((($39)+(5))|0); //@line 1026 "../src/h264bsd_reconstruct.c"
 var $41=$6; //@line 1026 "../src/h264bsd_reconstruct.c"
 var $42=($40>>>0)>($41>>>0); //@line 1026 "../src/h264bsd_reconstruct.c"
 if($42){label=9;break;}else{label=10;break;} //@line 1026 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $44=$1; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $45=(($p1)|0); //@line 1029 "../src/h264bsd_reconstruct.c"
 var $46=$45; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $47=$3; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $48=$4; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $49=$5; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $50=$6; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $51=$7; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $52=((($51)+(5))|0); //@line 1029 "../src/h264bsd_reconstruct.c"
 var $53=$8; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $54=((($53)+(5))|0); //@line 1029 "../src/h264bsd_reconstruct.c"
 var $55=$7; //@line 1029 "../src/h264bsd_reconstruct.c"
 var $56=((($55)+(5))|0); //@line 1029 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($44,$46,$47,$48,$49,$50,$52,$54,$56); //@line 1029 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 1032 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 1033 "../src/h264bsd_reconstruct.c"
 var $57=(($p1)|0); //@line 1034 "../src/h264bsd_reconstruct.c"
 var $58=$57; //@line 1034 "../src/h264bsd_reconstruct.c"
 $1=$58; //@line 1034 "../src/h264bsd_reconstruct.c"
 var $59=$7; //@line 1035 "../src/h264bsd_reconstruct.c"
 var $60=((($59)+(5))|0); //@line 1035 "../src/h264bsd_reconstruct.c"
 $5=$60; //@line 1035 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 1036 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $62=$4; //@line 1039 "../src/h264bsd_reconstruct.c"
 var $63=$5; //@line 1039 "../src/h264bsd_reconstruct.c"
 var $64=(Math_imul($62,$63)|0); //@line 1039 "../src/h264bsd_reconstruct.c"
 var $65=$3; //@line 1039 "../src/h264bsd_reconstruct.c"
 var $66=((($64)+($65))|0); //@line 1039 "../src/h264bsd_reconstruct.c"
 var $67=$1; //@line 1039 "../src/h264bsd_reconstruct.c"
 var $68=(($67+$66)|0); //@line 1039 "../src/h264bsd_reconstruct.c"
 $1=$68; //@line 1039 "../src/h264bsd_reconstruct.c"
 var $69=$1; //@line 1042 "../src/h264bsd_reconstruct.c"
 var $70=$9; //@line 1042 "../src/h264bsd_reconstruct.c"
 var $71=$70&2; //@line 1042 "../src/h264bsd_reconstruct.c"
 var $72=$71>>>1; //@line 1042 "../src/h264bsd_reconstruct.c"
 var $73=((($72)+(2))|0); //@line 1042 "../src/h264bsd_reconstruct.c"
 var $74=$5; //@line 1042 "../src/h264bsd_reconstruct.c"
 var $75=(Math_imul($73,$74)|0); //@line 1042 "../src/h264bsd_reconstruct.c"
 var $76=(($69+$75)|0); //@line 1042 "../src/h264bsd_reconstruct.c"
 var $77=(($76+5)|0); //@line 1042 "../src/h264bsd_reconstruct.c"
 $ptrJ=$77; //@line 1042 "../src/h264bsd_reconstruct.c"
 var $78=$1; //@line 1045 "../src/h264bsd_reconstruct.c"
 var $79=$5; //@line 1045 "../src/h264bsd_reconstruct.c"
 var $80=(($78+$79)|0); //@line 1045 "../src/h264bsd_reconstruct.c"
 var $81=(($80+2)|0); //@line 1045 "../src/h264bsd_reconstruct.c"
 var $82=$9; //@line 1045 "../src/h264bsd_reconstruct.c"
 var $83=$82&1; //@line 1045 "../src/h264bsd_reconstruct.c"
 var $84=(($81+$83)|0); //@line 1045 "../src/h264bsd_reconstruct.c"
 $ptrC=$84; //@line 1045 "../src/h264bsd_reconstruct.c"
 var $85=$8; //@line 1047 "../src/h264bsd_reconstruct.c"
 $y=$85; //@line 1047 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1047 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $87=$y; //@line 1047 "../src/h264bsd_reconstruct.c"
 var $88=($87|0)!=0; //@line 1047 "../src/h264bsd_reconstruct.c"
 if($88){label=12;break;}else{label=18;break;} //@line 1047 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $90=$ptrJ; //@line 1049 "../src/h264bsd_reconstruct.c"
 var $91=((($90)-(5))|0); //@line 1049 "../src/h264bsd_reconstruct.c"
 var $92=HEAP8[($91)]; //@line 1049 "../src/h264bsd_reconstruct.c"
 var $93=($92&255); //@line 1049 "../src/h264bsd_reconstruct.c"
 $tmp6=$93; //@line 1049 "../src/h264bsd_reconstruct.c"
 var $94=$ptrJ; //@line 1050 "../src/h264bsd_reconstruct.c"
 var $95=((($94)-(4))|0); //@line 1050 "../src/h264bsd_reconstruct.c"
 var $96=HEAP8[($95)]; //@line 1050 "../src/h264bsd_reconstruct.c"
 var $97=($96&255); //@line 1050 "../src/h264bsd_reconstruct.c"
 $tmp5=$97; //@line 1050 "../src/h264bsd_reconstruct.c"
 var $98=$ptrJ; //@line 1051 "../src/h264bsd_reconstruct.c"
 var $99=((($98)-(3))|0); //@line 1051 "../src/h264bsd_reconstruct.c"
 var $100=HEAP8[($99)]; //@line 1051 "../src/h264bsd_reconstruct.c"
 var $101=($100&255); //@line 1051 "../src/h264bsd_reconstruct.c"
 $tmp4=$101; //@line 1051 "../src/h264bsd_reconstruct.c"
 var $102=$ptrJ; //@line 1052 "../src/h264bsd_reconstruct.c"
 var $103=((($102)-(2))|0); //@line 1052 "../src/h264bsd_reconstruct.c"
 var $104=HEAP8[($103)]; //@line 1052 "../src/h264bsd_reconstruct.c"
 var $105=($104&255); //@line 1052 "../src/h264bsd_reconstruct.c"
 $tmp3=$105; //@line 1052 "../src/h264bsd_reconstruct.c"
 var $106=$ptrJ; //@line 1053 "../src/h264bsd_reconstruct.c"
 var $107=((($106)-(1))|0); //@line 1053 "../src/h264bsd_reconstruct.c"
 var $108=HEAP8[($107)]; //@line 1053 "../src/h264bsd_reconstruct.c"
 var $109=($108&255); //@line 1053 "../src/h264bsd_reconstruct.c"
 $tmp2=$109; //@line 1053 "../src/h264bsd_reconstruct.c"
 var $110=$7; //@line 1056 "../src/h264bsd_reconstruct.c"
 var $111=$110>>>2; //@line 1056 "../src/h264bsd_reconstruct.c"
 $x=$111; //@line 1056 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1056 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $113=$x; //@line 1056 "../src/h264bsd_reconstruct.c"
 var $114=($113|0)!=0; //@line 1056 "../src/h264bsd_reconstruct.c"
 if($114){label=14;break;}else{label=16;break;} //@line 1056 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $116=$tmp6; //@line 1059 "../src/h264bsd_reconstruct.c"
 var $117=((($116)+(16))|0); //@line 1059 "../src/h264bsd_reconstruct.c"
 $tmp6=$117; //@line 1059 "../src/h264bsd_reconstruct.c"
 var $118=$tmp3; //@line 1060 "../src/h264bsd_reconstruct.c"
 var $119=$tmp4; //@line 1060 "../src/h264bsd_reconstruct.c"
 var $120=((($118)+($119))|0); //@line 1060 "../src/h264bsd_reconstruct.c"
 $tmp7=$120; //@line 1060 "../src/h264bsd_reconstruct.c"
 var $121=$tmp7; //@line 1061 "../src/h264bsd_reconstruct.c"
 var $122=$121<<4; //@line 1061 "../src/h264bsd_reconstruct.c"
 var $123=$tmp6; //@line 1061 "../src/h264bsd_reconstruct.c"
 var $124=((($123)+($122))|0); //@line 1061 "../src/h264bsd_reconstruct.c"
 $tmp6=$124; //@line 1061 "../src/h264bsd_reconstruct.c"
 var $125=$tmp7; //@line 1062 "../src/h264bsd_reconstruct.c"
 var $126=$125<<2; //@line 1062 "../src/h264bsd_reconstruct.c"
 var $127=$tmp6; //@line 1062 "../src/h264bsd_reconstruct.c"
 var $128=((($127)+($126))|0); //@line 1062 "../src/h264bsd_reconstruct.c"
 $tmp6=$128; //@line 1062 "../src/h264bsd_reconstruct.c"
 var $129=$tmp2; //@line 1063 "../src/h264bsd_reconstruct.c"
 var $130=$tmp5; //@line 1063 "../src/h264bsd_reconstruct.c"
 var $131=((($129)+($130))|0); //@line 1063 "../src/h264bsd_reconstruct.c"
 $tmp7=$131; //@line 1063 "../src/h264bsd_reconstruct.c"
 var $132=$ptrJ; //@line 1064 "../src/h264bsd_reconstruct.c"
 var $133=(($132+1)|0); //@line 1064 "../src/h264bsd_reconstruct.c"
 $ptrJ=$133; //@line 1064 "../src/h264bsd_reconstruct.c"
 var $134=HEAP8[($132)]; //@line 1064 "../src/h264bsd_reconstruct.c"
 var $135=($134&255); //@line 1064 "../src/h264bsd_reconstruct.c"
 $tmp1=$135; //@line 1064 "../src/h264bsd_reconstruct.c"
 var $136=$tmp7; //@line 1065 "../src/h264bsd_reconstruct.c"
 var $137=$136<<2; //@line 1065 "../src/h264bsd_reconstruct.c"
 var $138=$tmp6; //@line 1065 "../src/h264bsd_reconstruct.c"
 var $139=((($138)-($137))|0); //@line 1065 "../src/h264bsd_reconstruct.c"
 $tmp6=$139; //@line 1065 "../src/h264bsd_reconstruct.c"
 var $140=$tmp7; //@line 1066 "../src/h264bsd_reconstruct.c"
 var $141=$tmp6; //@line 1066 "../src/h264bsd_reconstruct.c"
 var $142=((($141)-($140))|0); //@line 1066 "../src/h264bsd_reconstruct.c"
 $tmp6=$142; //@line 1066 "../src/h264bsd_reconstruct.c"
 var $143=$tmp1; //@line 1067 "../src/h264bsd_reconstruct.c"
 var $144=$tmp6; //@line 1067 "../src/h264bsd_reconstruct.c"
 var $145=((($144)+($143))|0); //@line 1067 "../src/h264bsd_reconstruct.c"
 $tmp6=$145; //@line 1067 "../src/h264bsd_reconstruct.c"
 var $146=$tmp6; //@line 1068 "../src/h264bsd_reconstruct.c"
 var $147=$146>>5; //@line 1068 "../src/h264bsd_reconstruct.c"
 var $148=$clp; //@line 1068 "../src/h264bsd_reconstruct.c"
 var $149=(($148+$147)|0); //@line 1068 "../src/h264bsd_reconstruct.c"
 var $150=HEAP8[($149)]; //@line 1068 "../src/h264bsd_reconstruct.c"
 var $151=($150&255); //@line 1068 "../src/h264bsd_reconstruct.c"
 $tmp6=$151; //@line 1068 "../src/h264bsd_reconstruct.c"
 var $152=$tmp5; //@line 1070 "../src/h264bsd_reconstruct.c"
 var $153=((($152)+(16))|0); //@line 1070 "../src/h264bsd_reconstruct.c"
 $tmp5=$153; //@line 1070 "../src/h264bsd_reconstruct.c"
 var $154=$tmp2; //@line 1071 "../src/h264bsd_reconstruct.c"
 var $155=$tmp3; //@line 1071 "../src/h264bsd_reconstruct.c"
 var $156=((($154)+($155))|0); //@line 1071 "../src/h264bsd_reconstruct.c"
 $tmp7=$156; //@line 1071 "../src/h264bsd_reconstruct.c"
 var $157=$tmp6; //@line 1072 "../src/h264bsd_reconstruct.c"
 var $158=(($157)&255); //@line 1072 "../src/h264bsd_reconstruct.c"
 var $159=$2; //@line 1072 "../src/h264bsd_reconstruct.c"
 var $160=(($159+1)|0); //@line 1072 "../src/h264bsd_reconstruct.c"
 $2=$160; //@line 1072 "../src/h264bsd_reconstruct.c"
 HEAP8[($159)]=$158; //@line 1072 "../src/h264bsd_reconstruct.c"
 var $161=$tmp7; //@line 1073 "../src/h264bsd_reconstruct.c"
 var $162=$161<<4; //@line 1073 "../src/h264bsd_reconstruct.c"
 var $163=$tmp5; //@line 1073 "../src/h264bsd_reconstruct.c"
 var $164=((($163)+($162))|0); //@line 1073 "../src/h264bsd_reconstruct.c"
 $tmp5=$164; //@line 1073 "../src/h264bsd_reconstruct.c"
 var $165=$tmp7; //@line 1074 "../src/h264bsd_reconstruct.c"
 var $166=$165<<2; //@line 1074 "../src/h264bsd_reconstruct.c"
 var $167=$tmp5; //@line 1074 "../src/h264bsd_reconstruct.c"
 var $168=((($167)+($166))|0); //@line 1074 "../src/h264bsd_reconstruct.c"
 $tmp5=$168; //@line 1074 "../src/h264bsd_reconstruct.c"
 var $169=$tmp1; //@line 1075 "../src/h264bsd_reconstruct.c"
 var $170=$tmp4; //@line 1075 "../src/h264bsd_reconstruct.c"
 var $171=((($169)+($170))|0); //@line 1075 "../src/h264bsd_reconstruct.c"
 $tmp7=$171; //@line 1075 "../src/h264bsd_reconstruct.c"
 var $172=$ptrJ; //@line 1076 "../src/h264bsd_reconstruct.c"
 var $173=(($172+1)|0); //@line 1076 "../src/h264bsd_reconstruct.c"
 $ptrJ=$173; //@line 1076 "../src/h264bsd_reconstruct.c"
 var $174=HEAP8[($172)]; //@line 1076 "../src/h264bsd_reconstruct.c"
 var $175=($174&255); //@line 1076 "../src/h264bsd_reconstruct.c"
 $tmp6=$175; //@line 1076 "../src/h264bsd_reconstruct.c"
 var $176=$tmp7; //@line 1077 "../src/h264bsd_reconstruct.c"
 var $177=$176<<2; //@line 1077 "../src/h264bsd_reconstruct.c"
 var $178=$tmp5; //@line 1077 "../src/h264bsd_reconstruct.c"
 var $179=((($178)-($177))|0); //@line 1077 "../src/h264bsd_reconstruct.c"
 $tmp5=$179; //@line 1077 "../src/h264bsd_reconstruct.c"
 var $180=$tmp7; //@line 1078 "../src/h264bsd_reconstruct.c"
 var $181=$tmp5; //@line 1078 "../src/h264bsd_reconstruct.c"
 var $182=((($181)-($180))|0); //@line 1078 "../src/h264bsd_reconstruct.c"
 $tmp5=$182; //@line 1078 "../src/h264bsd_reconstruct.c"
 var $183=$tmp6; //@line 1079 "../src/h264bsd_reconstruct.c"
 var $184=$tmp5; //@line 1079 "../src/h264bsd_reconstruct.c"
 var $185=((($184)+($183))|0); //@line 1079 "../src/h264bsd_reconstruct.c"
 $tmp5=$185; //@line 1079 "../src/h264bsd_reconstruct.c"
 var $186=$tmp5; //@line 1080 "../src/h264bsd_reconstruct.c"
 var $187=$186>>5; //@line 1080 "../src/h264bsd_reconstruct.c"
 var $188=$clp; //@line 1080 "../src/h264bsd_reconstruct.c"
 var $189=(($188+$187)|0); //@line 1080 "../src/h264bsd_reconstruct.c"
 var $190=HEAP8[($189)]; //@line 1080 "../src/h264bsd_reconstruct.c"
 var $191=($190&255); //@line 1080 "../src/h264bsd_reconstruct.c"
 $tmp5=$191; //@line 1080 "../src/h264bsd_reconstruct.c"
 var $192=$tmp4; //@line 1082 "../src/h264bsd_reconstruct.c"
 var $193=((($192)+(16))|0); //@line 1082 "../src/h264bsd_reconstruct.c"
 $tmp4=$193; //@line 1082 "../src/h264bsd_reconstruct.c"
 var $194=$tmp1; //@line 1083 "../src/h264bsd_reconstruct.c"
 var $195=$tmp2; //@line 1083 "../src/h264bsd_reconstruct.c"
 var $196=((($194)+($195))|0); //@line 1083 "../src/h264bsd_reconstruct.c"
 $tmp7=$196; //@line 1083 "../src/h264bsd_reconstruct.c"
 var $197=$tmp5; //@line 1084 "../src/h264bsd_reconstruct.c"
 var $198=(($197)&255); //@line 1084 "../src/h264bsd_reconstruct.c"
 var $199=$2; //@line 1084 "../src/h264bsd_reconstruct.c"
 var $200=(($199+1)|0); //@line 1084 "../src/h264bsd_reconstruct.c"
 $2=$200; //@line 1084 "../src/h264bsd_reconstruct.c"
 HEAP8[($199)]=$198; //@line 1084 "../src/h264bsd_reconstruct.c"
 var $201=$tmp7; //@line 1085 "../src/h264bsd_reconstruct.c"
 var $202=$201<<4; //@line 1085 "../src/h264bsd_reconstruct.c"
 var $203=$tmp4; //@line 1085 "../src/h264bsd_reconstruct.c"
 var $204=((($203)+($202))|0); //@line 1085 "../src/h264bsd_reconstruct.c"
 $tmp4=$204; //@line 1085 "../src/h264bsd_reconstruct.c"
 var $205=$tmp7; //@line 1086 "../src/h264bsd_reconstruct.c"
 var $206=$205<<2; //@line 1086 "../src/h264bsd_reconstruct.c"
 var $207=$tmp4; //@line 1086 "../src/h264bsd_reconstruct.c"
 var $208=((($207)+($206))|0); //@line 1086 "../src/h264bsd_reconstruct.c"
 $tmp4=$208; //@line 1086 "../src/h264bsd_reconstruct.c"
 var $209=$tmp6; //@line 1087 "../src/h264bsd_reconstruct.c"
 var $210=$tmp3; //@line 1087 "../src/h264bsd_reconstruct.c"
 var $211=((($209)+($210))|0); //@line 1087 "../src/h264bsd_reconstruct.c"
 $tmp7=$211; //@line 1087 "../src/h264bsd_reconstruct.c"
 var $212=$ptrJ; //@line 1088 "../src/h264bsd_reconstruct.c"
 var $213=(($212+1)|0); //@line 1088 "../src/h264bsd_reconstruct.c"
 $ptrJ=$213; //@line 1088 "../src/h264bsd_reconstruct.c"
 var $214=HEAP8[($212)]; //@line 1088 "../src/h264bsd_reconstruct.c"
 var $215=($214&255); //@line 1088 "../src/h264bsd_reconstruct.c"
 $tmp5=$215; //@line 1088 "../src/h264bsd_reconstruct.c"
 var $216=$tmp7; //@line 1089 "../src/h264bsd_reconstruct.c"
 var $217=$216<<2; //@line 1089 "../src/h264bsd_reconstruct.c"
 var $218=$tmp4; //@line 1089 "../src/h264bsd_reconstruct.c"
 var $219=((($218)-($217))|0); //@line 1089 "../src/h264bsd_reconstruct.c"
 $tmp4=$219; //@line 1089 "../src/h264bsd_reconstruct.c"
 var $220=$tmp7; //@line 1090 "../src/h264bsd_reconstruct.c"
 var $221=$tmp4; //@line 1090 "../src/h264bsd_reconstruct.c"
 var $222=((($221)-($220))|0); //@line 1090 "../src/h264bsd_reconstruct.c"
 $tmp4=$222; //@line 1090 "../src/h264bsd_reconstruct.c"
 var $223=$tmp5; //@line 1091 "../src/h264bsd_reconstruct.c"
 var $224=$tmp4; //@line 1091 "../src/h264bsd_reconstruct.c"
 var $225=((($224)+($223))|0); //@line 1091 "../src/h264bsd_reconstruct.c"
 $tmp4=$225; //@line 1091 "../src/h264bsd_reconstruct.c"
 var $226=$tmp4; //@line 1092 "../src/h264bsd_reconstruct.c"
 var $227=$226>>5; //@line 1092 "../src/h264bsd_reconstruct.c"
 var $228=$clp; //@line 1092 "../src/h264bsd_reconstruct.c"
 var $229=(($228+$227)|0); //@line 1092 "../src/h264bsd_reconstruct.c"
 var $230=HEAP8[($229)]; //@line 1092 "../src/h264bsd_reconstruct.c"
 var $231=($230&255); //@line 1092 "../src/h264bsd_reconstruct.c"
 $tmp4=$231; //@line 1092 "../src/h264bsd_reconstruct.c"
 var $232=$tmp3; //@line 1094 "../src/h264bsd_reconstruct.c"
 var $233=((($232)+(16))|0); //@line 1094 "../src/h264bsd_reconstruct.c"
 $tmp3=$233; //@line 1094 "../src/h264bsd_reconstruct.c"
 var $234=$tmp6; //@line 1095 "../src/h264bsd_reconstruct.c"
 var $235=$tmp1; //@line 1095 "../src/h264bsd_reconstruct.c"
 var $236=((($234)+($235))|0); //@line 1095 "../src/h264bsd_reconstruct.c"
 $tmp7=$236; //@line 1095 "../src/h264bsd_reconstruct.c"
 var $237=$tmp4; //@line 1096 "../src/h264bsd_reconstruct.c"
 var $238=(($237)&255); //@line 1096 "../src/h264bsd_reconstruct.c"
 var $239=$2; //@line 1096 "../src/h264bsd_reconstruct.c"
 var $240=(($239+1)|0); //@line 1096 "../src/h264bsd_reconstruct.c"
 $2=$240; //@line 1096 "../src/h264bsd_reconstruct.c"
 HEAP8[($239)]=$238; //@line 1096 "../src/h264bsd_reconstruct.c"
 var $241=$tmp7; //@line 1097 "../src/h264bsd_reconstruct.c"
 var $242=$241<<4; //@line 1097 "../src/h264bsd_reconstruct.c"
 var $243=$tmp3; //@line 1097 "../src/h264bsd_reconstruct.c"
 var $244=((($243)+($242))|0); //@line 1097 "../src/h264bsd_reconstruct.c"
 $tmp3=$244; //@line 1097 "../src/h264bsd_reconstruct.c"
 var $245=$tmp7; //@line 1098 "../src/h264bsd_reconstruct.c"
 var $246=$245<<2; //@line 1098 "../src/h264bsd_reconstruct.c"
 var $247=$tmp3; //@line 1098 "../src/h264bsd_reconstruct.c"
 var $248=((($247)+($246))|0); //@line 1098 "../src/h264bsd_reconstruct.c"
 $tmp3=$248; //@line 1098 "../src/h264bsd_reconstruct.c"
 var $249=$tmp5; //@line 1099 "../src/h264bsd_reconstruct.c"
 var $250=$tmp2; //@line 1099 "../src/h264bsd_reconstruct.c"
 var $251=((($249)+($250))|0); //@line 1099 "../src/h264bsd_reconstruct.c"
 $tmp7=$251; //@line 1099 "../src/h264bsd_reconstruct.c"
 var $252=$ptrJ; //@line 1100 "../src/h264bsd_reconstruct.c"
 var $253=(($252+1)|0); //@line 1100 "../src/h264bsd_reconstruct.c"
 $ptrJ=$253; //@line 1100 "../src/h264bsd_reconstruct.c"
 var $254=HEAP8[($252)]; //@line 1100 "../src/h264bsd_reconstruct.c"
 var $255=($254&255); //@line 1100 "../src/h264bsd_reconstruct.c"
 $tmp4=$255; //@line 1100 "../src/h264bsd_reconstruct.c"
 var $256=$tmp7; //@line 1101 "../src/h264bsd_reconstruct.c"
 var $257=$256<<2; //@line 1101 "../src/h264bsd_reconstruct.c"
 var $258=$tmp3; //@line 1101 "../src/h264bsd_reconstruct.c"
 var $259=((($258)-($257))|0); //@line 1101 "../src/h264bsd_reconstruct.c"
 $tmp3=$259; //@line 1101 "../src/h264bsd_reconstruct.c"
 var $260=$tmp7; //@line 1102 "../src/h264bsd_reconstruct.c"
 var $261=$tmp3; //@line 1102 "../src/h264bsd_reconstruct.c"
 var $262=((($261)-($260))|0); //@line 1102 "../src/h264bsd_reconstruct.c"
 $tmp3=$262; //@line 1102 "../src/h264bsd_reconstruct.c"
 var $263=$tmp4; //@line 1103 "../src/h264bsd_reconstruct.c"
 var $264=$tmp3; //@line 1103 "../src/h264bsd_reconstruct.c"
 var $265=((($264)+($263))|0); //@line 1103 "../src/h264bsd_reconstruct.c"
 $tmp3=$265; //@line 1103 "../src/h264bsd_reconstruct.c"
 var $266=$tmp3; //@line 1104 "../src/h264bsd_reconstruct.c"
 var $267=$266>>5; //@line 1104 "../src/h264bsd_reconstruct.c"
 var $268=$clp; //@line 1104 "../src/h264bsd_reconstruct.c"
 var $269=(($268+$267)|0); //@line 1104 "../src/h264bsd_reconstruct.c"
 var $270=HEAP8[($269)]; //@line 1104 "../src/h264bsd_reconstruct.c"
 var $271=($270&255); //@line 1104 "../src/h264bsd_reconstruct.c"
 $tmp3=$271; //@line 1104 "../src/h264bsd_reconstruct.c"
 var $272=$tmp4; //@line 1105 "../src/h264bsd_reconstruct.c"
 $tmp7=$272; //@line 1105 "../src/h264bsd_reconstruct.c"
 var $273=$tmp6; //@line 1106 "../src/h264bsd_reconstruct.c"
 $tmp4=$273; //@line 1106 "../src/h264bsd_reconstruct.c"
 var $274=$tmp2; //@line 1107 "../src/h264bsd_reconstruct.c"
 $tmp6=$274; //@line 1107 "../src/h264bsd_reconstruct.c"
 var $275=$tmp7; //@line 1108 "../src/h264bsd_reconstruct.c"
 $tmp2=$275; //@line 1108 "../src/h264bsd_reconstruct.c"
 var $276=$tmp3; //@line 1109 "../src/h264bsd_reconstruct.c"
 var $277=(($276)&255); //@line 1109 "../src/h264bsd_reconstruct.c"
 var $278=$2; //@line 1109 "../src/h264bsd_reconstruct.c"
 var $279=(($278+1)|0); //@line 1109 "../src/h264bsd_reconstruct.c"
 $2=$279; //@line 1109 "../src/h264bsd_reconstruct.c"
 HEAP8[($278)]=$277; //@line 1109 "../src/h264bsd_reconstruct.c"
 var $280=$tmp5; //@line 1110 "../src/h264bsd_reconstruct.c"
 $tmp3=$280; //@line 1110 "../src/h264bsd_reconstruct.c"
 var $281=$tmp1; //@line 1111 "../src/h264bsd_reconstruct.c"
 $tmp5=$281; //@line 1111 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 1112 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $283=$x; //@line 1056 "../src/h264bsd_reconstruct.c"
 var $284=((($283)-(1))|0); //@line 1056 "../src/h264bsd_reconstruct.c"
 $x=$284; //@line 1056 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1056 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $286=$5; //@line 1113 "../src/h264bsd_reconstruct.c"
 var $287=$7; //@line 1113 "../src/h264bsd_reconstruct.c"
 var $288=((($286)-($287))|0); //@line 1113 "../src/h264bsd_reconstruct.c"
 var $289=$ptrJ; //@line 1113 "../src/h264bsd_reconstruct.c"
 var $290=(($289+$288)|0); //@line 1113 "../src/h264bsd_reconstruct.c"
 $ptrJ=$290; //@line 1113 "../src/h264bsd_reconstruct.c"
 var $291=$7; //@line 1114 "../src/h264bsd_reconstruct.c"
 var $292=(((16)-($291))|0); //@line 1114 "../src/h264bsd_reconstruct.c"
 var $293=$2; //@line 1114 "../src/h264bsd_reconstruct.c"
 var $294=(($293+$292)|0); //@line 1114 "../src/h264bsd_reconstruct.c"
 $2=$294; //@line 1114 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 1115 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $296=$y; //@line 1047 "../src/h264bsd_reconstruct.c"
 var $297=((($296)-(1))|0); //@line 1047 "../src/h264bsd_reconstruct.c"
 $y=$297; //@line 1047 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1047 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $299=$8; //@line 1117 "../src/h264bsd_reconstruct.c"
 var $300=($299<<4); //@line 1117 "../src/h264bsd_reconstruct.c"
 var $301=$2; //@line 1117 "../src/h264bsd_reconstruct.c"
 var $302=(((-$300))|0); //@line 1117 "../src/h264bsd_reconstruct.c"
 var $303=(($301+$302)|0); //@line 1117 "../src/h264bsd_reconstruct.c"
 $2=$303; //@line 1117 "../src/h264bsd_reconstruct.c"
 var $304=$ptrC; //@line 1118 "../src/h264bsd_reconstruct.c"
 var $305=$5; //@line 1118 "../src/h264bsd_reconstruct.c"
 var $306=((($305)*(5))&-1); //@line 1118 "../src/h264bsd_reconstruct.c"
 var $307=(($304+$306)|0); //@line 1118 "../src/h264bsd_reconstruct.c"
 $ptrV=$307; //@line 1118 "../src/h264bsd_reconstruct.c"
 var $308=$8; //@line 1120 "../src/h264bsd_reconstruct.c"
 var $309=$308>>>2; //@line 1120 "../src/h264bsd_reconstruct.c"
 $y=$309; //@line 1120 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1120 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $311=$y; //@line 1120 "../src/h264bsd_reconstruct.c"
 var $312=($311|0)!=0; //@line 1120 "../src/h264bsd_reconstruct.c"
 if($312){label=20;break;}else{label=26;break;} //@line 1120 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $314=$7; //@line 1123 "../src/h264bsd_reconstruct.c"
 $x=$314; //@line 1123 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1123 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $316=$x; //@line 1123 "../src/h264bsd_reconstruct.c"
 var $317=($316|0)!=0; //@line 1123 "../src/h264bsd_reconstruct.c"
 if($317){label=22;break;}else{label=24;break;} //@line 1123 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $319=$5; //@line 1125 "../src/h264bsd_reconstruct.c"
 var $320=(((-$319))|0); //@line 1125 "../src/h264bsd_reconstruct.c"
 var $321=($320<<1); //@line 1125 "../src/h264bsd_reconstruct.c"
 var $322=$ptrV; //@line 1125 "../src/h264bsd_reconstruct.c"
 var $323=(($322+$321)|0); //@line 1125 "../src/h264bsd_reconstruct.c"
 var $324=HEAP8[($323)]; //@line 1125 "../src/h264bsd_reconstruct.c"
 var $325=($324&255); //@line 1125 "../src/h264bsd_reconstruct.c"
 $tmp4=$325; //@line 1125 "../src/h264bsd_reconstruct.c"
 var $326=$5; //@line 1126 "../src/h264bsd_reconstruct.c"
 var $327=(((-$326))|0); //@line 1126 "../src/h264bsd_reconstruct.c"
 var $328=$ptrV; //@line 1126 "../src/h264bsd_reconstruct.c"
 var $329=(($328+$327)|0); //@line 1126 "../src/h264bsd_reconstruct.c"
 var $330=HEAP8[($329)]; //@line 1126 "../src/h264bsd_reconstruct.c"
 var $331=($330&255); //@line 1126 "../src/h264bsd_reconstruct.c"
 $tmp5=$331; //@line 1126 "../src/h264bsd_reconstruct.c"
 var $332=$5; //@line 1127 "../src/h264bsd_reconstruct.c"
 var $333=$ptrV; //@line 1127 "../src/h264bsd_reconstruct.c"
 var $334=(($333+$332)|0); //@line 1127 "../src/h264bsd_reconstruct.c"
 var $335=HEAP8[($334)]; //@line 1127 "../src/h264bsd_reconstruct.c"
 var $336=($335&255); //@line 1127 "../src/h264bsd_reconstruct.c"
 $tmp1=$336; //@line 1127 "../src/h264bsd_reconstruct.c"
 var $337=$5; //@line 1128 "../src/h264bsd_reconstruct.c"
 var $338=($337<<1); //@line 1128 "../src/h264bsd_reconstruct.c"
 var $339=$ptrV; //@line 1128 "../src/h264bsd_reconstruct.c"
 var $340=(($339+$338)|0); //@line 1128 "../src/h264bsd_reconstruct.c"
 var $341=HEAP8[($340)]; //@line 1128 "../src/h264bsd_reconstruct.c"
 var $342=($341&255); //@line 1128 "../src/h264bsd_reconstruct.c"
 $tmp2=$342; //@line 1128 "../src/h264bsd_reconstruct.c"
 var $343=$ptrV; //@line 1129 "../src/h264bsd_reconstruct.c"
 var $344=(($343+1)|0); //@line 1129 "../src/h264bsd_reconstruct.c"
 $ptrV=$344; //@line 1129 "../src/h264bsd_reconstruct.c"
 var $345=HEAP8[($343)]; //@line 1129 "../src/h264bsd_reconstruct.c"
 var $346=($345&255); //@line 1129 "../src/h264bsd_reconstruct.c"
 $tmp6=$346; //@line 1129 "../src/h264bsd_reconstruct.c"
 var $347=$tmp4; //@line 1131 "../src/h264bsd_reconstruct.c"
 var $348=$tmp1; //@line 1131 "../src/h264bsd_reconstruct.c"
 var $349=((($347)+($348))|0); //@line 1131 "../src/h264bsd_reconstruct.c"
 $tmp7=$349; //@line 1131 "../src/h264bsd_reconstruct.c"
 var $350=$tmp7; //@line 1132 "../src/h264bsd_reconstruct.c"
 var $351=$350<<2; //@line 1132 "../src/h264bsd_reconstruct.c"
 var $352=$tmp2; //@line 1132 "../src/h264bsd_reconstruct.c"
 var $353=((($352)-($351))|0); //@line 1132 "../src/h264bsd_reconstruct.c"
 $tmp2=$353; //@line 1132 "../src/h264bsd_reconstruct.c"
 var $354=$tmp7; //@line 1133 "../src/h264bsd_reconstruct.c"
 var $355=$tmp2; //@line 1133 "../src/h264bsd_reconstruct.c"
 var $356=((($355)-($354))|0); //@line 1133 "../src/h264bsd_reconstruct.c"
 $tmp2=$356; //@line 1133 "../src/h264bsd_reconstruct.c"
 var $357=$tmp2; //@line 1134 "../src/h264bsd_reconstruct.c"
 var $358=((($357)+(16))|0); //@line 1134 "../src/h264bsd_reconstruct.c"
 $tmp2=$358; //@line 1134 "../src/h264bsd_reconstruct.c"
 var $359=$tmp5; //@line 1135 "../src/h264bsd_reconstruct.c"
 var $360=$tmp6; //@line 1135 "../src/h264bsd_reconstruct.c"
 var $361=((($359)+($360))|0); //@line 1135 "../src/h264bsd_reconstruct.c"
 $tmp7=$361; //@line 1135 "../src/h264bsd_reconstruct.c"
 var $362=$5; //@line 1136 "../src/h264bsd_reconstruct.c"
 var $363=($362<<1); //@line 1136 "../src/h264bsd_reconstruct.c"
 var $364=$ptrC; //@line 1136 "../src/h264bsd_reconstruct.c"
 var $365=(($364+$363)|0); //@line 1136 "../src/h264bsd_reconstruct.c"
 var $366=HEAP8[($365)]; //@line 1136 "../src/h264bsd_reconstruct.c"
 var $367=($366&255); //@line 1136 "../src/h264bsd_reconstruct.c"
 $tmp3=$367; //@line 1136 "../src/h264bsd_reconstruct.c"
 var $368=$tmp7; //@line 1137 "../src/h264bsd_reconstruct.c"
 var $369=$368<<4; //@line 1137 "../src/h264bsd_reconstruct.c"
 var $370=$tmp2; //@line 1137 "../src/h264bsd_reconstruct.c"
 var $371=((($370)+($369))|0); //@line 1137 "../src/h264bsd_reconstruct.c"
 $tmp2=$371; //@line 1137 "../src/h264bsd_reconstruct.c"
 var $372=$tmp7; //@line 1138 "../src/h264bsd_reconstruct.c"
 var $373=$372<<2; //@line 1138 "../src/h264bsd_reconstruct.c"
 var $374=$tmp2; //@line 1138 "../src/h264bsd_reconstruct.c"
 var $375=((($374)+($373))|0); //@line 1138 "../src/h264bsd_reconstruct.c"
 $tmp2=$375; //@line 1138 "../src/h264bsd_reconstruct.c"
 var $376=$tmp3; //@line 1139 "../src/h264bsd_reconstruct.c"
 var $377=$tmp2; //@line 1139 "../src/h264bsd_reconstruct.c"
 var $378=((($377)+($376))|0); //@line 1139 "../src/h264bsd_reconstruct.c"
 $tmp2=$378; //@line 1139 "../src/h264bsd_reconstruct.c"
 var $379=$tmp2; //@line 1140 "../src/h264bsd_reconstruct.c"
 var $380=$379>>5; //@line 1140 "../src/h264bsd_reconstruct.c"
 var $381=$clp; //@line 1140 "../src/h264bsd_reconstruct.c"
 var $382=(($381+$380)|0); //@line 1140 "../src/h264bsd_reconstruct.c"
 var $383=HEAP8[($382)]; //@line 1140 "../src/h264bsd_reconstruct.c"
 var $384=($383&255); //@line 1140 "../src/h264bsd_reconstruct.c"
 $tmp7=$384; //@line 1140 "../src/h264bsd_reconstruct.c"
 var $385=$2; //@line 1141 "../src/h264bsd_reconstruct.c"
 var $386=(($385+48)|0); //@line 1141 "../src/h264bsd_reconstruct.c"
 var $387=HEAP8[($386)]; //@line 1141 "../src/h264bsd_reconstruct.c"
 var $388=($387&255); //@line 1141 "../src/h264bsd_reconstruct.c"
 $tmp2=$388; //@line 1141 "../src/h264bsd_reconstruct.c"
 var $389=$tmp1; //@line 1142 "../src/h264bsd_reconstruct.c"
 var $390=((($389)+(16))|0); //@line 1142 "../src/h264bsd_reconstruct.c"
 $tmp1=$390; //@line 1142 "../src/h264bsd_reconstruct.c"
 var $391=$tmp7; //@line 1143 "../src/h264bsd_reconstruct.c"
 var $392=((($391)+(1))|0); //@line 1143 "../src/h264bsd_reconstruct.c"
 $tmp7=$392; //@line 1143 "../src/h264bsd_reconstruct.c"
 var $393=$tmp2; //@line 1144 "../src/h264bsd_reconstruct.c"
 var $394=$tmp7; //@line 1144 "../src/h264bsd_reconstruct.c"
 var $395=((($393)+($394))|0); //@line 1144 "../src/h264bsd_reconstruct.c"
 var $396=$395>>1; //@line 1144 "../src/h264bsd_reconstruct.c"
 var $397=(($396)&255); //@line 1144 "../src/h264bsd_reconstruct.c"
 var $398=$2; //@line 1144 "../src/h264bsd_reconstruct.c"
 var $399=(($398+48)|0); //@line 1144 "../src/h264bsd_reconstruct.c"
 HEAP8[($399)]=$397; //@line 1144 "../src/h264bsd_reconstruct.c"
 var $400=$tmp3; //@line 1146 "../src/h264bsd_reconstruct.c"
 var $401=$tmp6; //@line 1146 "../src/h264bsd_reconstruct.c"
 var $402=((($400)+($401))|0); //@line 1146 "../src/h264bsd_reconstruct.c"
 $tmp7=$402; //@line 1146 "../src/h264bsd_reconstruct.c"
 var $403=$tmp7; //@line 1147 "../src/h264bsd_reconstruct.c"
 var $404=$403<<2; //@line 1147 "../src/h264bsd_reconstruct.c"
 var $405=$tmp1; //@line 1147 "../src/h264bsd_reconstruct.c"
 var $406=((($405)-($404))|0); //@line 1147 "../src/h264bsd_reconstruct.c"
 $tmp1=$406; //@line 1147 "../src/h264bsd_reconstruct.c"
 var $407=$tmp7; //@line 1148 "../src/h264bsd_reconstruct.c"
 var $408=$tmp1; //@line 1148 "../src/h264bsd_reconstruct.c"
 var $409=((($408)-($407))|0); //@line 1148 "../src/h264bsd_reconstruct.c"
 $tmp1=$409; //@line 1148 "../src/h264bsd_reconstruct.c"
 var $410=$tmp4; //@line 1149 "../src/h264bsd_reconstruct.c"
 var $411=$tmp5; //@line 1149 "../src/h264bsd_reconstruct.c"
 var $412=((($410)+($411))|0); //@line 1149 "../src/h264bsd_reconstruct.c"
 $tmp7=$412; //@line 1149 "../src/h264bsd_reconstruct.c"
 var $413=$5; //@line 1150 "../src/h264bsd_reconstruct.c"
 var $414=$ptrC; //@line 1150 "../src/h264bsd_reconstruct.c"
 var $415=(($414+$413)|0); //@line 1150 "../src/h264bsd_reconstruct.c"
 var $416=HEAP8[($415)]; //@line 1150 "../src/h264bsd_reconstruct.c"
 var $417=($416&255); //@line 1150 "../src/h264bsd_reconstruct.c"
 $tmp2=$417; //@line 1150 "../src/h264bsd_reconstruct.c"
 var $418=$tmp7; //@line 1151 "../src/h264bsd_reconstruct.c"
 var $419=$418<<4; //@line 1151 "../src/h264bsd_reconstruct.c"
 var $420=$tmp1; //@line 1151 "../src/h264bsd_reconstruct.c"
 var $421=((($420)+($419))|0); //@line 1151 "../src/h264bsd_reconstruct.c"
 $tmp1=$421; //@line 1151 "../src/h264bsd_reconstruct.c"
 var $422=$tmp7; //@line 1152 "../src/h264bsd_reconstruct.c"
 var $423=$422<<2; //@line 1152 "../src/h264bsd_reconstruct.c"
 var $424=$tmp1; //@line 1152 "../src/h264bsd_reconstruct.c"
 var $425=((($424)+($423))|0); //@line 1152 "../src/h264bsd_reconstruct.c"
 $tmp1=$425; //@line 1152 "../src/h264bsd_reconstruct.c"
 var $426=$tmp2; //@line 1153 "../src/h264bsd_reconstruct.c"
 var $427=$tmp1; //@line 1153 "../src/h264bsd_reconstruct.c"
 var $428=((($427)+($426))|0); //@line 1153 "../src/h264bsd_reconstruct.c"
 $tmp1=$428; //@line 1153 "../src/h264bsd_reconstruct.c"
 var $429=$tmp1; //@line 1154 "../src/h264bsd_reconstruct.c"
 var $430=$429>>5; //@line 1154 "../src/h264bsd_reconstruct.c"
 var $431=$clp; //@line 1154 "../src/h264bsd_reconstruct.c"
 var $432=(($431+$430)|0); //@line 1154 "../src/h264bsd_reconstruct.c"
 var $433=HEAP8[($432)]; //@line 1154 "../src/h264bsd_reconstruct.c"
 var $434=($433&255); //@line 1154 "../src/h264bsd_reconstruct.c"
 $tmp7=$434; //@line 1154 "../src/h264bsd_reconstruct.c"
 var $435=$2; //@line 1155 "../src/h264bsd_reconstruct.c"
 var $436=(($435+32)|0); //@line 1155 "../src/h264bsd_reconstruct.c"
 var $437=HEAP8[($436)]; //@line 1155 "../src/h264bsd_reconstruct.c"
 var $438=($437&255); //@line 1155 "../src/h264bsd_reconstruct.c"
 $tmp1=$438; //@line 1155 "../src/h264bsd_reconstruct.c"
 var $439=$tmp6; //@line 1156 "../src/h264bsd_reconstruct.c"
 var $440=((($439)+(16))|0); //@line 1156 "../src/h264bsd_reconstruct.c"
 $tmp6=$440; //@line 1156 "../src/h264bsd_reconstruct.c"
 var $441=$tmp7; //@line 1157 "../src/h264bsd_reconstruct.c"
 var $442=((($441)+(1))|0); //@line 1157 "../src/h264bsd_reconstruct.c"
 $tmp7=$442; //@line 1157 "../src/h264bsd_reconstruct.c"
 var $443=$tmp1; //@line 1158 "../src/h264bsd_reconstruct.c"
 var $444=$tmp7; //@line 1158 "../src/h264bsd_reconstruct.c"
 var $445=((($443)+($444))|0); //@line 1158 "../src/h264bsd_reconstruct.c"
 var $446=$445>>1; //@line 1158 "../src/h264bsd_reconstruct.c"
 var $447=(($446)&255); //@line 1158 "../src/h264bsd_reconstruct.c"
 var $448=$2; //@line 1158 "../src/h264bsd_reconstruct.c"
 var $449=(($448+32)|0); //@line 1158 "../src/h264bsd_reconstruct.c"
 HEAP8[($449)]=$447; //@line 1158 "../src/h264bsd_reconstruct.c"
 var $450=$ptrC; //@line 1160 "../src/h264bsd_reconstruct.c"
 var $451=HEAP8[($450)]; //@line 1160 "../src/h264bsd_reconstruct.c"
 var $452=($451&255); //@line 1160 "../src/h264bsd_reconstruct.c"
 $tmp1=$452; //@line 1160 "../src/h264bsd_reconstruct.c"
 var $453=$tmp2; //@line 1161 "../src/h264bsd_reconstruct.c"
 var $454=$tmp5; //@line 1161 "../src/h264bsd_reconstruct.c"
 var $455=((($453)+($454))|0); //@line 1161 "../src/h264bsd_reconstruct.c"
 $tmp7=$455; //@line 1161 "../src/h264bsd_reconstruct.c"
 var $456=$tmp7; //@line 1162 "../src/h264bsd_reconstruct.c"
 var $457=$456<<2; //@line 1162 "../src/h264bsd_reconstruct.c"
 var $458=$tmp6; //@line 1162 "../src/h264bsd_reconstruct.c"
 var $459=((($458)-($457))|0); //@line 1162 "../src/h264bsd_reconstruct.c"
 $tmp6=$459; //@line 1162 "../src/h264bsd_reconstruct.c"
 var $460=$tmp7; //@line 1163 "../src/h264bsd_reconstruct.c"
 var $461=$tmp6; //@line 1163 "../src/h264bsd_reconstruct.c"
 var $462=((($461)-($460))|0); //@line 1163 "../src/h264bsd_reconstruct.c"
 $tmp6=$462; //@line 1163 "../src/h264bsd_reconstruct.c"
 var $463=$tmp4; //@line 1164 "../src/h264bsd_reconstruct.c"
 var $464=$tmp3; //@line 1164 "../src/h264bsd_reconstruct.c"
 var $465=((($463)+($464))|0); //@line 1164 "../src/h264bsd_reconstruct.c"
 $tmp7=$465; //@line 1164 "../src/h264bsd_reconstruct.c"
 var $466=$tmp7; //@line 1165 "../src/h264bsd_reconstruct.c"
 var $467=$466<<4; //@line 1165 "../src/h264bsd_reconstruct.c"
 var $468=$tmp6; //@line 1165 "../src/h264bsd_reconstruct.c"
 var $469=((($468)+($467))|0); //@line 1165 "../src/h264bsd_reconstruct.c"
 $tmp6=$469; //@line 1165 "../src/h264bsd_reconstruct.c"
 var $470=$tmp7; //@line 1166 "../src/h264bsd_reconstruct.c"
 var $471=$470<<2; //@line 1166 "../src/h264bsd_reconstruct.c"
 var $472=$tmp6; //@line 1166 "../src/h264bsd_reconstruct.c"
 var $473=((($472)+($471))|0); //@line 1166 "../src/h264bsd_reconstruct.c"
 $tmp6=$473; //@line 1166 "../src/h264bsd_reconstruct.c"
 var $474=$tmp1; //@line 1167 "../src/h264bsd_reconstruct.c"
 var $475=$tmp6; //@line 1167 "../src/h264bsd_reconstruct.c"
 var $476=((($475)+($474))|0); //@line 1167 "../src/h264bsd_reconstruct.c"
 $tmp6=$476; //@line 1167 "../src/h264bsd_reconstruct.c"
 var $477=$tmp6; //@line 1168 "../src/h264bsd_reconstruct.c"
 var $478=$477>>5; //@line 1168 "../src/h264bsd_reconstruct.c"
 var $479=$clp; //@line 1168 "../src/h264bsd_reconstruct.c"
 var $480=(($479+$478)|0); //@line 1168 "../src/h264bsd_reconstruct.c"
 var $481=HEAP8[($480)]; //@line 1168 "../src/h264bsd_reconstruct.c"
 var $482=($481&255); //@line 1168 "../src/h264bsd_reconstruct.c"
 $tmp7=$482; //@line 1168 "../src/h264bsd_reconstruct.c"
 var $483=$2; //@line 1169 "../src/h264bsd_reconstruct.c"
 var $484=(($483+16)|0); //@line 1169 "../src/h264bsd_reconstruct.c"
 var $485=HEAP8[($484)]; //@line 1169 "../src/h264bsd_reconstruct.c"
 var $486=($485&255); //@line 1169 "../src/h264bsd_reconstruct.c"
 $tmp6=$486; //@line 1169 "../src/h264bsd_reconstruct.c"
 var $487=$tmp5; //@line 1170 "../src/h264bsd_reconstruct.c"
 var $488=((($487)+(16))|0); //@line 1170 "../src/h264bsd_reconstruct.c"
 $tmp5=$488; //@line 1170 "../src/h264bsd_reconstruct.c"
 var $489=$tmp7; //@line 1171 "../src/h264bsd_reconstruct.c"
 var $490=((($489)+(1))|0); //@line 1171 "../src/h264bsd_reconstruct.c"
 $tmp7=$490; //@line 1171 "../src/h264bsd_reconstruct.c"
 var $491=$tmp6; //@line 1172 "../src/h264bsd_reconstruct.c"
 var $492=$tmp7; //@line 1172 "../src/h264bsd_reconstruct.c"
 var $493=((($491)+($492))|0); //@line 1172 "../src/h264bsd_reconstruct.c"
 var $494=$493>>1; //@line 1172 "../src/h264bsd_reconstruct.c"
 var $495=(($494)&255); //@line 1172 "../src/h264bsd_reconstruct.c"
 var $496=$2; //@line 1172 "../src/h264bsd_reconstruct.c"
 var $497=(($496+16)|0); //@line 1172 "../src/h264bsd_reconstruct.c"
 HEAP8[($497)]=$495; //@line 1172 "../src/h264bsd_reconstruct.c"
 var $498=$5; //@line 1174 "../src/h264bsd_reconstruct.c"
 var $499=(((-$498))|0); //@line 1174 "../src/h264bsd_reconstruct.c"
 var $500=$ptrC; //@line 1174 "../src/h264bsd_reconstruct.c"
 var $501=(($500+$499)|0); //@line 1174 "../src/h264bsd_reconstruct.c"
 var $502=HEAP8[($501)]; //@line 1174 "../src/h264bsd_reconstruct.c"
 var $503=($502&255); //@line 1174 "../src/h264bsd_reconstruct.c"
 $tmp6=$503; //@line 1174 "../src/h264bsd_reconstruct.c"
 var $504=$tmp4; //@line 1175 "../src/h264bsd_reconstruct.c"
 var $505=$tmp1; //@line 1175 "../src/h264bsd_reconstruct.c"
 var $506=((($505)+($504))|0); //@line 1175 "../src/h264bsd_reconstruct.c"
 $tmp1=$506; //@line 1175 "../src/h264bsd_reconstruct.c"
 var $507=$tmp1; //@line 1176 "../src/h264bsd_reconstruct.c"
 var $508=$507<<2; //@line 1176 "../src/h264bsd_reconstruct.c"
 var $509=$tmp5; //@line 1176 "../src/h264bsd_reconstruct.c"
 var $510=((($509)-($508))|0); //@line 1176 "../src/h264bsd_reconstruct.c"
 $tmp5=$510; //@line 1176 "../src/h264bsd_reconstruct.c"
 var $511=$tmp1; //@line 1177 "../src/h264bsd_reconstruct.c"
 var $512=$tmp5; //@line 1177 "../src/h264bsd_reconstruct.c"
 var $513=((($512)-($511))|0); //@line 1177 "../src/h264bsd_reconstruct.c"
 $tmp5=$513; //@line 1177 "../src/h264bsd_reconstruct.c"
 var $514=$tmp2; //@line 1178 "../src/h264bsd_reconstruct.c"
 var $515=$tmp3; //@line 1178 "../src/h264bsd_reconstruct.c"
 var $516=((($515)+($514))|0); //@line 1178 "../src/h264bsd_reconstruct.c"
 $tmp3=$516; //@line 1178 "../src/h264bsd_reconstruct.c"
 var $517=$tmp3; //@line 1179 "../src/h264bsd_reconstruct.c"
 var $518=$517<<4; //@line 1179 "../src/h264bsd_reconstruct.c"
 var $519=$tmp5; //@line 1179 "../src/h264bsd_reconstruct.c"
 var $520=((($519)+($518))|0); //@line 1179 "../src/h264bsd_reconstruct.c"
 $tmp5=$520; //@line 1179 "../src/h264bsd_reconstruct.c"
 var $521=$tmp3; //@line 1180 "../src/h264bsd_reconstruct.c"
 var $522=$521<<2; //@line 1180 "../src/h264bsd_reconstruct.c"
 var $523=$tmp5; //@line 1180 "../src/h264bsd_reconstruct.c"
 var $524=((($523)+($522))|0); //@line 1180 "../src/h264bsd_reconstruct.c"
 $tmp5=$524; //@line 1180 "../src/h264bsd_reconstruct.c"
 var $525=$tmp6; //@line 1181 "../src/h264bsd_reconstruct.c"
 var $526=$tmp5; //@line 1181 "../src/h264bsd_reconstruct.c"
 var $527=((($526)+($525))|0); //@line 1181 "../src/h264bsd_reconstruct.c"
 $tmp5=$527; //@line 1181 "../src/h264bsd_reconstruct.c"
 var $528=$tmp5; //@line 1182 "../src/h264bsd_reconstruct.c"
 var $529=$528>>5; //@line 1182 "../src/h264bsd_reconstruct.c"
 var $530=$clp; //@line 1182 "../src/h264bsd_reconstruct.c"
 var $531=(($530+$529)|0); //@line 1182 "../src/h264bsd_reconstruct.c"
 var $532=HEAP8[($531)]; //@line 1182 "../src/h264bsd_reconstruct.c"
 var $533=($532&255); //@line 1182 "../src/h264bsd_reconstruct.c"
 $tmp7=$533; //@line 1182 "../src/h264bsd_reconstruct.c"
 var $534=$2; //@line 1183 "../src/h264bsd_reconstruct.c"
 var $535=HEAP8[($534)]; //@line 1183 "../src/h264bsd_reconstruct.c"
 var $536=($535&255); //@line 1183 "../src/h264bsd_reconstruct.c"
 $tmp5=$536; //@line 1183 "../src/h264bsd_reconstruct.c"
 var $537=$tmp7; //@line 1184 "../src/h264bsd_reconstruct.c"
 var $538=((($537)+(1))|0); //@line 1184 "../src/h264bsd_reconstruct.c"
 $tmp7=$538; //@line 1184 "../src/h264bsd_reconstruct.c"
 var $539=$tmp5; //@line 1185 "../src/h264bsd_reconstruct.c"
 var $540=$tmp7; //@line 1185 "../src/h264bsd_reconstruct.c"
 var $541=((($539)+($540))|0); //@line 1185 "../src/h264bsd_reconstruct.c"
 var $542=$541>>1; //@line 1185 "../src/h264bsd_reconstruct.c"
 var $543=(($542)&255); //@line 1185 "../src/h264bsd_reconstruct.c"
 var $544=$2; //@line 1185 "../src/h264bsd_reconstruct.c"
 var $545=(($544+1)|0); //@line 1185 "../src/h264bsd_reconstruct.c"
 $2=$545; //@line 1185 "../src/h264bsd_reconstruct.c"
 HEAP8[($544)]=$543; //@line 1185 "../src/h264bsd_reconstruct.c"
 var $546=$ptrC; //@line 1186 "../src/h264bsd_reconstruct.c"
 var $547=(($546+1)|0); //@line 1186 "../src/h264bsd_reconstruct.c"
 $ptrC=$547; //@line 1186 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 1188 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $549=$x; //@line 1123 "../src/h264bsd_reconstruct.c"
 var $550=((($549)-(1))|0); //@line 1123 "../src/h264bsd_reconstruct.c"
 $x=$550; //@line 1123 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1123 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $552=$5; //@line 1189 "../src/h264bsd_reconstruct.c"
 var $553=($552<<2); //@line 1189 "../src/h264bsd_reconstruct.c"
 var $554=$7; //@line 1189 "../src/h264bsd_reconstruct.c"
 var $555=((($553)-($554))|0); //@line 1189 "../src/h264bsd_reconstruct.c"
 var $556=$ptrC; //@line 1189 "../src/h264bsd_reconstruct.c"
 var $557=(($556+$555)|0); //@line 1189 "../src/h264bsd_reconstruct.c"
 $ptrC=$557; //@line 1189 "../src/h264bsd_reconstruct.c"
 var $558=$5; //@line 1190 "../src/h264bsd_reconstruct.c"
 var $559=($558<<2); //@line 1190 "../src/h264bsd_reconstruct.c"
 var $560=$7; //@line 1190 "../src/h264bsd_reconstruct.c"
 var $561=((($559)-($560))|0); //@line 1190 "../src/h264bsd_reconstruct.c"
 var $562=$ptrV; //@line 1190 "../src/h264bsd_reconstruct.c"
 var $563=(($562+$561)|0); //@line 1190 "../src/h264bsd_reconstruct.c"
 $ptrV=$563; //@line 1190 "../src/h264bsd_reconstruct.c"
 var $564=$7; //@line 1191 "../src/h264bsd_reconstruct.c"
 var $565=(((64)-($564))|0); //@line 1191 "../src/h264bsd_reconstruct.c"
 var $566=$2; //@line 1191 "../src/h264bsd_reconstruct.c"
 var $567=(($566+$565)|0); //@line 1191 "../src/h264bsd_reconstruct.c"
 $2=$567; //@line 1191 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 1192 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $569=$y; //@line 1120 "../src/h264bsd_reconstruct.c"
 var $570=((($569)-(1))|0); //@line 1120 "../src/h264bsd_reconstruct.c"
 $y=$570; //@line 1120 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1120 "../src/h264bsd_reconstruct.c"
 case 26: 
 STACKTOP=sp;return; //@line 1194 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateMidHalf($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+1792)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $p1=sp;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $ptrC;
 var $ptrV;
 var $b1;
 var $ptrJ;
 var $table=(sp)+(448);
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $clp=1872; //@line 1225 "../src/h264bsd_reconstruct.c"
 var $9=$1; //@line 1229 "../src/h264bsd_reconstruct.c"
 var $10=($9|0)!=0; //@line 1229 "../src/h264bsd_reconstruct.c"
 if($10){var $14=0;label=3;break;}else{label=2;break;} //@line 1229 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,1229,13528); //@line 1229 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1229 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 1229 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $14;
 var $15=($14&1); //@line 1229 "../src/h264bsd_reconstruct.c"
 var $16=$2; //@line 1230 "../src/h264bsd_reconstruct.c"
 var $17=($16|0)!=0; //@line 1230 "../src/h264bsd_reconstruct.c"
 if($17){var $21=1;label=5;break;}else{label=4;break;} //@line 1230 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,1230,13528); //@line 1230 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1230 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 1230 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $21;
 var $22=($21&1); //@line 1230 "../src/h264bsd_reconstruct.c"
 var $23=$3; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $24=($23|0)<0; //@line 1232 "../src/h264bsd_reconstruct.c"
 if($24){label=9;break;}else{label=6;break;} //@line 1232 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $26=$3; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $27=$7; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $28=((($26)+($27))|0); //@line 1232 "../src/h264bsd_reconstruct.c"
 var $29=((($28)+(5))|0); //@line 1232 "../src/h264bsd_reconstruct.c"
 var $30=$5; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $31=($29>>>0)>($30>>>0); //@line 1232 "../src/h264bsd_reconstruct.c"
 if($31){label=9;break;}else{label=7;break;} //@line 1232 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $33=$4; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $34=($33|0)<0; //@line 1232 "../src/h264bsd_reconstruct.c"
 if($34){label=9;break;}else{label=8;break;} //@line 1232 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $36=$4; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $37=$8; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $38=((($36)+($37))|0); //@line 1232 "../src/h264bsd_reconstruct.c"
 var $39=((($38)+(5))|0); //@line 1232 "../src/h264bsd_reconstruct.c"
 var $40=$6; //@line 1232 "../src/h264bsd_reconstruct.c"
 var $41=($39>>>0)>($40>>>0); //@line 1232 "../src/h264bsd_reconstruct.c"
 if($41){label=9;break;}else{label=10;break;} //@line 1232 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $43=$1; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $44=(($p1)|0); //@line 1235 "../src/h264bsd_reconstruct.c"
 var $45=$44; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $46=$3; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $47=$4; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $48=$5; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $49=$6; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $50=$7; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $51=((($50)+(5))|0); //@line 1235 "../src/h264bsd_reconstruct.c"
 var $52=$8; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $53=((($52)+(5))|0); //@line 1235 "../src/h264bsd_reconstruct.c"
 var $54=$7; //@line 1235 "../src/h264bsd_reconstruct.c"
 var $55=((($54)+(5))|0); //@line 1235 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($43,$45,$46,$47,$48,$49,$51,$53,$55); //@line 1235 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 1238 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 1239 "../src/h264bsd_reconstruct.c"
 var $56=(($p1)|0); //@line 1240 "../src/h264bsd_reconstruct.c"
 var $57=$56; //@line 1240 "../src/h264bsd_reconstruct.c"
 $1=$57; //@line 1240 "../src/h264bsd_reconstruct.c"
 var $58=$7; //@line 1241 "../src/h264bsd_reconstruct.c"
 var $59=((($58)+(5))|0); //@line 1241 "../src/h264bsd_reconstruct.c"
 $5=$59; //@line 1241 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 1242 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $61=$4; //@line 1244 "../src/h264bsd_reconstruct.c"
 var $62=$5; //@line 1244 "../src/h264bsd_reconstruct.c"
 var $63=(Math_imul($61,$62)|0); //@line 1244 "../src/h264bsd_reconstruct.c"
 var $64=$3; //@line 1244 "../src/h264bsd_reconstruct.c"
 var $65=((($63)+($64))|0); //@line 1244 "../src/h264bsd_reconstruct.c"
 var $66=$1; //@line 1244 "../src/h264bsd_reconstruct.c"
 var $67=(($66+$65)|0); //@line 1244 "../src/h264bsd_reconstruct.c"
 $1=$67; //@line 1244 "../src/h264bsd_reconstruct.c"
 var $68=(($table)|0); //@line 1246 "../src/h264bsd_reconstruct.c"
 $b1=$68; //@line 1246 "../src/h264bsd_reconstruct.c"
 var $69=$1; //@line 1247 "../src/h264bsd_reconstruct.c"
 var $70=(($69+5)|0); //@line 1247 "../src/h264bsd_reconstruct.c"
 $ptrJ=$70; //@line 1247 "../src/h264bsd_reconstruct.c"
 var $71=$8; //@line 1251 "../src/h264bsd_reconstruct.c"
 var $72=((($71)+(5))|0); //@line 1251 "../src/h264bsd_reconstruct.c"
 $y=$72; //@line 1251 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1251 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $74=$y; //@line 1251 "../src/h264bsd_reconstruct.c"
 var $75=($74|0)!=0; //@line 1251 "../src/h264bsd_reconstruct.c"
 if($75){label=12;break;}else{label=18;break;} //@line 1251 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $77=$ptrJ; //@line 1253 "../src/h264bsd_reconstruct.c"
 var $78=((($77)-(5))|0); //@line 1253 "../src/h264bsd_reconstruct.c"
 var $79=HEAP8[($78)]; //@line 1253 "../src/h264bsd_reconstruct.c"
 var $80=($79&255); //@line 1253 "../src/h264bsd_reconstruct.c"
 $tmp6=$80; //@line 1253 "../src/h264bsd_reconstruct.c"
 var $81=$ptrJ; //@line 1254 "../src/h264bsd_reconstruct.c"
 var $82=((($81)-(4))|0); //@line 1254 "../src/h264bsd_reconstruct.c"
 var $83=HEAP8[($82)]; //@line 1254 "../src/h264bsd_reconstruct.c"
 var $84=($83&255); //@line 1254 "../src/h264bsd_reconstruct.c"
 $tmp5=$84; //@line 1254 "../src/h264bsd_reconstruct.c"
 var $85=$ptrJ; //@line 1255 "../src/h264bsd_reconstruct.c"
 var $86=((($85)-(3))|0); //@line 1255 "../src/h264bsd_reconstruct.c"
 var $87=HEAP8[($86)]; //@line 1255 "../src/h264bsd_reconstruct.c"
 var $88=($87&255); //@line 1255 "../src/h264bsd_reconstruct.c"
 $tmp4=$88; //@line 1255 "../src/h264bsd_reconstruct.c"
 var $89=$ptrJ; //@line 1256 "../src/h264bsd_reconstruct.c"
 var $90=((($89)-(2))|0); //@line 1256 "../src/h264bsd_reconstruct.c"
 var $91=HEAP8[($90)]; //@line 1256 "../src/h264bsd_reconstruct.c"
 var $92=($91&255); //@line 1256 "../src/h264bsd_reconstruct.c"
 $tmp3=$92; //@line 1256 "../src/h264bsd_reconstruct.c"
 var $93=$ptrJ; //@line 1257 "../src/h264bsd_reconstruct.c"
 var $94=((($93)-(1))|0); //@line 1257 "../src/h264bsd_reconstruct.c"
 var $95=HEAP8[($94)]; //@line 1257 "../src/h264bsd_reconstruct.c"
 var $96=($95&255); //@line 1257 "../src/h264bsd_reconstruct.c"
 $tmp2=$96; //@line 1257 "../src/h264bsd_reconstruct.c"
 var $97=$7; //@line 1260 "../src/h264bsd_reconstruct.c"
 var $98=$97>>>2; //@line 1260 "../src/h264bsd_reconstruct.c"
 $x=$98; //@line 1260 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1260 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $100=$x; //@line 1260 "../src/h264bsd_reconstruct.c"
 var $101=($100|0)!=0; //@line 1260 "../src/h264bsd_reconstruct.c"
 if($101){label=14;break;}else{label=16;break;} //@line 1260 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $103=$tmp3; //@line 1263 "../src/h264bsd_reconstruct.c"
 var $104=$tmp4; //@line 1263 "../src/h264bsd_reconstruct.c"
 var $105=((($103)+($104))|0); //@line 1263 "../src/h264bsd_reconstruct.c"
 $tmp7=$105; //@line 1263 "../src/h264bsd_reconstruct.c"
 var $106=$tmp7; //@line 1264 "../src/h264bsd_reconstruct.c"
 var $107=$106<<4; //@line 1264 "../src/h264bsd_reconstruct.c"
 var $108=$tmp6; //@line 1264 "../src/h264bsd_reconstruct.c"
 var $109=((($108)+($107))|0); //@line 1264 "../src/h264bsd_reconstruct.c"
 $tmp6=$109; //@line 1264 "../src/h264bsd_reconstruct.c"
 var $110=$tmp7; //@line 1265 "../src/h264bsd_reconstruct.c"
 var $111=$110<<2; //@line 1265 "../src/h264bsd_reconstruct.c"
 var $112=$tmp6; //@line 1265 "../src/h264bsd_reconstruct.c"
 var $113=((($112)+($111))|0); //@line 1265 "../src/h264bsd_reconstruct.c"
 $tmp6=$113; //@line 1265 "../src/h264bsd_reconstruct.c"
 var $114=$tmp2; //@line 1266 "../src/h264bsd_reconstruct.c"
 var $115=$tmp5; //@line 1266 "../src/h264bsd_reconstruct.c"
 var $116=((($114)+($115))|0); //@line 1266 "../src/h264bsd_reconstruct.c"
 $tmp7=$116; //@line 1266 "../src/h264bsd_reconstruct.c"
 var $117=$ptrJ; //@line 1267 "../src/h264bsd_reconstruct.c"
 var $118=(($117+1)|0); //@line 1267 "../src/h264bsd_reconstruct.c"
 $ptrJ=$118; //@line 1267 "../src/h264bsd_reconstruct.c"
 var $119=HEAP8[($117)]; //@line 1267 "../src/h264bsd_reconstruct.c"
 var $120=($119&255); //@line 1267 "../src/h264bsd_reconstruct.c"
 $tmp1=$120; //@line 1267 "../src/h264bsd_reconstruct.c"
 var $121=$tmp7; //@line 1268 "../src/h264bsd_reconstruct.c"
 var $122=$121<<2; //@line 1268 "../src/h264bsd_reconstruct.c"
 var $123=$tmp6; //@line 1268 "../src/h264bsd_reconstruct.c"
 var $124=((($123)-($122))|0); //@line 1268 "../src/h264bsd_reconstruct.c"
 $tmp6=$124; //@line 1268 "../src/h264bsd_reconstruct.c"
 var $125=$tmp7; //@line 1269 "../src/h264bsd_reconstruct.c"
 var $126=$tmp6; //@line 1269 "../src/h264bsd_reconstruct.c"
 var $127=((($126)-($125))|0); //@line 1269 "../src/h264bsd_reconstruct.c"
 $tmp6=$127; //@line 1269 "../src/h264bsd_reconstruct.c"
 var $128=$tmp1; //@line 1270 "../src/h264bsd_reconstruct.c"
 var $129=$tmp6; //@line 1270 "../src/h264bsd_reconstruct.c"
 var $130=((($129)+($128))|0); //@line 1270 "../src/h264bsd_reconstruct.c"
 $tmp6=$130; //@line 1270 "../src/h264bsd_reconstruct.c"
 var $131=$tmp6; //@line 1271 "../src/h264bsd_reconstruct.c"
 var $132=$b1; //@line 1271 "../src/h264bsd_reconstruct.c"
 var $133=(($132+4)|0); //@line 1271 "../src/h264bsd_reconstruct.c"
 $b1=$133; //@line 1271 "../src/h264bsd_reconstruct.c"
 HEAP32[(($132)>>2)]=$131; //@line 1271 "../src/h264bsd_reconstruct.c"
 var $134=$tmp2; //@line 1273 "../src/h264bsd_reconstruct.c"
 var $135=$tmp3; //@line 1273 "../src/h264bsd_reconstruct.c"
 var $136=((($134)+($135))|0); //@line 1273 "../src/h264bsd_reconstruct.c"
 $tmp7=$136; //@line 1273 "../src/h264bsd_reconstruct.c"
 var $137=$tmp7; //@line 1274 "../src/h264bsd_reconstruct.c"
 var $138=$137<<4; //@line 1274 "../src/h264bsd_reconstruct.c"
 var $139=$tmp5; //@line 1274 "../src/h264bsd_reconstruct.c"
 var $140=((($139)+($138))|0); //@line 1274 "../src/h264bsd_reconstruct.c"
 $tmp5=$140; //@line 1274 "../src/h264bsd_reconstruct.c"
 var $141=$tmp7; //@line 1275 "../src/h264bsd_reconstruct.c"
 var $142=$141<<2; //@line 1275 "../src/h264bsd_reconstruct.c"
 var $143=$tmp5; //@line 1275 "../src/h264bsd_reconstruct.c"
 var $144=((($143)+($142))|0); //@line 1275 "../src/h264bsd_reconstruct.c"
 $tmp5=$144; //@line 1275 "../src/h264bsd_reconstruct.c"
 var $145=$tmp1; //@line 1276 "../src/h264bsd_reconstruct.c"
 var $146=$tmp4; //@line 1276 "../src/h264bsd_reconstruct.c"
 var $147=((($145)+($146))|0); //@line 1276 "../src/h264bsd_reconstruct.c"
 $tmp7=$147; //@line 1276 "../src/h264bsd_reconstruct.c"
 var $148=$ptrJ; //@line 1277 "../src/h264bsd_reconstruct.c"
 var $149=(($148+1)|0); //@line 1277 "../src/h264bsd_reconstruct.c"
 $ptrJ=$149; //@line 1277 "../src/h264bsd_reconstruct.c"
 var $150=HEAP8[($148)]; //@line 1277 "../src/h264bsd_reconstruct.c"
 var $151=($150&255); //@line 1277 "../src/h264bsd_reconstruct.c"
 $tmp6=$151; //@line 1277 "../src/h264bsd_reconstruct.c"
 var $152=$tmp7; //@line 1278 "../src/h264bsd_reconstruct.c"
 var $153=$152<<2; //@line 1278 "../src/h264bsd_reconstruct.c"
 var $154=$tmp5; //@line 1278 "../src/h264bsd_reconstruct.c"
 var $155=((($154)-($153))|0); //@line 1278 "../src/h264bsd_reconstruct.c"
 $tmp5=$155; //@line 1278 "../src/h264bsd_reconstruct.c"
 var $156=$tmp7; //@line 1279 "../src/h264bsd_reconstruct.c"
 var $157=$tmp5; //@line 1279 "../src/h264bsd_reconstruct.c"
 var $158=((($157)-($156))|0); //@line 1279 "../src/h264bsd_reconstruct.c"
 $tmp5=$158; //@line 1279 "../src/h264bsd_reconstruct.c"
 var $159=$tmp6; //@line 1280 "../src/h264bsd_reconstruct.c"
 var $160=$tmp5; //@line 1280 "../src/h264bsd_reconstruct.c"
 var $161=((($160)+($159))|0); //@line 1280 "../src/h264bsd_reconstruct.c"
 $tmp5=$161; //@line 1280 "../src/h264bsd_reconstruct.c"
 var $162=$tmp5; //@line 1281 "../src/h264bsd_reconstruct.c"
 var $163=$b1; //@line 1281 "../src/h264bsd_reconstruct.c"
 var $164=(($163+4)|0); //@line 1281 "../src/h264bsd_reconstruct.c"
 $b1=$164; //@line 1281 "../src/h264bsd_reconstruct.c"
 HEAP32[(($163)>>2)]=$162; //@line 1281 "../src/h264bsd_reconstruct.c"
 var $165=$tmp1; //@line 1283 "../src/h264bsd_reconstruct.c"
 var $166=$tmp2; //@line 1283 "../src/h264bsd_reconstruct.c"
 var $167=((($165)+($166))|0); //@line 1283 "../src/h264bsd_reconstruct.c"
 $tmp7=$167; //@line 1283 "../src/h264bsd_reconstruct.c"
 var $168=$tmp7; //@line 1284 "../src/h264bsd_reconstruct.c"
 var $169=$168<<4; //@line 1284 "../src/h264bsd_reconstruct.c"
 var $170=$tmp4; //@line 1284 "../src/h264bsd_reconstruct.c"
 var $171=((($170)+($169))|0); //@line 1284 "../src/h264bsd_reconstruct.c"
 $tmp4=$171; //@line 1284 "../src/h264bsd_reconstruct.c"
 var $172=$tmp7; //@line 1285 "../src/h264bsd_reconstruct.c"
 var $173=$172<<2; //@line 1285 "../src/h264bsd_reconstruct.c"
 var $174=$tmp4; //@line 1285 "../src/h264bsd_reconstruct.c"
 var $175=((($174)+($173))|0); //@line 1285 "../src/h264bsd_reconstruct.c"
 $tmp4=$175; //@line 1285 "../src/h264bsd_reconstruct.c"
 var $176=$tmp6; //@line 1286 "../src/h264bsd_reconstruct.c"
 var $177=$tmp3; //@line 1286 "../src/h264bsd_reconstruct.c"
 var $178=((($176)+($177))|0); //@line 1286 "../src/h264bsd_reconstruct.c"
 $tmp7=$178; //@line 1286 "../src/h264bsd_reconstruct.c"
 var $179=$ptrJ; //@line 1287 "../src/h264bsd_reconstruct.c"
 var $180=(($179+1)|0); //@line 1287 "../src/h264bsd_reconstruct.c"
 $ptrJ=$180; //@line 1287 "../src/h264bsd_reconstruct.c"
 var $181=HEAP8[($179)]; //@line 1287 "../src/h264bsd_reconstruct.c"
 var $182=($181&255); //@line 1287 "../src/h264bsd_reconstruct.c"
 $tmp5=$182; //@line 1287 "../src/h264bsd_reconstruct.c"
 var $183=$tmp7; //@line 1288 "../src/h264bsd_reconstruct.c"
 var $184=$183<<2; //@line 1288 "../src/h264bsd_reconstruct.c"
 var $185=$tmp4; //@line 1288 "../src/h264bsd_reconstruct.c"
 var $186=((($185)-($184))|0); //@line 1288 "../src/h264bsd_reconstruct.c"
 $tmp4=$186; //@line 1288 "../src/h264bsd_reconstruct.c"
 var $187=$tmp7; //@line 1289 "../src/h264bsd_reconstruct.c"
 var $188=$tmp4; //@line 1289 "../src/h264bsd_reconstruct.c"
 var $189=((($188)-($187))|0); //@line 1289 "../src/h264bsd_reconstruct.c"
 $tmp4=$189; //@line 1289 "../src/h264bsd_reconstruct.c"
 var $190=$tmp5; //@line 1290 "../src/h264bsd_reconstruct.c"
 var $191=$tmp4; //@line 1290 "../src/h264bsd_reconstruct.c"
 var $192=((($191)+($190))|0); //@line 1290 "../src/h264bsd_reconstruct.c"
 $tmp4=$192; //@line 1290 "../src/h264bsd_reconstruct.c"
 var $193=$tmp4; //@line 1291 "../src/h264bsd_reconstruct.c"
 var $194=$b1; //@line 1291 "../src/h264bsd_reconstruct.c"
 var $195=(($194+4)|0); //@line 1291 "../src/h264bsd_reconstruct.c"
 $b1=$195; //@line 1291 "../src/h264bsd_reconstruct.c"
 HEAP32[(($194)>>2)]=$193; //@line 1291 "../src/h264bsd_reconstruct.c"
 var $196=$tmp6; //@line 1293 "../src/h264bsd_reconstruct.c"
 var $197=$tmp1; //@line 1293 "../src/h264bsd_reconstruct.c"
 var $198=((($196)+($197))|0); //@line 1293 "../src/h264bsd_reconstruct.c"
 $tmp7=$198; //@line 1293 "../src/h264bsd_reconstruct.c"
 var $199=$tmp7; //@line 1294 "../src/h264bsd_reconstruct.c"
 var $200=$199<<4; //@line 1294 "../src/h264bsd_reconstruct.c"
 var $201=$tmp3; //@line 1294 "../src/h264bsd_reconstruct.c"
 var $202=((($201)+($200))|0); //@line 1294 "../src/h264bsd_reconstruct.c"
 $tmp3=$202; //@line 1294 "../src/h264bsd_reconstruct.c"
 var $203=$tmp7; //@line 1295 "../src/h264bsd_reconstruct.c"
 var $204=$203<<2; //@line 1295 "../src/h264bsd_reconstruct.c"
 var $205=$tmp3; //@line 1295 "../src/h264bsd_reconstruct.c"
 var $206=((($205)+($204))|0); //@line 1295 "../src/h264bsd_reconstruct.c"
 $tmp3=$206; //@line 1295 "../src/h264bsd_reconstruct.c"
 var $207=$tmp5; //@line 1296 "../src/h264bsd_reconstruct.c"
 var $208=$tmp2; //@line 1296 "../src/h264bsd_reconstruct.c"
 var $209=((($207)+($208))|0); //@line 1296 "../src/h264bsd_reconstruct.c"
 $tmp7=$209; //@line 1296 "../src/h264bsd_reconstruct.c"
 var $210=$ptrJ; //@line 1297 "../src/h264bsd_reconstruct.c"
 var $211=(($210+1)|0); //@line 1297 "../src/h264bsd_reconstruct.c"
 $ptrJ=$211; //@line 1297 "../src/h264bsd_reconstruct.c"
 var $212=HEAP8[($210)]; //@line 1297 "../src/h264bsd_reconstruct.c"
 var $213=($212&255); //@line 1297 "../src/h264bsd_reconstruct.c"
 $tmp4=$213; //@line 1297 "../src/h264bsd_reconstruct.c"
 var $214=$tmp7; //@line 1298 "../src/h264bsd_reconstruct.c"
 var $215=$214<<2; //@line 1298 "../src/h264bsd_reconstruct.c"
 var $216=$tmp3; //@line 1298 "../src/h264bsd_reconstruct.c"
 var $217=((($216)-($215))|0); //@line 1298 "../src/h264bsd_reconstruct.c"
 $tmp3=$217; //@line 1298 "../src/h264bsd_reconstruct.c"
 var $218=$tmp7; //@line 1299 "../src/h264bsd_reconstruct.c"
 var $219=$tmp3; //@line 1299 "../src/h264bsd_reconstruct.c"
 var $220=((($219)-($218))|0); //@line 1299 "../src/h264bsd_reconstruct.c"
 $tmp3=$220; //@line 1299 "../src/h264bsd_reconstruct.c"
 var $221=$tmp4; //@line 1300 "../src/h264bsd_reconstruct.c"
 var $222=$tmp3; //@line 1300 "../src/h264bsd_reconstruct.c"
 var $223=((($222)+($221))|0); //@line 1300 "../src/h264bsd_reconstruct.c"
 $tmp3=$223; //@line 1300 "../src/h264bsd_reconstruct.c"
 var $224=$tmp3; //@line 1301 "../src/h264bsd_reconstruct.c"
 var $225=$b1; //@line 1301 "../src/h264bsd_reconstruct.c"
 var $226=(($225+4)|0); //@line 1301 "../src/h264bsd_reconstruct.c"
 $b1=$226; //@line 1301 "../src/h264bsd_reconstruct.c"
 HEAP32[(($225)>>2)]=$224; //@line 1301 "../src/h264bsd_reconstruct.c"
 var $227=$tmp4; //@line 1302 "../src/h264bsd_reconstruct.c"
 $tmp7=$227; //@line 1302 "../src/h264bsd_reconstruct.c"
 var $228=$tmp6; //@line 1303 "../src/h264bsd_reconstruct.c"
 $tmp4=$228; //@line 1303 "../src/h264bsd_reconstruct.c"
 var $229=$tmp2; //@line 1304 "../src/h264bsd_reconstruct.c"
 $tmp6=$229; //@line 1304 "../src/h264bsd_reconstruct.c"
 var $230=$tmp7; //@line 1305 "../src/h264bsd_reconstruct.c"
 $tmp2=$230; //@line 1305 "../src/h264bsd_reconstruct.c"
 var $231=$tmp5; //@line 1306 "../src/h264bsd_reconstruct.c"
 $tmp3=$231; //@line 1306 "../src/h264bsd_reconstruct.c"
 var $232=$tmp1; //@line 1307 "../src/h264bsd_reconstruct.c"
 $tmp5=$232; //@line 1307 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 1308 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $234=$x; //@line 1260 "../src/h264bsd_reconstruct.c"
 var $235=((($234)-(1))|0); //@line 1260 "../src/h264bsd_reconstruct.c"
 $x=$235; //@line 1260 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1260 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $237=$5; //@line 1309 "../src/h264bsd_reconstruct.c"
 var $238=$7; //@line 1309 "../src/h264bsd_reconstruct.c"
 var $239=((($237)-($238))|0); //@line 1309 "../src/h264bsd_reconstruct.c"
 var $240=$ptrJ; //@line 1309 "../src/h264bsd_reconstruct.c"
 var $241=(($240+$239)|0); //@line 1309 "../src/h264bsd_reconstruct.c"
 $ptrJ=$241; //@line 1309 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 1310 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $243=$y; //@line 1251 "../src/h264bsd_reconstruct.c"
 var $244=((($243)-(1))|0); //@line 1251 "../src/h264bsd_reconstruct.c"
 $y=$244; //@line 1251 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1251 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $246=(($table)|0); //@line 1313 "../src/h264bsd_reconstruct.c"
 var $247=$7; //@line 1313 "../src/h264bsd_reconstruct.c"
 var $248=(($246+($247<<2))|0); //@line 1313 "../src/h264bsd_reconstruct.c"
 $ptrC=$248; //@line 1313 "../src/h264bsd_reconstruct.c"
 var $249=$ptrC; //@line 1314 "../src/h264bsd_reconstruct.c"
 var $250=$7; //@line 1314 "../src/h264bsd_reconstruct.c"
 var $251=((($250)*(5))&-1); //@line 1314 "../src/h264bsd_reconstruct.c"
 var $252=(($249+($251<<2))|0); //@line 1314 "../src/h264bsd_reconstruct.c"
 $ptrV=$252; //@line 1314 "../src/h264bsd_reconstruct.c"
 var $253=$8; //@line 1315 "../src/h264bsd_reconstruct.c"
 var $254=$253>>>2; //@line 1315 "../src/h264bsd_reconstruct.c"
 $y=$254; //@line 1315 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1315 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $256=$y; //@line 1315 "../src/h264bsd_reconstruct.c"
 var $257=($256|0)!=0; //@line 1315 "../src/h264bsd_reconstruct.c"
 if($257){label=20;break;}else{label=26;break;} //@line 1315 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $259=$7; //@line 1318 "../src/h264bsd_reconstruct.c"
 $x=$259; //@line 1318 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1318 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $261=$x; //@line 1318 "../src/h264bsd_reconstruct.c"
 var $262=($261|0)!=0; //@line 1318 "../src/h264bsd_reconstruct.c"
 if($262){label=22;break;}else{label=24;break;} //@line 1318 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $264=$7; //@line 1320 "../src/h264bsd_reconstruct.c"
 var $265=(((-$264))|0); //@line 1320 "../src/h264bsd_reconstruct.c"
 var $266=($265<<1); //@line 1320 "../src/h264bsd_reconstruct.c"
 var $267=$ptrV; //@line 1320 "../src/h264bsd_reconstruct.c"
 var $268=(($267+($266<<2))|0); //@line 1320 "../src/h264bsd_reconstruct.c"
 var $269=HEAP32[(($268)>>2)]; //@line 1320 "../src/h264bsd_reconstruct.c"
 $tmp4=$269; //@line 1320 "../src/h264bsd_reconstruct.c"
 var $270=$7; //@line 1321 "../src/h264bsd_reconstruct.c"
 var $271=(((-$270))|0); //@line 1321 "../src/h264bsd_reconstruct.c"
 var $272=$ptrV; //@line 1321 "../src/h264bsd_reconstruct.c"
 var $273=(($272+($271<<2))|0); //@line 1321 "../src/h264bsd_reconstruct.c"
 var $274=HEAP32[(($273)>>2)]; //@line 1321 "../src/h264bsd_reconstruct.c"
 $tmp5=$274; //@line 1321 "../src/h264bsd_reconstruct.c"
 var $275=$7; //@line 1322 "../src/h264bsd_reconstruct.c"
 var $276=$ptrV; //@line 1322 "../src/h264bsd_reconstruct.c"
 var $277=(($276+($275<<2))|0); //@line 1322 "../src/h264bsd_reconstruct.c"
 var $278=HEAP32[(($277)>>2)]; //@line 1322 "../src/h264bsd_reconstruct.c"
 $tmp1=$278; //@line 1322 "../src/h264bsd_reconstruct.c"
 var $279=$7; //@line 1323 "../src/h264bsd_reconstruct.c"
 var $280=($279<<1); //@line 1323 "../src/h264bsd_reconstruct.c"
 var $281=$ptrV; //@line 1323 "../src/h264bsd_reconstruct.c"
 var $282=(($281+($280<<2))|0); //@line 1323 "../src/h264bsd_reconstruct.c"
 var $283=HEAP32[(($282)>>2)]; //@line 1323 "../src/h264bsd_reconstruct.c"
 $tmp2=$283; //@line 1323 "../src/h264bsd_reconstruct.c"
 var $284=$ptrV; //@line 1324 "../src/h264bsd_reconstruct.c"
 var $285=(($284+4)|0); //@line 1324 "../src/h264bsd_reconstruct.c"
 $ptrV=$285; //@line 1324 "../src/h264bsd_reconstruct.c"
 var $286=HEAP32[(($284)>>2)]; //@line 1324 "../src/h264bsd_reconstruct.c"
 $tmp6=$286; //@line 1324 "../src/h264bsd_reconstruct.c"
 var $287=$tmp4; //@line 1326 "../src/h264bsd_reconstruct.c"
 var $288=$tmp1; //@line 1326 "../src/h264bsd_reconstruct.c"
 var $289=((($287)+($288))|0); //@line 1326 "../src/h264bsd_reconstruct.c"
 $tmp7=$289; //@line 1326 "../src/h264bsd_reconstruct.c"
 var $290=$tmp7; //@line 1327 "../src/h264bsd_reconstruct.c"
 var $291=$290<<2; //@line 1327 "../src/h264bsd_reconstruct.c"
 var $292=$tmp2; //@line 1327 "../src/h264bsd_reconstruct.c"
 var $293=((($292)-($291))|0); //@line 1327 "../src/h264bsd_reconstruct.c"
 $tmp2=$293; //@line 1327 "../src/h264bsd_reconstruct.c"
 var $294=$tmp7; //@line 1328 "../src/h264bsd_reconstruct.c"
 var $295=$tmp2; //@line 1328 "../src/h264bsd_reconstruct.c"
 var $296=((($295)-($294))|0); //@line 1328 "../src/h264bsd_reconstruct.c"
 $tmp2=$296; //@line 1328 "../src/h264bsd_reconstruct.c"
 var $297=$tmp2; //@line 1329 "../src/h264bsd_reconstruct.c"
 var $298=((($297)+(512))|0); //@line 1329 "../src/h264bsd_reconstruct.c"
 $tmp2=$298; //@line 1329 "../src/h264bsd_reconstruct.c"
 var $299=$tmp5; //@line 1330 "../src/h264bsd_reconstruct.c"
 var $300=$tmp6; //@line 1330 "../src/h264bsd_reconstruct.c"
 var $301=((($299)+($300))|0); //@line 1330 "../src/h264bsd_reconstruct.c"
 $tmp7=$301; //@line 1330 "../src/h264bsd_reconstruct.c"
 var $302=$7; //@line 1331 "../src/h264bsd_reconstruct.c"
 var $303=($302<<1); //@line 1331 "../src/h264bsd_reconstruct.c"
 var $304=$ptrC; //@line 1331 "../src/h264bsd_reconstruct.c"
 var $305=(($304+($303<<2))|0); //@line 1331 "../src/h264bsd_reconstruct.c"
 var $306=HEAP32[(($305)>>2)]; //@line 1331 "../src/h264bsd_reconstruct.c"
 $tmp3=$306; //@line 1331 "../src/h264bsd_reconstruct.c"
 var $307=$tmp7; //@line 1332 "../src/h264bsd_reconstruct.c"
 var $308=$307<<4; //@line 1332 "../src/h264bsd_reconstruct.c"
 var $309=$tmp2; //@line 1332 "../src/h264bsd_reconstruct.c"
 var $310=((($309)+($308))|0); //@line 1332 "../src/h264bsd_reconstruct.c"
 $tmp2=$310; //@line 1332 "../src/h264bsd_reconstruct.c"
 var $311=$tmp7; //@line 1333 "../src/h264bsd_reconstruct.c"
 var $312=$311<<2; //@line 1333 "../src/h264bsd_reconstruct.c"
 var $313=$tmp2; //@line 1333 "../src/h264bsd_reconstruct.c"
 var $314=((($313)+($312))|0); //@line 1333 "../src/h264bsd_reconstruct.c"
 $tmp2=$314; //@line 1333 "../src/h264bsd_reconstruct.c"
 var $315=$tmp3; //@line 1334 "../src/h264bsd_reconstruct.c"
 var $316=$tmp2; //@line 1334 "../src/h264bsd_reconstruct.c"
 var $317=((($316)+($315))|0); //@line 1334 "../src/h264bsd_reconstruct.c"
 $tmp2=$317; //@line 1334 "../src/h264bsd_reconstruct.c"
 var $318=$tmp2; //@line 1335 "../src/h264bsd_reconstruct.c"
 var $319=$318>>10; //@line 1335 "../src/h264bsd_reconstruct.c"
 var $320=$clp; //@line 1335 "../src/h264bsd_reconstruct.c"
 var $321=(($320+$319)|0); //@line 1335 "../src/h264bsd_reconstruct.c"
 var $322=HEAP8[($321)]; //@line 1335 "../src/h264bsd_reconstruct.c"
 var $323=($322&255); //@line 1335 "../src/h264bsd_reconstruct.c"
 $tmp7=$323; //@line 1335 "../src/h264bsd_reconstruct.c"
 var $324=$tmp1; //@line 1336 "../src/h264bsd_reconstruct.c"
 var $325=((($324)+(512))|0); //@line 1336 "../src/h264bsd_reconstruct.c"
 $tmp1=$325; //@line 1336 "../src/h264bsd_reconstruct.c"
 var $326=$tmp7; //@line 1337 "../src/h264bsd_reconstruct.c"
 var $327=(($326)&255); //@line 1337 "../src/h264bsd_reconstruct.c"
 var $328=$2; //@line 1337 "../src/h264bsd_reconstruct.c"
 var $329=(($328+48)|0); //@line 1337 "../src/h264bsd_reconstruct.c"
 HEAP8[($329)]=$327; //@line 1337 "../src/h264bsd_reconstruct.c"
 var $330=$tmp3; //@line 1339 "../src/h264bsd_reconstruct.c"
 var $331=$tmp6; //@line 1339 "../src/h264bsd_reconstruct.c"
 var $332=((($330)+($331))|0); //@line 1339 "../src/h264bsd_reconstruct.c"
 $tmp7=$332; //@line 1339 "../src/h264bsd_reconstruct.c"
 var $333=$tmp7; //@line 1340 "../src/h264bsd_reconstruct.c"
 var $334=$333<<2; //@line 1340 "../src/h264bsd_reconstruct.c"
 var $335=$tmp1; //@line 1340 "../src/h264bsd_reconstruct.c"
 var $336=((($335)-($334))|0); //@line 1340 "../src/h264bsd_reconstruct.c"
 $tmp1=$336; //@line 1340 "../src/h264bsd_reconstruct.c"
 var $337=$tmp7; //@line 1341 "../src/h264bsd_reconstruct.c"
 var $338=$tmp1; //@line 1341 "../src/h264bsd_reconstruct.c"
 var $339=((($338)-($337))|0); //@line 1341 "../src/h264bsd_reconstruct.c"
 $tmp1=$339; //@line 1341 "../src/h264bsd_reconstruct.c"
 var $340=$tmp4; //@line 1342 "../src/h264bsd_reconstruct.c"
 var $341=$tmp5; //@line 1342 "../src/h264bsd_reconstruct.c"
 var $342=((($340)+($341))|0); //@line 1342 "../src/h264bsd_reconstruct.c"
 $tmp7=$342; //@line 1342 "../src/h264bsd_reconstruct.c"
 var $343=$7; //@line 1343 "../src/h264bsd_reconstruct.c"
 var $344=$ptrC; //@line 1343 "../src/h264bsd_reconstruct.c"
 var $345=(($344+($343<<2))|0); //@line 1343 "../src/h264bsd_reconstruct.c"
 var $346=HEAP32[(($345)>>2)]; //@line 1343 "../src/h264bsd_reconstruct.c"
 $tmp2=$346; //@line 1343 "../src/h264bsd_reconstruct.c"
 var $347=$tmp7; //@line 1344 "../src/h264bsd_reconstruct.c"
 var $348=$347<<4; //@line 1344 "../src/h264bsd_reconstruct.c"
 var $349=$tmp1; //@line 1344 "../src/h264bsd_reconstruct.c"
 var $350=((($349)+($348))|0); //@line 1344 "../src/h264bsd_reconstruct.c"
 $tmp1=$350; //@line 1344 "../src/h264bsd_reconstruct.c"
 var $351=$tmp7; //@line 1345 "../src/h264bsd_reconstruct.c"
 var $352=$351<<2; //@line 1345 "../src/h264bsd_reconstruct.c"
 var $353=$tmp1; //@line 1345 "../src/h264bsd_reconstruct.c"
 var $354=((($353)+($352))|0); //@line 1345 "../src/h264bsd_reconstruct.c"
 $tmp1=$354; //@line 1345 "../src/h264bsd_reconstruct.c"
 var $355=$tmp2; //@line 1346 "../src/h264bsd_reconstruct.c"
 var $356=$tmp1; //@line 1346 "../src/h264bsd_reconstruct.c"
 var $357=((($356)+($355))|0); //@line 1346 "../src/h264bsd_reconstruct.c"
 $tmp1=$357; //@line 1346 "../src/h264bsd_reconstruct.c"
 var $358=$tmp1; //@line 1347 "../src/h264bsd_reconstruct.c"
 var $359=$358>>10; //@line 1347 "../src/h264bsd_reconstruct.c"
 var $360=$clp; //@line 1347 "../src/h264bsd_reconstruct.c"
 var $361=(($360+$359)|0); //@line 1347 "../src/h264bsd_reconstruct.c"
 var $362=HEAP8[($361)]; //@line 1347 "../src/h264bsd_reconstruct.c"
 var $363=($362&255); //@line 1347 "../src/h264bsd_reconstruct.c"
 $tmp7=$363; //@line 1347 "../src/h264bsd_reconstruct.c"
 var $364=$tmp6; //@line 1348 "../src/h264bsd_reconstruct.c"
 var $365=((($364)+(512))|0); //@line 1348 "../src/h264bsd_reconstruct.c"
 $tmp6=$365; //@line 1348 "../src/h264bsd_reconstruct.c"
 var $366=$tmp7; //@line 1349 "../src/h264bsd_reconstruct.c"
 var $367=(($366)&255); //@line 1349 "../src/h264bsd_reconstruct.c"
 var $368=$2; //@line 1349 "../src/h264bsd_reconstruct.c"
 var $369=(($368+32)|0); //@line 1349 "../src/h264bsd_reconstruct.c"
 HEAP8[($369)]=$367; //@line 1349 "../src/h264bsd_reconstruct.c"
 var $370=$ptrC; //@line 1351 "../src/h264bsd_reconstruct.c"
 var $371=HEAP32[(($370)>>2)]; //@line 1351 "../src/h264bsd_reconstruct.c"
 $tmp1=$371; //@line 1351 "../src/h264bsd_reconstruct.c"
 var $372=$tmp2; //@line 1352 "../src/h264bsd_reconstruct.c"
 var $373=$tmp5; //@line 1352 "../src/h264bsd_reconstruct.c"
 var $374=((($372)+($373))|0); //@line 1352 "../src/h264bsd_reconstruct.c"
 $tmp7=$374; //@line 1352 "../src/h264bsd_reconstruct.c"
 var $375=$tmp7; //@line 1353 "../src/h264bsd_reconstruct.c"
 var $376=$375<<2; //@line 1353 "../src/h264bsd_reconstruct.c"
 var $377=$tmp6; //@line 1353 "../src/h264bsd_reconstruct.c"
 var $378=((($377)-($376))|0); //@line 1353 "../src/h264bsd_reconstruct.c"
 $tmp6=$378; //@line 1353 "../src/h264bsd_reconstruct.c"
 var $379=$tmp7; //@line 1354 "../src/h264bsd_reconstruct.c"
 var $380=$tmp6; //@line 1354 "../src/h264bsd_reconstruct.c"
 var $381=((($380)-($379))|0); //@line 1354 "../src/h264bsd_reconstruct.c"
 $tmp6=$381; //@line 1354 "../src/h264bsd_reconstruct.c"
 var $382=$tmp4; //@line 1355 "../src/h264bsd_reconstruct.c"
 var $383=$tmp3; //@line 1355 "../src/h264bsd_reconstruct.c"
 var $384=((($382)+($383))|0); //@line 1355 "../src/h264bsd_reconstruct.c"
 $tmp7=$384; //@line 1355 "../src/h264bsd_reconstruct.c"
 var $385=$tmp7; //@line 1356 "../src/h264bsd_reconstruct.c"
 var $386=$385<<4; //@line 1356 "../src/h264bsd_reconstruct.c"
 var $387=$tmp6; //@line 1356 "../src/h264bsd_reconstruct.c"
 var $388=((($387)+($386))|0); //@line 1356 "../src/h264bsd_reconstruct.c"
 $tmp6=$388; //@line 1356 "../src/h264bsd_reconstruct.c"
 var $389=$tmp7; //@line 1357 "../src/h264bsd_reconstruct.c"
 var $390=$389<<2; //@line 1357 "../src/h264bsd_reconstruct.c"
 var $391=$tmp6; //@line 1357 "../src/h264bsd_reconstruct.c"
 var $392=((($391)+($390))|0); //@line 1357 "../src/h264bsd_reconstruct.c"
 $tmp6=$392; //@line 1357 "../src/h264bsd_reconstruct.c"
 var $393=$tmp1; //@line 1358 "../src/h264bsd_reconstruct.c"
 var $394=$tmp6; //@line 1358 "../src/h264bsd_reconstruct.c"
 var $395=((($394)+($393))|0); //@line 1358 "../src/h264bsd_reconstruct.c"
 $tmp6=$395; //@line 1358 "../src/h264bsd_reconstruct.c"
 var $396=$tmp6; //@line 1359 "../src/h264bsd_reconstruct.c"
 var $397=$396>>10; //@line 1359 "../src/h264bsd_reconstruct.c"
 var $398=$clp; //@line 1359 "../src/h264bsd_reconstruct.c"
 var $399=(($398+$397)|0); //@line 1359 "../src/h264bsd_reconstruct.c"
 var $400=HEAP8[($399)]; //@line 1359 "../src/h264bsd_reconstruct.c"
 var $401=($400&255); //@line 1359 "../src/h264bsd_reconstruct.c"
 $tmp7=$401; //@line 1359 "../src/h264bsd_reconstruct.c"
 var $402=$tmp5; //@line 1360 "../src/h264bsd_reconstruct.c"
 var $403=((($402)+(512))|0); //@line 1360 "../src/h264bsd_reconstruct.c"
 $tmp5=$403; //@line 1360 "../src/h264bsd_reconstruct.c"
 var $404=$tmp7; //@line 1361 "../src/h264bsd_reconstruct.c"
 var $405=(($404)&255); //@line 1361 "../src/h264bsd_reconstruct.c"
 var $406=$2; //@line 1361 "../src/h264bsd_reconstruct.c"
 var $407=(($406+16)|0); //@line 1361 "../src/h264bsd_reconstruct.c"
 HEAP8[($407)]=$405; //@line 1361 "../src/h264bsd_reconstruct.c"
 var $408=$7; //@line 1363 "../src/h264bsd_reconstruct.c"
 var $409=(((-$408))|0); //@line 1363 "../src/h264bsd_reconstruct.c"
 var $410=$ptrC; //@line 1363 "../src/h264bsd_reconstruct.c"
 var $411=(($410+($409<<2))|0); //@line 1363 "../src/h264bsd_reconstruct.c"
 var $412=HEAP32[(($411)>>2)]; //@line 1363 "../src/h264bsd_reconstruct.c"
 $tmp6=$412; //@line 1363 "../src/h264bsd_reconstruct.c"
 var $413=$tmp4; //@line 1364 "../src/h264bsd_reconstruct.c"
 var $414=$tmp1; //@line 1364 "../src/h264bsd_reconstruct.c"
 var $415=((($414)+($413))|0); //@line 1364 "../src/h264bsd_reconstruct.c"
 $tmp1=$415; //@line 1364 "../src/h264bsd_reconstruct.c"
 var $416=$tmp1; //@line 1365 "../src/h264bsd_reconstruct.c"
 var $417=$416<<2; //@line 1365 "../src/h264bsd_reconstruct.c"
 var $418=$tmp5; //@line 1365 "../src/h264bsd_reconstruct.c"
 var $419=((($418)-($417))|0); //@line 1365 "../src/h264bsd_reconstruct.c"
 $tmp5=$419; //@line 1365 "../src/h264bsd_reconstruct.c"
 var $420=$tmp1; //@line 1366 "../src/h264bsd_reconstruct.c"
 var $421=$tmp5; //@line 1366 "../src/h264bsd_reconstruct.c"
 var $422=((($421)-($420))|0); //@line 1366 "../src/h264bsd_reconstruct.c"
 $tmp5=$422; //@line 1366 "../src/h264bsd_reconstruct.c"
 var $423=$tmp2; //@line 1367 "../src/h264bsd_reconstruct.c"
 var $424=$tmp3; //@line 1367 "../src/h264bsd_reconstruct.c"
 var $425=((($424)+($423))|0); //@line 1367 "../src/h264bsd_reconstruct.c"
 $tmp3=$425; //@line 1367 "../src/h264bsd_reconstruct.c"
 var $426=$tmp3; //@line 1368 "../src/h264bsd_reconstruct.c"
 var $427=$426<<4; //@line 1368 "../src/h264bsd_reconstruct.c"
 var $428=$tmp5; //@line 1368 "../src/h264bsd_reconstruct.c"
 var $429=((($428)+($427))|0); //@line 1368 "../src/h264bsd_reconstruct.c"
 $tmp5=$429; //@line 1368 "../src/h264bsd_reconstruct.c"
 var $430=$tmp3; //@line 1369 "../src/h264bsd_reconstruct.c"
 var $431=$430<<2; //@line 1369 "../src/h264bsd_reconstruct.c"
 var $432=$tmp5; //@line 1369 "../src/h264bsd_reconstruct.c"
 var $433=((($432)+($431))|0); //@line 1369 "../src/h264bsd_reconstruct.c"
 $tmp5=$433; //@line 1369 "../src/h264bsd_reconstruct.c"
 var $434=$tmp6; //@line 1370 "../src/h264bsd_reconstruct.c"
 var $435=$tmp5; //@line 1370 "../src/h264bsd_reconstruct.c"
 var $436=((($435)+($434))|0); //@line 1370 "../src/h264bsd_reconstruct.c"
 $tmp5=$436; //@line 1370 "../src/h264bsd_reconstruct.c"
 var $437=$tmp5; //@line 1371 "../src/h264bsd_reconstruct.c"
 var $438=$437>>10; //@line 1371 "../src/h264bsd_reconstruct.c"
 var $439=$clp; //@line 1371 "../src/h264bsd_reconstruct.c"
 var $440=(($439+$438)|0); //@line 1371 "../src/h264bsd_reconstruct.c"
 var $441=HEAP8[($440)]; //@line 1371 "../src/h264bsd_reconstruct.c"
 var $442=($441&255); //@line 1371 "../src/h264bsd_reconstruct.c"
 $tmp7=$442; //@line 1371 "../src/h264bsd_reconstruct.c"
 var $443=$tmp7; //@line 1372 "../src/h264bsd_reconstruct.c"
 var $444=(($443)&255); //@line 1372 "../src/h264bsd_reconstruct.c"
 var $445=$2; //@line 1372 "../src/h264bsd_reconstruct.c"
 var $446=(($445+1)|0); //@line 1372 "../src/h264bsd_reconstruct.c"
 $2=$446; //@line 1372 "../src/h264bsd_reconstruct.c"
 HEAP8[($445)]=$444; //@line 1372 "../src/h264bsd_reconstruct.c"
 var $447=$ptrC; //@line 1373 "../src/h264bsd_reconstruct.c"
 var $448=(($447+4)|0); //@line 1373 "../src/h264bsd_reconstruct.c"
 $ptrC=$448; //@line 1373 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 1374 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $450=$x; //@line 1318 "../src/h264bsd_reconstruct.c"
 var $451=((($450)-(1))|0); //@line 1318 "../src/h264bsd_reconstruct.c"
 $x=$451; //@line 1318 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1318 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $453=$7; //@line 1375 "../src/h264bsd_reconstruct.c"
 var $454=(((64)-($453))|0); //@line 1375 "../src/h264bsd_reconstruct.c"
 var $455=$2; //@line 1375 "../src/h264bsd_reconstruct.c"
 var $456=(($455+$454)|0); //@line 1375 "../src/h264bsd_reconstruct.c"
 $2=$456; //@line 1375 "../src/h264bsd_reconstruct.c"
 var $457=$7; //@line 1376 "../src/h264bsd_reconstruct.c"
 var $458=((($457)*(3))&-1); //@line 1376 "../src/h264bsd_reconstruct.c"
 var $459=$ptrC; //@line 1376 "../src/h264bsd_reconstruct.c"
 var $460=(($459+($458<<2))|0); //@line 1376 "../src/h264bsd_reconstruct.c"
 $ptrC=$460; //@line 1376 "../src/h264bsd_reconstruct.c"
 var $461=$7; //@line 1377 "../src/h264bsd_reconstruct.c"
 var $462=((($461)*(3))&-1); //@line 1377 "../src/h264bsd_reconstruct.c"
 var $463=$ptrV; //@line 1377 "../src/h264bsd_reconstruct.c"
 var $464=(($463+($462<<2))|0); //@line 1377 "../src/h264bsd_reconstruct.c"
 $ptrV=$464; //@line 1377 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 1378 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $466=$y; //@line 1315 "../src/h264bsd_reconstruct.c"
 var $467=((($466)-(1))|0); //@line 1315 "../src/h264bsd_reconstruct.c"
 $y=$467; //@line 1315 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1315 "../src/h264bsd_reconstruct.c"
 case 26: 
 STACKTOP=sp;return; //@line 1380 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateMidVerQuarter($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight,$verOffset){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+1792)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $p1=sp;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $ptrC;
 var $ptrV;
 var $ptrInt;
 var $b1;
 var $ptrJ;
 var $table=(sp)+(448);
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $9=$verOffset;
 $clp=1872; //@line 1412 "../src/h264bsd_reconstruct.c"
 var $10=$1; //@line 1416 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 1416 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 1416 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,1416,13464); //@line 1416 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1416 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 1416 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 1416 "../src/h264bsd_reconstruct.c"
 var $17=$2; //@line 1417 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 1417 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 1417 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,1417,13464); //@line 1417 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1417 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 1417 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 1417 "../src/h264bsd_reconstruct.c"
 var $24=$3; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)<0; //@line 1419 "../src/h264bsd_reconstruct.c"
 if($25){label=9;break;}else{label=6;break;} //@line 1419 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $27=$3; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $28=$7; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $29=((($27)+($28))|0); //@line 1419 "../src/h264bsd_reconstruct.c"
 var $30=((($29)+(5))|0); //@line 1419 "../src/h264bsd_reconstruct.c"
 var $31=$5; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $32=($30>>>0)>($31>>>0); //@line 1419 "../src/h264bsd_reconstruct.c"
 if($32){label=9;break;}else{label=7;break;} //@line 1419 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $34=$4; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $35=($34|0)<0; //@line 1419 "../src/h264bsd_reconstruct.c"
 if($35){label=9;break;}else{label=8;break;} //@line 1419 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $37=$4; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $38=$8; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $39=((($37)+($38))|0); //@line 1419 "../src/h264bsd_reconstruct.c"
 var $40=((($39)+(5))|0); //@line 1419 "../src/h264bsd_reconstruct.c"
 var $41=$6; //@line 1419 "../src/h264bsd_reconstruct.c"
 var $42=($40>>>0)>($41>>>0); //@line 1419 "../src/h264bsd_reconstruct.c"
 if($42){label=9;break;}else{label=10;break;} //@line 1419 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $44=$1; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $45=(($p1)|0); //@line 1422 "../src/h264bsd_reconstruct.c"
 var $46=$45; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $47=$3; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $48=$4; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $49=$5; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $50=$6; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $51=$7; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $52=((($51)+(5))|0); //@line 1422 "../src/h264bsd_reconstruct.c"
 var $53=$8; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $54=((($53)+(5))|0); //@line 1422 "../src/h264bsd_reconstruct.c"
 var $55=$7; //@line 1422 "../src/h264bsd_reconstruct.c"
 var $56=((($55)+(5))|0); //@line 1422 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($44,$46,$47,$48,$49,$50,$52,$54,$56); //@line 1422 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 1425 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 1426 "../src/h264bsd_reconstruct.c"
 var $57=(($p1)|0); //@line 1427 "../src/h264bsd_reconstruct.c"
 var $58=$57; //@line 1427 "../src/h264bsd_reconstruct.c"
 $1=$58; //@line 1427 "../src/h264bsd_reconstruct.c"
 var $59=$7; //@line 1428 "../src/h264bsd_reconstruct.c"
 var $60=((($59)+(5))|0); //@line 1428 "../src/h264bsd_reconstruct.c"
 $5=$60; //@line 1428 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 1429 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $62=$4; //@line 1431 "../src/h264bsd_reconstruct.c"
 var $63=$5; //@line 1431 "../src/h264bsd_reconstruct.c"
 var $64=(Math_imul($62,$63)|0); //@line 1431 "../src/h264bsd_reconstruct.c"
 var $65=$3; //@line 1431 "../src/h264bsd_reconstruct.c"
 var $66=((($64)+($65))|0); //@line 1431 "../src/h264bsd_reconstruct.c"
 var $67=$1; //@line 1431 "../src/h264bsd_reconstruct.c"
 var $68=(($67+$66)|0); //@line 1431 "../src/h264bsd_reconstruct.c"
 $1=$68; //@line 1431 "../src/h264bsd_reconstruct.c"
 var $69=(($table)|0); //@line 1433 "../src/h264bsd_reconstruct.c"
 $b1=$69; //@line 1433 "../src/h264bsd_reconstruct.c"
 var $70=$1; //@line 1434 "../src/h264bsd_reconstruct.c"
 var $71=(($70+5)|0); //@line 1434 "../src/h264bsd_reconstruct.c"
 $ptrJ=$71; //@line 1434 "../src/h264bsd_reconstruct.c"
 var $72=$8; //@line 1438 "../src/h264bsd_reconstruct.c"
 var $73=((($72)+(5))|0); //@line 1438 "../src/h264bsd_reconstruct.c"
 $y=$73; //@line 1438 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1438 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $75=$y; //@line 1438 "../src/h264bsd_reconstruct.c"
 var $76=($75|0)!=0; //@line 1438 "../src/h264bsd_reconstruct.c"
 if($76){label=12;break;}else{label=18;break;} //@line 1438 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $78=$ptrJ; //@line 1440 "../src/h264bsd_reconstruct.c"
 var $79=((($78)-(5))|0); //@line 1440 "../src/h264bsd_reconstruct.c"
 var $80=HEAP8[($79)]; //@line 1440 "../src/h264bsd_reconstruct.c"
 var $81=($80&255); //@line 1440 "../src/h264bsd_reconstruct.c"
 $tmp6=$81; //@line 1440 "../src/h264bsd_reconstruct.c"
 var $82=$ptrJ; //@line 1441 "../src/h264bsd_reconstruct.c"
 var $83=((($82)-(4))|0); //@line 1441 "../src/h264bsd_reconstruct.c"
 var $84=HEAP8[($83)]; //@line 1441 "../src/h264bsd_reconstruct.c"
 var $85=($84&255); //@line 1441 "../src/h264bsd_reconstruct.c"
 $tmp5=$85; //@line 1441 "../src/h264bsd_reconstruct.c"
 var $86=$ptrJ; //@line 1442 "../src/h264bsd_reconstruct.c"
 var $87=((($86)-(3))|0); //@line 1442 "../src/h264bsd_reconstruct.c"
 var $88=HEAP8[($87)]; //@line 1442 "../src/h264bsd_reconstruct.c"
 var $89=($88&255); //@line 1442 "../src/h264bsd_reconstruct.c"
 $tmp4=$89; //@line 1442 "../src/h264bsd_reconstruct.c"
 var $90=$ptrJ; //@line 1443 "../src/h264bsd_reconstruct.c"
 var $91=((($90)-(2))|0); //@line 1443 "../src/h264bsd_reconstruct.c"
 var $92=HEAP8[($91)]; //@line 1443 "../src/h264bsd_reconstruct.c"
 var $93=($92&255); //@line 1443 "../src/h264bsd_reconstruct.c"
 $tmp3=$93; //@line 1443 "../src/h264bsd_reconstruct.c"
 var $94=$ptrJ; //@line 1444 "../src/h264bsd_reconstruct.c"
 var $95=((($94)-(1))|0); //@line 1444 "../src/h264bsd_reconstruct.c"
 var $96=HEAP8[($95)]; //@line 1444 "../src/h264bsd_reconstruct.c"
 var $97=($96&255); //@line 1444 "../src/h264bsd_reconstruct.c"
 $tmp2=$97; //@line 1444 "../src/h264bsd_reconstruct.c"
 var $98=$7; //@line 1445 "../src/h264bsd_reconstruct.c"
 var $99=$98>>>2; //@line 1445 "../src/h264bsd_reconstruct.c"
 $x=$99; //@line 1445 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1445 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $101=$x; //@line 1445 "../src/h264bsd_reconstruct.c"
 var $102=($101|0)!=0; //@line 1445 "../src/h264bsd_reconstruct.c"
 if($102){label=14;break;}else{label=16;break;} //@line 1445 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $104=$tmp3; //@line 1448 "../src/h264bsd_reconstruct.c"
 var $105=$tmp4; //@line 1448 "../src/h264bsd_reconstruct.c"
 var $106=((($104)+($105))|0); //@line 1448 "../src/h264bsd_reconstruct.c"
 $tmp7=$106; //@line 1448 "../src/h264bsd_reconstruct.c"
 var $107=$tmp7; //@line 1449 "../src/h264bsd_reconstruct.c"
 var $108=$107<<4; //@line 1449 "../src/h264bsd_reconstruct.c"
 var $109=$tmp6; //@line 1449 "../src/h264bsd_reconstruct.c"
 var $110=((($109)+($108))|0); //@line 1449 "../src/h264bsd_reconstruct.c"
 $tmp6=$110; //@line 1449 "../src/h264bsd_reconstruct.c"
 var $111=$tmp7; //@line 1450 "../src/h264bsd_reconstruct.c"
 var $112=$111<<2; //@line 1450 "../src/h264bsd_reconstruct.c"
 var $113=$tmp6; //@line 1450 "../src/h264bsd_reconstruct.c"
 var $114=((($113)+($112))|0); //@line 1450 "../src/h264bsd_reconstruct.c"
 $tmp6=$114; //@line 1450 "../src/h264bsd_reconstruct.c"
 var $115=$tmp2; //@line 1451 "../src/h264bsd_reconstruct.c"
 var $116=$tmp5; //@line 1451 "../src/h264bsd_reconstruct.c"
 var $117=((($115)+($116))|0); //@line 1451 "../src/h264bsd_reconstruct.c"
 $tmp7=$117; //@line 1451 "../src/h264bsd_reconstruct.c"
 var $118=$ptrJ; //@line 1452 "../src/h264bsd_reconstruct.c"
 var $119=(($118+1)|0); //@line 1452 "../src/h264bsd_reconstruct.c"
 $ptrJ=$119; //@line 1452 "../src/h264bsd_reconstruct.c"
 var $120=HEAP8[($118)]; //@line 1452 "../src/h264bsd_reconstruct.c"
 var $121=($120&255); //@line 1452 "../src/h264bsd_reconstruct.c"
 $tmp1=$121; //@line 1452 "../src/h264bsd_reconstruct.c"
 var $122=$tmp7; //@line 1453 "../src/h264bsd_reconstruct.c"
 var $123=$122<<2; //@line 1453 "../src/h264bsd_reconstruct.c"
 var $124=$tmp6; //@line 1453 "../src/h264bsd_reconstruct.c"
 var $125=((($124)-($123))|0); //@line 1453 "../src/h264bsd_reconstruct.c"
 $tmp6=$125; //@line 1453 "../src/h264bsd_reconstruct.c"
 var $126=$tmp7; //@line 1454 "../src/h264bsd_reconstruct.c"
 var $127=$tmp6; //@line 1454 "../src/h264bsd_reconstruct.c"
 var $128=((($127)-($126))|0); //@line 1454 "../src/h264bsd_reconstruct.c"
 $tmp6=$128; //@line 1454 "../src/h264bsd_reconstruct.c"
 var $129=$tmp1; //@line 1455 "../src/h264bsd_reconstruct.c"
 var $130=$tmp6; //@line 1455 "../src/h264bsd_reconstruct.c"
 var $131=((($130)+($129))|0); //@line 1455 "../src/h264bsd_reconstruct.c"
 $tmp6=$131; //@line 1455 "../src/h264bsd_reconstruct.c"
 var $132=$tmp6; //@line 1456 "../src/h264bsd_reconstruct.c"
 var $133=$b1; //@line 1456 "../src/h264bsd_reconstruct.c"
 var $134=(($133+4)|0); //@line 1456 "../src/h264bsd_reconstruct.c"
 $b1=$134; //@line 1456 "../src/h264bsd_reconstruct.c"
 HEAP32[(($133)>>2)]=$132; //@line 1456 "../src/h264bsd_reconstruct.c"
 var $135=$tmp2; //@line 1458 "../src/h264bsd_reconstruct.c"
 var $136=$tmp3; //@line 1458 "../src/h264bsd_reconstruct.c"
 var $137=((($135)+($136))|0); //@line 1458 "../src/h264bsd_reconstruct.c"
 $tmp7=$137; //@line 1458 "../src/h264bsd_reconstruct.c"
 var $138=$tmp7; //@line 1459 "../src/h264bsd_reconstruct.c"
 var $139=$138<<4; //@line 1459 "../src/h264bsd_reconstruct.c"
 var $140=$tmp5; //@line 1459 "../src/h264bsd_reconstruct.c"
 var $141=((($140)+($139))|0); //@line 1459 "../src/h264bsd_reconstruct.c"
 $tmp5=$141; //@line 1459 "../src/h264bsd_reconstruct.c"
 var $142=$tmp7; //@line 1460 "../src/h264bsd_reconstruct.c"
 var $143=$142<<2; //@line 1460 "../src/h264bsd_reconstruct.c"
 var $144=$tmp5; //@line 1460 "../src/h264bsd_reconstruct.c"
 var $145=((($144)+($143))|0); //@line 1460 "../src/h264bsd_reconstruct.c"
 $tmp5=$145; //@line 1460 "../src/h264bsd_reconstruct.c"
 var $146=$tmp1; //@line 1461 "../src/h264bsd_reconstruct.c"
 var $147=$tmp4; //@line 1461 "../src/h264bsd_reconstruct.c"
 var $148=((($146)+($147))|0); //@line 1461 "../src/h264bsd_reconstruct.c"
 $tmp7=$148; //@line 1461 "../src/h264bsd_reconstruct.c"
 var $149=$ptrJ; //@line 1462 "../src/h264bsd_reconstruct.c"
 var $150=(($149+1)|0); //@line 1462 "../src/h264bsd_reconstruct.c"
 $ptrJ=$150; //@line 1462 "../src/h264bsd_reconstruct.c"
 var $151=HEAP8[($149)]; //@line 1462 "../src/h264bsd_reconstruct.c"
 var $152=($151&255); //@line 1462 "../src/h264bsd_reconstruct.c"
 $tmp6=$152; //@line 1462 "../src/h264bsd_reconstruct.c"
 var $153=$tmp7; //@line 1463 "../src/h264bsd_reconstruct.c"
 var $154=$153<<2; //@line 1463 "../src/h264bsd_reconstruct.c"
 var $155=$tmp5; //@line 1463 "../src/h264bsd_reconstruct.c"
 var $156=((($155)-($154))|0); //@line 1463 "../src/h264bsd_reconstruct.c"
 $tmp5=$156; //@line 1463 "../src/h264bsd_reconstruct.c"
 var $157=$tmp7; //@line 1464 "../src/h264bsd_reconstruct.c"
 var $158=$tmp5; //@line 1464 "../src/h264bsd_reconstruct.c"
 var $159=((($158)-($157))|0); //@line 1464 "../src/h264bsd_reconstruct.c"
 $tmp5=$159; //@line 1464 "../src/h264bsd_reconstruct.c"
 var $160=$tmp6; //@line 1465 "../src/h264bsd_reconstruct.c"
 var $161=$tmp5; //@line 1465 "../src/h264bsd_reconstruct.c"
 var $162=((($161)+($160))|0); //@line 1465 "../src/h264bsd_reconstruct.c"
 $tmp5=$162; //@line 1465 "../src/h264bsd_reconstruct.c"
 var $163=$tmp5; //@line 1466 "../src/h264bsd_reconstruct.c"
 var $164=$b1; //@line 1466 "../src/h264bsd_reconstruct.c"
 var $165=(($164+4)|0); //@line 1466 "../src/h264bsd_reconstruct.c"
 $b1=$165; //@line 1466 "../src/h264bsd_reconstruct.c"
 HEAP32[(($164)>>2)]=$163; //@line 1466 "../src/h264bsd_reconstruct.c"
 var $166=$tmp1; //@line 1468 "../src/h264bsd_reconstruct.c"
 var $167=$tmp2; //@line 1468 "../src/h264bsd_reconstruct.c"
 var $168=((($166)+($167))|0); //@line 1468 "../src/h264bsd_reconstruct.c"
 $tmp7=$168; //@line 1468 "../src/h264bsd_reconstruct.c"
 var $169=$tmp7; //@line 1469 "../src/h264bsd_reconstruct.c"
 var $170=$169<<4; //@line 1469 "../src/h264bsd_reconstruct.c"
 var $171=$tmp4; //@line 1469 "../src/h264bsd_reconstruct.c"
 var $172=((($171)+($170))|0); //@line 1469 "../src/h264bsd_reconstruct.c"
 $tmp4=$172; //@line 1469 "../src/h264bsd_reconstruct.c"
 var $173=$tmp7; //@line 1470 "../src/h264bsd_reconstruct.c"
 var $174=$173<<2; //@line 1470 "../src/h264bsd_reconstruct.c"
 var $175=$tmp4; //@line 1470 "../src/h264bsd_reconstruct.c"
 var $176=((($175)+($174))|0); //@line 1470 "../src/h264bsd_reconstruct.c"
 $tmp4=$176; //@line 1470 "../src/h264bsd_reconstruct.c"
 var $177=$tmp6; //@line 1471 "../src/h264bsd_reconstruct.c"
 var $178=$tmp3; //@line 1471 "../src/h264bsd_reconstruct.c"
 var $179=((($177)+($178))|0); //@line 1471 "../src/h264bsd_reconstruct.c"
 $tmp7=$179; //@line 1471 "../src/h264bsd_reconstruct.c"
 var $180=$ptrJ; //@line 1472 "../src/h264bsd_reconstruct.c"
 var $181=(($180+1)|0); //@line 1472 "../src/h264bsd_reconstruct.c"
 $ptrJ=$181; //@line 1472 "../src/h264bsd_reconstruct.c"
 var $182=HEAP8[($180)]; //@line 1472 "../src/h264bsd_reconstruct.c"
 var $183=($182&255); //@line 1472 "../src/h264bsd_reconstruct.c"
 $tmp5=$183; //@line 1472 "../src/h264bsd_reconstruct.c"
 var $184=$tmp7; //@line 1473 "../src/h264bsd_reconstruct.c"
 var $185=$184<<2; //@line 1473 "../src/h264bsd_reconstruct.c"
 var $186=$tmp4; //@line 1473 "../src/h264bsd_reconstruct.c"
 var $187=((($186)-($185))|0); //@line 1473 "../src/h264bsd_reconstruct.c"
 $tmp4=$187; //@line 1473 "../src/h264bsd_reconstruct.c"
 var $188=$tmp7; //@line 1474 "../src/h264bsd_reconstruct.c"
 var $189=$tmp4; //@line 1474 "../src/h264bsd_reconstruct.c"
 var $190=((($189)-($188))|0); //@line 1474 "../src/h264bsd_reconstruct.c"
 $tmp4=$190; //@line 1474 "../src/h264bsd_reconstruct.c"
 var $191=$tmp5; //@line 1475 "../src/h264bsd_reconstruct.c"
 var $192=$tmp4; //@line 1475 "../src/h264bsd_reconstruct.c"
 var $193=((($192)+($191))|0); //@line 1475 "../src/h264bsd_reconstruct.c"
 $tmp4=$193; //@line 1475 "../src/h264bsd_reconstruct.c"
 var $194=$tmp4; //@line 1476 "../src/h264bsd_reconstruct.c"
 var $195=$b1; //@line 1476 "../src/h264bsd_reconstruct.c"
 var $196=(($195+4)|0); //@line 1476 "../src/h264bsd_reconstruct.c"
 $b1=$196; //@line 1476 "../src/h264bsd_reconstruct.c"
 HEAP32[(($195)>>2)]=$194; //@line 1476 "../src/h264bsd_reconstruct.c"
 var $197=$tmp6; //@line 1478 "../src/h264bsd_reconstruct.c"
 var $198=$tmp1; //@line 1478 "../src/h264bsd_reconstruct.c"
 var $199=((($197)+($198))|0); //@line 1478 "../src/h264bsd_reconstruct.c"
 $tmp7=$199; //@line 1478 "../src/h264bsd_reconstruct.c"
 var $200=$tmp7; //@line 1479 "../src/h264bsd_reconstruct.c"
 var $201=$200<<4; //@line 1479 "../src/h264bsd_reconstruct.c"
 var $202=$tmp3; //@line 1479 "../src/h264bsd_reconstruct.c"
 var $203=((($202)+($201))|0); //@line 1479 "../src/h264bsd_reconstruct.c"
 $tmp3=$203; //@line 1479 "../src/h264bsd_reconstruct.c"
 var $204=$tmp7; //@line 1480 "../src/h264bsd_reconstruct.c"
 var $205=$204<<2; //@line 1480 "../src/h264bsd_reconstruct.c"
 var $206=$tmp3; //@line 1480 "../src/h264bsd_reconstruct.c"
 var $207=((($206)+($205))|0); //@line 1480 "../src/h264bsd_reconstruct.c"
 $tmp3=$207; //@line 1480 "../src/h264bsd_reconstruct.c"
 var $208=$tmp5; //@line 1481 "../src/h264bsd_reconstruct.c"
 var $209=$tmp2; //@line 1481 "../src/h264bsd_reconstruct.c"
 var $210=((($208)+($209))|0); //@line 1481 "../src/h264bsd_reconstruct.c"
 $tmp7=$210; //@line 1481 "../src/h264bsd_reconstruct.c"
 var $211=$ptrJ; //@line 1482 "../src/h264bsd_reconstruct.c"
 var $212=(($211+1)|0); //@line 1482 "../src/h264bsd_reconstruct.c"
 $ptrJ=$212; //@line 1482 "../src/h264bsd_reconstruct.c"
 var $213=HEAP8[($211)]; //@line 1482 "../src/h264bsd_reconstruct.c"
 var $214=($213&255); //@line 1482 "../src/h264bsd_reconstruct.c"
 $tmp4=$214; //@line 1482 "../src/h264bsd_reconstruct.c"
 var $215=$tmp7; //@line 1483 "../src/h264bsd_reconstruct.c"
 var $216=$215<<2; //@line 1483 "../src/h264bsd_reconstruct.c"
 var $217=$tmp3; //@line 1483 "../src/h264bsd_reconstruct.c"
 var $218=((($217)-($216))|0); //@line 1483 "../src/h264bsd_reconstruct.c"
 $tmp3=$218; //@line 1483 "../src/h264bsd_reconstruct.c"
 var $219=$tmp7; //@line 1484 "../src/h264bsd_reconstruct.c"
 var $220=$tmp3; //@line 1484 "../src/h264bsd_reconstruct.c"
 var $221=((($220)-($219))|0); //@line 1484 "../src/h264bsd_reconstruct.c"
 $tmp3=$221; //@line 1484 "../src/h264bsd_reconstruct.c"
 var $222=$tmp4; //@line 1485 "../src/h264bsd_reconstruct.c"
 var $223=$tmp3; //@line 1485 "../src/h264bsd_reconstruct.c"
 var $224=((($223)+($222))|0); //@line 1485 "../src/h264bsd_reconstruct.c"
 $tmp3=$224; //@line 1485 "../src/h264bsd_reconstruct.c"
 var $225=$tmp3; //@line 1486 "../src/h264bsd_reconstruct.c"
 var $226=$b1; //@line 1486 "../src/h264bsd_reconstruct.c"
 var $227=(($226+4)|0); //@line 1486 "../src/h264bsd_reconstruct.c"
 $b1=$227; //@line 1486 "../src/h264bsd_reconstruct.c"
 HEAP32[(($226)>>2)]=$225; //@line 1486 "../src/h264bsd_reconstruct.c"
 var $228=$tmp4; //@line 1487 "../src/h264bsd_reconstruct.c"
 $tmp7=$228; //@line 1487 "../src/h264bsd_reconstruct.c"
 var $229=$tmp6; //@line 1488 "../src/h264bsd_reconstruct.c"
 $tmp4=$229; //@line 1488 "../src/h264bsd_reconstruct.c"
 var $230=$tmp2; //@line 1489 "../src/h264bsd_reconstruct.c"
 $tmp6=$230; //@line 1489 "../src/h264bsd_reconstruct.c"
 var $231=$tmp7; //@line 1490 "../src/h264bsd_reconstruct.c"
 $tmp2=$231; //@line 1490 "../src/h264bsd_reconstruct.c"
 var $232=$tmp5; //@line 1491 "../src/h264bsd_reconstruct.c"
 $tmp3=$232; //@line 1491 "../src/h264bsd_reconstruct.c"
 var $233=$tmp1; //@line 1492 "../src/h264bsd_reconstruct.c"
 $tmp5=$233; //@line 1492 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 1493 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $235=$x; //@line 1445 "../src/h264bsd_reconstruct.c"
 var $236=((($235)-(1))|0); //@line 1445 "../src/h264bsd_reconstruct.c"
 $x=$236; //@line 1445 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1445 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $238=$5; //@line 1494 "../src/h264bsd_reconstruct.c"
 var $239=$7; //@line 1494 "../src/h264bsd_reconstruct.c"
 var $240=((($238)-($239))|0); //@line 1494 "../src/h264bsd_reconstruct.c"
 var $241=$ptrJ; //@line 1494 "../src/h264bsd_reconstruct.c"
 var $242=(($241+$240)|0); //@line 1494 "../src/h264bsd_reconstruct.c"
 $ptrJ=$242; //@line 1494 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 1495 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $244=$y; //@line 1438 "../src/h264bsd_reconstruct.c"
 var $245=((($244)-(1))|0); //@line 1438 "../src/h264bsd_reconstruct.c"
 $y=$245; //@line 1438 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1438 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $247=(($table)|0); //@line 1498 "../src/h264bsd_reconstruct.c"
 var $248=$7; //@line 1498 "../src/h264bsd_reconstruct.c"
 var $249=(($247+($248<<2))|0); //@line 1498 "../src/h264bsd_reconstruct.c"
 $ptrC=$249; //@line 1498 "../src/h264bsd_reconstruct.c"
 var $250=$ptrC; //@line 1499 "../src/h264bsd_reconstruct.c"
 var $251=$7; //@line 1499 "../src/h264bsd_reconstruct.c"
 var $252=((($251)*(5))&-1); //@line 1499 "../src/h264bsd_reconstruct.c"
 var $253=(($250+($252<<2))|0); //@line 1499 "../src/h264bsd_reconstruct.c"
 $ptrV=$253; //@line 1499 "../src/h264bsd_reconstruct.c"
 var $254=$ptrC; //@line 1501 "../src/h264bsd_reconstruct.c"
 var $255=$9; //@line 1501 "../src/h264bsd_reconstruct.c"
 var $256=((($255)+(2))|0); //@line 1501 "../src/h264bsd_reconstruct.c"
 var $257=$7; //@line 1501 "../src/h264bsd_reconstruct.c"
 var $258=(Math_imul($256,$257)|0); //@line 1501 "../src/h264bsd_reconstruct.c"
 var $259=(($254+($258<<2))|0); //@line 1501 "../src/h264bsd_reconstruct.c"
 $ptrInt=$259; //@line 1501 "../src/h264bsd_reconstruct.c"
 var $260=$8; //@line 1502 "../src/h264bsd_reconstruct.c"
 var $261=$260>>>2; //@line 1502 "../src/h264bsd_reconstruct.c"
 $y=$261; //@line 1502 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1502 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $263=$y; //@line 1502 "../src/h264bsd_reconstruct.c"
 var $264=($263|0)!=0; //@line 1502 "../src/h264bsd_reconstruct.c"
 if($264){label=20;break;}else{label=26;break;} //@line 1502 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $266=$7; //@line 1504 "../src/h264bsd_reconstruct.c"
 $x=$266; //@line 1504 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1504 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $268=$x; //@line 1504 "../src/h264bsd_reconstruct.c"
 var $269=($268|0)!=0; //@line 1504 "../src/h264bsd_reconstruct.c"
 if($269){label=22;break;}else{label=24;break;} //@line 1504 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $271=$7; //@line 1506 "../src/h264bsd_reconstruct.c"
 var $272=(((-$271))|0); //@line 1506 "../src/h264bsd_reconstruct.c"
 var $273=($272<<1); //@line 1506 "../src/h264bsd_reconstruct.c"
 var $274=$ptrV; //@line 1506 "../src/h264bsd_reconstruct.c"
 var $275=(($274+($273<<2))|0); //@line 1506 "../src/h264bsd_reconstruct.c"
 var $276=HEAP32[(($275)>>2)]; //@line 1506 "../src/h264bsd_reconstruct.c"
 $tmp4=$276; //@line 1506 "../src/h264bsd_reconstruct.c"
 var $277=$7; //@line 1507 "../src/h264bsd_reconstruct.c"
 var $278=(((-$277))|0); //@line 1507 "../src/h264bsd_reconstruct.c"
 var $279=$ptrV; //@line 1507 "../src/h264bsd_reconstruct.c"
 var $280=(($279+($278<<2))|0); //@line 1507 "../src/h264bsd_reconstruct.c"
 var $281=HEAP32[(($280)>>2)]; //@line 1507 "../src/h264bsd_reconstruct.c"
 $tmp5=$281; //@line 1507 "../src/h264bsd_reconstruct.c"
 var $282=$7; //@line 1508 "../src/h264bsd_reconstruct.c"
 var $283=$ptrV; //@line 1508 "../src/h264bsd_reconstruct.c"
 var $284=(($283+($282<<2))|0); //@line 1508 "../src/h264bsd_reconstruct.c"
 var $285=HEAP32[(($284)>>2)]; //@line 1508 "../src/h264bsd_reconstruct.c"
 $tmp1=$285; //@line 1508 "../src/h264bsd_reconstruct.c"
 var $286=$7; //@line 1509 "../src/h264bsd_reconstruct.c"
 var $287=($286<<1); //@line 1509 "../src/h264bsd_reconstruct.c"
 var $288=$ptrV; //@line 1509 "../src/h264bsd_reconstruct.c"
 var $289=(($288+($287<<2))|0); //@line 1509 "../src/h264bsd_reconstruct.c"
 var $290=HEAP32[(($289)>>2)]; //@line 1509 "../src/h264bsd_reconstruct.c"
 $tmp2=$290; //@line 1509 "../src/h264bsd_reconstruct.c"
 var $291=$ptrV; //@line 1510 "../src/h264bsd_reconstruct.c"
 var $292=(($291+4)|0); //@line 1510 "../src/h264bsd_reconstruct.c"
 $ptrV=$292; //@line 1510 "../src/h264bsd_reconstruct.c"
 var $293=HEAP32[(($291)>>2)]; //@line 1510 "../src/h264bsd_reconstruct.c"
 $tmp6=$293; //@line 1510 "../src/h264bsd_reconstruct.c"
 var $294=$tmp4; //@line 1512 "../src/h264bsd_reconstruct.c"
 var $295=$tmp1; //@line 1512 "../src/h264bsd_reconstruct.c"
 var $296=((($294)+($295))|0); //@line 1512 "../src/h264bsd_reconstruct.c"
 $tmp7=$296; //@line 1512 "../src/h264bsd_reconstruct.c"
 var $297=$tmp7; //@line 1513 "../src/h264bsd_reconstruct.c"
 var $298=$297<<2; //@line 1513 "../src/h264bsd_reconstruct.c"
 var $299=$tmp2; //@line 1513 "../src/h264bsd_reconstruct.c"
 var $300=((($299)-($298))|0); //@line 1513 "../src/h264bsd_reconstruct.c"
 $tmp2=$300; //@line 1513 "../src/h264bsd_reconstruct.c"
 var $301=$tmp7; //@line 1514 "../src/h264bsd_reconstruct.c"
 var $302=$tmp2; //@line 1514 "../src/h264bsd_reconstruct.c"
 var $303=((($302)-($301))|0); //@line 1514 "../src/h264bsd_reconstruct.c"
 $tmp2=$303; //@line 1514 "../src/h264bsd_reconstruct.c"
 var $304=$tmp2; //@line 1515 "../src/h264bsd_reconstruct.c"
 var $305=((($304)+(512))|0); //@line 1515 "../src/h264bsd_reconstruct.c"
 $tmp2=$305; //@line 1515 "../src/h264bsd_reconstruct.c"
 var $306=$tmp5; //@line 1516 "../src/h264bsd_reconstruct.c"
 var $307=$tmp6; //@line 1516 "../src/h264bsd_reconstruct.c"
 var $308=((($306)+($307))|0); //@line 1516 "../src/h264bsd_reconstruct.c"
 $tmp7=$308; //@line 1516 "../src/h264bsd_reconstruct.c"
 var $309=$7; //@line 1517 "../src/h264bsd_reconstruct.c"
 var $310=($309<<1); //@line 1517 "../src/h264bsd_reconstruct.c"
 var $311=$ptrC; //@line 1517 "../src/h264bsd_reconstruct.c"
 var $312=(($311+($310<<2))|0); //@line 1517 "../src/h264bsd_reconstruct.c"
 var $313=HEAP32[(($312)>>2)]; //@line 1517 "../src/h264bsd_reconstruct.c"
 $tmp3=$313; //@line 1517 "../src/h264bsd_reconstruct.c"
 var $314=$tmp7; //@line 1518 "../src/h264bsd_reconstruct.c"
 var $315=$314<<4; //@line 1518 "../src/h264bsd_reconstruct.c"
 var $316=$tmp2; //@line 1518 "../src/h264bsd_reconstruct.c"
 var $317=((($316)+($315))|0); //@line 1518 "../src/h264bsd_reconstruct.c"
 $tmp2=$317; //@line 1518 "../src/h264bsd_reconstruct.c"
 var $318=$tmp7; //@line 1519 "../src/h264bsd_reconstruct.c"
 var $319=$318<<2; //@line 1519 "../src/h264bsd_reconstruct.c"
 var $320=$tmp2; //@line 1519 "../src/h264bsd_reconstruct.c"
 var $321=((($320)+($319))|0); //@line 1519 "../src/h264bsd_reconstruct.c"
 $tmp2=$321; //@line 1519 "../src/h264bsd_reconstruct.c"
 var $322=$7; //@line 1520 "../src/h264bsd_reconstruct.c"
 var $323=($322<<1); //@line 1520 "../src/h264bsd_reconstruct.c"
 var $324=$ptrInt; //@line 1520 "../src/h264bsd_reconstruct.c"
 var $325=(($324+($323<<2))|0); //@line 1520 "../src/h264bsd_reconstruct.c"
 var $326=HEAP32[(($325)>>2)]; //@line 1520 "../src/h264bsd_reconstruct.c"
 $tmp7=$326; //@line 1520 "../src/h264bsd_reconstruct.c"
 var $327=$tmp3; //@line 1521 "../src/h264bsd_reconstruct.c"
 var $328=$tmp2; //@line 1521 "../src/h264bsd_reconstruct.c"
 var $329=((($328)+($327))|0); //@line 1521 "../src/h264bsd_reconstruct.c"
 $tmp2=$329; //@line 1521 "../src/h264bsd_reconstruct.c"
 var $330=$tmp2; //@line 1522 "../src/h264bsd_reconstruct.c"
 var $331=$330>>10; //@line 1522 "../src/h264bsd_reconstruct.c"
 var $332=$clp; //@line 1522 "../src/h264bsd_reconstruct.c"
 var $333=(($332+$331)|0); //@line 1522 "../src/h264bsd_reconstruct.c"
 var $334=HEAP8[($333)]; //@line 1522 "../src/h264bsd_reconstruct.c"
 var $335=($334&255); //@line 1522 "../src/h264bsd_reconstruct.c"
 $tmp2=$335; //@line 1522 "../src/h264bsd_reconstruct.c"
 var $336=$tmp7; //@line 1523 "../src/h264bsd_reconstruct.c"
 var $337=((($336)+(16))|0); //@line 1523 "../src/h264bsd_reconstruct.c"
 $tmp7=$337; //@line 1523 "../src/h264bsd_reconstruct.c"
 var $338=$tmp7; //@line 1524 "../src/h264bsd_reconstruct.c"
 var $339=$338>>5; //@line 1524 "../src/h264bsd_reconstruct.c"
 var $340=$clp; //@line 1524 "../src/h264bsd_reconstruct.c"
 var $341=(($340+$339)|0); //@line 1524 "../src/h264bsd_reconstruct.c"
 var $342=HEAP8[($341)]; //@line 1524 "../src/h264bsd_reconstruct.c"
 var $343=($342&255); //@line 1524 "../src/h264bsd_reconstruct.c"
 $tmp7=$343; //@line 1524 "../src/h264bsd_reconstruct.c"
 var $344=$tmp1; //@line 1525 "../src/h264bsd_reconstruct.c"
 var $345=((($344)+(512))|0); //@line 1525 "../src/h264bsd_reconstruct.c"
 $tmp1=$345; //@line 1525 "../src/h264bsd_reconstruct.c"
 var $346=$tmp2; //@line 1526 "../src/h264bsd_reconstruct.c"
 var $347=((($346)+(1))|0); //@line 1526 "../src/h264bsd_reconstruct.c"
 $tmp2=$347; //@line 1526 "../src/h264bsd_reconstruct.c"
 var $348=$tmp7; //@line 1527 "../src/h264bsd_reconstruct.c"
 var $349=$tmp2; //@line 1527 "../src/h264bsd_reconstruct.c"
 var $350=((($348)+($349))|0); //@line 1527 "../src/h264bsd_reconstruct.c"
 var $351=$350>>1; //@line 1527 "../src/h264bsd_reconstruct.c"
 var $352=(($351)&255); //@line 1527 "../src/h264bsd_reconstruct.c"
 var $353=$2; //@line 1527 "../src/h264bsd_reconstruct.c"
 var $354=(($353+48)|0); //@line 1527 "../src/h264bsd_reconstruct.c"
 HEAP8[($354)]=$352; //@line 1527 "../src/h264bsd_reconstruct.c"
 var $355=$tmp3; //@line 1529 "../src/h264bsd_reconstruct.c"
 var $356=$tmp6; //@line 1529 "../src/h264bsd_reconstruct.c"
 var $357=((($355)+($356))|0); //@line 1529 "../src/h264bsd_reconstruct.c"
 $tmp7=$357; //@line 1529 "../src/h264bsd_reconstruct.c"
 var $358=$tmp7; //@line 1530 "../src/h264bsd_reconstruct.c"
 var $359=$358<<2; //@line 1530 "../src/h264bsd_reconstruct.c"
 var $360=$tmp1; //@line 1530 "../src/h264bsd_reconstruct.c"
 var $361=((($360)-($359))|0); //@line 1530 "../src/h264bsd_reconstruct.c"
 $tmp1=$361; //@line 1530 "../src/h264bsd_reconstruct.c"
 var $362=$tmp7; //@line 1531 "../src/h264bsd_reconstruct.c"
 var $363=$tmp1; //@line 1531 "../src/h264bsd_reconstruct.c"
 var $364=((($363)-($362))|0); //@line 1531 "../src/h264bsd_reconstruct.c"
 $tmp1=$364; //@line 1531 "../src/h264bsd_reconstruct.c"
 var $365=$tmp4; //@line 1532 "../src/h264bsd_reconstruct.c"
 var $366=$tmp5; //@line 1532 "../src/h264bsd_reconstruct.c"
 var $367=((($365)+($366))|0); //@line 1532 "../src/h264bsd_reconstruct.c"
 $tmp7=$367; //@line 1532 "../src/h264bsd_reconstruct.c"
 var $368=$7; //@line 1533 "../src/h264bsd_reconstruct.c"
 var $369=$ptrC; //@line 1533 "../src/h264bsd_reconstruct.c"
 var $370=(($369+($368<<2))|0); //@line 1533 "../src/h264bsd_reconstruct.c"
 var $371=HEAP32[(($370)>>2)]; //@line 1533 "../src/h264bsd_reconstruct.c"
 $tmp2=$371; //@line 1533 "../src/h264bsd_reconstruct.c"
 var $372=$tmp7; //@line 1534 "../src/h264bsd_reconstruct.c"
 var $373=$372<<4; //@line 1534 "../src/h264bsd_reconstruct.c"
 var $374=$tmp1; //@line 1534 "../src/h264bsd_reconstruct.c"
 var $375=((($374)+($373))|0); //@line 1534 "../src/h264bsd_reconstruct.c"
 $tmp1=$375; //@line 1534 "../src/h264bsd_reconstruct.c"
 var $376=$tmp7; //@line 1535 "../src/h264bsd_reconstruct.c"
 var $377=$376<<2; //@line 1535 "../src/h264bsd_reconstruct.c"
 var $378=$tmp1; //@line 1535 "../src/h264bsd_reconstruct.c"
 var $379=((($378)+($377))|0); //@line 1535 "../src/h264bsd_reconstruct.c"
 $tmp1=$379; //@line 1535 "../src/h264bsd_reconstruct.c"
 var $380=$7; //@line 1536 "../src/h264bsd_reconstruct.c"
 var $381=$ptrInt; //@line 1536 "../src/h264bsd_reconstruct.c"
 var $382=(($381+($380<<2))|0); //@line 1536 "../src/h264bsd_reconstruct.c"
 var $383=HEAP32[(($382)>>2)]; //@line 1536 "../src/h264bsd_reconstruct.c"
 $tmp7=$383; //@line 1536 "../src/h264bsd_reconstruct.c"
 var $384=$tmp2; //@line 1537 "../src/h264bsd_reconstruct.c"
 var $385=$tmp1; //@line 1537 "../src/h264bsd_reconstruct.c"
 var $386=((($385)+($384))|0); //@line 1537 "../src/h264bsd_reconstruct.c"
 $tmp1=$386; //@line 1537 "../src/h264bsd_reconstruct.c"
 var $387=$tmp1; //@line 1538 "../src/h264bsd_reconstruct.c"
 var $388=$387>>10; //@line 1538 "../src/h264bsd_reconstruct.c"
 var $389=$clp; //@line 1538 "../src/h264bsd_reconstruct.c"
 var $390=(($389+$388)|0); //@line 1538 "../src/h264bsd_reconstruct.c"
 var $391=HEAP8[($390)]; //@line 1538 "../src/h264bsd_reconstruct.c"
 var $392=($391&255); //@line 1538 "../src/h264bsd_reconstruct.c"
 $tmp1=$392; //@line 1538 "../src/h264bsd_reconstruct.c"
 var $393=$tmp7; //@line 1539 "../src/h264bsd_reconstruct.c"
 var $394=((($393)+(16))|0); //@line 1539 "../src/h264bsd_reconstruct.c"
 $tmp7=$394; //@line 1539 "../src/h264bsd_reconstruct.c"
 var $395=$tmp7; //@line 1540 "../src/h264bsd_reconstruct.c"
 var $396=$395>>5; //@line 1540 "../src/h264bsd_reconstruct.c"
 var $397=$clp; //@line 1540 "../src/h264bsd_reconstruct.c"
 var $398=(($397+$396)|0); //@line 1540 "../src/h264bsd_reconstruct.c"
 var $399=HEAP8[($398)]; //@line 1540 "../src/h264bsd_reconstruct.c"
 var $400=($399&255); //@line 1540 "../src/h264bsd_reconstruct.c"
 $tmp7=$400; //@line 1540 "../src/h264bsd_reconstruct.c"
 var $401=$tmp6; //@line 1541 "../src/h264bsd_reconstruct.c"
 var $402=((($401)+(512))|0); //@line 1541 "../src/h264bsd_reconstruct.c"
 $tmp6=$402; //@line 1541 "../src/h264bsd_reconstruct.c"
 var $403=$tmp1; //@line 1542 "../src/h264bsd_reconstruct.c"
 var $404=((($403)+(1))|0); //@line 1542 "../src/h264bsd_reconstruct.c"
 $tmp1=$404; //@line 1542 "../src/h264bsd_reconstruct.c"
 var $405=$tmp7; //@line 1543 "../src/h264bsd_reconstruct.c"
 var $406=$tmp1; //@line 1543 "../src/h264bsd_reconstruct.c"
 var $407=((($405)+($406))|0); //@line 1543 "../src/h264bsd_reconstruct.c"
 var $408=$407>>1; //@line 1543 "../src/h264bsd_reconstruct.c"
 var $409=(($408)&255); //@line 1543 "../src/h264bsd_reconstruct.c"
 var $410=$2; //@line 1543 "../src/h264bsd_reconstruct.c"
 var $411=(($410+32)|0); //@line 1543 "../src/h264bsd_reconstruct.c"
 HEAP8[($411)]=$409; //@line 1543 "../src/h264bsd_reconstruct.c"
 var $412=$ptrC; //@line 1545 "../src/h264bsd_reconstruct.c"
 var $413=HEAP32[(($412)>>2)]; //@line 1545 "../src/h264bsd_reconstruct.c"
 $tmp1=$413; //@line 1545 "../src/h264bsd_reconstruct.c"
 var $414=$tmp2; //@line 1546 "../src/h264bsd_reconstruct.c"
 var $415=$tmp5; //@line 1546 "../src/h264bsd_reconstruct.c"
 var $416=((($414)+($415))|0); //@line 1546 "../src/h264bsd_reconstruct.c"
 $tmp7=$416; //@line 1546 "../src/h264bsd_reconstruct.c"
 var $417=$tmp7; //@line 1547 "../src/h264bsd_reconstruct.c"
 var $418=$417<<2; //@line 1547 "../src/h264bsd_reconstruct.c"
 var $419=$tmp6; //@line 1547 "../src/h264bsd_reconstruct.c"
 var $420=((($419)-($418))|0); //@line 1547 "../src/h264bsd_reconstruct.c"
 $tmp6=$420; //@line 1547 "../src/h264bsd_reconstruct.c"
 var $421=$tmp7; //@line 1548 "../src/h264bsd_reconstruct.c"
 var $422=$tmp6; //@line 1548 "../src/h264bsd_reconstruct.c"
 var $423=((($422)-($421))|0); //@line 1548 "../src/h264bsd_reconstruct.c"
 $tmp6=$423; //@line 1548 "../src/h264bsd_reconstruct.c"
 var $424=$tmp4; //@line 1549 "../src/h264bsd_reconstruct.c"
 var $425=$tmp3; //@line 1549 "../src/h264bsd_reconstruct.c"
 var $426=((($424)+($425))|0); //@line 1549 "../src/h264bsd_reconstruct.c"
 $tmp7=$426; //@line 1549 "../src/h264bsd_reconstruct.c"
 var $427=$tmp7; //@line 1550 "../src/h264bsd_reconstruct.c"
 var $428=$427<<4; //@line 1550 "../src/h264bsd_reconstruct.c"
 var $429=$tmp6; //@line 1550 "../src/h264bsd_reconstruct.c"
 var $430=((($429)+($428))|0); //@line 1550 "../src/h264bsd_reconstruct.c"
 $tmp6=$430; //@line 1550 "../src/h264bsd_reconstruct.c"
 var $431=$tmp7; //@line 1551 "../src/h264bsd_reconstruct.c"
 var $432=$431<<2; //@line 1551 "../src/h264bsd_reconstruct.c"
 var $433=$tmp6; //@line 1551 "../src/h264bsd_reconstruct.c"
 var $434=((($433)+($432))|0); //@line 1551 "../src/h264bsd_reconstruct.c"
 $tmp6=$434; //@line 1551 "../src/h264bsd_reconstruct.c"
 var $435=$ptrInt; //@line 1552 "../src/h264bsd_reconstruct.c"
 var $436=HEAP32[(($435)>>2)]; //@line 1552 "../src/h264bsd_reconstruct.c"
 $tmp7=$436; //@line 1552 "../src/h264bsd_reconstruct.c"
 var $437=$tmp1; //@line 1553 "../src/h264bsd_reconstruct.c"
 var $438=$tmp6; //@line 1553 "../src/h264bsd_reconstruct.c"
 var $439=((($438)+($437))|0); //@line 1553 "../src/h264bsd_reconstruct.c"
 $tmp6=$439; //@line 1553 "../src/h264bsd_reconstruct.c"
 var $440=$tmp6; //@line 1554 "../src/h264bsd_reconstruct.c"
 var $441=$440>>10; //@line 1554 "../src/h264bsd_reconstruct.c"
 var $442=$clp; //@line 1554 "../src/h264bsd_reconstruct.c"
 var $443=(($442+$441)|0); //@line 1554 "../src/h264bsd_reconstruct.c"
 var $444=HEAP8[($443)]; //@line 1554 "../src/h264bsd_reconstruct.c"
 var $445=($444&255); //@line 1554 "../src/h264bsd_reconstruct.c"
 $tmp6=$445; //@line 1554 "../src/h264bsd_reconstruct.c"
 var $446=$tmp7; //@line 1555 "../src/h264bsd_reconstruct.c"
 var $447=((($446)+(16))|0); //@line 1555 "../src/h264bsd_reconstruct.c"
 $tmp7=$447; //@line 1555 "../src/h264bsd_reconstruct.c"
 var $448=$tmp7; //@line 1556 "../src/h264bsd_reconstruct.c"
 var $449=$448>>5; //@line 1556 "../src/h264bsd_reconstruct.c"
 var $450=$clp; //@line 1556 "../src/h264bsd_reconstruct.c"
 var $451=(($450+$449)|0); //@line 1556 "../src/h264bsd_reconstruct.c"
 var $452=HEAP8[($451)]; //@line 1556 "../src/h264bsd_reconstruct.c"
 var $453=($452&255); //@line 1556 "../src/h264bsd_reconstruct.c"
 $tmp7=$453; //@line 1556 "../src/h264bsd_reconstruct.c"
 var $454=$tmp5; //@line 1557 "../src/h264bsd_reconstruct.c"
 var $455=((($454)+(512))|0); //@line 1557 "../src/h264bsd_reconstruct.c"
 $tmp5=$455; //@line 1557 "../src/h264bsd_reconstruct.c"
 var $456=$tmp6; //@line 1558 "../src/h264bsd_reconstruct.c"
 var $457=((($456)+(1))|0); //@line 1558 "../src/h264bsd_reconstruct.c"
 $tmp6=$457; //@line 1558 "../src/h264bsd_reconstruct.c"
 var $458=$tmp7; //@line 1559 "../src/h264bsd_reconstruct.c"
 var $459=$tmp6; //@line 1559 "../src/h264bsd_reconstruct.c"
 var $460=((($458)+($459))|0); //@line 1559 "../src/h264bsd_reconstruct.c"
 var $461=$460>>1; //@line 1559 "../src/h264bsd_reconstruct.c"
 var $462=(($461)&255); //@line 1559 "../src/h264bsd_reconstruct.c"
 var $463=$2; //@line 1559 "../src/h264bsd_reconstruct.c"
 var $464=(($463+16)|0); //@line 1559 "../src/h264bsd_reconstruct.c"
 HEAP8[($464)]=$462; //@line 1559 "../src/h264bsd_reconstruct.c"
 var $465=$7; //@line 1561 "../src/h264bsd_reconstruct.c"
 var $466=(((-$465))|0); //@line 1561 "../src/h264bsd_reconstruct.c"
 var $467=$ptrC; //@line 1561 "../src/h264bsd_reconstruct.c"
 var $468=(($467+($466<<2))|0); //@line 1561 "../src/h264bsd_reconstruct.c"
 var $469=HEAP32[(($468)>>2)]; //@line 1561 "../src/h264bsd_reconstruct.c"
 $tmp6=$469; //@line 1561 "../src/h264bsd_reconstruct.c"
 var $470=$tmp4; //@line 1562 "../src/h264bsd_reconstruct.c"
 var $471=$tmp1; //@line 1562 "../src/h264bsd_reconstruct.c"
 var $472=((($471)+($470))|0); //@line 1562 "../src/h264bsd_reconstruct.c"
 $tmp1=$472; //@line 1562 "../src/h264bsd_reconstruct.c"
 var $473=$tmp1; //@line 1563 "../src/h264bsd_reconstruct.c"
 var $474=$473<<2; //@line 1563 "../src/h264bsd_reconstruct.c"
 var $475=$tmp5; //@line 1563 "../src/h264bsd_reconstruct.c"
 var $476=((($475)-($474))|0); //@line 1563 "../src/h264bsd_reconstruct.c"
 $tmp5=$476; //@line 1563 "../src/h264bsd_reconstruct.c"
 var $477=$tmp1; //@line 1564 "../src/h264bsd_reconstruct.c"
 var $478=$tmp5; //@line 1564 "../src/h264bsd_reconstruct.c"
 var $479=((($478)-($477))|0); //@line 1564 "../src/h264bsd_reconstruct.c"
 $tmp5=$479; //@line 1564 "../src/h264bsd_reconstruct.c"
 var $480=$tmp2; //@line 1565 "../src/h264bsd_reconstruct.c"
 var $481=$tmp3; //@line 1565 "../src/h264bsd_reconstruct.c"
 var $482=((($481)+($480))|0); //@line 1565 "../src/h264bsd_reconstruct.c"
 $tmp3=$482; //@line 1565 "../src/h264bsd_reconstruct.c"
 var $483=$tmp3; //@line 1566 "../src/h264bsd_reconstruct.c"
 var $484=$483<<4; //@line 1566 "../src/h264bsd_reconstruct.c"
 var $485=$tmp5; //@line 1566 "../src/h264bsd_reconstruct.c"
 var $486=((($485)+($484))|0); //@line 1566 "../src/h264bsd_reconstruct.c"
 $tmp5=$486; //@line 1566 "../src/h264bsd_reconstruct.c"
 var $487=$tmp3; //@line 1567 "../src/h264bsd_reconstruct.c"
 var $488=$487<<2; //@line 1567 "../src/h264bsd_reconstruct.c"
 var $489=$tmp5; //@line 1567 "../src/h264bsd_reconstruct.c"
 var $490=((($489)+($488))|0); //@line 1567 "../src/h264bsd_reconstruct.c"
 $tmp5=$490; //@line 1567 "../src/h264bsd_reconstruct.c"
 var $491=$7; //@line 1568 "../src/h264bsd_reconstruct.c"
 var $492=(((-$491))|0); //@line 1568 "../src/h264bsd_reconstruct.c"
 var $493=$ptrInt; //@line 1568 "../src/h264bsd_reconstruct.c"
 var $494=(($493+($492<<2))|0); //@line 1568 "../src/h264bsd_reconstruct.c"
 var $495=HEAP32[(($494)>>2)]; //@line 1568 "../src/h264bsd_reconstruct.c"
 $tmp7=$495; //@line 1568 "../src/h264bsd_reconstruct.c"
 var $496=$tmp6; //@line 1569 "../src/h264bsd_reconstruct.c"
 var $497=$tmp5; //@line 1569 "../src/h264bsd_reconstruct.c"
 var $498=((($497)+($496))|0); //@line 1569 "../src/h264bsd_reconstruct.c"
 $tmp5=$498; //@line 1569 "../src/h264bsd_reconstruct.c"
 var $499=$tmp5; //@line 1570 "../src/h264bsd_reconstruct.c"
 var $500=$499>>10; //@line 1570 "../src/h264bsd_reconstruct.c"
 var $501=$clp; //@line 1570 "../src/h264bsd_reconstruct.c"
 var $502=(($501+$500)|0); //@line 1570 "../src/h264bsd_reconstruct.c"
 var $503=HEAP8[($502)]; //@line 1570 "../src/h264bsd_reconstruct.c"
 var $504=($503&255); //@line 1570 "../src/h264bsd_reconstruct.c"
 $tmp5=$504; //@line 1570 "../src/h264bsd_reconstruct.c"
 var $505=$tmp7; //@line 1571 "../src/h264bsd_reconstruct.c"
 var $506=((($505)+(16))|0); //@line 1571 "../src/h264bsd_reconstruct.c"
 $tmp7=$506; //@line 1571 "../src/h264bsd_reconstruct.c"
 var $507=$tmp7; //@line 1572 "../src/h264bsd_reconstruct.c"
 var $508=$507>>5; //@line 1572 "../src/h264bsd_reconstruct.c"
 var $509=$clp; //@line 1572 "../src/h264bsd_reconstruct.c"
 var $510=(($509+$508)|0); //@line 1572 "../src/h264bsd_reconstruct.c"
 var $511=HEAP8[($510)]; //@line 1572 "../src/h264bsd_reconstruct.c"
 var $512=($511&255); //@line 1572 "../src/h264bsd_reconstruct.c"
 $tmp7=$512; //@line 1572 "../src/h264bsd_reconstruct.c"
 var $513=$tmp5; //@line 1573 "../src/h264bsd_reconstruct.c"
 var $514=((($513)+(1))|0); //@line 1573 "../src/h264bsd_reconstruct.c"
 $tmp5=$514; //@line 1573 "../src/h264bsd_reconstruct.c"
 var $515=$tmp7; //@line 1574 "../src/h264bsd_reconstruct.c"
 var $516=$tmp5; //@line 1574 "../src/h264bsd_reconstruct.c"
 var $517=((($515)+($516))|0); //@line 1574 "../src/h264bsd_reconstruct.c"
 var $518=$517>>1; //@line 1574 "../src/h264bsd_reconstruct.c"
 var $519=(($518)&255); //@line 1574 "../src/h264bsd_reconstruct.c"
 var $520=$2; //@line 1574 "../src/h264bsd_reconstruct.c"
 var $521=(($520+1)|0); //@line 1574 "../src/h264bsd_reconstruct.c"
 $2=$521; //@line 1574 "../src/h264bsd_reconstruct.c"
 HEAP8[($520)]=$519; //@line 1574 "../src/h264bsd_reconstruct.c"
 var $522=$ptrC; //@line 1575 "../src/h264bsd_reconstruct.c"
 var $523=(($522+4)|0); //@line 1575 "../src/h264bsd_reconstruct.c"
 $ptrC=$523; //@line 1575 "../src/h264bsd_reconstruct.c"
 var $524=$ptrInt; //@line 1576 "../src/h264bsd_reconstruct.c"
 var $525=(($524+4)|0); //@line 1576 "../src/h264bsd_reconstruct.c"
 $ptrInt=$525; //@line 1576 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 1577 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $527=$x; //@line 1504 "../src/h264bsd_reconstruct.c"
 var $528=((($527)-(1))|0); //@line 1504 "../src/h264bsd_reconstruct.c"
 $x=$528; //@line 1504 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1504 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $530=$7; //@line 1578 "../src/h264bsd_reconstruct.c"
 var $531=(((64)-($530))|0); //@line 1578 "../src/h264bsd_reconstruct.c"
 var $532=$2; //@line 1578 "../src/h264bsd_reconstruct.c"
 var $533=(($532+$531)|0); //@line 1578 "../src/h264bsd_reconstruct.c"
 $2=$533; //@line 1578 "../src/h264bsd_reconstruct.c"
 var $534=$7; //@line 1579 "../src/h264bsd_reconstruct.c"
 var $535=((($534)*(3))&-1); //@line 1579 "../src/h264bsd_reconstruct.c"
 var $536=$ptrC; //@line 1579 "../src/h264bsd_reconstruct.c"
 var $537=(($536+($535<<2))|0); //@line 1579 "../src/h264bsd_reconstruct.c"
 $ptrC=$537; //@line 1579 "../src/h264bsd_reconstruct.c"
 var $538=$7; //@line 1580 "../src/h264bsd_reconstruct.c"
 var $539=((($538)*(3))&-1); //@line 1580 "../src/h264bsd_reconstruct.c"
 var $540=$ptrV; //@line 1580 "../src/h264bsd_reconstruct.c"
 var $541=(($540+($539<<2))|0); //@line 1580 "../src/h264bsd_reconstruct.c"
 $ptrV=$541; //@line 1580 "../src/h264bsd_reconstruct.c"
 var $542=$7; //@line 1581 "../src/h264bsd_reconstruct.c"
 var $543=((($542)*(3))&-1); //@line 1581 "../src/h264bsd_reconstruct.c"
 var $544=$ptrInt; //@line 1581 "../src/h264bsd_reconstruct.c"
 var $545=(($544+($543<<2))|0); //@line 1581 "../src/h264bsd_reconstruct.c"
 $ptrInt=$545; //@line 1581 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 1582 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $547=$y; //@line 1502 "../src/h264bsd_reconstruct.c"
 var $548=((($547)-(1))|0); //@line 1502 "../src/h264bsd_reconstruct.c"
 $y=$548; //@line 1502 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1502 "../src/h264bsd_reconstruct.c"
 case 26: 
 STACKTOP=sp;return; //@line 1584 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInterpolateMidHorQuarter($ref,$mb,$x0,$y0,$width,$height,$partWidth,$partHeight,$horOffset){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+1792)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $p1=sp;
 var $x;
 var $y;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $tmp4;
 var $tmp5;
 var $tmp6;
 var $tmp7;
 var $ptrJ;
 var $ptrInt;
 var $h1;
 var $ptrC;
 var $ptrV;
 var $table=(sp)+(448);
 var $tableWidth;
 var $clp;
 $1=$ref;
 $2=$mb;
 $3=$x0;
 $4=$y0;
 $5=$width;
 $6=$height;
 $7=$partWidth;
 $8=$partHeight;
 $9=$horOffset;
 var $10=$7; //@line 1616 "../src/h264bsd_reconstruct.c"
 var $11=((($10)+(5))|0); //@line 1616 "../src/h264bsd_reconstruct.c"
 $tableWidth=$11; //@line 1616 "../src/h264bsd_reconstruct.c"
 $clp=1872; //@line 1617 "../src/h264bsd_reconstruct.c"
 var $12=$1; //@line 1621 "../src/h264bsd_reconstruct.c"
 var $13=($12|0)!=0; //@line 1621 "../src/h264bsd_reconstruct.c"
 if($13){var $17=0;label=3;break;}else{label=2;break;} //@line 1621 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,1621,13496); //@line 1621 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1621 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 1621 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $17;
 var $18=($17&1); //@line 1621 "../src/h264bsd_reconstruct.c"
 var $19=$2; //@line 1622 "../src/h264bsd_reconstruct.c"
 var $20=($19|0)!=0; //@line 1622 "../src/h264bsd_reconstruct.c"
 if($20){var $24=1;label=5;break;}else{label=4;break;} //@line 1622 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(5024,11560,1622,13496); //@line 1622 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1622 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 1622 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $24;
 var $25=($24&1); //@line 1622 "../src/h264bsd_reconstruct.c"
 var $26=$3; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $27=($26|0)<0; //@line 1624 "../src/h264bsd_reconstruct.c"
 if($27){label=9;break;}else{label=6;break;} //@line 1624 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $29=$3; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $30=$7; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $31=((($29)+($30))|0); //@line 1624 "../src/h264bsd_reconstruct.c"
 var $32=((($31)+(5))|0); //@line 1624 "../src/h264bsd_reconstruct.c"
 var $33=$5; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $34=($32>>>0)>($33>>>0); //@line 1624 "../src/h264bsd_reconstruct.c"
 if($34){label=9;break;}else{label=7;break;} //@line 1624 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $36=$4; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $37=($36|0)<0; //@line 1624 "../src/h264bsd_reconstruct.c"
 if($37){label=9;break;}else{label=8;break;} //@line 1624 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $39=$4; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $40=$8; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $41=((($39)+($40))|0); //@line 1624 "../src/h264bsd_reconstruct.c"
 var $42=((($41)+(5))|0); //@line 1624 "../src/h264bsd_reconstruct.c"
 var $43=$6; //@line 1624 "../src/h264bsd_reconstruct.c"
 var $44=($42>>>0)>($43>>>0); //@line 1624 "../src/h264bsd_reconstruct.c"
 if($44){label=9;break;}else{label=10;break;} //@line 1624 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $46=$1; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $47=(($p1)|0); //@line 1627 "../src/h264bsd_reconstruct.c"
 var $48=$47; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $49=$3; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $50=$4; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $51=$5; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $52=$6; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $53=$7; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $54=((($53)+(5))|0); //@line 1627 "../src/h264bsd_reconstruct.c"
 var $55=$8; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $56=((($55)+(5))|0); //@line 1627 "../src/h264bsd_reconstruct.c"
 var $57=$7; //@line 1627 "../src/h264bsd_reconstruct.c"
 var $58=((($57)+(5))|0); //@line 1627 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($46,$48,$49,$50,$51,$52,$54,$56,$58); //@line 1627 "../src/h264bsd_reconstruct.c"
 $3=0; //@line 1630 "../src/h264bsd_reconstruct.c"
 $4=0; //@line 1631 "../src/h264bsd_reconstruct.c"
 var $59=(($p1)|0); //@line 1632 "../src/h264bsd_reconstruct.c"
 var $60=$59; //@line 1632 "../src/h264bsd_reconstruct.c"
 $1=$60; //@line 1632 "../src/h264bsd_reconstruct.c"
 var $61=$7; //@line 1633 "../src/h264bsd_reconstruct.c"
 var $62=((($61)+(5))|0); //@line 1633 "../src/h264bsd_reconstruct.c"
 $5=$62; //@line 1633 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 1634 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $64=$4; //@line 1636 "../src/h264bsd_reconstruct.c"
 var $65=$5; //@line 1636 "../src/h264bsd_reconstruct.c"
 var $66=(Math_imul($64,$65)|0); //@line 1636 "../src/h264bsd_reconstruct.c"
 var $67=$3; //@line 1636 "../src/h264bsd_reconstruct.c"
 var $68=((($66)+($67))|0); //@line 1636 "../src/h264bsd_reconstruct.c"
 var $69=$1; //@line 1636 "../src/h264bsd_reconstruct.c"
 var $70=(($69+$68)|0); //@line 1636 "../src/h264bsd_reconstruct.c"
 $1=$70; //@line 1636 "../src/h264bsd_reconstruct.c"
 var $71=(($table)|0); //@line 1638 "../src/h264bsd_reconstruct.c"
 var $72=$tableWidth; //@line 1638 "../src/h264bsd_reconstruct.c"
 var $73=(($71+($72<<2))|0); //@line 1638 "../src/h264bsd_reconstruct.c"
 $h1=$73; //@line 1638 "../src/h264bsd_reconstruct.c"
 var $74=$1; //@line 1639 "../src/h264bsd_reconstruct.c"
 var $75=$5; //@line 1639 "../src/h264bsd_reconstruct.c"
 var $76=(($74+$75)|0); //@line 1639 "../src/h264bsd_reconstruct.c"
 $ptrC=$76; //@line 1639 "../src/h264bsd_reconstruct.c"
 var $77=$ptrC; //@line 1640 "../src/h264bsd_reconstruct.c"
 var $78=$5; //@line 1640 "../src/h264bsd_reconstruct.c"
 var $79=((($78)*(5))&-1); //@line 1640 "../src/h264bsd_reconstruct.c"
 var $80=(($77+$79)|0); //@line 1640 "../src/h264bsd_reconstruct.c"
 $ptrV=$80; //@line 1640 "../src/h264bsd_reconstruct.c"
 var $81=$8; //@line 1644 "../src/h264bsd_reconstruct.c"
 var $82=$81>>>2; //@line 1644 "../src/h264bsd_reconstruct.c"
 $y=$82; //@line 1644 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1644 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $84=$y; //@line 1644 "../src/h264bsd_reconstruct.c"
 var $85=($84|0)!=0; //@line 1644 "../src/h264bsd_reconstruct.c"
 if($85){label=12;break;}else{label=18;break;} //@line 1644 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $87=$tableWidth; //@line 1646 "../src/h264bsd_reconstruct.c"
 $x=$87; //@line 1646 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1646 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $89=$x; //@line 1646 "../src/h264bsd_reconstruct.c"
 var $90=($89|0)!=0; //@line 1646 "../src/h264bsd_reconstruct.c"
 if($90){label=14;break;}else{label=16;break;} //@line 1646 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $92=$5; //@line 1648 "../src/h264bsd_reconstruct.c"
 var $93=(((-$92))|0); //@line 1648 "../src/h264bsd_reconstruct.c"
 var $94=($93<<1); //@line 1648 "../src/h264bsd_reconstruct.c"
 var $95=$ptrV; //@line 1648 "../src/h264bsd_reconstruct.c"
 var $96=(($95+$94)|0); //@line 1648 "../src/h264bsd_reconstruct.c"
 var $97=HEAP8[($96)]; //@line 1648 "../src/h264bsd_reconstruct.c"
 var $98=($97&255); //@line 1648 "../src/h264bsd_reconstruct.c"
 $tmp4=$98; //@line 1648 "../src/h264bsd_reconstruct.c"
 var $99=$5; //@line 1649 "../src/h264bsd_reconstruct.c"
 var $100=(((-$99))|0); //@line 1649 "../src/h264bsd_reconstruct.c"
 var $101=$ptrV; //@line 1649 "../src/h264bsd_reconstruct.c"
 var $102=(($101+$100)|0); //@line 1649 "../src/h264bsd_reconstruct.c"
 var $103=HEAP8[($102)]; //@line 1649 "../src/h264bsd_reconstruct.c"
 var $104=($103&255); //@line 1649 "../src/h264bsd_reconstruct.c"
 $tmp5=$104; //@line 1649 "../src/h264bsd_reconstruct.c"
 var $105=$5; //@line 1650 "../src/h264bsd_reconstruct.c"
 var $106=$ptrV; //@line 1650 "../src/h264bsd_reconstruct.c"
 var $107=(($106+$105)|0); //@line 1650 "../src/h264bsd_reconstruct.c"
 var $108=HEAP8[($107)]; //@line 1650 "../src/h264bsd_reconstruct.c"
 var $109=($108&255); //@line 1650 "../src/h264bsd_reconstruct.c"
 $tmp1=$109; //@line 1650 "../src/h264bsd_reconstruct.c"
 var $110=$5; //@line 1651 "../src/h264bsd_reconstruct.c"
 var $111=($110<<1); //@line 1651 "../src/h264bsd_reconstruct.c"
 var $112=$ptrV; //@line 1651 "../src/h264bsd_reconstruct.c"
 var $113=(($112+$111)|0); //@line 1651 "../src/h264bsd_reconstruct.c"
 var $114=HEAP8[($113)]; //@line 1651 "../src/h264bsd_reconstruct.c"
 var $115=($114&255); //@line 1651 "../src/h264bsd_reconstruct.c"
 $tmp2=$115; //@line 1651 "../src/h264bsd_reconstruct.c"
 var $116=$ptrV; //@line 1652 "../src/h264bsd_reconstruct.c"
 var $117=(($116+1)|0); //@line 1652 "../src/h264bsd_reconstruct.c"
 $ptrV=$117; //@line 1652 "../src/h264bsd_reconstruct.c"
 var $118=HEAP8[($116)]; //@line 1652 "../src/h264bsd_reconstruct.c"
 var $119=($118&255); //@line 1652 "../src/h264bsd_reconstruct.c"
 $tmp6=$119; //@line 1652 "../src/h264bsd_reconstruct.c"
 var $120=$tmp4; //@line 1654 "../src/h264bsd_reconstruct.c"
 var $121=$tmp1; //@line 1654 "../src/h264bsd_reconstruct.c"
 var $122=((($120)+($121))|0); //@line 1654 "../src/h264bsd_reconstruct.c"
 $tmp7=$122; //@line 1654 "../src/h264bsd_reconstruct.c"
 var $123=$tmp7; //@line 1655 "../src/h264bsd_reconstruct.c"
 var $124=$123<<2; //@line 1655 "../src/h264bsd_reconstruct.c"
 var $125=$tmp2; //@line 1655 "../src/h264bsd_reconstruct.c"
 var $126=((($125)-($124))|0); //@line 1655 "../src/h264bsd_reconstruct.c"
 $tmp2=$126; //@line 1655 "../src/h264bsd_reconstruct.c"
 var $127=$tmp7; //@line 1656 "../src/h264bsd_reconstruct.c"
 var $128=$tmp2; //@line 1656 "../src/h264bsd_reconstruct.c"
 var $129=((($128)-($127))|0); //@line 1656 "../src/h264bsd_reconstruct.c"
 $tmp2=$129; //@line 1656 "../src/h264bsd_reconstruct.c"
 var $130=$tmp5; //@line 1657 "../src/h264bsd_reconstruct.c"
 var $131=$tmp6; //@line 1657 "../src/h264bsd_reconstruct.c"
 var $132=((($130)+($131))|0); //@line 1657 "../src/h264bsd_reconstruct.c"
 $tmp7=$132; //@line 1657 "../src/h264bsd_reconstruct.c"
 var $133=$5; //@line 1658 "../src/h264bsd_reconstruct.c"
 var $134=($133<<1); //@line 1658 "../src/h264bsd_reconstruct.c"
 var $135=$ptrC; //@line 1658 "../src/h264bsd_reconstruct.c"
 var $136=(($135+$134)|0); //@line 1658 "../src/h264bsd_reconstruct.c"
 var $137=HEAP8[($136)]; //@line 1658 "../src/h264bsd_reconstruct.c"
 var $138=($137&255); //@line 1658 "../src/h264bsd_reconstruct.c"
 $tmp3=$138; //@line 1658 "../src/h264bsd_reconstruct.c"
 var $139=$tmp7; //@line 1659 "../src/h264bsd_reconstruct.c"
 var $140=$139<<4; //@line 1659 "../src/h264bsd_reconstruct.c"
 var $141=$tmp2; //@line 1659 "../src/h264bsd_reconstruct.c"
 var $142=((($141)+($140))|0); //@line 1659 "../src/h264bsd_reconstruct.c"
 $tmp2=$142; //@line 1659 "../src/h264bsd_reconstruct.c"
 var $143=$tmp7; //@line 1660 "../src/h264bsd_reconstruct.c"
 var $144=$143<<2; //@line 1660 "../src/h264bsd_reconstruct.c"
 var $145=$tmp2; //@line 1660 "../src/h264bsd_reconstruct.c"
 var $146=((($145)+($144))|0); //@line 1660 "../src/h264bsd_reconstruct.c"
 $tmp2=$146; //@line 1660 "../src/h264bsd_reconstruct.c"
 var $147=$tmp3; //@line 1661 "../src/h264bsd_reconstruct.c"
 var $148=$tmp2; //@line 1661 "../src/h264bsd_reconstruct.c"
 var $149=((($148)+($147))|0); //@line 1661 "../src/h264bsd_reconstruct.c"
 $tmp2=$149; //@line 1661 "../src/h264bsd_reconstruct.c"
 var $150=$tmp2; //@line 1662 "../src/h264bsd_reconstruct.c"
 var $151=$tableWidth; //@line 1662 "../src/h264bsd_reconstruct.c"
 var $152=($151<<1); //@line 1662 "../src/h264bsd_reconstruct.c"
 var $153=$h1; //@line 1662 "../src/h264bsd_reconstruct.c"
 var $154=(($153+($152<<2))|0); //@line 1662 "../src/h264bsd_reconstruct.c"
 HEAP32[(($154)>>2)]=$150; //@line 1662 "../src/h264bsd_reconstruct.c"
 var $155=$tmp3; //@line 1664 "../src/h264bsd_reconstruct.c"
 var $156=$tmp6; //@line 1664 "../src/h264bsd_reconstruct.c"
 var $157=((($155)+($156))|0); //@line 1664 "../src/h264bsd_reconstruct.c"
 $tmp7=$157; //@line 1664 "../src/h264bsd_reconstruct.c"
 var $158=$tmp7; //@line 1665 "../src/h264bsd_reconstruct.c"
 var $159=$158<<2; //@line 1665 "../src/h264bsd_reconstruct.c"
 var $160=$tmp1; //@line 1665 "../src/h264bsd_reconstruct.c"
 var $161=((($160)-($159))|0); //@line 1665 "../src/h264bsd_reconstruct.c"
 $tmp1=$161; //@line 1665 "../src/h264bsd_reconstruct.c"
 var $162=$tmp7; //@line 1666 "../src/h264bsd_reconstruct.c"
 var $163=$tmp1; //@line 1666 "../src/h264bsd_reconstruct.c"
 var $164=((($163)-($162))|0); //@line 1666 "../src/h264bsd_reconstruct.c"
 $tmp1=$164; //@line 1666 "../src/h264bsd_reconstruct.c"
 var $165=$tmp4; //@line 1667 "../src/h264bsd_reconstruct.c"
 var $166=$tmp5; //@line 1667 "../src/h264bsd_reconstruct.c"
 var $167=((($165)+($166))|0); //@line 1667 "../src/h264bsd_reconstruct.c"
 $tmp7=$167; //@line 1667 "../src/h264bsd_reconstruct.c"
 var $168=$5; //@line 1668 "../src/h264bsd_reconstruct.c"
 var $169=$ptrC; //@line 1668 "../src/h264bsd_reconstruct.c"
 var $170=(($169+$168)|0); //@line 1668 "../src/h264bsd_reconstruct.c"
 var $171=HEAP8[($170)]; //@line 1668 "../src/h264bsd_reconstruct.c"
 var $172=($171&255); //@line 1668 "../src/h264bsd_reconstruct.c"
 $tmp2=$172; //@line 1668 "../src/h264bsd_reconstruct.c"
 var $173=$tmp7; //@line 1669 "../src/h264bsd_reconstruct.c"
 var $174=$173<<4; //@line 1669 "../src/h264bsd_reconstruct.c"
 var $175=$tmp1; //@line 1669 "../src/h264bsd_reconstruct.c"
 var $176=((($175)+($174))|0); //@line 1669 "../src/h264bsd_reconstruct.c"
 $tmp1=$176; //@line 1669 "../src/h264bsd_reconstruct.c"
 var $177=$tmp7; //@line 1670 "../src/h264bsd_reconstruct.c"
 var $178=$177<<2; //@line 1670 "../src/h264bsd_reconstruct.c"
 var $179=$tmp1; //@line 1670 "../src/h264bsd_reconstruct.c"
 var $180=((($179)+($178))|0); //@line 1670 "../src/h264bsd_reconstruct.c"
 $tmp1=$180; //@line 1670 "../src/h264bsd_reconstruct.c"
 var $181=$tmp2; //@line 1671 "../src/h264bsd_reconstruct.c"
 var $182=$tmp1; //@line 1671 "../src/h264bsd_reconstruct.c"
 var $183=((($182)+($181))|0); //@line 1671 "../src/h264bsd_reconstruct.c"
 $tmp1=$183; //@line 1671 "../src/h264bsd_reconstruct.c"
 var $184=$tmp1; //@line 1672 "../src/h264bsd_reconstruct.c"
 var $185=$tableWidth; //@line 1672 "../src/h264bsd_reconstruct.c"
 var $186=$h1; //@line 1672 "../src/h264bsd_reconstruct.c"
 var $187=(($186+($185<<2))|0); //@line 1672 "../src/h264bsd_reconstruct.c"
 HEAP32[(($187)>>2)]=$184; //@line 1672 "../src/h264bsd_reconstruct.c"
 var $188=$ptrC; //@line 1674 "../src/h264bsd_reconstruct.c"
 var $189=HEAP8[($188)]; //@line 1674 "../src/h264bsd_reconstruct.c"
 var $190=($189&255); //@line 1674 "../src/h264bsd_reconstruct.c"
 $tmp1=$190; //@line 1674 "../src/h264bsd_reconstruct.c"
 var $191=$tmp2; //@line 1675 "../src/h264bsd_reconstruct.c"
 var $192=$tmp5; //@line 1675 "../src/h264bsd_reconstruct.c"
 var $193=((($191)+($192))|0); //@line 1675 "../src/h264bsd_reconstruct.c"
 $tmp7=$193; //@line 1675 "../src/h264bsd_reconstruct.c"
 var $194=$tmp7; //@line 1676 "../src/h264bsd_reconstruct.c"
 var $195=$194<<2; //@line 1676 "../src/h264bsd_reconstruct.c"
 var $196=$tmp6; //@line 1676 "../src/h264bsd_reconstruct.c"
 var $197=((($196)-($195))|0); //@line 1676 "../src/h264bsd_reconstruct.c"
 $tmp6=$197; //@line 1676 "../src/h264bsd_reconstruct.c"
 var $198=$tmp7; //@line 1677 "../src/h264bsd_reconstruct.c"
 var $199=$tmp6; //@line 1677 "../src/h264bsd_reconstruct.c"
 var $200=((($199)-($198))|0); //@line 1677 "../src/h264bsd_reconstruct.c"
 $tmp6=$200; //@line 1677 "../src/h264bsd_reconstruct.c"
 var $201=$tmp4; //@line 1678 "../src/h264bsd_reconstruct.c"
 var $202=$tmp3; //@line 1678 "../src/h264bsd_reconstruct.c"
 var $203=((($201)+($202))|0); //@line 1678 "../src/h264bsd_reconstruct.c"
 $tmp7=$203; //@line 1678 "../src/h264bsd_reconstruct.c"
 var $204=$tmp7; //@line 1679 "../src/h264bsd_reconstruct.c"
 var $205=$204<<4; //@line 1679 "../src/h264bsd_reconstruct.c"
 var $206=$tmp6; //@line 1679 "../src/h264bsd_reconstruct.c"
 var $207=((($206)+($205))|0); //@line 1679 "../src/h264bsd_reconstruct.c"
 $tmp6=$207; //@line 1679 "../src/h264bsd_reconstruct.c"
 var $208=$tmp7; //@line 1680 "../src/h264bsd_reconstruct.c"
 var $209=$208<<2; //@line 1680 "../src/h264bsd_reconstruct.c"
 var $210=$tmp6; //@line 1680 "../src/h264bsd_reconstruct.c"
 var $211=((($210)+($209))|0); //@line 1680 "../src/h264bsd_reconstruct.c"
 $tmp6=$211; //@line 1680 "../src/h264bsd_reconstruct.c"
 var $212=$tmp1; //@line 1681 "../src/h264bsd_reconstruct.c"
 var $213=$tmp6; //@line 1681 "../src/h264bsd_reconstruct.c"
 var $214=((($213)+($212))|0); //@line 1681 "../src/h264bsd_reconstruct.c"
 $tmp6=$214; //@line 1681 "../src/h264bsd_reconstruct.c"
 var $215=$tmp6; //@line 1682 "../src/h264bsd_reconstruct.c"
 var $216=$h1; //@line 1682 "../src/h264bsd_reconstruct.c"
 HEAP32[(($216)>>2)]=$215; //@line 1682 "../src/h264bsd_reconstruct.c"
 var $217=$5; //@line 1684 "../src/h264bsd_reconstruct.c"
 var $218=(((-$217))|0); //@line 1684 "../src/h264bsd_reconstruct.c"
 var $219=$ptrC; //@line 1684 "../src/h264bsd_reconstruct.c"
 var $220=(($219+$218)|0); //@line 1684 "../src/h264bsd_reconstruct.c"
 var $221=HEAP8[($220)]; //@line 1684 "../src/h264bsd_reconstruct.c"
 var $222=($221&255); //@line 1684 "../src/h264bsd_reconstruct.c"
 $tmp6=$222; //@line 1684 "../src/h264bsd_reconstruct.c"
 var $223=$tmp4; //@line 1685 "../src/h264bsd_reconstruct.c"
 var $224=$tmp1; //@line 1685 "../src/h264bsd_reconstruct.c"
 var $225=((($224)+($223))|0); //@line 1685 "../src/h264bsd_reconstruct.c"
 $tmp1=$225; //@line 1685 "../src/h264bsd_reconstruct.c"
 var $226=$tmp1; //@line 1686 "../src/h264bsd_reconstruct.c"
 var $227=$226<<2; //@line 1686 "../src/h264bsd_reconstruct.c"
 var $228=$tmp5; //@line 1686 "../src/h264bsd_reconstruct.c"
 var $229=((($228)-($227))|0); //@line 1686 "../src/h264bsd_reconstruct.c"
 $tmp5=$229; //@line 1686 "../src/h264bsd_reconstruct.c"
 var $230=$tmp1; //@line 1687 "../src/h264bsd_reconstruct.c"
 var $231=$tmp5; //@line 1687 "../src/h264bsd_reconstruct.c"
 var $232=((($231)-($230))|0); //@line 1687 "../src/h264bsd_reconstruct.c"
 $tmp5=$232; //@line 1687 "../src/h264bsd_reconstruct.c"
 var $233=$tmp2; //@line 1688 "../src/h264bsd_reconstruct.c"
 var $234=$tmp3; //@line 1688 "../src/h264bsd_reconstruct.c"
 var $235=((($234)+($233))|0); //@line 1688 "../src/h264bsd_reconstruct.c"
 $tmp3=$235; //@line 1688 "../src/h264bsd_reconstruct.c"
 var $236=$tmp3; //@line 1689 "../src/h264bsd_reconstruct.c"
 var $237=$236<<4; //@line 1689 "../src/h264bsd_reconstruct.c"
 var $238=$tmp5; //@line 1689 "../src/h264bsd_reconstruct.c"
 var $239=((($238)+($237))|0); //@line 1689 "../src/h264bsd_reconstruct.c"
 $tmp5=$239; //@line 1689 "../src/h264bsd_reconstruct.c"
 var $240=$tmp3; //@line 1690 "../src/h264bsd_reconstruct.c"
 var $241=$240<<2; //@line 1690 "../src/h264bsd_reconstruct.c"
 var $242=$tmp5; //@line 1690 "../src/h264bsd_reconstruct.c"
 var $243=((($242)+($241))|0); //@line 1690 "../src/h264bsd_reconstruct.c"
 $tmp5=$243; //@line 1690 "../src/h264bsd_reconstruct.c"
 var $244=$tmp6; //@line 1691 "../src/h264bsd_reconstruct.c"
 var $245=$tmp5; //@line 1691 "../src/h264bsd_reconstruct.c"
 var $246=((($245)+($244))|0); //@line 1691 "../src/h264bsd_reconstruct.c"
 $tmp5=$246; //@line 1691 "../src/h264bsd_reconstruct.c"
 var $247=$tmp5; //@line 1692 "../src/h264bsd_reconstruct.c"
 var $248=$tableWidth; //@line 1692 "../src/h264bsd_reconstruct.c"
 var $249=(((-$248))|0); //@line 1692 "../src/h264bsd_reconstruct.c"
 var $250=$h1; //@line 1692 "../src/h264bsd_reconstruct.c"
 var $251=(($250+($249<<2))|0); //@line 1692 "../src/h264bsd_reconstruct.c"
 HEAP32[(($251)>>2)]=$247; //@line 1692 "../src/h264bsd_reconstruct.c"
 var $252=$h1; //@line 1693 "../src/h264bsd_reconstruct.c"
 var $253=(($252+4)|0); //@line 1693 "../src/h264bsd_reconstruct.c"
 $h1=$253; //@line 1693 "../src/h264bsd_reconstruct.c"
 var $254=$ptrC; //@line 1694 "../src/h264bsd_reconstruct.c"
 var $255=(($254+1)|0); //@line 1694 "../src/h264bsd_reconstruct.c"
 $ptrC=$255; //@line 1694 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 1695 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $257=$x; //@line 1646 "../src/h264bsd_reconstruct.c"
 var $258=((($257)-(1))|0); //@line 1646 "../src/h264bsd_reconstruct.c"
 $x=$258; //@line 1646 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1646 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $260=$5; //@line 1696 "../src/h264bsd_reconstruct.c"
 var $261=($260<<2); //@line 1696 "../src/h264bsd_reconstruct.c"
 var $262=$7; //@line 1696 "../src/h264bsd_reconstruct.c"
 var $263=((($261)-($262))|0); //@line 1696 "../src/h264bsd_reconstruct.c"
 var $264=((($263)-(5))|0); //@line 1696 "../src/h264bsd_reconstruct.c"
 var $265=$ptrC; //@line 1696 "../src/h264bsd_reconstruct.c"
 var $266=(($265+$264)|0); //@line 1696 "../src/h264bsd_reconstruct.c"
 $ptrC=$266; //@line 1696 "../src/h264bsd_reconstruct.c"
 var $267=$5; //@line 1697 "../src/h264bsd_reconstruct.c"
 var $268=($267<<2); //@line 1697 "../src/h264bsd_reconstruct.c"
 var $269=$7; //@line 1697 "../src/h264bsd_reconstruct.c"
 var $270=((($268)-($269))|0); //@line 1697 "../src/h264bsd_reconstruct.c"
 var $271=((($270)-(5))|0); //@line 1697 "../src/h264bsd_reconstruct.c"
 var $272=$ptrV; //@line 1697 "../src/h264bsd_reconstruct.c"
 var $273=(($272+$271)|0); //@line 1697 "../src/h264bsd_reconstruct.c"
 $ptrV=$273; //@line 1697 "../src/h264bsd_reconstruct.c"
 var $274=$tableWidth; //@line 1698 "../src/h264bsd_reconstruct.c"
 var $275=((($274)*(3))&-1); //@line 1698 "../src/h264bsd_reconstruct.c"
 var $276=$h1; //@line 1698 "../src/h264bsd_reconstruct.c"
 var $277=(($276+($275<<2))|0); //@line 1698 "../src/h264bsd_reconstruct.c"
 $h1=$277; //@line 1698 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 1699 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $279=$y; //@line 1644 "../src/h264bsd_reconstruct.c"
 var $280=((($279)-(1))|0); //@line 1644 "../src/h264bsd_reconstruct.c"
 $y=$280; //@line 1644 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1644 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $282=(($table)|0); //@line 1702 "../src/h264bsd_reconstruct.c"
 var $283=(($282+20)|0); //@line 1702 "../src/h264bsd_reconstruct.c"
 $ptrJ=$283; //@line 1702 "../src/h264bsd_reconstruct.c"
 var $284=(($table)|0); //@line 1704 "../src/h264bsd_reconstruct.c"
 var $285=(($284+8)|0); //@line 1704 "../src/h264bsd_reconstruct.c"
 var $286=$9; //@line 1704 "../src/h264bsd_reconstruct.c"
 var $287=(($285+($286<<2))|0); //@line 1704 "../src/h264bsd_reconstruct.c"
 $ptrInt=$287; //@line 1704 "../src/h264bsd_reconstruct.c"
 var $288=$8; //@line 1705 "../src/h264bsd_reconstruct.c"
 $y=$288; //@line 1705 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1705 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $290=$y; //@line 1705 "../src/h264bsd_reconstruct.c"
 var $291=($290|0)!=0; //@line 1705 "../src/h264bsd_reconstruct.c"
 if($291){label=20;break;}else{label=26;break;} //@line 1705 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $293=$ptrJ; //@line 1707 "../src/h264bsd_reconstruct.c"
 var $294=((($293)-(20))|0); //@line 1707 "../src/h264bsd_reconstruct.c"
 var $295=HEAP32[(($294)>>2)]; //@line 1707 "../src/h264bsd_reconstruct.c"
 $tmp6=$295; //@line 1707 "../src/h264bsd_reconstruct.c"
 var $296=$ptrJ; //@line 1708 "../src/h264bsd_reconstruct.c"
 var $297=((($296)-(16))|0); //@line 1708 "../src/h264bsd_reconstruct.c"
 var $298=HEAP32[(($297)>>2)]; //@line 1708 "../src/h264bsd_reconstruct.c"
 $tmp5=$298; //@line 1708 "../src/h264bsd_reconstruct.c"
 var $299=$ptrJ; //@line 1709 "../src/h264bsd_reconstruct.c"
 var $300=((($299)-(12))|0); //@line 1709 "../src/h264bsd_reconstruct.c"
 var $301=HEAP32[(($300)>>2)]; //@line 1709 "../src/h264bsd_reconstruct.c"
 $tmp4=$301; //@line 1709 "../src/h264bsd_reconstruct.c"
 var $302=$ptrJ; //@line 1710 "../src/h264bsd_reconstruct.c"
 var $303=((($302)-(8))|0); //@line 1710 "../src/h264bsd_reconstruct.c"
 var $304=HEAP32[(($303)>>2)]; //@line 1710 "../src/h264bsd_reconstruct.c"
 $tmp3=$304; //@line 1710 "../src/h264bsd_reconstruct.c"
 var $305=$ptrJ; //@line 1711 "../src/h264bsd_reconstruct.c"
 var $306=((($305)-(4))|0); //@line 1711 "../src/h264bsd_reconstruct.c"
 var $307=HEAP32[(($306)>>2)]; //@line 1711 "../src/h264bsd_reconstruct.c"
 $tmp2=$307; //@line 1711 "../src/h264bsd_reconstruct.c"
 var $308=$7; //@line 1712 "../src/h264bsd_reconstruct.c"
 var $309=$308>>>2; //@line 1712 "../src/h264bsd_reconstruct.c"
 $x=$309; //@line 1712 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1712 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $311=$x; //@line 1712 "../src/h264bsd_reconstruct.c"
 var $312=($311|0)!=0; //@line 1712 "../src/h264bsd_reconstruct.c"
 if($312){label=22;break;}else{label=24;break;} //@line 1712 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $314=$tmp6; //@line 1715 "../src/h264bsd_reconstruct.c"
 var $315=((($314)+(512))|0); //@line 1715 "../src/h264bsd_reconstruct.c"
 $tmp6=$315; //@line 1715 "../src/h264bsd_reconstruct.c"
 var $316=$tmp3; //@line 1716 "../src/h264bsd_reconstruct.c"
 var $317=$tmp4; //@line 1716 "../src/h264bsd_reconstruct.c"
 var $318=((($316)+($317))|0); //@line 1716 "../src/h264bsd_reconstruct.c"
 $tmp7=$318; //@line 1716 "../src/h264bsd_reconstruct.c"
 var $319=$tmp7; //@line 1717 "../src/h264bsd_reconstruct.c"
 var $320=$319<<4; //@line 1717 "../src/h264bsd_reconstruct.c"
 var $321=$tmp6; //@line 1717 "../src/h264bsd_reconstruct.c"
 var $322=((($321)+($320))|0); //@line 1717 "../src/h264bsd_reconstruct.c"
 $tmp6=$322; //@line 1717 "../src/h264bsd_reconstruct.c"
 var $323=$tmp7; //@line 1718 "../src/h264bsd_reconstruct.c"
 var $324=$323<<2; //@line 1718 "../src/h264bsd_reconstruct.c"
 var $325=$tmp6; //@line 1718 "../src/h264bsd_reconstruct.c"
 var $326=((($325)+($324))|0); //@line 1718 "../src/h264bsd_reconstruct.c"
 $tmp6=$326; //@line 1718 "../src/h264bsd_reconstruct.c"
 var $327=$tmp2; //@line 1719 "../src/h264bsd_reconstruct.c"
 var $328=$tmp5; //@line 1719 "../src/h264bsd_reconstruct.c"
 var $329=((($327)+($328))|0); //@line 1719 "../src/h264bsd_reconstruct.c"
 $tmp7=$329; //@line 1719 "../src/h264bsd_reconstruct.c"
 var $330=$ptrJ; //@line 1720 "../src/h264bsd_reconstruct.c"
 var $331=(($330+4)|0); //@line 1720 "../src/h264bsd_reconstruct.c"
 $ptrJ=$331; //@line 1720 "../src/h264bsd_reconstruct.c"
 var $332=HEAP32[(($330)>>2)]; //@line 1720 "../src/h264bsd_reconstruct.c"
 $tmp1=$332; //@line 1720 "../src/h264bsd_reconstruct.c"
 var $333=$tmp7; //@line 1721 "../src/h264bsd_reconstruct.c"
 var $334=$333<<2; //@line 1721 "../src/h264bsd_reconstruct.c"
 var $335=$tmp6; //@line 1721 "../src/h264bsd_reconstruct.c"
 var $336=((($335)-($334))|0); //@line 1721 "../src/h264bsd_reconstruct.c"
 $tmp6=$336; //@line 1721 "../src/h264bsd_reconstruct.c"
 var $337=$tmp7; //@line 1722 "../src/h264bsd_reconstruct.c"
 var $338=$tmp6; //@line 1722 "../src/h264bsd_reconstruct.c"
 var $339=((($338)-($337))|0); //@line 1722 "../src/h264bsd_reconstruct.c"
 $tmp6=$339; //@line 1722 "../src/h264bsd_reconstruct.c"
 var $340=$ptrInt; //@line 1723 "../src/h264bsd_reconstruct.c"
 var $341=(($340+4)|0); //@line 1723 "../src/h264bsd_reconstruct.c"
 $ptrInt=$341; //@line 1723 "../src/h264bsd_reconstruct.c"
 var $342=HEAP32[(($340)>>2)]; //@line 1723 "../src/h264bsd_reconstruct.c"
 $tmp7=$342; //@line 1723 "../src/h264bsd_reconstruct.c"
 var $343=$tmp1; //@line 1724 "../src/h264bsd_reconstruct.c"
 var $344=$tmp6; //@line 1724 "../src/h264bsd_reconstruct.c"
 var $345=((($344)+($343))|0); //@line 1724 "../src/h264bsd_reconstruct.c"
 $tmp6=$345; //@line 1724 "../src/h264bsd_reconstruct.c"
 var $346=$tmp6; //@line 1725 "../src/h264bsd_reconstruct.c"
 var $347=$346>>10; //@line 1725 "../src/h264bsd_reconstruct.c"
 var $348=$clp; //@line 1725 "../src/h264bsd_reconstruct.c"
 var $349=(($348+$347)|0); //@line 1725 "../src/h264bsd_reconstruct.c"
 var $350=HEAP8[($349)]; //@line 1725 "../src/h264bsd_reconstruct.c"
 var $351=($350&255); //@line 1725 "../src/h264bsd_reconstruct.c"
 $tmp6=$351; //@line 1725 "../src/h264bsd_reconstruct.c"
 var $352=$tmp7; //@line 1726 "../src/h264bsd_reconstruct.c"
 var $353=((($352)+(16))|0); //@line 1726 "../src/h264bsd_reconstruct.c"
 $tmp7=$353; //@line 1726 "../src/h264bsd_reconstruct.c"
 var $354=$tmp7; //@line 1727 "../src/h264bsd_reconstruct.c"
 var $355=$354>>5; //@line 1727 "../src/h264bsd_reconstruct.c"
 var $356=$clp; //@line 1727 "../src/h264bsd_reconstruct.c"
 var $357=(($356+$355)|0); //@line 1727 "../src/h264bsd_reconstruct.c"
 var $358=HEAP8[($357)]; //@line 1727 "../src/h264bsd_reconstruct.c"
 var $359=($358&255); //@line 1727 "../src/h264bsd_reconstruct.c"
 $tmp7=$359; //@line 1727 "../src/h264bsd_reconstruct.c"
 var $360=$tmp5; //@line 1728 "../src/h264bsd_reconstruct.c"
 var $361=((($360)+(512))|0); //@line 1728 "../src/h264bsd_reconstruct.c"
 $tmp5=$361; //@line 1728 "../src/h264bsd_reconstruct.c"
 var $362=$tmp6; //@line 1729 "../src/h264bsd_reconstruct.c"
 var $363=((($362)+(1))|0); //@line 1729 "../src/h264bsd_reconstruct.c"
 $tmp6=$363; //@line 1729 "../src/h264bsd_reconstruct.c"
 var $364=$tmp6; //@line 1730 "../src/h264bsd_reconstruct.c"
 var $365=$tmp7; //@line 1730 "../src/h264bsd_reconstruct.c"
 var $366=((($364)+($365))|0); //@line 1730 "../src/h264bsd_reconstruct.c"
 var $367=$366>>1; //@line 1730 "../src/h264bsd_reconstruct.c"
 var $368=(($367)&255); //@line 1730 "../src/h264bsd_reconstruct.c"
 var $369=$2; //@line 1730 "../src/h264bsd_reconstruct.c"
 var $370=(($369+1)|0); //@line 1730 "../src/h264bsd_reconstruct.c"
 $2=$370; //@line 1730 "../src/h264bsd_reconstruct.c"
 HEAP8[($369)]=$368; //@line 1730 "../src/h264bsd_reconstruct.c"
 var $371=$tmp2; //@line 1732 "../src/h264bsd_reconstruct.c"
 var $372=$tmp3; //@line 1732 "../src/h264bsd_reconstruct.c"
 var $373=((($371)+($372))|0); //@line 1732 "../src/h264bsd_reconstruct.c"
 $tmp7=$373; //@line 1732 "../src/h264bsd_reconstruct.c"
 var $374=$tmp7; //@line 1733 "../src/h264bsd_reconstruct.c"
 var $375=$374<<4; //@line 1733 "../src/h264bsd_reconstruct.c"
 var $376=$tmp5; //@line 1733 "../src/h264bsd_reconstruct.c"
 var $377=((($376)+($375))|0); //@line 1733 "../src/h264bsd_reconstruct.c"
 $tmp5=$377; //@line 1733 "../src/h264bsd_reconstruct.c"
 var $378=$tmp7; //@line 1734 "../src/h264bsd_reconstruct.c"
 var $379=$378<<2; //@line 1734 "../src/h264bsd_reconstruct.c"
 var $380=$tmp5; //@line 1734 "../src/h264bsd_reconstruct.c"
 var $381=((($380)+($379))|0); //@line 1734 "../src/h264bsd_reconstruct.c"
 $tmp5=$381; //@line 1734 "../src/h264bsd_reconstruct.c"
 var $382=$tmp1; //@line 1735 "../src/h264bsd_reconstruct.c"
 var $383=$tmp4; //@line 1735 "../src/h264bsd_reconstruct.c"
 var $384=((($382)+($383))|0); //@line 1735 "../src/h264bsd_reconstruct.c"
 $tmp7=$384; //@line 1735 "../src/h264bsd_reconstruct.c"
 var $385=$ptrJ; //@line 1736 "../src/h264bsd_reconstruct.c"
 var $386=(($385+4)|0); //@line 1736 "../src/h264bsd_reconstruct.c"
 $ptrJ=$386; //@line 1736 "../src/h264bsd_reconstruct.c"
 var $387=HEAP32[(($385)>>2)]; //@line 1736 "../src/h264bsd_reconstruct.c"
 $tmp6=$387; //@line 1736 "../src/h264bsd_reconstruct.c"
 var $388=$tmp7; //@line 1737 "../src/h264bsd_reconstruct.c"
 var $389=$388<<2; //@line 1737 "../src/h264bsd_reconstruct.c"
 var $390=$tmp5; //@line 1737 "../src/h264bsd_reconstruct.c"
 var $391=((($390)-($389))|0); //@line 1737 "../src/h264bsd_reconstruct.c"
 $tmp5=$391; //@line 1737 "../src/h264bsd_reconstruct.c"
 var $392=$tmp7; //@line 1738 "../src/h264bsd_reconstruct.c"
 var $393=$tmp5; //@line 1738 "../src/h264bsd_reconstruct.c"
 var $394=((($393)-($392))|0); //@line 1738 "../src/h264bsd_reconstruct.c"
 $tmp5=$394; //@line 1738 "../src/h264bsd_reconstruct.c"
 var $395=$ptrInt; //@line 1739 "../src/h264bsd_reconstruct.c"
 var $396=(($395+4)|0); //@line 1739 "../src/h264bsd_reconstruct.c"
 $ptrInt=$396; //@line 1739 "../src/h264bsd_reconstruct.c"
 var $397=HEAP32[(($395)>>2)]; //@line 1739 "../src/h264bsd_reconstruct.c"
 $tmp7=$397; //@line 1739 "../src/h264bsd_reconstruct.c"
 var $398=$tmp6; //@line 1740 "../src/h264bsd_reconstruct.c"
 var $399=$tmp5; //@line 1740 "../src/h264bsd_reconstruct.c"
 var $400=((($399)+($398))|0); //@line 1740 "../src/h264bsd_reconstruct.c"
 $tmp5=$400; //@line 1740 "../src/h264bsd_reconstruct.c"
 var $401=$tmp5; //@line 1741 "../src/h264bsd_reconstruct.c"
 var $402=$401>>10; //@line 1741 "../src/h264bsd_reconstruct.c"
 var $403=$clp; //@line 1741 "../src/h264bsd_reconstruct.c"
 var $404=(($403+$402)|0); //@line 1741 "../src/h264bsd_reconstruct.c"
 var $405=HEAP8[($404)]; //@line 1741 "../src/h264bsd_reconstruct.c"
 var $406=($405&255); //@line 1741 "../src/h264bsd_reconstruct.c"
 $tmp5=$406; //@line 1741 "../src/h264bsd_reconstruct.c"
 var $407=$tmp7; //@line 1742 "../src/h264bsd_reconstruct.c"
 var $408=((($407)+(16))|0); //@line 1742 "../src/h264bsd_reconstruct.c"
 $tmp7=$408; //@line 1742 "../src/h264bsd_reconstruct.c"
 var $409=$tmp7; //@line 1743 "../src/h264bsd_reconstruct.c"
 var $410=$409>>5; //@line 1743 "../src/h264bsd_reconstruct.c"
 var $411=$clp; //@line 1743 "../src/h264bsd_reconstruct.c"
 var $412=(($411+$410)|0); //@line 1743 "../src/h264bsd_reconstruct.c"
 var $413=HEAP8[($412)]; //@line 1743 "../src/h264bsd_reconstruct.c"
 var $414=($413&255); //@line 1743 "../src/h264bsd_reconstruct.c"
 $tmp7=$414; //@line 1743 "../src/h264bsd_reconstruct.c"
 var $415=$tmp4; //@line 1744 "../src/h264bsd_reconstruct.c"
 var $416=((($415)+(512))|0); //@line 1744 "../src/h264bsd_reconstruct.c"
 $tmp4=$416; //@line 1744 "../src/h264bsd_reconstruct.c"
 var $417=$tmp5; //@line 1745 "../src/h264bsd_reconstruct.c"
 var $418=((($417)+(1))|0); //@line 1745 "../src/h264bsd_reconstruct.c"
 $tmp5=$418; //@line 1745 "../src/h264bsd_reconstruct.c"
 var $419=$tmp5; //@line 1746 "../src/h264bsd_reconstruct.c"
 var $420=$tmp7; //@line 1746 "../src/h264bsd_reconstruct.c"
 var $421=((($419)+($420))|0); //@line 1746 "../src/h264bsd_reconstruct.c"
 var $422=$421>>1; //@line 1746 "../src/h264bsd_reconstruct.c"
 var $423=(($422)&255); //@line 1746 "../src/h264bsd_reconstruct.c"
 var $424=$2; //@line 1746 "../src/h264bsd_reconstruct.c"
 var $425=(($424+1)|0); //@line 1746 "../src/h264bsd_reconstruct.c"
 $2=$425; //@line 1746 "../src/h264bsd_reconstruct.c"
 HEAP8[($424)]=$423; //@line 1746 "../src/h264bsd_reconstruct.c"
 var $426=$tmp1; //@line 1748 "../src/h264bsd_reconstruct.c"
 var $427=$tmp2; //@line 1748 "../src/h264bsd_reconstruct.c"
 var $428=((($426)+($427))|0); //@line 1748 "../src/h264bsd_reconstruct.c"
 $tmp7=$428; //@line 1748 "../src/h264bsd_reconstruct.c"
 var $429=$tmp7; //@line 1749 "../src/h264bsd_reconstruct.c"
 var $430=$429<<4; //@line 1749 "../src/h264bsd_reconstruct.c"
 var $431=$tmp4; //@line 1749 "../src/h264bsd_reconstruct.c"
 var $432=((($431)+($430))|0); //@line 1749 "../src/h264bsd_reconstruct.c"
 $tmp4=$432; //@line 1749 "../src/h264bsd_reconstruct.c"
 var $433=$tmp7; //@line 1750 "../src/h264bsd_reconstruct.c"
 var $434=$433<<2; //@line 1750 "../src/h264bsd_reconstruct.c"
 var $435=$tmp4; //@line 1750 "../src/h264bsd_reconstruct.c"
 var $436=((($435)+($434))|0); //@line 1750 "../src/h264bsd_reconstruct.c"
 $tmp4=$436; //@line 1750 "../src/h264bsd_reconstruct.c"
 var $437=$tmp6; //@line 1751 "../src/h264bsd_reconstruct.c"
 var $438=$tmp3; //@line 1751 "../src/h264bsd_reconstruct.c"
 var $439=((($437)+($438))|0); //@line 1751 "../src/h264bsd_reconstruct.c"
 $tmp7=$439; //@line 1751 "../src/h264bsd_reconstruct.c"
 var $440=$ptrJ; //@line 1752 "../src/h264bsd_reconstruct.c"
 var $441=(($440+4)|0); //@line 1752 "../src/h264bsd_reconstruct.c"
 $ptrJ=$441; //@line 1752 "../src/h264bsd_reconstruct.c"
 var $442=HEAP32[(($440)>>2)]; //@line 1752 "../src/h264bsd_reconstruct.c"
 $tmp5=$442; //@line 1752 "../src/h264bsd_reconstruct.c"
 var $443=$tmp7; //@line 1753 "../src/h264bsd_reconstruct.c"
 var $444=$443<<2; //@line 1753 "../src/h264bsd_reconstruct.c"
 var $445=$tmp4; //@line 1753 "../src/h264bsd_reconstruct.c"
 var $446=((($445)-($444))|0); //@line 1753 "../src/h264bsd_reconstruct.c"
 $tmp4=$446; //@line 1753 "../src/h264bsd_reconstruct.c"
 var $447=$tmp7; //@line 1754 "../src/h264bsd_reconstruct.c"
 var $448=$tmp4; //@line 1754 "../src/h264bsd_reconstruct.c"
 var $449=((($448)-($447))|0); //@line 1754 "../src/h264bsd_reconstruct.c"
 $tmp4=$449; //@line 1754 "../src/h264bsd_reconstruct.c"
 var $450=$ptrInt; //@line 1755 "../src/h264bsd_reconstruct.c"
 var $451=(($450+4)|0); //@line 1755 "../src/h264bsd_reconstruct.c"
 $ptrInt=$451; //@line 1755 "../src/h264bsd_reconstruct.c"
 var $452=HEAP32[(($450)>>2)]; //@line 1755 "../src/h264bsd_reconstruct.c"
 $tmp7=$452; //@line 1755 "../src/h264bsd_reconstruct.c"
 var $453=$tmp5; //@line 1756 "../src/h264bsd_reconstruct.c"
 var $454=$tmp4; //@line 1756 "../src/h264bsd_reconstruct.c"
 var $455=((($454)+($453))|0); //@line 1756 "../src/h264bsd_reconstruct.c"
 $tmp4=$455; //@line 1756 "../src/h264bsd_reconstruct.c"
 var $456=$tmp4; //@line 1757 "../src/h264bsd_reconstruct.c"
 var $457=$456>>10; //@line 1757 "../src/h264bsd_reconstruct.c"
 var $458=$clp; //@line 1757 "../src/h264bsd_reconstruct.c"
 var $459=(($458+$457)|0); //@line 1757 "../src/h264bsd_reconstruct.c"
 var $460=HEAP8[($459)]; //@line 1757 "../src/h264bsd_reconstruct.c"
 var $461=($460&255); //@line 1757 "../src/h264bsd_reconstruct.c"
 $tmp4=$461; //@line 1757 "../src/h264bsd_reconstruct.c"
 var $462=$tmp7; //@line 1758 "../src/h264bsd_reconstruct.c"
 var $463=((($462)+(16))|0); //@line 1758 "../src/h264bsd_reconstruct.c"
 $tmp7=$463; //@line 1758 "../src/h264bsd_reconstruct.c"
 var $464=$tmp7; //@line 1759 "../src/h264bsd_reconstruct.c"
 var $465=$464>>5; //@line 1759 "../src/h264bsd_reconstruct.c"
 var $466=$clp; //@line 1759 "../src/h264bsd_reconstruct.c"
 var $467=(($466+$465)|0); //@line 1759 "../src/h264bsd_reconstruct.c"
 var $468=HEAP8[($467)]; //@line 1759 "../src/h264bsd_reconstruct.c"
 var $469=($468&255); //@line 1759 "../src/h264bsd_reconstruct.c"
 $tmp7=$469; //@line 1759 "../src/h264bsd_reconstruct.c"
 var $470=$tmp3; //@line 1760 "../src/h264bsd_reconstruct.c"
 var $471=((($470)+(512))|0); //@line 1760 "../src/h264bsd_reconstruct.c"
 $tmp3=$471; //@line 1760 "../src/h264bsd_reconstruct.c"
 var $472=$tmp4; //@line 1761 "../src/h264bsd_reconstruct.c"
 var $473=((($472)+(1))|0); //@line 1761 "../src/h264bsd_reconstruct.c"
 $tmp4=$473; //@line 1761 "../src/h264bsd_reconstruct.c"
 var $474=$tmp4; //@line 1762 "../src/h264bsd_reconstruct.c"
 var $475=$tmp7; //@line 1762 "../src/h264bsd_reconstruct.c"
 var $476=((($474)+($475))|0); //@line 1762 "../src/h264bsd_reconstruct.c"
 var $477=$476>>1; //@line 1762 "../src/h264bsd_reconstruct.c"
 var $478=(($477)&255); //@line 1762 "../src/h264bsd_reconstruct.c"
 var $479=$2; //@line 1762 "../src/h264bsd_reconstruct.c"
 var $480=(($479+1)|0); //@line 1762 "../src/h264bsd_reconstruct.c"
 $2=$480; //@line 1762 "../src/h264bsd_reconstruct.c"
 HEAP8[($479)]=$478; //@line 1762 "../src/h264bsd_reconstruct.c"
 var $481=$tmp6; //@line 1764 "../src/h264bsd_reconstruct.c"
 var $482=$tmp1; //@line 1764 "../src/h264bsd_reconstruct.c"
 var $483=((($481)+($482))|0); //@line 1764 "../src/h264bsd_reconstruct.c"
 $tmp7=$483; //@line 1764 "../src/h264bsd_reconstruct.c"
 var $484=$tmp7; //@line 1765 "../src/h264bsd_reconstruct.c"
 var $485=$484<<4; //@line 1765 "../src/h264bsd_reconstruct.c"
 var $486=$tmp3; //@line 1765 "../src/h264bsd_reconstruct.c"
 var $487=((($486)+($485))|0); //@line 1765 "../src/h264bsd_reconstruct.c"
 $tmp3=$487; //@line 1765 "../src/h264bsd_reconstruct.c"
 var $488=$tmp7; //@line 1766 "../src/h264bsd_reconstruct.c"
 var $489=$488<<2; //@line 1766 "../src/h264bsd_reconstruct.c"
 var $490=$tmp3; //@line 1766 "../src/h264bsd_reconstruct.c"
 var $491=((($490)+($489))|0); //@line 1766 "../src/h264bsd_reconstruct.c"
 $tmp3=$491; //@line 1766 "../src/h264bsd_reconstruct.c"
 var $492=$tmp5; //@line 1767 "../src/h264bsd_reconstruct.c"
 var $493=$tmp2; //@line 1767 "../src/h264bsd_reconstruct.c"
 var $494=((($492)+($493))|0); //@line 1767 "../src/h264bsd_reconstruct.c"
 $tmp7=$494; //@line 1767 "../src/h264bsd_reconstruct.c"
 var $495=$ptrJ; //@line 1768 "../src/h264bsd_reconstruct.c"
 var $496=(($495+4)|0); //@line 1768 "../src/h264bsd_reconstruct.c"
 $ptrJ=$496; //@line 1768 "../src/h264bsd_reconstruct.c"
 var $497=HEAP32[(($495)>>2)]; //@line 1768 "../src/h264bsd_reconstruct.c"
 $tmp4=$497; //@line 1768 "../src/h264bsd_reconstruct.c"
 var $498=$tmp7; //@line 1769 "../src/h264bsd_reconstruct.c"
 var $499=$498<<2; //@line 1769 "../src/h264bsd_reconstruct.c"
 var $500=$tmp3; //@line 1769 "../src/h264bsd_reconstruct.c"
 var $501=((($500)-($499))|0); //@line 1769 "../src/h264bsd_reconstruct.c"
 $tmp3=$501; //@line 1769 "../src/h264bsd_reconstruct.c"
 var $502=$tmp7; //@line 1770 "../src/h264bsd_reconstruct.c"
 var $503=$tmp3; //@line 1770 "../src/h264bsd_reconstruct.c"
 var $504=((($503)-($502))|0); //@line 1770 "../src/h264bsd_reconstruct.c"
 $tmp3=$504; //@line 1770 "../src/h264bsd_reconstruct.c"
 var $505=$ptrInt; //@line 1771 "../src/h264bsd_reconstruct.c"
 var $506=(($505+4)|0); //@line 1771 "../src/h264bsd_reconstruct.c"
 $ptrInt=$506; //@line 1771 "../src/h264bsd_reconstruct.c"
 var $507=HEAP32[(($505)>>2)]; //@line 1771 "../src/h264bsd_reconstruct.c"
 $tmp7=$507; //@line 1771 "../src/h264bsd_reconstruct.c"
 var $508=$tmp4; //@line 1772 "../src/h264bsd_reconstruct.c"
 var $509=$tmp3; //@line 1772 "../src/h264bsd_reconstruct.c"
 var $510=((($509)+($508))|0); //@line 1772 "../src/h264bsd_reconstruct.c"
 $tmp3=$510; //@line 1772 "../src/h264bsd_reconstruct.c"
 var $511=$tmp3; //@line 1773 "../src/h264bsd_reconstruct.c"
 var $512=$511>>10; //@line 1773 "../src/h264bsd_reconstruct.c"
 var $513=$clp; //@line 1773 "../src/h264bsd_reconstruct.c"
 var $514=(($513+$512)|0); //@line 1773 "../src/h264bsd_reconstruct.c"
 var $515=HEAP8[($514)]; //@line 1773 "../src/h264bsd_reconstruct.c"
 var $516=($515&255); //@line 1773 "../src/h264bsd_reconstruct.c"
 $tmp3=$516; //@line 1773 "../src/h264bsd_reconstruct.c"
 var $517=$tmp7; //@line 1774 "../src/h264bsd_reconstruct.c"
 var $518=((($517)+(16))|0); //@line 1774 "../src/h264bsd_reconstruct.c"
 $tmp7=$518; //@line 1774 "../src/h264bsd_reconstruct.c"
 var $519=$tmp7; //@line 1775 "../src/h264bsd_reconstruct.c"
 var $520=$519>>5; //@line 1775 "../src/h264bsd_reconstruct.c"
 var $521=$clp; //@line 1775 "../src/h264bsd_reconstruct.c"
 var $522=(($521+$520)|0); //@line 1775 "../src/h264bsd_reconstruct.c"
 var $523=HEAP8[($522)]; //@line 1775 "../src/h264bsd_reconstruct.c"
 var $524=($523&255); //@line 1775 "../src/h264bsd_reconstruct.c"
 $tmp7=$524; //@line 1775 "../src/h264bsd_reconstruct.c"
 var $525=$tmp3; //@line 1776 "../src/h264bsd_reconstruct.c"
 var $526=((($525)+(1))|0); //@line 1776 "../src/h264bsd_reconstruct.c"
 $tmp3=$526; //@line 1776 "../src/h264bsd_reconstruct.c"
 var $527=$tmp3; //@line 1777 "../src/h264bsd_reconstruct.c"
 var $528=$tmp7; //@line 1777 "../src/h264bsd_reconstruct.c"
 var $529=((($527)+($528))|0); //@line 1777 "../src/h264bsd_reconstruct.c"
 var $530=$529>>1; //@line 1777 "../src/h264bsd_reconstruct.c"
 var $531=(($530)&255); //@line 1777 "../src/h264bsd_reconstruct.c"
 var $532=$2; //@line 1777 "../src/h264bsd_reconstruct.c"
 var $533=(($532+1)|0); //@line 1777 "../src/h264bsd_reconstruct.c"
 $2=$533; //@line 1777 "../src/h264bsd_reconstruct.c"
 HEAP8[($532)]=$531; //@line 1777 "../src/h264bsd_reconstruct.c"
 var $534=$tmp5; //@line 1778 "../src/h264bsd_reconstruct.c"
 $tmp3=$534; //@line 1778 "../src/h264bsd_reconstruct.c"
 var $535=$tmp1; //@line 1779 "../src/h264bsd_reconstruct.c"
 $tmp5=$535; //@line 1779 "../src/h264bsd_reconstruct.c"
 var $536=$tmp4; //@line 1780 "../src/h264bsd_reconstruct.c"
 $tmp7=$536; //@line 1780 "../src/h264bsd_reconstruct.c"
 var $537=$tmp6; //@line 1781 "../src/h264bsd_reconstruct.c"
 $tmp4=$537; //@line 1781 "../src/h264bsd_reconstruct.c"
 var $538=$tmp2; //@line 1782 "../src/h264bsd_reconstruct.c"
 $tmp6=$538; //@line 1782 "../src/h264bsd_reconstruct.c"
 var $539=$tmp7; //@line 1783 "../src/h264bsd_reconstruct.c"
 $tmp2=$539; //@line 1783 "../src/h264bsd_reconstruct.c"
 label=23;break; //@line 1784 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $541=$x; //@line 1712 "../src/h264bsd_reconstruct.c"
 var $542=((($541)-(1))|0); //@line 1712 "../src/h264bsd_reconstruct.c"
 $x=$542; //@line 1712 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 1712 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $544=$ptrJ; //@line 1785 "../src/h264bsd_reconstruct.c"
 var $545=(($544+20)|0); //@line 1785 "../src/h264bsd_reconstruct.c"
 $ptrJ=$545; //@line 1785 "../src/h264bsd_reconstruct.c"
 var $546=$ptrInt; //@line 1786 "../src/h264bsd_reconstruct.c"
 var $547=(($546+20)|0); //@line 1786 "../src/h264bsd_reconstruct.c"
 $ptrInt=$547; //@line 1786 "../src/h264bsd_reconstruct.c"
 var $548=$7; //@line 1787 "../src/h264bsd_reconstruct.c"
 var $549=(((16)-($548))|0); //@line 1787 "../src/h264bsd_reconstruct.c"
 var $550=$2; //@line 1787 "../src/h264bsd_reconstruct.c"
 var $551=(($550+$549)|0); //@line 1787 "../src/h264bsd_reconstruct.c"
 $2=$551; //@line 1787 "../src/h264bsd_reconstruct.c"
 label=25;break; //@line 1788 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $553=$y; //@line 1705 "../src/h264bsd_reconstruct.c"
 var $554=((($553)-(1))|0); //@line 1705 "../src/h264bsd_reconstruct.c"
 $y=$554; //@line 1705 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1705 "../src/h264bsd_reconstruct.c"
 case 26: 
 STACKTOP=sp;return; //@line 1790 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdPredictSamples($data,$mv,$refPic,$xA,$yA,$partX,$partY,$partWidth,$partHeight){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $8;
 var $9;
 var $xFrac;
 var $yFrac;
 var $width;
 var $height;
 var $xInt;
 var $yInt;
 var $lumaPartData;
 $1=$data;
 $2=$mv;
 $3=$refPic;
 $4=$xA;
 $5=$yA;
 $6=$partX;
 $7=$partY;
 $8=$partWidth;
 $9=$partHeight;
 var $10=$1; //@line 1839 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 1839 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 1839 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(12016,11560,1839,12848); //@line 1839 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1839 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 1839 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 1839 "../src/h264bsd_reconstruct.c"
 var $17=$2; //@line 1840 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 1840 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 1840 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(11592,11560,1840,12848); //@line 1840 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1840 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 1840 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 1840 "../src/h264bsd_reconstruct.c"
 var $24=$8; //@line 1841 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)!=0; //@line 1841 "../src/h264bsd_reconstruct.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 1841 "../src/h264bsd_reconstruct.c"
 case 6: 
 ___assert_fail(11216,11560,1841,12848); //@line 1841 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1841 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 1841 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 1841 "../src/h264bsd_reconstruct.c"
 var $31=$9; //@line 1842 "../src/h264bsd_reconstruct.c"
 var $32=($31|0)!=0; //@line 1842 "../src/h264bsd_reconstruct.c"
 if($32){var $36=1;label=9;break;}else{label=8;break;} //@line 1842 "../src/h264bsd_reconstruct.c"
 case 8: 
 ___assert_fail(10728,11560,1842,12848); //@line 1842 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1842 "../src/h264bsd_reconstruct.c"
 label=9;break; //@line 1842 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $36;
 var $37=($36&1); //@line 1842 "../src/h264bsd_reconstruct.c"
 var $38=$3; //@line 1843 "../src/h264bsd_reconstruct.c"
 var $39=($38|0)!=0; //@line 1843 "../src/h264bsd_reconstruct.c"
 if($39){var $43=1;label=11;break;}else{label=10;break;} //@line 1843 "../src/h264bsd_reconstruct.c"
 case 10: 
 ___assert_fail(10336,11560,1843,12848); //@line 1843 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1843 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 1843 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $43;
 var $44=($43&1); //@line 1843 "../src/h264bsd_reconstruct.c"
 var $45=$3; //@line 1844 "../src/h264bsd_reconstruct.c"
 var $46=(($45)|0); //@line 1844 "../src/h264bsd_reconstruct.c"
 var $47=HEAP32[(($46)>>2)]; //@line 1844 "../src/h264bsd_reconstruct.c"
 var $48=($47|0)!=0; //@line 1844 "../src/h264bsd_reconstruct.c"
 if($48){var $52=1;label=13;break;}else{label=12;break;} //@line 1844 "../src/h264bsd_reconstruct.c"
 case 12: 
 ___assert_fail(10136,11560,1844,12848); //@line 1844 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1844 "../src/h264bsd_reconstruct.c"
 label=13;break; //@line 1844 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $52;
 var $53=($52&1); //@line 1844 "../src/h264bsd_reconstruct.c"
 var $54=$3; //@line 1845 "../src/h264bsd_reconstruct.c"
 var $55=(($54+4)|0); //@line 1845 "../src/h264bsd_reconstruct.c"
 var $56=HEAP32[(($55)>>2)]; //@line 1845 "../src/h264bsd_reconstruct.c"
 var $57=($56|0)!=0; //@line 1845 "../src/h264bsd_reconstruct.c"
 if($57){var $61=1;label=15;break;}else{label=14;break;} //@line 1845 "../src/h264bsd_reconstruct.c"
 case 14: 
 ___assert_fail(9880,11560,1845,12848); //@line 1845 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1845 "../src/h264bsd_reconstruct.c"
 label=15;break; //@line 1845 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $61;
 var $62=($61&1); //@line 1845 "../src/h264bsd_reconstruct.c"
 var $63=$3; //@line 1846 "../src/h264bsd_reconstruct.c"
 var $64=(($63+8)|0); //@line 1846 "../src/h264bsd_reconstruct.c"
 var $65=HEAP32[(($64)>>2)]; //@line 1846 "../src/h264bsd_reconstruct.c"
 var $66=($65|0)!=0; //@line 1846 "../src/h264bsd_reconstruct.c"
 if($66){var $70=1;label=17;break;}else{label=16;break;} //@line 1846 "../src/h264bsd_reconstruct.c"
 case 16: 
 ___assert_fail(9696,11560,1846,12848); //@line 1846 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1846 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 1846 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $70;
 var $71=($70&1); //@line 1846 "../src/h264bsd_reconstruct.c"
 var $72=$1; //@line 1849 "../src/h264bsd_reconstruct.c"
 var $73=$7; //@line 1849 "../src/h264bsd_reconstruct.c"
 var $74=($73<<4); //@line 1849 "../src/h264bsd_reconstruct.c"
 var $75=(($72+$74)|0); //@line 1849 "../src/h264bsd_reconstruct.c"
 var $76=$6; //@line 1849 "../src/h264bsd_reconstruct.c"
 var $77=(($75+$76)|0); //@line 1849 "../src/h264bsd_reconstruct.c"
 $lumaPartData=$77; //@line 1849 "../src/h264bsd_reconstruct.c"
 var $78=$2; //@line 1851 "../src/h264bsd_reconstruct.c"
 var $79=(($78)|0); //@line 1851 "../src/h264bsd_reconstruct.c"
 var $80=HEAP16[(($79)>>1)]; //@line 1851 "../src/h264bsd_reconstruct.c"
 var $81=(($80<<16)>>16); //@line 1851 "../src/h264bsd_reconstruct.c"
 var $82=$81&3; //@line 1851 "../src/h264bsd_reconstruct.c"
 $xFrac=$82; //@line 1851 "../src/h264bsd_reconstruct.c"
 var $83=$2; //@line 1852 "../src/h264bsd_reconstruct.c"
 var $84=(($83+2)|0); //@line 1852 "../src/h264bsd_reconstruct.c"
 var $85=HEAP16[(($84)>>1)]; //@line 1852 "../src/h264bsd_reconstruct.c"
 var $86=(($85<<16)>>16); //@line 1852 "../src/h264bsd_reconstruct.c"
 var $87=$86&3; //@line 1852 "../src/h264bsd_reconstruct.c"
 $yFrac=$87; //@line 1852 "../src/h264bsd_reconstruct.c"
 var $88=$3; //@line 1854 "../src/h264bsd_reconstruct.c"
 var $89=(($88+4)|0); //@line 1854 "../src/h264bsd_reconstruct.c"
 var $90=HEAP32[(($89)>>2)]; //@line 1854 "../src/h264bsd_reconstruct.c"
 var $91=($90<<4); //@line 1854 "../src/h264bsd_reconstruct.c"
 $width=$91; //@line 1854 "../src/h264bsd_reconstruct.c"
 var $92=$3; //@line 1855 "../src/h264bsd_reconstruct.c"
 var $93=(($92+8)|0); //@line 1855 "../src/h264bsd_reconstruct.c"
 var $94=HEAP32[(($93)>>2)]; //@line 1855 "../src/h264bsd_reconstruct.c"
 var $95=($94<<4); //@line 1855 "../src/h264bsd_reconstruct.c"
 $height=$95; //@line 1855 "../src/h264bsd_reconstruct.c"
 var $96=$4; //@line 1857 "../src/h264bsd_reconstruct.c"
 var $97=$6; //@line 1857 "../src/h264bsd_reconstruct.c"
 var $98=((($96)+($97))|0); //@line 1857 "../src/h264bsd_reconstruct.c"
 var $99=$2; //@line 1857 "../src/h264bsd_reconstruct.c"
 var $100=(($99)|0); //@line 1857 "../src/h264bsd_reconstruct.c"
 var $101=HEAP16[(($100)>>1)]; //@line 1857 "../src/h264bsd_reconstruct.c"
 var $102=(($101<<16)>>16); //@line 1857 "../src/h264bsd_reconstruct.c"
 var $103=$102>>2; //@line 1857 "../src/h264bsd_reconstruct.c"
 var $104=((($98)+($103))|0); //@line 1857 "../src/h264bsd_reconstruct.c"
 $xInt=$104; //@line 1857 "../src/h264bsd_reconstruct.c"
 var $105=$5; //@line 1858 "../src/h264bsd_reconstruct.c"
 var $106=$7; //@line 1858 "../src/h264bsd_reconstruct.c"
 var $107=((($105)+($106))|0); //@line 1858 "../src/h264bsd_reconstruct.c"
 var $108=$2; //@line 1858 "../src/h264bsd_reconstruct.c"
 var $109=(($108+2)|0); //@line 1858 "../src/h264bsd_reconstruct.c"
 var $110=HEAP16[(($109)>>1)]; //@line 1858 "../src/h264bsd_reconstruct.c"
 var $111=(($110<<16)>>16); //@line 1858 "../src/h264bsd_reconstruct.c"
 var $112=$111>>2; //@line 1858 "../src/h264bsd_reconstruct.c"
 var $113=((($107)+($112))|0); //@line 1858 "../src/h264bsd_reconstruct.c"
 $yInt=$113; //@line 1858 "../src/h264bsd_reconstruct.c"
 var $114=$yFrac; //@line 1860 "../src/h264bsd_reconstruct.c"
 var $115=$xFrac; //@line 1860 "../src/h264bsd_reconstruct.c"
 var $116=((1016+($115<<4))|0); //@line 1860 "../src/h264bsd_reconstruct.c"
 var $117=(($116+($114<<2))|0); //@line 1860 "../src/h264bsd_reconstruct.c"
 var $118=HEAP32[(($117)>>2)]; //@line 1860 "../src/h264bsd_reconstruct.c"
 var $119=($118>>>0)<16; //@line 1860 "../src/h264bsd_reconstruct.c"
 if($119){var $123=1;label=19;break;}else{label=18;break;} //@line 1860 "../src/h264bsd_reconstruct.c"
 case 18: 
 ___assert_fail(9584,11560,1860,12848); //@line 1860 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 1860 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 1860 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $123;
 var $124=($123&1); //@line 1860 "../src/h264bsd_reconstruct.c"
 var $125=$yFrac; //@line 1862 "../src/h264bsd_reconstruct.c"
 var $126=$xFrac; //@line 1862 "../src/h264bsd_reconstruct.c"
 var $127=((1016+($126<<4))|0); //@line 1862 "../src/h264bsd_reconstruct.c"
 var $128=(($127+($125<<2))|0); //@line 1862 "../src/h264bsd_reconstruct.c"
 var $129=HEAP32[(($128)>>2)]; //@line 1862 "../src/h264bsd_reconstruct.c"
 switch(($129|0)){case 0:{ label=20;break;}case 1:{ label=21;break;}case 2:{ label=22;break;}case 3:{ label=23;break;}case 4:{ label=24;break;}case 5:{ label=25;break;}case 6:{ label=26;break;}case 7:{ label=27;break;}case 8:{ label=28;break;}case 9:{ label=29;break;}case 10:{ label=30;break;}case 11:{ label=31;break;}case 12:{ label=32;break;}case 13:{ label=33;break;}case 14:{ label=34;break;}default:{label=35;break;}}break;
 case 20: 
 var $131=$3; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $132=(($131)|0); //@line 1865 "../src/h264bsd_reconstruct.c"
 var $133=HEAP32[(($132)>>2)]; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $134=$lumaPartData; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $135=$xInt; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $136=$yInt; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $137=$width; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $138=$height; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $139=$8; //@line 1865 "../src/h264bsd_reconstruct.c"
 var $140=$9; //@line 1865 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($133,$134,$135,$136,$137,$138,$139,$140,16); //@line 1865 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1867 "../src/h264bsd_reconstruct.c"
 case 21: 
 var $142=$3; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $143=(($142)|0); //@line 1869 "../src/h264bsd_reconstruct.c"
 var $144=HEAP32[(($143)>>2)]; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $145=$lumaPartData; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $146=$xInt; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $147=$yInt; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $148=((($147)-(2))|0); //@line 1869 "../src/h264bsd_reconstruct.c"
 var $149=$width; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $150=$height; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $151=$8; //@line 1869 "../src/h264bsd_reconstruct.c"
 var $152=$9; //@line 1869 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateVerQuarter($144,$145,$146,$148,$149,$150,$151,$152,0); //@line 1869 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1871 "../src/h264bsd_reconstruct.c"
 case 22: 
 var $154=$3; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $155=(($154)|0); //@line 1873 "../src/h264bsd_reconstruct.c"
 var $156=HEAP32[(($155)>>2)]; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $157=$lumaPartData; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $158=$xInt; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $159=$yInt; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $160=((($159)-(2))|0); //@line 1873 "../src/h264bsd_reconstruct.c"
 var $161=$width; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $162=$height; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $163=$8; //@line 1873 "../src/h264bsd_reconstruct.c"
 var $164=$9; //@line 1873 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateVerHalf($156,$157,$158,$160,$161,$162,$163,$164); //@line 1873 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1875 "../src/h264bsd_reconstruct.c"
 case 23: 
 var $166=$3; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $167=(($166)|0); //@line 1877 "../src/h264bsd_reconstruct.c"
 var $168=HEAP32[(($167)>>2)]; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $169=$lumaPartData; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $170=$xInt; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $171=$yInt; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $172=((($171)-(2))|0); //@line 1877 "../src/h264bsd_reconstruct.c"
 var $173=$width; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $174=$height; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $175=$8; //@line 1877 "../src/h264bsd_reconstruct.c"
 var $176=$9; //@line 1877 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateVerQuarter($168,$169,$170,$172,$173,$174,$175,$176,1); //@line 1877 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1879 "../src/h264bsd_reconstruct.c"
 case 24: 
 var $178=$3; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $179=(($178)|0); //@line 1881 "../src/h264bsd_reconstruct.c"
 var $180=HEAP32[(($179)>>2)]; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $181=$lumaPartData; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $182=$xInt; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $183=((($182)-(2))|0); //@line 1881 "../src/h264bsd_reconstruct.c"
 var $184=$yInt; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $185=$width; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $186=$height; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $187=$8; //@line 1881 "../src/h264bsd_reconstruct.c"
 var $188=$9; //@line 1881 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateHorQuarter($180,$181,$183,$184,$185,$186,$187,$188,0); //@line 1881 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1883 "../src/h264bsd_reconstruct.c"
 case 25: 
 var $190=$3; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $191=(($190)|0); //@line 1885 "../src/h264bsd_reconstruct.c"
 var $192=HEAP32[(($191)>>2)]; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $193=$lumaPartData; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $194=$xInt; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $195=((($194)-(2))|0); //@line 1885 "../src/h264bsd_reconstruct.c"
 var $196=$yInt; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $197=((($196)-(2))|0); //@line 1885 "../src/h264bsd_reconstruct.c"
 var $198=$width; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $199=$height; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $200=$8; //@line 1885 "../src/h264bsd_reconstruct.c"
 var $201=$9; //@line 1885 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateHorVerQuarter($192,$193,$195,$197,$198,$199,$200,$201,0); //@line 1885 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1887 "../src/h264bsd_reconstruct.c"
 case 26: 
 var $203=$3; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $204=(($203)|0); //@line 1889 "../src/h264bsd_reconstruct.c"
 var $205=HEAP32[(($204)>>2)]; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $206=$lumaPartData; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $207=$xInt; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $208=((($207)-(2))|0); //@line 1889 "../src/h264bsd_reconstruct.c"
 var $209=$yInt; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $210=((($209)-(2))|0); //@line 1889 "../src/h264bsd_reconstruct.c"
 var $211=$width; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $212=$height; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $213=$8; //@line 1889 "../src/h264bsd_reconstruct.c"
 var $214=$9; //@line 1889 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateMidHorQuarter($205,$206,$208,$210,$211,$212,$213,$214,0); //@line 1889 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1891 "../src/h264bsd_reconstruct.c"
 case 27: 
 var $216=$3; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $217=(($216)|0); //@line 1893 "../src/h264bsd_reconstruct.c"
 var $218=HEAP32[(($217)>>2)]; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $219=$lumaPartData; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $220=$xInt; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $221=((($220)-(2))|0); //@line 1893 "../src/h264bsd_reconstruct.c"
 var $222=$yInt; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $223=((($222)-(2))|0); //@line 1893 "../src/h264bsd_reconstruct.c"
 var $224=$width; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $225=$height; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $226=$8; //@line 1893 "../src/h264bsd_reconstruct.c"
 var $227=$9; //@line 1893 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateHorVerQuarter($218,$219,$221,$223,$224,$225,$226,$227,2); //@line 1893 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1895 "../src/h264bsd_reconstruct.c"
 case 28: 
 var $229=$3; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $230=(($229)|0); //@line 1897 "../src/h264bsd_reconstruct.c"
 var $231=HEAP32[(($230)>>2)]; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $232=$lumaPartData; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $233=$xInt; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $234=((($233)-(2))|0); //@line 1897 "../src/h264bsd_reconstruct.c"
 var $235=$yInt; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $236=$width; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $237=$height; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $238=$8; //@line 1897 "../src/h264bsd_reconstruct.c"
 var $239=$9; //@line 1897 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateHorHalf($231,$232,$234,$235,$236,$237,$238,$239); //@line 1897 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1899 "../src/h264bsd_reconstruct.c"
 case 29: 
 var $241=$3; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $242=(($241)|0); //@line 1901 "../src/h264bsd_reconstruct.c"
 var $243=HEAP32[(($242)>>2)]; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $244=$lumaPartData; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $245=$xInt; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $246=((($245)-(2))|0); //@line 1901 "../src/h264bsd_reconstruct.c"
 var $247=$yInt; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $248=((($247)-(2))|0); //@line 1901 "../src/h264bsd_reconstruct.c"
 var $249=$width; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $250=$height; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $251=$8; //@line 1901 "../src/h264bsd_reconstruct.c"
 var $252=$9; //@line 1901 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateMidVerQuarter($243,$244,$246,$248,$249,$250,$251,$252,0); //@line 1901 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1903 "../src/h264bsd_reconstruct.c"
 case 30: 
 var $254=$3; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $255=(($254)|0); //@line 1905 "../src/h264bsd_reconstruct.c"
 var $256=HEAP32[(($255)>>2)]; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $257=$lumaPartData; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $258=$xInt; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $259=((($258)-(2))|0); //@line 1905 "../src/h264bsd_reconstruct.c"
 var $260=$yInt; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $261=((($260)-(2))|0); //@line 1905 "../src/h264bsd_reconstruct.c"
 var $262=$width; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $263=$height; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $264=$8; //@line 1905 "../src/h264bsd_reconstruct.c"
 var $265=$9; //@line 1905 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateMidHalf($256,$257,$259,$261,$262,$263,$264,$265); //@line 1905 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1907 "../src/h264bsd_reconstruct.c"
 case 31: 
 var $267=$3; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $268=(($267)|0); //@line 1909 "../src/h264bsd_reconstruct.c"
 var $269=HEAP32[(($268)>>2)]; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $270=$lumaPartData; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $271=$xInt; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $272=((($271)-(2))|0); //@line 1909 "../src/h264bsd_reconstruct.c"
 var $273=$yInt; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $274=((($273)-(2))|0); //@line 1909 "../src/h264bsd_reconstruct.c"
 var $275=$width; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $276=$height; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $277=$8; //@line 1909 "../src/h264bsd_reconstruct.c"
 var $278=$9; //@line 1909 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateMidVerQuarter($269,$270,$272,$274,$275,$276,$277,$278,1); //@line 1909 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1911 "../src/h264bsd_reconstruct.c"
 case 32: 
 var $280=$3; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $281=(($280)|0); //@line 1913 "../src/h264bsd_reconstruct.c"
 var $282=HEAP32[(($281)>>2)]; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $283=$lumaPartData; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $284=$xInt; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $285=((($284)-(2))|0); //@line 1913 "../src/h264bsd_reconstruct.c"
 var $286=$yInt; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $287=$width; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $288=$height; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $289=$8; //@line 1913 "../src/h264bsd_reconstruct.c"
 var $290=$9; //@line 1913 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateHorQuarter($282,$283,$285,$286,$287,$288,$289,$290,1); //@line 1913 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1915 "../src/h264bsd_reconstruct.c"
 case 33: 
 var $292=$3; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $293=(($292)|0); //@line 1917 "../src/h264bsd_reconstruct.c"
 var $294=HEAP32[(($293)>>2)]; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $295=$lumaPartData; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $296=$xInt; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $297=((($296)-(2))|0); //@line 1917 "../src/h264bsd_reconstruct.c"
 var $298=$yInt; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $299=((($298)-(2))|0); //@line 1917 "../src/h264bsd_reconstruct.c"
 var $300=$width; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $301=$height; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $302=$8; //@line 1917 "../src/h264bsd_reconstruct.c"
 var $303=$9; //@line 1917 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateHorVerQuarter($294,$295,$297,$299,$300,$301,$302,$303,1); //@line 1917 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1919 "../src/h264bsd_reconstruct.c"
 case 34: 
 var $305=$3; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $306=(($305)|0); //@line 1921 "../src/h264bsd_reconstruct.c"
 var $307=HEAP32[(($306)>>2)]; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $308=$lumaPartData; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $309=$xInt; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $310=((($309)-(2))|0); //@line 1921 "../src/h264bsd_reconstruct.c"
 var $311=$yInt; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $312=((($311)-(2))|0); //@line 1921 "../src/h264bsd_reconstruct.c"
 var $313=$width; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $314=$height; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $315=$8; //@line 1921 "../src/h264bsd_reconstruct.c"
 var $316=$9; //@line 1921 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateMidHorQuarter($307,$308,$310,$312,$313,$314,$315,$316,1); //@line 1921 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1923 "../src/h264bsd_reconstruct.c"
 case 35: 
 var $318=$3; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $319=(($318)|0); //@line 1925 "../src/h264bsd_reconstruct.c"
 var $320=HEAP32[(($319)>>2)]; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $321=$lumaPartData; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $322=$xInt; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $323=((($322)-(2))|0); //@line 1925 "../src/h264bsd_reconstruct.c"
 var $324=$yInt; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $325=((($324)-(2))|0); //@line 1925 "../src/h264bsd_reconstruct.c"
 var $326=$width; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $327=$height; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $328=$8; //@line 1925 "../src/h264bsd_reconstruct.c"
 var $329=$9; //@line 1925 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateHorVerQuarter($320,$321,$323,$325,$326,$327,$328,$329,3); //@line 1925 "../src/h264bsd_reconstruct.c"
 label=36;break; //@line 1927 "../src/h264bsd_reconstruct.c"
 case 36: 
 var $331=$1; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $332=(($331+256)|0); //@line 1931 "../src/h264bsd_reconstruct.c"
 var $333=$7; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $334=$333>>>1; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $335=($334<<3); //@line 1931 "../src/h264bsd_reconstruct.c"
 var $336=(($332+$335)|0); //@line 1931 "../src/h264bsd_reconstruct.c"
 var $337=$6; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $338=$337>>>1; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $339=(($336+$338)|0); //@line 1931 "../src/h264bsd_reconstruct.c"
 var $340=$4; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $341=$6; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $342=((($340)+($341))|0); //@line 1931 "../src/h264bsd_reconstruct.c"
 var $343=$5; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $344=$7; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $345=((($343)+($344))|0); //@line 1931 "../src/h264bsd_reconstruct.c"
 var $346=$8; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $347=$9; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $348=$2; //@line 1931 "../src/h264bsd_reconstruct.c"
 var $349=$3; //@line 1931 "../src/h264bsd_reconstruct.c"
 _PredictChroma($339,$342,$345,$346,$347,$348,$349); //@line 1931 "../src/h264bsd_reconstruct.c"
 STACKTOP=sp;return; //@line 1940 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _PredictChroma($mbPartChroma,$xAL,$yAL,$partWidth,$partHeight,$mv,$refPic){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $7;
 var $xFrac;
 var $yFrac;
 var $width;
 var $height;
 var $chromaPartWidth;
 var $chromaPartHeight;
 var $xInt;
 var $yInt;
 var $ref;
 $1=$mbPartChroma;
 $2=$xAL;
 $3=$yAL;
 $4=$partWidth;
 $5=$partHeight;
 $6=$mv;
 $7=$refPic;
 var $8=$6; //@line 433 "../src/h264bsd_reconstruct.c"
 var $9=($8|0)!=0; //@line 433 "../src/h264bsd_reconstruct.c"
 if($9){var $13=0;label=3;break;}else{label=2;break;} //@line 433 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(11592,11560,433,15104); //@line 433 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 433 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 433 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $13;
 var $14=($13&1); //@line 433 "../src/h264bsd_reconstruct.c"
 var $15=$7; //@line 434 "../src/h264bsd_reconstruct.c"
 var $16=($15|0)!=0; //@line 434 "../src/h264bsd_reconstruct.c"
 if($16){var $20=1;label=5;break;}else{label=4;break;} //@line 434 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(10336,11560,434,15104); //@line 434 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 434 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 434 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $20;
 var $21=($20&1); //@line 434 "../src/h264bsd_reconstruct.c"
 var $22=$7; //@line 435 "../src/h264bsd_reconstruct.c"
 var $23=(($22)|0); //@line 435 "../src/h264bsd_reconstruct.c"
 var $24=HEAP32[(($23)>>2)]; //@line 435 "../src/h264bsd_reconstruct.c"
 var $25=($24|0)!=0; //@line 435 "../src/h264bsd_reconstruct.c"
 if($25){var $29=1;label=7;break;}else{label=6;break;} //@line 435 "../src/h264bsd_reconstruct.c"
 case 6: 
 ___assert_fail(10136,11560,435,15104); //@line 435 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 435 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 435 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $29;
 var $30=($29&1); //@line 435 "../src/h264bsd_reconstruct.c"
 var $31=$7; //@line 436 "../src/h264bsd_reconstruct.c"
 var $32=(($31+4)|0); //@line 436 "../src/h264bsd_reconstruct.c"
 var $33=HEAP32[(($32)>>2)]; //@line 436 "../src/h264bsd_reconstruct.c"
 var $34=($33|0)!=0; //@line 436 "../src/h264bsd_reconstruct.c"
 if($34){var $38=1;label=9;break;}else{label=8;break;} //@line 436 "../src/h264bsd_reconstruct.c"
 case 8: 
 ___assert_fail(9880,11560,436,15104); //@line 436 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 436 "../src/h264bsd_reconstruct.c"
 label=9;break; //@line 436 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $38;
 var $39=($38&1); //@line 436 "../src/h264bsd_reconstruct.c"
 var $40=$7; //@line 437 "../src/h264bsd_reconstruct.c"
 var $41=(($40+8)|0); //@line 437 "../src/h264bsd_reconstruct.c"
 var $42=HEAP32[(($41)>>2)]; //@line 437 "../src/h264bsd_reconstruct.c"
 var $43=($42|0)!=0; //@line 437 "../src/h264bsd_reconstruct.c"
 if($43){var $47=1;label=11;break;}else{label=10;break;} //@line 437 "../src/h264bsd_reconstruct.c"
 case 10: 
 ___assert_fail(9696,11560,437,15104); //@line 437 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 437 "../src/h264bsd_reconstruct.c"
 label=11;break; //@line 437 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $47;
 var $48=($47&1); //@line 437 "../src/h264bsd_reconstruct.c"
 var $49=$7; //@line 439 "../src/h264bsd_reconstruct.c"
 var $50=(($49+4)|0); //@line 439 "../src/h264bsd_reconstruct.c"
 var $51=HEAP32[(($50)>>2)]; //@line 439 "../src/h264bsd_reconstruct.c"
 var $52=($51<<3); //@line 439 "../src/h264bsd_reconstruct.c"
 $width=$52; //@line 439 "../src/h264bsd_reconstruct.c"
 var $53=$7; //@line 440 "../src/h264bsd_reconstruct.c"
 var $54=(($53+8)|0); //@line 440 "../src/h264bsd_reconstruct.c"
 var $55=HEAP32[(($54)>>2)]; //@line 440 "../src/h264bsd_reconstruct.c"
 var $56=($55<<3); //@line 440 "../src/h264bsd_reconstruct.c"
 $height=$56; //@line 440 "../src/h264bsd_reconstruct.c"
 var $57=$2; //@line 442 "../src/h264bsd_reconstruct.c"
 var $58=$57>>>1; //@line 442 "../src/h264bsd_reconstruct.c"
 var $59=$6; //@line 442 "../src/h264bsd_reconstruct.c"
 var $60=(($59)|0); //@line 442 "../src/h264bsd_reconstruct.c"
 var $61=HEAP16[(($60)>>1)]; //@line 442 "../src/h264bsd_reconstruct.c"
 var $62=(($61<<16)>>16); //@line 442 "../src/h264bsd_reconstruct.c"
 var $63=$62>>3; //@line 442 "../src/h264bsd_reconstruct.c"
 var $64=((($58)+($63))|0); //@line 442 "../src/h264bsd_reconstruct.c"
 $xInt=$64; //@line 442 "../src/h264bsd_reconstruct.c"
 var $65=$3; //@line 443 "../src/h264bsd_reconstruct.c"
 var $66=$65>>>1; //@line 443 "../src/h264bsd_reconstruct.c"
 var $67=$6; //@line 443 "../src/h264bsd_reconstruct.c"
 var $68=(($67+2)|0); //@line 443 "../src/h264bsd_reconstruct.c"
 var $69=HEAP16[(($68)>>1)]; //@line 443 "../src/h264bsd_reconstruct.c"
 var $70=(($69<<16)>>16); //@line 443 "../src/h264bsd_reconstruct.c"
 var $71=$70>>3; //@line 443 "../src/h264bsd_reconstruct.c"
 var $72=((($66)+($71))|0); //@line 443 "../src/h264bsd_reconstruct.c"
 $yInt=$72; //@line 443 "../src/h264bsd_reconstruct.c"
 var $73=$6; //@line 444 "../src/h264bsd_reconstruct.c"
 var $74=(($73)|0); //@line 444 "../src/h264bsd_reconstruct.c"
 var $75=HEAP16[(($74)>>1)]; //@line 444 "../src/h264bsd_reconstruct.c"
 var $76=(($75<<16)>>16); //@line 444 "../src/h264bsd_reconstruct.c"
 var $77=$76&7; //@line 444 "../src/h264bsd_reconstruct.c"
 $xFrac=$77; //@line 444 "../src/h264bsd_reconstruct.c"
 var $78=$6; //@line 445 "../src/h264bsd_reconstruct.c"
 var $79=(($78+2)|0); //@line 445 "../src/h264bsd_reconstruct.c"
 var $80=HEAP16[(($79)>>1)]; //@line 445 "../src/h264bsd_reconstruct.c"
 var $81=(($80<<16)>>16); //@line 445 "../src/h264bsd_reconstruct.c"
 var $82=$81&7; //@line 445 "../src/h264bsd_reconstruct.c"
 $yFrac=$82; //@line 445 "../src/h264bsd_reconstruct.c"
 var $83=$4; //@line 447 "../src/h264bsd_reconstruct.c"
 var $84=$83>>>1; //@line 447 "../src/h264bsd_reconstruct.c"
 $chromaPartWidth=$84; //@line 447 "../src/h264bsd_reconstruct.c"
 var $85=$5; //@line 448 "../src/h264bsd_reconstruct.c"
 var $86=$85>>>1; //@line 448 "../src/h264bsd_reconstruct.c"
 $chromaPartHeight=$86; //@line 448 "../src/h264bsd_reconstruct.c"
 var $87=$7; //@line 449 "../src/h264bsd_reconstruct.c"
 var $88=(($87)|0); //@line 449 "../src/h264bsd_reconstruct.c"
 var $89=HEAP32[(($88)>>2)]; //@line 449 "../src/h264bsd_reconstruct.c"
 var $90=$7; //@line 449 "../src/h264bsd_reconstruct.c"
 var $91=(($90+4)|0); //@line 449 "../src/h264bsd_reconstruct.c"
 var $92=HEAP32[(($91)>>2)]; //@line 449 "../src/h264bsd_reconstruct.c"
 var $93=($92<<8); //@line 449 "../src/h264bsd_reconstruct.c"
 var $94=$7; //@line 449 "../src/h264bsd_reconstruct.c"
 var $95=(($94+8)|0); //@line 449 "../src/h264bsd_reconstruct.c"
 var $96=HEAP32[(($95)>>2)]; //@line 449 "../src/h264bsd_reconstruct.c"
 var $97=(Math_imul($93,$96)|0); //@line 449 "../src/h264bsd_reconstruct.c"
 var $98=(($89+$97)|0); //@line 449 "../src/h264bsd_reconstruct.c"
 $ref=$98; //@line 449 "../src/h264bsd_reconstruct.c"
 var $99=$xFrac; //@line 451 "../src/h264bsd_reconstruct.c"
 var $100=($99|0)!=0; //@line 451 "../src/h264bsd_reconstruct.c"
 if($100){label=12;break;}else{label=14;break;} //@line 451 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $102=$yFrac; //@line 451 "../src/h264bsd_reconstruct.c"
 var $103=($102|0)!=0; //@line 451 "../src/h264bsd_reconstruct.c"
 if($103){label=13;break;}else{label=14;break;} //@line 451 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $105=$ref; //@line 453 "../src/h264bsd_reconstruct.c"
 var $106=$1; //@line 453 "../src/h264bsd_reconstruct.c"
 var $107=$xInt; //@line 453 "../src/h264bsd_reconstruct.c"
 var $108=$yInt; //@line 453 "../src/h264bsd_reconstruct.c"
 var $109=$width; //@line 453 "../src/h264bsd_reconstruct.c"
 var $110=$height; //@line 453 "../src/h264bsd_reconstruct.c"
 var $111=$xFrac; //@line 453 "../src/h264bsd_reconstruct.c"
 var $112=$yFrac; //@line 453 "../src/h264bsd_reconstruct.c"
 var $113=$chromaPartWidth; //@line 453 "../src/h264bsd_reconstruct.c"
 var $114=$chromaPartHeight; //@line 453 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateChromaHorVer($105,$106,$107,$108,$109,$110,$111,$112,$113,$114); //@line 453 "../src/h264bsd_reconstruct.c"
 label=21;break; //@line 455 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $116=$xFrac; //@line 456 "../src/h264bsd_reconstruct.c"
 var $117=($116|0)!=0; //@line 456 "../src/h264bsd_reconstruct.c"
 if($117){label=15;break;}else{label=16;break;} //@line 456 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $119=$ref; //@line 458 "../src/h264bsd_reconstruct.c"
 var $120=$1; //@line 458 "../src/h264bsd_reconstruct.c"
 var $121=$xInt; //@line 458 "../src/h264bsd_reconstruct.c"
 var $122=$yInt; //@line 458 "../src/h264bsd_reconstruct.c"
 var $123=$width; //@line 458 "../src/h264bsd_reconstruct.c"
 var $124=$height; //@line 458 "../src/h264bsd_reconstruct.c"
 var $125=$xFrac; //@line 458 "../src/h264bsd_reconstruct.c"
 var $126=$chromaPartWidth; //@line 458 "../src/h264bsd_reconstruct.c"
 var $127=$chromaPartHeight; //@line 458 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateChromaHor($119,$120,$121,$122,$123,$124,$125,$126,$127); //@line 458 "../src/h264bsd_reconstruct.c"
 label=20;break; //@line 460 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $129=$yFrac; //@line 461 "../src/h264bsd_reconstruct.c"
 var $130=($129|0)!=0; //@line 461 "../src/h264bsd_reconstruct.c"
 if($130){label=17;break;}else{label=18;break;} //@line 461 "../src/h264bsd_reconstruct.c"
 case 17: 
 var $132=$ref; //@line 463 "../src/h264bsd_reconstruct.c"
 var $133=$1; //@line 463 "../src/h264bsd_reconstruct.c"
 var $134=$xInt; //@line 463 "../src/h264bsd_reconstruct.c"
 var $135=$yInt; //@line 463 "../src/h264bsd_reconstruct.c"
 var $136=$width; //@line 463 "../src/h264bsd_reconstruct.c"
 var $137=$height; //@line 463 "../src/h264bsd_reconstruct.c"
 var $138=$yFrac; //@line 463 "../src/h264bsd_reconstruct.c"
 var $139=$chromaPartWidth; //@line 463 "../src/h264bsd_reconstruct.c"
 var $140=$chromaPartHeight; //@line 463 "../src/h264bsd_reconstruct.c"
 _h264bsdInterpolateChromaVer($132,$133,$134,$135,$136,$137,$138,$139,$140); //@line 463 "../src/h264bsd_reconstruct.c"
 label=19;break; //@line 465 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $142=$ref; //@line 468 "../src/h264bsd_reconstruct.c"
 var $143=$1; //@line 468 "../src/h264bsd_reconstruct.c"
 var $144=$xInt; //@line 468 "../src/h264bsd_reconstruct.c"
 var $145=$yInt; //@line 468 "../src/h264bsd_reconstruct.c"
 var $146=$width; //@line 468 "../src/h264bsd_reconstruct.c"
 var $147=$height; //@line 468 "../src/h264bsd_reconstruct.c"
 var $148=$chromaPartWidth; //@line 468 "../src/h264bsd_reconstruct.c"
 var $149=$chromaPartHeight; //@line 468 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($142,$143,$144,$145,$146,$147,$148,$149,8); //@line 468 "../src/h264bsd_reconstruct.c"
 var $150=$width; //@line 470 "../src/h264bsd_reconstruct.c"
 var $151=$height; //@line 470 "../src/h264bsd_reconstruct.c"
 var $152=(Math_imul($150,$151)|0); //@line 470 "../src/h264bsd_reconstruct.c"
 var $153=$ref; //@line 470 "../src/h264bsd_reconstruct.c"
 var $154=(($153+$152)|0); //@line 470 "../src/h264bsd_reconstruct.c"
 $ref=$154; //@line 470 "../src/h264bsd_reconstruct.c"
 var $155=$ref; //@line 471 "../src/h264bsd_reconstruct.c"
 var $156=$1; //@line 471 "../src/h264bsd_reconstruct.c"
 var $157=(($156+64)|0); //@line 471 "../src/h264bsd_reconstruct.c"
 var $158=$xInt; //@line 471 "../src/h264bsd_reconstruct.c"
 var $159=$yInt; //@line 471 "../src/h264bsd_reconstruct.c"
 var $160=$width; //@line 471 "../src/h264bsd_reconstruct.c"
 var $161=$height; //@line 471 "../src/h264bsd_reconstruct.c"
 var $162=$chromaPartWidth; //@line 471 "../src/h264bsd_reconstruct.c"
 var $163=$chromaPartHeight; //@line 471 "../src/h264bsd_reconstruct.c"
 _h264bsdFillBlock($155,$157,$158,$159,$160,$161,$162,$163,8); //@line 471 "../src/h264bsd_reconstruct.c"
 label=19;break;
 case 19: 
 label=20;break;
 case 20: 
 label=21;break;
 case 21: 
 STACKTOP=sp;return; //@line 475 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdFillRow7($ref,$fill,$left,$center,$right){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 $1=$ref;
 $2=$fill;
 $3=$left;
 $4=$center;
 $5=$right;
 var $6=$1; //@line 2200 "../src/h264bsd_reconstruct.c"
 var $7=($6|0)!=0; //@line 2200 "../src/h264bsd_reconstruct.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 2200 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,2200,13984); //@line 2200 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2200 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 2200 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 2200 "../src/h264bsd_reconstruct.c"
 var $13=$2; //@line 2201 "../src/h264bsd_reconstruct.c"
 var $14=($13|0)!=0; //@line 2201 "../src/h264bsd_reconstruct.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 2201 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(9448,11560,2201,13984); //@line 2201 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2201 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 2201 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 2201 "../src/h264bsd_reconstruct.c"
 var $20=$3; //@line 2203 "../src/h264bsd_reconstruct.c"
 var $21=($20|0)!=0; //@line 2203 "../src/h264bsd_reconstruct.c"
 if($21){label=6;break;}else{label=7;break;} //@line 2203 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $23=$1; //@line 2204 "../src/h264bsd_reconstruct.c"
 var $24=HEAP8[($23)]; //@line 2204 "../src/h264bsd_reconstruct.c"
 $tmp=$24; //@line 2204 "../src/h264bsd_reconstruct.c"
 label=7;break; //@line 2204 "../src/h264bsd_reconstruct.c"
 case 7: 
 label=8;break; //@line 2206 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $27=$3; //@line 2206 "../src/h264bsd_reconstruct.c"
 var $28=($27|0)!=0; //@line 2206 "../src/h264bsd_reconstruct.c"
 if($28){label=9;break;}else{label=11;break;} //@line 2206 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $30=$tmp; //@line 2208 "../src/h264bsd_reconstruct.c"
 var $31=$2; //@line 2208 "../src/h264bsd_reconstruct.c"
 var $32=(($31+1)|0); //@line 2208 "../src/h264bsd_reconstruct.c"
 $2=$32; //@line 2208 "../src/h264bsd_reconstruct.c"
 HEAP8[($31)]=$30; //@line 2208 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 2208 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $34=$3; //@line 2206 "../src/h264bsd_reconstruct.c"
 var $35=((($34)-(1))|0); //@line 2206 "../src/h264bsd_reconstruct.c"
 $3=$35; //@line 2206 "../src/h264bsd_reconstruct.c"
 label=8;break; //@line 2206 "../src/h264bsd_reconstruct.c"
 case 11: 
 label=12;break; //@line 2210 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $38=$4; //@line 2210 "../src/h264bsd_reconstruct.c"
 var $39=($38|0)!=0; //@line 2210 "../src/h264bsd_reconstruct.c"
 if($39){label=13;break;}else{label=15;break;} //@line 2210 "../src/h264bsd_reconstruct.c"
 case 13: 
 var $41=$1; //@line 2211 "../src/h264bsd_reconstruct.c"
 var $42=(($41+1)|0); //@line 2211 "../src/h264bsd_reconstruct.c"
 $1=$42; //@line 2211 "../src/h264bsd_reconstruct.c"
 var $43=HEAP8[($41)]; //@line 2211 "../src/h264bsd_reconstruct.c"
 var $44=$2; //@line 2211 "../src/h264bsd_reconstruct.c"
 var $45=(($44+1)|0); //@line 2211 "../src/h264bsd_reconstruct.c"
 $2=$45; //@line 2211 "../src/h264bsd_reconstruct.c"
 HEAP8[($44)]=$43; //@line 2211 "../src/h264bsd_reconstruct.c"
 label=14;break; //@line 2211 "../src/h264bsd_reconstruct.c"
 case 14: 
 var $47=$4; //@line 2210 "../src/h264bsd_reconstruct.c"
 var $48=((($47)-(1))|0); //@line 2210 "../src/h264bsd_reconstruct.c"
 $4=$48; //@line 2210 "../src/h264bsd_reconstruct.c"
 label=12;break; //@line 2210 "../src/h264bsd_reconstruct.c"
 case 15: 
 var $50=$5; //@line 2213 "../src/h264bsd_reconstruct.c"
 var $51=($50|0)!=0; //@line 2213 "../src/h264bsd_reconstruct.c"
 if($51){label=16;break;}else{label=17;break;} //@line 2213 "../src/h264bsd_reconstruct.c"
 case 16: 
 var $53=$1; //@line 2214 "../src/h264bsd_reconstruct.c"
 var $54=((($53)-(1))|0); //@line 2214 "../src/h264bsd_reconstruct.c"
 var $55=HEAP8[($54)]; //@line 2214 "../src/h264bsd_reconstruct.c"
 $tmp=$55; //@line 2214 "../src/h264bsd_reconstruct.c"
 label=17;break; //@line 2214 "../src/h264bsd_reconstruct.c"
 case 17: 
 label=18;break; //@line 2216 "../src/h264bsd_reconstruct.c"
 case 18: 
 var $58=$5; //@line 2216 "../src/h264bsd_reconstruct.c"
 var $59=($58|0)!=0; //@line 2216 "../src/h264bsd_reconstruct.c"
 if($59){label=19;break;}else{label=21;break;} //@line 2216 "../src/h264bsd_reconstruct.c"
 case 19: 
 var $61=$tmp; //@line 2218 "../src/h264bsd_reconstruct.c"
 var $62=$2; //@line 2218 "../src/h264bsd_reconstruct.c"
 var $63=(($62+1)|0); //@line 2218 "../src/h264bsd_reconstruct.c"
 $2=$63; //@line 2218 "../src/h264bsd_reconstruct.c"
 HEAP8[($62)]=$61; //@line 2218 "../src/h264bsd_reconstruct.c"
 label=20;break; //@line 2218 "../src/h264bsd_reconstruct.c"
 case 20: 
 var $65=$5; //@line 2216 "../src/h264bsd_reconstruct.c"
 var $66=((($65)-(1))|0); //@line 2216 "../src/h264bsd_reconstruct.c"
 $5=$66; //@line 2216 "../src/h264bsd_reconstruct.c"
 label=18;break; //@line 2216 "../src/h264bsd_reconstruct.c"
 case 21: 
 STACKTOP=sp;return; //@line 2219 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _FillRow1($ref,$fill,$left,$center,$right){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $pdest;
 var $psrc;
 var $loops;
 $1=$ref;
 $2=$fill;
 $3=$left;
 $4=$center;
 $5=$right;
 $i=0; //@line 2140 "../src/h264bsd_reconstruct.c"
 var $6=$2; //@line 2141 "../src/h264bsd_reconstruct.c"
 $pdest=$6; //@line 2141 "../src/h264bsd_reconstruct.c"
 var $7=$1; //@line 2142 "../src/h264bsd_reconstruct.c"
 $psrc=$7; //@line 2142 "../src/h264bsd_reconstruct.c"
 var $8=$4; //@line 2143 "../src/h264bsd_reconstruct.c"
 var $9=(((($8>>>0))/(4))&-1); //@line 2143 "../src/h264bsd_reconstruct.c"
 $loops=$9; //@line 2143 "../src/h264bsd_reconstruct.c"
 var $10=$1; //@line 2145 "../src/h264bsd_reconstruct.c"
 var $11=($10|0)!=0; //@line 2145 "../src/h264bsd_reconstruct.c"
 if($11){var $15=0;label=3;break;}else{label=2;break;} //@line 2145 "../src/h264bsd_reconstruct.c"
 case 2: 
 ___assert_fail(5344,11560,2145,16120); //@line 2145 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2145 "../src/h264bsd_reconstruct.c"
 label=3;break; //@line 2145 "../src/h264bsd_reconstruct.c"
 case 3: 
 var $15;
 var $16=($15&1); //@line 2145 "../src/h264bsd_reconstruct.c"
 var $17=$2; //@line 2146 "../src/h264bsd_reconstruct.c"
 var $18=($17|0)!=0; //@line 2146 "../src/h264bsd_reconstruct.c"
 if($18){var $22=1;label=5;break;}else{label=4;break;} //@line 2146 "../src/h264bsd_reconstruct.c"
 case 4: 
 ___assert_fail(9448,11560,2146,16120); //@line 2146 "../src/h264bsd_reconstruct.c"
 throw "Reached an unreachable!"; //@line 2146 "../src/h264bsd_reconstruct.c"
 label=5;break; //@line 2146 "../src/h264bsd_reconstruct.c"
 case 5: 
 var $22;
 var $23=($22&1); //@line 2146 "../src/h264bsd_reconstruct.c"
 $i=0; //@line 2151 "../src/h264bsd_reconstruct.c"
 label=6;break; //@line 2151 "../src/h264bsd_reconstruct.c"
 case 6: 
 var $25=$i; //@line 2151 "../src/h264bsd_reconstruct.c"
 var $26=$loops; //@line 2151 "../src/h264bsd_reconstruct.c"
 var $27=($25|0)<($26|0); //@line 2151 "../src/h264bsd_reconstruct.c"
 if($27){label=7;break;}else{label=9;break;} //@line 2151 "../src/h264bsd_reconstruct.c"
 case 7: 
 var $29=$psrc; //@line 2153 "../src/h264bsd_reconstruct.c"
 var $30=$29; //@line 2153 "../src/h264bsd_reconstruct.c"
 var $31=HEAP32[(($30)>>2)]; //@line 2153 "../src/h264bsd_reconstruct.c"
 var $32=$pdest; //@line 2153 "../src/h264bsd_reconstruct.c"
 var $33=$32; //@line 2153 "../src/h264bsd_reconstruct.c"
 HEAP32[(($33)>>2)]=$31; //@line 2153 "../src/h264bsd_reconstruct.c"
 var $34=$pdest; //@line 2154 "../src/h264bsd_reconstruct.c"
 var $35=(($34+4)|0); //@line 2154 "../src/h264bsd_reconstruct.c"
 $pdest=$35; //@line 2154 "../src/h264bsd_reconstruct.c"
 var $36=$psrc; //@line 2155 "../src/h264bsd_reconstruct.c"
 var $37=(($36+4)|0); //@line 2155 "../src/h264bsd_reconstruct.c"
 $psrc=$37; //@line 2155 "../src/h264bsd_reconstruct.c"
 label=8;break; //@line 2156 "../src/h264bsd_reconstruct.c"
 case 8: 
 var $39=$i; //@line 2151 "../src/h264bsd_reconstruct.c"
 var $40=((($39)+(1))|0); //@line 2151 "../src/h264bsd_reconstruct.c"
 $i=$40; //@line 2151 "../src/h264bsd_reconstruct.c"
 label=6;break; //@line 2151 "../src/h264bsd_reconstruct.c"
 case 9: 
 var $42=$4; //@line 2158 "../src/h264bsd_reconstruct.c"
 var $43=(((($42>>>0))%(4))&-1); //@line 2158 "../src/h264bsd_reconstruct.c"
 $loops=$43; //@line 2158 "../src/h264bsd_reconstruct.c"
 $i=0; //@line 2159 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 2159 "../src/h264bsd_reconstruct.c"
 case 10: 
 var $45=$i; //@line 2159 "../src/h264bsd_reconstruct.c"
 var $46=$loops; //@line 2159 "../src/h264bsd_reconstruct.c"
 var $47=($45|0)<($46|0); //@line 2159 "../src/h264bsd_reconstruct.c"
 if($47){label=11;break;}else{label=13;break;} //@line 2159 "../src/h264bsd_reconstruct.c"
 case 11: 
 var $49=$psrc; //@line 2161 "../src/h264bsd_reconstruct.c"
 var $50=HEAP8[($49)]; //@line 2161 "../src/h264bsd_reconstruct.c"
 var $51=$pdest; //@line 2161 "../src/h264bsd_reconstruct.c"
 HEAP8[($51)]=$50; //@line 2161 "../src/h264bsd_reconstruct.c"
 var $52=$pdest; //@line 2162 "../src/h264bsd_reconstruct.c"
 var $53=(($52+1)|0); //@line 2162 "../src/h264bsd_reconstruct.c"
 $pdest=$53; //@line 2162 "../src/h264bsd_reconstruct.c"
 var $54=$psrc; //@line 2163 "../src/h264bsd_reconstruct.c"
 var $55=(($54+1)|0); //@line 2163 "../src/h264bsd_reconstruct.c"
 $psrc=$55; //@line 2163 "../src/h264bsd_reconstruct.c"
 label=12;break; //@line 2164 "../src/h264bsd_reconstruct.c"
 case 12: 
 var $57=$i; //@line 2159 "../src/h264bsd_reconstruct.c"
 var $58=((($57)+(1))|0); //@line 2159 "../src/h264bsd_reconstruct.c"
 $i=$58; //@line 2159 "../src/h264bsd_reconstruct.c"
 label=10;break; //@line 2159 "../src/h264bsd_reconstruct.c"
 case 13: 
 STACKTOP=sp;return; //@line 2170 "../src/h264bsd_reconstruct.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeSeqParamSet($pStrmData,$pSeqParamSet){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+8)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 var $i;
 var $value=sp;
 $2=$pStrmData;
 $3=$pSeqParamSet;
 var $4=$2; //@line 93 "../src/h264bsd_seq_param_set.c"
 var $5=($4|0)!=0; //@line 93 "../src/h264bsd_seq_param_set.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 93 "../src/h264bsd_seq_param_set.c"
 case 2: 
 ___assert_fail(8408,11384,93,14192); //@line 93 "../src/h264bsd_seq_param_set.c"
 throw "Reached an unreachable!"; //@line 93 "../src/h264bsd_seq_param_set.c"
 label=3;break; //@line 93 "../src/h264bsd_seq_param_set.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 93 "../src/h264bsd_seq_param_set.c"
 var $11=$3; //@line 94 "../src/h264bsd_seq_param_set.c"
 var $12=($11|0)!=0; //@line 94 "../src/h264bsd_seq_param_set.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 94 "../src/h264bsd_seq_param_set.c"
 case 4: 
 ___assert_fail(8992,11384,94,14192); //@line 94 "../src/h264bsd_seq_param_set.c"
 throw "Reached an unreachable!"; //@line 94 "../src/h264bsd_seq_param_set.c"
 label=5;break; //@line 94 "../src/h264bsd_seq_param_set.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 94 "../src/h264bsd_seq_param_set.c"
 var $18=$3; //@line 96 "../src/h264bsd_seq_param_set.c"
 var $19=$18; //@line 96 "../src/h264bsd_seq_param_set.c"
 _memset($19, 0, 92)|0; //@line 96 "../src/h264bsd_seq_param_set.c"
 var $20=$2; //@line 99 "../src/h264bsd_seq_param_set.c"
 var $21=_h264bsdGetBits($20,8); //@line 99 "../src/h264bsd_seq_param_set.c"
 $tmp=$21; //@line 99 "../src/h264bsd_seq_param_set.c"
 var $22=$tmp; //@line 100 "../src/h264bsd_seq_param_set.c"
 var $23=($22|0)==-1; //@line 100 "../src/h264bsd_seq_param_set.c"
 if($23){label=6;break;}else{label=7;break;} //@line 100 "../src/h264bsd_seq_param_set.c"
 case 6: 
 $1=1; //@line 101 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 101 "../src/h264bsd_seq_param_set.c"
 case 7: 
 var $26=$tmp; //@line 102 "../src/h264bsd_seq_param_set.c"
 var $27=($26|0)!=66; //@line 102 "../src/h264bsd_seq_param_set.c"
 if($27){label=8;break;}else{label=9;break;} //@line 102 "../src/h264bsd_seq_param_set.c"
 case 8: 
 var $29=$tmp; //@line 104 "../src/h264bsd_seq_param_set.c"
 var $30=_printf(7936,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=$29,tempVarArgs)); STACKTOP=tempVarArgs; //@line 104 "../src/h264bsd_seq_param_set.c"
 label=9;break; //@line 105 "../src/h264bsd_seq_param_set.c"
 case 9: 
 var $32=$tmp; //@line 106 "../src/h264bsd_seq_param_set.c"
 var $33=$3; //@line 106 "../src/h264bsd_seq_param_set.c"
 var $34=(($33)|0); //@line 106 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($34)>>2)]=$32; //@line 106 "../src/h264bsd_seq_param_set.c"
 var $35=$2; //@line 109 "../src/h264bsd_seq_param_set.c"
 var $36=_h264bsdGetBits($35,1); //@line 109 "../src/h264bsd_seq_param_set.c"
 $tmp=$36; //@line 109 "../src/h264bsd_seq_param_set.c"
 var $37=$2; //@line 111 "../src/h264bsd_seq_param_set.c"
 var $38=_h264bsdGetBits($37,1); //@line 111 "../src/h264bsd_seq_param_set.c"
 $tmp=$38; //@line 111 "../src/h264bsd_seq_param_set.c"
 var $39=$2; //@line 113 "../src/h264bsd_seq_param_set.c"
 var $40=_h264bsdGetBits($39,1); //@line 113 "../src/h264bsd_seq_param_set.c"
 $tmp=$40; //@line 113 "../src/h264bsd_seq_param_set.c"
 var $41=$tmp; //@line 115 "../src/h264bsd_seq_param_set.c"
 var $42=($41|0)==-1; //@line 115 "../src/h264bsd_seq_param_set.c"
 if($42){label=10;break;}else{label=11;break;} //@line 115 "../src/h264bsd_seq_param_set.c"
 case 10: 
 $1=1; //@line 116 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 116 "../src/h264bsd_seq_param_set.c"
 case 11: 
 var $45=$2; //@line 119 "../src/h264bsd_seq_param_set.c"
 var $46=_h264bsdGetBits($45,5); //@line 119 "../src/h264bsd_seq_param_set.c"
 $tmp=$46; //@line 119 "../src/h264bsd_seq_param_set.c"
 var $47=$tmp; //@line 120 "../src/h264bsd_seq_param_set.c"
 var $48=($47|0)==-1; //@line 120 "../src/h264bsd_seq_param_set.c"
 if($48){label=12;break;}else{label=13;break;} //@line 120 "../src/h264bsd_seq_param_set.c"
 case 12: 
 $1=1; //@line 121 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 121 "../src/h264bsd_seq_param_set.c"
 case 13: 
 var $51=$2; //@line 123 "../src/h264bsd_seq_param_set.c"
 var $52=_h264bsdGetBits($51,8); //@line 123 "../src/h264bsd_seq_param_set.c"
 $tmp=$52; //@line 123 "../src/h264bsd_seq_param_set.c"
 var $53=$tmp; //@line 124 "../src/h264bsd_seq_param_set.c"
 var $54=($53|0)==-1; //@line 124 "../src/h264bsd_seq_param_set.c"
 if($54){label=14;break;}else{label=15;break;} //@line 124 "../src/h264bsd_seq_param_set.c"
 case 14: 
 $1=1; //@line 125 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 125 "../src/h264bsd_seq_param_set.c"
 case 15: 
 var $57=$tmp; //@line 126 "../src/h264bsd_seq_param_set.c"
 var $58=$3; //@line 126 "../src/h264bsd_seq_param_set.c"
 var $59=(($58+4)|0); //@line 126 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($59)>>2)]=$57; //@line 126 "../src/h264bsd_seq_param_set.c"
 var $60=$2; //@line 128 "../src/h264bsd_seq_param_set.c"
 var $61=$3; //@line 128 "../src/h264bsd_seq_param_set.c"
 var $62=(($61+8)|0); //@line 128 "../src/h264bsd_seq_param_set.c"
 var $63=_h264bsdDecodeExpGolombUnsigned($60,$62); //@line 128 "../src/h264bsd_seq_param_set.c"
 $tmp=$63; //@line 128 "../src/h264bsd_seq_param_set.c"
 var $64=$tmp; //@line 130 "../src/h264bsd_seq_param_set.c"
 var $65=($64|0)!=0; //@line 130 "../src/h264bsd_seq_param_set.c"
 if($65){label=16;break;}else{label=17;break;} //@line 130 "../src/h264bsd_seq_param_set.c"
 case 16: 
 var $67=$tmp; //@line 131 "../src/h264bsd_seq_param_set.c"
 $1=$67; //@line 131 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 131 "../src/h264bsd_seq_param_set.c"
 case 17: 
 var $69=$3; //@line 132 "../src/h264bsd_seq_param_set.c"
 var $70=(($69+8)|0); //@line 132 "../src/h264bsd_seq_param_set.c"
 var $71=HEAP32[(($70)>>2)]; //@line 132 "../src/h264bsd_seq_param_set.c"
 var $72=($71>>>0)>=32; //@line 132 "../src/h264bsd_seq_param_set.c"
 if($72){label=18;break;}else{label=19;break;} //@line 132 "../src/h264bsd_seq_param_set.c"
 case 18: 
 var $74=HEAP32[((_stderr)>>2)]; //@line 134 "../src/h264bsd_seq_param_set.c"
 var $75=_fprintf($74,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=6240,tempVarArgs)); STACKTOP=tempVarArgs; //@line 134 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 135 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 135 "../src/h264bsd_seq_param_set.c"
 case 19: 
 var $77=$2; //@line 139 "../src/h264bsd_seq_param_set.c"
 var $78=_h264bsdDecodeExpGolombUnsigned($77,$value); //@line 139 "../src/h264bsd_seq_param_set.c"
 $tmp=$78; //@line 139 "../src/h264bsd_seq_param_set.c"
 var $79=$tmp; //@line 140 "../src/h264bsd_seq_param_set.c"
 var $80=($79|0)!=0; //@line 140 "../src/h264bsd_seq_param_set.c"
 if($80){label=20;break;}else{label=21;break;} //@line 140 "../src/h264bsd_seq_param_set.c"
 case 20: 
 var $82=$tmp; //@line 141 "../src/h264bsd_seq_param_set.c"
 $1=$82; //@line 141 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 141 "../src/h264bsd_seq_param_set.c"
 case 21: 
 var $84=HEAP32[(($value)>>2)]; //@line 142 "../src/h264bsd_seq_param_set.c"
 var $85=($84>>>0)>12; //@line 142 "../src/h264bsd_seq_param_set.c"
 if($85){label=22;break;}else{label=23;break;} //@line 142 "../src/h264bsd_seq_param_set.c"
 case 22: 
 var $87=HEAP32[((_stderr)>>2)]; //@line 144 "../src/h264bsd_seq_param_set.c"
 var $88=_fprintf($87,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5736,tempVarArgs)); STACKTOP=tempVarArgs; //@line 144 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 145 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 145 "../src/h264bsd_seq_param_set.c"
 case 23: 
 var $90=HEAP32[(($value)>>2)]; //@line 148 "../src/h264bsd_seq_param_set.c"
 var $91=((($90)+(4))|0); //@line 148 "../src/h264bsd_seq_param_set.c"
 var $92=1<<$91; //@line 148 "../src/h264bsd_seq_param_set.c"
 var $93=$3; //@line 148 "../src/h264bsd_seq_param_set.c"
 var $94=(($93+12)|0); //@line 148 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($94)>>2)]=$92; //@line 148 "../src/h264bsd_seq_param_set.c"
 var $95=$2; //@line 151 "../src/h264bsd_seq_param_set.c"
 var $96=_h264bsdDecodeExpGolombUnsigned($95,$value); //@line 151 "../src/h264bsd_seq_param_set.c"
 $tmp=$96; //@line 151 "../src/h264bsd_seq_param_set.c"
 var $97=$tmp; //@line 152 "../src/h264bsd_seq_param_set.c"
 var $98=($97|0)!=0; //@line 152 "../src/h264bsd_seq_param_set.c"
 if($98){label=24;break;}else{label=25;break;} //@line 152 "../src/h264bsd_seq_param_set.c"
 case 24: 
 var $100=$tmp; //@line 153 "../src/h264bsd_seq_param_set.c"
 $1=$100; //@line 153 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 153 "../src/h264bsd_seq_param_set.c"
 case 25: 
 var $102=HEAP32[(($value)>>2)]; //@line 154 "../src/h264bsd_seq_param_set.c"
 var $103=($102>>>0)>2; //@line 154 "../src/h264bsd_seq_param_set.c"
 if($103){label=26;break;}else{label=27;break;} //@line 154 "../src/h264bsd_seq_param_set.c"
 case 26: 
 var $105=HEAP32[((_stderr)>>2)]; //@line 156 "../src/h264bsd_seq_param_set.c"
 var $106=_fprintf($105,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5312,tempVarArgs)); STACKTOP=tempVarArgs; //@line 156 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 157 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 157 "../src/h264bsd_seq_param_set.c"
 case 27: 
 var $108=HEAP32[(($value)>>2)]; //@line 159 "../src/h264bsd_seq_param_set.c"
 var $109=$3; //@line 159 "../src/h264bsd_seq_param_set.c"
 var $110=(($109+16)|0); //@line 159 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($110)>>2)]=$108; //@line 159 "../src/h264bsd_seq_param_set.c"
 var $111=$3; //@line 161 "../src/h264bsd_seq_param_set.c"
 var $112=(($111+16)|0); //@line 161 "../src/h264bsd_seq_param_set.c"
 var $113=HEAP32[(($112)>>2)]; //@line 161 "../src/h264bsd_seq_param_set.c"
 var $114=($113|0)==0; //@line 161 "../src/h264bsd_seq_param_set.c"
 if($114){label=28;break;}else{label=33;break;} //@line 161 "../src/h264bsd_seq_param_set.c"
 case 28: 
 var $116=$2; //@line 164 "../src/h264bsd_seq_param_set.c"
 var $117=_h264bsdDecodeExpGolombUnsigned($116,$value); //@line 164 "../src/h264bsd_seq_param_set.c"
 $tmp=$117; //@line 164 "../src/h264bsd_seq_param_set.c"
 var $118=$tmp; //@line 165 "../src/h264bsd_seq_param_set.c"
 var $119=($118|0)!=0; //@line 165 "../src/h264bsd_seq_param_set.c"
 if($119){label=29;break;}else{label=30;break;} //@line 165 "../src/h264bsd_seq_param_set.c"
 case 29: 
 var $121=$tmp; //@line 166 "../src/h264bsd_seq_param_set.c"
 $1=$121; //@line 166 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 166 "../src/h264bsd_seq_param_set.c"
 case 30: 
 var $123=HEAP32[(($value)>>2)]; //@line 167 "../src/h264bsd_seq_param_set.c"
 var $124=($123>>>0)>12; //@line 167 "../src/h264bsd_seq_param_set.c"
 if($124){label=31;break;}else{label=32;break;} //@line 167 "../src/h264bsd_seq_param_set.c"
 case 31: 
 var $126=HEAP32[((_stderr)>>2)]; //@line 169 "../src/h264bsd_seq_param_set.c"
 var $127=_fprintf($126,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4976,tempVarArgs)); STACKTOP=tempVarArgs; //@line 169 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 170 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 170 "../src/h264bsd_seq_param_set.c"
 case 32: 
 var $129=HEAP32[(($value)>>2)]; //@line 173 "../src/h264bsd_seq_param_set.c"
 var $130=((($129)+(4))|0); //@line 173 "../src/h264bsd_seq_param_set.c"
 var $131=1<<$130; //@line 173 "../src/h264bsd_seq_param_set.c"
 var $132=$3; //@line 173 "../src/h264bsd_seq_param_set.c"
 var $133=(($132+20)|0); //@line 173 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($133)>>2)]=$131; //@line 173 "../src/h264bsd_seq_param_set.c"
 label=57;break; //@line 174 "../src/h264bsd_seq_param_set.c"
 case 33: 
 var $135=$3; //@line 175 "../src/h264bsd_seq_param_set.c"
 var $136=(($135+16)|0); //@line 175 "../src/h264bsd_seq_param_set.c"
 var $137=HEAP32[(($136)>>2)]; //@line 175 "../src/h264bsd_seq_param_set.c"
 var $138=($137|0)==1; //@line 175 "../src/h264bsd_seq_param_set.c"
 if($138){label=34;break;}else{label=56;break;} //@line 175 "../src/h264bsd_seq_param_set.c"
 case 34: 
 var $140=$2; //@line 177 "../src/h264bsd_seq_param_set.c"
 var $141=_h264bsdGetBits($140,1); //@line 177 "../src/h264bsd_seq_param_set.c"
 $tmp=$141; //@line 177 "../src/h264bsd_seq_param_set.c"
 var $142=$tmp; //@line 178 "../src/h264bsd_seq_param_set.c"
 var $143=($142|0)==-1; //@line 178 "../src/h264bsd_seq_param_set.c"
 if($143){label=35;break;}else{label=36;break;} //@line 178 "../src/h264bsd_seq_param_set.c"
 case 35: 
 $1=1; //@line 179 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 179 "../src/h264bsd_seq_param_set.c"
 case 36: 
 var $146=$tmp; //@line 180 "../src/h264bsd_seq_param_set.c"
 var $147=($146|0)==1; //@line 180 "../src/h264bsd_seq_param_set.c"
 var $148=($147?1:0); //@line 180 "../src/h264bsd_seq_param_set.c"
 var $149=$3; //@line 180 "../src/h264bsd_seq_param_set.c"
 var $150=(($149+24)|0); //@line 180 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($150)>>2)]=$148; //@line 180 "../src/h264bsd_seq_param_set.c"
 var $151=$2; //@line 183 "../src/h264bsd_seq_param_set.c"
 var $152=$3; //@line 183 "../src/h264bsd_seq_param_set.c"
 var $153=(($152+28)|0); //@line 183 "../src/h264bsd_seq_param_set.c"
 var $154=_h264bsdDecodeExpGolombSigned($151,$153); //@line 183 "../src/h264bsd_seq_param_set.c"
 $tmp=$154; //@line 183 "../src/h264bsd_seq_param_set.c"
 var $155=$tmp; //@line 185 "../src/h264bsd_seq_param_set.c"
 var $156=($155|0)!=0; //@line 185 "../src/h264bsd_seq_param_set.c"
 if($156){label=37;break;}else{label=38;break;} //@line 185 "../src/h264bsd_seq_param_set.c"
 case 37: 
 var $158=$tmp; //@line 186 "../src/h264bsd_seq_param_set.c"
 $1=$158; //@line 186 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 186 "../src/h264bsd_seq_param_set.c"
 case 38: 
 var $160=$2; //@line 188 "../src/h264bsd_seq_param_set.c"
 var $161=$3; //@line 188 "../src/h264bsd_seq_param_set.c"
 var $162=(($161+32)|0); //@line 188 "../src/h264bsd_seq_param_set.c"
 var $163=_h264bsdDecodeExpGolombSigned($160,$162); //@line 188 "../src/h264bsd_seq_param_set.c"
 $tmp=$163; //@line 188 "../src/h264bsd_seq_param_set.c"
 var $164=$tmp; //@line 190 "../src/h264bsd_seq_param_set.c"
 var $165=($164|0)!=0; //@line 190 "../src/h264bsd_seq_param_set.c"
 if($165){label=39;break;}else{label=40;break;} //@line 190 "../src/h264bsd_seq_param_set.c"
 case 39: 
 var $167=$tmp; //@line 191 "../src/h264bsd_seq_param_set.c"
 $1=$167; //@line 191 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 191 "../src/h264bsd_seq_param_set.c"
 case 40: 
 var $169=$2; //@line 193 "../src/h264bsd_seq_param_set.c"
 var $170=$3; //@line 193 "../src/h264bsd_seq_param_set.c"
 var $171=(($170+36)|0); //@line 193 "../src/h264bsd_seq_param_set.c"
 var $172=_h264bsdDecodeExpGolombUnsigned($169,$171); //@line 193 "../src/h264bsd_seq_param_set.c"
 $tmp=$172; //@line 193 "../src/h264bsd_seq_param_set.c"
 var $173=$tmp; //@line 195 "../src/h264bsd_seq_param_set.c"
 var $174=($173|0)!=0; //@line 195 "../src/h264bsd_seq_param_set.c"
 if($174){label=41;break;}else{label=42;break;} //@line 195 "../src/h264bsd_seq_param_set.c"
 case 41: 
 var $176=$tmp; //@line 196 "../src/h264bsd_seq_param_set.c"
 $1=$176; //@line 196 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 196 "../src/h264bsd_seq_param_set.c"
 case 42: 
 var $178=$3; //@line 197 "../src/h264bsd_seq_param_set.c"
 var $179=(($178+36)|0); //@line 197 "../src/h264bsd_seq_param_set.c"
 var $180=HEAP32[(($179)>>2)]; //@line 197 "../src/h264bsd_seq_param_set.c"
 var $181=($180>>>0)>255; //@line 197 "../src/h264bsd_seq_param_set.c"
 if($181){label=43;break;}else{label=44;break;} //@line 197 "../src/h264bsd_seq_param_set.c"
 case 43: 
 var $183=HEAP32[((_stderr)>>2)]; //@line 199 "../src/h264bsd_seq_param_set.c"
 var $184=_fprintf($183,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4584,tempVarArgs)); STACKTOP=tempVarArgs; //@line 199 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 200 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 200 "../src/h264bsd_seq_param_set.c"
 case 44: 
 var $186=$3; //@line 203 "../src/h264bsd_seq_param_set.c"
 var $187=(($186+36)|0); //@line 203 "../src/h264bsd_seq_param_set.c"
 var $188=HEAP32[(($187)>>2)]; //@line 203 "../src/h264bsd_seq_param_set.c"
 var $189=($188|0)!=0; //@line 203 "../src/h264bsd_seq_param_set.c"
 if($189){label=45;break;}else{label=54;break;} //@line 203 "../src/h264bsd_seq_param_set.c"
 case 45: 
 var $191=$3; //@line 206 "../src/h264bsd_seq_param_set.c"
 var $192=(($191+36)|0); //@line 206 "../src/h264bsd_seq_param_set.c"
 var $193=HEAP32[(($192)>>2)]; //@line 206 "../src/h264bsd_seq_param_set.c"
 var $194=($193<<2); //@line 206 "../src/h264bsd_seq_param_set.c"
 var $195=_malloc($194); //@line 206 "../src/h264bsd_seq_param_set.c"
 var $196=$195; //@line 206 "../src/h264bsd_seq_param_set.c"
 var $197=$3; //@line 206 "../src/h264bsd_seq_param_set.c"
 var $198=(($197+40)|0); //@line 206 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($198)>>2)]=$196; //@line 206 "../src/h264bsd_seq_param_set.c"
 var $199=$3; //@line 208 "../src/h264bsd_seq_param_set.c"
 var $200=(($199+40)|0); //@line 208 "../src/h264bsd_seq_param_set.c"
 var $201=HEAP32[(($200)>>2)]; //@line 208 "../src/h264bsd_seq_param_set.c"
 var $202=($201|0)==0; //@line 208 "../src/h264bsd_seq_param_set.c"
 if($202){label=46;break;}else{label=47;break;} //@line 208 "../src/h264bsd_seq_param_set.c"
 case 46: 
 $1=65535; //@line 209 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 209 "../src/h264bsd_seq_param_set.c"
 case 47: 
 $i=0; //@line 211 "../src/h264bsd_seq_param_set.c"
 label=48;break; //@line 211 "../src/h264bsd_seq_param_set.c"
 case 48: 
 var $206=$i; //@line 211 "../src/h264bsd_seq_param_set.c"
 var $207=$3; //@line 211 "../src/h264bsd_seq_param_set.c"
 var $208=(($207+36)|0); //@line 211 "../src/h264bsd_seq_param_set.c"
 var $209=HEAP32[(($208)>>2)]; //@line 211 "../src/h264bsd_seq_param_set.c"
 var $210=($206>>>0)<($209>>>0); //@line 211 "../src/h264bsd_seq_param_set.c"
 if($210){label=49;break;}else{label=53;break;} //@line 211 "../src/h264bsd_seq_param_set.c"
 case 49: 
 var $212=$2; //@line 213 "../src/h264bsd_seq_param_set.c"
 var $213=$3; //@line 213 "../src/h264bsd_seq_param_set.c"
 var $214=(($213+40)|0); //@line 213 "../src/h264bsd_seq_param_set.c"
 var $215=HEAP32[(($214)>>2)]; //@line 213 "../src/h264bsd_seq_param_set.c"
 var $216=$i; //@line 213 "../src/h264bsd_seq_param_set.c"
 var $217=(($215+($216<<2))|0); //@line 213 "../src/h264bsd_seq_param_set.c"
 var $218=_h264bsdDecodeExpGolombSigned($212,$217); //@line 213 "../src/h264bsd_seq_param_set.c"
 $tmp=$218; //@line 213 "../src/h264bsd_seq_param_set.c"
 var $219=$tmp; //@line 215 "../src/h264bsd_seq_param_set.c"
 var $220=($219|0)!=0; //@line 215 "../src/h264bsd_seq_param_set.c"
 if($220){label=50;break;}else{label=51;break;} //@line 215 "../src/h264bsd_seq_param_set.c"
 case 50: 
 var $222=$tmp; //@line 216 "../src/h264bsd_seq_param_set.c"
 $1=$222; //@line 216 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 216 "../src/h264bsd_seq_param_set.c"
 case 51: 
 label=52;break; //@line 217 "../src/h264bsd_seq_param_set.c"
 case 52: 
 var $225=$i; //@line 211 "../src/h264bsd_seq_param_set.c"
 var $226=((($225)+(1))|0); //@line 211 "../src/h264bsd_seq_param_set.c"
 $i=$226; //@line 211 "../src/h264bsd_seq_param_set.c"
 label=48;break; //@line 211 "../src/h264bsd_seq_param_set.c"
 case 53: 
 label=55;break; //@line 218 "../src/h264bsd_seq_param_set.c"
 case 54: 
 var $229=$3; //@line 221 "../src/h264bsd_seq_param_set.c"
 var $230=(($229+40)|0); //@line 221 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($230)>>2)]=0; //@line 221 "../src/h264bsd_seq_param_set.c"
 label=55;break;
 case 55: 
 label=56;break; //@line 223 "../src/h264bsd_seq_param_set.c"
 case 56: 
 label=57;break;
 case 57: 
 var $234=$2; //@line 225 "../src/h264bsd_seq_param_set.c"
 var $235=$3; //@line 225 "../src/h264bsd_seq_param_set.c"
 var $236=(($235+44)|0); //@line 225 "../src/h264bsd_seq_param_set.c"
 var $237=_h264bsdDecodeExpGolombUnsigned($234,$236); //@line 225 "../src/h264bsd_seq_param_set.c"
 $tmp=$237; //@line 225 "../src/h264bsd_seq_param_set.c"
 var $238=$tmp; //@line 227 "../src/h264bsd_seq_param_set.c"
 var $239=($238|0)!=0; //@line 227 "../src/h264bsd_seq_param_set.c"
 if($239){label=58;break;}else{label=59;break;} //@line 227 "../src/h264bsd_seq_param_set.c"
 case 58: 
 var $241=$tmp; //@line 228 "../src/h264bsd_seq_param_set.c"
 $1=$241; //@line 228 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 228 "../src/h264bsd_seq_param_set.c"
 case 59: 
 var $243=$3; //@line 229 "../src/h264bsd_seq_param_set.c"
 var $244=(($243+44)|0); //@line 229 "../src/h264bsd_seq_param_set.c"
 var $245=HEAP32[(($244)>>2)]; //@line 229 "../src/h264bsd_seq_param_set.c"
 var $246=($245>>>0)>16; //@line 229 "../src/h264bsd_seq_param_set.c"
 if($246){label=60;break;}else{label=61;break;} //@line 229 "../src/h264bsd_seq_param_set.c"
 case 60: 
 var $248=HEAP32[((_stderr)>>2)]; //@line 231 "../src/h264bsd_seq_param_set.c"
 var $249=_fprintf($248,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=12352,tempVarArgs)); STACKTOP=tempVarArgs; //@line 231 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 232 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 232 "../src/h264bsd_seq_param_set.c"
 case 61: 
 var $251=$2; //@line 235 "../src/h264bsd_seq_param_set.c"
 var $252=_h264bsdGetBits($251,1); //@line 235 "../src/h264bsd_seq_param_set.c"
 $tmp=$252; //@line 235 "../src/h264bsd_seq_param_set.c"
 var $253=$tmp; //@line 236 "../src/h264bsd_seq_param_set.c"
 var $254=($253|0)==-1; //@line 236 "../src/h264bsd_seq_param_set.c"
 if($254){label=62;break;}else{label=63;break;} //@line 236 "../src/h264bsd_seq_param_set.c"
 case 62: 
 $1=1; //@line 237 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 237 "../src/h264bsd_seq_param_set.c"
 case 63: 
 var $257=$tmp; //@line 238 "../src/h264bsd_seq_param_set.c"
 var $258=($257|0)==1; //@line 238 "../src/h264bsd_seq_param_set.c"
 var $259=($258?1:0); //@line 238 "../src/h264bsd_seq_param_set.c"
 var $260=$3; //@line 238 "../src/h264bsd_seq_param_set.c"
 var $261=(($260+48)|0); //@line 238 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($261)>>2)]=$259; //@line 238 "../src/h264bsd_seq_param_set.c"
 var $262=$2; //@line 241 "../src/h264bsd_seq_param_set.c"
 var $263=_h264bsdDecodeExpGolombUnsigned($262,$value); //@line 241 "../src/h264bsd_seq_param_set.c"
 $tmp=$263; //@line 241 "../src/h264bsd_seq_param_set.c"
 var $264=$tmp; //@line 242 "../src/h264bsd_seq_param_set.c"
 var $265=($264|0)!=0; //@line 242 "../src/h264bsd_seq_param_set.c"
 if($265){label=64;break;}else{label=65;break;} //@line 242 "../src/h264bsd_seq_param_set.c"
 case 64: 
 var $267=$tmp; //@line 243 "../src/h264bsd_seq_param_set.c"
 $1=$267; //@line 243 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 243 "../src/h264bsd_seq_param_set.c"
 case 65: 
 var $269=HEAP32[(($value)>>2)]; //@line 244 "../src/h264bsd_seq_param_set.c"
 var $270=((($269)+(1))|0); //@line 244 "../src/h264bsd_seq_param_set.c"
 var $271=$3; //@line 244 "../src/h264bsd_seq_param_set.c"
 var $272=(($271+52)|0); //@line 244 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($272)>>2)]=$270; //@line 244 "../src/h264bsd_seq_param_set.c"
 var $273=$2; //@line 246 "../src/h264bsd_seq_param_set.c"
 var $274=_h264bsdDecodeExpGolombUnsigned($273,$value); //@line 246 "../src/h264bsd_seq_param_set.c"
 $tmp=$274; //@line 246 "../src/h264bsd_seq_param_set.c"
 var $275=$tmp; //@line 247 "../src/h264bsd_seq_param_set.c"
 var $276=($275|0)!=0; //@line 247 "../src/h264bsd_seq_param_set.c"
 if($276){label=66;break;}else{label=67;break;} //@line 247 "../src/h264bsd_seq_param_set.c"
 case 66: 
 var $278=$tmp; //@line 248 "../src/h264bsd_seq_param_set.c"
 $1=$278; //@line 248 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 248 "../src/h264bsd_seq_param_set.c"
 case 67: 
 var $280=HEAP32[(($value)>>2)]; //@line 249 "../src/h264bsd_seq_param_set.c"
 var $281=((($280)+(1))|0); //@line 249 "../src/h264bsd_seq_param_set.c"
 var $282=$3; //@line 249 "../src/h264bsd_seq_param_set.c"
 var $283=(($282+56)|0); //@line 249 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($283)>>2)]=$281; //@line 249 "../src/h264bsd_seq_param_set.c"
 var $284=$2; //@line 252 "../src/h264bsd_seq_param_set.c"
 var $285=_h264bsdGetBits($284,1); //@line 252 "../src/h264bsd_seq_param_set.c"
 $tmp=$285; //@line 252 "../src/h264bsd_seq_param_set.c"
 var $286=$tmp; //@line 253 "../src/h264bsd_seq_param_set.c"
 var $287=($286|0)==-1; //@line 253 "../src/h264bsd_seq_param_set.c"
 if($287){label=68;break;}else{label=69;break;} //@line 253 "../src/h264bsd_seq_param_set.c"
 case 68: 
 $1=1; //@line 254 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 254 "../src/h264bsd_seq_param_set.c"
 case 69: 
 var $290=$tmp; //@line 255 "../src/h264bsd_seq_param_set.c"
 var $291=($290|0)!=0; //@line 255 "../src/h264bsd_seq_param_set.c"
 if($291){label=71;break;}else{label=70;break;} //@line 255 "../src/h264bsd_seq_param_set.c"
 case 70: 
 var $293=HEAP32[((_stderr)>>2)]; //@line 257 "../src/h264bsd_seq_param_set.c"
 var $294=_fprintf($293,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11992,tempVarArgs)); STACKTOP=tempVarArgs; //@line 257 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 258 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 258 "../src/h264bsd_seq_param_set.c"
 case 71: 
 var $296=$2; //@line 262 "../src/h264bsd_seq_param_set.c"
 var $297=_h264bsdGetBits($296,1); //@line 262 "../src/h264bsd_seq_param_set.c"
 $tmp=$297; //@line 262 "../src/h264bsd_seq_param_set.c"
 var $298=$tmp; //@line 263 "../src/h264bsd_seq_param_set.c"
 var $299=($298|0)==-1; //@line 263 "../src/h264bsd_seq_param_set.c"
 if($299){label=72;break;}else{label=73;break;} //@line 263 "../src/h264bsd_seq_param_set.c"
 case 72: 
 $1=1; //@line 264 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 264 "../src/h264bsd_seq_param_set.c"
 case 73: 
 var $302=$2; //@line 266 "../src/h264bsd_seq_param_set.c"
 var $303=_h264bsdGetBits($302,1); //@line 266 "../src/h264bsd_seq_param_set.c"
 $tmp=$303; //@line 266 "../src/h264bsd_seq_param_set.c"
 var $304=$tmp; //@line 267 "../src/h264bsd_seq_param_set.c"
 var $305=($304|0)==-1; //@line 267 "../src/h264bsd_seq_param_set.c"
 if($305){label=74;break;}else{label=75;break;} //@line 267 "../src/h264bsd_seq_param_set.c"
 case 74: 
 $1=1; //@line 268 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 268 "../src/h264bsd_seq_param_set.c"
 case 75: 
 var $308=$tmp; //@line 269 "../src/h264bsd_seq_param_set.c"
 var $309=($308|0)==1; //@line 269 "../src/h264bsd_seq_param_set.c"
 var $310=($309?1:0); //@line 269 "../src/h264bsd_seq_param_set.c"
 var $311=$3; //@line 269 "../src/h264bsd_seq_param_set.c"
 var $312=(($311+60)|0); //@line 269 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($312)>>2)]=$310; //@line 269 "../src/h264bsd_seq_param_set.c"
 var $313=$3; //@line 271 "../src/h264bsd_seq_param_set.c"
 var $314=(($313+60)|0); //@line 271 "../src/h264bsd_seq_param_set.c"
 var $315=HEAP32[(($314)>>2)]; //@line 271 "../src/h264bsd_seq_param_set.c"
 var $316=($315|0)!=0; //@line 271 "../src/h264bsd_seq_param_set.c"
 if($316){label=76;break;}else{label=88;break;} //@line 271 "../src/h264bsd_seq_param_set.c"
 case 76: 
 var $318=$2; //@line 273 "../src/h264bsd_seq_param_set.c"
 var $319=$3; //@line 273 "../src/h264bsd_seq_param_set.c"
 var $320=(($319+64)|0); //@line 273 "../src/h264bsd_seq_param_set.c"
 var $321=_h264bsdDecodeExpGolombUnsigned($318,$320); //@line 273 "../src/h264bsd_seq_param_set.c"
 $tmp=$321; //@line 273 "../src/h264bsd_seq_param_set.c"
 var $322=$tmp; //@line 275 "../src/h264bsd_seq_param_set.c"
 var $323=($322|0)!=0; //@line 275 "../src/h264bsd_seq_param_set.c"
 if($323){label=77;break;}else{label=78;break;} //@line 275 "../src/h264bsd_seq_param_set.c"
 case 77: 
 var $325=$tmp; //@line 276 "../src/h264bsd_seq_param_set.c"
 $1=$325; //@line 276 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 276 "../src/h264bsd_seq_param_set.c"
 case 78: 
 var $327=$2; //@line 277 "../src/h264bsd_seq_param_set.c"
 var $328=$3; //@line 277 "../src/h264bsd_seq_param_set.c"
 var $329=(($328+68)|0); //@line 277 "../src/h264bsd_seq_param_set.c"
 var $330=_h264bsdDecodeExpGolombUnsigned($327,$329); //@line 277 "../src/h264bsd_seq_param_set.c"
 $tmp=$330; //@line 277 "../src/h264bsd_seq_param_set.c"
 var $331=$tmp; //@line 279 "../src/h264bsd_seq_param_set.c"
 var $332=($331|0)!=0; //@line 279 "../src/h264bsd_seq_param_set.c"
 if($332){label=79;break;}else{label=80;break;} //@line 279 "../src/h264bsd_seq_param_set.c"
 case 79: 
 var $334=$tmp; //@line 280 "../src/h264bsd_seq_param_set.c"
 $1=$334; //@line 280 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 280 "../src/h264bsd_seq_param_set.c"
 case 80: 
 var $336=$2; //@line 281 "../src/h264bsd_seq_param_set.c"
 var $337=$3; //@line 281 "../src/h264bsd_seq_param_set.c"
 var $338=(($337+72)|0); //@line 281 "../src/h264bsd_seq_param_set.c"
 var $339=_h264bsdDecodeExpGolombUnsigned($336,$338); //@line 281 "../src/h264bsd_seq_param_set.c"
 $tmp=$339; //@line 281 "../src/h264bsd_seq_param_set.c"
 var $340=$tmp; //@line 283 "../src/h264bsd_seq_param_set.c"
 var $341=($340|0)!=0; //@line 283 "../src/h264bsd_seq_param_set.c"
 if($341){label=81;break;}else{label=82;break;} //@line 283 "../src/h264bsd_seq_param_set.c"
 case 81: 
 var $343=$tmp; //@line 284 "../src/h264bsd_seq_param_set.c"
 $1=$343; //@line 284 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 284 "../src/h264bsd_seq_param_set.c"
 case 82: 
 var $345=$2; //@line 285 "../src/h264bsd_seq_param_set.c"
 var $346=$3; //@line 285 "../src/h264bsd_seq_param_set.c"
 var $347=(($346+76)|0); //@line 285 "../src/h264bsd_seq_param_set.c"
 var $348=_h264bsdDecodeExpGolombUnsigned($345,$347); //@line 285 "../src/h264bsd_seq_param_set.c"
 $tmp=$348; //@line 285 "../src/h264bsd_seq_param_set.c"
 var $349=$tmp; //@line 287 "../src/h264bsd_seq_param_set.c"
 var $350=($349|0)!=0; //@line 287 "../src/h264bsd_seq_param_set.c"
 if($350){label=83;break;}else{label=84;break;} //@line 287 "../src/h264bsd_seq_param_set.c"
 case 83: 
 var $352=$tmp; //@line 288 "../src/h264bsd_seq_param_set.c"
 $1=$352; //@line 288 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 288 "../src/h264bsd_seq_param_set.c"
 case 84: 
 var $354=$3; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $355=(($354+64)|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $356=HEAP32[(($355)>>2)]; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $357=$3; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $358=(($357+52)|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $359=HEAP32[(($358)>>2)]; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $360=($359<<3); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $361=$3; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $362=(($361+68)|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $363=HEAP32[(($362)>>2)]; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $364=((($363)+(1))|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $365=((($360)-($364))|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $366=($356|0)>($365|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 if($366){label=86;break;}else{label=85;break;} //@line 292 "../src/h264bsd_seq_param_set.c"
 case 85: 
 var $368=$3; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $369=(($368+72)|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $370=HEAP32[(($369)>>2)]; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $371=$3; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $372=(($371+56)|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $373=HEAP32[(($372)>>2)]; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $374=($373<<3); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $375=$3; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $376=(($375+76)|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $377=HEAP32[(($376)>>2)]; //@line 292 "../src/h264bsd_seq_param_set.c"
 var $378=((($377)+(1))|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $379=((($374)-($378))|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 var $380=($370|0)>($379|0); //@line 292 "../src/h264bsd_seq_param_set.c"
 if($380){label=86;break;}else{label=87;break;} //@line 292 "../src/h264bsd_seq_param_set.c"
 case 86: 
 var $382=HEAP32[((_stderr)>>2)]; //@line 299 "../src/h264bsd_seq_param_set.c"
 var $383=_fprintf($382,7032,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11544,tempVarArgs)); STACKTOP=tempVarArgs; //@line 299 "../src/h264bsd_seq_param_set.c"
 $1=1; //@line 300 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 300 "../src/h264bsd_seq_param_set.c"
 case 87: 
 label=88;break; //@line 302 "../src/h264bsd_seq_param_set.c"
 case 88: 
 var $386=$3; //@line 305 "../src/h264bsd_seq_param_set.c"
 var $387=(($386+52)|0); //@line 305 "../src/h264bsd_seq_param_set.c"
 var $388=HEAP32[(($387)>>2)]; //@line 305 "../src/h264bsd_seq_param_set.c"
 var $389=$3; //@line 305 "../src/h264bsd_seq_param_set.c"
 var $390=(($389+56)|0); //@line 305 "../src/h264bsd_seq_param_set.c"
 var $391=HEAP32[(($390)>>2)]; //@line 305 "../src/h264bsd_seq_param_set.c"
 var $392=(Math_imul($388,$391)|0); //@line 305 "../src/h264bsd_seq_param_set.c"
 $tmp=$392; //@line 305 "../src/h264bsd_seq_param_set.c"
 var $393=$tmp; //@line 306 "../src/h264bsd_seq_param_set.c"
 var $394=$3; //@line 306 "../src/h264bsd_seq_param_set.c"
 var $395=(($394+4)|0); //@line 306 "../src/h264bsd_seq_param_set.c"
 var $396=HEAP32[(($395)>>2)]; //@line 306 "../src/h264bsd_seq_param_set.c"
 var $397=_GetDpbSize($393,$396); //@line 306 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($value)>>2)]=$397; //@line 306 "../src/h264bsd_seq_param_set.c"
 var $398=HEAP32[(($value)>>2)]; //@line 307 "../src/h264bsd_seq_param_set.c"
 var $399=($398|0)==2147483647; //@line 307 "../src/h264bsd_seq_param_set.c"
 if($399){label=90;break;}else{label=89;break;} //@line 307 "../src/h264bsd_seq_param_set.c"
 case 89: 
 var $401=$3; //@line 307 "../src/h264bsd_seq_param_set.c"
 var $402=(($401+44)|0); //@line 307 "../src/h264bsd_seq_param_set.c"
 var $403=HEAP32[(($402)>>2)]; //@line 307 "../src/h264bsd_seq_param_set.c"
 var $404=HEAP32[(($value)>>2)]; //@line 307 "../src/h264bsd_seq_param_set.c"
 var $405=($403>>>0)>($404>>>0); //@line 307 "../src/h264bsd_seq_param_set.c"
 if($405){label=90;break;}else{label=91;break;} //@line 307 "../src/h264bsd_seq_param_set.c"
 case 90: 
 var $407=_printf(11168,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 309 "../src/h264bsd_seq_param_set.c"
 var $408=$3; //@line 310 "../src/h264bsd_seq_param_set.c"
 var $409=(($408+44)|0); //@line 310 "../src/h264bsd_seq_param_set.c"
 var $410=HEAP32[(($409)>>2)]; //@line 310 "../src/h264bsd_seq_param_set.c"
 var $411=_printf(10672,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=$410,tempVarArgs)); STACKTOP=tempVarArgs; //@line 310 "../src/h264bsd_seq_param_set.c"
 var $412=$3; //@line 312 "../src/h264bsd_seq_param_set.c"
 var $413=(($412+44)|0); //@line 312 "../src/h264bsd_seq_param_set.c"
 var $414=HEAP32[(($413)>>2)]; //@line 312 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($value)>>2)]=$414; //@line 312 "../src/h264bsd_seq_param_set.c"
 label=91;break; //@line 313 "../src/h264bsd_seq_param_set.c"
 case 91: 
 var $416=HEAP32[(($value)>>2)]; //@line 314 "../src/h264bsd_seq_param_set.c"
 var $417=$3; //@line 314 "../src/h264bsd_seq_param_set.c"
 var $418=(($417+88)|0); //@line 314 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($418)>>2)]=$416; //@line 314 "../src/h264bsd_seq_param_set.c"
 var $419=$2; //@line 316 "../src/h264bsd_seq_param_set.c"
 var $420=_h264bsdGetBits($419,1); //@line 316 "../src/h264bsd_seq_param_set.c"
 $tmp=$420; //@line 316 "../src/h264bsd_seq_param_set.c"
 var $421=$tmp; //@line 317 "../src/h264bsd_seq_param_set.c"
 var $422=($421|0)==-1; //@line 317 "../src/h264bsd_seq_param_set.c"
 if($422){label=92;break;}else{label=93;break;} //@line 317 "../src/h264bsd_seq_param_set.c"
 case 92: 
 $1=1; //@line 318 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 318 "../src/h264bsd_seq_param_set.c"
 case 93: 
 var $425=$tmp; //@line 319 "../src/h264bsd_seq_param_set.c"
 var $426=($425|0)==1; //@line 319 "../src/h264bsd_seq_param_set.c"
 var $427=($426?1:0); //@line 319 "../src/h264bsd_seq_param_set.c"
 var $428=$3; //@line 319 "../src/h264bsd_seq_param_set.c"
 var $429=(($428+80)|0); //@line 319 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($429)>>2)]=$427; //@line 319 "../src/h264bsd_seq_param_set.c"
 var $430=$3; //@line 323 "../src/h264bsd_seq_param_set.c"
 var $431=(($430+80)|0); //@line 323 "../src/h264bsd_seq_param_set.c"
 var $432=HEAP32[(($431)>>2)]; //@line 323 "../src/h264bsd_seq_param_set.c"
 var $433=($432|0)!=0; //@line 323 "../src/h264bsd_seq_param_set.c"
 if($433){label=94;break;}else{label=108;break;} //@line 323 "../src/h264bsd_seq_param_set.c"
 case 94: 
 var $435=_malloc(952); //@line 325 "../src/h264bsd_seq_param_set.c"
 var $436=$435; //@line 325 "../src/h264bsd_seq_param_set.c"
 var $437=$3; //@line 325 "../src/h264bsd_seq_param_set.c"
 var $438=(($437+84)|0); //@line 325 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($438)>>2)]=$436; //@line 325 "../src/h264bsd_seq_param_set.c"
 var $439=$3; //@line 326 "../src/h264bsd_seq_param_set.c"
 var $440=(($439+84)|0); //@line 326 "../src/h264bsd_seq_param_set.c"
 var $441=HEAP32[(($440)>>2)]; //@line 326 "../src/h264bsd_seq_param_set.c"
 var $442=($441|0)==0; //@line 326 "../src/h264bsd_seq_param_set.c"
 if($442){label=95;break;}else{label=96;break;} //@line 326 "../src/h264bsd_seq_param_set.c"
 case 95: 
 $1=65535; //@line 327 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 327 "../src/h264bsd_seq_param_set.c"
 case 96: 
 var $445=$2; //@line 328 "../src/h264bsd_seq_param_set.c"
 var $446=$3; //@line 328 "../src/h264bsd_seq_param_set.c"
 var $447=(($446+84)|0); //@line 328 "../src/h264bsd_seq_param_set.c"
 var $448=HEAP32[(($447)>>2)]; //@line 328 "../src/h264bsd_seq_param_set.c"
 var $449=_h264bsdDecodeVuiParameters($445,$448); //@line 328 "../src/h264bsd_seq_param_set.c"
 $tmp=$449; //@line 328 "../src/h264bsd_seq_param_set.c"
 var $450=$tmp; //@line 330 "../src/h264bsd_seq_param_set.c"
 var $451=($450|0)!=0; //@line 330 "../src/h264bsd_seq_param_set.c"
 if($451){label=97;break;}else{label=98;break;} //@line 330 "../src/h264bsd_seq_param_set.c"
 case 97: 
 var $453=$tmp; //@line 331 "../src/h264bsd_seq_param_set.c"
 $1=$453; //@line 331 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 331 "../src/h264bsd_seq_param_set.c"
 case 98: 
 var $455=$3; //@line 333 "../src/h264bsd_seq_param_set.c"
 var $456=(($455+84)|0); //@line 333 "../src/h264bsd_seq_param_set.c"
 var $457=HEAP32[(($456)>>2)]; //@line 333 "../src/h264bsd_seq_param_set.c"
 var $458=(($457+920)|0); //@line 333 "../src/h264bsd_seq_param_set.c"
 var $459=HEAP32[(($458)>>2)]; //@line 333 "../src/h264bsd_seq_param_set.c"
 var $460=($459|0)!=0; //@line 333 "../src/h264bsd_seq_param_set.c"
 if($460){label=99;break;}else{label=107;break;} //@line 333 "../src/h264bsd_seq_param_set.c"
 case 99: 
 var $462=$3; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $463=(($462+84)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $464=HEAP32[(($463)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $465=(($464+944)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $466=HEAP32[(($465)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $467=$3; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $468=(($467+84)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $469=HEAP32[(($468)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $470=(($469+948)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $471=HEAP32[(($470)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $472=($466>>>0)>($471>>>0); //@line 335 "../src/h264bsd_seq_param_set.c"
 if($472){label=102;break;}else{label=100;break;} //@line 335 "../src/h264bsd_seq_param_set.c"
 case 100: 
 var $474=$3; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $475=(($474+84)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $476=HEAP32[(($475)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $477=(($476+948)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $478=HEAP32[(($477)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $479=$3; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $480=(($479+44)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $481=HEAP32[(($480)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $482=($478>>>0)<($481>>>0); //@line 335 "../src/h264bsd_seq_param_set.c"
 if($482){label=102;break;}else{label=101;break;} //@line 335 "../src/h264bsd_seq_param_set.c"
 case 101: 
 var $484=$3; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $485=(($484+84)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $486=HEAP32[(($485)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $487=(($486+948)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $488=HEAP32[(($487)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $489=$3; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $490=(($489+88)|0); //@line 335 "../src/h264bsd_seq_param_set.c"
 var $491=HEAP32[(($490)>>2)]; //@line 335 "../src/h264bsd_seq_param_set.c"
 var $492=($488>>>0)>($491>>>0); //@line 335 "../src/h264bsd_seq_param_set.c"
 if($492){label=102;break;}else{label=103;break;} //@line 335 "../src/h264bsd_seq_param_set.c"
 case 102: 
 $1=1; //@line 342 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 342 "../src/h264bsd_seq_param_set.c"
 case 103: 
 var $495=$3; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $496=(($495+84)|0); //@line 347 "../src/h264bsd_seq_param_set.c"
 var $497=HEAP32[(($496)>>2)]; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $498=(($497+948)|0); //@line 347 "../src/h264bsd_seq_param_set.c"
 var $499=HEAP32[(($498)>>2)]; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $500=1>($499>>>0); //@line 347 "../src/h264bsd_seq_param_set.c"
 if($500){label=104;break;}else{label=105;break;} //@line 347 "../src/h264bsd_seq_param_set.c"
 case 104: 
 var $509=1;label=106;break; //@line 347 "../src/h264bsd_seq_param_set.c"
 case 105: 
 var $503=$3; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $504=(($503+84)|0); //@line 347 "../src/h264bsd_seq_param_set.c"
 var $505=HEAP32[(($504)>>2)]; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $506=(($505+948)|0); //@line 347 "../src/h264bsd_seq_param_set.c"
 var $507=HEAP32[(($506)>>2)]; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $509=$507;label=106;break; //@line 347 "../src/h264bsd_seq_param_set.c"
 case 106: 
 var $509; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $510=$3; //@line 347 "../src/h264bsd_seq_param_set.c"
 var $511=(($510+88)|0); //@line 347 "../src/h264bsd_seq_param_set.c"
 HEAP32[(($511)>>2)]=$509; //@line 347 "../src/h264bsd_seq_param_set.c"
 label=107;break; //@line 349 "../src/h264bsd_seq_param_set.c"
 case 107: 
 label=108;break; //@line 350 "../src/h264bsd_seq_param_set.c"
 case 108: 
 var $514=$2; //@line 352 "../src/h264bsd_seq_param_set.c"
 var $515=_h264bsdRbspTrailingBits($514); //@line 352 "../src/h264bsd_seq_param_set.c"
 $tmp=$515; //@line 352 "../src/h264bsd_seq_param_set.c"
 $1=0; //@line 355 "../src/h264bsd_seq_param_set.c"
 label=109;break; //@line 355 "../src/h264bsd_seq_param_set.c"
 case 109: 
 var $517=$1; //@line 357 "../src/h264bsd_seq_param_set.c"
 STACKTOP=sp;return $517; //@line 357 "../src/h264bsd_seq_param_set.c"
  default: assert(0, "bad label: " + label);
 }
}
function _GetDpbSize($picSizeInMbs,$levelIdc){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 var $maxPicSizeInMbs;
 $2=$picSizeInMbs;
 $3=$levelIdc;
 var $4=$2; //@line 394 "../src/h264bsd_seq_param_set.c"
 var $5=($4|0)!=0; //@line 394 "../src/h264bsd_seq_param_set.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 394 "../src/h264bsd_seq_param_set.c"
 case 2: 
 ___assert_fail(9864,11384,394,15832); //@line 394 "../src/h264bsd_seq_param_set.c"
 throw "Reached an unreachable!"; //@line 394 "../src/h264bsd_seq_param_set.c"
 label=3;break; //@line 394 "../src/h264bsd_seq_param_set.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 394 "../src/h264bsd_seq_param_set.c"
 var $11=$3; //@line 398 "../src/h264bsd_seq_param_set.c"
 switch(($11|0)){case 22:{ label=10;break;}case 30:{ label=11;break;}case 31:{ label=12;break;}case 32:{ label=13;break;}case 40:{ label=14;break;}case 41:{ label=15;break;}case 42:{ label=16;break;}case 50:{ label=17;break;}case 51:{ label=18;break;}case 10:{ label=4;break;}case 11:{ label=5;break;}case 12:{ label=6;break;}case 13:{ label=7;break;}case 20:{ label=8;break;}case 21:{ label=9;break;}default:{label=19;break;}}break;
 case 4: 
 $tmp=152064; //@line 401 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=99; //@line 402 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 403 "../src/h264bsd_seq_param_set.c"
 case 5: 
 $tmp=345600; //@line 406 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=396; //@line 407 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 408 "../src/h264bsd_seq_param_set.c"
 case 6: 
 $tmp=912384; //@line 411 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=396; //@line 412 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 413 "../src/h264bsd_seq_param_set.c"
 case 7: 
 $tmp=912384; //@line 416 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=396; //@line 417 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 418 "../src/h264bsd_seq_param_set.c"
 case 8: 
 $tmp=912384; //@line 421 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=396; //@line 422 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 423 "../src/h264bsd_seq_param_set.c"
 case 9: 
 $tmp=1824768; //@line 426 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=792; //@line 427 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 428 "../src/h264bsd_seq_param_set.c"
 case 10: 
 $tmp=3110400; //@line 431 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=1620; //@line 432 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 433 "../src/h264bsd_seq_param_set.c"
 case 11: 
 $tmp=3110400; //@line 436 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=1620; //@line 437 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 438 "../src/h264bsd_seq_param_set.c"
 case 12: 
 $tmp=6912000; //@line 441 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=3600; //@line 442 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 443 "../src/h264bsd_seq_param_set.c"
 case 13: 
 $tmp=7864320; //@line 446 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=5120; //@line 447 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 448 "../src/h264bsd_seq_param_set.c"
 case 14: 
 $tmp=12582912; //@line 451 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=8192; //@line 452 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 453 "../src/h264bsd_seq_param_set.c"
 case 15: 
 $tmp=12582912; //@line 456 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=8192; //@line 457 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 458 "../src/h264bsd_seq_param_set.c"
 case 16: 
 $tmp=13369344; //@line 461 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=8704; //@line 462 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 463 "../src/h264bsd_seq_param_set.c"
 case 17: 
 $tmp=42393600; //@line 468 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=22080; //@line 469 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 470 "../src/h264bsd_seq_param_set.c"
 case 18: 
 $tmp=70778880; //@line 473 "../src/h264bsd_seq_param_set.c"
 $maxPicSizeInMbs=36864; //@line 474 "../src/h264bsd_seq_param_set.c"
 label=20;break; //@line 475 "../src/h264bsd_seq_param_set.c"
 case 19: 
 $1=2147483647; //@line 478 "../src/h264bsd_seq_param_set.c"
 label=26;break; //@line 478 "../src/h264bsd_seq_param_set.c"
 case 20: 
 var $29=$2; //@line 483 "../src/h264bsd_seq_param_set.c"
 var $30=$maxPicSizeInMbs; //@line 483 "../src/h264bsd_seq_param_set.c"
 var $31=($29>>>0)>($30>>>0); //@line 483 "../src/h264bsd_seq_param_set.c"
 if($31){label=21;break;}else{label=22;break;} //@line 483 "../src/h264bsd_seq_param_set.c"
 case 21: 
 $1=2147483647; //@line 484 "../src/h264bsd_seq_param_set.c"
 label=26;break; //@line 484 "../src/h264bsd_seq_param_set.c"
 case 22: 
 var $34=$2; //@line 486 "../src/h264bsd_seq_param_set.c"
 var $35=((($34)*(384))&-1); //@line 486 "../src/h264bsd_seq_param_set.c"
 var $36=$tmp; //@line 486 "../src/h264bsd_seq_param_set.c"
 var $37=(((($36>>>0))/(($35>>>0)))&-1); //@line 486 "../src/h264bsd_seq_param_set.c"
 $tmp=$37; //@line 486 "../src/h264bsd_seq_param_set.c"
 var $38=$tmp; //@line 488 "../src/h264bsd_seq_param_set.c"
 var $39=($38>>>0)<16; //@line 488 "../src/h264bsd_seq_param_set.c"
 if($39){label=23;break;}else{label=24;break;} //@line 488 "../src/h264bsd_seq_param_set.c"
 case 23: 
 var $41=$tmp; //@line 488 "../src/h264bsd_seq_param_set.c"
 var $44=$41;label=25;break; //@line 488 "../src/h264bsd_seq_param_set.c"
 case 24: 
 var $44=16;label=25;break; //@line 488 "../src/h264bsd_seq_param_set.c"
 case 25: 
 var $44; //@line 488 "../src/h264bsd_seq_param_set.c"
 $1=$44; //@line 488 "../src/h264bsd_seq_param_set.c"
 label=26;break; //@line 488 "../src/h264bsd_seq_param_set.c"
 case 26: 
 var $46=$1; //@line 490 "../src/h264bsd_seq_param_set.c"
 STACKTOP=sp;return $46; //@line 490 "../src/h264bsd_seq_param_set.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCompareSeqParamSets($pSps1,$pSps2){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $i;
 $2=$pSps1;
 $3=$pSps2;
 var $4=$2; //@line 518 "../src/h264bsd_seq_param_set.c"
 var $5=($4|0)!=0; //@line 518 "../src/h264bsd_seq_param_set.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 518 "../src/h264bsd_seq_param_set.c"
 case 2: 
 ___assert_fail(10328,11384,518,14616); //@line 518 "../src/h264bsd_seq_param_set.c"
 throw "Reached an unreachable!"; //@line 518 "../src/h264bsd_seq_param_set.c"
 label=3;break; //@line 518 "../src/h264bsd_seq_param_set.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 518 "../src/h264bsd_seq_param_set.c"
 var $11=$3; //@line 519 "../src/h264bsd_seq_param_set.c"
 var $12=($11|0)!=0; //@line 519 "../src/h264bsd_seq_param_set.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 519 "../src/h264bsd_seq_param_set.c"
 case 4: 
 ___assert_fail(10128,11384,519,14616); //@line 519 "../src/h264bsd_seq_param_set.c"
 throw "Reached an unreachable!"; //@line 519 "../src/h264bsd_seq_param_set.c"
 label=5;break; //@line 519 "../src/h264bsd_seq_param_set.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 519 "../src/h264bsd_seq_param_set.c"
 var $18=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $19=(($18)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $20=HEAP32[(($19)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $21=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $22=(($21)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $23=HEAP32[(($22)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $24=($20|0)==($23|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($24){label=6;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 6: 
 var $26=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $27=(($26+4)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $28=HEAP32[(($27)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $29=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $30=(($29+4)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $31=HEAP32[(($30)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $32=($28|0)==($31|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($32){label=7;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 7: 
 var $34=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $35=(($34+12)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $36=HEAP32[(($35)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $37=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $38=(($37+12)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $39=HEAP32[(($38)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $40=($36|0)==($39|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($40){label=8;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 8: 
 var $42=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $43=(($42+16)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $44=HEAP32[(($43)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $45=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $46=(($45+16)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $47=HEAP32[(($46)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $48=($44|0)==($47|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($48){label=9;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 9: 
 var $50=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $51=(($50+44)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $52=HEAP32[(($51)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $53=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $54=(($53+44)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $55=HEAP32[(($54)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $56=($52|0)==($55|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($56){label=10;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 10: 
 var $58=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $59=(($58+48)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $60=HEAP32[(($59)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $61=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $62=(($61+48)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $63=HEAP32[(($62)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $64=($60|0)==($63|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($64){label=11;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 11: 
 var $66=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $67=(($66+52)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $68=HEAP32[(($67)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $69=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $70=(($69+52)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $71=HEAP32[(($70)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $72=($68|0)==($71|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($72){label=12;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 12: 
 var $74=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $75=(($74+56)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $76=HEAP32[(($75)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $77=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $78=(($77+56)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $79=HEAP32[(($78)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $80=($76|0)==($79|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($80){label=13;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 13: 
 var $82=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $83=(($82+60)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $84=HEAP32[(($83)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $85=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $86=(($85+60)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $87=HEAP32[(($86)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $88=($84|0)==($87|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($88){label=14;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 14: 
 var $90=$2; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $91=(($90+80)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $92=HEAP32[(($91)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $93=$3; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $94=(($93+80)|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 var $95=HEAP32[(($94)>>2)]; //@line 523 "../src/h264bsd_seq_param_set.c"
 var $96=($92|0)==($95|0); //@line 523 "../src/h264bsd_seq_param_set.c"
 if($96){label=15;break;}else{label=42;break;} //@line 523 "../src/h264bsd_seq_param_set.c"
 case 15: 
 var $98=$2; //@line 535 "../src/h264bsd_seq_param_set.c"
 var $99=(($98+16)|0); //@line 535 "../src/h264bsd_seq_param_set.c"
 var $100=HEAP32[(($99)>>2)]; //@line 535 "../src/h264bsd_seq_param_set.c"
 var $101=($100|0)==0; //@line 535 "../src/h264bsd_seq_param_set.c"
 if($101){label=16;break;}else{label=19;break;} //@line 535 "../src/h264bsd_seq_param_set.c"
 case 16: 
 var $103=$2; //@line 537 "../src/h264bsd_seq_param_set.c"
 var $104=(($103+20)|0); //@line 537 "../src/h264bsd_seq_param_set.c"
 var $105=HEAP32[(($104)>>2)]; //@line 537 "../src/h264bsd_seq_param_set.c"
 var $106=$3; //@line 537 "../src/h264bsd_seq_param_set.c"
 var $107=(($106+20)|0); //@line 537 "../src/h264bsd_seq_param_set.c"
 var $108=HEAP32[(($107)>>2)]; //@line 537 "../src/h264bsd_seq_param_set.c"
 var $109=($105|0)!=($108|0); //@line 537 "../src/h264bsd_seq_param_set.c"
 if($109){label=17;break;}else{label=18;break;} //@line 537 "../src/h264bsd_seq_param_set.c"
 case 17: 
 $1=1; //@line 538 "../src/h264bsd_seq_param_set.c"
 label=43;break; //@line 538 "../src/h264bsd_seq_param_set.c"
 case 18: 
 label=34;break; //@line 539 "../src/h264bsd_seq_param_set.c"
 case 19: 
 var $113=$2; //@line 540 "../src/h264bsd_seq_param_set.c"
 var $114=(($113+16)|0); //@line 540 "../src/h264bsd_seq_param_set.c"
 var $115=HEAP32[(($114)>>2)]; //@line 540 "../src/h264bsd_seq_param_set.c"
 var $116=($115|0)==1; //@line 540 "../src/h264bsd_seq_param_set.c"
 if($116){label=20;break;}else{label=33;break;} //@line 540 "../src/h264bsd_seq_param_set.c"
 case 20: 
 var $118=$2; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $119=(($118+24)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $120=HEAP32[(($119)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $121=$3; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $122=(($121+24)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $123=HEAP32[(($122)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $124=($120|0)!=($123|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 if($124){label=24;break;}else{label=21;break;} //@line 542 "../src/h264bsd_seq_param_set.c"
 case 21: 
 var $126=$2; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $127=(($126+28)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $128=HEAP32[(($127)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $129=$3; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $130=(($129+28)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $131=HEAP32[(($130)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $132=($128|0)!=($131|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 if($132){label=24;break;}else{label=22;break;} //@line 542 "../src/h264bsd_seq_param_set.c"
 case 22: 
 var $134=$2; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $135=(($134+32)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $136=HEAP32[(($135)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $137=$3; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $138=(($137+32)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $139=HEAP32[(($138)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $140=($136|0)!=($139|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 if($140){label=24;break;}else{label=23;break;} //@line 542 "../src/h264bsd_seq_param_set.c"
 case 23: 
 var $142=$2; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $143=(($142+36)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $144=HEAP32[(($143)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $145=$3; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $146=(($145+36)|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 var $147=HEAP32[(($146)>>2)]; //@line 542 "../src/h264bsd_seq_param_set.c"
 var $148=($144|0)!=($147|0); //@line 542 "../src/h264bsd_seq_param_set.c"
 if($148){label=24;break;}else{label=25;break;} //@line 542 "../src/h264bsd_seq_param_set.c"
 case 24: 
 $1=1; //@line 550 "../src/h264bsd_seq_param_set.c"
 label=43;break; //@line 550 "../src/h264bsd_seq_param_set.c"
 case 25: 
 $i=0; //@line 554 "../src/h264bsd_seq_param_set.c"
 label=26;break; //@line 554 "../src/h264bsd_seq_param_set.c"
 case 26: 
 var $152=$i; //@line 554 "../src/h264bsd_seq_param_set.c"
 var $153=$2; //@line 554 "../src/h264bsd_seq_param_set.c"
 var $154=(($153+36)|0); //@line 554 "../src/h264bsd_seq_param_set.c"
 var $155=HEAP32[(($154)>>2)]; //@line 554 "../src/h264bsd_seq_param_set.c"
 var $156=($152>>>0)<($155>>>0); //@line 554 "../src/h264bsd_seq_param_set.c"
 if($156){label=27;break;}else{label=31;break;} //@line 554 "../src/h264bsd_seq_param_set.c"
 case 27: 
 var $158=$i; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $159=$2; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $160=(($159+40)|0); //@line 555 "../src/h264bsd_seq_param_set.c"
 var $161=HEAP32[(($160)>>2)]; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $162=(($161+($158<<2))|0); //@line 555 "../src/h264bsd_seq_param_set.c"
 var $163=HEAP32[(($162)>>2)]; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $164=$i; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $165=$3; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $166=(($165+40)|0); //@line 555 "../src/h264bsd_seq_param_set.c"
 var $167=HEAP32[(($166)>>2)]; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $168=(($167+($164<<2))|0); //@line 555 "../src/h264bsd_seq_param_set.c"
 var $169=HEAP32[(($168)>>2)]; //@line 555 "../src/h264bsd_seq_param_set.c"
 var $170=($163|0)!=($169|0); //@line 555 "../src/h264bsd_seq_param_set.c"
 if($170){label=28;break;}else{label=29;break;} //@line 555 "../src/h264bsd_seq_param_set.c"
 case 28: 
 $1=1; //@line 558 "../src/h264bsd_seq_param_set.c"
 label=43;break; //@line 558 "../src/h264bsd_seq_param_set.c"
 case 29: 
 label=30;break; //@line 559 "../src/h264bsd_seq_param_set.c"
 case 30: 
 var $174=$i; //@line 554 "../src/h264bsd_seq_param_set.c"
 var $175=((($174)+(1))|0); //@line 554 "../src/h264bsd_seq_param_set.c"
 $i=$175; //@line 554 "../src/h264bsd_seq_param_set.c"
 label=26;break; //@line 554 "../src/h264bsd_seq_param_set.c"
 case 31: 
 label=32;break;
 case 32: 
 label=33;break; //@line 561 "../src/h264bsd_seq_param_set.c"
 case 33: 
 label=34;break;
 case 34: 
 var $180=$2; //@line 562 "../src/h264bsd_seq_param_set.c"
 var $181=(($180+60)|0); //@line 562 "../src/h264bsd_seq_param_set.c"
 var $182=HEAP32[(($181)>>2)]; //@line 562 "../src/h264bsd_seq_param_set.c"
 var $183=($182|0)!=0; //@line 562 "../src/h264bsd_seq_param_set.c"
 if($183){label=35;break;}else{label=41;break;} //@line 562 "../src/h264bsd_seq_param_set.c"
 case 35: 
 var $185=$2; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $186=(($185+64)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $187=HEAP32[(($186)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $188=$3; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $189=(($188+64)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $190=HEAP32[(($189)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $191=($187|0)!=($190|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 if($191){label=39;break;}else{label=36;break;} //@line 564 "../src/h264bsd_seq_param_set.c"
 case 36: 
 var $193=$2; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $194=(($193+68)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $195=HEAP32[(($194)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $196=$3; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $197=(($196+68)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $198=HEAP32[(($197)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $199=($195|0)!=($198|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 if($199){label=39;break;}else{label=37;break;} //@line 564 "../src/h264bsd_seq_param_set.c"
 case 37: 
 var $201=$2; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $202=(($201+72)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $203=HEAP32[(($202)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $204=$3; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $205=(($204+72)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $206=HEAP32[(($205)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $207=($203|0)!=($206|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 if($207){label=39;break;}else{label=38;break;} //@line 564 "../src/h264bsd_seq_param_set.c"
 case 38: 
 var $209=$2; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $210=(($209+76)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $211=HEAP32[(($210)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $212=$3; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $213=(($212+76)|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 var $214=HEAP32[(($213)>>2)]; //@line 564 "../src/h264bsd_seq_param_set.c"
 var $215=($211|0)!=($214|0); //@line 564 "../src/h264bsd_seq_param_set.c"
 if($215){label=39;break;}else{label=40;break;} //@line 564 "../src/h264bsd_seq_param_set.c"
 case 39: 
 $1=1; //@line 569 "../src/h264bsd_seq_param_set.c"
 label=43;break; //@line 569 "../src/h264bsd_seq_param_set.c"
 case 40: 
 label=41;break; //@line 571 "../src/h264bsd_seq_param_set.c"
 case 41: 
 $1=0; //@line 573 "../src/h264bsd_seq_param_set.c"
 label=43;break; //@line 573 "../src/h264bsd_seq_param_set.c"
 case 42: 
 $1=1; //@line 576 "../src/h264bsd_seq_param_set.c"
 label=43;break; //@line 576 "../src/h264bsd_seq_param_set.c"
 case 43: 
 var $221=$1; //@line 577 "../src/h264bsd_seq_param_set.c"
 STACKTOP=sp;return $221; //@line 577 "../src/h264bsd_seq_param_set.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeSliceData($pStrmData,$pStorage,$currImage,$pSliceHeader){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+448)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $mbData=sp;
 var $data;
 var $tmp;
 var $skipRun=(sp)+(432);
 var $prevSkipped;
 var $currMbAddr;
 var $moreMbs;
 var $mbCount;
 var $qpY=(sp)+(440);
 var $mbLayer;
 $2=$pStrmData;
 $3=$pStorage;
 $4=$currImage;
 $5=$pSliceHeader;
 var $6=$2; //@line 105 "../src/h264bsd_slice_data.c"
 var $7=($6|0)!=0; //@line 105 "../src/h264bsd_slice_data.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 105 "../src/h264bsd_slice_data.c"
 case 2: 
 ___assert_fail(8304,11336,105,14168); //@line 105 "../src/h264bsd_slice_data.c"
 throw "Reached an unreachable!"; //@line 105 "../src/h264bsd_slice_data.c"
 label=3;break; //@line 105 "../src/h264bsd_slice_data.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 105 "../src/h264bsd_slice_data.c"
 var $13=$5; //@line 106 "../src/h264bsd_slice_data.c"
 var $14=($13|0)!=0; //@line 106 "../src/h264bsd_slice_data.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 106 "../src/h264bsd_slice_data.c"
 case 4: 
 ___assert_fail(8952,11336,106,14168); //@line 106 "../src/h264bsd_slice_data.c"
 throw "Reached an unreachable!"; //@line 106 "../src/h264bsd_slice_data.c"
 label=5;break; //@line 106 "../src/h264bsd_slice_data.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 106 "../src/h264bsd_slice_data.c"
 var $20=$3; //@line 107 "../src/h264bsd_slice_data.c"
 var $21=($20|0)!=0; //@line 107 "../src/h264bsd_slice_data.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 107 "../src/h264bsd_slice_data.c"
 case 6: 
 ___assert_fail(7904,11336,107,14168); //@line 107 "../src/h264bsd_slice_data.c"
 throw "Reached an unreachable!"; //@line 107 "../src/h264bsd_slice_data.c"
 label=7;break; //@line 107 "../src/h264bsd_slice_data.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 107 "../src/h264bsd_slice_data.c"
 var $27=$5; //@line 108 "../src/h264bsd_slice_data.c"
 var $28=(($27)|0); //@line 108 "../src/h264bsd_slice_data.c"
 var $29=HEAP32[(($28)>>2)]; //@line 108 "../src/h264bsd_slice_data.c"
 var $30=$3; //@line 108 "../src/h264bsd_slice_data.c"
 var $31=(($30+1176)|0); //@line 108 "../src/h264bsd_slice_data.c"
 var $32=HEAP32[(($31)>>2)]; //@line 108 "../src/h264bsd_slice_data.c"
 var $33=($29>>>0)<($32>>>0); //@line 108 "../src/h264bsd_slice_data.c"
 if($33){var $37=1;label=9;break;}else{label=8;break;} //@line 108 "../src/h264bsd_slice_data.c"
 case 8: 
 ___assert_fail(6960,11336,108,14168); //@line 108 "../src/h264bsd_slice_data.c"
 throw "Reached an unreachable!"; //@line 108 "../src/h264bsd_slice_data.c"
 label=9;break; //@line 108 "../src/h264bsd_slice_data.c"
 case 9: 
 var $37;
 var $38=($37&1); //@line 108 "../src/h264bsd_slice_data.c"
 var $39=(($mbData)|0); //@line 111 "../src/h264bsd_slice_data.c"
 var $40=(($mbData)|0); //@line 111 "../src/h264bsd_slice_data.c"
 var $41=$40; //@line 111 "../src/h264bsd_slice_data.c"
 var $42=(((16)-($41))|0); //@line 111 "../src/h264bsd_slice_data.c"
 var $43=$42&15; //@line 111 "../src/h264bsd_slice_data.c"
 var $44=(((($43>>>0))/(1))&-1); //@line 111 "../src/h264bsd_slice_data.c"
 var $45=(($39+$44)|0); //@line 111 "../src/h264bsd_slice_data.c"
 $data=$45; //@line 111 "../src/h264bsd_slice_data.c"
 var $46=$3; //@line 113 "../src/h264bsd_slice_data.c"
 var $47=(($46+3376)|0); //@line 113 "../src/h264bsd_slice_data.c"
 var $48=HEAP32[(($47)>>2)]; //@line 113 "../src/h264bsd_slice_data.c"
 $mbLayer=$48; //@line 113 "../src/h264bsd_slice_data.c"
 var $49=$5; //@line 115 "../src/h264bsd_slice_data.c"
 var $50=(($49)|0); //@line 115 "../src/h264bsd_slice_data.c"
 var $51=HEAP32[(($50)>>2)]; //@line 115 "../src/h264bsd_slice_data.c"
 $currMbAddr=$51; //@line 115 "../src/h264bsd_slice_data.c"
 HEAP32[(($skipRun)>>2)]=0; //@line 116 "../src/h264bsd_slice_data.c"
 $prevSkipped=0; //@line 117 "../src/h264bsd_slice_data.c"
 var $52=$3; //@line 121 "../src/h264bsd_slice_data.c"
 var $53=(($52+1192)|0); //@line 121 "../src/h264bsd_slice_data.c"
 var $54=(($53)|0); //@line 121 "../src/h264bsd_slice_data.c"
 var $55=(($54)|0); //@line 121 "../src/h264bsd_slice_data.c"
 var $56=HEAP32[(($55)>>2)]; //@line 121 "../src/h264bsd_slice_data.c"
 var $57=((($56)+(1))|0); //@line 121 "../src/h264bsd_slice_data.c"
 HEAP32[(($55)>>2)]=$57; //@line 121 "../src/h264bsd_slice_data.c"
 var $58=$3; //@line 125 "../src/h264bsd_slice_data.c"
 var $59=(($58+1192)|0); //@line 125 "../src/h264bsd_slice_data.c"
 var $60=(($59)|0); //@line 125 "../src/h264bsd_slice_data.c"
 var $61=(($60+8)|0); //@line 125 "../src/h264bsd_slice_data.c"
 HEAP32[(($61)>>2)]=0; //@line 125 "../src/h264bsd_slice_data.c"
 $mbCount=0; //@line 127 "../src/h264bsd_slice_data.c"
 var $62=$3; //@line 130 "../src/h264bsd_slice_data.c"
 var $63=(($62+12)|0); //@line 130 "../src/h264bsd_slice_data.c"
 var $64=HEAP32[(($63)>>2)]; //@line 130 "../src/h264bsd_slice_data.c"
 var $65=(($64+52)|0); //@line 130 "../src/h264bsd_slice_data.c"
 var $66=HEAP32[(($65)>>2)]; //@line 130 "../src/h264bsd_slice_data.c"
 var $67=$5; //@line 130 "../src/h264bsd_slice_data.c"
 var $68=(($67+48)|0); //@line 130 "../src/h264bsd_slice_data.c"
 var $69=HEAP32[(($68)>>2)]; //@line 130 "../src/h264bsd_slice_data.c"
 var $70=((($66)+($69))|0); //@line 130 "../src/h264bsd_slice_data.c"
 HEAP32[(($qpY)>>2)]=$70; //@line 130 "../src/h264bsd_slice_data.c"
 label=10;break; //@line 131 "../src/h264bsd_slice_data.c"
 case 10: 
 var $72=$5; //@line 134 "../src/h264bsd_slice_data.c"
 var $73=(($72+36)|0); //@line 134 "../src/h264bsd_slice_data.c"
 var $74=HEAP32[(($73)>>2)]; //@line 134 "../src/h264bsd_slice_data.c"
 var $75=($74|0)!=0; //@line 134 "../src/h264bsd_slice_data.c"
 if($75){label=13;break;}else{label=11;break;} //@line 134 "../src/h264bsd_slice_data.c"
 case 11: 
 var $77=$currMbAddr; //@line 134 "../src/h264bsd_slice_data.c"
 var $78=$3; //@line 134 "../src/h264bsd_slice_data.c"
 var $79=(($78+1212)|0); //@line 134 "../src/h264bsd_slice_data.c"
 var $80=HEAP32[(($79)>>2)]; //@line 134 "../src/h264bsd_slice_data.c"
 var $81=(($80+((($77)*(216))&-1))|0); //@line 134 "../src/h264bsd_slice_data.c"
 var $82=(($81+196)|0); //@line 134 "../src/h264bsd_slice_data.c"
 var $83=HEAP32[(($82)>>2)]; //@line 134 "../src/h264bsd_slice_data.c"
 var $84=($83|0)!=0; //@line 134 "../src/h264bsd_slice_data.c"
 if($84){label=12;break;}else{label=13;break;} //@line 134 "../src/h264bsd_slice_data.c"
 case 12: 
 var $86=HEAP32[((_stderr)>>2)]; //@line 136 "../src/h264bsd_slice_data.c"
 var $87=_fprintf($86,6224,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5704,tempVarArgs)); STACKTOP=tempVarArgs; //@line 136 "../src/h264bsd_slice_data.c"
 $1=1; //@line 137 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 137 "../src/h264bsd_slice_data.c"
 case 13: 
 var $89=$3; //@line 140 "../src/h264bsd_slice_data.c"
 var $90=(($89+1212)|0); //@line 140 "../src/h264bsd_slice_data.c"
 var $91=HEAP32[(($90)>>2)]; //@line 140 "../src/h264bsd_slice_data.c"
 var $92=$currMbAddr; //@line 140 "../src/h264bsd_slice_data.c"
 var $93=(($91+((($92)*(216))&-1))|0); //@line 140 "../src/h264bsd_slice_data.c"
 var $94=$5; //@line 140 "../src/h264bsd_slice_data.c"
 var $95=$3; //@line 140 "../src/h264bsd_slice_data.c"
 var $96=(($95+1192)|0); //@line 140 "../src/h264bsd_slice_data.c"
 var $97=(($96)|0); //@line 140 "../src/h264bsd_slice_data.c"
 var $98=(($97)|0); //@line 140 "../src/h264bsd_slice_data.c"
 var $99=HEAP32[(($98)>>2)]; //@line 140 "../src/h264bsd_slice_data.c"
 var $100=$3; //@line 140 "../src/h264bsd_slice_data.c"
 var $101=(($100+12)|0); //@line 140 "../src/h264bsd_slice_data.c"
 var $102=HEAP32[(($101)>>2)]; //@line 140 "../src/h264bsd_slice_data.c"
 var $103=(($102+56)|0); //@line 140 "../src/h264bsd_slice_data.c"
 var $104=HEAP32[(($103)>>2)]; //@line 140 "../src/h264bsd_slice_data.c"
 _SetMbParams($93,$94,$99,$104); //@line 140 "../src/h264bsd_slice_data.c"
 var $105=$5; //@line 143 "../src/h264bsd_slice_data.c"
 var $106=(($105+4)|0); //@line 143 "../src/h264bsd_slice_data.c"
 var $107=HEAP32[(($106)>>2)]; //@line 143 "../src/h264bsd_slice_data.c"
 var $108=($107|0)==2; //@line 143 "../src/h264bsd_slice_data.c"
 if($108){label=24;break;}else{label=14;break;} //@line 143 "../src/h264bsd_slice_data.c"
 case 14: 
 var $110=$5; //@line 143 "../src/h264bsd_slice_data.c"
 var $111=(($110+4)|0); //@line 143 "../src/h264bsd_slice_data.c"
 var $112=HEAP32[(($111)>>2)]; //@line 143 "../src/h264bsd_slice_data.c"
 var $113=($112|0)==7; //@line 143 "../src/h264bsd_slice_data.c"
 if($113){label=24;break;}else{label=15;break;} //@line 143 "../src/h264bsd_slice_data.c"
 case 15: 
 var $115=$prevSkipped; //@line 145 "../src/h264bsd_slice_data.c"
 var $116=($115|0)!=0; //@line 145 "../src/h264bsd_slice_data.c"
 if($116){label=23;break;}else{label=16;break;} //@line 145 "../src/h264bsd_slice_data.c"
 case 16: 
 var $118=$2; //@line 147 "../src/h264bsd_slice_data.c"
 var $119=_h264bsdDecodeExpGolombUnsigned($118,$skipRun); //@line 147 "../src/h264bsd_slice_data.c"
 $tmp=$119; //@line 147 "../src/h264bsd_slice_data.c"
 var $120=$tmp; //@line 148 "../src/h264bsd_slice_data.c"
 var $121=($120|0)!=0; //@line 148 "../src/h264bsd_slice_data.c"
 if($121){label=17;break;}else{label=18;break;} //@line 148 "../src/h264bsd_slice_data.c"
 case 17: 
 var $123=$tmp; //@line 149 "../src/h264bsd_slice_data.c"
 $1=$123; //@line 149 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 149 "../src/h264bsd_slice_data.c"
 case 18: 
 var $125=HEAP32[(($skipRun)>>2)]; //@line 152 "../src/h264bsd_slice_data.c"
 var $126=$3; //@line 152 "../src/h264bsd_slice_data.c"
 var $127=(($126+1176)|0); //@line 152 "../src/h264bsd_slice_data.c"
 var $128=HEAP32[(($127)>>2)]; //@line 152 "../src/h264bsd_slice_data.c"
 var $129=$currMbAddr; //@line 152 "../src/h264bsd_slice_data.c"
 var $130=((($128)-($129))|0); //@line 152 "../src/h264bsd_slice_data.c"
 var $131=($125>>>0)>($130>>>0); //@line 152 "../src/h264bsd_slice_data.c"
 if($131){label=19;break;}else{label=20;break;} //@line 152 "../src/h264bsd_slice_data.c"
 case 19: 
 var $133=HEAP32[((_stderr)>>2)]; //@line 154 "../src/h264bsd_slice_data.c"
 var $134=_fprintf($133,6224,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5296,tempVarArgs)); STACKTOP=tempVarArgs; //@line 154 "../src/h264bsd_slice_data.c"
 $1=1; //@line 155 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 155 "../src/h264bsd_slice_data.c"
 case 20: 
 var $136=HEAP32[(($skipRun)>>2)]; //@line 157 "../src/h264bsd_slice_data.c"
 var $137=($136|0)!=0; //@line 157 "../src/h264bsd_slice_data.c"
 if($137){label=21;break;}else{label=22;break;} //@line 157 "../src/h264bsd_slice_data.c"
 case 21: 
 $prevSkipped=1; //@line 159 "../src/h264bsd_slice_data.c"
 var $139=$mbLayer; //@line 160 "../src/h264bsd_slice_data.c"
 var $140=(($139+12)|0); //@line 160 "../src/h264bsd_slice_data.c"
 var $141=$140; //@line 160 "../src/h264bsd_slice_data.c"
 _memset($141, 0, 164)|0; //@line 160 "../src/h264bsd_slice_data.c"
 var $142=$mbLayer; //@line 162 "../src/h264bsd_slice_data.c"
 var $143=(($142)|0); //@line 162 "../src/h264bsd_slice_data.c"
 HEAP32[(($143)>>2)]=0; //@line 162 "../src/h264bsd_slice_data.c"
 label=22;break; //@line 163 "../src/h264bsd_slice_data.c"
 case 22: 
 label=23;break; //@line 164 "../src/h264bsd_slice_data.c"
 case 23: 
 label=24;break; //@line 165 "../src/h264bsd_slice_data.c"
 case 24: 
 var $147=HEAP32[(($skipRun)>>2)]; //@line 167 "../src/h264bsd_slice_data.c"
 var $148=($147|0)!=0; //@line 167 "../src/h264bsd_slice_data.c"
 if($148){label=25;break;}else{label=26;break;} //@line 167 "../src/h264bsd_slice_data.c"
 case 25: 
 var $150=$currMbAddr; //@line 169 "../src/h264bsd_slice_data.c"
 var $151=_printf(4952,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=$150,tempVarArgs)); STACKTOP=tempVarArgs; //@line 169 "../src/h264bsd_slice_data.c"
 var $152=HEAP32[(($skipRun)>>2)]; //@line 170 "../src/h264bsd_slice_data.c"
 var $153=((($152)-(1))|0); //@line 170 "../src/h264bsd_slice_data.c"
 HEAP32[(($skipRun)>>2)]=$153; //@line 170 "../src/h264bsd_slice_data.c"
 label=29;break; //@line 171 "../src/h264bsd_slice_data.c"
 case 26: 
 $prevSkipped=0; //@line 174 "../src/h264bsd_slice_data.c"
 var $155=$2; //@line 175 "../src/h264bsd_slice_data.c"
 var $156=$mbLayer; //@line 175 "../src/h264bsd_slice_data.c"
 var $157=$3; //@line 175 "../src/h264bsd_slice_data.c"
 var $158=(($157+1212)|0); //@line 175 "../src/h264bsd_slice_data.c"
 var $159=HEAP32[(($158)>>2)]; //@line 175 "../src/h264bsd_slice_data.c"
 var $160=$currMbAddr; //@line 175 "../src/h264bsd_slice_data.c"
 var $161=(($159+((($160)*(216))&-1))|0); //@line 175 "../src/h264bsd_slice_data.c"
 var $162=$5; //@line 175 "../src/h264bsd_slice_data.c"
 var $163=(($162+4)|0); //@line 175 "../src/h264bsd_slice_data.c"
 var $164=HEAP32[(($163)>>2)]; //@line 175 "../src/h264bsd_slice_data.c"
 var $165=$5; //@line 175 "../src/h264bsd_slice_data.c"
 var $166=(($165+44)|0); //@line 175 "../src/h264bsd_slice_data.c"
 var $167=HEAP32[(($166)>>2)]; //@line 175 "../src/h264bsd_slice_data.c"
 var $168=_h264bsdDecodeMacroblockLayer($155,$156,$161,$164,$167); //@line 175 "../src/h264bsd_slice_data.c"
 $tmp=$168; //@line 175 "../src/h264bsd_slice_data.c"
 var $169=$tmp; //@line 178 "../src/h264bsd_slice_data.c"
 var $170=($169|0)!=0; //@line 178 "../src/h264bsd_slice_data.c"
 if($170){label=27;break;}else{label=28;break;} //@line 178 "../src/h264bsd_slice_data.c"
 case 27: 
 var $172=HEAP32[((_stderr)>>2)]; //@line 180 "../src/h264bsd_slice_data.c"
 var $173=_fprintf($172,6224,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4544,tempVarArgs)); STACKTOP=tempVarArgs; //@line 180 "../src/h264bsd_slice_data.c"
 var $174=$tmp; //@line 181 "../src/h264bsd_slice_data.c"
 $1=$174; //@line 181 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 181 "../src/h264bsd_slice_data.c"
 case 28: 
 label=29;break;
 case 29: 
 var $177=$3; //@line 185 "../src/h264bsd_slice_data.c"
 var $178=(($177+1212)|0); //@line 185 "../src/h264bsd_slice_data.c"
 var $179=HEAP32[(($178)>>2)]; //@line 185 "../src/h264bsd_slice_data.c"
 var $180=$currMbAddr; //@line 185 "../src/h264bsd_slice_data.c"
 var $181=(($179+((($180)*(216))&-1))|0); //@line 185 "../src/h264bsd_slice_data.c"
 var $182=$mbLayer; //@line 185 "../src/h264bsd_slice_data.c"
 var $183=$4; //@line 185 "../src/h264bsd_slice_data.c"
 var $184=$3; //@line 185 "../src/h264bsd_slice_data.c"
 var $185=(($184+1220)|0); //@line 185 "../src/h264bsd_slice_data.c"
 var $186=(($185)|0); //@line 185 "../src/h264bsd_slice_data.c"
 var $187=$currMbAddr; //@line 185 "../src/h264bsd_slice_data.c"
 var $188=$3; //@line 185 "../src/h264bsd_slice_data.c"
 var $189=(($188+12)|0); //@line 185 "../src/h264bsd_slice_data.c"
 var $190=HEAP32[(($189)>>2)]; //@line 185 "../src/h264bsd_slice_data.c"
 var $191=(($190+64)|0); //@line 185 "../src/h264bsd_slice_data.c"
 var $192=HEAP32[(($191)>>2)]; //@line 185 "../src/h264bsd_slice_data.c"
 var $193=$data; //@line 185 "../src/h264bsd_slice_data.c"
 var $194=_h264bsdDecodeMacroblock($181,$182,$183,$186,$qpY,$187,$192,$193); //@line 185 "../src/h264bsd_slice_data.c"
 $tmp=$194; //@line 185 "../src/h264bsd_slice_data.c"
 var $195=$tmp; //@line 188 "../src/h264bsd_slice_data.c"
 var $196=($195|0)!=0; //@line 188 "../src/h264bsd_slice_data.c"
 if($196){label=30;break;}else{label=31;break;} //@line 188 "../src/h264bsd_slice_data.c"
 case 30: 
 var $198=HEAP32[((_stderr)>>2)]; //@line 190 "../src/h264bsd_slice_data.c"
 var $199=_fprintf($198,6224,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=12328,tempVarArgs)); STACKTOP=tempVarArgs; //@line 190 "../src/h264bsd_slice_data.c"
 var $200=$tmp; //@line 191 "../src/h264bsd_slice_data.c"
 $1=$200; //@line 191 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 191 "../src/h264bsd_slice_data.c"
 case 31: 
 var $202=$currMbAddr; //@line 196 "../src/h264bsd_slice_data.c"
 var $203=$3; //@line 196 "../src/h264bsd_slice_data.c"
 var $204=(($203+1212)|0); //@line 196 "../src/h264bsd_slice_data.c"
 var $205=HEAP32[(($204)>>2)]; //@line 196 "../src/h264bsd_slice_data.c"
 var $206=(($205+((($202)*(216))&-1))|0); //@line 196 "../src/h264bsd_slice_data.c"
 var $207=(($206+196)|0); //@line 196 "../src/h264bsd_slice_data.c"
 var $208=HEAP32[(($207)>>2)]; //@line 196 "../src/h264bsd_slice_data.c"
 var $209=($208|0)==1; //@line 196 "../src/h264bsd_slice_data.c"
 if($209){label=32;break;}else{label=33;break;} //@line 196 "../src/h264bsd_slice_data.c"
 case 32: 
 var $211=$mbCount; //@line 197 "../src/h264bsd_slice_data.c"
 var $212=((($211)+(1))|0); //@line 197 "../src/h264bsd_slice_data.c"
 $mbCount=$212; //@line 197 "../src/h264bsd_slice_data.c"
 label=33;break; //@line 197 "../src/h264bsd_slice_data.c"
 case 33: 
 var $214=$2; //@line 202 "../src/h264bsd_slice_data.c"
 var $215=_h264bsdMoreRbspData($214); //@line 202 "../src/h264bsd_slice_data.c"
 var $216=($215|0)!=0; //@line 202 "../src/h264bsd_slice_data.c"
 if($216){var $221=1;label=35;break;}else{label=34;break;} //@line 202 "../src/h264bsd_slice_data.c"
 case 34: 
 var $218=HEAP32[(($skipRun)>>2)]; //@line 202 "../src/h264bsd_slice_data.c"
 var $219=($218|0)!=0; //@line 202 "../src/h264bsd_slice_data.c"
 var $221=$219;label=35;break; //@line 202 "../src/h264bsd_slice_data.c"
 case 35: 
 var $221;
 var $222=($221?1:0); //@line 202 "../src/h264bsd_slice_data.c"
 $moreMbs=$222; //@line 202 "../src/h264bsd_slice_data.c"
 var $223=$5; //@line 207 "../src/h264bsd_slice_data.c"
 var $224=(($223+4)|0); //@line 207 "../src/h264bsd_slice_data.c"
 var $225=HEAP32[(($224)>>2)]; //@line 207 "../src/h264bsd_slice_data.c"
 var $226=($225|0)==2; //@line 207 "../src/h264bsd_slice_data.c"
 if($226){label=37;break;}else{label=36;break;} //@line 207 "../src/h264bsd_slice_data.c"
 case 36: 
 var $228=$5; //@line 207 "../src/h264bsd_slice_data.c"
 var $229=(($228+4)|0); //@line 207 "../src/h264bsd_slice_data.c"
 var $230=HEAP32[(($229)>>2)]; //@line 207 "../src/h264bsd_slice_data.c"
 var $231=($230|0)==7; //@line 207 "../src/h264bsd_slice_data.c"
 if($231){label=37;break;}else{label=38;break;} //@line 207 "../src/h264bsd_slice_data.c"
 case 37: 
 var $233=$currMbAddr; //@line 208 "../src/h264bsd_slice_data.c"
 var $234=$3; //@line 208 "../src/h264bsd_slice_data.c"
 var $235=(($234+1192)|0); //@line 208 "../src/h264bsd_slice_data.c"
 var $236=(($235)|0); //@line 208 "../src/h264bsd_slice_data.c"
 var $237=(($236+8)|0); //@line 208 "../src/h264bsd_slice_data.c"
 HEAP32[(($237)>>2)]=$233; //@line 208 "../src/h264bsd_slice_data.c"
 label=38;break; //@line 208 "../src/h264bsd_slice_data.c"
 case 38: 
 var $239=$3; //@line 210 "../src/h264bsd_slice_data.c"
 var $240=(($239+1172)|0); //@line 210 "../src/h264bsd_slice_data.c"
 var $241=HEAP32[(($240)>>2)]; //@line 210 "../src/h264bsd_slice_data.c"
 var $242=$3; //@line 210 "../src/h264bsd_slice_data.c"
 var $243=(($242+1176)|0); //@line 210 "../src/h264bsd_slice_data.c"
 var $244=HEAP32[(($243)>>2)]; //@line 210 "../src/h264bsd_slice_data.c"
 var $245=$currMbAddr; //@line 210 "../src/h264bsd_slice_data.c"
 var $246=_h264bsdNextMbAddress($241,$244,$245); //@line 210 "../src/h264bsd_slice_data.c"
 $currMbAddr=$246; //@line 210 "../src/h264bsd_slice_data.c"
 var $247=$moreMbs; //@line 214 "../src/h264bsd_slice_data.c"
 var $248=($247|0)!=0; //@line 214 "../src/h264bsd_slice_data.c"
 if($248){label=39;break;}else{label=41;break;} //@line 214 "../src/h264bsd_slice_data.c"
 case 39: 
 var $250=$currMbAddr; //@line 214 "../src/h264bsd_slice_data.c"
 var $251=($250|0)!=0; //@line 214 "../src/h264bsd_slice_data.c"
 if($251){label=41;break;}else{label=40;break;} //@line 214 "../src/h264bsd_slice_data.c"
 case 40: 
 var $253=HEAP32[((_stderr)>>2)]; //@line 216 "../src/h264bsd_slice_data.c"
 var $254=_fprintf($253,6224,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11968,tempVarArgs)); STACKTOP=tempVarArgs; //@line 216 "../src/h264bsd_slice_data.c"
 $1=1; //@line 217 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 217 "../src/h264bsd_slice_data.c"
 case 41: 
 label=42;break; //@line 220 "../src/h264bsd_slice_data.c"
 case 42: 
 var $257=$moreMbs; //@line 220 "../src/h264bsd_slice_data.c"
 var $258=($257|0)!=0; //@line 220 "../src/h264bsd_slice_data.c"
 if($258){label=10;break;}else{label=43;break;} //@line 220 "../src/h264bsd_slice_data.c"
 case 43: 
 var $260=$3; //@line 222 "../src/h264bsd_slice_data.c"
 var $261=(($260+1192)|0); //@line 222 "../src/h264bsd_slice_data.c"
 var $262=(($261)|0); //@line 222 "../src/h264bsd_slice_data.c"
 var $263=(($262+4)|0); //@line 222 "../src/h264bsd_slice_data.c"
 var $264=HEAP32[(($263)>>2)]; //@line 222 "../src/h264bsd_slice_data.c"
 var $265=$mbCount; //@line 222 "../src/h264bsd_slice_data.c"
 var $266=((($264)+($265))|0); //@line 222 "../src/h264bsd_slice_data.c"
 var $267=$3; //@line 222 "../src/h264bsd_slice_data.c"
 var $268=(($267+1176)|0); //@line 222 "../src/h264bsd_slice_data.c"
 var $269=HEAP32[(($268)>>2)]; //@line 222 "../src/h264bsd_slice_data.c"
 var $270=($266>>>0)>($269>>>0); //@line 222 "../src/h264bsd_slice_data.c"
 if($270){label=44;break;}else{label=45;break;} //@line 222 "../src/h264bsd_slice_data.c"
 case 44: 
 var $272=HEAP32[((_stderr)>>2)]; //@line 224 "../src/h264bsd_slice_data.c"
 var $273=_fprintf($272,6224,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11528,tempVarArgs)); STACKTOP=tempVarArgs; //@line 224 "../src/h264bsd_slice_data.c"
 $1=1; //@line 225 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 225 "../src/h264bsd_slice_data.c"
 case 45: 
 var $275=$mbCount; //@line 228 "../src/h264bsd_slice_data.c"
 var $276=$3; //@line 228 "../src/h264bsd_slice_data.c"
 var $277=(($276+1192)|0); //@line 228 "../src/h264bsd_slice_data.c"
 var $278=(($277)|0); //@line 228 "../src/h264bsd_slice_data.c"
 var $279=(($278+4)|0); //@line 228 "../src/h264bsd_slice_data.c"
 var $280=HEAP32[(($279)>>2)]; //@line 228 "../src/h264bsd_slice_data.c"
 var $281=((($280)+($275))|0); //@line 228 "../src/h264bsd_slice_data.c"
 HEAP32[(($279)>>2)]=$281; //@line 228 "../src/h264bsd_slice_data.c"
 $1=0; //@line 230 "../src/h264bsd_slice_data.c"
 label=46;break; //@line 230 "../src/h264bsd_slice_data.c"
 case 46: 
 var $283=$1; //@line 232 "../src/h264bsd_slice_data.c"
 STACKTOP=sp;return $283; //@line 232 "../src/h264bsd_slice_data.c"
  default: assert(0, "bad label: " + label);
 }
}
function _SetMbParams($pMb,$pSlice,$sliceId,$chromaQpIndexOffset){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 var $1;
 var $2;
 var $3;
 var $4;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 $1=$pMb;
 $2=$pSlice;
 $3=$sliceId;
 $4=$chromaQpIndexOffset;
 var $5=$2; //@line 264 "../src/h264bsd_slice_data.c"
 var $6=(($5+52)|0); //@line 264 "../src/h264bsd_slice_data.c"
 var $7=HEAP32[(($6)>>2)]; //@line 264 "../src/h264bsd_slice_data.c"
 $tmp1=$7; //@line 264 "../src/h264bsd_slice_data.c"
 var $8=$2; //@line 265 "../src/h264bsd_slice_data.c"
 var $9=(($8+56)|0); //@line 265 "../src/h264bsd_slice_data.c"
 var $10=HEAP32[(($9)>>2)]; //@line 265 "../src/h264bsd_slice_data.c"
 $tmp2=$10; //@line 265 "../src/h264bsd_slice_data.c"
 var $11=$2; //@line 266 "../src/h264bsd_slice_data.c"
 var $12=(($11+60)|0); //@line 266 "../src/h264bsd_slice_data.c"
 var $13=HEAP32[(($12)>>2)]; //@line 266 "../src/h264bsd_slice_data.c"
 $tmp3=$13; //@line 266 "../src/h264bsd_slice_data.c"
 var $14=$3; //@line 267 "../src/h264bsd_slice_data.c"
 var $15=$1; //@line 267 "../src/h264bsd_slice_data.c"
 var $16=(($15+4)|0); //@line 267 "../src/h264bsd_slice_data.c"
 HEAP32[(($16)>>2)]=$14; //@line 267 "../src/h264bsd_slice_data.c"
 var $17=$tmp1; //@line 268 "../src/h264bsd_slice_data.c"
 var $18=$1; //@line 268 "../src/h264bsd_slice_data.c"
 var $19=(($18+8)|0); //@line 268 "../src/h264bsd_slice_data.c"
 HEAP32[(($19)>>2)]=$17; //@line 268 "../src/h264bsd_slice_data.c"
 var $20=$tmp2; //@line 269 "../src/h264bsd_slice_data.c"
 var $21=$1; //@line 269 "../src/h264bsd_slice_data.c"
 var $22=(($21+12)|0); //@line 269 "../src/h264bsd_slice_data.c"
 HEAP32[(($22)>>2)]=$20; //@line 269 "../src/h264bsd_slice_data.c"
 var $23=$tmp3; //@line 270 "../src/h264bsd_slice_data.c"
 var $24=$1; //@line 270 "../src/h264bsd_slice_data.c"
 var $25=(($24+16)|0); //@line 270 "../src/h264bsd_slice_data.c"
 HEAP32[(($25)>>2)]=$23; //@line 270 "../src/h264bsd_slice_data.c"
 var $26=$4; //@line 271 "../src/h264bsd_slice_data.c"
 var $27=$1; //@line 271 "../src/h264bsd_slice_data.c"
 var $28=(($27+24)|0); //@line 271 "../src/h264bsd_slice_data.c"
 HEAP32[(($28)>>2)]=$26; //@line 271 "../src/h264bsd_slice_data.c"
 STACKTOP=sp;return; //@line 273 "../src/h264bsd_slice_data.c"
}
function _h264bsdMarkSliceCorrupted($pStorage,$firstMbInSlice){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $tmp;
 var $i;
 var $sliceId;
 var $currMbAddr;
 $1=$pStorage;
 $2=$firstMbInSlice;
 var $3=$1; //@line 309 "../src/h264bsd_slice_data.c"
 var $4=($3|0)!=0; //@line 309 "../src/h264bsd_slice_data.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 309 "../src/h264bsd_slice_data.c"
 case 2: 
 ___assert_fail(7904,11336,309,13224); //@line 309 "../src/h264bsd_slice_data.c"
 throw "Reached an unreachable!"; //@line 309 "../src/h264bsd_slice_data.c"
 label=3;break; //@line 309 "../src/h264bsd_slice_data.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 309 "../src/h264bsd_slice_data.c"
 var $10=$2; //@line 310 "../src/h264bsd_slice_data.c"
 var $11=$1; //@line 310 "../src/h264bsd_slice_data.c"
 var $12=(($11+1176)|0); //@line 310 "../src/h264bsd_slice_data.c"
 var $13=HEAP32[(($12)>>2)]; //@line 310 "../src/h264bsd_slice_data.c"
 var $14=($10>>>0)<($13>>>0); //@line 310 "../src/h264bsd_slice_data.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 310 "../src/h264bsd_slice_data.c"
 case 4: 
 ___assert_fail(11128,11336,310,13224); //@line 310 "../src/h264bsd_slice_data.c"
 throw "Reached an unreachable!"; //@line 310 "../src/h264bsd_slice_data.c"
 label=5;break; //@line 310 "../src/h264bsd_slice_data.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 310 "../src/h264bsd_slice_data.c"
 var $20=$2; //@line 312 "../src/h264bsd_slice_data.c"
 $currMbAddr=$20; //@line 312 "../src/h264bsd_slice_data.c"
 var $21=$1; //@line 314 "../src/h264bsd_slice_data.c"
 var $22=(($21+1192)|0); //@line 314 "../src/h264bsd_slice_data.c"
 var $23=(($22)|0); //@line 314 "../src/h264bsd_slice_data.c"
 var $24=(($23)|0); //@line 314 "../src/h264bsd_slice_data.c"
 var $25=HEAP32[(($24)>>2)]; //@line 314 "../src/h264bsd_slice_data.c"
 $sliceId=$25; //@line 314 "../src/h264bsd_slice_data.c"
 var $26=$1; //@line 318 "../src/h264bsd_slice_data.c"
 var $27=(($26+1192)|0); //@line 318 "../src/h264bsd_slice_data.c"
 var $28=(($27)|0); //@line 318 "../src/h264bsd_slice_data.c"
 var $29=(($28+8)|0); //@line 318 "../src/h264bsd_slice_data.c"
 var $30=HEAP32[(($29)>>2)]; //@line 318 "../src/h264bsd_slice_data.c"
 var $31=($30|0)!=0; //@line 318 "../src/h264bsd_slice_data.c"
 if($31){label=6;break;}else{label=19;break;} //@line 318 "../src/h264bsd_slice_data.c"
 case 6: 
 var $33=$1; //@line 320 "../src/h264bsd_slice_data.c"
 var $34=(($33+1192)|0); //@line 320 "../src/h264bsd_slice_data.c"
 var $35=(($34)|0); //@line 320 "../src/h264bsd_slice_data.c"
 var $36=(($35+8)|0); //@line 320 "../src/h264bsd_slice_data.c"
 var $37=HEAP32[(($36)>>2)]; //@line 320 "../src/h264bsd_slice_data.c"
 var $38=$1; //@line 320 "../src/h264bsd_slice_data.c"
 var $39=(($38+1212)|0); //@line 320 "../src/h264bsd_slice_data.c"
 var $40=HEAP32[(($39)>>2)]; //@line 320 "../src/h264bsd_slice_data.c"
 var $41=(($40+((($37)*(216))&-1))|0); //@line 320 "../src/h264bsd_slice_data.c"
 var $42=(($41+4)|0); //@line 320 "../src/h264bsd_slice_data.c"
 var $43=HEAP32[(($42)>>2)]; //@line 320 "../src/h264bsd_slice_data.c"
 var $44=$sliceId; //@line 320 "../src/h264bsd_slice_data.c"
 var $45=($43|0)==($44|0); //@line 320 "../src/h264bsd_slice_data.c"
 if($45){var $49=1;label=8;break;}else{label=7;break;} //@line 320 "../src/h264bsd_slice_data.c"
 case 7: 
 ___assert_fail(10608,11336,320,13224); //@line 320 "../src/h264bsd_slice_data.c"
 throw "Reached an unreachable!"; //@line 320 "../src/h264bsd_slice_data.c"
 label=8;break; //@line 320 "../src/h264bsd_slice_data.c"
 case 8: 
 var $49;
 var $50=($49&1); //@line 320 "../src/h264bsd_slice_data.c"
 var $51=$1; //@line 321 "../src/h264bsd_slice_data.c"
 var $52=(($51+1192)|0); //@line 321 "../src/h264bsd_slice_data.c"
 var $53=(($52)|0); //@line 321 "../src/h264bsd_slice_data.c"
 var $54=(($53+8)|0); //@line 321 "../src/h264bsd_slice_data.c"
 var $55=HEAP32[(($54)>>2)]; //@line 321 "../src/h264bsd_slice_data.c"
 var $56=((($55)-(1))|0); //@line 321 "../src/h264bsd_slice_data.c"
 $i=$56; //@line 321 "../src/h264bsd_slice_data.c"
 $tmp=0; //@line 322 "../src/h264bsd_slice_data.c"
 label=9;break; //@line 323 "../src/h264bsd_slice_data.c"
 case 9: 
 var $58=$i; //@line 323 "../src/h264bsd_slice_data.c"
 var $59=$currMbAddr; //@line 323 "../src/h264bsd_slice_data.c"
 var $60=($58>>>0)>($59>>>0); //@line 323 "../src/h264bsd_slice_data.c"
 if($60){label=10;break;}else{label=18;break;} //@line 323 "../src/h264bsd_slice_data.c"
 case 10: 
 var $62=$i; //@line 325 "../src/h264bsd_slice_data.c"
 var $63=$1; //@line 325 "../src/h264bsd_slice_data.c"
 var $64=(($63+1212)|0); //@line 325 "../src/h264bsd_slice_data.c"
 var $65=HEAP32[(($64)>>2)]; //@line 325 "../src/h264bsd_slice_data.c"
 var $66=(($65+((($62)*(216))&-1))|0); //@line 325 "../src/h264bsd_slice_data.c"
 var $67=(($66+4)|0); //@line 325 "../src/h264bsd_slice_data.c"
 var $68=HEAP32[(($67)>>2)]; //@line 325 "../src/h264bsd_slice_data.c"
 var $69=$sliceId; //@line 325 "../src/h264bsd_slice_data.c"
 var $70=($68|0)==($69|0); //@line 325 "../src/h264bsd_slice_data.c"
 if($70){label=11;break;}else{label=17;break;} //@line 325 "../src/h264bsd_slice_data.c"
 case 11: 
 var $72=$tmp; //@line 327 "../src/h264bsd_slice_data.c"
 var $73=((($72)+(1))|0); //@line 327 "../src/h264bsd_slice_data.c"
 $tmp=$73; //@line 327 "../src/h264bsd_slice_data.c"
 var $74=$tmp; //@line 328 "../src/h264bsd_slice_data.c"
 var $75=$1; //@line 328 "../src/h264bsd_slice_data.c"
 var $76=(($75+16)|0); //@line 328 "../src/h264bsd_slice_data.c"
 var $77=HEAP32[(($76)>>2)]; //@line 328 "../src/h264bsd_slice_data.c"
 var $78=(($77+52)|0); //@line 328 "../src/h264bsd_slice_data.c"
 var $79=HEAP32[(($78)>>2)]; //@line 328 "../src/h264bsd_slice_data.c"
 var $80=($79>>>0)>10; //@line 328 "../src/h264bsd_slice_data.c"
 if($80){label=12;break;}else{label=13;break;} //@line 328 "../src/h264bsd_slice_data.c"
 case 12: 
 var $82=$1; //@line 328 "../src/h264bsd_slice_data.c"
 var $83=(($82+16)|0); //@line 328 "../src/h264bsd_slice_data.c"
 var $84=HEAP32[(($83)>>2)]; //@line 328 "../src/h264bsd_slice_data.c"
 var $85=(($84+52)|0); //@line 328 "../src/h264bsd_slice_data.c"
 var $86=HEAP32[(($85)>>2)]; //@line 328 "../src/h264bsd_slice_data.c"
 var $89=$86;label=14;break; //@line 328 "../src/h264bsd_slice_data.c"
 case 13: 
 var $89=10;label=14;break; //@line 328 "../src/h264bsd_slice_data.c"
 case 14: 
 var $89; //@line 328 "../src/h264bsd_slice_data.c"
 var $90=($74>>>0)>=($89>>>0); //@line 328 "../src/h264bsd_slice_data.c"
 if($90){label=15;break;}else{label=16;break;} //@line 328 "../src/h264bsd_slice_data.c"
 case 15: 
 label=18;break; //@line 329 "../src/h264bsd_slice_data.c"
 case 16: 
 label=17;break; //@line 330 "../src/h264bsd_slice_data.c"
 case 17: 
 var $94=$i; //@line 331 "../src/h264bsd_slice_data.c"
 var $95=((($94)-(1))|0); //@line 331 "../src/h264bsd_slice_data.c"
 $i=$95; //@line 331 "../src/h264bsd_slice_data.c"
 label=9;break; //@line 332 "../src/h264bsd_slice_data.c"
 case 18: 
 var $97=$i; //@line 333 "../src/h264bsd_slice_data.c"
 $currMbAddr=$97; //@line 333 "../src/h264bsd_slice_data.c"
 label=19;break; //@line 334 "../src/h264bsd_slice_data.c"
 case 19: 
 label=20;break; //@line 336 "../src/h264bsd_slice_data.c"
 case 20: 
 var $100=$currMbAddr; //@line 339 "../src/h264bsd_slice_data.c"
 var $101=$1; //@line 339 "../src/h264bsd_slice_data.c"
 var $102=(($101+1212)|0); //@line 339 "../src/h264bsd_slice_data.c"
 var $103=HEAP32[(($102)>>2)]; //@line 339 "../src/h264bsd_slice_data.c"
 var $104=(($103+((($100)*(216))&-1))|0); //@line 339 "../src/h264bsd_slice_data.c"
 var $105=(($104+4)|0); //@line 339 "../src/h264bsd_slice_data.c"
 var $106=HEAP32[(($105)>>2)]; //@line 339 "../src/h264bsd_slice_data.c"
 var $107=$sliceId; //@line 339 "../src/h264bsd_slice_data.c"
 var $108=($106|0)==($107|0); //@line 339 "../src/h264bsd_slice_data.c"
 if($108){label=21;break;}else{label=23;break;} //@line 339 "../src/h264bsd_slice_data.c"
 case 21: 
 var $110=$currMbAddr; //@line 339 "../src/h264bsd_slice_data.c"
 var $111=$1; //@line 339 "../src/h264bsd_slice_data.c"
 var $112=(($111+1212)|0); //@line 339 "../src/h264bsd_slice_data.c"
 var $113=HEAP32[(($112)>>2)]; //@line 339 "../src/h264bsd_slice_data.c"
 var $114=(($113+((($110)*(216))&-1))|0); //@line 339 "../src/h264bsd_slice_data.c"
 var $115=(($114+196)|0); //@line 339 "../src/h264bsd_slice_data.c"
 var $116=HEAP32[(($115)>>2)]; //@line 339 "../src/h264bsd_slice_data.c"
 var $117=($116|0)!=0; //@line 339 "../src/h264bsd_slice_data.c"
 if($117){label=22;break;}else{label=23;break;} //@line 339 "../src/h264bsd_slice_data.c"
 case 22: 
 var $119=$currMbAddr; //@line 342 "../src/h264bsd_slice_data.c"
 var $120=$1; //@line 342 "../src/h264bsd_slice_data.c"
 var $121=(($120+1212)|0); //@line 342 "../src/h264bsd_slice_data.c"
 var $122=HEAP32[(($121)>>2)]; //@line 342 "../src/h264bsd_slice_data.c"
 var $123=(($122+((($119)*(216))&-1))|0); //@line 342 "../src/h264bsd_slice_data.c"
 var $124=(($123+196)|0); //@line 342 "../src/h264bsd_slice_data.c"
 var $125=HEAP32[(($124)>>2)]; //@line 342 "../src/h264bsd_slice_data.c"
 var $126=((($125)-(1))|0); //@line 342 "../src/h264bsd_slice_data.c"
 HEAP32[(($124)>>2)]=$126; //@line 342 "../src/h264bsd_slice_data.c"
 label=24;break; //@line 343 "../src/h264bsd_slice_data.c"
 case 23: 
 label=26;break; //@line 346 "../src/h264bsd_slice_data.c"
 case 24: 
 var $129=$1; //@line 349 "../src/h264bsd_slice_data.c"
 var $130=(($129+1172)|0); //@line 349 "../src/h264bsd_slice_data.c"
 var $131=HEAP32[(($130)>>2)]; //@line 349 "../src/h264bsd_slice_data.c"
 var $132=$1; //@line 349 "../src/h264bsd_slice_data.c"
 var $133=(($132+1176)|0); //@line 349 "../src/h264bsd_slice_data.c"
 var $134=HEAP32[(($133)>>2)]; //@line 349 "../src/h264bsd_slice_data.c"
 var $135=$currMbAddr; //@line 349 "../src/h264bsd_slice_data.c"
 var $136=_h264bsdNextMbAddress($131,$134,$135); //@line 349 "../src/h264bsd_slice_data.c"
 $currMbAddr=$136; //@line 349 "../src/h264bsd_slice_data.c"
 label=25;break; //@line 352 "../src/h264bsd_slice_data.c"
 case 25: 
 var $138=$currMbAddr; //@line 352 "../src/h264bsd_slice_data.c"
 var $139=($138|0)!=0; //@line 352 "../src/h264bsd_slice_data.c"
 if($139){label=20;break;}else{label=26;break;} //@line 352 "../src/h264bsd_slice_data.c"
 case 26: 
 STACKTOP=sp;return; //@line 354 "../src/h264bsd_slice_data.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeSliceGroupMap($map,$pps,$sliceGroupChangeCycle,$picWidth,$picHeight){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $picSize;
 var $unitsInSliceGroup0;
 var $sizeOfUpperLeftGroup;
 $1=$map;
 $2=$pps;
 $3=$sliceGroupChangeCycle;
 $4=$picWidth;
 $5=$picHeight;
 $unitsInSliceGroup0=0; //@line 514 "../src/h264bsd_slice_group_map.c"
 $sizeOfUpperLeftGroup=0; //@line 514 "../src/h264bsd_slice_group_map.c"
 var $6=$1; //@line 518 "../src/h264bsd_slice_group_map.c"
 var $7=($6|0)!=0; //@line 518 "../src/h264bsd_slice_group_map.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 518 "../src/h264bsd_slice_group_map.c"
 case 2: 
 ___assert_fail(8072,11256,518,14136); //@line 518 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 518 "../src/h264bsd_slice_group_map.c"
 label=3;break; //@line 518 "../src/h264bsd_slice_group_map.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 518 "../src/h264bsd_slice_group_map.c"
 var $13=$2; //@line 519 "../src/h264bsd_slice_group_map.c"
 var $14=($13|0)!=0; //@line 519 "../src/h264bsd_slice_group_map.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 519 "../src/h264bsd_slice_group_map.c"
 case 4: 
 ___assert_fail(8944,11256,519,14136); //@line 519 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 519 "../src/h264bsd_slice_group_map.c"
 label=5;break; //@line 519 "../src/h264bsd_slice_group_map.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 519 "../src/h264bsd_slice_group_map.c"
 var $20=$4; //@line 520 "../src/h264bsd_slice_group_map.c"
 var $21=($20|0)!=0; //@line 520 "../src/h264bsd_slice_group_map.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 520 "../src/h264bsd_slice_group_map.c"
 case 6: 
 ___assert_fail(7888,11256,520,14136); //@line 520 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 520 "../src/h264bsd_slice_group_map.c"
 label=7;break; //@line 520 "../src/h264bsd_slice_group_map.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 520 "../src/h264bsd_slice_group_map.c"
 var $27=$5; //@line 521 "../src/h264bsd_slice_group_map.c"
 var $28=($27|0)!=0; //@line 521 "../src/h264bsd_slice_group_map.c"
 if($28){var $32=1;label=9;break;}else{label=8;break;} //@line 521 "../src/h264bsd_slice_group_map.c"
 case 8: 
 ___assert_fail(6944,11256,521,14136); //@line 521 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 521 "../src/h264bsd_slice_group_map.c"
 label=9;break; //@line 521 "../src/h264bsd_slice_group_map.c"
 case 9: 
 var $32;
 var $33=($32&1); //@line 521 "../src/h264bsd_slice_group_map.c"
 var $34=$2; //@line 522 "../src/h264bsd_slice_group_map.c"
 var $35=(($34+16)|0); //@line 522 "../src/h264bsd_slice_group_map.c"
 var $36=HEAP32[(($35)>>2)]; //@line 522 "../src/h264bsd_slice_group_map.c"
 var $37=($36>>>0)<7; //@line 522 "../src/h264bsd_slice_group_map.c"
 if($37){var $41=1;label=11;break;}else{label=10;break;} //@line 522 "../src/h264bsd_slice_group_map.c"
 case 10: 
 ___assert_fail(6192,11256,522,14136); //@line 522 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 522 "../src/h264bsd_slice_group_map.c"
 label=11;break; //@line 522 "../src/h264bsd_slice_group_map.c"
 case 11: 
 var $41;
 var $42=($41&1); //@line 522 "../src/h264bsd_slice_group_map.c"
 var $43=$4; //@line 524 "../src/h264bsd_slice_group_map.c"
 var $44=$5; //@line 524 "../src/h264bsd_slice_group_map.c"
 var $45=(Math_imul($43,$44)|0); //@line 524 "../src/h264bsd_slice_group_map.c"
 $picSize=$45; //@line 524 "../src/h264bsd_slice_group_map.c"
 var $46=$2; //@line 527 "../src/h264bsd_slice_group_map.c"
 var $47=(($46+12)|0); //@line 527 "../src/h264bsd_slice_group_map.c"
 var $48=HEAP32[(($47)>>2)]; //@line 527 "../src/h264bsd_slice_group_map.c"
 var $49=($48|0)==1; //@line 527 "../src/h264bsd_slice_group_map.c"
 if($49){label=12;break;}else{label=13;break;} //@line 527 "../src/h264bsd_slice_group_map.c"
 case 12: 
 var $51=$1; //@line 529 "../src/h264bsd_slice_group_map.c"
 var $52=$51; //@line 529 "../src/h264bsd_slice_group_map.c"
 var $53=$picSize; //@line 529 "../src/h264bsd_slice_group_map.c"
 var $54=($53<<2); //@line 529 "../src/h264bsd_slice_group_map.c"
 _memset($52, 0, $54)|0; //@line 529 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 530 "../src/h264bsd_slice_group_map.c"
 case 13: 
 var $56=$2; //@line 533 "../src/h264bsd_slice_group_map.c"
 var $57=(($56+16)|0); //@line 533 "../src/h264bsd_slice_group_map.c"
 var $58=HEAP32[(($57)>>2)]; //@line 533 "../src/h264bsd_slice_group_map.c"
 var $59=($58>>>0)>2; //@line 533 "../src/h264bsd_slice_group_map.c"
 if($59){label=14;break;}else{label=28;break;} //@line 533 "../src/h264bsd_slice_group_map.c"
 case 14: 
 var $61=$2; //@line 533 "../src/h264bsd_slice_group_map.c"
 var $62=(($61+16)|0); //@line 533 "../src/h264bsd_slice_group_map.c"
 var $63=HEAP32[(($62)>>2)]; //@line 533 "../src/h264bsd_slice_group_map.c"
 var $64=($63>>>0)<6; //@line 533 "../src/h264bsd_slice_group_map.c"
 if($64){label=15;break;}else{label=28;break;} //@line 533 "../src/h264bsd_slice_group_map.c"
 case 15: 
 var $66=$2; //@line 535 "../src/h264bsd_slice_group_map.c"
 var $67=(($66+36)|0); //@line 535 "../src/h264bsd_slice_group_map.c"
 var $68=HEAP32[(($67)>>2)]; //@line 535 "../src/h264bsd_slice_group_map.c"
 var $69=($68|0)!=0; //@line 535 "../src/h264bsd_slice_group_map.c"
 if($69){label=16;break;}else{label=17;break;} //@line 535 "../src/h264bsd_slice_group_map.c"
 case 16: 
 var $71=$2; //@line 535 "../src/h264bsd_slice_group_map.c"
 var $72=(($71+36)|0); //@line 535 "../src/h264bsd_slice_group_map.c"
 var $73=HEAP32[(($72)>>2)]; //@line 535 "../src/h264bsd_slice_group_map.c"
 var $74=$picSize; //@line 535 "../src/h264bsd_slice_group_map.c"
 var $75=($73>>>0)<=($74>>>0); //@line 535 "../src/h264bsd_slice_group_map.c"
 if($75){var $79=1;label=18;break;}else{label=17;break;} //@line 535 "../src/h264bsd_slice_group_map.c"
 case 17: 
 ___assert_fail(5632,11256,536,14136); //@line 535 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 535 "../src/h264bsd_slice_group_map.c"
 label=18;break; //@line 535 "../src/h264bsd_slice_group_map.c"
 case 18: 
 var $79;
 var $80=($79&1); //@line 535 "../src/h264bsd_slice_group_map.c"
 var $81=$3; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $82=$2; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $83=(($82+36)|0); //@line 538 "../src/h264bsd_slice_group_map.c"
 var $84=HEAP32[(($83)>>2)]; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $85=(Math_imul($81,$84)|0); //@line 538 "../src/h264bsd_slice_group_map.c"
 var $86=$picSize; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $87=($85>>>0)<($86>>>0); //@line 538 "../src/h264bsd_slice_group_map.c"
 if($87){label=19;break;}else{label=20;break;} //@line 538 "../src/h264bsd_slice_group_map.c"
 case 19: 
 var $89=$3; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $90=$2; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $91=(($90+36)|0); //@line 538 "../src/h264bsd_slice_group_map.c"
 var $92=HEAP32[(($91)>>2)]; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $93=(Math_imul($89,$92)|0); //@line 538 "../src/h264bsd_slice_group_map.c"
 var $97=$93;label=21;break; //@line 538 "../src/h264bsd_slice_group_map.c"
 case 20: 
 var $95=$picSize; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $97=$95;label=21;break; //@line 538 "../src/h264bsd_slice_group_map.c"
 case 21: 
 var $97; //@line 538 "../src/h264bsd_slice_group_map.c"
 $unitsInSliceGroup0=$97; //@line 538 "../src/h264bsd_slice_group_map.c"
 var $98=$2; //@line 541 "../src/h264bsd_slice_group_map.c"
 var $99=(($98+16)|0); //@line 541 "../src/h264bsd_slice_group_map.c"
 var $100=HEAP32[(($99)>>2)]; //@line 541 "../src/h264bsd_slice_group_map.c"
 var $101=($100|0)==4; //@line 541 "../src/h264bsd_slice_group_map.c"
 if($101){label=23;break;}else{label=22;break;} //@line 541 "../src/h264bsd_slice_group_map.c"
 case 22: 
 var $103=$2; //@line 541 "../src/h264bsd_slice_group_map.c"
 var $104=(($103+16)|0); //@line 541 "../src/h264bsd_slice_group_map.c"
 var $105=HEAP32[(($104)>>2)]; //@line 541 "../src/h264bsd_slice_group_map.c"
 var $106=($105|0)==5; //@line 541 "../src/h264bsd_slice_group_map.c"
 if($106){label=23;break;}else{label=27;break;} //@line 541 "../src/h264bsd_slice_group_map.c"
 case 23: 
 var $108=$2; //@line 542 "../src/h264bsd_slice_group_map.c"
 var $109=(($108+32)|0); //@line 542 "../src/h264bsd_slice_group_map.c"
 var $110=HEAP32[(($109)>>2)]; //@line 542 "../src/h264bsd_slice_group_map.c"
 var $111=($110|0)!=0; //@line 542 "../src/h264bsd_slice_group_map.c"
 if($111){label=24;break;}else{label=25;break;} //@line 542 "../src/h264bsd_slice_group_map.c"
 case 24: 
 var $113=$picSize; //@line 542 "../src/h264bsd_slice_group_map.c"
 var $114=$unitsInSliceGroup0; //@line 542 "../src/h264bsd_slice_group_map.c"
 var $115=((($113)-($114))|0); //@line 542 "../src/h264bsd_slice_group_map.c"
 var $119=$115;label=26;break; //@line 542 "../src/h264bsd_slice_group_map.c"
 case 25: 
 var $117=$unitsInSliceGroup0; //@line 542 "../src/h264bsd_slice_group_map.c"
 var $119=$117;label=26;break; //@line 542 "../src/h264bsd_slice_group_map.c"
 case 26: 
 var $119; //@line 542 "../src/h264bsd_slice_group_map.c"
 $sizeOfUpperLeftGroup=$119; //@line 542 "../src/h264bsd_slice_group_map.c"
 label=27;break; //@line 542 "../src/h264bsd_slice_group_map.c"
 case 27: 
 label=28;break; //@line 544 "../src/h264bsd_slice_group_map.c"
 case 28: 
 var $122=$2; //@line 546 "../src/h264bsd_slice_group_map.c"
 var $123=(($122+16)|0); //@line 546 "../src/h264bsd_slice_group_map.c"
 var $124=HEAP32[(($123)>>2)]; //@line 546 "../src/h264bsd_slice_group_map.c"
 switch(($124|0)){case 0:{ label=29;break;}case 1:{ label=30;break;}case 2:{ label=31;break;}case 3:{ label=32;break;}case 4:{ label=33;break;}case 5:{ label=34;break;}default:{label=35;break;}}break;
 case 29: 
 var $126=$1; //@line 549 "../src/h264bsd_slice_group_map.c"
 var $127=$2; //@line 549 "../src/h264bsd_slice_group_map.c"
 var $128=(($127+12)|0); //@line 549 "../src/h264bsd_slice_group_map.c"
 var $129=HEAP32[(($128)>>2)]; //@line 549 "../src/h264bsd_slice_group_map.c"
 var $130=$2; //@line 549 "../src/h264bsd_slice_group_map.c"
 var $131=(($130+20)|0); //@line 549 "../src/h264bsd_slice_group_map.c"
 var $132=HEAP32[(($131)>>2)]; //@line 549 "../src/h264bsd_slice_group_map.c"
 var $133=$picSize; //@line 549 "../src/h264bsd_slice_group_map.c"
 _DecodeInterleavedMap($126,$129,$132,$133); //@line 549 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 551 "../src/h264bsd_slice_group_map.c"
 case 30: 
 var $135=$1; //@line 554 "../src/h264bsd_slice_group_map.c"
 var $136=$2; //@line 554 "../src/h264bsd_slice_group_map.c"
 var $137=(($136+12)|0); //@line 554 "../src/h264bsd_slice_group_map.c"
 var $138=HEAP32[(($137)>>2)]; //@line 554 "../src/h264bsd_slice_group_map.c"
 var $139=$4; //@line 554 "../src/h264bsd_slice_group_map.c"
 var $140=$5; //@line 554 "../src/h264bsd_slice_group_map.c"
 _DecodeDispersedMap($135,$138,$139,$140); //@line 554 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 556 "../src/h264bsd_slice_group_map.c"
 case 31: 
 var $142=$1; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $143=$2; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $144=(($143+12)|0); //@line 559 "../src/h264bsd_slice_group_map.c"
 var $145=HEAP32[(($144)>>2)]; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $146=$2; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $147=(($146+24)|0); //@line 559 "../src/h264bsd_slice_group_map.c"
 var $148=HEAP32[(($147)>>2)]; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $149=$2; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $150=(($149+28)|0); //@line 559 "../src/h264bsd_slice_group_map.c"
 var $151=HEAP32[(($150)>>2)]; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $152=$4; //@line 559 "../src/h264bsd_slice_group_map.c"
 var $153=$5; //@line 559 "../src/h264bsd_slice_group_map.c"
 _DecodeForegroundLeftOverMap($142,$145,$148,$151,$152,$153); //@line 559 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 561 "../src/h264bsd_slice_group_map.c"
 case 32: 
 var $155=$1; //@line 564 "../src/h264bsd_slice_group_map.c"
 var $156=$2; //@line 564 "../src/h264bsd_slice_group_map.c"
 var $157=(($156+32)|0); //@line 564 "../src/h264bsd_slice_group_map.c"
 var $158=HEAP32[(($157)>>2)]; //@line 564 "../src/h264bsd_slice_group_map.c"
 var $159=$unitsInSliceGroup0; //@line 564 "../src/h264bsd_slice_group_map.c"
 var $160=$4; //@line 564 "../src/h264bsd_slice_group_map.c"
 var $161=$5; //@line 564 "../src/h264bsd_slice_group_map.c"
 _DecodeBoxOutMap($155,$158,$159,$160,$161); //@line 564 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 566 "../src/h264bsd_slice_group_map.c"
 case 33: 
 var $163=$1; //@line 569 "../src/h264bsd_slice_group_map.c"
 var $164=$2; //@line 569 "../src/h264bsd_slice_group_map.c"
 var $165=(($164+32)|0); //@line 569 "../src/h264bsd_slice_group_map.c"
 var $166=HEAP32[(($165)>>2)]; //@line 569 "../src/h264bsd_slice_group_map.c"
 var $167=$sizeOfUpperLeftGroup; //@line 569 "../src/h264bsd_slice_group_map.c"
 var $168=$picSize; //@line 569 "../src/h264bsd_slice_group_map.c"
 _DecodeRasterScanMap($163,$166,$167,$168); //@line 569 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 572 "../src/h264bsd_slice_group_map.c"
 case 34: 
 var $170=$1; //@line 575 "../src/h264bsd_slice_group_map.c"
 var $171=$2; //@line 575 "../src/h264bsd_slice_group_map.c"
 var $172=(($171+32)|0); //@line 575 "../src/h264bsd_slice_group_map.c"
 var $173=HEAP32[(($172)>>2)]; //@line 575 "../src/h264bsd_slice_group_map.c"
 var $174=$sizeOfUpperLeftGroup; //@line 575 "../src/h264bsd_slice_group_map.c"
 var $175=$4; //@line 575 "../src/h264bsd_slice_group_map.c"
 var $176=$5; //@line 575 "../src/h264bsd_slice_group_map.c"
 _DecodeWipeMap($170,$173,$174,$175,$176); //@line 575 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 577 "../src/h264bsd_slice_group_map.c"
 case 35: 
 var $178=$2; //@line 580 "../src/h264bsd_slice_group_map.c"
 var $179=(($178+44)|0); //@line 580 "../src/h264bsd_slice_group_map.c"
 var $180=HEAP32[(($179)>>2)]; //@line 580 "../src/h264bsd_slice_group_map.c"
 var $181=($180|0)!=0; //@line 580 "../src/h264bsd_slice_group_map.c"
 if($181){var $185=1;label=37;break;}else{label=36;break;} //@line 580 "../src/h264bsd_slice_group_map.c"
 case 36: 
 ___assert_fail(5272,11256,580,14136); //@line 580 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 580 "../src/h264bsd_slice_group_map.c"
 label=37;break; //@line 580 "../src/h264bsd_slice_group_map.c"
 case 37: 
 var $185;
 var $186=($185&1); //@line 580 "../src/h264bsd_slice_group_map.c"
 $i=0; //@line 581 "../src/h264bsd_slice_group_map.c"
 label=38;break; //@line 581 "../src/h264bsd_slice_group_map.c"
 case 38: 
 var $188=$i; //@line 581 "../src/h264bsd_slice_group_map.c"
 var $189=$picSize; //@line 581 "../src/h264bsd_slice_group_map.c"
 var $190=($188>>>0)<($189>>>0); //@line 581 "../src/h264bsd_slice_group_map.c"
 if($190){label=39;break;}else{label=43;break;} //@line 581 "../src/h264bsd_slice_group_map.c"
 case 39: 
 var $192=$i; //@line 583 "../src/h264bsd_slice_group_map.c"
 var $193=$2; //@line 583 "../src/h264bsd_slice_group_map.c"
 var $194=(($193+44)|0); //@line 583 "../src/h264bsd_slice_group_map.c"
 var $195=HEAP32[(($194)>>2)]; //@line 583 "../src/h264bsd_slice_group_map.c"
 var $196=(($195+($192<<2))|0); //@line 583 "../src/h264bsd_slice_group_map.c"
 var $197=HEAP32[(($196)>>2)]; //@line 583 "../src/h264bsd_slice_group_map.c"
 var $198=$2; //@line 583 "../src/h264bsd_slice_group_map.c"
 var $199=(($198+12)|0); //@line 583 "../src/h264bsd_slice_group_map.c"
 var $200=HEAP32[(($199)>>2)]; //@line 583 "../src/h264bsd_slice_group_map.c"
 var $201=($197>>>0)<($200>>>0); //@line 583 "../src/h264bsd_slice_group_map.c"
 if($201){var $205=1;label=41;break;}else{label=40;break;} //@line 583 "../src/h264bsd_slice_group_map.c"
 case 40: 
 ___assert_fail(4904,11256,583,14136); //@line 583 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 583 "../src/h264bsd_slice_group_map.c"
 label=41;break; //@line 583 "../src/h264bsd_slice_group_map.c"
 case 41: 
 var $205;
 var $206=($205&1); //@line 583 "../src/h264bsd_slice_group_map.c"
 var $207=$i; //@line 584 "../src/h264bsd_slice_group_map.c"
 var $208=$2; //@line 584 "../src/h264bsd_slice_group_map.c"
 var $209=(($208+44)|0); //@line 584 "../src/h264bsd_slice_group_map.c"
 var $210=HEAP32[(($209)>>2)]; //@line 584 "../src/h264bsd_slice_group_map.c"
 var $211=(($210+($207<<2))|0); //@line 584 "../src/h264bsd_slice_group_map.c"
 var $212=HEAP32[(($211)>>2)]; //@line 584 "../src/h264bsd_slice_group_map.c"
 var $213=$i; //@line 584 "../src/h264bsd_slice_group_map.c"
 var $214=$1; //@line 584 "../src/h264bsd_slice_group_map.c"
 var $215=(($214+($213<<2))|0); //@line 584 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($215)>>2)]=$212; //@line 584 "../src/h264bsd_slice_group_map.c"
 label=42;break; //@line 585 "../src/h264bsd_slice_group_map.c"
 case 42: 
 var $217=$i; //@line 581 "../src/h264bsd_slice_group_map.c"
 var $218=((($217)+(1))|0); //@line 581 "../src/h264bsd_slice_group_map.c"
 $i=$218; //@line 581 "../src/h264bsd_slice_group_map.c"
 label=38;break; //@line 581 "../src/h264bsd_slice_group_map.c"
 case 43: 
 label=44;break; //@line 586 "../src/h264bsd_slice_group_map.c"
 case 44: 
 STACKTOP=sp;return; //@line 589 "../src/h264bsd_slice_group_map.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeInterleavedMap($map,$numSliceGroups,$runLength,$picSize){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $j;
 var $group;
 $1=$map;
 $2=$numSliceGroups;
 $3=$runLength;
 $4=$picSize;
 var $5=$1; //@line 134 "../src/h264bsd_slice_group_map.c"
 var $6=($5|0)!=0; //@line 134 "../src/h264bsd_slice_group_map.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 134 "../src/h264bsd_slice_group_map.c"
 case 2: 
 ___assert_fail(8072,11256,134,16296); //@line 134 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 134 "../src/h264bsd_slice_group_map.c"
 label=3;break; //@line 134 "../src/h264bsd_slice_group_map.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 134 "../src/h264bsd_slice_group_map.c"
 var $12=$2; //@line 135 "../src/h264bsd_slice_group_map.c"
 var $13=($12>>>0)>=1; //@line 135 "../src/h264bsd_slice_group_map.c"
 if($13){label=4;break;}else{label=5;break;} //@line 135 "../src/h264bsd_slice_group_map.c"
 case 4: 
 var $15=$2; //@line 135 "../src/h264bsd_slice_group_map.c"
 var $16=($15>>>0)<=8; //@line 135 "../src/h264bsd_slice_group_map.c"
 if($16){var $20=1;label=6;break;}else{label=5;break;} //@line 135 "../src/h264bsd_slice_group_map.c"
 case 5: 
 ___assert_fail(11080,11256,135,16296); //@line 135 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 135 "../src/h264bsd_slice_group_map.c"
 label=6;break; //@line 135 "../src/h264bsd_slice_group_map.c"
 case 6: 
 var $20;
 var $21=($20&1); //@line 135 "../src/h264bsd_slice_group_map.c"
 var $22=$3; //@line 136 "../src/h264bsd_slice_group_map.c"
 var $23=($22|0)!=0; //@line 136 "../src/h264bsd_slice_group_map.c"
 if($23){var $27=1;label=8;break;}else{label=7;break;} //@line 136 "../src/h264bsd_slice_group_map.c"
 case 7: 
 ___assert_fail(9680,11256,136,16296); //@line 136 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 136 "../src/h264bsd_slice_group_map.c"
 label=8;break; //@line 136 "../src/h264bsd_slice_group_map.c"
 case 8: 
 var $27;
 var $28=($27&1); //@line 136 "../src/h264bsd_slice_group_map.c"
 $i=0; //@line 138 "../src/h264bsd_slice_group_map.c"
 label=9;break; //@line 140 "../src/h264bsd_slice_group_map.c"
 case 9: 
 $group=0; //@line 141 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 141 "../src/h264bsd_slice_group_map.c"
 case 10: 
 var $31=$group; //@line 141 "../src/h264bsd_slice_group_map.c"
 var $32=$2; //@line 141 "../src/h264bsd_slice_group_map.c"
 var $33=($31>>>0)<($32>>>0); //@line 141 "../src/h264bsd_slice_group_map.c"
 if($33){label=11;break;}else{var $39=0;label=12;break;} //@line 141 "../src/h264bsd_slice_group_map.c"
 case 11: 
 var $35=$i; //@line 141 "../src/h264bsd_slice_group_map.c"
 var $36=$4; //@line 141 "../src/h264bsd_slice_group_map.c"
 var $37=($35>>>0)<($36>>>0); //@line 141 "../src/h264bsd_slice_group_map.c"
 var $39=$37;label=12;break;
 case 12: 
 var $39;
 if($39){label=13;break;}else{label=23;break;}
 case 13: 
 var $41=$group; //@line 144 "../src/h264bsd_slice_group_map.c"
 var $42=$3; //@line 144 "../src/h264bsd_slice_group_map.c"
 var $43=(($42+($41<<2))|0); //@line 144 "../src/h264bsd_slice_group_map.c"
 var $44=HEAP32[(($43)>>2)]; //@line 144 "../src/h264bsd_slice_group_map.c"
 var $45=$4; //@line 144 "../src/h264bsd_slice_group_map.c"
 var $46=($44>>>0)<=($45>>>0); //@line 144 "../src/h264bsd_slice_group_map.c"
 if($46){var $50=1;label=15;break;}else{label=14;break;} //@line 144 "../src/h264bsd_slice_group_map.c"
 case 14: 
 ___assert_fail(9552,11256,144,16296); //@line 144 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 144 "../src/h264bsd_slice_group_map.c"
 label=15;break; //@line 144 "../src/h264bsd_slice_group_map.c"
 case 15: 
 var $50;
 var $51=($50&1); //@line 144 "../src/h264bsd_slice_group_map.c"
 $j=0; //@line 145 "../src/h264bsd_slice_group_map.c"
 label=16;break; //@line 145 "../src/h264bsd_slice_group_map.c"
 case 16: 
 var $53=$j; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $54=$group; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $55=$3; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $56=(($55+($54<<2))|0); //@line 145 "../src/h264bsd_slice_group_map.c"
 var $57=HEAP32[(($56)>>2)]; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $58=($53>>>0)<($57>>>0); //@line 145 "../src/h264bsd_slice_group_map.c"
 if($58){label=17;break;}else{var $66=0;label=18;break;} //@line 145 "../src/h264bsd_slice_group_map.c"
 case 17: 
 var $60=$i; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $61=$j; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $62=((($60)+($61))|0); //@line 145 "../src/h264bsd_slice_group_map.c"
 var $63=$4; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $64=($62>>>0)<($63>>>0); //@line 145 "../src/h264bsd_slice_group_map.c"
 var $66=$64;label=18;break;
 case 18: 
 var $66;
 if($66){label=19;break;}else{label=21;break;}
 case 19: 
 var $68=$group; //@line 146 "../src/h264bsd_slice_group_map.c"
 var $69=$i; //@line 146 "../src/h264bsd_slice_group_map.c"
 var $70=$j; //@line 146 "../src/h264bsd_slice_group_map.c"
 var $71=((($69)+($70))|0); //@line 146 "../src/h264bsd_slice_group_map.c"
 var $72=$1; //@line 146 "../src/h264bsd_slice_group_map.c"
 var $73=(($72+($71<<2))|0); //@line 146 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($73)>>2)]=$68; //@line 146 "../src/h264bsd_slice_group_map.c"
 label=20;break; //@line 146 "../src/h264bsd_slice_group_map.c"
 case 20: 
 var $75=$j; //@line 145 "../src/h264bsd_slice_group_map.c"
 var $76=((($75)+(1))|0); //@line 145 "../src/h264bsd_slice_group_map.c"
 $j=$76; //@line 145 "../src/h264bsd_slice_group_map.c"
 label=16;break; //@line 145 "../src/h264bsd_slice_group_map.c"
 case 21: 
 label=22;break; //@line 147 "../src/h264bsd_slice_group_map.c"
 case 22: 
 var $79=$group; //@line 142 "../src/h264bsd_slice_group_map.c"
 var $80=((($79)+(1))|0); //@line 142 "../src/h264bsd_slice_group_map.c"
 $group=$80; //@line 142 "../src/h264bsd_slice_group_map.c"
 var $81=$3; //@line 142 "../src/h264bsd_slice_group_map.c"
 var $82=(($81+($79<<2))|0); //@line 142 "../src/h264bsd_slice_group_map.c"
 var $83=HEAP32[(($82)>>2)]; //@line 142 "../src/h264bsd_slice_group_map.c"
 var $84=$i; //@line 142 "../src/h264bsd_slice_group_map.c"
 var $85=((($84)+($83))|0); //@line 142 "../src/h264bsd_slice_group_map.c"
 $i=$85; //@line 142 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 142 "../src/h264bsd_slice_group_map.c"
 case 23: 
 label=24;break; //@line 148 "../src/h264bsd_slice_group_map.c"
 case 24: 
 var $88=$i; //@line 148 "../src/h264bsd_slice_group_map.c"
 var $89=$4; //@line 148 "../src/h264bsd_slice_group_map.c"
 var $90=($88>>>0)<($89>>>0); //@line 148 "../src/h264bsd_slice_group_map.c"
 if($90){label=9;break;}else{label=25;break;} //@line 148 "../src/h264bsd_slice_group_map.c"
 case 25: 
 STACKTOP=sp;return; //@line 151 "../src/h264bsd_slice_group_map.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeDispersedMap($map,$numSliceGroups,$picWidth,$picHeight){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 var $picSize;
 $1=$map;
 $2=$numSliceGroups;
 $3=$picWidth;
 $4=$picHeight;
 var $5=$1; //@line 188 "../src/h264bsd_slice_group_map.c"
 var $6=($5|0)!=0; //@line 188 "../src/h264bsd_slice_group_map.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 188 "../src/h264bsd_slice_group_map.c"
 case 2: 
 ___assert_fail(8072,11256,188,16376); //@line 188 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 188 "../src/h264bsd_slice_group_map.c"
 label=3;break; //@line 188 "../src/h264bsd_slice_group_map.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 188 "../src/h264bsd_slice_group_map.c"
 var $12=$2; //@line 189 "../src/h264bsd_slice_group_map.c"
 var $13=($12>>>0)>=1; //@line 189 "../src/h264bsd_slice_group_map.c"
 if($13){label=4;break;}else{label=5;break;} //@line 189 "../src/h264bsd_slice_group_map.c"
 case 4: 
 var $15=$2; //@line 189 "../src/h264bsd_slice_group_map.c"
 var $16=($15>>>0)<=8; //@line 189 "../src/h264bsd_slice_group_map.c"
 if($16){var $20=1;label=6;break;}else{label=5;break;} //@line 189 "../src/h264bsd_slice_group_map.c"
 case 5: 
 ___assert_fail(11080,11256,189,16376); //@line 189 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 189 "../src/h264bsd_slice_group_map.c"
 label=6;break; //@line 189 "../src/h264bsd_slice_group_map.c"
 case 6: 
 var $20;
 var $21=($20&1); //@line 189 "../src/h264bsd_slice_group_map.c"
 var $22=$3; //@line 190 "../src/h264bsd_slice_group_map.c"
 var $23=($22|0)!=0; //@line 190 "../src/h264bsd_slice_group_map.c"
 if($23){var $27=1;label=8;break;}else{label=7;break;} //@line 190 "../src/h264bsd_slice_group_map.c"
 case 7: 
 ___assert_fail(7888,11256,190,16376); //@line 190 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 190 "../src/h264bsd_slice_group_map.c"
 label=8;break; //@line 190 "../src/h264bsd_slice_group_map.c"
 case 8: 
 var $27;
 var $28=($27&1); //@line 190 "../src/h264bsd_slice_group_map.c"
 var $29=$4; //@line 191 "../src/h264bsd_slice_group_map.c"
 var $30=($29|0)!=0; //@line 191 "../src/h264bsd_slice_group_map.c"
 if($30){var $34=1;label=10;break;}else{label=9;break;} //@line 191 "../src/h264bsd_slice_group_map.c"
 case 9: 
 ___assert_fail(6944,11256,191,16376); //@line 191 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 191 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 191 "../src/h264bsd_slice_group_map.c"
 case 10: 
 var $34;
 var $35=($34&1); //@line 191 "../src/h264bsd_slice_group_map.c"
 var $36=$3; //@line 193 "../src/h264bsd_slice_group_map.c"
 var $37=$4; //@line 193 "../src/h264bsd_slice_group_map.c"
 var $38=(Math_imul($36,$37)|0); //@line 193 "../src/h264bsd_slice_group_map.c"
 $picSize=$38; //@line 193 "../src/h264bsd_slice_group_map.c"
 $i=0; //@line 195 "../src/h264bsd_slice_group_map.c"
 label=11;break; //@line 195 "../src/h264bsd_slice_group_map.c"
 case 11: 
 var $40=$i; //@line 195 "../src/h264bsd_slice_group_map.c"
 var $41=$picSize; //@line 195 "../src/h264bsd_slice_group_map.c"
 var $42=($40>>>0)<($41>>>0); //@line 195 "../src/h264bsd_slice_group_map.c"
 if($42){label=12;break;}else{label=14;break;} //@line 195 "../src/h264bsd_slice_group_map.c"
 case 12: 
 var $44=$i; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $45=$3; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $46=(((($44>>>0))%(($45>>>0)))&-1); //@line 196 "../src/h264bsd_slice_group_map.c"
 var $47=$i; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $48=$3; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $49=(((($47>>>0))/(($48>>>0)))&-1); //@line 196 "../src/h264bsd_slice_group_map.c"
 var $50=$2; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $51=(Math_imul($49,$50)|0); //@line 196 "../src/h264bsd_slice_group_map.c"
 var $52=$51>>>1; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $53=((($46)+($52))|0); //@line 196 "../src/h264bsd_slice_group_map.c"
 var $54=$2; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $55=(((($53>>>0))%(($54>>>0)))&-1); //@line 196 "../src/h264bsd_slice_group_map.c"
 var $56=$i; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $57=$1; //@line 196 "../src/h264bsd_slice_group_map.c"
 var $58=(($57+($56<<2))|0); //@line 196 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($58)>>2)]=$55; //@line 196 "../src/h264bsd_slice_group_map.c"
 label=13;break; //@line 196 "../src/h264bsd_slice_group_map.c"
 case 13: 
 var $60=$i; //@line 195 "../src/h264bsd_slice_group_map.c"
 var $61=((($60)+(1))|0); //@line 195 "../src/h264bsd_slice_group_map.c"
 $i=$61; //@line 195 "../src/h264bsd_slice_group_map.c"
 label=11;break; //@line 195 "../src/h264bsd_slice_group_map.c"
 case 14: 
 STACKTOP=sp;return; //@line 200 "../src/h264bsd_slice_group_map.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeForegroundLeftOverMap($map,$numSliceGroups,$topLeft,$bottomRight,$picWidth,$picHeight){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $i;
 var $y;
 var $x;
 var $yTopLeft;
 var $yBottomRight;
 var $xTopLeft;
 var $xBottomRight;
 var $picSize;
 var $group;
 $1=$map;
 $2=$numSliceGroups;
 $3=$topLeft;
 $4=$bottomRight;
 $5=$picWidth;
 $6=$picHeight;
 var $7=$1; //@line 242 "../src/h264bsd_slice_group_map.c"
 var $8=($7|0)!=0; //@line 242 "../src/h264bsd_slice_group_map.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 242 "../src/h264bsd_slice_group_map.c"
 case 2: 
 ___assert_fail(8072,11256,242,16344); //@line 242 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 242 "../src/h264bsd_slice_group_map.c"
 label=3;break; //@line 242 "../src/h264bsd_slice_group_map.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 242 "../src/h264bsd_slice_group_map.c"
 var $14=$2; //@line 243 "../src/h264bsd_slice_group_map.c"
 var $15=($14>>>0)>=1; //@line 243 "../src/h264bsd_slice_group_map.c"
 if($15){label=4;break;}else{label=5;break;} //@line 243 "../src/h264bsd_slice_group_map.c"
 case 4: 
 var $17=$2; //@line 243 "../src/h264bsd_slice_group_map.c"
 var $18=($17>>>0)<=8; //@line 243 "../src/h264bsd_slice_group_map.c"
 if($18){var $22=1;label=6;break;}else{label=5;break;} //@line 243 "../src/h264bsd_slice_group_map.c"
 case 5: 
 ___assert_fail(11080,11256,243,16344); //@line 243 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 243 "../src/h264bsd_slice_group_map.c"
 label=6;break; //@line 243 "../src/h264bsd_slice_group_map.c"
 case 6: 
 var $22;
 var $23=($22&1); //@line 243 "../src/h264bsd_slice_group_map.c"
 var $24=$3; //@line 244 "../src/h264bsd_slice_group_map.c"
 var $25=($24|0)!=0; //@line 244 "../src/h264bsd_slice_group_map.c"
 if($25){var $29=1;label=8;break;}else{label=7;break;} //@line 244 "../src/h264bsd_slice_group_map.c"
 case 7: 
 ___assert_fail(10600,11256,244,16344); //@line 244 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 244 "../src/h264bsd_slice_group_map.c"
 label=8;break; //@line 244 "../src/h264bsd_slice_group_map.c"
 case 8: 
 var $29;
 var $30=($29&1); //@line 244 "../src/h264bsd_slice_group_map.c"
 var $31=$4; //@line 245 "../src/h264bsd_slice_group_map.c"
 var $32=($31|0)!=0; //@line 245 "../src/h264bsd_slice_group_map.c"
 if($32){var $36=1;label=10;break;}else{label=9;break;} //@line 245 "../src/h264bsd_slice_group_map.c"
 case 9: 
 ___assert_fail(10288,11256,245,16344); //@line 245 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 245 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 245 "../src/h264bsd_slice_group_map.c"
 case 10: 
 var $36;
 var $37=($36&1); //@line 245 "../src/h264bsd_slice_group_map.c"
 var $38=$5; //@line 246 "../src/h264bsd_slice_group_map.c"
 var $39=($38|0)!=0; //@line 246 "../src/h264bsd_slice_group_map.c"
 if($39){var $43=1;label=12;break;}else{label=11;break;} //@line 246 "../src/h264bsd_slice_group_map.c"
 case 11: 
 ___assert_fail(7888,11256,246,16344); //@line 246 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 246 "../src/h264bsd_slice_group_map.c"
 label=12;break; //@line 246 "../src/h264bsd_slice_group_map.c"
 case 12: 
 var $43;
 var $44=($43&1); //@line 246 "../src/h264bsd_slice_group_map.c"
 var $45=$6; //@line 247 "../src/h264bsd_slice_group_map.c"
 var $46=($45|0)!=0; //@line 247 "../src/h264bsd_slice_group_map.c"
 if($46){var $50=1;label=14;break;}else{label=13;break;} //@line 247 "../src/h264bsd_slice_group_map.c"
 case 13: 
 ___assert_fail(6944,11256,247,16344); //@line 247 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 247 "../src/h264bsd_slice_group_map.c"
 label=14;break; //@line 247 "../src/h264bsd_slice_group_map.c"
 case 14: 
 var $50;
 var $51=($50&1); //@line 247 "../src/h264bsd_slice_group_map.c"
 var $52=$5; //@line 249 "../src/h264bsd_slice_group_map.c"
 var $53=$6; //@line 249 "../src/h264bsd_slice_group_map.c"
 var $54=(Math_imul($52,$53)|0); //@line 249 "../src/h264bsd_slice_group_map.c"
 $picSize=$54; //@line 249 "../src/h264bsd_slice_group_map.c"
 $i=0; //@line 251 "../src/h264bsd_slice_group_map.c"
 label=15;break; //@line 251 "../src/h264bsd_slice_group_map.c"
 case 15: 
 var $56=$i; //@line 251 "../src/h264bsd_slice_group_map.c"
 var $57=$picSize; //@line 251 "../src/h264bsd_slice_group_map.c"
 var $58=($56>>>0)<($57>>>0); //@line 251 "../src/h264bsd_slice_group_map.c"
 if($58){label=16;break;}else{label=18;break;} //@line 251 "../src/h264bsd_slice_group_map.c"
 case 16: 
 var $60=$2; //@line 252 "../src/h264bsd_slice_group_map.c"
 var $61=((($60)-(1))|0); //@line 252 "../src/h264bsd_slice_group_map.c"
 var $62=$i; //@line 252 "../src/h264bsd_slice_group_map.c"
 var $63=$1; //@line 252 "../src/h264bsd_slice_group_map.c"
 var $64=(($63+($62<<2))|0); //@line 252 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($64)>>2)]=$61; //@line 252 "../src/h264bsd_slice_group_map.c"
 label=17;break; //@line 252 "../src/h264bsd_slice_group_map.c"
 case 17: 
 var $66=$i; //@line 251 "../src/h264bsd_slice_group_map.c"
 var $67=((($66)+(1))|0); //@line 251 "../src/h264bsd_slice_group_map.c"
 $i=$67; //@line 251 "../src/h264bsd_slice_group_map.c"
 label=15;break; //@line 251 "../src/h264bsd_slice_group_map.c"
 case 18: 
 var $69=$2; //@line 254 "../src/h264bsd_slice_group_map.c"
 var $70=((($69)-(1))|0); //@line 254 "../src/h264bsd_slice_group_map.c"
 $group=$70; //@line 254 "../src/h264bsd_slice_group_map.c"
 label=19;break; //@line 254 "../src/h264bsd_slice_group_map.c"
 case 19: 
 var $72=$group; //@line 254 "../src/h264bsd_slice_group_map.c"
 var $73=((($72)-(1))|0); //@line 254 "../src/h264bsd_slice_group_map.c"
 $group=$73; //@line 254 "../src/h264bsd_slice_group_map.c"
 var $74=($72|0)!=0; //@line 254 "../src/h264bsd_slice_group_map.c"
 if($74){label=20;break;}else{label=34;break;} //@line 254 "../src/h264bsd_slice_group_map.c"
 case 20: 
 var $76=$group; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $77=$3; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $78=(($77+($76<<2))|0); //@line 256 "../src/h264bsd_slice_group_map.c"
 var $79=HEAP32[(($78)>>2)]; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $80=$group; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $81=$4; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $82=(($81+($80<<2))|0); //@line 256 "../src/h264bsd_slice_group_map.c"
 var $83=HEAP32[(($82)>>2)]; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $84=($79>>>0)<=($83>>>0); //@line 256 "../src/h264bsd_slice_group_map.c"
 if($84){label=21;break;}else{label=22;break;} //@line 256 "../src/h264bsd_slice_group_map.c"
 case 21: 
 var $86=$group; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $87=$4; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $88=(($87+($86<<2))|0); //@line 256 "../src/h264bsd_slice_group_map.c"
 var $89=HEAP32[(($88)>>2)]; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $90=$picSize; //@line 256 "../src/h264bsd_slice_group_map.c"
 var $91=($89>>>0)<($90>>>0); //@line 256 "../src/h264bsd_slice_group_map.c"
 if($91){var $95=1;label=23;break;}else{label=22;break;} //@line 256 "../src/h264bsd_slice_group_map.c"
 case 22: 
 ___assert_fail(10040,11256,257,16344); //@line 256 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 256 "../src/h264bsd_slice_group_map.c"
 label=23;break; //@line 256 "../src/h264bsd_slice_group_map.c"
 case 23: 
 var $95;
 var $96=($95&1); //@line 256 "../src/h264bsd_slice_group_map.c"
 var $97=$group; //@line 258 "../src/h264bsd_slice_group_map.c"
 var $98=$3; //@line 258 "../src/h264bsd_slice_group_map.c"
 var $99=(($98+($97<<2))|0); //@line 258 "../src/h264bsd_slice_group_map.c"
 var $100=HEAP32[(($99)>>2)]; //@line 258 "../src/h264bsd_slice_group_map.c"
 var $101=$5; //@line 258 "../src/h264bsd_slice_group_map.c"
 var $102=(((($100>>>0))/(($101>>>0)))&-1); //@line 258 "../src/h264bsd_slice_group_map.c"
 $yTopLeft=$102; //@line 258 "../src/h264bsd_slice_group_map.c"
 var $103=$group; //@line 259 "../src/h264bsd_slice_group_map.c"
 var $104=$3; //@line 259 "../src/h264bsd_slice_group_map.c"
 var $105=(($104+($103<<2))|0); //@line 259 "../src/h264bsd_slice_group_map.c"
 var $106=HEAP32[(($105)>>2)]; //@line 259 "../src/h264bsd_slice_group_map.c"
 var $107=$5; //@line 259 "../src/h264bsd_slice_group_map.c"
 var $108=(((($106>>>0))%(($107>>>0)))&-1); //@line 259 "../src/h264bsd_slice_group_map.c"
 $xTopLeft=$108; //@line 259 "../src/h264bsd_slice_group_map.c"
 var $109=$group; //@line 260 "../src/h264bsd_slice_group_map.c"
 var $110=$4; //@line 260 "../src/h264bsd_slice_group_map.c"
 var $111=(($110+($109<<2))|0); //@line 260 "../src/h264bsd_slice_group_map.c"
 var $112=HEAP32[(($111)>>2)]; //@line 260 "../src/h264bsd_slice_group_map.c"
 var $113=$5; //@line 260 "../src/h264bsd_slice_group_map.c"
 var $114=(((($112>>>0))/(($113>>>0)))&-1); //@line 260 "../src/h264bsd_slice_group_map.c"
 $yBottomRight=$114; //@line 260 "../src/h264bsd_slice_group_map.c"
 var $115=$group; //@line 261 "../src/h264bsd_slice_group_map.c"
 var $116=$4; //@line 261 "../src/h264bsd_slice_group_map.c"
 var $117=(($116+($115<<2))|0); //@line 261 "../src/h264bsd_slice_group_map.c"
 var $118=HEAP32[(($117)>>2)]; //@line 261 "../src/h264bsd_slice_group_map.c"
 var $119=$5; //@line 261 "../src/h264bsd_slice_group_map.c"
 var $120=(((($118>>>0))%(($119>>>0)))&-1); //@line 261 "../src/h264bsd_slice_group_map.c"
 $xBottomRight=$120; //@line 261 "../src/h264bsd_slice_group_map.c"
 var $121=$xTopLeft; //@line 262 "../src/h264bsd_slice_group_map.c"
 var $122=$xBottomRight; //@line 262 "../src/h264bsd_slice_group_map.c"
 var $123=($121>>>0)<=($122>>>0); //@line 262 "../src/h264bsd_slice_group_map.c"
 if($123){var $127=1;label=25;break;}else{label=24;break;} //@line 262 "../src/h264bsd_slice_group_map.c"
 case 24: 
 ___assert_fail(9832,11256,262,16344); //@line 262 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 262 "../src/h264bsd_slice_group_map.c"
 label=25;break; //@line 262 "../src/h264bsd_slice_group_map.c"
 case 25: 
 var $127;
 var $128=($127&1); //@line 262 "../src/h264bsd_slice_group_map.c"
 var $129=$yTopLeft; //@line 264 "../src/h264bsd_slice_group_map.c"
 $y=$129; //@line 264 "../src/h264bsd_slice_group_map.c"
 label=26;break; //@line 264 "../src/h264bsd_slice_group_map.c"
 case 26: 
 var $131=$y; //@line 264 "../src/h264bsd_slice_group_map.c"
 var $132=$yBottomRight; //@line 264 "../src/h264bsd_slice_group_map.c"
 var $133=($131>>>0)<=($132>>>0); //@line 264 "../src/h264bsd_slice_group_map.c"
 if($133){label=27;break;}else{label=33;break;} //@line 264 "../src/h264bsd_slice_group_map.c"
 case 27: 
 var $135=$xTopLeft; //@line 265 "../src/h264bsd_slice_group_map.c"
 $x=$135; //@line 265 "../src/h264bsd_slice_group_map.c"
 label=28;break; //@line 265 "../src/h264bsd_slice_group_map.c"
 case 28: 
 var $137=$x; //@line 265 "../src/h264bsd_slice_group_map.c"
 var $138=$xBottomRight; //@line 265 "../src/h264bsd_slice_group_map.c"
 var $139=($137>>>0)<=($138>>>0); //@line 265 "../src/h264bsd_slice_group_map.c"
 if($139){label=29;break;}else{label=31;break;} //@line 265 "../src/h264bsd_slice_group_map.c"
 case 29: 
 var $141=$group; //@line 266 "../src/h264bsd_slice_group_map.c"
 var $142=$y; //@line 266 "../src/h264bsd_slice_group_map.c"
 var $143=$5; //@line 266 "../src/h264bsd_slice_group_map.c"
 var $144=(Math_imul($142,$143)|0); //@line 266 "../src/h264bsd_slice_group_map.c"
 var $145=$x; //@line 266 "../src/h264bsd_slice_group_map.c"
 var $146=((($144)+($145))|0); //@line 266 "../src/h264bsd_slice_group_map.c"
 var $147=$1; //@line 266 "../src/h264bsd_slice_group_map.c"
 var $148=(($147+($146<<2))|0); //@line 266 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($148)>>2)]=$141; //@line 266 "../src/h264bsd_slice_group_map.c"
 label=30;break; //@line 266 "../src/h264bsd_slice_group_map.c"
 case 30: 
 var $150=$x; //@line 265 "../src/h264bsd_slice_group_map.c"
 var $151=((($150)+(1))|0); //@line 265 "../src/h264bsd_slice_group_map.c"
 $x=$151; //@line 265 "../src/h264bsd_slice_group_map.c"
 label=28;break; //@line 265 "../src/h264bsd_slice_group_map.c"
 case 31: 
 label=32;break; //@line 266 "../src/h264bsd_slice_group_map.c"
 case 32: 
 var $154=$y; //@line 264 "../src/h264bsd_slice_group_map.c"
 var $155=((($154)+(1))|0); //@line 264 "../src/h264bsd_slice_group_map.c"
 $y=$155; //@line 264 "../src/h264bsd_slice_group_map.c"
 label=26;break; //@line 264 "../src/h264bsd_slice_group_map.c"
 case 33: 
 label=19;break; //@line 267 "../src/h264bsd_slice_group_map.c"
 case 34: 
 STACKTOP=sp;return; //@line 270 "../src/h264bsd_slice_group_map.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeBoxOutMap($map,$sliceGroupChangeDirectionFlag,$unitsInSliceGroup0,$picWidth,$picHeight){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $k;
 var $picSize;
 var $x;
 var $y;
 var $xDir;
 var $yDir;
 var $leftBound;
 var $topBound;
 var $rightBound;
 var $bottomBound;
 var $mapUnitVacant;
 $1=$map;
 $2=$sliceGroupChangeDirectionFlag;
 $3=$unitsInSliceGroup0;
 $4=$picWidth;
 $5=$picHeight;
 var $6=$1; //@line 311 "../src/h264bsd_slice_group_map.c"
 var $7=($6|0)!=0; //@line 311 "../src/h264bsd_slice_group_map.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 311 "../src/h264bsd_slice_group_map.c"
 case 2: 
 ___assert_fail(8072,11256,311,16424); //@line 311 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 311 "../src/h264bsd_slice_group_map.c"
 label=3;break; //@line 311 "../src/h264bsd_slice_group_map.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 311 "../src/h264bsd_slice_group_map.c"
 var $13=$4; //@line 312 "../src/h264bsd_slice_group_map.c"
 var $14=($13|0)!=0; //@line 312 "../src/h264bsd_slice_group_map.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 312 "../src/h264bsd_slice_group_map.c"
 case 4: 
 ___assert_fail(7888,11256,312,16424); //@line 312 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 312 "../src/h264bsd_slice_group_map.c"
 label=5;break; //@line 312 "../src/h264bsd_slice_group_map.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 312 "../src/h264bsd_slice_group_map.c"
 var $20=$5; //@line 313 "../src/h264bsd_slice_group_map.c"
 var $21=($20|0)!=0; //@line 313 "../src/h264bsd_slice_group_map.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 313 "../src/h264bsd_slice_group_map.c"
 case 6: 
 ___assert_fail(6944,11256,313,16424); //@line 313 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 313 "../src/h264bsd_slice_group_map.c"
 label=7;break; //@line 313 "../src/h264bsd_slice_group_map.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 313 "../src/h264bsd_slice_group_map.c"
 var $27=$4; //@line 315 "../src/h264bsd_slice_group_map.c"
 var $28=$5; //@line 315 "../src/h264bsd_slice_group_map.c"
 var $29=(Math_imul($27,$28)|0); //@line 315 "../src/h264bsd_slice_group_map.c"
 $picSize=$29; //@line 315 "../src/h264bsd_slice_group_map.c"
 var $30=$3; //@line 316 "../src/h264bsd_slice_group_map.c"
 var $31=$picSize; //@line 316 "../src/h264bsd_slice_group_map.c"
 var $32=($30>>>0)<=($31>>>0); //@line 316 "../src/h264bsd_slice_group_map.c"
 if($32){var $36=1;label=9;break;}else{label=8;break;} //@line 316 "../src/h264bsd_slice_group_map.c"
 case 8: 
 ___assert_fail(11496,11256,316,16424); //@line 316 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 316 "../src/h264bsd_slice_group_map.c"
 label=9;break; //@line 316 "../src/h264bsd_slice_group_map.c"
 case 9: 
 var $36;
 var $37=($36&1); //@line 316 "../src/h264bsd_slice_group_map.c"
 $i=0; //@line 318 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 318 "../src/h264bsd_slice_group_map.c"
 case 10: 
 var $39=$i; //@line 318 "../src/h264bsd_slice_group_map.c"
 var $40=$picSize; //@line 318 "../src/h264bsd_slice_group_map.c"
 var $41=($39>>>0)<($40>>>0); //@line 318 "../src/h264bsd_slice_group_map.c"
 if($41){label=11;break;}else{label=13;break;} //@line 318 "../src/h264bsd_slice_group_map.c"
 case 11: 
 var $43=$i; //@line 319 "../src/h264bsd_slice_group_map.c"
 var $44=$1; //@line 319 "../src/h264bsd_slice_group_map.c"
 var $45=(($44+($43<<2))|0); //@line 319 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($45)>>2)]=1; //@line 319 "../src/h264bsd_slice_group_map.c"
 label=12;break; //@line 319 "../src/h264bsd_slice_group_map.c"
 case 12: 
 var $47=$i; //@line 318 "../src/h264bsd_slice_group_map.c"
 var $48=((($47)+(1))|0); //@line 318 "../src/h264bsd_slice_group_map.c"
 $i=$48; //@line 318 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 318 "../src/h264bsd_slice_group_map.c"
 case 13: 
 var $50=$4; //@line 321 "../src/h264bsd_slice_group_map.c"
 var $51=$2; //@line 321 "../src/h264bsd_slice_group_map.c"
 var $52=((($50)-($51))|0); //@line 321 "../src/h264bsd_slice_group_map.c"
 var $53=$52>>>1; //@line 321 "../src/h264bsd_slice_group_map.c"
 $x=$53; //@line 321 "../src/h264bsd_slice_group_map.c"
 var $54=$5; //@line 322 "../src/h264bsd_slice_group_map.c"
 var $55=$2; //@line 322 "../src/h264bsd_slice_group_map.c"
 var $56=((($54)-($55))|0); //@line 322 "../src/h264bsd_slice_group_map.c"
 var $57=$56>>>1; //@line 322 "../src/h264bsd_slice_group_map.c"
 $y=$57; //@line 322 "../src/h264bsd_slice_group_map.c"
 var $58=$x; //@line 324 "../src/h264bsd_slice_group_map.c"
 $leftBound=$58; //@line 324 "../src/h264bsd_slice_group_map.c"
 var $59=$y; //@line 325 "../src/h264bsd_slice_group_map.c"
 $topBound=$59; //@line 325 "../src/h264bsd_slice_group_map.c"
 var $60=$x; //@line 327 "../src/h264bsd_slice_group_map.c"
 $rightBound=$60; //@line 327 "../src/h264bsd_slice_group_map.c"
 var $61=$y; //@line 328 "../src/h264bsd_slice_group_map.c"
 $bottomBound=$61; //@line 328 "../src/h264bsd_slice_group_map.c"
 var $62=$2; //@line 330 "../src/h264bsd_slice_group_map.c"
 var $63=((($62)-(1))|0); //@line 330 "../src/h264bsd_slice_group_map.c"
 $xDir=$63; //@line 330 "../src/h264bsd_slice_group_map.c"
 var $64=$2; //@line 331 "../src/h264bsd_slice_group_map.c"
 $yDir=$64; //@line 331 "../src/h264bsd_slice_group_map.c"
 $k=0; //@line 333 "../src/h264bsd_slice_group_map.c"
 label=14;break; //@line 333 "../src/h264bsd_slice_group_map.c"
 case 14: 
 var $66=$k; //@line 333 "../src/h264bsd_slice_group_map.c"
 var $67=$3; //@line 333 "../src/h264bsd_slice_group_map.c"
 var $68=($66>>>0)<($67>>>0); //@line 333 "../src/h264bsd_slice_group_map.c"
 if($68){label=15;break;}else{label=47;break;} //@line 333 "../src/h264bsd_slice_group_map.c"
 case 15: 
 var $70=$y; //@line 335 "../src/h264bsd_slice_group_map.c"
 var $71=$4; //@line 335 "../src/h264bsd_slice_group_map.c"
 var $72=(Math_imul($70,$71)|0); //@line 335 "../src/h264bsd_slice_group_map.c"
 var $73=$x; //@line 335 "../src/h264bsd_slice_group_map.c"
 var $74=((($72)+($73))|0); //@line 335 "../src/h264bsd_slice_group_map.c"
 var $75=$1; //@line 335 "../src/h264bsd_slice_group_map.c"
 var $76=(($75+($74<<2))|0); //@line 335 "../src/h264bsd_slice_group_map.c"
 var $77=HEAP32[(($76)>>2)]; //@line 335 "../src/h264bsd_slice_group_map.c"
 var $78=($77|0)==1; //@line 335 "../src/h264bsd_slice_group_map.c"
 var $79=($78?1:0); //@line 335 "../src/h264bsd_slice_group_map.c"
 $mapUnitVacant=$79; //@line 335 "../src/h264bsd_slice_group_map.c"
 var $80=$mapUnitVacant; //@line 338 "../src/h264bsd_slice_group_map.c"
 var $81=($80|0)!=0; //@line 338 "../src/h264bsd_slice_group_map.c"
 if($81){label=16;break;}else{label=17;break;} //@line 338 "../src/h264bsd_slice_group_map.c"
 case 16: 
 var $83=$y; //@line 339 "../src/h264bsd_slice_group_map.c"
 var $84=$4; //@line 339 "../src/h264bsd_slice_group_map.c"
 var $85=(Math_imul($83,$84)|0); //@line 339 "../src/h264bsd_slice_group_map.c"
 var $86=$x; //@line 339 "../src/h264bsd_slice_group_map.c"
 var $87=((($85)+($86))|0); //@line 339 "../src/h264bsd_slice_group_map.c"
 var $88=$1; //@line 339 "../src/h264bsd_slice_group_map.c"
 var $89=(($88+($87<<2))|0); //@line 339 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($89)>>2)]=0; //@line 339 "../src/h264bsd_slice_group_map.c"
 label=17;break; //@line 339 "../src/h264bsd_slice_group_map.c"
 case 17: 
 var $91=$xDir; //@line 341 "../src/h264bsd_slice_group_map.c"
 var $92=($91|0)==-1; //@line 341 "../src/h264bsd_slice_group_map.c"
 if($92){label=18;break;}else{label=23;break;} //@line 341 "../src/h264bsd_slice_group_map.c"
 case 18: 
 var $94=$x; //@line 341 "../src/h264bsd_slice_group_map.c"
 var $95=$leftBound; //@line 341 "../src/h264bsd_slice_group_map.c"
 var $96=($94|0)==($95|0); //@line 341 "../src/h264bsd_slice_group_map.c"
 if($96){label=19;break;}else{label=23;break;} //@line 341 "../src/h264bsd_slice_group_map.c"
 case 19: 
 var $98=$leftBound; //@line 343 "../src/h264bsd_slice_group_map.c"
 var $99=((($98)-(1))|0); //@line 343 "../src/h264bsd_slice_group_map.c"
 var $100=($99|0)>0; //@line 343 "../src/h264bsd_slice_group_map.c"
 if($100){label=20;break;}else{label=21;break;} //@line 343 "../src/h264bsd_slice_group_map.c"
 case 20: 
 var $102=$leftBound; //@line 343 "../src/h264bsd_slice_group_map.c"
 var $103=((($102)-(1))|0); //@line 343 "../src/h264bsd_slice_group_map.c"
 var $106=$103;label=22;break; //@line 343 "../src/h264bsd_slice_group_map.c"
 case 21: 
 var $106=0;label=22;break; //@line 343 "../src/h264bsd_slice_group_map.c"
 case 22: 
 var $106; //@line 343 "../src/h264bsd_slice_group_map.c"
 $leftBound=$106; //@line 343 "../src/h264bsd_slice_group_map.c"
 var $107=$leftBound; //@line 344 "../src/h264bsd_slice_group_map.c"
 $x=$107; //@line 344 "../src/h264bsd_slice_group_map.c"
 $xDir=0; //@line 345 "../src/h264bsd_slice_group_map.c"
 var $108=$2; //@line 346 "../src/h264bsd_slice_group_map.c"
 var $109=($108<<1); //@line 346 "../src/h264bsd_slice_group_map.c"
 var $110=((($109)-(1))|0); //@line 346 "../src/h264bsd_slice_group_map.c"
 $yDir=$110; //@line 346 "../src/h264bsd_slice_group_map.c"
 label=45;break; //@line 347 "../src/h264bsd_slice_group_map.c"
 case 23: 
 var $112=$xDir; //@line 348 "../src/h264bsd_slice_group_map.c"
 var $113=($112|0)==1; //@line 348 "../src/h264bsd_slice_group_map.c"
 if($113){label=24;break;}else{label=29;break;} //@line 348 "../src/h264bsd_slice_group_map.c"
 case 24: 
 var $115=$x; //@line 348 "../src/h264bsd_slice_group_map.c"
 var $116=$rightBound; //@line 348 "../src/h264bsd_slice_group_map.c"
 var $117=($115|0)==($116|0); //@line 348 "../src/h264bsd_slice_group_map.c"
 if($117){label=25;break;}else{label=29;break;} //@line 348 "../src/h264bsd_slice_group_map.c"
 case 25: 
 var $119=$rightBound; //@line 350 "../src/h264bsd_slice_group_map.c"
 var $120=((($119)+(1))|0); //@line 350 "../src/h264bsd_slice_group_map.c"
 var $121=$4; //@line 350 "../src/h264bsd_slice_group_map.c"
 var $122=((($121)-(1))|0); //@line 350 "../src/h264bsd_slice_group_map.c"
 var $123=($120|0)<($122|0); //@line 350 "../src/h264bsd_slice_group_map.c"
 if($123){label=26;break;}else{label=27;break;} //@line 350 "../src/h264bsd_slice_group_map.c"
 case 26: 
 var $125=$rightBound; //@line 350 "../src/h264bsd_slice_group_map.c"
 var $126=((($125)+(1))|0); //@line 350 "../src/h264bsd_slice_group_map.c"
 var $131=$126;label=28;break; //@line 350 "../src/h264bsd_slice_group_map.c"
 case 27: 
 var $128=$4; //@line 350 "../src/h264bsd_slice_group_map.c"
 var $129=((($128)-(1))|0); //@line 350 "../src/h264bsd_slice_group_map.c"
 var $131=$129;label=28;break; //@line 350 "../src/h264bsd_slice_group_map.c"
 case 28: 
 var $131; //@line 350 "../src/h264bsd_slice_group_map.c"
 $rightBound=$131; //@line 350 "../src/h264bsd_slice_group_map.c"
 var $132=$rightBound; //@line 351 "../src/h264bsd_slice_group_map.c"
 $x=$132; //@line 351 "../src/h264bsd_slice_group_map.c"
 $xDir=0; //@line 352 "../src/h264bsd_slice_group_map.c"
 var $133=$2; //@line 353 "../src/h264bsd_slice_group_map.c"
 var $134=($133<<1); //@line 353 "../src/h264bsd_slice_group_map.c"
 var $135=(((1)-($134))|0); //@line 353 "../src/h264bsd_slice_group_map.c"
 $yDir=$135; //@line 353 "../src/h264bsd_slice_group_map.c"
 label=44;break; //@line 354 "../src/h264bsd_slice_group_map.c"
 case 29: 
 var $137=$yDir; //@line 355 "../src/h264bsd_slice_group_map.c"
 var $138=($137|0)==-1; //@line 355 "../src/h264bsd_slice_group_map.c"
 if($138){label=30;break;}else{label=35;break;} //@line 355 "../src/h264bsd_slice_group_map.c"
 case 30: 
 var $140=$y; //@line 355 "../src/h264bsd_slice_group_map.c"
 var $141=$topBound; //@line 355 "../src/h264bsd_slice_group_map.c"
 var $142=($140|0)==($141|0); //@line 355 "../src/h264bsd_slice_group_map.c"
 if($142){label=31;break;}else{label=35;break;} //@line 355 "../src/h264bsd_slice_group_map.c"
 case 31: 
 var $144=$topBound; //@line 357 "../src/h264bsd_slice_group_map.c"
 var $145=((($144)-(1))|0); //@line 357 "../src/h264bsd_slice_group_map.c"
 var $146=($145|0)>0; //@line 357 "../src/h264bsd_slice_group_map.c"
 if($146){label=32;break;}else{label=33;break;} //@line 357 "../src/h264bsd_slice_group_map.c"
 case 32: 
 var $148=$topBound; //@line 357 "../src/h264bsd_slice_group_map.c"
 var $149=((($148)-(1))|0); //@line 357 "../src/h264bsd_slice_group_map.c"
 var $152=$149;label=34;break; //@line 357 "../src/h264bsd_slice_group_map.c"
 case 33: 
 var $152=0;label=34;break; //@line 357 "../src/h264bsd_slice_group_map.c"
 case 34: 
 var $152; //@line 357 "../src/h264bsd_slice_group_map.c"
 $topBound=$152; //@line 357 "../src/h264bsd_slice_group_map.c"
 var $153=$topBound; //@line 358 "../src/h264bsd_slice_group_map.c"
 $y=$153; //@line 358 "../src/h264bsd_slice_group_map.c"
 var $154=$2; //@line 359 "../src/h264bsd_slice_group_map.c"
 var $155=($154<<1); //@line 359 "../src/h264bsd_slice_group_map.c"
 var $156=(((1)-($155))|0); //@line 359 "../src/h264bsd_slice_group_map.c"
 $xDir=$156; //@line 359 "../src/h264bsd_slice_group_map.c"
 $yDir=0; //@line 360 "../src/h264bsd_slice_group_map.c"
 label=43;break; //@line 361 "../src/h264bsd_slice_group_map.c"
 case 35: 
 var $158=$yDir; //@line 362 "../src/h264bsd_slice_group_map.c"
 var $159=($158|0)==1; //@line 362 "../src/h264bsd_slice_group_map.c"
 if($159){label=36;break;}else{label=41;break;} //@line 362 "../src/h264bsd_slice_group_map.c"
 case 36: 
 var $161=$y; //@line 362 "../src/h264bsd_slice_group_map.c"
 var $162=$bottomBound; //@line 362 "../src/h264bsd_slice_group_map.c"
 var $163=($161|0)==($162|0); //@line 362 "../src/h264bsd_slice_group_map.c"
 if($163){label=37;break;}else{label=41;break;} //@line 362 "../src/h264bsd_slice_group_map.c"
 case 37: 
 var $165=$bottomBound; //@line 364 "../src/h264bsd_slice_group_map.c"
 var $166=((($165)+(1))|0); //@line 364 "../src/h264bsd_slice_group_map.c"
 var $167=$5; //@line 364 "../src/h264bsd_slice_group_map.c"
 var $168=((($167)-(1))|0); //@line 364 "../src/h264bsd_slice_group_map.c"
 var $169=($166|0)<($168|0); //@line 364 "../src/h264bsd_slice_group_map.c"
 if($169){label=38;break;}else{label=39;break;} //@line 364 "../src/h264bsd_slice_group_map.c"
 case 38: 
 var $171=$bottomBound; //@line 364 "../src/h264bsd_slice_group_map.c"
 var $172=((($171)+(1))|0); //@line 364 "../src/h264bsd_slice_group_map.c"
 var $177=$172;label=40;break; //@line 364 "../src/h264bsd_slice_group_map.c"
 case 39: 
 var $174=$5; //@line 364 "../src/h264bsd_slice_group_map.c"
 var $175=((($174)-(1))|0); //@line 364 "../src/h264bsd_slice_group_map.c"
 var $177=$175;label=40;break; //@line 364 "../src/h264bsd_slice_group_map.c"
 case 40: 
 var $177; //@line 364 "../src/h264bsd_slice_group_map.c"
 $bottomBound=$177; //@line 364 "../src/h264bsd_slice_group_map.c"
 var $178=$bottomBound; //@line 365 "../src/h264bsd_slice_group_map.c"
 $y=$178; //@line 365 "../src/h264bsd_slice_group_map.c"
 var $179=$2; //@line 366 "../src/h264bsd_slice_group_map.c"
 var $180=($179<<1); //@line 366 "../src/h264bsd_slice_group_map.c"
 var $181=((($180)-(1))|0); //@line 366 "../src/h264bsd_slice_group_map.c"
 $xDir=$181; //@line 366 "../src/h264bsd_slice_group_map.c"
 $yDir=0; //@line 367 "../src/h264bsd_slice_group_map.c"
 label=42;break; //@line 368 "../src/h264bsd_slice_group_map.c"
 case 41: 
 var $183=$xDir; //@line 371 "../src/h264bsd_slice_group_map.c"
 var $184=$x; //@line 371 "../src/h264bsd_slice_group_map.c"
 var $185=((($184)+($183))|0); //@line 371 "../src/h264bsd_slice_group_map.c"
 $x=$185; //@line 371 "../src/h264bsd_slice_group_map.c"
 var $186=$yDir; //@line 372 "../src/h264bsd_slice_group_map.c"
 var $187=$y; //@line 372 "../src/h264bsd_slice_group_map.c"
 var $188=((($187)+($186))|0); //@line 372 "../src/h264bsd_slice_group_map.c"
 $y=$188; //@line 372 "../src/h264bsd_slice_group_map.c"
 label=42;break;
 case 42: 
 label=43;break;
 case 43: 
 label=44;break;
 case 44: 
 label=45;break;
 case 45: 
 label=46;break; //@line 374 "../src/h264bsd_slice_group_map.c"
 case 46: 
 var $194=$mapUnitVacant; //@line 333 "../src/h264bsd_slice_group_map.c"
 var $195=($194|0)!=0; //@line 333 "../src/h264bsd_slice_group_map.c"
 var $196=($195?1:0); //@line 333 "../src/h264bsd_slice_group_map.c"
 var $197=$k; //@line 333 "../src/h264bsd_slice_group_map.c"
 var $198=((($197)+($196))|0); //@line 333 "../src/h264bsd_slice_group_map.c"
 $k=$198; //@line 333 "../src/h264bsd_slice_group_map.c"
 label=14;break; //@line 333 "../src/h264bsd_slice_group_map.c"
 case 47: 
 STACKTOP=sp;return; //@line 377 "../src/h264bsd_slice_group_map.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeRasterScanMap($map,$sliceGroupChangeDirectionFlag,$sizeOfUpperLeftGroup,$picSize){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $i;
 $1=$map;
 $2=$sliceGroupChangeDirectionFlag;
 $3=$sizeOfUpperLeftGroup;
 $4=$picSize;
 var $5=$1; //@line 414 "../src/h264bsd_slice_group_map.c"
 var $6=($5|0)!=0; //@line 414 "../src/h264bsd_slice_group_map.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 414 "../src/h264bsd_slice_group_map.c"
 case 2: 
 ___assert_fail(8072,11256,414,16256); //@line 414 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 414 "../src/h264bsd_slice_group_map.c"
 label=3;break; //@line 414 "../src/h264bsd_slice_group_map.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 414 "../src/h264bsd_slice_group_map.c"
 var $12=$4; //@line 415 "../src/h264bsd_slice_group_map.c"
 var $13=($12|0)!=0; //@line 415 "../src/h264bsd_slice_group_map.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 415 "../src/h264bsd_slice_group_map.c"
 case 4: 
 ___assert_fail(12320,11256,415,16256); //@line 415 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 415 "../src/h264bsd_slice_group_map.c"
 label=5;break; //@line 415 "../src/h264bsd_slice_group_map.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 415 "../src/h264bsd_slice_group_map.c"
 var $19=$3; //@line 416 "../src/h264bsd_slice_group_map.c"
 var $20=$4; //@line 416 "../src/h264bsd_slice_group_map.c"
 var $21=($19>>>0)<=($20>>>0); //@line 416 "../src/h264bsd_slice_group_map.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 416 "../src/h264bsd_slice_group_map.c"
 case 6: 
 ___assert_fail(11936,11256,416,16256); //@line 416 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 416 "../src/h264bsd_slice_group_map.c"
 label=7;break; //@line 416 "../src/h264bsd_slice_group_map.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 416 "../src/h264bsd_slice_group_map.c"
 $i=0; //@line 418 "../src/h264bsd_slice_group_map.c"
 label=8;break; //@line 418 "../src/h264bsd_slice_group_map.c"
 case 8: 
 var $28=$i; //@line 418 "../src/h264bsd_slice_group_map.c"
 var $29=$4; //@line 418 "../src/h264bsd_slice_group_map.c"
 var $30=($28>>>0)<($29>>>0); //@line 418 "../src/h264bsd_slice_group_map.c"
 if($30){label=9;break;}else{label=14;break;} //@line 418 "../src/h264bsd_slice_group_map.c"
 case 9: 
 var $32=$i; //@line 419 "../src/h264bsd_slice_group_map.c"
 var $33=$3; //@line 419 "../src/h264bsd_slice_group_map.c"
 var $34=($32>>>0)<($33>>>0); //@line 419 "../src/h264bsd_slice_group_map.c"
 if($34){label=10;break;}else{label=11;break;} //@line 419 "../src/h264bsd_slice_group_map.c"
 case 10: 
 var $36=$2; //@line 420 "../src/h264bsd_slice_group_map.c"
 var $37=$i; //@line 420 "../src/h264bsd_slice_group_map.c"
 var $38=$1; //@line 420 "../src/h264bsd_slice_group_map.c"
 var $39=(($38+($37<<2))|0); //@line 420 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($39)>>2)]=$36; //@line 420 "../src/h264bsd_slice_group_map.c"
 label=12;break; //@line 420 "../src/h264bsd_slice_group_map.c"
 case 11: 
 var $41=$2; //@line 422 "../src/h264bsd_slice_group_map.c"
 var $42=(((1)-($41))|0); //@line 422 "../src/h264bsd_slice_group_map.c"
 var $43=$i; //@line 422 "../src/h264bsd_slice_group_map.c"
 var $44=$1; //@line 422 "../src/h264bsd_slice_group_map.c"
 var $45=(($44+($43<<2))|0); //@line 422 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($45)>>2)]=$42; //@line 422 "../src/h264bsd_slice_group_map.c"
 label=12;break;
 case 12: 
 label=13;break;
 case 13: 
 var $48=$i; //@line 418 "../src/h264bsd_slice_group_map.c"
 var $49=((($48)+(1))|0); //@line 418 "../src/h264bsd_slice_group_map.c"
 $i=$49; //@line 418 "../src/h264bsd_slice_group_map.c"
 label=8;break; //@line 418 "../src/h264bsd_slice_group_map.c"
 case 14: 
 STACKTOP=sp;return; //@line 425 "../src/h264bsd_slice_group_map.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeWipeMap($map,$sliceGroupChangeDirectionFlag,$sizeOfUpperLeftGroup,$picWidth,$picHeight){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $i;
 var $j;
 var $k;
 $1=$map;
 $2=$sliceGroupChangeDirectionFlag;
 $3=$sizeOfUpperLeftGroup;
 $4=$picWidth;
 $5=$picHeight;
 var $6=$1; //@line 463 "../src/h264bsd_slice_group_map.c"
 var $7=($6|0)!=0; //@line 463 "../src/h264bsd_slice_group_map.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 463 "../src/h264bsd_slice_group_map.c"
 case 2: 
 ___assert_fail(8072,11256,463,16184); //@line 463 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 463 "../src/h264bsd_slice_group_map.c"
 label=3;break; //@line 463 "../src/h264bsd_slice_group_map.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 463 "../src/h264bsd_slice_group_map.c"
 var $13=$4; //@line 464 "../src/h264bsd_slice_group_map.c"
 var $14=($13|0)!=0; //@line 464 "../src/h264bsd_slice_group_map.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 464 "../src/h264bsd_slice_group_map.c"
 case 4: 
 ___assert_fail(7888,11256,464,16184); //@line 464 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 464 "../src/h264bsd_slice_group_map.c"
 label=5;break; //@line 464 "../src/h264bsd_slice_group_map.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 464 "../src/h264bsd_slice_group_map.c"
 var $20=$5; //@line 465 "../src/h264bsd_slice_group_map.c"
 var $21=($20|0)!=0; //@line 465 "../src/h264bsd_slice_group_map.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 465 "../src/h264bsd_slice_group_map.c"
 case 6: 
 ___assert_fail(6944,11256,465,16184); //@line 465 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 465 "../src/h264bsd_slice_group_map.c"
 label=7;break; //@line 465 "../src/h264bsd_slice_group_map.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 465 "../src/h264bsd_slice_group_map.c"
 var $27=$3; //@line 466 "../src/h264bsd_slice_group_map.c"
 var $28=$4; //@line 466 "../src/h264bsd_slice_group_map.c"
 var $29=$5; //@line 466 "../src/h264bsd_slice_group_map.c"
 var $30=(Math_imul($28,$29)|0); //@line 466 "../src/h264bsd_slice_group_map.c"
 var $31=($27>>>0)<=($30>>>0); //@line 466 "../src/h264bsd_slice_group_map.c"
 if($31){var $35=1;label=9;break;}else{label=8;break;} //@line 466 "../src/h264bsd_slice_group_map.c"
 case 8: 
 ___assert_fail(4496,11256,466,16184); //@line 466 "../src/h264bsd_slice_group_map.c"
 throw "Reached an unreachable!"; //@line 466 "../src/h264bsd_slice_group_map.c"
 label=9;break; //@line 466 "../src/h264bsd_slice_group_map.c"
 case 9: 
 var $35;
 var $36=($35&1); //@line 466 "../src/h264bsd_slice_group_map.c"
 $k=0; //@line 468 "../src/h264bsd_slice_group_map.c"
 $j=0; //@line 469 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 469 "../src/h264bsd_slice_group_map.c"
 case 10: 
 var $38=$j; //@line 469 "../src/h264bsd_slice_group_map.c"
 var $39=$4; //@line 469 "../src/h264bsd_slice_group_map.c"
 var $40=($38>>>0)<($39>>>0); //@line 469 "../src/h264bsd_slice_group_map.c"
 if($40){label=11;break;}else{label=20;break;} //@line 469 "../src/h264bsd_slice_group_map.c"
 case 11: 
 $i=0; //@line 470 "../src/h264bsd_slice_group_map.c"
 label=12;break; //@line 470 "../src/h264bsd_slice_group_map.c"
 case 12: 
 var $43=$i; //@line 470 "../src/h264bsd_slice_group_map.c"
 var $44=$5; //@line 470 "../src/h264bsd_slice_group_map.c"
 var $45=($43>>>0)<($44>>>0); //@line 470 "../src/h264bsd_slice_group_map.c"
 if($45){label=13;break;}else{label=18;break;} //@line 470 "../src/h264bsd_slice_group_map.c"
 case 13: 
 var $47=$k; //@line 471 "../src/h264bsd_slice_group_map.c"
 var $48=((($47)+(1))|0); //@line 471 "../src/h264bsd_slice_group_map.c"
 $k=$48; //@line 471 "../src/h264bsd_slice_group_map.c"
 var $49=$3; //@line 471 "../src/h264bsd_slice_group_map.c"
 var $50=($47>>>0)<($49>>>0); //@line 471 "../src/h264bsd_slice_group_map.c"
 if($50){label=14;break;}else{label=15;break;} //@line 471 "../src/h264bsd_slice_group_map.c"
 case 14: 
 var $52=$2; //@line 472 "../src/h264bsd_slice_group_map.c"
 var $53=$i; //@line 472 "../src/h264bsd_slice_group_map.c"
 var $54=$4; //@line 472 "../src/h264bsd_slice_group_map.c"
 var $55=(Math_imul($53,$54)|0); //@line 472 "../src/h264bsd_slice_group_map.c"
 var $56=$j; //@line 472 "../src/h264bsd_slice_group_map.c"
 var $57=((($55)+($56))|0); //@line 472 "../src/h264bsd_slice_group_map.c"
 var $58=$1; //@line 472 "../src/h264bsd_slice_group_map.c"
 var $59=(($58+($57<<2))|0); //@line 472 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($59)>>2)]=$52; //@line 472 "../src/h264bsd_slice_group_map.c"
 label=16;break; //@line 472 "../src/h264bsd_slice_group_map.c"
 case 15: 
 var $61=$2; //@line 474 "../src/h264bsd_slice_group_map.c"
 var $62=(((1)-($61))|0); //@line 474 "../src/h264bsd_slice_group_map.c"
 var $63=$i; //@line 474 "../src/h264bsd_slice_group_map.c"
 var $64=$4; //@line 474 "../src/h264bsd_slice_group_map.c"
 var $65=(Math_imul($63,$64)|0); //@line 474 "../src/h264bsd_slice_group_map.c"
 var $66=$j; //@line 474 "../src/h264bsd_slice_group_map.c"
 var $67=((($65)+($66))|0); //@line 474 "../src/h264bsd_slice_group_map.c"
 var $68=$1; //@line 474 "../src/h264bsd_slice_group_map.c"
 var $69=(($68+($67<<2))|0); //@line 474 "../src/h264bsd_slice_group_map.c"
 HEAP32[(($69)>>2)]=$62; //@line 474 "../src/h264bsd_slice_group_map.c"
 label=16;break;
 case 16: 
 label=17;break;
 case 17: 
 var $72=$i; //@line 470 "../src/h264bsd_slice_group_map.c"
 var $73=((($72)+(1))|0); //@line 470 "../src/h264bsd_slice_group_map.c"
 $i=$73; //@line 470 "../src/h264bsd_slice_group_map.c"
 label=12;break; //@line 470 "../src/h264bsd_slice_group_map.c"
 case 18: 
 label=19;break; //@line 475 "../src/h264bsd_slice_group_map.c"
 case 19: 
 var $76=$j; //@line 469 "../src/h264bsd_slice_group_map.c"
 var $77=((($76)+(1))|0); //@line 469 "../src/h264bsd_slice_group_map.c"
 $j=$77; //@line 469 "../src/h264bsd_slice_group_map.c"
 label=10;break; //@line 469 "../src/h264bsd_slice_group_map.c"
 case 20: 
 STACKTOP=sp;return; //@line 478 "../src/h264bsd_slice_group_map.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeSliceHeader($pStrmData,$pSliceHeader,$pSeqParamSet,$pPicParamSet,$pNalUnit){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+16)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $tmp;
 var $i;
 var $value=sp;
 var $itmp=(sp)+(8);
 var $picSizeInMbs;
 $2=$pStrmData;
 $3=$pSliceHeader;
 $4=$pSeqParamSet;
 $5=$pPicParamSet;
 $6=$pNalUnit;
 var $7=$2; //@line 109 "../src/h264bsd_slice_header.c"
 var $8=($7|0)!=0; //@line 109 "../src/h264bsd_slice_header.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 109 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,109,14104); //@line 109 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 109 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 109 "../src/h264bsd_slice_header.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 109 "../src/h264bsd_slice_header.c"
 var $14=$3; //@line 110 "../src/h264bsd_slice_header.c"
 var $15=($14|0)!=0; //@line 110 "../src/h264bsd_slice_header.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 110 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(8896,11000,110,14104); //@line 110 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 110 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 110 "../src/h264bsd_slice_header.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 110 "../src/h264bsd_slice_header.c"
 var $21=$4; //@line 111 "../src/h264bsd_slice_header.c"
 var $22=($21|0)!=0; //@line 111 "../src/h264bsd_slice_header.c"
 if($22){var $26=1;label=7;break;}else{label=6;break;} //@line 111 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(7872,11000,111,14104); //@line 111 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 111 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 111 "../src/h264bsd_slice_header.c"
 case 7: 
 var $26;
 var $27=($26&1); //@line 111 "../src/h264bsd_slice_header.c"
 var $28=$5; //@line 112 "../src/h264bsd_slice_header.c"
 var $29=($28|0)!=0; //@line 112 "../src/h264bsd_slice_header.c"
 if($29){var $33=1;label=9;break;}else{label=8;break;} //@line 112 "../src/h264bsd_slice_header.c"
 case 8: 
 ___assert_fail(6928,11000,112,14104); //@line 112 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 112 "../src/h264bsd_slice_header.c"
 label=9;break; //@line 112 "../src/h264bsd_slice_header.c"
 case 9: 
 var $33;
 var $34=($33&1); //@line 112 "../src/h264bsd_slice_header.c"
 var $35=$6; //@line 113 "../src/h264bsd_slice_header.c"
 var $36=(($35)|0); //@line 113 "../src/h264bsd_slice_header.c"
 var $37=HEAP32[(($36)>>2)]; //@line 113 "../src/h264bsd_slice_header.c"
 var $38=($37|0)==1; //@line 113 "../src/h264bsd_slice_header.c"
 if($38){var $47=1;label=12;break;}else{label=10;break;} //@line 113 "../src/h264bsd_slice_header.c"
 case 10: 
 var $40=$6; //@line 113 "../src/h264bsd_slice_header.c"
 var $41=(($40)|0); //@line 113 "../src/h264bsd_slice_header.c"
 var $42=HEAP32[(($41)>>2)]; //@line 113 "../src/h264bsd_slice_header.c"
 var $43=($42|0)==5; //@line 113 "../src/h264bsd_slice_header.c"
 if($43){var $47=1;label=12;break;}else{label=11;break;} //@line 113 "../src/h264bsd_slice_header.c"
 case 11: 
 ___assert_fail(6096,11000,114,14104); //@line 113 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 113 "../src/h264bsd_slice_header.c"
 label=12;break; //@line 113 "../src/h264bsd_slice_header.c"
 case 12: 
 var $47;
 var $48=($47&1); //@line 113 "../src/h264bsd_slice_header.c"
 var $49=$3; //@line 117 "../src/h264bsd_slice_header.c"
 var $50=$49; //@line 117 "../src/h264bsd_slice_header.c"
 _memset($50, 0, 988)|0; //@line 117 "../src/h264bsd_slice_header.c"
 var $51=$4; //@line 119 "../src/h264bsd_slice_header.c"
 var $52=(($51+52)|0); //@line 119 "../src/h264bsd_slice_header.c"
 var $53=HEAP32[(($52)>>2)]; //@line 119 "../src/h264bsd_slice_header.c"
 var $54=$4; //@line 119 "../src/h264bsd_slice_header.c"
 var $55=(($54+56)|0); //@line 119 "../src/h264bsd_slice_header.c"
 var $56=HEAP32[(($55)>>2)]; //@line 119 "../src/h264bsd_slice_header.c"
 var $57=(Math_imul($53,$56)|0); //@line 119 "../src/h264bsd_slice_header.c"
 $picSizeInMbs=$57; //@line 119 "../src/h264bsd_slice_header.c"
 var $58=$2; //@line 120 "../src/h264bsd_slice_header.c"
 var $59=_h264bsdDecodeExpGolombUnsigned($58,$value); //@line 120 "../src/h264bsd_slice_header.c"
 $tmp=$59; //@line 120 "../src/h264bsd_slice_header.c"
 var $60=$tmp; //@line 121 "../src/h264bsd_slice_header.c"
 var $61=($60|0)!=0; //@line 121 "../src/h264bsd_slice_header.c"
 if($61){label=13;break;}else{label=14;break;} //@line 121 "../src/h264bsd_slice_header.c"
 case 13: 
 var $63=$tmp; //@line 122 "../src/h264bsd_slice_header.c"
 $1=$63; //@line 122 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 122 "../src/h264bsd_slice_header.c"
 case 14: 
 var $65=HEAP32[(($value)>>2)]; //@line 123 "../src/h264bsd_slice_header.c"
 var $66=$3; //@line 123 "../src/h264bsd_slice_header.c"
 var $67=(($66)|0); //@line 123 "../src/h264bsd_slice_header.c"
 HEAP32[(($67)>>2)]=$65; //@line 123 "../src/h264bsd_slice_header.c"
 var $68=HEAP32[(($value)>>2)]; //@line 124 "../src/h264bsd_slice_header.c"
 var $69=$picSizeInMbs; //@line 124 "../src/h264bsd_slice_header.c"
 var $70=($68>>>0)>=($69>>>0); //@line 124 "../src/h264bsd_slice_header.c"
 if($70){label=15;break;}else{label=16;break;} //@line 124 "../src/h264bsd_slice_header.c"
 case 15: 
 var $72=HEAP32[((_stderr)>>2)]; //@line 126 "../src/h264bsd_slice_header.c"
 var $73=_fprintf($72,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=5248,tempVarArgs)); STACKTOP=tempVarArgs; //@line 126 "../src/h264bsd_slice_header.c"
 $1=1; //@line 127 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 127 "../src/h264bsd_slice_header.c"
 case 16: 
 var $75=$2; //@line 130 "../src/h264bsd_slice_header.c"
 var $76=_h264bsdDecodeExpGolombUnsigned($75,$value); //@line 130 "../src/h264bsd_slice_header.c"
 $tmp=$76; //@line 130 "../src/h264bsd_slice_header.c"
 var $77=$tmp; //@line 131 "../src/h264bsd_slice_header.c"
 var $78=($77|0)!=0; //@line 131 "../src/h264bsd_slice_header.c"
 if($78){label=17;break;}else{label=18;break;} //@line 131 "../src/h264bsd_slice_header.c"
 case 17: 
 var $80=$tmp; //@line 132 "../src/h264bsd_slice_header.c"
 $1=$80; //@line 132 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 132 "../src/h264bsd_slice_header.c"
 case 18: 
 var $82=HEAP32[(($value)>>2)]; //@line 133 "../src/h264bsd_slice_header.c"
 var $83=$3; //@line 133 "../src/h264bsd_slice_header.c"
 var $84=(($83+4)|0); //@line 133 "../src/h264bsd_slice_header.c"
 HEAP32[(($84)>>2)]=$82; //@line 133 "../src/h264bsd_slice_header.c"
 var $85=$3; //@line 136 "../src/h264bsd_slice_header.c"
 var $86=(($85+4)|0); //@line 136 "../src/h264bsd_slice_header.c"
 var $87=HEAP32[(($86)>>2)]; //@line 136 "../src/h264bsd_slice_header.c"
 var $88=($87|0)==2; //@line 136 "../src/h264bsd_slice_header.c"
 if($88){label=25;break;}else{label=19;break;} //@line 136 "../src/h264bsd_slice_header.c"
 case 19: 
 var $90=$3; //@line 136 "../src/h264bsd_slice_header.c"
 var $91=(($90+4)|0); //@line 136 "../src/h264bsd_slice_header.c"
 var $92=HEAP32[(($91)>>2)]; //@line 136 "../src/h264bsd_slice_header.c"
 var $93=($92|0)==7; //@line 136 "../src/h264bsd_slice_header.c"
 if($93){label=25;break;}else{label=20;break;} //@line 136 "../src/h264bsd_slice_header.c"
 case 20: 
 var $95=$3; //@line 136 "../src/h264bsd_slice_header.c"
 var $96=(($95+4)|0); //@line 136 "../src/h264bsd_slice_header.c"
 var $97=HEAP32[(($96)>>2)]; //@line 136 "../src/h264bsd_slice_header.c"
 var $98=($97|0)==0; //@line 136 "../src/h264bsd_slice_header.c"
 if($98){label=22;break;}else{label=21;break;} //@line 136 "../src/h264bsd_slice_header.c"
 case 21: 
 var $100=$3; //@line 136 "../src/h264bsd_slice_header.c"
 var $101=(($100+4)|0); //@line 136 "../src/h264bsd_slice_header.c"
 var $102=HEAP32[(($101)>>2)]; //@line 136 "../src/h264bsd_slice_header.c"
 var $103=($102|0)==5; //@line 136 "../src/h264bsd_slice_header.c"
 if($103){label=22;break;}else{label=24;break;} //@line 136 "../src/h264bsd_slice_header.c"
 case 22: 
 var $105=$6; //@line 136 "../src/h264bsd_slice_header.c"
 var $106=(($105)|0); //@line 136 "../src/h264bsd_slice_header.c"
 var $107=HEAP32[(($106)>>2)]; //@line 136 "../src/h264bsd_slice_header.c"
 var $108=($107|0)==5; //@line 136 "../src/h264bsd_slice_header.c"
 if($108){label=24;break;}else{label=23;break;} //@line 136 "../src/h264bsd_slice_header.c"
 case 23: 
 var $110=$4; //@line 136 "../src/h264bsd_slice_header.c"
 var $111=(($110+44)|0); //@line 136 "../src/h264bsd_slice_header.c"
 var $112=HEAP32[(($111)>>2)]; //@line 136 "../src/h264bsd_slice_header.c"
 var $113=($112|0)!=0; //@line 136 "../src/h264bsd_slice_header.c"
 if($113){label=25;break;}else{label=24;break;} //@line 136 "../src/h264bsd_slice_header.c"
 case 24: 
 var $115=HEAP32[((_stderr)>>2)]; //@line 141 "../src/h264bsd_slice_header.c"
 var $116=_fprintf($115,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4888,tempVarArgs)); STACKTOP=tempVarArgs; //@line 141 "../src/h264bsd_slice_header.c"
 $1=1; //@line 142 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 142 "../src/h264bsd_slice_header.c"
 case 25: 
 var $118=$2; //@line 145 "../src/h264bsd_slice_header.c"
 var $119=_h264bsdDecodeExpGolombUnsigned($118,$value); //@line 145 "../src/h264bsd_slice_header.c"
 $tmp=$119; //@line 145 "../src/h264bsd_slice_header.c"
 var $120=$tmp; //@line 146 "../src/h264bsd_slice_header.c"
 var $121=($120|0)!=0; //@line 146 "../src/h264bsd_slice_header.c"
 if($121){label=26;break;}else{label=27;break;} //@line 146 "../src/h264bsd_slice_header.c"
 case 26: 
 var $123=$tmp; //@line 147 "../src/h264bsd_slice_header.c"
 $1=$123; //@line 147 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 147 "../src/h264bsd_slice_header.c"
 case 27: 
 var $125=HEAP32[(($value)>>2)]; //@line 148 "../src/h264bsd_slice_header.c"
 var $126=$3; //@line 148 "../src/h264bsd_slice_header.c"
 var $127=(($126+8)|0); //@line 148 "../src/h264bsd_slice_header.c"
 HEAP32[(($127)>>2)]=$125; //@line 148 "../src/h264bsd_slice_header.c"
 var $128=$3; //@line 149 "../src/h264bsd_slice_header.c"
 var $129=(($128+8)|0); //@line 149 "../src/h264bsd_slice_header.c"
 var $130=HEAP32[(($129)>>2)]; //@line 149 "../src/h264bsd_slice_header.c"
 var $131=$5; //@line 149 "../src/h264bsd_slice_header.c"
 var $132=(($131)|0); //@line 149 "../src/h264bsd_slice_header.c"
 var $133=HEAP32[(($132)>>2)]; //@line 149 "../src/h264bsd_slice_header.c"
 var $134=($130|0)!=($133|0); //@line 149 "../src/h264bsd_slice_header.c"
 if($134){label=28;break;}else{label=29;break;} //@line 149 "../src/h264bsd_slice_header.c"
 case 28: 
 var $136=HEAP32[((_stderr)>>2)]; //@line 151 "../src/h264bsd_slice_header.c"
 var $137=_fprintf($136,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=4472,tempVarArgs)); STACKTOP=tempVarArgs; //@line 151 "../src/h264bsd_slice_header.c"
 $1=1; //@line 152 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 152 "../src/h264bsd_slice_header.c"
 case 29: 
 $i=0; //@line 156 "../src/h264bsd_slice_header.c"
 label=30;break; //@line 157 "../src/h264bsd_slice_header.c"
 case 30: 
 var $140=$4; //@line 157 "../src/h264bsd_slice_header.c"
 var $141=(($140+12)|0); //@line 157 "../src/h264bsd_slice_header.c"
 var $142=HEAP32[(($141)>>2)]; //@line 157 "../src/h264bsd_slice_header.c"
 var $143=$i; //@line 157 "../src/h264bsd_slice_header.c"
 var $144=$142>>>($143>>>0); //@line 157 "../src/h264bsd_slice_header.c"
 var $145=($144|0)!=0; //@line 157 "../src/h264bsd_slice_header.c"
 if($145){label=31;break;}else{label=32;break;} //@line 157 "../src/h264bsd_slice_header.c"
 case 31: 
 var $147=$i; //@line 158 "../src/h264bsd_slice_header.c"
 var $148=((($147)+(1))|0); //@line 158 "../src/h264bsd_slice_header.c"
 $i=$148; //@line 158 "../src/h264bsd_slice_header.c"
 label=30;break; //@line 158 "../src/h264bsd_slice_header.c"
 case 32: 
 var $150=$i; //@line 159 "../src/h264bsd_slice_header.c"
 var $151=((($150)-(1))|0); //@line 159 "../src/h264bsd_slice_header.c"
 $i=$151; //@line 159 "../src/h264bsd_slice_header.c"
 var $152=$2; //@line 161 "../src/h264bsd_slice_header.c"
 var $153=$i; //@line 161 "../src/h264bsd_slice_header.c"
 var $154=_h264bsdGetBits($152,$153); //@line 161 "../src/h264bsd_slice_header.c"
 $tmp=$154; //@line 161 "../src/h264bsd_slice_header.c"
 var $155=$tmp; //@line 162 "../src/h264bsd_slice_header.c"
 var $156=($155|0)==-1; //@line 162 "../src/h264bsd_slice_header.c"
 if($156){label=33;break;}else{label=34;break;} //@line 162 "../src/h264bsd_slice_header.c"
 case 33: 
 $1=1; //@line 163 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 163 "../src/h264bsd_slice_header.c"
 case 34: 
 var $159=$6; //@line 164 "../src/h264bsd_slice_header.c"
 var $160=(($159)|0); //@line 164 "../src/h264bsd_slice_header.c"
 var $161=HEAP32[(($160)>>2)]; //@line 164 "../src/h264bsd_slice_header.c"
 var $162=($161|0)==5; //@line 164 "../src/h264bsd_slice_header.c"
 if($162){label=35;break;}else{label=37;break;} //@line 164 "../src/h264bsd_slice_header.c"
 case 35: 
 var $164=$tmp; //@line 164 "../src/h264bsd_slice_header.c"
 var $165=($164|0)!=0; //@line 164 "../src/h264bsd_slice_header.c"
 if($165){label=36;break;}else{label=37;break;} //@line 164 "../src/h264bsd_slice_header.c"
 case 36: 
 var $167=HEAP32[((_stderr)>>2)]; //@line 166 "../src/h264bsd_slice_header.c"
 var $168=_fprintf($167,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=12304,tempVarArgs)); STACKTOP=tempVarArgs; //@line 166 "../src/h264bsd_slice_header.c"
 $1=1; //@line 167 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 167 "../src/h264bsd_slice_header.c"
 case 37: 
 var $170=$tmp; //@line 169 "../src/h264bsd_slice_header.c"
 var $171=$3; //@line 169 "../src/h264bsd_slice_header.c"
 var $172=(($171+12)|0); //@line 169 "../src/h264bsd_slice_header.c"
 HEAP32[(($172)>>2)]=$170; //@line 169 "../src/h264bsd_slice_header.c"
 var $173=$6; //@line 171 "../src/h264bsd_slice_header.c"
 var $174=(($173)|0); //@line 171 "../src/h264bsd_slice_header.c"
 var $175=HEAP32[(($174)>>2)]; //@line 171 "../src/h264bsd_slice_header.c"
 var $176=($175|0)==5; //@line 171 "../src/h264bsd_slice_header.c"
 if($176){label=38;break;}else{label=43;break;} //@line 171 "../src/h264bsd_slice_header.c"
 case 38: 
 var $178=$2; //@line 173 "../src/h264bsd_slice_header.c"
 var $179=_h264bsdDecodeExpGolombUnsigned($178,$value); //@line 173 "../src/h264bsd_slice_header.c"
 $tmp=$179; //@line 173 "../src/h264bsd_slice_header.c"
 var $180=$tmp; //@line 174 "../src/h264bsd_slice_header.c"
 var $181=($180|0)!=0; //@line 174 "../src/h264bsd_slice_header.c"
 if($181){label=39;break;}else{label=40;break;} //@line 174 "../src/h264bsd_slice_header.c"
 case 39: 
 var $183=$tmp; //@line 175 "../src/h264bsd_slice_header.c"
 $1=$183; //@line 175 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 175 "../src/h264bsd_slice_header.c"
 case 40: 
 var $185=HEAP32[(($value)>>2)]; //@line 176 "../src/h264bsd_slice_header.c"
 var $186=$3; //@line 176 "../src/h264bsd_slice_header.c"
 var $187=(($186+16)|0); //@line 176 "../src/h264bsd_slice_header.c"
 HEAP32[(($187)>>2)]=$185; //@line 176 "../src/h264bsd_slice_header.c"
 var $188=HEAP32[(($value)>>2)]; //@line 177 "../src/h264bsd_slice_header.c"
 var $189=($188>>>0)>65535; //@line 177 "../src/h264bsd_slice_header.c"
 if($189){label=41;break;}else{label=42;break;} //@line 177 "../src/h264bsd_slice_header.c"
 case 41: 
 var $191=HEAP32[((_stderr)>>2)]; //@line 179 "../src/h264bsd_slice_header.c"
 var $192=_fprintf($191,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11920,tempVarArgs)); STACKTOP=tempVarArgs; //@line 179 "../src/h264bsd_slice_header.c"
 $1=1; //@line 180 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 180 "../src/h264bsd_slice_header.c"
 case 42: 
 label=43;break; //@line 182 "../src/h264bsd_slice_header.c"
 case 43: 
 var $195=$4; //@line 184 "../src/h264bsd_slice_header.c"
 var $196=(($195+16)|0); //@line 184 "../src/h264bsd_slice_header.c"
 var $197=HEAP32[(($196)>>2)]; //@line 184 "../src/h264bsd_slice_header.c"
 var $198=($197|0)==0; //@line 184 "../src/h264bsd_slice_header.c"
 if($198){label=44;break;}else{label=61;break;} //@line 184 "../src/h264bsd_slice_header.c"
 case 44: 
 $i=0; //@line 187 "../src/h264bsd_slice_header.c"
 label=45;break; //@line 188 "../src/h264bsd_slice_header.c"
 case 45: 
 var $201=$4; //@line 188 "../src/h264bsd_slice_header.c"
 var $202=(($201+20)|0); //@line 188 "../src/h264bsd_slice_header.c"
 var $203=HEAP32[(($202)>>2)]; //@line 188 "../src/h264bsd_slice_header.c"
 var $204=$i; //@line 188 "../src/h264bsd_slice_header.c"
 var $205=$203>>>($204>>>0); //@line 188 "../src/h264bsd_slice_header.c"
 var $206=($205|0)!=0; //@line 188 "../src/h264bsd_slice_header.c"
 if($206){label=46;break;}else{label=47;break;} //@line 188 "../src/h264bsd_slice_header.c"
 case 46: 
 var $208=$i; //@line 189 "../src/h264bsd_slice_header.c"
 var $209=((($208)+(1))|0); //@line 189 "../src/h264bsd_slice_header.c"
 $i=$209; //@line 189 "../src/h264bsd_slice_header.c"
 label=45;break; //@line 189 "../src/h264bsd_slice_header.c"
 case 47: 
 var $211=$i; //@line 190 "../src/h264bsd_slice_header.c"
 var $212=((($211)-(1))|0); //@line 190 "../src/h264bsd_slice_header.c"
 $i=$212; //@line 190 "../src/h264bsd_slice_header.c"
 var $213=$2; //@line 192 "../src/h264bsd_slice_header.c"
 var $214=$i; //@line 192 "../src/h264bsd_slice_header.c"
 var $215=_h264bsdGetBits($213,$214); //@line 192 "../src/h264bsd_slice_header.c"
 $tmp=$215; //@line 192 "../src/h264bsd_slice_header.c"
 var $216=$tmp; //@line 193 "../src/h264bsd_slice_header.c"
 var $217=($216|0)==-1; //@line 193 "../src/h264bsd_slice_header.c"
 if($217){label=48;break;}else{label=49;break;} //@line 193 "../src/h264bsd_slice_header.c"
 case 48: 
 $1=1; //@line 194 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 194 "../src/h264bsd_slice_header.c"
 case 49: 
 var $220=$tmp; //@line 195 "../src/h264bsd_slice_header.c"
 var $221=$3; //@line 195 "../src/h264bsd_slice_header.c"
 var $222=(($221+20)|0); //@line 195 "../src/h264bsd_slice_header.c"
 HEAP32[(($222)>>2)]=$220; //@line 195 "../src/h264bsd_slice_header.c"
 var $223=$5; //@line 197 "../src/h264bsd_slice_header.c"
 var $224=(($223+8)|0); //@line 197 "../src/h264bsd_slice_header.c"
 var $225=HEAP32[(($224)>>2)]; //@line 197 "../src/h264bsd_slice_header.c"
 var $226=($225|0)!=0; //@line 197 "../src/h264bsd_slice_header.c"
 if($226){label=50;break;}else{label=53;break;} //@line 197 "../src/h264bsd_slice_header.c"
 case 50: 
 var $228=$2; //@line 199 "../src/h264bsd_slice_header.c"
 var $229=_h264bsdDecodeExpGolombSigned($228,$itmp); //@line 199 "../src/h264bsd_slice_header.c"
 $tmp=$229; //@line 199 "../src/h264bsd_slice_header.c"
 var $230=$tmp; //@line 200 "../src/h264bsd_slice_header.c"
 var $231=($230|0)!=0; //@line 200 "../src/h264bsd_slice_header.c"
 if($231){label=51;break;}else{label=52;break;} //@line 200 "../src/h264bsd_slice_header.c"
 case 51: 
 var $233=$tmp; //@line 201 "../src/h264bsd_slice_header.c"
 $1=$233; //@line 201 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 201 "../src/h264bsd_slice_header.c"
 case 52: 
 var $235=HEAP32[(($itmp)>>2)]; //@line 202 "../src/h264bsd_slice_header.c"
 var $236=$3; //@line 202 "../src/h264bsd_slice_header.c"
 var $237=(($236+24)|0); //@line 202 "../src/h264bsd_slice_header.c"
 HEAP32[(($237)>>2)]=$235; //@line 202 "../src/h264bsd_slice_header.c"
 label=53;break; //@line 203 "../src/h264bsd_slice_header.c"
 case 53: 
 var $239=$6; //@line 207 "../src/h264bsd_slice_header.c"
 var $240=(($239)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $241=HEAP32[(($240)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $242=($241|0)==5; //@line 207 "../src/h264bsd_slice_header.c"
 if($242){label=54;break;}else{label=60;break;} //@line 207 "../src/h264bsd_slice_header.c"
 case 54: 
 var $244=$3; //@line 207 "../src/h264bsd_slice_header.c"
 var $245=(($244+20)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $246=HEAP32[(($245)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $247=$4; //@line 207 "../src/h264bsd_slice_header.c"
 var $248=(($247+20)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $249=HEAP32[(($248)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $250=(((($249>>>0))/(2))&-1); //@line 207 "../src/h264bsd_slice_header.c"
 var $251=($246>>>0)>($250>>>0); //@line 207 "../src/h264bsd_slice_header.c"
 if($251){label=59;break;}else{label=55;break;} //@line 207 "../src/h264bsd_slice_header.c"
 case 55: 
 var $253=$3; //@line 207 "../src/h264bsd_slice_header.c"
 var $254=(($253+20)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $255=HEAP32[(($254)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $256=$3; //@line 207 "../src/h264bsd_slice_header.c"
 var $257=(($256+20)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $258=HEAP32[(($257)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $259=$3; //@line 207 "../src/h264bsd_slice_header.c"
 var $260=(($259+24)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $261=HEAP32[(($260)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $262=((($258)+($261))|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $263=($255|0)<($262|0); //@line 207 "../src/h264bsd_slice_header.c"
 if($263){label=56;break;}else{label=57;break;} //@line 207 "../src/h264bsd_slice_header.c"
 case 56: 
 var $265=$3; //@line 207 "../src/h264bsd_slice_header.c"
 var $266=(($265+20)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $267=HEAP32[(($266)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $277=$267;label=58;break; //@line 207 "../src/h264bsd_slice_header.c"
 case 57: 
 var $269=$3; //@line 207 "../src/h264bsd_slice_header.c"
 var $270=(($269+20)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $271=HEAP32[(($270)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $272=$3; //@line 207 "../src/h264bsd_slice_header.c"
 var $273=(($272+24)|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $274=HEAP32[(($273)>>2)]; //@line 207 "../src/h264bsd_slice_header.c"
 var $275=((($271)+($274))|0); //@line 207 "../src/h264bsd_slice_header.c"
 var $277=$275;label=58;break; //@line 207 "../src/h264bsd_slice_header.c"
 case 58: 
 var $277; //@line 207 "../src/h264bsd_slice_header.c"
 var $278=($277|0)!=0; //@line 207 "../src/h264bsd_slice_header.c"
 if($278){label=59;break;}else{label=60;break;} //@line 207 "../src/h264bsd_slice_header.c"
 case 59: 
 $1=1; //@line 214 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 214 "../src/h264bsd_slice_header.c"
 case 60: 
 label=61;break; //@line 216 "../src/h264bsd_slice_header.c"
 case 61: 
 var $282=$4; //@line 218 "../src/h264bsd_slice_header.c"
 var $283=(($282+16)|0); //@line 218 "../src/h264bsd_slice_header.c"
 var $284=HEAP32[(($283)>>2)]; //@line 218 "../src/h264bsd_slice_header.c"
 var $285=($284|0)==1; //@line 218 "../src/h264bsd_slice_header.c"
 if($285){label=62;break;}else{label=76;break;} //@line 218 "../src/h264bsd_slice_header.c"
 case 62: 
 var $287=$4; //@line 218 "../src/h264bsd_slice_header.c"
 var $288=(($287+24)|0); //@line 218 "../src/h264bsd_slice_header.c"
 var $289=HEAP32[(($288)>>2)]; //@line 218 "../src/h264bsd_slice_header.c"
 var $290=($289|0)!=0; //@line 218 "../src/h264bsd_slice_header.c"
 if($290){label=76;break;}else{label=63;break;} //@line 218 "../src/h264bsd_slice_header.c"
 case 63: 
 var $292=$2; //@line 221 "../src/h264bsd_slice_header.c"
 var $293=_h264bsdDecodeExpGolombSigned($292,$itmp); //@line 221 "../src/h264bsd_slice_header.c"
 $tmp=$293; //@line 221 "../src/h264bsd_slice_header.c"
 var $294=$tmp; //@line 222 "../src/h264bsd_slice_header.c"
 var $295=($294|0)!=0; //@line 222 "../src/h264bsd_slice_header.c"
 if($295){label=64;break;}else{label=65;break;} //@line 222 "../src/h264bsd_slice_header.c"
 case 64: 
 var $297=$tmp; //@line 223 "../src/h264bsd_slice_header.c"
 $1=$297; //@line 223 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 223 "../src/h264bsd_slice_header.c"
 case 65: 
 var $299=HEAP32[(($itmp)>>2)]; //@line 224 "../src/h264bsd_slice_header.c"
 var $300=$3; //@line 224 "../src/h264bsd_slice_header.c"
 var $301=(($300+28)|0); //@line 224 "../src/h264bsd_slice_header.c"
 var $302=(($301)|0); //@line 224 "../src/h264bsd_slice_header.c"
 HEAP32[(($302)>>2)]=$299; //@line 224 "../src/h264bsd_slice_header.c"
 var $303=$5; //@line 226 "../src/h264bsd_slice_header.c"
 var $304=(($303+8)|0); //@line 226 "../src/h264bsd_slice_header.c"
 var $305=HEAP32[(($304)>>2)]; //@line 226 "../src/h264bsd_slice_header.c"
 var $306=($305|0)!=0; //@line 226 "../src/h264bsd_slice_header.c"
 if($306){label=66;break;}else{label=69;break;} //@line 226 "../src/h264bsd_slice_header.c"
 case 66: 
 var $308=$2; //@line 228 "../src/h264bsd_slice_header.c"
 var $309=_h264bsdDecodeExpGolombSigned($308,$itmp); //@line 228 "../src/h264bsd_slice_header.c"
 $tmp=$309; //@line 228 "../src/h264bsd_slice_header.c"
 var $310=$tmp; //@line 229 "../src/h264bsd_slice_header.c"
 var $311=($310|0)!=0; //@line 229 "../src/h264bsd_slice_header.c"
 if($311){label=67;break;}else{label=68;break;} //@line 229 "../src/h264bsd_slice_header.c"
 case 67: 
 var $313=$tmp; //@line 230 "../src/h264bsd_slice_header.c"
 $1=$313; //@line 230 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 230 "../src/h264bsd_slice_header.c"
 case 68: 
 var $315=HEAP32[(($itmp)>>2)]; //@line 231 "../src/h264bsd_slice_header.c"
 var $316=$3; //@line 231 "../src/h264bsd_slice_header.c"
 var $317=(($316+28)|0); //@line 231 "../src/h264bsd_slice_header.c"
 var $318=(($317+4)|0); //@line 231 "../src/h264bsd_slice_header.c"
 HEAP32[(($318)>>2)]=$315; //@line 231 "../src/h264bsd_slice_header.c"
 label=69;break; //@line 232 "../src/h264bsd_slice_header.c"
 case 69: 
 var $320=$6; //@line 236 "../src/h264bsd_slice_header.c"
 var $321=(($320)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $322=HEAP32[(($321)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $323=($322|0)==5; //@line 236 "../src/h264bsd_slice_header.c"
 if($323){label=70;break;}else{label=75;break;} //@line 236 "../src/h264bsd_slice_header.c"
 case 70: 
 var $325=$3; //@line 236 "../src/h264bsd_slice_header.c"
 var $326=(($325+28)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $327=(($326)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $328=HEAP32[(($327)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $329=$3; //@line 236 "../src/h264bsd_slice_header.c"
 var $330=(($329+28)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $331=(($330)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $332=HEAP32[(($331)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $333=$4; //@line 236 "../src/h264bsd_slice_header.c"
 var $334=(($333+32)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $335=HEAP32[(($334)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $336=((($332)+($335))|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $337=$3; //@line 236 "../src/h264bsd_slice_header.c"
 var $338=(($337+28)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $339=(($338+4)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $340=HEAP32[(($339)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $341=((($336)+($340))|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $342=($328|0)<($341|0); //@line 236 "../src/h264bsd_slice_header.c"
 if($342){label=71;break;}else{label=72;break;} //@line 236 "../src/h264bsd_slice_header.c"
 case 71: 
 var $344=$3; //@line 236 "../src/h264bsd_slice_header.c"
 var $345=(($344+28)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $346=(($345)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $347=HEAP32[(($346)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $363=$347;label=73;break; //@line 236 "../src/h264bsd_slice_header.c"
 case 72: 
 var $349=$3; //@line 236 "../src/h264bsd_slice_header.c"
 var $350=(($349+28)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $351=(($350)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $352=HEAP32[(($351)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $353=$4; //@line 236 "../src/h264bsd_slice_header.c"
 var $354=(($353+32)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $355=HEAP32[(($354)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $356=((($352)+($355))|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $357=$3; //@line 236 "../src/h264bsd_slice_header.c"
 var $358=(($357+28)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $359=(($358+4)|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $360=HEAP32[(($359)>>2)]; //@line 236 "../src/h264bsd_slice_header.c"
 var $361=((($356)+($360))|0); //@line 236 "../src/h264bsd_slice_header.c"
 var $363=$361;label=73;break; //@line 236 "../src/h264bsd_slice_header.c"
 case 73: 
 var $363; //@line 236 "../src/h264bsd_slice_header.c"
 var $364=($363|0)!=0; //@line 236 "../src/h264bsd_slice_header.c"
 if($364){label=74;break;}else{label=75;break;} //@line 236 "../src/h264bsd_slice_header.c"
 case 74: 
 $1=1; //@line 242 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 242 "../src/h264bsd_slice_header.c"
 case 75: 
 label=76;break; //@line 244 "../src/h264bsd_slice_header.c"
 case 76: 
 var $368=$5; //@line 246 "../src/h264bsd_slice_header.c"
 var $369=(($368+68)|0); //@line 246 "../src/h264bsd_slice_header.c"
 var $370=HEAP32[(($369)>>2)]; //@line 246 "../src/h264bsd_slice_header.c"
 var $371=($370|0)!=0; //@line 246 "../src/h264bsd_slice_header.c"
 if($371){label=77;break;}else{label=82;break;} //@line 246 "../src/h264bsd_slice_header.c"
 case 77: 
 var $373=$2; //@line 248 "../src/h264bsd_slice_header.c"
 var $374=_h264bsdDecodeExpGolombUnsigned($373,$value); //@line 248 "../src/h264bsd_slice_header.c"
 $tmp=$374; //@line 248 "../src/h264bsd_slice_header.c"
 var $375=$tmp; //@line 249 "../src/h264bsd_slice_header.c"
 var $376=($375|0)!=0; //@line 249 "../src/h264bsd_slice_header.c"
 if($376){label=78;break;}else{label=79;break;} //@line 249 "../src/h264bsd_slice_header.c"
 case 78: 
 var $378=$tmp; //@line 250 "../src/h264bsd_slice_header.c"
 $1=$378; //@line 250 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 250 "../src/h264bsd_slice_header.c"
 case 79: 
 var $380=HEAP32[(($value)>>2)]; //@line 251 "../src/h264bsd_slice_header.c"
 var $381=$3; //@line 251 "../src/h264bsd_slice_header.c"
 var $382=(($381+36)|0); //@line 251 "../src/h264bsd_slice_header.c"
 HEAP32[(($382)>>2)]=$380; //@line 251 "../src/h264bsd_slice_header.c"
 var $383=HEAP32[(($value)>>2)]; //@line 252 "../src/h264bsd_slice_header.c"
 var $384=($383>>>0)>127; //@line 252 "../src/h264bsd_slice_header.c"
 if($384){label=80;break;}else{label=81;break;} //@line 252 "../src/h264bsd_slice_header.c"
 case 80: 
 var $386=HEAP32[((_stderr)>>2)]; //@line 254 "../src/h264bsd_slice_header.c"
 var $387=_fprintf($386,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11472,tempVarArgs)); STACKTOP=tempVarArgs; //@line 254 "../src/h264bsd_slice_header.c"
 $1=1; //@line 255 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 255 "../src/h264bsd_slice_header.c"
 case 81: 
 label=82;break; //@line 257 "../src/h264bsd_slice_header.c"
 case 82: 
 var $390=$3; //@line 259 "../src/h264bsd_slice_header.c"
 var $391=(($390+4)|0); //@line 259 "../src/h264bsd_slice_header.c"
 var $392=HEAP32[(($391)>>2)]; //@line 259 "../src/h264bsd_slice_header.c"
 var $393=($392|0)==0; //@line 259 "../src/h264bsd_slice_header.c"
 if($393){label=84;break;}else{label=83;break;} //@line 259 "../src/h264bsd_slice_header.c"
 case 83: 
 var $395=$3; //@line 259 "../src/h264bsd_slice_header.c"
 var $396=(($395+4)|0); //@line 259 "../src/h264bsd_slice_header.c"
 var $397=HEAP32[(($396)>>2)]; //@line 259 "../src/h264bsd_slice_header.c"
 var $398=($397|0)==5; //@line 259 "../src/h264bsd_slice_header.c"
 if($398){label=84;break;}else{label=96;break;} //@line 259 "../src/h264bsd_slice_header.c"
 case 84: 
 var $400=$2; //@line 261 "../src/h264bsd_slice_header.c"
 var $401=_h264bsdGetBits($400,1); //@line 261 "../src/h264bsd_slice_header.c"
 $tmp=$401; //@line 261 "../src/h264bsd_slice_header.c"
 var $402=$tmp; //@line 262 "../src/h264bsd_slice_header.c"
 var $403=($402|0)==-1; //@line 262 "../src/h264bsd_slice_header.c"
 if($403){label=85;break;}else{label=86;break;} //@line 262 "../src/h264bsd_slice_header.c"
 case 85: 
 $1=1; //@line 263 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 263 "../src/h264bsd_slice_header.c"
 case 86: 
 var $406=$tmp; //@line 264 "../src/h264bsd_slice_header.c"
 var $407=$3; //@line 264 "../src/h264bsd_slice_header.c"
 var $408=(($407+40)|0); //@line 264 "../src/h264bsd_slice_header.c"
 HEAP32[(($408)>>2)]=$406; //@line 264 "../src/h264bsd_slice_header.c"
 var $409=$3; //@line 266 "../src/h264bsd_slice_header.c"
 var $410=(($409+40)|0); //@line 266 "../src/h264bsd_slice_header.c"
 var $411=HEAP32[(($410)>>2)]; //@line 266 "../src/h264bsd_slice_header.c"
 var $412=($411|0)!=0; //@line 266 "../src/h264bsd_slice_header.c"
 if($412){label=87;break;}else{label=92;break;} //@line 266 "../src/h264bsd_slice_header.c"
 case 87: 
 var $414=$2; //@line 268 "../src/h264bsd_slice_header.c"
 var $415=_h264bsdDecodeExpGolombUnsigned($414,$value); //@line 268 "../src/h264bsd_slice_header.c"
 $tmp=$415; //@line 268 "../src/h264bsd_slice_header.c"
 var $416=$tmp; //@line 269 "../src/h264bsd_slice_header.c"
 var $417=($416|0)!=0; //@line 269 "../src/h264bsd_slice_header.c"
 if($417){label=88;break;}else{label=89;break;} //@line 269 "../src/h264bsd_slice_header.c"
 case 88: 
 var $419=$tmp; //@line 270 "../src/h264bsd_slice_header.c"
 $1=$419; //@line 270 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 270 "../src/h264bsd_slice_header.c"
 case 89: 
 var $421=HEAP32[(($value)>>2)]; //@line 271 "../src/h264bsd_slice_header.c"
 var $422=($421>>>0)>15; //@line 271 "../src/h264bsd_slice_header.c"
 if($422){label=90;break;}else{label=91;break;} //@line 271 "../src/h264bsd_slice_header.c"
 case 90: 
 var $424=HEAP32[((_stderr)>>2)]; //@line 273 "../src/h264bsd_slice_header.c"
 var $425=_fprintf($424,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=11048,tempVarArgs)); STACKTOP=tempVarArgs; //@line 273 "../src/h264bsd_slice_header.c"
 $1=1; //@line 274 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 274 "../src/h264bsd_slice_header.c"
 case 91: 
 var $427=HEAP32[(($value)>>2)]; //@line 276 "../src/h264bsd_slice_header.c"
 var $428=((($427)+(1))|0); //@line 276 "../src/h264bsd_slice_header.c"
 var $429=$3; //@line 276 "../src/h264bsd_slice_header.c"
 var $430=(($429+44)|0); //@line 276 "../src/h264bsd_slice_header.c"
 HEAP32[(($430)>>2)]=$428; //@line 276 "../src/h264bsd_slice_header.c"
 label=95;break; //@line 277 "../src/h264bsd_slice_header.c"
 case 92: 
 var $432=$5; //@line 283 "../src/h264bsd_slice_header.c"
 var $433=(($432+48)|0); //@line 283 "../src/h264bsd_slice_header.c"
 var $434=HEAP32[(($433)>>2)]; //@line 283 "../src/h264bsd_slice_header.c"
 var $435=($434>>>0)>16; //@line 283 "../src/h264bsd_slice_header.c"
 if($435){label=93;break;}else{label=94;break;} //@line 283 "../src/h264bsd_slice_header.c"
 case 93: 
 var $437=HEAP32[((_stderr)>>2)]; //@line 285 "../src/h264bsd_slice_header.c"
 var $438=_fprintf($437,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=10560,tempVarArgs)); STACKTOP=tempVarArgs; //@line 285 "../src/h264bsd_slice_header.c"
 $1=1; //@line 286 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 286 "../src/h264bsd_slice_header.c"
 case 94: 
 var $440=$5; //@line 288 "../src/h264bsd_slice_header.c"
 var $441=(($440+48)|0); //@line 288 "../src/h264bsd_slice_header.c"
 var $442=HEAP32[(($441)>>2)]; //@line 288 "../src/h264bsd_slice_header.c"
 var $443=$3; //@line 288 "../src/h264bsd_slice_header.c"
 var $444=(($443+44)|0); //@line 288 "../src/h264bsd_slice_header.c"
 HEAP32[(($444)>>2)]=$442; //@line 288 "../src/h264bsd_slice_header.c"
 label=95;break;
 case 95: 
 label=96;break; //@line 290 "../src/h264bsd_slice_header.c"
 case 96: 
 var $447=$3; //@line 292 "../src/h264bsd_slice_header.c"
 var $448=(($447+4)|0); //@line 292 "../src/h264bsd_slice_header.c"
 var $449=HEAP32[(($448)>>2)]; //@line 292 "../src/h264bsd_slice_header.c"
 var $450=($449|0)==0; //@line 292 "../src/h264bsd_slice_header.c"
 if($450){label=98;break;}else{label=97;break;} //@line 292 "../src/h264bsd_slice_header.c"
 case 97: 
 var $452=$3; //@line 292 "../src/h264bsd_slice_header.c"
 var $453=(($452+4)|0); //@line 292 "../src/h264bsd_slice_header.c"
 var $454=HEAP32[(($453)>>2)]; //@line 292 "../src/h264bsd_slice_header.c"
 var $455=($454|0)==5; //@line 292 "../src/h264bsd_slice_header.c"
 if($455){label=98;break;}else{label=101;break;} //@line 292 "../src/h264bsd_slice_header.c"
 case 98: 
 var $457=$2; //@line 294 "../src/h264bsd_slice_header.c"
 var $458=$3; //@line 294 "../src/h264bsd_slice_header.c"
 var $459=(($458+68)|0); //@line 294 "../src/h264bsd_slice_header.c"
 var $460=$3; //@line 294 "../src/h264bsd_slice_header.c"
 var $461=(($460+44)|0); //@line 294 "../src/h264bsd_slice_header.c"
 var $462=HEAP32[(($461)>>2)]; //@line 294 "../src/h264bsd_slice_header.c"
 var $463=$4; //@line 294 "../src/h264bsd_slice_header.c"
 var $464=(($463+12)|0); //@line 294 "../src/h264bsd_slice_header.c"
 var $465=HEAP32[(($464)>>2)]; //@line 294 "../src/h264bsd_slice_header.c"
 var $466=_RefPicListReordering($457,$459,$462,$465); //@line 294 "../src/h264bsd_slice_header.c"
 $tmp=$466; //@line 294 "../src/h264bsd_slice_header.c"
 var $467=$tmp; //@line 298 "../src/h264bsd_slice_header.c"
 var $468=($467|0)!=0; //@line 298 "../src/h264bsd_slice_header.c"
 if($468){label=99;break;}else{label=100;break;} //@line 298 "../src/h264bsd_slice_header.c"
 case 99: 
 var $470=$tmp; //@line 299 "../src/h264bsd_slice_header.c"
 $1=$470; //@line 299 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 299 "../src/h264bsd_slice_header.c"
 case 100: 
 label=101;break; //@line 300 "../src/h264bsd_slice_header.c"
 case 101: 
 var $473=$6; //@line 302 "../src/h264bsd_slice_header.c"
 var $474=(($473+4)|0); //@line 302 "../src/h264bsd_slice_header.c"
 var $475=HEAP32[(($474)>>2)]; //@line 302 "../src/h264bsd_slice_header.c"
 var $476=($475|0)!=0; //@line 302 "../src/h264bsd_slice_header.c"
 if($476){label=102;break;}else{label=105;break;} //@line 302 "../src/h264bsd_slice_header.c"
 case 102: 
 var $478=$2; //@line 304 "../src/h264bsd_slice_header.c"
 var $479=$3; //@line 304 "../src/h264bsd_slice_header.c"
 var $480=(($479+276)|0); //@line 304 "../src/h264bsd_slice_header.c"
 var $481=$6; //@line 304 "../src/h264bsd_slice_header.c"
 var $482=(($481)|0); //@line 304 "../src/h264bsd_slice_header.c"
 var $483=HEAP32[(($482)>>2)]; //@line 304 "../src/h264bsd_slice_header.c"
 var $484=$4; //@line 304 "../src/h264bsd_slice_header.c"
 var $485=(($484+44)|0); //@line 304 "../src/h264bsd_slice_header.c"
 var $486=HEAP32[(($485)>>2)]; //@line 304 "../src/h264bsd_slice_header.c"
 var $487=_DecRefPicMarking($478,$480,$483,$486); //@line 304 "../src/h264bsd_slice_header.c"
 $tmp=$487; //@line 304 "../src/h264bsd_slice_header.c"
 var $488=$tmp; //@line 306 "../src/h264bsd_slice_header.c"
 var $489=($488|0)!=0; //@line 306 "../src/h264bsd_slice_header.c"
 if($489){label=103;break;}else{label=104;break;} //@line 306 "../src/h264bsd_slice_header.c"
 case 103: 
 var $491=$tmp; //@line 307 "../src/h264bsd_slice_header.c"
 $1=$491; //@line 307 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 307 "../src/h264bsd_slice_header.c"
 case 104: 
 label=105;break; //@line 308 "../src/h264bsd_slice_header.c"
 case 105: 
 var $494=$2; //@line 312 "../src/h264bsd_slice_header.c"
 var $495=_h264bsdDecodeExpGolombSigned($494,$itmp); //@line 312 "../src/h264bsd_slice_header.c"
 $tmp=$495; //@line 312 "../src/h264bsd_slice_header.c"
 var $496=$tmp; //@line 313 "../src/h264bsd_slice_header.c"
 var $497=($496|0)!=0; //@line 313 "../src/h264bsd_slice_header.c"
 if($497){label=106;break;}else{label=107;break;} //@line 313 "../src/h264bsd_slice_header.c"
 case 106: 
 var $499=$tmp; //@line 314 "../src/h264bsd_slice_header.c"
 $1=$499; //@line 314 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 314 "../src/h264bsd_slice_header.c"
 case 107: 
 var $501=HEAP32[(($itmp)>>2)]; //@line 315 "../src/h264bsd_slice_header.c"
 var $502=$3; //@line 315 "../src/h264bsd_slice_header.c"
 var $503=(($502+48)|0); //@line 315 "../src/h264bsd_slice_header.c"
 HEAP32[(($503)>>2)]=$501; //@line 315 "../src/h264bsd_slice_header.c"
 var $504=$5; //@line 316 "../src/h264bsd_slice_header.c"
 var $505=(($504+52)|0); //@line 316 "../src/h264bsd_slice_header.c"
 var $506=HEAP32[(($505)>>2)]; //@line 316 "../src/h264bsd_slice_header.c"
 var $507=HEAP32[(($itmp)>>2)]; //@line 316 "../src/h264bsd_slice_header.c"
 var $508=((($507)+($506))|0); //@line 316 "../src/h264bsd_slice_header.c"
 HEAP32[(($itmp)>>2)]=$508; //@line 316 "../src/h264bsd_slice_header.c"
 var $509=HEAP32[(($itmp)>>2)]; //@line 317 "../src/h264bsd_slice_header.c"
 var $510=($509|0)<0; //@line 317 "../src/h264bsd_slice_header.c"
 if($510){label=109;break;}else{label=108;break;} //@line 317 "../src/h264bsd_slice_header.c"
 case 108: 
 var $512=HEAP32[(($itmp)>>2)]; //@line 317 "../src/h264bsd_slice_header.c"
 var $513=($512|0)>51; //@line 317 "../src/h264bsd_slice_header.c"
 if($513){label=109;break;}else{label=110;break;} //@line 317 "../src/h264bsd_slice_header.c"
 case 109: 
 var $515=HEAP32[((_stderr)>>2)]; //@line 319 "../src/h264bsd_slice_header.c"
 var $516=_fprintf($515,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=10272,tempVarArgs)); STACKTOP=tempVarArgs; //@line 319 "../src/h264bsd_slice_header.c"
 $1=1; //@line 320 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 320 "../src/h264bsd_slice_header.c"
 case 110: 
 var $518=$5; //@line 323 "../src/h264bsd_slice_header.c"
 var $519=(($518+60)|0); //@line 323 "../src/h264bsd_slice_header.c"
 var $520=HEAP32[(($519)>>2)]; //@line 323 "../src/h264bsd_slice_header.c"
 var $521=($520|0)!=0; //@line 323 "../src/h264bsd_slice_header.c"
 if($521){label=111;break;}else{label=128;break;} //@line 323 "../src/h264bsd_slice_header.c"
 case 111: 
 var $523=$2; //@line 325 "../src/h264bsd_slice_header.c"
 var $524=_h264bsdDecodeExpGolombUnsigned($523,$value); //@line 325 "../src/h264bsd_slice_header.c"
 $tmp=$524; //@line 325 "../src/h264bsd_slice_header.c"
 var $525=$tmp; //@line 326 "../src/h264bsd_slice_header.c"
 var $526=($525|0)!=0; //@line 326 "../src/h264bsd_slice_header.c"
 if($526){label=112;break;}else{label=113;break;} //@line 326 "../src/h264bsd_slice_header.c"
 case 112: 
 var $528=$tmp; //@line 327 "../src/h264bsd_slice_header.c"
 $1=$528; //@line 327 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 327 "../src/h264bsd_slice_header.c"
 case 113: 
 var $530=HEAP32[(($value)>>2)]; //@line 328 "../src/h264bsd_slice_header.c"
 var $531=$3; //@line 328 "../src/h264bsd_slice_header.c"
 var $532=(($531+52)|0); //@line 328 "../src/h264bsd_slice_header.c"
 HEAP32[(($532)>>2)]=$530; //@line 328 "../src/h264bsd_slice_header.c"
 var $533=$3; //@line 329 "../src/h264bsd_slice_header.c"
 var $534=(($533+52)|0); //@line 329 "../src/h264bsd_slice_header.c"
 var $535=HEAP32[(($534)>>2)]; //@line 329 "../src/h264bsd_slice_header.c"
 var $536=($535>>>0)>2; //@line 329 "../src/h264bsd_slice_header.c"
 if($536){label=114;break;}else{label=115;break;} //@line 329 "../src/h264bsd_slice_header.c"
 case 114: 
 var $538=HEAP32[((_stderr)>>2)]; //@line 331 "../src/h264bsd_slice_header.c"
 var $539=_fprintf($538,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=10008,tempVarArgs)); STACKTOP=tempVarArgs; //@line 331 "../src/h264bsd_slice_header.c"
 $1=1; //@line 332 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 332 "../src/h264bsd_slice_header.c"
 case 115: 
 var $541=$3; //@line 335 "../src/h264bsd_slice_header.c"
 var $542=(($541+52)|0); //@line 335 "../src/h264bsd_slice_header.c"
 var $543=HEAP32[(($542)>>2)]; //@line 335 "../src/h264bsd_slice_header.c"
 var $544=($543|0)!=1; //@line 335 "../src/h264bsd_slice_header.c"
 if($544){label=116;break;}else{label=127;break;} //@line 335 "../src/h264bsd_slice_header.c"
 case 116: 
 var $546=$2; //@line 337 "../src/h264bsd_slice_header.c"
 var $547=_h264bsdDecodeExpGolombSigned($546,$itmp); //@line 337 "../src/h264bsd_slice_header.c"
 $tmp=$547; //@line 337 "../src/h264bsd_slice_header.c"
 var $548=$tmp; //@line 338 "../src/h264bsd_slice_header.c"
 var $549=($548|0)!=0; //@line 338 "../src/h264bsd_slice_header.c"
 if($549){label=117;break;}else{label=118;break;} //@line 338 "../src/h264bsd_slice_header.c"
 case 117: 
 var $551=$tmp; //@line 339 "../src/h264bsd_slice_header.c"
 $1=$551; //@line 339 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 339 "../src/h264bsd_slice_header.c"
 case 118: 
 var $553=HEAP32[(($itmp)>>2)]; //@line 340 "../src/h264bsd_slice_header.c"
 var $554=($553|0)<-6; //@line 340 "../src/h264bsd_slice_header.c"
 if($554){label=120;break;}else{label=119;break;} //@line 340 "../src/h264bsd_slice_header.c"
 case 119: 
 var $556=HEAP32[(($itmp)>>2)]; //@line 340 "../src/h264bsd_slice_header.c"
 var $557=($556|0)>6; //@line 340 "../src/h264bsd_slice_header.c"
 if($557){label=120;break;}else{label=121;break;} //@line 340 "../src/h264bsd_slice_header.c"
 case 120: 
 var $559=HEAP32[((_stderr)>>2)]; //@line 342 "../src/h264bsd_slice_header.c"
 var $560=_fprintf($559,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=9800,tempVarArgs)); STACKTOP=tempVarArgs; //@line 342 "../src/h264bsd_slice_header.c"
 $1=1; //@line 343 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 343 "../src/h264bsd_slice_header.c"
 case 121: 
 var $562=HEAP32[(($itmp)>>2)]; //@line 345 "../src/h264bsd_slice_header.c"
 var $563=($562<<1); //@line 345 "../src/h264bsd_slice_header.c"
 var $564=$3; //@line 345 "../src/h264bsd_slice_header.c"
 var $565=(($564+56)|0); //@line 345 "../src/h264bsd_slice_header.c"
 HEAP32[(($565)>>2)]=$563; //@line 345 "../src/h264bsd_slice_header.c"
 var $566=$2; //@line 347 "../src/h264bsd_slice_header.c"
 var $567=_h264bsdDecodeExpGolombSigned($566,$itmp); //@line 347 "../src/h264bsd_slice_header.c"
 $tmp=$567; //@line 347 "../src/h264bsd_slice_header.c"
 var $568=$tmp; //@line 348 "../src/h264bsd_slice_header.c"
 var $569=($568|0)!=0; //@line 348 "../src/h264bsd_slice_header.c"
 if($569){label=122;break;}else{label=123;break;} //@line 348 "../src/h264bsd_slice_header.c"
 case 122: 
 var $571=$tmp; //@line 349 "../src/h264bsd_slice_header.c"
 $1=$571; //@line 349 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 349 "../src/h264bsd_slice_header.c"
 case 123: 
 var $573=HEAP32[(($itmp)>>2)]; //@line 350 "../src/h264bsd_slice_header.c"
 var $574=($573|0)<-6; //@line 350 "../src/h264bsd_slice_header.c"
 if($574){label=125;break;}else{label=124;break;} //@line 350 "../src/h264bsd_slice_header.c"
 case 124: 
 var $576=HEAP32[(($itmp)>>2)]; //@line 350 "../src/h264bsd_slice_header.c"
 var $577=($576|0)>6; //@line 350 "../src/h264bsd_slice_header.c"
 if($577){label=125;break;}else{label=126;break;} //@line 350 "../src/h264bsd_slice_header.c"
 case 125: 
 var $579=HEAP32[((_stderr)>>2)]; //@line 352 "../src/h264bsd_slice_header.c"
 var $580=_fprintf($579,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=9656,tempVarArgs)); STACKTOP=tempVarArgs; //@line 352 "../src/h264bsd_slice_header.c"
 $1=1; //@line 353 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 353 "../src/h264bsd_slice_header.c"
 case 126: 
 var $582=HEAP32[(($itmp)>>2)]; //@line 355 "../src/h264bsd_slice_header.c"
 var $583=($582<<1); //@line 355 "../src/h264bsd_slice_header.c"
 var $584=$3; //@line 355 "../src/h264bsd_slice_header.c"
 var $585=(($584+60)|0); //@line 355 "../src/h264bsd_slice_header.c"
 HEAP32[(($585)>>2)]=$583; //@line 355 "../src/h264bsd_slice_header.c"
 label=127;break; //@line 356 "../src/h264bsd_slice_header.c"
 case 127: 
 label=128;break; //@line 357 "../src/h264bsd_slice_header.c"
 case 128: 
 var $588=$5; //@line 359 "../src/h264bsd_slice_header.c"
 var $589=(($588+12)|0); //@line 359 "../src/h264bsd_slice_header.c"
 var $590=HEAP32[(($589)>>2)]; //@line 359 "../src/h264bsd_slice_header.c"
 var $591=($590>>>0)>1; //@line 359 "../src/h264bsd_slice_header.c"
 if($591){label=129;break;}else{label=136;break;} //@line 359 "../src/h264bsd_slice_header.c"
 case 129: 
 var $593=$5; //@line 359 "../src/h264bsd_slice_header.c"
 var $594=(($593+16)|0); //@line 359 "../src/h264bsd_slice_header.c"
 var $595=HEAP32[(($594)>>2)]; //@line 359 "../src/h264bsd_slice_header.c"
 var $596=($595>>>0)>=3; //@line 359 "../src/h264bsd_slice_header.c"
 if($596){label=130;break;}else{label=136;break;} //@line 359 "../src/h264bsd_slice_header.c"
 case 130: 
 var $598=$5; //@line 359 "../src/h264bsd_slice_header.c"
 var $599=(($598+16)|0); //@line 359 "../src/h264bsd_slice_header.c"
 var $600=HEAP32[(($599)>>2)]; //@line 359 "../src/h264bsd_slice_header.c"
 var $601=($600>>>0)<=5; //@line 359 "../src/h264bsd_slice_header.c"
 if($601){label=131;break;}else{label=136;break;} //@line 359 "../src/h264bsd_slice_header.c"
 case 131: 
 var $603=$picSizeInMbs; //@line 365 "../src/h264bsd_slice_header.c"
 var $604=$5; //@line 365 "../src/h264bsd_slice_header.c"
 var $605=(($604+36)|0); //@line 365 "../src/h264bsd_slice_header.c"
 var $606=HEAP32[(($605)>>2)]; //@line 365 "../src/h264bsd_slice_header.c"
 var $607=_NumSliceGroupChangeCycleBits($603,$606); //@line 365 "../src/h264bsd_slice_header.c"
 $tmp=$607; //@line 365 "../src/h264bsd_slice_header.c"
 var $608=$2; //@line 367 "../src/h264bsd_slice_header.c"
 var $609=$tmp; //@line 367 "../src/h264bsd_slice_header.c"
 var $610=_h264bsdGetBits($608,$609); //@line 367 "../src/h264bsd_slice_header.c"
 HEAP32[(($value)>>2)]=$610; //@line 367 "../src/h264bsd_slice_header.c"
 var $611=HEAP32[(($value)>>2)]; //@line 368 "../src/h264bsd_slice_header.c"
 var $612=($611|0)==-1; //@line 368 "../src/h264bsd_slice_header.c"
 if($612){label=132;break;}else{label=133;break;} //@line 368 "../src/h264bsd_slice_header.c"
 case 132: 
 $1=1; //@line 369 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 369 "../src/h264bsd_slice_header.c"
 case 133: 
 var $615=HEAP32[(($value)>>2)]; //@line 370 "../src/h264bsd_slice_header.c"
 var $616=$3; //@line 370 "../src/h264bsd_slice_header.c"
 var $617=(($616+64)|0); //@line 370 "../src/h264bsd_slice_header.c"
 HEAP32[(($617)>>2)]=$615; //@line 370 "../src/h264bsd_slice_header.c"
 var $618=$picSizeInMbs; //@line 373 "../src/h264bsd_slice_header.c"
 var $619=$5; //@line 373 "../src/h264bsd_slice_header.c"
 var $620=(($619+36)|0); //@line 373 "../src/h264bsd_slice_header.c"
 var $621=HEAP32[(($620)>>2)]; //@line 373 "../src/h264bsd_slice_header.c"
 var $622=((($618)+($621))|0); //@line 373 "../src/h264bsd_slice_header.c"
 var $623=((($622)-(1))|0); //@line 373 "../src/h264bsd_slice_header.c"
 var $624=$5; //@line 373 "../src/h264bsd_slice_header.c"
 var $625=(($624+36)|0); //@line 373 "../src/h264bsd_slice_header.c"
 var $626=HEAP32[(($625)>>2)]; //@line 373 "../src/h264bsd_slice_header.c"
 var $627=(((($623>>>0))/(($626>>>0)))&-1); //@line 373 "../src/h264bsd_slice_header.c"
 $tmp=$627; //@line 373 "../src/h264bsd_slice_header.c"
 var $628=$3; //@line 375 "../src/h264bsd_slice_header.c"
 var $629=(($628+64)|0); //@line 375 "../src/h264bsd_slice_header.c"
 var $630=HEAP32[(($629)>>2)]; //@line 375 "../src/h264bsd_slice_header.c"
 var $631=$tmp; //@line 375 "../src/h264bsd_slice_header.c"
 var $632=($630>>>0)>($631>>>0); //@line 375 "../src/h264bsd_slice_header.c"
 if($632){label=134;break;}else{label=135;break;} //@line 375 "../src/h264bsd_slice_header.c"
 case 134: 
 var $634=HEAP32[((_stderr)>>2)]; //@line 377 "../src/h264bsd_slice_header.c"
 var $635=_fprintf($634,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=9520,tempVarArgs)); STACKTOP=tempVarArgs; //@line 377 "../src/h264bsd_slice_header.c"
 $1=1; //@line 378 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 378 "../src/h264bsd_slice_header.c"
 case 135: 
 label=136;break; //@line 380 "../src/h264bsd_slice_header.c"
 case 136: 
 $1=0; //@line 382 "../src/h264bsd_slice_header.c"
 label=137;break; //@line 382 "../src/h264bsd_slice_header.c"
 case 137: 
 var $639=$1; //@line 384 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $639; //@line 384 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _RefPicListReordering($pStrmData,$pRefPicListReordering,$numRefIdxActive,$maxPicNum){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+16)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $value=sp;
 var $i;
 var $command=(sp)+(8);
 $2=$pStrmData;
 $3=$pRefPicListReordering;
 $4=$numRefIdxActive;
 $5=$maxPicNum;
 var $6=$2; //@line 480 "../src/h264bsd_slice_header.c"
 var $7=($6|0)!=0; //@line 480 "../src/h264bsd_slice_header.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 480 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,480,15064); //@line 480 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 480 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 480 "../src/h264bsd_slice_header.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 480 "../src/h264bsd_slice_header.c"
 var $13=$3; //@line 481 "../src/h264bsd_slice_header.c"
 var $14=($13|0)!=0; //@line 481 "../src/h264bsd_slice_header.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 481 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(7344,11000,481,15064); //@line 481 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 481 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 481 "../src/h264bsd_slice_header.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 481 "../src/h264bsd_slice_header.c"
 var $20=$4; //@line 482 "../src/h264bsd_slice_header.c"
 var $21=($20|0)!=0; //@line 482 "../src/h264bsd_slice_header.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 482 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(7120,11000,482,15064); //@line 482 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 482 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 482 "../src/h264bsd_slice_header.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 482 "../src/h264bsd_slice_header.c"
 var $27=$5; //@line 483 "../src/h264bsd_slice_header.c"
 var $28=($27|0)!=0; //@line 483 "../src/h264bsd_slice_header.c"
 if($28){var $32=1;label=9;break;}else{label=8;break;} //@line 483 "../src/h264bsd_slice_header.c"
 case 8: 
 ___assert_fail(7016,11000,483,15064); //@line 483 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 483 "../src/h264bsd_slice_header.c"
 label=9;break; //@line 483 "../src/h264bsd_slice_header.c"
 case 9: 
 var $32;
 var $33=($32&1); //@line 483 "../src/h264bsd_slice_header.c"
 var $34=$2; //@line 486 "../src/h264bsd_slice_header.c"
 var $35=_h264bsdGetBits($34,1); //@line 486 "../src/h264bsd_slice_header.c"
 $tmp=$35; //@line 486 "../src/h264bsd_slice_header.c"
 var $36=$tmp; //@line 487 "../src/h264bsd_slice_header.c"
 var $37=($36|0)==-1; //@line 487 "../src/h264bsd_slice_header.c"
 if($37){label=10;break;}else{label=11;break;} //@line 487 "../src/h264bsd_slice_header.c"
 case 10: 
 $1=1; //@line 488 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 488 "../src/h264bsd_slice_header.c"
 case 11: 
 var $40=$tmp; //@line 490 "../src/h264bsd_slice_header.c"
 var $41=$3; //@line 490 "../src/h264bsd_slice_header.c"
 var $42=(($41)|0); //@line 490 "../src/h264bsd_slice_header.c"
 HEAP32[(($42)>>2)]=$40; //@line 490 "../src/h264bsd_slice_header.c"
 var $43=$3; //@line 492 "../src/h264bsd_slice_header.c"
 var $44=(($43)|0); //@line 492 "../src/h264bsd_slice_header.c"
 var $45=HEAP32[(($44)>>2)]; //@line 492 "../src/h264bsd_slice_header.c"
 var $46=($45|0)!=0; //@line 492 "../src/h264bsd_slice_header.c"
 if($46){label=12;break;}else{label=36;break;} //@line 492 "../src/h264bsd_slice_header.c"
 case 12: 
 $i=0; //@line 494 "../src/h264bsd_slice_header.c"
 label=13;break; //@line 496 "../src/h264bsd_slice_header.c"
 case 13: 
 var $49=$i; //@line 498 "../src/h264bsd_slice_header.c"
 var $50=$4; //@line 498 "../src/h264bsd_slice_header.c"
 var $51=($49>>>0)>($50>>>0); //@line 498 "../src/h264bsd_slice_header.c"
 if($51){label=14;break;}else{label=15;break;} //@line 498 "../src/h264bsd_slice_header.c"
 case 14: 
 var $53=HEAP32[((_stderr)>>2)]; //@line 500 "../src/h264bsd_slice_header.c"
 var $54=_fprintf($53,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=6848,tempVarArgs)); STACKTOP=tempVarArgs; //@line 500 "../src/h264bsd_slice_header.c"
 $1=1; //@line 501 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 501 "../src/h264bsd_slice_header.c"
 case 15: 
 var $56=$2; //@line 504 "../src/h264bsd_slice_header.c"
 var $57=_h264bsdDecodeExpGolombUnsigned($56,$command); //@line 504 "../src/h264bsd_slice_header.c"
 $tmp=$57; //@line 504 "../src/h264bsd_slice_header.c"
 var $58=$tmp; //@line 505 "../src/h264bsd_slice_header.c"
 var $59=($58|0)!=0; //@line 505 "../src/h264bsd_slice_header.c"
 if($59){label=16;break;}else{label=17;break;} //@line 505 "../src/h264bsd_slice_header.c"
 case 16: 
 var $61=$tmp; //@line 506 "../src/h264bsd_slice_header.c"
 $1=$61; //@line 506 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 506 "../src/h264bsd_slice_header.c"
 case 17: 
 var $63=HEAP32[(($command)>>2)]; //@line 507 "../src/h264bsd_slice_header.c"
 var $64=($63>>>0)>3; //@line 507 "../src/h264bsd_slice_header.c"
 if($64){label=18;break;}else{label=19;break;} //@line 507 "../src/h264bsd_slice_header.c"
 case 18: 
 var $66=HEAP32[((_stderr)>>2)]; //@line 509 "../src/h264bsd_slice_header.c"
 var $67=_fprintf($66,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=6720,tempVarArgs)); STACKTOP=tempVarArgs; //@line 509 "../src/h264bsd_slice_header.c"
 $1=1; //@line 510 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 510 "../src/h264bsd_slice_header.c"
 case 19: 
 var $69=HEAP32[(($command)>>2)]; //@line 513 "../src/h264bsd_slice_header.c"
 var $70=$i; //@line 513 "../src/h264bsd_slice_header.c"
 var $71=$3; //@line 513 "../src/h264bsd_slice_header.c"
 var $72=(($71+4)|0); //@line 513 "../src/h264bsd_slice_header.c"
 var $73=(($72+((($70)*(12))&-1))|0); //@line 513 "../src/h264bsd_slice_header.c"
 var $74=(($73)|0); //@line 513 "../src/h264bsd_slice_header.c"
 HEAP32[(($74)>>2)]=$69; //@line 513 "../src/h264bsd_slice_header.c"
 var $75=HEAP32[(($command)>>2)]; //@line 515 "../src/h264bsd_slice_header.c"
 var $76=($75|0)==0; //@line 515 "../src/h264bsd_slice_header.c"
 if($76){label=21;break;}else{label=20;break;} //@line 515 "../src/h264bsd_slice_header.c"
 case 20: 
 var $78=HEAP32[(($command)>>2)]; //@line 515 "../src/h264bsd_slice_header.c"
 var $79=($78|0)==1; //@line 515 "../src/h264bsd_slice_header.c"
 if($79){label=21;break;}else{label=26;break;} //@line 515 "../src/h264bsd_slice_header.c"
 case 21: 
 var $81=$2; //@line 517 "../src/h264bsd_slice_header.c"
 var $82=_h264bsdDecodeExpGolombUnsigned($81,$value); //@line 517 "../src/h264bsd_slice_header.c"
 $tmp=$82; //@line 517 "../src/h264bsd_slice_header.c"
 var $83=$tmp; //@line 518 "../src/h264bsd_slice_header.c"
 var $84=($83|0)!=0; //@line 518 "../src/h264bsd_slice_header.c"
 if($84){label=22;break;}else{label=23;break;} //@line 518 "../src/h264bsd_slice_header.c"
 case 22: 
 var $86=$tmp; //@line 519 "../src/h264bsd_slice_header.c"
 $1=$86; //@line 519 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 519 "../src/h264bsd_slice_header.c"
 case 23: 
 var $88=HEAP32[(($value)>>2)]; //@line 520 "../src/h264bsd_slice_header.c"
 var $89=$5; //@line 520 "../src/h264bsd_slice_header.c"
 var $90=($88>>>0)>=($89>>>0); //@line 520 "../src/h264bsd_slice_header.c"
 if($90){label=24;break;}else{label=25;break;} //@line 520 "../src/h264bsd_slice_header.c"
 case 24: 
 var $92=HEAP32[((_stderr)>>2)]; //@line 522 "../src/h264bsd_slice_header.c"
 var $93=_fprintf($92,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=6672,tempVarArgs)); STACKTOP=tempVarArgs; //@line 522 "../src/h264bsd_slice_header.c"
 $1=1; //@line 523 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 523 "../src/h264bsd_slice_header.c"
 case 25: 
 var $95=HEAP32[(($value)>>2)]; //@line 525 "../src/h264bsd_slice_header.c"
 var $96=((($95)+(1))|0); //@line 525 "../src/h264bsd_slice_header.c"
 var $97=$i; //@line 525 "../src/h264bsd_slice_header.c"
 var $98=$3; //@line 525 "../src/h264bsd_slice_header.c"
 var $99=(($98+4)|0); //@line 525 "../src/h264bsd_slice_header.c"
 var $100=(($99+((($97)*(12))&-1))|0); //@line 525 "../src/h264bsd_slice_header.c"
 var $101=(($100+4)|0); //@line 525 "../src/h264bsd_slice_header.c"
 HEAP32[(($101)>>2)]=$96; //@line 525 "../src/h264bsd_slice_header.c"
 label=31;break; //@line 526 "../src/h264bsd_slice_header.c"
 case 26: 
 var $103=HEAP32[(($command)>>2)]; //@line 527 "../src/h264bsd_slice_header.c"
 var $104=($103|0)==2; //@line 527 "../src/h264bsd_slice_header.c"
 if($104){label=27;break;}else{label=30;break;} //@line 527 "../src/h264bsd_slice_header.c"
 case 27: 
 var $106=$2; //@line 529 "../src/h264bsd_slice_header.c"
 var $107=_h264bsdDecodeExpGolombUnsigned($106,$value); //@line 529 "../src/h264bsd_slice_header.c"
 $tmp=$107; //@line 529 "../src/h264bsd_slice_header.c"
 var $108=$tmp; //@line 530 "../src/h264bsd_slice_header.c"
 var $109=($108|0)!=0; //@line 530 "../src/h264bsd_slice_header.c"
 if($109){label=28;break;}else{label=29;break;} //@line 530 "../src/h264bsd_slice_header.c"
 case 28: 
 var $111=$tmp; //@line 531 "../src/h264bsd_slice_header.c"
 $1=$111; //@line 531 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 531 "../src/h264bsd_slice_header.c"
 case 29: 
 var $113=HEAP32[(($value)>>2)]; //@line 532 "../src/h264bsd_slice_header.c"
 var $114=$i; //@line 532 "../src/h264bsd_slice_header.c"
 var $115=$3; //@line 532 "../src/h264bsd_slice_header.c"
 var $116=(($115+4)|0); //@line 532 "../src/h264bsd_slice_header.c"
 var $117=(($116+((($114)*(12))&-1))|0); //@line 532 "../src/h264bsd_slice_header.c"
 var $118=(($117+8)|0); //@line 532 "../src/h264bsd_slice_header.c"
 HEAP32[(($118)>>2)]=$113; //@line 532 "../src/h264bsd_slice_header.c"
 label=30;break; //@line 533 "../src/h264bsd_slice_header.c"
 case 30: 
 label=31;break;
 case 31: 
 var $121=$i; //@line 534 "../src/h264bsd_slice_header.c"
 var $122=((($121)+(1))|0); //@line 534 "../src/h264bsd_slice_header.c"
 $i=$122; //@line 534 "../src/h264bsd_slice_header.c"
 label=32;break; //@line 535 "../src/h264bsd_slice_header.c"
 case 32: 
 var $124=HEAP32[(($command)>>2)]; //@line 535 "../src/h264bsd_slice_header.c"
 var $125=($124|0)!=3; //@line 535 "../src/h264bsd_slice_header.c"
 if($125){label=13;break;}else{label=33;break;} //@line 535 "../src/h264bsd_slice_header.c"
 case 33: 
 var $127=$i; //@line 539 "../src/h264bsd_slice_header.c"
 var $128=($127|0)==1; //@line 539 "../src/h264bsd_slice_header.c"
 if($128){label=34;break;}else{label=35;break;} //@line 539 "../src/h264bsd_slice_header.c"
 case 34: 
 var $130=HEAP32[((_stderr)>>2)]; //@line 541 "../src/h264bsd_slice_header.c"
 var $131=_fprintf($130,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=6632,tempVarArgs)); STACKTOP=tempVarArgs; //@line 541 "../src/h264bsd_slice_header.c"
 $1=1; //@line 542 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 542 "../src/h264bsd_slice_header.c"
 case 35: 
 label=36;break; //@line 544 "../src/h264bsd_slice_header.c"
 case 36: 
 $1=0; //@line 546 "../src/h264bsd_slice_header.c"
 label=37;break; //@line 546 "../src/h264bsd_slice_header.c"
 case 37: 
 var $135=$1; //@line 548 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $135; //@line 548 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecRefPicMarking($pStrmData,$pDecRefPicMarking,$nalUnitType,$numRefFrames){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+16)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $value=sp;
 var $i;
 var $operation=(sp)+(8);
 var $num4;
 var $num5;
 var $num6;
 var $num1to3;
 $2=$pStrmData;
 $3=$pDecRefPicMarking;
 $4=$nalUnitType;
 $5=$numRefFrames;
 $num4=0; //@line 584 "../src/h264bsd_slice_header.c"
 $num5=0; //@line 584 "../src/h264bsd_slice_header.c"
 $num6=0; //@line 584 "../src/h264bsd_slice_header.c"
 $num1to3=0; //@line 584 "../src/h264bsd_slice_header.c"
 var $6=$4; //@line 588 "../src/h264bsd_slice_header.c"
 var $7=($6|0)==5; //@line 588 "../src/h264bsd_slice_header.c"
 if($7){var $17=0;label=5;break;}else{label=2;break;} //@line 588 "../src/h264bsd_slice_header.c"
 case 2: 
 var $9=$4; //@line 588 "../src/h264bsd_slice_header.c"
 var $10=($9|0)==1; //@line 588 "../src/h264bsd_slice_header.c"
 if($10){var $17=1;label=5;break;}else{label=3;break;} //@line 588 "../src/h264bsd_slice_header.c"
 case 3: 
 var $12=$4; //@line 588 "../src/h264bsd_slice_header.c"
 var $13=($12|0)==6; //@line 588 "../src/h264bsd_slice_header.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 588 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(7544,11000,590,16440); //@line 588 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 588 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 588 "../src/h264bsd_slice_header.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 588 "../src/h264bsd_slice_header.c"
 var $19=$4; //@line 593 "../src/h264bsd_slice_header.c"
 var $20=($19|0)==5; //@line 593 "../src/h264bsd_slice_header.c"
 if($20){label=6;break;}else{label=14;break;} //@line 593 "../src/h264bsd_slice_header.c"
 case 6: 
 var $22=$2; //@line 595 "../src/h264bsd_slice_header.c"
 var $23=_h264bsdGetBits($22,1); //@line 595 "../src/h264bsd_slice_header.c"
 $tmp=$23; //@line 595 "../src/h264bsd_slice_header.c"
 var $24=$tmp; //@line 596 "../src/h264bsd_slice_header.c"
 var $25=($24|0)==-1; //@line 596 "../src/h264bsd_slice_header.c"
 if($25){label=7;break;}else{label=8;break;} //@line 596 "../src/h264bsd_slice_header.c"
 case 7: 
 $1=1; //@line 597 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 597 "../src/h264bsd_slice_header.c"
 case 8: 
 var $28=$tmp; //@line 598 "../src/h264bsd_slice_header.c"
 var $29=$3; //@line 598 "../src/h264bsd_slice_header.c"
 var $30=(($29)|0); //@line 598 "../src/h264bsd_slice_header.c"
 HEAP32[(($30)>>2)]=$28; //@line 598 "../src/h264bsd_slice_header.c"
 var $31=$2; //@line 600 "../src/h264bsd_slice_header.c"
 var $32=_h264bsdGetBits($31,1); //@line 600 "../src/h264bsd_slice_header.c"
 $tmp=$32; //@line 600 "../src/h264bsd_slice_header.c"
 var $33=$tmp; //@line 601 "../src/h264bsd_slice_header.c"
 var $34=($33|0)==-1; //@line 601 "../src/h264bsd_slice_header.c"
 if($34){label=9;break;}else{label=10;break;} //@line 601 "../src/h264bsd_slice_header.c"
 case 9: 
 $1=1; //@line 602 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 602 "../src/h264bsd_slice_header.c"
 case 10: 
 var $37=$tmp; //@line 603 "../src/h264bsd_slice_header.c"
 var $38=$3; //@line 603 "../src/h264bsd_slice_header.c"
 var $39=(($38+4)|0); //@line 603 "../src/h264bsd_slice_header.c"
 HEAP32[(($39)>>2)]=$37; //@line 603 "../src/h264bsd_slice_header.c"
 var $40=$5; //@line 604 "../src/h264bsd_slice_header.c"
 var $41=($40|0)!=0; //@line 604 "../src/h264bsd_slice_header.c"
 if($41){label=13;break;}else{label=11;break;} //@line 604 "../src/h264bsd_slice_header.c"
 case 11: 
 var $43=$3; //@line 604 "../src/h264bsd_slice_header.c"
 var $44=(($43+4)|0); //@line 604 "../src/h264bsd_slice_header.c"
 var $45=HEAP32[(($44)>>2)]; //@line 604 "../src/h264bsd_slice_header.c"
 var $46=($45|0)!=0; //@line 604 "../src/h264bsd_slice_header.c"
 if($46){label=12;break;}else{label=13;break;} //@line 604 "../src/h264bsd_slice_header.c"
 case 12: 
 var $48=HEAP32[((_stderr)>>2)]; //@line 606 "../src/h264bsd_slice_header.c"
 var $49=_fprintf($48,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=7512,tempVarArgs)); STACKTOP=tempVarArgs; //@line 606 "../src/h264bsd_slice_header.c"
 $1=1; //@line 607 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 607 "../src/h264bsd_slice_header.c"
 case 13: 
 label=64;break; //@line 609 "../src/h264bsd_slice_header.c"
 case 14: 
 var $52=$2; //@line 612 "../src/h264bsd_slice_header.c"
 var $53=_h264bsdGetBits($52,1); //@line 612 "../src/h264bsd_slice_header.c"
 $tmp=$53; //@line 612 "../src/h264bsd_slice_header.c"
 var $54=$tmp; //@line 613 "../src/h264bsd_slice_header.c"
 var $55=($54|0)==-1; //@line 613 "../src/h264bsd_slice_header.c"
 if($55){label=15;break;}else{label=16;break;} //@line 613 "../src/h264bsd_slice_header.c"
 case 15: 
 $1=1; //@line 614 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 614 "../src/h264bsd_slice_header.c"
 case 16: 
 var $58=$tmp; //@line 615 "../src/h264bsd_slice_header.c"
 var $59=$3; //@line 615 "../src/h264bsd_slice_header.c"
 var $60=(($59+8)|0); //@line 615 "../src/h264bsd_slice_header.c"
 HEAP32[(($60)>>2)]=$58; //@line 615 "../src/h264bsd_slice_header.c"
 var $61=$3; //@line 616 "../src/h264bsd_slice_header.c"
 var $62=(($61+8)|0); //@line 616 "../src/h264bsd_slice_header.c"
 var $63=HEAP32[(($62)>>2)]; //@line 616 "../src/h264bsd_slice_header.c"
 var $64=($63|0)!=0; //@line 616 "../src/h264bsd_slice_header.c"
 if($64){label=17;break;}else{label=63;break;} //@line 616 "../src/h264bsd_slice_header.c"
 case 17: 
 $i=0; //@line 618 "../src/h264bsd_slice_header.c"
 label=18;break; //@line 619 "../src/h264bsd_slice_header.c"
 case 18: 
 var $67=$i; //@line 623 "../src/h264bsd_slice_header.c"
 var $68=$5; //@line 623 "../src/h264bsd_slice_header.c"
 var $69=($68<<1); //@line 623 "../src/h264bsd_slice_header.c"
 var $70=((($69)+(2))|0); //@line 623 "../src/h264bsd_slice_header.c"
 var $71=($67>>>0)>($70>>>0); //@line 623 "../src/h264bsd_slice_header.c"
 if($71){label=19;break;}else{label=20;break;} //@line 623 "../src/h264bsd_slice_header.c"
 case 19: 
 var $73=HEAP32[((_stderr)>>2)]; //@line 625 "../src/h264bsd_slice_header.c"
 var $74=_fprintf($73,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=7456,tempVarArgs)); STACKTOP=tempVarArgs; //@line 625 "../src/h264bsd_slice_header.c"
 $1=1; //@line 626 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 626 "../src/h264bsd_slice_header.c"
 case 20: 
 var $76=$2; //@line 629 "../src/h264bsd_slice_header.c"
 var $77=_h264bsdDecodeExpGolombUnsigned($76,$operation); //@line 629 "../src/h264bsd_slice_header.c"
 $tmp=$77; //@line 629 "../src/h264bsd_slice_header.c"
 var $78=$tmp; //@line 630 "../src/h264bsd_slice_header.c"
 var $79=($78|0)!=0; //@line 630 "../src/h264bsd_slice_header.c"
 if($79){label=21;break;}else{label=22;break;} //@line 630 "../src/h264bsd_slice_header.c"
 case 21: 
 var $81=$tmp; //@line 631 "../src/h264bsd_slice_header.c"
 $1=$81; //@line 631 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 631 "../src/h264bsd_slice_header.c"
 case 22: 
 var $83=HEAP32[(($operation)>>2)]; //@line 632 "../src/h264bsd_slice_header.c"
 var $84=($83>>>0)>6; //@line 632 "../src/h264bsd_slice_header.c"
 if($84){label=23;break;}else{label=24;break;} //@line 632 "../src/h264bsd_slice_header.c"
 case 23: 
 var $86=HEAP32[((_stderr)>>2)]; //@line 634 "../src/h264bsd_slice_header.c"
 var $87=_fprintf($86,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=7416,tempVarArgs)); STACKTOP=tempVarArgs; //@line 634 "../src/h264bsd_slice_header.c"
 $1=1; //@line 635 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 635 "../src/h264bsd_slice_header.c"
 case 24: 
 var $89=HEAP32[(($operation)>>2)]; //@line 638 "../src/h264bsd_slice_header.c"
 var $90=$i; //@line 638 "../src/h264bsd_slice_header.c"
 var $91=$3; //@line 638 "../src/h264bsd_slice_header.c"
 var $92=(($91+12)|0); //@line 638 "../src/h264bsd_slice_header.c"
 var $93=(($92+((($90)*(20))&-1))|0); //@line 638 "../src/h264bsd_slice_header.c"
 var $94=(($93)|0); //@line 638 "../src/h264bsd_slice_header.c"
 HEAP32[(($94)>>2)]=$89; //@line 638 "../src/h264bsd_slice_header.c"
 var $95=HEAP32[(($operation)>>2)]; //@line 640 "../src/h264bsd_slice_header.c"
 var $96=($95|0)==1; //@line 640 "../src/h264bsd_slice_header.c"
 if($96){label=26;break;}else{label=25;break;} //@line 640 "../src/h264bsd_slice_header.c"
 case 25: 
 var $98=HEAP32[(($operation)>>2)]; //@line 640 "../src/h264bsd_slice_header.c"
 var $99=($98|0)==3; //@line 640 "../src/h264bsd_slice_header.c"
 if($99){label=26;break;}else{label=29;break;} //@line 640 "../src/h264bsd_slice_header.c"
 case 26: 
 var $101=$2; //@line 642 "../src/h264bsd_slice_header.c"
 var $102=_h264bsdDecodeExpGolombUnsigned($101,$value); //@line 642 "../src/h264bsd_slice_header.c"
 $tmp=$102; //@line 642 "../src/h264bsd_slice_header.c"
 var $103=$tmp; //@line 643 "../src/h264bsd_slice_header.c"
 var $104=($103|0)!=0; //@line 643 "../src/h264bsd_slice_header.c"
 if($104){label=27;break;}else{label=28;break;} //@line 643 "../src/h264bsd_slice_header.c"
 case 27: 
 var $106=$tmp; //@line 644 "../src/h264bsd_slice_header.c"
 $1=$106; //@line 644 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 644 "../src/h264bsd_slice_header.c"
 case 28: 
 var $108=HEAP32[(($value)>>2)]; //@line 645 "../src/h264bsd_slice_header.c"
 var $109=((($108)+(1))|0); //@line 645 "../src/h264bsd_slice_header.c"
 var $110=$i; //@line 645 "../src/h264bsd_slice_header.c"
 var $111=$3; //@line 645 "../src/h264bsd_slice_header.c"
 var $112=(($111+12)|0); //@line 645 "../src/h264bsd_slice_header.c"
 var $113=(($112+((($110)*(20))&-1))|0); //@line 645 "../src/h264bsd_slice_header.c"
 var $114=(($113+4)|0); //@line 645 "../src/h264bsd_slice_header.c"
 HEAP32[(($114)>>2)]=$109; //@line 645 "../src/h264bsd_slice_header.c"
 label=29;break; //@line 647 "../src/h264bsd_slice_header.c"
 case 29: 
 var $116=HEAP32[(($operation)>>2)]; //@line 648 "../src/h264bsd_slice_header.c"
 var $117=($116|0)==2; //@line 648 "../src/h264bsd_slice_header.c"
 if($117){label=30;break;}else{label=33;break;} //@line 648 "../src/h264bsd_slice_header.c"
 case 30: 
 var $119=$2; //@line 650 "../src/h264bsd_slice_header.c"
 var $120=_h264bsdDecodeExpGolombUnsigned($119,$value); //@line 650 "../src/h264bsd_slice_header.c"
 $tmp=$120; //@line 650 "../src/h264bsd_slice_header.c"
 var $121=$tmp; //@line 651 "../src/h264bsd_slice_header.c"
 var $122=($121|0)!=0; //@line 651 "../src/h264bsd_slice_header.c"
 if($122){label=31;break;}else{label=32;break;} //@line 651 "../src/h264bsd_slice_header.c"
 case 31: 
 var $124=$tmp; //@line 652 "../src/h264bsd_slice_header.c"
 $1=$124; //@line 652 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 652 "../src/h264bsd_slice_header.c"
 case 32: 
 var $126=HEAP32[(($value)>>2)]; //@line 653 "../src/h264bsd_slice_header.c"
 var $127=$i; //@line 653 "../src/h264bsd_slice_header.c"
 var $128=$3; //@line 653 "../src/h264bsd_slice_header.c"
 var $129=(($128+12)|0); //@line 653 "../src/h264bsd_slice_header.c"
 var $130=(($129+((($127)*(20))&-1))|0); //@line 653 "../src/h264bsd_slice_header.c"
 var $131=(($130+8)|0); //@line 653 "../src/h264bsd_slice_header.c"
 HEAP32[(($131)>>2)]=$126; //@line 653 "../src/h264bsd_slice_header.c"
 label=33;break; //@line 654 "../src/h264bsd_slice_header.c"
 case 33: 
 var $133=HEAP32[(($operation)>>2)]; //@line 655 "../src/h264bsd_slice_header.c"
 var $134=($133|0)==3; //@line 655 "../src/h264bsd_slice_header.c"
 if($134){label=35;break;}else{label=34;break;} //@line 655 "../src/h264bsd_slice_header.c"
 case 34: 
 var $136=HEAP32[(($operation)>>2)]; //@line 655 "../src/h264bsd_slice_header.c"
 var $137=($136|0)==6; //@line 655 "../src/h264bsd_slice_header.c"
 if($137){label=35;break;}else{label=38;break;} //@line 655 "../src/h264bsd_slice_header.c"
 case 35: 
 var $139=$2; //@line 657 "../src/h264bsd_slice_header.c"
 var $140=_h264bsdDecodeExpGolombUnsigned($139,$value); //@line 657 "../src/h264bsd_slice_header.c"
 $tmp=$140; //@line 657 "../src/h264bsd_slice_header.c"
 var $141=$tmp; //@line 658 "../src/h264bsd_slice_header.c"
 var $142=($141|0)!=0; //@line 658 "../src/h264bsd_slice_header.c"
 if($142){label=36;break;}else{label=37;break;} //@line 658 "../src/h264bsd_slice_header.c"
 case 36: 
 var $144=$tmp; //@line 659 "../src/h264bsd_slice_header.c"
 $1=$144; //@line 659 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 659 "../src/h264bsd_slice_header.c"
 case 37: 
 var $146=HEAP32[(($value)>>2)]; //@line 660 "../src/h264bsd_slice_header.c"
 var $147=$i; //@line 660 "../src/h264bsd_slice_header.c"
 var $148=$3; //@line 660 "../src/h264bsd_slice_header.c"
 var $149=(($148+12)|0); //@line 660 "../src/h264bsd_slice_header.c"
 var $150=(($149+((($147)*(20))&-1))|0); //@line 660 "../src/h264bsd_slice_header.c"
 var $151=(($150+12)|0); //@line 660 "../src/h264bsd_slice_header.c"
 HEAP32[(($151)>>2)]=$146; //@line 660 "../src/h264bsd_slice_header.c"
 label=38;break; //@line 662 "../src/h264bsd_slice_header.c"
 case 38: 
 var $153=HEAP32[(($operation)>>2)]; //@line 663 "../src/h264bsd_slice_header.c"
 var $154=($153|0)==4; //@line 663 "../src/h264bsd_slice_header.c"
 if($154){label=39;break;}else{label=47;break;} //@line 663 "../src/h264bsd_slice_header.c"
 case 39: 
 var $156=$2; //@line 665 "../src/h264bsd_slice_header.c"
 var $157=_h264bsdDecodeExpGolombUnsigned($156,$value); //@line 665 "../src/h264bsd_slice_header.c"
 $tmp=$157; //@line 665 "../src/h264bsd_slice_header.c"
 var $158=$tmp; //@line 666 "../src/h264bsd_slice_header.c"
 var $159=($158|0)!=0; //@line 666 "../src/h264bsd_slice_header.c"
 if($159){label=40;break;}else{label=41;break;} //@line 666 "../src/h264bsd_slice_header.c"
 case 40: 
 var $161=$tmp; //@line 667 "../src/h264bsd_slice_header.c"
 $1=$161; //@line 667 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 667 "../src/h264bsd_slice_header.c"
 case 41: 
 var $163=HEAP32[(($value)>>2)]; //@line 669 "../src/h264bsd_slice_header.c"
 var $164=$5; //@line 669 "../src/h264bsd_slice_header.c"
 var $165=($163>>>0)>($164>>>0); //@line 669 "../src/h264bsd_slice_header.c"
 if($165){label=42;break;}else{label=43;break;} //@line 669 "../src/h264bsd_slice_header.c"
 case 42: 
 var $167=HEAP32[((_stderr)>>2)]; //@line 671 "../src/h264bsd_slice_header.c"
 var $168=_fprintf($167,5616,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 8)|0,(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=7368,tempVarArgs)); STACKTOP=tempVarArgs; //@line 671 "../src/h264bsd_slice_header.c"
 $1=1; //@line 672 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 672 "../src/h264bsd_slice_header.c"
 case 43: 
 var $170=HEAP32[(($value)>>2)]; //@line 674 "../src/h264bsd_slice_header.c"
 var $171=($170|0)==0; //@line 674 "../src/h264bsd_slice_header.c"
 if($171){label=44;break;}else{label=45;break;} //@line 674 "../src/h264bsd_slice_header.c"
 case 44: 
 var $173=$i; //@line 676 "../src/h264bsd_slice_header.c"
 var $174=$3; //@line 676 "../src/h264bsd_slice_header.c"
 var $175=(($174+12)|0); //@line 676 "../src/h264bsd_slice_header.c"
 var $176=(($175+((($173)*(20))&-1))|0); //@line 676 "../src/h264bsd_slice_header.c"
 var $177=(($176+16)|0); //@line 676 "../src/h264bsd_slice_header.c"
 HEAP32[(($177)>>2)]=65535; //@line 676 "../src/h264bsd_slice_header.c"
 label=46;break; //@line 679 "../src/h264bsd_slice_header.c"
 case 45: 
 var $179=HEAP32[(($value)>>2)]; //@line 682 "../src/h264bsd_slice_header.c"
 var $180=((($179)-(1))|0); //@line 682 "../src/h264bsd_slice_header.c"
 var $181=$i; //@line 682 "../src/h264bsd_slice_header.c"
 var $182=$3; //@line 682 "../src/h264bsd_slice_header.c"
 var $183=(($182+12)|0); //@line 682 "../src/h264bsd_slice_header.c"
 var $184=(($183+((($181)*(20))&-1))|0); //@line 682 "../src/h264bsd_slice_header.c"
 var $185=(($184+16)|0); //@line 682 "../src/h264bsd_slice_header.c"
 HEAP32[(($185)>>2)]=$180; //@line 682 "../src/h264bsd_slice_header.c"
 label=46;break;
 case 46: 
 var $187=$num4; //@line 685 "../src/h264bsd_slice_header.c"
 var $188=((($187)+(1))|0); //@line 685 "../src/h264bsd_slice_header.c"
 $num4=$188; //@line 685 "../src/h264bsd_slice_header.c"
 label=47;break; //@line 686 "../src/h264bsd_slice_header.c"
 case 47: 
 var $190=HEAP32[(($operation)>>2)]; //@line 687 "../src/h264bsd_slice_header.c"
 var $191=($190|0)==5; //@line 687 "../src/h264bsd_slice_header.c"
 if($191){label=48;break;}else{label=49;break;} //@line 687 "../src/h264bsd_slice_header.c"
 case 48: 
 var $193=$num5; //@line 689 "../src/h264bsd_slice_header.c"
 var $194=((($193)+(1))|0); //@line 689 "../src/h264bsd_slice_header.c"
 $num5=$194; //@line 689 "../src/h264bsd_slice_header.c"
 label=49;break; //@line 690 "../src/h264bsd_slice_header.c"
 case 49: 
 var $196=HEAP32[(($operation)>>2)]; //@line 691 "../src/h264bsd_slice_header.c"
 var $197=($196|0)!=0; //@line 691 "../src/h264bsd_slice_header.c"
 if($197){label=50;break;}else{label=52;break;} //@line 691 "../src/h264bsd_slice_header.c"
 case 50: 
 var $199=HEAP32[(($operation)>>2)]; //@line 691 "../src/h264bsd_slice_header.c"
 var $200=($199>>>0)<=3; //@line 691 "../src/h264bsd_slice_header.c"
 if($200){label=51;break;}else{label=52;break;} //@line 691 "../src/h264bsd_slice_header.c"
 case 51: 
 var $202=$num1to3; //@line 692 "../src/h264bsd_slice_header.c"
 var $203=((($202)+(1))|0); //@line 692 "../src/h264bsd_slice_header.c"
 $num1to3=$203; //@line 692 "../src/h264bsd_slice_header.c"
 label=52;break; //@line 692 "../src/h264bsd_slice_header.c"
 case 52: 
 var $205=HEAP32[(($operation)>>2)]; //@line 693 "../src/h264bsd_slice_header.c"
 var $206=($205|0)==6; //@line 693 "../src/h264bsd_slice_header.c"
 if($206){label=53;break;}else{label=54;break;} //@line 693 "../src/h264bsd_slice_header.c"
 case 53: 
 var $208=$num6; //@line 694 "../src/h264bsd_slice_header.c"
 var $209=((($208)+(1))|0); //@line 694 "../src/h264bsd_slice_header.c"
 $num6=$209; //@line 694 "../src/h264bsd_slice_header.c"
 label=54;break; //@line 694 "../src/h264bsd_slice_header.c"
 case 54: 
 var $211=$i; //@line 696 "../src/h264bsd_slice_header.c"
 var $212=((($211)+(1))|0); //@line 696 "../src/h264bsd_slice_header.c"
 $i=$212; //@line 696 "../src/h264bsd_slice_header.c"
 label=55;break; //@line 697 "../src/h264bsd_slice_header.c"
 case 55: 
 var $214=HEAP32[(($operation)>>2)]; //@line 697 "../src/h264bsd_slice_header.c"
 var $215=($214|0)!=0; //@line 697 "../src/h264bsd_slice_header.c"
 if($215){label=18;break;}else{label=56;break;} //@line 697 "../src/h264bsd_slice_header.c"
 case 56: 
 var $217=$num4; //@line 700 "../src/h264bsd_slice_header.c"
 var $218=($217>>>0)>1; //@line 700 "../src/h264bsd_slice_header.c"
 if($218){label=61;break;}else{label=57;break;} //@line 700 "../src/h264bsd_slice_header.c"
 case 57: 
 var $220=$num5; //@line 700 "../src/h264bsd_slice_header.c"
 var $221=($220>>>0)>1; //@line 700 "../src/h264bsd_slice_header.c"
 if($221){label=61;break;}else{label=58;break;} //@line 700 "../src/h264bsd_slice_header.c"
 case 58: 
 var $223=$num6; //@line 700 "../src/h264bsd_slice_header.c"
 var $224=($223>>>0)>1; //@line 700 "../src/h264bsd_slice_header.c"
 if($224){label=61;break;}else{label=59;break;} //@line 700 "../src/h264bsd_slice_header.c"
 case 59: 
 var $226=$num1to3; //@line 700 "../src/h264bsd_slice_header.c"
 var $227=($226|0)!=0; //@line 700 "../src/h264bsd_slice_header.c"
 if($227){label=60;break;}else{label=62;break;} //@line 700 "../src/h264bsd_slice_header.c"
 case 60: 
 var $229=$num5; //@line 700 "../src/h264bsd_slice_header.c"
 var $230=($229|0)!=0; //@line 700 "../src/h264bsd_slice_header.c"
 if($230){label=61;break;}else{label=62;break;} //@line 700 "../src/h264bsd_slice_header.c"
 case 61: 
 $1=1; //@line 701 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 701 "../src/h264bsd_slice_header.c"
 case 62: 
 label=63;break; //@line 703 "../src/h264bsd_slice_header.c"
 case 63: 
 label=64;break;
 case 64: 
 $1=0; //@line 706 "../src/h264bsd_slice_header.c"
 label=65;break; //@line 706 "../src/h264bsd_slice_header.c"
 case 65: 
 var $236=$1; //@line 707 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $236; //@line 707 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _NumSliceGroupChangeCycleBits($picSizeInMbs,$sliceGroupChangeRate){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $tmp;
 var $numBits;
 var $mask;
 $1=$picSizeInMbs;
 $2=$sliceGroupChangeRate;
 var $3=$1; //@line 419 "../src/h264bsd_slice_header.c"
 var $4=($3|0)!=0; //@line 419 "../src/h264bsd_slice_header.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 419 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(6616,11000,419,15136); //@line 419 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 419 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 419 "../src/h264bsd_slice_header.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 419 "../src/h264bsd_slice_header.c"
 var $10=$2; //@line 420 "../src/h264bsd_slice_header.c"
 var $11=($10|0)!=0; //@line 420 "../src/h264bsd_slice_header.c"
 if($11){var $15=1;label=5;break;}else{label=4;break;} //@line 420 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(6528,11000,420,15136); //@line 420 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 420 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 420 "../src/h264bsd_slice_header.c"
 case 5: 
 var $15;
 var $16=($15&1); //@line 420 "../src/h264bsd_slice_header.c"
 var $17=$2; //@line 421 "../src/h264bsd_slice_header.c"
 var $18=$1; //@line 421 "../src/h264bsd_slice_header.c"
 var $19=($17>>>0)<=($18>>>0); //@line 421 "../src/h264bsd_slice_header.c"
 if($19){var $23=1;label=7;break;}else{label=6;break;} //@line 421 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(6472,11000,421,15136); //@line 421 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 421 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 421 "../src/h264bsd_slice_header.c"
 case 7: 
 var $23;
 var $24=($23&1); //@line 421 "../src/h264bsd_slice_header.c"
 var $25=$1; //@line 424 "../src/h264bsd_slice_header.c"
 var $26=$2; //@line 424 "../src/h264bsd_slice_header.c"
 var $27=(((($25>>>0))%(($26>>>0)))&-1); //@line 424 "../src/h264bsd_slice_header.c"
 var $28=($27|0)!=0; //@line 424 "../src/h264bsd_slice_header.c"
 if($28){label=8;break;}else{label=9;break;} //@line 424 "../src/h264bsd_slice_header.c"
 case 8: 
 var $30=$1; //@line 425 "../src/h264bsd_slice_header.c"
 var $31=$2; //@line 425 "../src/h264bsd_slice_header.c"
 var $32=(((($30>>>0))/(($31>>>0)))&-1); //@line 425 "../src/h264bsd_slice_header.c"
 var $33=((($32)+(2))|0); //@line 425 "../src/h264bsd_slice_header.c"
 $tmp=$33; //@line 425 "../src/h264bsd_slice_header.c"
 label=10;break; //@line 425 "../src/h264bsd_slice_header.c"
 case 9: 
 var $35=$1; //@line 427 "../src/h264bsd_slice_header.c"
 var $36=$2; //@line 427 "../src/h264bsd_slice_header.c"
 var $37=(((($35>>>0))/(($36>>>0)))&-1); //@line 427 "../src/h264bsd_slice_header.c"
 var $38=((($37)+(1))|0); //@line 427 "../src/h264bsd_slice_header.c"
 $tmp=$38; //@line 427 "../src/h264bsd_slice_header.c"
 label=10;break;
 case 10: 
 $numBits=0; //@line 429 "../src/h264bsd_slice_header.c"
 $mask=-1; //@line 430 "../src/h264bsd_slice_header.c"
 label=11;break; //@line 433 "../src/h264bsd_slice_header.c"
 case 11: 
 var $41=$tmp; //@line 433 "../src/h264bsd_slice_header.c"
 var $42=$mask; //@line 433 "../src/h264bsd_slice_header.c"
 var $43=$numBits; //@line 433 "../src/h264bsd_slice_header.c"
 var $44=((($43)+(1))|0); //@line 433 "../src/h264bsd_slice_header.c"
 $numBits=$44; //@line 433 "../src/h264bsd_slice_header.c"
 var $45=$42<<$44; //@line 433 "../src/h264bsd_slice_header.c"
 var $46=$41&$45; //@line 433 "../src/h264bsd_slice_header.c"
 var $47=($46|0)!=0; //@line 433 "../src/h264bsd_slice_header.c"
 if($47){label=12;break;}else{label=13;break;} //@line 433 "../src/h264bsd_slice_header.c"
 case 12: 
 label=11;break; //@line 433 "../src/h264bsd_slice_header.c"
 case 13: 
 var $50=$numBits; //@line 435 "../src/h264bsd_slice_header.c"
 var $51=((($50)-(1))|0); //@line 435 "../src/h264bsd_slice_header.c"
 $numBits=$51; //@line 435 "../src/h264bsd_slice_header.c"
 var $52=$tmp; //@line 438 "../src/h264bsd_slice_header.c"
 var $53=$numBits; //@line 438 "../src/h264bsd_slice_header.c"
 var $54=1<<$53; //@line 438 "../src/h264bsd_slice_header.c"
 var $55=((($54)-(1))|0); //@line 438 "../src/h264bsd_slice_header.c"
 var $56=$52&$55; //@line 438 "../src/h264bsd_slice_header.c"
 var $57=($56|0)!=0; //@line 438 "../src/h264bsd_slice_header.c"
 if($57){label=14;break;}else{label=15;break;} //@line 438 "../src/h264bsd_slice_header.c"
 case 14: 
 var $59=$numBits; //@line 439 "../src/h264bsd_slice_header.c"
 var $60=((($59)+(1))|0); //@line 439 "../src/h264bsd_slice_header.c"
 $numBits=$60; //@line 439 "../src/h264bsd_slice_header.c"
 label=15;break; //@line 439 "../src/h264bsd_slice_header.c"
 case 15: 
 var $62=$numBits; //@line 441 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $62; //@line 441 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckPpsId($pStrmData,$picParamSetId){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+32)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 var $value=sp;
 var $tmpStrmData=(sp)+(8);
 $2=$pStrmData;
 $3=$picParamSetId;
 var $4=$2; //@line 741 "../src/h264bsd_slice_header.c"
 var $5=($4|0)!=0; //@line 741 "../src/h264bsd_slice_header.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 741 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,741,14712); //@line 741 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 741 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 741 "../src/h264bsd_slice_header.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 741 "../src/h264bsd_slice_header.c"
 var $11=(($tmpStrmData)|0); //@line 744 "../src/h264bsd_slice_header.c"
 var $12=$2; //@line 744 "../src/h264bsd_slice_header.c"
 var $13=$11; //@line 744 "../src/h264bsd_slice_header.c"
 var $14=$12; //@line 744 "../src/h264bsd_slice_header.c"
 assert(20 % 1 === 0);HEAP32[(($13)>>2)]=HEAP32[(($14)>>2)];HEAP32[((($13)+(4))>>2)]=HEAP32[((($14)+(4))>>2)];HEAP32[((($13)+(8))>>2)]=HEAP32[((($14)+(8))>>2)];HEAP32[((($13)+(12))>>2)]=HEAP32[((($14)+(12))>>2)];HEAP32[((($13)+(16))>>2)]=HEAP32[((($14)+(16))>>2)]; //@line 744 "../src/h264bsd_slice_header.c"
 var $15=(($tmpStrmData)|0); //@line 747 "../src/h264bsd_slice_header.c"
 var $16=_h264bsdDecodeExpGolombUnsigned($15,$value); //@line 747 "../src/h264bsd_slice_header.c"
 $tmp=$16; //@line 747 "../src/h264bsd_slice_header.c"
 var $17=$tmp; //@line 748 "../src/h264bsd_slice_header.c"
 var $18=($17|0)!=0; //@line 748 "../src/h264bsd_slice_header.c"
 if($18){label=4;break;}else{label=5;break;} //@line 748 "../src/h264bsd_slice_header.c"
 case 4: 
 var $20=$tmp; //@line 749 "../src/h264bsd_slice_header.c"
 $1=$20; //@line 749 "../src/h264bsd_slice_header.c"
 label=12;break; //@line 749 "../src/h264bsd_slice_header.c"
 case 5: 
 var $22=(($tmpStrmData)|0); //@line 752 "../src/h264bsd_slice_header.c"
 var $23=_h264bsdDecodeExpGolombUnsigned($22,$value); //@line 752 "../src/h264bsd_slice_header.c"
 $tmp=$23; //@line 752 "../src/h264bsd_slice_header.c"
 var $24=$tmp; //@line 753 "../src/h264bsd_slice_header.c"
 var $25=($24|0)!=0; //@line 753 "../src/h264bsd_slice_header.c"
 if($25){label=6;break;}else{label=7;break;} //@line 753 "../src/h264bsd_slice_header.c"
 case 6: 
 var $27=$tmp; //@line 754 "../src/h264bsd_slice_header.c"
 $1=$27; //@line 754 "../src/h264bsd_slice_header.c"
 label=12;break; //@line 754 "../src/h264bsd_slice_header.c"
 case 7: 
 var $29=(($tmpStrmData)|0); //@line 756 "../src/h264bsd_slice_header.c"
 var $30=_h264bsdDecodeExpGolombUnsigned($29,$value); //@line 756 "../src/h264bsd_slice_header.c"
 $tmp=$30; //@line 756 "../src/h264bsd_slice_header.c"
 var $31=$tmp; //@line 757 "../src/h264bsd_slice_header.c"
 var $32=($31|0)!=0; //@line 757 "../src/h264bsd_slice_header.c"
 if($32){label=8;break;}else{label=9;break;} //@line 757 "../src/h264bsd_slice_header.c"
 case 8: 
 var $34=$tmp; //@line 758 "../src/h264bsd_slice_header.c"
 $1=$34; //@line 758 "../src/h264bsd_slice_header.c"
 label=12;break; //@line 758 "../src/h264bsd_slice_header.c"
 case 9: 
 var $36=HEAP32[(($value)>>2)]; //@line 759 "../src/h264bsd_slice_header.c"
 var $37=($36>>>0)>=256; //@line 759 "../src/h264bsd_slice_header.c"
 if($37){label=10;break;}else{label=11;break;} //@line 759 "../src/h264bsd_slice_header.c"
 case 10: 
 $1=1; //@line 760 "../src/h264bsd_slice_header.c"
 label=12;break; //@line 760 "../src/h264bsd_slice_header.c"
 case 11: 
 var $40=HEAP32[(($value)>>2)]; //@line 762 "../src/h264bsd_slice_header.c"
 var $41=$3; //@line 762 "../src/h264bsd_slice_header.c"
 HEAP32[(($41)>>2)]=$40; //@line 762 "../src/h264bsd_slice_header.c"
 $1=0; //@line 764 "../src/h264bsd_slice_header.c"
 label=12;break; //@line 764 "../src/h264bsd_slice_header.c"
 case 12: 
 var $43=$1; //@line 766 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $43; //@line 766 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckFrameNum($pStrmData,$maxFrameNum,$frameNum){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+32)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $tmp;
 var $value=sp;
 var $i;
 var $tmpStrmData=(sp)+(8);
 $2=$pStrmData;
 $3=$maxFrameNum;
 $4=$frameNum;
 var $5=$2; //@line 804 "../src/h264bsd_slice_header.c"
 var $6=($5|0)!=0; //@line 804 "../src/h264bsd_slice_header.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 804 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,804,14824); //@line 804 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 804 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 804 "../src/h264bsd_slice_header.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 804 "../src/h264bsd_slice_header.c"
 var $12=$3; //@line 805 "../src/h264bsd_slice_header.c"
 var $13=($12|0)!=0; //@line 805 "../src/h264bsd_slice_header.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 805 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(9432,11000,805,14824); //@line 805 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 805 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 805 "../src/h264bsd_slice_header.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 805 "../src/h264bsd_slice_header.c"
 var $19=$4; //@line 806 "../src/h264bsd_slice_header.c"
 var $20=($19|0)!=0; //@line 806 "../src/h264bsd_slice_header.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 806 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(9208,11000,806,14824); //@line 806 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 806 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 806 "../src/h264bsd_slice_header.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 806 "../src/h264bsd_slice_header.c"
 var $26=(($tmpStrmData)|0); //@line 809 "../src/h264bsd_slice_header.c"
 var $27=$2; //@line 809 "../src/h264bsd_slice_header.c"
 var $28=$26; //@line 809 "../src/h264bsd_slice_header.c"
 var $29=$27; //@line 809 "../src/h264bsd_slice_header.c"
 assert(20 % 1 === 0);HEAP32[(($28)>>2)]=HEAP32[(($29)>>2)];HEAP32[((($28)+(4))>>2)]=HEAP32[((($29)+(4))>>2)];HEAP32[((($28)+(8))>>2)]=HEAP32[((($29)+(8))>>2)];HEAP32[((($28)+(12))>>2)]=HEAP32[((($29)+(12))>>2)];HEAP32[((($28)+(16))>>2)]=HEAP32[((($29)+(16))>>2)]; //@line 809 "../src/h264bsd_slice_header.c"
 var $30=(($tmpStrmData)|0); //@line 812 "../src/h264bsd_slice_header.c"
 var $31=_h264bsdDecodeExpGolombUnsigned($30,$value); //@line 812 "../src/h264bsd_slice_header.c"
 $tmp=$31; //@line 812 "../src/h264bsd_slice_header.c"
 var $32=$tmp; //@line 813 "../src/h264bsd_slice_header.c"
 var $33=($32|0)!=0; //@line 813 "../src/h264bsd_slice_header.c"
 if($33){label=8;break;}else{label=9;break;} //@line 813 "../src/h264bsd_slice_header.c"
 case 8: 
 var $35=$tmp; //@line 814 "../src/h264bsd_slice_header.c"
 $1=$35; //@line 814 "../src/h264bsd_slice_header.c"
 label=19;break; //@line 814 "../src/h264bsd_slice_header.c"
 case 9: 
 var $37=(($tmpStrmData)|0); //@line 817 "../src/h264bsd_slice_header.c"
 var $38=_h264bsdDecodeExpGolombUnsigned($37,$value); //@line 817 "../src/h264bsd_slice_header.c"
 $tmp=$38; //@line 817 "../src/h264bsd_slice_header.c"
 var $39=$tmp; //@line 818 "../src/h264bsd_slice_header.c"
 var $40=($39|0)!=0; //@line 818 "../src/h264bsd_slice_header.c"
 if($40){label=10;break;}else{label=11;break;} //@line 818 "../src/h264bsd_slice_header.c"
 case 10: 
 var $42=$tmp; //@line 819 "../src/h264bsd_slice_header.c"
 $1=$42; //@line 819 "../src/h264bsd_slice_header.c"
 label=19;break; //@line 819 "../src/h264bsd_slice_header.c"
 case 11: 
 var $44=(($tmpStrmData)|0); //@line 822 "../src/h264bsd_slice_header.c"
 var $45=_h264bsdDecodeExpGolombUnsigned($44,$value); //@line 822 "../src/h264bsd_slice_header.c"
 $tmp=$45; //@line 822 "../src/h264bsd_slice_header.c"
 var $46=$tmp; //@line 823 "../src/h264bsd_slice_header.c"
 var $47=($46|0)!=0; //@line 823 "../src/h264bsd_slice_header.c"
 if($47){label=12;break;}else{label=13;break;} //@line 823 "../src/h264bsd_slice_header.c"
 case 12: 
 var $49=$tmp; //@line 824 "../src/h264bsd_slice_header.c"
 $1=$49; //@line 824 "../src/h264bsd_slice_header.c"
 label=19;break; //@line 824 "../src/h264bsd_slice_header.c"
 case 13: 
 $i=0; //@line 827 "../src/h264bsd_slice_header.c"
 label=14;break; //@line 828 "../src/h264bsd_slice_header.c"
 case 14: 
 var $52=$3; //@line 828 "../src/h264bsd_slice_header.c"
 var $53=$i; //@line 828 "../src/h264bsd_slice_header.c"
 var $54=$52>>>($53>>>0); //@line 828 "../src/h264bsd_slice_header.c"
 var $55=($54|0)!=0; //@line 828 "../src/h264bsd_slice_header.c"
 if($55){label=15;break;}else{label=16;break;} //@line 828 "../src/h264bsd_slice_header.c"
 case 15: 
 var $57=$i; //@line 829 "../src/h264bsd_slice_header.c"
 var $58=((($57)+(1))|0); //@line 829 "../src/h264bsd_slice_header.c"
 $i=$58; //@line 829 "../src/h264bsd_slice_header.c"
 label=14;break; //@line 829 "../src/h264bsd_slice_header.c"
 case 16: 
 var $60=$i; //@line 830 "../src/h264bsd_slice_header.c"
 var $61=((($60)-(1))|0); //@line 830 "../src/h264bsd_slice_header.c"
 $i=$61; //@line 830 "../src/h264bsd_slice_header.c"
 var $62=(($tmpStrmData)|0); //@line 833 "../src/h264bsd_slice_header.c"
 var $63=$i; //@line 833 "../src/h264bsd_slice_header.c"
 var $64=_h264bsdGetBits($62,$63); //@line 833 "../src/h264bsd_slice_header.c"
 $tmp=$64; //@line 833 "../src/h264bsd_slice_header.c"
 var $65=$tmp; //@line 834 "../src/h264bsd_slice_header.c"
 var $66=($65|0)==-1; //@line 834 "../src/h264bsd_slice_header.c"
 if($66){label=17;break;}else{label=18;break;} //@line 834 "../src/h264bsd_slice_header.c"
 case 17: 
 $1=1; //@line 835 "../src/h264bsd_slice_header.c"
 label=19;break; //@line 835 "../src/h264bsd_slice_header.c"
 case 18: 
 var $69=$tmp; //@line 836 "../src/h264bsd_slice_header.c"
 var $70=$4; //@line 836 "../src/h264bsd_slice_header.c"
 HEAP32[(($70)>>2)]=$69; //@line 836 "../src/h264bsd_slice_header.c"
 $1=0; //@line 838 "../src/h264bsd_slice_header.c"
 label=19;break; //@line 838 "../src/h264bsd_slice_header.c"
 case 19: 
 var $72=$1; //@line 840 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $72; //@line 840 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckIdrPicId($pStrmData,$maxFrameNum,$nalUnitType,$idrPicId){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+32)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $value=sp;
 var $i;
 var $tmpStrmData=(sp)+(8);
 $2=$pStrmData;
 $3=$maxFrameNum;
 $4=$nalUnitType;
 $5=$idrPicId;
 var $6=$2; //@line 880 "../src/h264bsd_slice_header.c"
 var $7=($6|0)!=0; //@line 880 "../src/h264bsd_slice_header.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 880 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,880,14768); //@line 880 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 880 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 880 "../src/h264bsd_slice_header.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 880 "../src/h264bsd_slice_header.c"
 var $13=$3; //@line 881 "../src/h264bsd_slice_header.c"
 var $14=($13|0)!=0; //@line 881 "../src/h264bsd_slice_header.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 881 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(9432,11000,881,14768); //@line 881 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 881 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 881 "../src/h264bsd_slice_header.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 881 "../src/h264bsd_slice_header.c"
 var $20=$5; //@line 882 "../src/h264bsd_slice_header.c"
 var $21=($20|0)!=0; //@line 882 "../src/h264bsd_slice_header.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 882 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(9048,11000,882,14768); //@line 882 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 882 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 882 "../src/h264bsd_slice_header.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 882 "../src/h264bsd_slice_header.c"
 var $27=$4; //@line 886 "../src/h264bsd_slice_header.c"
 var $28=($27|0)!=5; //@line 886 "../src/h264bsd_slice_header.c"
 if($28){label=8;break;}else{label=9;break;} //@line 886 "../src/h264bsd_slice_header.c"
 case 8: 
 $1=1; //@line 887 "../src/h264bsd_slice_header.c"
 label=23;break; //@line 887 "../src/h264bsd_slice_header.c"
 case 9: 
 var $31=(($tmpStrmData)|0); //@line 890 "../src/h264bsd_slice_header.c"
 var $32=$2; //@line 890 "../src/h264bsd_slice_header.c"
 var $33=$31; //@line 890 "../src/h264bsd_slice_header.c"
 var $34=$32; //@line 890 "../src/h264bsd_slice_header.c"
 assert(20 % 1 === 0);HEAP32[(($33)>>2)]=HEAP32[(($34)>>2)];HEAP32[((($33)+(4))>>2)]=HEAP32[((($34)+(4))>>2)];HEAP32[((($33)+(8))>>2)]=HEAP32[((($34)+(8))>>2)];HEAP32[((($33)+(12))>>2)]=HEAP32[((($34)+(12))>>2)];HEAP32[((($33)+(16))>>2)]=HEAP32[((($34)+(16))>>2)]; //@line 890 "../src/h264bsd_slice_header.c"
 var $35=(($tmpStrmData)|0); //@line 893 "../src/h264bsd_slice_header.c"
 var $36=_h264bsdDecodeExpGolombUnsigned($35,$value); //@line 893 "../src/h264bsd_slice_header.c"
 $tmp=$36; //@line 893 "../src/h264bsd_slice_header.c"
 var $37=$tmp; //@line 894 "../src/h264bsd_slice_header.c"
 var $38=($37|0)!=0; //@line 894 "../src/h264bsd_slice_header.c"
 if($38){label=10;break;}else{label=11;break;} //@line 894 "../src/h264bsd_slice_header.c"
 case 10: 
 var $40=$tmp; //@line 895 "../src/h264bsd_slice_header.c"
 $1=$40; //@line 895 "../src/h264bsd_slice_header.c"
 label=23;break; //@line 895 "../src/h264bsd_slice_header.c"
 case 11: 
 var $42=(($tmpStrmData)|0); //@line 898 "../src/h264bsd_slice_header.c"
 var $43=_h264bsdDecodeExpGolombUnsigned($42,$value); //@line 898 "../src/h264bsd_slice_header.c"
 $tmp=$43; //@line 898 "../src/h264bsd_slice_header.c"
 var $44=$tmp; //@line 899 "../src/h264bsd_slice_header.c"
 var $45=($44|0)!=0; //@line 899 "../src/h264bsd_slice_header.c"
 if($45){label=12;break;}else{label=13;break;} //@line 899 "../src/h264bsd_slice_header.c"
 case 12: 
 var $47=$tmp; //@line 900 "../src/h264bsd_slice_header.c"
 $1=$47; //@line 900 "../src/h264bsd_slice_header.c"
 label=23;break; //@line 900 "../src/h264bsd_slice_header.c"
 case 13: 
 var $49=(($tmpStrmData)|0); //@line 903 "../src/h264bsd_slice_header.c"
 var $50=_h264bsdDecodeExpGolombUnsigned($49,$value); //@line 903 "../src/h264bsd_slice_header.c"
 $tmp=$50; //@line 903 "../src/h264bsd_slice_header.c"
 var $51=$tmp; //@line 904 "../src/h264bsd_slice_header.c"
 var $52=($51|0)!=0; //@line 904 "../src/h264bsd_slice_header.c"
 if($52){label=14;break;}else{label=15;break;} //@line 904 "../src/h264bsd_slice_header.c"
 case 14: 
 var $54=$tmp; //@line 905 "../src/h264bsd_slice_header.c"
 $1=$54; //@line 905 "../src/h264bsd_slice_header.c"
 label=23;break; //@line 905 "../src/h264bsd_slice_header.c"
 case 15: 
 $i=0; //@line 908 "../src/h264bsd_slice_header.c"
 label=16;break; //@line 909 "../src/h264bsd_slice_header.c"
 case 16: 
 var $57=$3; //@line 909 "../src/h264bsd_slice_header.c"
 var $58=$i; //@line 909 "../src/h264bsd_slice_header.c"
 var $59=$57>>>($58>>>0); //@line 909 "../src/h264bsd_slice_header.c"
 var $60=($59|0)!=0; //@line 909 "../src/h264bsd_slice_header.c"
 if($60){label=17;break;}else{label=18;break;} //@line 909 "../src/h264bsd_slice_header.c"
 case 17: 
 var $62=$i; //@line 910 "../src/h264bsd_slice_header.c"
 var $63=((($62)+(1))|0); //@line 910 "../src/h264bsd_slice_header.c"
 $i=$63; //@line 910 "../src/h264bsd_slice_header.c"
 label=16;break; //@line 910 "../src/h264bsd_slice_header.c"
 case 18: 
 var $65=$i; //@line 911 "../src/h264bsd_slice_header.c"
 var $66=((($65)-(1))|0); //@line 911 "../src/h264bsd_slice_header.c"
 $i=$66; //@line 911 "../src/h264bsd_slice_header.c"
 var $67=(($tmpStrmData)|0); //@line 914 "../src/h264bsd_slice_header.c"
 var $68=$i; //@line 914 "../src/h264bsd_slice_header.c"
 var $69=_h264bsdGetBits($67,$68); //@line 914 "../src/h264bsd_slice_header.c"
 $tmp=$69; //@line 914 "../src/h264bsd_slice_header.c"
 var $70=$tmp; //@line 915 "../src/h264bsd_slice_header.c"
 var $71=($70|0)==-1; //@line 915 "../src/h264bsd_slice_header.c"
 if($71){label=19;break;}else{label=20;break;} //@line 915 "../src/h264bsd_slice_header.c"
 case 19: 
 $1=1; //@line 916 "../src/h264bsd_slice_header.c"
 label=23;break; //@line 916 "../src/h264bsd_slice_header.c"
 case 20: 
 var $74=(($tmpStrmData)|0); //@line 919 "../src/h264bsd_slice_header.c"
 var $75=$5; //@line 919 "../src/h264bsd_slice_header.c"
 var $76=_h264bsdDecodeExpGolombUnsigned($74,$75); //@line 919 "../src/h264bsd_slice_header.c"
 $tmp=$76; //@line 919 "../src/h264bsd_slice_header.c"
 var $77=$tmp; //@line 920 "../src/h264bsd_slice_header.c"
 var $78=($77|0)!=0; //@line 920 "../src/h264bsd_slice_header.c"
 if($78){label=21;break;}else{label=22;break;} //@line 920 "../src/h264bsd_slice_header.c"
 case 21: 
 var $80=$tmp; //@line 921 "../src/h264bsd_slice_header.c"
 $1=$80; //@line 921 "../src/h264bsd_slice_header.c"
 label=23;break; //@line 921 "../src/h264bsd_slice_header.c"
 case 22: 
 $1=0; //@line 923 "../src/h264bsd_slice_header.c"
 label=23;break; //@line 923 "../src/h264bsd_slice_header.c"
 case 23: 
 var $83=$1; //@line 925 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $83; //@line 925 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckPicOrderCntLsb($pStrmData,$pSeqParamSet,$nalUnitType,$picOrderCntLsb){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+32)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $value=sp;
 var $i;
 var $tmpStrmData=(sp)+(8);
 $2=$pStrmData;
 $3=$pSeqParamSet;
 $4=$nalUnitType;
 $5=$picOrderCntLsb;
 var $6=$2; //@line 965 "../src/h264bsd_slice_header.c"
 var $7=($6|0)!=0; //@line 965 "../src/h264bsd_slice_header.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 965 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,965,14736); //@line 965 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 965 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 965 "../src/h264bsd_slice_header.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 965 "../src/h264bsd_slice_header.c"
 var $13=$3; //@line 966 "../src/h264bsd_slice_header.c"
 var $14=($13|0)!=0; //@line 966 "../src/h264bsd_slice_header.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 966 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(7872,11000,966,14736); //@line 966 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 966 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 966 "../src/h264bsd_slice_header.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 966 "../src/h264bsd_slice_header.c"
 var $20=$5; //@line 967 "../src/h264bsd_slice_header.c"
 var $21=($20|0)!=0; //@line 967 "../src/h264bsd_slice_header.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 967 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(8912,11000,967,14736); //@line 967 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 967 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 967 "../src/h264bsd_slice_header.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 967 "../src/h264bsd_slice_header.c"
 var $27=$3; //@line 970 "../src/h264bsd_slice_header.c"
 var $28=(($27+16)|0); //@line 970 "../src/h264bsd_slice_header.c"
 var $29=HEAP32[(($28)>>2)]; //@line 970 "../src/h264bsd_slice_header.c"
 var $30=($29|0)==0; //@line 970 "../src/h264bsd_slice_header.c"
 if($30){var $34=1;label=9;break;}else{label=8;break;} //@line 970 "../src/h264bsd_slice_header.c"
 case 8: 
 ___assert_fail(8768,11000,970,14736); //@line 970 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 970 "../src/h264bsd_slice_header.c"
 label=9;break; //@line 970 "../src/h264bsd_slice_header.c"
 case 9: 
 var $34;
 var $35=($34&1); //@line 970 "../src/h264bsd_slice_header.c"
 var $36=$3; //@line 971 "../src/h264bsd_slice_header.c"
 var $37=(($36+12)|0); //@line 971 "../src/h264bsd_slice_header.c"
 var $38=HEAP32[(($37)>>2)]; //@line 971 "../src/h264bsd_slice_header.c"
 var $39=($38|0)!=0; //@line 971 "../src/h264bsd_slice_header.c"
 if($39){var $43=1;label=11;break;}else{label=10;break;} //@line 971 "../src/h264bsd_slice_header.c"
 case 10: 
 ___assert_fail(8664,11000,971,14736); //@line 971 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 971 "../src/h264bsd_slice_header.c"
 label=11;break; //@line 971 "../src/h264bsd_slice_header.c"
 case 11: 
 var $43;
 var $44=($43&1); //@line 971 "../src/h264bsd_slice_header.c"
 var $45=$3; //@line 972 "../src/h264bsd_slice_header.c"
 var $46=(($45+20)|0); //@line 972 "../src/h264bsd_slice_header.c"
 var $47=HEAP32[(($46)>>2)]; //@line 972 "../src/h264bsd_slice_header.c"
 var $48=($47|0)!=0; //@line 972 "../src/h264bsd_slice_header.c"
 if($48){var $52=1;label=13;break;}else{label=12;break;} //@line 972 "../src/h264bsd_slice_header.c"
 case 12: 
 ___assert_fail(8544,11000,972,14736); //@line 972 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 972 "../src/h264bsd_slice_header.c"
 label=13;break; //@line 972 "../src/h264bsd_slice_header.c"
 case 13: 
 var $52;
 var $53=($52&1); //@line 972 "../src/h264bsd_slice_header.c"
 var $54=(($tmpStrmData)|0); //@line 975 "../src/h264bsd_slice_header.c"
 var $55=$2; //@line 975 "../src/h264bsd_slice_header.c"
 var $56=$54; //@line 975 "../src/h264bsd_slice_header.c"
 var $57=$55; //@line 975 "../src/h264bsd_slice_header.c"
 assert(20 % 1 === 0);HEAP32[(($56)>>2)]=HEAP32[(($57)>>2)];HEAP32[((($56)+(4))>>2)]=HEAP32[((($57)+(4))>>2)];HEAP32[((($56)+(8))>>2)]=HEAP32[((($57)+(8))>>2)];HEAP32[((($56)+(12))>>2)]=HEAP32[((($57)+(12))>>2)];HEAP32[((($56)+(16))>>2)]=HEAP32[((($57)+(16))>>2)]; //@line 975 "../src/h264bsd_slice_header.c"
 var $58=(($tmpStrmData)|0); //@line 978 "../src/h264bsd_slice_header.c"
 var $59=_h264bsdDecodeExpGolombUnsigned($58,$value); //@line 978 "../src/h264bsd_slice_header.c"
 $tmp=$59; //@line 978 "../src/h264bsd_slice_header.c"
 var $60=$tmp; //@line 979 "../src/h264bsd_slice_header.c"
 var $61=($60|0)!=0; //@line 979 "../src/h264bsd_slice_header.c"
 if($61){label=14;break;}else{label=15;break;} //@line 979 "../src/h264bsd_slice_header.c"
 case 14: 
 var $63=$tmp; //@line 980 "../src/h264bsd_slice_header.c"
 $1=$63; //@line 980 "../src/h264bsd_slice_header.c"
 label=34;break; //@line 980 "../src/h264bsd_slice_header.c"
 case 15: 
 var $65=(($tmpStrmData)|0); //@line 983 "../src/h264bsd_slice_header.c"
 var $66=_h264bsdDecodeExpGolombUnsigned($65,$value); //@line 983 "../src/h264bsd_slice_header.c"
 $tmp=$66; //@line 983 "../src/h264bsd_slice_header.c"
 var $67=$tmp; //@line 984 "../src/h264bsd_slice_header.c"
 var $68=($67|0)!=0; //@line 984 "../src/h264bsd_slice_header.c"
 if($68){label=16;break;}else{label=17;break;} //@line 984 "../src/h264bsd_slice_header.c"
 case 16: 
 var $70=$tmp; //@line 985 "../src/h264bsd_slice_header.c"
 $1=$70; //@line 985 "../src/h264bsd_slice_header.c"
 label=34;break; //@line 985 "../src/h264bsd_slice_header.c"
 case 17: 
 var $72=(($tmpStrmData)|0); //@line 988 "../src/h264bsd_slice_header.c"
 var $73=_h264bsdDecodeExpGolombUnsigned($72,$value); //@line 988 "../src/h264bsd_slice_header.c"
 $tmp=$73; //@line 988 "../src/h264bsd_slice_header.c"
 var $74=$tmp; //@line 989 "../src/h264bsd_slice_header.c"
 var $75=($74|0)!=0; //@line 989 "../src/h264bsd_slice_header.c"
 if($75){label=18;break;}else{label=19;break;} //@line 989 "../src/h264bsd_slice_header.c"
 case 18: 
 var $77=$tmp; //@line 990 "../src/h264bsd_slice_header.c"
 $1=$77; //@line 990 "../src/h264bsd_slice_header.c"
 label=34;break; //@line 990 "../src/h264bsd_slice_header.c"
 case 19: 
 $i=0; //@line 993 "../src/h264bsd_slice_header.c"
 label=20;break; //@line 994 "../src/h264bsd_slice_header.c"
 case 20: 
 var $80=$3; //@line 994 "../src/h264bsd_slice_header.c"
 var $81=(($80+12)|0); //@line 994 "../src/h264bsd_slice_header.c"
 var $82=HEAP32[(($81)>>2)]; //@line 994 "../src/h264bsd_slice_header.c"
 var $83=$i; //@line 994 "../src/h264bsd_slice_header.c"
 var $84=$82>>>($83>>>0); //@line 994 "../src/h264bsd_slice_header.c"
 var $85=($84|0)!=0; //@line 994 "../src/h264bsd_slice_header.c"
 if($85){label=21;break;}else{label=22;break;} //@line 994 "../src/h264bsd_slice_header.c"
 case 21: 
 var $87=$i; //@line 995 "../src/h264bsd_slice_header.c"
 var $88=((($87)+(1))|0); //@line 995 "../src/h264bsd_slice_header.c"
 $i=$88; //@line 995 "../src/h264bsd_slice_header.c"
 label=20;break; //@line 995 "../src/h264bsd_slice_header.c"
 case 22: 
 var $90=$i; //@line 996 "../src/h264bsd_slice_header.c"
 var $91=((($90)-(1))|0); //@line 996 "../src/h264bsd_slice_header.c"
 $i=$91; //@line 996 "../src/h264bsd_slice_header.c"
 var $92=(($tmpStrmData)|0); //@line 999 "../src/h264bsd_slice_header.c"
 var $93=$i; //@line 999 "../src/h264bsd_slice_header.c"
 var $94=_h264bsdGetBits($92,$93); //@line 999 "../src/h264bsd_slice_header.c"
 $tmp=$94; //@line 999 "../src/h264bsd_slice_header.c"
 var $95=$tmp; //@line 1000 "../src/h264bsd_slice_header.c"
 var $96=($95|0)==-1; //@line 1000 "../src/h264bsd_slice_header.c"
 if($96){label=23;break;}else{label=24;break;} //@line 1000 "../src/h264bsd_slice_header.c"
 case 23: 
 $1=1; //@line 1001 "../src/h264bsd_slice_header.c"
 label=34;break; //@line 1001 "../src/h264bsd_slice_header.c"
 case 24: 
 var $99=$4; //@line 1004 "../src/h264bsd_slice_header.c"
 var $100=($99|0)==5; //@line 1004 "../src/h264bsd_slice_header.c"
 if($100){label=25;break;}else{label=28;break;} //@line 1004 "../src/h264bsd_slice_header.c"
 case 25: 
 var $102=(($tmpStrmData)|0); //@line 1006 "../src/h264bsd_slice_header.c"
 var $103=_h264bsdDecodeExpGolombUnsigned($102,$value); //@line 1006 "../src/h264bsd_slice_header.c"
 $tmp=$103; //@line 1006 "../src/h264bsd_slice_header.c"
 var $104=$tmp; //@line 1007 "../src/h264bsd_slice_header.c"
 var $105=($104|0)!=0; //@line 1007 "../src/h264bsd_slice_header.c"
 if($105){label=26;break;}else{label=27;break;} //@line 1007 "../src/h264bsd_slice_header.c"
 case 26: 
 var $107=$tmp; //@line 1008 "../src/h264bsd_slice_header.c"
 $1=$107; //@line 1008 "../src/h264bsd_slice_header.c"
 label=34;break; //@line 1008 "../src/h264bsd_slice_header.c"
 case 27: 
 label=28;break; //@line 1009 "../src/h264bsd_slice_header.c"
 case 28: 
 $i=0; //@line 1012 "../src/h264bsd_slice_header.c"
 label=29;break; //@line 1013 "../src/h264bsd_slice_header.c"
 case 29: 
 var $111=$3; //@line 1013 "../src/h264bsd_slice_header.c"
 var $112=(($111+20)|0); //@line 1013 "../src/h264bsd_slice_header.c"
 var $113=HEAP32[(($112)>>2)]; //@line 1013 "../src/h264bsd_slice_header.c"
 var $114=$i; //@line 1013 "../src/h264bsd_slice_header.c"
 var $115=$113>>>($114>>>0); //@line 1013 "../src/h264bsd_slice_header.c"
 var $116=($115|0)!=0; //@line 1013 "../src/h264bsd_slice_header.c"
 if($116){label=30;break;}else{label=31;break;} //@line 1013 "../src/h264bsd_slice_header.c"
 case 30: 
 var $118=$i; //@line 1014 "../src/h264bsd_slice_header.c"
 var $119=((($118)+(1))|0); //@line 1014 "../src/h264bsd_slice_header.c"
 $i=$119; //@line 1014 "../src/h264bsd_slice_header.c"
 label=29;break; //@line 1014 "../src/h264bsd_slice_header.c"
 case 31: 
 var $121=$i; //@line 1015 "../src/h264bsd_slice_header.c"
 var $122=((($121)-(1))|0); //@line 1015 "../src/h264bsd_slice_header.c"
 $i=$122; //@line 1015 "../src/h264bsd_slice_header.c"
 var $123=(($tmpStrmData)|0); //@line 1018 "../src/h264bsd_slice_header.c"
 var $124=$i; //@line 1018 "../src/h264bsd_slice_header.c"
 var $125=_h264bsdGetBits($123,$124); //@line 1018 "../src/h264bsd_slice_header.c"
 $tmp=$125; //@line 1018 "../src/h264bsd_slice_header.c"
 var $126=$tmp; //@line 1019 "../src/h264bsd_slice_header.c"
 var $127=($126|0)==-1; //@line 1019 "../src/h264bsd_slice_header.c"
 if($127){label=32;break;}else{label=33;break;} //@line 1019 "../src/h264bsd_slice_header.c"
 case 32: 
 $1=1; //@line 1020 "../src/h264bsd_slice_header.c"
 label=34;break; //@line 1020 "../src/h264bsd_slice_header.c"
 case 33: 
 var $130=$tmp; //@line 1021 "../src/h264bsd_slice_header.c"
 var $131=$5; //@line 1021 "../src/h264bsd_slice_header.c"
 HEAP32[(($131)>>2)]=$130; //@line 1021 "../src/h264bsd_slice_header.c"
 $1=0; //@line 1023 "../src/h264bsd_slice_header.c"
 label=34;break; //@line 1023 "../src/h264bsd_slice_header.c"
 case 34: 
 var $133=$1; //@line 1025 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $133; //@line 1025 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckDeltaPicOrderCntBottom($pStrmData,$pSeqParamSet,$nalUnitType,$deltaPicOrderCntBottom){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+32)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $value=sp;
 var $i;
 var $tmpStrmData=(sp)+(8);
 $2=$pStrmData;
 $3=$pSeqParamSet;
 $4=$nalUnitType;
 $5=$deltaPicOrderCntBottom;
 var $6=$2; //@line 1065 "../src/h264bsd_slice_header.c"
 var $7=($6|0)!=0; //@line 1065 "../src/h264bsd_slice_header.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 1065 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,1065,14848); //@line 1065 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1065 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 1065 "../src/h264bsd_slice_header.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 1065 "../src/h264bsd_slice_header.c"
 var $13=$3; //@line 1066 "../src/h264bsd_slice_header.c"
 var $14=($13|0)!=0; //@line 1066 "../src/h264bsd_slice_header.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 1066 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(7872,11000,1066,14848); //@line 1066 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1066 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 1066 "../src/h264bsd_slice_header.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 1066 "../src/h264bsd_slice_header.c"
 var $20=$5; //@line 1067 "../src/h264bsd_slice_header.c"
 var $21=($20|0)!=0; //@line 1067 "../src/h264bsd_slice_header.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 1067 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(8488,11000,1067,14848); //@line 1067 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1067 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 1067 "../src/h264bsd_slice_header.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 1067 "../src/h264bsd_slice_header.c"
 var $27=$3; //@line 1071 "../src/h264bsd_slice_header.c"
 var $28=(($27+16)|0); //@line 1071 "../src/h264bsd_slice_header.c"
 var $29=HEAP32[(($28)>>2)]; //@line 1071 "../src/h264bsd_slice_header.c"
 var $30=($29|0)==0; //@line 1071 "../src/h264bsd_slice_header.c"
 if($30){var $34=1;label=9;break;}else{label=8;break;} //@line 1071 "../src/h264bsd_slice_header.c"
 case 8: 
 ___assert_fail(8768,11000,1071,14848); //@line 1071 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1071 "../src/h264bsd_slice_header.c"
 label=9;break; //@line 1071 "../src/h264bsd_slice_header.c"
 case 9: 
 var $34;
 var $35=($34&1); //@line 1071 "../src/h264bsd_slice_header.c"
 var $36=$3; //@line 1072 "../src/h264bsd_slice_header.c"
 var $37=(($36+12)|0); //@line 1072 "../src/h264bsd_slice_header.c"
 var $38=HEAP32[(($37)>>2)]; //@line 1072 "../src/h264bsd_slice_header.c"
 var $39=($38|0)!=0; //@line 1072 "../src/h264bsd_slice_header.c"
 if($39){var $43=1;label=11;break;}else{label=10;break;} //@line 1072 "../src/h264bsd_slice_header.c"
 case 10: 
 ___assert_fail(8664,11000,1072,14848); //@line 1072 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1072 "../src/h264bsd_slice_header.c"
 label=11;break; //@line 1072 "../src/h264bsd_slice_header.c"
 case 11: 
 var $43;
 var $44=($43&1); //@line 1072 "../src/h264bsd_slice_header.c"
 var $45=$3; //@line 1073 "../src/h264bsd_slice_header.c"
 var $46=(($45+20)|0); //@line 1073 "../src/h264bsd_slice_header.c"
 var $47=HEAP32[(($46)>>2)]; //@line 1073 "../src/h264bsd_slice_header.c"
 var $48=($47|0)!=0; //@line 1073 "../src/h264bsd_slice_header.c"
 if($48){var $52=1;label=13;break;}else{label=12;break;} //@line 1073 "../src/h264bsd_slice_header.c"
 case 12: 
 ___assert_fail(8544,11000,1073,14848); //@line 1073 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1073 "../src/h264bsd_slice_header.c"
 label=13;break; //@line 1073 "../src/h264bsd_slice_header.c"
 case 13: 
 var $52;
 var $53=($52&1); //@line 1073 "../src/h264bsd_slice_header.c"
 var $54=(($tmpStrmData)|0); //@line 1076 "../src/h264bsd_slice_header.c"
 var $55=$2; //@line 1076 "../src/h264bsd_slice_header.c"
 var $56=$54; //@line 1076 "../src/h264bsd_slice_header.c"
 var $57=$55; //@line 1076 "../src/h264bsd_slice_header.c"
 assert(20 % 1 === 0);HEAP32[(($56)>>2)]=HEAP32[(($57)>>2)];HEAP32[((($56)+(4))>>2)]=HEAP32[((($57)+(4))>>2)];HEAP32[((($56)+(8))>>2)]=HEAP32[((($57)+(8))>>2)];HEAP32[((($56)+(12))>>2)]=HEAP32[((($57)+(12))>>2)];HEAP32[((($56)+(16))>>2)]=HEAP32[((($57)+(16))>>2)]; //@line 1076 "../src/h264bsd_slice_header.c"
 var $58=(($tmpStrmData)|0); //@line 1079 "../src/h264bsd_slice_header.c"
 var $59=_h264bsdDecodeExpGolombUnsigned($58,$value); //@line 1079 "../src/h264bsd_slice_header.c"
 $tmp=$59; //@line 1079 "../src/h264bsd_slice_header.c"
 var $60=$tmp; //@line 1080 "../src/h264bsd_slice_header.c"
 var $61=($60|0)!=0; //@line 1080 "../src/h264bsd_slice_header.c"
 if($61){label=14;break;}else{label=15;break;} //@line 1080 "../src/h264bsd_slice_header.c"
 case 14: 
 var $63=$tmp; //@line 1081 "../src/h264bsd_slice_header.c"
 $1=$63; //@line 1081 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1081 "../src/h264bsd_slice_header.c"
 case 15: 
 var $65=(($tmpStrmData)|0); //@line 1084 "../src/h264bsd_slice_header.c"
 var $66=_h264bsdDecodeExpGolombUnsigned($65,$value); //@line 1084 "../src/h264bsd_slice_header.c"
 $tmp=$66; //@line 1084 "../src/h264bsd_slice_header.c"
 var $67=$tmp; //@line 1085 "../src/h264bsd_slice_header.c"
 var $68=($67|0)!=0; //@line 1085 "../src/h264bsd_slice_header.c"
 if($68){label=16;break;}else{label=17;break;} //@line 1085 "../src/h264bsd_slice_header.c"
 case 16: 
 var $70=$tmp; //@line 1086 "../src/h264bsd_slice_header.c"
 $1=$70; //@line 1086 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1086 "../src/h264bsd_slice_header.c"
 case 17: 
 var $72=(($tmpStrmData)|0); //@line 1089 "../src/h264bsd_slice_header.c"
 var $73=_h264bsdDecodeExpGolombUnsigned($72,$value); //@line 1089 "../src/h264bsd_slice_header.c"
 $tmp=$73; //@line 1089 "../src/h264bsd_slice_header.c"
 var $74=$tmp; //@line 1090 "../src/h264bsd_slice_header.c"
 var $75=($74|0)!=0; //@line 1090 "../src/h264bsd_slice_header.c"
 if($75){label=18;break;}else{label=19;break;} //@line 1090 "../src/h264bsd_slice_header.c"
 case 18: 
 var $77=$tmp; //@line 1091 "../src/h264bsd_slice_header.c"
 $1=$77; //@line 1091 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1091 "../src/h264bsd_slice_header.c"
 case 19: 
 $i=0; //@line 1094 "../src/h264bsd_slice_header.c"
 label=20;break; //@line 1095 "../src/h264bsd_slice_header.c"
 case 20: 
 var $80=$3; //@line 1095 "../src/h264bsd_slice_header.c"
 var $81=(($80+12)|0); //@line 1095 "../src/h264bsd_slice_header.c"
 var $82=HEAP32[(($81)>>2)]; //@line 1095 "../src/h264bsd_slice_header.c"
 var $83=$i; //@line 1095 "../src/h264bsd_slice_header.c"
 var $84=$82>>>($83>>>0); //@line 1095 "../src/h264bsd_slice_header.c"
 var $85=($84|0)!=0; //@line 1095 "../src/h264bsd_slice_header.c"
 if($85){label=21;break;}else{label=22;break;} //@line 1095 "../src/h264bsd_slice_header.c"
 case 21: 
 var $87=$i; //@line 1096 "../src/h264bsd_slice_header.c"
 var $88=((($87)+(1))|0); //@line 1096 "../src/h264bsd_slice_header.c"
 $i=$88; //@line 1096 "../src/h264bsd_slice_header.c"
 label=20;break; //@line 1096 "../src/h264bsd_slice_header.c"
 case 22: 
 var $90=$i; //@line 1097 "../src/h264bsd_slice_header.c"
 var $91=((($90)-(1))|0); //@line 1097 "../src/h264bsd_slice_header.c"
 $i=$91; //@line 1097 "../src/h264bsd_slice_header.c"
 var $92=(($tmpStrmData)|0); //@line 1100 "../src/h264bsd_slice_header.c"
 var $93=$i; //@line 1100 "../src/h264bsd_slice_header.c"
 var $94=_h264bsdGetBits($92,$93); //@line 1100 "../src/h264bsd_slice_header.c"
 $tmp=$94; //@line 1100 "../src/h264bsd_slice_header.c"
 var $95=$tmp; //@line 1101 "../src/h264bsd_slice_header.c"
 var $96=($95|0)==-1; //@line 1101 "../src/h264bsd_slice_header.c"
 if($96){label=23;break;}else{label=24;break;} //@line 1101 "../src/h264bsd_slice_header.c"
 case 23: 
 $1=1; //@line 1102 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1102 "../src/h264bsd_slice_header.c"
 case 24: 
 var $99=$4; //@line 1105 "../src/h264bsd_slice_header.c"
 var $100=($99|0)==5; //@line 1105 "../src/h264bsd_slice_header.c"
 if($100){label=25;break;}else{label=28;break;} //@line 1105 "../src/h264bsd_slice_header.c"
 case 25: 
 var $102=(($tmpStrmData)|0); //@line 1107 "../src/h264bsd_slice_header.c"
 var $103=_h264bsdDecodeExpGolombUnsigned($102,$value); //@line 1107 "../src/h264bsd_slice_header.c"
 $tmp=$103; //@line 1107 "../src/h264bsd_slice_header.c"
 var $104=$tmp; //@line 1108 "../src/h264bsd_slice_header.c"
 var $105=($104|0)!=0; //@line 1108 "../src/h264bsd_slice_header.c"
 if($105){label=26;break;}else{label=27;break;} //@line 1108 "../src/h264bsd_slice_header.c"
 case 26: 
 var $107=$tmp; //@line 1109 "../src/h264bsd_slice_header.c"
 $1=$107; //@line 1109 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1109 "../src/h264bsd_slice_header.c"
 case 27: 
 label=28;break; //@line 1110 "../src/h264bsd_slice_header.c"
 case 28: 
 $i=0; //@line 1113 "../src/h264bsd_slice_header.c"
 label=29;break; //@line 1114 "../src/h264bsd_slice_header.c"
 case 29: 
 var $111=$3; //@line 1114 "../src/h264bsd_slice_header.c"
 var $112=(($111+20)|0); //@line 1114 "../src/h264bsd_slice_header.c"
 var $113=HEAP32[(($112)>>2)]; //@line 1114 "../src/h264bsd_slice_header.c"
 var $114=$i; //@line 1114 "../src/h264bsd_slice_header.c"
 var $115=$113>>>($114>>>0); //@line 1114 "../src/h264bsd_slice_header.c"
 var $116=($115|0)!=0; //@line 1114 "../src/h264bsd_slice_header.c"
 if($116){label=30;break;}else{label=31;break;} //@line 1114 "../src/h264bsd_slice_header.c"
 case 30: 
 var $118=$i; //@line 1115 "../src/h264bsd_slice_header.c"
 var $119=((($118)+(1))|0); //@line 1115 "../src/h264bsd_slice_header.c"
 $i=$119; //@line 1115 "../src/h264bsd_slice_header.c"
 label=29;break; //@line 1115 "../src/h264bsd_slice_header.c"
 case 31: 
 var $121=$i; //@line 1116 "../src/h264bsd_slice_header.c"
 var $122=((($121)-(1))|0); //@line 1116 "../src/h264bsd_slice_header.c"
 $i=$122; //@line 1116 "../src/h264bsd_slice_header.c"
 var $123=(($tmpStrmData)|0); //@line 1119 "../src/h264bsd_slice_header.c"
 var $124=$i; //@line 1119 "../src/h264bsd_slice_header.c"
 var $125=_h264bsdGetBits($123,$124); //@line 1119 "../src/h264bsd_slice_header.c"
 $tmp=$125; //@line 1119 "../src/h264bsd_slice_header.c"
 var $126=$tmp; //@line 1120 "../src/h264bsd_slice_header.c"
 var $127=($126|0)==-1; //@line 1120 "../src/h264bsd_slice_header.c"
 if($127){label=32;break;}else{label=33;break;} //@line 1120 "../src/h264bsd_slice_header.c"
 case 32: 
 $1=1; //@line 1121 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1121 "../src/h264bsd_slice_header.c"
 case 33: 
 var $130=(($tmpStrmData)|0); //@line 1124 "../src/h264bsd_slice_header.c"
 var $131=$5; //@line 1124 "../src/h264bsd_slice_header.c"
 var $132=_h264bsdDecodeExpGolombSigned($130,$131); //@line 1124 "../src/h264bsd_slice_header.c"
 $tmp=$132; //@line 1124 "../src/h264bsd_slice_header.c"
 var $133=$tmp; //@line 1125 "../src/h264bsd_slice_header.c"
 var $134=($133|0)!=0; //@line 1125 "../src/h264bsd_slice_header.c"
 if($134){label=34;break;}else{label=35;break;} //@line 1125 "../src/h264bsd_slice_header.c"
 case 34: 
 var $136=$tmp; //@line 1126 "../src/h264bsd_slice_header.c"
 $1=$136; //@line 1126 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1126 "../src/h264bsd_slice_header.c"
 case 35: 
 $1=0; //@line 1128 "../src/h264bsd_slice_header.c"
 label=36;break; //@line 1128 "../src/h264bsd_slice_header.c"
 case 36: 
 var $139=$1; //@line 1130 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $139; //@line 1130 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckDeltaPicOrderCnt($pStrmData,$pSeqParamSet,$nalUnitType,$picOrderPresentFlag,$deltaPicOrderCnt){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+32)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $tmp;
 var $value=sp;
 var $i;
 var $tmpStrmData=(sp)+(8);
 $2=$pStrmData;
 $3=$pSeqParamSet;
 $4=$nalUnitType;
 $5=$picOrderPresentFlag;
 $6=$deltaPicOrderCnt;
 var $7=$2; //@line 1173 "../src/h264bsd_slice_header.c"
 var $8=($7|0)!=0; //@line 1173 "../src/h264bsd_slice_header.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 1173 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,1173,14888); //@line 1173 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1173 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 1173 "../src/h264bsd_slice_header.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 1173 "../src/h264bsd_slice_header.c"
 var $14=$3; //@line 1174 "../src/h264bsd_slice_header.c"
 var $15=($14|0)!=0; //@line 1174 "../src/h264bsd_slice_header.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 1174 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(7872,11000,1174,14888); //@line 1174 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1174 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 1174 "../src/h264bsd_slice_header.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 1174 "../src/h264bsd_slice_header.c"
 var $21=$6; //@line 1175 "../src/h264bsd_slice_header.c"
 var $22=($21|0)!=0; //@line 1175 "../src/h264bsd_slice_header.c"
 if($22){var $26=1;label=7;break;}else{label=6;break;} //@line 1175 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(8360,11000,1175,14888); //@line 1175 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1175 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 1175 "../src/h264bsd_slice_header.c"
 case 7: 
 var $26;
 var $27=($26&1); //@line 1175 "../src/h264bsd_slice_header.c"
 var $28=$3; //@line 1179 "../src/h264bsd_slice_header.c"
 var $29=(($28+16)|0); //@line 1179 "../src/h264bsd_slice_header.c"
 var $30=HEAP32[(($29)>>2)]; //@line 1179 "../src/h264bsd_slice_header.c"
 var $31=($30|0)==1; //@line 1179 "../src/h264bsd_slice_header.c"
 if($31){var $35=1;label=9;break;}else{label=8;break;} //@line 1179 "../src/h264bsd_slice_header.c"
 case 8: 
 ___assert_fail(8320,11000,1179,14888); //@line 1179 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1179 "../src/h264bsd_slice_header.c"
 label=9;break; //@line 1179 "../src/h264bsd_slice_header.c"
 case 9: 
 var $35;
 var $36=($35&1); //@line 1179 "../src/h264bsd_slice_header.c"
 var $37=$3; //@line 1180 "../src/h264bsd_slice_header.c"
 var $38=(($37+24)|0); //@line 1180 "../src/h264bsd_slice_header.c"
 var $39=HEAP32[(($38)>>2)]; //@line 1180 "../src/h264bsd_slice_header.c"
 var $40=($39|0)!=0; //@line 1180 "../src/h264bsd_slice_header.c"
 if($40){label=10;break;}else{var $44=1;label=11;break;} //@line 1180 "../src/h264bsd_slice_header.c"
 case 10: 
 ___assert_fail(8232,11000,1180,14888); //@line 1180 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1180 "../src/h264bsd_slice_header.c"
 label=11;break; //@line 1180 "../src/h264bsd_slice_header.c"
 case 11: 
 var $44;
 var $45=($44&1); //@line 1180 "../src/h264bsd_slice_header.c"
 var $46=$3; //@line 1181 "../src/h264bsd_slice_header.c"
 var $47=(($46+12)|0); //@line 1181 "../src/h264bsd_slice_header.c"
 var $48=HEAP32[(($47)>>2)]; //@line 1181 "../src/h264bsd_slice_header.c"
 var $49=($48|0)!=0; //@line 1181 "../src/h264bsd_slice_header.c"
 if($49){var $53=1;label=13;break;}else{label=12;break;} //@line 1181 "../src/h264bsd_slice_header.c"
 case 12: 
 ___assert_fail(8664,11000,1181,14888); //@line 1181 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1181 "../src/h264bsd_slice_header.c"
 label=13;break; //@line 1181 "../src/h264bsd_slice_header.c"
 case 13: 
 var $53;
 var $54=($53&1); //@line 1181 "../src/h264bsd_slice_header.c"
 var $55=(($tmpStrmData)|0); //@line 1184 "../src/h264bsd_slice_header.c"
 var $56=$2; //@line 1184 "../src/h264bsd_slice_header.c"
 var $57=$55; //@line 1184 "../src/h264bsd_slice_header.c"
 var $58=$56; //@line 1184 "../src/h264bsd_slice_header.c"
 assert(20 % 1 === 0);HEAP32[(($57)>>2)]=HEAP32[(($58)>>2)];HEAP32[((($57)+(4))>>2)]=HEAP32[((($58)+(4))>>2)];HEAP32[((($57)+(8))>>2)]=HEAP32[((($58)+(8))>>2)];HEAP32[((($57)+(12))>>2)]=HEAP32[((($58)+(12))>>2)];HEAP32[((($57)+(16))>>2)]=HEAP32[((($58)+(16))>>2)]; //@line 1184 "../src/h264bsd_slice_header.c"
 var $59=(($tmpStrmData)|0); //@line 1187 "../src/h264bsd_slice_header.c"
 var $60=_h264bsdDecodeExpGolombUnsigned($59,$value); //@line 1187 "../src/h264bsd_slice_header.c"
 $tmp=$60; //@line 1187 "../src/h264bsd_slice_header.c"
 var $61=$tmp; //@line 1188 "../src/h264bsd_slice_header.c"
 var $62=($61|0)!=0; //@line 1188 "../src/h264bsd_slice_header.c"
 if($62){label=14;break;}else{label=15;break;} //@line 1188 "../src/h264bsd_slice_header.c"
 case 14: 
 var $64=$tmp; //@line 1189 "../src/h264bsd_slice_header.c"
 $1=$64; //@line 1189 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1189 "../src/h264bsd_slice_header.c"
 case 15: 
 var $66=(($tmpStrmData)|0); //@line 1192 "../src/h264bsd_slice_header.c"
 var $67=_h264bsdDecodeExpGolombUnsigned($66,$value); //@line 1192 "../src/h264bsd_slice_header.c"
 $tmp=$67; //@line 1192 "../src/h264bsd_slice_header.c"
 var $68=$tmp; //@line 1193 "../src/h264bsd_slice_header.c"
 var $69=($68|0)!=0; //@line 1193 "../src/h264bsd_slice_header.c"
 if($69){label=16;break;}else{label=17;break;} //@line 1193 "../src/h264bsd_slice_header.c"
 case 16: 
 var $71=$tmp; //@line 1194 "../src/h264bsd_slice_header.c"
 $1=$71; //@line 1194 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1194 "../src/h264bsd_slice_header.c"
 case 17: 
 var $73=(($tmpStrmData)|0); //@line 1197 "../src/h264bsd_slice_header.c"
 var $74=_h264bsdDecodeExpGolombUnsigned($73,$value); //@line 1197 "../src/h264bsd_slice_header.c"
 $tmp=$74; //@line 1197 "../src/h264bsd_slice_header.c"
 var $75=$tmp; //@line 1198 "../src/h264bsd_slice_header.c"
 var $76=($75|0)!=0; //@line 1198 "../src/h264bsd_slice_header.c"
 if($76){label=18;break;}else{label=19;break;} //@line 1198 "../src/h264bsd_slice_header.c"
 case 18: 
 var $78=$tmp; //@line 1199 "../src/h264bsd_slice_header.c"
 $1=$78; //@line 1199 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1199 "../src/h264bsd_slice_header.c"
 case 19: 
 $i=0; //@line 1202 "../src/h264bsd_slice_header.c"
 label=20;break; //@line 1203 "../src/h264bsd_slice_header.c"
 case 20: 
 var $81=$3; //@line 1203 "../src/h264bsd_slice_header.c"
 var $82=(($81+12)|0); //@line 1203 "../src/h264bsd_slice_header.c"
 var $83=HEAP32[(($82)>>2)]; //@line 1203 "../src/h264bsd_slice_header.c"
 var $84=$i; //@line 1203 "../src/h264bsd_slice_header.c"
 var $85=$83>>>($84>>>0); //@line 1203 "../src/h264bsd_slice_header.c"
 var $86=($85|0)!=0; //@line 1203 "../src/h264bsd_slice_header.c"
 if($86){label=21;break;}else{label=22;break;} //@line 1203 "../src/h264bsd_slice_header.c"
 case 21: 
 var $88=$i; //@line 1204 "../src/h264bsd_slice_header.c"
 var $89=((($88)+(1))|0); //@line 1204 "../src/h264bsd_slice_header.c"
 $i=$89; //@line 1204 "../src/h264bsd_slice_header.c"
 label=20;break; //@line 1204 "../src/h264bsd_slice_header.c"
 case 22: 
 var $91=$i; //@line 1205 "../src/h264bsd_slice_header.c"
 var $92=((($91)-(1))|0); //@line 1205 "../src/h264bsd_slice_header.c"
 $i=$92; //@line 1205 "../src/h264bsd_slice_header.c"
 var $93=(($tmpStrmData)|0); //@line 1208 "../src/h264bsd_slice_header.c"
 var $94=$i; //@line 1208 "../src/h264bsd_slice_header.c"
 var $95=_h264bsdGetBits($93,$94); //@line 1208 "../src/h264bsd_slice_header.c"
 $tmp=$95; //@line 1208 "../src/h264bsd_slice_header.c"
 var $96=$tmp; //@line 1209 "../src/h264bsd_slice_header.c"
 var $97=($96|0)==-1; //@line 1209 "../src/h264bsd_slice_header.c"
 if($97){label=23;break;}else{label=24;break;} //@line 1209 "../src/h264bsd_slice_header.c"
 case 23: 
 $1=1; //@line 1210 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1210 "../src/h264bsd_slice_header.c"
 case 24: 
 var $100=$4; //@line 1213 "../src/h264bsd_slice_header.c"
 var $101=($100|0)==5; //@line 1213 "../src/h264bsd_slice_header.c"
 if($101){label=25;break;}else{label=28;break;} //@line 1213 "../src/h264bsd_slice_header.c"
 case 25: 
 var $103=(($tmpStrmData)|0); //@line 1215 "../src/h264bsd_slice_header.c"
 var $104=_h264bsdDecodeExpGolombUnsigned($103,$value); //@line 1215 "../src/h264bsd_slice_header.c"
 $tmp=$104; //@line 1215 "../src/h264bsd_slice_header.c"
 var $105=$tmp; //@line 1216 "../src/h264bsd_slice_header.c"
 var $106=($105|0)!=0; //@line 1216 "../src/h264bsd_slice_header.c"
 if($106){label=26;break;}else{label=27;break;} //@line 1216 "../src/h264bsd_slice_header.c"
 case 26: 
 var $108=$tmp; //@line 1217 "../src/h264bsd_slice_header.c"
 $1=$108; //@line 1217 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1217 "../src/h264bsd_slice_header.c"
 case 27: 
 label=28;break; //@line 1218 "../src/h264bsd_slice_header.c"
 case 28: 
 var $111=(($tmpStrmData)|0); //@line 1221 "../src/h264bsd_slice_header.c"
 var $112=$6; //@line 1221 "../src/h264bsd_slice_header.c"
 var $113=(($112)|0); //@line 1221 "../src/h264bsd_slice_header.c"
 var $114=_h264bsdDecodeExpGolombSigned($111,$113); //@line 1221 "../src/h264bsd_slice_header.c"
 $tmp=$114; //@line 1221 "../src/h264bsd_slice_header.c"
 var $115=$tmp; //@line 1222 "../src/h264bsd_slice_header.c"
 var $116=($115|0)!=0; //@line 1222 "../src/h264bsd_slice_header.c"
 if($116){label=29;break;}else{label=30;break;} //@line 1222 "../src/h264bsd_slice_header.c"
 case 29: 
 var $118=$tmp; //@line 1223 "../src/h264bsd_slice_header.c"
 $1=$118; //@line 1223 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1223 "../src/h264bsd_slice_header.c"
 case 30: 
 var $120=$5; //@line 1226 "../src/h264bsd_slice_header.c"
 var $121=($120|0)!=0; //@line 1226 "../src/h264bsd_slice_header.c"
 if($121){label=31;break;}else{label=34;break;} //@line 1226 "../src/h264bsd_slice_header.c"
 case 31: 
 var $123=(($tmpStrmData)|0); //@line 1228 "../src/h264bsd_slice_header.c"
 var $124=$6; //@line 1228 "../src/h264bsd_slice_header.c"
 var $125=(($124+4)|0); //@line 1228 "../src/h264bsd_slice_header.c"
 var $126=_h264bsdDecodeExpGolombSigned($123,$125); //@line 1228 "../src/h264bsd_slice_header.c"
 $tmp=$126; //@line 1228 "../src/h264bsd_slice_header.c"
 var $127=$tmp; //@line 1229 "../src/h264bsd_slice_header.c"
 var $128=($127|0)!=0; //@line 1229 "../src/h264bsd_slice_header.c"
 if($128){label=32;break;}else{label=33;break;} //@line 1229 "../src/h264bsd_slice_header.c"
 case 32: 
 var $130=$tmp; //@line 1230 "../src/h264bsd_slice_header.c"
 $1=$130; //@line 1230 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1230 "../src/h264bsd_slice_header.c"
 case 33: 
 label=34;break; //@line 1231 "../src/h264bsd_slice_header.c"
 case 34: 
 $1=0; //@line 1233 "../src/h264bsd_slice_header.c"
 label=35;break; //@line 1233 "../src/h264bsd_slice_header.c"
 case 35: 
 var $134=$1; //@line 1235 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $134; //@line 1235 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCheckPriorPicsFlag($noOutputOfPriorPicsFlag,$pStrmData,$pSeqParamSet,$pPicParamSet,$nalUnitType){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+40)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $6;
 var $tmp;
 var $value=sp;
 var $i;
 var $ivalue=(sp)+(8);
 var $tmpStrmData=(sp)+(16);
 $2=$noOutputOfPriorPicsFlag;
 $3=$pStrmData;
 $4=$pSeqParamSet;
 $5=$pPicParamSet;
 $6=$nalUnitType;
 var $7=$3; //@line 1414 "../src/h264bsd_slice_header.c"
 var $8=($7|0)!=0; //@line 1414 "../src/h264bsd_slice_header.c"
 if($8){var $12=0;label=3;break;}else{label=2;break;} //@line 1414 "../src/h264bsd_slice_header.c"
 case 2: 
 ___assert_fail(7808,11000,1414,14680); //@line 1414 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1414 "../src/h264bsd_slice_header.c"
 label=3;break; //@line 1414 "../src/h264bsd_slice_header.c"
 case 3: 
 var $12;
 var $13=($12&1); //@line 1414 "../src/h264bsd_slice_header.c"
 var $14=$4; //@line 1415 "../src/h264bsd_slice_header.c"
 var $15=($14|0)!=0; //@line 1415 "../src/h264bsd_slice_header.c"
 if($15){var $19=1;label=5;break;}else{label=4;break;} //@line 1415 "../src/h264bsd_slice_header.c"
 case 4: 
 ___assert_fail(7872,11000,1415,14680); //@line 1415 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1415 "../src/h264bsd_slice_header.c"
 label=5;break; //@line 1415 "../src/h264bsd_slice_header.c"
 case 5: 
 var $19;
 var $20=($19&1); //@line 1415 "../src/h264bsd_slice_header.c"
 var $21=$5; //@line 1416 "../src/h264bsd_slice_header.c"
 var $22=($21|0)!=0; //@line 1416 "../src/h264bsd_slice_header.c"
 if($22){var $26=1;label=7;break;}else{label=6;break;} //@line 1416 "../src/h264bsd_slice_header.c"
 case 6: 
 ___assert_fail(6928,11000,1416,14680); //@line 1416 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1416 "../src/h264bsd_slice_header.c"
 label=7;break; //@line 1416 "../src/h264bsd_slice_header.c"
 case 7: 
 var $26;
 var $27=($26&1); //@line 1416 "../src/h264bsd_slice_header.c"
 var $28=$2; //@line 1417 "../src/h264bsd_slice_header.c"
 var $29=($28|0)!=0; //@line 1417 "../src/h264bsd_slice_header.c"
 if($29){var $33=1;label=9;break;}else{label=8;break;} //@line 1417 "../src/h264bsd_slice_header.c"
 case 8: 
 ___assert_fail(7784,11000,1417,14680); //@line 1417 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1417 "../src/h264bsd_slice_header.c"
 label=9;break; //@line 1417 "../src/h264bsd_slice_header.c"
 case 9: 
 var $33;
 var $34=($33&1); //@line 1417 "../src/h264bsd_slice_header.c"
 var $35=$6; //@line 1420 "../src/h264bsd_slice_header.c"
 var $36=($35|0)==5; //@line 1420 "../src/h264bsd_slice_header.c"
 if($36){var $40=1;label=11;break;}else{label=10;break;} //@line 1420 "../src/h264bsd_slice_header.c"
 case 10: 
 ___assert_fail(7664,11000,1420,14680); //@line 1420 "../src/h264bsd_slice_header.c"
 throw "Reached an unreachable!"; //@line 1420 "../src/h264bsd_slice_header.c"
 label=11;break; //@line 1420 "../src/h264bsd_slice_header.c"
 case 11: 
 var $40;
 var $41=($40&1); //@line 1420 "../src/h264bsd_slice_header.c"
 var $42=(($tmpStrmData)|0); //@line 1423 "../src/h264bsd_slice_header.c"
 var $43=$3; //@line 1423 "../src/h264bsd_slice_header.c"
 var $44=$42; //@line 1423 "../src/h264bsd_slice_header.c"
 var $45=$43; //@line 1423 "../src/h264bsd_slice_header.c"
 assert(20 % 1 === 0);HEAP32[(($44)>>2)]=HEAP32[(($45)>>2)];HEAP32[((($44)+(4))>>2)]=HEAP32[((($45)+(4))>>2)];HEAP32[((($44)+(8))>>2)]=HEAP32[((($45)+(8))>>2)];HEAP32[((($44)+(12))>>2)]=HEAP32[((($45)+(12))>>2)];HEAP32[((($44)+(16))>>2)]=HEAP32[((($45)+(16))>>2)]; //@line 1423 "../src/h264bsd_slice_header.c"
 var $46=(($tmpStrmData)|0); //@line 1426 "../src/h264bsd_slice_header.c"
 var $47=_h264bsdDecodeExpGolombUnsigned($46,$value); //@line 1426 "../src/h264bsd_slice_header.c"
 $tmp=$47; //@line 1426 "../src/h264bsd_slice_header.c"
 var $48=$tmp; //@line 1427 "../src/h264bsd_slice_header.c"
 var $49=($48|0)!=0; //@line 1427 "../src/h264bsd_slice_header.c"
 if($49){label=12;break;}else{label=13;break;} //@line 1427 "../src/h264bsd_slice_header.c"
 case 12: 
 var $51=$tmp; //@line 1428 "../src/h264bsd_slice_header.c"
 $1=$51; //@line 1428 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1428 "../src/h264bsd_slice_header.c"
 case 13: 
 var $53=(($tmpStrmData)|0); //@line 1431 "../src/h264bsd_slice_header.c"
 var $54=_h264bsdDecodeExpGolombUnsigned($53,$value); //@line 1431 "../src/h264bsd_slice_header.c"
 $tmp=$54; //@line 1431 "../src/h264bsd_slice_header.c"
 var $55=$tmp; //@line 1432 "../src/h264bsd_slice_header.c"
 var $56=($55|0)!=0; //@line 1432 "../src/h264bsd_slice_header.c"
 if($56){label=14;break;}else{label=15;break;} //@line 1432 "../src/h264bsd_slice_header.c"
 case 14: 
 var $58=$tmp; //@line 1433 "../src/h264bsd_slice_header.c"
 $1=$58; //@line 1433 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1433 "../src/h264bsd_slice_header.c"
 case 15: 
 var $60=(($tmpStrmData)|0); //@line 1436 "../src/h264bsd_slice_header.c"
 var $61=_h264bsdDecodeExpGolombUnsigned($60,$value); //@line 1436 "../src/h264bsd_slice_header.c"
 $tmp=$61; //@line 1436 "../src/h264bsd_slice_header.c"
 var $62=$tmp; //@line 1437 "../src/h264bsd_slice_header.c"
 var $63=($62|0)!=0; //@line 1437 "../src/h264bsd_slice_header.c"
 if($63){label=16;break;}else{label=17;break;} //@line 1437 "../src/h264bsd_slice_header.c"
 case 16: 
 var $65=$tmp; //@line 1438 "../src/h264bsd_slice_header.c"
 $1=$65; //@line 1438 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1438 "../src/h264bsd_slice_header.c"
 case 17: 
 $i=0; //@line 1441 "../src/h264bsd_slice_header.c"
 label=18;break; //@line 1442 "../src/h264bsd_slice_header.c"
 case 18: 
 var $68=$4; //@line 1442 "../src/h264bsd_slice_header.c"
 var $69=(($68+12)|0); //@line 1442 "../src/h264bsd_slice_header.c"
 var $70=HEAP32[(($69)>>2)]; //@line 1442 "../src/h264bsd_slice_header.c"
 var $71=$i; //@line 1442 "../src/h264bsd_slice_header.c"
 var $72=$70>>>($71>>>0); //@line 1442 "../src/h264bsd_slice_header.c"
 var $73=($72|0)!=0; //@line 1442 "../src/h264bsd_slice_header.c"
 if($73){label=19;break;}else{label=20;break;} //@line 1442 "../src/h264bsd_slice_header.c"
 case 19: 
 var $75=$i; //@line 1443 "../src/h264bsd_slice_header.c"
 var $76=((($75)+(1))|0); //@line 1443 "../src/h264bsd_slice_header.c"
 $i=$76; //@line 1443 "../src/h264bsd_slice_header.c"
 label=18;break; //@line 1443 "../src/h264bsd_slice_header.c"
 case 20: 
 var $78=$i; //@line 1444 "../src/h264bsd_slice_header.c"
 var $79=((($78)-(1))|0); //@line 1444 "../src/h264bsd_slice_header.c"
 $i=$79; //@line 1444 "../src/h264bsd_slice_header.c"
 var $80=(($tmpStrmData)|0); //@line 1447 "../src/h264bsd_slice_header.c"
 var $81=$i; //@line 1447 "../src/h264bsd_slice_header.c"
 var $82=_h264bsdGetBits($80,$81); //@line 1447 "../src/h264bsd_slice_header.c"
 $tmp=$82; //@line 1447 "../src/h264bsd_slice_header.c"
 var $83=$tmp; //@line 1448 "../src/h264bsd_slice_header.c"
 var $84=($83|0)==-1; //@line 1448 "../src/h264bsd_slice_header.c"
 if($84){label=21;break;}else{label=22;break;} //@line 1448 "../src/h264bsd_slice_header.c"
 case 21: 
 $1=1; //@line 1449 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1449 "../src/h264bsd_slice_header.c"
 case 22: 
 var $87=(($tmpStrmData)|0); //@line 1452 "../src/h264bsd_slice_header.c"
 var $88=_h264bsdDecodeExpGolombUnsigned($87,$value); //@line 1452 "../src/h264bsd_slice_header.c"
 $tmp=$88; //@line 1452 "../src/h264bsd_slice_header.c"
 var $89=$tmp; //@line 1453 "../src/h264bsd_slice_header.c"
 var $90=($89|0)!=0; //@line 1453 "../src/h264bsd_slice_header.c"
 if($90){label=23;break;}else{label=24;break;} //@line 1453 "../src/h264bsd_slice_header.c"
 case 23: 
 var $92=$tmp; //@line 1454 "../src/h264bsd_slice_header.c"
 $1=$92; //@line 1454 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1454 "../src/h264bsd_slice_header.c"
 case 24: 
 var $94=$4; //@line 1456 "../src/h264bsd_slice_header.c"
 var $95=(($94+16)|0); //@line 1456 "../src/h264bsd_slice_header.c"
 var $96=HEAP32[(($95)>>2)]; //@line 1456 "../src/h264bsd_slice_header.c"
 var $97=($96|0)==0; //@line 1456 "../src/h264bsd_slice_header.c"
 if($97){label=25;break;}else{label=35;break;} //@line 1456 "../src/h264bsd_slice_header.c"
 case 25: 
 $i=0; //@line 1459 "../src/h264bsd_slice_header.c"
 label=26;break; //@line 1460 "../src/h264bsd_slice_header.c"
 case 26: 
 var $100=$4; //@line 1460 "../src/h264bsd_slice_header.c"
 var $101=(($100+20)|0); //@line 1460 "../src/h264bsd_slice_header.c"
 var $102=HEAP32[(($101)>>2)]; //@line 1460 "../src/h264bsd_slice_header.c"
 var $103=$i; //@line 1460 "../src/h264bsd_slice_header.c"
 var $104=$102>>>($103>>>0); //@line 1460 "../src/h264bsd_slice_header.c"
 var $105=($104|0)!=0; //@line 1460 "../src/h264bsd_slice_header.c"
 if($105){label=27;break;}else{label=28;break;} //@line 1460 "../src/h264bsd_slice_header.c"
 case 27: 
 var $107=$i; //@line 1461 "../src/h264bsd_slice_header.c"
 var $108=((($107)+(1))|0); //@line 1461 "../src/h264bsd_slice_header.c"
 $i=$108; //@line 1461 "../src/h264bsd_slice_header.c"
 label=26;break; //@line 1461 "../src/h264bsd_slice_header.c"
 case 28: 
 var $110=$i; //@line 1462 "../src/h264bsd_slice_header.c"
 var $111=((($110)-(1))|0); //@line 1462 "../src/h264bsd_slice_header.c"
 $i=$111; //@line 1462 "../src/h264bsd_slice_header.c"
 var $112=(($tmpStrmData)|0); //@line 1465 "../src/h264bsd_slice_header.c"
 var $113=$i; //@line 1465 "../src/h264bsd_slice_header.c"
 var $114=_h264bsdGetBits($112,$113); //@line 1465 "../src/h264bsd_slice_header.c"
 $tmp=$114; //@line 1465 "../src/h264bsd_slice_header.c"
 var $115=$tmp; //@line 1466 "../src/h264bsd_slice_header.c"
 var $116=($115|0)==-1; //@line 1466 "../src/h264bsd_slice_header.c"
 if($116){label=29;break;}else{label=30;break;} //@line 1466 "../src/h264bsd_slice_header.c"
 case 29: 
 $1=1; //@line 1467 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1467 "../src/h264bsd_slice_header.c"
 case 30: 
 var $119=$5; //@line 1469 "../src/h264bsd_slice_header.c"
 var $120=(($119+8)|0); //@line 1469 "../src/h264bsd_slice_header.c"
 var $121=HEAP32[(($120)>>2)]; //@line 1469 "../src/h264bsd_slice_header.c"
 var $122=($121|0)!=0; //@line 1469 "../src/h264bsd_slice_header.c"
 if($122){label=31;break;}else{label=34;break;} //@line 1469 "../src/h264bsd_slice_header.c"
 case 31: 
 var $124=(($tmpStrmData)|0); //@line 1472 "../src/h264bsd_slice_header.c"
 var $125=_h264bsdDecodeExpGolombSigned($124,$ivalue); //@line 1472 "../src/h264bsd_slice_header.c"
 $tmp=$125; //@line 1472 "../src/h264bsd_slice_header.c"
 var $126=$tmp; //@line 1473 "../src/h264bsd_slice_header.c"
 var $127=($126|0)!=0; //@line 1473 "../src/h264bsd_slice_header.c"
 if($127){label=32;break;}else{label=33;break;} //@line 1473 "../src/h264bsd_slice_header.c"
 case 32: 
 var $129=$tmp; //@line 1474 "../src/h264bsd_slice_header.c"
 $1=$129; //@line 1474 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1474 "../src/h264bsd_slice_header.c"
 case 33: 
 label=34;break; //@line 1475 "../src/h264bsd_slice_header.c"
 case 34: 
 label=35;break; //@line 1476 "../src/h264bsd_slice_header.c"
 case 35: 
 var $133=$4; //@line 1478 "../src/h264bsd_slice_header.c"
 var $134=(($133+16)|0); //@line 1478 "../src/h264bsd_slice_header.c"
 var $135=HEAP32[(($134)>>2)]; //@line 1478 "../src/h264bsd_slice_header.c"
 var $136=($135|0)==1; //@line 1478 "../src/h264bsd_slice_header.c"
 if($136){label=36;break;}else{label=44;break;} //@line 1478 "../src/h264bsd_slice_header.c"
 case 36: 
 var $138=$4; //@line 1478 "../src/h264bsd_slice_header.c"
 var $139=(($138+24)|0); //@line 1478 "../src/h264bsd_slice_header.c"
 var $140=HEAP32[(($139)>>2)]; //@line 1478 "../src/h264bsd_slice_header.c"
 var $141=($140|0)!=0; //@line 1478 "../src/h264bsd_slice_header.c"
 if($141){label=44;break;}else{label=37;break;} //@line 1478 "../src/h264bsd_slice_header.c"
 case 37: 
 var $143=(($tmpStrmData)|0); //@line 1482 "../src/h264bsd_slice_header.c"
 var $144=_h264bsdDecodeExpGolombSigned($143,$ivalue); //@line 1482 "../src/h264bsd_slice_header.c"
 $tmp=$144; //@line 1482 "../src/h264bsd_slice_header.c"
 var $145=$tmp; //@line 1483 "../src/h264bsd_slice_header.c"
 var $146=($145|0)!=0; //@line 1483 "../src/h264bsd_slice_header.c"
 if($146){label=38;break;}else{label=39;break;} //@line 1483 "../src/h264bsd_slice_header.c"
 case 38: 
 var $148=$tmp; //@line 1484 "../src/h264bsd_slice_header.c"
 $1=$148; //@line 1484 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1484 "../src/h264bsd_slice_header.c"
 case 39: 
 var $150=$5; //@line 1487 "../src/h264bsd_slice_header.c"
 var $151=(($150+8)|0); //@line 1487 "../src/h264bsd_slice_header.c"
 var $152=HEAP32[(($151)>>2)]; //@line 1487 "../src/h264bsd_slice_header.c"
 var $153=($152|0)!=0; //@line 1487 "../src/h264bsd_slice_header.c"
 if($153){label=40;break;}else{label=43;break;} //@line 1487 "../src/h264bsd_slice_header.c"
 case 40: 
 var $155=(($tmpStrmData)|0); //@line 1489 "../src/h264bsd_slice_header.c"
 var $156=_h264bsdDecodeExpGolombSigned($155,$ivalue); //@line 1489 "../src/h264bsd_slice_header.c"
 $tmp=$156; //@line 1489 "../src/h264bsd_slice_header.c"
 var $157=$tmp; //@line 1490 "../src/h264bsd_slice_header.c"
 var $158=($157|0)!=0; //@line 1490 "../src/h264bsd_slice_header.c"
 if($158){label=41;break;}else{label=42;break;} //@line 1490 "../src/h264bsd_slice_header.c"
 case 41: 
 var $160=$tmp; //@line 1491 "../src/h264bsd_slice_header.c"
 $1=$160; //@line 1491 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1491 "../src/h264bsd_slice_header.c"
 case 42: 
 label=43;break; //@line 1492 "../src/h264bsd_slice_header.c"
 case 43: 
 label=44;break; //@line 1493 "../src/h264bsd_slice_header.c"
 case 44: 
 var $164=$5; //@line 1496 "../src/h264bsd_slice_header.c"
 var $165=(($164+68)|0); //@line 1496 "../src/h264bsd_slice_header.c"
 var $166=HEAP32[(($165)>>2)]; //@line 1496 "../src/h264bsd_slice_header.c"
 var $167=($166|0)!=0; //@line 1496 "../src/h264bsd_slice_header.c"
 if($167){label=45;break;}else{label=48;break;} //@line 1496 "../src/h264bsd_slice_header.c"
 case 45: 
 var $169=(($tmpStrmData)|0); //@line 1498 "../src/h264bsd_slice_header.c"
 var $170=_h264bsdDecodeExpGolombUnsigned($169,$value); //@line 1498 "../src/h264bsd_slice_header.c"
 $tmp=$170; //@line 1498 "../src/h264bsd_slice_header.c"
 var $171=$tmp; //@line 1499 "../src/h264bsd_slice_header.c"
 var $172=($171|0)!=0; //@line 1499 "../src/h264bsd_slice_header.c"
 if($172){label=46;break;}else{label=47;break;} //@line 1499 "../src/h264bsd_slice_header.c"
 case 46: 
 var $174=$tmp; //@line 1500 "../src/h264bsd_slice_header.c"
 $1=$174; //@line 1500 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1500 "../src/h264bsd_slice_header.c"
 case 47: 
 label=48;break; //@line 1501 "../src/h264bsd_slice_header.c"
 case 48: 
 var $177=(($tmpStrmData)|0); //@line 1503 "../src/h264bsd_slice_header.c"
 var $178=_h264bsdGetBits($177,1); //@line 1503 "../src/h264bsd_slice_header.c"
 var $179=$2; //@line 1503 "../src/h264bsd_slice_header.c"
 HEAP32[(($179)>>2)]=$178; //@line 1503 "../src/h264bsd_slice_header.c"
 var $180=$2; //@line 1504 "../src/h264bsd_slice_header.c"
 var $181=HEAP32[(($180)>>2)]; //@line 1504 "../src/h264bsd_slice_header.c"
 var $182=($181|0)==-1; //@line 1504 "../src/h264bsd_slice_header.c"
 if($182){label=49;break;}else{label=50;break;} //@line 1504 "../src/h264bsd_slice_header.c"
 case 49: 
 $1=1; //@line 1505 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1505 "../src/h264bsd_slice_header.c"
 case 50: 
 $1=0; //@line 1507 "../src/h264bsd_slice_header.c"
 label=51;break; //@line 1507 "../src/h264bsd_slice_header.c"
 case 51: 
 var $186=$1; //@line 1509 "../src/h264bsd_slice_header.c"
 STACKTOP=sp;return $186; //@line 1509 "../src/h264bsd_slice_header.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdInitStorage($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 $1=$pStorage;
 var $2=$1; //@line 94 "../src/h264bsd_storage.c"
 var $3=($2|0)!=0; //@line 94 "../src/h264bsd_storage.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 94 "../src/h264bsd_storage.c"
 case 2: 
 ___assert_fail(7496,10832,94,13776); //@line 94 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 94 "../src/h264bsd_storage.c"
 label=3;break; //@line 94 "../src/h264bsd_storage.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 94 "../src/h264bsd_storage.c"
 var $9=$1; //@line 96 "../src/h264bsd_storage.c"
 var $10=$9; //@line 96 "../src/h264bsd_storage.c"
 _memset($10, 0, 3396)|0; //@line 96 "../src/h264bsd_storage.c"
 var $11=$1; //@line 98 "../src/h264bsd_storage.c"
 var $12=(($11+8)|0); //@line 98 "../src/h264bsd_storage.c"
 HEAP32[(($12)>>2)]=32; //@line 98 "../src/h264bsd_storage.c"
 var $13=$1; //@line 99 "../src/h264bsd_storage.c"
 var $14=(($13+4)|0); //@line 99 "../src/h264bsd_storage.c"
 HEAP32[(($14)>>2)]=256; //@line 99 "../src/h264bsd_storage.c"
 var $15=$1; //@line 101 "../src/h264bsd_storage.c"
 var $16=(($15+1300)|0); //@line 101 "../src/h264bsd_storage.c"
 var $17=(($16)|0); //@line 101 "../src/h264bsd_storage.c"
 var $18=(($17+32)|0); //@line 101 "../src/h264bsd_storage.c"
 HEAP32[(($18)>>2)]=1; //@line 101 "../src/h264bsd_storage.c"
 STACKTOP=sp;return; //@line 102 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdStoreSeqParamSet($pStorage,$pSeqParamSet){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $id;
 $2=$pStorage;
 $3=$pSeqParamSet;
 var $4=$2; //@line 136 "../src/h264bsd_storage.c"
 var $5=($4|0)!=0; //@line 136 "../src/h264bsd_storage.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 136 "../src/h264bsd_storage.c"
 case 2: 
 ___assert_fail(7496,10832,136,12664); //@line 136 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 136 "../src/h264bsd_storage.c"
 label=3;break; //@line 136 "../src/h264bsd_storage.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 136 "../src/h264bsd_storage.c"
 var $11=$3; //@line 137 "../src/h264bsd_storage.c"
 var $12=($11|0)!=0; //@line 137 "../src/h264bsd_storage.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 137 "../src/h264bsd_storage.c"
 case 4: 
 ___assert_fail(8856,10832,137,12664); //@line 137 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 137 "../src/h264bsd_storage.c"
 label=5;break; //@line 137 "../src/h264bsd_storage.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 137 "../src/h264bsd_storage.c"
 var $18=$3; //@line 138 "../src/h264bsd_storage.c"
 var $19=(($18+8)|0); //@line 138 "../src/h264bsd_storage.c"
 var $20=HEAP32[(($19)>>2)]; //@line 138 "../src/h264bsd_storage.c"
 var $21=($20>>>0)<32; //@line 138 "../src/h264bsd_storage.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 138 "../src/h264bsd_storage.c"
 case 6: 
 ___assert_fail(7824,10832,138,12664); //@line 138 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 138 "../src/h264bsd_storage.c"
 label=7;break; //@line 138 "../src/h264bsd_storage.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 138 "../src/h264bsd_storage.c"
 var $27=$3; //@line 140 "../src/h264bsd_storage.c"
 var $28=(($27+8)|0); //@line 140 "../src/h264bsd_storage.c"
 var $29=HEAP32[(($28)>>2)]; //@line 140 "../src/h264bsd_storage.c"
 $id=$29; //@line 140 "../src/h264bsd_storage.c"
 var $30=$id; //@line 143 "../src/h264bsd_storage.c"
 var $31=$2; //@line 143 "../src/h264bsd_storage.c"
 var $32=(($31+20)|0); //@line 143 "../src/h264bsd_storage.c"
 var $33=(($32+($30<<2))|0); //@line 143 "../src/h264bsd_storage.c"
 var $34=HEAP32[(($33)>>2)]; //@line 143 "../src/h264bsd_storage.c"
 var $35=($34|0)==0; //@line 143 "../src/h264bsd_storage.c"
 if($35){label=8;break;}else{label=11;break;} //@line 143 "../src/h264bsd_storage.c"
 case 8: 
 var $37=_malloc(92); //@line 145 "../src/h264bsd_storage.c"
 var $38=$37; //@line 145 "../src/h264bsd_storage.c"
 var $39=$id; //@line 145 "../src/h264bsd_storage.c"
 var $40=$2; //@line 145 "../src/h264bsd_storage.c"
 var $41=(($40+20)|0); //@line 145 "../src/h264bsd_storage.c"
 var $42=(($41+($39<<2))|0); //@line 145 "../src/h264bsd_storage.c"
 HEAP32[(($42)>>2)]=$38; //@line 145 "../src/h264bsd_storage.c"
 var $43=$id; //@line 146 "../src/h264bsd_storage.c"
 var $44=$2; //@line 146 "../src/h264bsd_storage.c"
 var $45=(($44+20)|0); //@line 146 "../src/h264bsd_storage.c"
 var $46=(($45+($43<<2))|0); //@line 146 "../src/h264bsd_storage.c"
 var $47=HEAP32[(($46)>>2)]; //@line 146 "../src/h264bsd_storage.c"
 var $48=($47|0)==0; //@line 146 "../src/h264bsd_storage.c"
 if($48){label=9;break;}else{label=10;break;} //@line 146 "../src/h264bsd_storage.c"
 case 9: 
 $1=65535; //@line 147 "../src/h264bsd_storage.c"
 label=19;break; //@line 147 "../src/h264bsd_storage.c"
 case 10: 
 label=18;break; //@line 148 "../src/h264bsd_storage.c"
 case 11: 
 var $52=$id; //@line 150 "../src/h264bsd_storage.c"
 var $53=$2; //@line 150 "../src/h264bsd_storage.c"
 var $54=(($53+8)|0); //@line 150 "../src/h264bsd_storage.c"
 var $55=HEAP32[(($54)>>2)]; //@line 150 "../src/h264bsd_storage.c"
 var $56=($52|0)==($55|0); //@line 150 "../src/h264bsd_storage.c"
 if($56){label=12;break;}else{label=16;break;} //@line 150 "../src/h264bsd_storage.c"
 case 12: 
 var $58=$3; //@line 158 "../src/h264bsd_storage.c"
 var $59=$2; //@line 158 "../src/h264bsd_storage.c"
 var $60=(($59+16)|0); //@line 158 "../src/h264bsd_storage.c"
 var $61=HEAP32[(($60)>>2)]; //@line 158 "../src/h264bsd_storage.c"
 var $62=_h264bsdCompareSeqParamSets($58,$61); //@line 158 "../src/h264bsd_storage.c"
 var $63=($62|0)!=0; //@line 158 "../src/h264bsd_storage.c"
 if($63){label=13;break;}else{label=14;break;} //@line 158 "../src/h264bsd_storage.c"
 case 13: 
 var $65=$id; //@line 160 "../src/h264bsd_storage.c"
 var $66=$2; //@line 160 "../src/h264bsd_storage.c"
 var $67=(($66+20)|0); //@line 160 "../src/h264bsd_storage.c"
 var $68=(($67+($65<<2))|0); //@line 160 "../src/h264bsd_storage.c"
 var $69=HEAP32[(($68)>>2)]; //@line 160 "../src/h264bsd_storage.c"
 var $70=(($69+40)|0); //@line 160 "../src/h264bsd_storage.c"
 var $71=HEAP32[(($70)>>2)]; //@line 160 "../src/h264bsd_storage.c"
 var $72=$71; //@line 160 "../src/h264bsd_storage.c"
 _free($72); //@line 160 "../src/h264bsd_storage.c"
 var $73=$id; //@line 160 "../src/h264bsd_storage.c"
 var $74=$2; //@line 160 "../src/h264bsd_storage.c"
 var $75=(($74+20)|0); //@line 160 "../src/h264bsd_storage.c"
 var $76=(($75+($73<<2))|0); //@line 160 "../src/h264bsd_storage.c"
 var $77=HEAP32[(($76)>>2)]; //@line 160 "../src/h264bsd_storage.c"
 var $78=(($77+40)|0); //@line 160 "../src/h264bsd_storage.c"
 HEAP32[(($78)>>2)]=0; //@line 160 "../src/h264bsd_storage.c"
 var $79=$id; //@line 161 "../src/h264bsd_storage.c"
 var $80=$2; //@line 161 "../src/h264bsd_storage.c"
 var $81=(($80+20)|0); //@line 161 "../src/h264bsd_storage.c"
 var $82=(($81+($79<<2))|0); //@line 161 "../src/h264bsd_storage.c"
 var $83=HEAP32[(($82)>>2)]; //@line 161 "../src/h264bsd_storage.c"
 var $84=(($83+84)|0); //@line 161 "../src/h264bsd_storage.c"
 var $85=HEAP32[(($84)>>2)]; //@line 161 "../src/h264bsd_storage.c"
 var $86=$85; //@line 161 "../src/h264bsd_storage.c"
 _free($86); //@line 161 "../src/h264bsd_storage.c"
 var $87=$id; //@line 161 "../src/h264bsd_storage.c"
 var $88=$2; //@line 161 "../src/h264bsd_storage.c"
 var $89=(($88+20)|0); //@line 161 "../src/h264bsd_storage.c"
 var $90=(($89+($87<<2))|0); //@line 161 "../src/h264bsd_storage.c"
 var $91=HEAP32[(($90)>>2)]; //@line 161 "../src/h264bsd_storage.c"
 var $92=(($91+84)|0); //@line 161 "../src/h264bsd_storage.c"
 HEAP32[(($92)>>2)]=0; //@line 161 "../src/h264bsd_storage.c"
 var $93=$2; //@line 162 "../src/h264bsd_storage.c"
 var $94=(($93+8)|0); //@line 162 "../src/h264bsd_storage.c"
 HEAP32[(($94)>>2)]=33; //@line 162 "../src/h264bsd_storage.c"
 var $95=$2; //@line 163 "../src/h264bsd_storage.c"
 var $96=(($95+4)|0); //@line 163 "../src/h264bsd_storage.c"
 HEAP32[(($96)>>2)]=257; //@line 163 "../src/h264bsd_storage.c"
 var $97=$2; //@line 164 "../src/h264bsd_storage.c"
 var $98=(($97+16)|0); //@line 164 "../src/h264bsd_storage.c"
 HEAP32[(($98)>>2)]=0; //@line 164 "../src/h264bsd_storage.c"
 var $99=$2; //@line 165 "../src/h264bsd_storage.c"
 var $100=(($99+12)|0); //@line 165 "../src/h264bsd_storage.c"
 HEAP32[(($100)>>2)]=0; //@line 165 "../src/h264bsd_storage.c"
 label=15;break; //@line 166 "../src/h264bsd_storage.c"
 case 14: 
 var $102=$3; //@line 169 "../src/h264bsd_storage.c"
 var $103=(($102+40)|0); //@line 169 "../src/h264bsd_storage.c"
 var $104=HEAP32[(($103)>>2)]; //@line 169 "../src/h264bsd_storage.c"
 var $105=$104; //@line 169 "../src/h264bsd_storage.c"
 _free($105); //@line 169 "../src/h264bsd_storage.c"
 var $106=$3; //@line 169 "../src/h264bsd_storage.c"
 var $107=(($106+40)|0); //@line 169 "../src/h264bsd_storage.c"
 HEAP32[(($107)>>2)]=0; //@line 169 "../src/h264bsd_storage.c"
 var $108=$3; //@line 170 "../src/h264bsd_storage.c"
 var $109=(($108+84)|0); //@line 170 "../src/h264bsd_storage.c"
 var $110=HEAP32[(($109)>>2)]; //@line 170 "../src/h264bsd_storage.c"
 var $111=$110; //@line 170 "../src/h264bsd_storage.c"
 _free($111); //@line 170 "../src/h264bsd_storage.c"
 var $112=$3; //@line 170 "../src/h264bsd_storage.c"
 var $113=(($112+84)|0); //@line 170 "../src/h264bsd_storage.c"
 HEAP32[(($113)>>2)]=0; //@line 170 "../src/h264bsd_storage.c"
 $1=0; //@line 171 "../src/h264bsd_storage.c"
 label=19;break; //@line 171 "../src/h264bsd_storage.c"
 case 15: 
 label=17;break; //@line 173 "../src/h264bsd_storage.c"
 case 16: 
 var $116=$id; //@line 178 "../src/h264bsd_storage.c"
 var $117=$2; //@line 178 "../src/h264bsd_storage.c"
 var $118=(($117+20)|0); //@line 178 "../src/h264bsd_storage.c"
 var $119=(($118+($116<<2))|0); //@line 178 "../src/h264bsd_storage.c"
 var $120=HEAP32[(($119)>>2)]; //@line 178 "../src/h264bsd_storage.c"
 var $121=(($120+40)|0); //@line 178 "../src/h264bsd_storage.c"
 var $122=HEAP32[(($121)>>2)]; //@line 178 "../src/h264bsd_storage.c"
 var $123=$122; //@line 178 "../src/h264bsd_storage.c"
 _free($123); //@line 178 "../src/h264bsd_storage.c"
 var $124=$id; //@line 178 "../src/h264bsd_storage.c"
 var $125=$2; //@line 178 "../src/h264bsd_storage.c"
 var $126=(($125+20)|0); //@line 178 "../src/h264bsd_storage.c"
 var $127=(($126+($124<<2))|0); //@line 178 "../src/h264bsd_storage.c"
 var $128=HEAP32[(($127)>>2)]; //@line 178 "../src/h264bsd_storage.c"
 var $129=(($128+40)|0); //@line 178 "../src/h264bsd_storage.c"
 HEAP32[(($129)>>2)]=0; //@line 178 "../src/h264bsd_storage.c"
 var $130=$id; //@line 179 "../src/h264bsd_storage.c"
 var $131=$2; //@line 179 "../src/h264bsd_storage.c"
 var $132=(($131+20)|0); //@line 179 "../src/h264bsd_storage.c"
 var $133=(($132+($130<<2))|0); //@line 179 "../src/h264bsd_storage.c"
 var $134=HEAP32[(($133)>>2)]; //@line 179 "../src/h264bsd_storage.c"
 var $135=(($134+84)|0); //@line 179 "../src/h264bsd_storage.c"
 var $136=HEAP32[(($135)>>2)]; //@line 179 "../src/h264bsd_storage.c"
 var $137=$136; //@line 179 "../src/h264bsd_storage.c"
 _free($137); //@line 179 "../src/h264bsd_storage.c"
 var $138=$id; //@line 179 "../src/h264bsd_storage.c"
 var $139=$2; //@line 179 "../src/h264bsd_storage.c"
 var $140=(($139+20)|0); //@line 179 "../src/h264bsd_storage.c"
 var $141=(($140+($138<<2))|0); //@line 179 "../src/h264bsd_storage.c"
 var $142=HEAP32[(($141)>>2)]; //@line 179 "../src/h264bsd_storage.c"
 var $143=(($142+84)|0); //@line 179 "../src/h264bsd_storage.c"
 HEAP32[(($143)>>2)]=0; //@line 179 "../src/h264bsd_storage.c"
 label=17;break;
 case 17: 
 label=18;break;
 case 18: 
 var $146=$id; //@line 182 "../src/h264bsd_storage.c"
 var $147=$2; //@line 182 "../src/h264bsd_storage.c"
 var $148=(($147+20)|0); //@line 182 "../src/h264bsd_storage.c"
 var $149=(($148+($146<<2))|0); //@line 182 "../src/h264bsd_storage.c"
 var $150=HEAP32[(($149)>>2)]; //@line 182 "../src/h264bsd_storage.c"
 var $151=$3; //@line 182 "../src/h264bsd_storage.c"
 var $152=$150; //@line 182 "../src/h264bsd_storage.c"
 var $153=$151; //@line 182 "../src/h264bsd_storage.c"
 assert(92 % 1 === 0);(_memcpy($152, $153, 92)|0); //@line 182 "../src/h264bsd_storage.c"
 $1=0; //@line 184 "../src/h264bsd_storage.c"
 label=19;break; //@line 184 "../src/h264bsd_storage.c"
 case 19: 
 var $155=$1; //@line 186 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $155; //@line 186 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdStorePicParamSet($pStorage,$pPicParamSet){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $id;
 $2=$pStorage;
 $3=$pPicParamSet;
 var $4=$2; //@line 219 "../src/h264bsd_storage.c"
 var $5=($4|0)!=0; //@line 219 "../src/h264bsd_storage.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 219 "../src/h264bsd_storage.c"
 case 2: 
 ___assert_fail(7496,10832,219,12688); //@line 219 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 219 "../src/h264bsd_storage.c"
 label=3;break; //@line 219 "../src/h264bsd_storage.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 219 "../src/h264bsd_storage.c"
 var $11=$3; //@line 220 "../src/h264bsd_storage.c"
 var $12=($11|0)!=0; //@line 220 "../src/h264bsd_storage.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 220 "../src/h264bsd_storage.c"
 case 4: 
 ___assert_fail(6880,10832,220,12688); //@line 220 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 220 "../src/h264bsd_storage.c"
 label=5;break; //@line 220 "../src/h264bsd_storage.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 220 "../src/h264bsd_storage.c"
 var $18=$3; //@line 221 "../src/h264bsd_storage.c"
 var $19=(($18)|0); //@line 221 "../src/h264bsd_storage.c"
 var $20=HEAP32[(($19)>>2)]; //@line 221 "../src/h264bsd_storage.c"
 var $21=($20>>>0)<256; //@line 221 "../src/h264bsd_storage.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 221 "../src/h264bsd_storage.c"
 case 6: 
 ___assert_fail(6040,10832,221,12688); //@line 221 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 221 "../src/h264bsd_storage.c"
 label=7;break; //@line 221 "../src/h264bsd_storage.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 221 "../src/h264bsd_storage.c"
 var $27=$3; //@line 222 "../src/h264bsd_storage.c"
 var $28=(($27+4)|0); //@line 222 "../src/h264bsd_storage.c"
 var $29=HEAP32[(($28)>>2)]; //@line 222 "../src/h264bsd_storage.c"
 var $30=($29>>>0)<32; //@line 222 "../src/h264bsd_storage.c"
 if($30){var $34=1;label=9;break;}else{label=8;break;} //@line 222 "../src/h264bsd_storage.c"
 case 8: 
 ___assert_fail(5576,10832,222,12688); //@line 222 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 222 "../src/h264bsd_storage.c"
 label=9;break; //@line 222 "../src/h264bsd_storage.c"
 case 9: 
 var $34;
 var $35=($34&1); //@line 222 "../src/h264bsd_storage.c"
 var $36=$3; //@line 224 "../src/h264bsd_storage.c"
 var $37=(($36)|0); //@line 224 "../src/h264bsd_storage.c"
 var $38=HEAP32[(($37)>>2)]; //@line 224 "../src/h264bsd_storage.c"
 $id=$38; //@line 224 "../src/h264bsd_storage.c"
 var $39=$id; //@line 227 "../src/h264bsd_storage.c"
 var $40=$2; //@line 227 "../src/h264bsd_storage.c"
 var $41=(($40+148)|0); //@line 227 "../src/h264bsd_storage.c"
 var $42=(($41+($39<<2))|0); //@line 227 "../src/h264bsd_storage.c"
 var $43=HEAP32[(($42)>>2)]; //@line 227 "../src/h264bsd_storage.c"
 var $44=($43|0)==0; //@line 227 "../src/h264bsd_storage.c"
 if($44){label=10;break;}else{label=13;break;} //@line 227 "../src/h264bsd_storage.c"
 case 10: 
 var $46=_malloc(72); //@line 229 "../src/h264bsd_storage.c"
 var $47=$46; //@line 229 "../src/h264bsd_storage.c"
 var $48=$id; //@line 229 "../src/h264bsd_storage.c"
 var $49=$2; //@line 229 "../src/h264bsd_storage.c"
 var $50=(($49+148)|0); //@line 229 "../src/h264bsd_storage.c"
 var $51=(($50+($48<<2))|0); //@line 229 "../src/h264bsd_storage.c"
 HEAP32[(($51)>>2)]=$47; //@line 229 "../src/h264bsd_storage.c"
 var $52=$id; //@line 230 "../src/h264bsd_storage.c"
 var $53=$2; //@line 230 "../src/h264bsd_storage.c"
 var $54=(($53+148)|0); //@line 230 "../src/h264bsd_storage.c"
 var $55=(($54+($52<<2))|0); //@line 230 "../src/h264bsd_storage.c"
 var $56=HEAP32[(($55)>>2)]; //@line 230 "../src/h264bsd_storage.c"
 var $57=($56|0)==0; //@line 230 "../src/h264bsd_storage.c"
 if($57){label=11;break;}else{label=12;break;} //@line 230 "../src/h264bsd_storage.c"
 case 11: 
 $1=65535; //@line 231 "../src/h264bsd_storage.c"
 label=20;break; //@line 231 "../src/h264bsd_storage.c"
 case 12: 
 label=19;break; //@line 232 "../src/h264bsd_storage.c"
 case 13: 
 var $61=$id; //@line 234 "../src/h264bsd_storage.c"
 var $62=$2; //@line 234 "../src/h264bsd_storage.c"
 var $63=(($62+4)|0); //@line 234 "../src/h264bsd_storage.c"
 var $64=HEAP32[(($63)>>2)]; //@line 234 "../src/h264bsd_storage.c"
 var $65=($61|0)==($64|0); //@line 234 "../src/h264bsd_storage.c"
 if($65){label=14;break;}else{label=17;break;} //@line 234 "../src/h264bsd_storage.c"
 case 14: 
 var $67=$3; //@line 239 "../src/h264bsd_storage.c"
 var $68=(($67+4)|0); //@line 239 "../src/h264bsd_storage.c"
 var $69=HEAP32[(($68)>>2)]; //@line 239 "../src/h264bsd_storage.c"
 var $70=$2; //@line 239 "../src/h264bsd_storage.c"
 var $71=(($70+8)|0); //@line 239 "../src/h264bsd_storage.c"
 var $72=HEAP32[(($71)>>2)]; //@line 239 "../src/h264bsd_storage.c"
 var $73=($69|0)!=($72|0); //@line 239 "../src/h264bsd_storage.c"
 if($73){label=15;break;}else{label=16;break;} //@line 239 "../src/h264bsd_storage.c"
 case 15: 
 var $75=$2; //@line 241 "../src/h264bsd_storage.c"
 var $76=(($75+4)|0); //@line 241 "../src/h264bsd_storage.c"
 HEAP32[(($76)>>2)]=257; //@line 241 "../src/h264bsd_storage.c"
 label=16;break; //@line 242 "../src/h264bsd_storage.c"
 case 16: 
 var $78=$id; //@line 244 "../src/h264bsd_storage.c"
 var $79=$2; //@line 244 "../src/h264bsd_storage.c"
 var $80=(($79+148)|0); //@line 244 "../src/h264bsd_storage.c"
 var $81=(($80+($78<<2))|0); //@line 244 "../src/h264bsd_storage.c"
 var $82=HEAP32[(($81)>>2)]; //@line 244 "../src/h264bsd_storage.c"
 var $83=(($82+20)|0); //@line 244 "../src/h264bsd_storage.c"
 var $84=HEAP32[(($83)>>2)]; //@line 244 "../src/h264bsd_storage.c"
 var $85=$84; //@line 244 "../src/h264bsd_storage.c"
 _free($85); //@line 244 "../src/h264bsd_storage.c"
 var $86=$id; //@line 244 "../src/h264bsd_storage.c"
 var $87=$2; //@line 244 "../src/h264bsd_storage.c"
 var $88=(($87+148)|0); //@line 244 "../src/h264bsd_storage.c"
 var $89=(($88+($86<<2))|0); //@line 244 "../src/h264bsd_storage.c"
 var $90=HEAP32[(($89)>>2)]; //@line 244 "../src/h264bsd_storage.c"
 var $91=(($90+20)|0); //@line 244 "../src/h264bsd_storage.c"
 HEAP32[(($91)>>2)]=0; //@line 244 "../src/h264bsd_storage.c"
 var $92=$id; //@line 245 "../src/h264bsd_storage.c"
 var $93=$2; //@line 245 "../src/h264bsd_storage.c"
 var $94=(($93+148)|0); //@line 245 "../src/h264bsd_storage.c"
 var $95=(($94+($92<<2))|0); //@line 245 "../src/h264bsd_storage.c"
 var $96=HEAP32[(($95)>>2)]; //@line 245 "../src/h264bsd_storage.c"
 var $97=(($96+24)|0); //@line 245 "../src/h264bsd_storage.c"
 var $98=HEAP32[(($97)>>2)]; //@line 245 "../src/h264bsd_storage.c"
 var $99=$98; //@line 245 "../src/h264bsd_storage.c"
 _free($99); //@line 245 "../src/h264bsd_storage.c"
 var $100=$id; //@line 245 "../src/h264bsd_storage.c"
 var $101=$2; //@line 245 "../src/h264bsd_storage.c"
 var $102=(($101+148)|0); //@line 245 "../src/h264bsd_storage.c"
 var $103=(($102+($100<<2))|0); //@line 245 "../src/h264bsd_storage.c"
 var $104=HEAP32[(($103)>>2)]; //@line 245 "../src/h264bsd_storage.c"
 var $105=(($104+24)|0); //@line 245 "../src/h264bsd_storage.c"
 HEAP32[(($105)>>2)]=0; //@line 245 "../src/h264bsd_storage.c"
 var $106=$id; //@line 246 "../src/h264bsd_storage.c"
 var $107=$2; //@line 246 "../src/h264bsd_storage.c"
 var $108=(($107+148)|0); //@line 246 "../src/h264bsd_storage.c"
 var $109=(($108+($106<<2))|0); //@line 246 "../src/h264bsd_storage.c"
 var $110=HEAP32[(($109)>>2)]; //@line 246 "../src/h264bsd_storage.c"
 var $111=(($110+28)|0); //@line 246 "../src/h264bsd_storage.c"
 var $112=HEAP32[(($111)>>2)]; //@line 246 "../src/h264bsd_storage.c"
 var $113=$112; //@line 246 "../src/h264bsd_storage.c"
 _free($113); //@line 246 "../src/h264bsd_storage.c"
 var $114=$id; //@line 246 "../src/h264bsd_storage.c"
 var $115=$2; //@line 246 "../src/h264bsd_storage.c"
 var $116=(($115+148)|0); //@line 246 "../src/h264bsd_storage.c"
 var $117=(($116+($114<<2))|0); //@line 246 "../src/h264bsd_storage.c"
 var $118=HEAP32[(($117)>>2)]; //@line 246 "../src/h264bsd_storage.c"
 var $119=(($118+28)|0); //@line 246 "../src/h264bsd_storage.c"
 HEAP32[(($119)>>2)]=0; //@line 246 "../src/h264bsd_storage.c"
 var $120=$id; //@line 247 "../src/h264bsd_storage.c"
 var $121=$2; //@line 247 "../src/h264bsd_storage.c"
 var $122=(($121+148)|0); //@line 247 "../src/h264bsd_storage.c"
 var $123=(($122+($120<<2))|0); //@line 247 "../src/h264bsd_storage.c"
 var $124=HEAP32[(($123)>>2)]; //@line 247 "../src/h264bsd_storage.c"
 var $125=(($124+44)|0); //@line 247 "../src/h264bsd_storage.c"
 var $126=HEAP32[(($125)>>2)]; //@line 247 "../src/h264bsd_storage.c"
 var $127=$126; //@line 247 "../src/h264bsd_storage.c"
 _free($127); //@line 247 "../src/h264bsd_storage.c"
 var $128=$id; //@line 247 "../src/h264bsd_storage.c"
 var $129=$2; //@line 247 "../src/h264bsd_storage.c"
 var $130=(($129+148)|0); //@line 247 "../src/h264bsd_storage.c"
 var $131=(($130+($128<<2))|0); //@line 247 "../src/h264bsd_storage.c"
 var $132=HEAP32[(($131)>>2)]; //@line 247 "../src/h264bsd_storage.c"
 var $133=(($132+44)|0); //@line 247 "../src/h264bsd_storage.c"
 HEAP32[(($133)>>2)]=0; //@line 247 "../src/h264bsd_storage.c"
 label=18;break; //@line 248 "../src/h264bsd_storage.c"
 case 17: 
 var $135=$id; //@line 253 "../src/h264bsd_storage.c"
 var $136=$2; //@line 253 "../src/h264bsd_storage.c"
 var $137=(($136+148)|0); //@line 253 "../src/h264bsd_storage.c"
 var $138=(($137+($135<<2))|0); //@line 253 "../src/h264bsd_storage.c"
 var $139=HEAP32[(($138)>>2)]; //@line 253 "../src/h264bsd_storage.c"
 var $140=(($139+20)|0); //@line 253 "../src/h264bsd_storage.c"
 var $141=HEAP32[(($140)>>2)]; //@line 253 "../src/h264bsd_storage.c"
 var $142=$141; //@line 253 "../src/h264bsd_storage.c"
 _free($142); //@line 253 "../src/h264bsd_storage.c"
 var $143=$id; //@line 253 "../src/h264bsd_storage.c"
 var $144=$2; //@line 253 "../src/h264bsd_storage.c"
 var $145=(($144+148)|0); //@line 253 "../src/h264bsd_storage.c"
 var $146=(($145+($143<<2))|0); //@line 253 "../src/h264bsd_storage.c"
 var $147=HEAP32[(($146)>>2)]; //@line 253 "../src/h264bsd_storage.c"
 var $148=(($147+20)|0); //@line 253 "../src/h264bsd_storage.c"
 HEAP32[(($148)>>2)]=0; //@line 253 "../src/h264bsd_storage.c"
 var $149=$id; //@line 254 "../src/h264bsd_storage.c"
 var $150=$2; //@line 254 "../src/h264bsd_storage.c"
 var $151=(($150+148)|0); //@line 254 "../src/h264bsd_storage.c"
 var $152=(($151+($149<<2))|0); //@line 254 "../src/h264bsd_storage.c"
 var $153=HEAP32[(($152)>>2)]; //@line 254 "../src/h264bsd_storage.c"
 var $154=(($153+24)|0); //@line 254 "../src/h264bsd_storage.c"
 var $155=HEAP32[(($154)>>2)]; //@line 254 "../src/h264bsd_storage.c"
 var $156=$155; //@line 254 "../src/h264bsd_storage.c"
 _free($156); //@line 254 "../src/h264bsd_storage.c"
 var $157=$id; //@line 254 "../src/h264bsd_storage.c"
 var $158=$2; //@line 254 "../src/h264bsd_storage.c"
 var $159=(($158+148)|0); //@line 254 "../src/h264bsd_storage.c"
 var $160=(($159+($157<<2))|0); //@line 254 "../src/h264bsd_storage.c"
 var $161=HEAP32[(($160)>>2)]; //@line 254 "../src/h264bsd_storage.c"
 var $162=(($161+24)|0); //@line 254 "../src/h264bsd_storage.c"
 HEAP32[(($162)>>2)]=0; //@line 254 "../src/h264bsd_storage.c"
 var $163=$id; //@line 255 "../src/h264bsd_storage.c"
 var $164=$2; //@line 255 "../src/h264bsd_storage.c"
 var $165=(($164+148)|0); //@line 255 "../src/h264bsd_storage.c"
 var $166=(($165+($163<<2))|0); //@line 255 "../src/h264bsd_storage.c"
 var $167=HEAP32[(($166)>>2)]; //@line 255 "../src/h264bsd_storage.c"
 var $168=(($167+28)|0); //@line 255 "../src/h264bsd_storage.c"
 var $169=HEAP32[(($168)>>2)]; //@line 255 "../src/h264bsd_storage.c"
 var $170=$169; //@line 255 "../src/h264bsd_storage.c"
 _free($170); //@line 255 "../src/h264bsd_storage.c"
 var $171=$id; //@line 255 "../src/h264bsd_storage.c"
 var $172=$2; //@line 255 "../src/h264bsd_storage.c"
 var $173=(($172+148)|0); //@line 255 "../src/h264bsd_storage.c"
 var $174=(($173+($171<<2))|0); //@line 255 "../src/h264bsd_storage.c"
 var $175=HEAP32[(($174)>>2)]; //@line 255 "../src/h264bsd_storage.c"
 var $176=(($175+28)|0); //@line 255 "../src/h264bsd_storage.c"
 HEAP32[(($176)>>2)]=0; //@line 255 "../src/h264bsd_storage.c"
 var $177=$id; //@line 256 "../src/h264bsd_storage.c"
 var $178=$2; //@line 256 "../src/h264bsd_storage.c"
 var $179=(($178+148)|0); //@line 256 "../src/h264bsd_storage.c"
 var $180=(($179+($177<<2))|0); //@line 256 "../src/h264bsd_storage.c"
 var $181=HEAP32[(($180)>>2)]; //@line 256 "../src/h264bsd_storage.c"
 var $182=(($181+44)|0); //@line 256 "../src/h264bsd_storage.c"
 var $183=HEAP32[(($182)>>2)]; //@line 256 "../src/h264bsd_storage.c"
 var $184=$183; //@line 256 "../src/h264bsd_storage.c"
 _free($184); //@line 256 "../src/h264bsd_storage.c"
 var $185=$id; //@line 256 "../src/h264bsd_storage.c"
 var $186=$2; //@line 256 "../src/h264bsd_storage.c"
 var $187=(($186+148)|0); //@line 256 "../src/h264bsd_storage.c"
 var $188=(($187+($185<<2))|0); //@line 256 "../src/h264bsd_storage.c"
 var $189=HEAP32[(($188)>>2)]; //@line 256 "../src/h264bsd_storage.c"
 var $190=(($189+44)|0); //@line 256 "../src/h264bsd_storage.c"
 HEAP32[(($190)>>2)]=0; //@line 256 "../src/h264bsd_storage.c"
 label=18;break;
 case 18: 
 label=19;break;
 case 19: 
 var $193=$id; //@line 259 "../src/h264bsd_storage.c"
 var $194=$2; //@line 259 "../src/h264bsd_storage.c"
 var $195=(($194+148)|0); //@line 259 "../src/h264bsd_storage.c"
 var $196=(($195+($193<<2))|0); //@line 259 "../src/h264bsd_storage.c"
 var $197=HEAP32[(($196)>>2)]; //@line 259 "../src/h264bsd_storage.c"
 var $198=$3; //@line 259 "../src/h264bsd_storage.c"
 var $199=$197; //@line 259 "../src/h264bsd_storage.c"
 var $200=$198; //@line 259 "../src/h264bsd_storage.c"
 assert(72 % 1 === 0);(_memcpy($199, $200, 72)|0); //@line 259 "../src/h264bsd_storage.c"
 $1=0; //@line 261 "../src/h264bsd_storage.c"
 label=20;break; //@line 261 "../src/h264bsd_storage.c"
 case 20: 
 var $202=$1; //@line 263 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $202; //@line 263 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdActivateParamSets($pStorage,$ppsId,$isIdr){
 var label=0;
 var tempVarArgs=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $tmp;
 var $flag;
 $2=$pStorage;
 $3=$ppsId;
 $4=$isIdr;
 var $5=$2; //@line 307 "../src/h264bsd_storage.c"
 var $6=($5|0)!=0; //@line 307 "../src/h264bsd_storage.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 307 "../src/h264bsd_storage.c"
 case 2: 
 ___assert_fail(7496,10832,307,15000); //@line 307 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 307 "../src/h264bsd_storage.c"
 label=3;break; //@line 307 "../src/h264bsd_storage.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 307 "../src/h264bsd_storage.c"
 var $12=$3; //@line 308 "../src/h264bsd_storage.c"
 var $13=($12>>>0)<256; //@line 308 "../src/h264bsd_storage.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 308 "../src/h264bsd_storage.c"
 case 4: 
 ___assert_fail(5232,10832,308,15000); //@line 308 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 308 "../src/h264bsd_storage.c"
 label=5;break; //@line 308 "../src/h264bsd_storage.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 308 "../src/h264bsd_storage.c"
 var $19=$3; //@line 311 "../src/h264bsd_storage.c"
 var $20=$2; //@line 311 "../src/h264bsd_storage.c"
 var $21=(($20+148)|0); //@line 311 "../src/h264bsd_storage.c"
 var $22=(($21+($19<<2))|0); //@line 311 "../src/h264bsd_storage.c"
 var $23=HEAP32[(($22)>>2)]; //@line 311 "../src/h264bsd_storage.c"
 var $24=($23|0)==0; //@line 311 "../src/h264bsd_storage.c"
 if($24){label=7;break;}else{label=6;break;} //@line 311 "../src/h264bsd_storage.c"
 case 6: 
 var $26=$3; //@line 311 "../src/h264bsd_storage.c"
 var $27=$2; //@line 311 "../src/h264bsd_storage.c"
 var $28=(($27+148)|0); //@line 311 "../src/h264bsd_storage.c"
 var $29=(($28+($26<<2))|0); //@line 311 "../src/h264bsd_storage.c"
 var $30=HEAP32[(($29)>>2)]; //@line 311 "../src/h264bsd_storage.c"
 var $31=(($30+4)|0); //@line 311 "../src/h264bsd_storage.c"
 var $32=HEAP32[(($31)>>2)]; //@line 311 "../src/h264bsd_storage.c"
 var $33=$2; //@line 311 "../src/h264bsd_storage.c"
 var $34=(($33+20)|0); //@line 311 "../src/h264bsd_storage.c"
 var $35=(($34+($32<<2))|0); //@line 311 "../src/h264bsd_storage.c"
 var $36=HEAP32[(($35)>>2)]; //@line 311 "../src/h264bsd_storage.c"
 var $37=($36|0)==0; //@line 311 "../src/h264bsd_storage.c"
 if($37){label=7;break;}else{label=8;break;} //@line 311 "../src/h264bsd_storage.c"
 case 7: 
 $1=1; //@line 314 "../src/h264bsd_storage.c"
 label=37;break; //@line 314 "../src/h264bsd_storage.c"
 case 8: 
 var $40=$3; //@line 318 "../src/h264bsd_storage.c"
 var $41=$2; //@line 318 "../src/h264bsd_storage.c"
 var $42=(($41+148)|0); //@line 318 "../src/h264bsd_storage.c"
 var $43=(($42+($40<<2))|0); //@line 318 "../src/h264bsd_storage.c"
 var $44=HEAP32[(($43)>>2)]; //@line 318 "../src/h264bsd_storage.c"
 var $45=$3; //@line 318 "../src/h264bsd_storage.c"
 var $46=$2; //@line 318 "../src/h264bsd_storage.c"
 var $47=(($46+148)|0); //@line 318 "../src/h264bsd_storage.c"
 var $48=(($47+($45<<2))|0); //@line 318 "../src/h264bsd_storage.c"
 var $49=HEAP32[(($48)>>2)]; //@line 318 "../src/h264bsd_storage.c"
 var $50=(($49+4)|0); //@line 318 "../src/h264bsd_storage.c"
 var $51=HEAP32[(($50)>>2)]; //@line 318 "../src/h264bsd_storage.c"
 var $52=$2; //@line 318 "../src/h264bsd_storage.c"
 var $53=(($52+20)|0); //@line 318 "../src/h264bsd_storage.c"
 var $54=(($53+($51<<2))|0); //@line 318 "../src/h264bsd_storage.c"
 var $55=HEAP32[(($54)>>2)]; //@line 318 "../src/h264bsd_storage.c"
 var $56=_CheckPps($44,$55); //@line 318 "../src/h264bsd_storage.c"
 $tmp=$56; //@line 318 "../src/h264bsd_storage.c"
 var $57=$tmp; //@line 320 "../src/h264bsd_storage.c"
 var $58=($57|0)!=0; //@line 320 "../src/h264bsd_storage.c"
 if($58){label=9;break;}else{label=10;break;} //@line 320 "../src/h264bsd_storage.c"
 case 9: 
 var $60=$tmp; //@line 321 "../src/h264bsd_storage.c"
 $1=$60; //@line 321 "../src/h264bsd_storage.c"
 label=37;break; //@line 321 "../src/h264bsd_storage.c"
 case 10: 
 var $62=$2; //@line 324 "../src/h264bsd_storage.c"
 var $63=(($62+4)|0); //@line 324 "../src/h264bsd_storage.c"
 var $64=HEAP32[(($63)>>2)]; //@line 324 "../src/h264bsd_storage.c"
 var $65=($64|0)==256; //@line 324 "../src/h264bsd_storage.c"
 if($65){label=11;break;}else{label=12;break;} //@line 324 "../src/h264bsd_storage.c"
 case 11: 
 var $67=$3; //@line 326 "../src/h264bsd_storage.c"
 var $68=$2; //@line 326 "../src/h264bsd_storage.c"
 var $69=(($68+4)|0); //@line 326 "../src/h264bsd_storage.c"
 HEAP32[(($69)>>2)]=$67; //@line 326 "../src/h264bsd_storage.c"
 var $70=$3; //@line 327 "../src/h264bsd_storage.c"
 var $71=$2; //@line 327 "../src/h264bsd_storage.c"
 var $72=(($71+148)|0); //@line 327 "../src/h264bsd_storage.c"
 var $73=(($72+($70<<2))|0); //@line 327 "../src/h264bsd_storage.c"
 var $74=HEAP32[(($73)>>2)]; //@line 327 "../src/h264bsd_storage.c"
 var $75=$2; //@line 327 "../src/h264bsd_storage.c"
 var $76=(($75+12)|0); //@line 327 "../src/h264bsd_storage.c"
 HEAP32[(($76)>>2)]=$74; //@line 327 "../src/h264bsd_storage.c"
 var $77=$2; //@line 328 "../src/h264bsd_storage.c"
 var $78=(($77+12)|0); //@line 328 "../src/h264bsd_storage.c"
 var $79=HEAP32[(($78)>>2)]; //@line 328 "../src/h264bsd_storage.c"
 var $80=(($79+4)|0); //@line 328 "../src/h264bsd_storage.c"
 var $81=HEAP32[(($80)>>2)]; //@line 328 "../src/h264bsd_storage.c"
 var $82=$2; //@line 328 "../src/h264bsd_storage.c"
 var $83=(($82+8)|0); //@line 328 "../src/h264bsd_storage.c"
 HEAP32[(($83)>>2)]=$81; //@line 328 "../src/h264bsd_storage.c"
 var $84=$2; //@line 329 "../src/h264bsd_storage.c"
 var $85=(($84+8)|0); //@line 329 "../src/h264bsd_storage.c"
 var $86=HEAP32[(($85)>>2)]; //@line 329 "../src/h264bsd_storage.c"
 var $87=$2; //@line 329 "../src/h264bsd_storage.c"
 var $88=(($87+20)|0); //@line 329 "../src/h264bsd_storage.c"
 var $89=(($88+($86<<2))|0); //@line 329 "../src/h264bsd_storage.c"
 var $90=HEAP32[(($89)>>2)]; //@line 329 "../src/h264bsd_storage.c"
 var $91=$2; //@line 329 "../src/h264bsd_storage.c"
 var $92=(($91+16)|0); //@line 329 "../src/h264bsd_storage.c"
 HEAP32[(($92)>>2)]=$90; //@line 329 "../src/h264bsd_storage.c"
 var $93=$2; //@line 330 "../src/h264bsd_storage.c"
 var $94=(($93+16)|0); //@line 330 "../src/h264bsd_storage.c"
 var $95=HEAP32[(($94)>>2)]; //@line 330 "../src/h264bsd_storage.c"
 var $96=(($95+52)|0); //@line 330 "../src/h264bsd_storage.c"
 var $97=HEAP32[(($96)>>2)]; //@line 330 "../src/h264bsd_storage.c"
 var $98=$2; //@line 330 "../src/h264bsd_storage.c"
 var $99=(($98+16)|0); //@line 330 "../src/h264bsd_storage.c"
 var $100=HEAP32[(($99)>>2)]; //@line 330 "../src/h264bsd_storage.c"
 var $101=(($100+56)|0); //@line 330 "../src/h264bsd_storage.c"
 var $102=HEAP32[(($101)>>2)]; //@line 330 "../src/h264bsd_storage.c"
 var $103=(Math_imul($97,$102)|0); //@line 330 "../src/h264bsd_storage.c"
 var $104=$2; //@line 330 "../src/h264bsd_storage.c"
 var $105=(($104+1176)|0); //@line 330 "../src/h264bsd_storage.c"
 HEAP32[(($105)>>2)]=$103; //@line 330 "../src/h264bsd_storage.c"
 var $106=$2; //@line 334 "../src/h264bsd_storage.c"
 var $107=(($106+16)|0); //@line 334 "../src/h264bsd_storage.c"
 var $108=HEAP32[(($107)>>2)]; //@line 334 "../src/h264bsd_storage.c"
 var $109=(($108+52)|0); //@line 334 "../src/h264bsd_storage.c"
 var $110=HEAP32[(($109)>>2)]; //@line 334 "../src/h264bsd_storage.c"
 var $111=$2; //@line 334 "../src/h264bsd_storage.c"
 var $112=(($111+1336)|0); //@line 334 "../src/h264bsd_storage.c"
 var $113=(($112)|0); //@line 334 "../src/h264bsd_storage.c"
 var $114=(($113+4)|0); //@line 334 "../src/h264bsd_storage.c"
 HEAP32[(($114)>>2)]=$110; //@line 334 "../src/h264bsd_storage.c"
 var $115=$2; //@line 335 "../src/h264bsd_storage.c"
 var $116=(($115+16)|0); //@line 335 "../src/h264bsd_storage.c"
 var $117=HEAP32[(($116)>>2)]; //@line 335 "../src/h264bsd_storage.c"
 var $118=(($117+56)|0); //@line 335 "../src/h264bsd_storage.c"
 var $119=HEAP32[(($118)>>2)]; //@line 335 "../src/h264bsd_storage.c"
 var $120=$2; //@line 335 "../src/h264bsd_storage.c"
 var $121=(($120+1336)|0); //@line 335 "../src/h264bsd_storage.c"
 var $122=(($121)|0); //@line 335 "../src/h264bsd_storage.c"
 var $123=(($122+8)|0); //@line 335 "../src/h264bsd_storage.c"
 HEAP32[(($123)>>2)]=$119; //@line 335 "../src/h264bsd_storage.c"
 var $124=$2; //@line 337 "../src/h264bsd_storage.c"
 var $125=(($124+3380)|0); //@line 337 "../src/h264bsd_storage.c"
 HEAP32[(($125)>>2)]=1; //@line 337 "../src/h264bsd_storage.c"
 label=36;break; //@line 338 "../src/h264bsd_storage.c"
 case 12: 
 var $127=$2; //@line 340 "../src/h264bsd_storage.c"
 var $128=(($127+3380)|0); //@line 340 "../src/h264bsd_storage.c"
 var $129=HEAP32[(($128)>>2)]; //@line 340 "../src/h264bsd_storage.c"
 var $130=($129|0)!=0; //@line 340 "../src/h264bsd_storage.c"
 if($130){label=13;break;}else{label=26;break;} //@line 340 "../src/h264bsd_storage.c"
 case 13: 
 var $132=$2; //@line 342 "../src/h264bsd_storage.c"
 var $133=(($132+3380)|0); //@line 342 "../src/h264bsd_storage.c"
 HEAP32[(($133)>>2)]=0; //@line 342 "../src/h264bsd_storage.c"
 var $134=$2; //@line 344 "../src/h264bsd_storage.c"
 var $135=(($134+1212)|0); //@line 344 "../src/h264bsd_storage.c"
 var $136=HEAP32[(($135)>>2)]; //@line 344 "../src/h264bsd_storage.c"
 var $137=$136; //@line 344 "../src/h264bsd_storage.c"
 _free($137); //@line 344 "../src/h264bsd_storage.c"
 var $138=$2; //@line 344 "../src/h264bsd_storage.c"
 var $139=(($138+1212)|0); //@line 344 "../src/h264bsd_storage.c"
 HEAP32[(($139)>>2)]=0; //@line 344 "../src/h264bsd_storage.c"
 var $140=$2; //@line 345 "../src/h264bsd_storage.c"
 var $141=(($140+1172)|0); //@line 345 "../src/h264bsd_storage.c"
 var $142=HEAP32[(($141)>>2)]; //@line 345 "../src/h264bsd_storage.c"
 var $143=$142; //@line 345 "../src/h264bsd_storage.c"
 _free($143); //@line 345 "../src/h264bsd_storage.c"
 var $144=$2; //@line 345 "../src/h264bsd_storage.c"
 var $145=(($144+1172)|0); //@line 345 "../src/h264bsd_storage.c"
 HEAP32[(($145)>>2)]=0; //@line 345 "../src/h264bsd_storage.c"
 var $146=$2; //@line 347 "../src/h264bsd_storage.c"
 var $147=(($146+1176)|0); //@line 347 "../src/h264bsd_storage.c"
 var $148=HEAP32[(($147)>>2)]; //@line 347 "../src/h264bsd_storage.c"
 var $149=((($148)*(216))&-1); //@line 347 "../src/h264bsd_storage.c"
 var $150=_malloc($149); //@line 347 "../src/h264bsd_storage.c"
 var $151=$150; //@line 347 "../src/h264bsd_storage.c"
 var $152=$2; //@line 347 "../src/h264bsd_storage.c"
 var $153=(($152+1212)|0); //@line 347 "../src/h264bsd_storage.c"
 HEAP32[(($153)>>2)]=$151; //@line 347 "../src/h264bsd_storage.c"
 var $154=$2; //@line 348 "../src/h264bsd_storage.c"
 var $155=(($154+1176)|0); //@line 348 "../src/h264bsd_storage.c"
 var $156=HEAP32[(($155)>>2)]; //@line 348 "../src/h264bsd_storage.c"
 var $157=($156<<2); //@line 348 "../src/h264bsd_storage.c"
 var $158=_malloc($157); //@line 348 "../src/h264bsd_storage.c"
 var $159=$158; //@line 348 "../src/h264bsd_storage.c"
 var $160=$2; //@line 348 "../src/h264bsd_storage.c"
 var $161=(($160+1172)|0); //@line 348 "../src/h264bsd_storage.c"
 HEAP32[(($161)>>2)]=$159; //@line 348 "../src/h264bsd_storage.c"
 var $162=$2; //@line 349 "../src/h264bsd_storage.c"
 var $163=(($162+1212)|0); //@line 349 "../src/h264bsd_storage.c"
 var $164=HEAP32[(($163)>>2)]; //@line 349 "../src/h264bsd_storage.c"
 var $165=($164|0)==0; //@line 349 "../src/h264bsd_storage.c"
 if($165){label=15;break;}else{label=14;break;} //@line 349 "../src/h264bsd_storage.c"
 case 14: 
 var $167=$2; //@line 349 "../src/h264bsd_storage.c"
 var $168=(($167+1172)|0); //@line 349 "../src/h264bsd_storage.c"
 var $169=HEAP32[(($168)>>2)]; //@line 349 "../src/h264bsd_storage.c"
 var $170=($169|0)==0; //@line 349 "../src/h264bsd_storage.c"
 if($170){label=15;break;}else{label=16;break;} //@line 349 "../src/h264bsd_storage.c"
 case 15: 
 $1=65535; //@line 350 "../src/h264bsd_storage.c"
 label=37;break; //@line 350 "../src/h264bsd_storage.c"
 case 16: 
 var $173=$2; //@line 352 "../src/h264bsd_storage.c"
 var $174=(($173+1212)|0); //@line 352 "../src/h264bsd_storage.c"
 var $175=HEAP32[(($174)>>2)]; //@line 352 "../src/h264bsd_storage.c"
 var $176=$175; //@line 352 "../src/h264bsd_storage.c"
 var $177=$2; //@line 352 "../src/h264bsd_storage.c"
 var $178=(($177+1176)|0); //@line 352 "../src/h264bsd_storage.c"
 var $179=HEAP32[(($178)>>2)]; //@line 352 "../src/h264bsd_storage.c"
 var $180=((($179)*(216))&-1); //@line 352 "../src/h264bsd_storage.c"
 _memset($176, 0, $180)|0; //@line 352 "../src/h264bsd_storage.c"
 var $181=$2; //@line 355 "../src/h264bsd_storage.c"
 var $182=(($181+1212)|0); //@line 355 "../src/h264bsd_storage.c"
 var $183=HEAP32[(($182)>>2)]; //@line 355 "../src/h264bsd_storage.c"
 var $184=$2; //@line 355 "../src/h264bsd_storage.c"
 var $185=(($184+16)|0); //@line 355 "../src/h264bsd_storage.c"
 var $186=HEAP32[(($185)>>2)]; //@line 355 "../src/h264bsd_storage.c"
 var $187=(($186+52)|0); //@line 355 "../src/h264bsd_storage.c"
 var $188=HEAP32[(($187)>>2)]; //@line 355 "../src/h264bsd_storage.c"
 var $189=$2; //@line 355 "../src/h264bsd_storage.c"
 var $190=(($189+1176)|0); //@line 355 "../src/h264bsd_storage.c"
 var $191=HEAP32[(($190)>>2)]; //@line 355 "../src/h264bsd_storage.c"
 _h264bsdInitMbNeighbours($183,$188,$191); //@line 355 "../src/h264bsd_storage.c"
 var $192=$2; //@line 363 "../src/h264bsd_storage.c"
 var $193=(($192+1216)|0); //@line 363 "../src/h264bsd_storage.c"
 var $194=HEAP32[(($193)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $195=($194|0)!=0; //@line 363 "../src/h264bsd_storage.c"
 if($195){label=21;break;}else{label=17;break;} //@line 363 "../src/h264bsd_storage.c"
 case 17: 
 var $197=$2; //@line 363 "../src/h264bsd_storage.c"
 var $198=(($197+16)|0); //@line 363 "../src/h264bsd_storage.c"
 var $199=HEAP32[(($198)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $200=(($199+16)|0); //@line 363 "../src/h264bsd_storage.c"
 var $201=HEAP32[(($200)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $202=($201|0)==2; //@line 363 "../src/h264bsd_storage.c"
 if($202){label=21;break;}else{label=18;break;} //@line 363 "../src/h264bsd_storage.c"
 case 18: 
 var $204=$2; //@line 363 "../src/h264bsd_storage.c"
 var $205=(($204+16)|0); //@line 363 "../src/h264bsd_storage.c"
 var $206=HEAP32[(($205)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $207=(($206+80)|0); //@line 363 "../src/h264bsd_storage.c"
 var $208=HEAP32[(($207)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $209=($208|0)!=0; //@line 363 "../src/h264bsd_storage.c"
 if($209){label=19;break;}else{label=22;break;} //@line 363 "../src/h264bsd_storage.c"
 case 19: 
 var $211=$2; //@line 363 "../src/h264bsd_storage.c"
 var $212=(($211+16)|0); //@line 363 "../src/h264bsd_storage.c"
 var $213=HEAP32[(($212)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $214=(($213+84)|0); //@line 363 "../src/h264bsd_storage.c"
 var $215=HEAP32[(($214)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $216=(($215+920)|0); //@line 363 "../src/h264bsd_storage.c"
 var $217=HEAP32[(($216)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $218=($217|0)!=0; //@line 363 "../src/h264bsd_storage.c"
 if($218){label=20;break;}else{label=22;break;} //@line 363 "../src/h264bsd_storage.c"
 case 20: 
 var $220=$2; //@line 363 "../src/h264bsd_storage.c"
 var $221=(($220+16)|0); //@line 363 "../src/h264bsd_storage.c"
 var $222=HEAP32[(($221)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $223=(($222+84)|0); //@line 363 "../src/h264bsd_storage.c"
 var $224=HEAP32[(($223)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $225=(($224+944)|0); //@line 363 "../src/h264bsd_storage.c"
 var $226=HEAP32[(($225)>>2)]; //@line 363 "../src/h264bsd_storage.c"
 var $227=($226|0)!=0; //@line 363 "../src/h264bsd_storage.c"
 if($227){label=22;break;}else{label=21;break;} //@line 363 "../src/h264bsd_storage.c"
 case 21: 
 $flag=1; //@line 368 "../src/h264bsd_storage.c"
 label=23;break; //@line 368 "../src/h264bsd_storage.c"
 case 22: 
 $flag=0; //@line 370 "../src/h264bsd_storage.c"
 label=23;break;
 case 23: 
 var $231=$2; //@line 372 "../src/h264bsd_storage.c"
 var $232=(($231+1220)|0); //@line 372 "../src/h264bsd_storage.c"
 var $233=(($232)|0); //@line 372 "../src/h264bsd_storage.c"
 var $234=$2; //@line 372 "../src/h264bsd_storage.c"
 var $235=(($234+16)|0); //@line 372 "../src/h264bsd_storage.c"
 var $236=HEAP32[(($235)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $237=(($236+52)|0); //@line 372 "../src/h264bsd_storage.c"
 var $238=HEAP32[(($237)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $239=$2; //@line 372 "../src/h264bsd_storage.c"
 var $240=(($239+16)|0); //@line 372 "../src/h264bsd_storage.c"
 var $241=HEAP32[(($240)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $242=(($241+56)|0); //@line 372 "../src/h264bsd_storage.c"
 var $243=HEAP32[(($242)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $244=(Math_imul($238,$243)|0); //@line 372 "../src/h264bsd_storage.c"
 var $245=$2; //@line 372 "../src/h264bsd_storage.c"
 var $246=(($245+16)|0); //@line 372 "../src/h264bsd_storage.c"
 var $247=HEAP32[(($246)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $248=(($247+88)|0); //@line 372 "../src/h264bsd_storage.c"
 var $249=HEAP32[(($248)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $250=$2; //@line 372 "../src/h264bsd_storage.c"
 var $251=(($250+16)|0); //@line 372 "../src/h264bsd_storage.c"
 var $252=HEAP32[(($251)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $253=(($252+44)|0); //@line 372 "../src/h264bsd_storage.c"
 var $254=HEAP32[(($253)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $255=$2; //@line 372 "../src/h264bsd_storage.c"
 var $256=(($255+16)|0); //@line 372 "../src/h264bsd_storage.c"
 var $257=HEAP32[(($256)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $258=(($257+12)|0); //@line 372 "../src/h264bsd_storage.c"
 var $259=HEAP32[(($258)>>2)]; //@line 372 "../src/h264bsd_storage.c"
 var $260=$flag; //@line 372 "../src/h264bsd_storage.c"
 var $261=_h264bsdResetDpb($233,$244,$249,$254,$259,$260); //@line 372 "../src/h264bsd_storage.c"
 $tmp=$261; //@line 372 "../src/h264bsd_storage.c"
 var $262=$tmp; //@line 379 "../src/h264bsd_storage.c"
 var $263=($262|0)!=0; //@line 379 "../src/h264bsd_storage.c"
 if($263){label=24;break;}else{label=25;break;} //@line 379 "../src/h264bsd_storage.c"
 case 24: 
 var $265=$tmp; //@line 380 "../src/h264bsd_storage.c"
 $1=$265; //@line 380 "../src/h264bsd_storage.c"
 label=37;break; //@line 380 "../src/h264bsd_storage.c"
 case 25: 
 label=35;break; //@line 381 "../src/h264bsd_storage.c"
 case 26: 
 var $268=$3; //@line 382 "../src/h264bsd_storage.c"
 var $269=$2; //@line 382 "../src/h264bsd_storage.c"
 var $270=(($269+4)|0); //@line 382 "../src/h264bsd_storage.c"
 var $271=HEAP32[(($270)>>2)]; //@line 382 "../src/h264bsd_storage.c"
 var $272=($268|0)!=($271|0); //@line 382 "../src/h264bsd_storage.c"
 if($272){label=27;break;}else{label=34;break;} //@line 382 "../src/h264bsd_storage.c"
 case 27: 
 var $274=$3; //@line 385 "../src/h264bsd_storage.c"
 var $275=$2; //@line 385 "../src/h264bsd_storage.c"
 var $276=(($275+148)|0); //@line 385 "../src/h264bsd_storage.c"
 var $277=(($276+($274<<2))|0); //@line 385 "../src/h264bsd_storage.c"
 var $278=HEAP32[(($277)>>2)]; //@line 385 "../src/h264bsd_storage.c"
 var $279=(($278+4)|0); //@line 385 "../src/h264bsd_storage.c"
 var $280=HEAP32[(($279)>>2)]; //@line 385 "../src/h264bsd_storage.c"
 var $281=$2; //@line 385 "../src/h264bsd_storage.c"
 var $282=(($281+8)|0); //@line 385 "../src/h264bsd_storage.c"
 var $283=HEAP32[(($282)>>2)]; //@line 385 "../src/h264bsd_storage.c"
 var $284=($280|0)!=($283|0); //@line 385 "../src/h264bsd_storage.c"
 if($284){label=28;break;}else{label=32;break;} //@line 385 "../src/h264bsd_storage.c"
 case 28: 
 var $286=_printf(4856,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 387 "../src/h264bsd_storage.c"
 var $287=$4; //@line 388 "../src/h264bsd_storage.c"
 var $288=($287|0)!=0; //@line 388 "../src/h264bsd_storage.c"
 if($288){label=29;break;}else{label=30;break;} //@line 388 "../src/h264bsd_storage.c"
 case 29: 
 var $290=$3; //@line 390 "../src/h264bsd_storage.c"
 var $291=$2; //@line 390 "../src/h264bsd_storage.c"
 var $292=(($291+4)|0); //@line 390 "../src/h264bsd_storage.c"
 HEAP32[(($292)>>2)]=$290; //@line 390 "../src/h264bsd_storage.c"
 var $293=$3; //@line 391 "../src/h264bsd_storage.c"
 var $294=$2; //@line 391 "../src/h264bsd_storage.c"
 var $295=(($294+148)|0); //@line 391 "../src/h264bsd_storage.c"
 var $296=(($295+($293<<2))|0); //@line 391 "../src/h264bsd_storage.c"
 var $297=HEAP32[(($296)>>2)]; //@line 391 "../src/h264bsd_storage.c"
 var $298=$2; //@line 391 "../src/h264bsd_storage.c"
 var $299=(($298+12)|0); //@line 391 "../src/h264bsd_storage.c"
 HEAP32[(($299)>>2)]=$297; //@line 391 "../src/h264bsd_storage.c"
 var $300=$2; //@line 392 "../src/h264bsd_storage.c"
 var $301=(($300+12)|0); //@line 392 "../src/h264bsd_storage.c"
 var $302=HEAP32[(($301)>>2)]; //@line 392 "../src/h264bsd_storage.c"
 var $303=(($302+4)|0); //@line 392 "../src/h264bsd_storage.c"
 var $304=HEAP32[(($303)>>2)]; //@line 392 "../src/h264bsd_storage.c"
 var $305=$2; //@line 392 "../src/h264bsd_storage.c"
 var $306=(($305+8)|0); //@line 392 "../src/h264bsd_storage.c"
 HEAP32[(($306)>>2)]=$304; //@line 392 "../src/h264bsd_storage.c"
 var $307=$2; //@line 393 "../src/h264bsd_storage.c"
 var $308=(($307+8)|0); //@line 393 "../src/h264bsd_storage.c"
 var $309=HEAP32[(($308)>>2)]; //@line 393 "../src/h264bsd_storage.c"
 var $310=$2; //@line 393 "../src/h264bsd_storage.c"
 var $311=(($310+20)|0); //@line 393 "../src/h264bsd_storage.c"
 var $312=(($311+($309<<2))|0); //@line 393 "../src/h264bsd_storage.c"
 var $313=HEAP32[(($312)>>2)]; //@line 393 "../src/h264bsd_storage.c"
 var $314=$2; //@line 393 "../src/h264bsd_storage.c"
 var $315=(($314+16)|0); //@line 393 "../src/h264bsd_storage.c"
 HEAP32[(($315)>>2)]=$313; //@line 393 "../src/h264bsd_storage.c"
 var $316=$2; //@line 394 "../src/h264bsd_storage.c"
 var $317=(($316+16)|0); //@line 394 "../src/h264bsd_storage.c"
 var $318=HEAP32[(($317)>>2)]; //@line 394 "../src/h264bsd_storage.c"
 var $319=(($318+52)|0); //@line 394 "../src/h264bsd_storage.c"
 var $320=HEAP32[(($319)>>2)]; //@line 394 "../src/h264bsd_storage.c"
 var $321=$2; //@line 394 "../src/h264bsd_storage.c"
 var $322=(($321+16)|0); //@line 394 "../src/h264bsd_storage.c"
 var $323=HEAP32[(($322)>>2)]; //@line 394 "../src/h264bsd_storage.c"
 var $324=(($323+56)|0); //@line 394 "../src/h264bsd_storage.c"
 var $325=HEAP32[(($324)>>2)]; //@line 394 "../src/h264bsd_storage.c"
 var $326=(Math_imul($320,$325)|0); //@line 394 "../src/h264bsd_storage.c"
 var $327=$2; //@line 394 "../src/h264bsd_storage.c"
 var $328=(($327+1176)|0); //@line 394 "../src/h264bsd_storage.c"
 HEAP32[(($328)>>2)]=$326; //@line 394 "../src/h264bsd_storage.c"
 var $329=$2; //@line 398 "../src/h264bsd_storage.c"
 var $330=(($329+16)|0); //@line 398 "../src/h264bsd_storage.c"
 var $331=HEAP32[(($330)>>2)]; //@line 398 "../src/h264bsd_storage.c"
 var $332=(($331+52)|0); //@line 398 "../src/h264bsd_storage.c"
 var $333=HEAP32[(($332)>>2)]; //@line 398 "../src/h264bsd_storage.c"
 var $334=$2; //@line 398 "../src/h264bsd_storage.c"
 var $335=(($334+1336)|0); //@line 398 "../src/h264bsd_storage.c"
 var $336=(($335)|0); //@line 398 "../src/h264bsd_storage.c"
 var $337=(($336+4)|0); //@line 398 "../src/h264bsd_storage.c"
 HEAP32[(($337)>>2)]=$333; //@line 398 "../src/h264bsd_storage.c"
 var $338=$2; //@line 399 "../src/h264bsd_storage.c"
 var $339=(($338+16)|0); //@line 399 "../src/h264bsd_storage.c"
 var $340=HEAP32[(($339)>>2)]; //@line 399 "../src/h264bsd_storage.c"
 var $341=(($340+56)|0); //@line 399 "../src/h264bsd_storage.c"
 var $342=HEAP32[(($341)>>2)]; //@line 399 "../src/h264bsd_storage.c"
 var $343=$2; //@line 399 "../src/h264bsd_storage.c"
 var $344=(($343+1336)|0); //@line 399 "../src/h264bsd_storage.c"
 var $345=(($344)|0); //@line 399 "../src/h264bsd_storage.c"
 var $346=(($345+8)|0); //@line 399 "../src/h264bsd_storage.c"
 HEAP32[(($346)>>2)]=$342; //@line 399 "../src/h264bsd_storage.c"
 var $347=$2; //@line 402 "../src/h264bsd_storage.c"
 var $348=(($347+3380)|0); //@line 402 "../src/h264bsd_storage.c"
 HEAP32[(($348)>>2)]=1; //@line 402 "../src/h264bsd_storage.c"
 label=31;break; //@line 403 "../src/h264bsd_storage.c"
 case 30: 
 var $350=_printf(4432,(tempVarArgs=STACKTOP,STACKTOP = (STACKTOP + 1)|0,STACKTOP = (((STACKTOP)+7)&-8),(assert((STACKTOP|0) < (STACK_MAX|0))|0),HEAP32[((tempVarArgs)>>2)]=0,tempVarArgs)); STACKTOP=tempVarArgs; //@line 406 "../src/h264bsd_storage.c"
 $1=1; //@line 407 "../src/h264bsd_storage.c"
 label=37;break; //@line 407 "../src/h264bsd_storage.c"
 case 31: 
 label=33;break; //@line 409 "../src/h264bsd_storage.c"
 case 32: 
 var $353=$3; //@line 412 "../src/h264bsd_storage.c"
 var $354=$2; //@line 412 "../src/h264bsd_storage.c"
 var $355=(($354+4)|0); //@line 412 "../src/h264bsd_storage.c"
 HEAP32[(($355)>>2)]=$353; //@line 412 "../src/h264bsd_storage.c"
 var $356=$3; //@line 413 "../src/h264bsd_storage.c"
 var $357=$2; //@line 413 "../src/h264bsd_storage.c"
 var $358=(($357+148)|0); //@line 413 "../src/h264bsd_storage.c"
 var $359=(($358+($356<<2))|0); //@line 413 "../src/h264bsd_storage.c"
 var $360=HEAP32[(($359)>>2)]; //@line 413 "../src/h264bsd_storage.c"
 var $361=$2; //@line 413 "../src/h264bsd_storage.c"
 var $362=(($361+12)|0); //@line 413 "../src/h264bsd_storage.c"
 HEAP32[(($362)>>2)]=$360; //@line 413 "../src/h264bsd_storage.c"
 label=33;break;
 case 33: 
 label=34;break; //@line 415 "../src/h264bsd_storage.c"
 case 34: 
 label=35;break;
 case 35: 
 label=36;break;
 case 36: 
 $1=0; //@line 417 "../src/h264bsd_storage.c"
 label=37;break; //@line 417 "../src/h264bsd_storage.c"
 case 37: 
 var $368=$1; //@line 419 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $368; //@line 419 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _CheckPps($pps,$sps){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $i;
 var $picSize;
 $2=$pps;
 $3=$sps;
 var $4=$3; //@line 801 "../src/h264bsd_storage.c"
 var $5=(($4+52)|0); //@line 801 "../src/h264bsd_storage.c"
 var $6=HEAP32[(($5)>>2)]; //@line 801 "../src/h264bsd_storage.c"
 var $7=$3; //@line 801 "../src/h264bsd_storage.c"
 var $8=(($7+56)|0); //@line 801 "../src/h264bsd_storage.c"
 var $9=HEAP32[(($8)>>2)]; //@line 801 "../src/h264bsd_storage.c"
 var $10=(Math_imul($6,$9)|0); //@line 801 "../src/h264bsd_storage.c"
 $picSize=$10; //@line 801 "../src/h264bsd_storage.c"
 var $11=$2; //@line 804 "../src/h264bsd_storage.c"
 var $12=(($11+12)|0); //@line 804 "../src/h264bsd_storage.c"
 var $13=HEAP32[(($12)>>2)]; //@line 804 "../src/h264bsd_storage.c"
 var $14=($13>>>0)>1; //@line 804 "../src/h264bsd_storage.c"
 if($14){label=2;break;}else{label=39;break;} //@line 804 "../src/h264bsd_storage.c"
 case 2: 
 var $16=$2; //@line 806 "../src/h264bsd_storage.c"
 var $17=(($16+16)|0); //@line 806 "../src/h264bsd_storage.c"
 var $18=HEAP32[(($17)>>2)]; //@line 806 "../src/h264bsd_storage.c"
 var $19=($18|0)==0; //@line 806 "../src/h264bsd_storage.c"
 if($19){label=3;break;}else{label=12;break;} //@line 806 "../src/h264bsd_storage.c"
 case 3: 
 var $21=$2; //@line 808 "../src/h264bsd_storage.c"
 var $22=(($21+20)|0); //@line 808 "../src/h264bsd_storage.c"
 var $23=HEAP32[(($22)>>2)]; //@line 808 "../src/h264bsd_storage.c"
 var $24=($23|0)!=0; //@line 808 "../src/h264bsd_storage.c"
 if($24){var $28=1;label=5;break;}else{label=4;break;} //@line 808 "../src/h264bsd_storage.c"
 case 4: 
 ___assert_fail(10256,10832,808,16496); //@line 808 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 808 "../src/h264bsd_storage.c"
 label=5;break; //@line 808 "../src/h264bsd_storage.c"
 case 5: 
 var $28;
 var $29=($28&1); //@line 808 "../src/h264bsd_storage.c"
 $i=0; //@line 809 "../src/h264bsd_storage.c"
 label=6;break; //@line 809 "../src/h264bsd_storage.c"
 case 6: 
 var $31=$i; //@line 809 "../src/h264bsd_storage.c"
 var $32=$2; //@line 809 "../src/h264bsd_storage.c"
 var $33=(($32+12)|0); //@line 809 "../src/h264bsd_storage.c"
 var $34=HEAP32[(($33)>>2)]; //@line 809 "../src/h264bsd_storage.c"
 var $35=($31>>>0)<($34>>>0); //@line 809 "../src/h264bsd_storage.c"
 if($35){label=7;break;}else{label=11;break;} //@line 809 "../src/h264bsd_storage.c"
 case 7: 
 var $37=$i; //@line 811 "../src/h264bsd_storage.c"
 var $38=$2; //@line 811 "../src/h264bsd_storage.c"
 var $39=(($38+20)|0); //@line 811 "../src/h264bsd_storage.c"
 var $40=HEAP32[(($39)>>2)]; //@line 811 "../src/h264bsd_storage.c"
 var $41=(($40+($37<<2))|0); //@line 811 "../src/h264bsd_storage.c"
 var $42=HEAP32[(($41)>>2)]; //@line 811 "../src/h264bsd_storage.c"
 var $43=$picSize; //@line 811 "../src/h264bsd_storage.c"
 var $44=($42>>>0)>($43>>>0); //@line 811 "../src/h264bsd_storage.c"
 if($44){label=8;break;}else{label=9;break;} //@line 811 "../src/h264bsd_storage.c"
 case 8: 
 $1=1; //@line 812 "../src/h264bsd_storage.c"
 label=40;break; //@line 812 "../src/h264bsd_storage.c"
 case 9: 
 label=10;break; //@line 813 "../src/h264bsd_storage.c"
 case 10: 
 var $48=$i; //@line 809 "../src/h264bsd_storage.c"
 var $49=((($48)+(1))|0); //@line 809 "../src/h264bsd_storage.c"
 $i=$49; //@line 809 "../src/h264bsd_storage.c"
 label=6;break; //@line 809 "../src/h264bsd_storage.c"
 case 11: 
 label=38;break; //@line 814 "../src/h264bsd_storage.c"
 case 12: 
 var $52=$2; //@line 815 "../src/h264bsd_storage.c"
 var $53=(($52+16)|0); //@line 815 "../src/h264bsd_storage.c"
 var $54=HEAP32[(($53)>>2)]; //@line 815 "../src/h264bsd_storage.c"
 var $55=($54|0)==2; //@line 815 "../src/h264bsd_storage.c"
 if($55){label=13;break;}else{label=27;break;} //@line 815 "../src/h264bsd_storage.c"
 case 13: 
 var $57=$2; //@line 817 "../src/h264bsd_storage.c"
 var $58=(($57+24)|0); //@line 817 "../src/h264bsd_storage.c"
 var $59=HEAP32[(($58)>>2)]; //@line 817 "../src/h264bsd_storage.c"
 var $60=($59|0)!=0; //@line 817 "../src/h264bsd_storage.c"
 if($60){var $64=1;label=15;break;}else{label=14;break;} //@line 817 "../src/h264bsd_storage.c"
 case 14: 
 ___assert_fail(9992,10832,817,16496); //@line 817 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 817 "../src/h264bsd_storage.c"
 label=15;break; //@line 817 "../src/h264bsd_storage.c"
 case 15: 
 var $64;
 var $65=($64&1); //@line 817 "../src/h264bsd_storage.c"
 var $66=$2; //@line 818 "../src/h264bsd_storage.c"
 var $67=(($66+28)|0); //@line 818 "../src/h264bsd_storage.c"
 var $68=HEAP32[(($67)>>2)]; //@line 818 "../src/h264bsd_storage.c"
 var $69=($68|0)!=0; //@line 818 "../src/h264bsd_storage.c"
 if($69){var $73=1;label=17;break;}else{label=16;break;} //@line 818 "../src/h264bsd_storage.c"
 case 16: 
 ___assert_fail(9776,10832,818,16496); //@line 818 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 818 "../src/h264bsd_storage.c"
 label=17;break; //@line 818 "../src/h264bsd_storage.c"
 case 17: 
 var $73;
 var $74=($73&1); //@line 818 "../src/h264bsd_storage.c"
 $i=0; //@line 819 "../src/h264bsd_storage.c"
 label=18;break; //@line 819 "../src/h264bsd_storage.c"
 case 18: 
 var $76=$i; //@line 819 "../src/h264bsd_storage.c"
 var $77=$2; //@line 819 "../src/h264bsd_storage.c"
 var $78=(($77+12)|0); //@line 819 "../src/h264bsd_storage.c"
 var $79=HEAP32[(($78)>>2)]; //@line 819 "../src/h264bsd_storage.c"
 var $80=((($79)-(1))|0); //@line 819 "../src/h264bsd_storage.c"
 var $81=($76>>>0)<($80>>>0); //@line 819 "../src/h264bsd_storage.c"
 if($81){label=19;break;}else{label=26;break;} //@line 819 "../src/h264bsd_storage.c"
 case 19: 
 var $83=$i; //@line 821 "../src/h264bsd_storage.c"
 var $84=$2; //@line 821 "../src/h264bsd_storage.c"
 var $85=(($84+24)|0); //@line 821 "../src/h264bsd_storage.c"
 var $86=HEAP32[(($85)>>2)]; //@line 821 "../src/h264bsd_storage.c"
 var $87=(($86+($83<<2))|0); //@line 821 "../src/h264bsd_storage.c"
 var $88=HEAP32[(($87)>>2)]; //@line 821 "../src/h264bsd_storage.c"
 var $89=$i; //@line 821 "../src/h264bsd_storage.c"
 var $90=$2; //@line 821 "../src/h264bsd_storage.c"
 var $91=(($90+28)|0); //@line 821 "../src/h264bsd_storage.c"
 var $92=HEAP32[(($91)>>2)]; //@line 821 "../src/h264bsd_storage.c"
 var $93=(($92+($89<<2))|0); //@line 821 "../src/h264bsd_storage.c"
 var $94=HEAP32[(($93)>>2)]; //@line 821 "../src/h264bsd_storage.c"
 var $95=($88>>>0)>($94>>>0); //@line 821 "../src/h264bsd_storage.c"
 if($95){label=21;break;}else{label=20;break;} //@line 821 "../src/h264bsd_storage.c"
 case 20: 
 var $97=$i; //@line 821 "../src/h264bsd_storage.c"
 var $98=$2; //@line 821 "../src/h264bsd_storage.c"
 var $99=(($98+28)|0); //@line 821 "../src/h264bsd_storage.c"
 var $100=HEAP32[(($99)>>2)]; //@line 821 "../src/h264bsd_storage.c"
 var $101=(($100+($97<<2))|0); //@line 821 "../src/h264bsd_storage.c"
 var $102=HEAP32[(($101)>>2)]; //@line 821 "../src/h264bsd_storage.c"
 var $103=$picSize; //@line 821 "../src/h264bsd_storage.c"
 var $104=($102>>>0)>=($103>>>0); //@line 821 "../src/h264bsd_storage.c"
 if($104){label=21;break;}else{label=22;break;} //@line 821 "../src/h264bsd_storage.c"
 case 21: 
 $1=1; //@line 823 "../src/h264bsd_storage.c"
 label=40;break; //@line 823 "../src/h264bsd_storage.c"
 case 22: 
 var $107=$i; //@line 825 "../src/h264bsd_storage.c"
 var $108=$2; //@line 825 "../src/h264bsd_storage.c"
 var $109=(($108+24)|0); //@line 825 "../src/h264bsd_storage.c"
 var $110=HEAP32[(($109)>>2)]; //@line 825 "../src/h264bsd_storage.c"
 var $111=(($110+($107<<2))|0); //@line 825 "../src/h264bsd_storage.c"
 var $112=HEAP32[(($111)>>2)]; //@line 825 "../src/h264bsd_storage.c"
 var $113=$3; //@line 825 "../src/h264bsd_storage.c"
 var $114=(($113+52)|0); //@line 825 "../src/h264bsd_storage.c"
 var $115=HEAP32[(($114)>>2)]; //@line 825 "../src/h264bsd_storage.c"
 var $116=(((($112>>>0))%(($115>>>0)))&-1); //@line 825 "../src/h264bsd_storage.c"
 var $117=$i; //@line 825 "../src/h264bsd_storage.c"
 var $118=$2; //@line 825 "../src/h264bsd_storage.c"
 var $119=(($118+28)|0); //@line 825 "../src/h264bsd_storage.c"
 var $120=HEAP32[(($119)>>2)]; //@line 825 "../src/h264bsd_storage.c"
 var $121=(($120+($117<<2))|0); //@line 825 "../src/h264bsd_storage.c"
 var $122=HEAP32[(($121)>>2)]; //@line 825 "../src/h264bsd_storage.c"
 var $123=$3; //@line 825 "../src/h264bsd_storage.c"
 var $124=(($123+52)|0); //@line 825 "../src/h264bsd_storage.c"
 var $125=HEAP32[(($124)>>2)]; //@line 825 "../src/h264bsd_storage.c"
 var $126=(((($122>>>0))%(($125>>>0)))&-1); //@line 825 "../src/h264bsd_storage.c"
 var $127=($116>>>0)>($126>>>0); //@line 825 "../src/h264bsd_storage.c"
 if($127){label=23;break;}else{label=24;break;} //@line 825 "../src/h264bsd_storage.c"
 case 23: 
 $1=1; //@line 827 "../src/h264bsd_storage.c"
 label=40;break; //@line 827 "../src/h264bsd_storage.c"
 case 24: 
 label=25;break; //@line 828 "../src/h264bsd_storage.c"
 case 25: 
 var $131=$i; //@line 819 "../src/h264bsd_storage.c"
 var $132=((($131)+(1))|0); //@line 819 "../src/h264bsd_storage.c"
 $i=$132; //@line 819 "../src/h264bsd_storage.c"
 label=18;break; //@line 819 "../src/h264bsd_storage.c"
 case 26: 
 label=37;break; //@line 829 "../src/h264bsd_storage.c"
 case 27: 
 var $135=$2; //@line 830 "../src/h264bsd_storage.c"
 var $136=(($135+16)|0); //@line 830 "../src/h264bsd_storage.c"
 var $137=HEAP32[(($136)>>2)]; //@line 830 "../src/h264bsd_storage.c"
 var $138=($137>>>0)>2; //@line 830 "../src/h264bsd_storage.c"
 if($138){label=28;break;}else{label=32;break;} //@line 830 "../src/h264bsd_storage.c"
 case 28: 
 var $140=$2; //@line 830 "../src/h264bsd_storage.c"
 var $141=(($140+16)|0); //@line 830 "../src/h264bsd_storage.c"
 var $142=HEAP32[(($141)>>2)]; //@line 830 "../src/h264bsd_storage.c"
 var $143=($142>>>0)<6; //@line 830 "../src/h264bsd_storage.c"
 if($143){label=29;break;}else{label=32;break;} //@line 830 "../src/h264bsd_storage.c"
 case 29: 
 var $145=$2; //@line 832 "../src/h264bsd_storage.c"
 var $146=(($145+36)|0); //@line 832 "../src/h264bsd_storage.c"
 var $147=HEAP32[(($146)>>2)]; //@line 832 "../src/h264bsd_storage.c"
 var $148=$picSize; //@line 832 "../src/h264bsd_storage.c"
 var $149=($147>>>0)>($148>>>0); //@line 832 "../src/h264bsd_storage.c"
 if($149){label=30;break;}else{label=31;break;} //@line 832 "../src/h264bsd_storage.c"
 case 30: 
 $1=1; //@line 833 "../src/h264bsd_storage.c"
 label=40;break; //@line 833 "../src/h264bsd_storage.c"
 case 31: 
 label=36;break; //@line 834 "../src/h264bsd_storage.c"
 case 32: 
 var $153=$2; //@line 835 "../src/h264bsd_storage.c"
 var $154=(($153+16)|0); //@line 835 "../src/h264bsd_storage.c"
 var $155=HEAP32[(($154)>>2)]; //@line 835 "../src/h264bsd_storage.c"
 var $156=($155|0)==6; //@line 835 "../src/h264bsd_storage.c"
 if($156){label=33;break;}else{label=35;break;} //@line 835 "../src/h264bsd_storage.c"
 case 33: 
 var $158=$2; //@line 835 "../src/h264bsd_storage.c"
 var $159=(($158+40)|0); //@line 835 "../src/h264bsd_storage.c"
 var $160=HEAP32[(($159)>>2)]; //@line 835 "../src/h264bsd_storage.c"
 var $161=$picSize; //@line 835 "../src/h264bsd_storage.c"
 var $162=($160>>>0)<($161>>>0); //@line 835 "../src/h264bsd_storage.c"
 if($162){label=34;break;}else{label=35;break;} //@line 835 "../src/h264bsd_storage.c"
 case 34: 
 $1=1; //@line 837 "../src/h264bsd_storage.c"
 label=40;break; //@line 837 "../src/h264bsd_storage.c"
 case 35: 
 label=36;break;
 case 36: 
 label=37;break;
 case 37: 
 label=38;break;
 case 38: 
 label=39;break; //@line 838 "../src/h264bsd_storage.c"
 case 39: 
 $1=0; //@line 840 "../src/h264bsd_storage.c"
 label=40;break; //@line 840 "../src/h264bsd_storage.c"
 case 40: 
 var $170=$1; //@line 841 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $170; //@line 841 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdResetStorage($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $i;
 $1=$pStorage;
 var $2=$1; //@line 450 "../src/h264bsd_storage.c"
 var $3=($2|0)!=0; //@line 450 "../src/h264bsd_storage.c"
 if($3){var $7=0;label=3;break;}else{label=2;break;} //@line 450 "../src/h264bsd_storage.c"
 case 2: 
 ___assert_fail(7496,10832,450,12752); //@line 450 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 450 "../src/h264bsd_storage.c"
 label=3;break; //@line 450 "../src/h264bsd_storage.c"
 case 3: 
 var $7;
 var $8=($7&1); //@line 450 "../src/h264bsd_storage.c"
 var $9=$1; //@line 452 "../src/h264bsd_storage.c"
 var $10=(($9+1192)|0); //@line 452 "../src/h264bsd_storage.c"
 var $11=(($10)|0); //@line 452 "../src/h264bsd_storage.c"
 var $12=(($11+4)|0); //@line 452 "../src/h264bsd_storage.c"
 HEAP32[(($12)>>2)]=0; //@line 452 "../src/h264bsd_storage.c"
 var $13=$1; //@line 453 "../src/h264bsd_storage.c"
 var $14=(($13+1192)|0); //@line 453 "../src/h264bsd_storage.c"
 var $15=(($14)|0); //@line 453 "../src/h264bsd_storage.c"
 var $16=(($15)|0); //@line 453 "../src/h264bsd_storage.c"
 HEAP32[(($16)>>2)]=0; //@line 453 "../src/h264bsd_storage.c"
 $i=0; //@line 455 "../src/h264bsd_storage.c"
 label=4;break; //@line 455 "../src/h264bsd_storage.c"
 case 4: 
 var $18=$i; //@line 455 "../src/h264bsd_storage.c"
 var $19=$1; //@line 455 "../src/h264bsd_storage.c"
 var $20=(($19+1176)|0); //@line 455 "../src/h264bsd_storage.c"
 var $21=HEAP32[(($20)>>2)]; //@line 455 "../src/h264bsd_storage.c"
 var $22=($18>>>0)<($21>>>0); //@line 455 "../src/h264bsd_storage.c"
 if($22){label=5;break;}else{label=7;break;} //@line 455 "../src/h264bsd_storage.c"
 case 5: 
 var $24=$i; //@line 457 "../src/h264bsd_storage.c"
 var $25=$1; //@line 457 "../src/h264bsd_storage.c"
 var $26=(($25+1212)|0); //@line 457 "../src/h264bsd_storage.c"
 var $27=HEAP32[(($26)>>2)]; //@line 457 "../src/h264bsd_storage.c"
 var $28=(($27+((($24)*(216))&-1))|0); //@line 457 "../src/h264bsd_storage.c"
 var $29=(($28+4)|0); //@line 457 "../src/h264bsd_storage.c"
 HEAP32[(($29)>>2)]=0; //@line 457 "../src/h264bsd_storage.c"
 var $30=$i; //@line 458 "../src/h264bsd_storage.c"
 var $31=$1; //@line 458 "../src/h264bsd_storage.c"
 var $32=(($31+1212)|0); //@line 458 "../src/h264bsd_storage.c"
 var $33=HEAP32[(($32)>>2)]; //@line 458 "../src/h264bsd_storage.c"
 var $34=(($33+((($30)*(216))&-1))|0); //@line 458 "../src/h264bsd_storage.c"
 var $35=(($34+196)|0); //@line 458 "../src/h264bsd_storage.c"
 HEAP32[(($35)>>2)]=0; //@line 458 "../src/h264bsd_storage.c"
 label=6;break; //@line 459 "../src/h264bsd_storage.c"
 case 6: 
 var $37=$i; //@line 455 "../src/h264bsd_storage.c"
 var $38=((($37)+(1))|0); //@line 455 "../src/h264bsd_storage.c"
 $i=$38; //@line 455 "../src/h264bsd_storage.c"
 label=4;break; //@line 455 "../src/h264bsd_storage.c"
 case 7: 
 STACKTOP=sp;return; //@line 461 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIsStartOfPicture($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$pStorage;
 var $3=$2; //@line 494 "../src/h264bsd_storage.c"
 var $4=(($3+1188)|0); //@line 494 "../src/h264bsd_storage.c"
 var $5=HEAP32[(($4)>>2)]; //@line 494 "../src/h264bsd_storage.c"
 var $6=($5|0)==0; //@line 494 "../src/h264bsd_storage.c"
 if($6){label=2;break;}else{label=3;break;} //@line 494 "../src/h264bsd_storage.c"
 case 2: 
 $1=1; //@line 495 "../src/h264bsd_storage.c"
 label=4;break; //@line 495 "../src/h264bsd_storage.c"
 case 3: 
 $1=0; //@line 497 "../src/h264bsd_storage.c"
 label=4;break; //@line 497 "../src/h264bsd_storage.c"
 case 4: 
 var $10=$1; //@line 499 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $10; //@line 499 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIsEndOfPicture($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 var $tmp;
 $2=$pStorage;
 var $3=$2; //@line 538 "../src/h264bsd_storage.c"
 var $4=(($3+1368)|0); //@line 538 "../src/h264bsd_storage.c"
 var $5=(($4)|0); //@line 538 "../src/h264bsd_storage.c"
 var $6=(($5+36)|0); //@line 538 "../src/h264bsd_storage.c"
 var $7=HEAP32[(($6)>>2)]; //@line 538 "../src/h264bsd_storage.c"
 var $8=($7|0)!=0; //@line 538 "../src/h264bsd_storage.c"
 if($8){label=5;break;}else{label=2;break;} //@line 538 "../src/h264bsd_storage.c"
 case 2: 
 var $10=$2; //@line 540 "../src/h264bsd_storage.c"
 var $11=(($10+1192)|0); //@line 540 "../src/h264bsd_storage.c"
 var $12=(($11)|0); //@line 540 "../src/h264bsd_storage.c"
 var $13=(($12+4)|0); //@line 540 "../src/h264bsd_storage.c"
 var $14=HEAP32[(($13)>>2)]; //@line 540 "../src/h264bsd_storage.c"
 var $15=$2; //@line 540 "../src/h264bsd_storage.c"
 var $16=(($15+1176)|0); //@line 540 "../src/h264bsd_storage.c"
 var $17=HEAP32[(($16)>>2)]; //@line 540 "../src/h264bsd_storage.c"
 var $18=($14|0)==($17|0); //@line 540 "../src/h264bsd_storage.c"
 if($18){label=3;break;}else{label=4;break;} //@line 540 "../src/h264bsd_storage.c"
 case 3: 
 $1=1; //@line 541 "../src/h264bsd_storage.c"
 label=13;break; //@line 541 "../src/h264bsd_storage.c"
 case 4: 
 label=12;break; //@line 542 "../src/h264bsd_storage.c"
 case 5: 
 $i=0; //@line 545 "../src/h264bsd_storage.c"
 $tmp=0; //@line 545 "../src/h264bsd_storage.c"
 label=6;break; //@line 545 "../src/h264bsd_storage.c"
 case 6: 
 var $23=$i; //@line 545 "../src/h264bsd_storage.c"
 var $24=$2; //@line 545 "../src/h264bsd_storage.c"
 var $25=(($24+1176)|0); //@line 545 "../src/h264bsd_storage.c"
 var $26=HEAP32[(($25)>>2)]; //@line 545 "../src/h264bsd_storage.c"
 var $27=($23>>>0)<($26>>>0); //@line 545 "../src/h264bsd_storage.c"
 if($27){label=7;break;}else{label=9;break;} //@line 545 "../src/h264bsd_storage.c"
 case 7: 
 var $29=$i; //@line 546 "../src/h264bsd_storage.c"
 var $30=$2; //@line 546 "../src/h264bsd_storage.c"
 var $31=(($30+1212)|0); //@line 546 "../src/h264bsd_storage.c"
 var $32=HEAP32[(($31)>>2)]; //@line 546 "../src/h264bsd_storage.c"
 var $33=(($32+((($29)*(216))&-1))|0); //@line 546 "../src/h264bsd_storage.c"
 var $34=(($33+196)|0); //@line 546 "../src/h264bsd_storage.c"
 var $35=HEAP32[(($34)>>2)]; //@line 546 "../src/h264bsd_storage.c"
 var $36=($35|0)!=0; //@line 546 "../src/h264bsd_storage.c"
 var $37=($36?1:0); //@line 546 "../src/h264bsd_storage.c"
 var $38=$tmp; //@line 546 "../src/h264bsd_storage.c"
 var $39=((($38)+($37))|0); //@line 546 "../src/h264bsd_storage.c"
 $tmp=$39; //@line 546 "../src/h264bsd_storage.c"
 label=8;break; //@line 546 "../src/h264bsd_storage.c"
 case 8: 
 var $41=$i; //@line 545 "../src/h264bsd_storage.c"
 var $42=((($41)+(1))|0); //@line 545 "../src/h264bsd_storage.c"
 $i=$42; //@line 545 "../src/h264bsd_storage.c"
 label=6;break; //@line 545 "../src/h264bsd_storage.c"
 case 9: 
 var $44=$tmp; //@line 548 "../src/h264bsd_storage.c"
 var $45=$2; //@line 548 "../src/h264bsd_storage.c"
 var $46=(($45+1176)|0); //@line 548 "../src/h264bsd_storage.c"
 var $47=HEAP32[(($46)>>2)]; //@line 548 "../src/h264bsd_storage.c"
 var $48=($44|0)==($47|0); //@line 548 "../src/h264bsd_storage.c"
 if($48){label=10;break;}else{label=11;break;} //@line 548 "../src/h264bsd_storage.c"
 case 10: 
 $1=1; //@line 549 "../src/h264bsd_storage.c"
 label=13;break; //@line 549 "../src/h264bsd_storage.c"
 case 11: 
 label=12;break;
 case 12: 
 $1=0; //@line 552 "../src/h264bsd_storage.c"
 label=13;break; //@line 552 "../src/h264bsd_storage.c"
 case 13: 
 var $53=$1; //@line 554 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $53; //@line 554 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdComputeSliceGroupMap($pStorage,$sliceGroupChangeCycle){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 var $1;
 var $2;
 $1=$pStorage;
 $2=$sliceGroupChangeCycle;
 var $3=$1; //@line 584 "../src/h264bsd_storage.c"
 var $4=(($3+1172)|0); //@line 584 "../src/h264bsd_storage.c"
 var $5=HEAP32[(($4)>>2)]; //@line 584 "../src/h264bsd_storage.c"
 var $6=$1; //@line 584 "../src/h264bsd_storage.c"
 var $7=(($6+12)|0); //@line 584 "../src/h264bsd_storage.c"
 var $8=HEAP32[(($7)>>2)]; //@line 584 "../src/h264bsd_storage.c"
 var $9=$2; //@line 584 "../src/h264bsd_storage.c"
 var $10=$1; //@line 584 "../src/h264bsd_storage.c"
 var $11=(($10+16)|0); //@line 584 "../src/h264bsd_storage.c"
 var $12=HEAP32[(($11)>>2)]; //@line 584 "../src/h264bsd_storage.c"
 var $13=(($12+52)|0); //@line 584 "../src/h264bsd_storage.c"
 var $14=HEAP32[(($13)>>2)]; //@line 584 "../src/h264bsd_storage.c"
 var $15=$1; //@line 584 "../src/h264bsd_storage.c"
 var $16=(($15+16)|0); //@line 584 "../src/h264bsd_storage.c"
 var $17=HEAP32[(($16)>>2)]; //@line 584 "../src/h264bsd_storage.c"
 var $18=(($17+56)|0); //@line 584 "../src/h264bsd_storage.c"
 var $19=HEAP32[(($18)>>2)]; //@line 584 "../src/h264bsd_storage.c"
 _h264bsdDecodeSliceGroupMap($5,$8,$9,$14,$19); //@line 584 "../src/h264bsd_storage.c"
 STACKTOP=sp;return; //@line 589 "../src/h264bsd_storage.c"
}
function _h264bsdCheckAccessUnitBoundary($strm,$nuNext,$storage,$accessUnitBoundaryFlag){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+48)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp;
 var $ppsId=sp;
 var $frameNum=(sp)+(8);
 var $idrPicId=(sp)+(16);
 var $picOrderCntLsb=(sp)+(24);
 var $deltaPicOrderCntBottom=(sp)+(32);
 var $deltaPicOrderCnt=(sp)+(40);
 var $sps;
 var $pps;
 $2=$strm;
 $3=$nuNext;
 $4=$storage;
 $5=$accessUnitBoundaryFlag;
 var $6=$2; //@line 642 "../src/h264bsd_storage.c"
 var $7=($6|0)!=0; //@line 642 "../src/h264bsd_storage.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 642 "../src/h264bsd_storage.c"
 case 2: 
 ___assert_fail(12296,10832,642,14920); //@line 642 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 642 "../src/h264bsd_storage.c"
 label=3;break; //@line 642 "../src/h264bsd_storage.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 642 "../src/h264bsd_storage.c"
 var $13=$3; //@line 643 "../src/h264bsd_storage.c"
 var $14=($13|0)!=0; //@line 643 "../src/h264bsd_storage.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 643 "../src/h264bsd_storage.c"
 case 4: 
 ___assert_fail(11912,10832,643,14920); //@line 643 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 643 "../src/h264bsd_storage.c"
 label=5;break; //@line 643 "../src/h264bsd_storage.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 643 "../src/h264bsd_storage.c"
 var $20=$4; //@line 644 "../src/h264bsd_storage.c"
 var $21=($20|0)!=0; //@line 644 "../src/h264bsd_storage.c"
 if($21){var $25=1;label=7;break;}else{label=6;break;} //@line 644 "../src/h264bsd_storage.c"
 case 6: 
 ___assert_fail(11464,10832,644,14920); //@line 644 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 644 "../src/h264bsd_storage.c"
 label=7;break; //@line 644 "../src/h264bsd_storage.c"
 case 7: 
 var $25;
 var $26=($25&1); //@line 644 "../src/h264bsd_storage.c"
 var $27=$4; //@line 645 "../src/h264bsd_storage.c"
 var $28=(($27+20)|0); //@line 645 "../src/h264bsd_storage.c"
 var $29=(($28)|0); //@line 645 "../src/h264bsd_storage.c"
 var $30=($29|0)!=0; //@line 645 "../src/h264bsd_storage.c"
 if($30){var $34=1;label=9;break;}else{label=8;break;} //@line 645 "../src/h264bsd_storage.c"
 case 8: 
 ___assert_fail(11032,10832,645,14920); //@line 645 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 645 "../src/h264bsd_storage.c"
 label=9;break; //@line 645 "../src/h264bsd_storage.c"
 case 9: 
 var $34;
 var $35=($34&1); //@line 645 "../src/h264bsd_storage.c"
 var $36=$4; //@line 646 "../src/h264bsd_storage.c"
 var $37=(($36+148)|0); //@line 646 "../src/h264bsd_storage.c"
 var $38=(($37)|0); //@line 646 "../src/h264bsd_storage.c"
 var $39=($38|0)!=0; //@line 646 "../src/h264bsd_storage.c"
 if($39){var $43=1;label=11;break;}else{label=10;break;} //@line 646 "../src/h264bsd_storage.c"
 case 10: 
 ___assert_fail(10520,10832,646,14920); //@line 646 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 646 "../src/h264bsd_storage.c"
 label=11;break; //@line 646 "../src/h264bsd_storage.c"
 case 11: 
 var $43;
 var $44=($43&1); //@line 646 "../src/h264bsd_storage.c"
 var $45=$5; //@line 649 "../src/h264bsd_storage.c"
 HEAP32[(($45)>>2)]=0; //@line 649 "../src/h264bsd_storage.c"
 var $46=$3; //@line 651 "../src/h264bsd_storage.c"
 var $47=(($46)|0); //@line 651 "../src/h264bsd_storage.c"
 var $48=HEAP32[(($47)>>2)]; //@line 651 "../src/h264bsd_storage.c"
 var $49=($48>>>0)>5; //@line 651 "../src/h264bsd_storage.c"
 if($49){label=12;break;}else{label=13;break;} //@line 651 "../src/h264bsd_storage.c"
 case 12: 
 var $51=$3; //@line 651 "../src/h264bsd_storage.c"
 var $52=(($51)|0); //@line 651 "../src/h264bsd_storage.c"
 var $53=HEAP32[(($52)>>2)]; //@line 651 "../src/h264bsd_storage.c"
 var $54=($53>>>0)<12; //@line 651 "../src/h264bsd_storage.c"
 if($54){label=15;break;}else{label=13;break;} //@line 651 "../src/h264bsd_storage.c"
 case 13: 
 var $56=$3; //@line 651 "../src/h264bsd_storage.c"
 var $57=(($56)|0); //@line 651 "../src/h264bsd_storage.c"
 var $58=HEAP32[(($57)>>2)]; //@line 651 "../src/h264bsd_storage.c"
 var $59=($58>>>0)>12; //@line 651 "../src/h264bsd_storage.c"
 if($59){label=14;break;}else{label=16;break;} //@line 651 "../src/h264bsd_storage.c"
 case 14: 
 var $61=$3; //@line 651 "../src/h264bsd_storage.c"
 var $62=(($61)|0); //@line 651 "../src/h264bsd_storage.c"
 var $63=HEAP32[(($62)>>2)]; //@line 651 "../src/h264bsd_storage.c"
 var $64=($63>>>0)<=18; //@line 651 "../src/h264bsd_storage.c"
 if($64){label=15;break;}else{label=16;break;} //@line 651 "../src/h264bsd_storage.c"
 case 15: 
 var $66=$5; //@line 654 "../src/h264bsd_storage.c"
 HEAP32[(($66)>>2)]=1; //@line 654 "../src/h264bsd_storage.c"
 $1=0; //@line 655 "../src/h264bsd_storage.c"
 label=75;break; //@line 655 "../src/h264bsd_storage.c"
 case 16: 
 var $68=$3; //@line 657 "../src/h264bsd_storage.c"
 var $69=(($68)|0); //@line 657 "../src/h264bsd_storage.c"
 var $70=HEAP32[(($69)>>2)]; //@line 657 "../src/h264bsd_storage.c"
 var $71=($70|0)!=1; //@line 657 "../src/h264bsd_storage.c"
 if($71){label=17;break;}else{label=19;break;} //@line 657 "../src/h264bsd_storage.c"
 case 17: 
 var $73=$3; //@line 657 "../src/h264bsd_storage.c"
 var $74=(($73)|0); //@line 657 "../src/h264bsd_storage.c"
 var $75=HEAP32[(($74)>>2)]; //@line 657 "../src/h264bsd_storage.c"
 var $76=($75|0)!=5; //@line 657 "../src/h264bsd_storage.c"
 if($76){label=18;break;}else{label=19;break;} //@line 657 "../src/h264bsd_storage.c"
 case 18: 
 $1=0; //@line 660 "../src/h264bsd_storage.c"
 label=75;break; //@line 660 "../src/h264bsd_storage.c"
 case 19: 
 label=20;break;
 case 20: 
 var $80=$4; //@line 664 "../src/h264bsd_storage.c"
 var $81=(($80+1300)|0); //@line 664 "../src/h264bsd_storage.c"
 var $82=(($81)|0); //@line 664 "../src/h264bsd_storage.c"
 var $83=(($82+32)|0); //@line 664 "../src/h264bsd_storage.c"
 var $84=HEAP32[(($83)>>2)]; //@line 664 "../src/h264bsd_storage.c"
 var $85=($84|0)!=0; //@line 664 "../src/h264bsd_storage.c"
 if($85){label=21;break;}else{label=22;break;} //@line 664 "../src/h264bsd_storage.c"
 case 21: 
 var $87=$5; //@line 666 "../src/h264bsd_storage.c"
 HEAP32[(($87)>>2)]=1; //@line 666 "../src/h264bsd_storage.c"
 var $88=$4; //@line 667 "../src/h264bsd_storage.c"
 var $89=(($88+1300)|0); //@line 667 "../src/h264bsd_storage.c"
 var $90=(($89)|0); //@line 667 "../src/h264bsd_storage.c"
 var $91=(($90+32)|0); //@line 667 "../src/h264bsd_storage.c"
 HEAP32[(($91)>>2)]=0; //@line 667 "../src/h264bsd_storage.c"
 label=22;break; //@line 668 "../src/h264bsd_storage.c"
 case 22: 
 var $93=$2; //@line 671 "../src/h264bsd_storage.c"
 var $94=_h264bsdCheckPpsId($93,$ppsId); //@line 671 "../src/h264bsd_storage.c"
 $tmp=$94; //@line 671 "../src/h264bsd_storage.c"
 var $95=$tmp; //@line 672 "../src/h264bsd_storage.c"
 var $96=($95|0)!=0; //@line 672 "../src/h264bsd_storage.c"
 if($96){label=23;break;}else{label=24;break;} //@line 672 "../src/h264bsd_storage.c"
 case 23: 
 var $98=$tmp; //@line 673 "../src/h264bsd_storage.c"
 $1=$98; //@line 673 "../src/h264bsd_storage.c"
 label=75;break; //@line 673 "../src/h264bsd_storage.c"
 case 24: 
 var $100=HEAP32[(($ppsId)>>2)]; //@line 676 "../src/h264bsd_storage.c"
 var $101=$4; //@line 676 "../src/h264bsd_storage.c"
 var $102=(($101+148)|0); //@line 676 "../src/h264bsd_storage.c"
 var $103=(($102+($100<<2))|0); //@line 676 "../src/h264bsd_storage.c"
 var $104=HEAP32[(($103)>>2)]; //@line 676 "../src/h264bsd_storage.c"
 $pps=$104; //@line 676 "../src/h264bsd_storage.c"
 var $105=$pps; //@line 677 "../src/h264bsd_storage.c"
 var $106=($105|0)==0; //@line 677 "../src/h264bsd_storage.c"
 if($106){label=29;break;}else{label=25;break;} //@line 677 "../src/h264bsd_storage.c"
 case 25: 
 var $108=$pps; //@line 677 "../src/h264bsd_storage.c"
 var $109=(($108+4)|0); //@line 677 "../src/h264bsd_storage.c"
 var $110=HEAP32[(($109)>>2)]; //@line 677 "../src/h264bsd_storage.c"
 var $111=$4; //@line 677 "../src/h264bsd_storage.c"
 var $112=(($111+20)|0); //@line 677 "../src/h264bsd_storage.c"
 var $113=(($112+($110<<2))|0); //@line 677 "../src/h264bsd_storage.c"
 var $114=HEAP32[(($113)>>2)]; //@line 677 "../src/h264bsd_storage.c"
 var $115=($114|0)==0; //@line 677 "../src/h264bsd_storage.c"
 if($115){label=29;break;}else{label=26;break;} //@line 677 "../src/h264bsd_storage.c"
 case 26: 
 var $117=$4; //@line 677 "../src/h264bsd_storage.c"
 var $118=(($117+8)|0); //@line 677 "../src/h264bsd_storage.c"
 var $119=HEAP32[(($118)>>2)]; //@line 677 "../src/h264bsd_storage.c"
 var $120=($119|0)!=32; //@line 677 "../src/h264bsd_storage.c"
 if($120){label=27;break;}else{label=30;break;} //@line 677 "../src/h264bsd_storage.c"
 case 27: 
 var $122=$pps; //@line 677 "../src/h264bsd_storage.c"
 var $123=(($122+4)|0); //@line 677 "../src/h264bsd_storage.c"
 var $124=HEAP32[(($123)>>2)]; //@line 677 "../src/h264bsd_storage.c"
 var $125=$4; //@line 677 "../src/h264bsd_storage.c"
 var $126=(($125+8)|0); //@line 677 "../src/h264bsd_storage.c"
 var $127=HEAP32[(($126)>>2)]; //@line 677 "../src/h264bsd_storage.c"
 var $128=($124|0)!=($127|0); //@line 677 "../src/h264bsd_storage.c"
 if($128){label=28;break;}else{label=30;break;} //@line 677 "../src/h264bsd_storage.c"
 case 28: 
 var $130=$3; //@line 677 "../src/h264bsd_storage.c"
 var $131=(($130)|0); //@line 677 "../src/h264bsd_storage.c"
 var $132=HEAP32[(($131)>>2)]; //@line 677 "../src/h264bsd_storage.c"
 var $133=($132|0)!=5; //@line 677 "../src/h264bsd_storage.c"
 if($133){label=29;break;}else{label=30;break;} //@line 677 "../src/h264bsd_storage.c"
 case 29: 
 $1=65520; //@line 681 "../src/h264bsd_storage.c"
 label=75;break; //@line 681 "../src/h264bsd_storage.c"
 case 30: 
 var $136=$pps; //@line 682 "../src/h264bsd_storage.c"
 var $137=(($136+4)|0); //@line 682 "../src/h264bsd_storage.c"
 var $138=HEAP32[(($137)>>2)]; //@line 682 "../src/h264bsd_storage.c"
 var $139=$4; //@line 682 "../src/h264bsd_storage.c"
 var $140=(($139+20)|0); //@line 682 "../src/h264bsd_storage.c"
 var $141=(($140+($138<<2))|0); //@line 682 "../src/h264bsd_storage.c"
 var $142=HEAP32[(($141)>>2)]; //@line 682 "../src/h264bsd_storage.c"
 $sps=$142; //@line 682 "../src/h264bsd_storage.c"
 var $143=$4; //@line 684 "../src/h264bsd_storage.c"
 var $144=(($143+1300)|0); //@line 684 "../src/h264bsd_storage.c"
 var $145=(($144)|0); //@line 684 "../src/h264bsd_storage.c"
 var $146=(($145)|0); //@line 684 "../src/h264bsd_storage.c"
 var $147=(($146)|0); //@line 684 "../src/h264bsd_storage.c"
 var $148=(($147+4)|0); //@line 684 "../src/h264bsd_storage.c"
 var $149=HEAP32[(($148)>>2)]; //@line 684 "../src/h264bsd_storage.c"
 var $150=$3; //@line 684 "../src/h264bsd_storage.c"
 var $151=(($150+4)|0); //@line 684 "../src/h264bsd_storage.c"
 var $152=HEAP32[(($151)>>2)]; //@line 684 "../src/h264bsd_storage.c"
 var $153=($149|0)!=($152|0); //@line 684 "../src/h264bsd_storage.c"
 if($153){label=31;break;}else{label=34;break;} //@line 684 "../src/h264bsd_storage.c"
 case 31: 
 var $155=$4; //@line 684 "../src/h264bsd_storage.c"
 var $156=(($155+1300)|0); //@line 684 "../src/h264bsd_storage.c"
 var $157=(($156)|0); //@line 684 "../src/h264bsd_storage.c"
 var $158=(($157)|0); //@line 684 "../src/h264bsd_storage.c"
 var $159=(($158)|0); //@line 684 "../src/h264bsd_storage.c"
 var $160=(($159+4)|0); //@line 684 "../src/h264bsd_storage.c"
 var $161=HEAP32[(($160)>>2)]; //@line 684 "../src/h264bsd_storage.c"
 var $162=($161|0)==0; //@line 684 "../src/h264bsd_storage.c"
 if($162){label=33;break;}else{label=32;break;} //@line 684 "../src/h264bsd_storage.c"
 case 32: 
 var $164=$3; //@line 684 "../src/h264bsd_storage.c"
 var $165=(($164+4)|0); //@line 684 "../src/h264bsd_storage.c"
 var $166=HEAP32[(($165)>>2)]; //@line 684 "../src/h264bsd_storage.c"
 var $167=($166|0)==0; //@line 684 "../src/h264bsd_storage.c"
 if($167){label=33;break;}else{label=34;break;} //@line 684 "../src/h264bsd_storage.c"
 case 33: 
 var $169=$5; //@line 686 "../src/h264bsd_storage.c"
 HEAP32[(($169)>>2)]=1; //@line 686 "../src/h264bsd_storage.c"
 label=34;break; //@line 686 "../src/h264bsd_storage.c"
 case 34: 
 var $171=$4; //@line 688 "../src/h264bsd_storage.c"
 var $172=(($171+1300)|0); //@line 688 "../src/h264bsd_storage.c"
 var $173=(($172)|0); //@line 688 "../src/h264bsd_storage.c"
 var $174=(($173)|0); //@line 688 "../src/h264bsd_storage.c"
 var $175=(($174)|0); //@line 688 "../src/h264bsd_storage.c"
 var $176=(($175)|0); //@line 688 "../src/h264bsd_storage.c"
 var $177=HEAP32[(($176)>>2)]; //@line 688 "../src/h264bsd_storage.c"
 var $178=($177|0)==5; //@line 688 "../src/h264bsd_storage.c"
 if($178){label=35;break;}else{label=36;break;} //@line 688 "../src/h264bsd_storage.c"
 case 35: 
 var $180=$3; //@line 688 "../src/h264bsd_storage.c"
 var $181=(($180)|0); //@line 688 "../src/h264bsd_storage.c"
 var $182=HEAP32[(($181)>>2)]; //@line 688 "../src/h264bsd_storage.c"
 var $183=($182|0)!=5; //@line 688 "../src/h264bsd_storage.c"
 if($183){label=38;break;}else{label=36;break;} //@line 688 "../src/h264bsd_storage.c"
 case 36: 
 var $185=$4; //@line 688 "../src/h264bsd_storage.c"
 var $186=(($185+1300)|0); //@line 688 "../src/h264bsd_storage.c"
 var $187=(($186)|0); //@line 688 "../src/h264bsd_storage.c"
 var $188=(($187)|0); //@line 688 "../src/h264bsd_storage.c"
 var $189=(($188)|0); //@line 688 "../src/h264bsd_storage.c"
 var $190=(($189)|0); //@line 688 "../src/h264bsd_storage.c"
 var $191=HEAP32[(($190)>>2)]; //@line 688 "../src/h264bsd_storage.c"
 var $192=($191|0)!=5; //@line 688 "../src/h264bsd_storage.c"
 if($192){label=37;break;}else{label=39;break;} //@line 688 "../src/h264bsd_storage.c"
 case 37: 
 var $194=$3; //@line 688 "../src/h264bsd_storage.c"
 var $195=(($194)|0); //@line 688 "../src/h264bsd_storage.c"
 var $196=HEAP32[(($195)>>2)]; //@line 688 "../src/h264bsd_storage.c"
 var $197=($196|0)==5; //@line 688 "../src/h264bsd_storage.c"
 if($197){label=38;break;}else{label=39;break;} //@line 688 "../src/h264bsd_storage.c"
 case 38: 
 var $199=$5; //@line 692 "../src/h264bsd_storage.c"
 HEAP32[(($199)>>2)]=1; //@line 692 "../src/h264bsd_storage.c"
 label=39;break; //@line 692 "../src/h264bsd_storage.c"
 case 39: 
 var $201=$2; //@line 694 "../src/h264bsd_storage.c"
 var $202=$sps; //@line 694 "../src/h264bsd_storage.c"
 var $203=(($202+12)|0); //@line 694 "../src/h264bsd_storage.c"
 var $204=HEAP32[(($203)>>2)]; //@line 694 "../src/h264bsd_storage.c"
 var $205=_h264bsdCheckFrameNum($201,$204,$frameNum); //@line 694 "../src/h264bsd_storage.c"
 $tmp=$205; //@line 694 "../src/h264bsd_storage.c"
 var $206=$tmp; //@line 695 "../src/h264bsd_storage.c"
 var $207=($206|0)!=0; //@line 695 "../src/h264bsd_storage.c"
 if($207){label=40;break;}else{label=41;break;} //@line 695 "../src/h264bsd_storage.c"
 case 40: 
 $1=1; //@line 696 "../src/h264bsd_storage.c"
 label=75;break; //@line 696 "../src/h264bsd_storage.c"
 case 41: 
 var $210=$4; //@line 698 "../src/h264bsd_storage.c"
 var $211=(($210+1300)|0); //@line 698 "../src/h264bsd_storage.c"
 var $212=(($211)|0); //@line 698 "../src/h264bsd_storage.c"
 var $213=(($212+8)|0); //@line 698 "../src/h264bsd_storage.c"
 var $214=HEAP32[(($213)>>2)]; //@line 698 "../src/h264bsd_storage.c"
 var $215=HEAP32[(($frameNum)>>2)]; //@line 698 "../src/h264bsd_storage.c"
 var $216=($214|0)!=($215|0); //@line 698 "../src/h264bsd_storage.c"
 if($216){label=42;break;}else{label=43;break;} //@line 698 "../src/h264bsd_storage.c"
 case 42: 
 var $218=HEAP32[(($frameNum)>>2)]; //@line 700 "../src/h264bsd_storage.c"
 var $219=$4; //@line 700 "../src/h264bsd_storage.c"
 var $220=(($219+1300)|0); //@line 700 "../src/h264bsd_storage.c"
 var $221=(($220)|0); //@line 700 "../src/h264bsd_storage.c"
 var $222=(($221+8)|0); //@line 700 "../src/h264bsd_storage.c"
 HEAP32[(($222)>>2)]=$218; //@line 700 "../src/h264bsd_storage.c"
 var $223=$5; //@line 701 "../src/h264bsd_storage.c"
 HEAP32[(($223)>>2)]=1; //@line 701 "../src/h264bsd_storage.c"
 label=43;break; //@line 702 "../src/h264bsd_storage.c"
 case 43: 
 var $225=$3; //@line 704 "../src/h264bsd_storage.c"
 var $226=(($225)|0); //@line 704 "../src/h264bsd_storage.c"
 var $227=HEAP32[(($226)>>2)]; //@line 704 "../src/h264bsd_storage.c"
 var $228=($227|0)==5; //@line 704 "../src/h264bsd_storage.c"
 if($228){label=44;break;}else{label=50;break;} //@line 704 "../src/h264bsd_storage.c"
 case 44: 
 var $230=$2; //@line 706 "../src/h264bsd_storage.c"
 var $231=$sps; //@line 706 "../src/h264bsd_storage.c"
 var $232=(($231+12)|0); //@line 706 "../src/h264bsd_storage.c"
 var $233=HEAP32[(($232)>>2)]; //@line 706 "../src/h264bsd_storage.c"
 var $234=$3; //@line 706 "../src/h264bsd_storage.c"
 var $235=(($234)|0); //@line 706 "../src/h264bsd_storage.c"
 var $236=HEAP32[(($235)>>2)]; //@line 706 "../src/h264bsd_storage.c"
 var $237=_h264bsdCheckIdrPicId($230,$233,$236,$idrPicId); //@line 706 "../src/h264bsd_storage.c"
 $tmp=$237; //@line 706 "../src/h264bsd_storage.c"
 var $238=$tmp; //@line 708 "../src/h264bsd_storage.c"
 var $239=($238|0)!=0; //@line 708 "../src/h264bsd_storage.c"
 if($239){label=45;break;}else{label=46;break;} //@line 708 "../src/h264bsd_storage.c"
 case 45: 
 $1=1; //@line 709 "../src/h264bsd_storage.c"
 label=75;break; //@line 709 "../src/h264bsd_storage.c"
 case 46: 
 var $242=$4; //@line 711 "../src/h264bsd_storage.c"
 var $243=(($242+1300)|0); //@line 711 "../src/h264bsd_storage.c"
 var $244=(($243)|0); //@line 711 "../src/h264bsd_storage.c"
 var $245=(($244)|0); //@line 711 "../src/h264bsd_storage.c"
 var $246=(($245)|0); //@line 711 "../src/h264bsd_storage.c"
 var $247=(($246)|0); //@line 711 "../src/h264bsd_storage.c"
 var $248=HEAP32[(($247)>>2)]; //@line 711 "../src/h264bsd_storage.c"
 var $249=($248|0)==5; //@line 711 "../src/h264bsd_storage.c"
 if($249){label=47;break;}else{label=49;break;} //@line 711 "../src/h264bsd_storage.c"
 case 47: 
 var $251=$4; //@line 711 "../src/h264bsd_storage.c"
 var $252=(($251+1300)|0); //@line 711 "../src/h264bsd_storage.c"
 var $253=(($252)|0); //@line 711 "../src/h264bsd_storage.c"
 var $254=(($253+12)|0); //@line 711 "../src/h264bsd_storage.c"
 var $255=HEAP32[(($254)>>2)]; //@line 711 "../src/h264bsd_storage.c"
 var $256=HEAP32[(($idrPicId)>>2)]; //@line 711 "../src/h264bsd_storage.c"
 var $257=($255|0)!=($256|0); //@line 711 "../src/h264bsd_storage.c"
 if($257){label=48;break;}else{label=49;break;} //@line 711 "../src/h264bsd_storage.c"
 case 48: 
 var $259=$5; //@line 713 "../src/h264bsd_storage.c"
 HEAP32[(($259)>>2)]=1; //@line 713 "../src/h264bsd_storage.c"
 label=49;break; //@line 713 "../src/h264bsd_storage.c"
 case 49: 
 var $261=HEAP32[(($idrPicId)>>2)]; //@line 715 "../src/h264bsd_storage.c"
 var $262=$4; //@line 715 "../src/h264bsd_storage.c"
 var $263=(($262+1300)|0); //@line 715 "../src/h264bsd_storage.c"
 var $264=(($263)|0); //@line 715 "../src/h264bsd_storage.c"
 var $265=(($264+12)|0); //@line 715 "../src/h264bsd_storage.c"
 HEAP32[(($265)>>2)]=$261; //@line 715 "../src/h264bsd_storage.c"
 label=50;break; //@line 716 "../src/h264bsd_storage.c"
 case 50: 
 var $267=$sps; //@line 718 "../src/h264bsd_storage.c"
 var $268=(($267+16)|0); //@line 718 "../src/h264bsd_storage.c"
 var $269=HEAP32[(($268)>>2)]; //@line 718 "../src/h264bsd_storage.c"
 var $270=($269|0)==0; //@line 718 "../src/h264bsd_storage.c"
 if($270){label=51;break;}else{label=62;break;} //@line 718 "../src/h264bsd_storage.c"
 case 51: 
 var $272=$2; //@line 720 "../src/h264bsd_storage.c"
 var $273=$sps; //@line 720 "../src/h264bsd_storage.c"
 var $274=$3; //@line 720 "../src/h264bsd_storage.c"
 var $275=(($274)|0); //@line 720 "../src/h264bsd_storage.c"
 var $276=HEAP32[(($275)>>2)]; //@line 720 "../src/h264bsd_storage.c"
 var $277=_h264bsdCheckPicOrderCntLsb($272,$273,$276,$picOrderCntLsb); //@line 720 "../src/h264bsd_storage.c"
 $tmp=$277; //@line 720 "../src/h264bsd_storage.c"
 var $278=$tmp; //@line 722 "../src/h264bsd_storage.c"
 var $279=($278|0)!=0; //@line 722 "../src/h264bsd_storage.c"
 if($279){label=52;break;}else{label=53;break;} //@line 722 "../src/h264bsd_storage.c"
 case 52: 
 $1=1; //@line 723 "../src/h264bsd_storage.c"
 label=75;break; //@line 723 "../src/h264bsd_storage.c"
 case 53: 
 var $282=$4; //@line 725 "../src/h264bsd_storage.c"
 var $283=(($282+1300)|0); //@line 725 "../src/h264bsd_storage.c"
 var $284=(($283)|0); //@line 725 "../src/h264bsd_storage.c"
 var $285=(($284+16)|0); //@line 725 "../src/h264bsd_storage.c"
 var $286=HEAP32[(($285)>>2)]; //@line 725 "../src/h264bsd_storage.c"
 var $287=HEAP32[(($picOrderCntLsb)>>2)]; //@line 725 "../src/h264bsd_storage.c"
 var $288=($286|0)!=($287|0); //@line 725 "../src/h264bsd_storage.c"
 if($288){label=54;break;}else{label=55;break;} //@line 725 "../src/h264bsd_storage.c"
 case 54: 
 var $290=HEAP32[(($picOrderCntLsb)>>2)]; //@line 727 "../src/h264bsd_storage.c"
 var $291=$4; //@line 727 "../src/h264bsd_storage.c"
 var $292=(($291+1300)|0); //@line 727 "../src/h264bsd_storage.c"
 var $293=(($292)|0); //@line 727 "../src/h264bsd_storage.c"
 var $294=(($293+16)|0); //@line 727 "../src/h264bsd_storage.c"
 HEAP32[(($294)>>2)]=$290; //@line 727 "../src/h264bsd_storage.c"
 var $295=$5; //@line 728 "../src/h264bsd_storage.c"
 HEAP32[(($295)>>2)]=1; //@line 728 "../src/h264bsd_storage.c"
 label=55;break; //@line 729 "../src/h264bsd_storage.c"
 case 55: 
 var $297=$pps; //@line 731 "../src/h264bsd_storage.c"
 var $298=(($297+8)|0); //@line 731 "../src/h264bsd_storage.c"
 var $299=HEAP32[(($298)>>2)]; //@line 731 "../src/h264bsd_storage.c"
 var $300=($299|0)!=0; //@line 731 "../src/h264bsd_storage.c"
 if($300){label=56;break;}else{label=61;break;} //@line 731 "../src/h264bsd_storage.c"
 case 56: 
 var $302=$2; //@line 733 "../src/h264bsd_storage.c"
 var $303=$sps; //@line 733 "../src/h264bsd_storage.c"
 var $304=$3; //@line 733 "../src/h264bsd_storage.c"
 var $305=(($304)|0); //@line 733 "../src/h264bsd_storage.c"
 var $306=HEAP32[(($305)>>2)]; //@line 733 "../src/h264bsd_storage.c"
 var $307=_h264bsdCheckDeltaPicOrderCntBottom($302,$303,$306,$deltaPicOrderCntBottom); //@line 733 "../src/h264bsd_storage.c"
 $tmp=$307; //@line 733 "../src/h264bsd_storage.c"
 var $308=$tmp; //@line 735 "../src/h264bsd_storage.c"
 var $309=($308|0)!=0; //@line 735 "../src/h264bsd_storage.c"
 if($309){label=57;break;}else{label=58;break;} //@line 735 "../src/h264bsd_storage.c"
 case 57: 
 var $311=$tmp; //@line 736 "../src/h264bsd_storage.c"
 $1=$311; //@line 736 "../src/h264bsd_storage.c"
 label=75;break; //@line 736 "../src/h264bsd_storage.c"
 case 58: 
 var $313=$4; //@line 738 "../src/h264bsd_storage.c"
 var $314=(($313+1300)|0); //@line 738 "../src/h264bsd_storage.c"
 var $315=(($314)|0); //@line 738 "../src/h264bsd_storage.c"
 var $316=(($315+20)|0); //@line 738 "../src/h264bsd_storage.c"
 var $317=HEAP32[(($316)>>2)]; //@line 738 "../src/h264bsd_storage.c"
 var $318=HEAP32[(($deltaPicOrderCntBottom)>>2)]; //@line 738 "../src/h264bsd_storage.c"
 var $319=($317|0)!=($318|0); //@line 738 "../src/h264bsd_storage.c"
 if($319){label=59;break;}else{label=60;break;} //@line 738 "../src/h264bsd_storage.c"
 case 59: 
 var $321=HEAP32[(($deltaPicOrderCntBottom)>>2)]; //@line 741 "../src/h264bsd_storage.c"
 var $322=$4; //@line 741 "../src/h264bsd_storage.c"
 var $323=(($322+1300)|0); //@line 741 "../src/h264bsd_storage.c"
 var $324=(($323)|0); //@line 741 "../src/h264bsd_storage.c"
 var $325=(($324+20)|0); //@line 741 "../src/h264bsd_storage.c"
 HEAP32[(($325)>>2)]=$321; //@line 741 "../src/h264bsd_storage.c"
 var $326=$5; //@line 743 "../src/h264bsd_storage.c"
 HEAP32[(($326)>>2)]=1; //@line 743 "../src/h264bsd_storage.c"
 label=60;break; //@line 744 "../src/h264bsd_storage.c"
 case 60: 
 label=61;break; //@line 745 "../src/h264bsd_storage.c"
 case 61: 
 label=74;break; //@line 746 "../src/h264bsd_storage.c"
 case 62: 
 var $330=$sps; //@line 747 "../src/h264bsd_storage.c"
 var $331=(($330+16)|0); //@line 747 "../src/h264bsd_storage.c"
 var $332=HEAP32[(($331)>>2)]; //@line 747 "../src/h264bsd_storage.c"
 var $333=($332|0)==1; //@line 747 "../src/h264bsd_storage.c"
 if($333){label=63;break;}else{label=73;break;} //@line 747 "../src/h264bsd_storage.c"
 case 63: 
 var $335=$sps; //@line 747 "../src/h264bsd_storage.c"
 var $336=(($335+24)|0); //@line 747 "../src/h264bsd_storage.c"
 var $337=HEAP32[(($336)>>2)]; //@line 747 "../src/h264bsd_storage.c"
 var $338=($337|0)!=0; //@line 747 "../src/h264bsd_storage.c"
 if($338){label=73;break;}else{label=64;break;} //@line 747 "../src/h264bsd_storage.c"
 case 64: 
 var $340=$2; //@line 749 "../src/h264bsd_storage.c"
 var $341=$sps; //@line 749 "../src/h264bsd_storage.c"
 var $342=$3; //@line 749 "../src/h264bsd_storage.c"
 var $343=(($342)|0); //@line 749 "../src/h264bsd_storage.c"
 var $344=HEAP32[(($343)>>2)]; //@line 749 "../src/h264bsd_storage.c"
 var $345=$pps; //@line 749 "../src/h264bsd_storage.c"
 var $346=(($345+8)|0); //@line 749 "../src/h264bsd_storage.c"
 var $347=HEAP32[(($346)>>2)]; //@line 749 "../src/h264bsd_storage.c"
 var $348=(($deltaPicOrderCnt)|0); //@line 749 "../src/h264bsd_storage.c"
 var $349=_h264bsdCheckDeltaPicOrderCnt($340,$341,$344,$347,$348); //@line 749 "../src/h264bsd_storage.c"
 $tmp=$349; //@line 749 "../src/h264bsd_storage.c"
 var $350=$tmp; //@line 751 "../src/h264bsd_storage.c"
 var $351=($350|0)!=0; //@line 751 "../src/h264bsd_storage.c"
 if($351){label=65;break;}else{label=66;break;} //@line 751 "../src/h264bsd_storage.c"
 case 65: 
 var $353=$tmp; //@line 752 "../src/h264bsd_storage.c"
 $1=$353; //@line 752 "../src/h264bsd_storage.c"
 label=75;break; //@line 752 "../src/h264bsd_storage.c"
 case 66: 
 var $355=$4; //@line 754 "../src/h264bsd_storage.c"
 var $356=(($355+1300)|0); //@line 754 "../src/h264bsd_storage.c"
 var $357=(($356)|0); //@line 754 "../src/h264bsd_storage.c"
 var $358=(($357+24)|0); //@line 754 "../src/h264bsd_storage.c"
 var $359=(($358)|0); //@line 754 "../src/h264bsd_storage.c"
 var $360=HEAP32[(($359)>>2)]; //@line 754 "../src/h264bsd_storage.c"
 var $361=(($deltaPicOrderCnt)|0); //@line 754 "../src/h264bsd_storage.c"
 var $362=HEAP32[(($361)>>2)]; //@line 754 "../src/h264bsd_storage.c"
 var $363=($360|0)!=($362|0); //@line 754 "../src/h264bsd_storage.c"
 if($363){label=67;break;}else{label=68;break;} //@line 754 "../src/h264bsd_storage.c"
 case 67: 
 var $365=(($deltaPicOrderCnt)|0); //@line 756 "../src/h264bsd_storage.c"
 var $366=HEAP32[(($365)>>2)]; //@line 756 "../src/h264bsd_storage.c"
 var $367=$4; //@line 756 "../src/h264bsd_storage.c"
 var $368=(($367+1300)|0); //@line 756 "../src/h264bsd_storage.c"
 var $369=(($368)|0); //@line 756 "../src/h264bsd_storage.c"
 var $370=(($369+24)|0); //@line 756 "../src/h264bsd_storage.c"
 var $371=(($370)|0); //@line 756 "../src/h264bsd_storage.c"
 HEAP32[(($371)>>2)]=$366; //@line 756 "../src/h264bsd_storage.c"
 var $372=$5; //@line 757 "../src/h264bsd_storage.c"
 HEAP32[(($372)>>2)]=1; //@line 757 "../src/h264bsd_storage.c"
 label=68;break; //@line 758 "../src/h264bsd_storage.c"
 case 68: 
 var $374=$pps; //@line 760 "../src/h264bsd_storage.c"
 var $375=(($374+8)|0); //@line 760 "../src/h264bsd_storage.c"
 var $376=HEAP32[(($375)>>2)]; //@line 760 "../src/h264bsd_storage.c"
 var $377=($376|0)!=0; //@line 760 "../src/h264bsd_storage.c"
 if($377){label=69;break;}else{label=72;break;} //@line 760 "../src/h264bsd_storage.c"
 case 69: 
 var $379=$4; //@line 761 "../src/h264bsd_storage.c"
 var $380=(($379+1300)|0); //@line 761 "../src/h264bsd_storage.c"
 var $381=(($380)|0); //@line 761 "../src/h264bsd_storage.c"
 var $382=(($381+24)|0); //@line 761 "../src/h264bsd_storage.c"
 var $383=(($382+4)|0); //@line 761 "../src/h264bsd_storage.c"
 var $384=HEAP32[(($383)>>2)]; //@line 761 "../src/h264bsd_storage.c"
 var $385=(($deltaPicOrderCnt+4)|0); //@line 761 "../src/h264bsd_storage.c"
 var $386=HEAP32[(($385)>>2)]; //@line 761 "../src/h264bsd_storage.c"
 var $387=($384|0)!=($386|0); //@line 761 "../src/h264bsd_storage.c"
 if($387){label=70;break;}else{label=71;break;} //@line 761 "../src/h264bsd_storage.c"
 case 70: 
 var $389=(($deltaPicOrderCnt+4)|0); //@line 763 "../src/h264bsd_storage.c"
 var $390=HEAP32[(($389)>>2)]; //@line 763 "../src/h264bsd_storage.c"
 var $391=$4; //@line 763 "../src/h264bsd_storage.c"
 var $392=(($391+1300)|0); //@line 763 "../src/h264bsd_storage.c"
 var $393=(($392)|0); //@line 763 "../src/h264bsd_storage.c"
 var $394=(($393+24)|0); //@line 763 "../src/h264bsd_storage.c"
 var $395=(($394+4)|0); //@line 763 "../src/h264bsd_storage.c"
 HEAP32[(($395)>>2)]=$390; //@line 763 "../src/h264bsd_storage.c"
 var $396=$5; //@line 764 "../src/h264bsd_storage.c"
 HEAP32[(($396)>>2)]=1; //@line 764 "../src/h264bsd_storage.c"
 label=71;break; //@line 765 "../src/h264bsd_storage.c"
 case 71: 
 label=72;break; //@line 765 "../src/h264bsd_storage.c"
 case 72: 
 label=73;break; //@line 766 "../src/h264bsd_storage.c"
 case 73: 
 label=74;break;
 case 74: 
 var $401=$4; //@line 768 "../src/h264bsd_storage.c"
 var $402=(($401+1300)|0); //@line 768 "../src/h264bsd_storage.c"
 var $403=(($402)|0); //@line 768 "../src/h264bsd_storage.c"
 var $404=(($403)|0); //@line 768 "../src/h264bsd_storage.c"
 var $405=(($404)|0); //@line 768 "../src/h264bsd_storage.c"
 var $406=$3; //@line 768 "../src/h264bsd_storage.c"
 var $407=$405; //@line 768 "../src/h264bsd_storage.c"
 var $408=$406; //@line 768 "../src/h264bsd_storage.c"
 assert(8 % 1 === 0);HEAP32[(($407)>>2)]=HEAP32[(($408)>>2)];HEAP32[((($407)+(4))>>2)]=HEAP32[((($408)+(4))>>2)]; //@line 768 "../src/h264bsd_storage.c"
 $1=0; //@line 770 "../src/h264bsd_storage.c"
 label=75;break; //@line 770 "../src/h264bsd_storage.c"
 case 75: 
 var $410=$1; //@line 772 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $410; //@line 772 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdValidParamSets($pStorage){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $i;
 $2=$pStorage;
 var $3=$2; //@line 872 "../src/h264bsd_storage.c"
 var $4=($3|0)!=0; //@line 872 "../src/h264bsd_storage.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 872 "../src/h264bsd_storage.c"
 case 2: 
 ___assert_fail(7496,10832,872,12616); //@line 872 "../src/h264bsd_storage.c"
 throw "Reached an unreachable!"; //@line 872 "../src/h264bsd_storage.c"
 label=3;break; //@line 872 "../src/h264bsd_storage.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 872 "../src/h264bsd_storage.c"
 $i=0; //@line 874 "../src/h264bsd_storage.c"
 label=4;break; //@line 874 "../src/h264bsd_storage.c"
 case 4: 
 var $11=$i; //@line 874 "../src/h264bsd_storage.c"
 var $12=($11>>>0)<256; //@line 874 "../src/h264bsd_storage.c"
 if($12){label=5;break;}else{label=11;break;} //@line 874 "../src/h264bsd_storage.c"
 case 5: 
 var $14=$i; //@line 876 "../src/h264bsd_storage.c"
 var $15=$2; //@line 876 "../src/h264bsd_storage.c"
 var $16=(($15+148)|0); //@line 876 "../src/h264bsd_storage.c"
 var $17=(($16+($14<<2))|0); //@line 876 "../src/h264bsd_storage.c"
 var $18=HEAP32[(($17)>>2)]; //@line 876 "../src/h264bsd_storage.c"
 var $19=($18|0)!=0; //@line 876 "../src/h264bsd_storage.c"
 if($19){label=6;break;}else{label=9;break;} //@line 876 "../src/h264bsd_storage.c"
 case 6: 
 var $21=$i; //@line 876 "../src/h264bsd_storage.c"
 var $22=$2; //@line 876 "../src/h264bsd_storage.c"
 var $23=(($22+148)|0); //@line 876 "../src/h264bsd_storage.c"
 var $24=(($23+($21<<2))|0); //@line 876 "../src/h264bsd_storage.c"
 var $25=HEAP32[(($24)>>2)]; //@line 876 "../src/h264bsd_storage.c"
 var $26=(($25+4)|0); //@line 876 "../src/h264bsd_storage.c"
 var $27=HEAP32[(($26)>>2)]; //@line 876 "../src/h264bsd_storage.c"
 var $28=$2; //@line 876 "../src/h264bsd_storage.c"
 var $29=(($28+20)|0); //@line 876 "../src/h264bsd_storage.c"
 var $30=(($29+($27<<2))|0); //@line 876 "../src/h264bsd_storage.c"
 var $31=HEAP32[(($30)>>2)]; //@line 876 "../src/h264bsd_storage.c"
 var $32=($31|0)!=0; //@line 876 "../src/h264bsd_storage.c"
 if($32){label=7;break;}else{label=9;break;} //@line 876 "../src/h264bsd_storage.c"
 case 7: 
 var $34=$i; //@line 878 "../src/h264bsd_storage.c"
 var $35=$2; //@line 878 "../src/h264bsd_storage.c"
 var $36=(($35+148)|0); //@line 878 "../src/h264bsd_storage.c"
 var $37=(($36+($34<<2))|0); //@line 878 "../src/h264bsd_storage.c"
 var $38=HEAP32[(($37)>>2)]; //@line 878 "../src/h264bsd_storage.c"
 var $39=$i; //@line 878 "../src/h264bsd_storage.c"
 var $40=$2; //@line 878 "../src/h264bsd_storage.c"
 var $41=(($40+148)|0); //@line 878 "../src/h264bsd_storage.c"
 var $42=(($41+($39<<2))|0); //@line 878 "../src/h264bsd_storage.c"
 var $43=HEAP32[(($42)>>2)]; //@line 878 "../src/h264bsd_storage.c"
 var $44=(($43+4)|0); //@line 878 "../src/h264bsd_storage.c"
 var $45=HEAP32[(($44)>>2)]; //@line 878 "../src/h264bsd_storage.c"
 var $46=$2; //@line 878 "../src/h264bsd_storage.c"
 var $47=(($46+20)|0); //@line 878 "../src/h264bsd_storage.c"
 var $48=(($47+($45<<2))|0); //@line 878 "../src/h264bsd_storage.c"
 var $49=HEAP32[(($48)>>2)]; //@line 878 "../src/h264bsd_storage.c"
 var $50=_CheckPps($38,$49); //@line 878 "../src/h264bsd_storage.c"
 var $51=($50|0)==0; //@line 878 "../src/h264bsd_storage.c"
 if($51){label=8;break;}else{label=9;break;} //@line 878 "../src/h264bsd_storage.c"
 case 8: 
 $1=0; //@line 882 "../src/h264bsd_storage.c"
 label=12;break; //@line 882 "../src/h264bsd_storage.c"
 case 9: 
 label=10;break; //@line 884 "../src/h264bsd_storage.c"
 case 10: 
 var $55=$i; //@line 874 "../src/h264bsd_storage.c"
 var $56=((($55)+(1))|0); //@line 874 "../src/h264bsd_storage.c"
 $i=$56; //@line 874 "../src/h264bsd_storage.c"
 label=4;break; //@line 874 "../src/h264bsd_storage.c"
 case 11: 
 $1=1; //@line 886 "../src/h264bsd_storage.c"
 label=12;break; //@line 886 "../src/h264bsd_storage.c"
 case 12: 
 var $59=$1; //@line 888 "../src/h264bsd_storage.c"
 STACKTOP=sp;return $59; //@line 888 "../src/h264bsd_storage.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdGetBits($pStrmData,$numBits){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $out;
 $2=$pStrmData;
 $3=$numBits;
 var $4=$2; //@line 78 "../src/h264bsd_stream.c"
 var $5=($4|0)!=0; //@line 78 "../src/h264bsd_stream.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 78 "../src/h264bsd_stream.c"
 case 2: 
 ___assert_fail(7256,10784,78,13904); //@line 78 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 78 "../src/h264bsd_stream.c"
 label=3;break; //@line 78 "../src/h264bsd_stream.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 78 "../src/h264bsd_stream.c"
 var $11=$3; //@line 79 "../src/h264bsd_stream.c"
 var $12=($11>>>0)<32; //@line 79 "../src/h264bsd_stream.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 79 "../src/h264bsd_stream.c"
 case 4: 
 ___assert_fail(8824,10784,79,13904); //@line 79 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 79 "../src/h264bsd_stream.c"
 label=5;break; //@line 79 "../src/h264bsd_stream.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 79 "../src/h264bsd_stream.c"
 var $18=$2; //@line 81 "../src/h264bsd_stream.c"
 var $19=_h264bsdShowBits32($18); //@line 81 "../src/h264bsd_stream.c"
 var $20=$3; //@line 81 "../src/h264bsd_stream.c"
 var $21=(((32)-($20))|0); //@line 81 "../src/h264bsd_stream.c"
 var $22=$19>>>($21>>>0); //@line 81 "../src/h264bsd_stream.c"
 $out=$22; //@line 81 "../src/h264bsd_stream.c"
 var $23=$2; //@line 83 "../src/h264bsd_stream.c"
 var $24=$3; //@line 83 "../src/h264bsd_stream.c"
 var $25=_h264bsdFlushBits($23,$24); //@line 83 "../src/h264bsd_stream.c"
 var $26=($25|0)==0; //@line 83 "../src/h264bsd_stream.c"
 if($26){label=6;break;}else{label=7;break;} //@line 83 "../src/h264bsd_stream.c"
 case 6: 
 var $28=$out; //@line 85 "../src/h264bsd_stream.c"
 $1=$28; //@line 85 "../src/h264bsd_stream.c"
 label=8;break; //@line 85 "../src/h264bsd_stream.c"
 case 7: 
 $1=-1; //@line 89 "../src/h264bsd_stream.c"
 label=8;break; //@line 89 "../src/h264bsd_stream.c"
 case 8: 
 var $31=$1; //@line 92 "../src/h264bsd_stream.c"
 STACKTOP=sp;return $31; //@line 92 "../src/h264bsd_stream.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdShowBits32($pStrmData){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $bits;
 var $shift;
 var $out;
 var $pStrm;
 var $bitPosInWord;
 var $byte;
 var $tmp;
 $2=$pStrmData;
 var $3=$2; //@line 123 "../src/h264bsd_stream.c"
 var $4=($3|0)!=0; //@line 123 "../src/h264bsd_stream.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 123 "../src/h264bsd_stream.c"
 case 2: 
 ___assert_fail(7256,10784,123,12728); //@line 123 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 123 "../src/h264bsd_stream.c"
 label=3;break; //@line 123 "../src/h264bsd_stream.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 123 "../src/h264bsd_stream.c"
 var $10=$2; //@line 124 "../src/h264bsd_stream.c"
 var $11=(($10+4)|0); //@line 124 "../src/h264bsd_stream.c"
 var $12=HEAP32[(($11)>>2)]; //@line 124 "../src/h264bsd_stream.c"
 var $13=($12|0)!=0; //@line 124 "../src/h264bsd_stream.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 124 "../src/h264bsd_stream.c"
 case 4: 
 ___assert_fail(7760,10784,124,12728); //@line 124 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 124 "../src/h264bsd_stream.c"
 label=5;break; //@line 124 "../src/h264bsd_stream.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 124 "../src/h264bsd_stream.c"
 var $19=$2; //@line 125 "../src/h264bsd_stream.c"
 var $20=(($19+8)|0); //@line 125 "../src/h264bsd_stream.c"
 var $21=HEAP32[(($20)>>2)]; //@line 125 "../src/h264bsd_stream.c"
 var $22=($21>>>0)<8; //@line 125 "../src/h264bsd_stream.c"
 if($22){var $26=1;label=7;break;}else{label=6;break;} //@line 125 "../src/h264bsd_stream.c"
 case 6: 
 ___assert_fail(6816,10784,125,12728); //@line 125 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 125 "../src/h264bsd_stream.c"
 label=7;break; //@line 125 "../src/h264bsd_stream.c"
 case 7: 
 var $26;
 var $27=($26&1); //@line 125 "../src/h264bsd_stream.c"
 var $28=$2; //@line 126 "../src/h264bsd_stream.c"
 var $29=(($28+8)|0); //@line 126 "../src/h264bsd_stream.c"
 var $30=HEAP32[(($29)>>2)]; //@line 126 "../src/h264bsd_stream.c"
 var $31=$2; //@line 126 "../src/h264bsd_stream.c"
 var $32=(($31+16)|0); //@line 126 "../src/h264bsd_stream.c"
 var $33=HEAP32[(($32)>>2)]; //@line 126 "../src/h264bsd_stream.c"
 var $34=$33&7; //@line 126 "../src/h264bsd_stream.c"
 var $35=($30|0)==($34|0); //@line 126 "../src/h264bsd_stream.c"
 if($35){var $39=1;label=9;break;}else{label=8;break;} //@line 126 "../src/h264bsd_stream.c"
 case 8: 
 ___assert_fail(5976,10784,127,12728); //@line 126 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 126 "../src/h264bsd_stream.c"
 label=9;break; //@line 126 "../src/h264bsd_stream.c"
 case 9: 
 var $39;
 var $40=($39&1); //@line 126 "../src/h264bsd_stream.c"
 var $41=$2; //@line 129 "../src/h264bsd_stream.c"
 var $42=(($41+4)|0); //@line 129 "../src/h264bsd_stream.c"
 var $43=HEAP32[(($42)>>2)]; //@line 129 "../src/h264bsd_stream.c"
 $pStrm=$43; //@line 129 "../src/h264bsd_stream.c"
 var $44=$2; //@line 132 "../src/h264bsd_stream.c"
 var $45=(($44+12)|0); //@line 132 "../src/h264bsd_stream.c"
 var $46=HEAP32[(($45)>>2)]; //@line 132 "../src/h264bsd_stream.c"
 var $47=($46<<3); //@line 132 "../src/h264bsd_stream.c"
 var $48=$2; //@line 132 "../src/h264bsd_stream.c"
 var $49=(($48+16)|0); //@line 132 "../src/h264bsd_stream.c"
 var $50=HEAP32[(($49)>>2)]; //@line 132 "../src/h264bsd_stream.c"
 var $51=((($47)-($50))|0); //@line 132 "../src/h264bsd_stream.c"
 $bits=$51; //@line 132 "../src/h264bsd_stream.c"
 var $52=$bits; //@line 135 "../src/h264bsd_stream.c"
 var $53=($52|0)>=32; //@line 135 "../src/h264bsd_stream.c"
 if($53){label=10;break;}else{label=13;break;} //@line 135 "../src/h264bsd_stream.c"
 case 10: 
 var $55=$2; //@line 137 "../src/h264bsd_stream.c"
 var $56=(($55+8)|0); //@line 137 "../src/h264bsd_stream.c"
 var $57=HEAP32[(($56)>>2)]; //@line 137 "../src/h264bsd_stream.c"
 $bitPosInWord=$57; //@line 137 "../src/h264bsd_stream.c"
 var $58=$pStrm; //@line 138 "../src/h264bsd_stream.c"
 var $59=(($58)|0); //@line 138 "../src/h264bsd_stream.c"
 var $60=HEAP8[($59)]; //@line 138 "../src/h264bsd_stream.c"
 var $61=($60&255); //@line 138 "../src/h264bsd_stream.c"
 var $62=$61<<24; //@line 138 "../src/h264bsd_stream.c"
 var $63=$pStrm; //@line 138 "../src/h264bsd_stream.c"
 var $64=(($63+1)|0); //@line 138 "../src/h264bsd_stream.c"
 var $65=HEAP8[($64)]; //@line 138 "../src/h264bsd_stream.c"
 var $66=($65&255); //@line 138 "../src/h264bsd_stream.c"
 var $67=$66<<16; //@line 138 "../src/h264bsd_stream.c"
 var $68=$62|$67; //@line 138 "../src/h264bsd_stream.c"
 var $69=$pStrm; //@line 138 "../src/h264bsd_stream.c"
 var $70=(($69+2)|0); //@line 138 "../src/h264bsd_stream.c"
 var $71=HEAP8[($70)]; //@line 138 "../src/h264bsd_stream.c"
 var $72=($71&255); //@line 138 "../src/h264bsd_stream.c"
 var $73=$72<<8; //@line 138 "../src/h264bsd_stream.c"
 var $74=$68|$73; //@line 138 "../src/h264bsd_stream.c"
 var $75=$pStrm; //@line 138 "../src/h264bsd_stream.c"
 var $76=(($75+3)|0); //@line 138 "../src/h264bsd_stream.c"
 var $77=HEAP8[($76)]; //@line 138 "../src/h264bsd_stream.c"
 var $78=($77&255); //@line 138 "../src/h264bsd_stream.c"
 var $79=$74|$78; //@line 138 "../src/h264bsd_stream.c"
 $out=$79; //@line 138 "../src/h264bsd_stream.c"
 var $80=$bitPosInWord; //@line 141 "../src/h264bsd_stream.c"
 var $81=($80|0)!=0; //@line 141 "../src/h264bsd_stream.c"
 if($81){label=11;break;}else{label=12;break;} //@line 141 "../src/h264bsd_stream.c"
 case 11: 
 var $83=$pStrm; //@line 143 "../src/h264bsd_stream.c"
 var $84=(($83+4)|0); //@line 143 "../src/h264bsd_stream.c"
 var $85=HEAP8[($84)]; //@line 143 "../src/h264bsd_stream.c"
 var $86=($85&255); //@line 143 "../src/h264bsd_stream.c"
 $byte=$86; //@line 143 "../src/h264bsd_stream.c"
 var $87=$bitPosInWord; //@line 144 "../src/h264bsd_stream.c"
 var $88=(((8)-($87))|0); //@line 144 "../src/h264bsd_stream.c"
 $tmp=$88; //@line 144 "../src/h264bsd_stream.c"
 var $89=$bitPosInWord; //@line 145 "../src/h264bsd_stream.c"
 var $90=$out; //@line 145 "../src/h264bsd_stream.c"
 var $91=$90<<$89; //@line 145 "../src/h264bsd_stream.c"
 $out=$91; //@line 145 "../src/h264bsd_stream.c"
 var $92=$byte; //@line 146 "../src/h264bsd_stream.c"
 var $93=$tmp; //@line 146 "../src/h264bsd_stream.c"
 var $94=$92>>>($93>>>0); //@line 146 "../src/h264bsd_stream.c"
 var $95=$out; //@line 146 "../src/h264bsd_stream.c"
 var $96=$95|$94; //@line 146 "../src/h264bsd_stream.c"
 $out=$96; //@line 146 "../src/h264bsd_stream.c"
 label=12;break; //@line 147 "../src/h264bsd_stream.c"
 case 12: 
 var $98=$out; //@line 148 "../src/h264bsd_stream.c"
 $1=$98; //@line 148 "../src/h264bsd_stream.c"
 label=19;break; //@line 148 "../src/h264bsd_stream.c"
 case 13: 
 var $100=$bits; //@line 151 "../src/h264bsd_stream.c"
 var $101=($100|0)>0; //@line 151 "../src/h264bsd_stream.c"
 if($101){label=14;break;}else{label=18;break;} //@line 151 "../src/h264bsd_stream.c"
 case 14: 
 var $103=$2; //@line 153 "../src/h264bsd_stream.c"
 var $104=(($103+8)|0); //@line 153 "../src/h264bsd_stream.c"
 var $105=HEAP32[(($104)>>2)]; //@line 153 "../src/h264bsd_stream.c"
 var $106=((($105)+(24))|0); //@line 153 "../src/h264bsd_stream.c"
 $shift=$106; //@line 153 "../src/h264bsd_stream.c"
 var $107=$pStrm; //@line 154 "../src/h264bsd_stream.c"
 var $108=(($107+1)|0); //@line 154 "../src/h264bsd_stream.c"
 $pStrm=$108; //@line 154 "../src/h264bsd_stream.c"
 var $109=HEAP8[($107)]; //@line 154 "../src/h264bsd_stream.c"
 var $110=($109&255); //@line 154 "../src/h264bsd_stream.c"
 var $111=$shift; //@line 154 "../src/h264bsd_stream.c"
 var $112=$110<<$111; //@line 154 "../src/h264bsd_stream.c"
 $out=$112; //@line 154 "../src/h264bsd_stream.c"
 var $113=$2; //@line 155 "../src/h264bsd_stream.c"
 var $114=(($113+8)|0); //@line 155 "../src/h264bsd_stream.c"
 var $115=HEAP32[(($114)>>2)]; //@line 155 "../src/h264bsd_stream.c"
 var $116=(((8)-($115))|0); //@line 155 "../src/h264bsd_stream.c"
 var $117=$bits; //@line 155 "../src/h264bsd_stream.c"
 var $118=((($117)-($116))|0); //@line 155 "../src/h264bsd_stream.c"
 $bits=$118; //@line 155 "../src/h264bsd_stream.c"
 label=15;break; //@line 156 "../src/h264bsd_stream.c"
 case 15: 
 var $120=$bits; //@line 156 "../src/h264bsd_stream.c"
 var $121=($120|0)>0; //@line 156 "../src/h264bsd_stream.c"
 if($121){label=16;break;}else{label=17;break;} //@line 156 "../src/h264bsd_stream.c"
 case 16: 
 var $123=$shift; //@line 158 "../src/h264bsd_stream.c"
 var $124=((($123)-(8))|0); //@line 158 "../src/h264bsd_stream.c"
 $shift=$124; //@line 158 "../src/h264bsd_stream.c"
 var $125=$pStrm; //@line 159 "../src/h264bsd_stream.c"
 var $126=(($125+1)|0); //@line 159 "../src/h264bsd_stream.c"
 $pStrm=$126; //@line 159 "../src/h264bsd_stream.c"
 var $127=HEAP8[($125)]; //@line 159 "../src/h264bsd_stream.c"
 var $128=($127&255); //@line 159 "../src/h264bsd_stream.c"
 var $129=$shift; //@line 159 "../src/h264bsd_stream.c"
 var $130=$128<<$129; //@line 159 "../src/h264bsd_stream.c"
 var $131=$out; //@line 159 "../src/h264bsd_stream.c"
 var $132=$131|$130; //@line 159 "../src/h264bsd_stream.c"
 $out=$132; //@line 159 "../src/h264bsd_stream.c"
 var $133=$bits; //@line 160 "../src/h264bsd_stream.c"
 var $134=((($133)-(8))|0); //@line 160 "../src/h264bsd_stream.c"
 $bits=$134; //@line 160 "../src/h264bsd_stream.c"
 label=15;break; //@line 161 "../src/h264bsd_stream.c"
 case 17: 
 var $136=$out; //@line 162 "../src/h264bsd_stream.c"
 $1=$136; //@line 162 "../src/h264bsd_stream.c"
 label=19;break; //@line 162 "../src/h264bsd_stream.c"
 case 18: 
 $1=0; //@line 165 "../src/h264bsd_stream.c"
 label=19;break; //@line 165 "../src/h264bsd_stream.c"
 case 19: 
 var $139=$1; //@line 167 "../src/h264bsd_stream.c"
 STACKTOP=sp;return $139; //@line 167 "../src/h264bsd_stream.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdFlushBits($pStrmData,$numBits){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 $2=$pStrmData;
 $3=$numBits;
 var $4=$2; //@line 192 "../src/h264bsd_stream.c"
 var $5=($4|0)!=0; //@line 192 "../src/h264bsd_stream.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 192 "../src/h264bsd_stream.c"
 case 2: 
 ___assert_fail(7256,10784,192,13936); //@line 192 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 192 "../src/h264bsd_stream.c"
 label=3;break; //@line 192 "../src/h264bsd_stream.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 192 "../src/h264bsd_stream.c"
 var $11=$2; //@line 193 "../src/h264bsd_stream.c"
 var $12=(($11)|0); //@line 193 "../src/h264bsd_stream.c"
 var $13=HEAP32[(($12)>>2)]; //@line 193 "../src/h264bsd_stream.c"
 var $14=($13|0)!=0; //@line 193 "../src/h264bsd_stream.c"
 if($14){var $18=1;label=5;break;}else{label=4;break;} //@line 193 "../src/h264bsd_stream.c"
 case 4: 
 ___assert_fail(5528,10784,193,13936); //@line 193 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 193 "../src/h264bsd_stream.c"
 label=5;break; //@line 193 "../src/h264bsd_stream.c"
 case 5: 
 var $18;
 var $19=($18&1); //@line 193 "../src/h264bsd_stream.c"
 var $20=$2; //@line 194 "../src/h264bsd_stream.c"
 var $21=(($20+4)|0); //@line 194 "../src/h264bsd_stream.c"
 var $22=HEAP32[(($21)>>2)]; //@line 194 "../src/h264bsd_stream.c"
 var $23=($22|0)!=0; //@line 194 "../src/h264bsd_stream.c"
 if($23){var $27=1;label=7;break;}else{label=6;break;} //@line 194 "../src/h264bsd_stream.c"
 case 6: 
 ___assert_fail(7760,10784,194,13936); //@line 194 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 194 "../src/h264bsd_stream.c"
 label=7;break; //@line 194 "../src/h264bsd_stream.c"
 case 7: 
 var $27;
 var $28=($27&1); //@line 194 "../src/h264bsd_stream.c"
 var $29=$2; //@line 195 "../src/h264bsd_stream.c"
 var $30=(($29+8)|0); //@line 195 "../src/h264bsd_stream.c"
 var $31=HEAP32[(($30)>>2)]; //@line 195 "../src/h264bsd_stream.c"
 var $32=($31>>>0)<8; //@line 195 "../src/h264bsd_stream.c"
 if($32){var $36=1;label=9;break;}else{label=8;break;} //@line 195 "../src/h264bsd_stream.c"
 case 8: 
 ___assert_fail(6816,10784,195,13936); //@line 195 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 195 "../src/h264bsd_stream.c"
 label=9;break; //@line 195 "../src/h264bsd_stream.c"
 case 9: 
 var $36;
 var $37=($36&1); //@line 195 "../src/h264bsd_stream.c"
 var $38=$2; //@line 196 "../src/h264bsd_stream.c"
 var $39=(($38+8)|0); //@line 196 "../src/h264bsd_stream.c"
 var $40=HEAP32[(($39)>>2)]; //@line 196 "../src/h264bsd_stream.c"
 var $41=$2; //@line 196 "../src/h264bsd_stream.c"
 var $42=(($41+16)|0); //@line 196 "../src/h264bsd_stream.c"
 var $43=HEAP32[(($42)>>2)]; //@line 196 "../src/h264bsd_stream.c"
 var $44=$43&7; //@line 196 "../src/h264bsd_stream.c"
 var $45=($40|0)==($44|0); //@line 196 "../src/h264bsd_stream.c"
 if($45){var $49=1;label=11;break;}else{label=10;break;} //@line 196 "../src/h264bsd_stream.c"
 case 10: 
 ___assert_fail(5976,10784,196,13936); //@line 196 "../src/h264bsd_stream.c"
 throw "Reached an unreachable!"; //@line 196 "../src/h264bsd_stream.c"
 label=11;break; //@line 196 "../src/h264bsd_stream.c"
 case 11: 
 var $49;
 var $50=($49&1); //@line 196 "../src/h264bsd_stream.c"
 var $51=$3; //@line 198 "../src/h264bsd_stream.c"
 var $52=$2; //@line 198 "../src/h264bsd_stream.c"
 var $53=(($52+16)|0); //@line 198 "../src/h264bsd_stream.c"
 var $54=HEAP32[(($53)>>2)]; //@line 198 "../src/h264bsd_stream.c"
 var $55=((($54)+($51))|0); //@line 198 "../src/h264bsd_stream.c"
 HEAP32[(($53)>>2)]=$55; //@line 198 "../src/h264bsd_stream.c"
 var $56=$2; //@line 199 "../src/h264bsd_stream.c"
 var $57=(($56+16)|0); //@line 199 "../src/h264bsd_stream.c"
 var $58=HEAP32[(($57)>>2)]; //@line 199 "../src/h264bsd_stream.c"
 var $59=$58&7; //@line 199 "../src/h264bsd_stream.c"
 var $60=$2; //@line 199 "../src/h264bsd_stream.c"
 var $61=(($60+8)|0); //@line 199 "../src/h264bsd_stream.c"
 HEAP32[(($61)>>2)]=$59; //@line 199 "../src/h264bsd_stream.c"
 var $62=$2; //@line 200 "../src/h264bsd_stream.c"
 var $63=(($62+16)|0); //@line 200 "../src/h264bsd_stream.c"
 var $64=HEAP32[(($63)>>2)]; //@line 200 "../src/h264bsd_stream.c"
 var $65=$2; //@line 200 "../src/h264bsd_stream.c"
 var $66=(($65+12)|0); //@line 200 "../src/h264bsd_stream.c"
 var $67=HEAP32[(($66)>>2)]; //@line 200 "../src/h264bsd_stream.c"
 var $68=($67<<3); //@line 200 "../src/h264bsd_stream.c"
 var $69=($64>>>0)<=($68>>>0); //@line 200 "../src/h264bsd_stream.c"
 if($69){label=12;break;}else{label=13;break;} //@line 200 "../src/h264bsd_stream.c"
 case 12: 
 var $71=$2; //@line 202 "../src/h264bsd_stream.c"
 var $72=(($71)|0); //@line 202 "../src/h264bsd_stream.c"
 var $73=HEAP32[(($72)>>2)]; //@line 202 "../src/h264bsd_stream.c"
 var $74=$2; //@line 202 "../src/h264bsd_stream.c"
 var $75=(($74+16)|0); //@line 202 "../src/h264bsd_stream.c"
 var $76=HEAP32[(($75)>>2)]; //@line 202 "../src/h264bsd_stream.c"
 var $77=$76>>>3; //@line 202 "../src/h264bsd_stream.c"
 var $78=(($73+$77)|0); //@line 202 "../src/h264bsd_stream.c"
 var $79=$2; //@line 202 "../src/h264bsd_stream.c"
 var $80=(($79+4)|0); //@line 202 "../src/h264bsd_stream.c"
 HEAP32[(($80)>>2)]=$78; //@line 202 "../src/h264bsd_stream.c"
 $1=0; //@line 204 "../src/h264bsd_stream.c"
 label=14;break; //@line 204 "../src/h264bsd_stream.c"
 case 13: 
 $1=-1; //@line 207 "../src/h264bsd_stream.c"
 label=14;break; //@line 207 "../src/h264bsd_stream.c"
 case 14: 
 var $83=$1; //@line 209 "../src/h264bsd_stream.c"
 STACKTOP=sp;return $83; //@line 209 "../src/h264bsd_stream.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdIsByteAligned($pStrmData){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 $2=$pStrmData;
 var $3=$2; //@line 237 "../src/h264bsd_stream.c"
 var $4=(($3+8)|0); //@line 237 "../src/h264bsd_stream.c"
 var $5=HEAP32[(($4)>>2)]; //@line 237 "../src/h264bsd_stream.c"
 var $6=($5|0)!=0; //@line 237 "../src/h264bsd_stream.c"
 if($6){label=3;break;}else{label=2;break;} //@line 237 "../src/h264bsd_stream.c"
 case 2: 
 $1=1; //@line 238 "../src/h264bsd_stream.c"
 label=4;break; //@line 238 "../src/h264bsd_stream.c"
 case 3: 
 $1=0; //@line 240 "../src/h264bsd_stream.c"
 label=4;break; //@line 240 "../src/h264bsd_stream.c"
 case 4: 
 var $10=$1; //@line 242 "../src/h264bsd_stream.c"
 STACKTOP=sp;return $10; //@line 242 "../src/h264bsd_stream.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdProcessBlock($data,$qp,$skip,$coeffMap){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $5;
 var $tmp0;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $d1;
 var $d2;
 var $d3;
 var $row;
 var $col;
 var $qpDiv;
 var $ptr;
 $2=$data;
 $3=$qp;
 $4=$skip;
 $5=$coeffMap;
 var $6=$3; //@line 110 "../src/h264bsd_transform.c"
 var $7=((896+$6)|0); //@line 110 "../src/h264bsd_transform.c"
 var $8=HEAP8[($7)]; //@line 110 "../src/h264bsd_transform.c"
 var $9=($8&255); //@line 110 "../src/h264bsd_transform.c"
 $qpDiv=$9; //@line 110 "../src/h264bsd_transform.c"
 var $10=$3; //@line 111 "../src/h264bsd_transform.c"
 var $11=((840+$10)|0); //@line 111 "../src/h264bsd_transform.c"
 var $12=HEAP8[($11)]; //@line 111 "../src/h264bsd_transform.c"
 var $13=($12&255); //@line 111 "../src/h264bsd_transform.c"
 var $14=((1080+((($13)*(12))&-1))|0); //@line 111 "../src/h264bsd_transform.c"
 var $15=(($14)|0); //@line 111 "../src/h264bsd_transform.c"
 var $16=HEAP32[(($15)>>2)]; //@line 111 "../src/h264bsd_transform.c"
 var $17=$qpDiv; //@line 111 "../src/h264bsd_transform.c"
 var $18=$16<<$17; //@line 111 "../src/h264bsd_transform.c"
 $tmp1=$18; //@line 111 "../src/h264bsd_transform.c"
 var $19=$3; //@line 112 "../src/h264bsd_transform.c"
 var $20=((840+$19)|0); //@line 112 "../src/h264bsd_transform.c"
 var $21=HEAP8[($20)]; //@line 112 "../src/h264bsd_transform.c"
 var $22=($21&255); //@line 112 "../src/h264bsd_transform.c"
 var $23=((1080+((($22)*(12))&-1))|0); //@line 112 "../src/h264bsd_transform.c"
 var $24=(($23+4)|0); //@line 112 "../src/h264bsd_transform.c"
 var $25=HEAP32[(($24)>>2)]; //@line 112 "../src/h264bsd_transform.c"
 var $26=$qpDiv; //@line 112 "../src/h264bsd_transform.c"
 var $27=$25<<$26; //@line 112 "../src/h264bsd_transform.c"
 $tmp2=$27; //@line 112 "../src/h264bsd_transform.c"
 var $28=$3; //@line 113 "../src/h264bsd_transform.c"
 var $29=((840+$28)|0); //@line 113 "../src/h264bsd_transform.c"
 var $30=HEAP8[($29)]; //@line 113 "../src/h264bsd_transform.c"
 var $31=($30&255); //@line 113 "../src/h264bsd_transform.c"
 var $32=((1080+((($31)*(12))&-1))|0); //@line 113 "../src/h264bsd_transform.c"
 var $33=(($32+8)|0); //@line 113 "../src/h264bsd_transform.c"
 var $34=HEAP32[(($33)>>2)]; //@line 113 "../src/h264bsd_transform.c"
 var $35=$qpDiv; //@line 113 "../src/h264bsd_transform.c"
 var $36=$34<<$35; //@line 113 "../src/h264bsd_transform.c"
 $tmp3=$36; //@line 113 "../src/h264bsd_transform.c"
 var $37=$4; //@line 115 "../src/h264bsd_transform.c"
 var $38=($37|0)!=0; //@line 115 "../src/h264bsd_transform.c"
 if($38){label=3;break;}else{label=2;break;} //@line 115 "../src/h264bsd_transform.c"
 case 2: 
 var $40=$2; //@line 116 "../src/h264bsd_transform.c"
 var $41=(($40)|0); //@line 116 "../src/h264bsd_transform.c"
 var $42=HEAP32[(($41)>>2)]; //@line 116 "../src/h264bsd_transform.c"
 var $43=$tmp1; //@line 116 "../src/h264bsd_transform.c"
 var $44=(Math_imul($42,$43)|0); //@line 116 "../src/h264bsd_transform.c"
 var $45=$2; //@line 116 "../src/h264bsd_transform.c"
 var $46=(($45)|0); //@line 116 "../src/h264bsd_transform.c"
 HEAP32[(($46)>>2)]=$44; //@line 116 "../src/h264bsd_transform.c"
 label=3;break; //@line 116 "../src/h264bsd_transform.c"
 case 3: 
 var $48=$5; //@line 120 "../src/h264bsd_transform.c"
 var $49=$48&65436; //@line 120 "../src/h264bsd_transform.c"
 var $50=($49|0)!=0; //@line 120 "../src/h264bsd_transform.c"
 if($50){label=4;break;}else{label=18;break;} //@line 120 "../src/h264bsd_transform.c"
 case 4: 
 var $52=$2; //@line 123 "../src/h264bsd_transform.c"
 var $53=(($52+4)|0); //@line 123 "../src/h264bsd_transform.c"
 var $54=HEAP32[(($53)>>2)]; //@line 123 "../src/h264bsd_transform.c"
 $d1=$54; //@line 123 "../src/h264bsd_transform.c"
 var $55=$2; //@line 124 "../src/h264bsd_transform.c"
 var $56=(($55+56)|0); //@line 124 "../src/h264bsd_transform.c"
 var $57=HEAP32[(($56)>>2)]; //@line 124 "../src/h264bsd_transform.c"
 $d2=$57; //@line 124 "../src/h264bsd_transform.c"
 var $58=$2; //@line 125 "../src/h264bsd_transform.c"
 var $59=(($58+60)|0); //@line 125 "../src/h264bsd_transform.c"
 var $60=HEAP32[(($59)>>2)]; //@line 125 "../src/h264bsd_transform.c"
 $d3=$60; //@line 125 "../src/h264bsd_transform.c"
 var $61=$d1; //@line 126 "../src/h264bsd_transform.c"
 var $62=$tmp2; //@line 126 "../src/h264bsd_transform.c"
 var $63=(Math_imul($61,$62)|0); //@line 126 "../src/h264bsd_transform.c"
 var $64=$2; //@line 126 "../src/h264bsd_transform.c"
 var $65=(($64+4)|0); //@line 126 "../src/h264bsd_transform.c"
 HEAP32[(($65)>>2)]=$63; //@line 126 "../src/h264bsd_transform.c"
 var $66=$d2; //@line 127 "../src/h264bsd_transform.c"
 var $67=$tmp2; //@line 127 "../src/h264bsd_transform.c"
 var $68=(Math_imul($66,$67)|0); //@line 127 "../src/h264bsd_transform.c"
 var $69=$2; //@line 127 "../src/h264bsd_transform.c"
 var $70=(($69+56)|0); //@line 127 "../src/h264bsd_transform.c"
 HEAP32[(($70)>>2)]=$68; //@line 127 "../src/h264bsd_transform.c"
 var $71=$d3; //@line 128 "../src/h264bsd_transform.c"
 var $72=$tmp3; //@line 128 "../src/h264bsd_transform.c"
 var $73=(Math_imul($71,$72)|0); //@line 128 "../src/h264bsd_transform.c"
 var $74=$2; //@line 128 "../src/h264bsd_transform.c"
 var $75=(($74+60)|0); //@line 128 "../src/h264bsd_transform.c"
 HEAP32[(($75)>>2)]=$73; //@line 128 "../src/h264bsd_transform.c"
 var $76=$2; //@line 130 "../src/h264bsd_transform.c"
 var $77=(($76+8)|0); //@line 130 "../src/h264bsd_transform.c"
 var $78=HEAP32[(($77)>>2)]; //@line 130 "../src/h264bsd_transform.c"
 $d1=$78; //@line 130 "../src/h264bsd_transform.c"
 var $79=$2; //@line 131 "../src/h264bsd_transform.c"
 var $80=(($79+20)|0); //@line 131 "../src/h264bsd_transform.c"
 var $81=HEAP32[(($80)>>2)]; //@line 131 "../src/h264bsd_transform.c"
 $d2=$81; //@line 131 "../src/h264bsd_transform.c"
 var $82=$2; //@line 132 "../src/h264bsd_transform.c"
 var $83=(($82+16)|0); //@line 132 "../src/h264bsd_transform.c"
 var $84=HEAP32[(($83)>>2)]; //@line 132 "../src/h264bsd_transform.c"
 $d3=$84; //@line 132 "../src/h264bsd_transform.c"
 var $85=$d1; //@line 133 "../src/h264bsd_transform.c"
 var $86=$tmp2; //@line 133 "../src/h264bsd_transform.c"
 var $87=(Math_imul($85,$86)|0); //@line 133 "../src/h264bsd_transform.c"
 var $88=$2; //@line 133 "../src/h264bsd_transform.c"
 var $89=(($88+16)|0); //@line 133 "../src/h264bsd_transform.c"
 HEAP32[(($89)>>2)]=$87; //@line 133 "../src/h264bsd_transform.c"
 var $90=$d2; //@line 134 "../src/h264bsd_transform.c"
 var $91=$tmp1; //@line 134 "../src/h264bsd_transform.c"
 var $92=(Math_imul($90,$91)|0); //@line 134 "../src/h264bsd_transform.c"
 var $93=$2; //@line 134 "../src/h264bsd_transform.c"
 var $94=(($93+8)|0); //@line 134 "../src/h264bsd_transform.c"
 HEAP32[(($94)>>2)]=$92; //@line 134 "../src/h264bsd_transform.c"
 var $95=$d3; //@line 135 "../src/h264bsd_transform.c"
 var $96=$tmp3; //@line 135 "../src/h264bsd_transform.c"
 var $97=(Math_imul($95,$96)|0); //@line 135 "../src/h264bsd_transform.c"
 var $98=$2; //@line 135 "../src/h264bsd_transform.c"
 var $99=(($98+20)|0); //@line 135 "../src/h264bsd_transform.c"
 HEAP32[(($99)>>2)]=$97; //@line 135 "../src/h264bsd_transform.c"
 var $100=$2; //@line 137 "../src/h264bsd_transform.c"
 var $101=(($100+32)|0); //@line 137 "../src/h264bsd_transform.c"
 var $102=HEAP32[(($101)>>2)]; //@line 137 "../src/h264bsd_transform.c"
 $d1=$102; //@line 137 "../src/h264bsd_transform.c"
 var $103=$2; //@line 138 "../src/h264bsd_transform.c"
 var $104=(($103+12)|0); //@line 138 "../src/h264bsd_transform.c"
 var $105=HEAP32[(($104)>>2)]; //@line 138 "../src/h264bsd_transform.c"
 $d2=$105; //@line 138 "../src/h264bsd_transform.c"
 var $106=$2; //@line 139 "../src/h264bsd_transform.c"
 var $107=(($106+24)|0); //@line 139 "../src/h264bsd_transform.c"
 var $108=HEAP32[(($107)>>2)]; //@line 139 "../src/h264bsd_transform.c"
 $d3=$108; //@line 139 "../src/h264bsd_transform.c"
 var $109=$d1; //@line 140 "../src/h264bsd_transform.c"
 var $110=$tmp2; //@line 140 "../src/h264bsd_transform.c"
 var $111=(Math_imul($109,$110)|0); //@line 140 "../src/h264bsd_transform.c"
 $tmp0=$111; //@line 140 "../src/h264bsd_transform.c"
 var $112=$d2; //@line 141 "../src/h264bsd_transform.c"
 var $113=$tmp1; //@line 141 "../src/h264bsd_transform.c"
 var $114=(Math_imul($112,$113)|0); //@line 141 "../src/h264bsd_transform.c"
 var $115=$2; //@line 141 "../src/h264bsd_transform.c"
 var $116=(($115+32)|0); //@line 141 "../src/h264bsd_transform.c"
 HEAP32[(($116)>>2)]=$114; //@line 141 "../src/h264bsd_transform.c"
 var $117=$d3; //@line 142 "../src/h264bsd_transform.c"
 var $118=$tmp2; //@line 142 "../src/h264bsd_transform.c"
 var $119=(Math_imul($117,$118)|0); //@line 142 "../src/h264bsd_transform.c"
 var $120=$2; //@line 142 "../src/h264bsd_transform.c"
 var $121=(($120+12)|0); //@line 142 "../src/h264bsd_transform.c"
 HEAP32[(($121)>>2)]=$119; //@line 142 "../src/h264bsd_transform.c"
 var $122=$2; //@line 143 "../src/h264bsd_transform.c"
 var $123=(($122+28)|0); //@line 143 "../src/h264bsd_transform.c"
 var $124=HEAP32[(($123)>>2)]; //@line 143 "../src/h264bsd_transform.c"
 $d1=$124; //@line 143 "../src/h264bsd_transform.c"
 var $125=$2; //@line 144 "../src/h264bsd_transform.c"
 var $126=(($125+48)|0); //@line 144 "../src/h264bsd_transform.c"
 var $127=HEAP32[(($126)>>2)]; //@line 144 "../src/h264bsd_transform.c"
 $d2=$127; //@line 144 "../src/h264bsd_transform.c"
 var $128=$2; //@line 145 "../src/h264bsd_transform.c"
 var $129=(($128+36)|0); //@line 145 "../src/h264bsd_transform.c"
 var $130=HEAP32[(($129)>>2)]; //@line 145 "../src/h264bsd_transform.c"
 $d3=$130; //@line 145 "../src/h264bsd_transform.c"
 var $131=$d1; //@line 146 "../src/h264bsd_transform.c"
 var $132=$tmp2; //@line 146 "../src/h264bsd_transform.c"
 var $133=(Math_imul($131,$132)|0); //@line 146 "../src/h264bsd_transform.c"
 var $134=$2; //@line 146 "../src/h264bsd_transform.c"
 var $135=(($134+24)|0); //@line 146 "../src/h264bsd_transform.c"
 HEAP32[(($135)>>2)]=$133; //@line 146 "../src/h264bsd_transform.c"
 var $136=$d2; //@line 147 "../src/h264bsd_transform.c"
 var $137=$tmp3; //@line 147 "../src/h264bsd_transform.c"
 var $138=(Math_imul($136,$137)|0); //@line 147 "../src/h264bsd_transform.c"
 var $139=$2; //@line 147 "../src/h264bsd_transform.c"
 var $140=(($139+28)|0); //@line 147 "../src/h264bsd_transform.c"
 HEAP32[(($140)>>2)]=$138; //@line 147 "../src/h264bsd_transform.c"
 var $141=$d3; //@line 148 "../src/h264bsd_transform.c"
 var $142=$tmp2; //@line 148 "../src/h264bsd_transform.c"
 var $143=(Math_imul($141,$142)|0); //@line 148 "../src/h264bsd_transform.c"
 var $144=$2; //@line 148 "../src/h264bsd_transform.c"
 var $145=(($144+48)|0); //@line 148 "../src/h264bsd_transform.c"
 HEAP32[(($145)>>2)]=$143; //@line 148 "../src/h264bsd_transform.c"
 var $146=$tmp0; //@line 149 "../src/h264bsd_transform.c"
 var $147=$2; //@line 149 "../src/h264bsd_transform.c"
 var $148=(($147+36)|0); //@line 149 "../src/h264bsd_transform.c"
 HEAP32[(($148)>>2)]=$146; //@line 149 "../src/h264bsd_transform.c"
 var $149=$2; //@line 151 "../src/h264bsd_transform.c"
 var $150=(($149+40)|0); //@line 151 "../src/h264bsd_transform.c"
 var $151=HEAP32[(($150)>>2)]; //@line 151 "../src/h264bsd_transform.c"
 $d1=$151; //@line 151 "../src/h264bsd_transform.c"
 var $152=$2; //@line 152 "../src/h264bsd_transform.c"
 var $153=(($152+44)|0); //@line 152 "../src/h264bsd_transform.c"
 var $154=HEAP32[(($153)>>2)]; //@line 152 "../src/h264bsd_transform.c"
 $d2=$154; //@line 152 "../src/h264bsd_transform.c"
 var $155=$2; //@line 153 "../src/h264bsd_transform.c"
 var $156=(($155+52)|0); //@line 153 "../src/h264bsd_transform.c"
 var $157=HEAP32[(($156)>>2)]; //@line 153 "../src/h264bsd_transform.c"
 $d3=$157; //@line 153 "../src/h264bsd_transform.c"
 var $158=$d1; //@line 154 "../src/h264bsd_transform.c"
 var $159=$tmp3; //@line 154 "../src/h264bsd_transform.c"
 var $160=(Math_imul($158,$159)|0); //@line 154 "../src/h264bsd_transform.c"
 var $161=$2; //@line 154 "../src/h264bsd_transform.c"
 var $162=(($161+52)|0); //@line 154 "../src/h264bsd_transform.c"
 HEAP32[(($162)>>2)]=$160; //@line 154 "../src/h264bsd_transform.c"
 var $163=$d2; //@line 155 "../src/h264bsd_transform.c"
 var $164=$tmp1; //@line 155 "../src/h264bsd_transform.c"
 var $165=(Math_imul($163,$164)|0); //@line 155 "../src/h264bsd_transform.c"
 var $166=$2; //@line 155 "../src/h264bsd_transform.c"
 var $167=(($166+40)|0); //@line 155 "../src/h264bsd_transform.c"
 HEAP32[(($167)>>2)]=$165; //@line 155 "../src/h264bsd_transform.c"
 var $168=$d3; //@line 156 "../src/h264bsd_transform.c"
 var $169=$tmp2; //@line 156 "../src/h264bsd_transform.c"
 var $170=(Math_imul($168,$169)|0); //@line 156 "../src/h264bsd_transform.c"
 var $171=$2; //@line 156 "../src/h264bsd_transform.c"
 var $172=(($171+44)|0); //@line 156 "../src/h264bsd_transform.c"
 HEAP32[(($172)>>2)]=$170; //@line 156 "../src/h264bsd_transform.c"
 $row=4; //@line 159 "../src/h264bsd_transform.c"
 var $173=$2; //@line 159 "../src/h264bsd_transform.c"
 $ptr=$173; //@line 159 "../src/h264bsd_transform.c"
 label=5;break; //@line 159 "../src/h264bsd_transform.c"
 case 5: 
 var $175=$row; //@line 159 "../src/h264bsd_transform.c"
 var $176=((($175)-(1))|0); //@line 159 "../src/h264bsd_transform.c"
 $row=$176; //@line 159 "../src/h264bsd_transform.c"
 var $177=($175|0)!=0; //@line 159 "../src/h264bsd_transform.c"
 if($177){label=6;break;}else{label=8;break;} //@line 159 "../src/h264bsd_transform.c"
 case 6: 
 var $179=$ptr; //@line 161 "../src/h264bsd_transform.c"
 var $180=(($179)|0); //@line 161 "../src/h264bsd_transform.c"
 var $181=HEAP32[(($180)>>2)]; //@line 161 "../src/h264bsd_transform.c"
 var $182=$ptr; //@line 161 "../src/h264bsd_transform.c"
 var $183=(($182+8)|0); //@line 161 "../src/h264bsd_transform.c"
 var $184=HEAP32[(($183)>>2)]; //@line 161 "../src/h264bsd_transform.c"
 var $185=((($181)+($184))|0); //@line 161 "../src/h264bsd_transform.c"
 $tmp0=$185; //@line 161 "../src/h264bsd_transform.c"
 var $186=$ptr; //@line 162 "../src/h264bsd_transform.c"
 var $187=(($186)|0); //@line 162 "../src/h264bsd_transform.c"
 var $188=HEAP32[(($187)>>2)]; //@line 162 "../src/h264bsd_transform.c"
 var $189=$ptr; //@line 162 "../src/h264bsd_transform.c"
 var $190=(($189+8)|0); //@line 162 "../src/h264bsd_transform.c"
 var $191=HEAP32[(($190)>>2)]; //@line 162 "../src/h264bsd_transform.c"
 var $192=((($188)-($191))|0); //@line 162 "../src/h264bsd_transform.c"
 $tmp1=$192; //@line 162 "../src/h264bsd_transform.c"
 var $193=$ptr; //@line 163 "../src/h264bsd_transform.c"
 var $194=(($193+4)|0); //@line 163 "../src/h264bsd_transform.c"
 var $195=HEAP32[(($194)>>2)]; //@line 163 "../src/h264bsd_transform.c"
 var $196=$195>>1; //@line 163 "../src/h264bsd_transform.c"
 var $197=$ptr; //@line 163 "../src/h264bsd_transform.c"
 var $198=(($197+12)|0); //@line 163 "../src/h264bsd_transform.c"
 var $199=HEAP32[(($198)>>2)]; //@line 163 "../src/h264bsd_transform.c"
 var $200=((($196)-($199))|0); //@line 163 "../src/h264bsd_transform.c"
 $tmp2=$200; //@line 163 "../src/h264bsd_transform.c"
 var $201=$ptr; //@line 164 "../src/h264bsd_transform.c"
 var $202=(($201+4)|0); //@line 164 "../src/h264bsd_transform.c"
 var $203=HEAP32[(($202)>>2)]; //@line 164 "../src/h264bsd_transform.c"
 var $204=$ptr; //@line 164 "../src/h264bsd_transform.c"
 var $205=(($204+12)|0); //@line 164 "../src/h264bsd_transform.c"
 var $206=HEAP32[(($205)>>2)]; //@line 164 "../src/h264bsd_transform.c"
 var $207=$206>>1; //@line 164 "../src/h264bsd_transform.c"
 var $208=((($203)+($207))|0); //@line 164 "../src/h264bsd_transform.c"
 $tmp3=$208; //@line 164 "../src/h264bsd_transform.c"
 var $209=$tmp0; //@line 165 "../src/h264bsd_transform.c"
 var $210=$tmp3; //@line 165 "../src/h264bsd_transform.c"
 var $211=((($209)+($210))|0); //@line 165 "../src/h264bsd_transform.c"
 var $212=$ptr; //@line 165 "../src/h264bsd_transform.c"
 var $213=(($212)|0); //@line 165 "../src/h264bsd_transform.c"
 HEAP32[(($213)>>2)]=$211; //@line 165 "../src/h264bsd_transform.c"
 var $214=$tmp1; //@line 166 "../src/h264bsd_transform.c"
 var $215=$tmp2; //@line 166 "../src/h264bsd_transform.c"
 var $216=((($214)+($215))|0); //@line 166 "../src/h264bsd_transform.c"
 var $217=$ptr; //@line 166 "../src/h264bsd_transform.c"
 var $218=(($217+4)|0); //@line 166 "../src/h264bsd_transform.c"
 HEAP32[(($218)>>2)]=$216; //@line 166 "../src/h264bsd_transform.c"
 var $219=$tmp1; //@line 167 "../src/h264bsd_transform.c"
 var $220=$tmp2; //@line 167 "../src/h264bsd_transform.c"
 var $221=((($219)-($220))|0); //@line 167 "../src/h264bsd_transform.c"
 var $222=$ptr; //@line 167 "../src/h264bsd_transform.c"
 var $223=(($222+8)|0); //@line 167 "../src/h264bsd_transform.c"
 HEAP32[(($223)>>2)]=$221; //@line 167 "../src/h264bsd_transform.c"
 var $224=$tmp0; //@line 168 "../src/h264bsd_transform.c"
 var $225=$tmp3; //@line 168 "../src/h264bsd_transform.c"
 var $226=((($224)-($225))|0); //@line 168 "../src/h264bsd_transform.c"
 var $227=$ptr; //@line 168 "../src/h264bsd_transform.c"
 var $228=(($227+12)|0); //@line 168 "../src/h264bsd_transform.c"
 HEAP32[(($228)>>2)]=$226; //@line 168 "../src/h264bsd_transform.c"
 label=7;break; //@line 169 "../src/h264bsd_transform.c"
 case 7: 
 var $230=$ptr; //@line 159 "../src/h264bsd_transform.c"
 var $231=(($230+16)|0); //@line 159 "../src/h264bsd_transform.c"
 $ptr=$231; //@line 159 "../src/h264bsd_transform.c"
 label=5;break; //@line 159 "../src/h264bsd_transform.c"
 case 8: 
 $col=4; //@line 173 "../src/h264bsd_transform.c"
 label=9;break; //@line 173 "../src/h264bsd_transform.c"
 case 9: 
 var $234=$col; //@line 173 "../src/h264bsd_transform.c"
 var $235=((($234)-(1))|0); //@line 173 "../src/h264bsd_transform.c"
 $col=$235; //@line 173 "../src/h264bsd_transform.c"
 var $236=($234|0)!=0; //@line 173 "../src/h264bsd_transform.c"
 if($236){label=10;break;}else{label=17;break;} //@line 173 "../src/h264bsd_transform.c"
 case 10: 
 var $238=$2; //@line 175 "../src/h264bsd_transform.c"
 var $239=(($238)|0); //@line 175 "../src/h264bsd_transform.c"
 var $240=HEAP32[(($239)>>2)]; //@line 175 "../src/h264bsd_transform.c"
 var $241=$2; //@line 175 "../src/h264bsd_transform.c"
 var $242=(($241+32)|0); //@line 175 "../src/h264bsd_transform.c"
 var $243=HEAP32[(($242)>>2)]; //@line 175 "../src/h264bsd_transform.c"
 var $244=((($240)+($243))|0); //@line 175 "../src/h264bsd_transform.c"
 $tmp0=$244; //@line 175 "../src/h264bsd_transform.c"
 var $245=$2; //@line 176 "../src/h264bsd_transform.c"
 var $246=(($245)|0); //@line 176 "../src/h264bsd_transform.c"
 var $247=HEAP32[(($246)>>2)]; //@line 176 "../src/h264bsd_transform.c"
 var $248=$2; //@line 176 "../src/h264bsd_transform.c"
 var $249=(($248+32)|0); //@line 176 "../src/h264bsd_transform.c"
 var $250=HEAP32[(($249)>>2)]; //@line 176 "../src/h264bsd_transform.c"
 var $251=((($247)-($250))|0); //@line 176 "../src/h264bsd_transform.c"
 $tmp1=$251; //@line 176 "../src/h264bsd_transform.c"
 var $252=$2; //@line 177 "../src/h264bsd_transform.c"
 var $253=(($252+16)|0); //@line 177 "../src/h264bsd_transform.c"
 var $254=HEAP32[(($253)>>2)]; //@line 177 "../src/h264bsd_transform.c"
 var $255=$254>>1; //@line 177 "../src/h264bsd_transform.c"
 var $256=$2; //@line 177 "../src/h264bsd_transform.c"
 var $257=(($256+48)|0); //@line 177 "../src/h264bsd_transform.c"
 var $258=HEAP32[(($257)>>2)]; //@line 177 "../src/h264bsd_transform.c"
 var $259=((($255)-($258))|0); //@line 177 "../src/h264bsd_transform.c"
 $tmp2=$259; //@line 177 "../src/h264bsd_transform.c"
 var $260=$2; //@line 178 "../src/h264bsd_transform.c"
 var $261=(($260+16)|0); //@line 178 "../src/h264bsd_transform.c"
 var $262=HEAP32[(($261)>>2)]; //@line 178 "../src/h264bsd_transform.c"
 var $263=$2; //@line 178 "../src/h264bsd_transform.c"
 var $264=(($263+48)|0); //@line 178 "../src/h264bsd_transform.c"
 var $265=HEAP32[(($264)>>2)]; //@line 178 "../src/h264bsd_transform.c"
 var $266=$265>>1; //@line 178 "../src/h264bsd_transform.c"
 var $267=((($262)+($266))|0); //@line 178 "../src/h264bsd_transform.c"
 $tmp3=$267; //@line 178 "../src/h264bsd_transform.c"
 var $268=$tmp0; //@line 179 "../src/h264bsd_transform.c"
 var $269=$tmp3; //@line 179 "../src/h264bsd_transform.c"
 var $270=((($268)+($269))|0); //@line 179 "../src/h264bsd_transform.c"
 var $271=((($270)+(32))|0); //@line 179 "../src/h264bsd_transform.c"
 var $272=$271>>6; //@line 179 "../src/h264bsd_transform.c"
 var $273=$2; //@line 179 "../src/h264bsd_transform.c"
 var $274=(($273)|0); //@line 179 "../src/h264bsd_transform.c"
 HEAP32[(($274)>>2)]=$272; //@line 179 "../src/h264bsd_transform.c"
 var $275=$tmp1; //@line 180 "../src/h264bsd_transform.c"
 var $276=$tmp2; //@line 180 "../src/h264bsd_transform.c"
 var $277=((($275)+($276))|0); //@line 180 "../src/h264bsd_transform.c"
 var $278=((($277)+(32))|0); //@line 180 "../src/h264bsd_transform.c"
 var $279=$278>>6; //@line 180 "../src/h264bsd_transform.c"
 var $280=$2; //@line 180 "../src/h264bsd_transform.c"
 var $281=(($280+16)|0); //@line 180 "../src/h264bsd_transform.c"
 HEAP32[(($281)>>2)]=$279; //@line 180 "../src/h264bsd_transform.c"
 var $282=$tmp1; //@line 181 "../src/h264bsd_transform.c"
 var $283=$tmp2; //@line 181 "../src/h264bsd_transform.c"
 var $284=((($282)-($283))|0); //@line 181 "../src/h264bsd_transform.c"
 var $285=((($284)+(32))|0); //@line 181 "../src/h264bsd_transform.c"
 var $286=$285>>6; //@line 181 "../src/h264bsd_transform.c"
 var $287=$2; //@line 181 "../src/h264bsd_transform.c"
 var $288=(($287+32)|0); //@line 181 "../src/h264bsd_transform.c"
 HEAP32[(($288)>>2)]=$286; //@line 181 "../src/h264bsd_transform.c"
 var $289=$tmp0; //@line 182 "../src/h264bsd_transform.c"
 var $290=$tmp3; //@line 182 "../src/h264bsd_transform.c"
 var $291=((($289)-($290))|0); //@line 182 "../src/h264bsd_transform.c"
 var $292=((($291)+(32))|0); //@line 182 "../src/h264bsd_transform.c"
 var $293=$292>>6; //@line 182 "../src/h264bsd_transform.c"
 var $294=$2; //@line 182 "../src/h264bsd_transform.c"
 var $295=(($294+48)|0); //@line 182 "../src/h264bsd_transform.c"
 HEAP32[(($295)>>2)]=$293; //@line 182 "../src/h264bsd_transform.c"
 var $296=$2; //@line 184 "../src/h264bsd_transform.c"
 var $297=(($296)|0); //@line 184 "../src/h264bsd_transform.c"
 var $298=HEAP32[(($297)>>2)]; //@line 184 "../src/h264bsd_transform.c"
 var $299=((($298)+(512))|0); //@line 184 "../src/h264bsd_transform.c"
 var $300=($299>>>0)>1023; //@line 184 "../src/h264bsd_transform.c"
 if($300){label=14;break;}else{label=11;break;} //@line 184 "../src/h264bsd_transform.c"
 case 11: 
 var $302=$2; //@line 184 "../src/h264bsd_transform.c"
 var $303=(($302+16)|0); //@line 184 "../src/h264bsd_transform.c"
 var $304=HEAP32[(($303)>>2)]; //@line 184 "../src/h264bsd_transform.c"
 var $305=((($304)+(512))|0); //@line 184 "../src/h264bsd_transform.c"
 var $306=($305>>>0)>1023; //@line 184 "../src/h264bsd_transform.c"
 if($306){label=14;break;}else{label=12;break;} //@line 184 "../src/h264bsd_transform.c"
 case 12: 
 var $308=$2; //@line 184 "../src/h264bsd_transform.c"
 var $309=(($308+32)|0); //@line 184 "../src/h264bsd_transform.c"
 var $310=HEAP32[(($309)>>2)]; //@line 184 "../src/h264bsd_transform.c"
 var $311=((($310)+(512))|0); //@line 184 "../src/h264bsd_transform.c"
 var $312=($311>>>0)>1023; //@line 184 "../src/h264bsd_transform.c"
 if($312){label=14;break;}else{label=13;break;} //@line 184 "../src/h264bsd_transform.c"
 case 13: 
 var $314=$2; //@line 184 "../src/h264bsd_transform.c"
 var $315=(($314+48)|0); //@line 184 "../src/h264bsd_transform.c"
 var $316=HEAP32[(($315)>>2)]; //@line 184 "../src/h264bsd_transform.c"
 var $317=((($316)+(512))|0); //@line 184 "../src/h264bsd_transform.c"
 var $318=($317>>>0)>1023; //@line 184 "../src/h264bsd_transform.c"
 if($318){label=14;break;}else{label=15;break;} //@line 184 "../src/h264bsd_transform.c"
 case 14: 
 $1=1; //@line 188 "../src/h264bsd_transform.c"
 label=30;break; //@line 188 "../src/h264bsd_transform.c"
 case 15: 
 label=16;break; //@line 189 "../src/h264bsd_transform.c"
 case 16: 
 var $322=$2; //@line 173 "../src/h264bsd_transform.c"
 var $323=(($322+4)|0); //@line 173 "../src/h264bsd_transform.c"
 $2=$323; //@line 173 "../src/h264bsd_transform.c"
 label=9;break; //@line 173 "../src/h264bsd_transform.c"
 case 17: 
 label=29;break; //@line 190 "../src/h264bsd_transform.c"
 case 18: 
 var $326=$5; //@line 195 "../src/h264bsd_transform.c"
 var $327=$326&98; //@line 195 "../src/h264bsd_transform.c"
 var $328=($327|0)==0; //@line 195 "../src/h264bsd_transform.c"
 if($328){label=19;break;}else{label=22;break;} //@line 195 "../src/h264bsd_transform.c"
 case 19: 
 var $330=$2; //@line 197 "../src/h264bsd_transform.c"
 var $331=(($330)|0); //@line 197 "../src/h264bsd_transform.c"
 var $332=HEAP32[(($331)>>2)]; //@line 197 "../src/h264bsd_transform.c"
 var $333=((($332)+(32))|0); //@line 197 "../src/h264bsd_transform.c"
 var $334=$333>>6; //@line 197 "../src/h264bsd_transform.c"
 $tmp0=$334; //@line 197 "../src/h264bsd_transform.c"
 var $335=$tmp0; //@line 199 "../src/h264bsd_transform.c"
 var $336=((($335)+(512))|0); //@line 199 "../src/h264bsd_transform.c"
 var $337=($336>>>0)>1023; //@line 199 "../src/h264bsd_transform.c"
 if($337){label=20;break;}else{label=21;break;} //@line 199 "../src/h264bsd_transform.c"
 case 20: 
 $1=1; //@line 200 "../src/h264bsd_transform.c"
 label=30;break; //@line 200 "../src/h264bsd_transform.c"
 case 21: 
 var $340=$tmp0; //@line 201 "../src/h264bsd_transform.c"
 var $341=$2; //@line 201 "../src/h264bsd_transform.c"
 var $342=(($341+60)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($342)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $343=$2; //@line 201 "../src/h264bsd_transform.c"
 var $344=(($343+56)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($344)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $345=$2; //@line 201 "../src/h264bsd_transform.c"
 var $346=(($345+52)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($346)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $347=$2; //@line 201 "../src/h264bsd_transform.c"
 var $348=(($347+48)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($348)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $349=$2; //@line 201 "../src/h264bsd_transform.c"
 var $350=(($349+44)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($350)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $351=$2; //@line 201 "../src/h264bsd_transform.c"
 var $352=(($351+40)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($352)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $353=$2; //@line 201 "../src/h264bsd_transform.c"
 var $354=(($353+36)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($354)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $355=$2; //@line 201 "../src/h264bsd_transform.c"
 var $356=(($355+32)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($356)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $357=$2; //@line 201 "../src/h264bsd_transform.c"
 var $358=(($357+28)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($358)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $359=$2; //@line 201 "../src/h264bsd_transform.c"
 var $360=(($359+24)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($360)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $361=$2; //@line 201 "../src/h264bsd_transform.c"
 var $362=(($361+20)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($362)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $363=$2; //@line 201 "../src/h264bsd_transform.c"
 var $364=(($363+16)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($364)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $365=$2; //@line 201 "../src/h264bsd_transform.c"
 var $366=(($365+12)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($366)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $367=$2; //@line 201 "../src/h264bsd_transform.c"
 var $368=(($367+8)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($368)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $369=$2; //@line 201 "../src/h264bsd_transform.c"
 var $370=(($369+4)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($370)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 var $371=$2; //@line 201 "../src/h264bsd_transform.c"
 var $372=(($371)|0); //@line 201 "../src/h264bsd_transform.c"
 HEAP32[(($372)>>2)]=$340; //@line 201 "../src/h264bsd_transform.c"
 label=28;break; //@line 205 "../src/h264bsd_transform.c"
 case 22: 
 var $374=$2; //@line 208 "../src/h264bsd_transform.c"
 var $375=(($374+4)|0); //@line 208 "../src/h264bsd_transform.c"
 var $376=HEAP32[(($375)>>2)]; //@line 208 "../src/h264bsd_transform.c"
 var $377=$tmp2; //@line 208 "../src/h264bsd_transform.c"
 var $378=(Math_imul($376,$377)|0); //@line 208 "../src/h264bsd_transform.c"
 var $379=$2; //@line 208 "../src/h264bsd_transform.c"
 var $380=(($379+4)|0); //@line 208 "../src/h264bsd_transform.c"
 HEAP32[(($380)>>2)]=$378; //@line 208 "../src/h264bsd_transform.c"
 var $381=$2; //@line 209 "../src/h264bsd_transform.c"
 var $382=(($381+20)|0); //@line 209 "../src/h264bsd_transform.c"
 var $383=HEAP32[(($382)>>2)]; //@line 209 "../src/h264bsd_transform.c"
 var $384=$tmp1; //@line 209 "../src/h264bsd_transform.c"
 var $385=(Math_imul($383,$384)|0); //@line 209 "../src/h264bsd_transform.c"
 var $386=$2; //@line 209 "../src/h264bsd_transform.c"
 var $387=(($386+8)|0); //@line 209 "../src/h264bsd_transform.c"
 HEAP32[(($387)>>2)]=$385; //@line 209 "../src/h264bsd_transform.c"
 var $388=$2; //@line 210 "../src/h264bsd_transform.c"
 var $389=(($388+24)|0); //@line 210 "../src/h264bsd_transform.c"
 var $390=HEAP32[(($389)>>2)]; //@line 210 "../src/h264bsd_transform.c"
 var $391=$tmp2; //@line 210 "../src/h264bsd_transform.c"
 var $392=(Math_imul($390,$391)|0); //@line 210 "../src/h264bsd_transform.c"
 var $393=$2; //@line 210 "../src/h264bsd_transform.c"
 var $394=(($393+12)|0); //@line 210 "../src/h264bsd_transform.c"
 HEAP32[(($394)>>2)]=$392; //@line 210 "../src/h264bsd_transform.c"
 var $395=$2; //@line 211 "../src/h264bsd_transform.c"
 var $396=(($395)|0); //@line 211 "../src/h264bsd_transform.c"
 var $397=HEAP32[(($396)>>2)]; //@line 211 "../src/h264bsd_transform.c"
 var $398=$2; //@line 211 "../src/h264bsd_transform.c"
 var $399=(($398+8)|0); //@line 211 "../src/h264bsd_transform.c"
 var $400=HEAP32[(($399)>>2)]; //@line 211 "../src/h264bsd_transform.c"
 var $401=((($397)+($400))|0); //@line 211 "../src/h264bsd_transform.c"
 $tmp0=$401; //@line 211 "../src/h264bsd_transform.c"
 var $402=$2; //@line 212 "../src/h264bsd_transform.c"
 var $403=(($402)|0); //@line 212 "../src/h264bsd_transform.c"
 var $404=HEAP32[(($403)>>2)]; //@line 212 "../src/h264bsd_transform.c"
 var $405=$2; //@line 212 "../src/h264bsd_transform.c"
 var $406=(($405+8)|0); //@line 212 "../src/h264bsd_transform.c"
 var $407=HEAP32[(($406)>>2)]; //@line 212 "../src/h264bsd_transform.c"
 var $408=((($404)-($407))|0); //@line 212 "../src/h264bsd_transform.c"
 $tmp1=$408; //@line 212 "../src/h264bsd_transform.c"
 var $409=$2; //@line 213 "../src/h264bsd_transform.c"
 var $410=(($409+4)|0); //@line 213 "../src/h264bsd_transform.c"
 var $411=HEAP32[(($410)>>2)]; //@line 213 "../src/h264bsd_transform.c"
 var $412=$411>>1; //@line 213 "../src/h264bsd_transform.c"
 var $413=$2; //@line 213 "../src/h264bsd_transform.c"
 var $414=(($413+12)|0); //@line 213 "../src/h264bsd_transform.c"
 var $415=HEAP32[(($414)>>2)]; //@line 213 "../src/h264bsd_transform.c"
 var $416=((($412)-($415))|0); //@line 213 "../src/h264bsd_transform.c"
 $tmp2=$416; //@line 213 "../src/h264bsd_transform.c"
 var $417=$2; //@line 214 "../src/h264bsd_transform.c"
 var $418=(($417+4)|0); //@line 214 "../src/h264bsd_transform.c"
 var $419=HEAP32[(($418)>>2)]; //@line 214 "../src/h264bsd_transform.c"
 var $420=$2; //@line 214 "../src/h264bsd_transform.c"
 var $421=(($420+12)|0); //@line 214 "../src/h264bsd_transform.c"
 var $422=HEAP32[(($421)>>2)]; //@line 214 "../src/h264bsd_transform.c"
 var $423=$422>>1; //@line 214 "../src/h264bsd_transform.c"
 var $424=((($419)+($423))|0); //@line 214 "../src/h264bsd_transform.c"
 $tmp3=$424; //@line 214 "../src/h264bsd_transform.c"
 var $425=$tmp0; //@line 215 "../src/h264bsd_transform.c"
 var $426=$tmp3; //@line 215 "../src/h264bsd_transform.c"
 var $427=((($425)+($426))|0); //@line 215 "../src/h264bsd_transform.c"
 var $428=((($427)+(32))|0); //@line 215 "../src/h264bsd_transform.c"
 var $429=$428>>6; //@line 215 "../src/h264bsd_transform.c"
 var $430=$2; //@line 215 "../src/h264bsd_transform.c"
 var $431=(($430)|0); //@line 215 "../src/h264bsd_transform.c"
 HEAP32[(($431)>>2)]=$429; //@line 215 "../src/h264bsd_transform.c"
 var $432=$tmp1; //@line 216 "../src/h264bsd_transform.c"
 var $433=$tmp2; //@line 216 "../src/h264bsd_transform.c"
 var $434=((($432)+($433))|0); //@line 216 "../src/h264bsd_transform.c"
 var $435=((($434)+(32))|0); //@line 216 "../src/h264bsd_transform.c"
 var $436=$435>>6; //@line 216 "../src/h264bsd_transform.c"
 var $437=$2; //@line 216 "../src/h264bsd_transform.c"
 var $438=(($437+4)|0); //@line 216 "../src/h264bsd_transform.c"
 HEAP32[(($438)>>2)]=$436; //@line 216 "../src/h264bsd_transform.c"
 var $439=$tmp1; //@line 217 "../src/h264bsd_transform.c"
 var $440=$tmp2; //@line 217 "../src/h264bsd_transform.c"
 var $441=((($439)-($440))|0); //@line 217 "../src/h264bsd_transform.c"
 var $442=((($441)+(32))|0); //@line 217 "../src/h264bsd_transform.c"
 var $443=$442>>6; //@line 217 "../src/h264bsd_transform.c"
 var $444=$2; //@line 217 "../src/h264bsd_transform.c"
 var $445=(($444+8)|0); //@line 217 "../src/h264bsd_transform.c"
 HEAP32[(($445)>>2)]=$443; //@line 217 "../src/h264bsd_transform.c"
 var $446=$tmp0; //@line 218 "../src/h264bsd_transform.c"
 var $447=$tmp3; //@line 218 "../src/h264bsd_transform.c"
 var $448=((($446)-($447))|0); //@line 218 "../src/h264bsd_transform.c"
 var $449=((($448)+(32))|0); //@line 218 "../src/h264bsd_transform.c"
 var $450=$449>>6; //@line 218 "../src/h264bsd_transform.c"
 var $451=$2; //@line 218 "../src/h264bsd_transform.c"
 var $452=(($451+12)|0); //@line 218 "../src/h264bsd_transform.c"
 HEAP32[(($452)>>2)]=$450; //@line 218 "../src/h264bsd_transform.c"
 var $453=$2; //@line 219 "../src/h264bsd_transform.c"
 var $454=(($453)|0); //@line 219 "../src/h264bsd_transform.c"
 var $455=HEAP32[(($454)>>2)]; //@line 219 "../src/h264bsd_transform.c"
 var $456=$2; //@line 219 "../src/h264bsd_transform.c"
 var $457=(($456+48)|0); //@line 219 "../src/h264bsd_transform.c"
 HEAP32[(($457)>>2)]=$455; //@line 219 "../src/h264bsd_transform.c"
 var $458=$2; //@line 219 "../src/h264bsd_transform.c"
 var $459=(($458+32)|0); //@line 219 "../src/h264bsd_transform.c"
 HEAP32[(($459)>>2)]=$455; //@line 219 "../src/h264bsd_transform.c"
 var $460=$2; //@line 219 "../src/h264bsd_transform.c"
 var $461=(($460+16)|0); //@line 219 "../src/h264bsd_transform.c"
 HEAP32[(($461)>>2)]=$455; //@line 219 "../src/h264bsd_transform.c"
 var $462=$2; //@line 220 "../src/h264bsd_transform.c"
 var $463=(($462+4)|0); //@line 220 "../src/h264bsd_transform.c"
 var $464=HEAP32[(($463)>>2)]; //@line 220 "../src/h264bsd_transform.c"
 var $465=$2; //@line 220 "../src/h264bsd_transform.c"
 var $466=(($465+52)|0); //@line 220 "../src/h264bsd_transform.c"
 HEAP32[(($466)>>2)]=$464; //@line 220 "../src/h264bsd_transform.c"
 var $467=$2; //@line 220 "../src/h264bsd_transform.c"
 var $468=(($467+36)|0); //@line 220 "../src/h264bsd_transform.c"
 HEAP32[(($468)>>2)]=$464; //@line 220 "../src/h264bsd_transform.c"
 var $469=$2; //@line 220 "../src/h264bsd_transform.c"
 var $470=(($469+20)|0); //@line 220 "../src/h264bsd_transform.c"
 HEAP32[(($470)>>2)]=$464; //@line 220 "../src/h264bsd_transform.c"
 var $471=$2; //@line 221 "../src/h264bsd_transform.c"
 var $472=(($471+8)|0); //@line 221 "../src/h264bsd_transform.c"
 var $473=HEAP32[(($472)>>2)]; //@line 221 "../src/h264bsd_transform.c"
 var $474=$2; //@line 221 "../src/h264bsd_transform.c"
 var $475=(($474+56)|0); //@line 221 "../src/h264bsd_transform.c"
 HEAP32[(($475)>>2)]=$473; //@line 221 "../src/h264bsd_transform.c"
 var $476=$2; //@line 221 "../src/h264bsd_transform.c"
 var $477=(($476+40)|0); //@line 221 "../src/h264bsd_transform.c"
 HEAP32[(($477)>>2)]=$473; //@line 221 "../src/h264bsd_transform.c"
 var $478=$2; //@line 221 "../src/h264bsd_transform.c"
 var $479=(($478+24)|0); //@line 221 "../src/h264bsd_transform.c"
 HEAP32[(($479)>>2)]=$473; //@line 221 "../src/h264bsd_transform.c"
 var $480=$2; //@line 222 "../src/h264bsd_transform.c"
 var $481=(($480+12)|0); //@line 222 "../src/h264bsd_transform.c"
 var $482=HEAP32[(($481)>>2)]; //@line 222 "../src/h264bsd_transform.c"
 var $483=$2; //@line 222 "../src/h264bsd_transform.c"
 var $484=(($483+60)|0); //@line 222 "../src/h264bsd_transform.c"
 HEAP32[(($484)>>2)]=$482; //@line 222 "../src/h264bsd_transform.c"
 var $485=$2; //@line 222 "../src/h264bsd_transform.c"
 var $486=(($485+44)|0); //@line 222 "../src/h264bsd_transform.c"
 HEAP32[(($486)>>2)]=$482; //@line 222 "../src/h264bsd_transform.c"
 var $487=$2; //@line 222 "../src/h264bsd_transform.c"
 var $488=(($487+28)|0); //@line 222 "../src/h264bsd_transform.c"
 HEAP32[(($488)>>2)]=$482; //@line 222 "../src/h264bsd_transform.c"
 var $489=$2; //@line 224 "../src/h264bsd_transform.c"
 var $490=(($489)|0); //@line 224 "../src/h264bsd_transform.c"
 var $491=HEAP32[(($490)>>2)]; //@line 224 "../src/h264bsd_transform.c"
 var $492=((($491)+(512))|0); //@line 224 "../src/h264bsd_transform.c"
 var $493=($492>>>0)>1023; //@line 224 "../src/h264bsd_transform.c"
 if($493){label=26;break;}else{label=23;break;} //@line 224 "../src/h264bsd_transform.c"
 case 23: 
 var $495=$2; //@line 224 "../src/h264bsd_transform.c"
 var $496=(($495+4)|0); //@line 224 "../src/h264bsd_transform.c"
 var $497=HEAP32[(($496)>>2)]; //@line 224 "../src/h264bsd_transform.c"
 var $498=((($497)+(512))|0); //@line 224 "../src/h264bsd_transform.c"
 var $499=($498>>>0)>1023; //@line 224 "../src/h264bsd_transform.c"
 if($499){label=26;break;}else{label=24;break;} //@line 224 "../src/h264bsd_transform.c"
 case 24: 
 var $501=$2; //@line 224 "../src/h264bsd_transform.c"
 var $502=(($501+8)|0); //@line 224 "../src/h264bsd_transform.c"
 var $503=HEAP32[(($502)>>2)]; //@line 224 "../src/h264bsd_transform.c"
 var $504=((($503)+(512))|0); //@line 224 "../src/h264bsd_transform.c"
 var $505=($504>>>0)>1023; //@line 224 "../src/h264bsd_transform.c"
 if($505){label=26;break;}else{label=25;break;} //@line 224 "../src/h264bsd_transform.c"
 case 25: 
 var $507=$2; //@line 224 "../src/h264bsd_transform.c"
 var $508=(($507+12)|0); //@line 224 "../src/h264bsd_transform.c"
 var $509=HEAP32[(($508)>>2)]; //@line 224 "../src/h264bsd_transform.c"
 var $510=((($509)+(512))|0); //@line 224 "../src/h264bsd_transform.c"
 var $511=($510>>>0)>1023; //@line 224 "../src/h264bsd_transform.c"
 if($511){label=26;break;}else{label=27;break;} //@line 224 "../src/h264bsd_transform.c"
 case 26: 
 $1=1; //@line 228 "../src/h264bsd_transform.c"
 label=30;break; //@line 228 "../src/h264bsd_transform.c"
 case 27: 
 label=28;break;
 case 28: 
 label=29;break;
 case 29: 
 $1=0; //@line 232 "../src/h264bsd_transform.c"
 label=30;break; //@line 232 "../src/h264bsd_transform.c"
 case 30: 
 var $517=$1; //@line 234 "../src/h264bsd_transform.c"
 STACKTOP=sp;return $517; //@line 234 "../src/h264bsd_transform.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdProcessLumaDc($data,$qp){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $tmp0;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $row;
 var $col;
 var $qpMod;
 var $qpDiv;
 var $levScale;
 var $ptr;
 var $tmp;
 $1=$data;
 $2=$qp;
 var $3=$2; //@line 268 "../src/h264bsd_transform.c"
 var $4=((840+$3)|0); //@line 268 "../src/h264bsd_transform.c"
 var $5=HEAP8[($4)]; //@line 268 "../src/h264bsd_transform.c"
 var $6=($5&255); //@line 268 "../src/h264bsd_transform.c"
 $qpMod=$6; //@line 268 "../src/h264bsd_transform.c"
 var $7=$2; //@line 269 "../src/h264bsd_transform.c"
 var $8=((896+$7)|0); //@line 269 "../src/h264bsd_transform.c"
 var $9=HEAP8[($8)]; //@line 269 "../src/h264bsd_transform.c"
 var $10=($9&255); //@line 269 "../src/h264bsd_transform.c"
 $qpDiv=$10; //@line 269 "../src/h264bsd_transform.c"
 var $11=$1; //@line 272 "../src/h264bsd_transform.c"
 var $12=(($11+8)|0); //@line 272 "../src/h264bsd_transform.c"
 var $13=HEAP32[(($12)>>2)]; //@line 272 "../src/h264bsd_transform.c"
 $tmp0=$13; //@line 272 "../src/h264bsd_transform.c"
 var $14=$1; //@line 273 "../src/h264bsd_transform.c"
 var $15=(($14+20)|0); //@line 273 "../src/h264bsd_transform.c"
 var $16=HEAP32[(($15)>>2)]; //@line 273 "../src/h264bsd_transform.c"
 var $17=$1; //@line 273 "../src/h264bsd_transform.c"
 var $18=(($17+8)|0); //@line 273 "../src/h264bsd_transform.c"
 HEAP32[(($18)>>2)]=$16; //@line 273 "../src/h264bsd_transform.c"
 var $19=$1; //@line 274 "../src/h264bsd_transform.c"
 var $20=(($19+16)|0); //@line 274 "../src/h264bsd_transform.c"
 var $21=HEAP32[(($20)>>2)]; //@line 274 "../src/h264bsd_transform.c"
 var $22=$1; //@line 274 "../src/h264bsd_transform.c"
 var $23=(($22+20)|0); //@line 274 "../src/h264bsd_transform.c"
 HEAP32[(($23)>>2)]=$21; //@line 274 "../src/h264bsd_transform.c"
 var $24=$tmp0; //@line 275 "../src/h264bsd_transform.c"
 var $25=$1; //@line 275 "../src/h264bsd_transform.c"
 var $26=(($25+16)|0); //@line 275 "../src/h264bsd_transform.c"
 HEAP32[(($26)>>2)]=$24; //@line 275 "../src/h264bsd_transform.c"
 var $27=$1; //@line 277 "../src/h264bsd_transform.c"
 var $28=(($27+32)|0); //@line 277 "../src/h264bsd_transform.c"
 var $29=HEAP32[(($28)>>2)]; //@line 277 "../src/h264bsd_transform.c"
 $tmp0=$29; //@line 277 "../src/h264bsd_transform.c"
 var $30=$1; //@line 278 "../src/h264bsd_transform.c"
 var $31=(($30+12)|0); //@line 278 "../src/h264bsd_transform.c"
 var $32=HEAP32[(($31)>>2)]; //@line 278 "../src/h264bsd_transform.c"
 var $33=$1; //@line 278 "../src/h264bsd_transform.c"
 var $34=(($33+32)|0); //@line 278 "../src/h264bsd_transform.c"
 HEAP32[(($34)>>2)]=$32; //@line 278 "../src/h264bsd_transform.c"
 var $35=$1; //@line 279 "../src/h264bsd_transform.c"
 var $36=(($35+24)|0); //@line 279 "../src/h264bsd_transform.c"
 var $37=HEAP32[(($36)>>2)]; //@line 279 "../src/h264bsd_transform.c"
 var $38=$1; //@line 279 "../src/h264bsd_transform.c"
 var $39=(($38+12)|0); //@line 279 "../src/h264bsd_transform.c"
 HEAP32[(($39)>>2)]=$37; //@line 279 "../src/h264bsd_transform.c"
 var $40=$1; //@line 280 "../src/h264bsd_transform.c"
 var $41=(($40+28)|0); //@line 280 "../src/h264bsd_transform.c"
 var $42=HEAP32[(($41)>>2)]; //@line 280 "../src/h264bsd_transform.c"
 var $43=$1; //@line 280 "../src/h264bsd_transform.c"
 var $44=(($43+24)|0); //@line 280 "../src/h264bsd_transform.c"
 HEAP32[(($44)>>2)]=$42; //@line 280 "../src/h264bsd_transform.c"
 var $45=$1; //@line 281 "../src/h264bsd_transform.c"
 var $46=(($45+48)|0); //@line 281 "../src/h264bsd_transform.c"
 var $47=HEAP32[(($46)>>2)]; //@line 281 "../src/h264bsd_transform.c"
 var $48=$1; //@line 281 "../src/h264bsd_transform.c"
 var $49=(($48+28)|0); //@line 281 "../src/h264bsd_transform.c"
 HEAP32[(($49)>>2)]=$47; //@line 281 "../src/h264bsd_transform.c"
 var $50=$1; //@line 282 "../src/h264bsd_transform.c"
 var $51=(($50+36)|0); //@line 282 "../src/h264bsd_transform.c"
 var $52=HEAP32[(($51)>>2)]; //@line 282 "../src/h264bsd_transform.c"
 var $53=$1; //@line 282 "../src/h264bsd_transform.c"
 var $54=(($53+48)|0); //@line 282 "../src/h264bsd_transform.c"
 HEAP32[(($54)>>2)]=$52; //@line 282 "../src/h264bsd_transform.c"
 var $55=$tmp0; //@line 283 "../src/h264bsd_transform.c"
 var $56=$1; //@line 283 "../src/h264bsd_transform.c"
 var $57=(($56+36)|0); //@line 283 "../src/h264bsd_transform.c"
 HEAP32[(($57)>>2)]=$55; //@line 283 "../src/h264bsd_transform.c"
 var $58=$1; //@line 285 "../src/h264bsd_transform.c"
 var $59=(($58+40)|0); //@line 285 "../src/h264bsd_transform.c"
 var $60=HEAP32[(($59)>>2)]; //@line 285 "../src/h264bsd_transform.c"
 $tmp0=$60; //@line 285 "../src/h264bsd_transform.c"
 var $61=$1; //@line 286 "../src/h264bsd_transform.c"
 var $62=(($61+44)|0); //@line 286 "../src/h264bsd_transform.c"
 var $63=HEAP32[(($62)>>2)]; //@line 286 "../src/h264bsd_transform.c"
 var $64=$1; //@line 286 "../src/h264bsd_transform.c"
 var $65=(($64+40)|0); //@line 286 "../src/h264bsd_transform.c"
 HEAP32[(($65)>>2)]=$63; //@line 286 "../src/h264bsd_transform.c"
 var $66=$1; //@line 287 "../src/h264bsd_transform.c"
 var $67=(($66+52)|0); //@line 287 "../src/h264bsd_transform.c"
 var $68=HEAP32[(($67)>>2)]; //@line 287 "../src/h264bsd_transform.c"
 var $69=$1; //@line 287 "../src/h264bsd_transform.c"
 var $70=(($69+44)|0); //@line 287 "../src/h264bsd_transform.c"
 HEAP32[(($70)>>2)]=$68; //@line 287 "../src/h264bsd_transform.c"
 var $71=$tmp0; //@line 288 "../src/h264bsd_transform.c"
 var $72=$1; //@line 288 "../src/h264bsd_transform.c"
 var $73=(($72+52)|0); //@line 288 "../src/h264bsd_transform.c"
 HEAP32[(($73)>>2)]=$71; //@line 288 "../src/h264bsd_transform.c"
 $row=4; //@line 291 "../src/h264bsd_transform.c"
 var $74=$1; //@line 291 "../src/h264bsd_transform.c"
 $ptr=$74; //@line 291 "../src/h264bsd_transform.c"
 label=2;break; //@line 291 "../src/h264bsd_transform.c"
 case 2: 
 var $76=$row; //@line 291 "../src/h264bsd_transform.c"
 var $77=((($76)-(1))|0); //@line 291 "../src/h264bsd_transform.c"
 $row=$77; //@line 291 "../src/h264bsd_transform.c"
 var $78=($76|0)!=0; //@line 291 "../src/h264bsd_transform.c"
 if($78){label=3;break;}else{label=5;break;} //@line 291 "../src/h264bsd_transform.c"
 case 3: 
 var $80=$ptr; //@line 293 "../src/h264bsd_transform.c"
 var $81=(($80)|0); //@line 293 "../src/h264bsd_transform.c"
 var $82=HEAP32[(($81)>>2)]; //@line 293 "../src/h264bsd_transform.c"
 var $83=$ptr; //@line 293 "../src/h264bsd_transform.c"
 var $84=(($83+8)|0); //@line 293 "../src/h264bsd_transform.c"
 var $85=HEAP32[(($84)>>2)]; //@line 293 "../src/h264bsd_transform.c"
 var $86=((($82)+($85))|0); //@line 293 "../src/h264bsd_transform.c"
 $tmp0=$86; //@line 293 "../src/h264bsd_transform.c"
 var $87=$ptr; //@line 294 "../src/h264bsd_transform.c"
 var $88=(($87)|0); //@line 294 "../src/h264bsd_transform.c"
 var $89=HEAP32[(($88)>>2)]; //@line 294 "../src/h264bsd_transform.c"
 var $90=$ptr; //@line 294 "../src/h264bsd_transform.c"
 var $91=(($90+8)|0); //@line 294 "../src/h264bsd_transform.c"
 var $92=HEAP32[(($91)>>2)]; //@line 294 "../src/h264bsd_transform.c"
 var $93=((($89)-($92))|0); //@line 294 "../src/h264bsd_transform.c"
 $tmp1=$93; //@line 294 "../src/h264bsd_transform.c"
 var $94=$ptr; //@line 295 "../src/h264bsd_transform.c"
 var $95=(($94+4)|0); //@line 295 "../src/h264bsd_transform.c"
 var $96=HEAP32[(($95)>>2)]; //@line 295 "../src/h264bsd_transform.c"
 var $97=$ptr; //@line 295 "../src/h264bsd_transform.c"
 var $98=(($97+12)|0); //@line 295 "../src/h264bsd_transform.c"
 var $99=HEAP32[(($98)>>2)]; //@line 295 "../src/h264bsd_transform.c"
 var $100=((($96)-($99))|0); //@line 295 "../src/h264bsd_transform.c"
 $tmp2=$100; //@line 295 "../src/h264bsd_transform.c"
 var $101=$ptr; //@line 296 "../src/h264bsd_transform.c"
 var $102=(($101+4)|0); //@line 296 "../src/h264bsd_transform.c"
 var $103=HEAP32[(($102)>>2)]; //@line 296 "../src/h264bsd_transform.c"
 var $104=$ptr; //@line 296 "../src/h264bsd_transform.c"
 var $105=(($104+12)|0); //@line 296 "../src/h264bsd_transform.c"
 var $106=HEAP32[(($105)>>2)]; //@line 296 "../src/h264bsd_transform.c"
 var $107=((($103)+($106))|0); //@line 296 "../src/h264bsd_transform.c"
 $tmp3=$107; //@line 296 "../src/h264bsd_transform.c"
 var $108=$tmp0; //@line 297 "../src/h264bsd_transform.c"
 var $109=$tmp3; //@line 297 "../src/h264bsd_transform.c"
 var $110=((($108)+($109))|0); //@line 297 "../src/h264bsd_transform.c"
 var $111=$ptr; //@line 297 "../src/h264bsd_transform.c"
 var $112=(($111)|0); //@line 297 "../src/h264bsd_transform.c"
 HEAP32[(($112)>>2)]=$110; //@line 297 "../src/h264bsd_transform.c"
 var $113=$tmp1; //@line 298 "../src/h264bsd_transform.c"
 var $114=$tmp2; //@line 298 "../src/h264bsd_transform.c"
 var $115=((($113)+($114))|0); //@line 298 "../src/h264bsd_transform.c"
 var $116=$ptr; //@line 298 "../src/h264bsd_transform.c"
 var $117=(($116+4)|0); //@line 298 "../src/h264bsd_transform.c"
 HEAP32[(($117)>>2)]=$115; //@line 298 "../src/h264bsd_transform.c"
 var $118=$tmp1; //@line 299 "../src/h264bsd_transform.c"
 var $119=$tmp2; //@line 299 "../src/h264bsd_transform.c"
 var $120=((($118)-($119))|0); //@line 299 "../src/h264bsd_transform.c"
 var $121=$ptr; //@line 299 "../src/h264bsd_transform.c"
 var $122=(($121+8)|0); //@line 299 "../src/h264bsd_transform.c"
 HEAP32[(($122)>>2)]=$120; //@line 299 "../src/h264bsd_transform.c"
 var $123=$tmp0; //@line 300 "../src/h264bsd_transform.c"
 var $124=$tmp3; //@line 300 "../src/h264bsd_transform.c"
 var $125=((($123)-($124))|0); //@line 300 "../src/h264bsd_transform.c"
 var $126=$ptr; //@line 300 "../src/h264bsd_transform.c"
 var $127=(($126+12)|0); //@line 300 "../src/h264bsd_transform.c"
 HEAP32[(($127)>>2)]=$125; //@line 300 "../src/h264bsd_transform.c"
 label=4;break; //@line 301 "../src/h264bsd_transform.c"
 case 4: 
 var $129=$ptr; //@line 291 "../src/h264bsd_transform.c"
 var $130=(($129+16)|0); //@line 291 "../src/h264bsd_transform.c"
 $ptr=$130; //@line 291 "../src/h264bsd_transform.c"
 label=2;break; //@line 291 "../src/h264bsd_transform.c"
 case 5: 
 var $132=$qpMod; //@line 305 "../src/h264bsd_transform.c"
 var $133=((1080+((($132)*(12))&-1))|0); //@line 305 "../src/h264bsd_transform.c"
 var $134=(($133)|0); //@line 305 "../src/h264bsd_transform.c"
 var $135=HEAP32[(($134)>>2)]; //@line 305 "../src/h264bsd_transform.c"
 $levScale=$135; //@line 305 "../src/h264bsd_transform.c"
 var $136=$2; //@line 306 "../src/h264bsd_transform.c"
 var $137=($136>>>0)>=12; //@line 306 "../src/h264bsd_transform.c"
 if($137){label=6;break;}else{label=11;break;} //@line 306 "../src/h264bsd_transform.c"
 case 6: 
 var $139=$qpDiv; //@line 308 "../src/h264bsd_transform.c"
 var $140=((($139)-(2))|0); //@line 308 "../src/h264bsd_transform.c"
 var $141=$levScale; //@line 308 "../src/h264bsd_transform.c"
 var $142=$141<<$140; //@line 308 "../src/h264bsd_transform.c"
 $levScale=$142; //@line 308 "../src/h264bsd_transform.c"
 $col=4; //@line 309 "../src/h264bsd_transform.c"
 label=7;break; //@line 309 "../src/h264bsd_transform.c"
 case 7: 
 var $144=$col; //@line 309 "../src/h264bsd_transform.c"
 var $145=((($144)-(1))|0); //@line 309 "../src/h264bsd_transform.c"
 $col=$145; //@line 309 "../src/h264bsd_transform.c"
 var $146=($144|0)!=0; //@line 309 "../src/h264bsd_transform.c"
 if($146){label=8;break;}else{label=10;break;} //@line 309 "../src/h264bsd_transform.c"
 case 8: 
 var $148=$1; //@line 311 "../src/h264bsd_transform.c"
 var $149=(($148)|0); //@line 311 "../src/h264bsd_transform.c"
 var $150=HEAP32[(($149)>>2)]; //@line 311 "../src/h264bsd_transform.c"
 var $151=$1; //@line 311 "../src/h264bsd_transform.c"
 var $152=(($151+32)|0); //@line 311 "../src/h264bsd_transform.c"
 var $153=HEAP32[(($152)>>2)]; //@line 311 "../src/h264bsd_transform.c"
 var $154=((($150)+($153))|0); //@line 311 "../src/h264bsd_transform.c"
 $tmp0=$154; //@line 311 "../src/h264bsd_transform.c"
 var $155=$1; //@line 312 "../src/h264bsd_transform.c"
 var $156=(($155)|0); //@line 312 "../src/h264bsd_transform.c"
 var $157=HEAP32[(($156)>>2)]; //@line 312 "../src/h264bsd_transform.c"
 var $158=$1; //@line 312 "../src/h264bsd_transform.c"
 var $159=(($158+32)|0); //@line 312 "../src/h264bsd_transform.c"
 var $160=HEAP32[(($159)>>2)]; //@line 312 "../src/h264bsd_transform.c"
 var $161=((($157)-($160))|0); //@line 312 "../src/h264bsd_transform.c"
 $tmp1=$161; //@line 312 "../src/h264bsd_transform.c"
 var $162=$1; //@line 313 "../src/h264bsd_transform.c"
 var $163=(($162+16)|0); //@line 313 "../src/h264bsd_transform.c"
 var $164=HEAP32[(($163)>>2)]; //@line 313 "../src/h264bsd_transform.c"
 var $165=$1; //@line 313 "../src/h264bsd_transform.c"
 var $166=(($165+48)|0); //@line 313 "../src/h264bsd_transform.c"
 var $167=HEAP32[(($166)>>2)]; //@line 313 "../src/h264bsd_transform.c"
 var $168=((($164)-($167))|0); //@line 313 "../src/h264bsd_transform.c"
 $tmp2=$168; //@line 313 "../src/h264bsd_transform.c"
 var $169=$1; //@line 314 "../src/h264bsd_transform.c"
 var $170=(($169+16)|0); //@line 314 "../src/h264bsd_transform.c"
 var $171=HEAP32[(($170)>>2)]; //@line 314 "../src/h264bsd_transform.c"
 var $172=$1; //@line 314 "../src/h264bsd_transform.c"
 var $173=(($172+48)|0); //@line 314 "../src/h264bsd_transform.c"
 var $174=HEAP32[(($173)>>2)]; //@line 314 "../src/h264bsd_transform.c"
 var $175=((($171)+($174))|0); //@line 314 "../src/h264bsd_transform.c"
 $tmp3=$175; //@line 314 "../src/h264bsd_transform.c"
 var $176=$tmp0; //@line 315 "../src/h264bsd_transform.c"
 var $177=$tmp3; //@line 315 "../src/h264bsd_transform.c"
 var $178=((($176)+($177))|0); //@line 315 "../src/h264bsd_transform.c"
 var $179=$levScale; //@line 315 "../src/h264bsd_transform.c"
 var $180=(Math_imul($178,$179)|0); //@line 315 "../src/h264bsd_transform.c"
 var $181=$1; //@line 315 "../src/h264bsd_transform.c"
 var $182=(($181)|0); //@line 315 "../src/h264bsd_transform.c"
 HEAP32[(($182)>>2)]=$180; //@line 315 "../src/h264bsd_transform.c"
 var $183=$tmp1; //@line 316 "../src/h264bsd_transform.c"
 var $184=$tmp2; //@line 316 "../src/h264bsd_transform.c"
 var $185=((($183)+($184))|0); //@line 316 "../src/h264bsd_transform.c"
 var $186=$levScale; //@line 316 "../src/h264bsd_transform.c"
 var $187=(Math_imul($185,$186)|0); //@line 316 "../src/h264bsd_transform.c"
 var $188=$1; //@line 316 "../src/h264bsd_transform.c"
 var $189=(($188+16)|0); //@line 316 "../src/h264bsd_transform.c"
 HEAP32[(($189)>>2)]=$187; //@line 316 "../src/h264bsd_transform.c"
 var $190=$tmp1; //@line 317 "../src/h264bsd_transform.c"
 var $191=$tmp2; //@line 317 "../src/h264bsd_transform.c"
 var $192=((($190)-($191))|0); //@line 317 "../src/h264bsd_transform.c"
 var $193=$levScale; //@line 317 "../src/h264bsd_transform.c"
 var $194=(Math_imul($192,$193)|0); //@line 317 "../src/h264bsd_transform.c"
 var $195=$1; //@line 317 "../src/h264bsd_transform.c"
 var $196=(($195+32)|0); //@line 317 "../src/h264bsd_transform.c"
 HEAP32[(($196)>>2)]=$194; //@line 317 "../src/h264bsd_transform.c"
 var $197=$tmp0; //@line 318 "../src/h264bsd_transform.c"
 var $198=$tmp3; //@line 318 "../src/h264bsd_transform.c"
 var $199=((($197)-($198))|0); //@line 318 "../src/h264bsd_transform.c"
 var $200=$levScale; //@line 318 "../src/h264bsd_transform.c"
 var $201=(Math_imul($199,$200)|0); //@line 318 "../src/h264bsd_transform.c"
 var $202=$1; //@line 318 "../src/h264bsd_transform.c"
 var $203=(($202+48)|0); //@line 318 "../src/h264bsd_transform.c"
 HEAP32[(($203)>>2)]=$201; //@line 318 "../src/h264bsd_transform.c"
 label=9;break; //@line 319 "../src/h264bsd_transform.c"
 case 9: 
 var $205=$1; //@line 309 "../src/h264bsd_transform.c"
 var $206=(($205+4)|0); //@line 309 "../src/h264bsd_transform.c"
 $1=$206; //@line 309 "../src/h264bsd_transform.c"
 label=7;break; //@line 309 "../src/h264bsd_transform.c"
 case 10: 
 label=16;break; //@line 320 "../src/h264bsd_transform.c"
 case 11: 
 var $209=$qpDiv; //@line 324 "../src/h264bsd_transform.c"
 var $210=(((1)-($209))|0); //@line 324 "../src/h264bsd_transform.c"
 var $211=($210|0)==0; //@line 324 "../src/h264bsd_transform.c"
 var $212=($211?1:2); //@line 324 "../src/h264bsd_transform.c"
 $tmp=$212; //@line 324 "../src/h264bsd_transform.c"
 $col=4; //@line 325 "../src/h264bsd_transform.c"
 label=12;break; //@line 325 "../src/h264bsd_transform.c"
 case 12: 
 var $214=$col; //@line 325 "../src/h264bsd_transform.c"
 var $215=((($214)-(1))|0); //@line 325 "../src/h264bsd_transform.c"
 $col=$215; //@line 325 "../src/h264bsd_transform.c"
 var $216=($214|0)!=0; //@line 325 "../src/h264bsd_transform.c"
 if($216){label=13;break;}else{label=15;break;} //@line 325 "../src/h264bsd_transform.c"
 case 13: 
 var $218=$1; //@line 327 "../src/h264bsd_transform.c"
 var $219=(($218)|0); //@line 327 "../src/h264bsd_transform.c"
 var $220=HEAP32[(($219)>>2)]; //@line 327 "../src/h264bsd_transform.c"
 var $221=$1; //@line 327 "../src/h264bsd_transform.c"
 var $222=(($221+32)|0); //@line 327 "../src/h264bsd_transform.c"
 var $223=HEAP32[(($222)>>2)]; //@line 327 "../src/h264bsd_transform.c"
 var $224=((($220)+($223))|0); //@line 327 "../src/h264bsd_transform.c"
 $tmp0=$224; //@line 327 "../src/h264bsd_transform.c"
 var $225=$1; //@line 328 "../src/h264bsd_transform.c"
 var $226=(($225)|0); //@line 328 "../src/h264bsd_transform.c"
 var $227=HEAP32[(($226)>>2)]; //@line 328 "../src/h264bsd_transform.c"
 var $228=$1; //@line 328 "../src/h264bsd_transform.c"
 var $229=(($228+32)|0); //@line 328 "../src/h264bsd_transform.c"
 var $230=HEAP32[(($229)>>2)]; //@line 328 "../src/h264bsd_transform.c"
 var $231=((($227)-($230))|0); //@line 328 "../src/h264bsd_transform.c"
 $tmp1=$231; //@line 328 "../src/h264bsd_transform.c"
 var $232=$1; //@line 329 "../src/h264bsd_transform.c"
 var $233=(($232+16)|0); //@line 329 "../src/h264bsd_transform.c"
 var $234=HEAP32[(($233)>>2)]; //@line 329 "../src/h264bsd_transform.c"
 var $235=$1; //@line 329 "../src/h264bsd_transform.c"
 var $236=(($235+48)|0); //@line 329 "../src/h264bsd_transform.c"
 var $237=HEAP32[(($236)>>2)]; //@line 329 "../src/h264bsd_transform.c"
 var $238=((($234)-($237))|0); //@line 329 "../src/h264bsd_transform.c"
 $tmp2=$238; //@line 329 "../src/h264bsd_transform.c"
 var $239=$1; //@line 330 "../src/h264bsd_transform.c"
 var $240=(($239+16)|0); //@line 330 "../src/h264bsd_transform.c"
 var $241=HEAP32[(($240)>>2)]; //@line 330 "../src/h264bsd_transform.c"
 var $242=$1; //@line 330 "../src/h264bsd_transform.c"
 var $243=(($242+48)|0); //@line 330 "../src/h264bsd_transform.c"
 var $244=HEAP32[(($243)>>2)]; //@line 330 "../src/h264bsd_transform.c"
 var $245=((($241)+($244))|0); //@line 330 "../src/h264bsd_transform.c"
 $tmp3=$245; //@line 330 "../src/h264bsd_transform.c"
 var $246=$tmp0; //@line 331 "../src/h264bsd_transform.c"
 var $247=$tmp3; //@line 331 "../src/h264bsd_transform.c"
 var $248=((($246)+($247))|0); //@line 331 "../src/h264bsd_transform.c"
 var $249=$levScale; //@line 331 "../src/h264bsd_transform.c"
 var $250=(Math_imul($248,$249)|0); //@line 331 "../src/h264bsd_transform.c"
 var $251=$tmp; //@line 331 "../src/h264bsd_transform.c"
 var $252=((($250)+($251))|0); //@line 331 "../src/h264bsd_transform.c"
 var $253=$qpDiv; //@line 331 "../src/h264bsd_transform.c"
 var $254=(((2)-($253))|0); //@line 331 "../src/h264bsd_transform.c"
 var $255=$252>>($254|0); //@line 331 "../src/h264bsd_transform.c"
 var $256=$1; //@line 331 "../src/h264bsd_transform.c"
 var $257=(($256)|0); //@line 331 "../src/h264bsd_transform.c"
 HEAP32[(($257)>>2)]=$255; //@line 331 "../src/h264bsd_transform.c"
 var $258=$tmp1; //@line 332 "../src/h264bsd_transform.c"
 var $259=$tmp2; //@line 332 "../src/h264bsd_transform.c"
 var $260=((($258)+($259))|0); //@line 332 "../src/h264bsd_transform.c"
 var $261=$levScale; //@line 332 "../src/h264bsd_transform.c"
 var $262=(Math_imul($260,$261)|0); //@line 332 "../src/h264bsd_transform.c"
 var $263=$tmp; //@line 332 "../src/h264bsd_transform.c"
 var $264=((($262)+($263))|0); //@line 332 "../src/h264bsd_transform.c"
 var $265=$qpDiv; //@line 332 "../src/h264bsd_transform.c"
 var $266=(((2)-($265))|0); //@line 332 "../src/h264bsd_transform.c"
 var $267=$264>>($266|0); //@line 332 "../src/h264bsd_transform.c"
 var $268=$1; //@line 332 "../src/h264bsd_transform.c"
 var $269=(($268+16)|0); //@line 332 "../src/h264bsd_transform.c"
 HEAP32[(($269)>>2)]=$267; //@line 332 "../src/h264bsd_transform.c"
 var $270=$tmp1; //@line 333 "../src/h264bsd_transform.c"
 var $271=$tmp2; //@line 333 "../src/h264bsd_transform.c"
 var $272=((($270)-($271))|0); //@line 333 "../src/h264bsd_transform.c"
 var $273=$levScale; //@line 333 "../src/h264bsd_transform.c"
 var $274=(Math_imul($272,$273)|0); //@line 333 "../src/h264bsd_transform.c"
 var $275=$tmp; //@line 333 "../src/h264bsd_transform.c"
 var $276=((($274)+($275))|0); //@line 333 "../src/h264bsd_transform.c"
 var $277=$qpDiv; //@line 333 "../src/h264bsd_transform.c"
 var $278=(((2)-($277))|0); //@line 333 "../src/h264bsd_transform.c"
 var $279=$276>>($278|0); //@line 333 "../src/h264bsd_transform.c"
 var $280=$1; //@line 333 "../src/h264bsd_transform.c"
 var $281=(($280+32)|0); //@line 333 "../src/h264bsd_transform.c"
 HEAP32[(($281)>>2)]=$279; //@line 333 "../src/h264bsd_transform.c"
 var $282=$tmp0; //@line 334 "../src/h264bsd_transform.c"
 var $283=$tmp3; //@line 334 "../src/h264bsd_transform.c"
 var $284=((($282)-($283))|0); //@line 334 "../src/h264bsd_transform.c"
 var $285=$levScale; //@line 334 "../src/h264bsd_transform.c"
 var $286=(Math_imul($284,$285)|0); //@line 334 "../src/h264bsd_transform.c"
 var $287=$tmp; //@line 334 "../src/h264bsd_transform.c"
 var $288=((($286)+($287))|0); //@line 334 "../src/h264bsd_transform.c"
 var $289=$qpDiv; //@line 334 "../src/h264bsd_transform.c"
 var $290=(((2)-($289))|0); //@line 334 "../src/h264bsd_transform.c"
 var $291=$288>>($290|0); //@line 334 "../src/h264bsd_transform.c"
 var $292=$1; //@line 334 "../src/h264bsd_transform.c"
 var $293=(($292+48)|0); //@line 334 "../src/h264bsd_transform.c"
 HEAP32[(($293)>>2)]=$291; //@line 334 "../src/h264bsd_transform.c"
 label=14;break; //@line 335 "../src/h264bsd_transform.c"
 case 14: 
 var $295=$1; //@line 325 "../src/h264bsd_transform.c"
 var $296=(($295+4)|0); //@line 325 "../src/h264bsd_transform.c"
 $1=$296; //@line 325 "../src/h264bsd_transform.c"
 label=12;break; //@line 325 "../src/h264bsd_transform.c"
 case 15: 
 label=16;break;
 case 16: 
 STACKTOP=sp;return; //@line 338 "../src/h264bsd_transform.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdProcessChromaDc($data,$qp){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $tmp0;
 var $tmp1;
 var $tmp2;
 var $tmp3;
 var $qpDiv;
 var $levScale;
 var $levShift;
 $1=$data;
 $2=$qp;
 var $3=$2; //@line 371 "../src/h264bsd_transform.c"
 var $4=((896+$3)|0); //@line 371 "../src/h264bsd_transform.c"
 var $5=HEAP8[($4)]; //@line 371 "../src/h264bsd_transform.c"
 var $6=($5&255); //@line 371 "../src/h264bsd_transform.c"
 $qpDiv=$6; //@line 371 "../src/h264bsd_transform.c"
 var $7=$2; //@line 372 "../src/h264bsd_transform.c"
 var $8=((840+$7)|0); //@line 372 "../src/h264bsd_transform.c"
 var $9=HEAP8[($8)]; //@line 372 "../src/h264bsd_transform.c"
 var $10=($9&255); //@line 372 "../src/h264bsd_transform.c"
 var $11=((1080+((($10)*(12))&-1))|0); //@line 372 "../src/h264bsd_transform.c"
 var $12=(($11)|0); //@line 372 "../src/h264bsd_transform.c"
 var $13=HEAP32[(($12)>>2)]; //@line 372 "../src/h264bsd_transform.c"
 $levScale=$13; //@line 372 "../src/h264bsd_transform.c"
 var $14=$2; //@line 374 "../src/h264bsd_transform.c"
 var $15=($14>>>0)>=6; //@line 374 "../src/h264bsd_transform.c"
 if($15){label=2;break;}else{label=3;break;} //@line 374 "../src/h264bsd_transform.c"
 case 2: 
 var $17=$qpDiv; //@line 376 "../src/h264bsd_transform.c"
 var $18=((($17)-(1))|0); //@line 376 "../src/h264bsd_transform.c"
 var $19=$levScale; //@line 376 "../src/h264bsd_transform.c"
 var $20=$19<<$18; //@line 376 "../src/h264bsd_transform.c"
 $levScale=$20; //@line 376 "../src/h264bsd_transform.c"
 $levShift=0; //@line 377 "../src/h264bsd_transform.c"
 label=4;break; //@line 378 "../src/h264bsd_transform.c"
 case 3: 
 $levShift=1; //@line 381 "../src/h264bsd_transform.c"
 label=4;break;
 case 4: 
 var $23=$1; //@line 384 "../src/h264bsd_transform.c"
 var $24=(($23)|0); //@line 384 "../src/h264bsd_transform.c"
 var $25=HEAP32[(($24)>>2)]; //@line 384 "../src/h264bsd_transform.c"
 var $26=$1; //@line 384 "../src/h264bsd_transform.c"
 var $27=(($26+8)|0); //@line 384 "../src/h264bsd_transform.c"
 var $28=HEAP32[(($27)>>2)]; //@line 384 "../src/h264bsd_transform.c"
 var $29=((($25)+($28))|0); //@line 384 "../src/h264bsd_transform.c"
 $tmp0=$29; //@line 384 "../src/h264bsd_transform.c"
 var $30=$1; //@line 385 "../src/h264bsd_transform.c"
 var $31=(($30)|0); //@line 385 "../src/h264bsd_transform.c"
 var $32=HEAP32[(($31)>>2)]; //@line 385 "../src/h264bsd_transform.c"
 var $33=$1; //@line 385 "../src/h264bsd_transform.c"
 var $34=(($33+8)|0); //@line 385 "../src/h264bsd_transform.c"
 var $35=HEAP32[(($34)>>2)]; //@line 385 "../src/h264bsd_transform.c"
 var $36=((($32)-($35))|0); //@line 385 "../src/h264bsd_transform.c"
 $tmp1=$36; //@line 385 "../src/h264bsd_transform.c"
 var $37=$1; //@line 386 "../src/h264bsd_transform.c"
 var $38=(($37+4)|0); //@line 386 "../src/h264bsd_transform.c"
 var $39=HEAP32[(($38)>>2)]; //@line 386 "../src/h264bsd_transform.c"
 var $40=$1; //@line 386 "../src/h264bsd_transform.c"
 var $41=(($40+12)|0); //@line 386 "../src/h264bsd_transform.c"
 var $42=HEAP32[(($41)>>2)]; //@line 386 "../src/h264bsd_transform.c"
 var $43=((($39)-($42))|0); //@line 386 "../src/h264bsd_transform.c"
 $tmp2=$43; //@line 386 "../src/h264bsd_transform.c"
 var $44=$1; //@line 387 "../src/h264bsd_transform.c"
 var $45=(($44+4)|0); //@line 387 "../src/h264bsd_transform.c"
 var $46=HEAP32[(($45)>>2)]; //@line 387 "../src/h264bsd_transform.c"
 var $47=$1; //@line 387 "../src/h264bsd_transform.c"
 var $48=(($47+12)|0); //@line 387 "../src/h264bsd_transform.c"
 var $49=HEAP32[(($48)>>2)]; //@line 387 "../src/h264bsd_transform.c"
 var $50=((($46)+($49))|0); //@line 387 "../src/h264bsd_transform.c"
 $tmp3=$50; //@line 387 "../src/h264bsd_transform.c"
 var $51=$tmp0; //@line 388 "../src/h264bsd_transform.c"
 var $52=$tmp3; //@line 388 "../src/h264bsd_transform.c"
 var $53=((($51)+($52))|0); //@line 388 "../src/h264bsd_transform.c"
 var $54=$levScale; //@line 388 "../src/h264bsd_transform.c"
 var $55=(Math_imul($53,$54)|0); //@line 388 "../src/h264bsd_transform.c"
 var $56=$levShift; //@line 388 "../src/h264bsd_transform.c"
 var $57=$55>>($56|0); //@line 388 "../src/h264bsd_transform.c"
 var $58=$1; //@line 388 "../src/h264bsd_transform.c"
 var $59=(($58)|0); //@line 388 "../src/h264bsd_transform.c"
 HEAP32[(($59)>>2)]=$57; //@line 388 "../src/h264bsd_transform.c"
 var $60=$tmp0; //@line 389 "../src/h264bsd_transform.c"
 var $61=$tmp3; //@line 389 "../src/h264bsd_transform.c"
 var $62=((($60)-($61))|0); //@line 389 "../src/h264bsd_transform.c"
 var $63=$levScale; //@line 389 "../src/h264bsd_transform.c"
 var $64=(Math_imul($62,$63)|0); //@line 389 "../src/h264bsd_transform.c"
 var $65=$levShift; //@line 389 "../src/h264bsd_transform.c"
 var $66=$64>>($65|0); //@line 389 "../src/h264bsd_transform.c"
 var $67=$1; //@line 389 "../src/h264bsd_transform.c"
 var $68=(($67+4)|0); //@line 389 "../src/h264bsd_transform.c"
 HEAP32[(($68)>>2)]=$66; //@line 389 "../src/h264bsd_transform.c"
 var $69=$tmp1; //@line 390 "../src/h264bsd_transform.c"
 var $70=$tmp2; //@line 390 "../src/h264bsd_transform.c"
 var $71=((($69)+($70))|0); //@line 390 "../src/h264bsd_transform.c"
 var $72=$levScale; //@line 390 "../src/h264bsd_transform.c"
 var $73=(Math_imul($71,$72)|0); //@line 390 "../src/h264bsd_transform.c"
 var $74=$levShift; //@line 390 "../src/h264bsd_transform.c"
 var $75=$73>>($74|0); //@line 390 "../src/h264bsd_transform.c"
 var $76=$1; //@line 390 "../src/h264bsd_transform.c"
 var $77=(($76+8)|0); //@line 390 "../src/h264bsd_transform.c"
 HEAP32[(($77)>>2)]=$75; //@line 390 "../src/h264bsd_transform.c"
 var $78=$tmp1; //@line 391 "../src/h264bsd_transform.c"
 var $79=$tmp2; //@line 391 "../src/h264bsd_transform.c"
 var $80=((($78)-($79))|0); //@line 391 "../src/h264bsd_transform.c"
 var $81=$levScale; //@line 391 "../src/h264bsd_transform.c"
 var $82=(Math_imul($80,$81)|0); //@line 391 "../src/h264bsd_transform.c"
 var $83=$levShift; //@line 391 "../src/h264bsd_transform.c"
 var $84=$82>>($83|0); //@line 391 "../src/h264bsd_transform.c"
 var $85=$1; //@line 391 "../src/h264bsd_transform.c"
 var $86=(($85+12)|0); //@line 391 "../src/h264bsd_transform.c"
 HEAP32[(($86)>>2)]=$84; //@line 391 "../src/h264bsd_transform.c"
 var $87=$1; //@line 392 "../src/h264bsd_transform.c"
 var $88=(($87+16)|0); //@line 392 "../src/h264bsd_transform.c"
 var $89=HEAP32[(($88)>>2)]; //@line 392 "../src/h264bsd_transform.c"
 var $90=$1; //@line 392 "../src/h264bsd_transform.c"
 var $91=(($90+24)|0); //@line 392 "../src/h264bsd_transform.c"
 var $92=HEAP32[(($91)>>2)]; //@line 392 "../src/h264bsd_transform.c"
 var $93=((($89)+($92))|0); //@line 392 "../src/h264bsd_transform.c"
 $tmp0=$93; //@line 392 "../src/h264bsd_transform.c"
 var $94=$1; //@line 393 "../src/h264bsd_transform.c"
 var $95=(($94+16)|0); //@line 393 "../src/h264bsd_transform.c"
 var $96=HEAP32[(($95)>>2)]; //@line 393 "../src/h264bsd_transform.c"
 var $97=$1; //@line 393 "../src/h264bsd_transform.c"
 var $98=(($97+24)|0); //@line 393 "../src/h264bsd_transform.c"
 var $99=HEAP32[(($98)>>2)]; //@line 393 "../src/h264bsd_transform.c"
 var $100=((($96)-($99))|0); //@line 393 "../src/h264bsd_transform.c"
 $tmp1=$100; //@line 393 "../src/h264bsd_transform.c"
 var $101=$1; //@line 394 "../src/h264bsd_transform.c"
 var $102=(($101+20)|0); //@line 394 "../src/h264bsd_transform.c"
 var $103=HEAP32[(($102)>>2)]; //@line 394 "../src/h264bsd_transform.c"
 var $104=$1; //@line 394 "../src/h264bsd_transform.c"
 var $105=(($104+28)|0); //@line 394 "../src/h264bsd_transform.c"
 var $106=HEAP32[(($105)>>2)]; //@line 394 "../src/h264bsd_transform.c"
 var $107=((($103)-($106))|0); //@line 394 "../src/h264bsd_transform.c"
 $tmp2=$107; //@line 394 "../src/h264bsd_transform.c"
 var $108=$1; //@line 395 "../src/h264bsd_transform.c"
 var $109=(($108+20)|0); //@line 395 "../src/h264bsd_transform.c"
 var $110=HEAP32[(($109)>>2)]; //@line 395 "../src/h264bsd_transform.c"
 var $111=$1; //@line 395 "../src/h264bsd_transform.c"
 var $112=(($111+28)|0); //@line 395 "../src/h264bsd_transform.c"
 var $113=HEAP32[(($112)>>2)]; //@line 395 "../src/h264bsd_transform.c"
 var $114=((($110)+($113))|0); //@line 395 "../src/h264bsd_transform.c"
 $tmp3=$114; //@line 395 "../src/h264bsd_transform.c"
 var $115=$tmp0; //@line 396 "../src/h264bsd_transform.c"
 var $116=$tmp3; //@line 396 "../src/h264bsd_transform.c"
 var $117=((($115)+($116))|0); //@line 396 "../src/h264bsd_transform.c"
 var $118=$levScale; //@line 396 "../src/h264bsd_transform.c"
 var $119=(Math_imul($117,$118)|0); //@line 396 "../src/h264bsd_transform.c"
 var $120=$levShift; //@line 396 "../src/h264bsd_transform.c"
 var $121=$119>>($120|0); //@line 396 "../src/h264bsd_transform.c"
 var $122=$1; //@line 396 "../src/h264bsd_transform.c"
 var $123=(($122+16)|0); //@line 396 "../src/h264bsd_transform.c"
 HEAP32[(($123)>>2)]=$121; //@line 396 "../src/h264bsd_transform.c"
 var $124=$tmp0; //@line 397 "../src/h264bsd_transform.c"
 var $125=$tmp3; //@line 397 "../src/h264bsd_transform.c"
 var $126=((($124)-($125))|0); //@line 397 "../src/h264bsd_transform.c"
 var $127=$levScale; //@line 397 "../src/h264bsd_transform.c"
 var $128=(Math_imul($126,$127)|0); //@line 397 "../src/h264bsd_transform.c"
 var $129=$levShift; //@line 397 "../src/h264bsd_transform.c"
 var $130=$128>>($129|0); //@line 397 "../src/h264bsd_transform.c"
 var $131=$1; //@line 397 "../src/h264bsd_transform.c"
 var $132=(($131+20)|0); //@line 397 "../src/h264bsd_transform.c"
 HEAP32[(($132)>>2)]=$130; //@line 397 "../src/h264bsd_transform.c"
 var $133=$tmp1; //@line 398 "../src/h264bsd_transform.c"
 var $134=$tmp2; //@line 398 "../src/h264bsd_transform.c"
 var $135=((($133)+($134))|0); //@line 398 "../src/h264bsd_transform.c"
 var $136=$levScale; //@line 398 "../src/h264bsd_transform.c"
 var $137=(Math_imul($135,$136)|0); //@line 398 "../src/h264bsd_transform.c"
 var $138=$levShift; //@line 398 "../src/h264bsd_transform.c"
 var $139=$137>>($138|0); //@line 398 "../src/h264bsd_transform.c"
 var $140=$1; //@line 398 "../src/h264bsd_transform.c"
 var $141=(($140+24)|0); //@line 398 "../src/h264bsd_transform.c"
 HEAP32[(($141)>>2)]=$139; //@line 398 "../src/h264bsd_transform.c"
 var $142=$tmp1; //@line 399 "../src/h264bsd_transform.c"
 var $143=$tmp2; //@line 399 "../src/h264bsd_transform.c"
 var $144=((($142)-($143))|0); //@line 399 "../src/h264bsd_transform.c"
 var $145=$levScale; //@line 399 "../src/h264bsd_transform.c"
 var $146=(Math_imul($144,$145)|0); //@line 399 "../src/h264bsd_transform.c"
 var $147=$levShift; //@line 399 "../src/h264bsd_transform.c"
 var $148=$146>>($147|0); //@line 399 "../src/h264bsd_transform.c"
 var $149=$1; //@line 399 "../src/h264bsd_transform.c"
 var $150=(($149+28)|0); //@line 399 "../src/h264bsd_transform.c"
 HEAP32[(($150)>>2)]=$148; //@line 399 "../src/h264bsd_transform.c"
 STACKTOP=sp;return; //@line 401 "../src/h264bsd_transform.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdCountLeadingZeros($value,$length){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $zeros;
 var $mask;
 $1=$value;
 $2=$length;
 $zeros=0; //@line 86 "../src/h264bsd_util.c"
 var $3=$2; //@line 87 "../src/h264bsd_util.c"
 var $4=((($3)-(1))|0); //@line 87 "../src/h264bsd_util.c"
 var $5=1<<$4; //@line 87 "../src/h264bsd_util.c"
 $mask=$5; //@line 87 "../src/h264bsd_util.c"
 var $6=$2; //@line 91 "../src/h264bsd_util.c"
 var $7=($6>>>0)<=32; //@line 91 "../src/h264bsd_util.c"
 if($7){var $11=0;label=3;break;}else{label=2;break;} //@line 91 "../src/h264bsd_util.c"
 case 2: 
 ___assert_fail(6896,10536,91,14568); //@line 91 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 91 "../src/h264bsd_util.c"
 label=3;break; //@line 91 "../src/h264bsd_util.c"
 case 3: 
 var $11;
 var $12=($11&1); //@line 91 "../src/h264bsd_util.c"
 label=4;break; //@line 93 "../src/h264bsd_util.c"
 case 4: 
 var $14=$mask; //@line 93 "../src/h264bsd_util.c"
 var $15=($14|0)!=0; //@line 93 "../src/h264bsd_util.c"
 if($15){label=5;break;}else{var $23=0;label=6;break;} //@line 93 "../src/h264bsd_util.c"
 case 5: 
 var $17=$1; //@line 93 "../src/h264bsd_util.c"
 var $18=$mask; //@line 93 "../src/h264bsd_util.c"
 var $19=$17&$18; //@line 93 "../src/h264bsd_util.c"
 var $20=($19|0)!=0; //@line 93 "../src/h264bsd_util.c"
 var $21=$20^1; //@line 93 "../src/h264bsd_util.c"
 var $23=$21;label=6;break;
 case 6: 
 var $23;
 if($23){label=7;break;}else{label=8;break;}
 case 7: 
 var $25=$zeros; //@line 95 "../src/h264bsd_util.c"
 var $26=((($25)+(1))|0); //@line 95 "../src/h264bsd_util.c"
 $zeros=$26; //@line 95 "../src/h264bsd_util.c"
 var $27=$mask; //@line 96 "../src/h264bsd_util.c"
 var $28=$27>>>1; //@line 96 "../src/h264bsd_util.c"
 $mask=$28; //@line 96 "../src/h264bsd_util.c"
 label=4;break; //@line 97 "../src/h264bsd_util.c"
 case 8: 
 var $30=$zeros; //@line 98 "../src/h264bsd_util.c"
 STACKTOP=sp;return $30; //@line 98 "../src/h264bsd_util.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdRbspTrailingBits($pStrmData){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $stuffing;
 var $stuffingLength;
 $2=$pStrmData;
 var $3=$2; //@line 134 "../src/h264bsd_util.c"
 var $4=($3|0)!=0; //@line 134 "../src/h264bsd_util.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 134 "../src/h264bsd_util.c"
 case 2: 
 ___assert_fail(8752,10536,134,12824); //@line 134 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 134 "../src/h264bsd_util.c"
 label=3;break; //@line 134 "../src/h264bsd_util.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 134 "../src/h264bsd_util.c"
 var $10=$2; //@line 135 "../src/h264bsd_util.c"
 var $11=(($10+8)|0); //@line 135 "../src/h264bsd_util.c"
 var $12=HEAP32[(($11)>>2)]; //@line 135 "../src/h264bsd_util.c"
 var $13=($12>>>0)<8; //@line 135 "../src/h264bsd_util.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 135 "../src/h264bsd_util.c"
 case 4: 
 ___assert_fail(7728,10536,135,12824); //@line 135 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 135 "../src/h264bsd_util.c"
 label=5;break; //@line 135 "../src/h264bsd_util.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 135 "../src/h264bsd_util.c"
 var $19=$2; //@line 137 "../src/h264bsd_util.c"
 var $20=(($19+8)|0); //@line 137 "../src/h264bsd_util.c"
 var $21=HEAP32[(($20)>>2)]; //@line 137 "../src/h264bsd_util.c"
 var $22=(((8)-($21))|0); //@line 137 "../src/h264bsd_util.c"
 $stuffingLength=$22; //@line 137 "../src/h264bsd_util.c"
 var $23=$2; //@line 139 "../src/h264bsd_util.c"
 var $24=$stuffingLength; //@line 139 "../src/h264bsd_util.c"
 var $25=_h264bsdGetBits($23,$24); //@line 139 "../src/h264bsd_util.c"
 $stuffing=$25; //@line 139 "../src/h264bsd_util.c"
 var $26=$stuffing; //@line 140 "../src/h264bsd_util.c"
 var $27=($26|0)==-1; //@line 140 "../src/h264bsd_util.c"
 if($27){label=6;break;}else{label=7;break;} //@line 140 "../src/h264bsd_util.c"
 case 6: 
 $1=1; //@line 141 "../src/h264bsd_util.c"
 label=10;break; //@line 141 "../src/h264bsd_util.c"
 case 7: 
 var $30=$stuffing; //@line 143 "../src/h264bsd_util.c"
 var $31=$stuffingLength; //@line 143 "../src/h264bsd_util.c"
 var $32=((($31)-(1))|0); //@line 143 "../src/h264bsd_util.c"
 var $33=((760+($32<<2))|0); //@line 143 "../src/h264bsd_util.c"
 var $34=HEAP32[(($33)>>2)]; //@line 143 "../src/h264bsd_util.c"
 var $35=($30|0)!=($34|0); //@line 143 "../src/h264bsd_util.c"
 if($35){label=8;break;}else{label=9;break;} //@line 143 "../src/h264bsd_util.c"
 case 8: 
 $1=1; //@line 144 "../src/h264bsd_util.c"
 label=10;break; //@line 144 "../src/h264bsd_util.c"
 case 9: 
 $1=0; //@line 146 "../src/h264bsd_util.c"
 label=10;break; //@line 146 "../src/h264bsd_util.c"
 case 10: 
 var $39=$1; //@line 148 "../src/h264bsd_util.c"
 STACKTOP=sp;return $39; //@line 148 "../src/h264bsd_util.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdMoreRbspData($pStrmData){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $bits;
 $2=$pStrmData;
 var $3=$2; //@line 181 "../src/h264bsd_util.c"
 var $4=($3|0)!=0; //@line 181 "../src/h264bsd_util.c"
 if($4){var $8=0;label=3;break;}else{label=2;break;} //@line 181 "../src/h264bsd_util.c"
 case 2: 
 ___assert_fail(8752,10536,181,13176); //@line 181 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 181 "../src/h264bsd_util.c"
 label=3;break; //@line 181 "../src/h264bsd_util.c"
 case 3: 
 var $8;
 var $9=($8&1); //@line 181 "../src/h264bsd_util.c"
 var $10=$2; //@line 182 "../src/h264bsd_util.c"
 var $11=(($10+16)|0); //@line 182 "../src/h264bsd_util.c"
 var $12=HEAP32[(($11)>>2)]; //@line 182 "../src/h264bsd_util.c"
 var $13=$2; //@line 182 "../src/h264bsd_util.c"
 var $14=(($13+12)|0); //@line 182 "../src/h264bsd_util.c"
 var $15=HEAP32[(($14)>>2)]; //@line 182 "../src/h264bsd_util.c"
 var $16=($15<<3); //@line 182 "../src/h264bsd_util.c"
 var $17=($12>>>0)<=($16>>>0); //@line 182 "../src/h264bsd_util.c"
 if($17){var $21=1;label=5;break;}else{label=4;break;} //@line 182 "../src/h264bsd_util.c"
 case 4: 
 ___assert_fail(6752,10536,182,13176); //@line 182 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 182 "../src/h264bsd_util.c"
 label=5;break; //@line 182 "../src/h264bsd_util.c"
 case 5: 
 var $21;
 var $22=($21&1); //@line 182 "../src/h264bsd_util.c"
 var $23=$2; //@line 184 "../src/h264bsd_util.c"
 var $24=(($23+12)|0); //@line 184 "../src/h264bsd_util.c"
 var $25=HEAP32[(($24)>>2)]; //@line 184 "../src/h264bsd_util.c"
 var $26=($25<<3); //@line 184 "../src/h264bsd_util.c"
 var $27=$2; //@line 184 "../src/h264bsd_util.c"
 var $28=(($27+16)|0); //@line 184 "../src/h264bsd_util.c"
 var $29=HEAP32[(($28)>>2)]; //@line 184 "../src/h264bsd_util.c"
 var $30=((($26)-($29))|0); //@line 184 "../src/h264bsd_util.c"
 $bits=$30; //@line 184 "../src/h264bsd_util.c"
 var $31=$bits; //@line 186 "../src/h264bsd_util.c"
 var $32=($31|0)==0; //@line 186 "../src/h264bsd_util.c"
 if($32){label=6;break;}else{label=7;break;} //@line 186 "../src/h264bsd_util.c"
 case 6: 
 $1=0; //@line 187 "../src/h264bsd_util.c"
 label=11;break; //@line 187 "../src/h264bsd_util.c"
 case 7: 
 var $35=$bits; //@line 189 "../src/h264bsd_util.c"
 var $36=($35>>>0)>8; //@line 189 "../src/h264bsd_util.c"
 if($36){label=9;break;}else{label=8;break;} //@line 189 "../src/h264bsd_util.c"
 case 8: 
 var $38=$2; //@line 190 "../src/h264bsd_util.c"
 var $39=_h264bsdShowBits32($38); //@line 190 "../src/h264bsd_util.c"
 var $40=$bits; //@line 190 "../src/h264bsd_util.c"
 var $41=(((32)-($40))|0); //@line 190 "../src/h264bsd_util.c"
 var $42=$39>>>($41>>>0); //@line 190 "../src/h264bsd_util.c"
 var $43=$bits; //@line 190 "../src/h264bsd_util.c"
 var $44=((($43)-(1))|0); //@line 190 "../src/h264bsd_util.c"
 var $45=1<<$44; //@line 190 "../src/h264bsd_util.c"
 var $46=($42|0)!=($45|0); //@line 190 "../src/h264bsd_util.c"
 if($46){label=9;break;}else{label=10;break;} //@line 190 "../src/h264bsd_util.c"
 case 9: 
 $1=1; //@line 191 "../src/h264bsd_util.c"
 label=11;break; //@line 191 "../src/h264bsd_util.c"
 case 10: 
 $1=0; //@line 193 "../src/h264bsd_util.c"
 label=11;break; //@line 193 "../src/h264bsd_util.c"
 case 11: 
 var $50=$1; //@line 195 "../src/h264bsd_util.c"
 STACKTOP=sp;return $50; //@line 195 "../src/h264bsd_util.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdNextMbAddress($pSliceGroupMap,$picSizeInMbs,$currMbAddr){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $i;
 var $sliceGroup;
 var $tmp;
 $1=$pSliceGroupMap;
 $2=$picSizeInMbs;
 $3=$currMbAddr;
 var $4=$1; //@line 228 "../src/h264bsd_util.c"
 var $5=($4|0)!=0; //@line 228 "../src/h264bsd_util.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 228 "../src/h264bsd_util.c"
 case 2: 
 ___assert_fail(5960,10536,228,13024); //@line 228 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 228 "../src/h264bsd_util.c"
 label=3;break; //@line 228 "../src/h264bsd_util.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 228 "../src/h264bsd_util.c"
 var $11=$2; //@line 229 "../src/h264bsd_util.c"
 var $12=($11|0)!=0; //@line 229 "../src/h264bsd_util.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 229 "../src/h264bsd_util.c"
 case 4: 
 ___assert_fail(5512,10536,229,13024); //@line 229 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 229 "../src/h264bsd_util.c"
 label=5;break; //@line 229 "../src/h264bsd_util.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 229 "../src/h264bsd_util.c"
 var $18=$3; //@line 230 "../src/h264bsd_util.c"
 var $19=$2; //@line 230 "../src/h264bsd_util.c"
 var $20=($18>>>0)<($19>>>0); //@line 230 "../src/h264bsd_util.c"
 if($20){var $24=1;label=7;break;}else{label=6;break;} //@line 230 "../src/h264bsd_util.c"
 case 6: 
 ___assert_fail(5184,10536,230,13024); //@line 230 "../src/h264bsd_util.c"
 throw "Reached an unreachable!"; //@line 230 "../src/h264bsd_util.c"
 label=7;break; //@line 230 "../src/h264bsd_util.c"
 case 7: 
 var $24;
 var $25=($24&1); //@line 230 "../src/h264bsd_util.c"
 var $26=$3; //@line 232 "../src/h264bsd_util.c"
 var $27=$1; //@line 232 "../src/h264bsd_util.c"
 var $28=(($27+($26<<2))|0); //@line 232 "../src/h264bsd_util.c"
 var $29=HEAP32[(($28)>>2)]; //@line 232 "../src/h264bsd_util.c"
 $sliceGroup=$29; //@line 232 "../src/h264bsd_util.c"
 var $30=$3; //@line 234 "../src/h264bsd_util.c"
 var $31=((($30)+(1))|0); //@line 234 "../src/h264bsd_util.c"
 $i=$31; //@line 234 "../src/h264bsd_util.c"
 var $32=$i; //@line 235 "../src/h264bsd_util.c"
 var $33=$1; //@line 235 "../src/h264bsd_util.c"
 var $34=(($33+($32<<2))|0); //@line 235 "../src/h264bsd_util.c"
 var $35=HEAP32[(($34)>>2)]; //@line 235 "../src/h264bsd_util.c"
 $tmp=$35; //@line 235 "../src/h264bsd_util.c"
 label=8;break; //@line 236 "../src/h264bsd_util.c"
 case 8: 
 var $37=$i; //@line 236 "../src/h264bsd_util.c"
 var $38=$2; //@line 236 "../src/h264bsd_util.c"
 var $39=($37>>>0)<($38>>>0); //@line 236 "../src/h264bsd_util.c"
 if($39){label=9;break;}else{var $45=0;label=10;break;} //@line 236 "../src/h264bsd_util.c"
 case 9: 
 var $41=$tmp; //@line 236 "../src/h264bsd_util.c"
 var $42=$sliceGroup; //@line 236 "../src/h264bsd_util.c"
 var $43=($41|0)!=($42|0); //@line 236 "../src/h264bsd_util.c"
 var $45=$43;label=10;break;
 case 10: 
 var $45;
 if($45){label=11;break;}else{label=12;break;}
 case 11: 
 var $47=$i; //@line 238 "../src/h264bsd_util.c"
 var $48=((($47)+(1))|0); //@line 238 "../src/h264bsd_util.c"
 $i=$48; //@line 238 "../src/h264bsd_util.c"
 var $49=$i; //@line 239 "../src/h264bsd_util.c"
 var $50=$1; //@line 239 "../src/h264bsd_util.c"
 var $51=(($50+($49<<2))|0); //@line 239 "../src/h264bsd_util.c"
 var $52=HEAP32[(($51)>>2)]; //@line 239 "../src/h264bsd_util.c"
 $tmp=$52; //@line 239 "../src/h264bsd_util.c"
 label=8;break; //@line 240 "../src/h264bsd_util.c"
 case 12: 
 var $54=$i; //@line 242 "../src/h264bsd_util.c"
 var $55=$2; //@line 242 "../src/h264bsd_util.c"
 var $56=($54|0)==($55|0); //@line 242 "../src/h264bsd_util.c"
 if($56){label=13;break;}else{label=14;break;} //@line 242 "../src/h264bsd_util.c"
 case 13: 
 $i=0; //@line 243 "../src/h264bsd_util.c"
 label=14;break; //@line 243 "../src/h264bsd_util.c"
 case 14: 
 var $59=$i; //@line 245 "../src/h264bsd_util.c"
 STACKTOP=sp;return $59; //@line 245 "../src/h264bsd_util.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdSetCurrImageMbPointers($image,$mbNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 var $1;
 var $2;
 var $width;
 var $height;
 var $picSize;
 var $row;
 var $col;
 var $tmp;
 $1=$image;
 $2=$mbNum;
 var $3=$1; //@line 274 "../src/h264bsd_util.c"
 var $4=(($3+4)|0); //@line 274 "../src/h264bsd_util.c"
 var $5=HEAP32[(($4)>>2)]; //@line 274 "../src/h264bsd_util.c"
 $width=$5; //@line 274 "../src/h264bsd_util.c"
 var $6=$1; //@line 275 "../src/h264bsd_util.c"
 var $7=(($6+8)|0); //@line 275 "../src/h264bsd_util.c"
 var $8=HEAP32[(($7)>>2)]; //@line 275 "../src/h264bsd_util.c"
 $height=$8; //@line 275 "../src/h264bsd_util.c"
 var $9=$2; //@line 276 "../src/h264bsd_util.c"
 var $10=$width; //@line 276 "../src/h264bsd_util.c"
 var $11=(((($9>>>0))/(($10>>>0)))&-1); //@line 276 "../src/h264bsd_util.c"
 $row=$11; //@line 276 "../src/h264bsd_util.c"
 var $12=$2; //@line 277 "../src/h264bsd_util.c"
 var $13=$width; //@line 277 "../src/h264bsd_util.c"
 var $14=(((($12>>>0))%(($13>>>0)))&-1); //@line 277 "../src/h264bsd_util.c"
 $col=$14; //@line 277 "../src/h264bsd_util.c"
 var $15=$row; //@line 279 "../src/h264bsd_util.c"
 var $16=$width; //@line 279 "../src/h264bsd_util.c"
 var $17=(Math_imul($15,$16)|0); //@line 279 "../src/h264bsd_util.c"
 $tmp=$17; //@line 279 "../src/h264bsd_util.c"
 var $18=$width; //@line 280 "../src/h264bsd_util.c"
 var $19=$height; //@line 280 "../src/h264bsd_util.c"
 var $20=(Math_imul($18,$19)|0); //@line 280 "../src/h264bsd_util.c"
 $picSize=$20; //@line 280 "../src/h264bsd_util.c"
 var $21=$1; //@line 282 "../src/h264bsd_util.c"
 var $22=(($21)|0); //@line 282 "../src/h264bsd_util.c"
 var $23=HEAP32[(($22)>>2)]; //@line 282 "../src/h264bsd_util.c"
 var $24=$col; //@line 282 "../src/h264bsd_util.c"
 var $25=($24<<4); //@line 282 "../src/h264bsd_util.c"
 var $26=(($23+$25)|0); //@line 282 "../src/h264bsd_util.c"
 var $27=$tmp; //@line 282 "../src/h264bsd_util.c"
 var $28=($27<<8); //@line 282 "../src/h264bsd_util.c"
 var $29=(($26+$28)|0); //@line 282 "../src/h264bsd_util.c"
 var $30=$1; //@line 282 "../src/h264bsd_util.c"
 var $31=(($30+12)|0); //@line 282 "../src/h264bsd_util.c"
 HEAP32[(($31)>>2)]=$29; //@line 282 "../src/h264bsd_util.c"
 var $32=$1; //@line 283 "../src/h264bsd_util.c"
 var $33=(($32)|0); //@line 283 "../src/h264bsd_util.c"
 var $34=HEAP32[(($33)>>2)]; //@line 283 "../src/h264bsd_util.c"
 var $35=$picSize; //@line 283 "../src/h264bsd_util.c"
 var $36=($35<<8); //@line 283 "../src/h264bsd_util.c"
 var $37=(($34+$36)|0); //@line 283 "../src/h264bsd_util.c"
 var $38=$tmp; //@line 283 "../src/h264bsd_util.c"
 var $39=($38<<6); //@line 283 "../src/h264bsd_util.c"
 var $40=(($37+$39)|0); //@line 283 "../src/h264bsd_util.c"
 var $41=$col; //@line 283 "../src/h264bsd_util.c"
 var $42=($41<<3); //@line 283 "../src/h264bsd_util.c"
 var $43=(($40+$42)|0); //@line 283 "../src/h264bsd_util.c"
 var $44=$1; //@line 283 "../src/h264bsd_util.c"
 var $45=(($44+16)|0); //@line 283 "../src/h264bsd_util.c"
 HEAP32[(($45)>>2)]=$43; //@line 283 "../src/h264bsd_util.c"
 var $46=$1; //@line 284 "../src/h264bsd_util.c"
 var $47=(($46+16)|0); //@line 284 "../src/h264bsd_util.c"
 var $48=HEAP32[(($47)>>2)]; //@line 284 "../src/h264bsd_util.c"
 var $49=$picSize; //@line 284 "../src/h264bsd_util.c"
 var $50=($49<<6); //@line 284 "../src/h264bsd_util.c"
 var $51=(($48+$50)|0); //@line 284 "../src/h264bsd_util.c"
 var $52=$1; //@line 284 "../src/h264bsd_util.c"
 var $53=(($52+20)|0); //@line 284 "../src/h264bsd_util.c"
 HEAP32[(($53)>>2)]=$51; //@line 284 "../src/h264bsd_util.c"
 STACKTOP=sp;return; //@line 285 "../src/h264bsd_util.c"
}
function _h264bsdDecodeExpGolombUnsigned($pStrmData,$codeNum){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $bits;
 var $numZeros;
 $2=$pStrmData;
 $3=$codeNum;
 var $4=$2; //@line 114 "../src/h264bsd_vlc.c"
 var $5=($4|0)!=0; //@line 114 "../src/h264bsd_vlc.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 114 "../src/h264bsd_vlc.c"
 case 2: 
 ___assert_fail(6704,10464,114,14400); //@line 114 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 114 "../src/h264bsd_vlc.c"
 label=3;break; //@line 114 "../src/h264bsd_vlc.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 114 "../src/h264bsd_vlc.c"
 var $11=$3; //@line 115 "../src/h264bsd_vlc.c"
 var $12=($11|0)!=0; //@line 115 "../src/h264bsd_vlc.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 115 "../src/h264bsd_vlc.c"
 case 4: 
 ___assert_fail(8744,10464,115,14400); //@line 115 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 115 "../src/h264bsd_vlc.c"
 label=5;break; //@line 115 "../src/h264bsd_vlc.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 115 "../src/h264bsd_vlc.c"
 var $18=$2; //@line 117 "../src/h264bsd_vlc.c"
 var $19=_h264bsdShowBits32($18); //@line 117 "../src/h264bsd_vlc.c"
 $bits=$19; //@line 117 "../src/h264bsd_vlc.c"
 var $20=$bits; //@line 120 "../src/h264bsd_vlc.c"
 var $21=($20>>>0)>=2147483648; //@line 120 "../src/h264bsd_vlc.c"
 if($21){label=6;break;}else{label=7;break;} //@line 120 "../src/h264bsd_vlc.c"
 case 6: 
 var $23=$2; //@line 122 "../src/h264bsd_vlc.c"
 var $24=_h264bsdFlushBits($23,1); //@line 122 "../src/h264bsd_vlc.c"
 var $25=$3; //@line 123 "../src/h264bsd_vlc.c"
 HEAP32[(($25)>>2)]=0; //@line 123 "../src/h264bsd_vlc.c"
 $1=0; //@line 124 "../src/h264bsd_vlc.c"
 label=38;break; //@line 124 "../src/h264bsd_vlc.c"
 case 7: 
 var $27=$bits; //@line 127 "../src/h264bsd_vlc.c"
 var $28=($27>>>0)>=1073741824; //@line 127 "../src/h264bsd_vlc.c"
 if($28){label=8;break;}else{label=11;break;} //@line 127 "../src/h264bsd_vlc.c"
 case 8: 
 var $30=$2; //@line 129 "../src/h264bsd_vlc.c"
 var $31=_h264bsdFlushBits($30,3); //@line 129 "../src/h264bsd_vlc.c"
 var $32=($31|0)==-1; //@line 129 "../src/h264bsd_vlc.c"
 if($32){label=9;break;}else{label=10;break;} //@line 129 "../src/h264bsd_vlc.c"
 case 9: 
 $1=1; //@line 130 "../src/h264bsd_vlc.c"
 label=38;break; //@line 130 "../src/h264bsd_vlc.c"
 case 10: 
 var $35=$bits; //@line 131 "../src/h264bsd_vlc.c"
 var $36=$35>>>29; //@line 131 "../src/h264bsd_vlc.c"
 var $37=$36&1; //@line 131 "../src/h264bsd_vlc.c"
 var $38=((($37)+(1))|0); //@line 131 "../src/h264bsd_vlc.c"
 var $39=$3; //@line 131 "../src/h264bsd_vlc.c"
 HEAP32[(($39)>>2)]=$38; //@line 131 "../src/h264bsd_vlc.c"
 $1=0; //@line 132 "../src/h264bsd_vlc.c"
 label=38;break; //@line 132 "../src/h264bsd_vlc.c"
 case 11: 
 var $41=$bits; //@line 135 "../src/h264bsd_vlc.c"
 var $42=($41>>>0)>=536870912; //@line 135 "../src/h264bsd_vlc.c"
 if($42){label=12;break;}else{label=15;break;} //@line 135 "../src/h264bsd_vlc.c"
 case 12: 
 var $44=$2; //@line 137 "../src/h264bsd_vlc.c"
 var $45=_h264bsdFlushBits($44,5); //@line 137 "../src/h264bsd_vlc.c"
 var $46=($45|0)==-1; //@line 137 "../src/h264bsd_vlc.c"
 if($46){label=13;break;}else{label=14;break;} //@line 137 "../src/h264bsd_vlc.c"
 case 13: 
 $1=1; //@line 138 "../src/h264bsd_vlc.c"
 label=38;break; //@line 138 "../src/h264bsd_vlc.c"
 case 14: 
 var $49=$bits; //@line 139 "../src/h264bsd_vlc.c"
 var $50=$49>>>27; //@line 139 "../src/h264bsd_vlc.c"
 var $51=$50&3; //@line 139 "../src/h264bsd_vlc.c"
 var $52=((($51)+(3))|0); //@line 139 "../src/h264bsd_vlc.c"
 var $53=$3; //@line 139 "../src/h264bsd_vlc.c"
 HEAP32[(($53)>>2)]=$52; //@line 139 "../src/h264bsd_vlc.c"
 $1=0; //@line 140 "../src/h264bsd_vlc.c"
 label=38;break; //@line 140 "../src/h264bsd_vlc.c"
 case 15: 
 var $55=$bits; //@line 143 "../src/h264bsd_vlc.c"
 var $56=($55>>>0)>=268435456; //@line 143 "../src/h264bsd_vlc.c"
 if($56){label=16;break;}else{label=19;break;} //@line 143 "../src/h264bsd_vlc.c"
 case 16: 
 var $58=$2; //@line 145 "../src/h264bsd_vlc.c"
 var $59=_h264bsdFlushBits($58,7); //@line 145 "../src/h264bsd_vlc.c"
 var $60=($59|0)==-1; //@line 145 "../src/h264bsd_vlc.c"
 if($60){label=17;break;}else{label=18;break;} //@line 145 "../src/h264bsd_vlc.c"
 case 17: 
 $1=1; //@line 146 "../src/h264bsd_vlc.c"
 label=38;break; //@line 146 "../src/h264bsd_vlc.c"
 case 18: 
 var $63=$bits; //@line 147 "../src/h264bsd_vlc.c"
 var $64=$63>>>25; //@line 147 "../src/h264bsd_vlc.c"
 var $65=$64&7; //@line 147 "../src/h264bsd_vlc.c"
 var $66=((($65)+(7))|0); //@line 147 "../src/h264bsd_vlc.c"
 var $67=$3; //@line 147 "../src/h264bsd_vlc.c"
 HEAP32[(($67)>>2)]=$66; //@line 147 "../src/h264bsd_vlc.c"
 $1=0; //@line 148 "../src/h264bsd_vlc.c"
 label=38;break; //@line 148 "../src/h264bsd_vlc.c"
 case 19: 
 var $69=$bits; //@line 154 "../src/h264bsd_vlc.c"
 var $70=_h264bsdCountLeadingZeros($69,28); //@line 154 "../src/h264bsd_vlc.c"
 var $71=((($70)+(4))|0); //@line 154 "../src/h264bsd_vlc.c"
 $numZeros=$71; //@line 154 "../src/h264bsd_vlc.c"
 var $72=$numZeros; //@line 159 "../src/h264bsd_vlc.c"
 var $73=($72|0)==32; //@line 159 "../src/h264bsd_vlc.c"
 if($73){label=20;break;}else{label=30;break;} //@line 159 "../src/h264bsd_vlc.c"
 case 20: 
 var $75=$3; //@line 161 "../src/h264bsd_vlc.c"
 HEAP32[(($75)>>2)]=0; //@line 161 "../src/h264bsd_vlc.c"
 var $76=$2; //@line 162 "../src/h264bsd_vlc.c"
 var $77=_h264bsdFlushBits($76,32); //@line 162 "../src/h264bsd_vlc.c"
 var $78=$2; //@line 163 "../src/h264bsd_vlc.c"
 var $79=_h264bsdGetBits($78,1); //@line 163 "../src/h264bsd_vlc.c"
 $bits=$79; //@line 163 "../src/h264bsd_vlc.c"
 var $80=$bits; //@line 165 "../src/h264bsd_vlc.c"
 var $81=($80|0)==1; //@line 165 "../src/h264bsd_vlc.c"
 if($81){label=21;break;}else{label=29;break;} //@line 165 "../src/h264bsd_vlc.c"
 case 21: 
 var $83=$2; //@line 168 "../src/h264bsd_vlc.c"
 var $84=_h264bsdShowBits32($83); //@line 168 "../src/h264bsd_vlc.c"
 $bits=$84; //@line 168 "../src/h264bsd_vlc.c"
 var $85=$2; //@line 169 "../src/h264bsd_vlc.c"
 var $86=_h264bsdFlushBits($85,32); //@line 169 "../src/h264bsd_vlc.c"
 var $87=($86|0)==-1; //@line 169 "../src/h264bsd_vlc.c"
 if($87){label=22;break;}else{label=23;break;} //@line 169 "../src/h264bsd_vlc.c"
 case 22: 
 $1=1; //@line 170 "../src/h264bsd_vlc.c"
 label=38;break; //@line 170 "../src/h264bsd_vlc.c"
 case 23: 
 var $90=$bits; //@line 172 "../src/h264bsd_vlc.c"
 var $91=($90|0)==0; //@line 172 "../src/h264bsd_vlc.c"
 if($91){label=24;break;}else{label=25;break;} //@line 172 "../src/h264bsd_vlc.c"
 case 24: 
 var $93=$3; //@line 174 "../src/h264bsd_vlc.c"
 HEAP32[(($93)>>2)]=-1; //@line 174 "../src/h264bsd_vlc.c"
 $1=0; //@line 175 "../src/h264bsd_vlc.c"
 label=38;break; //@line 175 "../src/h264bsd_vlc.c"
 case 25: 
 var $95=$bits; //@line 179 "../src/h264bsd_vlc.c"
 var $96=($95|0)==1; //@line 179 "../src/h264bsd_vlc.c"
 if($96){label=26;break;}else{label=27;break;} //@line 179 "../src/h264bsd_vlc.c"
 case 26: 
 var $98=$3; //@line 181 "../src/h264bsd_vlc.c"
 HEAP32[(($98)>>2)]=-1; //@line 181 "../src/h264bsd_vlc.c"
 $1=1; //@line 182 "../src/h264bsd_vlc.c"
 label=38;break; //@line 182 "../src/h264bsd_vlc.c"
 case 27: 
 label=28;break;
 case 28: 
 label=29;break; //@line 184 "../src/h264bsd_vlc.c"
 case 29: 
 $1=1; //@line 186 "../src/h264bsd_vlc.c"
 label=38;break; //@line 186 "../src/h264bsd_vlc.c"
 case 30: 
 var $103=$2; //@line 189 "../src/h264bsd_vlc.c"
 var $104=$numZeros; //@line 189 "../src/h264bsd_vlc.c"
 var $105=((($104)+(1))|0); //@line 189 "../src/h264bsd_vlc.c"
 var $106=_h264bsdFlushBits($103,$105); //@line 189 "../src/h264bsd_vlc.c"
 label=31;break;
 case 31: 
 var $108=$2; //@line 191 "../src/h264bsd_vlc.c"
 var $109=$numZeros; //@line 191 "../src/h264bsd_vlc.c"
 var $110=_h264bsdGetBits($108,$109); //@line 191 "../src/h264bsd_vlc.c"
 $bits=$110; //@line 191 "../src/h264bsd_vlc.c"
 var $111=$bits; //@line 192 "../src/h264bsd_vlc.c"
 var $112=($111|0)==-1; //@line 192 "../src/h264bsd_vlc.c"
 if($112){label=32;break;}else{label=33;break;} //@line 192 "../src/h264bsd_vlc.c"
 case 32: 
 $1=1; //@line 193 "../src/h264bsd_vlc.c"
 label=38;break; //@line 193 "../src/h264bsd_vlc.c"
 case 33: 
 var $115=$numZeros; //@line 195 "../src/h264bsd_vlc.c"
 var $116=1<<$115; //@line 195 "../src/h264bsd_vlc.c"
 var $117=((($116)-(1))|0); //@line 195 "../src/h264bsd_vlc.c"
 var $118=$bits; //@line 195 "../src/h264bsd_vlc.c"
 var $119=((($117)+($118))|0); //@line 195 "../src/h264bsd_vlc.c"
 var $120=$3; //@line 195 "../src/h264bsd_vlc.c"
 HEAP32[(($120)>>2)]=$119; //@line 195 "../src/h264bsd_vlc.c"
 label=34;break;
 case 34: 
 label=35;break;
 case 35: 
 label=36;break;
 case 36: 
 label=37;break;
 case 37: 
 $1=0; //@line 199 "../src/h264bsd_vlc.c"
 label=38;break; //@line 199 "../src/h264bsd_vlc.c"
 case 38: 
 var $126=$1; //@line 201 "../src/h264bsd_vlc.c"
 STACKTOP=sp;return $126; //@line 201 "../src/h264bsd_vlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeExpGolombSigned($pStrmData,$value){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+8)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $status;
 var $codeNum=sp;
 $2=$pStrmData;
 $3=$value;
 HEAP32[(($codeNum)>>2)]=0; //@line 237 "../src/h264bsd_vlc.c"
 var $4=$2; //@line 241 "../src/h264bsd_vlc.c"
 var $5=($4|0)!=0; //@line 241 "../src/h264bsd_vlc.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 241 "../src/h264bsd_vlc.c"
 case 2: 
 ___assert_fail(6704,10464,241,14464); //@line 241 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 241 "../src/h264bsd_vlc.c"
 label=3;break; //@line 241 "../src/h264bsd_vlc.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 241 "../src/h264bsd_vlc.c"
 var $11=$3; //@line 242 "../src/h264bsd_vlc.c"
 var $12=($11|0)!=0; //@line 242 "../src/h264bsd_vlc.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 242 "../src/h264bsd_vlc.c"
 case 4: 
 ___assert_fail(7720,10464,242,14464); //@line 242 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 242 "../src/h264bsd_vlc.c"
 label=5;break; //@line 242 "../src/h264bsd_vlc.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 242 "../src/h264bsd_vlc.c"
 var $18=$2; //@line 244 "../src/h264bsd_vlc.c"
 var $19=_h264bsdDecodeExpGolombUnsigned($18,$codeNum); //@line 244 "../src/h264bsd_vlc.c"
 $status=$19; //@line 244 "../src/h264bsd_vlc.c"
 var $20=HEAP32[(($codeNum)>>2)]; //@line 246 "../src/h264bsd_vlc.c"
 var $21=($20|0)==-1; //@line 246 "../src/h264bsd_vlc.c"
 if($21){label=6;break;}else{label=9;break;} //@line 246 "../src/h264bsd_vlc.c"
 case 6: 
 var $23=$status; //@line 251 "../src/h264bsd_vlc.c"
 var $24=($23|0)==0; //@line 251 "../src/h264bsd_vlc.c"
 if($24){label=7;break;}else{label=8;break;} //@line 251 "../src/h264bsd_vlc.c"
 case 7: 
 $1=1; //@line 252 "../src/h264bsd_vlc.c"
 label=16;break; //@line 252 "../src/h264bsd_vlc.c"
 case 8: 
 var $27=$3; //@line 257 "../src/h264bsd_vlc.c"
 HEAP32[(($27)>>2)]=-2147483648; //@line 257 "../src/h264bsd_vlc.c"
 $1=0; //@line 258 "../src/h264bsd_vlc.c"
 label=16;break; //@line 258 "../src/h264bsd_vlc.c"
 case 9: 
 var $29=$status; //@line 261 "../src/h264bsd_vlc.c"
 var $30=($29|0)==0; //@line 261 "../src/h264bsd_vlc.c"
 if($30){label=10;break;}else{label=14;break;} //@line 261 "../src/h264bsd_vlc.c"
 case 10: 
 var $32=HEAP32[(($codeNum)>>2)]; //@line 268 "../src/h264bsd_vlc.c"
 var $33=$32&1; //@line 268 "../src/h264bsd_vlc.c"
 var $34=($33|0)!=0; //@line 268 "../src/h264bsd_vlc.c"
 if($34){label=11;break;}else{label=12;break;} //@line 268 "../src/h264bsd_vlc.c"
 case 11: 
 var $36=HEAP32[(($codeNum)>>2)]; //@line 268 "../src/h264bsd_vlc.c"
 var $37=((($36)+(1))|0); //@line 268 "../src/h264bsd_vlc.c"
 var $38=$37>>>1; //@line 268 "../src/h264bsd_vlc.c"
 var $45=$38;label=13;break; //@line 268 "../src/h264bsd_vlc.c"
 case 12: 
 var $40=HEAP32[(($codeNum)>>2)]; //@line 268 "../src/h264bsd_vlc.c"
 var $41=((($40)+(1))|0); //@line 268 "../src/h264bsd_vlc.c"
 var $42=$41>>>1; //@line 268 "../src/h264bsd_vlc.c"
 var $43=(((-$42))|0); //@line 268 "../src/h264bsd_vlc.c"
 var $45=$43;label=13;break; //@line 268 "../src/h264bsd_vlc.c"
 case 13: 
 var $45; //@line 268 "../src/h264bsd_vlc.c"
 var $46=$3; //@line 268 "../src/h264bsd_vlc.c"
 HEAP32[(($46)>>2)]=$45; //@line 268 "../src/h264bsd_vlc.c"
 $1=0; //@line 271 "../src/h264bsd_vlc.c"
 label=16;break; //@line 271 "../src/h264bsd_vlc.c"
 case 14: 
 label=15;break;
 case 15: 
 $1=1; //@line 274 "../src/h264bsd_vlc.c"
 label=16;break; //@line 274 "../src/h264bsd_vlc.c"
 case 16: 
 var $50=$1; //@line 276 "../src/h264bsd_vlc.c"
 STACKTOP=sp;return $50; //@line 276 "../src/h264bsd_vlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeExpGolombMapped($pStrmData,$value,$isIntra){
 var label=0;
 var sp=STACKTOP;STACKTOP=(STACKTOP+8)|0; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 var $status;
 var $codeNum=sp;
 $2=$pStrmData;
 $3=$value;
 $4=$isIntra;
 var $5=$2; //@line 312 "../src/h264bsd_vlc.c"
 var $6=($5|0)!=0; //@line 312 "../src/h264bsd_vlc.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 312 "../src/h264bsd_vlc.c"
 case 2: 
 ___assert_fail(6704,10464,312,14496); //@line 312 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 312 "../src/h264bsd_vlc.c"
 label=3;break; //@line 312 "../src/h264bsd_vlc.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 312 "../src/h264bsd_vlc.c"
 var $12=$3; //@line 313 "../src/h264bsd_vlc.c"
 var $13=($12|0)!=0; //@line 313 "../src/h264bsd_vlc.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 313 "../src/h264bsd_vlc.c"
 case 4: 
 ___assert_fail(7720,10464,313,14496); //@line 313 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 313 "../src/h264bsd_vlc.c"
 label=5;break; //@line 313 "../src/h264bsd_vlc.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 313 "../src/h264bsd_vlc.c"
 var $19=$2; //@line 315 "../src/h264bsd_vlc.c"
 var $20=_h264bsdDecodeExpGolombUnsigned($19,$codeNum); //@line 315 "../src/h264bsd_vlc.c"
 $status=$20; //@line 315 "../src/h264bsd_vlc.c"
 var $21=$status; //@line 317 "../src/h264bsd_vlc.c"
 var $22=($21|0)!=0; //@line 317 "../src/h264bsd_vlc.c"
 if($22){label=6;break;}else{label=7;break;} //@line 317 "../src/h264bsd_vlc.c"
 case 6: 
 $1=1; //@line 318 "../src/h264bsd_vlc.c"
 label=13;break; //@line 318 "../src/h264bsd_vlc.c"
 case 7: 
 var $25=HEAP32[(($codeNum)>>2)]; //@line 322 "../src/h264bsd_vlc.c"
 var $26=($25>>>0)>47; //@line 322 "../src/h264bsd_vlc.c"
 if($26){label=8;break;}else{label=9;break;} //@line 322 "../src/h264bsd_vlc.c"
 case 8: 
 $1=1; //@line 323 "../src/h264bsd_vlc.c"
 label=13;break; //@line 323 "../src/h264bsd_vlc.c"
 case 9: 
 var $29=$4; //@line 324 "../src/h264bsd_vlc.c"
 var $30=($29|0)!=0; //@line 324 "../src/h264bsd_vlc.c"
 if($30){label=10;break;}else{label=11;break;} //@line 324 "../src/h264bsd_vlc.c"
 case 10: 
 var $32=HEAP32[(($codeNum)>>2)]; //@line 325 "../src/h264bsd_vlc.c"
 var $33=((4144+$32)|0); //@line 325 "../src/h264bsd_vlc.c"
 var $34=HEAP8[($33)]; //@line 325 "../src/h264bsd_vlc.c"
 var $35=($34&255); //@line 325 "../src/h264bsd_vlc.c"
 var $36=$3; //@line 325 "../src/h264bsd_vlc.c"
 HEAP32[(($36)>>2)]=$35; //@line 325 "../src/h264bsd_vlc.c"
 label=12;break; //@line 325 "../src/h264bsd_vlc.c"
 case 11: 
 var $38=HEAP32[(($codeNum)>>2)]; //@line 327 "../src/h264bsd_vlc.c"
 var $39=((4192+$38)|0); //@line 327 "../src/h264bsd_vlc.c"
 var $40=HEAP8[($39)]; //@line 327 "../src/h264bsd_vlc.c"
 var $41=($40&255); //@line 327 "../src/h264bsd_vlc.c"
 var $42=$3; //@line 327 "../src/h264bsd_vlc.c"
 HEAP32[(($42)>>2)]=$41; //@line 327 "../src/h264bsd_vlc.c"
 label=12;break;
 case 12: 
 $1=0; //@line 328 "../src/h264bsd_vlc.c"
 label=13;break; //@line 328 "../src/h264bsd_vlc.c"
 case 13: 
 var $45=$1; //@line 331 "../src/h264bsd_vlc.c"
 STACKTOP=sp;return $45; //@line 331 "../src/h264bsd_vlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeExpGolombTruncated($pStrmData,$value,$greaterThanOne){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $4;
 $2=$pStrmData;
 $3=$value;
 $4=$greaterThanOne;
 var $5=$2; //@line 375 "../src/h264bsd_vlc.c"
 var $6=($5|0)!=0; //@line 375 "../src/h264bsd_vlc.c"
 if($6){var $10=0;label=3;break;}else{label=2;break;} //@line 375 "../src/h264bsd_vlc.c"
 case 2: 
 ___assert_fail(6704,10464,375,14432); //@line 375 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 375 "../src/h264bsd_vlc.c"
 label=3;break; //@line 375 "../src/h264bsd_vlc.c"
 case 3: 
 var $10;
 var $11=($10&1); //@line 375 "../src/h264bsd_vlc.c"
 var $12=$3; //@line 376 "../src/h264bsd_vlc.c"
 var $13=($12|0)!=0; //@line 376 "../src/h264bsd_vlc.c"
 if($13){var $17=1;label=5;break;}else{label=4;break;} //@line 376 "../src/h264bsd_vlc.c"
 case 4: 
 ___assert_fail(7720,10464,376,14432); //@line 376 "../src/h264bsd_vlc.c"
 throw "Reached an unreachable!"; //@line 376 "../src/h264bsd_vlc.c"
 label=5;break; //@line 376 "../src/h264bsd_vlc.c"
 case 5: 
 var $17;
 var $18=($17&1); //@line 376 "../src/h264bsd_vlc.c"
 var $19=$4; //@line 378 "../src/h264bsd_vlc.c"
 var $20=($19|0)!=0; //@line 378 "../src/h264bsd_vlc.c"
 if($20){label=6;break;}else{label=7;break;} //@line 378 "../src/h264bsd_vlc.c"
 case 6: 
 var $22=$2; //@line 380 "../src/h264bsd_vlc.c"
 var $23=$3; //@line 380 "../src/h264bsd_vlc.c"
 var $24=_h264bsdDecodeExpGolombUnsigned($22,$23); //@line 380 "../src/h264bsd_vlc.c"
 $1=$24; //@line 380 "../src/h264bsd_vlc.c"
 label=11;break; //@line 380 "../src/h264bsd_vlc.c"
 case 7: 
 var $26=$2; //@line 384 "../src/h264bsd_vlc.c"
 var $27=_h264bsdGetBits($26,1); //@line 384 "../src/h264bsd_vlc.c"
 var $28=$3; //@line 384 "../src/h264bsd_vlc.c"
 HEAP32[(($28)>>2)]=$27; //@line 384 "../src/h264bsd_vlc.c"
 var $29=$3; //@line 385 "../src/h264bsd_vlc.c"
 var $30=HEAP32[(($29)>>2)]; //@line 385 "../src/h264bsd_vlc.c"
 var $31=($30|0)==-1; //@line 385 "../src/h264bsd_vlc.c"
 if($31){label=8;break;}else{label=9;break;} //@line 385 "../src/h264bsd_vlc.c"
 case 8: 
 $1=1; //@line 386 "../src/h264bsd_vlc.c"
 label=11;break; //@line 386 "../src/h264bsd_vlc.c"
 case 9: 
 var $34=$3; //@line 387 "../src/h264bsd_vlc.c"
 var $35=HEAP32[(($34)>>2)]; //@line 387 "../src/h264bsd_vlc.c"
 var $36=$35^1; //@line 387 "../src/h264bsd_vlc.c"
 HEAP32[(($34)>>2)]=$36; //@line 387 "../src/h264bsd_vlc.c"
 label=10;break;
 case 10: 
 $1=0; //@line 390 "../src/h264bsd_vlc.c"
 label=11;break; //@line 390 "../src/h264bsd_vlc.c"
 case 11: 
 var $39=$1; //@line 392 "../src/h264bsd_vlc.c"
 STACKTOP=sp;return $39; //@line 392 "../src/h264bsd_vlc.c"
  default: assert(0, "bad label: " + label);
 }
}
function _h264bsdDecodeVuiParameters($pStrmData,$pVuiParameters){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 $2=$pStrmData;
 $3=$pVuiParameters;
 var $4=$2; //@line 92 "../src/h264bsd_vui.c"
 var $5=($4|0)!=0; //@line 92 "../src/h264bsd_vui.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 92 "../src/h264bsd_vui.c"
 case 2: 
 ___assert_fail(6656,10408,92,14072); //@line 92 "../src/h264bsd_vui.c"
 throw "Reached an unreachable!"; //@line 92 "../src/h264bsd_vui.c"
 label=3;break; //@line 92 "../src/h264bsd_vui.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 92 "../src/h264bsd_vui.c"
 var $11=$3; //@line 93 "../src/h264bsd_vui.c"
 var $12=($11|0)!=0; //@line 93 "../src/h264bsd_vui.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 93 "../src/h264bsd_vui.c"
 case 4: 
 ___assert_fail(8728,10408,93,14072); //@line 93 "../src/h264bsd_vui.c"
 throw "Reached an unreachable!"; //@line 93 "../src/h264bsd_vui.c"
 label=5;break; //@line 93 "../src/h264bsd_vui.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 93 "../src/h264bsd_vui.c"
 var $18=$3; //@line 95 "../src/h264bsd_vui.c"
 var $19=$18; //@line 95 "../src/h264bsd_vui.c"
 _memset($19, 0, 952)|0; //@line 95 "../src/h264bsd_vui.c"
 var $20=$2; //@line 97 "../src/h264bsd_vui.c"
 var $21=_h264bsdGetBits($20,1); //@line 97 "../src/h264bsd_vui.c"
 $tmp=$21; //@line 97 "../src/h264bsd_vui.c"
 var $22=$tmp; //@line 98 "../src/h264bsd_vui.c"
 var $23=($22|0)==-1; //@line 98 "../src/h264bsd_vui.c"
 if($23){label=6;break;}else{label=7;break;} //@line 98 "../src/h264bsd_vui.c"
 case 6: 
 $1=1; //@line 99 "../src/h264bsd_vui.c"
 label=118;break; //@line 99 "../src/h264bsd_vui.c"
 case 7: 
 var $26=$tmp; //@line 100 "../src/h264bsd_vui.c"
 var $27=($26|0)==1; //@line 100 "../src/h264bsd_vui.c"
 var $28=($27?1:0); //@line 100 "../src/h264bsd_vui.c"
 var $29=$3; //@line 100 "../src/h264bsd_vui.c"
 var $30=(($29)|0); //@line 100 "../src/h264bsd_vui.c"
 HEAP32[(($30)>>2)]=$28; //@line 100 "../src/h264bsd_vui.c"
 var $31=$3; //@line 103 "../src/h264bsd_vui.c"
 var $32=(($31)|0); //@line 103 "../src/h264bsd_vui.c"
 var $33=HEAP32[(($32)>>2)]; //@line 103 "../src/h264bsd_vui.c"
 var $34=($33|0)!=0; //@line 103 "../src/h264bsd_vui.c"
 if($34){label=8;break;}else{label=17;break;} //@line 103 "../src/h264bsd_vui.c"
 case 8: 
 var $36=$2; //@line 105 "../src/h264bsd_vui.c"
 var $37=_h264bsdGetBits($36,8); //@line 105 "../src/h264bsd_vui.c"
 $tmp=$37; //@line 105 "../src/h264bsd_vui.c"
 var $38=$tmp; //@line 106 "../src/h264bsd_vui.c"
 var $39=($38|0)==-1; //@line 106 "../src/h264bsd_vui.c"
 if($39){label=9;break;}else{label=10;break;} //@line 106 "../src/h264bsd_vui.c"
 case 9: 
 $1=1; //@line 107 "../src/h264bsd_vui.c"
 label=118;break; //@line 107 "../src/h264bsd_vui.c"
 case 10: 
 var $42=$tmp; //@line 108 "../src/h264bsd_vui.c"
 var $43=$3; //@line 108 "../src/h264bsd_vui.c"
 var $44=(($43+4)|0); //@line 108 "../src/h264bsd_vui.c"
 HEAP32[(($44)>>2)]=$42; //@line 108 "../src/h264bsd_vui.c"
 var $45=$3; //@line 110 "../src/h264bsd_vui.c"
 var $46=(($45+4)|0); //@line 110 "../src/h264bsd_vui.c"
 var $47=HEAP32[(($46)>>2)]; //@line 110 "../src/h264bsd_vui.c"
 var $48=($47|0)==255; //@line 110 "../src/h264bsd_vui.c"
 if($48){label=11;break;}else{label=16;break;} //@line 110 "../src/h264bsd_vui.c"
 case 11: 
 var $50=$2; //@line 112 "../src/h264bsd_vui.c"
 var $51=_h264bsdGetBits($50,16); //@line 112 "../src/h264bsd_vui.c"
 $tmp=$51; //@line 112 "../src/h264bsd_vui.c"
 var $52=$tmp; //@line 113 "../src/h264bsd_vui.c"
 var $53=($52|0)==-1; //@line 113 "../src/h264bsd_vui.c"
 if($53){label=12;break;}else{label=13;break;} //@line 113 "../src/h264bsd_vui.c"
 case 12: 
 $1=1; //@line 114 "../src/h264bsd_vui.c"
 label=118;break; //@line 114 "../src/h264bsd_vui.c"
 case 13: 
 var $56=$tmp; //@line 115 "../src/h264bsd_vui.c"
 var $57=$3; //@line 115 "../src/h264bsd_vui.c"
 var $58=(($57+8)|0); //@line 115 "../src/h264bsd_vui.c"
 HEAP32[(($58)>>2)]=$56; //@line 115 "../src/h264bsd_vui.c"
 var $59=$2; //@line 117 "../src/h264bsd_vui.c"
 var $60=_h264bsdGetBits($59,16); //@line 117 "../src/h264bsd_vui.c"
 $tmp=$60; //@line 117 "../src/h264bsd_vui.c"
 var $61=$tmp; //@line 118 "../src/h264bsd_vui.c"
 var $62=($61|0)==-1; //@line 118 "../src/h264bsd_vui.c"
 if($62){label=14;break;}else{label=15;break;} //@line 118 "../src/h264bsd_vui.c"
 case 14: 
 $1=1; //@line 119 "../src/h264bsd_vui.c"
 label=118;break; //@line 119 "../src/h264bsd_vui.c"
 case 15: 
 var $65=$tmp; //@line 120 "../src/h264bsd_vui.c"
 var $66=$3; //@line 120 "../src/h264bsd_vui.c"
 var $67=(($66+12)|0); //@line 120 "../src/h264bsd_vui.c"
 HEAP32[(($67)>>2)]=$65; //@line 120 "../src/h264bsd_vui.c"
 label=16;break; //@line 121 "../src/h264bsd_vui.c"
 case 16: 
 label=17;break; //@line 122 "../src/h264bsd_vui.c"
 case 17: 
 var $70=$2; //@line 124 "../src/h264bsd_vui.c"
 var $71=_h264bsdGetBits($70,1); //@line 124 "../src/h264bsd_vui.c"
 $tmp=$71; //@line 124 "../src/h264bsd_vui.c"
 var $72=$tmp; //@line 125 "../src/h264bsd_vui.c"
 var $73=($72|0)==-1; //@line 125 "../src/h264bsd_vui.c"
 if($73){label=18;break;}else{label=19;break;} //@line 125 "../src/h264bsd_vui.c"
 case 18: 
 $1=1; //@line 126 "../src/h264bsd_vui.c"
 label=118;break; //@line 126 "../src/h264bsd_vui.c"
 case 19: 
 var $76=$tmp; //@line 127 "../src/h264bsd_vui.c"
 var $77=($76|0)==1; //@line 127 "../src/h264bsd_vui.c"
 var $78=($77?1:0); //@line 127 "../src/h264bsd_vui.c"
 var $79=$3; //@line 127 "../src/h264bsd_vui.c"
 var $80=(($79+16)|0); //@line 127 "../src/h264bsd_vui.c"
 HEAP32[(($80)>>2)]=$78; //@line 127 "../src/h264bsd_vui.c"
 var $81=$3; //@line 130 "../src/h264bsd_vui.c"
 var $82=(($81+16)|0); //@line 130 "../src/h264bsd_vui.c"
 var $83=HEAP32[(($82)>>2)]; //@line 130 "../src/h264bsd_vui.c"
 var $84=($83|0)!=0; //@line 130 "../src/h264bsd_vui.c"
 if($84){label=20;break;}else{label=23;break;} //@line 130 "../src/h264bsd_vui.c"
 case 20: 
 var $86=$2; //@line 132 "../src/h264bsd_vui.c"
 var $87=_h264bsdGetBits($86,1); //@line 132 "../src/h264bsd_vui.c"
 $tmp=$87; //@line 132 "../src/h264bsd_vui.c"
 var $88=$tmp; //@line 133 "../src/h264bsd_vui.c"
 var $89=($88|0)==-1; //@line 133 "../src/h264bsd_vui.c"
 if($89){label=21;break;}else{label=22;break;} //@line 133 "../src/h264bsd_vui.c"
 case 21: 
 $1=1; //@line 134 "../src/h264bsd_vui.c"
 label=118;break; //@line 134 "../src/h264bsd_vui.c"
 case 22: 
 var $92=$tmp; //@line 135 "../src/h264bsd_vui.c"
 var $93=($92|0)==1; //@line 135 "../src/h264bsd_vui.c"
 var $94=($93?1:0); //@line 135 "../src/h264bsd_vui.c"
 var $95=$3; //@line 135 "../src/h264bsd_vui.c"
 var $96=(($95+20)|0); //@line 135 "../src/h264bsd_vui.c"
 HEAP32[(($96)>>2)]=$94; //@line 135 "../src/h264bsd_vui.c"
 label=23;break; //@line 137 "../src/h264bsd_vui.c"
 case 23: 
 var $98=$2; //@line 139 "../src/h264bsd_vui.c"
 var $99=_h264bsdGetBits($98,1); //@line 139 "../src/h264bsd_vui.c"
 $tmp=$99; //@line 139 "../src/h264bsd_vui.c"
 var $100=$tmp; //@line 140 "../src/h264bsd_vui.c"
 var $101=($100|0)==-1; //@line 140 "../src/h264bsd_vui.c"
 if($101){label=24;break;}else{label=25;break;} //@line 140 "../src/h264bsd_vui.c"
 case 24: 
 $1=1; //@line 141 "../src/h264bsd_vui.c"
 label=118;break; //@line 141 "../src/h264bsd_vui.c"
 case 25: 
 var $104=$tmp; //@line 142 "../src/h264bsd_vui.c"
 var $105=($104|0)==1; //@line 142 "../src/h264bsd_vui.c"
 var $106=($105?1:0); //@line 142 "../src/h264bsd_vui.c"
 var $107=$3; //@line 142 "../src/h264bsd_vui.c"
 var $108=(($107+24)|0); //@line 142 "../src/h264bsd_vui.c"
 HEAP32[(($108)>>2)]=$106; //@line 142 "../src/h264bsd_vui.c"
 var $109=$3; //@line 145 "../src/h264bsd_vui.c"
 var $110=(($109+24)|0); //@line 145 "../src/h264bsd_vui.c"
 var $111=HEAP32[(($110)>>2)]; //@line 145 "../src/h264bsd_vui.c"
 var $112=($111|0)!=0; //@line 145 "../src/h264bsd_vui.c"
 if($112){label=26;break;}else{label=42;break;} //@line 145 "../src/h264bsd_vui.c"
 case 26: 
 var $114=$2; //@line 147 "../src/h264bsd_vui.c"
 var $115=_h264bsdGetBits($114,3); //@line 147 "../src/h264bsd_vui.c"
 $tmp=$115; //@line 147 "../src/h264bsd_vui.c"
 var $116=$tmp; //@line 148 "../src/h264bsd_vui.c"
 var $117=($116|0)==-1; //@line 148 "../src/h264bsd_vui.c"
 if($117){label=27;break;}else{label=28;break;} //@line 148 "../src/h264bsd_vui.c"
 case 27: 
 $1=1; //@line 149 "../src/h264bsd_vui.c"
 label=118;break; //@line 149 "../src/h264bsd_vui.c"
 case 28: 
 var $120=$tmp; //@line 150 "../src/h264bsd_vui.c"
 var $121=$3; //@line 150 "../src/h264bsd_vui.c"
 var $122=(($121+28)|0); //@line 150 "../src/h264bsd_vui.c"
 HEAP32[(($122)>>2)]=$120; //@line 150 "../src/h264bsd_vui.c"
 var $123=$2; //@line 152 "../src/h264bsd_vui.c"
 var $124=_h264bsdGetBits($123,1); //@line 152 "../src/h264bsd_vui.c"
 $tmp=$124; //@line 152 "../src/h264bsd_vui.c"
 var $125=$tmp; //@line 153 "../src/h264bsd_vui.c"
 var $126=($125|0)==-1; //@line 153 "../src/h264bsd_vui.c"
 if($126){label=29;break;}else{label=30;break;} //@line 153 "../src/h264bsd_vui.c"
 case 29: 
 $1=1; //@line 154 "../src/h264bsd_vui.c"
 label=118;break; //@line 154 "../src/h264bsd_vui.c"
 case 30: 
 var $129=$tmp; //@line 155 "../src/h264bsd_vui.c"
 var $130=($129|0)==1; //@line 155 "../src/h264bsd_vui.c"
 var $131=($130?1:0); //@line 155 "../src/h264bsd_vui.c"
 var $132=$3; //@line 155 "../src/h264bsd_vui.c"
 var $133=(($132+32)|0); //@line 155 "../src/h264bsd_vui.c"
 HEAP32[(($133)>>2)]=$131; //@line 155 "../src/h264bsd_vui.c"
 var $134=$2; //@line 158 "../src/h264bsd_vui.c"
 var $135=_h264bsdGetBits($134,1); //@line 158 "../src/h264bsd_vui.c"
 $tmp=$135; //@line 158 "../src/h264bsd_vui.c"
 var $136=$tmp; //@line 159 "../src/h264bsd_vui.c"
 var $137=($136|0)==-1; //@line 159 "../src/h264bsd_vui.c"
 if($137){label=31;break;}else{label=32;break;} //@line 159 "../src/h264bsd_vui.c"
 case 31: 
 $1=1; //@line 160 "../src/h264bsd_vui.c"
 label=118;break; //@line 160 "../src/h264bsd_vui.c"
 case 32: 
 var $140=$tmp; //@line 161 "../src/h264bsd_vui.c"
 var $141=($140|0)==1; //@line 161 "../src/h264bsd_vui.c"
 var $142=($141?1:0); //@line 161 "../src/h264bsd_vui.c"
 var $143=$3; //@line 161 "../src/h264bsd_vui.c"
 var $144=(($143+36)|0); //@line 161 "../src/h264bsd_vui.c"
 HEAP32[(($144)>>2)]=$142; //@line 161 "../src/h264bsd_vui.c"
 var $145=$3; //@line 164 "../src/h264bsd_vui.c"
 var $146=(($145+36)|0); //@line 164 "../src/h264bsd_vui.c"
 var $147=HEAP32[(($146)>>2)]; //@line 164 "../src/h264bsd_vui.c"
 var $148=($147|0)!=0; //@line 164 "../src/h264bsd_vui.c"
 if($148){label=33;break;}else{label=40;break;} //@line 164 "../src/h264bsd_vui.c"
 case 33: 
 var $150=$2; //@line 166 "../src/h264bsd_vui.c"
 var $151=_h264bsdGetBits($150,8); //@line 166 "../src/h264bsd_vui.c"
 $tmp=$151; //@line 166 "../src/h264bsd_vui.c"
 var $152=$tmp; //@line 167 "../src/h264bsd_vui.c"
 var $153=($152|0)==-1; //@line 167 "../src/h264bsd_vui.c"
 if($153){label=34;break;}else{label=35;break;} //@line 167 "../src/h264bsd_vui.c"
 case 34: 
 $1=1; //@line 168 "../src/h264bsd_vui.c"
 label=118;break; //@line 168 "../src/h264bsd_vui.c"
 case 35: 
 var $156=$tmp; //@line 169 "../src/h264bsd_vui.c"
 var $157=$3; //@line 169 "../src/h264bsd_vui.c"
 var $158=(($157+40)|0); //@line 169 "../src/h264bsd_vui.c"
 HEAP32[(($158)>>2)]=$156; //@line 169 "../src/h264bsd_vui.c"
 var $159=$2; //@line 171 "../src/h264bsd_vui.c"
 var $160=_h264bsdGetBits($159,8); //@line 171 "../src/h264bsd_vui.c"
 $tmp=$160; //@line 171 "../src/h264bsd_vui.c"
 var $161=$tmp; //@line 172 "../src/h264bsd_vui.c"
 var $162=($161|0)==-1; //@line 172 "../src/h264bsd_vui.c"
 if($162){label=36;break;}else{label=37;break;} //@line 172 "../src/h264bsd_vui.c"
 case 36: 
 $1=1; //@line 173 "../src/h264bsd_vui.c"
 label=118;break; //@line 173 "../src/h264bsd_vui.c"
 case 37: 
 var $165=$tmp; //@line 174 "../src/h264bsd_vui.c"
 var $166=$3; //@line 174 "../src/h264bsd_vui.c"
 var $167=(($166+44)|0); //@line 174 "../src/h264bsd_vui.c"
 HEAP32[(($167)>>2)]=$165; //@line 174 "../src/h264bsd_vui.c"
 var $168=$2; //@line 176 "../src/h264bsd_vui.c"
 var $169=_h264bsdGetBits($168,8); //@line 176 "../src/h264bsd_vui.c"
 $tmp=$169; //@line 176 "../src/h264bsd_vui.c"
 var $170=$tmp; //@line 177 "../src/h264bsd_vui.c"
 var $171=($170|0)==-1; //@line 177 "../src/h264bsd_vui.c"
 if($171){label=38;break;}else{label=39;break;} //@line 177 "../src/h264bsd_vui.c"
 case 38: 
 $1=1; //@line 178 "../src/h264bsd_vui.c"
 label=118;break; //@line 178 "../src/h264bsd_vui.c"
 case 39: 
 var $174=$tmp; //@line 179 "../src/h264bsd_vui.c"
 var $175=$3; //@line 179 "../src/h264bsd_vui.c"
 var $176=(($175+48)|0); //@line 179 "../src/h264bsd_vui.c"
 HEAP32[(($176)>>2)]=$174; //@line 179 "../src/h264bsd_vui.c"
 label=41;break; //@line 180 "../src/h264bsd_vui.c"
 case 40: 
 var $178=$3; //@line 183 "../src/h264bsd_vui.c"
 var $179=(($178+40)|0); //@line 183 "../src/h264bsd_vui.c"
 HEAP32[(($179)>>2)]=2; //@line 183 "../src/h264bsd_vui.c"
 var $180=$3; //@line 184 "../src/h264bsd_vui.c"
 var $181=(($180+44)|0); //@line 184 "../src/h264bsd_vui.c"
 HEAP32[(($181)>>2)]=2; //@line 184 "../src/h264bsd_vui.c"
 var $182=$3; //@line 185 "../src/h264bsd_vui.c"
 var $183=(($182+48)|0); //@line 185 "../src/h264bsd_vui.c"
 HEAP32[(($183)>>2)]=2; //@line 185 "../src/h264bsd_vui.c"
 label=41;break;
 case 41: 
 label=43;break; //@line 187 "../src/h264bsd_vui.c"
 case 42: 
 var $186=$3; //@line 190 "../src/h264bsd_vui.c"
 var $187=(($186+28)|0); //@line 190 "../src/h264bsd_vui.c"
 HEAP32[(($187)>>2)]=5; //@line 190 "../src/h264bsd_vui.c"
 var $188=$3; //@line 191 "../src/h264bsd_vui.c"
 var $189=(($188+40)|0); //@line 191 "../src/h264bsd_vui.c"
 HEAP32[(($189)>>2)]=2; //@line 191 "../src/h264bsd_vui.c"
 var $190=$3; //@line 192 "../src/h264bsd_vui.c"
 var $191=(($190+44)|0); //@line 192 "../src/h264bsd_vui.c"
 HEAP32[(($191)>>2)]=2; //@line 192 "../src/h264bsd_vui.c"
 var $192=$3; //@line 193 "../src/h264bsd_vui.c"
 var $193=(($192+48)|0); //@line 193 "../src/h264bsd_vui.c"
 HEAP32[(($193)>>2)]=2; //@line 193 "../src/h264bsd_vui.c"
 label=43;break;
 case 43: 
 var $195=$2; //@line 196 "../src/h264bsd_vui.c"
 var $196=_h264bsdGetBits($195,1); //@line 196 "../src/h264bsd_vui.c"
 $tmp=$196; //@line 196 "../src/h264bsd_vui.c"
 var $197=$tmp; //@line 197 "../src/h264bsd_vui.c"
 var $198=($197|0)==-1; //@line 197 "../src/h264bsd_vui.c"
 if($198){label=44;break;}else{label=45;break;} //@line 197 "../src/h264bsd_vui.c"
 case 44: 
 $1=1; //@line 198 "../src/h264bsd_vui.c"
 label=118;break; //@line 198 "../src/h264bsd_vui.c"
 case 45: 
 var $201=$tmp; //@line 199 "../src/h264bsd_vui.c"
 var $202=($201|0)==1; //@line 199 "../src/h264bsd_vui.c"
 var $203=($202?1:0); //@line 199 "../src/h264bsd_vui.c"
 var $204=$3; //@line 199 "../src/h264bsd_vui.c"
 var $205=(($204+52)|0); //@line 199 "../src/h264bsd_vui.c"
 HEAP32[(($205)>>2)]=$203; //@line 199 "../src/h264bsd_vui.c"
 var $206=$3; //@line 202 "../src/h264bsd_vui.c"
 var $207=(($206+52)|0); //@line 202 "../src/h264bsd_vui.c"
 var $208=HEAP32[(($207)>>2)]; //@line 202 "../src/h264bsd_vui.c"
 var $209=($208|0)!=0; //@line 202 "../src/h264bsd_vui.c"
 if($209){label=46;break;}else{label=55;break;} //@line 202 "../src/h264bsd_vui.c"
 case 46: 
 var $211=$2; //@line 204 "../src/h264bsd_vui.c"
 var $212=$3; //@line 204 "../src/h264bsd_vui.c"
 var $213=(($212+56)|0); //@line 204 "../src/h264bsd_vui.c"
 var $214=_h264bsdDecodeExpGolombUnsigned($211,$213); //@line 204 "../src/h264bsd_vui.c"
 $tmp=$214; //@line 204 "../src/h264bsd_vui.c"
 var $215=$tmp; //@line 206 "../src/h264bsd_vui.c"
 var $216=($215|0)!=0; //@line 206 "../src/h264bsd_vui.c"
 if($216){label=47;break;}else{label=48;break;} //@line 206 "../src/h264bsd_vui.c"
 case 47: 
 var $218=$tmp; //@line 207 "../src/h264bsd_vui.c"
 $1=$218; //@line 207 "../src/h264bsd_vui.c"
 label=118;break; //@line 207 "../src/h264bsd_vui.c"
 case 48: 
 var $220=$3; //@line 208 "../src/h264bsd_vui.c"
 var $221=(($220+56)|0); //@line 208 "../src/h264bsd_vui.c"
 var $222=HEAP32[(($221)>>2)]; //@line 208 "../src/h264bsd_vui.c"
 var $223=($222>>>0)>5; //@line 208 "../src/h264bsd_vui.c"
 if($223){label=49;break;}else{label=50;break;} //@line 208 "../src/h264bsd_vui.c"
 case 49: 
 $1=1; //@line 209 "../src/h264bsd_vui.c"
 label=118;break; //@line 209 "../src/h264bsd_vui.c"
 case 50: 
 var $226=$2; //@line 211 "../src/h264bsd_vui.c"
 var $227=$3; //@line 211 "../src/h264bsd_vui.c"
 var $228=(($227+60)|0); //@line 211 "../src/h264bsd_vui.c"
 var $229=_h264bsdDecodeExpGolombUnsigned($226,$228); //@line 211 "../src/h264bsd_vui.c"
 $tmp=$229; //@line 211 "../src/h264bsd_vui.c"
 var $230=$tmp; //@line 213 "../src/h264bsd_vui.c"
 var $231=($230|0)!=0; //@line 213 "../src/h264bsd_vui.c"
 if($231){label=51;break;}else{label=52;break;} //@line 213 "../src/h264bsd_vui.c"
 case 51: 
 var $233=$tmp; //@line 214 "../src/h264bsd_vui.c"
 $1=$233; //@line 214 "../src/h264bsd_vui.c"
 label=118;break; //@line 214 "../src/h264bsd_vui.c"
 case 52: 
 var $235=$3; //@line 215 "../src/h264bsd_vui.c"
 var $236=(($235+60)|0); //@line 215 "../src/h264bsd_vui.c"
 var $237=HEAP32[(($236)>>2)]; //@line 215 "../src/h264bsd_vui.c"
 var $238=($237>>>0)>5; //@line 215 "../src/h264bsd_vui.c"
 if($238){label=53;break;}else{label=54;break;} //@line 215 "../src/h264bsd_vui.c"
 case 53: 
 $1=1; //@line 216 "../src/h264bsd_vui.c"
 label=118;break; //@line 216 "../src/h264bsd_vui.c"
 case 54: 
 label=55;break; //@line 217 "../src/h264bsd_vui.c"
 case 55: 
 var $242=$2; //@line 219 "../src/h264bsd_vui.c"
 var $243=_h264bsdGetBits($242,1); //@line 219 "../src/h264bsd_vui.c"
 $tmp=$243; //@line 219 "../src/h264bsd_vui.c"
 var $244=$tmp; //@line 220 "../src/h264bsd_vui.c"
 var $245=($244|0)==-1; //@line 220 "../src/h264bsd_vui.c"
 if($245){label=56;break;}else{label=57;break;} //@line 220 "../src/h264bsd_vui.c"
 case 56: 
 $1=1; //@line 221 "../src/h264bsd_vui.c"
 label=118;break; //@line 221 "../src/h264bsd_vui.c"
 case 57: 
 var $248=$tmp; //@line 222 "../src/h264bsd_vui.c"
 var $249=($248|0)==1; //@line 222 "../src/h264bsd_vui.c"
 var $250=($249?1:0); //@line 222 "../src/h264bsd_vui.c"
 var $251=$3; //@line 222 "../src/h264bsd_vui.c"
 var $252=(($251+64)|0); //@line 222 "../src/h264bsd_vui.c"
 HEAP32[(($252)>>2)]=$250; //@line 222 "../src/h264bsd_vui.c"
 var $253=$3; //@line 225 "../src/h264bsd_vui.c"
 var $254=(($253+64)|0); //@line 225 "../src/h264bsd_vui.c"
 var $255=HEAP32[(($254)>>2)]; //@line 225 "../src/h264bsd_vui.c"
 var $256=($255|0)!=0; //@line 225 "../src/h264bsd_vui.c"
 if($256){label=58;break;}else{label=69;break;} //@line 225 "../src/h264bsd_vui.c"
 case 58: 
 var $258=$2; //@line 227 "../src/h264bsd_vui.c"
 var $259=_h264bsdShowBits32($258); //@line 227 "../src/h264bsd_vui.c"
 $tmp=$259; //@line 227 "../src/h264bsd_vui.c"
 var $260=$2; //@line 228 "../src/h264bsd_vui.c"
 var $261=_h264bsdFlushBits($260,32); //@line 228 "../src/h264bsd_vui.c"
 var $262=($261|0)==-1; //@line 228 "../src/h264bsd_vui.c"
 if($262){label=59;break;}else{label=60;break;} //@line 228 "../src/h264bsd_vui.c"
 case 59: 
 $1=1; //@line 229 "../src/h264bsd_vui.c"
 label=118;break; //@line 229 "../src/h264bsd_vui.c"
 case 60: 
 var $265=$tmp; //@line 230 "../src/h264bsd_vui.c"
 var $266=($265|0)==0; //@line 230 "../src/h264bsd_vui.c"
 if($266){label=61;break;}else{label=62;break;} //@line 230 "../src/h264bsd_vui.c"
 case 61: 
 $1=1; //@line 231 "../src/h264bsd_vui.c"
 label=118;break; //@line 231 "../src/h264bsd_vui.c"
 case 62: 
 var $269=$tmp; //@line 232 "../src/h264bsd_vui.c"
 var $270=$3; //@line 232 "../src/h264bsd_vui.c"
 var $271=(($270+68)|0); //@line 232 "../src/h264bsd_vui.c"
 HEAP32[(($271)>>2)]=$269; //@line 232 "../src/h264bsd_vui.c"
 var $272=$2; //@line 234 "../src/h264bsd_vui.c"
 var $273=_h264bsdShowBits32($272); //@line 234 "../src/h264bsd_vui.c"
 $tmp=$273; //@line 234 "../src/h264bsd_vui.c"
 var $274=$2; //@line 235 "../src/h264bsd_vui.c"
 var $275=_h264bsdFlushBits($274,32); //@line 235 "../src/h264bsd_vui.c"
 var $276=($275|0)==-1; //@line 235 "../src/h264bsd_vui.c"
 if($276){label=63;break;}else{label=64;break;} //@line 235 "../src/h264bsd_vui.c"
 case 63: 
 $1=1; //@line 236 "../src/h264bsd_vui.c"
 label=118;break; //@line 236 "../src/h264bsd_vui.c"
 case 64: 
 var $279=$tmp; //@line 237 "../src/h264bsd_vui.c"
 var $280=($279|0)==0; //@line 237 "../src/h264bsd_vui.c"
 if($280){label=65;break;}else{label=66;break;} //@line 237 "../src/h264bsd_vui.c"
 case 65: 
 $1=1; //@line 238 "../src/h264bsd_vui.c"
 label=118;break; //@line 238 "../src/h264bsd_vui.c"
 case 66: 
 var $283=$tmp; //@line 239 "../src/h264bsd_vui.c"
 var $284=$3; //@line 239 "../src/h264bsd_vui.c"
 var $285=(($284+72)|0); //@line 239 "../src/h264bsd_vui.c"
 HEAP32[(($285)>>2)]=$283; //@line 239 "../src/h264bsd_vui.c"
 var $286=$2; //@line 241 "../src/h264bsd_vui.c"
 var $287=_h264bsdGetBits($286,1); //@line 241 "../src/h264bsd_vui.c"
 $tmp=$287; //@line 241 "../src/h264bsd_vui.c"
 var $288=$tmp; //@line 242 "../src/h264bsd_vui.c"
 var $289=($288|0)==-1; //@line 242 "../src/h264bsd_vui.c"
 if($289){label=67;break;}else{label=68;break;} //@line 242 "../src/h264bsd_vui.c"
 case 67: 
 $1=1; //@line 243 "../src/h264bsd_vui.c"
 label=118;break; //@line 243 "../src/h264bsd_vui.c"
 case 68: 
 var $292=$tmp; //@line 244 "../src/h264bsd_vui.c"
 var $293=($292|0)==1; //@line 244 "../src/h264bsd_vui.c"
 var $294=($293?1:0); //@line 244 "../src/h264bsd_vui.c"
 var $295=$3; //@line 244 "../src/h264bsd_vui.c"
 var $296=(($295+76)|0); //@line 244 "../src/h264bsd_vui.c"
 HEAP32[(($296)>>2)]=$294; //@line 244 "../src/h264bsd_vui.c"
 label=69;break; //@line 246 "../src/h264bsd_vui.c"
 case 69: 
 var $298=$2; //@line 248 "../src/h264bsd_vui.c"
 var $299=_h264bsdGetBits($298,1); //@line 248 "../src/h264bsd_vui.c"
 $tmp=$299; //@line 248 "../src/h264bsd_vui.c"
 var $300=$tmp; //@line 249 "../src/h264bsd_vui.c"
 var $301=($300|0)==-1; //@line 249 "../src/h264bsd_vui.c"
 if($301){label=70;break;}else{label=71;break;} //@line 249 "../src/h264bsd_vui.c"
 case 70: 
 $1=1; //@line 250 "../src/h264bsd_vui.c"
 label=118;break; //@line 250 "../src/h264bsd_vui.c"
 case 71: 
 var $304=$tmp; //@line 251 "../src/h264bsd_vui.c"
 var $305=($304|0)==1; //@line 251 "../src/h264bsd_vui.c"
 var $306=($305?1:0); //@line 251 "../src/h264bsd_vui.c"
 var $307=$3; //@line 251 "../src/h264bsd_vui.c"
 var $308=(($307+80)|0); //@line 251 "../src/h264bsd_vui.c"
 HEAP32[(($308)>>2)]=$306; //@line 251 "../src/h264bsd_vui.c"
 var $309=$3; //@line 254 "../src/h264bsd_vui.c"
 var $310=(($309+80)|0); //@line 254 "../src/h264bsd_vui.c"
 var $311=HEAP32[(($310)>>2)]; //@line 254 "../src/h264bsd_vui.c"
 var $312=($311|0)!=0; //@line 254 "../src/h264bsd_vui.c"
 if($312){label=72;break;}else{label=75;break;} //@line 254 "../src/h264bsd_vui.c"
 case 72: 
 var $314=$2; //@line 256 "../src/h264bsd_vui.c"
 var $315=$3; //@line 256 "../src/h264bsd_vui.c"
 var $316=(($315+84)|0); //@line 256 "../src/h264bsd_vui.c"
 var $317=_DecodeHrdParameters($314,$316); //@line 256 "../src/h264bsd_vui.c"
 $tmp=$317; //@line 256 "../src/h264bsd_vui.c"
 var $318=$tmp; //@line 257 "../src/h264bsd_vui.c"
 var $319=($318|0)!=0; //@line 257 "../src/h264bsd_vui.c"
 if($319){label=73;break;}else{label=74;break;} //@line 257 "../src/h264bsd_vui.c"
 case 73: 
 var $321=$tmp; //@line 258 "../src/h264bsd_vui.c"
 $1=$321; //@line 258 "../src/h264bsd_vui.c"
 label=118;break; //@line 258 "../src/h264bsd_vui.c"
 case 74: 
 label=76;break; //@line 259 "../src/h264bsd_vui.c"
 case 75: 
 var $324=$3; //@line 262 "../src/h264bsd_vui.c"
 var $325=(($324+84)|0); //@line 262 "../src/h264bsd_vui.c"
 var $326=(($325)|0); //@line 262 "../src/h264bsd_vui.c"
 HEAP32[(($326)>>2)]=1; //@line 262 "../src/h264bsd_vui.c"
 var $327=$3; //@line 266 "../src/h264bsd_vui.c"
 var $328=(($327+84)|0); //@line 266 "../src/h264bsd_vui.c"
 var $329=(($328+12)|0); //@line 266 "../src/h264bsd_vui.c"
 var $330=(($329)|0); //@line 266 "../src/h264bsd_vui.c"
 HEAP32[(($330)>>2)]=288000001; //@line 266 "../src/h264bsd_vui.c"
 var $331=$3; //@line 267 "../src/h264bsd_vui.c"
 var $332=(($331+84)|0); //@line 267 "../src/h264bsd_vui.c"
 var $333=(($332+140)|0); //@line 267 "../src/h264bsd_vui.c"
 var $334=(($333)|0); //@line 267 "../src/h264bsd_vui.c"
 HEAP32[(($334)>>2)]=288000001; //@line 267 "../src/h264bsd_vui.c"
 var $335=$3; //@line 268 "../src/h264bsd_vui.c"
 var $336=(($335+84)|0); //@line 268 "../src/h264bsd_vui.c"
 var $337=(($336+396)|0); //@line 268 "../src/h264bsd_vui.c"
 HEAP32[(($337)>>2)]=24; //@line 268 "../src/h264bsd_vui.c"
 var $338=$3; //@line 269 "../src/h264bsd_vui.c"
 var $339=(($338+84)|0); //@line 269 "../src/h264bsd_vui.c"
 var $340=(($339+400)|0); //@line 269 "../src/h264bsd_vui.c"
 HEAP32[(($340)>>2)]=24; //@line 269 "../src/h264bsd_vui.c"
 var $341=$3; //@line 270 "../src/h264bsd_vui.c"
 var $342=(($341+84)|0); //@line 270 "../src/h264bsd_vui.c"
 var $343=(($342+404)|0); //@line 270 "../src/h264bsd_vui.c"
 HEAP32[(($343)>>2)]=24; //@line 270 "../src/h264bsd_vui.c"
 var $344=$3; //@line 271 "../src/h264bsd_vui.c"
 var $345=(($344+84)|0); //@line 271 "../src/h264bsd_vui.c"
 var $346=(($345+408)|0); //@line 271 "../src/h264bsd_vui.c"
 HEAP32[(($346)>>2)]=24; //@line 271 "../src/h264bsd_vui.c"
 label=76;break;
 case 76: 
 var $348=$2; //@line 274 "../src/h264bsd_vui.c"
 var $349=_h264bsdGetBits($348,1); //@line 274 "../src/h264bsd_vui.c"
 $tmp=$349; //@line 274 "../src/h264bsd_vui.c"
 var $350=$tmp; //@line 275 "../src/h264bsd_vui.c"
 var $351=($350|0)==-1; //@line 275 "../src/h264bsd_vui.c"
 if($351){label=77;break;}else{label=78;break;} //@line 275 "../src/h264bsd_vui.c"
 case 77: 
 $1=1; //@line 276 "../src/h264bsd_vui.c"
 label=118;break; //@line 276 "../src/h264bsd_vui.c"
 case 78: 
 var $354=$tmp; //@line 277 "../src/h264bsd_vui.c"
 var $355=($354|0)==1; //@line 277 "../src/h264bsd_vui.c"
 var $356=($355?1:0); //@line 277 "../src/h264bsd_vui.c"
 var $357=$3; //@line 277 "../src/h264bsd_vui.c"
 var $358=(($357+496)|0); //@line 277 "../src/h264bsd_vui.c"
 HEAP32[(($358)>>2)]=$356; //@line 277 "../src/h264bsd_vui.c"
 var $359=$3; //@line 280 "../src/h264bsd_vui.c"
 var $360=(($359+496)|0); //@line 280 "../src/h264bsd_vui.c"
 var $361=HEAP32[(($360)>>2)]; //@line 280 "../src/h264bsd_vui.c"
 var $362=($361|0)!=0; //@line 280 "../src/h264bsd_vui.c"
 if($362){label=79;break;}else{label=82;break;} //@line 280 "../src/h264bsd_vui.c"
 case 79: 
 var $364=$2; //@line 282 "../src/h264bsd_vui.c"
 var $365=$3; //@line 282 "../src/h264bsd_vui.c"
 var $366=(($365+500)|0); //@line 282 "../src/h264bsd_vui.c"
 var $367=_DecodeHrdParameters($364,$366); //@line 282 "../src/h264bsd_vui.c"
 $tmp=$367; //@line 282 "../src/h264bsd_vui.c"
 var $368=$tmp; //@line 283 "../src/h264bsd_vui.c"
 var $369=($368|0)!=0; //@line 283 "../src/h264bsd_vui.c"
 if($369){label=80;break;}else{label=81;break;} //@line 283 "../src/h264bsd_vui.c"
 case 80: 
 var $371=$tmp; //@line 284 "../src/h264bsd_vui.c"
 $1=$371; //@line 284 "../src/h264bsd_vui.c"
 label=118;break; //@line 284 "../src/h264bsd_vui.c"
 case 81: 
 label=83;break; //@line 285 "../src/h264bsd_vui.c"
 case 82: 
 var $374=$3; //@line 288 "../src/h264bsd_vui.c"
 var $375=(($374+500)|0); //@line 288 "../src/h264bsd_vui.c"
 var $376=(($375)|0); //@line 288 "../src/h264bsd_vui.c"
 HEAP32[(($376)>>2)]=1; //@line 288 "../src/h264bsd_vui.c"
 var $377=$3; //@line 292 "../src/h264bsd_vui.c"
 var $378=(($377+500)|0); //@line 292 "../src/h264bsd_vui.c"
 var $379=(($378+12)|0); //@line 292 "../src/h264bsd_vui.c"
 var $380=(($379)|0); //@line 292 "../src/h264bsd_vui.c"
 HEAP32[(($380)>>2)]=240000001; //@line 292 "../src/h264bsd_vui.c"
 var $381=$3; //@line 293 "../src/h264bsd_vui.c"
 var $382=(($381+500)|0); //@line 293 "../src/h264bsd_vui.c"
 var $383=(($382+140)|0); //@line 293 "../src/h264bsd_vui.c"
 var $384=(($383)|0); //@line 293 "../src/h264bsd_vui.c"
 HEAP32[(($384)>>2)]=240000001; //@line 293 "../src/h264bsd_vui.c"
 var $385=$3; //@line 294 "../src/h264bsd_vui.c"
 var $386=(($385+500)|0); //@line 294 "../src/h264bsd_vui.c"
 var $387=(($386+396)|0); //@line 294 "../src/h264bsd_vui.c"
 HEAP32[(($387)>>2)]=24; //@line 294 "../src/h264bsd_vui.c"
 var $388=$3; //@line 295 "../src/h264bsd_vui.c"
 var $389=(($388+500)|0); //@line 295 "../src/h264bsd_vui.c"
 var $390=(($389+400)|0); //@line 295 "../src/h264bsd_vui.c"
 HEAP32[(($390)>>2)]=24; //@line 295 "../src/h264bsd_vui.c"
 var $391=$3; //@line 296 "../src/h264bsd_vui.c"
 var $392=(($391+500)|0); //@line 296 "../src/h264bsd_vui.c"
 var $393=(($392+404)|0); //@line 296 "../src/h264bsd_vui.c"
 HEAP32[(($393)>>2)]=24; //@line 296 "../src/h264bsd_vui.c"
 var $394=$3; //@line 297 "../src/h264bsd_vui.c"
 var $395=(($394+500)|0); //@line 297 "../src/h264bsd_vui.c"
 var $396=(($395+408)|0); //@line 297 "../src/h264bsd_vui.c"
 HEAP32[(($396)>>2)]=24; //@line 297 "../src/h264bsd_vui.c"
 label=83;break;
 case 83: 
 var $398=$3; //@line 300 "../src/h264bsd_vui.c"
 var $399=(($398+80)|0); //@line 300 "../src/h264bsd_vui.c"
 var $400=HEAP32[(($399)>>2)]; //@line 300 "../src/h264bsd_vui.c"
 var $401=($400|0)!=0; //@line 300 "../src/h264bsd_vui.c"
 if($401){label=85;break;}else{label=84;break;} //@line 300 "../src/h264bsd_vui.c"
 case 84: 
 var $403=$3; //@line 300 "../src/h264bsd_vui.c"
 var $404=(($403+496)|0); //@line 300 "../src/h264bsd_vui.c"
 var $405=HEAP32[(($404)>>2)]; //@line 300 "../src/h264bsd_vui.c"
 var $406=($405|0)!=0; //@line 300 "../src/h264bsd_vui.c"
 if($406){label=85;break;}else{label=88;break;} //@line 300 "../src/h264bsd_vui.c"
 case 85: 
 var $408=$2; //@line 303 "../src/h264bsd_vui.c"
 var $409=_h264bsdGetBits($408,1); //@line 303 "../src/h264bsd_vui.c"
 $tmp=$409; //@line 303 "../src/h264bsd_vui.c"
 var $410=$tmp; //@line 304 "../src/h264bsd_vui.c"
 var $411=($410|0)==-1; //@line 304 "../src/h264bsd_vui.c"
 if($411){label=86;break;}else{label=87;break;} //@line 304 "../src/h264bsd_vui.c"
 case 86: 
 $1=1; //@line 305 "../src/h264bsd_vui.c"
 label=118;break; //@line 305 "../src/h264bsd_vui.c"
 case 87: 
 var $414=$tmp; //@line 306 "../src/h264bsd_vui.c"
 var $415=($414|0)==1; //@line 306 "../src/h264bsd_vui.c"
 var $416=($415?1:0); //@line 306 "../src/h264bsd_vui.c"
 var $417=$3; //@line 306 "../src/h264bsd_vui.c"
 var $418=(($417+912)|0); //@line 306 "../src/h264bsd_vui.c"
 HEAP32[(($418)>>2)]=$416; //@line 306 "../src/h264bsd_vui.c"
 label=88;break; //@line 308 "../src/h264bsd_vui.c"
 case 88: 
 var $420=$2; //@line 310 "../src/h264bsd_vui.c"
 var $421=_h264bsdGetBits($420,1); //@line 310 "../src/h264bsd_vui.c"
 $tmp=$421; //@line 310 "../src/h264bsd_vui.c"
 var $422=$tmp; //@line 311 "../src/h264bsd_vui.c"
 var $423=($422|0)==-1; //@line 311 "../src/h264bsd_vui.c"
 if($423){label=89;break;}else{label=90;break;} //@line 311 "../src/h264bsd_vui.c"
 case 89: 
 $1=1; //@line 312 "../src/h264bsd_vui.c"
 label=118;break; //@line 312 "../src/h264bsd_vui.c"
 case 90: 
 var $426=$tmp; //@line 313 "../src/h264bsd_vui.c"
 var $427=($426|0)==1; //@line 313 "../src/h264bsd_vui.c"
 var $428=($427?1:0); //@line 313 "../src/h264bsd_vui.c"
 var $429=$3; //@line 313 "../src/h264bsd_vui.c"
 var $430=(($429+916)|0); //@line 313 "../src/h264bsd_vui.c"
 HEAP32[(($430)>>2)]=$428; //@line 313 "../src/h264bsd_vui.c"
 var $431=$2; //@line 316 "../src/h264bsd_vui.c"
 var $432=_h264bsdGetBits($431,1); //@line 316 "../src/h264bsd_vui.c"
 $tmp=$432; //@line 316 "../src/h264bsd_vui.c"
 var $433=$tmp; //@line 317 "../src/h264bsd_vui.c"
 var $434=($433|0)==-1; //@line 317 "../src/h264bsd_vui.c"
 if($434){label=91;break;}else{label=92;break;} //@line 317 "../src/h264bsd_vui.c"
 case 91: 
 $1=1; //@line 318 "../src/h264bsd_vui.c"
 label=118;break; //@line 318 "../src/h264bsd_vui.c"
 case 92: 
 var $437=$tmp; //@line 319 "../src/h264bsd_vui.c"
 var $438=($437|0)==1; //@line 319 "../src/h264bsd_vui.c"
 var $439=($438?1:0); //@line 319 "../src/h264bsd_vui.c"
 var $440=$3; //@line 319 "../src/h264bsd_vui.c"
 var $441=(($440+920)|0); //@line 319 "../src/h264bsd_vui.c"
 HEAP32[(($441)>>2)]=$439; //@line 319 "../src/h264bsd_vui.c"
 var $442=$3; //@line 322 "../src/h264bsd_vui.c"
 var $443=(($442+920)|0); //@line 322 "../src/h264bsd_vui.c"
 var $444=HEAP32[(($443)>>2)]; //@line 322 "../src/h264bsd_vui.c"
 var $445=($444|0)!=0; //@line 322 "../src/h264bsd_vui.c"
 if($445){label=93;break;}else{label=116;break;} //@line 322 "../src/h264bsd_vui.c"
 case 93: 
 var $447=$2; //@line 324 "../src/h264bsd_vui.c"
 var $448=_h264bsdGetBits($447,1); //@line 324 "../src/h264bsd_vui.c"
 $tmp=$448; //@line 324 "../src/h264bsd_vui.c"
 var $449=$tmp; //@line 325 "../src/h264bsd_vui.c"
 var $450=($449|0)==-1; //@line 325 "../src/h264bsd_vui.c"
 if($450){label=94;break;}else{label=95;break;} //@line 325 "../src/h264bsd_vui.c"
 case 94: 
 $1=1; //@line 326 "../src/h264bsd_vui.c"
 label=118;break; //@line 326 "../src/h264bsd_vui.c"
 case 95: 
 var $453=$tmp; //@line 327 "../src/h264bsd_vui.c"
 var $454=($453|0)==1; //@line 327 "../src/h264bsd_vui.c"
 var $455=($454?1:0); //@line 327 "../src/h264bsd_vui.c"
 var $456=$3; //@line 327 "../src/h264bsd_vui.c"
 var $457=(($456+924)|0); //@line 327 "../src/h264bsd_vui.c"
 HEAP32[(($457)>>2)]=$455; //@line 327 "../src/h264bsd_vui.c"
 var $458=$2; //@line 330 "../src/h264bsd_vui.c"
 var $459=$3; //@line 330 "../src/h264bsd_vui.c"
 var $460=(($459+928)|0); //@line 330 "../src/h264bsd_vui.c"
 var $461=_h264bsdDecodeExpGolombUnsigned($458,$460); //@line 330 "../src/h264bsd_vui.c"
 $tmp=$461; //@line 330 "../src/h264bsd_vui.c"
 var $462=$tmp; //@line 332 "../src/h264bsd_vui.c"
 var $463=($462|0)!=0; //@line 332 "../src/h264bsd_vui.c"
 if($463){label=96;break;}else{label=97;break;} //@line 332 "../src/h264bsd_vui.c"
 case 96: 
 var $465=$tmp; //@line 333 "../src/h264bsd_vui.c"
 $1=$465; //@line 333 "../src/h264bsd_vui.c"
 label=118;break; //@line 333 "../src/h264bsd_vui.c"
 case 97: 
 var $467=$3; //@line 334 "../src/h264bsd_vui.c"
 var $468=(($467+928)|0); //@line 334 "../src/h264bsd_vui.c"
 var $469=HEAP32[(($468)>>2)]; //@line 334 "../src/h264bsd_vui.c"
 var $470=($469>>>0)>16; //@line 334 "../src/h264bsd_vui.c"
 if($470){label=98;break;}else{label=99;break;} //@line 334 "../src/h264bsd_vui.c"
 case 98: 
 $1=1; //@line 335 "../src/h264bsd_vui.c"
 label=118;break; //@line 335 "../src/h264bsd_vui.c"
 case 99: 
 var $473=$2; //@line 337 "../src/h264bsd_vui.c"
 var $474=$3; //@line 337 "../src/h264bsd_vui.c"
 var $475=(($474+932)|0); //@line 337 "../src/h264bsd_vui.c"
 var $476=_h264bsdDecodeExpGolombUnsigned($473,$475); //@line 337 "../src/h264bsd_vui.c"
 $tmp=$476; //@line 337 "../src/h264bsd_vui.c"
 var $477=$tmp; //@line 339 "../src/h264bsd_vui.c"
 var $478=($477|0)!=0; //@line 339 "../src/h264bsd_vui.c"
 if($478){label=100;break;}else{label=101;break;} //@line 339 "../src/h264bsd_vui.c"
 case 100: 
 var $480=$tmp; //@line 340 "../src/h264bsd_vui.c"
 $1=$480; //@line 340 "../src/h264bsd_vui.c"
 label=118;break; //@line 340 "../src/h264bsd_vui.c"
 case 101: 
 var $482=$3; //@line 341 "../src/h264bsd_vui.c"
 var $483=(($482+932)|0); //@line 341 "../src/h264bsd_vui.c"
 var $484=HEAP32[(($483)>>2)]; //@line 341 "../src/h264bsd_vui.c"
 var $485=($484>>>0)>16; //@line 341 "../src/h264bsd_vui.c"
 if($485){label=102;break;}else{label=103;break;} //@line 341 "../src/h264bsd_vui.c"
 case 102: 
 $1=1; //@line 342 "../src/h264bsd_vui.c"
 label=118;break; //@line 342 "../src/h264bsd_vui.c"
 case 103: 
 var $488=$2; //@line 344 "../src/h264bsd_vui.c"
 var $489=$3; //@line 344 "../src/h264bsd_vui.c"
 var $490=(($489+936)|0); //@line 344 "../src/h264bsd_vui.c"
 var $491=_h264bsdDecodeExpGolombUnsigned($488,$490); //@line 344 "../src/h264bsd_vui.c"
 $tmp=$491; //@line 344 "../src/h264bsd_vui.c"
 var $492=$tmp; //@line 346 "../src/h264bsd_vui.c"
 var $493=($492|0)!=0; //@line 346 "../src/h264bsd_vui.c"
 if($493){label=104;break;}else{label=105;break;} //@line 346 "../src/h264bsd_vui.c"
 case 104: 
 var $495=$tmp; //@line 347 "../src/h264bsd_vui.c"
 $1=$495; //@line 347 "../src/h264bsd_vui.c"
 label=118;break; //@line 347 "../src/h264bsd_vui.c"
 case 105: 
 var $497=$3; //@line 348 "../src/h264bsd_vui.c"
 var $498=(($497+936)|0); //@line 348 "../src/h264bsd_vui.c"
 var $499=HEAP32[(($498)>>2)]; //@line 348 "../src/h264bsd_vui.c"
 var $500=($499>>>0)>16; //@line 348 "../src/h264bsd_vui.c"
 if($500){label=106;break;}else{label=107;break;} //@line 348 "../src/h264bsd_vui.c"
 case 106: 
 $1=1; //@line 349 "../src/h264bsd_vui.c"
 label=118;break; //@line 349 "../src/h264bsd_vui.c"
 case 107: 
 var $503=$2; //@line 351 "../src/h264bsd_vui.c"
 var $504=$3; //@line 351 "../src/h264bsd_vui.c"
 var $505=(($504+940)|0); //@line 351 "../src/h264bsd_vui.c"
 var $506=_h264bsdDecodeExpGolombUnsigned($503,$505); //@line 351 "../src/h264bsd_vui.c"
 $tmp=$506; //@line 351 "../src/h264bsd_vui.c"
 var $507=$tmp; //@line 353 "../src/h264bsd_vui.c"
 var $508=($507|0)!=0; //@line 353 "../src/h264bsd_vui.c"
 if($508){label=108;break;}else{label=109;break;} //@line 353 "../src/h264bsd_vui.c"
 case 108: 
 var $510=$tmp; //@line 354 "../src/h264bsd_vui.c"
 $1=$510; //@line 354 "../src/h264bsd_vui.c"
 label=118;break; //@line 354 "../src/h264bsd_vui.c"
 case 109: 
 var $512=$3; //@line 355 "../src/h264bsd_vui.c"
 var $513=(($512+940)|0); //@line 355 "../src/h264bsd_vui.c"
 var $514=HEAP32[(($513)>>2)]; //@line 355 "../src/h264bsd_vui.c"
 var $515=($514>>>0)>16; //@line 355 "../src/h264bsd_vui.c"
 if($515){label=110;break;}else{label=111;break;} //@line 355 "../src/h264bsd_vui.c"
 case 110: 
 $1=1; //@line 356 "../src/h264bsd_vui.c"
 label=118;break; //@line 356 "../src/h264bsd_vui.c"
 case 111: 
 var $518=$2; //@line 358 "../src/h264bsd_vui.c"
 var $519=$3; //@line 358 "../src/h264bsd_vui.c"
 var $520=(($519+944)|0); //@line 358 "../src/h264bsd_vui.c"
 var $521=_h264bsdDecodeExpGolombUnsigned($518,$520); //@line 358 "../src/h264bsd_vui.c"
 $tmp=$521; //@line 358 "../src/h264bsd_vui.c"
 var $522=$tmp; //@line 360 "../src/h264bsd_vui.c"
 var $523=($522|0)!=0; //@line 360 "../src/h264bsd_vui.c"
 if($523){label=112;break;}else{label=113;break;} //@line 360 "../src/h264bsd_vui.c"
 case 112: 
 var $525=$tmp; //@line 361 "../src/h264bsd_vui.c"
 $1=$525; //@line 361 "../src/h264bsd_vui.c"
 label=118;break; //@line 361 "../src/h264bsd_vui.c"
 case 113: 
 var $527=$2; //@line 363 "../src/h264bsd_vui.c"
 var $528=$3; //@line 363 "../src/h264bsd_vui.c"
 var $529=(($528+948)|0); //@line 363 "../src/h264bsd_vui.c"
 var $530=_h264bsdDecodeExpGolombUnsigned($527,$529); //@line 363 "../src/h264bsd_vui.c"
 $tmp=$530; //@line 363 "../src/h264bsd_vui.c"
 var $531=$tmp; //@line 365 "../src/h264bsd_vui.c"
 var $532=($531|0)!=0; //@line 365 "../src/h264bsd_vui.c"
 if($532){label=114;break;}else{label=115;break;} //@line 365 "../src/h264bsd_vui.c"
 case 114: 
 var $534=$tmp; //@line 366 "../src/h264bsd_vui.c"
 $1=$534; //@line 366 "../src/h264bsd_vui.c"
 label=118;break; //@line 366 "../src/h264bsd_vui.c"
 case 115: 
 label=117;break; //@line 367 "../src/h264bsd_vui.c"
 case 116: 
 var $537=$3; //@line 370 "../src/h264bsd_vui.c"
 var $538=(($537+924)|0); //@line 370 "../src/h264bsd_vui.c"
 HEAP32[(($538)>>2)]=1; //@line 370 "../src/h264bsd_vui.c"
 var $539=$3; //@line 371 "../src/h264bsd_vui.c"
 var $540=(($539+928)|0); //@line 371 "../src/h264bsd_vui.c"
 HEAP32[(($540)>>2)]=2; //@line 371 "../src/h264bsd_vui.c"
 var $541=$3; //@line 372 "../src/h264bsd_vui.c"
 var $542=(($541+932)|0); //@line 372 "../src/h264bsd_vui.c"
 HEAP32[(($542)>>2)]=1; //@line 372 "../src/h264bsd_vui.c"
 var $543=$3; //@line 373 "../src/h264bsd_vui.c"
 var $544=(($543+936)|0); //@line 373 "../src/h264bsd_vui.c"
 HEAP32[(($544)>>2)]=16; //@line 373 "../src/h264bsd_vui.c"
 var $545=$3; //@line 374 "../src/h264bsd_vui.c"
 var $546=(($545+940)|0); //@line 374 "../src/h264bsd_vui.c"
 HEAP32[(($546)>>2)]=16; //@line 374 "../src/h264bsd_vui.c"
 var $547=$3; //@line 375 "../src/h264bsd_vui.c"
 var $548=(($547+944)|0); //@line 375 "../src/h264bsd_vui.c"
 HEAP32[(($548)>>2)]=16; //@line 375 "../src/h264bsd_vui.c"
 var $549=$3; //@line 376 "../src/h264bsd_vui.c"
 var $550=(($549+948)|0); //@line 376 "../src/h264bsd_vui.c"
 HEAP32[(($550)>>2)]=16; //@line 376 "../src/h264bsd_vui.c"
 label=117;break;
 case 117: 
 $1=0; //@line 379 "../src/h264bsd_vui.c"
 label=118;break; //@line 379 "../src/h264bsd_vui.c"
 case 118: 
 var $553=$1; //@line 381 "../src/h264bsd_vui.c"
 STACKTOP=sp;return $553; //@line 381 "../src/h264bsd_vui.c"
  default: assert(0, "bad label: " + label);
 }
}
function _DecodeHrdParameters($pStrmData,$pHrdParameters){
 var label=0;
 var sp=STACKTOP; (assert((STACKTOP|0) < (STACK_MAX|0))|0);
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1;
 var $2;
 var $3;
 var $tmp;
 var $i;
 $2=$pStrmData;
 $3=$pHrdParameters;
 var $4=$2; //@line 413 "../src/h264bsd_vui.c"
 var $5=($4|0)!=0; //@line 413 "../src/h264bsd_vui.c"
 if($5){var $9=0;label=3;break;}else{label=2;break;} //@line 413 "../src/h264bsd_vui.c"
 case 2: 
 ___assert_fail(6656,10408,413,16320); //@line 413 "../src/h264bsd_vui.c"
 throw "Reached an unreachable!"; //@line 413 "../src/h264bsd_vui.c"
 label=3;break; //@line 413 "../src/h264bsd_vui.c"
 case 3: 
 var $9;
 var $10=($9&1); //@line 413 "../src/h264bsd_vui.c"
 var $11=$3; //@line 414 "../src/h264bsd_vui.c"
 var $12=($11|0)!=0; //@line 414 "../src/h264bsd_vui.c"
 if($12){var $16=1;label=5;break;}else{label=4;break;} //@line 414 "../src/h264bsd_vui.c"
 case 4: 
 ___assert_fail(7704,10408,414,16320); //@line 414 "../src/h264bsd_vui.c"
 throw "Reached an unreachable!"; //@line 414 "../src/h264bsd_vui.c"
 label=5;break; //@line 414 "../src/h264bsd_vui.c"
 case 5: 
 var $16;
 var $17=($16&1); //@line 414 "../src/h264bsd_vui.c"
 var $18=$2; //@line 417 "../src/h264bsd_vui.c"
 var $19=$3; //@line 417 "../src/h264bsd_vui.c"
 var $20=(($19)|0); //@line 417 "../src/h264bsd_vui.c"
 var $21=_h264bsdDecodeExpGolombUnsigned($18,$20); //@line 417 "../src/h264bsd_vui.c"
 $tmp=$21; //@line 417 "../src/h264bsd_vui.c"
 var $22=$tmp; //@line 418 "../src/h264bsd_vui.c"
 var $23=($22|0)!=0; //@line 418 "../src/h264bsd_vui.c"
 if($23){label=6;break;}else{label=7;break;} //@line 418 "../src/h264bsd_vui.c"
 case 6: 
 var $25=$tmp; //@line 419 "../src/h264bsd_vui.c"
 $1=$25; //@line 419 "../src/h264bsd_vui.c"
 label=36;break; //@line 419 "../src/h264bsd_vui.c"
 case 7: 
 var $27=$3; //@line 421 "../src/h264bsd_vui.c"
 var $28=(($27)|0); //@line 421 "../src/h264bsd_vui.c"
 var $29=HEAP32[(($28)>>2)]; //@line 421 "../src/h264bsd_vui.c"
 var $30=((($29)+(1))|0); //@line 421 "../src/h264bsd_vui.c"
 HEAP32[(($28)>>2)]=$30; //@line 421 "../src/h264bsd_vui.c"
 var $31=$3; //@line 422 "../src/h264bsd_vui.c"
 var $32=(($31)|0); //@line 422 "../src/h264bsd_vui.c"
 var $33=HEAP32[(($32)>>2)]; //@line 422 "../src/h264bsd_vui.c"
 var $34=($33>>>0)>32; //@line 422 "../src/h264bsd_vui.c"
 if($34){label=8;break;}else{label=9;break;} //@line 422 "../src/h264bsd_vui.c"
 case 8: 
 $1=1; //@line 423 "../src/h264bsd_vui.c"
 label=36;break; //@line 423 "../src/h264bsd_vui.c"
 case 9: 
 var $37=$2; //@line 425 "../src/h264bsd_vui.c"
 var $38=_h264bsdGetBits($37,4); //@line 425 "../src/h264bsd_vui.c"
 $tmp=$38; //@line 425 "../src/h264bsd_vui.c"
 var $39=$tmp; //@line 426 "../src/h264bsd_vui.c"
 var $40=($39|0)==-1; //@line 426 "../src/h264bsd_vui.c"
 if($40){label=10;break;}else{label=11;break;} //@line 426 "../src/h264bsd_vui.c"
 case 10: 
 $1=1; //@line 427 "../src/h264bsd_vui.c"
 label=36;break; //@line 427 "../src/h264bsd_vui.c"
 case 11: 
 var $43=$tmp; //@line 428 "../src/h264bsd_vui.c"
 var $44=$3; //@line 428 "../src/h264bsd_vui.c"
 var $45=(($44+4)|0); //@line 428 "../src/h264bsd_vui.c"
 HEAP32[(($45)>>2)]=$43; //@line 428 "../src/h264bsd_vui.c"
 var $46=$2; //@line 430 "../src/h264bsd_vui.c"
 var $47=_h264bsdGetBits($46,4); //@line 430 "../src/h264bsd_vui.c"
 $tmp=$47; //@line 430 "../src/h264bsd_vui.c"
 var $48=$tmp; //@line 431 "../src/h264bsd_vui.c"
 var $49=($48|0)==-1; //@line 431 "../src/h264bsd_vui.c"
 if($49){label=12;break;}else{label=13;break;} //@line 431 "../src/h264bsd_vui.c"
 case 12: 
 $1=1; //@line 432 "../src/h264bsd_vui.c"
 label=36;break; //@line 432 "../src/h264bsd_vui.c"
 case 13: 
 var $52=$tmp; //@line 433 "../src/h264bsd_vui.c"
 var $53=$3; //@line 433 "../src/h264bsd_vui.c"
 var $54=(($53+8)|0); //@line 433 "../src/h264bsd_vui.c"
 HEAP32[(($54)>>2)]=$52; //@line 433 "../src/h264bsd_vui.c"
 $i=0; //@line 435 "../src/h264bsd_vui.c"
 label=14;break; //@line 435 "../src/h264bsd_vui.c"
 case 14: 
 var $56=$i; //@line 435 "../src/h264bsd_vui.c"
 var $57=$3; //@line 435 "../src/h264bsd_vui.c"
 var $58=(($57)|0); //@line 435 "../src/h264bsd_vui.c"
 var $59=HEAP32[(($58)>>2)]; //@line 435 "../src/h264bsd_vui.c"
 var $60=($56>>>0)<($59>>>0); //@line 435 "../src/h264bsd_vui.c"
 if($60){label=15;break;}else{label=27;break;} //@line 435 "../src/h264bsd_vui.c"
 case 15: 
 var $62=$2; //@line 438 "../src/h264bsd_vui.c"
 var $63=$i; //@line 438 "../src/h264bsd_vui.c"
 var $64=$3; //@line 438 "../src/h264bsd_vui.c"
 var $65=(($64+12)|0); //@line 438 "../src/h264bsd_vui.c"
 var $66=(($65+($63<<2))|0); //@line 438 "../src/h264bsd_vui.c"
 var $67=_h264bsdDecodeExpGolombUnsigned($62,$66); //@line 438 "../src/h264bsd_vui.c"
 $tmp=$67; //@line 438 "../src/h264bsd_vui.c"
 var $68=$tmp; //@line 440 "../src/h264bsd_vui.c"
 var $69=($68|0)!=0; //@line 440 "../src/h264bsd_vui.c"
 if($69){label=16;break;}else{label=17;break;} //@line 440 "../src/h264bsd_vui.c"
 case 16: 
 var $71=$tmp; //@line 441 "../src/h264bsd_vui.c"
 $1=$71; //@line 441 "../src/h264bsd_vui.c"
 label=36;break; //@line 441 "../src/h264bsd_vui.c"
 case 17: 
 var $73=$i; //@line 442 "../src/h264bsd_vui.c"
 var $74=$3; //@line 442 "../src/h264bsd_vui.c"
 var $75=(($74+12)|0); //@line 442 "../src/h264bsd_vui.c"
 var $76=(($75+($73<<2))|0); //@line 442 "../src/h264bsd_vui.c"
 var $77=HEAP32[(($76)>>2)]; //@line 442 "../src/h264bsd_vui.c"
 var $78=($77>>>0)>4294967294; //@line 442 "../src/h264bsd_vui.c"
 if($78){label=18;break;}else{label=19;break;} //@line 442 "../src/h264bsd_vui.c"
 case 18: 
 $1=1; //@line 443 "../src/h264bsd_vui.c"
 label=36;break; //@line 443 "../src/h264bsd_vui.c"
 case 19: 
 var $81=$i; //@line 444 "../src/h264bsd_vui.c"
 var $82=$3; //@line 444 "../src/h264bsd_vui.c"
 var $83=(($82+12)|0); //@line 444 "../src/h264bsd_vui.c"
 var $84=(($83+($81<<2))|0); //@line 444 "../src/h264bsd_vui.c"
 var $85=HEAP32[(($84)>>2)]; //@line 444 "../src/h264bsd_vui.c"
 var $86=((($85)+(1))|0); //@line 444 "../src/h264bsd_vui.c"
 HEAP32[(($84)>>2)]=$86; //@line 444 "../src/h264bsd_vui.c"
 var $87=$3; //@line 447 "../src/h264bsd_vui.c"
 var $88=(($87+4)|0); //@line 447 "../src/h264bsd_vui.c"
 var $89=HEAP32[(($88)>>2)]; //@line 447 "../src/h264bsd_vui.c"
 var $90=((($89)+(6))|0); //@line 447 "../src/h264bsd_vui.c"
 var $91=1<<$90; //@line 447 "../src/h264bsd_vui.c"
 var $92=$i; //@line 447 "../src/h264bsd_vui.c"
 var $93=$3; //@line 447 "../src/h264bsd_vui.c"
 var $94=(($93+12)|0); //@line 447 "../src/h264bsd_vui.c"
 var $95=(($94+($92<<2))|0); //@line 447 "../src/h264bsd_vui.c"
 var $96=HEAP32[(($95)>>2)]; //@line 447 "../src/h264bsd_vui.c"
 var $97=(Math_imul($96,$91)|0); //@line 447 "../src/h264bsd_vui.c"
 HEAP32[(($95)>>2)]=$97; //@line 447 "../src/h264bsd_vui.c"
 var $98=$2; //@line 451 "../src/h264bsd_vui.c"
 var $99=$i; //@line 451 "../src/h264bsd_vui.c"
 var $100=$3; //@line 451 "../src/h264bsd_vui.c"
 var $101=(($100+140)|0); //@line 451 "../src/h264bsd_vui.c"
 var $102=(($101+($99<<2))|0); //@line 451 "../src/h264bsd_vui.c"
 var $103=_h264bsdDecodeExpGolombUnsigned($98,$102); //@line 451 "../src/h264bsd_vui.c"
 $tmp=$103; //@line 451 "../src/h264bsd_vui.c"
 var $104=$tmp; //@line 453 "../src/h264bsd_vui.c"
 var $105=($104|0)!=0; //@line 453 "../src/h264bsd_vui.c"
 if($105){label=20;break;}else{label=21;break;} //@line 453 "../src/h264bsd_vui.c"
 case 20: 
 var $107=$tmp; //@line 454 "../src/h264bsd_vui.c"
 $1=$107; //@line 454 "../src/h264bsd_vui.c"
 label=36;break; //@line 454 "../src/h264bsd_vui.c"
 case 21: 
 var $109=$i; //@line 455 "../src/h264bsd_vui.c"
 var $110=$3; //@line 455 "../src/h264bsd_vui.c"
 var $111=(($110+140)|0); //@line 455 "../src/h264bsd_vui.c"
 var $112=(($111+($109<<2))|0); //@line 455 "../src/h264bsd_vui.c"
 var $113=HEAP32[(($112)>>2)]; //@line 455 "../src/h264bsd_vui.c"
 var $114=($113>>>0)>4294967294; //@line 455 "../src/h264bsd_vui.c"
 if($114){label=22;break;}else{label=23;break;} //@line 455 "../src/h264bsd_vui.c"
 case 22: 
 $1=1; //@line 456 "../src/h264bsd_vui.c"
 label=36;break; //@line 456 "../src/h264bsd_vui.c"
 case 23: 
 var $117=$i; //@line 457 "../src/h264bsd_vui.c"
 var $118=$3; //@line 457 "../src/h264bsd_vui.c"
 var $119=(($118+140)|0); //@line 457 "../src/h264bsd_vui.c"
 var $120=(($119+($117<<2))|0); //@line 457 "../src/h264bsd_vui.c"
 var $121=HEAP32[(($120)>>2)]; //@line 457 "../src/h264bsd_vui.c"
 var $122=((($121)+(1))|0); //@line 457 "../src/h264bsd_vui.c"
 HEAP32[(($120)>>2)]=$122; //@line 457 "../src/h264bsd_vui.c"
 var $123=$3; //@line 460 "../src/h264bsd_vui.c"
 var $124=(($123+8)|0); //@line 460 "../src/h264bsd_vui.c"
 var $125=HEAP32[(($124)>>2)]; //@line 460 "../src/h264bsd_vui.c"
 var $126=((($125)+(4))|0); //@line 460 "../src/h264bsd_vui.c"
 var $127=1<<$126; //@line 460 "../src/h264bsd_vui.c"
 var $128=$i; //@line 460 "../src/h264bsd_vui.c"
 var $129=$3; //@line 460 "../src/h264bsd_vui.c"
 var $130=(($129+140)|0); //@line 460 "../src/h264bsd_vui.c"
 var $131=(($130+($128<<2))|0); //@line 460 "../src/h264bsd_vui.c"
 var $132=HEAP32[(($131)>>2)]; //@line 460 "../src/h264bsd_vui.c"
 var $133=(Math_imul($132,$127)|0); //@line 460 "../src/h264bsd_vui.c"
 HEAP32[(($131)>>2)]=$133; //@line 460 "../src/h264bsd_vui.c"
 var $134=$2; //@line 463 "../src/h264bsd_vui.c"
 var $135=_h264bsdGetBits($134,1); //@line 463 "../src/h264bsd_vui.c"
 $tmp=$135; //@line 463 "../src/h264bsd_vui.c"
 var $136=$tmp; //@line 464 "../src/h264bsd_vui.c"
 var $137=($136|0)==-1; //@line 464 "../src/h264bsd_vui.c"
 if($137){label=24;break;}else{label=25;break;} //@line 464 "../src/h264bsd_vui.c"
 case 24: 
 $1=1; //@line 465 "../src/h264bsd_vui.c"
 label=36;break; //@line 465 "../src/h264bsd_vui.c"
 case 25: 
 var $140=$tmp; //@line 466 "../src/h264bsd_vui.c"
 var $141=($140|0)==1; //@line 466 "../src/h264bsd_vui.c"
 var $142=($141?1:0); //@line 466 "../src/h264bsd_vui.c"
 var $143=$i; //@line 466 "../src/h264bsd_vui.c"
 var $144=$3; //@line 466 "../src/h264bsd_vui.c"
 var $145=(($144+268)|0); //@line 466 "../src/h264bsd_vui.c"
 var $146=(($145+($143<<2))|0); //@line 466 "../src/h264bsd_vui.c"
 HEAP32[(($146)>>2)]=$142; //@line 466 "../src/h264bsd_vui.c"
 label=26;break; //@line 467 "../src/h264bsd_vui.c"
 case 26: 
 var $148=$i; //@line 435 "../src/h264bsd_vui.c"
 var $149=((($148)+(1))|0); //@line 435 "../src/h264bsd_vui.c"
 $i=$149; //@line 435 "../src/h264bsd_vui.c"
 label=14;break; //@line 435 "../src/h264bsd_vui.c"
 case 27: 
 var $151=$2; //@line 469 "../src/h264bsd_vui.c"
 var $152=_h264bsdGetBits($151,5); //@line 469 "../src/h264bsd_vui.c"
 $tmp=$152; //@line 469 "../src/h264bsd_vui.c"
 var $153=$tmp; //@line 470 "../src/h264bsd_vui.c"
 var $154=($153|0)==-1; //@line 470 "../src/h264bsd_vui.c"
 if($154){label=28;break;}else{label=29;break;} //@line 470 "../src/h264bsd_vui.c"
 case 28: 
 $1=1; //@line 471 "../src/h264bsd_vui.c"
 label=36;break; //@line 471 "../src/h264bsd_vui.c"
 case 29: 
 var $157=$tmp; //@line 472 "../src/h264bsd_vui.c"
 var $158=((($157)+(1))|0); //@line 472 "../src/h264bsd_vui.c"
 var $159=$3; //@line 472 "../src/h264bsd_vui.c"
 var $160=(($159+396)|0); //@line 472 "../src/h264bsd_vui.c"
 HEAP32[(($160)>>2)]=$158; //@line 472 "../src/h264bsd_vui.c"
 var $161=$2; //@line 474 "../src/h264bsd_vui.c"
 var $162=_h264bsdGetBits($161,5); //@line 474 "../src/h264bsd_vui.c"
 $tmp=$162; //@line 474 "../src/h264bsd_vui.c"
 var $163=$tmp; //@line 475 "../src/h264bsd_vui.c"
 var $164=($163|0)==-1; //@line 475 "../src/h264bsd_vui.c"
 if($164){label=30;break;}else{label=31;break;} //@line 475 "../src/h264bsd_vui.c"
 case 30: 
 $1=1; //@line 476 "../src/h264bsd_vui.c"
 label=36;break; //@line 476 "../src/h264bsd_vui.c"
 case 31: 
 var $167=$tmp; //@line 477 "../src/h264bsd_vui.c"
 var $168=((($167)+(1))|0); //@line 477 "../src/h264bsd_vui.c"
 var $169=$3; //@line 477 "../src/h264bsd_vui.c"
 var $170=(($169+400)|0); //@line 477 "../src/h264bsd_vui.c"
 HEAP32[(($170)>>2)]=$168; //@line 477 "../src/h264bsd_vui.c"
 var $171=$2; //@line 479 "../src/h264bsd_vui.c"
 var $172=_h264bsdGetBits($171,5); //@line 479 "../src/h264bsd_vui.c"
 $tmp=$172; //@line 479 "../src/h264bsd_vui.c"
 var $173=$tmp; //@line 480 "../src/h264bsd_vui.c"
 var $174=($173|0)==-1; //@line 480 "../src/h264bsd_vui.c"
 if($174){label=32;break;}else{label=33;break;} //@line 480 "../src/h264bsd_vui.c"
 case 32: 
 $1=1; //@line 481 "../src/h264bsd_vui.c"
 label=36;break; //@line 481 "../src/h264bsd_vui.c"
 case 33: 
 var $177=$tmp; //@line 482 "../src/h264bsd_vui.c"
 var $178=((($177)+(1))|0); //@line 482 "../src/h264bsd_vui.c"
 var $179=$3; //@line 482 "../src/h264bsd_vui.c"
 var $180=(($179+404)|0); //@line 482 "../src/h264bsd_vui.c"
 HEAP32[(($180)>>2)]=$178; //@line 482 "../src/h264bsd_vui.c"
 var $181=$2; //@line 484 "../src/h264bsd_vui.c"
 var $182=_h264bsdGetBits($181,5); //@line 484 "../src/h264bsd_vui.c"
 $tmp=$182; //@line 484 "../src/h264bsd_vui.c"
 var $183=$tmp; //@line 485 "../src/h264bsd_vui.c"
 var $184=($183|0)==-1; //@line 485 "../src/h264bsd_vui.c"
 if($184){label=34;break;}else{label=35;break;} //@line 485 "../src/h264bsd_vui.c"
 case 34: 
 $1=1; //@line 486 "../src/h264bsd_vui.c"
 label=36;break; //@line 486 "../src/h264bsd_vui.c"
 case 35: 
 var $187=$tmp; //@line 487 "../src/h264bsd_vui.c"
 var $188=$3; //@line 487 "../src/h264bsd_vui.c"
 var $189=(($188+408)|0); //@line 487 "../src/h264bsd_vui.c"
 HEAP32[(($189)>>2)]=$187; //@line 487 "../src/h264bsd_vui.c"
 $1=0; //@line 489 "../src/h264bsd_vui.c"
 label=36;break; //@line 489 "../src/h264bsd_vui.c"
 case 36: 
 var $191=$1; //@line 491 "../src/h264bsd_vui.c"
 STACKTOP=sp;return $191; //@line 491 "../src/h264bsd_vui.c"
  default: assert(0, "bad label: " + label);
 }
}
function _malloc($bytes){
 var label=0;
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1=($bytes>>>0)<245;
 if($1){label=2;break;}else{label=78;break;}
 case 2: 
 var $3=($bytes>>>0)<11;
 if($3){var $8=16;label=4;break;}else{label=3;break;}
 case 3: 
 var $5=((($bytes)+(11))|0);
 var $6=$5&-8;
 var $8=$6;label=4;break;
 case 4: 
 var $8;
 var $9=$8>>>3;
 var $10=HEAP32[((19400)>>2)];
 var $11=$10>>>($9>>>0);
 var $12=$11&3;
 var $13=($12|0)==0;
 if($13){label=12;break;}else{label=5;break;}
 case 5: 
 var $15=$11&1;
 var $16=$15^1;
 var $17=((($16)+($9))|0);
 var $18=$17<<1;
 var $19=((19440+($18<<2))|0);
 var $20=$19;
 var $_sum111=((($18)+(2))|0);
 var $21=((19440+($_sum111<<2))|0);
 var $22=HEAP32[(($21)>>2)];
 var $23=(($22+8)|0);
 var $24=HEAP32[(($23)>>2)];
 var $25=($20|0)==($24|0);
 if($25){label=6;break;}else{label=7;break;}
 case 6: 
 var $27=1<<$17;
 var $28=$27^-1;
 var $29=$10&$28;
 HEAP32[((19400)>>2)]=$29;
 label=11;break;
 case 7: 
 var $31=$24;
 var $32=HEAP32[((19416)>>2)];
 var $33=($31>>>0)<($32>>>0);
 if($33){label=10;break;}else{label=8;break;}
 case 8: 
 var $35=(($24+12)|0);
 var $36=HEAP32[(($35)>>2)];
 var $37=($36|0)==($22|0);
 if($37){label=9;break;}else{label=10;break;}
 case 9: 
 HEAP32[(($35)>>2)]=$20;
 HEAP32[(($21)>>2)]=$24;
 label=11;break;
 case 10: 
 _abort();
 throw "Reached an unreachable!";
 case 11: 
 var $40=$17<<3;
 var $41=$40|3;
 var $42=(($22+4)|0);
 HEAP32[(($42)>>2)]=$41;
 var $43=$22;
 var $_sum113114=$40|4;
 var $44=(($43+$_sum113114)|0);
 var $45=$44;
 var $46=HEAP32[(($45)>>2)];
 var $47=$46|1;
 HEAP32[(($45)>>2)]=$47;
 var $48=$23;
 var $mem_0=$48;label=341;break;
 case 12: 
 var $50=HEAP32[((19408)>>2)];
 var $51=($8>>>0)>($50>>>0);
 if($51){label=13;break;}else{var $nb_0=$8;label=160;break;}
 case 13: 
 var $53=($11|0)==0;
 if($53){label=27;break;}else{label=14;break;}
 case 14: 
 var $55=$11<<$9;
 var $56=2<<$9;
 var $57=(((-$56))|0);
 var $58=$56|$57;
 var $59=$55&$58;
 var $60=(((-$59))|0);
 var $61=$59&$60;
 var $62=((($61)-(1))|0);
 var $63=$62>>>12;
 var $64=$63&16;
 var $65=$62>>>($64>>>0);
 var $66=$65>>>5;
 var $67=$66&8;
 var $68=$67|$64;
 var $69=$65>>>($67>>>0);
 var $70=$69>>>2;
 var $71=$70&4;
 var $72=$68|$71;
 var $73=$69>>>($71>>>0);
 var $74=$73>>>1;
 var $75=$74&2;
 var $76=$72|$75;
 var $77=$73>>>($75>>>0);
 var $78=$77>>>1;
 var $79=$78&1;
 var $80=$76|$79;
 var $81=$77>>>($79>>>0);
 var $82=((($80)+($81))|0);
 var $83=$82<<1;
 var $84=((19440+($83<<2))|0);
 var $85=$84;
 var $_sum104=((($83)+(2))|0);
 var $86=((19440+($_sum104<<2))|0);
 var $87=HEAP32[(($86)>>2)];
 var $88=(($87+8)|0);
 var $89=HEAP32[(($88)>>2)];
 var $90=($85|0)==($89|0);
 if($90){label=15;break;}else{label=16;break;}
 case 15: 
 var $92=1<<$82;
 var $93=$92^-1;
 var $94=$10&$93;
 HEAP32[((19400)>>2)]=$94;
 label=20;break;
 case 16: 
 var $96=$89;
 var $97=HEAP32[((19416)>>2)];
 var $98=($96>>>0)<($97>>>0);
 if($98){label=19;break;}else{label=17;break;}
 case 17: 
 var $100=(($89+12)|0);
 var $101=HEAP32[(($100)>>2)];
 var $102=($101|0)==($87|0);
 if($102){label=18;break;}else{label=19;break;}
 case 18: 
 HEAP32[(($100)>>2)]=$85;
 HEAP32[(($86)>>2)]=$89;
 label=20;break;
 case 19: 
 _abort();
 throw "Reached an unreachable!";
 case 20: 
 var $105=$82<<3;
 var $106=((($105)-($8))|0);
 var $107=$8|3;
 var $108=(($87+4)|0);
 HEAP32[(($108)>>2)]=$107;
 var $109=$87;
 var $110=(($109+$8)|0);
 var $111=$110;
 var $112=$106|1;
 var $_sum106107=$8|4;
 var $113=(($109+$_sum106107)|0);
 var $114=$113;
 HEAP32[(($114)>>2)]=$112;
 var $115=(($109+$105)|0);
 var $116=$115;
 HEAP32[(($116)>>2)]=$106;
 var $117=HEAP32[((19408)>>2)];
 var $118=($117|0)==0;
 if($118){label=26;break;}else{label=21;break;}
 case 21: 
 var $120=HEAP32[((19420)>>2)];
 var $121=$117>>>3;
 var $122=$121<<1;
 var $123=((19440+($122<<2))|0);
 var $124=$123;
 var $125=HEAP32[((19400)>>2)];
 var $126=1<<$121;
 var $127=$125&$126;
 var $128=($127|0)==0;
 if($128){label=22;break;}else{label=23;break;}
 case 22: 
 var $130=$125|$126;
 HEAP32[((19400)>>2)]=$130;
 var $_sum109_pre=((($122)+(2))|0);
 var $_pre=((19440+($_sum109_pre<<2))|0);
 var $F4_0=$124;var $_pre_phi=$_pre;label=25;break;
 case 23: 
 var $_sum110=((($122)+(2))|0);
 var $132=((19440+($_sum110<<2))|0);
 var $133=HEAP32[(($132)>>2)];
 var $134=$133;
 var $135=HEAP32[((19416)>>2)];
 var $136=($134>>>0)<($135>>>0);
 if($136){label=24;break;}else{var $F4_0=$133;var $_pre_phi=$132;label=25;break;}
 case 24: 
 _abort();
 throw "Reached an unreachable!";
 case 25: 
 var $_pre_phi;
 var $F4_0;
 HEAP32[(($_pre_phi)>>2)]=$120;
 var $139=(($F4_0+12)|0);
 HEAP32[(($139)>>2)]=$120;
 var $140=(($120+8)|0);
 HEAP32[(($140)>>2)]=$F4_0;
 var $141=(($120+12)|0);
 HEAP32[(($141)>>2)]=$124;
 label=26;break;
 case 26: 
 HEAP32[((19408)>>2)]=$106;
 HEAP32[((19420)>>2)]=$111;
 var $143=$88;
 var $mem_0=$143;label=341;break;
 case 27: 
 var $145=HEAP32[((19404)>>2)];
 var $146=($145|0)==0;
 if($146){var $nb_0=$8;label=160;break;}else{label=28;break;}
 case 28: 
 var $148=(((-$145))|0);
 var $149=$145&$148;
 var $150=((($149)-(1))|0);
 var $151=$150>>>12;
 var $152=$151&16;
 var $153=$150>>>($152>>>0);
 var $154=$153>>>5;
 var $155=$154&8;
 var $156=$155|$152;
 var $157=$153>>>($155>>>0);
 var $158=$157>>>2;
 var $159=$158&4;
 var $160=$156|$159;
 var $161=$157>>>($159>>>0);
 var $162=$161>>>1;
 var $163=$162&2;
 var $164=$160|$163;
 var $165=$161>>>($163>>>0);
 var $166=$165>>>1;
 var $167=$166&1;
 var $168=$164|$167;
 var $169=$165>>>($167>>>0);
 var $170=((($168)+($169))|0);
 var $171=((19704+($170<<2))|0);
 var $172=HEAP32[(($171)>>2)];
 var $173=(($172+4)|0);
 var $174=HEAP32[(($173)>>2)];
 var $175=$174&-8;
 var $176=((($175)-($8))|0);
 var $t_0_i=$172;var $v_0_i=$172;var $rsize_0_i=$176;label=29;break;
 case 29: 
 var $rsize_0_i;
 var $v_0_i;
 var $t_0_i;
 var $178=(($t_0_i+16)|0);
 var $179=HEAP32[(($178)>>2)];
 var $180=($179|0)==0;
 if($180){label=30;break;}else{var $185=$179;label=31;break;}
 case 30: 
 var $182=(($t_0_i+20)|0);
 var $183=HEAP32[(($182)>>2)];
 var $184=($183|0)==0;
 if($184){label=32;break;}else{var $185=$183;label=31;break;}
 case 31: 
 var $185;
 var $186=(($185+4)|0);
 var $187=HEAP32[(($186)>>2)];
 var $188=$187&-8;
 var $189=((($188)-($8))|0);
 var $190=($189>>>0)<($rsize_0_i>>>0);
 var $_rsize_0_i=($190?$189:$rsize_0_i);
 var $_v_0_i=($190?$185:$v_0_i);
 var $t_0_i=$185;var $v_0_i=$_v_0_i;var $rsize_0_i=$_rsize_0_i;label=29;break;
 case 32: 
 var $192=$v_0_i;
 var $193=HEAP32[((19416)>>2)];
 var $194=($192>>>0)<($193>>>0);
 if($194){label=76;break;}else{label=33;break;}
 case 33: 
 var $196=(($192+$8)|0);
 var $197=$196;
 var $198=($192>>>0)<($196>>>0);
 if($198){label=34;break;}else{label=76;break;}
 case 34: 
 var $200=(($v_0_i+24)|0);
 var $201=HEAP32[(($200)>>2)];
 var $202=(($v_0_i+12)|0);
 var $203=HEAP32[(($202)>>2)];
 var $204=($203|0)==($v_0_i|0);
 if($204){label=40;break;}else{label=35;break;}
 case 35: 
 var $206=(($v_0_i+8)|0);
 var $207=HEAP32[(($206)>>2)];
 var $208=$207;
 var $209=($208>>>0)<($193>>>0);
 if($209){label=39;break;}else{label=36;break;}
 case 36: 
 var $211=(($207+12)|0);
 var $212=HEAP32[(($211)>>2)];
 var $213=($212|0)==($v_0_i|0);
 if($213){label=37;break;}else{label=39;break;}
 case 37: 
 var $215=(($203+8)|0);
 var $216=HEAP32[(($215)>>2)];
 var $217=($216|0)==($v_0_i|0);
 if($217){label=38;break;}else{label=39;break;}
 case 38: 
 HEAP32[(($211)>>2)]=$203;
 HEAP32[(($215)>>2)]=$207;
 var $R_1_i=$203;label=47;break;
 case 39: 
 _abort();
 throw "Reached an unreachable!";
 case 40: 
 var $220=(($v_0_i+20)|0);
 var $221=HEAP32[(($220)>>2)];
 var $222=($221|0)==0;
 if($222){label=41;break;}else{var $R_0_i=$221;var $RP_0_i=$220;label=42;break;}
 case 41: 
 var $224=(($v_0_i+16)|0);
 var $225=HEAP32[(($224)>>2)];
 var $226=($225|0)==0;
 if($226){var $R_1_i=0;label=47;break;}else{var $R_0_i=$225;var $RP_0_i=$224;label=42;break;}
 case 42: 
 var $RP_0_i;
 var $R_0_i;
 var $227=(($R_0_i+20)|0);
 var $228=HEAP32[(($227)>>2)];
 var $229=($228|0)==0;
 if($229){label=43;break;}else{var $R_0_i=$228;var $RP_0_i=$227;label=42;break;}
 case 43: 
 var $231=(($R_0_i+16)|0);
 var $232=HEAP32[(($231)>>2)];
 var $233=($232|0)==0;
 if($233){label=44;break;}else{var $R_0_i=$232;var $RP_0_i=$231;label=42;break;}
 case 44: 
 var $235=$RP_0_i;
 var $236=($235>>>0)<($193>>>0);
 if($236){label=46;break;}else{label=45;break;}
 case 45: 
 HEAP32[(($RP_0_i)>>2)]=0;
 var $R_1_i=$R_0_i;label=47;break;
 case 46: 
 _abort();
 throw "Reached an unreachable!";
 case 47: 
 var $R_1_i;
 var $240=($201|0)==0;
 if($240){label=67;break;}else{label=48;break;}
 case 48: 
 var $242=(($v_0_i+28)|0);
 var $243=HEAP32[(($242)>>2)];
 var $244=((19704+($243<<2))|0);
 var $245=HEAP32[(($244)>>2)];
 var $246=($v_0_i|0)==($245|0);
 if($246){label=49;break;}else{label=51;break;}
 case 49: 
 HEAP32[(($244)>>2)]=$R_1_i;
 var $cond_i=($R_1_i|0)==0;
 if($cond_i){label=50;break;}else{label=57;break;}
 case 50: 
 var $248=HEAP32[(($242)>>2)];
 var $249=1<<$248;
 var $250=$249^-1;
 var $251=HEAP32[((19404)>>2)];
 var $252=$251&$250;
 HEAP32[((19404)>>2)]=$252;
 label=67;break;
 case 51: 
 var $254=$201;
 var $255=HEAP32[((19416)>>2)];
 var $256=($254>>>0)<($255>>>0);
 if($256){label=55;break;}else{label=52;break;}
 case 52: 
 var $258=(($201+16)|0);
 var $259=HEAP32[(($258)>>2)];
 var $260=($259|0)==($v_0_i|0);
 if($260){label=53;break;}else{label=54;break;}
 case 53: 
 HEAP32[(($258)>>2)]=$R_1_i;
 label=56;break;
 case 54: 
 var $263=(($201+20)|0);
 HEAP32[(($263)>>2)]=$R_1_i;
 label=56;break;
 case 55: 
 _abort();
 throw "Reached an unreachable!";
 case 56: 
 var $266=($R_1_i|0)==0;
 if($266){label=67;break;}else{label=57;break;}
 case 57: 
 var $268=$R_1_i;
 var $269=HEAP32[((19416)>>2)];
 var $270=($268>>>0)<($269>>>0);
 if($270){label=66;break;}else{label=58;break;}
 case 58: 
 var $272=(($R_1_i+24)|0);
 HEAP32[(($272)>>2)]=$201;
 var $273=(($v_0_i+16)|0);
 var $274=HEAP32[(($273)>>2)];
 var $275=($274|0)==0;
 if($275){label=62;break;}else{label=59;break;}
 case 59: 
 var $277=$274;
 var $278=HEAP32[((19416)>>2)];
 var $279=($277>>>0)<($278>>>0);
 if($279){label=61;break;}else{label=60;break;}
 case 60: 
 var $281=(($R_1_i+16)|0);
 HEAP32[(($281)>>2)]=$274;
 var $282=(($274+24)|0);
 HEAP32[(($282)>>2)]=$R_1_i;
 label=62;break;
 case 61: 
 _abort();
 throw "Reached an unreachable!";
 case 62: 
 var $285=(($v_0_i+20)|0);
 var $286=HEAP32[(($285)>>2)];
 var $287=($286|0)==0;
 if($287){label=67;break;}else{label=63;break;}
 case 63: 
 var $289=$286;
 var $290=HEAP32[((19416)>>2)];
 var $291=($289>>>0)<($290>>>0);
 if($291){label=65;break;}else{label=64;break;}
 case 64: 
 var $293=(($R_1_i+20)|0);
 HEAP32[(($293)>>2)]=$286;
 var $294=(($286+24)|0);
 HEAP32[(($294)>>2)]=$R_1_i;
 label=67;break;
 case 65: 
 _abort();
 throw "Reached an unreachable!";
 case 66: 
 _abort();
 throw "Reached an unreachable!";
 case 67: 
 var $298=($rsize_0_i>>>0)<16;
 if($298){label=68;break;}else{label=69;break;}
 case 68: 
 var $300=((($rsize_0_i)+($8))|0);
 var $301=$300|3;
 var $302=(($v_0_i+4)|0);
 HEAP32[(($302)>>2)]=$301;
 var $_sum4_i=((($300)+(4))|0);
 var $303=(($192+$_sum4_i)|0);
 var $304=$303;
 var $305=HEAP32[(($304)>>2)];
 var $306=$305|1;
 HEAP32[(($304)>>2)]=$306;
 label=77;break;
 case 69: 
 var $308=$8|3;
 var $309=(($v_0_i+4)|0);
 HEAP32[(($309)>>2)]=$308;
 var $310=$rsize_0_i|1;
 var $_sum_i137=$8|4;
 var $311=(($192+$_sum_i137)|0);
 var $312=$311;
 HEAP32[(($312)>>2)]=$310;
 var $_sum1_i=((($rsize_0_i)+($8))|0);
 var $313=(($192+$_sum1_i)|0);
 var $314=$313;
 HEAP32[(($314)>>2)]=$rsize_0_i;
 var $315=HEAP32[((19408)>>2)];
 var $316=($315|0)==0;
 if($316){label=75;break;}else{label=70;break;}
 case 70: 
 var $318=HEAP32[((19420)>>2)];
 var $319=$315>>>3;
 var $320=$319<<1;
 var $321=((19440+($320<<2))|0);
 var $322=$321;
 var $323=HEAP32[((19400)>>2)];
 var $324=1<<$319;
 var $325=$323&$324;
 var $326=($325|0)==0;
 if($326){label=71;break;}else{label=72;break;}
 case 71: 
 var $328=$323|$324;
 HEAP32[((19400)>>2)]=$328;
 var $_sum2_pre_i=((($320)+(2))|0);
 var $_pre_i=((19440+($_sum2_pre_i<<2))|0);
 var $F1_0_i=$322;var $_pre_phi_i=$_pre_i;label=74;break;
 case 72: 
 var $_sum3_i=((($320)+(2))|0);
 var $330=((19440+($_sum3_i<<2))|0);
 var $331=HEAP32[(($330)>>2)];
 var $332=$331;
 var $333=HEAP32[((19416)>>2)];
 var $334=($332>>>0)<($333>>>0);
 if($334){label=73;break;}else{var $F1_0_i=$331;var $_pre_phi_i=$330;label=74;break;}
 case 73: 
 _abort();
 throw "Reached an unreachable!";
 case 74: 
 var $_pre_phi_i;
 var $F1_0_i;
 HEAP32[(($_pre_phi_i)>>2)]=$318;
 var $337=(($F1_0_i+12)|0);
 HEAP32[(($337)>>2)]=$318;
 var $338=(($318+8)|0);
 HEAP32[(($338)>>2)]=$F1_0_i;
 var $339=(($318+12)|0);
 HEAP32[(($339)>>2)]=$322;
 label=75;break;
 case 75: 
 HEAP32[((19408)>>2)]=$rsize_0_i;
 HEAP32[((19420)>>2)]=$197;
 label=77;break;
 case 76: 
 _abort();
 throw "Reached an unreachable!";
 case 77: 
 var $342=(($v_0_i+8)|0);
 var $343=$342;
 var $344=($342|0)==0;
 if($344){var $nb_0=$8;label=160;break;}else{var $mem_0=$343;label=341;break;}
 case 78: 
 var $346=($bytes>>>0)>4294967231;
 if($346){var $nb_0=-1;label=160;break;}else{label=79;break;}
 case 79: 
 var $348=((($bytes)+(11))|0);
 var $349=$348&-8;
 var $350=HEAP32[((19404)>>2)];
 var $351=($350|0)==0;
 if($351){var $nb_0=$349;label=160;break;}else{label=80;break;}
 case 80: 
 var $353=(((-$349))|0);
 var $354=$348>>>8;
 var $355=($354|0)==0;
 if($355){var $idx_0_i=0;label=83;break;}else{label=81;break;}
 case 81: 
 var $357=($349>>>0)>16777215;
 if($357){var $idx_0_i=31;label=83;break;}else{label=82;break;}
 case 82: 
 var $359=((($354)+(1048320))|0);
 var $360=$359>>>16;
 var $361=$360&8;
 var $362=$354<<$361;
 var $363=((($362)+(520192))|0);
 var $364=$363>>>16;
 var $365=$364&4;
 var $366=$365|$361;
 var $367=$362<<$365;
 var $368=((($367)+(245760))|0);
 var $369=$368>>>16;
 var $370=$369&2;
 var $371=$366|$370;
 var $372=(((14)-($371))|0);
 var $373=$367<<$370;
 var $374=$373>>>15;
 var $375=((($372)+($374))|0);
 var $376=$375<<1;
 var $377=((($375)+(7))|0);
 var $378=$349>>>($377>>>0);
 var $379=$378&1;
 var $380=$379|$376;
 var $idx_0_i=$380;label=83;break;
 case 83: 
 var $idx_0_i;
 var $382=((19704+($idx_0_i<<2))|0);
 var $383=HEAP32[(($382)>>2)];
 var $384=($383|0)==0;
 if($384){var $v_2_i=0;var $rsize_2_i=$353;var $t_1_i=0;label=90;break;}else{label=84;break;}
 case 84: 
 var $386=($idx_0_i|0)==31;
 if($386){var $391=0;label=86;break;}else{label=85;break;}
 case 85: 
 var $388=$idx_0_i>>>1;
 var $389=(((25)-($388))|0);
 var $391=$389;label=86;break;
 case 86: 
 var $391;
 var $392=$349<<$391;
 var $v_0_i118=0;var $rsize_0_i117=$353;var $t_0_i116=$383;var $sizebits_0_i=$392;var $rst_0_i=0;label=87;break;
 case 87: 
 var $rst_0_i;
 var $sizebits_0_i;
 var $t_0_i116;
 var $rsize_0_i117;
 var $v_0_i118;
 var $394=(($t_0_i116+4)|0);
 var $395=HEAP32[(($394)>>2)];
 var $396=$395&-8;
 var $397=((($396)-($349))|0);
 var $398=($397>>>0)<($rsize_0_i117>>>0);
 if($398){label=88;break;}else{var $v_1_i=$v_0_i118;var $rsize_1_i=$rsize_0_i117;label=89;break;}
 case 88: 
 var $400=($396|0)==($349|0);
 if($400){var $v_2_i=$t_0_i116;var $rsize_2_i=$397;var $t_1_i=$t_0_i116;label=90;break;}else{var $v_1_i=$t_0_i116;var $rsize_1_i=$397;label=89;break;}
 case 89: 
 var $rsize_1_i;
 var $v_1_i;
 var $402=(($t_0_i116+20)|0);
 var $403=HEAP32[(($402)>>2)];
 var $404=$sizebits_0_i>>>31;
 var $405=(($t_0_i116+16+($404<<2))|0);
 var $406=HEAP32[(($405)>>2)];
 var $407=($403|0)==0;
 var $408=($403|0)==($406|0);
 var $or_cond_i=$407|$408;
 var $rst_1_i=($or_cond_i?$rst_0_i:$403);
 var $409=($406|0)==0;
 var $410=$sizebits_0_i<<1;
 if($409){var $v_2_i=$v_1_i;var $rsize_2_i=$rsize_1_i;var $t_1_i=$rst_1_i;label=90;break;}else{var $v_0_i118=$v_1_i;var $rsize_0_i117=$rsize_1_i;var $t_0_i116=$406;var $sizebits_0_i=$410;var $rst_0_i=$rst_1_i;label=87;break;}
 case 90: 
 var $t_1_i;
 var $rsize_2_i;
 var $v_2_i;
 var $411=($t_1_i|0)==0;
 var $412=($v_2_i|0)==0;
 var $or_cond21_i=$411&$412;
 if($or_cond21_i){label=91;break;}else{var $t_2_ph_i=$t_1_i;label=93;break;}
 case 91: 
 var $414=2<<$idx_0_i;
 var $415=(((-$414))|0);
 var $416=$414|$415;
 var $417=$350&$416;
 var $418=($417|0)==0;
 if($418){var $nb_0=$349;label=160;break;}else{label=92;break;}
 case 92: 
 var $420=(((-$417))|0);
 var $421=$417&$420;
 var $422=((($421)-(1))|0);
 var $423=$422>>>12;
 var $424=$423&16;
 var $425=$422>>>($424>>>0);
 var $426=$425>>>5;
 var $427=$426&8;
 var $428=$427|$424;
 var $429=$425>>>($427>>>0);
 var $430=$429>>>2;
 var $431=$430&4;
 var $432=$428|$431;
 var $433=$429>>>($431>>>0);
 var $434=$433>>>1;
 var $435=$434&2;
 var $436=$432|$435;
 var $437=$433>>>($435>>>0);
 var $438=$437>>>1;
 var $439=$438&1;
 var $440=$436|$439;
 var $441=$437>>>($439>>>0);
 var $442=((($440)+($441))|0);
 var $443=((19704+($442<<2))|0);
 var $444=HEAP32[(($443)>>2)];
 var $t_2_ph_i=$444;label=93;break;
 case 93: 
 var $t_2_ph_i;
 var $445=($t_2_ph_i|0)==0;
 if($445){var $rsize_3_lcssa_i=$rsize_2_i;var $v_3_lcssa_i=$v_2_i;label=96;break;}else{var $t_228_i=$t_2_ph_i;var $rsize_329_i=$rsize_2_i;var $v_330_i=$v_2_i;label=94;break;}
 case 94: 
 var $v_330_i;
 var $rsize_329_i;
 var $t_228_i;
 var $446=(($t_228_i+4)|0);
 var $447=HEAP32[(($446)>>2)];
 var $448=$447&-8;
 var $449=((($448)-($349))|0);
 var $450=($449>>>0)<($rsize_329_i>>>0);
 var $_rsize_3_i=($450?$449:$rsize_329_i);
 var $t_2_v_3_i=($450?$t_228_i:$v_330_i);
 var $451=(($t_228_i+16)|0);
 var $452=HEAP32[(($451)>>2)];
 var $453=($452|0)==0;
 if($453){label=95;break;}else{var $t_228_i=$452;var $rsize_329_i=$_rsize_3_i;var $v_330_i=$t_2_v_3_i;label=94;break;}
 case 95: 
 var $454=(($t_228_i+20)|0);
 var $455=HEAP32[(($454)>>2)];
 var $456=($455|0)==0;
 if($456){var $rsize_3_lcssa_i=$_rsize_3_i;var $v_3_lcssa_i=$t_2_v_3_i;label=96;break;}else{var $t_228_i=$455;var $rsize_329_i=$_rsize_3_i;var $v_330_i=$t_2_v_3_i;label=94;break;}
 case 96: 
 var $v_3_lcssa_i;
 var $rsize_3_lcssa_i;
 var $457=($v_3_lcssa_i|0)==0;
 if($457){var $nb_0=$349;label=160;break;}else{label=97;break;}
 case 97: 
 var $459=HEAP32[((19408)>>2)];
 var $460=((($459)-($349))|0);
 var $461=($rsize_3_lcssa_i>>>0)<($460>>>0);
 if($461){label=98;break;}else{var $nb_0=$349;label=160;break;}
 case 98: 
 var $463=$v_3_lcssa_i;
 var $464=HEAP32[((19416)>>2)];
 var $465=($463>>>0)<($464>>>0);
 if($465){label=158;break;}else{label=99;break;}
 case 99: 
 var $467=(($463+$349)|0);
 var $468=$467;
 var $469=($463>>>0)<($467>>>0);
 if($469){label=100;break;}else{label=158;break;}
 case 100: 
 var $471=(($v_3_lcssa_i+24)|0);
 var $472=HEAP32[(($471)>>2)];
 var $473=(($v_3_lcssa_i+12)|0);
 var $474=HEAP32[(($473)>>2)];
 var $475=($474|0)==($v_3_lcssa_i|0);
 if($475){label=106;break;}else{label=101;break;}
 case 101: 
 var $477=(($v_3_lcssa_i+8)|0);
 var $478=HEAP32[(($477)>>2)];
 var $479=$478;
 var $480=($479>>>0)<($464>>>0);
 if($480){label=105;break;}else{label=102;break;}
 case 102: 
 var $482=(($478+12)|0);
 var $483=HEAP32[(($482)>>2)];
 var $484=($483|0)==($v_3_lcssa_i|0);
 if($484){label=103;break;}else{label=105;break;}
 case 103: 
 var $486=(($474+8)|0);
 var $487=HEAP32[(($486)>>2)];
 var $488=($487|0)==($v_3_lcssa_i|0);
 if($488){label=104;break;}else{label=105;break;}
 case 104: 
 HEAP32[(($482)>>2)]=$474;
 HEAP32[(($486)>>2)]=$478;
 var $R_1_i122=$474;label=113;break;
 case 105: 
 _abort();
 throw "Reached an unreachable!";
 case 106: 
 var $491=(($v_3_lcssa_i+20)|0);
 var $492=HEAP32[(($491)>>2)];
 var $493=($492|0)==0;
 if($493){label=107;break;}else{var $R_0_i120=$492;var $RP_0_i119=$491;label=108;break;}
 case 107: 
 var $495=(($v_3_lcssa_i+16)|0);
 var $496=HEAP32[(($495)>>2)];
 var $497=($496|0)==0;
 if($497){var $R_1_i122=0;label=113;break;}else{var $R_0_i120=$496;var $RP_0_i119=$495;label=108;break;}
 case 108: 
 var $RP_0_i119;
 var $R_0_i120;
 var $498=(($R_0_i120+20)|0);
 var $499=HEAP32[(($498)>>2)];
 var $500=($499|0)==0;
 if($500){label=109;break;}else{var $R_0_i120=$499;var $RP_0_i119=$498;label=108;break;}
 case 109: 
 var $502=(($R_0_i120+16)|0);
 var $503=HEAP32[(($502)>>2)];
 var $504=($503|0)==0;
 if($504){label=110;break;}else{var $R_0_i120=$503;var $RP_0_i119=$502;label=108;break;}
 case 110: 
 var $506=$RP_0_i119;
 var $507=($506>>>0)<($464>>>0);
 if($507){label=112;break;}else{label=111;break;}
 case 111: 
 HEAP32[(($RP_0_i119)>>2)]=0;
 var $R_1_i122=$R_0_i120;label=113;break;
 case 112: 
 _abort();
 throw "Reached an unreachable!";
 case 113: 
 var $R_1_i122;
 var $511=($472|0)==0;
 if($511){label=133;break;}else{label=114;break;}
 case 114: 
 var $513=(($v_3_lcssa_i+28)|0);
 var $514=HEAP32[(($513)>>2)];
 var $515=((19704+($514<<2))|0);
 var $516=HEAP32[(($515)>>2)];
 var $517=($v_3_lcssa_i|0)==($516|0);
 if($517){label=115;break;}else{label=117;break;}
 case 115: 
 HEAP32[(($515)>>2)]=$R_1_i122;
 var $cond_i123=($R_1_i122|0)==0;
 if($cond_i123){label=116;break;}else{label=123;break;}
 case 116: 
 var $519=HEAP32[(($513)>>2)];
 var $520=1<<$519;
 var $521=$520^-1;
 var $522=HEAP32[((19404)>>2)];
 var $523=$522&$521;
 HEAP32[((19404)>>2)]=$523;
 label=133;break;
 case 117: 
 var $525=$472;
 var $526=HEAP32[((19416)>>2)];
 var $527=($525>>>0)<($526>>>0);
 if($527){label=121;break;}else{label=118;break;}
 case 118: 
 var $529=(($472+16)|0);
 var $530=HEAP32[(($529)>>2)];
 var $531=($530|0)==($v_3_lcssa_i|0);
 if($531){label=119;break;}else{label=120;break;}
 case 119: 
 HEAP32[(($529)>>2)]=$R_1_i122;
 label=122;break;
 case 120: 
 var $534=(($472+20)|0);
 HEAP32[(($534)>>2)]=$R_1_i122;
 label=122;break;
 case 121: 
 _abort();
 throw "Reached an unreachable!";
 case 122: 
 var $537=($R_1_i122|0)==0;
 if($537){label=133;break;}else{label=123;break;}
 case 123: 
 var $539=$R_1_i122;
 var $540=HEAP32[((19416)>>2)];
 var $541=($539>>>0)<($540>>>0);
 if($541){label=132;break;}else{label=124;break;}
 case 124: 
 var $543=(($R_1_i122+24)|0);
 HEAP32[(($543)>>2)]=$472;
 var $544=(($v_3_lcssa_i+16)|0);
 var $545=HEAP32[(($544)>>2)];
 var $546=($545|0)==0;
 if($546){label=128;break;}else{label=125;break;}
 case 125: 
 var $548=$545;
 var $549=HEAP32[((19416)>>2)];
 var $550=($548>>>0)<($549>>>0);
 if($550){label=127;break;}else{label=126;break;}
 case 126: 
 var $552=(($R_1_i122+16)|0);
 HEAP32[(($552)>>2)]=$545;
 var $553=(($545+24)|0);
 HEAP32[(($553)>>2)]=$R_1_i122;
 label=128;break;
 case 127: 
 _abort();
 throw "Reached an unreachable!";
 case 128: 
 var $556=(($v_3_lcssa_i+20)|0);
 var $557=HEAP32[(($556)>>2)];
 var $558=($557|0)==0;
 if($558){label=133;break;}else{label=129;break;}
 case 129: 
 var $560=$557;
 var $561=HEAP32[((19416)>>2)];
 var $562=($560>>>0)<($561>>>0);
 if($562){label=131;break;}else{label=130;break;}
 case 130: 
 var $564=(($R_1_i122+20)|0);
 HEAP32[(($564)>>2)]=$557;
 var $565=(($557+24)|0);
 HEAP32[(($565)>>2)]=$R_1_i122;
 label=133;break;
 case 131: 
 _abort();
 throw "Reached an unreachable!";
 case 132: 
 _abort();
 throw "Reached an unreachable!";
 case 133: 
 var $569=($rsize_3_lcssa_i>>>0)<16;
 if($569){label=134;break;}else{label=135;break;}
 case 134: 
 var $571=((($rsize_3_lcssa_i)+($349))|0);
 var $572=$571|3;
 var $573=(($v_3_lcssa_i+4)|0);
 HEAP32[(($573)>>2)]=$572;
 var $_sum19_i=((($571)+(4))|0);
 var $574=(($463+$_sum19_i)|0);
 var $575=$574;
 var $576=HEAP32[(($575)>>2)];
 var $577=$576|1;
 HEAP32[(($575)>>2)]=$577;
 label=159;break;
 case 135: 
 var $579=$349|3;
 var $580=(($v_3_lcssa_i+4)|0);
 HEAP32[(($580)>>2)]=$579;
 var $581=$rsize_3_lcssa_i|1;
 var $_sum_i125136=$349|4;
 var $582=(($463+$_sum_i125136)|0);
 var $583=$582;
 HEAP32[(($583)>>2)]=$581;
 var $_sum1_i126=((($rsize_3_lcssa_i)+($349))|0);
 var $584=(($463+$_sum1_i126)|0);
 var $585=$584;
 HEAP32[(($585)>>2)]=$rsize_3_lcssa_i;
 var $586=$rsize_3_lcssa_i>>>3;
 var $587=($rsize_3_lcssa_i>>>0)<256;
 if($587){label=136;break;}else{label=141;break;}
 case 136: 
 var $589=$586<<1;
 var $590=((19440+($589<<2))|0);
 var $591=$590;
 var $592=HEAP32[((19400)>>2)];
 var $593=1<<$586;
 var $594=$592&$593;
 var $595=($594|0)==0;
 if($595){label=137;break;}else{label=138;break;}
 case 137: 
 var $597=$592|$593;
 HEAP32[((19400)>>2)]=$597;
 var $_sum15_pre_i=((($589)+(2))|0);
 var $_pre_i127=((19440+($_sum15_pre_i<<2))|0);
 var $F5_0_i=$591;var $_pre_phi_i128=$_pre_i127;label=140;break;
 case 138: 
 var $_sum18_i=((($589)+(2))|0);
 var $599=((19440+($_sum18_i<<2))|0);
 var $600=HEAP32[(($599)>>2)];
 var $601=$600;
 var $602=HEAP32[((19416)>>2)];
 var $603=($601>>>0)<($602>>>0);
 if($603){label=139;break;}else{var $F5_0_i=$600;var $_pre_phi_i128=$599;label=140;break;}
 case 139: 
 _abort();
 throw "Reached an unreachable!";
 case 140: 
 var $_pre_phi_i128;
 var $F5_0_i;
 HEAP32[(($_pre_phi_i128)>>2)]=$468;
 var $606=(($F5_0_i+12)|0);
 HEAP32[(($606)>>2)]=$468;
 var $_sum16_i=((($349)+(8))|0);
 var $607=(($463+$_sum16_i)|0);
 var $608=$607;
 HEAP32[(($608)>>2)]=$F5_0_i;
 var $_sum17_i=((($349)+(12))|0);
 var $609=(($463+$_sum17_i)|0);
 var $610=$609;
 HEAP32[(($610)>>2)]=$591;
 label=159;break;
 case 141: 
 var $612=$467;
 var $613=$rsize_3_lcssa_i>>>8;
 var $614=($613|0)==0;
 if($614){var $I7_0_i=0;label=144;break;}else{label=142;break;}
 case 142: 
 var $616=($rsize_3_lcssa_i>>>0)>16777215;
 if($616){var $I7_0_i=31;label=144;break;}else{label=143;break;}
 case 143: 
 var $618=((($613)+(1048320))|0);
 var $619=$618>>>16;
 var $620=$619&8;
 var $621=$613<<$620;
 var $622=((($621)+(520192))|0);
 var $623=$622>>>16;
 var $624=$623&4;
 var $625=$624|$620;
 var $626=$621<<$624;
 var $627=((($626)+(245760))|0);
 var $628=$627>>>16;
 var $629=$628&2;
 var $630=$625|$629;
 var $631=(((14)-($630))|0);
 var $632=$626<<$629;
 var $633=$632>>>15;
 var $634=((($631)+($633))|0);
 var $635=$634<<1;
 var $636=((($634)+(7))|0);
 var $637=$rsize_3_lcssa_i>>>($636>>>0);
 var $638=$637&1;
 var $639=$638|$635;
 var $I7_0_i=$639;label=144;break;
 case 144: 
 var $I7_0_i;
 var $641=((19704+($I7_0_i<<2))|0);
 var $_sum2_i=((($349)+(28))|0);
 var $642=(($463+$_sum2_i)|0);
 var $643=$642;
 HEAP32[(($643)>>2)]=$I7_0_i;
 var $_sum3_i129=((($349)+(16))|0);
 var $644=(($463+$_sum3_i129)|0);
 var $_sum4_i130=((($349)+(20))|0);
 var $645=(($463+$_sum4_i130)|0);
 var $646=$645;
 HEAP32[(($646)>>2)]=0;
 var $647=$644;
 HEAP32[(($647)>>2)]=0;
 var $648=HEAP32[((19404)>>2)];
 var $649=1<<$I7_0_i;
 var $650=$648&$649;
 var $651=($650|0)==0;
 if($651){label=145;break;}else{label=146;break;}
 case 145: 
 var $653=$648|$649;
 HEAP32[((19404)>>2)]=$653;
 HEAP32[(($641)>>2)]=$612;
 var $654=$641;
 var $_sum5_i=((($349)+(24))|0);
 var $655=(($463+$_sum5_i)|0);
 var $656=$655;
 HEAP32[(($656)>>2)]=$654;
 var $_sum6_i=((($349)+(12))|0);
 var $657=(($463+$_sum6_i)|0);
 var $658=$657;
 HEAP32[(($658)>>2)]=$612;
 var $_sum7_i=((($349)+(8))|0);
 var $659=(($463+$_sum7_i)|0);
 var $660=$659;
 HEAP32[(($660)>>2)]=$612;
 label=159;break;
 case 146: 
 var $662=HEAP32[(($641)>>2)];
 var $663=($I7_0_i|0)==31;
 if($663){var $668=0;label=148;break;}else{label=147;break;}
 case 147: 
 var $665=$I7_0_i>>>1;
 var $666=(((25)-($665))|0);
 var $668=$666;label=148;break;
 case 148: 
 var $668;
 var $669=$rsize_3_lcssa_i<<$668;
 var $K12_0_i=$669;var $T_0_i=$662;label=149;break;
 case 149: 
 var $T_0_i;
 var $K12_0_i;
 var $671=(($T_0_i+4)|0);
 var $672=HEAP32[(($671)>>2)];
 var $673=$672&-8;
 var $674=($673|0)==($rsize_3_lcssa_i|0);
 if($674){label=154;break;}else{label=150;break;}
 case 150: 
 var $676=$K12_0_i>>>31;
 var $677=(($T_0_i+16+($676<<2))|0);
 var $678=HEAP32[(($677)>>2)];
 var $679=($678|0)==0;
 var $680=$K12_0_i<<1;
 if($679){label=151;break;}else{var $K12_0_i=$680;var $T_0_i=$678;label=149;break;}
 case 151: 
 var $682=$677;
 var $683=HEAP32[((19416)>>2)];
 var $684=($682>>>0)<($683>>>0);
 if($684){label=153;break;}else{label=152;break;}
 case 152: 
 HEAP32[(($677)>>2)]=$612;
 var $_sum12_i=((($349)+(24))|0);
 var $686=(($463+$_sum12_i)|0);
 var $687=$686;
 HEAP32[(($687)>>2)]=$T_0_i;
 var $_sum13_i=((($349)+(12))|0);
 var $688=(($463+$_sum13_i)|0);
 var $689=$688;
 HEAP32[(($689)>>2)]=$612;
 var $_sum14_i=((($349)+(8))|0);
 var $690=(($463+$_sum14_i)|0);
 var $691=$690;
 HEAP32[(($691)>>2)]=$612;
 label=159;break;
 case 153: 
 _abort();
 throw "Reached an unreachable!";
 case 154: 
 var $694=(($T_0_i+8)|0);
 var $695=HEAP32[(($694)>>2)];
 var $696=$T_0_i;
 var $697=HEAP32[((19416)>>2)];
 var $698=($696>>>0)<($697>>>0);
 if($698){label=157;break;}else{label=155;break;}
 case 155: 
 var $700=$695;
 var $701=($700>>>0)<($697>>>0);
 if($701){label=157;break;}else{label=156;break;}
 case 156: 
 var $703=(($695+12)|0);
 HEAP32[(($703)>>2)]=$612;
 HEAP32[(($694)>>2)]=$612;
 var $_sum9_i=((($349)+(8))|0);
 var $704=(($463+$_sum9_i)|0);
 var $705=$704;
 HEAP32[(($705)>>2)]=$695;
 var $_sum10_i=((($349)+(12))|0);
 var $706=(($463+$_sum10_i)|0);
 var $707=$706;
 HEAP32[(($707)>>2)]=$T_0_i;
 var $_sum11_i=((($349)+(24))|0);
 var $708=(($463+$_sum11_i)|0);
 var $709=$708;
 HEAP32[(($709)>>2)]=0;
 label=159;break;
 case 157: 
 _abort();
 throw "Reached an unreachable!";
 case 158: 
 _abort();
 throw "Reached an unreachable!";
 case 159: 
 var $711=(($v_3_lcssa_i+8)|0);
 var $712=$711;
 var $713=($711|0)==0;
 if($713){var $nb_0=$349;label=160;break;}else{var $mem_0=$712;label=341;break;}
 case 160: 
 var $nb_0;
 var $714=HEAP32[((19408)>>2)];
 var $715=($nb_0>>>0)>($714>>>0);
 if($715){label=165;break;}else{label=161;break;}
 case 161: 
 var $717=((($714)-($nb_0))|0);
 var $718=HEAP32[((19420)>>2)];
 var $719=($717>>>0)>15;
 if($719){label=162;break;}else{label=163;break;}
 case 162: 
 var $721=$718;
 var $722=(($721+$nb_0)|0);
 var $723=$722;
 HEAP32[((19420)>>2)]=$723;
 HEAP32[((19408)>>2)]=$717;
 var $724=$717|1;
 var $_sum102=((($nb_0)+(4))|0);
 var $725=(($721+$_sum102)|0);
 var $726=$725;
 HEAP32[(($726)>>2)]=$724;
 var $727=(($721+$714)|0);
 var $728=$727;
 HEAP32[(($728)>>2)]=$717;
 var $729=$nb_0|3;
 var $730=(($718+4)|0);
 HEAP32[(($730)>>2)]=$729;
 label=164;break;
 case 163: 
 HEAP32[((19408)>>2)]=0;
 HEAP32[((19420)>>2)]=0;
 var $732=$714|3;
 var $733=(($718+4)|0);
 HEAP32[(($733)>>2)]=$732;
 var $734=$718;
 var $_sum101=((($714)+(4))|0);
 var $735=(($734+$_sum101)|0);
 var $736=$735;
 var $737=HEAP32[(($736)>>2)];
 var $738=$737|1;
 HEAP32[(($736)>>2)]=$738;
 label=164;break;
 case 164: 
 var $740=(($718+8)|0);
 var $741=$740;
 var $mem_0=$741;label=341;break;
 case 165: 
 var $743=HEAP32[((19412)>>2)];
 var $744=($nb_0>>>0)<($743>>>0);
 if($744){label=166;break;}else{label=167;break;}
 case 166: 
 var $746=((($743)-($nb_0))|0);
 HEAP32[((19412)>>2)]=$746;
 var $747=HEAP32[((19424)>>2)];
 var $748=$747;
 var $749=(($748+$nb_0)|0);
 var $750=$749;
 HEAP32[((19424)>>2)]=$750;
 var $751=$746|1;
 var $_sum=((($nb_0)+(4))|0);
 var $752=(($748+$_sum)|0);
 var $753=$752;
 HEAP32[(($753)>>2)]=$751;
 var $754=$nb_0|3;
 var $755=(($747+4)|0);
 HEAP32[(($755)>>2)]=$754;
 var $756=(($747+8)|0);
 var $757=$756;
 var $mem_0=$757;label=341;break;
 case 167: 
 var $759=HEAP32[((19376)>>2)];
 var $760=($759|0)==0;
 if($760){label=168;break;}else{label=171;break;}
 case 168: 
 var $762=_sysconf(30);
 var $763=((($762)-(1))|0);
 var $764=$763&$762;
 var $765=($764|0)==0;
 if($765){label=170;break;}else{label=169;break;}
 case 169: 
 _abort();
 throw "Reached an unreachable!";
 case 170: 
 HEAP32[((19384)>>2)]=$762;
 HEAP32[((19380)>>2)]=$762;
 HEAP32[((19388)>>2)]=-1;
 HEAP32[((19392)>>2)]=-1;
 HEAP32[((19396)>>2)]=0;
 HEAP32[((19844)>>2)]=0;
 var $767=_time(0);
 var $768=$767&-16;
 var $769=$768^1431655768;
 HEAP32[((19376)>>2)]=$769;
 label=171;break;
 case 171: 
 var $771=((($nb_0)+(48))|0);
 var $772=HEAP32[((19384)>>2)];
 var $773=((($nb_0)+(47))|0);
 var $774=((($772)+($773))|0);
 var $775=(((-$772))|0);
 var $776=$774&$775;
 var $777=($776>>>0)>($nb_0>>>0);
 if($777){label=172;break;}else{var $mem_0=0;label=341;break;}
 case 172: 
 var $779=HEAP32[((19840)>>2)];
 var $780=($779|0)==0;
 if($780){label=174;break;}else{label=173;break;}
 case 173: 
 var $782=HEAP32[((19832)>>2)];
 var $783=((($782)+($776))|0);
 var $784=($783>>>0)<=($782>>>0);
 var $785=($783>>>0)>($779>>>0);
 var $or_cond1_i=$784|$785;
 if($or_cond1_i){var $mem_0=0;label=341;break;}else{label=174;break;}
 case 174: 
 var $787=HEAP32[((19844)>>2)];
 var $788=$787&4;
 var $789=($788|0)==0;
 if($789){label=175;break;}else{var $tsize_1_i=0;label=198;break;}
 case 175: 
 var $791=HEAP32[((19424)>>2)];
 var $792=($791|0)==0;
 if($792){label=181;break;}else{label=176;break;}
 case 176: 
 var $794=$791;
 var $sp_0_i_i=19848;label=177;break;
 case 177: 
 var $sp_0_i_i;
 var $796=(($sp_0_i_i)|0);
 var $797=HEAP32[(($796)>>2)];
 var $798=($797>>>0)>($794>>>0);
 if($798){label=179;break;}else{label=178;break;}
 case 178: 
 var $800=(($sp_0_i_i+4)|0);
 var $801=HEAP32[(($800)>>2)];
 var $802=(($797+$801)|0);
 var $803=($802>>>0)>($794>>>0);
 if($803){label=180;break;}else{label=179;break;}
 case 179: 
 var $805=(($sp_0_i_i+8)|0);
 var $806=HEAP32[(($805)>>2)];
 var $807=($806|0)==0;
 if($807){label=181;break;}else{var $sp_0_i_i=$806;label=177;break;}
 case 180: 
 var $808=($sp_0_i_i|0)==0;
 if($808){label=181;break;}else{label=188;break;}
 case 181: 
 var $809=_sbrk(0);
 var $810=($809|0)==-1;
 if($810){var $tsize_0303639_i=0;label=197;break;}else{label=182;break;}
 case 182: 
 var $812=$809;
 var $813=HEAP32[((19380)>>2)];
 var $814=((($813)-(1))|0);
 var $815=$814&$812;
 var $816=($815|0)==0;
 if($816){var $ssize_0_i=$776;label=184;break;}else{label=183;break;}
 case 183: 
 var $818=((($814)+($812))|0);
 var $819=(((-$813))|0);
 var $820=$818&$819;
 var $821=((($776)-($812))|0);
 var $822=((($821)+($820))|0);
 var $ssize_0_i=$822;label=184;break;
 case 184: 
 var $ssize_0_i;
 var $824=HEAP32[((19832)>>2)];
 var $825=((($824)+($ssize_0_i))|0);
 var $826=($ssize_0_i>>>0)>($nb_0>>>0);
 var $827=($ssize_0_i>>>0)<2147483647;
 var $or_cond_i131=$826&$827;
 if($or_cond_i131){label=185;break;}else{var $tsize_0303639_i=0;label=197;break;}
 case 185: 
 var $829=HEAP32[((19840)>>2)];
 var $830=($829|0)==0;
 if($830){label=187;break;}else{label=186;break;}
 case 186: 
 var $832=($825>>>0)<=($824>>>0);
 var $833=($825>>>0)>($829>>>0);
 var $or_cond2_i=$832|$833;
 if($or_cond2_i){var $tsize_0303639_i=0;label=197;break;}else{label=187;break;}
 case 187: 
 var $835=_sbrk($ssize_0_i);
 var $836=($835|0)==($809|0);
 var $ssize_0__i=($836?$ssize_0_i:0);
 var $__i=($836?$809:-1);
 var $tbase_0_i=$__i;var $tsize_0_i=$ssize_0__i;var $br_0_i=$835;var $ssize_1_i=$ssize_0_i;label=190;break;
 case 188: 
 var $838=HEAP32[((19412)>>2)];
 var $839=((($774)-($838))|0);
 var $840=$839&$775;
 var $841=($840>>>0)<2147483647;
 if($841){label=189;break;}else{var $tsize_0303639_i=0;label=197;break;}
 case 189: 
 var $843=_sbrk($840);
 var $844=HEAP32[(($796)>>2)];
 var $845=HEAP32[(($800)>>2)];
 var $846=(($844+$845)|0);
 var $847=($843|0)==($846|0);
 var $_3_i=($847?$840:0);
 var $_4_i=($847?$843:-1);
 var $tbase_0_i=$_4_i;var $tsize_0_i=$_3_i;var $br_0_i=$843;var $ssize_1_i=$840;label=190;break;
 case 190: 
 var $ssize_1_i;
 var $br_0_i;
 var $tsize_0_i;
 var $tbase_0_i;
 var $849=(((-$ssize_1_i))|0);
 var $850=($tbase_0_i|0)==-1;
 if($850){label=191;break;}else{var $tsize_244_i=$tsize_0_i;var $tbase_245_i=$tbase_0_i;label=201;break;}
 case 191: 
 var $852=($br_0_i|0)!=-1;
 var $853=($ssize_1_i>>>0)<2147483647;
 var $or_cond5_i=$852&$853;
 var $854=($ssize_1_i>>>0)<($771>>>0);
 var $or_cond6_i=$or_cond5_i&$854;
 if($or_cond6_i){label=192;break;}else{var $ssize_2_i=$ssize_1_i;label=196;break;}
 case 192: 
 var $856=HEAP32[((19384)>>2)];
 var $857=((($773)-($ssize_1_i))|0);
 var $858=((($857)+($856))|0);
 var $859=(((-$856))|0);
 var $860=$858&$859;
 var $861=($860>>>0)<2147483647;
 if($861){label=193;break;}else{var $ssize_2_i=$ssize_1_i;label=196;break;}
 case 193: 
 var $863=_sbrk($860);
 var $864=($863|0)==-1;
 if($864){label=195;break;}else{label=194;break;}
 case 194: 
 var $866=((($860)+($ssize_1_i))|0);
 var $ssize_2_i=$866;label=196;break;
 case 195: 
 var $868=_sbrk($849);
 var $tsize_0303639_i=$tsize_0_i;label=197;break;
 case 196: 
 var $ssize_2_i;
 var $870=($br_0_i|0)==-1;
 if($870){var $tsize_0303639_i=$tsize_0_i;label=197;break;}else{var $tsize_244_i=$ssize_2_i;var $tbase_245_i=$br_0_i;label=201;break;}
 case 197: 
 var $tsize_0303639_i;
 var $871=HEAP32[((19844)>>2)];
 var $872=$871|4;
 HEAP32[((19844)>>2)]=$872;
 var $tsize_1_i=$tsize_0303639_i;label=198;break;
 case 198: 
 var $tsize_1_i;
 var $874=($776>>>0)<2147483647;
 if($874){label=199;break;}else{label=340;break;}
 case 199: 
 var $876=_sbrk($776);
 var $877=_sbrk(0);
 var $notlhs_i=($876|0)!=-1;
 var $notrhs_i=($877|0)!=-1;
 var $or_cond8_not_i=$notrhs_i&$notlhs_i;
 var $878=($876>>>0)<($877>>>0);
 var $or_cond9_i=$or_cond8_not_i&$878;
 if($or_cond9_i){label=200;break;}else{label=340;break;}
 case 200: 
 var $879=$877;
 var $880=$876;
 var $881=((($879)-($880))|0);
 var $882=((($nb_0)+(40))|0);
 var $883=($881>>>0)>($882>>>0);
 var $_tsize_1_i=($883?$881:$tsize_1_i);
 var $_tbase_1_i=($883?$876:-1);
 var $884=($_tbase_1_i|0)==-1;
 if($884){label=340;break;}else{var $tsize_244_i=$_tsize_1_i;var $tbase_245_i=$_tbase_1_i;label=201;break;}
 case 201: 
 var $tbase_245_i;
 var $tsize_244_i;
 var $885=HEAP32[((19832)>>2)];
 var $886=((($885)+($tsize_244_i))|0);
 HEAP32[((19832)>>2)]=$886;
 var $887=HEAP32[((19836)>>2)];
 var $888=($886>>>0)>($887>>>0);
 if($888){label=202;break;}else{label=203;break;}
 case 202: 
 HEAP32[((19836)>>2)]=$886;
 label=203;break;
 case 203: 
 var $890=HEAP32[((19424)>>2)];
 var $891=($890|0)==0;
 if($891){label=204;break;}else{var $sp_067_i=19848;label=211;break;}
 case 204: 
 var $893=HEAP32[((19416)>>2)];
 var $894=($893|0)==0;
 var $895=($tbase_245_i>>>0)<($893>>>0);
 var $or_cond10_i=$894|$895;
 if($or_cond10_i){label=205;break;}else{label=206;break;}
 case 205: 
 HEAP32[((19416)>>2)]=$tbase_245_i;
 label=206;break;
 case 206: 
 HEAP32[((19848)>>2)]=$tbase_245_i;
 HEAP32[((19852)>>2)]=$tsize_244_i;
 HEAP32[((19860)>>2)]=0;
 var $897=HEAP32[((19376)>>2)];
 HEAP32[((19436)>>2)]=$897;
 HEAP32[((19432)>>2)]=-1;
 var $i_02_i_i=0;label=207;break;
 case 207: 
 var $i_02_i_i;
 var $899=$i_02_i_i<<1;
 var $900=((19440+($899<<2))|0);
 var $901=$900;
 var $_sum_i_i=((($899)+(3))|0);
 var $902=((19440+($_sum_i_i<<2))|0);
 HEAP32[(($902)>>2)]=$901;
 var $_sum1_i_i=((($899)+(2))|0);
 var $903=((19440+($_sum1_i_i<<2))|0);
 HEAP32[(($903)>>2)]=$901;
 var $904=((($i_02_i_i)+(1))|0);
 var $905=($904>>>0)<32;
 if($905){var $i_02_i_i=$904;label=207;break;}else{label=208;break;}
 case 208: 
 var $906=((($tsize_244_i)-(40))|0);
 var $907=(($tbase_245_i+8)|0);
 var $908=$907;
 var $909=$908&7;
 var $910=($909|0)==0;
 if($910){var $914=0;label=210;break;}else{label=209;break;}
 case 209: 
 var $912=(((-$908))|0);
 var $913=$912&7;
 var $914=$913;label=210;break;
 case 210: 
 var $914;
 var $915=(($tbase_245_i+$914)|0);
 var $916=$915;
 var $917=((($906)-($914))|0);
 HEAP32[((19424)>>2)]=$916;
 HEAP32[((19412)>>2)]=$917;
 var $918=$917|1;
 var $_sum_i14_i=((($914)+(4))|0);
 var $919=(($tbase_245_i+$_sum_i14_i)|0);
 var $920=$919;
 HEAP32[(($920)>>2)]=$918;
 var $_sum2_i_i=((($tsize_244_i)-(36))|0);
 var $921=(($tbase_245_i+$_sum2_i_i)|0);
 var $922=$921;
 HEAP32[(($922)>>2)]=40;
 var $923=HEAP32[((19392)>>2)];
 HEAP32[((19428)>>2)]=$923;
 label=338;break;
 case 211: 
 var $sp_067_i;
 var $924=(($sp_067_i)|0);
 var $925=HEAP32[(($924)>>2)];
 var $926=(($sp_067_i+4)|0);
 var $927=HEAP32[(($926)>>2)];
 var $928=(($925+$927)|0);
 var $929=($tbase_245_i|0)==($928|0);
 if($929){label=213;break;}else{label=212;break;}
 case 212: 
 var $931=(($sp_067_i+8)|0);
 var $932=HEAP32[(($931)>>2)];
 var $933=($932|0)==0;
 if($933){label=218;break;}else{var $sp_067_i=$932;label=211;break;}
 case 213: 
 var $934=(($sp_067_i+12)|0);
 var $935=HEAP32[(($934)>>2)];
 var $936=$935&8;
 var $937=($936|0)==0;
 if($937){label=214;break;}else{label=218;break;}
 case 214: 
 var $939=$890;
 var $940=($939>>>0)>=($925>>>0);
 var $941=($939>>>0)<($tbase_245_i>>>0);
 var $or_cond47_i=$940&$941;
 if($or_cond47_i){label=215;break;}else{label=218;break;}
 case 215: 
 var $943=((($927)+($tsize_244_i))|0);
 HEAP32[(($926)>>2)]=$943;
 var $944=HEAP32[((19424)>>2)];
 var $945=HEAP32[((19412)>>2)];
 var $946=((($945)+($tsize_244_i))|0);
 var $947=$944;
 var $948=(($944+8)|0);
 var $949=$948;
 var $950=$949&7;
 var $951=($950|0)==0;
 if($951){var $955=0;label=217;break;}else{label=216;break;}
 case 216: 
 var $953=(((-$949))|0);
 var $954=$953&7;
 var $955=$954;label=217;break;
 case 217: 
 var $955;
 var $956=(($947+$955)|0);
 var $957=$956;
 var $958=((($946)-($955))|0);
 HEAP32[((19424)>>2)]=$957;
 HEAP32[((19412)>>2)]=$958;
 var $959=$958|1;
 var $_sum_i18_i=((($955)+(4))|0);
 var $960=(($947+$_sum_i18_i)|0);
 var $961=$960;
 HEAP32[(($961)>>2)]=$959;
 var $_sum2_i19_i=((($946)+(4))|0);
 var $962=(($947+$_sum2_i19_i)|0);
 var $963=$962;
 HEAP32[(($963)>>2)]=40;
 var $964=HEAP32[((19392)>>2)];
 HEAP32[((19428)>>2)]=$964;
 label=338;break;
 case 218: 
 var $965=HEAP32[((19416)>>2)];
 var $966=($tbase_245_i>>>0)<($965>>>0);
 if($966){label=219;break;}else{label=220;break;}
 case 219: 
 HEAP32[((19416)>>2)]=$tbase_245_i;
 label=220;break;
 case 220: 
 var $968=(($tbase_245_i+$tsize_244_i)|0);
 var $sp_160_i=19848;label=221;break;
 case 221: 
 var $sp_160_i;
 var $970=(($sp_160_i)|0);
 var $971=HEAP32[(($970)>>2)];
 var $972=($971|0)==($968|0);
 if($972){label=223;break;}else{label=222;break;}
 case 222: 
 var $974=(($sp_160_i+8)|0);
 var $975=HEAP32[(($974)>>2)];
 var $976=($975|0)==0;
 if($976){label=304;break;}else{var $sp_160_i=$975;label=221;break;}
 case 223: 
 var $977=(($sp_160_i+12)|0);
 var $978=HEAP32[(($977)>>2)];
 var $979=$978&8;
 var $980=($979|0)==0;
 if($980){label=224;break;}else{label=304;break;}
 case 224: 
 HEAP32[(($970)>>2)]=$tbase_245_i;
 var $982=(($sp_160_i+4)|0);
 var $983=HEAP32[(($982)>>2)];
 var $984=((($983)+($tsize_244_i))|0);
 HEAP32[(($982)>>2)]=$984;
 var $985=(($tbase_245_i+8)|0);
 var $986=$985;
 var $987=$986&7;
 var $988=($987|0)==0;
 if($988){var $993=0;label=226;break;}else{label=225;break;}
 case 225: 
 var $990=(((-$986))|0);
 var $991=$990&7;
 var $993=$991;label=226;break;
 case 226: 
 var $993;
 var $994=(($tbase_245_i+$993)|0);
 var $_sum93_i=((($tsize_244_i)+(8))|0);
 var $995=(($tbase_245_i+$_sum93_i)|0);
 var $996=$995;
 var $997=$996&7;
 var $998=($997|0)==0;
 if($998){var $1003=0;label=228;break;}else{label=227;break;}
 case 227: 
 var $1000=(((-$996))|0);
 var $1001=$1000&7;
 var $1003=$1001;label=228;break;
 case 228: 
 var $1003;
 var $_sum94_i=((($1003)+($tsize_244_i))|0);
 var $1004=(($tbase_245_i+$_sum94_i)|0);
 var $1005=$1004;
 var $1006=$1004;
 var $1007=$994;
 var $1008=((($1006)-($1007))|0);
 var $_sum_i21_i=((($993)+($nb_0))|0);
 var $1009=(($tbase_245_i+$_sum_i21_i)|0);
 var $1010=$1009;
 var $1011=((($1008)-($nb_0))|0);
 var $1012=$nb_0|3;
 var $_sum1_i22_i=((($993)+(4))|0);
 var $1013=(($tbase_245_i+$_sum1_i22_i)|0);
 var $1014=$1013;
 HEAP32[(($1014)>>2)]=$1012;
 var $1015=HEAP32[((19424)>>2)];
 var $1016=($1005|0)==($1015|0);
 if($1016){label=229;break;}else{label=230;break;}
 case 229: 
 var $1018=HEAP32[((19412)>>2)];
 var $1019=((($1018)+($1011))|0);
 HEAP32[((19412)>>2)]=$1019;
 HEAP32[((19424)>>2)]=$1010;
 var $1020=$1019|1;
 var $_sum46_i_i=((($_sum_i21_i)+(4))|0);
 var $1021=(($tbase_245_i+$_sum46_i_i)|0);
 var $1022=$1021;
 HEAP32[(($1022)>>2)]=$1020;
 label=303;break;
 case 230: 
 var $1024=HEAP32[((19420)>>2)];
 var $1025=($1005|0)==($1024|0);
 if($1025){label=231;break;}else{label=232;break;}
 case 231: 
 var $1027=HEAP32[((19408)>>2)];
 var $1028=((($1027)+($1011))|0);
 HEAP32[((19408)>>2)]=$1028;
 HEAP32[((19420)>>2)]=$1010;
 var $1029=$1028|1;
 var $_sum44_i_i=((($_sum_i21_i)+(4))|0);
 var $1030=(($tbase_245_i+$_sum44_i_i)|0);
 var $1031=$1030;
 HEAP32[(($1031)>>2)]=$1029;
 var $_sum45_i_i=((($1028)+($_sum_i21_i))|0);
 var $1032=(($tbase_245_i+$_sum45_i_i)|0);
 var $1033=$1032;
 HEAP32[(($1033)>>2)]=$1028;
 label=303;break;
 case 232: 
 var $_sum2_i23_i=((($tsize_244_i)+(4))|0);
 var $_sum95_i=((($_sum2_i23_i)+($1003))|0);
 var $1035=(($tbase_245_i+$_sum95_i)|0);
 var $1036=$1035;
 var $1037=HEAP32[(($1036)>>2)];
 var $1038=$1037&3;
 var $1039=($1038|0)==1;
 if($1039){label=233;break;}else{var $oldfirst_0_i_i=$1005;var $qsize_0_i_i=$1011;label=280;break;}
 case 233: 
 var $1041=$1037&-8;
 var $1042=$1037>>>3;
 var $1043=($1037>>>0)<256;
 if($1043){label=234;break;}else{label=246;break;}
 case 234: 
 var $_sum3940_i_i=$1003|8;
 var $_sum105_i=((($_sum3940_i_i)+($tsize_244_i))|0);
 var $1045=(($tbase_245_i+$_sum105_i)|0);
 var $1046=$1045;
 var $1047=HEAP32[(($1046)>>2)];
 var $_sum41_i_i=((($tsize_244_i)+(12))|0);
 var $_sum106_i=((($_sum41_i_i)+($1003))|0);
 var $1048=(($tbase_245_i+$_sum106_i)|0);
 var $1049=$1048;
 var $1050=HEAP32[(($1049)>>2)];
 var $1051=$1042<<1;
 var $1052=((19440+($1051<<2))|0);
 var $1053=$1052;
 var $1054=($1047|0)==($1053|0);
 if($1054){label=237;break;}else{label=235;break;}
 case 235: 
 var $1056=$1047;
 var $1057=HEAP32[((19416)>>2)];
 var $1058=($1056>>>0)<($1057>>>0);
 if($1058){label=245;break;}else{label=236;break;}
 case 236: 
 var $1060=(($1047+12)|0);
 var $1061=HEAP32[(($1060)>>2)];
 var $1062=($1061|0)==($1005|0);
 if($1062){label=237;break;}else{label=245;break;}
 case 237: 
 var $1063=($1050|0)==($1047|0);
 if($1063){label=238;break;}else{label=239;break;}
 case 238: 
 var $1065=1<<$1042;
 var $1066=$1065^-1;
 var $1067=HEAP32[((19400)>>2)];
 var $1068=$1067&$1066;
 HEAP32[((19400)>>2)]=$1068;
 label=279;break;
 case 239: 
 var $1070=($1050|0)==($1053|0);
 if($1070){label=240;break;}else{label=241;break;}
 case 240: 
 var $_pre56_i_i=(($1050+8)|0);
 var $_pre_phi57_i_i=$_pre56_i_i;label=243;break;
 case 241: 
 var $1072=$1050;
 var $1073=HEAP32[((19416)>>2)];
 var $1074=($1072>>>0)<($1073>>>0);
 if($1074){label=244;break;}else{label=242;break;}
 case 242: 
 var $1076=(($1050+8)|0);
 var $1077=HEAP32[(($1076)>>2)];
 var $1078=($1077|0)==($1005|0);
 if($1078){var $_pre_phi57_i_i=$1076;label=243;break;}else{label=244;break;}
 case 243: 
 var $_pre_phi57_i_i;
 var $1079=(($1047+12)|0);
 HEAP32[(($1079)>>2)]=$1050;
 HEAP32[(($_pre_phi57_i_i)>>2)]=$1047;
 label=279;break;
 case 244: 
 _abort();
 throw "Reached an unreachable!";
 case 245: 
 _abort();
 throw "Reached an unreachable!";
 case 246: 
 var $1081=$1004;
 var $_sum34_i_i=$1003|24;
 var $_sum96_i=((($_sum34_i_i)+($tsize_244_i))|0);
 var $1082=(($tbase_245_i+$_sum96_i)|0);
 var $1083=$1082;
 var $1084=HEAP32[(($1083)>>2)];
 var $_sum5_i_i=((($tsize_244_i)+(12))|0);
 var $_sum97_i=((($_sum5_i_i)+($1003))|0);
 var $1085=(($tbase_245_i+$_sum97_i)|0);
 var $1086=$1085;
 var $1087=HEAP32[(($1086)>>2)];
 var $1088=($1087|0)==($1081|0);
 if($1088){label=252;break;}else{label=247;break;}
 case 247: 
 var $_sum3637_i_i=$1003|8;
 var $_sum98_i=((($_sum3637_i_i)+($tsize_244_i))|0);
 var $1090=(($tbase_245_i+$_sum98_i)|0);
 var $1091=$1090;
 var $1092=HEAP32[(($1091)>>2)];
 var $1093=$1092;
 var $1094=HEAP32[((19416)>>2)];
 var $1095=($1093>>>0)<($1094>>>0);
 if($1095){label=251;break;}else{label=248;break;}
 case 248: 
 var $1097=(($1092+12)|0);
 var $1098=HEAP32[(($1097)>>2)];
 var $1099=($1098|0)==($1081|0);
 if($1099){label=249;break;}else{label=251;break;}
 case 249: 
 var $1101=(($1087+8)|0);
 var $1102=HEAP32[(($1101)>>2)];
 var $1103=($1102|0)==($1081|0);
 if($1103){label=250;break;}else{label=251;break;}
 case 250: 
 HEAP32[(($1097)>>2)]=$1087;
 HEAP32[(($1101)>>2)]=$1092;
 var $R_1_i_i=$1087;label=259;break;
 case 251: 
 _abort();
 throw "Reached an unreachable!";
 case 252: 
 var $_sum67_i_i=$1003|16;
 var $_sum103_i=((($_sum2_i23_i)+($_sum67_i_i))|0);
 var $1106=(($tbase_245_i+$_sum103_i)|0);
 var $1107=$1106;
 var $1108=HEAP32[(($1107)>>2)];
 var $1109=($1108|0)==0;
 if($1109){label=253;break;}else{var $R_0_i_i=$1108;var $RP_0_i_i=$1107;label=254;break;}
 case 253: 
 var $_sum104_i=((($_sum67_i_i)+($tsize_244_i))|0);
 var $1111=(($tbase_245_i+$_sum104_i)|0);
 var $1112=$1111;
 var $1113=HEAP32[(($1112)>>2)];
 var $1114=($1113|0)==0;
 if($1114){var $R_1_i_i=0;label=259;break;}else{var $R_0_i_i=$1113;var $RP_0_i_i=$1112;label=254;break;}
 case 254: 
 var $RP_0_i_i;
 var $R_0_i_i;
 var $1115=(($R_0_i_i+20)|0);
 var $1116=HEAP32[(($1115)>>2)];
 var $1117=($1116|0)==0;
 if($1117){label=255;break;}else{var $R_0_i_i=$1116;var $RP_0_i_i=$1115;label=254;break;}
 case 255: 
 var $1119=(($R_0_i_i+16)|0);
 var $1120=HEAP32[(($1119)>>2)];
 var $1121=($1120|0)==0;
 if($1121){label=256;break;}else{var $R_0_i_i=$1120;var $RP_0_i_i=$1119;label=254;break;}
 case 256: 
 var $1123=$RP_0_i_i;
 var $1124=HEAP32[((19416)>>2)];
 var $1125=($1123>>>0)<($1124>>>0);
 if($1125){label=258;break;}else{label=257;break;}
 case 257: 
 HEAP32[(($RP_0_i_i)>>2)]=0;
 var $R_1_i_i=$R_0_i_i;label=259;break;
 case 258: 
 _abort();
 throw "Reached an unreachable!";
 case 259: 
 var $R_1_i_i;
 var $1129=($1084|0)==0;
 if($1129){label=279;break;}else{label=260;break;}
 case 260: 
 var $_sum31_i_i=((($tsize_244_i)+(28))|0);
 var $_sum99_i=((($_sum31_i_i)+($1003))|0);
 var $1131=(($tbase_245_i+$_sum99_i)|0);
 var $1132=$1131;
 var $1133=HEAP32[(($1132)>>2)];
 var $1134=((19704+($1133<<2))|0);
 var $1135=HEAP32[(($1134)>>2)];
 var $1136=($1081|0)==($1135|0);
 if($1136){label=261;break;}else{label=263;break;}
 case 261: 
 HEAP32[(($1134)>>2)]=$R_1_i_i;
 var $cond_i_i=($R_1_i_i|0)==0;
 if($cond_i_i){label=262;break;}else{label=269;break;}
 case 262: 
 var $1138=HEAP32[(($1132)>>2)];
 var $1139=1<<$1138;
 var $1140=$1139^-1;
 var $1141=HEAP32[((19404)>>2)];
 var $1142=$1141&$1140;
 HEAP32[((19404)>>2)]=$1142;
 label=279;break;
 case 263: 
 var $1144=$1084;
 var $1145=HEAP32[((19416)>>2)];
 var $1146=($1144>>>0)<($1145>>>0);
 if($1146){label=267;break;}else{label=264;break;}
 case 264: 
 var $1148=(($1084+16)|0);
 var $1149=HEAP32[(($1148)>>2)];
 var $1150=($1149|0)==($1081|0);
 if($1150){label=265;break;}else{label=266;break;}
 case 265: 
 HEAP32[(($1148)>>2)]=$R_1_i_i;
 label=268;break;
 case 266: 
 var $1153=(($1084+20)|0);
 HEAP32[(($1153)>>2)]=$R_1_i_i;
 label=268;break;
 case 267: 
 _abort();
 throw "Reached an unreachable!";
 case 268: 
 var $1156=($R_1_i_i|0)==0;
 if($1156){label=279;break;}else{label=269;break;}
 case 269: 
 var $1158=$R_1_i_i;
 var $1159=HEAP32[((19416)>>2)];
 var $1160=($1158>>>0)<($1159>>>0);
 if($1160){label=278;break;}else{label=270;break;}
 case 270: 
 var $1162=(($R_1_i_i+24)|0);
 HEAP32[(($1162)>>2)]=$1084;
 var $_sum3233_i_i=$1003|16;
 var $_sum100_i=((($_sum3233_i_i)+($tsize_244_i))|0);
 var $1163=(($tbase_245_i+$_sum100_i)|0);
 var $1164=$1163;
 var $1165=HEAP32[(($1164)>>2)];
 var $1166=($1165|0)==0;
 if($1166){label=274;break;}else{label=271;break;}
 case 271: 
 var $1168=$1165;
 var $1169=HEAP32[((19416)>>2)];
 var $1170=($1168>>>0)<($1169>>>0);
 if($1170){label=273;break;}else{label=272;break;}
 case 272: 
 var $1172=(($R_1_i_i+16)|0);
 HEAP32[(($1172)>>2)]=$1165;
 var $1173=(($1165+24)|0);
 HEAP32[(($1173)>>2)]=$R_1_i_i;
 label=274;break;
 case 273: 
 _abort();
 throw "Reached an unreachable!";
 case 274: 
 var $_sum101_i=((($_sum2_i23_i)+($_sum3233_i_i))|0);
 var $1176=(($tbase_245_i+$_sum101_i)|0);
 var $1177=$1176;
 var $1178=HEAP32[(($1177)>>2)];
 var $1179=($1178|0)==0;
 if($1179){label=279;break;}else{label=275;break;}
 case 275: 
 var $1181=$1178;
 var $1182=HEAP32[((19416)>>2)];
 var $1183=($1181>>>0)<($1182>>>0);
 if($1183){label=277;break;}else{label=276;break;}
 case 276: 
 var $1185=(($R_1_i_i+20)|0);
 HEAP32[(($1185)>>2)]=$1178;
 var $1186=(($1178+24)|0);
 HEAP32[(($1186)>>2)]=$R_1_i_i;
 label=279;break;
 case 277: 
 _abort();
 throw "Reached an unreachable!";
 case 278: 
 _abort();
 throw "Reached an unreachable!";
 case 279: 
 var $_sum9_i_i=$1041|$1003;
 var $_sum102_i=((($_sum9_i_i)+($tsize_244_i))|0);
 var $1190=(($tbase_245_i+$_sum102_i)|0);
 var $1191=$1190;
 var $1192=((($1041)+($1011))|0);
 var $oldfirst_0_i_i=$1191;var $qsize_0_i_i=$1192;label=280;break;
 case 280: 
 var $qsize_0_i_i;
 var $oldfirst_0_i_i;
 var $1194=(($oldfirst_0_i_i+4)|0);
 var $1195=HEAP32[(($1194)>>2)];
 var $1196=$1195&-2;
 HEAP32[(($1194)>>2)]=$1196;
 var $1197=$qsize_0_i_i|1;
 var $_sum10_i_i=((($_sum_i21_i)+(4))|0);
 var $1198=(($tbase_245_i+$_sum10_i_i)|0);
 var $1199=$1198;
 HEAP32[(($1199)>>2)]=$1197;
 var $_sum11_i_i=((($qsize_0_i_i)+($_sum_i21_i))|0);
 var $1200=(($tbase_245_i+$_sum11_i_i)|0);
 var $1201=$1200;
 HEAP32[(($1201)>>2)]=$qsize_0_i_i;
 var $1202=$qsize_0_i_i>>>3;
 var $1203=($qsize_0_i_i>>>0)<256;
 if($1203){label=281;break;}else{label=286;break;}
 case 281: 
 var $1205=$1202<<1;
 var $1206=((19440+($1205<<2))|0);
 var $1207=$1206;
 var $1208=HEAP32[((19400)>>2)];
 var $1209=1<<$1202;
 var $1210=$1208&$1209;
 var $1211=($1210|0)==0;
 if($1211){label=282;break;}else{label=283;break;}
 case 282: 
 var $1213=$1208|$1209;
 HEAP32[((19400)>>2)]=$1213;
 var $_sum27_pre_i_i=((($1205)+(2))|0);
 var $_pre_i24_i=((19440+($_sum27_pre_i_i<<2))|0);
 var $F4_0_i_i=$1207;var $_pre_phi_i25_i=$_pre_i24_i;label=285;break;
 case 283: 
 var $_sum30_i_i=((($1205)+(2))|0);
 var $1215=((19440+($_sum30_i_i<<2))|0);
 var $1216=HEAP32[(($1215)>>2)];
 var $1217=$1216;
 var $1218=HEAP32[((19416)>>2)];
 var $1219=($1217>>>0)<($1218>>>0);
 if($1219){label=284;break;}else{var $F4_0_i_i=$1216;var $_pre_phi_i25_i=$1215;label=285;break;}
 case 284: 
 _abort();
 throw "Reached an unreachable!";
 case 285: 
 var $_pre_phi_i25_i;
 var $F4_0_i_i;
 HEAP32[(($_pre_phi_i25_i)>>2)]=$1010;
 var $1222=(($F4_0_i_i+12)|0);
 HEAP32[(($1222)>>2)]=$1010;
 var $_sum28_i_i=((($_sum_i21_i)+(8))|0);
 var $1223=(($tbase_245_i+$_sum28_i_i)|0);
 var $1224=$1223;
 HEAP32[(($1224)>>2)]=$F4_0_i_i;
 var $_sum29_i_i=((($_sum_i21_i)+(12))|0);
 var $1225=(($tbase_245_i+$_sum29_i_i)|0);
 var $1226=$1225;
 HEAP32[(($1226)>>2)]=$1207;
 label=303;break;
 case 286: 
 var $1228=$1009;
 var $1229=$qsize_0_i_i>>>8;
 var $1230=($1229|0)==0;
 if($1230){var $I7_0_i_i=0;label=289;break;}else{label=287;break;}
 case 287: 
 var $1232=($qsize_0_i_i>>>0)>16777215;
 if($1232){var $I7_0_i_i=31;label=289;break;}else{label=288;break;}
 case 288: 
 var $1234=((($1229)+(1048320))|0);
 var $1235=$1234>>>16;
 var $1236=$1235&8;
 var $1237=$1229<<$1236;
 var $1238=((($1237)+(520192))|0);
 var $1239=$1238>>>16;
 var $1240=$1239&4;
 var $1241=$1240|$1236;
 var $1242=$1237<<$1240;
 var $1243=((($1242)+(245760))|0);
 var $1244=$1243>>>16;
 var $1245=$1244&2;
 var $1246=$1241|$1245;
 var $1247=(((14)-($1246))|0);
 var $1248=$1242<<$1245;
 var $1249=$1248>>>15;
 var $1250=((($1247)+($1249))|0);
 var $1251=$1250<<1;
 var $1252=((($1250)+(7))|0);
 var $1253=$qsize_0_i_i>>>($1252>>>0);
 var $1254=$1253&1;
 var $1255=$1254|$1251;
 var $I7_0_i_i=$1255;label=289;break;
 case 289: 
 var $I7_0_i_i;
 var $1257=((19704+($I7_0_i_i<<2))|0);
 var $_sum12_i26_i=((($_sum_i21_i)+(28))|0);
 var $1258=(($tbase_245_i+$_sum12_i26_i)|0);
 var $1259=$1258;
 HEAP32[(($1259)>>2)]=$I7_0_i_i;
 var $_sum13_i_i=((($_sum_i21_i)+(16))|0);
 var $1260=(($tbase_245_i+$_sum13_i_i)|0);
 var $_sum14_i_i=((($_sum_i21_i)+(20))|0);
 var $1261=(($tbase_245_i+$_sum14_i_i)|0);
 var $1262=$1261;
 HEAP32[(($1262)>>2)]=0;
 var $1263=$1260;
 HEAP32[(($1263)>>2)]=0;
 var $1264=HEAP32[((19404)>>2)];
 var $1265=1<<$I7_0_i_i;
 var $1266=$1264&$1265;
 var $1267=($1266|0)==0;
 if($1267){label=290;break;}else{label=291;break;}
 case 290: 
 var $1269=$1264|$1265;
 HEAP32[((19404)>>2)]=$1269;
 HEAP32[(($1257)>>2)]=$1228;
 var $1270=$1257;
 var $_sum15_i_i=((($_sum_i21_i)+(24))|0);
 var $1271=(($tbase_245_i+$_sum15_i_i)|0);
 var $1272=$1271;
 HEAP32[(($1272)>>2)]=$1270;
 var $_sum16_i_i=((($_sum_i21_i)+(12))|0);
 var $1273=(($tbase_245_i+$_sum16_i_i)|0);
 var $1274=$1273;
 HEAP32[(($1274)>>2)]=$1228;
 var $_sum17_i_i=((($_sum_i21_i)+(8))|0);
 var $1275=(($tbase_245_i+$_sum17_i_i)|0);
 var $1276=$1275;
 HEAP32[(($1276)>>2)]=$1228;
 label=303;break;
 case 291: 
 var $1278=HEAP32[(($1257)>>2)];
 var $1279=($I7_0_i_i|0)==31;
 if($1279){var $1284=0;label=293;break;}else{label=292;break;}
 case 292: 
 var $1281=$I7_0_i_i>>>1;
 var $1282=(((25)-($1281))|0);
 var $1284=$1282;label=293;break;
 case 293: 
 var $1284;
 var $1285=$qsize_0_i_i<<$1284;
 var $K8_0_i_i=$1285;var $T_0_i27_i=$1278;label=294;break;
 case 294: 
 var $T_0_i27_i;
 var $K8_0_i_i;
 var $1287=(($T_0_i27_i+4)|0);
 var $1288=HEAP32[(($1287)>>2)];
 var $1289=$1288&-8;
 var $1290=($1289|0)==($qsize_0_i_i|0);
 if($1290){label=299;break;}else{label=295;break;}
 case 295: 
 var $1292=$K8_0_i_i>>>31;
 var $1293=(($T_0_i27_i+16+($1292<<2))|0);
 var $1294=HEAP32[(($1293)>>2)];
 var $1295=($1294|0)==0;
 var $1296=$K8_0_i_i<<1;
 if($1295){label=296;break;}else{var $K8_0_i_i=$1296;var $T_0_i27_i=$1294;label=294;break;}
 case 296: 
 var $1298=$1293;
 var $1299=HEAP32[((19416)>>2)];
 var $1300=($1298>>>0)<($1299>>>0);
 if($1300){label=298;break;}else{label=297;break;}
 case 297: 
 HEAP32[(($1293)>>2)]=$1228;
 var $_sum24_i_i=((($_sum_i21_i)+(24))|0);
 var $1302=(($tbase_245_i+$_sum24_i_i)|0);
 var $1303=$1302;
 HEAP32[(($1303)>>2)]=$T_0_i27_i;
 var $_sum25_i_i=((($_sum_i21_i)+(12))|0);
 var $1304=(($tbase_245_i+$_sum25_i_i)|0);
 var $1305=$1304;
 HEAP32[(($1305)>>2)]=$1228;
 var $_sum26_i_i=((($_sum_i21_i)+(8))|0);
 var $1306=(($tbase_245_i+$_sum26_i_i)|0);
 var $1307=$1306;
 HEAP32[(($1307)>>2)]=$1228;
 label=303;break;
 case 298: 
 _abort();
 throw "Reached an unreachable!";
 case 299: 
 var $1310=(($T_0_i27_i+8)|0);
 var $1311=HEAP32[(($1310)>>2)];
 var $1312=$T_0_i27_i;
 var $1313=HEAP32[((19416)>>2)];
 var $1314=($1312>>>0)<($1313>>>0);
 if($1314){label=302;break;}else{label=300;break;}
 case 300: 
 var $1316=$1311;
 var $1317=($1316>>>0)<($1313>>>0);
 if($1317){label=302;break;}else{label=301;break;}
 case 301: 
 var $1319=(($1311+12)|0);
 HEAP32[(($1319)>>2)]=$1228;
 HEAP32[(($1310)>>2)]=$1228;
 var $_sum21_i_i=((($_sum_i21_i)+(8))|0);
 var $1320=(($tbase_245_i+$_sum21_i_i)|0);
 var $1321=$1320;
 HEAP32[(($1321)>>2)]=$1311;
 var $_sum22_i_i=((($_sum_i21_i)+(12))|0);
 var $1322=(($tbase_245_i+$_sum22_i_i)|0);
 var $1323=$1322;
 HEAP32[(($1323)>>2)]=$T_0_i27_i;
 var $_sum23_i_i=((($_sum_i21_i)+(24))|0);
 var $1324=(($tbase_245_i+$_sum23_i_i)|0);
 var $1325=$1324;
 HEAP32[(($1325)>>2)]=0;
 label=303;break;
 case 302: 
 _abort();
 throw "Reached an unreachable!";
 case 303: 
 var $_sum1819_i_i=$993|8;
 var $1326=(($tbase_245_i+$_sum1819_i_i)|0);
 var $mem_0=$1326;label=341;break;
 case 304: 
 var $1327=$890;
 var $sp_0_i_i_i=19848;label=305;break;
 case 305: 
 var $sp_0_i_i_i;
 var $1329=(($sp_0_i_i_i)|0);
 var $1330=HEAP32[(($1329)>>2)];
 var $1331=($1330>>>0)>($1327>>>0);
 if($1331){label=307;break;}else{label=306;break;}
 case 306: 
 var $1333=(($sp_0_i_i_i+4)|0);
 var $1334=HEAP32[(($1333)>>2)];
 var $1335=(($1330+$1334)|0);
 var $1336=($1335>>>0)>($1327>>>0);
 if($1336){label=308;break;}else{label=307;break;}
 case 307: 
 var $1338=(($sp_0_i_i_i+8)|0);
 var $1339=HEAP32[(($1338)>>2)];
 var $sp_0_i_i_i=$1339;label=305;break;
 case 308: 
 var $_sum_i15_i=((($1334)-(47))|0);
 var $_sum1_i16_i=((($1334)-(39))|0);
 var $1340=(($1330+$_sum1_i16_i)|0);
 var $1341=$1340;
 var $1342=$1341&7;
 var $1343=($1342|0)==0;
 if($1343){var $1348=0;label=310;break;}else{label=309;break;}
 case 309: 
 var $1345=(((-$1341))|0);
 var $1346=$1345&7;
 var $1348=$1346;label=310;break;
 case 310: 
 var $1348;
 var $_sum2_i17_i=((($_sum_i15_i)+($1348))|0);
 var $1349=(($1330+$_sum2_i17_i)|0);
 var $1350=(($890+16)|0);
 var $1351=$1350;
 var $1352=($1349>>>0)<($1351>>>0);
 var $1353=($1352?$1327:$1349);
 var $1354=(($1353+8)|0);
 var $1355=$1354;
 var $1356=((($tsize_244_i)-(40))|0);
 var $1357=(($tbase_245_i+8)|0);
 var $1358=$1357;
 var $1359=$1358&7;
 var $1360=($1359|0)==0;
 if($1360){var $1364=0;label=312;break;}else{label=311;break;}
 case 311: 
 var $1362=(((-$1358))|0);
 var $1363=$1362&7;
 var $1364=$1363;label=312;break;
 case 312: 
 var $1364;
 var $1365=(($tbase_245_i+$1364)|0);
 var $1366=$1365;
 var $1367=((($1356)-($1364))|0);
 HEAP32[((19424)>>2)]=$1366;
 HEAP32[((19412)>>2)]=$1367;
 var $1368=$1367|1;
 var $_sum_i_i_i=((($1364)+(4))|0);
 var $1369=(($tbase_245_i+$_sum_i_i_i)|0);
 var $1370=$1369;
 HEAP32[(($1370)>>2)]=$1368;
 var $_sum2_i_i_i=((($tsize_244_i)-(36))|0);
 var $1371=(($tbase_245_i+$_sum2_i_i_i)|0);
 var $1372=$1371;
 HEAP32[(($1372)>>2)]=40;
 var $1373=HEAP32[((19392)>>2)];
 HEAP32[((19428)>>2)]=$1373;
 var $1374=(($1353+4)|0);
 var $1375=$1374;
 HEAP32[(($1375)>>2)]=27;
 assert(16 % 1 === 0);HEAP32[(($1354)>>2)]=HEAP32[((19848)>>2)];HEAP32[((($1354)+(4))>>2)]=HEAP32[((19852)>>2)];HEAP32[((($1354)+(8))>>2)]=HEAP32[((19856)>>2)];HEAP32[((($1354)+(12))>>2)]=HEAP32[((19860)>>2)];
 HEAP32[((19848)>>2)]=$tbase_245_i;
 HEAP32[((19852)>>2)]=$tsize_244_i;
 HEAP32[((19860)>>2)]=0;
 HEAP32[((19856)>>2)]=$1355;
 var $1376=(($1353+28)|0);
 var $1377=$1376;
 HEAP32[(($1377)>>2)]=7;
 var $1378=(($1353+32)|0);
 var $1379=($1378>>>0)<($1335>>>0);
 if($1379){var $1380=$1377;label=313;break;}else{label=314;break;}
 case 313: 
 var $1380;
 var $1381=(($1380+4)|0);
 HEAP32[(($1381)>>2)]=7;
 var $1382=(($1380+8)|0);
 var $1383=$1382;
 var $1384=($1383>>>0)<($1335>>>0);
 if($1384){var $1380=$1381;label=313;break;}else{label=314;break;}
 case 314: 
 var $1385=($1353|0)==($1327|0);
 if($1385){label=338;break;}else{label=315;break;}
 case 315: 
 var $1387=$1353;
 var $1388=$890;
 var $1389=((($1387)-($1388))|0);
 var $1390=(($1327+$1389)|0);
 var $_sum3_i_i=((($1389)+(4))|0);
 var $1391=(($1327+$_sum3_i_i)|0);
 var $1392=$1391;
 var $1393=HEAP32[(($1392)>>2)];
 var $1394=$1393&-2;
 HEAP32[(($1392)>>2)]=$1394;
 var $1395=$1389|1;
 var $1396=(($890+4)|0);
 HEAP32[(($1396)>>2)]=$1395;
 var $1397=$1390;
 HEAP32[(($1397)>>2)]=$1389;
 var $1398=$1389>>>3;
 var $1399=($1389>>>0)<256;
 if($1399){label=316;break;}else{label=321;break;}
 case 316: 
 var $1401=$1398<<1;
 var $1402=((19440+($1401<<2))|0);
 var $1403=$1402;
 var $1404=HEAP32[((19400)>>2)];
 var $1405=1<<$1398;
 var $1406=$1404&$1405;
 var $1407=($1406|0)==0;
 if($1407){label=317;break;}else{label=318;break;}
 case 317: 
 var $1409=$1404|$1405;
 HEAP32[((19400)>>2)]=$1409;
 var $_sum11_pre_i_i=((($1401)+(2))|0);
 var $_pre_i_i=((19440+($_sum11_pre_i_i<<2))|0);
 var $F_0_i_i=$1403;var $_pre_phi_i_i=$_pre_i_i;label=320;break;
 case 318: 
 var $_sum12_i_i=((($1401)+(2))|0);
 var $1411=((19440+($_sum12_i_i<<2))|0);
 var $1412=HEAP32[(($1411)>>2)];
 var $1413=$1412;
 var $1414=HEAP32[((19416)>>2)];
 var $1415=($1413>>>0)<($1414>>>0);
 if($1415){label=319;break;}else{var $F_0_i_i=$1412;var $_pre_phi_i_i=$1411;label=320;break;}
 case 319: 
 _abort();
 throw "Reached an unreachable!";
 case 320: 
 var $_pre_phi_i_i;
 var $F_0_i_i;
 HEAP32[(($_pre_phi_i_i)>>2)]=$890;
 var $1418=(($F_0_i_i+12)|0);
 HEAP32[(($1418)>>2)]=$890;
 var $1419=(($890+8)|0);
 HEAP32[(($1419)>>2)]=$F_0_i_i;
 var $1420=(($890+12)|0);
 HEAP32[(($1420)>>2)]=$1403;
 label=338;break;
 case 321: 
 var $1422=$890;
 var $1423=$1389>>>8;
 var $1424=($1423|0)==0;
 if($1424){var $I1_0_i_i=0;label=324;break;}else{label=322;break;}
 case 322: 
 var $1426=($1389>>>0)>16777215;
 if($1426){var $I1_0_i_i=31;label=324;break;}else{label=323;break;}
 case 323: 
 var $1428=((($1423)+(1048320))|0);
 var $1429=$1428>>>16;
 var $1430=$1429&8;
 var $1431=$1423<<$1430;
 var $1432=((($1431)+(520192))|0);
 var $1433=$1432>>>16;
 var $1434=$1433&4;
 var $1435=$1434|$1430;
 var $1436=$1431<<$1434;
 var $1437=((($1436)+(245760))|0);
 var $1438=$1437>>>16;
 var $1439=$1438&2;
 var $1440=$1435|$1439;
 var $1441=(((14)-($1440))|0);
 var $1442=$1436<<$1439;
 var $1443=$1442>>>15;
 var $1444=((($1441)+($1443))|0);
 var $1445=$1444<<1;
 var $1446=((($1444)+(7))|0);
 var $1447=$1389>>>($1446>>>0);
 var $1448=$1447&1;
 var $1449=$1448|$1445;
 var $I1_0_i_i=$1449;label=324;break;
 case 324: 
 var $I1_0_i_i;
 var $1451=((19704+($I1_0_i_i<<2))|0);
 var $1452=(($890+28)|0);
 var $I1_0_c_i_i=$I1_0_i_i;
 HEAP32[(($1452)>>2)]=$I1_0_c_i_i;
 var $1453=(($890+20)|0);
 HEAP32[(($1453)>>2)]=0;
 var $1454=(($890+16)|0);
 HEAP32[(($1454)>>2)]=0;
 var $1455=HEAP32[((19404)>>2)];
 var $1456=1<<$I1_0_i_i;
 var $1457=$1455&$1456;
 var $1458=($1457|0)==0;
 if($1458){label=325;break;}else{label=326;break;}
 case 325: 
 var $1460=$1455|$1456;
 HEAP32[((19404)>>2)]=$1460;
 HEAP32[(($1451)>>2)]=$1422;
 var $1461=(($890+24)|0);
 var $_c_i_i=$1451;
 HEAP32[(($1461)>>2)]=$_c_i_i;
 var $1462=(($890+12)|0);
 HEAP32[(($1462)>>2)]=$890;
 var $1463=(($890+8)|0);
 HEAP32[(($1463)>>2)]=$890;
 label=338;break;
 case 326: 
 var $1465=HEAP32[(($1451)>>2)];
 var $1466=($I1_0_i_i|0)==31;
 if($1466){var $1471=0;label=328;break;}else{label=327;break;}
 case 327: 
 var $1468=$I1_0_i_i>>>1;
 var $1469=(((25)-($1468))|0);
 var $1471=$1469;label=328;break;
 case 328: 
 var $1471;
 var $1472=$1389<<$1471;
 var $K2_0_i_i=$1472;var $T_0_i_i=$1465;label=329;break;
 case 329: 
 var $T_0_i_i;
 var $K2_0_i_i;
 var $1474=(($T_0_i_i+4)|0);
 var $1475=HEAP32[(($1474)>>2)];
 var $1476=$1475&-8;
 var $1477=($1476|0)==($1389|0);
 if($1477){label=334;break;}else{label=330;break;}
 case 330: 
 var $1479=$K2_0_i_i>>>31;
 var $1480=(($T_0_i_i+16+($1479<<2))|0);
 var $1481=HEAP32[(($1480)>>2)];
 var $1482=($1481|0)==0;
 var $1483=$K2_0_i_i<<1;
 if($1482){label=331;break;}else{var $K2_0_i_i=$1483;var $T_0_i_i=$1481;label=329;break;}
 case 331: 
 var $1485=$1480;
 var $1486=HEAP32[((19416)>>2)];
 var $1487=($1485>>>0)<($1486>>>0);
 if($1487){label=333;break;}else{label=332;break;}
 case 332: 
 HEAP32[(($1480)>>2)]=$1422;
 var $1489=(($890+24)|0);
 var $T_0_c8_i_i=$T_0_i_i;
 HEAP32[(($1489)>>2)]=$T_0_c8_i_i;
 var $1490=(($890+12)|0);
 HEAP32[(($1490)>>2)]=$890;
 var $1491=(($890+8)|0);
 HEAP32[(($1491)>>2)]=$890;
 label=338;break;
 case 333: 
 _abort();
 throw "Reached an unreachable!";
 case 334: 
 var $1494=(($T_0_i_i+8)|0);
 var $1495=HEAP32[(($1494)>>2)];
 var $1496=$T_0_i_i;
 var $1497=HEAP32[((19416)>>2)];
 var $1498=($1496>>>0)<($1497>>>0);
 if($1498){label=337;break;}else{label=335;break;}
 case 335: 
 var $1500=$1495;
 var $1501=($1500>>>0)<($1497>>>0);
 if($1501){label=337;break;}else{label=336;break;}
 case 336: 
 var $1503=(($1495+12)|0);
 HEAP32[(($1503)>>2)]=$1422;
 HEAP32[(($1494)>>2)]=$1422;
 var $1504=(($890+8)|0);
 var $_c7_i_i=$1495;
 HEAP32[(($1504)>>2)]=$_c7_i_i;
 var $1505=(($890+12)|0);
 var $T_0_c_i_i=$T_0_i_i;
 HEAP32[(($1505)>>2)]=$T_0_c_i_i;
 var $1506=(($890+24)|0);
 HEAP32[(($1506)>>2)]=0;
 label=338;break;
 case 337: 
 _abort();
 throw "Reached an unreachable!";
 case 338: 
 var $1507=HEAP32[((19412)>>2)];
 var $1508=($1507>>>0)>($nb_0>>>0);
 if($1508){label=339;break;}else{label=340;break;}
 case 339: 
 var $1510=((($1507)-($nb_0))|0);
 HEAP32[((19412)>>2)]=$1510;
 var $1511=HEAP32[((19424)>>2)];
 var $1512=$1511;
 var $1513=(($1512+$nb_0)|0);
 var $1514=$1513;
 HEAP32[((19424)>>2)]=$1514;
 var $1515=$1510|1;
 var $_sum_i134=((($nb_0)+(4))|0);
 var $1516=(($1512+$_sum_i134)|0);
 var $1517=$1516;
 HEAP32[(($1517)>>2)]=$1515;
 var $1518=$nb_0|3;
 var $1519=(($1511+4)|0);
 HEAP32[(($1519)>>2)]=$1518;
 var $1520=(($1511+8)|0);
 var $1521=$1520;
 var $mem_0=$1521;label=341;break;
 case 340: 
 var $1522=___errno_location();
 HEAP32[(($1522)>>2)]=12;
 var $mem_0=0;label=341;break;
 case 341: 
 var $mem_0;
 return $mem_0;
  default: assert(0, "bad label: " + label);
 }
}
Module["_malloc"] = _malloc;
function _free($mem){
 var label=0;
 label = 1; 
 while(1)switch(label){
 case 1: 
 var $1=($mem|0)==0;
 if($1){label=140;break;}else{label=2;break;}
 case 2: 
 var $3=((($mem)-(8))|0);
 var $4=$3;
 var $5=HEAP32[((19416)>>2)];
 var $6=($3>>>0)<($5>>>0);
 if($6){label=139;break;}else{label=3;break;}
 case 3: 
 var $8=((($mem)-(4))|0);
 var $9=$8;
 var $10=HEAP32[(($9)>>2)];
 var $11=$10&3;
 var $12=($11|0)==1;
 if($12){label=139;break;}else{label=4;break;}
 case 4: 
 var $14=$10&-8;
 var $_sum=((($14)-(8))|0);
 var $15=(($mem+$_sum)|0);
 var $16=$15;
 var $17=$10&1;
 var $18=($17|0)==0;
 if($18){label=5;break;}else{var $p_0=$4;var $psize_0=$14;label=56;break;}
 case 5: 
 var $20=$3;
 var $21=HEAP32[(($20)>>2)];
 var $22=($11|0)==0;
 if($22){label=140;break;}else{label=6;break;}
 case 6: 
 var $_sum232=(((-8)-($21))|0);
 var $24=(($mem+$_sum232)|0);
 var $25=$24;
 var $26=((($21)+($14))|0);
 var $27=($24>>>0)<($5>>>0);
 if($27){label=139;break;}else{label=7;break;}
 case 7: 
 var $29=HEAP32[((19420)>>2)];
 var $30=($25|0)==($29|0);
 if($30){label=54;break;}else{label=8;break;}
 case 8: 
 var $32=$21>>>3;
 var $33=($21>>>0)<256;
 if($33){label=9;break;}else{label=21;break;}
 case 9: 
 var $_sum276=((($_sum232)+(8))|0);
 var $35=(($mem+$_sum276)|0);
 var $36=$35;
 var $37=HEAP32[(($36)>>2)];
 var $_sum277=((($_sum232)+(12))|0);
 var $38=(($mem+$_sum277)|0);
 var $39=$38;
 var $40=HEAP32[(($39)>>2)];
 var $41=$32<<1;
 var $42=((19440+($41<<2))|0);
 var $43=$42;
 var $44=($37|0)==($43|0);
 if($44){label=12;break;}else{label=10;break;}
 case 10: 
 var $46=$37;
 var $47=($46>>>0)<($5>>>0);
 if($47){label=20;break;}else{label=11;break;}
 case 11: 
 var $49=(($37+12)|0);
 var $50=HEAP32[(($49)>>2)];
 var $51=($50|0)==($25|0);
 if($51){label=12;break;}else{label=20;break;}
 case 12: 
 var $52=($40|0)==($37|0);
 if($52){label=13;break;}else{label=14;break;}
 case 13: 
 var $54=1<<$32;
 var $55=$54^-1;
 var $56=HEAP32[((19400)>>2)];
 var $57=$56&$55;
 HEAP32[((19400)>>2)]=$57;
 var $p_0=$25;var $psize_0=$26;label=56;break;
 case 14: 
 var $59=($40|0)==($43|0);
 if($59){label=15;break;}else{label=16;break;}
 case 15: 
 var $_pre305=(($40+8)|0);
 var $_pre_phi306=$_pre305;label=18;break;
 case 16: 
 var $61=$40;
 var $62=($61>>>0)<($5>>>0);
 if($62){label=19;break;}else{label=17;break;}
 case 17: 
 var $64=(($40+8)|0);
 var $65=HEAP32[(($64)>>2)];
 var $66=($65|0)==($25|0);
 if($66){var $_pre_phi306=$64;label=18;break;}else{label=19;break;}
 case 18: 
 var $_pre_phi306;
 var $67=(($37+12)|0);
 HEAP32[(($67)>>2)]=$40;
 HEAP32[(($_pre_phi306)>>2)]=$37;
 var $p_0=$25;var $psize_0=$26;label=56;break;
 case 19: 
 _abort();
 throw "Reached an unreachable!";
 case 20: 
 _abort();
 throw "Reached an unreachable!";
 case 21: 
 var $69=$24;
 var $_sum266=((($_sum232)+(24))|0);
 var $70=(($mem+$_sum266)|0);
 var $71=$70;
 var $72=HEAP32[(($71)>>2)];
 var $_sum267=((($_sum232)+(12))|0);
 var $73=(($mem+$_sum267)|0);
 var $74=$73;
 var $75=HEAP32[(($74)>>2)];
 var $76=($75|0)==($69|0);
 if($76){label=27;break;}else{label=22;break;}
 case 22: 
 var $_sum273=((($_sum232)+(8))|0);
 var $78=(($mem+$_sum273)|0);
 var $79=$78;
 var $80=HEAP32[(($79)>>2)];
 var $81=$80;
 var $82=($81>>>0)<($5>>>0);
 if($82){label=26;break;}else{label=23;break;}
 case 23: 
 var $84=(($80+12)|0);
 var $85=HEAP32[(($84)>>2)];
 var $86=($85|0)==($69|0);
 if($86){label=24;break;}else{label=26;break;}
 case 24: 
 var $88=(($75+8)|0);
 var $89=HEAP32[(($88)>>2)];
 var $90=($89|0)==($69|0);
 if($90){label=25;break;}else{label=26;break;}
 case 25: 
 HEAP32[(($84)>>2)]=$75;
 HEAP32[(($88)>>2)]=$80;
 var $R_1=$75;label=34;break;
 case 26: 
 _abort();
 throw "Reached an unreachable!";
 case 27: 
 var $_sum269=((($_sum232)+(20))|0);
 var $93=(($mem+$_sum269)|0);
 var $94=$93;
 var $95=HEAP32[(($94)>>2)];
 var $96=($95|0)==0;
 if($96){label=28;break;}else{var $R_0=$95;var $RP_0=$94;label=29;break;}
 case 28: 
 var $_sum268=((($_sum232)+(16))|0);
 var $98=(($mem+$_sum268)|0);
 var $99=$98;
 var $100=HEAP32[(($99)>>2)];
 var $101=($100|0)==0;
 if($101){var $R_1=0;label=34;break;}else{var $R_0=$100;var $RP_0=$99;label=29;break;}
 case 29: 
 var $RP_0;
 var $R_0;
 var $102=(($R_0+20)|0);
 var $103=HEAP32[(($102)>>2)];
 var $104=($103|0)==0;
 if($104){label=30;break;}else{var $R_0=$103;var $RP_0=$102;label=29;break;}
 case 30: 
 var $106=(($R_0+16)|0);
 var $107=HEAP32[(($106)>>2)];
 var $108=($107|0)==0;
 if($108){label=31;break;}else{var $R_0=$107;var $RP_0=$106;label=29;break;}
 case 31: 
 var $110=$RP_0;
 var $111=($110>>>0)<($5>>>0);
 if($111){label=33;break;}else{label=32;break;}
 case 32: 
 HEAP32[(($RP_0)>>2)]=0;
 var $R_1=$R_0;label=34;break;
 case 33: 
 _abort();
 throw "Reached an unreachable!";
 case 34: 
 var $R_1;
 var $115=($72|0)==0;
 if($115){var $p_0=$25;var $psize_0=$26;label=56;break;}else{label=35;break;}
 case 35: 
 var $_sum270=((($_sum232)+(28))|0);
 var $117=(($mem+$_sum270)|0);
 var $118=$117;
 var $119=HEAP32[(($118)>>2)];
 var $120=((19704+($119<<2))|0);
 var $121=HEAP32[(($120)>>2)];
 var $122=($69|0)==($121|0);
 if($122){label=36;break;}else{label=38;break;}
 case 36: 
 HEAP32[(($120)>>2)]=$R_1;
 var $cond=($R_1|0)==0;
 if($cond){label=37;break;}else{label=44;break;}
 case 37: 
 var $124=HEAP32[(($118)>>2)];
 var $125=1<<$124;
 var $126=$125^-1;
 var $127=HEAP32[((19404)>>2)];
 var $128=$127&$126;
 HEAP32[((19404)>>2)]=$128;
 var $p_0=$25;var $psize_0=$26;label=56;break;
 case 38: 
 var $130=$72;
 var $131=HEAP32[((19416)>>2)];
 var $132=($130>>>0)<($131>>>0);
 if($132){label=42;break;}else{label=39;break;}
 case 39: 
 var $134=(($72+16)|0);
 var $135=HEAP32[(($134)>>2)];
 var $136=($135|0)==($69|0);
 if($136){label=40;break;}else{label=41;break;}
 case 40: 
 HEAP32[(($134)>>2)]=$R_1;
 label=43;break;
 case 41: 
 var $139=(($72+20)|0);
 HEAP32[(($139)>>2)]=$R_1;
 label=43;break;
 case 42: 
 _abort();
 throw "Reached an unreachable!";
 case 43: 
 var $142=($R_1|0)==0;
 if($142){var $p_0=$25;var $psize_0=$26;label=56;break;}else{label=44;break;}
 case 44: 
 var $144=$R_1;
 var $145=HEAP32[((19416)>>2)];
 var $146=($144>>>0)<($145>>>0);
 if($146){label=53;break;}else{label=45;break;}
 case 45: 
 var $148=(($R_1+24)|0);
 HEAP32[(($148)>>2)]=$72;
 var $_sum271=((($_sum232)+(16))|0);
 var $149=(($mem+$_sum271)|0);
 var $150=$149;
 var $151=HEAP32[(($150)>>2)];
 var $152=($151|0)==0;
 if($152){label=49;break;}else{label=46;break;}
 case 46: 
 var $154=$151;
 var $155=HEAP32[((19416)>>2)];
 var $156=($154>>>0)<($155>>>0);
 if($156){label=48;break;}else{label=47;break;}
 case 47: 
 var $158=(($R_1+16)|0);
 HEAP32[(($158)>>2)]=$151;
 var $159=(($151+24)|0);
 HEAP32[(($159)>>2)]=$R_1;
 label=49;break;
 case 48: 
 _abort();
 throw "Reached an unreachable!";
 case 49: 
 var $_sum272=((($_sum232)+(20))|0);
 var $162=(($mem+$_sum272)|0);
 var $163=$162;
 var $164=HEAP32[(($163)>>2)];
 var $165=($164|0)==0;
 if($165){var $p_0=$25;var $psize_0=$26;label=56;break;}else{label=50;break;}
 case 50: 
 var $167=$164;
 var $168=HEAP32[((19416)>>2)];
 var $169=($167>>>0)<($168>>>0);
 if($169){label=52;break;}else{label=51;break;}
 case 51: 
 var $171=(($R_1+20)|0);
 HEAP32[(($171)>>2)]=$164;
 var $172=(($164+24)|0);
 HEAP32[(($172)>>2)]=$R_1;
 var $p_0=$25;var $psize_0=$26;label=56;break;
 case 52: 
 _abort();
 throw "Reached an unreachable!";
 case 53: 
 _abort();
 throw "Reached an unreachable!";
 case 54: 
 var $_sum233=((($14)-(4))|0);
 var $176=(($mem+$_sum233)|0);
 var $177=$176;
 var $178=HEAP32[(($177)>>2)];
 var $179=$178&3;
 var $180=($179|0)==3;
 if($180){label=55;break;}else{var $p_0=$25;var $psize_0=$26;label=56;break;}
 case 55: 
 HEAP32[((19408)>>2)]=$26;
 var $182=HEAP32[(($177)>>2)];
 var $183=$182&-2;
 HEAP32[(($177)>>2)]=$183;
 var $184=$26|1;
 var $_sum264=((($_sum232)+(4))|0);
 var $185=(($mem+$_sum264)|0);
 var $186=$185;
 HEAP32[(($186)>>2)]=$184;
 var $187=$15;
 HEAP32[(($187)>>2)]=$26;
 label=140;break;
 case 56: 
 var $psize_0;
 var $p_0;
 var $189=$p_0;
 var $190=($189>>>0)<($15>>>0);
 if($190){label=57;break;}else{label=139;break;}
 case 57: 
 var $_sum263=((($14)-(4))|0);
 var $192=(($mem+$_sum263)|0);
 var $193=$192;
 var $194=HEAP32[(($193)>>2)];
 var $195=$194&1;
 var $phitmp=($195|0)==0;
 if($phitmp){label=139;break;}else{label=58;break;}
 case 58: 
 var $197=$194&2;
 var $198=($197|0)==0;
 if($198){label=59;break;}else{label=112;break;}
 case 59: 
 var $200=HEAP32[((19424)>>2)];
 var $201=($16|0)==($200|0);
 if($201){label=60;break;}else{label=62;break;}
 case 60: 
 var $203=HEAP32[((19412)>>2)];
 var $204=((($203)+($psize_0))|0);
 HEAP32[((19412)>>2)]=$204;
 HEAP32[((19424)>>2)]=$p_0;
 var $205=$204|1;
 var $206=(($p_0+4)|0);
 HEAP32[(($206)>>2)]=$205;
 var $207=HEAP32[((19420)>>2)];
 var $208=($p_0|0)==($207|0);
 if($208){label=61;break;}else{label=140;break;}
 case 61: 
 HEAP32[((19420)>>2)]=0;
 HEAP32[((19408)>>2)]=0;
 label=140;break;
 case 62: 
 var $211=HEAP32[((19420)>>2)];
 var $212=($16|0)==($211|0);
 if($212){label=63;break;}else{label=64;break;}
 case 63: 
 var $214=HEAP32[((19408)>>2)];
 var $215=((($214)+($psize_0))|0);
 HEAP32[((19408)>>2)]=$215;
 HEAP32[((19420)>>2)]=$p_0;
 var $216=$215|1;
 var $217=(($p_0+4)|0);
 HEAP32[(($217)>>2)]=$216;
 var $218=(($189+$215)|0);
 var $219=$218;
 HEAP32[(($219)>>2)]=$215;
 label=140;break;
 case 64: 
 var $221=$194&-8;
 var $222=((($221)+($psize_0))|0);
 var $223=$194>>>3;
 var $224=($194>>>0)<256;
 if($224){label=65;break;}else{label=77;break;}
 case 65: 
 var $226=(($mem+$14)|0);
 var $227=$226;
 var $228=HEAP32[(($227)>>2)];
 var $_sum257258=$14|4;
 var $229=(($mem+$_sum257258)|0);
 var $230=$229;
 var $231=HEAP32[(($230)>>2)];
 var $232=$223<<1;
 var $233=((19440+($232<<2))|0);
 var $234=$233;
 var $235=($228|0)==($234|0);
 if($235){label=68;break;}else{label=66;break;}
 case 66: 
 var $237=$228;
 var $238=HEAP32[((19416)>>2)];
 var $239=($237>>>0)<($238>>>0);
 if($239){label=76;break;}else{label=67;break;}
 case 67: 
 var $241=(($228+12)|0);
 var $242=HEAP32[(($241)>>2)];
 var $243=($242|0)==($16|0);
 if($243){label=68;break;}else{label=76;break;}
 case 68: 
 var $244=($231|0)==($228|0);
 if($244){label=69;break;}else{label=70;break;}
 case 69: 
 var $246=1<<$223;
 var $247=$246^-1;
 var $248=HEAP32[((19400)>>2)];
 var $249=$248&$247;
 HEAP32[((19400)>>2)]=$249;
 label=110;break;
 case 70: 
 var $251=($231|0)==($234|0);
 if($251){label=71;break;}else{label=72;break;}
 case 71: 
 var $_pre303=(($231+8)|0);
 var $_pre_phi304=$_pre303;label=74;break;
 case 72: 
 var $253=$231;
 var $254=HEAP32[((19416)>>2)];
 var $255=($253>>>0)<($254>>>0);
 if($255){label=75;break;}else{label=73;break;}
 case 73: 
 var $257=(($231+8)|0);
 var $258=HEAP32[(($257)>>2)];
 var $259=($258|0)==($16|0);
 if($259){var $_pre_phi304=$257;label=74;break;}else{label=75;break;}
 case 74: 
 var $_pre_phi304;
 var $260=(($228+12)|0);
 HEAP32[(($260)>>2)]=$231;
 HEAP32[(($_pre_phi304)>>2)]=$228;
 label=110;break;
 case 75: 
 _abort();
 throw "Reached an unreachable!";
 case 76: 
 _abort();
 throw "Reached an unreachable!";
 case 77: 
 var $262=$15;
 var $_sum235=((($14)+(16))|0);
 var $263=(($mem+$_sum235)|0);
 var $264=$263;
 var $265=HEAP32[(($264)>>2)];
 var $_sum236237=$14|4;
 var $266=(($mem+$_sum236237)|0);
 var $267=$266;
 var $268=HEAP32[(($267)>>2)];
 var $269=($268|0)==($262|0);
 if($269){label=83;break;}else{label=78;break;}
 case 78: 
 var $271=(($mem+$14)|0);
 var $272=$271;
 var $273=HEAP32[(($272)>>2)];
 var $274=$273;
 var $275=HEAP32[((19416)>>2)];
 var $276=($274>>>0)<($275>>>0);
 if($276){label=82;break;}else{label=79;break;}
 case 79: 
 var $278=(($273+12)|0);
 var $279=HEAP32[(($278)>>2)];
 var $280=($279|0)==($262|0);
 if($280){label=80;break;}else{label=82;break;}
 case 80: 
 var $282=(($268+8)|0);
 var $283=HEAP32[(($282)>>2)];
 var $284=($283|0)==($262|0);
 if($284){label=81;break;}else{label=82;break;}
 case 81: 
 HEAP32[(($278)>>2)]=$268;
 HEAP32[(($282)>>2)]=$273;
 var $R7_1=$268;label=90;break;
 case 82: 
 _abort();
 throw "Reached an unreachable!";
 case 83: 
 var $_sum239=((($14)+(12))|0);
 var $287=(($mem+$_sum239)|0);
 var $288=$287;
 var $289=HEAP32[(($288)>>2)];
 var $290=($289|0)==0;
 if($290){label=84;break;}else{var $R7_0=$289;var $RP9_0=$288;label=85;break;}
 case 84: 
 var $_sum238=((($14)+(8))|0);
 var $292=(($mem+$_sum238)|0);
 var $293=$292;
 var $294=HEAP32[(($293)>>2)];
 var $295=($294|0)==0;
 if($295){var $R7_1=0;label=90;break;}else{var $R7_0=$294;var $RP9_0=$293;label=85;break;}
 case 85: 
 var $RP9_0;
 var $R7_0;
 var $296=(($R7_0+20)|0);
 var $297=HEAP32[(($296)>>2)];
 var $298=($297|0)==0;
 if($298){label=86;break;}else{var $R7_0=$297;var $RP9_0=$296;label=85;break;}
 case 86: 
 var $300=(($R7_0+16)|0);
 var $301=HEAP32[(($300)>>2)];
 var $302=($301|0)==0;
 if($302){label=87;break;}else{var $R7_0=$301;var $RP9_0=$300;label=85;break;}
 case 87: 
 var $304=$RP9_0;
 var $305=HEAP32[((19416)>>2)];
 var $306=($304>>>0)<($305>>>0);
 if($306){label=89;break;}else{label=88;break;}
 case 88: 
 HEAP32[(($RP9_0)>>2)]=0;
 var $R7_1=$R7_0;label=90;break;
 case 89: 
 _abort();
 throw "Reached an unreachable!";
 case 90: 
 var $R7_1;
 var $310=($265|0)==0;
 if($310){label=110;break;}else{label=91;break;}
 case 91: 
 var $_sum250=((($14)+(20))|0);
 var $312=(($mem+$_sum250)|0);
 var $313=$312;
 var $314=HEAP32[(($313)>>2)];
 var $315=((19704+($314<<2))|0);
 var $316=HEAP32[(($315)>>2)];
 var $317=($262|0)==($316|0);
 if($317){label=92;break;}else{label=94;break;}
 case 92: 
 HEAP32[(($315)>>2)]=$R7_1;
 var $cond298=($R7_1|0)==0;
 if($cond298){label=93;break;}else{label=100;break;}
 case 93: 
 var $319=HEAP32[(($313)>>2)];
 var $320=1<<$319;
 var $321=$320^-1;
 var $322=HEAP32[((19404)>>2)];
 var $323=$322&$321;
 HEAP32[((19404)>>2)]=$323;
 label=110;break;
 case 94: 
 var $325=$265;
 var $326=HEAP32[((19416)>>2)];
 var $327=($325>>>0)<($326>>>0);
 if($327){label=98;break;}else{label=95;break;}
 case 95: 
 var $329=(($265+16)|0);
 var $330=HEAP32[(($329)>>2)];
 var $331=($330|0)==($262|0);
 if($331){label=96;break;}else{label=97;break;}
 case 96: 
 HEAP32[(($329)>>2)]=$R7_1;
 label=99;break;
 case 97: 
 var $334=(($265+20)|0);
 HEAP32[(($334)>>2)]=$R7_1;
 label=99;break;
 case 98: 
 _abort();
 throw "Reached an unreachable!";
 case 99: 
 var $337=($R7_1|0)==0;
 if($337){label=110;break;}else{label=100;break;}
 case 100: 
 var $339=$R7_1;
 var $340=HEAP32[((19416)>>2)];
 var $341=($339>>>0)<($340>>>0);
 if($341){label=109;break;}else{label=101;break;}
 case 101: 
 var $343=(($R7_1+24)|0);
 HEAP32[(($343)>>2)]=$265;
 var $_sum251=((($14)+(8))|0);
 var $344=(($mem+$_sum251)|0);
 var $345=$344;
 var $346=HEAP32[(($345)>>2)];
 var $347=($346|0)==0;
 if($347){label=105;break;}else{label=102;break;}
 case 102: 
 var $349=$346;
 var $350=HEAP32[((19416)>>2)];
 var $351=($349>>>0)<($350>>>0);
 if($351){label=104;break;}else{label=103;break;}
 case 103: 
 var $353=(($R7_1+16)|0);
 HEAP32[(($353)>>2)]=$346;
 var $354=(($346+24)|0);
 HEAP32[(($354)>>2)]=$R7_1;
 label=105;break;
 case 104: 
 _abort();
 throw "Reached an unreachable!";
 case 105: 
 var $_sum252=((($14)+(12))|0);
 var $357=(($mem+$_sum252)|0);
 var $358=$357;
 var $359=HEAP32[(($358)>>2)];
 var $360=($359|0)==0;
 if($360){label=110;break;}else{label=106;break;}
 case 106: 
 var $362=$359;
 var $363=HEAP32[((19416)>>2)];
 var $364=($362>>>0)<($363>>>0);
 if($364){label=108;break;}else{label=107;break;}
 case 107: 
 var $366=(($R7_1+20)|0);
 HEAP32[(($366)>>2)]=$359;
 var $367=(($359+24)|0);
 HEAP32[(($367)>>2)]=$R7_1;
 label=110;break;
 case 108: 
 _abort();
 throw "Reached an unreachable!";
 case 109: 
 _abort();
 throw "Reached an unreachable!";
 case 110: 
 var $371=$222|1;
 var $372=(($p_0+4)|0);
 HEAP32[(($372)>>2)]=$371;
 var $373=(($189+$222)|0);
 var $374=$373;
 HEAP32[(($374)>>2)]=$222;
 var $375=HEAP32[((19420)>>2)];
 var $376=($p_0|0)==($375|0);
 if($376){label=111;break;}else{var $psize_1=$222;label=113;break;}
 case 111: 
 HEAP32[((19408)>>2)]=$222;
 label=140;break;
 case 112: 
 var $379=$194&-2;
 HEAP32[(($193)>>2)]=$379;
 var $380=$psize_0|1;
 var $381=(($p_0+4)|0);
 HEAP32[(($381)>>2)]=$380;
 var $382=(($189+$psize_0)|0);
 var $383=$382;
 HEAP32[(($383)>>2)]=$psize_0;
 var $psize_1=$psize_0;label=113;break;
 case 113: 
 var $psize_1;
 var $385=$psize_1>>>3;
 var $386=($psize_1>>>0)<256;
 if($386){label=114;break;}else{label=119;break;}
 case 114: 
 var $388=$385<<1;
 var $389=((19440+($388<<2))|0);
 var $390=$389;
 var $391=HEAP32[((19400)>>2)];
 var $392=1<<$385;
 var $393=$391&$392;
 var $394=($393|0)==0;
 if($394){label=115;break;}else{label=116;break;}
 case 115: 
 var $396=$391|$392;
 HEAP32[((19400)>>2)]=$396;
 var $_sum248_pre=((($388)+(2))|0);
 var $_pre=((19440+($_sum248_pre<<2))|0);
 var $F16_0=$390;var $_pre_phi=$_pre;label=118;break;
 case 116: 
 var $_sum249=((($388)+(2))|0);
 var $398=((19440+($_sum249<<2))|0);
 var $399=HEAP32[(($398)>>2)];
 var $400=$399;
 var $401=HEAP32[((19416)>>2)];
 var $402=($400>>>0)<($401>>>0);
 if($402){label=117;break;}else{var $F16_0=$399;var $_pre_phi=$398;label=118;break;}
 case 117: 
 _abort();
 throw "Reached an unreachable!";
 case 118: 
 var $_pre_phi;
 var $F16_0;
 HEAP32[(($_pre_phi)>>2)]=$p_0;
 var $405=(($F16_0+12)|0);
 HEAP32[(($405)>>2)]=$p_0;
 var $406=(($p_0+8)|0);
 HEAP32[(($406)>>2)]=$F16_0;
 var $407=(($p_0+12)|0);
 HEAP32[(($407)>>2)]=$390;
 label=140;break;
 case 119: 
 var $409=$p_0;
 var $410=$psize_1>>>8;
 var $411=($410|0)==0;
 if($411){var $I18_0=0;label=122;break;}else{label=120;break;}
 case 120: 
 var $413=($psize_1>>>0)>16777215;
 if($413){var $I18_0=31;label=122;break;}else{label=121;break;}
 case 121: 
 var $415=((($410)+(1048320))|0);
 var $416=$415>>>16;
 var $417=$416&8;
 var $418=$410<<$417;
 var $419=((($418)+(520192))|0);
 var $420=$419>>>16;
 var $421=$420&4;
 var $422=$421|$417;
 var $423=$418<<$421;
 var $424=((($423)+(245760))|0);
 var $425=$424>>>16;
 var $426=$425&2;
 var $427=$422|$426;
 var $428=(((14)-($427))|0);
 var $429=$423<<$426;
 var $430=$429>>>15;
 var $431=((($428)+($430))|0);
 var $432=$431<<1;
 var $433=((($431)+(7))|0);
 var $434=$psize_1>>>($433>>>0);
 var $435=$434&1;
 var $436=$435|$432;
 var $I18_0=$436;label=122;break;
 case 122: 
 var $I18_0;
 var $438=((19704+($I18_0<<2))|0);
 var $439=(($p_0+28)|0);
 var $I18_0_c=$I18_0;
 HEAP32[(($439)>>2)]=$I18_0_c;
 var $440=(($p_0+20)|0);
 HEAP32[(($440)>>2)]=0;
 var $441=(($p_0+16)|0);
 HEAP32[(($441)>>2)]=0;
 var $442=HEAP32[((19404)>>2)];
 var $443=1<<$I18_0;
 var $444=$442&$443;
 var $445=($444|0)==0;
 if($445){label=123;break;}else{label=124;break;}
 case 123: 
 var $447=$442|$443;
 HEAP32[((19404)>>2)]=$447;
 HEAP32[(($438)>>2)]=$409;
 var $448=(($p_0+24)|0);
 var $_c=$438;
 HEAP32[(($448)>>2)]=$_c;
 var $449=(($p_0+12)|0);
 HEAP32[(($449)>>2)]=$p_0;
 var $450=(($p_0+8)|0);
 HEAP32[(($450)>>2)]=$p_0;
 label=136;break;
 case 124: 
 var $452=HEAP32[(($438)>>2)];
 var $453=($I18_0|0)==31;
 if($453){var $458=0;label=126;break;}else{label=125;break;}
 case 125: 
 var $455=$I18_0>>>1;
 var $456=(((25)-($455))|0);
 var $458=$456;label=126;break;
 case 126: 
 var $458;
 var $459=$psize_1<<$458;
 var $K19_0=$459;var $T_0=$452;label=127;break;
 case 127: 
 var $T_0;
 var $K19_0;
 var $461=(($T_0+4)|0);
 var $462=HEAP32[(($461)>>2)];
 var $463=$462&-8;
 var $464=($463|0)==($psize_1|0);
 if($464){label=132;break;}else{label=128;break;}
 case 128: 
 var $466=$K19_0>>>31;
 var $467=(($T_0+16+($466<<2))|0);
 var $468=HEAP32[(($467)>>2)];
 var $469=($468|0)==0;
 var $470=$K19_0<<1;
 if($469){label=129;break;}else{var $K19_0=$470;var $T_0=$468;label=127;break;}
 case 129: 
 var $472=$467;
 var $473=HEAP32[((19416)>>2)];
 var $474=($472>>>0)<($473>>>0);
 if($474){label=131;break;}else{label=130;break;}
 case 130: 
 HEAP32[(($467)>>2)]=$409;
 var $476=(($p_0+24)|0);
 var $T_0_c245=$T_0;
 HEAP32[(($476)>>2)]=$T_0_c245;
 var $477=(($p_0+12)|0);
 HEAP32[(($477)>>2)]=$p_0;
 var $478=(($p_0+8)|0);
 HEAP32[(($478)>>2)]=$p_0;
 label=136;break;
 case 131: 
 _abort();
 throw "Reached an unreachable!";
 case 132: 
 var $481=(($T_0+8)|0);
 var $482=HEAP32[(($481)>>2)];
 var $483=$T_0;
 var $484=HEAP32[((19416)>>2)];
 var $485=($483>>>0)<($484>>>0);
 if($485){label=135;break;}else{label=133;break;}
 case 133: 
 var $487=$482;
 var $488=($487>>>0)<($484>>>0);
 if($488){label=135;break;}else{label=134;break;}
 case 134: 
 var $490=(($482+12)|0);
 HEAP32[(($490)>>2)]=$409;
 HEAP32[(($481)>>2)]=$409;
 var $491=(($p_0+8)|0);
 var $_c244=$482;
 HEAP32[(($491)>>2)]=$_c244;
 var $492=(($p_0+12)|0);
 var $T_0_c=$T_0;
 HEAP32[(($492)>>2)]=$T_0_c;
 var $493=(($p_0+24)|0);
 HEAP32[(($493)>>2)]=0;
 label=136;break;
 case 135: 
 _abort();
 throw "Reached an unreachable!";
 case 136: 
 var $495=HEAP32[((19432)>>2)];
 var $496=((($495)-(1))|0);
 HEAP32[((19432)>>2)]=$496;
 var $497=($496|0)==0;
 if($497){var $sp_0_in_i=19856;label=137;break;}else{label=140;break;}
 case 137: 
 var $sp_0_in_i;
 var $sp_0_i=HEAP32[(($sp_0_in_i)>>2)];
 var $498=($sp_0_i|0)==0;
 var $499=(($sp_0_i+8)|0);
 if($498){label=138;break;}else{var $sp_0_in_i=$499;label=137;break;}
 case 138: 
 HEAP32[((19432)>>2)]=-1;
 label=140;break;
 case 139: 
 _abort();
 throw "Reached an unreachable!";
 case 140: 
 return;
  default: assert(0, "bad label: " + label);
 }
}
Module["_free"] = _free;
// EMSCRIPTEN_END_FUNCS
// EMSCRIPTEN_END_FUNCS
// Warning: printing of i64 values may be slightly rounded! No deep i64 math used, so precise i64 code not included
var i64Math = null;
// === Auto-generated postamble setup entry stuff ===
if (memoryInitializer) {
  function applyData(data) {
    HEAPU8.set(data, STATIC_BASE);
  }
  if (ENVIRONMENT_IS_NODE || ENVIRONMENT_IS_SHELL) {
    applyData(Module['readBinary'](memoryInitializer));
  } else {
    addRunDependency('memory initializer');
    Browser.asyncLoad(memoryInitializer, function(data) {
      applyData(data);
      removeRunDependency('memory initializer');
    }, function(data) {
      throw 'could not load memory initializer ' + memoryInitializer;
    });
  }
}
function ExitStatus(status) {
  this.name = "ExitStatus";
  this.message = "Program terminated with exit(" + status + ")";
  this.status = status;
};
ExitStatus.prototype = new Error();
ExitStatus.prototype.constructor = ExitStatus;
var initialStackTop;
var preloadStartTime = null;
var calledMain = false;
dependenciesFulfilled = function runCaller() {
  // If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false)
  if (!Module['calledRun'] && shouldRunNow) run();
  if (!Module['calledRun']) dependenciesFulfilled = runCaller; // try this again later, after new deps are fulfilled
}
Module['callMain'] = Module.callMain = function callMain(args) {
  assert(runDependencies == 0, 'cannot call main when async dependencies remain! (listen on __ATMAIN__)');
  assert(__ATPRERUN__.length == 0, 'cannot call main when preRun functions remain to be called');
  args = args || [];
  if (ENVIRONMENT_IS_WEB && preloadStartTime !== null) {
    Module.printErr('preload time: ' + (Date.now() - preloadStartTime) + ' ms');
  }
  ensureInitRuntime();
  var argc = args.length+1;
  function pad() {
    for (var i = 0; i < 4-1; i++) {
      argv.push(0);
    }
  }
  var argv = [allocate(intArrayFromString("/bin/this.program"), 'i8', ALLOC_NORMAL) ];
  pad();
  for (var i = 0; i < argc-1; i = i + 1) {
    argv.push(allocate(intArrayFromString(args[i]), 'i8', ALLOC_NORMAL));
    pad();
  }
  argv.push(0);
  argv = allocate(argv, 'i32', ALLOC_NORMAL);
  initialStackTop = STACKTOP;
  try {
    var ret = Module['_main'](argc, argv, 0);
    // if we're not running an evented main loop, it's time to exit
    if (!Module['noExitRuntime']) {
      exit(ret);
    }
  }
  catch(e) {
    if (e instanceof ExitStatus) {
      // exit() throws this once it's done to make sure execution
      // has been stopped completely
      return;
    } else if (e == 'SimulateInfiniteLoop') {
      // running an evented main loop, don't immediately exit
      Module['noExitRuntime'] = true;
      return;
    } else {
      if (e && typeof e === 'object' && e.stack) Module.printErr('exception thrown: ' + [e, e.stack]);
      throw e;
    }
  } finally {
    calledMain = true;
  }
}
function run(args) {
  args = args || Module['arguments'];
  if (preloadStartTime === null) preloadStartTime = Date.now();
  if (runDependencies > 0) {
    Module.printErr('run() called, but dependencies remain, so not running');
    return;
  }
  preRun();
  if (runDependencies > 0) {
    // a preRun added a dependency, run will be called later
    return;
  }
  function doRun() {
    ensureInitRuntime();
    preMain();
    Module['calledRun'] = true;
    if (Module['_main'] && shouldRunNow) {
      Module['callMain'](args);
    }
    postRun();
  }
  if (Module['setStatus']) {
    Module['setStatus']('Running...');
    setTimeout(function() {
      setTimeout(function() {
        Module['setStatus']('');
      }, 1);
      if (!ABORT) doRun();
    }, 1);
  } else {
    doRun();
  }
}
Module['run'] = Module.run = run;
function exit(status) {
  ABORT = true;
  EXITSTATUS = status;
  STACKTOP = initialStackTop;
  // exit the runtime
  exitRuntime();
  // TODO We should handle this differently based on environment.
  // In the browser, the best we can do is throw an exception
  // to halt execution, but in node we could process.exit and
  // I'd imagine SM shell would have something equivalent.
  // This would let us set a proper exit status (which
  // would be great for checking test exit statuses).
  // https://github.com/kripken/emscripten/issues/1371
  // throw an exception to halt the current execution
  throw new ExitStatus(status);
}
Module['exit'] = Module.exit = exit;
function abort(text) {
  if (text) {
    Module.print(text);
    Module.printErr(text);
  }
  ABORT = true;
  EXITSTATUS = 1;
  throw 'abort() at ' + stackTrace();
}
Module['abort'] = Module.abort = abort;
// {{PRE_RUN_ADDITIONS}}
if (Module['preInit']) {
  if (typeof Module['preInit'] == 'function') Module['preInit'] = [Module['preInit']];
  while (Module['preInit'].length > 0) {
    Module['preInit'].pop()();
  }
}
// shouldRunNow refers to calling main(), not run().
var shouldRunNow = true;
if (Module['noInitialRun']) {
  shouldRunNow = false;
}
run();
// {{POST_RUN_ADDITIONS}}
// {{MODULE_ADDITIONS}}
//@ sourceMappingURL=h264bsd_asm.js.map