package com.applovin.impl; import android.os.Bundle; import com.applovin.exoplayer2.common.base.Objects; import com.applovin.impl.o2; /* loaded from: classes.dex */ public final class cl extends ki { public static final o2.a d = new o2.a() { // from class: com.applovin.impl.cl$$ExternalSyntheticLambda0 @Override // com.applovin.impl.o2.a public final o2 a(Bundle bundle) { cl b; b = cl.b(bundle); return b; } }; private final int b; private final float c; public cl(int i) { b1.a(i > 0, "maxStars must be a positive integer"); this.b = i; this.c = -1.0f; } public int hashCode() { return Objects.hashCode(Integer.valueOf(this.b), Float.valueOf(this.c)); } public boolean equals(Object obj) { if (!(obj instanceof cl)) { return false; } cl clVar = (cl) obj; return this.b == clVar.b && this.c == clVar.c; } public cl(int i, float f) { b1.a(i > 0, "maxStars must be a positive integer"); b1.a(f >= 0.0f && f <= ((float) i), "starRating is out of range [0, maxStars]"); this.b = i; this.c = f; } /* JADX INFO: Access modifiers changed from: private */ public static cl b(Bundle bundle) { b1.a(bundle.getInt(a(0), -1) == 2); int i = bundle.getInt(a(1), 5); float f = bundle.getFloat(a(2), -1.0f); if (f == -1.0f) { return new cl(i); } return new cl(i, f); } private static String a(int i) { return Integer.toString(i, 36); } }