.class public final Lio/reactivex/rxjava3/internal/util/g; .super Ljava/lang/Object; .source "HalfSerializer.java" # direct methods .method public constructor ()V .locals 2 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 new-instance v0, Ljava/lang/IllegalStateException; const-string v1, "No instances!" invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v0 .end method .method public static a(Lai/n0;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/rxjava3/internal/util/AtomicThrowable;)V .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0 } names = { "observer", "wip", "errors" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lai/n0<", "*>;", "Ljava/util/concurrent/atomic/AtomicInteger;", "Lio/reactivex/rxjava3/internal/util/AtomicThrowable;", ")V" } .end annotation .line 1 invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I move-result p1 if-nez p1, :cond_0 .line 2 invoke-virtual {p2, p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryTerminateConsumer(Lai/n0;)V :cond_0 return-void .end method .method public static b(Lok/d;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/rxjava3/internal/util/AtomicThrowable;)V .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0 } names = { "subscriber", "wip", "errors" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "*>;", "Ljava/util/concurrent/atomic/AtomicInteger;", "Lio/reactivex/rxjava3/internal/util/AtomicThrowable;", ")V" } .end annotation .line 1 invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I move-result p1 if-nez p1, :cond_0 .line 2 invoke-virtual {p2, p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryTerminateConsumer(Lok/d;)V :cond_0 return-void .end method .method public static c(Lai/n0;Ljava/lang/Throwable;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/rxjava3/internal/util/AtomicThrowable;)V .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0, 0x0 } names = { "observer", "ex", "wip", "errors" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lai/n0<", "*>;", "Ljava/lang/Throwable;", "Ljava/util/concurrent/atomic/AtomicInteger;", "Lio/reactivex/rxjava3/internal/util/AtomicThrowable;", ")V" } .end annotation .line 1 invoke-virtual {p3, p1}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryAddThrowableOrReport(Ljava/lang/Throwable;)Z move-result p1 if-eqz p1, :cond_0 .line 2 invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I move-result p1 if-nez p1, :cond_0 .line 3 invoke-virtual {p3, p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryTerminateConsumer(Lai/n0;)V :cond_0 return-void .end method .method public static d(Lok/d;Ljava/lang/Throwable;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/rxjava3/internal/util/AtomicThrowable;)V .locals 0 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0, 0x0 } names = { "subscriber", "ex", "wip", "errors" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "*>;", "Ljava/lang/Throwable;", "Ljava/util/concurrent/atomic/AtomicInteger;", "Lio/reactivex/rxjava3/internal/util/AtomicThrowable;", ")V" } .end annotation .line 1 invoke-virtual {p3, p1}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryAddThrowableOrReport(Ljava/lang/Throwable;)Z move-result p1 if-eqz p1, :cond_0 .line 2 invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I move-result p1 if-nez p1, :cond_0 .line 3 invoke-virtual {p3, p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryTerminateConsumer(Lok/d;)V :cond_0 return-void .end method .method public static e(Lai/n0;Ljava/lang/Object;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/rxjava3/internal/util/AtomicThrowable;)V .locals 2 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0, 0x0 } names = { "observer", "value", "wip", "errors" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lai/n0<", "-TT;>;TT;", "Ljava/util/concurrent/atomic/AtomicInteger;", "Lio/reactivex/rxjava3/internal/util/AtomicThrowable;", ")V" } .end annotation .line 1 invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I move-result v0 if-nez v0, :cond_0 const/4 v0, 0x0 const/4 v1, 0x1 invoke-virtual {p2, v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z move-result v0 if-eqz v0, :cond_0 .line 2 invoke-interface {p0, p1}, Lai/n0;->onNext(Ljava/lang/Object;)V .line 3 invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I move-result p1 if-eqz p1, :cond_0 .line 4 invoke-virtual {p3, p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryTerminateConsumer(Lai/n0;)V :cond_0 return-void .end method .method public static f(Lok/d;Ljava/lang/Object;Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/rxjava3/internal/util/AtomicThrowable;)Z .locals 3 .annotation system Ldalvik/annotation/MethodParameters; accessFlags = { 0x0, 0x0, 0x0, 0x0 } names = { "subscriber", "value", "wip", "errors" } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Lok/d<", "-TT;>;TT;", "Ljava/util/concurrent/atomic/AtomicInteger;", "Lio/reactivex/rxjava3/internal/util/AtomicThrowable;", ")Z" } .end annotation .line 1 invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I move-result v0 const/4 v1, 0x0 if-nez v0, :cond_1 const/4 v0, 0x1 invoke-virtual {p2, v1, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z move-result v2 if-eqz v2, :cond_1 .line 2 invoke-interface {p0, p1}, Lok/d;->onNext(Ljava/lang/Object;)V .line 3 invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I move-result p1 if-nez p1, :cond_0 return v0 .line 4 :cond_0 invoke-virtual {p3, p0}, Lio/reactivex/rxjava3/internal/util/AtomicThrowable;->tryTerminateConsumer(Lok/d;)V :cond_1 return v1 .end method