package com.vinfast.companion.remotecontrolskit.persitent.dao;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes6.dex */
@kotlin.Metadata(d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u000e\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u0000 \t2\u00020\u0001:\u0001+B\u000f\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J\u0017\u0010\t\u001a\u00020\b2\u0006\u0010\u0007\u001a\u00020\u0006H\u0014¢\u0006\u0004\b\t\u0010\nJ=\u0010\u0011\u001a\u00020\b2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u000b2\b\u0010\u000e\u001a\u0004\u0018\u00010\u000b2\b\u0010\u000f\u001a\u0004\u0018\u00010\u000b2\b\u0010\u0010\u001a\u0004\u0018\u00010\u000bH\u0016¢\u0006\u0004\b\u0011\u0010\u0012J)\u0010\u0014\u001a\u00020\b2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u000b2\b\u0010\u0013\u001a\u0004\u0018\u00010\u000bH\u0016¢\u0006\u0004\b\u0014\u0010\u0015J!\u0010\u0016\u001a\u0004\u0018\u00010\u00062\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u000bH\u0016¢\u0006\u0004\b\u0016\u0010\u0017J!\u0010\u0018\u001a\u0004\u0018\u00010\u000b2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u000bH\u0016¢\u0006\u0004\b\u0018\u0010\u0019J%\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u000b0\u001a2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u000bH\u0016¢\u0006\u0004\b\u001b\u0010\u001cJ!\u0010\u001d\u001a\u0004\u0018\u00010\u000b2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\u000bH\u0016¢\u0006\u0004\b\u001d\u0010\u0019J\u0016\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\u00060\u001eH\u0096@¢\u0006\u0004\b\u001f\u0010 R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b!\u0010\"R\u001a\u0010%\u001a\b\u0012\u0004\u0012\u00020\u00060#8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001f\u0010$R\u001a\u0010&\u001a\b\u0012\u0004\u0012\u00020\u00060#8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001d\u0010$R\u001a\u0010)\u001a\b\u0012\u0004\u0012\u00020\u00060'8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0016\u0010(R\u001a\u0010*\u001a\b\u0012\u0004\u0012\u00020\u00060'8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0018\u0010(¨\u0006,"}, d2 = {"Lcom/vinfast/companion/remotecontrolskit/persitent/dao/RemoteControlDao_Impl;", "Lcom/vinfast/companion/remotecontrolskit/persitent/dao/RemoteControlDao;", "Landroidx/room/RoomDatabase;", "__db", "<init>", "(Landroidx/room/RoomDatabase;)V", "Lcom/vinfast/companion/remotecontrolskit/persitent/model/RemoteControlEntity;", "item", "", "f", "(Lcom/vinfast/companion/remotecontrolskit/persitent/model/RemoteControlEntity;)J", "", "accountEmailAddress", "vinCode", "privateKey", "certificate", "base64ShareKey", "i", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)J", "homeFeatures", "h", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)J", "d", "(Ljava/lang/String;Ljava/lang/String;)Lcom/vinfast/companion/remotecontrolskit/persitent/model/RemoteControlEntity;", "e", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "Lio/reactivex/rxjava3/core/Observable;", "g", "(Ljava/lang/String;Ljava/lang/String;)Lio/reactivex/rxjava3/core/Observable;", "c", "", "b", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "a", "Landroidx/room/RoomDatabase;", "Landroidx/room/EntityInsertAdapter;", "Landroidx/room/EntityInsertAdapter;", "__insertAdapterOfRemoteControlEntity", "__insertAdapterOfRemoteControlEntity_1", "Landroidx/room/EntityDeleteOrUpdateAdapter;", "Landroidx/room/EntityDeleteOrUpdateAdapter;", "__deleteAdapterOfRemoteControlEntity", "__updateAdapterOfRemoteControlEntity", "Companion", "app_vinFastVNProductionRelease"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final class RemoteControlDao_Impl extends com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao {

    /* JADX INFO: renamed from: f, reason: from kotlin metadata */
    public static final com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.Companion INSTANCE = new com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.Companion(null);

    /* JADX INFO: renamed from: a, reason: from kotlin metadata */
    private final androidx.room.RoomDatabase __db;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata */
    private final androidx.room.EntityInsertAdapter __insertAdapterOfRemoteControlEntity;

    /* JADX INFO: renamed from: c, reason: from kotlin metadata */
    private final androidx.room.EntityInsertAdapter __insertAdapterOfRemoteControlEntity_1;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata */
    private final androidx.room.EntityDeleteOrUpdateAdapter __deleteAdapterOfRemoteControlEntity;

    /* JADX INFO: renamed from: e, reason: from kotlin metadata */
    private final androidx.room.EntityDeleteOrUpdateAdapter __updateAdapterOfRemoteControlEntity;

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u0017\u0010\u0006\u001a\f\u0012\b\u0012\u0006\u0012\u0002\b\u00030\u00050\u0004¢\u0006\u0004\b\u0006\u0010\u0007¨\u0006\b"}, d2 = {"Lcom/vinfast/companion/remotecontrolskit/persitent/dao/RemoteControlDao_Impl$Companion;", "", "<init>", "()V", "", "Lkotlin/reflect/KClass;", "a", "()Ljava/util/List;", "app_vinFastVNProductionRelease"}, k = 1, mv = {2, 2, 0}, xi = 48)
    public static final class Companion {
        public /* synthetic */ Companion(kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final java.util.List a() {
            return kotlin.collections.CollectionsKt.o();
        }

        private Companion() {
        }
    }

    public RemoteControlDao_Impl(androidx.room.RoomDatabase roomDatabase) {
        kotlin.jvm.internal.Intrinsics.l(roomDatabase, "__db");
        this.__db = roomDatabase;
        this.__insertAdapterOfRemoteControlEntity = new androidx.room.EntityInsertAdapter<com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity>() { // from class: com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.1
            protected java.lang.String b() {
                return "INSERT OR IGNORE INTO `remote_control_table` (`accountEmailAddress`,`vinCode`,`privateKey`,`certificate`,`homeFeatures`,`base64ShareKey`) VALUES (?,?,?,?,?,?)";
            }

            /* JADX INFO: Access modifiers changed from: protected */
            /* JADX INFO: renamed from: g, reason: merged with bridge method [inline-methods] */
            public void a(androidx.sqlite.SQLiteStatement statement, com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity entity) {
                kotlin.jvm.internal.Intrinsics.l(statement, "statement");
                kotlin.jvm.internal.Intrinsics.l(entity, "entity");
                statement.u1(1, entity.getUserid());
                statement.u1(2, entity.getVinCode());
                java.lang.String privateKey = entity.getPrivateKey();
                if (privateKey == null) {
                    statement.m(3);
                } else {
                    statement.u1(3, privateKey);
                }
                java.lang.String certificate = entity.getCertificate();
                if (certificate == null) {
                    statement.m(4);
                } else {
                    statement.u1(4, certificate);
                }
                java.lang.String homeFeatures = entity.getHomeFeatures();
                if (homeFeatures == null) {
                    statement.m(5);
                } else {
                    statement.u1(5, homeFeatures);
                }
                java.lang.String base64ShareKey = entity.getBase64ShareKey();
                if (base64ShareKey == null) {
                    statement.m(6);
                } else {
                    statement.u1(6, base64ShareKey);
                }
            }
        };
        this.__insertAdapterOfRemoteControlEntity_1 = new androidx.room.EntityInsertAdapter<com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity>() { // from class: com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.2
            protected java.lang.String b() {
                return "INSERT OR REPLACE INTO `remote_control_table` (`accountEmailAddress`,`vinCode`,`privateKey`,`certificate`,`homeFeatures`,`base64ShareKey`) VALUES (?,?,?,?,?,?)";
            }

            /* JADX INFO: Access modifiers changed from: protected */
            /* JADX INFO: renamed from: g, reason: merged with bridge method [inline-methods] */
            public void a(androidx.sqlite.SQLiteStatement statement, com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity entity) {
                kotlin.jvm.internal.Intrinsics.l(statement, "statement");
                kotlin.jvm.internal.Intrinsics.l(entity, "entity");
                statement.u1(1, entity.getUserid());
                statement.u1(2, entity.getVinCode());
                java.lang.String privateKey = entity.getPrivateKey();
                if (privateKey == null) {
                    statement.m(3);
                } else {
                    statement.u1(3, privateKey);
                }
                java.lang.String certificate = entity.getCertificate();
                if (certificate == null) {
                    statement.m(4);
                } else {
                    statement.u1(4, certificate);
                }
                java.lang.String homeFeatures = entity.getHomeFeatures();
                if (homeFeatures == null) {
                    statement.m(5);
                } else {
                    statement.u1(5, homeFeatures);
                }
                java.lang.String base64ShareKey = entity.getBase64ShareKey();
                if (base64ShareKey == null) {
                    statement.m(6);
                } else {
                    statement.u1(6, base64ShareKey);
                }
            }
        };
        this.__deleteAdapterOfRemoteControlEntity = new androidx.room.EntityDeleteOrUpdateAdapter<com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity>() { // from class: com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.3
            protected java.lang.String b() {
                return "DELETE FROM `remote_control_table` WHERE `accountEmailAddress` = ? AND `vinCode` = ?";
            }

            /* JADX INFO: Access modifiers changed from: protected */
            /* JADX INFO: renamed from: d, reason: merged with bridge method [inline-methods] */
            public void a(androidx.sqlite.SQLiteStatement statement, com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity entity) {
                kotlin.jvm.internal.Intrinsics.l(statement, "statement");
                kotlin.jvm.internal.Intrinsics.l(entity, "entity");
                statement.u1(1, entity.getUserid());
                statement.u1(2, entity.getVinCode());
            }
        };
        this.__updateAdapterOfRemoteControlEntity = new androidx.room.EntityDeleteOrUpdateAdapter<com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity>() { // from class: com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.4
            protected java.lang.String b() {
                return "UPDATE OR ABORT `remote_control_table` SET `accountEmailAddress` = ?,`vinCode` = ?,`privateKey` = ?,`certificate` = ?,`homeFeatures` = ?,`base64ShareKey` = ? WHERE `accountEmailAddress` = ? AND `vinCode` = ?";
            }

            /* JADX INFO: Access modifiers changed from: protected */
            /* JADX INFO: renamed from: d, reason: merged with bridge method [inline-methods] */
            public void a(androidx.sqlite.SQLiteStatement statement, com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity entity) {
                kotlin.jvm.internal.Intrinsics.l(statement, "statement");
                kotlin.jvm.internal.Intrinsics.l(entity, "entity");
                statement.u1(1, entity.getUserid());
                statement.u1(2, entity.getVinCode());
                java.lang.String privateKey = entity.getPrivateKey();
                if (privateKey == null) {
                    statement.m(3);
                } else {
                    statement.u1(3, privateKey);
                }
                java.lang.String certificate = entity.getCertificate();
                if (certificate == null) {
                    statement.m(4);
                } else {
                    statement.u1(4, certificate);
                }
                java.lang.String homeFeatures = entity.getHomeFeatures();
                if (homeFeatures == null) {
                    statement.m(5);
                } else {
                    statement.u1(5, homeFeatures);
                }
                java.lang.String base64ShareKey = entity.getBase64ShareKey();
                if (base64ShareKey == null) {
                    statement.m(6);
                } else {
                    statement.u1(6, base64ShareKey);
                }
                statement.u1(7, entity.getUserid());
                statement.u1(8, entity.getVinCode());
            }
        };
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final java.util.List r(java.lang.String str, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "_connection");
        androidx.sqlite.SQLiteStatement sQLiteStatementF1 = sQLiteConnection.f1(str);
        try {
            int iC = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "accountEmailAddress");
            int iC2 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "vinCode");
            int iC3 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "privateKey");
            int iC4 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "certificate");
            int iC5 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "homeFeatures");
            int iC6 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "base64ShareKey");
            java.util.ArrayList arrayList = new java.util.ArrayList();
            while (sQLiteStatementF1.a1()) {
                arrayList.add(new com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity(sQLiteStatementF1.x2(iC), sQLiteStatementF1.x2(iC2), sQLiteStatementF1.isNull(iC3) ? null : sQLiteStatementF1.x2(iC3), sQLiteStatementF1.isNull(iC4) ? null : sQLiteStatementF1.x2(iC4), sQLiteStatementF1.isNull(iC5) ? null : sQLiteStatementF1.x2(iC5), sQLiteStatementF1.isNull(iC6) ? null : sQLiteStatementF1.x2(iC6)));
            }
            return arrayList;
        } finally {
            sQLiteStatementF1.close();
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final java.lang.String s(java.lang.String str, java.lang.String str2, java.lang.String str3, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "_connection");
        androidx.sqlite.SQLiteStatement sQLiteStatementF1 = sQLiteConnection.f1(str);
        try {
            sQLiteStatementF1.u1(1, str2);
            sQLiteStatementF1.u1(2, str3);
            java.lang.String strX2 = null;
            if (sQLiteStatementF1.a1() && !sQLiteStatementF1.isNull(0)) {
                strX2 = sQLiteStatementF1.x2(0);
            }
            return strX2;
        } finally {
            sQLiteStatementF1.close();
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity t(java.lang.String str, java.lang.String str2, java.lang.String str3, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "_connection");
        androidx.sqlite.SQLiteStatement sQLiteStatementF1 = sQLiteConnection.f1(str);
        try {
            sQLiteStatementF1.u1(1, str2);
            sQLiteStatementF1.u1(2, str3);
            int iC = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "accountEmailAddress");
            int iC2 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "vinCode");
            int iC3 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "privateKey");
            int iC4 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "certificate");
            int iC5 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "homeFeatures");
            int iC6 = androidx.room.util.SQLiteStatementUtil.c(sQLiteStatementF1, "base64ShareKey");
            com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity remoteControlEntity = null;
            if (sQLiteStatementF1.a1()) {
                remoteControlEntity = new com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity(sQLiteStatementF1.x2(iC), sQLiteStatementF1.x2(iC2), sQLiteStatementF1.isNull(iC3) ? null : sQLiteStatementF1.x2(iC3), sQLiteStatementF1.isNull(iC4) ? null : sQLiteStatementF1.x2(iC4), sQLiteStatementF1.isNull(iC5) ? null : sQLiteStatementF1.x2(iC5), sQLiteStatementF1.isNull(iC6) ? null : sQLiteStatementF1.x2(iC6));
            }
            return remoteControlEntity;
        } finally {
            sQLiteStatementF1.close();
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final java.lang.String u(java.lang.String str, java.lang.String str2, java.lang.String str3, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "_connection");
        androidx.sqlite.SQLiteStatement sQLiteStatementF1 = sQLiteConnection.f1(str);
        try {
            sQLiteStatementF1.u1(1, str2);
            sQLiteStatementF1.u1(2, str3);
            java.lang.String strX2 = null;
            if (sQLiteStatementF1.a1() && !sQLiteStatementF1.isNull(0)) {
                strX2 = sQLiteStatementF1.x2(0);
            }
            return strX2;
        } finally {
            sQLiteStatementF1.close();
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final long v(com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl remoteControlDao_Impl, com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity remoteControlEntity, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "_connection");
        return remoteControlDao_Impl.__insertAdapterOfRemoteControlEntity_1.e(sQLiteConnection, remoteControlEntity);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final java.lang.String w(java.lang.String str, java.lang.String str2, java.lang.String str3, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "_connection");
        androidx.sqlite.SQLiteStatement sQLiteStatementF1 = sQLiteConnection.f1(str);
        try {
            sQLiteStatementF1.u1(1, str2);
            sQLiteStatementF1.u1(2, str3);
            java.lang.String strX2 = null;
            if (sQLiteStatementF1.a1() && !sQLiteStatementF1.isNull(0)) {
                strX2 = sQLiteStatementF1.x2(0);
            }
            return strX2;
        } finally {
            sQLiteStatementF1.close();
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final long x(com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl remoteControlDao_Impl, java.lang.String str, java.lang.String str2, java.lang.String str3, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "<unused var>");
        return super.h(str, str2, str3);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final long y(com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl remoteControlDao_Impl, java.lang.String str, java.lang.String str2, java.lang.String str3, java.lang.String str4, java.lang.String str5, androidx.sqlite.SQLiteConnection sQLiteConnection) {
        kotlin.jvm.internal.Intrinsics.l(sQLiteConnection, "<unused var>");
        return super.i(str, str2, str3, str4, str5);
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    public java.lang.Object b(kotlin.coroutines.Continuation continuation) {
        final java.lang.String str = "SELECT * FROM remote_control_table";
        return androidx.room.util.DBUtil.f(this.__db, true, false, new kotlin.jvm.functions.Function1() { // from class: w4.h
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.r(str, (androidx.sqlite.SQLiteConnection) obj);
            }
        }, continuation);
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    public java.lang.String c(final java.lang.String accountEmailAddress, final java.lang.String vinCode) {
        kotlin.jvm.internal.Intrinsics.l(accountEmailAddress, "accountEmailAddress");
        kotlin.jvm.internal.Intrinsics.l(vinCode, "vinCode");
        final java.lang.String str = "SELECT base64ShareKey FROM remote_control_table WHERE accountEmailAddress = ? and vinCode = ?";
        return (java.lang.String) androidx.room.util.DBUtil.d(this.__db, true, false, new kotlin.jvm.functions.Function1() { // from class: w4.f
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.s(str, accountEmailAddress, vinCode, (androidx.sqlite.SQLiteConnection) obj);
            }
        });
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    public com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity d(final java.lang.String accountEmailAddress, final java.lang.String vinCode) {
        kotlin.jvm.internal.Intrinsics.l(accountEmailAddress, "accountEmailAddress");
        kotlin.jvm.internal.Intrinsics.l(vinCode, "vinCode");
        final java.lang.String str = "SELECT * FROM remote_control_table WHERE accountEmailAddress = ? and vinCode = ?";
        return (com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity) androidx.room.util.DBUtil.d(this.__db, true, false, new kotlin.jvm.functions.Function1() { // from class: w4.g
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.t(str, accountEmailAddress, vinCode, (androidx.sqlite.SQLiteConnection) obj);
            }
        });
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    public java.lang.String e(final java.lang.String accountEmailAddress, final java.lang.String vinCode) {
        kotlin.jvm.internal.Intrinsics.l(accountEmailAddress, "accountEmailAddress");
        kotlin.jvm.internal.Intrinsics.l(vinCode, "vinCode");
        final java.lang.String str = "SELECT privateKey FROM remote_control_table WHERE accountEmailAddress = ? and vinCode = ?";
        return (java.lang.String) androidx.room.util.DBUtil.d(this.__db, true, false, new kotlin.jvm.functions.Function1() { // from class: w4.a
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.u(str, accountEmailAddress, vinCode, (androidx.sqlite.SQLiteConnection) obj);
            }
        });
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    protected long f(final com.vinfast.companion.remotecontrolskit.persitent.model.RemoteControlEntity item) {
        kotlin.jvm.internal.Intrinsics.l(item, "item");
        return ((java.lang.Number) androidx.room.util.DBUtil.d(this.__db, false, true, new kotlin.jvm.functions.Function1() { // from class: w4.d
            public final java.lang.Object invoke(java.lang.Object obj) {
                return java.lang.Long.valueOf(com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.v(this.a, item, (androidx.sqlite.SQLiteConnection) obj));
            }
        })).longValue();
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    public io.reactivex.rxjava3.core.Observable g(final java.lang.String accountEmailAddress, final java.lang.String vinCode) {
        kotlin.jvm.internal.Intrinsics.l(accountEmailAddress, "accountEmailAddress");
        kotlin.jvm.internal.Intrinsics.l(vinCode, "vinCode");
        final java.lang.String str = "SELECT homeFeatures FROM remote_control_table WHERE accountEmailAddress = ? and vinCode = ?";
        return androidx.room.rxjava3.RxRoom.a(this.__db, false, new java.lang.String[]{"remote_control_table"}, new kotlin.jvm.functions.Function1() { // from class: w4.b
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.w(str, accountEmailAddress, vinCode, (androidx.sqlite.SQLiteConnection) obj);
            }
        });
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    public long h(final java.lang.String accountEmailAddress, final java.lang.String vinCode, final java.lang.String homeFeatures) {
        kotlin.jvm.internal.Intrinsics.l(accountEmailAddress, "accountEmailAddress");
        kotlin.jvm.internal.Intrinsics.l(vinCode, "vinCode");
        return ((java.lang.Number) androidx.room.util.DBUtil.d(this.__db, false, true, new kotlin.jvm.functions.Function1() { // from class: w4.e
            public final java.lang.Object invoke(java.lang.Object obj) {
                return java.lang.Long.valueOf(com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.x(this.a, accountEmailAddress, vinCode, homeFeatures, (androidx.sqlite.SQLiteConnection) obj));
            }
        })).longValue();
    }

    @Override // com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao
    public long i(final java.lang.String accountEmailAddress, final java.lang.String vinCode, final java.lang.String privateKey, final java.lang.String certificate, final java.lang.String base64ShareKey) {
        kotlin.jvm.internal.Intrinsics.l(accountEmailAddress, "accountEmailAddress");
        kotlin.jvm.internal.Intrinsics.l(vinCode, "vinCode");
        return ((java.lang.Number) androidx.room.util.DBUtil.d(this.__db, false, true, new kotlin.jvm.functions.Function1() { // from class: w4.c
            public final java.lang.Object invoke(java.lang.Object obj) {
                return java.lang.Long.valueOf(com.vinfast.companion.remotecontrolskit.persitent.dao.RemoteControlDao_Impl.y(this.a, accountEmailAddress, vinCode, privateKey, certificate, base64ShareKey, (androidx.sqlite.SQLiteConnection) obj));
            }
        })).longValue();
    }
}
