.class public Lr6/a;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lm0/d;


# instance fields
.field public final synthetic a:Lcom/google/android/material/behavior/SwipeDismissBehavior;


# direct methods
.method public constructor <init>(Lcom/google/android/material/behavior/SwipeDismissBehavior;)V
    .registers 2

    iput-object p1, p0, Lr6/a;->a:Lcom/google/android/material/behavior/SwipeDismissBehavior;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/view/View;Lm0/d$a;)Z
    .registers 6

    iget-object p2, p0, Lr6/a;->a:Lcom/google/android/material/behavior/SwipeDismissBehavior;

    invoke-virtual {p2, p1}, Lcom/google/android/material/behavior/SwipeDismissBehavior;->s(Landroid/view/View;)Z

    move-result p2

    const/4 v0, 0x0

    if-eqz p2, :cond_36

    sget-object p2, Ll0/u;->a:Ljava/util/WeakHashMap;

    .line 1
    invoke-static {p1}, Ll0/u$e;->d(Landroid/view/View;)I

    move-result p2

    const/4 v1, 0x1

    if-ne p2, v1, :cond_14

    move p2, v1

    goto :goto_15

    :cond_14
    move p2, v0

    .line 2
    :goto_15
    iget-object v2, p0, Lr6/a;->a:Lcom/google/android/material/behavior/SwipeDismissBehavior;

    iget v2, v2, Lcom/google/android/material/behavior/SwipeDismissBehavior;->c:I

    if-nez v2, :cond_1d

    if-nez p2, :cond_21

    :cond_1d
    if-ne v2, v1, :cond_22

    if-nez p2, :cond_22

    :cond_21
    move v0, v1

    :cond_22
    invoke-virtual {p1}, Landroid/view/View;->getWidth()I

    move-result p2

    if-eqz v0, :cond_29

    neg-int p2, p2

    .line 3
    :cond_29
    invoke-virtual {p1, p2}, Landroid/view/View;->offsetLeftAndRight(I)V

    const/4 p2, 0x0

    .line 4
    invoke-virtual {p1, p2}, Landroid/view/View;->setAlpha(F)V

    iget-object p1, p0, Lr6/a;->a:Lcom/google/android/material/behavior/SwipeDismissBehavior;

    invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    return v1

    :cond_36
    return v0
.end method
