package com.strmr.ps.data.local.dao;

import android.database.Cursor;
import android.os.CancellationSignal;
import androidx.media3.extractor.text.ttml.TtmlNode;
import androidx.room.RoomDatabase;
import com.strmr.ps.data.local.dao.RowConfigDao;
import com.strmr.ps.data.local.entity.RowConfigEntity;
import defpackage.e6a;
import defpackage.j43;
import defpackage.k00;
import defpackage.mk1;
import defpackage.n58;
import defpackage.oq8;
import defpackage.p58;
import defpackage.pe9;
import defpackage.q07;
import defpackage.q2;
import defpackage.rq6;
import defpackage.sp1;
import defpackage.vo6;
import defpackage.vw2;
import defpackage.wm2;
import defpackage.xm2;
import defpackage.yn1;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Callable;
import kotlin.coroutines.Continuation;

/* JADX INFO: loaded from: classes3.dex */
public final class RowConfigDao_Impl implements RowConfigDao {
    private final RoomDatabase __db;
    private final wm2<RowConfigEntity> __deletionAdapterOfRowConfigEntity;
    private final xm2<RowConfigEntity> __insertionAdapterOfRowConfigEntity;
    private final oq8 __preparedStmtOfBackfillTitleResKey;
    private final oq8 __preparedStmtOfDeleteAllNonSystemRowsForProfile;
    private final oq8 __preparedStmtOfDeleteAllNonSystemRowsForScreen;
    private final oq8 __preparedStmtOfDeleteAllRows;
    private final oq8 __preparedStmtOfDeleteAllRowsForProfile;
    private final oq8 __preparedStmtOfDeleteNonSystemRow;
    private final oq8 __preparedStmtOfDeleteOtherTypeCatalogRows;
    private final oq8 __preparedStmtOfDeleteRowsByDataSourcePrefix;
    private final oq8 __preparedStmtOfFixTraktListAuthRequirement;
    private final oq8 __preparedStmtOfResetProfileScreenPositionsAndEnabled;
    private final oq8 __preparedStmtOfResetScreenPositionsAndEnabled;
    private final oq8 __preparedStmtOfSetRowEnabled;
    private final oq8 __preparedStmtOfUpdateRowPosition;
    private final oq8 __preparedStmtOfUpdateSort;
    private final wm2<RowConfigEntity> __updateAdapterOfRowConfigEntity;

    public RowConfigDao_Impl(@vo6 RoomDatabase roomDatabase) {
        this.__db = roomDatabase;
        this.__insertionAdapterOfRowConfigEntity = new xm2<RowConfigEntity>(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.1
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "INSERT OR REPLACE INTO `row_config` (`id`,`profileSlug`,`screenType`,`title`,`rowType`,`contentType`,`presentation`,`dataSourceUrl`,`defaultPosition`,`position`,`enabled`,`requiresAuth`,`pageSize`,`isSystemRow`,`sortBy`,`sortHow`,`titleResKey`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
            }

            @Override // defpackage.xm2
            public void bind(@vo6 pe9 pe9Var, @vo6 RowConfigEntity rowConfigEntity) {
                pe9Var.bindString(1, rowConfigEntity.getId());
                pe9Var.bindString(2, rowConfigEntity.getProfileSlug());
                pe9Var.bindString(3, rowConfigEntity.getScreenType());
                pe9Var.bindString(4, rowConfigEntity.getTitle());
                pe9Var.bindString(5, rowConfigEntity.getRowType());
                if (rowConfigEntity.getContentType() == null) {
                    pe9Var.bindNull(6);
                } else {
                    pe9Var.bindString(6, rowConfigEntity.getContentType());
                }
                pe9Var.bindString(7, rowConfigEntity.getPresentation());
                if (rowConfigEntity.getDataSourceUrl() == null) {
                    pe9Var.bindNull(8);
                } else {
                    pe9Var.bindString(8, rowConfigEntity.getDataSourceUrl());
                }
                pe9Var.bindLong(9, rowConfigEntity.getDefaultPosition());
                pe9Var.bindLong(10, rowConfigEntity.getPosition());
                pe9Var.bindLong(11, rowConfigEntity.getEnabled() ? 1L : 0L);
                pe9Var.bindLong(12, rowConfigEntity.getRequiresAuth() ? 1L : 0L);
                pe9Var.bindLong(13, rowConfigEntity.getPageSize());
                pe9Var.bindLong(14, rowConfigEntity.isSystemRow() ? 1L : 0L);
                if (rowConfigEntity.getSortBy() == null) {
                    pe9Var.bindNull(15);
                } else {
                    pe9Var.bindString(15, rowConfigEntity.getSortBy());
                }
                if (rowConfigEntity.getSortHow() == null) {
                    pe9Var.bindNull(16);
                } else {
                    pe9Var.bindString(16, rowConfigEntity.getSortHow());
                }
                if (rowConfigEntity.getTitleResKey() == null) {
                    pe9Var.bindNull(17);
                } else {
                    pe9Var.bindString(17, rowConfigEntity.getTitleResKey());
                }
            }
        };
        this.__deletionAdapterOfRowConfigEntity = new wm2<RowConfigEntity>(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.2
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM `row_config` WHERE `id` = ?";
            }

            @Override // defpackage.wm2
            public void bind(@vo6 pe9 pe9Var, @vo6 RowConfigEntity rowConfigEntity) {
                pe9Var.bindString(1, rowConfigEntity.getId());
            }
        };
        this.__updateAdapterOfRowConfigEntity = new wm2<RowConfigEntity>(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.3
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE OR ABORT `row_config` SET `id` = ?,`profileSlug` = ?,`screenType` = ?,`title` = ?,`rowType` = ?,`contentType` = ?,`presentation` = ?,`dataSourceUrl` = ?,`defaultPosition` = ?,`position` = ?,`enabled` = ?,`requiresAuth` = ?,`pageSize` = ?,`isSystemRow` = ?,`sortBy` = ?,`sortHow` = ?,`titleResKey` = ? WHERE `id` = ?";
            }

            @Override // defpackage.wm2
            public void bind(@vo6 pe9 pe9Var, @vo6 RowConfigEntity rowConfigEntity) {
                pe9Var.bindString(1, rowConfigEntity.getId());
                pe9Var.bindString(2, rowConfigEntity.getProfileSlug());
                pe9Var.bindString(3, rowConfigEntity.getScreenType());
                pe9Var.bindString(4, rowConfigEntity.getTitle());
                pe9Var.bindString(5, rowConfigEntity.getRowType());
                if (rowConfigEntity.getContentType() == null) {
                    pe9Var.bindNull(6);
                } else {
                    pe9Var.bindString(6, rowConfigEntity.getContentType());
                }
                pe9Var.bindString(7, rowConfigEntity.getPresentation());
                if (rowConfigEntity.getDataSourceUrl() == null) {
                    pe9Var.bindNull(8);
                } else {
                    pe9Var.bindString(8, rowConfigEntity.getDataSourceUrl());
                }
                pe9Var.bindLong(9, rowConfigEntity.getDefaultPosition());
                pe9Var.bindLong(10, rowConfigEntity.getPosition());
                pe9Var.bindLong(11, rowConfigEntity.getEnabled() ? 1L : 0L);
                pe9Var.bindLong(12, rowConfigEntity.getRequiresAuth() ? 1L : 0L);
                pe9Var.bindLong(13, rowConfigEntity.getPageSize());
                pe9Var.bindLong(14, rowConfigEntity.isSystemRow() ? 1L : 0L);
                if (rowConfigEntity.getSortBy() == null) {
                    pe9Var.bindNull(15);
                } else {
                    pe9Var.bindString(15, rowConfigEntity.getSortBy());
                }
                if (rowConfigEntity.getSortHow() == null) {
                    pe9Var.bindNull(16);
                } else {
                    pe9Var.bindString(16, rowConfigEntity.getSortHow());
                }
                if (rowConfigEntity.getTitleResKey() == null) {
                    pe9Var.bindNull(17);
                } else {
                    pe9Var.bindString(17, rowConfigEntity.getTitleResKey());
                }
                pe9Var.bindString(18, rowConfigEntity.getId());
            }
        };
        this.__preparedStmtOfResetProfileScreenPositionsAndEnabled = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.4
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE row_config SET position = defaultPosition, enabled = 1 WHERE profileSlug = ? AND screenType = ?";
            }
        };
        this.__preparedStmtOfDeleteAllNonSystemRowsForProfile = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.5
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM row_config WHERE profileSlug = ? AND screenType = ? AND isSystemRow = 0";
            }
        };
        this.__preparedStmtOfDeleteAllRowsForProfile = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.6
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM row_config WHERE profileSlug = ?";
            }
        };
        this.__preparedStmtOfSetRowEnabled = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.7
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE row_config SET enabled = ? WHERE id = ?";
            }
        };
        this.__preparedStmtOfUpdateRowPosition = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.8
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE row_config SET position = ? WHERE id = ?";
            }
        };
        this.__preparedStmtOfResetScreenPositionsAndEnabled = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.9
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE row_config SET position = defaultPosition, enabled = 1 WHERE screenType = ?";
            }
        };
        this.__preparedStmtOfDeleteNonSystemRow = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.10
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM row_config WHERE id = ? AND isSystemRow = 0";
            }
        };
        this.__preparedStmtOfDeleteAllNonSystemRowsForScreen = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.11
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM row_config WHERE screenType = ? AND isSystemRow = 0";
            }
        };
        this.__preparedStmtOfFixTraktListAuthRequirement = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.12
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE row_config SET requiresAuth = 0 WHERE rowType = 'trakt_list'";
            }
        };
        this.__preparedStmtOfBackfillTitleResKey = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.13
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE row_config SET titleResKey = ? WHERE (id = ? OR id LIKE '%_' || ?) AND titleResKey IS NULL";
            }
        };
        this.__preparedStmtOfUpdateSort = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.14
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE row_config SET sortBy = ?, sortHow = ? WHERE id = ?";
            }
        };
        this.__preparedStmtOfDeleteRowsByDataSourcePrefix = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.15
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM row_config WHERE dataSourceUrl LIKE ? || '%'";
            }
        };
        this.__preparedStmtOfDeleteOtherTypeCatalogRows = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.16
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM row_config WHERE dataSourceUrl LIKE 'addon_catalog:%:other:%'";
            }
        };
        this.__preparedStmtOfDeleteAllRows = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.17
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "DELETE FROM row_config";
            }
        };
    }

    @vo6
    public static List<Class<?>> getRequiredConverters() {
        return Collections.EMPTY_LIST;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public /* synthetic */ Object lambda$replaceRowsForProfiles$1(List list, List list2, Continuation continuation) {
        return RowConfigDao.DefaultImpls.replaceRowsForProfiles(this, list, list2, continuation);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public /* synthetic */ Object lambda$updateMultiplePositions$0(List list, Continuation continuation) {
        return RowConfigDao.DefaultImpls.updateMultiplePositions(this, list, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object backfillTitleResKey(final String str, final String str2, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.31
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfBackfillTitleResKey.acquire();
                pe9VarAcquire.bindString(1, str2);
                pe9VarAcquire.bindString(2, str);
                pe9VarAcquire.bindString(3, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfBackfillTitleResKey.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object delete(final RowConfigEntity rowConfigEntity, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.20
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                RowConfigDao_Impl.this.__db.beginTransaction();
                try {
                    RowConfigDao_Impl.this.__deletionAdapterOfRowConfigEntity.handle(rowConfigEntity);
                    RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                    return e6a.a;
                } finally {
                    RowConfigDao_Impl.this.__db.endTransaction();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object deleteAllNonSystemRowsForProfile(final String str, final String str2, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.23
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfDeleteAllNonSystemRowsForProfile.acquire();
                pe9VarAcquire.bindString(1, str);
                pe9VarAcquire.bindString(2, str2);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfDeleteAllNonSystemRowsForProfile.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object deleteAllNonSystemRowsForScreen(final String str, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.29
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfDeleteAllNonSystemRowsForScreen.acquire();
                pe9VarAcquire.bindString(1, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfDeleteAllNonSystemRowsForScreen.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object deleteAllRows(Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.35
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfDeleteAllRows.acquire();
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfDeleteAllRows.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object deleteAllRowsForProfile(final String str, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.24
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfDeleteAllRowsForProfile.acquire();
                pe9VarAcquire.bindString(1, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfDeleteAllRowsForProfile.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object deleteNonSystemRow(final String str, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.28
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfDeleteNonSystemRow.acquire();
                pe9VarAcquire.bindString(1, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfDeleteNonSystemRow.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object deleteOtherTypeCatalogRows(Continuation<? super Integer> continuation) {
        return mk1.b(this.__db, new Callable<Integer>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.34
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public Integer call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfDeleteOtherTypeCatalogRows.acquire();
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        Integer numValueOf = Integer.valueOf(pe9VarAcquire.executeUpdateDelete());
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return numValueOf;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfDeleteOtherTypeCatalogRows.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object deleteRowsByDataSourcePrefix(final String str, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.33
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfDeleteRowsByDataSourcePrefix.acquire();
                pe9VarAcquire.bindString(1, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfDeleteRowsByDataSourcePrefix.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object fixTraktListAuthRequirement(Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.30
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfFixTraktListAuthRequirement.acquire();
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfFixTraktListAuthRequirement.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getAllRowIds(Continuation<? super List<String>> continuation) {
        final p58 p58VarD = p58.d(0, "SELECT id FROM row_config");
        return mk1.c(this.__db, false, new CancellationSignal(), new Callable<List<String>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.50
            @Override // java.util.concurrent.Callable
            @vo6
            public List<String> call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        arrayList.add(cursorB.getString(0));
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                    p58VarD.release();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getAllRowIdsForProfile(String str, Continuation<? super List<String>> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT id FROM row_config WHERE profileSlug = ?");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<List<String>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.41
            @Override // java.util.concurrent.Callable
            @vo6
            public List<String> call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        arrayList.add(cursorB.getString(0));
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                    p58VarD.release();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public j43<List<RowConfigEntity>> getAllRowsForProfile(String str, String str2) {
        final p58 p58VarD = p58.d(2, "SELECT * FROM row_config WHERE profileSlug = ? AND screenType = ? ORDER BY position ASC");
        p58VarD.bindString(1, str);
        p58VarD.bindString(2, str2);
        return mk1.a(this.__db, false, new String[]{"row_config"}, new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.37
            public void finalize() {
                p58VarD.release();
            }

            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str3;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    int iB2 = yn1.b(cursorB, "profileSlug");
                    int iB3 = yn1.b(cursorB, "screenType");
                    int iB4 = yn1.b(cursorB, "title");
                    int iB5 = yn1.b(cursorB, "rowType");
                    int iB6 = yn1.b(cursorB, "contentType");
                    int iB7 = yn1.b(cursorB, "presentation");
                    int iB8 = yn1.b(cursorB, "dataSourceUrl");
                    int iB9 = yn1.b(cursorB, "defaultPosition");
                    int iB10 = yn1.b(cursorB, "position");
                    int iB11 = yn1.b(cursorB, "enabled");
                    int iB12 = yn1.b(cursorB, "requiresAuth");
                    int iB13 = yn1.b(cursorB, "pageSize");
                    int iB14 = yn1.b(cursorB, "isSystemRow");
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str3 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str3 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str3, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                }
            }
        });
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getAllRowsForProfileDirect(String str, Continuation<? super List<RowConfigEntity>> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT * FROM row_config WHERE profileSlug = ?");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.40
            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                AnonymousClass40 anonymousClass40;
                int iB;
                int iB2;
                int iB3;
                int iB4;
                int iB5;
                int iB6;
                int iB7;
                int iB8;
                int iB9;
                int iB10;
                int iB11;
                int iB12;
                int iB13;
                int iB14;
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str2;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    iB2 = yn1.b(cursorB, "profileSlug");
                    iB3 = yn1.b(cursorB, "screenType");
                    iB4 = yn1.b(cursorB, "title");
                    iB5 = yn1.b(cursorB, "rowType");
                    iB6 = yn1.b(cursorB, "contentType");
                    iB7 = yn1.b(cursorB, "presentation");
                    iB8 = yn1.b(cursorB, "dataSourceUrl");
                    iB9 = yn1.b(cursorB, "defaultPosition");
                    iB10 = yn1.b(cursorB, "position");
                    iB11 = yn1.b(cursorB, "enabled");
                    iB12 = yn1.b(cursorB, "requiresAuth");
                    iB13 = yn1.b(cursorB, "pageSize");
                    iB14 = yn1.b(cursorB, "isSystemRow");
                } catch (Throwable th) {
                    th = th;
                    anonymousClass40 = this;
                }
                try {
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str2 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str2 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str2, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    cursorB.close();
                    p58VarD.release();
                    return arrayList;
                } catch (Throwable th2) {
                    th = th2;
                    anonymousClass40 = this;
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getAllRowsForProfileSync(String str, String str2, Continuation<? super List<RowConfigEntity>> continuation) {
        final p58 p58VarD = p58.d(2, "SELECT * FROM row_config WHERE profileSlug = ? AND screenType = ? ORDER BY position ASC");
        p58VarD.bindString(1, str);
        p58VarD.bindString(2, str2);
        return mk1.c(this.__db, false, new CancellationSignal(), new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.38
            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                AnonymousClass38 anonymousClass38;
                int iB;
                int iB2;
                int iB3;
                int iB4;
                int iB5;
                int iB6;
                int iB7;
                int iB8;
                int iB9;
                int iB10;
                int iB11;
                int iB12;
                int iB13;
                int iB14;
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str3;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    iB2 = yn1.b(cursorB, "profileSlug");
                    iB3 = yn1.b(cursorB, "screenType");
                    iB4 = yn1.b(cursorB, "title");
                    iB5 = yn1.b(cursorB, "rowType");
                    iB6 = yn1.b(cursorB, "contentType");
                    iB7 = yn1.b(cursorB, "presentation");
                    iB8 = yn1.b(cursorB, "dataSourceUrl");
                    iB9 = yn1.b(cursorB, "defaultPosition");
                    iB10 = yn1.b(cursorB, "position");
                    iB11 = yn1.b(cursorB, "enabled");
                    iB12 = yn1.b(cursorB, "requiresAuth");
                    iB13 = yn1.b(cursorB, "pageSize");
                    iB14 = yn1.b(cursorB, "isSystemRow");
                } catch (Throwable th) {
                    th = th;
                    anonymousClass38 = this;
                }
                try {
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str3 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str3 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str3, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    cursorB.close();
                    p58VarD.release();
                    return arrayList;
                } catch (Throwable th2) {
                    th = th2;
                    anonymousClass38 = this;
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public j43<List<RowConfigEntity>> getAllRowsForScreen(String str) {
        final p58 p58VarD = p58.d(1, "SELECT * FROM row_config WHERE screenType = ? ORDER BY position ASC");
        p58VarD.bindString(1, str);
        return mk1.a(this.__db, false, new String[]{"row_config"}, new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.46
            public void finalize() {
                p58VarD.release();
            }

            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str2;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    int iB2 = yn1.b(cursorB, "profileSlug");
                    int iB3 = yn1.b(cursorB, "screenType");
                    int iB4 = yn1.b(cursorB, "title");
                    int iB5 = yn1.b(cursorB, "rowType");
                    int iB6 = yn1.b(cursorB, "contentType");
                    int iB7 = yn1.b(cursorB, "presentation");
                    int iB8 = yn1.b(cursorB, "dataSourceUrl");
                    int iB9 = yn1.b(cursorB, "defaultPosition");
                    int iB10 = yn1.b(cursorB, "position");
                    int iB11 = yn1.b(cursorB, "enabled");
                    int iB12 = yn1.b(cursorB, "requiresAuth");
                    int iB13 = yn1.b(cursorB, "pageSize");
                    int iB14 = yn1.b(cursorB, "isSystemRow");
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str2 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str2 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str2, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                }
            }
        });
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getAllRowsForScreenSync(String str, Continuation<? super List<RowConfigEntity>> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT * FROM row_config WHERE screenType = ? ORDER BY position ASC");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.47
            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                AnonymousClass47 anonymousClass47;
                int iB;
                int iB2;
                int iB3;
                int iB4;
                int iB5;
                int iB6;
                int iB7;
                int iB8;
                int iB9;
                int iB10;
                int iB11;
                int iB12;
                int iB13;
                int iB14;
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str2;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    iB2 = yn1.b(cursorB, "profileSlug");
                    iB3 = yn1.b(cursorB, "screenType");
                    iB4 = yn1.b(cursorB, "title");
                    iB5 = yn1.b(cursorB, "rowType");
                    iB6 = yn1.b(cursorB, "contentType");
                    iB7 = yn1.b(cursorB, "presentation");
                    iB8 = yn1.b(cursorB, "dataSourceUrl");
                    iB9 = yn1.b(cursorB, "defaultPosition");
                    iB10 = yn1.b(cursorB, "position");
                    iB11 = yn1.b(cursorB, "enabled");
                    iB12 = yn1.b(cursorB, "requiresAuth");
                    iB13 = yn1.b(cursorB, "pageSize");
                    iB14 = yn1.b(cursorB, "isSystemRow");
                } catch (Throwable th) {
                    th = th;
                    anonymousClass47 = this;
                }
                try {
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str2 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str2 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str2, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    cursorB.close();
                    p58VarD.release();
                    return arrayList;
                } catch (Throwable th2) {
                    th = th2;
                    anonymousClass47 = this;
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public j43<List<RowConfigEntity>> getEnabledRowsForProfile(String str, String str2) {
        final p58 p58VarD = p58.d(2, "\n        SELECT * FROM row_config\n        WHERE profileSlug = ? AND screenType = ? AND enabled = 1\n        ORDER BY position ASC\n    ");
        p58VarD.bindString(1, str);
        p58VarD.bindString(2, str2);
        return mk1.a(this.__db, false, new String[]{"row_config"}, new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.36
            public void finalize() {
                p58VarD.release();
            }

            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str3;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    int iB2 = yn1.b(cursorB, "profileSlug");
                    int iB3 = yn1.b(cursorB, "screenType");
                    int iB4 = yn1.b(cursorB, "title");
                    int iB5 = yn1.b(cursorB, "rowType");
                    int iB6 = yn1.b(cursorB, "contentType");
                    int iB7 = yn1.b(cursorB, "presentation");
                    int iB8 = yn1.b(cursorB, "dataSourceUrl");
                    int iB9 = yn1.b(cursorB, "defaultPosition");
                    int iB10 = yn1.b(cursorB, "position");
                    int iB11 = yn1.b(cursorB, "enabled");
                    int iB12 = yn1.b(cursorB, "requiresAuth");
                    int iB13 = yn1.b(cursorB, "pageSize");
                    int iB14 = yn1.b(cursorB, "isSystemRow");
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str3 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str3 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str3, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                }
            }
        });
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public j43<List<RowConfigEntity>> getEnabledRowsForScreen(String str) {
        final p58 p58VarD = p58.d(1, "\n        SELECT * FROM row_config\n        WHERE screenType = ? AND enabled = 1\n        ORDER BY position ASC\n    ");
        p58VarD.bindString(1, str);
        return mk1.a(this.__db, false, new String[]{"row_config"}, new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.45
            public void finalize() {
                p58VarD.release();
            }

            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str2;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    int iB2 = yn1.b(cursorB, "profileSlug");
                    int iB3 = yn1.b(cursorB, "screenType");
                    int iB4 = yn1.b(cursorB, "title");
                    int iB5 = yn1.b(cursorB, "rowType");
                    int iB6 = yn1.b(cursorB, "contentType");
                    int iB7 = yn1.b(cursorB, "presentation");
                    int iB8 = yn1.b(cursorB, "dataSourceUrl");
                    int iB9 = yn1.b(cursorB, "defaultPosition");
                    int iB10 = yn1.b(cursorB, "position");
                    int iB11 = yn1.b(cursorB, "enabled");
                    int iB12 = yn1.b(cursorB, "requiresAuth");
                    int iB13 = yn1.b(cursorB, "pageSize");
                    int iB14 = yn1.b(cursorB, "isSystemRow");
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str2 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str2 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str2, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                }
            }
        });
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getRowById(String str, Continuation<? super RowConfigEntity> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT * FROM row_config WHERE id = ? LIMIT 1");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<RowConfigEntity>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.48
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @rq6
            public RowConfigEntity call() throws Exception {
                int iB;
                int iB2;
                int iB3;
                int iB4;
                int iB5;
                int iB6;
                int iB7;
                int iB8;
                int iB9;
                int iB10;
                int iB11;
                int iB12;
                int iB13;
                int iB14;
                AnonymousClass48 anonymousClass48 = this;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    iB2 = yn1.b(cursorB, "profileSlug");
                    iB3 = yn1.b(cursorB, "screenType");
                    iB4 = yn1.b(cursorB, "title");
                    iB5 = yn1.b(cursorB, "rowType");
                    iB6 = yn1.b(cursorB, "contentType");
                    iB7 = yn1.b(cursorB, "presentation");
                    iB8 = yn1.b(cursorB, "dataSourceUrl");
                    iB9 = yn1.b(cursorB, "defaultPosition");
                    iB10 = yn1.b(cursorB, "position");
                    iB11 = yn1.b(cursorB, "enabled");
                    iB12 = yn1.b(cursorB, "requiresAuth");
                    iB13 = yn1.b(cursorB, "pageSize");
                    iB14 = yn1.b(cursorB, "isSystemRow");
                } catch (Throwable th) {
                    th = th;
                }
                try {
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    RowConfigEntity rowConfigEntity = null;
                    if (cursorB.moveToFirst()) {
                        rowConfigEntity = new RowConfigEntity(cursorB.getString(iB), cursorB.getString(iB2), cursorB.getString(iB3), cursorB.getString(iB4), cursorB.getString(iB5), cursorB.isNull(iB6) ? null : cursorB.getString(iB6), cursorB.getString(iB7), cursorB.isNull(iB8) ? null : cursorB.getString(iB8), cursorB.getInt(iB9), cursorB.getInt(iB10), cursorB.getInt(iB11) != 0, cursorB.getInt(iB12) != 0, cursorB.getInt(iB13), cursorB.getInt(iB14) != 0, cursorB.isNull(iB15) ? null : cursorB.getString(iB15), cursorB.isNull(iB16) ? null : cursorB.getString(iB16), cursorB.isNull(iB17) ? null : cursorB.getString(iB17));
                    }
                    cursorB.close();
                    p58VarD.release();
                    return rowConfigEntity;
                } catch (Throwable th2) {
                    th = th2;
                    anonymousClass48 = this;
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getRowCountForProfile(String str, String str2, Continuation<? super Integer> continuation) {
        final p58 p58VarD = p58.d(2, "SELECT COUNT(*) FROM row_config WHERE profileSlug = ? AND screenType = ?");
        p58VarD.bindString(1, str);
        p58VarD.bindString(2, str2);
        return mk1.c(this.__db, false, new CancellationSignal(), new Callable<Integer>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.42
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public Integer call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iValueOf = cursorB.moveToFirst() ? Integer.valueOf(cursorB.getInt(0)) : 0;
                    cursorB.close();
                    p58VarD.release();
                    return iValueOf;
                } catch (Throwable th) {
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getRowCountForProfileTotal(String str, Continuation<? super Integer> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT COUNT(*) FROM row_config WHERE profileSlug = ?");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<Integer>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.43
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public Integer call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iValueOf = cursorB.moveToFirst() ? Integer.valueOf(cursorB.getInt(0)) : 0;
                    cursorB.close();
                    p58VarD.release();
                    return iValueOf;
                } catch (Throwable th) {
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getRowCountForScreen(String str, Continuation<? super Integer> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT COUNT(*) FROM row_config WHERE screenType = ?");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<Integer>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.51
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public Integer call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iValueOf = cursorB.moveToFirst() ? Integer.valueOf(cursorB.getInt(0)) : 0;
                    cursorB.close();
                    p58VarD.release();
                    return iValueOf;
                } catch (Throwable th) {
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getRowIdsForProfile(String str, String str2, Continuation<? super List<String>> continuation) {
        final p58 p58VarD = p58.d(2, "SELECT id FROM row_config WHERE profileSlug = ? AND screenType = ?");
        p58VarD.bindString(1, str);
        p58VarD.bindString(2, str2);
        return mk1.c(this.__db, false, new CancellationSignal(), new Callable<List<String>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.39
            @Override // java.util.concurrent.Callable
            @vo6
            public List<String> call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        arrayList.add(cursorB.getString(0));
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                    p58VarD.release();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getRowIdsForScreen(String str, Continuation<? super List<String>> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT id FROM row_config WHERE screenType = ?");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<List<String>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.49
            @Override // java.util.concurrent.Callable
            @vo6
            public List<String> call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        arrayList.add(cursorB.getString(0));
                    }
                    return arrayList;
                } finally {
                    cursorB.close();
                    p58VarD.release();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getRowsByDataSourcePrefix(String str, Continuation<? super List<RowConfigEntity>> continuation) {
        final p58 p58VarD = p58.d(1, "SELECT * FROM row_config WHERE dataSourceUrl LIKE ? || '%'");
        return mk1.c(this.__db, false, vw2.f(p58VarD, 1, str), new Callable<List<RowConfigEntity>>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.52
            @Override // java.util.concurrent.Callable
            @vo6
            public List<RowConfigEntity> call() throws Exception {
                AnonymousClass52 anonymousClass52;
                int iB;
                int iB2;
                int iB3;
                int iB4;
                int iB5;
                int iB6;
                int iB7;
                int iB8;
                int iB9;
                int iB10;
                int iB11;
                int iB12;
                int iB13;
                int iB14;
                boolean z;
                int i;
                int i2;
                String string;
                int i3;
                int i4;
                String str2;
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    iB2 = yn1.b(cursorB, "profileSlug");
                    iB3 = yn1.b(cursorB, "screenType");
                    iB4 = yn1.b(cursorB, "title");
                    iB5 = yn1.b(cursorB, "rowType");
                    iB6 = yn1.b(cursorB, "contentType");
                    iB7 = yn1.b(cursorB, "presentation");
                    iB8 = yn1.b(cursorB, "dataSourceUrl");
                    iB9 = yn1.b(cursorB, "defaultPosition");
                    iB10 = yn1.b(cursorB, "position");
                    iB11 = yn1.b(cursorB, "enabled");
                    iB12 = yn1.b(cursorB, "requiresAuth");
                    iB13 = yn1.b(cursorB, "pageSize");
                    iB14 = yn1.b(cursorB, "isSystemRow");
                } catch (Throwable th) {
                    th = th;
                    anonymousClass52 = this;
                }
                try {
                    int iB15 = yn1.b(cursorB, "sortBy");
                    int iB16 = yn1.b(cursorB, "sortHow");
                    int iB17 = yn1.b(cursorB, "titleResKey");
                    int i5 = iB14;
                    ArrayList arrayList = new ArrayList(cursorB.getCount());
                    while (cursorB.moveToNext()) {
                        String string2 = cursorB.getString(iB);
                        String string3 = cursorB.getString(iB2);
                        String string4 = cursorB.getString(iB3);
                        String string5 = cursorB.getString(iB4);
                        String string6 = cursorB.getString(iB5);
                        String string7 = cursorB.isNull(iB6) ? null : cursorB.getString(iB6);
                        String string8 = cursorB.getString(iB7);
                        String string9 = cursorB.isNull(iB8) ? null : cursorB.getString(iB8);
                        int i6 = cursorB.getInt(iB9);
                        int i7 = cursorB.getInt(iB10);
                        boolean z2 = true;
                        if (cursorB.getInt(iB11) != 0) {
                            z = true;
                        } else {
                            z = true;
                            z2 = false;
                        }
                        boolean z3 = cursorB.getInt(iB12) != 0 ? z : false;
                        int i8 = cursorB.getInt(iB13);
                        int i9 = i5;
                        int i10 = iB15;
                        int i11 = iB;
                        boolean z4 = cursorB.getInt(i9) != 0;
                        if (cursorB.isNull(i10)) {
                            int i12 = iB16;
                            i = i10;
                            i2 = i12;
                            string = null;
                        } else {
                            int i13 = iB16;
                            i = i10;
                            i2 = i13;
                            string = cursorB.getString(i10);
                        }
                        if (cursorB.isNull(i2)) {
                            int i14 = iB17;
                            i3 = i2;
                            i4 = i14;
                            str2 = null;
                        } else {
                            String string10 = cursorB.getString(i2);
                            int i15 = iB17;
                            i3 = i2;
                            i4 = i15;
                            str2 = string10;
                        }
                        int i16 = i4;
                        arrayList.add(new RowConfigEntity(string2, string3, string4, string5, string6, string7, string8, string9, i6, i7, z2, z3, i8, z4, string, str2, cursorB.isNull(i4) ? null : cursorB.getString(i4)));
                        iB = i11;
                        iB15 = i;
                        iB16 = i3;
                        iB17 = i16;
                        i5 = i9;
                    }
                    cursorB.close();
                    p58VarD.release();
                    return arrayList;
                } catch (Throwable th2) {
                    th = th2;
                    anonymousClass52 = this;
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object getTotalRowCount(Continuation<? super Integer> continuation) {
        final p58 p58VarD = p58.d(0, "SELECT COUNT(*) FROM row_config");
        return mk1.c(this.__db, false, new CancellationSignal(), new Callable<Integer>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.44
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public Integer call() throws Exception {
                Cursor cursorB = sp1.b(RowConfigDao_Impl.this.__db, p58VarD, false);
                try {
                    int iValueOf = cursorB.moveToFirst() ? Integer.valueOf(cursorB.getInt(0)) : 0;
                    cursorB.close();
                    p58VarD.release();
                    return iValueOf;
                } catch (Throwable th) {
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object insert(final RowConfigEntity rowConfigEntity, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.19
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                RowConfigDao_Impl.this.__db.beginTransaction();
                try {
                    RowConfigDao_Impl.this.__insertionAdapterOfRowConfigEntity.insert(rowConfigEntity);
                    RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                    return e6a.a;
                } finally {
                    RowConfigDao_Impl.this.__db.endTransaction();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object insertAll(final List<RowConfigEntity> list, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.18
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                RowConfigDao_Impl.this.__db.beginTransaction();
                try {
                    RowConfigDao_Impl.this.__insertionAdapterOfRowConfigEntity.insert((Iterable) list);
                    RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                    return e6a.a;
                } finally {
                    RowConfigDao_Impl.this.__db.endTransaction();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object replaceRowsForProfiles(List<String> list, List<RowConfigEntity> list2, Continuation<? super e6a> continuation) {
        return n58.a(this.__db, new k00(this, list, list2, 5), continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object resetProfileScreenPositionsAndEnabled(final String str, final String str2, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.22
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfResetProfileScreenPositionsAndEnabled.acquire();
                pe9VarAcquire.bindString(1, str);
                pe9VarAcquire.bindString(2, str2);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfResetProfileScreenPositionsAndEnabled.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object resetScreenPositionsAndEnabled(final String str, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.27
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfResetScreenPositionsAndEnabled.acquire();
                pe9VarAcquire.bindString(1, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfResetScreenPositionsAndEnabled.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object setRowEnabled(final String str, final boolean z, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.25
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfSetRowEnabled.acquire();
                pe9VarAcquire.bindLong(1, z ? 1L : 0L);
                pe9VarAcquire.bindString(2, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfSetRowEnabled.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object updateMultiplePositions(List<q07<String, Integer>> list, Continuation<? super e6a> continuation) {
        return n58.a(this.__db, new q2(this, list, 14), continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object updateRow(final RowConfigEntity rowConfigEntity, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.21
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                RowConfigDao_Impl.this.__db.beginTransaction();
                try {
                    RowConfigDao_Impl.this.__updateAdapterOfRowConfigEntity.handle(rowConfigEntity);
                    RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                    return e6a.a;
                } finally {
                    RowConfigDao_Impl.this.__db.endTransaction();
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object updateRowPosition(final String str, final int i, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.26
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfUpdateRowPosition.acquire();
                pe9VarAcquire.bindLong(1, i);
                pe9VarAcquire.bindString(2, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfUpdateRowPosition.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.RowConfigDao
    public Object updateSort(final String str, final String str2, final String str3, Continuation<? super e6a> continuation) {
        return mk1.b(this.__db, new Callable<e6a>() { // from class: com.strmr.ps.data.local.dao.RowConfigDao_Impl.32
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @vo6
            public e6a call() throws Exception {
                pe9 pe9VarAcquire = RowConfigDao_Impl.this.__preparedStmtOfUpdateSort.acquire();
                String str4 = str2;
                if (str4 == null) {
                    pe9VarAcquire.bindNull(1);
                } else {
                    pe9VarAcquire.bindString(1, str4);
                }
                String str5 = str3;
                if (str5 == null) {
                    pe9VarAcquire.bindNull(2);
                } else {
                    pe9VarAcquire.bindString(2, str5);
                }
                pe9VarAcquire.bindString(3, str);
                try {
                    RowConfigDao_Impl.this.__db.beginTransaction();
                    try {
                        pe9VarAcquire.executeUpdateDelete();
                        RowConfigDao_Impl.this.__db.setTransactionSuccessful();
                        return e6a.a;
                    } finally {
                        RowConfigDao_Impl.this.__db.endTransaction();
                    }
                } finally {
                    RowConfigDao_Impl.this.__preparedStmtOfUpdateSort.release(pe9VarAcquire);
                }
            }
        }, continuation);
    }
}
