package com.google.android.m4b.maps.bc;

import com.google.android.m4b.maps.ar.f;
import java.io.DataInput;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public final class s
{
  private static final av a = new av(null, null, -1);
  private final List<a> b;
  private final b c;
  private final String d;

  public s(List<a> paramList, b paramb)
  {
    StringBuilder localStringBuilder = new StringBuilder();
    Iterator localIterator = paramList.iterator();
    while (localIterator.hasNext())
    {
      a locala = (a)localIterator.next();
      if (locala.c())
        localStringBuilder.append(locala.i());
      if (locala.f())
        localStringBuilder.append('\n');
    }
    this.d = localStringBuilder.toString();
    this.c = paramb;
    this.b = paramList;
  }

  public static s a(DataInput paramDataInput, bc parambc, av paramav)
  {
    int i = bl.a(paramDataInput);
    ArrayList localArrayList = new ArrayList();
    for (int j = 0; j < i; j++)
      a.a(paramDataInput, parambc, paramav, localArrayList);
    if (i > 1);
    for (b localb = b.a(paramDataInput); ; localb = b.b)
      return new s(localArrayList, localb);
  }

  public final a a(int paramInt)
  {
    return (a)this.b.get(paramInt);
  }

  public final String a()
  {
    return this.d;
  }

  public final int b()
  {
    return this.b.size();
  }

  public final b c()
  {
    return this.c;
  }

  public final int d()
  {
    Iterator localIterator = this.b.iterator();
    int i = 0;
    while (localIterator.hasNext())
      i += ((a)localIterator.next()).l();
    int j = i + 24 + ac.a(this.d);
    return j + b.c();
  }

  public final boolean equals(Object paramObject)
  {
    boolean bool;
    if (this == paramObject)
      bool = true;
    s locals;
    do
    {
      Class localClass1;
      Class localClass2;
      do
      {
        do
        {
          return bool;
          bool = false;
        }
        while (paramObject == null);
        localClass1 = getClass();
        localClass2 = paramObject.getClass();
        bool = false;
      }
      while (localClass1 != localClass2);
      locals = (s)paramObject;
      if (this.c != null)
        break;
      localb = locals.c;
      bool = false;
    }
    while (localb != null);
    while (this.c.equals(locals.c))
    {
      b localb;
      return this.b.equals(locals.b);
    }
    return false;
  }

  public final int hashCode()
  {
    if (this.c == null);
    for (int i = 0; ; i = this.c.hashCode())
      return 31 * (i + 31) + this.b.hashCode();
  }

  public static final class a
  {
    private final int a;
    private final String b;
    private final int c;
    private final float d;
    private final String e;
    private final as f;
    private final String g;
    private final float h;

    public a(int paramInt1, String paramString1, int paramInt2, String paramString2, as paramas, int paramInt3, String paramString3, float paramFloat)
    {
      this.a = paramInt1;
      this.b = paramString1;
      this.c = paramInt2;
      this.d = (1.0F / paramInt2);
      this.e = paramString2;
      this.f = paramas;
      this.g = paramString3;
      this.h = paramFloat;
    }

    public static void a(DataInput paramDataInput, bc parambc, av paramav, List<a> paramList)
    {
      int i = paramDataInput.readUnsignedByte();
      String str1;
      int j;
      if ((ac.a(i, 1)) && (parambc.a() == 10))
      {
        str1 = paramDataInput.readUTF().intern();
        j = paramDataInput.readUnsignedByte();
      }
      while (true)
      {
        if (ac.a(i, 2));
        for (String str2 = f.a(paramDataInput.readUTF()).intern(); ; str2 = null)
        {
          n localn;
          if (ac.a(i, 4))
          {
            paramav = av.a(paramDataInput, parambc);
            if ((parambc.a() == 10) || (!ac.a(i, 1)))
              break label311;
            as localas = paramav.a();
            if (!localas.h())
              break label311;
            localn = localas.l();
            str1 = localn.a();
          }
          label311: for (int k = localn.b(); ; k = j)
          {
            boolean bool = ac.a(i, 16);
            float f1 = 0.0F;
            if (bool)
              f1 = bl.a(paramDataInput) / 8.0F;
            if (ac.a(i, 32))
              bl.a(paramDataInput);
            if ((ac.a(i, 8)) && (i != 8))
            {
              paramList.add(new a(i ^ 0x8, str1, k, str2, paramav.a(), paramav.c(), paramav.b(), f1));
              paramList.add(new a(8, null, 1, null, null, -1, null, -1.0F));
              return;
              if (a(i))
                break;
              paramav = s.e();
              break;
            }
            paramList.add(new a(i, str1, k, str2, paramav.a(), paramav.c(), paramav.b(), f1));
            return;
          }
        }
        j = 1;
        str1 = null;
      }
    }

    private static boolean a(int paramInt)
    {
      return (ac.a(paramInt, 2)) && (!ac.a(paramInt, 1));
    }

    public final boolean a()
    {
      return a(this.a);
    }

    public final boolean b()
    {
      return ac.a(this.a, 1);
    }

    public final boolean c()
    {
      return ac.a(this.a, 2);
    }

    public final boolean d()
    {
      return ac.a(this.a, 4);
    }

    public final boolean e()
    {
      return ac.a(this.a, 16);
    }

    public final boolean equals(Object paramObject)
    {
      if (this == paramObject);
      a locala;
      do
      {
        return true;
        if (paramObject == null)
          return false;
        if (getClass() != paramObject.getClass())
          return false;
        locala = (a)paramObject;
        if (this.a != locala.a)
          return false;
        if (Float.floatToIntBits(this.h) != Float.floatToIntBits(locala.h))
          return false;
        if (this.b == null)
        {
          if (locala.b != null)
            return false;
        }
        else if (!this.b.equals(locala.b))
          return false;
        if (this.f == null)
        {
          if (locala.f != null)
            return false;
        }
        else if (!this.f.equals(locala.f))
          return false;
        if (this.g == null)
        {
          if (locala.g != null)
            return false;
        }
        else if (!this.g.equals(locala.g))
          return false;
        if (Float.floatToIntBits(this.c) != Float.floatToIntBits(locala.c))
          return false;
        if (this.e != null)
          break;
      }
      while (locala.e == null);
      return false;
      return this.e.equals(locala.e);
    }

    public final boolean f()
    {
      return ac.a(this.a, 8);
    }

    public final String g()
    {
      return this.b;
    }

    public final float h()
    {
      return this.d;
    }

    public final int hashCode()
    {
      int i = 31 * (31 * (31 + this.a) + Float.floatToIntBits(this.h));
      int j;
      int m;
      label48: int i1;
      label67: int i2;
      int i3;
      if (this.b == null)
      {
        j = 0;
        int k = 31 * (j + i);
        if (this.f != null)
          break label120;
        m = 0;
        int n = 31 * (m + k);
        if (this.g != null)
          break label132;
        i1 = 0;
        i2 = 31 * (31 * (i1 + n) + Float.floatToIntBits(this.c));
        String str = this.e;
        i3 = 0;
        if (str != null)
          break label144;
      }
      while (true)
      {
        return i2 + i3;
        j = this.b.hashCode();
        break;
        label120: m = this.f.hashCode();
        break label48;
        label132: i1 = this.g.hashCode();
        break label67;
        label144: i3 = this.e.hashCode();
      }
    }

    public final String i()
    {
      return this.e;
    }

    public final as j()
    {
      return this.f;
    }

    public final float k()
    {
      return this.h;
    }

    public final int l()
    {
      return 48 + ac.a(this.b) + ac.a(this.e) + ac.a(this.g) + ac.a(this.f);
    }
  }
}

/* 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.bc.s
 * JD-Core Version:    0.6.2
 */