.class public Lcom/google/android/material/datepicker/t;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field public final synthetic r:Lcom/google/android/material/datepicker/MaterialCalendarGridView;

.field public final synthetic s:Lcom/google/android/material/datepicker/u;


# direct methods
.method public constructor <init>(Lcom/google/android/material/datepicker/u;Lcom/google/android/material/datepicker/MaterialCalendarGridView;)V
    .registers 3

    iput-object p1, p0, Lcom/google/android/material/datepicker/t;->s:Lcom/google/android/material/datepicker/u;

    iput-object p2, p0, Lcom/google/android/material/datepicker/t;->r:Lcom/google/android/material/datepicker/MaterialCalendarGridView;

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

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    iget-object p1, p0, Lcom/google/android/material/datepicker/t;->r:Lcom/google/android/material/datepicker/MaterialCalendarGridView;

    invoke-virtual {p1}, Lcom/google/android/material/datepicker/MaterialCalendarGridView;->a()Lcom/google/android/material/datepicker/s;

    move-result-object p1

    .line 1
    invoke-virtual {p1}, Lcom/google/android/material/datepicker/s;->b()I

    move-result p2

    if-lt p3, p2, :cond_14

    invoke-virtual {p1}, Lcom/google/android/material/datepicker/s;->d()I

    move-result p1

    if-gt p3, p1, :cond_14

    const/4 p1, 0x1

    goto :goto_15

    :cond_14
    const/4 p1, 0x0

    :goto_15
    if-eqz p1, :cond_7a

    .line 2
    iget-object p1, p0, Lcom/google/android/material/datepicker/t;->s:Lcom/google/android/material/datepicker/u;

    .line 3
    iget-object p1, p1, Lcom/google/android/material/datepicker/u;->f:Lcom/google/android/material/datepicker/f$e;

    .line 4
    iget-object p2, p0, Lcom/google/android/material/datepicker/t;->r:Lcom/google/android/material/datepicker/MaterialCalendarGridView;

    invoke-virtual {p2}, Lcom/google/android/material/datepicker/MaterialCalendarGridView;->a()Lcom/google/android/material/datepicker/s;

    move-result-object p2

    invoke-virtual {p2, p3}, Lcom/google/android/material/datepicker/s;->c(I)Ljava/lang/Long;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Long;->longValue()J

    move-result-wide p2

    check-cast p1, Lcom/google/android/material/datepicker/f$d;

    .line 5
    iget-object p4, p1, Lcom/google/android/material/datepicker/f$d;->a:Lcom/google/android/material/datepicker/f;

    .line 6
    iget-object p4, p4, Lcom/google/android/material/datepicker/f;->n0:Lcom/google/android/material/datepicker/a;

    .line 7
    iget-object p4, p4, Lcom/google/android/material/datepicker/a;->t:Lcom/google/android/material/datepicker/a$c;

    .line 8
    invoke-interface {p4, p2, p3}, Lcom/google/android/material/datepicker/a$c;->m(J)Z

    move-result p4

    if-eqz p4, :cond_7a

    iget-object p4, p1, Lcom/google/android/material/datepicker/f$d;->a:Lcom/google/android/material/datepicker/f;

    .line 9
    iget-object p4, p4, Lcom/google/android/material/datepicker/f;->m0:Lcom/google/android/material/datepicker/c;

    .line 10
    invoke-interface {p4, p2, p3}, Lcom/google/android/material/datepicker/c;->L(J)V

    iget-object p2, p1, Lcom/google/android/material/datepicker/f$d;->a:Lcom/google/android/material/datepicker/f;

    iget-object p2, p2, Lcom/google/android/material/datepicker/w;->k0:Ljava/util/LinkedHashSet;

    invoke-virtual {p2}, Ljava/util/LinkedHashSet;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :goto_46
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result p3

    if-eqz p3, :cond_5e

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lcom/google/android/material/datepicker/v;

    iget-object p4, p1, Lcom/google/android/material/datepicker/f$d;->a:Lcom/google/android/material/datepicker/f;

    .line 11
    iget-object p4, p4, Lcom/google/android/material/datepicker/f;->m0:Lcom/google/android/material/datepicker/c;

    .line 12
    invoke-interface {p4}, Lcom/google/android/material/datepicker/c;->H()Ljava/lang/Object;

    move-result-object p4

    invoke-virtual {p3, p4}, Lcom/google/android/material/datepicker/v;->a(Ljava/lang/Object;)V

    goto :goto_46

    :cond_5e
    iget-object p2, p1, Lcom/google/android/material/datepicker/f$d;->a:Lcom/google/android/material/datepicker/f;

    .line 13
    iget-object p2, p2, Lcom/google/android/material/datepicker/f;->s0:Landroidx/recyclerview/widget/RecyclerView;

    .line 14
    invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$e;

    move-result-object p2

    .line 15
    iget-object p2, p2, Landroidx/recyclerview/widget/RecyclerView$e;->a:Landroidx/recyclerview/widget/RecyclerView$f;

    invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$f;->b()V

    .line 16
    iget-object p1, p1, Lcom/google/android/material/datepicker/f$d;->a:Lcom/google/android/material/datepicker/f;

    .line 17
    iget-object p1, p1, Lcom/google/android/material/datepicker/f;->r0:Landroidx/recyclerview/widget/RecyclerView;

    if-eqz p1, :cond_7a

    .line 18
    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView;->getAdapter()Landroidx/recyclerview/widget/RecyclerView$e;

    move-result-object p1

    .line 19
    iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView$e;->a:Landroidx/recyclerview/widget/RecyclerView$f;

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$f;->b()V

    :cond_7a
    return-void
.end method
