(module $g723_enc.wasm
  (type (;0;) (func (param i32 i32)))
  (type (;1;) (func))
  (type (;2;) (func (param i32) (result i32)))
  (type (;3;) (func (param i32 i32 i32 i32) (result i32)))
  (type (;4;) (func (param i32 i32 i32 i32 i32 i32 i32 i32)))
  (type (;5;) (func (param i32 i32 i32) (result i32)))
  (type (;6;) (func (result i32)))
  (import "__pragma" "loopbound" (func $__pragma_loopbound (type 0)))
  (func $__wasm_apply_data_relocs (type 1))
  (func $g723_enc_predictor_zero (type 2) (param i32) (result i32)
    (local i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32)
    local.get 0
    i32.load16_s offset=32
    local.set 1
    local.get 0
    i32.load16_s offset=16
    local.set 2
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    i32.const 0
    local.set 3
    i32.const 0
    local.set 4
    block  ;; label = @1
      local.get 2
      i32.const 2
      i32.shr_s
      local.tee 2
      i32.const 0
      local.get 2
      i32.sub
      i32.const 8191
      i32.and
      local.get 2
      i32.const 0
      i32.gt_s
      select
      local.tee 5
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 4
      local.get 5
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 5
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 4
    end
    i32.const 5
    i32.const 5
    call $__pragma_loopbound
    local.get 0
    i32.load16_s offset=34
    local.set 6
    local.get 0
    i32.load16_s offset=18
    local.set 7
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    block  ;; label = @1
      local.get 7
      i32.const 2
      i32.shr_s
      local.tee 7
      i32.const 0
      local.get 7
      i32.sub
      i32.const 8191
      i32.and
      local.get 7
      i32.const 0
      i32.gt_s
      select
      local.tee 8
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 3
      local.get 8
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 8
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 3
    end
    local.get 0
    i32.load16_s offset=36
    local.set 9
    local.get 0
    i32.load16_s offset=20
    local.set 10
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    i32.const 0
    local.set 11
    i32.const 0
    local.set 12
    block  ;; label = @1
      local.get 10
      i32.const 2
      i32.shr_s
      local.tee 10
      i32.const 0
      local.get 10
      i32.sub
      i32.const 8191
      i32.and
      local.get 10
      i32.const 0
      i32.gt_s
      select
      local.tee 13
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 12
      local.get 13
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 13
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 12
    end
    local.get 0
    i32.load16_s offset=38
    local.set 14
    local.get 0
    i32.load16_s offset=22
    local.set 15
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    block  ;; label = @1
      local.get 15
      i32.const 2
      i32.shr_s
      local.tee 15
      i32.const 0
      local.get 15
      i32.sub
      i32.const 8191
      i32.and
      local.get 15
      i32.const 0
      i32.gt_s
      select
      local.tee 16
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 11
      local.get 16
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 16
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 11
    end
    local.get 0
    i32.load16_s offset=40
    local.set 17
    local.get 0
    i32.load16_s offset=24
    local.set 18
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    i32.const 0
    local.set 19
    i32.const 0
    local.set 20
    block  ;; label = @1
      local.get 18
      i32.const 2
      i32.shr_s
      local.tee 18
      i32.const 0
      local.get 18
      i32.sub
      i32.const 8191
      i32.and
      local.get 18
      i32.const 0
      i32.gt_s
      select
      local.tee 21
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 20
      local.get 21
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 21
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 20
    end
    local.get 0
    i32.load16_s offset=42
    local.set 22
    local.get 0
    i32.load16_s offset=26
    local.set 0
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    block  ;; label = @1
      local.get 0
      i32.const 2
      i32.shr_s
      local.tee 0
      i32.const 0
      local.get 0
      i32.sub
      i32.const 8191
      i32.and
      local.get 0
      i32.const 0
      i32.gt_s
      select
      local.tee 23
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 19
      local.get 23
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 23
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 19
    end
    i32.const 0
    local.get 22
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 23
    i32.const 6
    local.get 19
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 23
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 22
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 19
    i32.add
    i32.sub
    i32.shr_s
    local.tee 19
    i32.sub
    local.get 19
    local.get 22
    local.get 0
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.const 0
    local.get 17
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 21
    i32.const 6
    local.get 20
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 21
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 17
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 20
    i32.add
    i32.sub
    i32.shr_s
    local.tee 0
    i32.sub
    local.get 0
    local.get 17
    local.get 18
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.const 0
    local.get 14
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 16
    i32.const 6
    local.get 11
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 16
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 14
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 11
    i32.add
    i32.sub
    i32.shr_s
    local.tee 0
    i32.sub
    local.get 0
    local.get 14
    local.get 15
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.const 0
    local.get 9
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 13
    i32.const 6
    local.get 12
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 13
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 9
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 12
    i32.add
    i32.sub
    i32.shr_s
    local.tee 0
    i32.sub
    local.get 0
    local.get 9
    local.get 10
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.const 0
    local.get 6
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 8
    i32.const 6
    local.get 3
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 8
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 6
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 3
    i32.add
    i32.sub
    i32.shr_s
    local.tee 0
    i32.sub
    local.get 0
    local.get 6
    local.get 7
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.const 0
    local.get 1
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 5
    i32.const 6
    local.get 4
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 5
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 1
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 4
    i32.add
    i32.sub
    i32.shr_s
    local.tee 0
    i32.sub
    local.get 0
    local.get 1
    local.get 2
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.add
    i32.add
    i32.add
    i32.add
    i32.add)
  (func $g723_enc_predictor_pole (type 2) (param i32) (result i32)
    (local i32 i32 i32 i32 i32 i32 i32)
    local.get 0
    i32.load16_s offset=46
    local.set 1
    local.get 0
    i32.load16_s offset=14
    local.set 2
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    i32.const 0
    local.set 3
    i32.const 0
    local.set 4
    block  ;; label = @1
      local.get 2
      i32.const 2
      i32.shr_s
      local.tee 2
      i32.const 0
      local.get 2
      i32.sub
      i32.const 8191
      i32.and
      local.get 2
      i32.const 0
      i32.gt_s
      select
      local.tee 5
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 4
      local.get 5
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 5
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 4
    end
    local.get 0
    i32.load16_s offset=44
    local.set 6
    local.get 0
    i32.load16_s offset=12
    local.set 0
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    block  ;; label = @1
      local.get 0
      i32.const 2
      i32.shr_s
      local.tee 0
      i32.const 0
      local.get 0
      i32.sub
      i32.const 8191
      i32.and
      local.get 0
      i32.const 0
      i32.gt_s
      select
      local.tee 7
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 1
      local.set 3
      local.get 7
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      br_if 0 (;@1;)
      local.get 7
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      i32.const 1
      i32.shl
      local.set 3
    end
    i32.const 0
    local.get 6
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 7
    i32.const 6
    local.get 3
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 7
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 6
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 3
    i32.add
    i32.sub
    i32.shr_s
    local.tee 3
    i32.sub
    local.get 3
    local.get 6
    local.get 0
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.const 0
    local.get 1
    i32.const 12
    i32.shl
    i32.const 258048
    i32.and
    local.get 5
    i32.const 6
    local.get 4
    i32.sub
    i32.shl
    i32.extend16_s
    i32.const 32
    local.get 5
    select
    i32.mul
    i32.const 196608
    i32.add
    i32.const 16
    i32.shr_s
    i32.const 19
    local.get 1
    i32.const 6
    i32.shr_u
    i32.const 15
    i32.and
    local.get 4
    i32.add
    i32.sub
    i32.shr_s
    local.tee 0
    i32.sub
    local.get 0
    local.get 1
    local.get 2
    i32.xor
    i32.const 0
    i32.lt_s
    select
    i32.add)
  (func $g723_enc_quantize (type 3) (param i32 i32 i32 i32) (result i32)
    (local i32 i32 i32 i32 i32)
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    i32.const 0
    local.set 4
    block  ;; label = @1
      local.get 0
      local.get 0
      i32.const 31
      i32.shr_s
      local.tee 5
      i32.xor
      local.get 5
      i32.sub
      i32.const 16
      i32.shl
      local.tee 6
      i32.const 17
      i32.shr_s
      local.tee 5
      i32.const 0
      i32.load16_s offset=2048
      i32.lt_s
      br_if 0 (;@1;)
      local.get 5
      i32.const 0
      i32.load16_s offset=2050
      i32.lt_s
      local.tee 4
      br_if 0 (;@1;)
      i32.const 2
      local.get 4
      local.get 5
      i32.const 0
      i32.load16_s offset=2052
      i32.lt_s
      local.tee 7
      select
      local.set 4
      local.get 7
      br_if 0 (;@1;)
      i32.const 3
      local.get 4
      local.get 5
      i32.const 0
      i32.load16_s offset=2054
      i32.lt_s
      local.tee 7
      select
      local.set 4
      local.get 7
      br_if 0 (;@1;)
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2056
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 4
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2058
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 5
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2060
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 6
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2062
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 7
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2064
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 8
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2066
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 9
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2068
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 10
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2070
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 11
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2072
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 12
        local.set 4
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 0
        i32.load16_s offset=2074
        i32.ge_s
        br_if 0 (;@2;)
        i32.const 13
        local.set 4
        br 1 (;@1;)
      end
      i32.const 14
      local.get 4
      local.get 5
      i32.const 0
      i32.load16_s offset=2076
      i32.lt_s
      select
      local.set 4
    end
    i32.const 3
    i32.const 15
    call $__pragma_loopbound
    block  ;; label = @1
      block  ;; label = @2
        block  ;; label = @3
          block  ;; label = @4
            local.get 3
            i32.const 1
            i32.lt_s
            br_if 0 (;@4;)
            local.get 4
            i32.const 7
            i32.shl
            local.get 1
            i32.const 2
            i32.shr_u
            i32.sub
            local.get 6
            i32.const 9
            i32.shr_s
            local.get 4
            i32.shr_s
            i32.const 127
            i32.and
            i32.add
            i32.extend16_s
            local.set 6
            local.get 3
            i32.const 1
            i32.and
            local.set 8
            block  ;; label = @5
              block  ;; label = @6
                local.get 3
                i32.const 1
                i32.ne
                br_if 0 (;@6;)
                i32.const 0
                local.set 7
                i32.const 0
                local.set 5
                i32.const 0
                local.set 4
                br 1 (;@5;)
              end
              local.get 3
              i32.const 2147483646
              i32.and
              local.set 7
              i32.const 0
              local.set 5
              i32.const 1
              local.set 1
              i32.const 0
              local.set 4
              loop  ;; label = @6
                block  ;; label = @7
                  block  ;; label = @8
                    local.get 1
                    br_if 0 (;@8;)
                    i32.const 0
                    local.set 1
                    br 1 (;@7;)
                  end
                  local.get 5
                  local.get 4
                  local.get 6
                  local.get 2
                  i32.load16_s
                  i32.ge_s
                  local.tee 1
                  select
                  local.set 5
                  local.get 2
                  i32.const 2
                  i32.add
                  local.set 2
                end
                block  ;; label = @7
                  block  ;; label = @8
                    local.get 1
                    br_if 0 (;@8;)
                    i32.const 0
                    local.set 1
                    br 1 (;@7;)
                  end
                  local.get 5
                  local.get 4
                  i32.const 1
                  i32.add
                  local.get 6
                  local.get 2
                  i32.load16_s
                  i32.ge_s
                  local.tee 1
                  select
                  local.set 5
                  local.get 2
                  i32.const 2
                  i32.add
                  local.set 2
                end
                local.get 7
                local.get 4
                i32.const 2
                i32.add
                local.tee 4
                i32.ne
                br_if 0 (;@6;)
              end
              local.get 1
              i32.eqz
              local.set 7
            end
            local.get 5
            local.get 5
            local.get 8
            select
            local.set 1
            block  ;; label = @5
              local.get 8
              i32.eqz
              br_if 0 (;@5;)
              local.get 7
              br_if 0 (;@5;)
              local.get 4
              local.get 5
              local.get 6
              local.get 2
              i32.load16_s
              i32.lt_s
              select
              local.set 1
            end
            local.get 0
            i32.const 0
            i32.lt_s
            br_if 1 (;@3;)
            local.get 1
            br_if 2 (;@2;)
            br 3 (;@1;)
          end
          local.get 0
          i32.const -1
          i32.gt_s
          br_if 2 (;@1;)
          i32.const 0
          local.set 1
        end
        local.get 3
        i32.const 1
        i32.shl
        i32.const 1
        i32.or
        local.get 1
        i32.sub
        local.set 1
      end
      local.get 1
      return
    end
    local.get 3
    i32.const 1
    i32.shl
    i32.const 1
    i32.or)
  (func $g723_enc_update (type 4) (param i32 i32 i32 i32 i32 i32 i32 i32)
    (local i32 i32 i32 i32 i32)
    local.get 4
    i32.const 32767
    i32.and
    local.set 8
    block  ;; label = @1
      block  ;; label = @2
        local.get 7
        i32.load8_u offset=48
        br_if 0 (;@2;)
        i32.const 0
        local.set 9
        br 1 (;@1;)
      end
      local.get 8
      i32.const 31744
      local.get 7
      i32.load
      local.tee 9
      i32.const 10
      i32.shr_u
      i32.const 31
      i32.and
      i32.const 32
      i32.or
      local.get 9
      i32.const 1
      i32.shl
      i32.const 16
      i32.shr_s
      local.tee 9
      i32.shl
      i32.extend16_s
      local.get 9
      i32.const 9
      i32.gt_s
      select
      local.tee 9
      i32.const 1
      i32.shr_u
      local.get 9
      i32.add
      i32.const 15
      i32.shl
      i32.const 16
      i32.shr_s
      i32.gt_s
      local.set 9
    end
    local.get 7
    local.get 2
    local.get 1
    i32.sub
    i32.const 5
    i32.shr_u
    local.get 1
    i32.add
    local.tee 2
    i32.store16 offset=4
    i32.const 544
    local.set 10
    block  ;; label = @1
      block  ;; label = @2
        local.get 2
        i32.extend16_s
        local.tee 11
        i32.const 544
        i32.lt_s
        br_if 0 (;@2;)
        i32.const 5120
        local.set 10
        local.get 11
        i32.const 5121
        i32.lt_u
        br_if 1 (;@1;)
      end
      local.get 7
      local.get 10
      i32.store16 offset=4
      local.get 10
      local.set 2
    end
    local.get 6
    i32.const 31
    i32.shr_u
    local.set 10
    local.get 7
    local.get 7
    i32.load
    local.tee 11
    local.get 2
    i32.extend16_s
    i32.add
    i32.const 0
    local.get 11
    i32.sub
    i32.const 6
    i32.shr_s
    i32.add
    i32.store
    block  ;; label = @1
      block  ;; label = @2
        local.get 9
        i32.eqz
        br_if 0 (;@2;)
        local.get 7
        i64.const 0
        i64.store offset=20 align=4
        local.get 7
        i64.const 0
        i64.store offset=12 align=4
        br 1 (;@1;)
      end
      local.get 7
      i32.load16_s offset=14
      local.tee 2
      local.get 2
      i32.const 7
      i32.shr_s
      i32.sub
      local.set 2
      block  ;; label = @2
        block  ;; label = @3
          block  ;; label = @4
            block  ;; label = @5
              local.get 6
              i32.eqz
              br_if 0 (;@5;)
              block  ;; label = @6
                block  ;; label = @7
                  i32.const 0
                  local.get 7
                  i32.load16_u offset=12
                  local.tee 6
                  i32.sub
                  local.get 6
                  local.get 7
                  i32.load16_u offset=28
                  local.tee 11
                  local.get 10
                  i32.eq
                  select
                  i32.extend16_s
                  local.tee 12
                  i32.const -8192
                  i32.gt_s
                  br_if 0 (;@7;)
                  local.get 2
                  i32.const -256
                  i32.add
                  local.set 2
                  br 1 (;@6;)
                end
                block  ;; label = @7
                  local.get 12
                  i32.const 8192
                  i32.lt_s
                  br_if 0 (;@7;)
                  local.get 2
                  i32.const 255
                  i32.add
                  local.set 2
                  br 1 (;@6;)
                end
                local.get 12
                i32.const 5
                i32.shr_s
                local.get 2
                i32.add
                local.set 2
              end
              block  ;; label = @6
                local.get 10
                local.get 7
                i32.load16_s offset=30
                i32.eq
                br_if 0 (;@6;)
                local.get 2
                i32.extend16_s
                local.tee 12
                i32.const -12159
                i32.ge_s
                br_if 2 (;@4;)
                i32.const 53248
                local.set 2
                br 3 (;@3;)
              end
              block  ;; label = @6
                local.get 2
                i32.extend16_s
                local.tee 12
                i32.const -12415
                i32.ge_s
                br_if 0 (;@6;)
                i32.const 53248
                local.set 2
                br 3 (;@3;)
              end
              i32.const 12288
              local.get 2
              i32.const 128
              i32.add
              local.get 12
              i32.const 12159
              i32.gt_s
              select
              local.set 2
              br 2 (;@3;)
            end
            local.get 7
            local.get 2
            i32.store16 offset=14
            local.get 7
            i32.load16_s offset=12
            local.tee 6
            local.get 6
            i32.const 8
            i32.shr_s
            i32.sub
            local.set 6
            br 2 (;@2;)
          end
          i32.const 12288
          local.get 2
          i32.const -128
          i32.add
          local.get 12
          i32.const 12415
          i32.gt_s
          select
          local.set 2
        end
        local.get 7
        local.get 2
        i32.store16 offset=14
        local.get 6
        local.get 6
        i32.extend16_s
        i32.const 8
        i32.shr_s
        i32.sub
        local.set 6
        block  ;; label = @3
          local.get 11
          local.get 10
          i32.ne
          br_if 0 (;@3;)
          local.get 6
          i32.const 192
          i32.add
          local.set 6
          br 1 (;@2;)
        end
        local.get 6
        i32.const -192
        i32.add
        local.set 6
      end
      local.get 7
      local.get 6
      i32.store16 offset=12
      block  ;; label = @2
        block  ;; label = @3
          block  ;; label = @4
            local.get 6
            i32.extend16_s
            local.tee 11
            i32.const 0
            i32.const 15360
            local.get 2
            i32.sub
            i32.extend16_s
            local.tee 6
            i32.sub
            local.tee 12
            i32.ge_s
            br_if 0 (;@4;)
            local.get 12
            local.set 6
            br 1 (;@3;)
          end
          local.get 11
          local.get 6
          i32.le_s
          br_if 1 (;@2;)
        end
        local.get 7
        local.get 6
        i32.store16 offset=12
      end
      i32.const 6
      i32.const 6
      call $__pragma_loopbound
      local.get 7
      i32.load16_u offset=16
      local.set 11
      block  ;; label = @2
        block  ;; label = @3
          local.get 8
          i32.eqz
          br_if 0 (;@3;)
          local.get 7
          local.get 11
          local.get 11
          i32.extend16_s
          i32.const 9
          i32.const 8
          local.get 0
          i32.const 5
          i32.eq
          select
          local.tee 6
          i32.shr_s
          i32.sub
          i32.const 128
          i32.const -128
          local.get 7
          i32.load16_s offset=32
          local.get 4
          i32.xor
          i32.const -1
          i32.gt_s
          select
          i32.add
          i32.store16 offset=16
          local.get 7
          local.get 7
          i32.load16_s offset=18
          local.tee 11
          local.get 11
          local.get 6
          i32.shr_s
          i32.sub
          i32.const 128
          i32.const -128
          local.get 7
          i32.load16_s offset=34
          local.get 4
          i32.xor
          i32.const -1
          i32.gt_s
          select
          i32.add
          i32.store16 offset=18
          local.get 7
          local.get 7
          i32.load16_s offset=20
          local.tee 11
          local.get 11
          local.get 6
          i32.shr_s
          i32.sub
          i32.const 128
          i32.const -128
          local.get 7
          i32.load16_s offset=36
          local.get 4
          i32.xor
          i32.const -1
          i32.gt_s
          select
          i32.add
          i32.store16 offset=20
          local.get 7
          local.get 7
          i32.load16_s offset=22
          local.tee 11
          local.get 11
          local.get 6
          i32.shr_s
          i32.sub
          i32.const 128
          i32.const -128
          local.get 7
          i32.load16_s offset=38
          local.get 4
          i32.xor
          i32.const -1
          i32.gt_s
          select
          i32.add
          i32.store16 offset=22
          local.get 7
          local.get 7
          i32.load16_s offset=24
          local.tee 11
          local.get 11
          local.get 6
          i32.shr_s
          i32.sub
          i32.const 128
          i32.const -128
          local.get 7
          i32.load16_s offset=40
          local.get 4
          i32.xor
          i32.const -1
          i32.gt_s
          select
          i32.add
          i32.store16 offset=24
          local.get 7
          i32.load16_s offset=26
          local.tee 11
          local.get 11
          local.get 6
          i32.shr_s
          i32.sub
          local.set 6
          local.get 7
          i32.load16_s offset=42
          local.get 4
          i32.xor
          i32.const -1
          i32.gt_s
          br_if 1 (;@2;)
          local.get 7
          local.get 6
          i32.const -128
          i32.add
          i32.store16 offset=26
          br 2 (;@1;)
        end
        block  ;; label = @3
          local.get 0
          i32.const 5
          i32.eq
          br_if 0 (;@3;)
          local.get 7
          local.get 11
          local.get 11
          i32.extend16_s
          i32.const 8
          i32.shr_u
          i32.sub
          i32.store16 offset=16
          local.get 7
          local.get 7
          i32.load16_s offset=18
          local.tee 6
          local.get 6
          i32.const 8
          i32.shr_u
          i32.sub
          i32.store16 offset=18
          local.get 7
          local.get 7
          i32.load16_s offset=20
          local.tee 6
          local.get 6
          i32.const 8
          i32.shr_u
          i32.sub
          i32.store16 offset=20
          local.get 7
          local.get 7
          i32.load16_s offset=22
          local.tee 6
          local.get 6
          i32.const 8
          i32.shr_u
          i32.sub
          i32.store16 offset=22
          local.get 7
          local.get 7
          i32.load16_s offset=24
          local.tee 6
          local.get 6
          i32.const 8
          i32.shr_u
          i32.sub
          i32.store16 offset=24
          local.get 7
          local.get 7
          i32.load16_s offset=26
          local.tee 6
          local.get 6
          i32.const 8
          i32.shr_u
          i32.sub
          i32.store16 offset=26
          br 2 (;@1;)
        end
        local.get 7
        local.get 11
        local.get 11
        i32.extend16_s
        i32.const 9
        i32.shr_u
        i32.sub
        i32.store16 offset=16
        local.get 7
        local.get 7
        i32.load16_s offset=18
        local.tee 6
        local.get 6
        i32.const 9
        i32.shr_u
        i32.sub
        i32.store16 offset=18
        local.get 7
        local.get 7
        i32.load16_s offset=20
        local.tee 6
        local.get 6
        i32.const 9
        i32.shr_u
        i32.sub
        i32.store16 offset=20
        local.get 7
        local.get 7
        i32.load16_s offset=22
        local.tee 6
        local.get 6
        i32.const 9
        i32.shr_u
        i32.sub
        i32.store16 offset=22
        local.get 7
        local.get 7
        i32.load16_s offset=24
        local.tee 6
        local.get 6
        i32.const 9
        i32.shr_u
        i32.sub
        i32.store16 offset=24
        local.get 7
        local.get 7
        i32.load16_s offset=26
        local.tee 6
        local.get 6
        i32.const 9
        i32.shr_u
        i32.sub
        i32.store16 offset=26
        br 1 (;@1;)
      end
      local.get 7
      local.get 6
      i32.const 128
      i32.add
      i32.store16 offset=26
    end
    i32.const 5
    i32.const 5
    call $__pragma_loopbound
    local.get 7
    local.get 7
    i32.load16_u offset=40
    i32.store16 offset=42
    local.get 7
    local.get 7
    i32.load offset=36 align=2
    i32.store offset=38 align=2
    local.get 7
    local.get 7
    i32.load offset=32 align=2
    i32.store offset=34 align=2
    block  ;; label = @1
      block  ;; label = @2
        local.get 8
        br_if 0 (;@2;)
        i32.const 32
        i32.const -992
        local.get 4
        i32.const -1
        i32.gt_s
        select
        local.set 8
        br 1 (;@1;)
      end
      i32.const 3
      i32.const 15
      call $__pragma_loopbound
      i32.const 0
      local.set 6
      block  ;; label = @2
        local.get 8
        i32.const 0
        i32.load16_s offset=2048
        i32.lt_s
        br_if 0 (;@2;)
        local.get 8
        i32.const 0
        i32.load16_s offset=2050
        i32.lt_s
        local.tee 6
        br_if 0 (;@2;)
        i32.const 2
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2052
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 3
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2054
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 4
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2056
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 5
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2058
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 6
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2060
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 7
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2062
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 8
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2064
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 9
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2066
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 10
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2068
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 11
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2070
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 12
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2072
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 13
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2074
        i32.lt_s
        local.tee 11
        select
        local.set 6
        local.get 11
        br_if 0 (;@2;)
        i32.const 14
        local.get 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2076
        i32.lt_s
        select
        local.set 6
      end
      local.get 6
      i32.const 6
      i32.shl
      local.tee 11
      i32.const 64512
      i32.or
      local.get 11
      local.get 4
      i32.const 0
      i32.lt_s
      select
      local.get 8
      i32.const 6
      i32.shl
      local.get 6
      i32.shr_u
      i32.add
      local.set 8
    end
    local.get 7
    local.get 8
    i32.store16 offset=32
    local.get 7
    local.get 7
    i32.load16_u offset=44
    i32.store16 offset=46
    block  ;; label = @1
      block  ;; label = @2
        local.get 5
        br_if 0 (;@2;)
        i32.const 32
        local.set 8
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const 1
        i32.lt_s
        br_if 0 (;@2;)
        i32.const 3
        i32.const 15
        call $__pragma_loopbound
        i32.const 0
        local.set 8
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2048
          local.get 5
          i32.gt_s
          br_if 0 (;@3;)
          i32.const 0
          i32.load16_s offset=2050
          local.get 5
          i32.gt_s
          local.tee 8
          br_if 0 (;@3;)
          i32.const 2
          local.get 8
          i32.const 0
          i32.load16_s offset=2052
          local.get 5
          i32.gt_s
          local.tee 4
          select
          local.set 8
          local.get 4
          br_if 0 (;@3;)
          i32.const 3
          local.get 8
          i32.const 0
          i32.load16_s offset=2054
          local.get 5
          i32.gt_s
          local.tee 4
          select
          local.set 8
          local.get 4
          br_if 0 (;@3;)
          i32.const 4
          local.get 8
          i32.const 0
          i32.load16_s offset=2056
          local.get 5
          i32.gt_s
          local.tee 4
          select
          local.set 8
          local.get 4
          br_if 0 (;@3;)
          i32.const 5
          local.get 8
          i32.const 0
          i32.load16_s offset=2058
          local.get 5
          i32.gt_s
          local.tee 4
          select
          local.set 8
          local.get 4
          br_if 0 (;@3;)
          i32.const 6
          local.get 8
          i32.const 0
          i32.load16_s offset=2060
          local.get 5
          i32.gt_s
          local.tee 4
          select
          local.set 8
          local.get 4
          br_if 0 (;@3;)
          block  ;; label = @4
            i32.const 0
            i32.load16_s offset=2062
            local.get 5
            i32.le_s
            br_if 0 (;@4;)
            i32.const 7
            local.set 8
            br 1 (;@3;)
          end
          block  ;; label = @4
            i32.const 0
            i32.load16_s offset=2064
            local.get 5
            i32.le_s
            br_if 0 (;@4;)
            i32.const 8
            local.set 8
            br 1 (;@3;)
          end
          block  ;; label = @4
            i32.const 0
            i32.load16_s offset=2066
            local.get 5
            i32.le_s
            br_if 0 (;@4;)
            i32.const 9
            local.set 8
            br 1 (;@3;)
          end
          block  ;; label = @4
            i32.const 0
            i32.load16_s offset=2068
            local.get 5
            i32.le_s
            br_if 0 (;@4;)
            i32.const 10
            local.set 8
            br 1 (;@3;)
          end
          block  ;; label = @4
            i32.const 0
            i32.load16_s offset=2070
            local.get 5
            i32.le_s
            br_if 0 (;@4;)
            i32.const 11
            local.set 8
            br 1 (;@3;)
          end
          block  ;; label = @4
            i32.const 0
            i32.load16_s offset=2072
            local.get 5
            i32.le_s
            br_if 0 (;@4;)
            i32.const 12
            local.set 8
            br 1 (;@3;)
          end
          block  ;; label = @4
            i32.const 0
            i32.load16_s offset=2074
            local.get 5
            i32.le_s
            br_if 0 (;@4;)
            i32.const 13
            local.set 8
            br 1 (;@3;)
          end
          i32.const 14
          local.get 8
          i32.const 0
          i32.load16_s offset=2076
          local.get 5
          i32.gt_s
          select
          local.set 8
        end
        local.get 5
        i32.const 6
        i32.shl
        local.get 8
        i32.shr_s
        local.get 8
        i32.const 6
        i32.shl
        i32.add
        local.set 8
        br 1 (;@1;)
      end
      block  ;; label = @2
        local.get 5
        i32.const -32767
        i32.ge_u
        br_if 0 (;@2;)
        i32.const 64544
        local.set 8
        br 1 (;@1;)
      end
      i32.const 3
      i32.const 15
      call $__pragma_loopbound
      i32.const 0
      local.set 8
      block  ;; label = @2
        i32.const 0
        i32.load16_s offset=2048
        i32.const 0
        local.get 5
        i32.sub
        local.tee 4
        i32.gt_s
        br_if 0 (;@2;)
        i32.const 0
        i32.load16_s offset=2050
        local.get 4
        i32.gt_s
        local.tee 8
        br_if 0 (;@2;)
        i32.const 2
        local.get 8
        i32.const 0
        i32.load16_s offset=2052
        local.get 4
        i32.gt_s
        local.tee 5
        select
        local.set 8
        local.get 5
        br_if 0 (;@2;)
        i32.const 3
        local.get 8
        i32.const 0
        i32.load16_s offset=2054
        local.get 4
        i32.gt_s
        local.tee 5
        select
        local.set 8
        local.get 5
        br_if 0 (;@2;)
        i32.const 4
        local.get 8
        i32.const 0
        i32.load16_s offset=2056
        local.get 4
        i32.gt_s
        local.tee 5
        select
        local.set 8
        local.get 5
        br_if 0 (;@2;)
        i32.const 5
        local.get 8
        i32.const 0
        i32.load16_s offset=2058
        local.get 4
        i32.gt_s
        local.tee 5
        select
        local.set 8
        local.get 5
        br_if 0 (;@2;)
        i32.const 6
        local.get 8
        i32.const 0
        i32.load16_s offset=2060
        local.get 4
        i32.gt_s
        local.tee 5
        select
        local.set 8
        local.get 5
        br_if 0 (;@2;)
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2062
          local.get 4
          i32.le_s
          br_if 0 (;@3;)
          i32.const 7
          local.set 8
          br 1 (;@2;)
        end
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2064
          local.get 4
          i32.le_s
          br_if 0 (;@3;)
          i32.const 8
          local.set 8
          br 1 (;@2;)
        end
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2066
          local.get 4
          i32.le_s
          br_if 0 (;@3;)
          i32.const 9
          local.set 8
          br 1 (;@2;)
        end
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2068
          local.get 4
          i32.le_s
          br_if 0 (;@3;)
          i32.const 10
          local.set 8
          br 1 (;@2;)
        end
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2070
          local.get 4
          i32.le_s
          br_if 0 (;@3;)
          i32.const 11
          local.set 8
          br 1 (;@2;)
        end
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2072
          local.get 4
          i32.le_s
          br_if 0 (;@3;)
          i32.const 12
          local.set 8
          br 1 (;@2;)
        end
        block  ;; label = @3
          i32.const 0
          i32.load16_s offset=2074
          local.get 4
          i32.le_s
          br_if 0 (;@3;)
          i32.const 13
          local.set 8
          br 1 (;@2;)
        end
        i32.const 14
        local.get 8
        i32.const 0
        i32.load16_s offset=2076
        local.get 4
        i32.gt_s
        select
        local.set 8
      end
      local.get 4
      i32.const 6
      i32.shl
      local.get 8
      i32.shr_u
      local.get 8
      i32.const 6
      i32.shl
      i32.add
      i32.const -1024
      i32.add
      local.set 8
    end
    local.get 7
    local.get 8
    i32.store16 offset=44
    local.get 7
    i32.load16_u offset=28
    local.set 8
    local.get 7
    local.get 10
    i32.store16 offset=28
    local.get 7
    local.get 8
    i32.store16 offset=30
    local.get 7
    local.get 2
    i32.extend16_s
    i32.const -11776
    i32.lt_s
    local.get 9
    i32.const 1
    i32.xor
    i32.and
    local.tee 4
    i32.store8 offset=48
    local.get 7
    local.get 7
    i32.load16_s offset=6
    local.tee 8
    local.get 3
    local.get 8
    i32.sub
    i32.const 5
    i32.shr_u
    i32.add
    local.tee 5
    i32.store16 offset=6
    local.get 7
    local.get 7
    i32.load16_s offset=8
    local.tee 8
    local.get 3
    i32.const 2
    i32.shl
    local.get 8
    i32.sub
    i32.const 7
    i32.shr_u
    i32.add
    local.tee 8
    i32.store16 offset=8
    block  ;; label = @1
      local.get 9
      i32.eqz
      br_if 0 (;@1;)
      local.get 7
      i32.const 256
      i32.store16 offset=10
      return
    end
    block  ;; label = @1
      local.get 1
      i32.const 1535
      i32.gt_s
      br_if 0 (;@1;)
      local.get 7
      local.get 7
      i32.load16_s offset=10
      local.tee 8
      i32.const 512
      local.get 8
      i32.sub
      i32.const 4
      i32.shr_u
      i32.add
      i32.store16 offset=10
      return
    end
    block  ;; label = @1
      local.get 4
      i32.eqz
      br_if 0 (;@1;)
      local.get 7
      local.get 7
      i32.load16_s offset=10
      local.tee 8
      i32.const 512
      local.get 8
      i32.sub
      i32.const 4
      i32.shr_u
      i32.add
      i32.store16 offset=10
      return
    end
    local.get 7
    i32.load16_s offset=10
    local.set 4
    block  ;; label = @1
      local.get 5
      i32.extend16_s
      i32.const 2
      i32.shl
      local.get 8
      i32.extend16_s
      local.tee 8
      i32.sub
      local.tee 5
      local.get 5
      i32.const 31
      i32.shr_s
      local.tee 5
      i32.xor
      local.get 5
      i32.sub
      local.get 8
      i32.const 3
      i32.shr_s
      i32.lt_s
      br_if 0 (;@1;)
      local.get 7
      local.get 4
      i32.const 512
      local.get 4
      i32.sub
      i32.const 4
      i32.shr_u
      i32.add
      i32.store16 offset=10
      return
    end
    local.get 7
    local.get 4
    i32.const 0
    local.get 4
    i32.sub
    i32.const 4
    i32.shr_u
    i32.add
    i32.store16 offset=10)
  (func $g723_enc_g723_24_encoder (type 5) (param i32 i32 i32) (result i32)
    (local i32 i32 i32 i32)
    i32.const -1
    local.set 3
    block  ;; label = @1
      block  ;; label = @2
        block  ;; label = @3
          block  ;; label = @4
            local.get 1
            i32.const -1
            i32.add
            br_table 1 (;@3;) 0 (;@4;) 2 (;@2;) 3 (;@1;)
          end
          local.get 0
          i32.const 255
          i32.and
          i32.const 85
          i32.xor
          local.tee 3
          i32.const 4
          i32.shl
          i32.const 240
          i32.and
          local.set 1
          block  ;; label = @4
            block  ;; label = @5
              block  ;; label = @6
                block  ;; label = @7
                  local.get 3
                  i32.const 4
                  i32.shr_u
                  i32.const 7
                  i32.and
                  local.tee 3
                  br_table 0 (;@7;) 1 (;@6;) 2 (;@5;)
                end
                local.get 1
                i32.const 8
                i32.or
                local.set 3
                br 2 (;@4;)
              end
              local.get 1
              i32.const 264
              i32.or
              local.set 3
              br 1 (;@4;)
            end
            local.get 1
            i32.const 264
            i32.or
            local.get 3
            i32.const -1
            i32.add
            i32.shl
            local.set 3
          end
          local.get 3
          i32.const 0
          local.get 3
          i32.sub
          local.get 0
          i32.const 128
          i32.and
          select
          local.set 0
          br 1 (;@2;)
        end
        local.get 0
        i32.const -1
        i32.xor
        local.tee 3
        i32.const 3
        i32.shl
        i32.const 120
        i32.and
        i32.const 132
        i32.or
        local.get 3
        i32.const 4
        i32.shr_u
        i32.const 7
        i32.and
        i32.shl
        local.tee 3
        i32.const -132
        i32.add
        i32.const 132
        local.get 3
        i32.sub
        local.get 0
        i32.const 128
        i32.and
        select
        local.set 0
      end
      local.get 0
      i32.const 2
      i32.shr_u
      local.get 2
      call $g723_enc_predictor_zero
      local.tee 0
      local.get 2
      call $g723_enc_predictor_pole
      i32.add
      i32.const 16
      i32.shl
      i32.const 17
      i32.shr_s
      local.tee 4
      i32.sub
      local.set 3
      local.get 0
      i32.const 16
      i32.shl
      local.set 1
      block  ;; label = @2
        block  ;; label = @3
          local.get 2
          i32.load16_s offset=10
          local.tee 0
          i32.const 256
          i32.lt_s
          br_if 0 (;@3;)
          local.get 2
          i32.load16_u offset=4
          local.set 0
          br 1 (;@2;)
        end
        local.get 0
        i32.const 2
        i32.shr_s
        local.set 5
        block  ;; label = @3
          local.get 2
          i32.load16_s offset=4
          local.get 2
          i32.load
          i32.const 6
          i32.shr_s
          local.tee 0
          i32.sub
          local.tee 6
          i32.const 1
          i32.lt_s
          br_if 0 (;@3;)
          local.get 6
          local.get 5
          i32.mul
          i32.const 6
          i32.shr_s
          local.get 0
          i32.add
          local.set 0
          br 1 (;@2;)
        end
        local.get 6
        i32.const -1
        i32.gt_s
        br_if 0 (;@2;)
        local.get 6
        local.get 5
        i32.mul
        i32.const 63
        i32.add
        i32.const 6
        i32.shr_s
        local.get 0
        i32.add
        local.set 0
      end
      local.get 1
      i32.const 17
      i32.shr_s
      local.set 6
      local.get 3
      i32.extend16_s
      local.get 0
      i32.extend16_s
      local.tee 1
      i32.const 2078
      i32.const 3
      call $g723_enc_quantize
      local.tee 0
      i32.const 4
      i32.and
      local.set 5
      block  ;; label = @2
        block  ;; label = @3
          local.get 1
          i32.const 2
          i32.shr_u
          local.get 0
          i32.extend16_s
          local.tee 3
          i32.const 1
          i32.shl
          i32.const 2096
          i32.add
          i32.load16_u
          i32.add
          local.tee 0
          i32.const 32768
          i32.and
          i32.eqz
          br_if 0 (;@3;)
          i32.const -32768
          i32.const 0
          local.get 5
          select
          local.set 0
          br 1 (;@2;)
        end
        local.get 0
        i32.const 7
        i32.shl
        i32.const 16256
        i32.and
        i32.const 16384
        i32.or
        i32.const 14
        local.get 0
        i32.const 7
        i32.shr_u
        i32.const 15
        i32.and
        i32.sub
        i32.shr_u
        local.tee 0
        i32.const -32768
        i32.or
        local.get 0
        local.get 5
        select
        local.set 0
      end
      i32.const 3
      local.get 1
      local.get 3
      i32.const 1
      i32.shl
      local.tee 5
      i32.const 2128
      i32.add
      i32.load16_s
      local.get 5
      i32.const 2160
      i32.add
      i32.load16_s
      local.get 0
      i32.const 0
      local.get 0
      i32.const 16383
      i32.and
      i32.sub
      local.get 0
      local.get 0
      i32.const 0
      i32.lt_s
      select
      local.tee 5
      local.get 4
      i32.add
      i32.extend16_s
      local.get 5
      local.get 6
      i32.add
      i32.extend16_s
      local.get 2
      call $g723_enc_update
    end
    local.get 3)
  (func $g723_enc_init (type 1)
    (local i32 i32 i32)
    global.get $__stack_pointer
    i32.const 16
    i32.sub
    local.tee 0
    global.set $__stack_pointer
    i32.const 0
    i64.const 544
    i64.store offset=3236 align=4
    i32.const 0
    i32.const 34816
    i32.store offset=3232
    local.get 0
    i32.const 0
    i32.store offset=12
    i32.const 2
    i32.const 2
    call $__pragma_loopbound
    i32.const 0
    i32.const 2097184
    i32.store offset=3276
    i32.const 0
    i32.const 0
    i32.store offset=3244
    i32.const 0
    i32.const 0
    i32.store offset=3260
    i32.const 6
    i32.const 6
    call $__pragma_loopbound
    i32.const 0
    i32.const 2097184
    i32.store offset=3264
    i32.const 0
    i64.const 9007336695791648
    i64.store offset=3268 align=4
    i32.const 0
    i64.const 0
    i64.store offset=3252 align=4
    i32.const 0
    i32.const 0
    i32.store offset=3248
    i32.const 0
    i32.const 0
    i32.store8 offset=3280
    i32.const 256
    i32.const 256
    call $__pragma_loopbound
    i32.const -1024
    local.set 1
    loop  ;; label = @1
      local.get 1
      i32.const 2048
      i32.add
      local.tee 2
      local.get 2
      i32.load
      local.get 0
      i32.load offset=12
      i32.add
      i32.store
      local.get 1
      i32.const 2052
      i32.add
      local.tee 2
      local.get 2
      i32.load
      local.get 0
      i32.load offset=12
      i32.add
      i32.store
      local.get 1
      i32.const 2056
      i32.add
      local.tee 2
      local.get 2
      i32.load
      local.get 0
      i32.load offset=12
      i32.add
      i32.store
      local.get 1
      i32.const 2060
      i32.add
      local.tee 2
      local.get 2
      i32.load
      local.get 0
      i32.load offset=12
      i32.add
      i32.store
      local.get 1
      i32.const 16
      i32.add
      local.tee 1
      br_if 0 (;@1;)
    end
    local.get 0
    i32.const 16
    i32.add
    global.set $__stack_pointer)
  (func $g723_enc_main (type 1)
    (local i32 i32 i32 i32 i32)
    i32.const 256
    i32.const 256
    call $__pragma_loopbound
    i32.const -1024
    local.set 0
    loop  ;; label = @1
      local.get 0
      i32.const 2048
      i32.add
      i32.load16_s
      i32.const 2
      i32.const 3232
      call $g723_enc_g723_24_encoder
      local.set 1
      i32.const 0
      i32.const 0
      i32.load offset=2196
      local.tee 2
      i32.const 3
      i32.add
      local.tee 3
      i32.store offset=2196
      i32.const 0
      i32.const 0
      i32.load offset=2192
      local.get 1
      i32.const 255
      i32.and
      local.get 2
      i32.shl
      i32.or
      local.tee 1
      i32.store offset=2192
      block  ;; label = @2
        local.get 2
        i32.const 5
        i32.lt_s
        br_if 0 (;@2;)
        i32.const 0
        local.get 1
        i32.const 8
        i32.shr_u
        i32.store offset=2192
        i32.const 0
        local.get 2
        i32.const -5
        i32.add
        local.tee 3
        i32.store offset=2196
        i32.const 0
        i32.const 0
        i32.load offset=2200
        local.tee 2
        i32.const 1
        i32.add
        i32.store offset=2200
        local.get 2
        i32.const 2
        i32.shl
        i32.const 2208
        i32.add
        local.get 1
        i32.const 255
        i32.and
        i32.store
      end
      local.get 0
      i32.const 4
      i32.add
      local.tee 0
      br_if 0 (;@1;)
    end
    i32.const 0
    i32.const 0
    call $__pragma_loopbound
    block  ;; label = @1
      local.get 3
      i32.const 1
      i32.lt_s
      br_if 0 (;@1;)
      i32.const 0
      i32.load offset=2196
      local.set 2
      i32.const 0
      i32.load offset=2192
      local.set 0
      i32.const 0
      i32.load offset=2200
      local.set 1
      loop  ;; label = @2
        block  ;; label = @3
          block  ;; label = @4
            local.get 2
            i32.const 5
            i32.ge_s
            br_if 0 (;@4;)
            local.get 2
            i32.const 3
            i32.add
            local.set 2
            br 1 (;@3;)
          end
          i32.const 0
          local.get 0
          i32.const 8
          i32.shr_u
          local.tee 3
          i32.store offset=2192
          i32.const 0
          local.get 1
          i32.const 1
          i32.add
          local.tee 4
          i32.store offset=2200
          local.get 1
          i32.const 2
          i32.shl
          i32.const 2208
          i32.add
          local.get 0
          i32.const 255
          i32.and
          i32.store
          local.get 2
          i32.const -5
          i32.add
          local.set 2
          local.get 4
          local.set 1
          local.get 3
          local.set 0
        end
        local.get 2
        i32.const 0
        i32.gt_s
        br_if 0 (;@2;)
      end
      i32.const 0
      local.get 2
      i32.store offset=2196
    end)
  (func $__original_main (type 6) (result i32)
    (local i32 i32)
    call $g723_enc_init
    call $g723_enc_main
    i32.const 256
    i32.const 256
    call $__pragma_loopbound
    i32.const 0
    local.set 0
    i32.const -1024
    local.set 1
    loop  ;; label = @1
      local.get 1
      i32.const 3244
      i32.add
      i32.load
      local.get 1
      i32.const 3240
      i32.add
      i32.load
      local.get 1
      i32.const 3236
      i32.add
      i32.load
      local.get 1
      i32.const 3232
      i32.add
      i32.load
      local.get 0
      i32.add
      i32.add
      i32.add
      i32.add
      local.set 0
      local.get 1
      i32.const 16
      i32.add
      local.tee 1
      br_if 0 (;@1;)
    end
    local.get 0
    i32.const 24284
    i32.ne)
  (table (;0;) 1 1 funcref)
  (memory (;0;) 1)
  (global $__stack_pointer (mut i32) (i32.const 7392))
  (global (;1;) i32 (i32.const 3284))
  (global (;2;) i32 (i32.const 7392))
  (export "memory" (memory 0))
  (export "__wasm_apply_data_relocs" (func $__wasm_apply_data_relocs))
  (export "entrypoint" (func $g723_enc_main))
  (export "main" (func $__original_main))
  (export "__data_end" (global 1))
  (export "__heap_base" (global 2))
  (data $.data (i32.const 1024) "3\00\00\00\11\00\00\00\1f\00\00\005\00\00\00_\00\00\00\11\00\00\00F\00\00\00\16\00\00\001\00\00\00\0c\00\00\00\08\00\00\00'\00\00\00\1c\00\00\00%\00\00\00c\00\00\006\00\00\00M\00\00\00A\00\00\00M\00\00\00N\00\00\00S\00\00\00\0f\00\00\00?\00\00\00\1f\00\00\00#\00\00\00\5c\00\00\004\00\00\00(\00\00\00=\00\00\00O\00\00\00^\00\00\00W\00\00\00W\00\00\00D\00\00\00L\00\00\00:\00\00\00'\00\00\00#\00\00\00\14\00\00\00S\00\00\00*\00\00\00.\00\00\00b\00\00\00\0c\00\00\00\15\00\00\00`\00\00\00J\00\00\00)\00\00\00N\00\00\00L\00\00\00`\00\00\00\02\00\00\00 \00\00\00L\00\00\00\18\00\00\00;\00\00\00\04\00\00\00`\00\00\00 \00\00\00\05\00\00\00,\00\00\00\5c\00\00\009\00\00\00\0c\00\00\009\00\00\00\19\00\00\002\00\00\00\17\00\00\000\00\00\00)\00\00\00X\00\00\00+\00\00\00$\00\00\00&\00\00\00\04\00\00\00\10\00\00\004\00\00\00F\00\00\00\09\00\00\00(\00\00\00N\00\00\00\18\00\00\00\22\00\00\00\17\00\00\00\1e\00\00\00\1e\00\00\00Y\00\00\00\03\00\00\00A\00\00\00(\00\00\00D\00\00\00I\00\00\00^\00\00\00\17\00\00\00T\00\00\00a\00\00\00N\00\00\00+\00\00\00D\00\00\00Q\00\00\00\10\00\00\00\1c\00\00\00\0d\00\00\00W\00\00\00K\00\00\00\15\00\00\00\0e\00\00\00\1d\00\00\00Q\00\00\00\16\00\00\008\00\00\00H\00\00\00\13\00\00\00c\00\00\00\19\00\00\00+\00\00\00L\00\00\00V\00\00\00Z\00\00\00b\00\00\00'\00\00\00+\00\00\00\0c\00\00\00.\00\00\00\18\00\00\00c\00\00\00A\00\00\00=\00\00\00\18\00\00\00-\00\00\00O\00\00\00\07\00\00\000\00\00\00\0f\00\00\00\18\00\00\00_\00\00\00>\00\00\00c\00\00\000\00\00\00P\00\00\00K\00\00\00&\00\00\000\00\00\005\00\00\00\09\00\00\00<\00\00\00#\00\00\00\0e\00\00\00N\00\00\00G\00\00\00-\00\00\00G\00\00\00\09\00\00\00a\00\00\007\00\00\00J\00\00\00:\00\00\00@\00\00\00N\00\00\00\12\00\00\00\1e\00\00\00\1c\00\00\00E\00\00\00\1d\00\00\009\00\00\00*\00\00\00\1e\00\00\00,\00\00\009\00\00\001\00\00\00=\00\00\00*\00\00\00\0d\00\00\00\19\00\00\00\03\00\00\00b\00\00\00\0b\00\00\00&\00\00\00A\00\00\00#\00\00\007\00\00\00$\00\00\009\00\00\000\00\00\00\10\00\00\00>\00\00\00\11\00\00\008\00\00\00\1d\00\00\00X\00\00\00T\00\00\00U\00\00\00Z\00\00\00<\00\00\006\00\00\00\10\00\00\00B\00\00\00E\00\00\00\1a\00\00\00\0a\00\00\00R\00\00\00\13\00\00\00*\00\00\00#\00\00\00T\00\00\00\0d\00\00\00\1a\00\00\00\11\00\00\000\00\00\00&\00\00\002\00\00\002\00\00\00#\00\00\005\00\00\00\0c\00\00\004\00\00\00=\00\00\00J\00\00\008\00\00\00\22\00\00\00P\00\00\00;\00\00\00\1a\00\00\00C\00\00\007\00\00\00O\00\00\00Y\00\00\00Y\00\00\00\06\00\00\00P\00\00\00[\00\00\00A\00\00\00\10\00\00\00\1e\00\00\00\10\00\00\00\1c\00\00\00U\00\00\006\00\00\00\03\00\00\00\14\00\00\00\02\00\00\00$\00\00\00>\00\00\004\00\00\007\00\00\00\0f\00\00\00S\00\00\00\03\00\00\00\02\00\00\00&\00\00\00>\00\00\00\02\00\00\00?\00\00\00\5c\00\00\00%\00\00\00I\00\00\00\01\00\02\00\04\00\08\00\10\00 \00@\00\80\00\00\01\00\02\00\04\00\08\00\10\00 \00@\08\00\da\00K\01\00\00\00\00\00\00\00\00\00\00\00\00\00\f8\04\00\87\00\d5\00\11\01C\01u\01\a9\01\a9\01u\01C\01\11\01\d5\00\87\00\04\00\00\f8\f4\ff\12\00)\00@\00p\00\c6\00c\01b\04b\04c\01\c6\00p\00@\00)\00\12\00\f4\ff\00\00\00\00\00\00\00\02\00\02\00\02\00\06\00\0e\00\0e\00\06\00\02\00\02\00\02\00\00\00\00\00\00"))
