content: package androidx.core.app;
  
  import android.app.Activity;
  import android.app.AppComponentFactory;
  import android.app.Application;
  import android.app.Service;
  import android.content.BroadcastReceiver;
  import android.content.ContentProvider;
  import android.content.Intent;
  
  public class CoreComponentFactory extends AppComponentFactory {
  
      public interface CompatWrapped {
          Object getWrapper();
      }
  
      /* JADX WARNING: Code restructure failed: missing block: B:2:0x0004, code lost:
          r0 = ((androidx.core.app.CoreComponentFactory.CompatWrapped) r1).getWrapper();
       */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      static <T> T checkCompatWrapper(T r1) {
          /*
              boolean r0 = r1 instanceof androidx.core.app.CoreComponentFactory.CompatWrapped
              if (r0 == 0) goto L_0x000e
              r0 = r1
              androidx.core.app.CoreComponentFactory$CompatWrapped r0 = (androidx.core.app.CoreComponentFactory.CompatWrapped) r0
              java.lang.Object r0 = r0.getWrapper()
              if (r0 == 0) goto L_0x000e
              return r0
          L_0x000e:
              return r1
          */
          throw new UnsupportedOperationException("Method not decompiled: androidx.core.app.CoreComponentFactory.checkCompatWrapper(java.lang.Object):java.lang.Object");
      }
  
      public Activity instantiateActivity(ClassLoader cl, String className, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
          return (Activity) checkCompatWrapper(super.instantiateActivity(cl, className, intent));
      }
  
      public Application instantiateApplication(ClassLoader cl, String className) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
          return (Application) checkCompatWrapper(super.instantiateApplication(cl, className));
      }
  
      public ContentProvider instantiateProvider(ClassLoader cl, String className) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
          return (ContentProvider) checkCompatWrapper(super.instantiateProvider(cl, className));
      }
  
      public BroadcastReceiver instantiateReceiver(ClassLoader cl, String className, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
          return (BroadcastReceiver) checkCompatWrapper(super.instantiateReceiver(cl, className, intent));
      }
  
      public Service instantiateService(ClassLoader cl, String className, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
          return (Service) checkCompatWrapper(super.instantiateService(cl, className, intent));
      }
  }
  