.class public Ll0/u;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "PrivateConstructorForUtilityClass"
    }
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ll0/u$h;,
        Ll0/u$l;,
        Ll0/u$d;,
        Ll0/u$e;,
        Ll0/u$c;,
        Ll0/u$g;,
        Ll0/u$f;,
        Ll0/u$k;,
        Ll0/u$n;,
        Ll0/u$m;,
        Ll0/u$j;,
        Ll0/u$i;,
        Ll0/u$r;,
        Ll0/u$a;,
        Ll0/u$b;,
        Ll0/u$q;,
        Ll0/u$p;,
        Ll0/u$o;
    }
.end annotation


# static fields
.field public static a:Ljava/util/WeakHashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/WeakHashMap<",
            "Landroid/view/View;",
            "Ll0/x;",
            ">;"
        }
    .end annotation
.end field

.field public static b:Ljava/lang/reflect/Field;

.field public static c:Z

.field public static final d:[I

.field public static final e:Ll0/o;

.field public static final f:Ll0/u$a;


# direct methods
.method public static constructor <clinit>()V
    .registers 2

    new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V

    const/4 v0, 0x0

    sput-object v0, Ll0/u;->a:Ljava/util/WeakHashMap;

    const/4 v0, 0x0

    sput-boolean v0, Ll0/u;->c:Z

    const/16 v0, 0x20

    new-array v0, v0, [I

    fill-array-data v0, :array_22

    sput-object v0, Ll0/u;->d:[I

    sget-object v0, Ll0/q;->r:Ll0/q;

    sput-object v0, Ll0/u;->e:Ll0/o;

    new-instance v0, Ll0/u$a;

    invoke-direct {v0}, Ll0/u$a;-><init>()V

    sput-object v0, Ll0/u;->f:Ll0/u$a;

    return-void

    nop

    :array_22
    .array-data 4
        0x7f0a0010
        0x7f0a0011
        0x7f0a001c
        0x7f0a0027
        0x7f0a002a
        0x7f0a002b
        0x7f0a002c
        0x7f0a002d
        0x7f0a002e
        0x7f0a002f
        0x7f0a0012
        0x7f0a0013
        0x7f0a0014
        0x7f0a0015
        0x7f0a0016
        0x7f0a0017
        0x7f0a0018
        0x7f0a0019
        0x7f0a001a
        0x7f0a001b
        0x7f0a001d
        0x7f0a001e
        0x7f0a001f
        0x7f0a0020
        0x7f0a0021
        0x7f0a0022
        0x7f0a0023
        0x7f0a0024
        0x7f0a0025
        0x7f0a0026
        0x7f0a0028
        0x7f0a0029
    .end array-data
.end method

.method public static a(Landroid/view/View;Lm0/b$a;)V
    .registers 3

    .line 1
    invoke-static {p0}, Ll0/u;->e(Landroid/view/View;)Ll0/a;

    move-result-object v0

    if-nez v0, :cond_b

    new-instance v0, Ll0/a;

    invoke-direct {v0}, Ll0/a;-><init>()V

    :cond_b
    invoke-static {p0, v0}, Ll0/u;->p(Landroid/view/View;Ll0/a;)V

    .line 2
    invoke-virtual {p1}, Lm0/b$a;->a()I

    move-result v0

    invoke-static {v0, p0}, Ll0/u;->m(ILandroid/view/View;)V

    invoke-static {p0}, Ll0/u;->h(Landroid/view/View;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const/4 p1, 0x0

    invoke-static {p0, p1}, Ll0/u;->j(Landroid/view/View;I)V

    return-void
.end method

.method public static b(Landroid/view/View;)Ll0/x;
    .registers 3

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

    if-nez v0, :cond_b

    new-instance v0, Ljava/util/WeakHashMap;

    invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V

    sput-object v0, Ll0/u;->a:Ljava/util/WeakHashMap;

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

    invoke-virtual {v0, p0}, Ljava/util/WeakHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ll0/x;

    if-nez v0, :cond_1f

    new-instance v0, Ll0/x;

    invoke-direct {v0, p0}, Ll0/x;-><init>(Landroid/view/View;)V

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

    invoke-virtual {v1, p0, v0}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1f
    return-object v0
.end method

.method public static c(Landroid/view/View;Ll0/b0;)Ll0/b0;
    .registers 4

    invoke-virtual {p1}, Ll0/b0;->g()Landroid/view/WindowInsets;

    move-result-object v0

    if-eqz v0, :cond_15

    invoke-static {p0, v0}, Ll0/u$h;->a(Landroid/view/View;Landroid/view/WindowInsets;)Landroid/view/WindowInsets;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/WindowInsets;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_15

    invoke-static {v1, p0}, Ll0/b0;->i(Landroid/view/WindowInsets;Landroid/view/View;)Ll0/b0;

    move-result-object p0

    return-object p0

    :cond_15
    return-object p1
.end method

.method public static d(Landroid/view/View;Landroid/view/KeyEvent;)Z
    .registers 10

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v1, 0x0

    const/16 v2, 0x1c

    if-lt v0, v2, :cond_8

    return v1

    :cond_8
    sget-object v0, Ll0/u$r;->d:Ljava/util/ArrayList;

    const v0, 0x7f0a0213

    .line 1
    invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ll0/u$r;

    if-nez v2, :cond_1d

    new-instance v2, Ll0/u$r;

    invoke-direct {v2}, Ll0/u$r;-><init>()V

    invoke-virtual {p0, v0, v2}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    .line 2
    :cond_1d
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_7e

    .line 3
    iget-object v0, v2, Ll0/u$r;->a:Ljava/util/WeakHashMap;

    if-eqz v0, :cond_2a

    invoke-virtual {v0}, Ljava/util/WeakHashMap;->clear()V

    :cond_2a
    sget-object v0, Ll0/u$r;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v3

    if-eqz v3, :cond_33

    goto :goto_7e

    :cond_33
    monitor-enter v0

    :try_start_34
    iget-object v3, v2, Ll0/u$r;->a:Ljava/util/WeakHashMap;

    if-nez v3, :cond_3f

    new-instance v3, Ljava/util/WeakHashMap;

    invoke-direct {v3}, Ljava/util/WeakHashMap;-><init>()V

    iput-object v3, v2, Ll0/u$r;->a:Ljava/util/WeakHashMap;

    :cond_3f
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v3

    :cond_43
    :goto_43
    add-int/lit8 v3, v3, -0x1

    if-ltz v3, :cond_79

    sget-object v4, Ll0/u$r;->d:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/ref/WeakReference;

    invoke-virtual {v5}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/view/View;

    if-nez v5, :cond_5b

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    goto :goto_43

    :cond_5b
    iget-object v4, v2, Ll0/u$r;->a:Ljava/util/WeakHashMap;

    sget-object v6, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v4, v5, v6}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v5}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v4

    :goto_66
    instance-of v5, v4, Landroid/view/View;

    if-eqz v5, :cond_43

    iget-object v5, v2, Ll0/u$r;->a:Ljava/util/WeakHashMap;

    move-object v6, v4

    check-cast v6, Landroid/view/View;

    sget-object v7, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-virtual {v5, v6, v7}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-interface {v4}, Landroid/view/ViewParent;->getParent()Landroid/view/ViewParent;

    move-result-object v4

    goto :goto_66

    :cond_79
    monitor-exit v0

    goto :goto_7e

    :catchall_7b
    move-exception p0

    monitor-exit v0
    :try_end_7d
    .catchall {:try_start_34 .. :try_end_7d} :catchall_7b

    throw p0

    .line 4
    :cond_7e
    :goto_7e
    invoke-virtual {v2, p0, p1}, Ll0/u$r;->a(Landroid/view/View;Landroid/view/KeyEvent;)Landroid/view/View;

    move-result-object p0

    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_a9

    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result p1

    if-eqz p0, :cond_a9

    invoke-static {p1}, Landroid/view/KeyEvent;->isModifierKey(I)Z

    move-result v0

    if-nez v0, :cond_a9

    .line 5
    iget-object v0, v2, Ll0/u$r;->b:Landroid/util/SparseArray;

    if-nez v0, :cond_9f

    new-instance v0, Landroid/util/SparseArray;

    invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V

    iput-object v0, v2, Ll0/u$r;->b:Landroid/util/SparseArray;

    :cond_9f
    iget-object v0, v2, Ll0/u$r;->b:Landroid/util/SparseArray;

    .line 6
    new-instance v2, Ljava/lang/ref/WeakReference;

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

    invoke-virtual {v0, p1, v2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    :cond_a9
    if-eqz p0, :cond_ac

    const/4 v1, 0x1

    :cond_ac
    return v1
.end method

.method public static e(Landroid/view/View;)Ll0/a;
    .registers 2

    invoke-static {p0}, Ll0/u;->f(Landroid/view/View;)Landroid/view/View$AccessibilityDelegate;

    move-result-object p0

    if-nez p0, :cond_8

    const/4 p0, 0x0

    return-object p0

    :cond_8
    instance-of v0, p0, Ll0/a$a;

    if-eqz v0, :cond_11

    check-cast p0, Ll0/a$a;

    iget-object p0, p0, Ll0/a$a;->a:Ll0/a;

    return-object p0

    :cond_11
    new-instance v0, Ll0/a;

    invoke-direct {v0, p0}, Ll0/a;-><init>(Landroid/view/View$AccessibilityDelegate;)V

    return-object v0
.end method

.method public static f(Landroid/view/View;)Landroid/view/View$AccessibilityDelegate;
    .registers 5

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1d

    if-lt v0, v1, :cond_b

    invoke-static {p0}, Ll0/u$m;->a(Landroid/view/View;)Landroid/view/View$AccessibilityDelegate;

    move-result-object p0

    return-object p0

    .line 1
    :cond_b
    sget-boolean v0, Ll0/u;->c:Z

    const/4 v1, 0x0

    if-eqz v0, :cond_11

    goto :goto_33

    :cond_11
    sget-object v0, Ll0/u;->b:Ljava/lang/reflect/Field;

    const/4 v2, 0x1

    if-nez v0, :cond_23

    :try_start_16
    const-class v0, Landroid/view/View;

    const-string v3, "mAccessibilityDelegate"

    invoke-virtual {v0, v3}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    sput-object v0, Ll0/u;->b:Ljava/lang/reflect/Field;

    invoke-virtual {v0, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    :cond_23
    sget-object v0, Ll0/u;->b:Ljava/lang/reflect/Field;

    invoke-virtual {v0, p0}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    instance-of v0, p0, Landroid/view/View$AccessibilityDelegate;

    if-eqz v0, :cond_33

    check-cast p0, Landroid/view/View$AccessibilityDelegate;
    :try_end_2f
    .catchall {:try_start_16 .. :try_end_2f} :catchall_31

    move-object v1, p0

    goto :goto_33

    :catchall_31
    sput-boolean v2, Ll0/u;->c:Z

    :cond_33
    :goto_33
    return-object v1
.end method

.method public static g(Landroid/view/View;)Ljava/lang/CharSequence;
    .registers 4

    .line 1
    const-class v0, Ljava/lang/CharSequence;

    .line 2
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x1c

    if-lt v1, v2, :cond_a

    const/4 v1, 0x1

    goto :goto_b

    :cond_a
    const/4 v1, 0x0

    :goto_b
    if-eqz v1, :cond_12

    .line 3
    invoke-static {p0}, Ll0/u$l;->b(Landroid/view/View;)Ljava/lang/CharSequence;

    move-result-object p0

    goto :goto_21

    :cond_12
    const v1, 0x7f0a020c

    .line 4
    invoke-virtual {p0, v1}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object p0

    invoke-virtual {v0, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_20

    goto :goto_21

    :cond_20
    const/4 p0, 0x0

    .line 5
    :goto_21
    check-cast p0, Ljava/lang/CharSequence;

    return-object p0
.end method

.method public static h(Landroid/view/View;)Ljava/util/List;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/view/View;",
            ")",
            "Ljava/util/List<",
            "Lm0/b$a;",
            ">;"
        }
    .end annotation

    const v0, 0x7f0a0209

    invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

    if-nez v1, :cond_13

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p0, v0, v1}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    :cond_13
    return-object v1
.end method

.method public static i(Landroid/view/View;)[Ljava/lang/String;
    .registers 3

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1f

    if-lt v0, v1, :cond_b

    invoke-static {p0}, Ll0/u$o;->a(Landroid/view/View;)[Ljava/lang/String;

    move-result-object p0

    return-object p0

    :cond_b
    const v0, 0x7f0a020f

    invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, [Ljava/lang/String;

    return-object p0
.end method

.method public static j(Landroid/view/View;I)V
    .registers 7

    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "accessibility"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/accessibility/AccessibilityManager;

    invoke-virtual {v0}, Landroid/view/accessibility/AccessibilityManager;->isEnabled()Z

    move-result v1

    if-nez v1, :cond_13

    return-void

    :cond_13
    invoke-static {p0}, Ll0/u;->g(Landroid/view/View;)Ljava/lang/CharSequence;

    move-result-object v1

    const/4 v2, 0x1

    if-eqz v1, :cond_22

    invoke-virtual {p0}, Landroid/view/View;->getVisibility()I

    move-result v1

    if-nez v1, :cond_22

    move v1, v2

    goto :goto_23

    :cond_22
    const/4 v1, 0x0

    .line 1
    :goto_23
    invoke-static {p0}, Ll0/u$g;->a(Landroid/view/View;)I

    move-result v3

    const/16 v4, 0x20

    if-nez v3, :cond_85

    if-eqz v1, :cond_2e

    goto :goto_85

    :cond_2e
    if-ne p1, v4, :cond_53

    .line 2
    invoke-static {}, Landroid/view/accessibility/AccessibilityEvent;->obtain()Landroid/view/accessibility/AccessibilityEvent;

    move-result-object v1

    invoke-virtual {p0, v1}, Landroid/view/View;->onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V

    invoke-virtual {v1, v4}, Landroid/view/accessibility/AccessibilityEvent;->setEventType(I)V

    invoke-static {v1, p1}, Ll0/u$g;->g(Landroid/view/accessibility/AccessibilityEvent;I)V

    invoke-virtual {v1, p0}, Landroid/view/accessibility/AccessibilityEvent;->setSource(Landroid/view/View;)V

    invoke-virtual {p0, v1}, Landroid/view/View;->onPopulateAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V

    invoke-virtual {v1}, Landroid/view/accessibility/AccessibilityEvent;->getText()Ljava/util/List;

    move-result-object p1

    invoke-static {p0}, Ll0/u;->g(Landroid/view/View;)Ljava/lang/CharSequence;

    move-result-object p0

    invoke-interface {p1, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v0, v1}, Landroid/view/accessibility/AccessibilityManager;->sendAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V

    goto/16 :goto_c9

    :cond_53
    invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_c9

    invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    :try_start_5d
    invoke-static {v0, p0, p0, p1}, Ll0/u$g;->e(Landroid/view/ViewParent;Landroid/view/View;Landroid/view/View;I)V
    :try_end_60
    .catch Ljava/lang/AbstractMethodError; {:try_start_5d .. :try_end_60} :catch_61

    goto :goto_c9

    :catch_61
    move-exception p1

    new-instance v0, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object p0

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object p0

    invoke-virtual {p0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p0, " does not fully implement ViewParent"

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    const-string v0, "ViewCompat"

    invoke-static {v0, p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_c9

    :cond_85
    :goto_85
    invoke-static {}, Landroid/view/accessibility/AccessibilityEvent;->obtain()Landroid/view/accessibility/AccessibilityEvent;

    move-result-object v0

    if-eqz v1, :cond_8c

    goto :goto_8e

    :cond_8c
    const/16 v4, 0x800

    :goto_8e
    invoke-virtual {v0, v4}, Landroid/view/accessibility/AccessibilityEvent;->setEventType(I)V

    invoke-static {v0, p1}, Ll0/u$g;->g(Landroid/view/accessibility/AccessibilityEvent;I)V

    if-eqz v1, :cond_c6

    invoke-virtual {v0}, Landroid/view/accessibility/AccessibilityEvent;->getText()Ljava/util/List;

    move-result-object p1

    invoke-static {p0}, Ll0/u;->g(Landroid/view/View;)Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {p1, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 3
    invoke-static {p0}, Ll0/u$d;->c(Landroid/view/View;)I

    move-result p1

    if-nez p1, :cond_aa

    .line 4
    invoke-static {p0, v2}, Ll0/u$d;->s(Landroid/view/View;I)V

    .line 5
    :cond_aa
    invoke-virtual {p0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object p1

    :goto_ae
    instance-of v1, p1, Landroid/view/View;

    if-eqz v1, :cond_c6

    move-object v1, p1

    check-cast v1, Landroid/view/View;

    .line 6
    invoke-static {v1}, Ll0/u$d;->c(Landroid/view/View;)I

    move-result v1

    const/4 v2, 0x4

    if-ne v1, v2, :cond_c1

    const/4 p1, 0x2

    .line 7
    invoke-static {p0, p1}, Ll0/u$d;->s(Landroid/view/View;I)V

    goto :goto_c6

    .line 8
    :cond_c1
    invoke-interface {p1}, Landroid/view/ViewParent;->getParent()Landroid/view/ViewParent;

    move-result-object p1

    goto :goto_ae

    .line 9
    :cond_c6
    :goto_c6
    invoke-virtual {p0, v0}, Landroid/view/View;->sendAccessibilityEventUnchecked(Landroid/view/accessibility/AccessibilityEvent;)V

    :cond_c9
    :goto_c9
    return-void
.end method

.method public static k(Landroid/view/View;Ll0/b0;)Ll0/b0;
    .registers 4

    invoke-virtual {p1}, Ll0/b0;->g()Landroid/view/WindowInsets;

    move-result-object v0

    if-eqz v0, :cond_15

    invoke-static {p0, v0}, Ll0/u$h;->b(Landroid/view/View;Landroid/view/WindowInsets;)Landroid/view/WindowInsets;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/WindowInsets;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_15

    invoke-static {v1, p0}, Ll0/b0;->i(Landroid/view/WindowInsets;Landroid/view/View;)Ll0/b0;

    move-result-object p0

    return-object p0

    :cond_15
    return-object p1
.end method

.method public static l(Landroid/view/View;Ll0/c;)Ll0/c;
    .registers 5

    const-string v0, "ViewCompat"

    const/4 v1, 0x3

    invoke-static {v0, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z

    move-result v1

    if-eqz v1, :cond_3e

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "performReceiveContent: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v2, ", view="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "["

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Landroid/view/View;->getId()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, "]"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    :cond_3e
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1f

    if-lt v0, v1, :cond_49

    invoke-static {p0, p1}, Ll0/u$o;->b(Landroid/view/View;Ll0/c;)Ll0/c;

    move-result-object p0

    return-object p0

    :cond_49
    const v0, 0x7f0a020e

    invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ll0/n;

    if-eqz v0, :cond_6a

    invoke-interface {v0, p0, p1}, Ll0/n;->a(Landroid/view/View;Ll0/c;)Ll0/c;

    move-result-object p1

    if-nez p1, :cond_5c

    const/4 p0, 0x0

    goto :goto_69

    .line 1
    :cond_5c
    instance-of v0, p0, Ll0/o;

    if-eqz v0, :cond_63

    check-cast p0, Ll0/o;

    goto :goto_65

    :cond_63
    sget-object p0, Ll0/u;->e:Ll0/o;

    .line 2
    :goto_65
    invoke-interface {p0, p1}, Ll0/o;->a(Ll0/c;)Ll0/c;

    move-result-object p0

    :goto_69
    return-object p0

    .line 3
    :cond_6a
    instance-of v0, p0, Ll0/o;

    if-eqz v0, :cond_71

    check-cast p0, Ll0/o;

    goto :goto_73

    :cond_71
    sget-object p0, Ll0/u;->e:Ll0/o;

    .line 4
    :goto_73
    invoke-interface {p0, p1}, Ll0/o;->a(Ll0/c;)Ll0/c;

    move-result-object p0

    return-object p0
.end method

.method public static m(ILandroid/view/View;)V
    .registers 4

    invoke-static {p1}, Ll0/u;->h(Landroid/view/View;)Ljava/util/List;

    move-result-object p1

    const/4 v0, 0x0

    :goto_5
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1e

    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lm0/b$a;

    invoke-virtual {v1}, Lm0/b$a;->a()I

    move-result v1

    if-ne v1, p0, :cond_1b

    invoke-interface {p1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    goto :goto_1e

    :cond_1b
    add-int/lit8 v0, v0, 0x1

    goto :goto_5

    :cond_1e
    :goto_1e
    return-void
.end method

.method public static n(Landroid/view/View;Lm0/b$a;Ljava/lang/CharSequence;Lm0/d;)V
    .registers 10

    .line 1
    new-instance p2, Lm0/b$a;

    iget v2, p1, Lm0/b$a;->b:I

    iget-object v5, p1, Lm0/b$a;->c:Ljava/lang/Class;

    const/4 v1, 0x0

    const/4 v3, 0x0

    move-object v0, p2

    move-object v4, p3

    invoke-direct/range {v0 .. v5}, Lm0/b$a;-><init>(Ljava/lang/Object;ILjava/lang/CharSequence;Lm0/d;Ljava/lang/Class;)V

    .line 2
    invoke-static {p0, p2}, Ll0/u;->a(Landroid/view/View;Lm0/b$a;)V

    return-void
.end method

.method public static o(Landroid/view/View;Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V
    .registers 9
    .param p1    # Landroid/content/Context;
        .annotation build Landroid/annotation/SuppressLint;
            value = {
                "ContextFirst"
            }
        .end annotation
    .end param

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1d

    if-lt v0, v1, :cond_9

    invoke-static/range {p0 .. p6}, Ll0/u$m;->c(Landroid/view/View;Landroid/content/Context;[ILandroid/util/AttributeSet;Landroid/content/res/TypedArray;II)V

    :cond_9
    return-void
.end method

.method public static p(Landroid/view/View;Ll0/a;)V
    .registers 3

    if-nez p1, :cond_f

    invoke-static {p0}, Ll0/u;->f(Landroid/view/View;)Landroid/view/View$AccessibilityDelegate;

    move-result-object v0

    instance-of v0, v0, Ll0/a$a;

    if-eqz v0, :cond_f

    new-instance p1, Ll0/a;

    invoke-direct {p1}, Ll0/a;-><init>()V

    :cond_f
    if-nez p1, :cond_13

    const/4 p1, 0x0

    goto :goto_15

    .line 1
    :cond_13
    iget-object p1, p1, Ll0/a;->b:Landroid/view/View$AccessibilityDelegate;

    .line 2
    :goto_15
    invoke-virtual {p0, p1}, Landroid/view/View;->setAccessibilityDelegate(Landroid/view/View$AccessibilityDelegate;)V

    return-void
.end method

.method public static q(Landroid/view/View;Ljava/lang/CharSequence;)V
    .registers 7

    .line 1
    new-instance v0, Ll0/s;

    const-class v1, Ljava/lang/CharSequence;

    const v2, 0x7f0a020c

    const/16 v3, 0x8

    const/16 v4, 0x1c

    invoke-direct {v0, v2, v1, v3, v4}, Ll0/s;-><init>(ILjava/lang/Class;II)V

    .line 2
    invoke-virtual {v0, p0, p1}, Ll0/u$b;->e(Landroid/view/View;Ljava/lang/Object;)V

    if-eqz p1, :cond_38

    sget-object p1, Ll0/u;->f:Ll0/u$a;

    .line 3
    iget-object v0, p1, Ll0/u$a;->r:Ljava/util/WeakHashMap;

    invoke-virtual {p0}, Landroid/view/View;->getVisibility()I

    move-result v1

    if-nez v1, :cond_1f

    const/4 v1, 0x1

    goto :goto_20

    :cond_1f
    const/4 v1, 0x0

    :goto_20
    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, p0, v1}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {p0, p1}, Landroid/view/View;->addOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V

    invoke-static {p0}, Ll0/u$g;->b(Landroid/view/View;)Z

    move-result v0

    if-eqz v0, :cond_49

    .line 4
    invoke-virtual {p0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object p0

    invoke-virtual {p0, p1}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    goto :goto_49

    .line 5
    :cond_38
    sget-object p1, Ll0/u;->f:Ll0/u$a;

    .line 6
    iget-object v0, p1, Ll0/u$a;->r:Ljava/util/WeakHashMap;

    invoke-virtual {v0, p0}, Ljava/util/WeakHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {p0, p1}, Landroid/view/View;->removeOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V

    .line 7
    invoke-virtual {p0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object p0

    invoke-static {p0, p1}, Ll0/u$d;->o(Landroid/view/ViewTreeObserver;Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    :cond_49
    :goto_49
    return-void
.end method
