b$e.smali

.class public Lse/b$e;
.super Ljava/lang/Object;
.source "UserProfileDao_Impl.java"

# interfaces
.implements Ljava/util/concurrent/Callable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lse/b;->b([Lcom/shopee/foody/driver/user/model/UserProfile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/concurrent/Callable<",
        "Lkotlin/Unit;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic a:[Lcom/shopee/foody/driver/user/model/UserProfile;

.field public final synthetic b:Lse/b;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>(Lse/b;[Lcom/shopee/foody/driver/user/model/UserProfile;)V
    .registers 3

    iput-object p1, p0, Lse/b$e;->b:Lse/b;

    iput-object p2, p0, Lse/b$e;->a:[Lcom/shopee/foody/driver/user/model/UserProfile;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public bridge synthetic call()Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    invoke-virtual {p0}, Lse/b$e;->call()Lkotlin/Unit;

    move-result-object v0

    return-object v0
.end method

.method public call()Lkotlin/Unit;
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    iget-object v0, p0, Lse/b$e;->b:Lse/b;

    invoke-static {v0}, Lse/b;->a(Lse/b;)Landroidx/room/RoomDatabase;

    move-result-object v0

    invoke-virtual {v0}, Landroidx/room/RoomDatabase;->beginTransaction()V

    :try_start_9
    iget-object v0, p0, Lse/b$e;->b:Lse/b;

    invoke-static {v0}, Lse/b;->b(Lse/b;)Landroidx/room/EntityInsertionAdapter;

    move-result-object v0

    iget-object v1, p0, Lse/b$e;->a:[Lcom/shopee/foody/driver/user/model/UserProfile;

    invoke-virtual {v0, v1}, Landroidx/room/EntityInsertionAdapter;->insert([Ljava/lang/Object;)V

    iget-object v0, p0, Lse/b$e;->b:Lse/b;

    invoke-static {v0}, Lse/b;->a(Lse/b;)Landroidx/room/RoomDatabase;

    move-result-object v0

    invoke-virtual {v0}, Landroidx/room/RoomDatabase;->setTransactionSuccessful()V

    sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
    :try_end_1f
    .catchall {:try_start_9 .. :try_end_1f} :catchall_29

    iget-object v1, p0, Lse/b$e;->b:Lse/b;

    invoke-static {v1}, Lse/b;->a(Lse/b;)Landroidx/room/RoomDatabase;

    move-result-object v1

    invoke-virtual {v1}, Landroidx/room/RoomDatabase;->endTransaction()V

    return-object v0

    :catchall_29
    move-exception v0

    iget-object v1, p0, Lse/b$e;->b:Lse/b;

    invoke-static {v1}, Lse/b;->a(Lse/b;)Landroidx/room/RoomDatabase;

    move-result-object v1

    invoke-virtual {v1}, Landroidx/room/RoomDatabase;->endTransaction()V

    throw v0
.end method