package j5;

import com.martsnew.data.model.response.VoteResponse;
import com.martsnew.domain.model.Vote;

/* JADX INFO: loaded from: classes.dex */
public final class x implements p {
    public static Vote b(VoteResponse voteResponse) {
        P6.g.e(voteResponse, "dto");
        Long l8 = voteResponse.f10999a;
        long jLongValue = l8 != null ? l8.longValue() : 0L;
        Long l9 = voteResponse.f11000b;
        long jLongValue2 = l9 != null ? l9.longValue() : 0L;
        Long l10 = voteResponse.f11001c;
        return new Vote(jLongValue, jLongValue2, l10 != null ? l10.longValue() : 0L);
    }

    @Override // j5.p
    public final /* bridge */ /* synthetic */ Object a(Object obj) {
        return b((VoteResponse) obj);
    }
}
