content: package kotlinx.coroutines.internal;
  
  import kotlin.Metadata;
  import kotlin.jvm.functions.Function0;
  import kotlin.jvm.internal.InlineMarker;
  
  @Metadata(d1 = {"\u0000\u001c\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u001a.\u0010\u0000\u001a\u0002H\u0001\"\u0004\b\u0000\u0010\u00012\n\u0010\u0002\u001a\u00060\u0003j\u0002`\u00042\f\u0010\u0005\u001a\b\u0012\u0004\u0012\u0002H\u00010\u0006H\b¢\u0006\u0002\u0010\u0007*\u0010\b\u0007\u0010\b\"\u00020\u00032\u00020\u0003B\u0002\b\t¨\u0006\n"}, d2 = {"synchronized", "T", "lock", "", "Lkotlinx/coroutines/internal/SynchronizedObject;", "block", "Lkotlin/Function0;", "(Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;", "SynchronizedObject", "Lkotlinx/coroutines/InternalCoroutinesApi;", "kotlinx-coroutines-core"}, k = 2, mv = {1, 6, 0}, xi = 48)
  /* compiled from: Synchronized.kt */
  public final class SynchronizedKt {
      public static /* synthetic */ void SynchronizedObject$annotations() {
      }
  
      /* renamed from: synchronized  reason: not valid java name */
      public static final <T> T m1588synchronized(Object lock, Function0<? extends T> block) {
          T invoke;
          synchronized (lock) {
              try {
                  invoke = block.invoke();
                  InlineMarker.finallyStart(1);
              } catch (Throwable th) {
                  InlineMarker.finallyStart(1);
                  InlineMarker.finallyEnd(1);
                  throw th;
              }
          }
          InlineMarker.finallyEnd(1);
          return invoke;
      }
  }
  