granularity level: instruction

		.class public Landroidx/core/graphics/drawable/IconCompat;
.super Landroidx/versionedparcelable/CustomVersionedParcelable;
.source "SourceFile"


.field public static final j:Landroid/graphics/PorterDuff$Mode;
.field public a:I
.field public b:Ljava/lang/Object;
.field public c:[B
.field public d:Landroid/os/Parcelable;
.field public e:I
.field public f:I
.field public g:Landroid/content/res/ColorStateList;
.field public h:Landroid/graphics/PorterDuff$Mode;
.field public i:Ljava/lang/String;


.method public static constructor <clinit>()V
	.locals 1

	sget-object v0, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
	sput-object v0, Landroidx/core/graphics/drawable/IconCompat;->j:Landroid/graphics/PorterDuff$Mode;
	return-void
.end method

.method public constructor <init>()V
	.locals 2

	invoke-direct {p0}, Landroidx/versionedparcelable/CustomVersionedParcelable;-><init>()V
	const/4 v0, -0x1
	iput v0, p0, Landroidx/core/graphics/drawable/IconCompat;->a:I
	const/4 v0, 0x0
	iput-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->c:[B
	iput-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->d:Landroid/os/Parcelable;
	const/4 v1, 0x0
	iput v1, p0, Landroidx/core/graphics/drawable/IconCompat;->e:I
	iput v1, p0, Landroidx/core/graphics/drawable/IconCompat;->f:I
	iput-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->g:Landroid/content/res/ColorStateList;
	sget-object v1, Landroidx/core/graphics/drawable/IconCompat;->j:Landroid/graphics/PorterDuff$Mode;
	iput-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->h:Landroid/graphics/PorterDuff$Mode;
	iput-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->i:Ljava/lang/String;
	return-void
.end method

.method public constructor <init>(I)V
	.locals 1

	invoke-direct {p0}, Landroidx/versionedparcelable/CustomVersionedParcelable;-><init>()V
	const/4 p1, 0x0
	iput-object p1, p0, Landroidx/core/graphics/drawable/IconCompat;->c:[B
	iput-object p1, p0, Landroidx/core/graphics/drawable/IconCompat;->d:Landroid/os/Parcelable;
	const/4 v0, 0x0
	iput v0, p0, Landroidx/core/graphics/drawable/IconCompat;->e:I
	iput v0, p0, Landroidx/core/graphics/drawable/IconCompat;->f:I
	iput-object p1, p0, Landroidx/core/graphics/drawable/IconCompat;->g:Landroid/content/res/ColorStateList;
	sget-object v0, Landroidx/core/graphics/drawable/IconCompat;->j:Landroid/graphics/PorterDuff$Mode;
	iput-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->h:Landroid/graphics/PorterDuff$Mode;
	iput-object p1, p0, Landroidx/core/graphics/drawable/IconCompat;->i:Ljava/lang/String;
	const/4 p1, 0x2
	iput p1, p0, Landroidx/core/graphics/drawable/IconCompat;->a:I
	return-void
.end method

.method public static a(I)Landroidx/core/graphics/drawable/IconCompat;
	.locals 2

	if-eqz p0, :cond_0
	new-instance v0, Landroidx/core/graphics/drawable/IconCompat;
	const/4 v1, 0x0
	invoke-direct {v0, v1}, Landroidx/core/graphics/drawable/IconCompat;-><init>(I)V
	iput p0, v0, Landroidx/core/graphics/drawable/IconCompat;->e:I
	const-string p0, ""
	iput-object p0, v0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	return-object v0
	:cond_0
	new-instance p0, Ljava/lang/IllegalArgumentException;
	const-string v0, "Drawable resource ID must not be 0"
	invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
	throw p0
.end method

.method public final b()I
	.locals 7

	iget v0, p0, Landroidx/core/graphics/drawable/IconCompat;->a:I
	const/4 v1, -0x1
	if-ne v0, v1, :cond_1
	sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v2, 0x17
	if-lt v1, v2, :cond_1
	iget-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	check-cast v0, Landroid/graphics/drawable/Icon;
	const-string v2, "Unable to get icon resource"
	const-string v3, "IconCompat"
	const/16 v4, 0x1c
	if-lt v1, v4, :cond_0
	invoke-static {v0}, Lc/g;->a(Landroid/graphics/drawable/Icon;)I
	move-result v0
	goto :goto_1
	:cond_0
	const/4 v1, 0x0
	:try_start_0
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object v4
	const-string v5, "getResId"
	new-array v6, v1, [Ljava/lang/Class;
	invoke-virtual {v4, v5, v6}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v4
	new-array v5, v1, [Ljava/lang/Object;
	invoke-virtual {v4, v0, v5}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Ljava/lang/Integer;
	invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
	move-result v0
	:try_end_0
	.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2
	.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
	.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
	goto :goto_1
	:catch_0
	move-exception v0
	goto :goto_0
	:catch_1
	move-exception v0
	goto :goto_0
	:catch_2
	move-exception v0
	:goto_0
	invoke-static {v3, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	const/4 v0, 0x0
	:goto_1
	return v0
	:cond_1
	const/4 v1, 0x2
	if-ne v0, v1, :cond_2
	iget v0, p0, Landroidx/core/graphics/drawable/IconCompat;->e:I
	return v0
	:cond_2
	new-instance v0, Ljava/lang/IllegalStateException;
	new-instance v1, Ljava/lang/StringBuilder;
	invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
	const-string v2, "called getResId() on "
	invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v1
	invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
	throw v0
.end method

.method public final c()Ljava/lang/String;
	.locals 8

	iget v0, p0, Landroidx/core/graphics/drawable/IconCompat;->a:I
	const/4 v1, 0x0
	const/4 v2, -0x1
	if-ne v0, v2, :cond_1
	sget v3, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v4, 0x17
	if-lt v3, v4, :cond_1
	iget-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	check-cast v0, Landroid/graphics/drawable/Icon;
	const-string v2, "Unable to get icon package"
	const-string v4, "IconCompat"
	const/16 v5, 0x1c
	if-lt v3, v5, :cond_0
	invoke-static {v0}, Lc/g;->b(Landroid/graphics/drawable/Icon;)Ljava/lang/String;
	move-result-object v0
	goto :goto_1
	:cond_0
	const/4 v3, 0x0
	:try_start_0
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object v5
	const-string v6, "getResPackage"
	new-array v7, v1, [Ljava/lang/Class;
	invoke-virtual {v5, v6, v7}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
	move-result-object v5
	new-array v1, v1, [Ljava/lang/Object;
	invoke-virtual {v5, v0, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Ljava/lang/String;
	:try_end_0
	.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2
	.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_1
	.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
	goto :goto_1
	:catch_0
	move-exception v0
	goto :goto_0
	:catch_1
	move-exception v0
	goto :goto_0
	:catch_2
	move-exception v0
	:goto_0
	invoke-static {v4, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	move-object v0, v3
	:goto_1
	return-object v0
	:cond_1
	const/4 v3, 0x2
	if-ne v0, v3, :cond_2
	iget-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	check-cast v0, Ljava/lang/String;
	const-string v3, ":"
	invoke-virtual {v0, v3, v2}, Ljava/lang/String;->split(Ljava/lang/String;I)[Ljava/lang/String;
	move-result-object v0
	aget-object v0, v0, v1
	return-object v0
	:cond_2
	new-instance v0, Ljava/lang/IllegalStateException;
	new-instance v1, Ljava/lang/StringBuilder;
	invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
	const-string v2, "called getResPackage() on "
	invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v1
	invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
	throw v0
.end method

.method public final toString()Ljava/lang/String;
	.locals 7

	iget v0, p0, Landroidx/core/graphics/drawable/IconCompat;->a:I
	const/4 v1, -0x1
	if-ne v0, v1, :cond_0
	iget-object v0, p0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v0
	return-object v0
	:cond_0
	new-instance v0, Ljava/lang/StringBuilder;
	const-string v1, "Icon(typ="
	invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
	iget v1, p0, Landroidx/core/graphics/drawable/IconCompat;->a:I
	const/4 v2, 0x5
	const/4 v3, 0x4
	const/4 v4, 0x3
	const/4 v5, 0x2
	const/4 v6, 0x1
	if-eq v1, v6, :cond_5
	if-eq v1, v5, :cond_4
	if-eq v1, v4, :cond_3
	if-eq v1, v3, :cond_2
	if-eq v1, v2, :cond_1
	const-string v1, "UNKNOWN"
	goto :goto_0
	:cond_1
	const-string v1, "BITMAP_MASKABLE"
	goto :goto_0
	:cond_2
	const-string v1, "URI"
	goto :goto_0
	:cond_3
	const-string v1, "DATA"
	goto :goto_0
	:cond_4
	const-string v1, "RESOURCE"
	goto :goto_0
	:cond_5
	const-string v1, "BITMAP"
	:goto_0
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget v1, p0, Landroidx/core/graphics/drawable/IconCompat;->a:I
	if-eq v1, v6, :cond_9
	if-eq v1, v5, :cond_8
	if-eq v1, v4, :cond_7
	if-eq v1, v3, :cond_6
	if-eq v1, v2, :cond_9
	goto :goto_2
	:cond_6
	const-string v1, " uri="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	goto :goto_2
	:cond_7
	const-string v1, " len="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget v1, p0, Landroidx/core/graphics/drawable/IconCompat;->e:I
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	iget v1, p0, Landroidx/core/graphics/drawable/IconCompat;->f:I
	if-eqz v1, :cond_a
	const-string v1, " off="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget v1, p0, Landroidx/core/graphics/drawable/IconCompat;->f:I
	goto :goto_1
	:cond_8
	const-string v1, " pkg="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p0}, Landroidx/core/graphics/drawable/IconCompat;->c()Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v1, " id="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	new-array v1, v6, [Ljava/lang/Object;
	const/4 v2, 0x0
	invoke-virtual {p0}, Landroidx/core/graphics/drawable/IconCompat;->b()I
	move-result v3
	invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
	move-result-object v3
	aput-object v3, v1, v2
	const-string v2, "0x%08x"
	invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	goto :goto_2
	:cond_9
	const-string v1, " size="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	check-cast v1, Landroid/graphics/Bitmap;
	invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I
	move-result v1
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	const-string v1, "x"
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->b:Ljava/lang/Object;
	check-cast v1, Landroid/graphics/Bitmap;
	invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I
	move-result v1
	:goto_1
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	:goto_2
	:cond_a
	iget-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->g:Landroid/content/res/ColorStateList;
	if-eqz v1, :cond_b
	const-string v1, " tint="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->g:Landroid/content/res/ColorStateList;
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	:cond_b
	iget-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->h:Landroid/graphics/PorterDuff$Mode;
	sget-object v2, Landroidx/core/graphics/drawable/IconCompat;->j:Landroid/graphics/PorterDuff$Mode;
	if-eq v1, v2, :cond_c
	const-string v1, " mode="
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	iget-object v1, p0, Landroidx/core/graphics/drawable/IconCompat;->h:Landroid/graphics/PorterDuff$Mode;
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	:cond_c
	const-string v1, ")"
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method