package com.google.android.material.appbar; import android.content.Context; import android.util.AttributeSet; import android.view.View; import androidx.coordinatorlayout.widget.CoordinatorLayout; /* loaded from: classes2.dex */ abstract class c extends CoordinatorLayout.b { /* renamed from: a, reason: collision with root package name */ private d f4289a; /* renamed from: b, reason: collision with root package name */ private int f4290b; /* renamed from: c, reason: collision with root package name */ private int f4291c; public c() { this.f4290b = 0; this.f4291c = 0; } public int E() { d dVar = this.f4289a; if (dVar != null) { return dVar.b(); } return 0; } protected void F(CoordinatorLayout coordinatorLayout, View view, int i10) { coordinatorLayout.G(view, i10); } @Override // androidx.coordinatorlayout.widget.CoordinatorLayout.b public boolean l(CoordinatorLayout coordinatorLayout, View view, int i10) { F(coordinatorLayout, view, i10); if (this.f4289a == null) { this.f4289a = new d(view); } this.f4289a.c(); this.f4289a.a(); int i11 = this.f4290b; if (i11 != 0) { this.f4289a.e(i11); this.f4290b = 0; } int i12 = this.f4291c; if (i12 == 0) { return true; } this.f4289a.d(i12); this.f4291c = 0; return true; } public c(Context context, AttributeSet attributeSet) { super(context, attributeSet); this.f4290b = 0; this.f4291c = 0; } }