content: package kotlinx.coroutines.channels;
  
  import kotlin.Metadata;
  import kotlinx.coroutines.CancellableContinuationImplKt;
  import kotlinx.coroutines.DebugKt;
  import kotlinx.coroutines.DebugStringsKt;
  import kotlinx.coroutines.internal.LockFreeLinkedListNode;
  import kotlinx.coroutines.internal.Symbol;
  import mt.Log1F380D;
  
  @Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0003\n\u0002\b\f\n\u0002\u0010\u0002\n\u0002\b\u0006\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0000\u0018\u0000*\u0006\b\u0000\u0010\u0001 \u00002\u00020\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003B\u000f\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\u0002\u0010\u0006J\u0015\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0013\u001a\u00028\u0000H\u0016¢\u0006\u0002\u0010\u0014J\b\u0010\u0015\u001a\u00020\u0012H\u0016J\u0014\u0010\u0016\u001a\u00020\u00122\n\u0010\u0017\u001a\u0006\u0012\u0002\b\u00030\u0000H\u0016J\b\u0010\u0018\u001a\u00020\u0019H\u0016J\u001f\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u0013\u001a\u00028\u00002\b\u0010\u001c\u001a\u0004\u0018\u00010\u001dH\u0016¢\u0006\u0002\u0010\u001eJ\u0012\u0010\u001f\u001a\u00020\u001b2\b\u0010\u001c\u001a\u0004\u0018\u00010\u001dH\u0016R\u0012\u0010\u0004\u001a\u0004\u0018\u00010\u00058\u0006X\u0004¢\u0006\u0002\n\u0000R\u001a\u0010\u0007\u001a\b\u0012\u0004\u0012\u00028\u00000\u00008VX\u0004¢\u0006\u0006\u001a\u0004\b\b\u0010\tR\u001a\u0010\n\u001a\b\u0012\u0004\u0012\u00028\u00000\u00008VX\u0004¢\u0006\u0006\u001a\u0004\b\u000b\u0010\tR\u0011\u0010\f\u001a\u00020\u00058F¢\u0006\u0006\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u000f\u001a\u00020\u00058F¢\u0006\u0006\u001a\u0004\b\u0010\u0010\u000e¨\u0006 "}, d2 = {"Lkotlinx/coroutines/channels/Closed;", "E", "Lkotlinx/coroutines/channels/Send;", "Lkotlinx/coroutines/channels/ReceiveOrClosed;", "closeCause", "", "(Ljava/lang/Throwable;)V", "offerResult", "getOfferResult", "()Lkotlinx/coroutines/channels/Closed;", "pollResult", "getPollResult", "receiveException", "getReceiveException", "()Ljava/lang/Throwable;", "sendException", "getSendException", "completeResumeReceive", "", "value", "(Ljava/lang/Object;)V", "completeResumeSend", "resumeSendClosed", "closed", "toString", "", "tryResumeReceive", "Lkotlinx/coroutines/internal/Symbol;", "otherOp", "Lkotlinx/coroutines/internal/LockFreeLinkedListNode$PrepareOp;", "(Ljava/lang/Object;Lkotlinx/coroutines/internal/LockFreeLinkedListNode$PrepareOp;)Lkotlinx/coroutines/internal/Symbol;", "tryResumeSend", "kotlinx-coroutines-core"}, k = 1, mv = {1, 6, 0}, xi = 48)
  /* compiled from: 018A */
  public final class Closed<E> extends Send implements ReceiveOrClosed<E> {
      public final Throwable closeCause;
  
      public Closed(Throwable closeCause2) {
          this.closeCause = closeCause2;
      }
  
      public void completeResumeReceive(E value) {
      }
  
      public void completeResumeSend() {
      }
  
      public Closed<E> getOfferResult() {
          return this;
      }
  
      public Closed<E> getPollResult() {
          return this;
      }
  
      public final Throwable getReceiveException() {
          Throwable th = this.closeCause;
          return th == null ? new ClosedReceiveChannelException(ChannelsKt.DEFAULT_CLOSE_MESSAGE) : th;
      }
  
      public final Throwable getSendException() {
          Throwable th = this.closeCause;
          return th == null ? new ClosedSendChannelException(ChannelsKt.DEFAULT_CLOSE_MESSAGE) : th;
      }
  
      public void resumeSendClosed(Closed<?> closed) {
          if (DebugKt.getASSERTIONS_ENABLED()) {
              throw new AssertionError();
          }
      }
  
      public String toString() {
          StringBuilder append = new StringBuilder().append("Closed@");
          String hexAddress = DebugStringsKt.getHexAddress(this);
          Log1F380D.a((Object) hexAddress);
          return append.append(hexAddress).append('[').append(this.closeCause).append(']').toString();
      }
  
      public Symbol tryResumeReceive(E value, LockFreeLinkedListNode.PrepareOp otherOp) {
          Symbol symbol = CancellableContinuationImplKt.RESUME_TOKEN;
          Symbol symbol2 = symbol;
          if (otherOp != null) {
              otherOp.finishPrepare();
          }
          return symbol;
      }
  
      public Symbol tryResumeSend(LockFreeLinkedListNode.PrepareOp otherOp) {
          Symbol symbol = CancellableContinuationImplKt.RESUME_TOKEN;
          Symbol symbol2 = symbol;
          if (otherOp != null) {
              otherOp.finishPrepare();
          }
          return symbol;
      }
  }
  