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

;;; Code for newinstance.NewInstanceExpr [imports]

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

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

;;; NewInstanceExpr NewInstanceExpr.$create()
(func $$create__@newinstance.NewInstanceExpr
 (result (ref null $newinstance.NewInstanceExpr))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:18:13
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:18:13
  (call $$clinit__void_<once>_@newinstance.NewInstanceExpr )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:18:13
  (return (call $$create_$private__@newinstance.NewInstanceExpr ))
 )
)

;;; NewInstanceExpr NewInstanceExpr.$create_$private()
(func $$create_$private__@newinstance.NewInstanceExpr
 (result (ref null $newinstance.NewInstanceExpr))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:18:13
 (local $$instance (ref null $newinstance.NewInstanceExpr))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:18:13
  (local.set $$instance (struct.new $newinstance.NewInstanceExpr (global.get $newinstance.NewInstanceExpr.vtable) (global.get $itable.empty) (i32.const 0)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:18:13
  (call $$ctor__void_$p_newinstance_NewInstanceExpr@newinstance.NewInstanceExpr (ref.as_non_null (local.get $$instance)))
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:18:13
  (return (local.get $$instance))
 )
)

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

;;; void NewInstanceExpr.main(String[] args)
(func $m_main__arrayOf_java_lang_String__void@newinstance.NewInstanceExpr
 (param $args (ref null $javaemul.internal.WasmArray.OfObject))
 ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:19:21
 (local $a (ref null $newinstance.NewInstanceExpr))
 (block
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:19:41
  (call $$clinit__void_<once>_@newinstance.NewInstanceExpr )
  ;;@ transpiler/javatests/com/google/j2cl/readable/java/newinstance/readable-j2wasm.js/newinstance/NewInstanceExpr.java:20:4
  (local.set $a (call $$create_$private__@newinstance.NewInstanceExpr ))
 )
)

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

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

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