package j5;

import com.martsnew.data.model.response.ContinueWatchResponse;
import com.martsnew.data.model.response.MovieResponse;
import k5.C1101a;

/* JADX INFO: renamed from: j5.g, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1076g implements p {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final q f13705a;

    public C1076g(q qVar) {
        P6.g.e(qVar, "movieMapper");
        this.f13705a = qVar;
    }

    @Override // j5.p
    public final Object a(Object obj) {
        ContinueWatchResponse continueWatchResponse = (ContinueWatchResponse) obj;
        P6.g.e(continueWatchResponse, "dto");
        Integer num = continueWatchResponse.f10696f;
        int iIntValue = num != null ? num.intValue() : 0;
        Integer num2 = continueWatchResponse.f10697g;
        int iIntValue2 = num2 != null ? num2.intValue() : 0;
        Long l8 = continueWatchResponse.f10698h;
        long jLongValue = l8 != null ? l8.longValue() : 0L;
        Double d8 = continueWatchResponse.i;
        int iS = d8 != null ? android.support.v4.media.session.a.s(d8.doubleValue()) : 0;
        Long l9 = continueWatchResponse.f10700k;
        long jLongValue2 = l9 != null ? l9.longValue() : 0L;
        MovieResponse movieResponse = continueWatchResponse.f10701l;
        return new C1101a(continueWatchResponse.f10691a, continueWatchResponse.f10692b, continueWatchResponse.f10693c, continueWatchResponse.f10694d, continueWatchResponse.f10695e, iIntValue, iIntValue2, jLongValue, iS, jLongValue2, movieResponse != null ? this.f13705a.a(movieResponse) : null);
    }
}
