;;; Code for jstypeswithconstructor.JsTypesWithConstructor [type definition]
(type $jstypeswithconstructor.JsTypesWithConstructor.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))
 ))
)
(type $jstypeswithconstructor.JsTypesWithConstructor (sub $java.lang.Object (struct
 (field $vtable (ref $jstypeswithconstructor.JsTypesWithConstructor.vtable))
 (field $itable (ref $itable))
 (field $$systemIdentityHashCode@java.lang.Object (mut i32))
 ))
)

;;; Code for jstypeswithconstructor.JsTypesWithConstructor [imports]

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

;;; Code for jstypeswithconstructor.JsTypesWithConstructor [vtable.init]
(global $jstypeswithconstructor.JsTypesWithConstructor.vtable (ref $jstypeswithconstructor.JsTypesWithConstructor.vtable)
 (struct.new $jstypeswithconstructor.JsTypesWithConstructor.vtable
  (ref.func $$getClassImpl__java_lang_Class@jstypeswithconstructor.JsTypesWithConstructor)
  (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)
 )
)

;;; Code for jstypeswithconstructor.JsTypesWithConstructor [methods]

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

;;; void JsTypesWithConstructor.$ctor()
(func $$ctor__void_$p_jstypeswithconstructor_JsTypesWithConstructor@jstypeswithconstructor.JsTypesWithConstructor
 (param $this (ref null $jstypeswithconstructor.JsTypesWithConstructor))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/jstypeswithconstructor/readable-j2wasm.js/jstypeswithconstructor/JsTypesWithConstructor.java:27:9
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/jstypeswithconstructor/readable-j2wasm.js/jstypeswithconstructor/JsTypesWithConstructor.java:27:34
  (call $$ctor__void_$p_java_lang_Object@java.lang.Object (ref.as_non_null (local.get $this)))
 )
)

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

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

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