granularity level: instruction

		.class public final Lh1/d0;
.super Ljava/lang/Object;
.source "SourceFile"


.field public static final d:Ljava/util/regex/Pattern;
.field public final a:Ljava/lang/String;
.field public final b:Ljava/lang/String;
.field public final c:Ljava/lang/String;


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

	const-string v0, "[a-zA-Z0-9-_.~%]{1,900}"
	invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
	move-result-object v0
	sput-object v0, Lh1/d0;->d:Ljava/util/regex/Pattern;
	return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
	.locals 4

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	const/4 v0, 0x1
	const/4 v1, 0x0
	if-eqz p2, :cond_0
	const-string v2, "/topics/"
	invoke-virtual {p2, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v2
	if-eqz v2, :cond_0
	new-array v2, v0, [Ljava/lang/Object;
	aput-object p1, v2, v1
	const-string v3, "Format /topics/topic-name is deprecated. Only \'topic-name\' should be used in %s."
	invoke-static {v3, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v2
	const-string v3, "FirebaseMessaging"
	invoke-static {v3, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	const/16 v2, 0x8
	invoke-virtual {p2, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;
	move-result-object v2
	goto :goto_0
	:cond_0
	move-object v2, p2
	:goto_0
	if-eqz v2, :cond_1
	sget-object v3, Lh1/d0;->d:Ljava/util/regex/Pattern;
	invoke-virtual {v3, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
	move-result-object v3
	invoke-virtual {v3}, Ljava/util/regex/Matcher;->matches()Z
	move-result v3
	if-eqz v3, :cond_1
	iput-object v2, p0, Lh1/d0;->a:Ljava/lang/String;
	iput-object p1, p0, Lh1/d0;->b:Ljava/lang/String;
	new-instance v0, Ljava/lang/StringBuilder;
	invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string p1, "!"
	invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	iput-object p1, p0, Lh1/d0;->c:Ljava/lang/String;
	return-void
	:cond_1
	new-instance p1, Ljava/lang/IllegalArgumentException;
	const/4 p2, 0x2
	new-array p2, p2, [Ljava/lang/Object;
	aput-object v2, p2, v1
	const-string v1, "[a-zA-Z0-9-_.~%]{1,900}"
	aput-object v1, p2, v0
	const-string v0, "Invalid topic name: %s does not match the allowed format %s."
	invoke-static {v0, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object p2
	invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
	throw p1
.end method

.method public final equals(Ljava/lang/Object;)Z
	.locals 3

	instance-of v0, p1, Lh1/d0;
	const/4 v1, 0x0
	if-nez v0, :cond_0
	return v1
	:cond_0
	check-cast p1, Lh1/d0;
	iget-object v0, p0, Lh1/d0;->a:Ljava/lang/String;
	iget-object v2, p1, Lh1/d0;->a:Ljava/lang/String;
	invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v0
	if-eqz v0, :cond_1
	iget-object v0, p0, Lh1/d0;->b:Ljava/lang/String;
	iget-object p1, p1, Lh1/d0;->b:Ljava/lang/String;
	invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result p1
	if-eqz p1, :cond_1
	const/4 v1, 0x1
	:cond_1
	return v1
.end method

.method public final hashCode()I
	.locals 3

	const/4 v0, 0x2
	new-array v0, v0, [Ljava/lang/Object;
	iget-object v1, p0, Lh1/d0;->b:Ljava/lang/String;
	const/4 v2, 0x0
	aput-object v1, v0, v2
	iget-object v1, p0, Lh1/d0;->a:Ljava/lang/String;
	const/4 v2, 0x1
	aput-object v1, v0, v2
	invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
	move-result v0
	return v0
.end method