def METHOD_NAME(client: Client, mnemonic: list[str], mismatch: bool = False):
    if client.features.model == "1":
        return do_recover_legacy(client, mnemonic)
    else:
        return do_recover_core(client, mnemonic, mismatch)