package com.airbnb.lottie.parser; import com.airbnb.lottie.parser.moshi.JsonReader; import com.airbnb.lottie.value.ScaleXY; import java.io.IOException; /* loaded from: classes.dex */ public class ScaleXYParser implements ValueParser { public static final ScaleXYParser INSTANCE = new ScaleXYParser(); private ScaleXYParser() { } /* JADX WARN: Can't rename method to resolve collision */ @Override // com.airbnb.lottie.parser.ValueParser public ScaleXY parse(JsonReader jsonReader, float f) throws IOException { boolean z = jsonReader.peek() == JsonReader.Token.BEGIN_ARRAY; if (z) { jsonReader.beginArray(); } float nextDouble = (float) jsonReader.nextDouble(); float nextDouble2 = (float) jsonReader.nextDouble(); while (jsonReader.hasNext()) { jsonReader.skipValue(); } if (z) { jsonReader.endArray(); } return new ScaleXY((nextDouble / 100.0f) * f, (nextDouble2 / 100.0f) * f); } }