b$d.smali

.class public Lse/b$d;
.super Landroidx/room/EntityDeletionOrUpdateAdapter;
.source "UserProfileDao_Impl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lse/b;-><init>(Landroidx/room/RoomDatabase;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/room/EntityDeletionOrUpdateAdapter<",
        "Lcom/shopee/foody/driver/user/model/UserProfile;",
        ">;"
    }
.end annotation


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

    return-void
.end method

.method public constructor <init>(Lse/b;Landroidx/room/RoomDatabase;)V
    .registers 3

    invoke-direct {p0, p2}, Landroidx/room/EntityDeletionOrUpdateAdapter;-><init>(Landroidx/room/RoomDatabase;)V

    return-void
.end method


# virtual methods
.method public a(Landroidx/sqlite/db/SupportSQLiteStatement;Lcom/shopee/foody/driver/user/model/UserProfile;)V
    .registers 6

    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getId()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x1

    if-nez v0, :cond_b

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_12

    :cond_b
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getId()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_12
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getName()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x2

    if-nez v0, :cond_1d

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_24

    :cond_1d
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_24
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getAvatarId()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x3

    if-nez v0, :cond_2f

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_36

    :cond_2f
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getAvatarId()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_36
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getPhone()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x4

    if-nez v0, :cond_41

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_48

    :cond_41
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getPhone()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_48
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getEmail()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x5

    if-nez v0, :cond_53

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_5a

    :cond_53
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getEmail()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_5a
    const/4 v0, 0x6

    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getGender()I

    move-result v1

    int-to-long v1, v1

    invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindLong(IJ)V

    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getState()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x7

    if-nez v0, :cond_6e

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_75

    :cond_6e
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getState()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_75
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getCity()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0x8

    if-nez v0, :cond_81

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_88

    :cond_81
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getCity()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_88
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getVehiclePlateNo()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0x9

    if-nez v0, :cond_94

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_9b

    :cond_94
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getVehiclePlateNo()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_9b
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getBankAccount()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0xa

    if-nez v0, :cond_a7

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_ae

    :cond_a7
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getBankAccount()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_ae
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getEmergencyContactPhone()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0xb

    if-nez v0, :cond_ba

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_c1

    :cond_ba
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getEmergencyContactPhone()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_c1
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getArea_id()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0xc

    if-nez v0, :cond_cd

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_d4

    :cond_cd
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getArea_id()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_d4
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getShopee_account_username()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0xd

    if-nez v0, :cond_e0

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_e7

    :cond_e0
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getShopee_account_username()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_e7
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getId()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0xe

    if-nez v0, :cond_f3

    invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V

    goto :goto_fa

    :cond_f3
    invoke-virtual {p2}, Lcom/shopee/foody/driver/user/model/UserProfile;->getId()Ljava/lang/String;

    move-result-object p2

    invoke-interface {p1, v1, p2}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V

    :goto_fa
    return-void
.end method

.method public bridge synthetic bind(Landroidx/sqlite/db/SupportSQLiteStatement;Ljava/lang/Object;)V
    .registers 3

    check-cast p2, Lcom/shopee/foody/driver/user/model/UserProfile;

    invoke-virtual {p0, p1, p2}, Lse/b$d;->a(Landroidx/sqlite/db/SupportSQLiteStatement;Lcom/shopee/foody/driver/user/model/UserProfile;)V

    return-void
.end method

.method public createQuery()Ljava/lang/String;
    .registers 2

    const-string v0, "UPDATE OR ABORT `profile` SET `id` = ?,`name` = ?,`avatarId` = ?,`phone` = ?,`email` = ?,`gender` = ?,`state` = ?,`city` = ?,`vehiclePlateNo` = ?,`bankAccount` = ?,`emergencyContactPhone` = ?,`area_id` = ?,`shopee_account_username` = ? WHERE `id` = ?"

    return-object v0
.end method