package com.google.android.m4b.maps.al;

import com.google.common.collect.Maps;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public final class a
{
  private static volatile boolean a;
  private static final Map<c, LinkedList<a>> b;

  static
  {
    int i = 0;
    a = false;
    b = Collections.synchronizedMap(Maps.newHashMap());
    c[] arrayOfc = c.values();
    int j = arrayOfc.length;
    while (i < j)
    {
      c localc = arrayOfc[i];
      b.put(localc, new LinkedList());
      i++;
    }
  }

  public static void a()
  {
    a = false;
  }

  // ERROR //
  public static void a(final c paramc, com.google.android.m4b.maps.af.c paramc1)
  {
    // Byte code:
    //   0: aload_0
    //   1: monitorenter
    //   2: getstatic 27	com/google/android/m4b/maps/al/a:b	Ljava/util/Map;
    //   5: aload_0
    //   6: invokeinterface 49 2 0
    //   11: checkcast 51	java/util/List
    //   14: astore_3
    //   15: aload_3
    //   16: ifnonnull +6 -> 22
    //   19: aload_0
    //   20: monitorexit
    //   21: return
    //   22: new 35	java/util/LinkedList
    //   25: dup
    //   26: aload_3
    //   27: invokespecial 54	java/util/LinkedList:<init>	(Ljava/util/Collection;)V
    //   30: astore 4
    //   32: aload_0
    //   33: monitorenter
    //   34: aload_0
    //   35: invokestatic 57	com/google/android/m4b/maps/al/a$c:a	(Lcom/google/android/m4b/maps/al/a$c;)Z
    //   38: ifeq +54 -> 92
    //   41: getstatic 27	com/google/android/m4b/maps/al/a:b	Ljava/util/Map;
    //   44: aload_0
    //   45: invokeinterface 60 2 0
    //   50: pop
    //   51: aload_0
    //   52: monitorexit
    //   53: aload 4
    //   55: invokeinterface 64 1 0
    //   60: ifne +24 -> 84
    //   63: new 66	com/google/android/m4b/maps/af/b
    //   66: dup
    //   67: aload_1
    //   68: new 68	com/google/android/m4b/maps/al/a$1
    //   71: dup
    //   72: aload 4
    //   74: aload_0
    //   75: invokespecial 71	com/google/android/m4b/maps/al/a$1:<init>	(Ljava/util/List;Lcom/google/android/m4b/maps/al/a$c;)V
    //   78: invokespecial 74	com/google/android/m4b/maps/af/b:<init>	(Lcom/google/android/m4b/maps/af/c;Ljava/lang/Runnable;)V
    //   81: invokevirtual 77	com/google/android/m4b/maps/af/b:d	()V
    //   84: aload_0
    //   85: monitorexit
    //   86: return
    //   87: astore_2
    //   88: aload_0
    //   89: monitorexit
    //   90: aload_2
    //   91: athrow
    //   92: getstatic 27	com/google/android/m4b/maps/al/a:b	Ljava/util/Map;
    //   95: aload_0
    //   96: invokeinterface 49 2 0
    //   101: checkcast 51	java/util/List
    //   104: astore 6
    //   106: aload 6
    //   108: ifnull -57 -> 51
    //   111: aload 6
    //   113: invokeinterface 80 1 0
    //   118: goto -67 -> 51
    //   121: astore 5
    //   123: aload_0
    //   124: monitorexit
    //   125: aload 5
    //   127: athrow
    //
    // Exception table:
    //   from	to	target	type
    //   2	15	87	finally
    //   19	21	87	finally
    //   22	34	87	finally
    //   53	84	87	finally
    //   84	86	87	finally
    //   123	128	87	finally
    //   34	51	121	finally
    //   51	53	121	finally
    //   92	106	121	finally
    //   111	118	121	finally
  }

  public static void b()
  {
    a = true;
  }

  public static abstract class a
    implements Runnable
  {
    private final boolean a;
    private final boolean b;
    private final a.b c;

    public a()
    {
      this(false, false);
    }

    private a(boolean paramBoolean1, boolean paramBoolean2)
    {
      this(false, false, null);
    }

    private a(boolean paramBoolean1, boolean paramBoolean2, a.b paramb)
    {
      this.a = paramBoolean1;
      this.b = paramBoolean2;
      this.c = null;
    }

    public final void run()
    {
      if ((this.b) && (a.c()));
      while (this.c == null)
        return;
      a.b localb = this.c;
    }
  }

  public static enum b
  {
    static
    {
      b[] arrayOfb = new b[2];
      arrayOfb[0] = a;
      arrayOfb[1] = b;
    }
  }

  public static enum c
  {
    private String h;
    private final boolean i;

    static
    {
      a = new c("ON_RESUME", 4, "On resume", false);
      f = new c("GENERAL", 5, "General", false);
      g = new c("GENERAL_ONE_TIME", 6, "General one time", true);
      c[] arrayOfc = new c[7];
      arrayOfc[0] = b;
      arrayOfc[1] = c;
      arrayOfc[2] = d;
      arrayOfc[3] = e;
      arrayOfc[4] = a;
      arrayOfc[5] = f;
      arrayOfc[6] = g;
    }

    private c(String paramString, boolean paramBoolean)
    {
      this.h = paramString;
      this.i = paramBoolean;
    }

    public final String toString()
    {
      return this.h + "[oneTime = " + this.i + "]";
    }
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.google.android.m4b.maps.al.a
 * JD-Core Version:    0.6.2
 */