(module $prime.wasm
  (type (;0;) (func (param i32 i32)))
  (type (;1;) (func))
  (type (;2;) (func (result i32)))
  (import "__pragma" "loopbound" (func $__pragma_loopbound (type 0)))
  (func $__wasm_apply_data_relocs (type 1))
  (func $prime_main (type 1)
    (local i32 i32 i32)
    i32.const 0
    i32.load offset=1028
    local.set 0
    i32.const 0
    i32.const 0
    i32.load offset=1032
    local.tee 1
    i32.store offset=1028
    i32.const 0
    local.get 0
    i32.store offset=1032
    i32.const 1
    local.set 2
    block  ;; label = @1
      block  ;; label = @2
        block  ;; label = @3
          local.get 1
          i32.const 1
          i32.and
          br_if 0 (;@3;)
          local.get 1
          i32.const 2
          i32.ne
          br_if 1 (;@2;)
          br 2 (;@1;)
        end
        i32.const 0
        i32.const 16
        call $__pragma_loopbound
        block  ;; label = @3
          block  ;; label = @4
            local.get 1
            i32.const 9
            i32.lt_u
            br_if 0 (;@4;)
            i32.const 5
            local.set 2
            loop  ;; label = @5
              local.get 1
              local.get 2
              i32.const -2
              i32.add
              i32.rem_u
              i32.eqz
              br_if 2 (;@3;)
              local.get 2
              local.get 2
              i32.mul
              local.set 0
              local.get 2
              i32.const 2
              i32.add
              local.set 2
              local.get 0
              local.get 1
              i32.le_u
              br_if 0 (;@5;)
            end
          end
          i32.const 1
          local.set 2
          local.get 1
          i32.const 1
          i32.gt_u
          br_if 2 (;@1;)
        end
        i32.const 0
        i32.load offset=1032
        local.set 0
      end
      block  ;; label = @2
        local.get 0
        i32.const 1
        i32.and
        br_if 0 (;@2;)
        local.get 0
        i32.const 2
        i32.eq
        local.set 2
        br 1 (;@1;)
      end
      i32.const 0
      i32.const 16
      call $__pragma_loopbound
      block  ;; label = @2
        local.get 0
        i32.const 9
        i32.lt_u
        br_if 0 (;@2;)
        i32.const 5
        local.set 2
        block  ;; label = @3
          loop  ;; label = @4
            local.get 0
            local.get 2
            i32.const -2
            i32.add
            i32.rem_u
            i32.eqz
            br_if 1 (;@3;)
            local.get 2
            local.get 2
            i32.mul
            local.set 1
            local.get 2
            i32.const 2
            i32.add
            local.set 2
            local.get 1
            local.get 0
            i32.gt_u
            br_if 2 (;@2;)
            br 0 (;@4;)
          end
        end
        i32.const 0
        local.set 2
        br 1 (;@1;)
      end
      local.get 0
      i32.const 1
      i32.gt_u
      local.set 2
    end
    i32.const 0
    local.get 2
    i32.store offset=1036)
  (func $__original_main (type 2) (result i32)
    (local i32)
    i32.const 0
    i32.const 0
    i32.store offset=1024
    i32.const 0
    i32.const 0
    i32.load offset=1024
    i32.const 133
    i32.mul
    i32.const 81
    i32.add
    i32.const 8095
    i32.rem_s
    i32.store offset=1024
    i32.const 0
    i32.load offset=1024
    local.set 0
    i32.const 0
    i32.const 0
    i32.load offset=1024
    i32.const 133
    i32.mul
    i32.const 81
    i32.add
    i32.const 8095
    i32.rem_s
    i32.store offset=1024
    i32.const 0
    local.get 0
    i32.store offset=1028
    i32.const 0
    i32.const 0
    i32.load offset=1024
    i32.store offset=1032
    call $prime_main
    i32.const 0
    i32.load offset=1036)
  (table (;0;) 1 1 funcref)
  (memory (;0;) 1)
  (global $__stack_pointer (mut i32) (i32.const 5136))
  (global (;1;) i32 (i32.const 1040))
  (global (;2;) i32 (i32.const 5136))
  (export "memory" (memory 0))
  (export "__wasm_apply_data_relocs" (func $__wasm_apply_data_relocs))
  (export "entrypoint" (func $prime_main))
  (export "main" (func $__original_main))
  (export "__data_end" (global 1))
  (export "__heap_base" (global 2)))
