package p037.p041.p042;

/* JADX INFO: renamed from: މ.ؠ.ވ.ޒ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C1519 {

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public static C1519 f4803;

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public long f4804;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public long f4805;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public int f4806;

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m3002(long j, double d, double d2) {
        double d3 = (0.01720197f * ((j - 946728000000L) / 8.64E7f)) + 6.24006f;
        double dSin = (Math.sin(r4 * 3.0f) * 5.236000106378924E-6d) + (Math.sin(2.0f * r4) * 3.4906598739326E-4d) + (Math.sin(d3) * 0.03341960161924362d) + d3 + 1.796593063d + 3.141592653589793d;
        double dSin2 = (Math.sin(2.0d * dSin) * (-0.0069d)) + (Math.sin(d3) * 0.0053d) + ((double) (Math.round(((double) (r3 - 9.0E-4f)) - r9) + 9.0E-4f)) + ((-d2) / 360.0d);
        double dAsin = Math.asin(Math.sin(0.4092797040939331d) * Math.sin(dSin));
        double d4 = 0.01745329238474369d * d;
        double dSin3 = (Math.sin(-0.10471975803375244d) - (Math.sin(dAsin) * Math.sin(d4))) / (Math.cos(dAsin) * Math.cos(d4));
        if (dSin3 >= 1.0d) {
            this.f4806 = 1;
            this.f4804 = -1L;
            this.f4805 = -1L;
        } else {
            if (dSin3 <= -1.0d) {
                this.f4806 = 0;
                this.f4804 = -1L;
                this.f4805 = -1L;
                return;
            }
            double dAcos = (float) (Math.acos(dSin3) / 6.283185307179586d);
            this.f4804 = Math.round((dSin2 + dAcos) * 8.64E7d) + 946728000000L;
            long jRound = Math.round((dSin2 - dAcos) * 8.64E7d) + 946728000000L;
            this.f4805 = jRound;
            if (jRound >= j || this.f4804 <= j) {
                this.f4806 = 1;
            } else {
                this.f4806 = 0;
            }
        }
    }
}
