content: package kotlinx.coroutines.internal;
  
  import kotlin.Metadata;
  import kotlin.coroutines.CoroutineContext;
  import kotlin.jvm.functions.Function2;
  import kotlin.jvm.internal.Lambda;
  import kotlinx.coroutines.ThreadContextElement;
  
  @Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0004H\n¢\u0006\u0002\b\u0005"}, d2 = {"<no name provided>", "Lkotlinx/coroutines/internal/ThreadState;", "state", "element", "Lkotlin/coroutines/CoroutineContext$Element;", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48)
  /* compiled from: ThreadContext.kt */
  final class ThreadContextKt$updateState$1 extends Lambda implements Function2<ThreadState, CoroutineContext.Element, ThreadState> {
      public static final ThreadContextKt$updateState$1 INSTANCE = new ThreadContextKt$updateState$1();
  
      ThreadContextKt$updateState$1() {
          super(2);
      }
  
      public final ThreadState invoke(ThreadState state, CoroutineContext.Element element) {
          if (element instanceof ThreadContextElement) {
              state.append((ThreadContextElement) element, ((ThreadContextElement) element).updateThreadContext(state.context));
          }
          return state;
      }
  }
  