package com.google.android.play.core.e.b;

import com.bytedance.covode.number.Covode;
import com.google.android.play.core.e.a;
import com.google.android.play.core.e.e;
import java.util.ArrayList;

public final /* synthetic */ class f implements l {
    public final e LIZ;

    static {
        Covode.recordClassIndex(44366);
    }

    public f(e eVar) {
        this.LIZ = eVar;
    }

    public final com.google.android.play.core.e.f LIZ(com.google.android.play.core.e.f fVar) {
        int i;
        e eVar = this.LIZ;
        if (fVar != null) {
            int LIZIZ = fVar.LIZIZ();
            if (LIZIZ == 0 || LIZIZ == 5 || LIZIZ == 6 || LIZIZ == 7) {
                i = 1 + fVar.LIZ();
            } else {
                throw new a(-1);
            }
        } else {
            i = 1;
        }
        return com.google.android.play.core.e.f.LIZ(i, 1, 0, 0, 0, eVar.LIZ, new ArrayList());
    }
}
