package com.bytedance.android.live_settings;

import X.B6m;
import X.Ls2;
import com.bytedance.covode.number.Covode;

public final class SettingsManager$getLongValueInternal$1 extends B6m implements Ls2<Long> {
    public final /* synthetic */ Class $clazz;

    static {
        Covode.recordClassIndex(11196);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public SettingsManager$getLongValueInternal$1(Class cls) {
        super(0);
        this.$clazz = cls;
    }

    public final long invoke() {
        long j;
        String key = DataCenter.getKey(this.$clazz);
        Long l = (Long) DataCenter.getDefaultValue(this.$clazz);
        if (l != null) {
            j = l.longValue();
        } else {
            j = 0;
        }
        return DataCenter.getLongValue(key, j);
    }
}
