def METHOD_NAME(
    client: Client, shares: list[str], secret: str, click_info: bool = False
):
    with client:
        IF = InputFlowSlip39AdvancedRecovery(client, shares, click_info=click_info)
        client.set_input_flow(IF.get())
        ret = device.recover(
            client,
            pin_protection=False,
            passphrase_protection=False,
            label="label",
        )
    # Workflow succesfully ended
    assert ret == messages.Success(message="Device recovered")
    assert client.features.initialized is True
    assert client.features.pin_protection is False
    assert client.features.passphrase_protection is False
    assert client.features.backup_type is messages.BackupType.Slip39_Advanced
    assert client.debug.state().mnemonic_secret.hex() == secret