package com.optix.android.di;

import com.optix.android.data.local.AppDatabase;
import com.optix.android.data.local.AuditLogDao;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.annotation.processing.Generated;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava",
    "cast",
    "deprecation"
})
public final class DatabaseModule_ProvideAuditLogDaoFactory implements Factory<AuditLogDao> {
  private final Provider<AppDatabase> dbProvider;

  public DatabaseModule_ProvideAuditLogDaoFactory(Provider<AppDatabase> dbProvider) {
    this.dbProvider = dbProvider;
  }

  @Override
  public AuditLogDao get() {
    return provideAuditLogDao(dbProvider.get());
  }

  public static DatabaseModule_ProvideAuditLogDaoFactory create(Provider<AppDatabase> dbProvider) {
    return new DatabaseModule_ProvideAuditLogDaoFactory(dbProvider);
  }

  public static AuditLogDao provideAuditLogDao(AppDatabase db) {
    return Preconditions.checkNotNullFromProvides(DatabaseModule.INSTANCE.provideAuditLogDao(db));
  }
}
