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

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

/* JADX INFO: compiled from: AddStopToHistoryUseCase.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\u0002\b\u0007\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\u0016\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\tH\u0086B¢\u0006\u0002\u0010\nR\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Lcom/sistemasolton/itranvias/home/domain/usecase/AddStopToHistoryUseCase;", "", "repository", "Lcom/sistemasolton/itranvias/home/domain/repository/StopHistoryRepository;", "<init>", "(Lcom/sistemasolton/itranvias/home/domain/repository/StopHistoryRepository;)V", "invoke", "", "stopCode", "", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class AddStopToHistoryUseCase {
    public static final int $stable = 8;
    private final StopHistoryRepository repository;

    public AddStopToHistoryUseCase(StopHistoryRepository repository) {
        Intrinsics.checkNotNullParameter(repository, "repository");
        this.repository = repository;
    }

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