package com.google.common.collect;

import java.util.Iterator;
import java.util.Map;

/* JADX INFO: loaded from: classes2.dex */
public final class c1 extends q1 {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ int f23651b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ c1(Iterator it, int i10) {
        super(it);
        this.f23651b = i10;
    }

    @Override // com.google.common.collect.q1
    public final Object a(Object obj) {
        int i10 = this.f23651b;
        switch (i10) {
            case 0:
                Map.Entry entry = (Map.Entry) obj;
                switch (i10) {
                    case 0:
                        return entry.getKey();
                    default:
                        return entry.getValue();
                }
            default:
                Map.Entry entry2 = (Map.Entry) obj;
                switch (i10) {
                    case 0:
                        return entry2.getKey();
                    default:
                        return entry2.getValue();
                }
        }
    }
}
