granularity level: instruction

		.class public final Lx0/f;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lu0/e;


.field public static final f:Ljava/nio/charset/Charset;
.field public static final g:Lu0/c;
.field public static final h:Lu0/c;
.field public static final i:Lw0/a;
.field public a:Ljava/io/OutputStream;
.field public final b:Ljava/util/Map;
.field public final c:Ljava/util/Map;
.field public final d:Lu0/d;
.field public final e:Lx0/g;


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

	const-string v0, "UTF-8"
	invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
	move-result-object v0
	sput-object v0, Lx0/f;->f:Ljava/nio/charset/Charset;
	const-string v0, "key"
	invoke-static {v0}, Lu0/c;->a(Ljava/lang/String;)Lk/j;
	move-result-object v0
	const/4 v1, 0x1
	invoke-static {v1, v0}, Lc0/b;->c(ILk/j;)Lu0/c;
	move-result-object v0
	sput-object v0, Lx0/f;->g:Lu0/c;
	const-string v0, "value"
	invoke-static {v0}, Lu0/c;->a(Ljava/lang/String;)Lk/j;
	move-result-object v0
	const/4 v2, 0x2
	invoke-static {v2, v0}, Lc0/b;->c(ILk/j;)Lu0/c;
	move-result-object v0
	sput-object v0, Lx0/f;->h:Lu0/c;
	new-instance v0, Lw0/a;
	invoke-direct {v0, v1}, Lw0/a;-><init>(I)V
	sput-object v0, Lx0/f;->i:Lw0/a;
	return-void
.end method

.method public constructor <init>(Ljava/io/ByteArrayOutputStream;Ljava/util/Map;Ljava/util/Map;Lu0/d;)V
	.locals 1

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	new-instance v0, Lx0/g;
	invoke-direct {v0, p0}, Lx0/g;-><init>(Lx0/f;)V
	iput-object v0, p0, Lx0/f;->e:Lx0/g;
	iput-object p1, p0, Lx0/f;->a:Ljava/io/OutputStream;
	iput-object p2, p0, Lx0/f;->b:Ljava/util/Map;
	iput-object p3, p0, Lx0/f;->c:Ljava/util/Map;
	iput-object p4, p0, Lx0/f;->d:Lu0/d;
	return-void
.end method

.method public static g(Lu0/c;)I
	.locals 1

	const-class v0, Lx0/e;
	iget-object p0, p0, Lu0/c;->b:Ljava/util/Map;
	invoke-interface {p0, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p0
	check-cast p0, Ljava/lang/annotation/Annotation;
	check-cast p0, Lx0/e;
	if-eqz p0, :cond_0
	check-cast p0, Lx0/a;
	iget p0, p0, Lx0/a;->a:I
	return p0
	:cond_0
	new-instance p0, Lu0/b;
	const-string v0, "Field has no @Protobuf config"
	invoke-direct {p0, v0}, Lu0/b;-><init>(Ljava/lang/String;)V
	throw p0
.end method

.method public final a(Lu0/c;Ljava/lang/Object;Z)Lx0/f;
	.locals 4

	if-nez p2, :cond_0
	return-object p0
	:cond_0
	instance-of v0, p2, Ljava/lang/CharSequence;
	if-eqz v0, :cond_2
	check-cast p2, Ljava/lang/CharSequence;
	if-eqz p3, :cond_1
	invoke-interface {p2}, Ljava/lang/CharSequence;->length()I
	move-result p3
	if-nez p3, :cond_1
	return-object p0
	:cond_1
	invoke-static {p1}, Lx0/f;->g(Lu0/c;)I
	move-result p1
	shl-int/lit8 p1, p1, 0x3
	or-int/lit8 p1, p1, 0x2
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	invoke-interface {p2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
	move-result-object p1
	sget-object p2, Lx0/f;->f:Ljava/nio/charset/Charset;
	invoke-virtual {p1, p2}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
	move-result-object p1
	array-length p2, p1
	invoke-virtual {p0, p2}, Lx0/f;->h(I)V
	iget-object p2, p0, Lx0/f;->a:Ljava/io/OutputStream;
	invoke-virtual {p2, p1}, Ljava/io/OutputStream;->write([B)V
	return-object p0
	:cond_2
	instance-of v0, p2, Ljava/util/Collection;
	const/4 v1, 0x0
	if-eqz v0, :cond_4
	check-cast p2, Ljava/util/Collection;
	invoke-interface {p2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
	move-result-object p2
	:goto_0
	invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
	move-result p3
	if-eqz p3, :cond_3
	invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object p3
	invoke-virtual {p0, p1, p3, v1}, Lx0/f;->a(Lu0/c;Ljava/lang/Object;Z)Lx0/f;
	goto :goto_0
	:cond_3
	return-object p0
	:cond_4
	instance-of v0, p2, Ljava/util/Map;
	if-eqz v0, :cond_6
	check-cast p2, Ljava/util/Map;
	invoke-interface {p2}, Ljava/util/Map;->entrySet()Ljava/util/Set;
	move-result-object p2
	invoke-interface {p2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
	move-result-object p2
	:goto_1
	invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
	move-result p3
	if-eqz p3, :cond_5
	invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object p3
	check-cast p3, Ljava/util/Map$Entry;
	sget-object v0, Lx0/f;->i:Lw0/a;
	invoke-virtual {p0, v0, p1, p3, v1}, Lx0/f;->f(Lu0/d;Lu0/c;Ljava/lang/Object;Z)V
	goto :goto_1
	:cond_5
	return-object p0
	:cond_6
	instance-of v0, p2, Ljava/lang/Double;
	const/4 v2, 0x1
	if-eqz v0, :cond_8
	check-cast p2, Ljava/lang/Double;
	invoke-virtual {p2}, Ljava/lang/Double;->doubleValue()D
	move-result-wide v0
	if-eqz p3, :cond_7
	const-wide/16 p2, 0x0
	cmpl-double v3, v0, p2
	if-nez v3, :cond_7
	goto :goto_2
	:cond_7
	invoke-static {p1}, Lx0/f;->g(Lu0/c;)I
	move-result p1
	shl-int/lit8 p1, p1, 0x3
	or-int/2addr p1, v2
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	iget-object p1, p0, Lx0/f;->a:Ljava/io/OutputStream;
	const/16 p2, 0x8
	invoke-static {p2}, Ljava/nio/ByteBuffer;->allocate(I)Ljava/nio/ByteBuffer;
	move-result-object p2
	sget-object p3, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;
	invoke-virtual {p2, p3}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
	move-result-object p2
	invoke-virtual {p2, v0, v1}, Ljava/nio/ByteBuffer;->putDouble(D)Ljava/nio/ByteBuffer;
	move-result-object p2
	invoke-virtual {p2}, Ljava/nio/ByteBuffer;->array()[B
	move-result-object p2
	invoke-virtual {p1, p2}, Ljava/io/OutputStream;->write([B)V
	:goto_2
	return-object p0
	:cond_8
	instance-of v0, p2, Ljava/lang/Float;
	if-eqz v0, :cond_a
	check-cast p2, Ljava/lang/Float;
	invoke-virtual {p2}, Ljava/lang/Float;->floatValue()F
	move-result p2
	if-eqz p3, :cond_9
	const/4 p3, 0x0
	cmpl-float p3, p2, p3
	if-nez p3, :cond_9
	goto :goto_3
	:cond_9
	invoke-static {p1}, Lx0/f;->g(Lu0/c;)I
	move-result p1
	shl-int/lit8 p1, p1, 0x3
	or-int/lit8 p1, p1, 0x5
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	iget-object p1, p0, Lx0/f;->a:Ljava/io/OutputStream;
	const/4 p3, 0x4
	invoke-static {p3}, Ljava/nio/ByteBuffer;->allocate(I)Ljava/nio/ByteBuffer;
	move-result-object p3
	sget-object v0, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;
	invoke-virtual {p3, v0}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
	move-result-object p3
	invoke-virtual {p3, p2}, Ljava/nio/ByteBuffer;->putFloat(F)Ljava/nio/ByteBuffer;
	move-result-object p2
	invoke-virtual {p2}, Ljava/nio/ByteBuffer;->array()[B
	move-result-object p2
	invoke-virtual {p1, p2}, Ljava/io/OutputStream;->write([B)V
	:goto_3
	return-object p0
	:cond_a
	instance-of v0, p2, Ljava/lang/Number;
	if-eqz v0, :cond_d
	check-cast p2, Ljava/lang/Number;
	invoke-virtual {p2}, Ljava/lang/Number;->longValue()J
	move-result-wide v0
	if-eqz p3, :cond_b
	const-wide/16 p2, 0x0
	cmp-long v2, v0, p2
	if-nez v2, :cond_b
	goto :goto_4
	:cond_b
	const-class p2, Lx0/e;
	iget-object p1, p1, Lu0/c;->b:Ljava/util/Map;
	invoke-interface {p1, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Ljava/lang/annotation/Annotation;
	check-cast p1, Lx0/e;
	if-eqz p1, :cond_c
	check-cast p1, Lx0/a;
	iget p1, p1, Lx0/a;->a:I
	shl-int/lit8 p1, p1, 0x3
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	invoke-virtual {p0, v0, v1}, Lx0/f;->i(J)V
	:goto_4
	return-object p0
	:cond_c
	new-instance p1, Lu0/b;
	const-string p2, "Field has no @Protobuf config"
	invoke-direct {p1, p2}, Lu0/b;-><init>(Ljava/lang/String;)V
	throw p1
	:cond_d
	instance-of v0, p2, Ljava/lang/Boolean;
	if-eqz v0, :cond_e
	check-cast p2, Ljava/lang/Boolean;
	invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
	move-result p2
	invoke-virtual {p0, p1, p2, p3}, Lx0/f;->b(Lu0/c;IZ)V
	return-object p0
	:cond_e
	instance-of v0, p2, [B
	if-eqz v0, :cond_10
	check-cast p2, [B
	if-eqz p3, :cond_f
	array-length p3, p2
	if-nez p3, :cond_f
	return-object p0
	:cond_f
	invoke-static {p1}, Lx0/f;->g(Lu0/c;)I
	move-result p1
	shl-int/lit8 p1, p1, 0x3
	or-int/lit8 p1, p1, 0x2
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	array-length p1, p2
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	iget-object p1, p0, Lx0/f;->a:Ljava/io/OutputStream;
	invoke-virtual {p1, p2}, Ljava/io/OutputStream;->write([B)V
	return-object p0
	:cond_10
	iget-object v0, p0, Lx0/f;->b:Ljava/util/Map;
	invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object v3
	invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Lu0/d;
	if-eqz v0, :cond_11
	invoke-virtual {p0, v0, p1, p2, p3}, Lx0/f;->f(Lu0/d;Lu0/c;Ljava/lang/Object;Z)V
	return-object p0
	:cond_11
	iget-object v0, p0, Lx0/f;->c:Ljava/util/Map;
	invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	move-result-object v3
	invoke-interface {v0, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Lu0/f;
	if-eqz v0, :cond_12
	iget-object v2, p0, Lx0/f;->e:Lx0/g;
	iput-boolean v1, v2, Lx0/g;->a:Z
	iput-object p1, v2, Lx0/g;->c:Lu0/c;
	iput-boolean p3, v2, Lx0/g;->b:Z
	invoke-interface {v0, p2, v2}, Lu0/a;->a(Ljava/lang/Object;Ljava/lang/Object;)V
	return-object p0
	:cond_12
	instance-of v0, p2, Lx0/c;
	if-eqz v0, :cond_13
	check-cast p2, Lx0/c;
	invoke-interface {p2}, Lx0/c;->a()I
	move-result p2
	invoke-virtual {p0, p1, p2, v2}, Lx0/f;->b(Lu0/c;IZ)V
	return-object p0
	:cond_13
	instance-of v0, p2, Ljava/lang/Enum;
	if-eqz v0, :cond_14
	check-cast p2, Ljava/lang/Enum;
	invoke-virtual {p2}, Ljava/lang/Enum;->ordinal()I
	move-result p2
	invoke-virtual {p0, p1, p2, v2}, Lx0/f;->b(Lu0/c;IZ)V
	return-object p0
	:cond_14
	iget-object v0, p0, Lx0/f;->d:Lu0/d;
	invoke-virtual {p0, v0, p1, p2, p3}, Lx0/f;->f(Lu0/d;Lu0/c;Ljava/lang/Object;Z)V
	return-object p0
.end method

.method public final b(Lu0/c;IZ)V
	.locals 0

	if-eqz p3, :cond_0
	if-nez p2, :cond_0
	return-void
	:cond_0
	const-class p3, Lx0/e;
	iget-object p1, p1, Lu0/c;->b:Ljava/util/Map;
	invoke-interface {p1, p3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Ljava/lang/annotation/Annotation;
	check-cast p1, Lx0/e;
	if-eqz p1, :cond_1
	check-cast p1, Lx0/a;
	iget p1, p1, Lx0/a;->a:I
	shl-int/lit8 p1, p1, 0x3
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	invoke-virtual {p0, p2}, Lx0/f;->h(I)V
	return-void
	:cond_1
	new-instance p1, Lu0/b;
	const-string p2, "Field has no @Protobuf config"
	invoke-direct {p1, p2}, Lu0/b;-><init>(Ljava/lang/String;)V
	throw p1
.end method

.method public final c(Lu0/c;J)Lu0/e;
	.locals 3

	const-wide/16 v0, 0x0
	cmp-long v2, p2, v0
	if-nez v2, :cond_0
	goto :goto_0
	:cond_0
	const-class v0, Lx0/e;
	iget-object p1, p1, Lu0/c;->b:Ljava/util/Map;
	invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Ljava/lang/annotation/Annotation;
	check-cast p1, Lx0/e;
	if-eqz p1, :cond_1
	check-cast p1, Lx0/a;
	iget p1, p1, Lx0/a;->a:I
	shl-int/lit8 p1, p1, 0x3
	invoke-virtual {p0, p1}, Lx0/f;->h(I)V
	invoke-virtual {p0, p2, p3}, Lx0/f;->i(J)V
	:goto_0
	return-object p0
	:cond_1
	new-instance p1, Lu0/b;
	const-string p2, "Field has no @Protobuf config"
	invoke-direct {p1, p2}, Lu0/b;-><init>(Ljava/lang/String;)V
	throw p1
.end method

.method public final d(Lu0/c;Ljava/lang/Object;)Lu0/e;
	.locals 1

	const/4 v0, 0x1
	invoke-virtual {p0, p1, p2, v0}, Lx0/f;->a(Lu0/c;Ljava/lang/Object;Z)Lx0/f;
	return-object p0
.end method

.method public final e(Lu0/c;I)Lu0/e;
	.locals 1

	const/4 v0, 0x1
	invoke-virtual {p0, p1, p2, v0}, Lx0/f;->b(Lu0/c;IZ)V
	return-object p0
.end method

.method public final f(Lu0/d;Lu0/c;Ljava/lang/Object;Z)V
	.locals 5

	new-instance v0, Lx0/b;
	invoke-direct {v0}, Lx0/b;-><init>()V
	:try_start_0
	iget-object v1, p0, Lx0/f;->a:Ljava/io/OutputStream;
	iput-object v0, p0, Lx0/f;->a:Ljava/io/OutputStream;
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_1
	:try_start_1
	invoke-interface {p1, p3, p0}, Lu0/a;->a(Ljava/lang/Object;Ljava/lang/Object;)V
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	:try_start_2
	iput-object v1, p0, Lx0/f;->a:Ljava/io/OutputStream;
	iget-wide v1, v0, Lx0/b;->a:J
	:try_end_2
	.catchall {:try_start_2 .. :try_end_2} :catchall_1
	invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
	if-eqz p4, :cond_0
	const-wide/16 v3, 0x0
	cmp-long p4, v1, v3
	if-nez p4, :cond_0
	return-void
	:cond_0
	invoke-static {p2}, Lx0/f;->g(Lu0/c;)I
	move-result p2
	shl-int/lit8 p2, p2, 0x3
	or-int/lit8 p2, p2, 0x2
	invoke-virtual {p0, p2}, Lx0/f;->h(I)V
	invoke-virtual {p0, v1, v2}, Lx0/f;->i(J)V
	invoke-interface {p1, p3, p0}, Lu0/a;->a(Ljava/lang/Object;Ljava/lang/Object;)V
	return-void
	:catchall_0
	move-exception p1
	:try_start_3
	iput-object v1, p0, Lx0/f;->a:Ljava/io/OutputStream;
	throw p1
	:try_end_3
	.catchall {:try_start_3 .. :try_end_3} :catchall_1
	:catchall_1
	move-exception p1
	:try_start_4
	invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
	:try_end_4
	.catchall {:try_start_4 .. :try_end_4} :catchall_2
	goto :goto_0
	:catchall_2
	move-exception p2
	invoke-virtual {p1, p2}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
	:goto_0
	throw p1
.end method

.method public final h(I)V
	.locals 5

	:goto_0
	and-int/lit8 v0, p1, -0x80
	int-to-long v0, v0
	const-wide/16 v2, 0x0
	cmp-long v4, v0, v2
	iget-object v0, p0, Lx0/f;->a:Ljava/io/OutputStream;
	if-eqz v4, :cond_0
	and-int/lit8 v1, p1, 0x7f
	or-int/lit16 v1, v1, 0x80
	invoke-virtual {v0, v1}, Ljava/io/OutputStream;->write(I)V
	ushr-int/lit8 p1, p1, 0x7
	goto :goto_0
	:cond_0
	and-int/lit8 p1, p1, 0x7f
	invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write(I)V
	return-void
.end method

.method public final i(J)V
	.locals 5

	:goto_0
	const-wide/16 v0, -0x80
	and-long/2addr v0, p1
	const-wide/16 v2, 0x0
	cmp-long v4, v0, v2
	iget-object v0, p0, Lx0/f;->a:Ljava/io/OutputStream;
	if-eqz v4, :cond_0
	long-to-int v1, p1
	and-int/lit8 v1, v1, 0x7f
	or-int/lit16 v1, v1, 0x80
	invoke-virtual {v0, v1}, Ljava/io/OutputStream;->write(I)V
	const/4 v0, 0x7
	ushr-long/2addr p1, v0
	goto :goto_0
	:cond_0
	long-to-int p2, p1
	and-int/lit8 p1, p2, 0x7f
	invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write(I)V
	return-void
.end method