package vg;

import vg.q;

/* loaded from: classes4.dex */
public class a implements e {

    /* renamed from: a, reason: collision with root package name */
    private final j f39677a;

    /* renamed from: b, reason: collision with root package name */
    private final j f39678b;

    /* renamed from: c, reason: collision with root package name */
    private final String f39679c;

    public a(j jVar, String str, j jVar2) {
        this.f39677a = jVar;
        this.f39679c = str;
        this.f39678b = jVar2;
    }

    @Override // vg.e
    public q a(c cVar) {
        if (this.f39679c == null) {
            return new q(q.a.MISSING_OPERATOR, "Operator is null, Comparison returned false");
        }
        j jVar = this.f39677a;
        if (jVar == null || this.f39678b == null) {
            return new q(q.a.INVALID_OPERAND, "Operand is null, Comparison returned false.");
        }
        Object a10 = jVar.a(cVar);
        Object a11 = this.f39678b.a(cVar);
        return (a10 == null || a11 == null) ? new q(q.a.INVALID_OPERAND, String.format("Comparison %s %s %s returned false", a10, this.f39679c, a11)) : cVar.f39684b.b(a10, this.f39679c, a11);
    }
}
