content: package okhttp3;
  
  import java.io.File;
  import kotlin.Metadata;
  
  @Metadata(bv = {1, 0, 3}, d1 = {"\u0000#\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\b\u0010\u0002\u001a\u00020\u0003H\u0016J\n\u0010\u0004\u001a\u0004\u0018\u00010\u0005H\u0016J\u0010\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\tH\u0016¨\u0006\n"}, d2 = {"okhttp3/RequestBody$Companion$asRequestBody$1", "Lokhttp3/RequestBody;", "contentLength", "", "contentType", "Lokhttp3/MediaType;", "writeTo", "", "sink", "Lokio/BufferedSink;", "okhttp"}, k = 1, mv = {1, 4, 0})
  /* compiled from: RequestBody.kt */
  public final class RequestBody$Companion$asRequestBody$1 extends RequestBody {
      final /* synthetic */ MediaType $contentType;
      final /* synthetic */ File $this_asRequestBody;
  
      RequestBody$Companion$asRequestBody$1(File $receiver, MediaType $captured_local_variable$1) {
          this.$this_asRequestBody = $receiver;
          this.$contentType = $captured_local_variable$1;
      }
  
      public long contentLength() {
          return this.$this_asRequestBody.length();
      }
  
      public MediaType contentType() {
          return this.$contentType;
      }
  
      /* JADX WARNING: Code restructure failed: missing block: B:10:0x0023, code lost:
          throw r2;
       */
      /* JADX WARNING: Code restructure failed: missing block: B:8:0x001f, code lost:
          r2 = move-exception;
       */
      /* JADX WARNING: Code restructure failed: missing block: B:9:0x0020, code lost:
          kotlin.io.CloseableKt.closeFinally(r0, r1);
       */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public void writeTo(okio.BufferedSink r5) {
          /*
              r4 = this;
              java.lang.String r0 = "sink"
              kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r5, r0)
              java.io.File r0 = r4.$this_asRequestBody
              okio.Source r0 = okio.Okio.source((java.io.File) r0)
              java.io.Closeable r0 = (java.io.Closeable) r0
              r1 = 0
              r2 = r1
              java.lang.Throwable r2 = (java.lang.Throwable) r2
              r2 = r0
              okio.Source r2 = (okio.Source) r2     // Catch:{ all -> 0x001d }
              r3 = 0
              r5.writeAll(r2)     // Catch:{ all -> 0x001d }
              kotlin.io.CloseableKt.closeFinally(r0, r1)
              return
          L_0x001d:
              r1 = move-exception
              throw r1     // Catch:{ all -> 0x001f }
          L_0x001f:
              r2 = move-exception
              kotlin.io.CloseableKt.closeFinally(r0, r1)
              throw r2
          */
          throw new UnsupportedOperationException("Method not decompiled: okhttp3.RequestBody$Companion$asRequestBody$1.writeTo(okio.BufferedSink):void");
      }
  }
  