content: package kotlinx.coroutines;
  
  import kotlin.Metadata;
  import kotlin.coroutines.CoroutineContext;
  import kotlin.jvm.functions.Function2;
  
  @Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\bf\u0018\u0000*\u0004\b\u0000\u0010\u00012\u00020\u0002J\u001d\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00028\u0000H&¢\u0006\u0002\u0010\bJ\u0015\u0010\t\u001a\u00028\u00002\u0006\u0010\u0005\u001a\u00020\u0006H&¢\u0006\u0002\u0010\n¨\u0006\u000b"}, d2 = {"Lkotlinx/coroutines/ThreadContextElement;", "S", "Lkotlin/coroutines/CoroutineContext$Element;", "restoreThreadContext", "", "context", "Lkotlin/coroutines/CoroutineContext;", "oldState", "(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V", "updateThreadContext", "(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;", "kotlinx-coroutines-core"}, k = 1, mv = {1, 6, 0}, xi = 48)
  /* compiled from: ThreadContextElement.kt */
  public interface ThreadContextElement<S> extends CoroutineContext.Element {
  
      @Metadata(k = 3, mv = {1, 6, 0}, xi = 48)
      /* compiled from: ThreadContextElement.kt */
      public static final class DefaultImpls {
          public static <S, R> R fold(ThreadContextElement<S> threadContextElement, R initial, Function2<? super R, ? super CoroutineContext.Element, ? extends R> operation) {
              return CoroutineContext.Element.DefaultImpls.fold(threadContextElement, initial, operation);
          }
  
          public static <S, E extends CoroutineContext.Element> E get(ThreadContextElement<S> threadContextElement, CoroutineContext.Key<E> key) {
              return CoroutineContext.Element.DefaultImpls.get(threadContextElement, key);
          }
  
          public static <S> CoroutineContext minusKey(ThreadContextElement<S> threadContextElement, CoroutineContext.Key<?> key) {
              return CoroutineContext.Element.DefaultImpls.minusKey(threadContextElement, key);
          }
  
          public static <S> CoroutineContext plus(ThreadContextElement<S> threadContextElement, CoroutineContext context) {
              return CoroutineContext.Element.DefaultImpls.plus(threadContextElement, context);
          }
      }
  
      void restoreThreadContext(CoroutineContext coroutineContext, S s);
  
      S updateThreadContext(CoroutineContext coroutineContext);
  }
  