;;; Code for protobuf.MyEnum [type definition]
(type $protobuf.MyEnum.vtable (sub $java.lang.Enum.vtable (struct
 (field $$getClassImpl__java_lang_Class (ref $function.$getClassImpl__java_lang_Class))
 (field $m_equals__java_lang_Object__boolean (ref $function.m_equals__java_lang_Object__boolean))
 (field $m_hashCode__int (ref $function.m_hashCode__int))
 (field $m_toString__java_lang_String (ref $function.m_toString__java_lang_String))
 (field $m_compareTo__java_lang_Object__int (ref $function.m_compareTo__java_lang_Object__int))
 (field $m_getDeclaringClass__java_lang_Class (ref $function.m_getDeclaringClass__java_lang_Class))
 (field $m_getNumber__int (ref $function.m_getNumber__int))
 ))
)
(type $protobuf.MyEnum (sub $java.lang.Enum (struct
 (field $vtable (ref $protobuf.MyEnum.vtable))
 (field $itable (ref $protobuf.MyEnum.itable))
 (field $$systemIdentityHashCode@java.lang.Object (mut i32))
 (field $name@java.lang.Enum (mut (ref null $java.lang.String)))
 (field $ordinal@java.lang.Enum (mut i32))
 ))
)

;;; Code for protobuf.MyMessage [type definition]
(type $protobuf.MyMessage.vtable (sub $com.google.protobuf.GeneratedMessage.vtable (struct
 (field $$getClassImpl__java_lang_Class (ref $function.$getClassImpl__java_lang_Class))
 (field $m_equals__java_lang_Object__boolean (ref $function.m_equals__java_lang_Object__boolean))
 (field $m_hashCode__int (ref $function.m_hashCode__int))
 (field $m_toString__java_lang_String (ref $function.m_toString__java_lang_String))
 (field $m_getParserForType__com_google_protobuf_Parser (ref $function.m_getParserForType__com_google_protobuf_Parser))
 (field $m_getFooBar__int (ref $function.m_getFooBar__int))
 (field $m_getFoo__int (ref $function.m_getFoo__int))
 (field $m_getXValue__int (ref $function.m_getXValue__int))
 (field $m_getXYZValues__int (ref $function.m_getXYZValues__int))
 (field $m_getXYZ__int (ref $function.m_getXYZ__int))
 (field $m_getX__int (ref $function.m_getX__int))
 ))
)
(type $protobuf.MyMessage (sub $com.google.protobuf.GeneratedMessage (struct
 (field $vtable (ref $protobuf.MyMessage.vtable))
 (field $itable (ref $itable))
 (field $$systemIdentityHashCode@java.lang.Object (mut i32))
 (field $parserForType@com.google.protobuf.GeneratedMessage (mut (ref null $com.google.protobuf.Parser)))
 ))
)

;;; Code for protobuf.MyMessage.Builder [type definition]
(type $protobuf.MyMessage.Builder.vtable (sub $com.google.protobuf.GeneratedMessage.Builder.vtable (struct
 (field $$getClassImpl__java_lang_Class (ref $function.$getClassImpl__java_lang_Class))
 (field $m_equals__java_lang_Object__boolean (ref $function.m_equals__java_lang_Object__boolean))
 (field $m_hashCode__int (ref $function.m_hashCode__int))
 (field $m_toString__java_lang_String (ref $function.m_toString__java_lang_String))
 (field $m_build__protobuf_MyMessage (ref $function.m_build__protobuf_MyMessage))
 (field $m_getFooBar__int (ref $function.m_getFooBar__int))
 (field $m_getFoo__int (ref $function.m_getFoo__int))
 (field $m_getXValue__int (ref $function.m_getXValue__int))
 (field $m_getXYZValues__int (ref $function.m_getXYZValues__int))
 (field $m_getXYZ__int (ref $function.m_getXYZ__int))
 (field $m_getX__int (ref $function.m_getX__int))
 (field $m_setFooBar__int__protobuf_MyMessage_Builder (ref $function.m_setFooBar__int__protobuf_MyMessage_Builder))
 (field $m_setFoo__int__protobuf_MyMessage_Builder (ref $function.m_setFoo__int__protobuf_MyMessage_Builder))
 (field $m_setXValue__int__protobuf_MyMessage_Builder (ref $function.m_setXValue__int__protobuf_MyMessage_Builder))
 (field $m_setXYZValues__int__protobuf_MyMessage_Builder (ref $function.m_setXYZValues__int__protobuf_MyMessage_Builder))
 (field $m_setXYZ__int__protobuf_MyMessage_Builder (ref $function.m_setXYZ__int__protobuf_MyMessage_Builder))
 (field $m_setX__int__protobuf_MyMessage_Builder (ref $function.m_setX__int__protobuf_MyMessage_Builder))
 ))
)
(type $protobuf.MyMessage.Builder (sub $com.google.protobuf.GeneratedMessage.Builder (struct
 (field $vtable (ref $protobuf.MyMessage.Builder.vtable))
 (field $itable (ref $itable))
 (field $$systemIdentityHashCode@java.lang.Object (mut i32))
 ))
)

;;; Code for protobuf.Protobuf [type definition]
(type $protobuf.Protobuf.vtable (sub $java.lang.Object.vtable (struct
 (field $$getClassImpl__java_lang_Class (ref $function.$getClassImpl__java_lang_Class))
 (field $m_equals__java_lang_Object__boolean (ref $function.m_equals__java_lang_Object__boolean))
 (field $m_hashCode__int (ref $function.m_hashCode__int))
 (field $m_toString__java_lang_String (ref $function.m_toString__java_lang_String))
 (field $m_test__void (ref $function.m_test__void))
 ))
)
(type $protobuf.Protobuf (sub $java.lang.Object (struct
 (field $vtable (ref $protobuf.Protobuf.vtable))
 (field $itable (ref $itable))
 (field $$systemIdentityHashCode@java.lang.Object (mut i32))
 ))
)

;;; Code for protobuf.Protobuf.Test [type definition]
(type $protobuf.Protobuf.Test.vtable (sub $java.lang.Object.vtable (struct
 (field $$getClassImpl__java_lang_Class (ref $function.$getClassImpl__java_lang_Class))
 (field $m_equals__java_lang_Object__boolean (ref $function.m_equals__java_lang_Object__boolean))
 (field $m_hashCode__int (ref $function.m_hashCode__int))
 (field $m_toString__java_lang_String (ref $function.m_toString__java_lang_String))
 (field $m_accept__protobuf_MyMessage__void (ref $function.m_accept__protobuf_MyMessage__void))
 (field $m_get__protobuf_MyMessage (ref $function.m_get__protobuf_MyMessage))
 ))
)
(type $protobuf.Protobuf.Test (sub $java.lang.Object (struct
 (field $vtable (ref $protobuf.Protobuf.Test.vtable))
 (field $itable (ref $itable))
 (field $$systemIdentityHashCode@java.lang.Object (mut i32))
 ))
)

;;; Code for protobuf.MyEnum [imports]

;;; Code for protobuf.MyMessage [imports]

;;; Code for protobuf.MyMessage.Builder [imports]

;;; Code for protobuf.Protobuf [imports]

;;; Code for protobuf.Protobuf.Test [imports]

;;; Code for protobuf.MyEnum [static fields]
(global $ONE@protobuf.MyEnum (mut (ref null $protobuf.MyEnum))
 (ref.null $protobuf.MyEnum)
)
(global $TWO@protobuf.MyEnum (mut (ref null $protobuf.MyEnum))
 (ref.null $protobuf.MyEnum)
)
(global $namesToValuesMap@protobuf.MyEnum (mut (ref null $java.lang.Object))
 (ref.null $java.lang.Object)
)
(global $$class-initialized@protobuf.MyEnum (mut i32)
 (i32.const 0)
)
(global $$class@protobuf.MyEnum (mut (ref null $java.lang.Class))
 (ref.null $java.lang.Class)
)

;;; Code for protobuf.MyMessage [static fields]
(global $$class-initialized@protobuf.MyMessage (mut i32)
 (i32.const 0)
)
(global $$class@protobuf.MyMessage (mut (ref null $java.lang.Class))
 (ref.null $java.lang.Class)
)

;;; Code for protobuf.MyMessage.Builder [static fields]
(global $$class-initialized@protobuf.MyMessage.Builder (mut i32)
 (i32.const 0)
)
(global $$class@protobuf.MyMessage.Builder (mut (ref null $java.lang.Class))
 (ref.null $java.lang.Class)
)

;;; Code for protobuf.MyEnum [vtable.init]
(global $protobuf.MyEnum.vtable (ref $protobuf.MyEnum.vtable)
 (struct.new $protobuf.MyEnum.vtable
  (ref.func $$getClassImpl__java_lang_Class@protobuf.MyEnum)
  (ref.func $m_equals__java_lang_Object__boolean@java.lang.Enum)
  (ref.func $m_hashCode__int@java.lang.Enum)
  (ref.func $m_toString__java_lang_String@java.lang.Enum)
  (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum)
  (ref.func $m_getDeclaringClass__java_lang_Class@java.lang.Enum)
  (ref.func $m_getNumber__int@protobuf.MyEnum)
 )
)
(global $com.google.protobuf.EnumLite.vtable@$protobuf.MyEnum (ref $com.google.protobuf.EnumLite.vtable)
 (struct.new $com.google.protobuf.EnumLite.vtable
  (ref.func $m_getNumber__int@protobuf.MyEnum)
 )
)
(global $java.lang.Comparable.vtable@$protobuf.MyEnum (ref $java.lang.Comparable.vtable)
 (struct.new $java.lang.Comparable.vtable
  (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum)
 )
)
(global $java.io.Serializable.vtable@$protobuf.MyEnum (ref $java.io.Serializable.vtable)
 (struct.new $java.io.Serializable.vtable
 )
)

;;; Code for protobuf.MyMessage [vtable.init]
(global $protobuf.MyMessage.vtable (ref $protobuf.MyMessage.vtable)
 (struct.new $protobuf.MyMessage.vtable
  (ref.func $$getClassImpl__java_lang_Class@protobuf.MyMessage)
  (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object)
  (ref.func $m_hashCode__int@java.lang.Object)
  (ref.func $m_toString__java_lang_String@java.lang.Object)
  (ref.func $m_getParserForType__com_google_protobuf_Parser@protobuf.MyMessage)
  (ref.func $m_getFooBar__int@protobuf.MyMessage)
  (ref.func $m_getFoo__int@protobuf.MyMessage)
  (ref.func $m_getXValue__int@protobuf.MyMessage)
  (ref.func $m_getXYZValues__int@protobuf.MyMessage)
  (ref.func $m_getXYZ__int@protobuf.MyMessage)
  (ref.func $m_getX__int@protobuf.MyMessage)
 )
)

;;; Code for protobuf.MyMessage.Builder [vtable.init]
(global $protobuf.MyMessage.Builder.vtable (ref $protobuf.MyMessage.Builder.vtable)
 (struct.new $protobuf.MyMessage.Builder.vtable
  (ref.func $$getClassImpl__java_lang_Class@protobuf.MyMessage.Builder)
  (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object)
  (ref.func $m_hashCode__int@java.lang.Object)
  (ref.func $m_toString__java_lang_String@java.lang.Object)
  (ref.func $m_build__protobuf_MyMessage@protobuf.MyMessage.Builder)
  (ref.func $m_getFooBar__int@protobuf.MyMessage.Builder)
  (ref.func $m_getFoo__int@protobuf.MyMessage.Builder)
  (ref.func $m_getXValue__int@protobuf.MyMessage.Builder)
  (ref.func $m_getXYZValues__int@protobuf.MyMessage.Builder)
  (ref.func $m_getXYZ__int@protobuf.MyMessage.Builder)
  (ref.func $m_getX__int@protobuf.MyMessage.Builder)
  (ref.func $m_setFooBar__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)
  (ref.func $m_setFoo__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)
  (ref.func $m_setXValue__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)
  (ref.func $m_setXYZValues__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)
  (ref.func $m_setXYZ__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)
  (ref.func $m_setX__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)
 )
)

;;; Code for protobuf.MyEnum [methods]

;;; MyEnum MyEnum.$create(String $name, int $ordinal)
(func $$create__java_lang_String__int@protobuf.MyEnum
 (param $$name (ref null $java.lang.String))
 (param $$ordinal i32)
 (result (ref null $protobuf.MyEnum))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
 (local $$instance (ref null $protobuf.MyEnum))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (local.set $$instance (struct.new $protobuf.MyEnum (global.get $protobuf.MyEnum.vtable) (global.get $protobuf.MyEnum.itable) (i32.const 0) (ref.null $java.lang.String) (i32.const 0)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (call $$ctor__java_lang_String__int__void_$p_protobuf_MyEnum@protobuf.MyEnum (ref.as_non_null (local.get $$instance))(local.get $$name)(local.get $$ordinal))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (return (local.get $$instance))
 )
)

;;; void MyEnum.$ctor(String $name, int $ordinal)
(func $$ctor__java_lang_String__int__void_$p_protobuf_MyEnum@protobuf.MyEnum
 (param $this (ref null $protobuf.MyEnum))
 (param $$name (ref null $java.lang.String))
 (param $$ordinal i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (struct.set $java.lang.Enum $name@java.lang.Enum (local.get $this) (local.get $$name))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (struct.set $java.lang.Enum $ordinal@java.lang.Enum (local.get $this) (local.get $$ordinal))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (call $$ctor__java_lang_String__int__void_$p_java_lang_Enum@java.lang.Enum (ref.as_non_null (local.get $this))(local.get $$name)(local.get $$ordinal))
 )
)

;;; int MyEnum.getNumber()
(func $m_getNumber__int@protobuf.MyEnum
 (type $function.m_getNumber__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:27:13
 (local $this (ref null $protobuf.MyEnum))
 (local.set $this (ref.cast (ref $protobuf.MyEnum) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:28:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getNumber__int@protobuf.MyEnum)

;;; MyEnum MyEnum.valueOf(String name)
(func $m_valueOf__java_lang_String__protobuf_MyEnum@protobuf.MyEnum
 (param $name (ref null $java.lang.String))
 (result (ref null $protobuf.MyEnum))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (call $$clinit__void_<once>_@protobuf.MyEnum )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (if (ref.is_null (global.get $namesToValuesMap@protobuf.MyEnum))
   (then
    (block
     ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
     (global.set $namesToValuesMap@protobuf.MyEnum (call $m_createMapFromValues__arrayOf_java_lang_Enum__java_util_Map@javaemul.internal.Enums (call $m_values_$private__arrayOf_protobuf_MyEnum@protobuf.MyEnum )))
    )
   )
  )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (return (ref.cast (ref null $protobuf.MyEnum) (call $m_getValueFromNameAndMap__java_lang_String__java_util_Map__java_lang_Object@javaemul.internal.Enums (local.get $name)(global.get $namesToValuesMap@protobuf.MyEnum))))
 )
)

;;; MyEnum[] MyEnum.values()
(func $m_values__arrayOf_protobuf_MyEnum@protobuf.MyEnum
 (result (ref null $javaemul.internal.WasmArray.OfObject))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (call $$clinit__void_<once>_@protobuf.MyEnum )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (return (call $m_values_$private__arrayOf_protobuf_MyEnum@protobuf.MyEnum ))
 )
)

;;; MyEnum[] MyEnum.values_$private()
(func $m_values_$private__arrayOf_protobuf_MyEnum@protobuf.MyEnum
 (result (ref null $javaemul.internal.WasmArray.OfObject))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (return (call $m_newWithLiteral__arrayOf_java_lang_Object__javaemul_internal_WasmArray_OfObject@javaemul.internal.WasmArray.OfObject (array.new_fixed $java.lang.Object.array 2 (global.get $ONE@protobuf.MyEnum)(global.get $TWO@protobuf.MyEnum))))
 )
)

;;; void MyEnum.$clinit()
(func $$clinit__void_<once>_@protobuf.MyEnum
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (if (global.get $$class-initialized@protobuf.MyEnum)
   (then
    ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
    (return )
   )
  )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (global.set $$class-initialized@protobuf.MyEnum (i32.const 1))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:22:12
  (call $$clinit__void_<once>_@java.lang.Enum )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:23:2
  (global.set $ONE@protobuf.MyEnum (call $$create__java_lang_String__int@protobuf.MyEnum (call $$getString_|ONE|__java_lang_String_<once>_@protobuf.MyEnum )(i32.const 0)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyEnum.java:24:2
  (global.set $TWO@protobuf.MyEnum (call $$create__java_lang_String__int@protobuf.MyEnum (call $$getString_|TWO|__java_lang_String_<once>_@protobuf.MyEnum )(i32.const 1)))
 )
)

;;; Class<T> MyEnum.$getClassMetadata()
(func $$getClassMetadata__java_lang_Class_<once>_@protobuf.MyEnum
 (result (ref null $java.lang.Class))
 (block
  (if (i32.eqz (ref.is_null (global.get $$class@protobuf.MyEnum)))
   (then
    (return (global.get $$class@protobuf.MyEnum))
   )
  )
  (global.set $$class@protobuf.MyEnum (call $m_createForEnum__java_lang_String__java_lang_Class@java.lang.Class (call $$getString_|protobuf.MyEnum|__java_lang_String_<once>_@protobuf.MyEnum )))
  (return (global.get $$class@protobuf.MyEnum))
 )
)

;;; Class<?> MyEnum.$getClassImpl()
(func $$getClassImpl__java_lang_Class@protobuf.MyEnum
 (type $function.$getClassImpl__java_lang_Class)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $java.lang.Class))
 (local $this (ref null $protobuf.MyEnum))
 (local.set $this (ref.cast (ref $protobuf.MyEnum) (local.get $this.untyped)))
 (block
  (return (call $$getClassMetadata__java_lang_Class_<once>_@protobuf.MyEnum ))
 )
)
(elem declare func $$getClassImpl__java_lang_Class@protobuf.MyEnum)

;;; Code for protobuf.MyMessage [methods]

;;; Parser<MyMessage> MyMessage.getParserForType()
(func $m_getParserForType__com_google_protobuf_Parser@protobuf.MyMessage
 (type $function.m_getParserForType__com_google_protobuf_Parser)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $com.google.protobuf.Parser))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:40:27
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:41:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getParserForType__com_google_protobuf_Parser@protobuf.MyMessage)

;;; int MyMessage.getFoo()
(func $m_getFoo__int@protobuf.MyMessage
 (type $function.m_getFoo__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:44:13
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:45:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getFoo__int@protobuf.MyMessage)

;;; int MyMessage.getFooBar()
(func $m_getFooBar__int@protobuf.MyMessage
 (type $function.m_getFooBar__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:48:13
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:49:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getFooBar__int@protobuf.MyMessage)

;;; int MyMessage.getX()
(func $m_getX__int@protobuf.MyMessage
 (type $function.m_getX__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:52:13
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:53:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getX__int@protobuf.MyMessage)

;;; int MyMessage.getXValue()
(func $m_getXValue__int@protobuf.MyMessage
 (type $function.m_getXValue__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:56:13
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:57:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getXValue__int@protobuf.MyMessage)

;;; int MyMessage.getXYZ()
(func $m_getXYZ__int@protobuf.MyMessage
 (type $function.m_getXYZ__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:60:13
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:61:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getXYZ__int@protobuf.MyMessage)

;;; int MyMessage.getXYZValues()
(func $m_getXYZValues__int@protobuf.MyMessage
 (type $function.m_getXYZValues__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:64:13
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:65:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getXYZValues__int@protobuf.MyMessage)

;;; MyMessage MyMessage.getDefaultInstance()
(func $m_getDefaultInstance__protobuf_MyMessage@protobuf.MyMessage
 (result (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:68:26
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:68:47
  (call $$clinit__void_<once>_@protobuf.MyMessage )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:69:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)

;;; Builder MyMessage.newBuilder()
(func $m_newBuilder__protobuf_MyMessage_Builder@protobuf.MyMessage
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:72:24
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:72:37
  (call $$clinit__void_<once>_@protobuf.MyMessage )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:73:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)

;;; MyMessage MyMessage.$create(int testField)
(func $$create__int@protobuf.MyMessage
 (param $testField i32)
 (result (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:76:10
 (local $$instance (ref null $protobuf.MyMessage))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:76:10
  (local.set $$instance (struct.new $protobuf.MyMessage (global.get $protobuf.MyMessage.vtable) (global.get $itable.empty) (i32.const 0) (ref.null $com.google.protobuf.Parser)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:76:10
  (call $$ctor__int__void_$p_protobuf_MyMessage@protobuf.MyMessage (ref.as_non_null (local.get $$instance))(local.get $testField))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:76:10
  (return (local.get $$instance))
 )
)

;;; void MyMessage.$ctor(int testField)
(func $$ctor__int__void_$p_protobuf_MyMessage@protobuf.MyMessage
 (param $this (ref null $protobuf.MyMessage))
 (param $testField i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:76:10
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:76:35
  (call $$ctor__void_$p_com_google_protobuf_GeneratedMessage@com.google.protobuf.GeneratedMessage (ref.as_non_null (local.get $this)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:77:4
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)

;;; void MyMessage.$clinit()
(func $$clinit__void_<once>_@protobuf.MyMessage
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:39:13
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:39:13
  (if (global.get $$class-initialized@protobuf.MyMessage)
   (then
    ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:39:13
    (return )
   )
  )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:39:13
  (global.set $$class-initialized@protobuf.MyMessage (i32.const 1))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:39:13
  (call $$clinit__void_<once>_@com.google.protobuf.GeneratedMessage )
 )
)

;;; Class<T> MyMessage.$getClassMetadata()
(func $$getClassMetadata__java_lang_Class_<once>_@protobuf.MyMessage
 (result (ref null $java.lang.Class))
 (block
  (if (i32.eqz (ref.is_null (global.get $$class@protobuf.MyMessage)))
   (then
    (return (global.get $$class@protobuf.MyMessage))
   )
  )
  (global.set $$class@protobuf.MyMessage (call $m_createForClass__java_lang_String__java_lang_Class__java_lang_Class@java.lang.Class (call $$getString_|protobuf.MyM...|__java_lang_String_<once>_@protobuf.MyMessage )(call $$getClassMetadata__java_lang_Class_<once>_@com.google.protobuf.GeneratedMessage )))
  (return (global.get $$class@protobuf.MyMessage))
 )
)

;;; Class<?> MyMessage.$getClassImpl()
(func $$getClassImpl__java_lang_Class@protobuf.MyMessage
 (type $function.$getClassImpl__java_lang_Class)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $java.lang.Class))
 (local $this (ref null $protobuf.MyMessage))
 (local.set $this (ref.cast (ref $protobuf.MyMessage) (local.get $this.untyped)))
 (block
  (return (call $$getClassMetadata__java_lang_Class_<once>_@protobuf.MyMessage ))
 )
)
(elem declare func $$getClassImpl__java_lang_Class@protobuf.MyMessage)

;;; Code for protobuf.MyMessage.Builder [methods]

;;; int Builder.getFoo()
(func $m_getFoo__int@protobuf.MyMessage.Builder
 (type $function.m_getFoo__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:82:15
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:83:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getFoo__int@protobuf.MyMessage.Builder)

;;; int Builder.getFooBar()
(func $m_getFooBar__int@protobuf.MyMessage.Builder
 (type $function.m_getFooBar__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:86:15
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:87:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getFooBar__int@protobuf.MyMessage.Builder)

;;; int Builder.getX()
(func $m_getX__int@protobuf.MyMessage.Builder
 (type $function.m_getX__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:90:15
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:91:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getX__int@protobuf.MyMessage.Builder)

;;; int Builder.getXValue()
(func $m_getXValue__int@protobuf.MyMessage.Builder
 (type $function.m_getXValue__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:94:15
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:95:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getXValue__int@protobuf.MyMessage.Builder)

;;; int Builder.getXYZ()
(func $m_getXYZ__int@protobuf.MyMessage.Builder
 (type $function.m_getXYZ__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:98:15
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:99:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getXYZ__int@protobuf.MyMessage.Builder)

;;; int Builder.getXYZValues()
(func $m_getXYZValues__int@protobuf.MyMessage.Builder
 (type $function.m_getXYZValues__int)
 (param $this.untyped (ref $java.lang.Object))
 (result i32)
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:102:15
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:103:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_getXYZValues__int@protobuf.MyMessage.Builder)

;;; Builder Builder.setFoo(int foo)
(func $m_setFoo__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder
 (type $function.m_setFoo__int__protobuf_MyMessage_Builder)
 (param $this.untyped (ref $java.lang.Object))
 (param $foo i32)
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:106:19
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:107:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_setFoo__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)

;;; Builder Builder.setFooBar(int foo)
(func $m_setFooBar__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder
 (type $function.m_setFooBar__int__protobuf_MyMessage_Builder)
 (param $this.untyped (ref $java.lang.Object))
 (param $foo i32)
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:110:19
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:111:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_setFooBar__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)

;;; Builder Builder.setX(int x)
(func $m_setX__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder
 (type $function.m_setX__int__protobuf_MyMessage_Builder)
 (param $this.untyped (ref $java.lang.Object))
 (param $x i32)
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:114:19
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:115:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_setX__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)

;;; Builder Builder.setXValue(int xValue)
(func $m_setXValue__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder
 (type $function.m_setXValue__int__protobuf_MyMessage_Builder)
 (param $this.untyped (ref $java.lang.Object))
 (param $xValue i32)
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:118:19
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:119:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_setXValue__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)

;;; Builder Builder.setXYZ(int xyz)
(func $m_setXYZ__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder
 (type $function.m_setXYZ__int__protobuf_MyMessage_Builder)
 (param $this.untyped (ref $java.lang.Object))
 (param $xyz i32)
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:122:19
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:123:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_setXYZ__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)

;;; Builder Builder.setXYZValues(int xyzValues)
(func $m_setXYZValues__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder
 (type $function.m_setXYZValues__int__protobuf_MyMessage_Builder)
 (param $this.untyped (ref $java.lang.Object))
 (param $xyzValues i32)
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:126:19
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:127:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_setXYZValues__int__protobuf_MyMessage_Builder@protobuf.MyMessage.Builder)

;;; MyMessage Builder.build()
(func $m_build__protobuf_MyMessage@protobuf.MyMessage.Builder
 (type $function.m_build__protobuf_MyMessage)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:130:21
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:131:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_build__protobuf_MyMessage@protobuf.MyMessage.Builder)

;;; Builder Builder.$create()
(func $$create__@protobuf.MyMessage.Builder
 (result (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:134:12
 (local $$instance (ref null $protobuf.MyMessage.Builder))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:134:12
  (local.set $$instance (struct.new $protobuf.MyMessage.Builder (global.get $protobuf.MyMessage.Builder.vtable) (global.get $itable.empty) (i32.const 0)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:134:12
  (call $$ctor__void_$p_protobuf_MyMessage_Builder@protobuf.MyMessage.Builder (ref.as_non_null (local.get $$instance)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:134:12
  (return (local.get $$instance))
 )
)

;;; void Builder.$ctor()
(func $$ctor__void_$p_protobuf_MyMessage_Builder@protobuf.MyMessage.Builder
 (param $this (ref null $protobuf.MyMessage.Builder))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:134:12
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:134:22
  (call $$ctor__void_$p_com_google_protobuf_GeneratedMessage_Builder@com.google.protobuf.GeneratedMessage.Builder (ref.as_non_null (local.get $this)))
 )
)

;;; void Builder.$clinit()
(func $$clinit__void_<once>_@protobuf.MyMessage.Builder
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:81:22
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:81:22
  (if (global.get $$class-initialized@protobuf.MyMessage.Builder)
   (then
    ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:81:22
    (return )
   )
  )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:81:22
  (global.set $$class-initialized@protobuf.MyMessage.Builder (i32.const 1))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/testfixture-j2wasm.js/protobuf/MyMessage.java:81:22
  (call $$clinit__void_<once>_@com.google.protobuf.GeneratedMessage.Builder )
 )
)

;;; Class<T> Builder.$getClassMetadata()
(func $$getClassMetadata__java_lang_Class_<once>_@protobuf.MyMessage.Builder
 (result (ref null $java.lang.Class))
 (block
  (if (i32.eqz (ref.is_null (global.get $$class@protobuf.MyMessage.Builder)))
   (then
    (return (global.get $$class@protobuf.MyMessage.Builder))
   )
  )
  (global.set $$class@protobuf.MyMessage.Builder (call $m_createForClass__java_lang_String__java_lang_Class__java_lang_Class@java.lang.Class (call $$getString_|protobuf.MyM...|__java_lang_String_<once>_@protobuf.MyMessage.Builder )(call $$getClassMetadata__java_lang_Class_<once>_@com.google.protobuf.GeneratedMessage.Builder )))
  (return (global.get $$class@protobuf.MyMessage.Builder))
 )
)

;;; Class<?> Builder.$getClassImpl()
(func $$getClassImpl__java_lang_Class@protobuf.MyMessage.Builder
 (type $function.$getClassImpl__java_lang_Class)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $java.lang.Class))
 (local $this (ref null $protobuf.MyMessage.Builder))
 (local.set $this (ref.cast (ref $protobuf.MyMessage.Builder) (local.get $this.untyped)))
 (block
  (return (call $$getClassMetadata__java_lang_Class_<once>_@protobuf.MyMessage.Builder ))
 )
)
(elem declare func $$getClassImpl__java_lang_Class@protobuf.MyMessage.Builder)

;;; Code for protobuf.Protobuf [static fields]
(global $$class-initialized@protobuf.Protobuf (mut i32)
 (i32.const 0)
)
(global $$class@protobuf.Protobuf (mut (ref null $java.lang.Class))
 (ref.null $java.lang.Class)
)

;;; Code for protobuf.Protobuf.Test [static fields]
(global $$class-initialized@protobuf.Protobuf.Test (mut i32)
 (i32.const 0)
)
(global $$class@protobuf.Protobuf.Test (mut (ref null $java.lang.Class))
 (ref.null $java.lang.Class)
)

;;; Code for protobuf.Protobuf [vtable.init]
(global $protobuf.Protobuf.vtable (ref $protobuf.Protobuf.vtable)
 (struct.new $protobuf.Protobuf.vtable
  (ref.func $$getClassImpl__java_lang_Class@protobuf.Protobuf)
  (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object)
  (ref.func $m_hashCode__int@java.lang.Object)
  (ref.func $m_toString__java_lang_String@java.lang.Object)
  (ref.func $m_test__void@protobuf.Protobuf)
 )
)

;;; Code for protobuf.Protobuf.Test [vtable.init]
(global $protobuf.Protobuf.Test.vtable (ref $protobuf.Protobuf.Test.vtable)
 (struct.new $protobuf.Protobuf.Test.vtable
  (ref.func $$getClassImpl__java_lang_Class@protobuf.Protobuf.Test)
  (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object)
  (ref.func $m_hashCode__int@java.lang.Object)
  (ref.func $m_toString__java_lang_String@java.lang.Object)
  (ref.func $m_accept__protobuf_MyMessage__void@protobuf.Protobuf.Test)
  (ref.func $m_get__protobuf_MyMessage@protobuf.Protobuf.Test)
 )
)

;;; Code for protobuf.Protobuf [methods]

;;; Protobuf Protobuf.$create()
(func $$create__@protobuf.Protobuf
 (result (ref null $protobuf.Protobuf))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
 (local $$instance (ref null $protobuf.Protobuf))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (call $$clinit__void_<once>_@protobuf.Protobuf )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (local.set $$instance (struct.new $protobuf.Protobuf (global.get $protobuf.Protobuf.vtable) (global.get $itable.empty) (i32.const 0)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (call $$ctor__void_$p_protobuf_Protobuf@protobuf.Protobuf (ref.as_non_null (local.get $$instance)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (return (local.get $$instance))
 )
)

;;; void Protobuf.$ctor()
(func $$ctor__void_$p_protobuf_Protobuf@protobuf.Protobuf
 (param $this (ref null $protobuf.Protobuf))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (call $$ctor__void_$p_java_lang_Object@java.lang.Object (ref.as_non_null (local.get $this)))
 )
)

;;; void Protobuf.test()
(func $m_test__void@protobuf.Protobuf
 (type $function.m_test__void)
 (param $this.untyped (ref $java.lang.Object))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:25:14
 (local $builder (ref null $protobuf.MyMessage.Builder))
 (local $message (ref null $protobuf.MyMessage))
 (local $chainedMessage (ref null $protobuf.MyMessage))
 (local $$qualifier (ref null $protobuf.MyMessage.Builder))
 (local $$qualifier_1 (ref null $protobuf.MyMessage.Builder))
 (local $$qualifier_2 (ref null $protobuf.MyMessage.Builder))
 (local $$qualifier_3 (ref null $protobuf.MyMessage.Builder))
 (local $$qualifier_4 (ref null $protobuf.MyMessage.Builder))
 (local $$qualifier_5 (ref null $protobuf.MyMessage.Builder))
 (local $$qualifier_6 (ref null $protobuf.MyMessage.Builder))
 (local $defaultMessage (ref null $protobuf.MyMessage))
 (local $parser (ref null $com.google.protobuf.Parser))
 (local $generatedMessageParser (ref null $com.google.protobuf.Parser))
 (local $$qualifier_7 (ref null $com.google.protobuf.GeneratedMessage))
 (local $enumOne (ref null $protobuf.MyEnum))
 (local $enumOneNumber i32)
 (local $this (ref null $protobuf.Protobuf))
 (local.set $this (ref.cast (ref $protobuf.Protobuf) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:26:4
  (local.set $builder (call $m_newBuilder__protobuf_MyMessage_Builder@protobuf.MyMessage ))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:28:4
  (drop (call_ref $function.m_getFoo__int (ref.as_non_null (local.get $builder))(struct.get $protobuf.MyMessage.Builder.vtable $m_getFoo__int (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:29:4
  (drop (call_ref $function.m_setFoo__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $builder))(i32.const 1)(struct.get $protobuf.MyMessage.Builder.vtable $m_setFoo__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:31:4
  (drop (call_ref $function.m_getFooBar__int (ref.as_non_null (local.get $builder))(struct.get $protobuf.MyMessage.Builder.vtable $m_getFooBar__int (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:32:4
  (drop (call_ref $function.m_setFooBar__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $builder))(i32.const 2)(struct.get $protobuf.MyMessage.Builder.vtable $m_setFooBar__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:34:4
  (drop (call_ref $function.m_getX__int (ref.as_non_null (local.get $builder))(struct.get $protobuf.MyMessage.Builder.vtable $m_getX__int (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:35:4
  (drop (call_ref $function.m_setX__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $builder))(i32.const 3)(struct.get $protobuf.MyMessage.Builder.vtable $m_setX__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:37:4
  (drop (call_ref $function.m_getXValue__int (ref.as_non_null (local.get $builder))(struct.get $protobuf.MyMessage.Builder.vtable $m_getXValue__int (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:38:4
  (drop (call_ref $function.m_setXValue__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $builder))(i32.const 4)(struct.get $protobuf.MyMessage.Builder.vtable $m_setXValue__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:40:4
  (drop (call_ref $function.m_getXYZ__int (ref.as_non_null (local.get $builder))(struct.get $protobuf.MyMessage.Builder.vtable $m_getXYZ__int (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:41:4
  (drop (call_ref $function.m_setXYZ__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $builder))(i32.const 5)(struct.get $protobuf.MyMessage.Builder.vtable $m_setXYZ__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:43:4
  (drop (call_ref $function.m_getXYZValues__int (ref.as_non_null (local.get $builder))(struct.get $protobuf.MyMessage.Builder.vtable $m_getXYZValues__int (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:44:4
  (drop (call_ref $function.m_setXYZValues__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $builder))(i32.const 6)(struct.get $protobuf.MyMessage.Builder.vtable $m_setXYZValues__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:46:4
  (local.set $message (call_ref $function.m_build__protobuf_MyMessage (ref.as_non_null (local.get $builder))(struct.get $protobuf.MyMessage.Builder.vtable $m_build__protobuf_MyMessage (struct.get $protobuf.MyMessage.Builder $vtable(local.get $builder)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:47:4
  (drop (call_ref $function.m_getFoo__int (ref.as_non_null (local.get $message))(struct.get $protobuf.MyMessage.vtable $m_getFoo__int (struct.get $protobuf.MyMessage $vtable(local.get $message)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:48:4
  (drop (call_ref $function.m_getFooBar__int (ref.as_non_null (local.get $message))(struct.get $protobuf.MyMessage.vtable $m_getFooBar__int (struct.get $protobuf.MyMessage $vtable(local.get $message)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:49:4
  (drop (call_ref $function.m_getX__int (ref.as_non_null (local.get $message))(struct.get $protobuf.MyMessage.vtable $m_getX__int (struct.get $protobuf.MyMessage $vtable(local.get $message)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:50:4
  (drop (call_ref $function.m_getXValue__int (ref.as_non_null (local.get $message))(struct.get $protobuf.MyMessage.vtable $m_getXValue__int (struct.get $protobuf.MyMessage $vtable(local.get $message)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:51:4
  (drop (call_ref $function.m_getXYZ__int (ref.as_non_null (local.get $message))(struct.get $protobuf.MyMessage.vtable $m_getXYZ__int (struct.get $protobuf.MyMessage $vtable(local.get $message)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:52:4
  (drop (call_ref $function.m_getXYZValues__int (ref.as_non_null (local.get $message))(struct.get $protobuf.MyMessage.vtable $m_getXYZValues__int (struct.get $protobuf.MyMessage $vtable(local.get $message)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:54:4
  (local.set $chainedMessage (block (result (ref null $protobuf.MyMessage))
   (local.set $$qualifier (block (result (ref null $protobuf.MyMessage.Builder))
    (local.set $$qualifier_1 (block (result (ref null $protobuf.MyMessage.Builder))
     (local.set $$qualifier_2 (block (result (ref null $protobuf.MyMessage.Builder))
      (local.set $$qualifier_3 (block (result (ref null $protobuf.MyMessage.Builder))
       (local.set $$qualifier_4 (block (result (ref null $protobuf.MyMessage.Builder))
        (local.set $$qualifier_5 (block (result (ref null $protobuf.MyMessage.Builder))
         (local.set $$qualifier_6 (call $m_newBuilder__protobuf_MyMessage_Builder@protobuf.MyMessage ))
         (call_ref $function.m_setFoo__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $$qualifier_6))(i32.const 1)(struct.get $protobuf.MyMessage.Builder.vtable $m_setFoo__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $$qualifier_6))))
        ))
        (call_ref $function.m_setFooBar__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $$qualifier_5))(i32.const 2)(struct.get $protobuf.MyMessage.Builder.vtable $m_setFooBar__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $$qualifier_5))))
       ))
       (call_ref $function.m_setX__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $$qualifier_4))(i32.const 3)(struct.get $protobuf.MyMessage.Builder.vtable $m_setX__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $$qualifier_4))))
      ))
      (call_ref $function.m_setXValue__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $$qualifier_3))(i32.const 4)(struct.get $protobuf.MyMessage.Builder.vtable $m_setXValue__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $$qualifier_3))))
     ))
     (call_ref $function.m_setXYZ__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $$qualifier_2))(i32.const 5)(struct.get $protobuf.MyMessage.Builder.vtable $m_setXYZ__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $$qualifier_2))))
    ))
    (call_ref $function.m_setXYZValues__int__protobuf_MyMessage_Builder (ref.as_non_null (local.get $$qualifier_1))(i32.const 6)(struct.get $protobuf.MyMessage.Builder.vtable $m_setXYZValues__int__protobuf_MyMessage_Builder (struct.get $protobuf.MyMessage.Builder $vtable(local.get $$qualifier_1))))
   ))
   (call_ref $function.m_build__protobuf_MyMessage (ref.as_non_null (local.get $$qualifier))(struct.get $protobuf.MyMessage.Builder.vtable $m_build__protobuf_MyMessage (struct.get $protobuf.MyMessage.Builder $vtable(local.get $$qualifier))))
  ))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:64:4
  (local.set $defaultMessage (call $m_getDefaultInstance__protobuf_MyMessage@protobuf.MyMessage ))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:65:4
  (drop (call_ref $function.m_getFoo__int (ref.as_non_null (local.get $defaultMessage))(struct.get $protobuf.MyMessage.vtable $m_getFoo__int (struct.get $protobuf.MyMessage $vtable(local.get $defaultMessage)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:67:4
  (local.set $parser (call_ref $function.m_getParserForType__com_google_protobuf_Parser (ref.as_non_null (local.get $message))(struct.get $protobuf.MyMessage.vtable $m_getParserForType__com_google_protobuf_Parser (struct.get $protobuf.MyMessage $vtable(local.get $message)))))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:68:4
  (local.set $generatedMessageParser (block (result (ref null $com.google.protobuf.Parser))
   (local.set $$qualifier_7 (ref.cast (ref null $com.google.protobuf.GeneratedMessage) (local.get $message)))
   (call_ref $function.m_getParserForType__com_google_protobuf_Parser (ref.as_non_null (local.get $$qualifier_7))(struct.get $com.google.protobuf.GeneratedMessage.vtable $m_getParserForType__com_google_protobuf_Parser (struct.get $com.google.protobuf.GeneratedMessage $vtable(local.get $$qualifier_7))))
  ))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:71:4
  (local.set $enumOne (block (result (ref null $protobuf.MyEnum))
   (call $$clinit__void_<once>_@protobuf.MyEnum )
   (global.get $ONE@protobuf.MyEnum)
  ))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:72:4
  (local.set $enumOneNumber (call $m_getNumber__int@protobuf.MyEnum (ref.as_non_null (block (result (ref null $protobuf.MyEnum))
   (call $$clinit__void_<once>_@protobuf.MyEnum )
   (global.get $ONE@protobuf.MyEnum)
  ))))
 )
)
(elem declare func $m_test__void@protobuf.Protobuf)

;;; void Protobuf.$clinit()
(func $$clinit__void_<once>_@protobuf.Protobuf
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (if (global.get $$class-initialized@protobuf.Protobuf)
   (then
    ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
    (return )
   )
  )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (global.set $$class-initialized@protobuf.Protobuf (i32.const 1))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:24:13
  (call $$clinit__void_<once>_@java.lang.Object )
 )
)

;;; Class<T> Protobuf.$getClassMetadata()
(func $$getClassMetadata__java_lang_Class_<once>_@protobuf.Protobuf
 (result (ref null $java.lang.Class))
 (block
  (if (i32.eqz (ref.is_null (global.get $$class@protobuf.Protobuf)))
   (then
    (return (global.get $$class@protobuf.Protobuf))
   )
  )
  (global.set $$class@protobuf.Protobuf (call $m_createForClass__java_lang_String__java_lang_Class__java_lang_Class@java.lang.Class (call $$getString_|protobuf.Pro...|__java_lang_String_<once>_@protobuf.Protobuf )(call $$getClassMetadata__java_lang_Class_<once>_@java.lang.Object )))
  (return (global.get $$class@protobuf.Protobuf))
 )
)

;;; Class<?> Protobuf.$getClassImpl()
(func $$getClassImpl__java_lang_Class@protobuf.Protobuf
 (type $function.$getClassImpl__java_lang_Class)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $java.lang.Class))
 (local $this (ref null $protobuf.Protobuf))
 (local.set $this (ref.cast (ref $protobuf.Protobuf) (local.get $this.untyped)))
 (block
  (return (call $$getClassMetadata__java_lang_Class_<once>_@protobuf.Protobuf ))
 )
)
(elem declare func $$getClassImpl__java_lang_Class@protobuf.Protobuf)

;;; Code for protobuf.Protobuf.Test [methods]

;;; Test Test.$create(MyMessage myMessage)
(func $$create__protobuf_MyMessage@protobuf.Protobuf.Test
 (param $myMessage (ref null $protobuf.MyMessage))
 (result (ref null $protobuf.Protobuf.Test))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:76:11
 (local $$instance (ref null $protobuf.Protobuf.Test))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:76:11
  (call $$clinit__void_<once>_@protobuf.Protobuf.Test )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:76:11
  (local.set $$instance (struct.new $protobuf.Protobuf.Test (global.get $protobuf.Protobuf.Test.vtable) (global.get $itable.empty) (i32.const 0)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:76:11
  (call $$ctor__protobuf_MyMessage__void_$p_protobuf_Protobuf_Test@protobuf.Protobuf.Test (ref.as_non_null (local.get $$instance))(local.get $myMessage))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:76:11
  (return (local.get $$instance))
 )
)

;;; void Test.$ctor(MyMessage myMessage)
(func $$ctor__protobuf_MyMessage__void_$p_protobuf_Protobuf_Test@protobuf.Protobuf.Test
 (param $this (ref null $protobuf.Protobuf.Test))
 (param $myMessage (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:76:11
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:76:37
  (call $$ctor__void_$p_java_lang_Object@java.lang.Object (ref.as_non_null (local.get $this)))
 )
)

;;; void Test.accept(MyMessage myMessage)
(func $m_accept__protobuf_MyMessage__void@protobuf.Protobuf.Test
 (type $function.m_accept__protobuf_MyMessage__void)
 (param $this.untyped (ref $java.lang.Object))
 (param $myMessage (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:78:16
 (local $this (ref null $protobuf.Protobuf.Test))
 (local.set $this (ref.cast (ref $protobuf.Protobuf.Test) (local.get $this.untyped)))
 (block
 )
)
(elem declare func $m_accept__protobuf_MyMessage__void@protobuf.Protobuf.Test)

;;; void Test.acceptStatic(MyMessage myMessage)
(func $m_acceptStatic__protobuf_MyMessage__void@protobuf.Protobuf.Test
 (param $myMessage (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:80:23
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:80:57
  (call $$clinit__void_<once>_@protobuf.Protobuf.Test )
 )
)

;;; void Test.acceptStaticWithObjectiveCName(MyMessage myMessage)
(func $m_acceptStaticWithObjectiveCName__protobuf_MyMessage__void@protobuf.Protobuf.Test
 (param $myMessage (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:83:23
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:83:75
  (call $$clinit__void_<once>_@protobuf.Protobuf.Test )
 )
)

;;; MyMessage Test.get()
(func $m_get__protobuf_MyMessage@protobuf.Protobuf.Test
 (type $function.m_get__protobuf_MyMessage)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:85:21
 (local $this (ref null $protobuf.Protobuf.Test))
 (local.set $this (ref.cast (ref $protobuf.Protobuf.Test) (local.get $this.untyped)))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:86:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)
(elem declare func $m_get__protobuf_MyMessage@protobuf.Protobuf.Test)

;;; MyMessage Test.getStatic(MyMessage myMessage)
(func $m_getStatic__protobuf_MyMessage__protobuf_MyMessage@protobuf.Protobuf.Test
 (param $myMessage (ref null $protobuf.MyMessage))
 (result (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:89:28
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:89:59
  (call $$clinit__void_<once>_@protobuf.Protobuf.Test )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:90:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)

;;; MyMessage Test.getStaticWithObjectiveCName(MyMessage myMessage)
(func $m_getStaticWithObjectiveCName__protobuf_MyMessage__protobuf_MyMessage@protobuf.Protobuf.Test
 (param $myMessage (ref null $protobuf.MyMessage))
 (result (ref null $protobuf.MyMessage))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:94:28
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:94:77
  (call $$clinit__void_<once>_@protobuf.Protobuf.Test )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:95:6
  (throw $exception.event (call $m_toJs__java_lang_Throwable__javaemul_internal_ThrowableUtils_JsObject@javaemul.internal.Exceptions (call $$create__@java.lang.RuntimeException )))
 )
)

;;; void Test.$clinit()
(func $$clinit__void_<once>_@protobuf.Protobuf.Test
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:75:22
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:75:22
  (if (global.get $$class-initialized@protobuf.Protobuf.Test)
   (then
    ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:75:22
    (return )
   )
  )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:75:22
  (global.set $$class-initialized@protobuf.Protobuf.Test (i32.const 1))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/protobuf/readable-j2wasm.js/protobuf/Protobuf.java:75:22
  (call $$clinit__void_<once>_@java.lang.Object )
 )
)

;;; Class<T> Test.$getClassMetadata()
(func $$getClassMetadata__java_lang_Class_<once>_@protobuf.Protobuf.Test
 (result (ref null $java.lang.Class))
 (block
  (if (i32.eqz (ref.is_null (global.get $$class@protobuf.Protobuf.Test)))
   (then
    (return (global.get $$class@protobuf.Protobuf.Test))
   )
  )
  (global.set $$class@protobuf.Protobuf.Test (call $m_createForClass__java_lang_String__java_lang_Class__java_lang_Class@java.lang.Class (call $$getString_|protobuf.Pro...|__java_lang_String_<once>_@protobuf.Protobuf.Test )(call $$getClassMetadata__java_lang_Class_<once>_@java.lang.Object )))
  (return (global.get $$class@protobuf.Protobuf.Test))
 )
)

;;; Class<?> Test.$getClassImpl()
(func $$getClassImpl__java_lang_Class@protobuf.Protobuf.Test
 (type $function.$getClassImpl__java_lang_Class)
 (param $this.untyped (ref $java.lang.Object))
 (result (ref null $java.lang.Class))
 (local $this (ref null $protobuf.Protobuf.Test))
 (local.set $this (ref.cast (ref $protobuf.Protobuf.Test) (local.get $this.untyped)))
 (block
  (return (call $$getClassMetadata__java_lang_Class_<once>_@protobuf.Protobuf.Test ))
 )
)
(elem declare func $$getClassImpl__java_lang_Class@protobuf.Protobuf.Test)
