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.entity.PlayerSettings;
import defpackage.e6a;
import defpackage.j43;
import defpackage.mk1;
import defpackage.oq8;
import defpackage.p58;
import defpackage.pe9;
import defpackage.rq6;
import defpackage.sp1;
import defpackage.vo6;
import defpackage.wm2;
import defpackage.xm2;
import defpackage.yn1;
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 PlayerSettingsDao_Impl implements PlayerSettingsDao {
    private final RoomDatabase __db;
    private final xm2<PlayerSettings> __insertionAdapterOfPlayerSettings;
    private final oq8 __preparedStmtOfUpdateAudioDelay;
    private final oq8 __preparedStmtOfUpdateAutoFramerateEnabled;
    private final oq8 __preparedStmtOfUpdateAutoplayCountdown;
    private final oq8 __preparedStmtOfUpdateAutoplayNextEpisode;
    private final oq8 __preparedStmtOfUpdateDecoderMode;
    private final oq8 __preparedStmtOfUpdateDefaultAudioLanguage;
    private final oq8 __preparedStmtOfUpdateDefaultSubtitleLanguage;
    private final oq8 __preparedStmtOfUpdateForwardSeekDuration;
    private final oq8 __preparedStmtOfUpdateRewindSeekDuration;
    private final oq8 __preparedStmtOfUpdateSkipDuration;
    private final oq8 __preparedStmtOfUpdateSubtitleBackgroundColor;
    private final oq8 __preparedStmtOfUpdateSubtitleBackgroundOpacity;
    private final oq8 __preparedStmtOfUpdateSubtitleColor;
    private final oq8 __preparedStmtOfUpdateSubtitleDelay;
    private final oq8 __preparedStmtOfUpdateSubtitleFont;
    private final oq8 __preparedStmtOfUpdateSubtitleOffsetPercent;
    private final oq8 __preparedStmtOfUpdateSubtitlePosition;
    private final oq8 __preparedStmtOfUpdateSubtitleSize;
    private final oq8 __preparedStmtOfUpdateSubtitleSizePercent;
    private final oq8 __preparedStmtOfUpdateSubtitlesEnabledByDefault;
    private final oq8 __preparedStmtOfUpdateTunnelingEnabled;
    private final oq8 __preparedStmtOfUpdateTvKeySeekDuration;
    private final oq8 __preparedStmtOfUpdateTvScrubberSeekDuration;
    private final wm2<PlayerSettings> __updateAdapterOfPlayerSettings;

    public PlayerSettingsDao_Impl(@vo6 RoomDatabase roomDatabase) {
        this.__db = roomDatabase;
        this.__insertionAdapterOfPlayerSettings = new xm2<PlayerSettings>(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.1
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "INSERT OR REPLACE INTO `player_settings` (`id`,`skipDurationSeconds`,`forwardSeekSeconds`,`rewindSeekSeconds`,`tvKeySeekSeconds`,`tvScrubberSeekSeconds`,`defaultSubtitleLanguage`,`subtitlesEnabledByDefault`,`defaultAudioLanguage`,`subtitleDelayMs`,`audioDelayMs`,`autoplayNextEpisode`,`rememberPosition`,`autoplayCountdownSeconds`,`decoderMode`,`tunnelingEnabled`,`autoFramerateEnabled`,`minBufferMs`,`maxBufferMs`,`bufferForPlaybackMs`,`bufferForPlaybackAfterRebufferMs`,`subtitleSize`,`subtitleColor`,`subtitlePosition`,`subtitleSizePercent`,`subtitleOffsetPercent`,`subtitleFont`,`subtitleBackgroundColor`,`subtitleBackgroundOpacity`,`proxyEnabled`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
            }

            @Override // defpackage.xm2
            public void bind(@vo6 pe9 pe9Var, @vo6 PlayerSettings playerSettings) {
                pe9Var.bindLong(1, playerSettings.getId());
                pe9Var.bindLong(2, playerSettings.getSkipDurationSeconds());
                pe9Var.bindLong(3, playerSettings.getForwardSeekSeconds());
                pe9Var.bindLong(4, playerSettings.getRewindSeekSeconds());
                pe9Var.bindLong(5, playerSettings.getTvKeySeekSeconds());
                pe9Var.bindLong(6, playerSettings.getTvScrubberSeekSeconds());
                if (playerSettings.getDefaultSubtitleLanguage() == null) {
                    pe9Var.bindNull(7);
                } else {
                    pe9Var.bindString(7, playerSettings.getDefaultSubtitleLanguage());
                }
                pe9Var.bindLong(8, playerSettings.getSubtitlesEnabledByDefault() ? 1L : 0L);
                if (playerSettings.getDefaultAudioLanguage() == null) {
                    pe9Var.bindNull(9);
                } else {
                    pe9Var.bindString(9, playerSettings.getDefaultAudioLanguage());
                }
                pe9Var.bindLong(10, playerSettings.getSubtitleDelayMs());
                pe9Var.bindLong(11, playerSettings.getAudioDelayMs());
                pe9Var.bindLong(12, playerSettings.getAutoplayNextEpisode() ? 1L : 0L);
                pe9Var.bindLong(13, playerSettings.getRememberPosition() ? 1L : 0L);
                pe9Var.bindLong(14, playerSettings.getAutoplayCountdownSeconds());
                pe9Var.bindString(15, playerSettings.getDecoderMode());
                pe9Var.bindLong(16, playerSettings.getTunnelingEnabled() ? 1L : 0L);
                pe9Var.bindLong(17, playerSettings.getAutoFramerateEnabled() ? 1L : 0L);
                pe9Var.bindLong(18, playerSettings.getMinBufferMs());
                pe9Var.bindLong(19, playerSettings.getMaxBufferMs());
                pe9Var.bindLong(20, playerSettings.getBufferForPlaybackMs());
                pe9Var.bindLong(21, playerSettings.getBufferForPlaybackAfterRebufferMs());
                pe9Var.bindString(22, playerSettings.getSubtitleSize());
                pe9Var.bindString(23, playerSettings.getSubtitleColor());
                pe9Var.bindString(24, playerSettings.getSubtitlePosition());
                pe9Var.bindLong(25, playerSettings.getSubtitleSizePercent());
                pe9Var.bindLong(26, playerSettings.getSubtitleOffsetPercent());
                pe9Var.bindString(27, playerSettings.getSubtitleFont());
                pe9Var.bindString(28, playerSettings.getSubtitleBackgroundColor());
                pe9Var.bindLong(29, playerSettings.getSubtitleBackgroundOpacity());
                pe9Var.bindLong(30, playerSettings.getProxyEnabled() ? 1L : 0L);
            }
        };
        this.__updateAdapterOfPlayerSettings = new wm2<PlayerSettings>(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.2
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE OR ABORT `player_settings` SET `id` = ?,`skipDurationSeconds` = ?,`forwardSeekSeconds` = ?,`rewindSeekSeconds` = ?,`tvKeySeekSeconds` = ?,`tvScrubberSeekSeconds` = ?,`defaultSubtitleLanguage` = ?,`subtitlesEnabledByDefault` = ?,`defaultAudioLanguage` = ?,`subtitleDelayMs` = ?,`audioDelayMs` = ?,`autoplayNextEpisode` = ?,`rememberPosition` = ?,`autoplayCountdownSeconds` = ?,`decoderMode` = ?,`tunnelingEnabled` = ?,`autoFramerateEnabled` = ?,`minBufferMs` = ?,`maxBufferMs` = ?,`bufferForPlaybackMs` = ?,`bufferForPlaybackAfterRebufferMs` = ?,`subtitleSize` = ?,`subtitleColor` = ?,`subtitlePosition` = ?,`subtitleSizePercent` = ?,`subtitleOffsetPercent` = ?,`subtitleFont` = ?,`subtitleBackgroundColor` = ?,`subtitleBackgroundOpacity` = ?,`proxyEnabled` = ? WHERE `id` = ?";
            }

            @Override // defpackage.wm2
            public void bind(@vo6 pe9 pe9Var, @vo6 PlayerSettings playerSettings) {
                pe9Var.bindLong(1, playerSettings.getId());
                pe9Var.bindLong(2, playerSettings.getSkipDurationSeconds());
                pe9Var.bindLong(3, playerSettings.getForwardSeekSeconds());
                pe9Var.bindLong(4, playerSettings.getRewindSeekSeconds());
                pe9Var.bindLong(5, playerSettings.getTvKeySeekSeconds());
                pe9Var.bindLong(6, playerSettings.getTvScrubberSeekSeconds());
                if (playerSettings.getDefaultSubtitleLanguage() == null) {
                    pe9Var.bindNull(7);
                } else {
                    pe9Var.bindString(7, playerSettings.getDefaultSubtitleLanguage());
                }
                pe9Var.bindLong(8, playerSettings.getSubtitlesEnabledByDefault() ? 1L : 0L);
                if (playerSettings.getDefaultAudioLanguage() == null) {
                    pe9Var.bindNull(9);
                } else {
                    pe9Var.bindString(9, playerSettings.getDefaultAudioLanguage());
                }
                pe9Var.bindLong(10, playerSettings.getSubtitleDelayMs());
                pe9Var.bindLong(11, playerSettings.getAudioDelayMs());
                pe9Var.bindLong(12, playerSettings.getAutoplayNextEpisode() ? 1L : 0L);
                pe9Var.bindLong(13, playerSettings.getRememberPosition() ? 1L : 0L);
                pe9Var.bindLong(14, playerSettings.getAutoplayCountdownSeconds());
                pe9Var.bindString(15, playerSettings.getDecoderMode());
                pe9Var.bindLong(16, playerSettings.getTunnelingEnabled() ? 1L : 0L);
                pe9Var.bindLong(17, playerSettings.getAutoFramerateEnabled() ? 1L : 0L);
                pe9Var.bindLong(18, playerSettings.getMinBufferMs());
                pe9Var.bindLong(19, playerSettings.getMaxBufferMs());
                pe9Var.bindLong(20, playerSettings.getBufferForPlaybackMs());
                pe9Var.bindLong(21, playerSettings.getBufferForPlaybackAfterRebufferMs());
                pe9Var.bindString(22, playerSettings.getSubtitleSize());
                pe9Var.bindString(23, playerSettings.getSubtitleColor());
                pe9Var.bindString(24, playerSettings.getSubtitlePosition());
                pe9Var.bindLong(25, playerSettings.getSubtitleSizePercent());
                pe9Var.bindLong(26, playerSettings.getSubtitleOffsetPercent());
                pe9Var.bindString(27, playerSettings.getSubtitleFont());
                pe9Var.bindString(28, playerSettings.getSubtitleBackgroundColor());
                pe9Var.bindLong(29, playerSettings.getSubtitleBackgroundOpacity());
                pe9Var.bindLong(30, playerSettings.getProxyEnabled() ? 1L : 0L);
                pe9Var.bindLong(31, playerSettings.getId());
            }
        };
        this.__preparedStmtOfUpdateSkipDuration = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.3
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET skipDurationSeconds = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateForwardSeekDuration = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.4
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET forwardSeekSeconds = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateRewindSeekDuration = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.5
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET rewindSeekSeconds = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateTvKeySeekDuration = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.6
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET tvKeySeekSeconds = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateTvScrubberSeekDuration = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.7
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET tvScrubberSeekSeconds = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleDelay = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.8
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleDelayMs = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateAudioDelay = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.9
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET audioDelayMs = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateAutoplayNextEpisode = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.10
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET autoplayNextEpisode = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateDefaultSubtitleLanguage = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.11
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET defaultSubtitleLanguage = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateDefaultAudioLanguage = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.12
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET defaultAudioLanguage = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateAutoplayCountdown = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.13
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET autoplayCountdownSeconds = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateDecoderMode = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.14
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET decoderMode = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateTunnelingEnabled = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.15
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET tunnelingEnabled = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateAutoFramerateEnabled = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.16
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET autoFramerateEnabled = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleSize = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.17
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleSize = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleColor = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.18
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleColor = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitlePosition = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.19
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitlePosition = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleSizePercent = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.20
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleSizePercent = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleOffsetPercent = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.21
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleOffsetPercent = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleFont = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.22
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleFont = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleBackgroundColor = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.23
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleBackgroundColor = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitleBackgroundOpacity = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.24
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitleBackgroundOpacity = ? WHERE id = 1";
            }
        };
        this.__preparedStmtOfUpdateSubtitlesEnabledByDefault = new oq8(roomDatabase) { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.25
            @Override // defpackage.oq8
            @vo6
            public String createQuery() {
                return "UPDATE player_settings SET subtitlesEnabledByDefault = ? WHERE id = 1";
            }
        };
    }

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

    @Override // com.strmr.ps.data.local.dao.PlayerSettingsDao
    public Object getSettings(Continuation<? super PlayerSettings> continuation) {
        final p58 p58VarD = p58.d(0, "SELECT * FROM player_settings WHERE id = 1");
        return mk1.c(this.__db, false, new CancellationSignal(), new Callable<PlayerSettings>() { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.51
            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @rq6
            public PlayerSettings 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;
                AnonymousClass51 anonymousClass51 = this;
                Cursor cursorB = sp1.b(PlayerSettingsDao_Impl.this.__db, p58VarD, false);
                try {
                    iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    iB2 = yn1.b(cursorB, "skipDurationSeconds");
                    iB3 = yn1.b(cursorB, "forwardSeekSeconds");
                    iB4 = yn1.b(cursorB, "rewindSeekSeconds");
                    iB5 = yn1.b(cursorB, "tvKeySeekSeconds");
                    iB6 = yn1.b(cursorB, "tvScrubberSeekSeconds");
                    iB7 = yn1.b(cursorB, "defaultSubtitleLanguage");
                    iB8 = yn1.b(cursorB, "subtitlesEnabledByDefault");
                    iB9 = yn1.b(cursorB, "defaultAudioLanguage");
                    iB10 = yn1.b(cursorB, "subtitleDelayMs");
                    iB11 = yn1.b(cursorB, "audioDelayMs");
                    iB12 = yn1.b(cursorB, "autoplayNextEpisode");
                    iB13 = yn1.b(cursorB, "rememberPosition");
                    iB14 = yn1.b(cursorB, "autoplayCountdownSeconds");
                } catch (Throwable th) {
                    th = th;
                }
                try {
                    int iB15 = yn1.b(cursorB, "decoderMode");
                    int iB16 = yn1.b(cursorB, "tunnelingEnabled");
                    int iB17 = yn1.b(cursorB, "autoFramerateEnabled");
                    int iB18 = yn1.b(cursorB, "minBufferMs");
                    int iB19 = yn1.b(cursorB, "maxBufferMs");
                    int iB20 = yn1.b(cursorB, "bufferForPlaybackMs");
                    int iB21 = yn1.b(cursorB, "bufferForPlaybackAfterRebufferMs");
                    int iB22 = yn1.b(cursorB, "subtitleSize");
                    int iB23 = yn1.b(cursorB, "subtitleColor");
                    int iB24 = yn1.b(cursorB, "subtitlePosition");
                    int iB25 = yn1.b(cursorB, "subtitleSizePercent");
                    int iB26 = yn1.b(cursorB, "subtitleOffsetPercent");
                    int iB27 = yn1.b(cursorB, "subtitleFont");
                    int iB28 = yn1.b(cursorB, "subtitleBackgroundColor");
                    int iB29 = yn1.b(cursorB, "subtitleBackgroundOpacity");
                    int iB30 = yn1.b(cursorB, "proxyEnabled");
                    PlayerSettings playerSettings = null;
                    if (cursorB.moveToFirst()) {
                        playerSettings = new PlayerSettings(cursorB.getInt(iB), cursorB.getInt(iB2), cursorB.getInt(iB3), cursorB.getInt(iB4), cursorB.getInt(iB5), cursorB.getInt(iB6), cursorB.isNull(iB7) ? null : cursorB.getString(iB7), cursorB.getInt(iB8) != 0, cursorB.isNull(iB9) ? null : cursorB.getString(iB9), cursorB.getLong(iB10), cursorB.getLong(iB11), cursorB.getInt(iB12) != 0, cursorB.getInt(iB13) != 0, cursorB.getInt(iB14), cursorB.getString(iB15), cursorB.getInt(iB16) != 0, cursorB.getInt(iB17) != 0, cursorB.getInt(iB18), cursorB.getInt(iB19), cursorB.getInt(iB20), cursorB.getInt(iB21), cursorB.getString(iB22), cursorB.getString(iB23), cursorB.getString(iB24), cursorB.getInt(iB25), cursorB.getInt(iB26), cursorB.getString(iB27), cursorB.getString(iB28), cursorB.getInt(iB29), cursorB.getInt(iB30) != 0);
                    }
                    cursorB.close();
                    p58VarD.release();
                    return playerSettings;
                } catch (Throwable th2) {
                    th = th2;
                    anonymousClass51 = this;
                    cursorB.close();
                    p58VarD.release();
                    throw th;
                }
            }
        }, continuation);
    }

    @Override // com.strmr.ps.data.local.dao.PlayerSettingsDao
    public j43<PlayerSettings> getSettingsFlow() {
        final p58 p58VarD = p58.d(0, "SELECT * FROM player_settings WHERE id = 1");
        return mk1.a(this.__db, false, new String[]{"player_settings"}, new Callable<PlayerSettings>() { // from class: com.strmr.ps.data.local.dao.PlayerSettingsDao_Impl.52
            public void finalize() {
                p58VarD.release();
            }

            /* JADX WARN: Can't rename method to resolve collision */
            @Override // java.util.concurrent.Callable
            @rq6
            public PlayerSettings call() throws Exception {
                Cursor cursorB = sp1.b(PlayerSettingsDao_Impl.this.__db, p58VarD, false);
                try {
                    int iB = yn1.b(cursorB, TtmlNode.ATTR_ID);
                    int iB2 = yn1.b(cursorB, "skipDurationSeconds");
                    int iB3 = yn1.b(cursorB, "forwardSeekSeconds");
                    int iB4 = yn1.b(cursorB, "rewindSeekSeconds");
                    int iB5 = yn1.b(cursorB, "tvKeySeekSeconds");
                    int iB6 = yn1.b(cursorB, "tvScrubberSeekSeconds");
                    int iB7 = yn1.b(cursorB, "defaultSubtitleLanguage");
                    int iB8 = yn1.b(cursorB, "subtitlesEnabledByDefault");
                    int iB9 = yn1.b(cursorB, "defaultAudioLanguage");
                    int iB10 = yn1.b(cursorB, "subtitleDelayMs");
                    int iB11 = yn1.b(cursorB, "audioDelayMs");
                    int iB12 = yn1.b(cursorB, "autoplayNextEpisode");
                    int iB13 = yn1.b(cursorB, "rememberPosition");
                    int iB14 = yn1.b(cursorB, "autoplayCountdownSeconds");
                    int iB15 = yn1.b(cursorB, "decoderMode");
                    int iB16 = yn1.b(cursorB, "tunnelingEnabled");
                    int iB17 = yn1.b(cursorB, "autoFramerateEnabled");
                    int iB18 = yn1.b(cursorB, "minBufferMs");
                    int iB19 = yn1.b(cursorB, "maxBufferMs");
                    int iB20 = yn1.b(cursorB, "bufferForPlaybackMs");
                    int iB21 = yn1.b(cursorB, "bufferForPlaybackAfterRebufferMs");
                    int iB22 = yn1.b(cursorB, "subtitleSize");
                    int iB23 = yn1.b(cursorB, "subtitleColor");
                    int iB24 = yn1.b(cursorB, "subtitlePosition");
                    int iB25 = yn1.b(cursorB, "subtitleSizePercent");
                    int iB26 = yn1.b(cursorB, "subtitleOffsetPercent");
                    int iB27 = yn1.b(cursorB, "subtitleFont");
                    int iB28 = yn1.b(cursorB, "subtitleBackgroundColor");
                    int iB29 = yn1.b(cursorB, "subtitleBackgroundOpacity");
                    int iB30 = yn1.b(cursorB, "proxyEnabled");
                    PlayerSettings playerSettings = null;
                    if (cursorB.moveToFirst()) {
                        playerSettings = new PlayerSettings(cursorB.getInt(iB), cursorB.getInt(iB2), cursorB.getInt(iB3), cursorB.getInt(iB4), cursorB.getInt(iB5), cursorB.getInt(iB6), cursorB.isNull(iB7) ? null : cursorB.getString(iB7), cursorB.getInt(iB8) != 0, cursorB.isNull(iB9) ? null : cursorB.getString(iB9), cursorB.getLong(iB10), cursorB.getLong(iB11), cursorB.getInt(iB12) != 0, cursorB.getInt(iB13) != 0, cursorB.getInt(iB14), cursorB.getString(iB15), cursorB.getInt(iB16) != 0, cursorB.getInt(iB17) != 0, cursorB.getInt(iB18), cursorB.getInt(iB19), cursorB.getInt(iB20), cursorB.getInt(iB21), cursorB.getString(iB22), cursorB.getString(iB23), cursorB.getString(iB24), cursorB.getInt(iB25), cursorB.getInt(iB26), cursorB.getString(iB27), cursorB.getString(iB28), cursorB.getInt(iB29), cursorB.getInt(iB30) != 0);
                    }
                    return playerSettings;
                } finally {
                    cursorB.close();
                }
            }
        });
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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