package com.sistemasolton.itranvias.home.domain.usecase.stopfavorites;

import com.sistemasolton.itranvias.home.domain.repository.StopFavoriteRepository;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: UpdateStopAliasUseCase.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J \u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\t2\b\u0010\n\u001a\u0004\u0018\u00010\tH\u0086B¢\u0006\u0002\u0010\u000bR\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\f"}, d2 = {"Lcom/sistemasolton/itranvias/home/domain/usecase/stopfavorites/UpdateStopAliasUseCase;", "", "repository", "Lcom/sistemasolton/itranvias/home/domain/repository/StopFavoriteRepository;", "<init>", "(Lcom/sistemasolton/itranvias/home/domain/repository/StopFavoriteRepository;)V", "invoke", "", "stopCode", "", "alias", "(Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class UpdateStopAliasUseCase {
    public static final int $stable = 8;
    private final StopFavoriteRepository repository;

    public UpdateStopAliasUseCase(StopFavoriteRepository repository) {
        Intrinsics.checkNotNullParameter(repository, "repository");
        this.repository = repository;
    }

    public final Object invoke(String str, String str2, Continuation<? super Unit> continuation) {
        Object objUpdateStopAlias = this.repository.updateStopAlias(str, str2, continuation);
        return objUpdateStopAlias == IntrinsicsKt.getCOROUTINE_SUSPENDED() ? objUpdateStopAlias : Unit.INSTANCE;
    }
}