Offset 10, 16 lines modifiedOffset 10, 14 lines modified
10 ····}10 ····}
11 .end·annotation11 .end·annotation
  
  
12 #·instance·fields12 #·instance·fields
13 .field·private·mAddingObserverCounter:I13 .field·private·mAddingObserverCounter:I
  
14 .field·private·final·mEnforceMainThread:Z 
  
15 .field·private·mHandlingEvent:Z14 .field·private·mHandlingEvent:Z
  
16 .field·private·final·mLifecycleOwner:Ljava/lang/ref/WeakReference;15 .field·private·final·mLifecycleOwner:Ljava/lang/ref/WeakReference;
17 ····.annotation·system·Ldalvik/annotation/Signature;16 ····.annotation·system·Ldalvik/annotation/Signature;
18 ········value·=·{17 ········value·=·{
19 ············"Ljava/lang/ref/WeakReference<",18 ············"Ljava/lang/ref/WeakReference<",
20 ············"Landroidx/lifecycle/LifecycleOwner;",19 ············"Landroidx/lifecycle/LifecycleOwner;",
Offset 54, 109 lines modifiedOffset 52, 95 lines modified
54 .field·private·mState:Landroidx/lifecycle/Lifecycle$State;52 .field·private·mState:Landroidx/lifecycle/Lifecycle$State;
  
  
55 #·direct·methods53 #·direct·methods
56 .method·public·constructor·<init>(Landroidx/lifecycle/LifecycleOwner;)V54 .method·public·constructor·<init>(Landroidx/lifecycle/LifecycleOwner;)V
57 ····.locals·155 ····.locals·1
  
58 ····const/4·v0,·0x1 
  
59 ····.line·9156 ····.line·85
60 ····invoke-direct·{p0,·p1,·v0},·Landroidx/lifecycle/LifecycleRegistry;-><init>(Landroidx/lifecycle/LifecycleOwner;Z)V 
  
61 ····return-void 
62 .end·method 
  
63 .method·private·constructor·<init>(Landroidx/lifecycle/LifecycleOwner;Z)V 
64 ····.locals·1 
  
65 ····.line·94 
66 ····invoke-direct·{p0},·Landroidx/lifecycle/Lifecycle;-><init>()V57 ····invoke-direct·{p0},·Landroidx/lifecycle/Lifecycle;-><init>()V
  
67 ····.line·5158 ····.line·47
68 ····new-instance·v0,·Landroidx/arch/core/internal/FastSafeIterableMap;59 ····new-instance·v0,·Landroidx/arch/core/internal/FastSafeIterableMap;
  
69 ····invoke-direct·{v0},·Landroidx/arch/core/internal/FastSafeIterableMap;-><init>()V60 ····invoke-direct·{v0},·Landroidx/arch/core/internal/FastSafeIterableMap;-><init>()V
  
70 ····iput-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;61 ····iput-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
71 ····const/4·v0,·0x062 ····const/4·v0,·0x0
  
72 ····.line·6663 ····.line·62
73 ····iput·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I64 ····iput·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I
  
74 ····.line·6865 ····.line·64
75 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z66 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z
  
76 ····.line·6967 ····.line·65
77 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z68 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
78 ····.line·7969 ····.line·75
79 ····new-instance·v0,·Ljava/util/ArrayList;70 ····new-instance·v0,·Ljava/util/ArrayList;
  
80 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V71 ····invoke-direct·{v0},·Ljava/util/ArrayList;-><init>()V
  
81 ····iput-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;72 ····iput-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;
  
82 ····.line·9573 ····.line·86
83 ····new-instance·v0,·Ljava/lang/ref/WeakReference;74 ····new-instance·v0,·Ljava/lang/ref/WeakReference;
  
84 ····invoke-direct·{v0,·p1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V75 ····invoke-direct·{v0,·p1},·Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
  
85 ····iput-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mLifecycleOwner:Ljava/lang/ref/WeakReference;76 ····iput-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mLifecycleOwner:Ljava/lang/ref/WeakReference;
  
86 ····.line·9677 ····.line·87
87 ····sget-object·p1,·Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;78 ····sget-object·p1,·Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
  
88 ····iput-object·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;79 ····iput-object·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
89 ····.line·97 
90 ····iput-boolean·p2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mEnforceMainThread:Z 
  
91 ····return-void80 ····return-void
92 .end·method81 .end·method
  
93 .method·private·backwardPass(Landroidx/lifecycle/LifecycleOwner;)V82 .method·private·backwardPass(Landroidx/lifecycle/LifecycleOwner;)V
94 ····.locals·583 ····.locals·5
  
95 ····.line·27284 ····.line·256
96 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;85 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
97 ····.line·27386 ····.line·257
98 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->descendingIterator()Ljava/util/Iterator;87 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->descendingIterator()Ljava/util/Iterator;
  
99 ····move-result-object·v088 ····move-result-object·v0
  
100 ····.line·27489 ····.line·258
101 ····:cond_090 ····:cond_0
102 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z91 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z
  
103 ····move-result·v192 ····move-result·v1
  
104 ····if-eqz·v1,·:cond_293 ····if-eqz·v1,·:cond_2
  
105 ····iget-boolean·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z94 ····iget-boolean·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
106 ····if-nez·v1,·:cond_295 ····if-nez·v1,·:cond_2
  
107 ····.line·27596 ····.line·259
108 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;97 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
109 ····move-result-object·v198 ····move-result-object·v1
  
110 ····check-cast·v1,·Ljava/util/Map$Entry;99 ····check-cast·v1,·Ljava/util/Map$Entry;
  
111 ····.line·276100 ····.line·260
112 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;101 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
  
113 ····move-result-object·v2102 ····move-result-object·v2
  
114 ····check-cast·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;103 ····check-cast·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
115 ····.line·277104 ····.line·261
116 ····:goto_0105 ····:goto_0
117 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;106 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
118 ····iget-object·v4,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;107 ····iget-object·v4,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
119 ····invoke-virtual·{v3,·v4},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I108 ····invoke-virtual·{v3,·v4},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
  
Offset 166, 50 lines modifiedOffset 150, 50 lines modified
  
166 ····iget-boolean·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z150 ····iget-boolean·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
167 ····if-nez·v3,·:cond_0151 ····if-nez·v3,·:cond_0
  
168 ····iget-object·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;152 ····iget-object·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
169 ····.line·278153 ····.line·262
170 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;154 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
  
171 ····move-result-object·v4155 ····move-result-object·v4
  
172 ····invoke-virtual·{v3,·v4},·Landroidx/arch/core/internal/FastSafeIterableMap;->contains(Ljava/lang/Object;)Z156 ····invoke-virtual·{v3,·v4},·Landroidx/arch/core/internal/FastSafeIterableMap;->contains(Ljava/lang/Object;)Z
  
173 ····move-result·v3157 ····move-result·v3
  
174 ····if-eqz·v3,·:cond_0158 ····if-eqz·v3,·:cond_0
  
175 ····.line·279159 ····.line·263
176 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;160 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
177 ····invoke-static·{v3},·Landroidx/lifecycle/Lifecycle$Event;->downFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event;161 ····invoke-static·{v3},·Landroidx/lifecycle/Lifecycle$Event;->downFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event;
  
178 ····move-result-object·v3162 ····move-result-object·v3
  
179 ····if-eqz·v3,·:cond_1163 ····if-eqz·v3,·:cond_1
  
180 ····.line·283164 ····.line·267
181 ····invoke-virtual·{v3},·Landroidx/lifecycle/Lifecycle$Event;->getTargetState()Landroidx/lifecycle/Lifecycle$State;165 ····invoke-virtual·{v3},·Landroidx/lifecycle/Lifecycle$Event;->getTargetState()Landroidx/lifecycle/Lifecycle$State;
  
182 ····move-result-object·v4166 ····move-result-object·v4
  
183 ····invoke-direct·{p0,·v4},·Landroidx/lifecycle/LifecycleRegistry;->pushParentState(Landroidx/lifecycle/Lifecycle$State;)V167 ····invoke-direct·{p0,·v4},·Landroidx/lifecycle/LifecycleRegistry;->pushParentState(Landroidx/lifecycle/Lifecycle$State;)V
  
184 ····.line·284168 ····.line·268
185 ····invoke-virtual·{v2,·p1,·v3},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->dispatchEvent(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V169 ····invoke-virtual·{v2,·p1,·v3},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->dispatchEvent(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
  
186 ····.line·285170 ····.line·269
187 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->popParentState()V171 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->popParentState()V
  
188 ····goto·:goto_0172 ····goto·:goto_0
  
189 ····.line·281173 ····.line·265
190 ····:cond_1174 ····:cond_1
191 ····new-instance·p1,·Ljava/lang/IllegalStateException;175 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
192 ····new-instance·v0,·Ljava/lang/StringBuilder;176 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
193 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V177 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 232, 40 lines modifiedOffset 216, 40 lines modified
232 ····:cond_2216 ····:cond_2
233 ····return-void217 ····return-void
234 .end·method218 .end·method
  
235 .method·private·calculateTargetState(Landroidx/lifecycle/LifecycleObserver;)Landroidx/lifecycle/Lifecycle$State;219 .method·private·calculateTargetState(Landroidx/lifecycle/LifecycleObserver;)Landroidx/lifecycle/Lifecycle$State;
236 ····.locals·2220 ····.locals·2
  
237 ····.line·162221 ····.line·149
238 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;222 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
239 ····invoke-virtual·{v0,·p1},·Landroidx/arch/core/internal/FastSafeIterableMap;->ceil(Ljava/lang/Object;)Ljava/util/Map$Entry;223 ····invoke-virtual·{v0,·p1},·Landroidx/arch/core/internal/FastSafeIterableMap;->ceil(Ljava/lang/Object;)Ljava/util/Map$Entry;
  
240 ····move-result-object·p1224 ····move-result-object·p1
  
241 ····const/4·v0,·0x0225 ····const/4·v0,·0x0
  
242 ····if-eqz·p1,·:cond_0226 ····if-eqz·p1,·:cond_0
  
243 ····.line·164227 ····.line·151
244 ····invoke-interface·{p1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;228 ····invoke-interface·{p1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
  
245 ····move-result-object·p1229 ····move-result-object·p1
  
246 ····check-cast·p1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;230 ····check-cast·p1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
247 ····iget-object·p1,·p1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;231 ····iget-object·p1,·p1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
248 ····goto·:goto_0232 ····goto·:goto_0
  
249 ····:cond_0233 ····:cond_0
250 ····move-object·p1,·v0234 ····move-object·p1,·v0
  
251 ····.line·165235 ····.line·152
252 ····:goto_0236 ····:goto_0
253 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;237 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;
  
254 ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z238 ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z
  
255 ····move-result·v1239 ····move-result·v1
  
Offset 281, 137 lines modifiedOffset 265, 67 lines modified
  
281 ····invoke-virtual·{v0,·v1},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object;265 ····invoke-virtual·{v0,·v1},·Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
  
282 ····move-result-object·v0266 ····move-result-object·v0
  
283 ····check-cast·v0,·Landroidx/lifecycle/Lifecycle$State;267 ····check-cast·v0,·Landroidx/lifecycle/Lifecycle$State;
  
284 ····.line·167268 ····.line·154
285 ····:cond_1269 ····:cond_1
286 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;270 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
287 ····invoke-static·{v1,·p1},·Landroidx/lifecycle/LifecycleRegistry;->min(Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$State;271 ····invoke-static·{v1,·p1},·Landroidx/lifecycle/LifecycleRegistry;->min(Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$State;
  
288 ····move-result-object·p1272 ····move-result-object·p1
  
289 ····invoke-static·{p1,·v0},·Landroidx/lifecycle/LifecycleRegistry;->min(Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$State;273 ····invoke-static·{p1,·v0},·Landroidx/lifecycle/LifecycleRegistry;->min(Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$State;
  
290 ····move-result-object·p1274 ····move-result-object·p1
  
291 ····return-object·p1275 ····return-object·p1
292 .end·method276 .end·method
  
293 .method·public·static·createUnsafe(Landroidx/lifecycle/LifecycleOwner;)Landroidx/lifecycle/LifecycleRegistry; 
294 ····.locals·2 
  
295 ····.line·335 
296 ····new-instance·v0,·Landroidx/lifecycle/LifecycleRegistry; 
  
297 ····const/4·v1,·0x0 
  
298 ····invoke-direct·{v0,·p0,·v1},·Landroidx/lifecycle/LifecycleRegistry;-><init>(Landroidx/lifecycle/LifecycleOwner;Z)V 
  
299 ····return-object·v0 
300 .end·method 
  
301 .method·private·enforceMainThreadIfNeeded(Ljava/lang/String;)V 
302 ····.locals·3 
303 ····.annotation·build·Landroid/annotation/SuppressLint; 
304 ········value·=·{ 
305 ············"RestrictedApi" 
306 ········} 
307 ····.end·annotation 
  
308 ····.line·315 
309 ····iget-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mEnforceMainThread:Z 
  
310 ····if-eqz·v0,·:cond_1 
  
311 ····.line·316 
312 ····invoke-static·{},·Landroidx/arch/core/executor/ArchTaskExecutor;->getInstance()Landroidx/arch/core/executor/ArchTaskExecutor; 
  
313 ····move-result-object·v0 
  
314 ····invoke-virtual·{v0},·Landroidx/arch/core/executor/ArchTaskExecutor;->isMainThread()Z 
  
315 ····move-result·v0 
  
316 ····if-eqz·v0,·:cond_0 
  
317 ····goto·:goto_0 
  
318 ····.line·317 
319 ····:cond_0 
320 ····new-instance·v0,·Ljava/lang/IllegalStateException; 
  
321 ····new-instance·v1,·Ljava/lang/StringBuilder; 
  
322 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V 
  
323 ····const-string·v2,·"Method·" 
  
324 ····invoke-virtual·{v1,·v2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
325 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
326 ····const-string·p1,·"·must·be·called·on·the·main·thread" 
  
327 ····invoke-virtual·{v1,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
328 ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
329 ····move-result-object·p1 
  
330 ····invoke-direct·{v0,·p1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V 
  
331 ····throw·v0 
  
332 ····:cond_1 
333 ····:goto_0 
334 ····return-void 
335 .end·method 
  
336 .method·private·forwardPass(Landroidx/lifecycle/LifecycleOwner;)V277 .method·private·forwardPass(Landroidx/lifecycle/LifecycleOwner;)V
337 ····.locals·5278 ····.locals·5
  
338 ····.line·253279 ····.line·237
339 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;280 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
340 ····.line·254281 ····.line·238
341 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->iteratorWithAdditions()Landroidx/arch/core/internal/SafeIterableMap$IteratorWithAdditions;282 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->iteratorWithAdditions()Landroidx/arch/core/internal/SafeIterableMap$IteratorWithAdditions;
  
342 ····move-result-object·v0283 ····move-result-object·v0
  
343 ····.line·255284 ····.line·239
344 ····:cond_0285 ····:cond_0
345 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z286 ····invoke-interface·{v0},·Ljava/util/Iterator;->hasNext()Z
  
346 ····move-result·v1287 ····move-result·v1
  
347 ····if-eqz·v1,·:cond_2288 ····if-eqz·v1,·:cond_2
  
348 ····iget-boolean·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z289 ····iget-boolean·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
349 ····if-nez·v1,·:cond_2290 ····if-nez·v1,·:cond_2
  
350 ····.line·256291 ····.line·240
351 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;292 ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object;
  
352 ····move-result-object·v1293 ····move-result-object·v1
  
353 ····check-cast·v1,·Ljava/util/Map$Entry;294 ····check-cast·v1,·Ljava/util/Map$Entry;
  
354 ····.line·257295 ····.line·241
355 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;296 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
  
356 ····move-result-object·v2297 ····move-result-object·v2
  
357 ····check-cast·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;298 ····check-cast·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
358 ····.line·258299 ····.line·242
359 ····:goto_0300 ····:goto_0
360 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;301 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
361 ····iget-object·v4,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;302 ····iget-object·v4,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
362 ····invoke-virtual·{v3,·v4},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I303 ····invoke-virtual·{v3,·v4},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
  
Offset 421, 48 lines modifiedOffset 335, 48 lines modified
  
421 ····iget-boolean·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z335 ····iget-boolean·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
422 ····if-nez·v3,·:cond_0336 ····if-nez·v3,·:cond_0
  
423 ····iget-object·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;337 ····iget-object·v3,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
424 ····.line·259338 ····.line·243
425 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;339 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
  
426 ····move-result-object·v4340 ····move-result-object·v4
  
427 ····invoke-virtual·{v3,·v4},·Landroidx/arch/core/internal/FastSafeIterableMap;->contains(Ljava/lang/Object;)Z341 ····invoke-virtual·{v3,·v4},·Landroidx/arch/core/internal/FastSafeIterableMap;->contains(Ljava/lang/Object;)Z
  
428 ····move-result·v3342 ····move-result·v3
  
429 ····if-eqz·v3,·:cond_0343 ····if-eqz·v3,·:cond_0
  
430 ····.line·260344 ····.line·244
431 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;345 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
432 ····invoke-direct·{p0,·v3},·Landroidx/lifecycle/LifecycleRegistry;->pushParentState(Landroidx/lifecycle/Lifecycle$State;)V346 ····invoke-direct·{p0,·v3},·Landroidx/lifecycle/LifecycleRegistry;->pushParentState(Landroidx/lifecycle/Lifecycle$State;)V
  
433 ····.line·261347 ····.line·245
434 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;348 ····iget-object·v3,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
435 ····invoke-static·{v3},·Landroidx/lifecycle/Lifecycle$Event;->upFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event;349 ····invoke-static·{v3},·Landroidx/lifecycle/Lifecycle$Event;->upFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event;
  
436 ····move-result-object·v3350 ····move-result-object·v3
  
437 ····if-eqz·v3,·:cond_1351 ····if-eqz·v3,·:cond_1
  
438 ····.line·265352 ····.line·249
439 ····invoke-virtual·{v2,·p1,·v3},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->dispatchEvent(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V353 ····invoke-virtual·{v2,·p1,·v3},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->dispatchEvent(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
  
440 ····.line·266354 ····.line·250
441 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->popParentState()V355 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->popParentState()V
  
442 ····goto·:goto_0356 ····goto·:goto_0
  
443 ····.line·263357 ····.line·247
444 ····:cond_1358 ····:cond_1
445 ····new-instance·p1,·Ljava/lang/IllegalStateException;359 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
446 ····new-instance·v0,·Ljava/lang/StringBuilder;360 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
447 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V361 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 485, 28 lines modifiedOffset 399, 28 lines modified
485 ····:cond_2399 ····:cond_2
486 ····return-void400 ····return-void
487 .end·method401 .end·method
  
488 .method·private·isSynced()Z402 .method·private·isSynced()Z
489 ····.locals·3403 ····.locals·3
  
490 ····.line·153404 ····.line·140
491 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;405 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
492 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->size()I406 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->size()I
  
493 ····move-result·v0407 ····move-result·v0
  
494 ····const/4·v1,·0x1408 ····const/4·v1,·0x1
  
495 ····if-nez·v0,·:cond_0409 ····if-nez·v0,·:cond_0
  
496 ····return·v1410 ····return·v1
  
497 ····.line·156411 ····.line·143
498 ····:cond_0412 ····:cond_0
499 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;413 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
500 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->eldest()Ljava/util/Map$Entry;414 ····invoke-virtual·{v0},·Landroidx/arch/core/internal/SafeIterableMap;->eldest()Ljava/util/Map$Entry;
  
501 ····move-result-object·v0415 ····move-result-object·v0
  
Offset 514, 15 lines modifiedOffset 428, 15 lines modified
  
514 ····move-result-object·v0428 ····move-result-object·v0
  
515 ····check-cast·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;429 ····check-cast·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
516 ····iget-object·v0,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;430 ····iget-object·v0,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
517 ····.line·157431 ····.line·144
518 ····iget-object·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;432 ····iget-object·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
519 ····invoke-virtual·{v2},·Landroidx/arch/core/internal/SafeIterableMap;->newest()Ljava/util/Map$Entry;433 ····invoke-virtual·{v2},·Landroidx/arch/core/internal/SafeIterableMap;->newest()Ljava/util/Map$Entry;
  
520 ····move-result-object·v2434 ····move-result-object·v2
  
521 ····invoke-interface·{v2},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;435 ····invoke-interface·{v2},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
Offset 531, 15 lines modifiedOffset 445, 15 lines modified
  
531 ····check-cast·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;445 ····check-cast·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
532 ····iget-object·v2,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;446 ····iget-object·v2,·v2,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
533 ····if-ne·v0,·v2,·:cond_1447 ····if-ne·v0,·v2,·:cond_1
  
534 ····.line·158448 ····.line·145
535 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;449 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
536 ····if-ne·v0,·v2,·:cond_1450 ····if-ne·v0,·v2,·:cond_1
  
537 ····goto·:goto_0451 ····goto·:goto_0
  
538 ····:cond_1452 ····:cond_1
Offset 550, 15 lines modifiedOffset 464, 15 lines modified
550 .end·method464 .end·method
  
551 .method·static·min(Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$State;465 .method·static·min(Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$State;
552 ····.locals·1466 ····.locals·1
  
553 ····if-eqz·p1,·:cond_0467 ····if-eqz·p1,·:cond_0
  
554 ····.line·339468 ····.line·298
555 ····invoke-virtual·{p1,·p0},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I469 ····invoke-virtual·{p1,·p0},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
  
556 ····move-result·v0470 ····move-result·v0
  
557 ····if-gez·v0,·:cond_0471 ····if-gez·v0,·:cond_0
  
558 ····move-object·p0,·p1472 ····move-object·p0,·p1
Offset 566, 64 lines modifiedOffset 480, 64 lines modified
566 ····:cond_0480 ····:cond_0
567 ····return-object·p0481 ····return-object·p0
568 .end·method482 .end·method
  
569 .method·private·moveToState(Landroidx/lifecycle/Lifecycle$State;)V483 .method·private·moveToState(Landroidx/lifecycle/Lifecycle$State;)V
570 ····.locals·1484 ····.locals·1
  
571 ····.line·138485 ····.line·125
572 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;486 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
573 ····if-ne·v0,·p1,·:cond_0487 ····if-ne·v0,·p1,·:cond_0
  
574 ····return-void488 ····return-void
  
575 ····.line·141489 ····.line·128
576 ····:cond_0490 ····:cond_0
577 ····iput-object·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;491 ····iput-object·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
578 ····.line·142492 ····.line·129
579 ····iget-boolean·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z493 ····iget-boolean·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z
  
580 ····const/4·v0,·0x1494 ····const/4·v0,·0x1
  
581 ····if-nez·p1,·:cond_2495 ····if-nez·p1,·:cond_2
  
582 ····iget·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I496 ····iget·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I
  
583 ····if-eqz·p1,·:cond_1497 ····if-eqz·p1,·:cond_1
  
584 ····goto·:goto_0498 ····goto·:goto_0
  
585 ····.line·147499 ····.line·134
586 ····:cond_1500 ····:cond_1
587 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z501 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z
  
588 ····.line·148502 ····.line·135
589 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->sync()V503 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->sync()V
  
590 ····const/4·p1,·0x0504 ····const/4·p1,·0x0
  
591 ····.line·149505 ····.line·136
592 ····iput-boolean·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z506 ····iput-boolean·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mHandlingEvent:Z
  
593 ····return-void507 ····return-void
  
594 ····.line·143508 ····.line·130
595 ····:cond_2509 ····:cond_2
596 ····:goto_0510 ····:goto_0
597 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z511 ····iput-boolean·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
598 ····return-void512 ····return-void
599 .end·method513 .end·method
  
600 .method·private·popParentState()V514 .method·private·popParentState()V
601 ····.locals·2515 ····.locals·2
  
602 ····.line·210516 ····.line·196
603 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;517 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;
  
604 ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I518 ····invoke-virtual·{v0},·Ljava/util/ArrayList;->size()I
  
605 ····move-result·v1519 ····move-result·v1
  
606 ····add-int/lit8·v1,·v1,·-0x1520 ····add-int/lit8·v1,·v1,·-0x1
Offset 632, 51 lines modifiedOffset 546, 51 lines modified
  
632 ····return-void546 ····return-void
633 .end·method547 .end·method
  
634 .method·private·pushParentState(Landroidx/lifecycle/Lifecycle$State;)V548 .method·private·pushParentState(Landroidx/lifecycle/Lifecycle$State;)V
635 ····.locals·1549 ····.locals·1
  
636 ····.line·214550 ····.line·200
637 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;551 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mParentStates:Ljava/util/ArrayList;
  
638 ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z552 ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
  
639 ····return-void553 ····return-void
640 .end·method554 .end·method
  
641 .method·private·sync()V555 .method·private·sync()V
642 ····.locals·3556 ····.locals·3
  
643 ····.line·293557 ····.line·277
644 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mLifecycleOwner:Ljava/lang/ref/WeakReference;558 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mLifecycleOwner:Ljava/lang/ref/WeakReference;
  
645 ····invoke-virtual·{v0},·Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;559 ····invoke-virtual·{v0},·Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
  
646 ····move-result-object·v0560 ····move-result-object·v0
  
647 ····check-cast·v0,·Landroidx/lifecycle/LifecycleOwner;561 ····check-cast·v0,·Landroidx/lifecycle/LifecycleOwner;
  
648 ····if-eqz·v0,·:cond_3562 ····if-eqz·v0,·:cond_3
  
649 ····.line·298563 ····.line·282
650 ····:cond_0564 ····:cond_0
651 ····:goto_0565 ····:goto_0
652 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->isSynced()Z566 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->isSynced()Z
  
653 ····move-result·v1567 ····move-result·v1
  
654 ····const/4·v2,·0x0568 ····const/4·v2,·0x0
  
655 ····if-nez·v1,·:cond_2569 ····if-nez·v1,·:cond_2
  
656 ····.line·299570 ····.line·283
657 ····iput-boolean·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z571 ····iput-boolean·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
658 ····.line·301572 ····.line·285
659 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;573 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
660 ····iget-object·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;574 ····iget-object·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
661 ····invoke-virtual·{v2},·Landroidx/arch/core/internal/SafeIterableMap;->eldest()Ljava/util/Map$Entry;575 ····invoke-virtual·{v2},·Landroidx/arch/core/internal/SafeIterableMap;->eldest()Ljava/util/Map$Entry;
  
662 ····move-result-object·v2576 ····move-result-object·v2
Offset 691, 61 lines modifiedOffset 605, 61 lines modified
  
691 ····invoke-virtual·{v1,·v2},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I605 ····invoke-virtual·{v1,·v2},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
  
692 ····move-result·v1606 ····move-result·v1
  
693 ····if-gez·v1,·:cond_1607 ····if-gez·v1,·:cond_1
  
694 ····.line·302608 ····.line·286
695 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->backwardPass(Landroidx/lifecycle/LifecycleOwner;)V609 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->backwardPass(Landroidx/lifecycle/LifecycleOwner;)V
  
696 ····.line·304610 ····.line·288
697 ····:cond_1611 ····:cond_1
698 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;612 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
699 ····invoke-virtual·{v1},·Landroidx/arch/core/internal/SafeIterableMap;->newest()Ljava/util/Map$Entry;613 ····invoke-virtual·{v1},·Landroidx/arch/core/internal/SafeIterableMap;->newest()Ljava/util/Map$Entry;
  
700 ····move-result-object·v1614 ····move-result-object·v1
  
701 ····.line·305615 ····.line·289
702 ····iget-boolean·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z616 ····iget-boolean·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
703 ····if-nez·v2,·:cond_0617 ····if-nez·v2,·:cond_0
  
704 ····if-eqz·v1,·:cond_0618 ····if-eqz·v1,·:cond_0
  
705 ····iget-object·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;619 ····iget-object·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
706 ····.line·306620 ····.line·290
707 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;621 ····invoke-interface·{v1},·Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
  
708 ····move-result-object·v1622 ····move-result-object·v1
  
709 ····check-cast·v1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;623 ····check-cast·v1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
710 ····iget-object·v1,·v1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;624 ····iget-object·v1,·v1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
711 ····invoke-virtual·{v2,·v1},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I625 ····invoke-virtual·{v2,·v1},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
  
712 ····move-result·v1626 ····move-result·v1
  
713 ····if-lez·v1,·:cond_0627 ····if-lez·v1,·:cond_0
  
714 ····.line·307628 ····.line·291
715 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->forwardPass(Landroidx/lifecycle/LifecycleOwner;)V629 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->forwardPass(Landroidx/lifecycle/LifecycleOwner;)V
  
716 ····goto·:goto_0630 ····goto·:goto_0
  
717 ····.line·310631 ····.line·294
718 ····:cond_2632 ····:cond_2
719 ····iput-boolean·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z633 ····iput-boolean·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mNewEventOccurred:Z
  
720 ····return-void634 ····return-void
  
721 ····.line·295635 ····.line·279
722 ····:cond_3636 ····:cond_3
723 ····new-instance·v0,·Ljava/lang/IllegalStateException;637 ····new-instance·v0,·Ljava/lang/IllegalStateException;
  
724 ····const-string·v1,·"LifecycleOwner·of·this·LifecycleRegistry·is·alreadygarbage·collected.·It·is·too·late·to·change·lifecycle·state."638 ····const-string·v1,·"LifecycleOwner·of·this·LifecycleRegistry·is·alreadygarbage·collected.·It·is·too·late·to·change·lifecycle·state."
  
725 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V639 ····invoke-direct·{v0,·v1},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
Offset 753, 65 lines modifiedOffset 667, 60 lines modified
753 .end·method667 .end·method
  
  
754 #·virtual·methods668 #·virtual·methods
755 .method·public·addObserver(Landroidx/lifecycle/LifecycleObserver;)V669 .method·public·addObserver(Landroidx/lifecycle/LifecycleObserver;)V
756 ····.locals·6670 ····.locals·6
  
757 ····const-string·v0,·"addObserver" 
  
758 ····.line·172671 ····.line·159
759 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->enforceMainThreadIfNeeded(Ljava/lang/String;)V 
  
760 ····.line·173 
761 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;672 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
762 ····sget-object·v1,·Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;673 ····sget-object·v1,·Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
  
763 ····if-ne·v0,·v1,·:cond_0674 ····if-ne·v0,·v1,·:cond_0
  
764 ····goto·:goto_0675 ····goto·:goto_0
  
765 ····:cond_0676 ····:cond_0
766 ····sget-object·v1,·Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;677 ····sget-object·v1,·Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
  
767 ····.line·174678 ····.line·160
768 ····:goto_0679 ····:goto_0
769 ····new-instance·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;680 ····new-instance·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
770 ····invoke-direct·{v0,·p1,·v1},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;-><init>(Landroidx/lifecycle/LifecycleObserver;Landroidx/lifecycle/Lifecycle$State;)V681 ····invoke-direct·{v0,·p1,·v1},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;-><init>(Landroidx/lifecycle/LifecycleObserver;Landroidx/lifecycle/Lifecycle$State;)V
  
771 ····.line·175682 ····.line·161
772 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;683 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
773 ····invoke-virtual·{v1,·p1,·v0},·Landroidx/arch/core/internal/FastSafeIterableMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;684 ····invoke-virtual·{v1,·p1,·v0},·Landroidx/arch/core/internal/FastSafeIterableMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
  
774 ····move-result-object·v1685 ····move-result-object·v1
  
775 ····check-cast·v1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;686 ····check-cast·v1,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;
  
776 ····if-eqz·v1,·:cond_1687 ····if-eqz·v1,·:cond_1
  
777 ····return-void688 ····return-void
  
778 ····.line·180689 ····.line·166
779 ····:cond_1690 ····:cond_1
780 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mLifecycleOwner:Ljava/lang/ref/WeakReference;691 ····iget-object·v1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mLifecycleOwner:Ljava/lang/ref/WeakReference;
  
781 ····invoke-virtual·{v1},·Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;692 ····invoke-virtual·{v1},·Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
  
782 ····move-result-object·v1693 ····move-result-object·v1
  
783 ····check-cast·v1,·Landroidx/lifecycle/LifecycleOwner;694 ····check-cast·v1,·Landroidx/lifecycle/LifecycleOwner;
  
784 ····if-nez·v1,·:cond_2695 ····if-nez·v1,·:cond_2
  
785 ····return-void696 ····return-void
  
786 ····.line·186697 ····.line·172
787 ····:cond_2698 ····:cond_2
788 ····iget·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I699 ····iget·v2,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I
  
789 ····const/4·v3,·0x1700 ····const/4·v3,·0x1
  
790 ····if-nez·v2,·:cond_4701 ····if-nez·v2,·:cond_4
  
Offset 826, 74 lines modifiedOffset 735, 74 lines modified
  
826 ····goto·:goto_2735 ····goto·:goto_2
  
827 ····:cond_4736 ····:cond_4
828 ····:goto_1737 ····:goto_1
829 ····move·v2,·v3738 ····move·v2,·v3
  
830 ····.line·187739 ····.line·173
831 ····:goto_2740 ····:goto_2
832 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->calculateTargetState(Landroidx/lifecycle/LifecycleObserver;)Landroidx/lifecycle/Lifecycle$State;741 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->calculateTargetState(Landroidx/lifecycle/LifecycleObserver;)Landroidx/lifecycle/Lifecycle$State;
  
833 ····move-result-object·v4742 ····move-result-object·v4
  
834 ····.line·188743 ····.line·174
835 ····iget·v5,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I744 ····iget·v5,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I
  
836 ····add-int/2addr·v5,·v3745 ····add-int/2addr·v5,·v3
  
837 ····iput·v5,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I746 ····iput·v5,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I
  
838 ····.line·189747 ····.line·175
839 ····:goto_3748 ····:goto_3
840 ····iget-object·v5,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;749 ····iget-object·v5,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
841 ····invoke-virtual·{v5,·v4},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I750 ····invoke-virtual·{v5,·v4},·Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
  
842 ····move-result·v4751 ····move-result·v4
  
843 ····if-gez·v4,·:cond_6752 ····if-gez·v4,·:cond_6
  
844 ····iget-object·v4,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;753 ····iget-object·v4,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
845 ····.line·190754 ····.line·176
846 ····invoke-virtual·{v4,·p1},·Landroidx/arch/core/internal/FastSafeIterableMap;->contains(Ljava/lang/Object;)Z755 ····invoke-virtual·{v4,·p1},·Landroidx/arch/core/internal/FastSafeIterableMap;->contains(Ljava/lang/Object;)Z
  
847 ····move-result·v4756 ····move-result·v4
  
848 ····if-eqz·v4,·:cond_6757 ····if-eqz·v4,·:cond_6
  
849 ····.line·191758 ····.line·177
850 ····iget-object·v4,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;759 ····iget-object·v4,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
851 ····invoke-direct·{p0,·v4},·Landroidx/lifecycle/LifecycleRegistry;->pushParentState(Landroidx/lifecycle/Lifecycle$State;)V760 ····invoke-direct·{p0,·v4},·Landroidx/lifecycle/LifecycleRegistry;->pushParentState(Landroidx/lifecycle/Lifecycle$State;)V
  
852 ····.line·192761 ····.line·178
853 ····iget-object·v4,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;762 ····iget-object·v4,·v0,·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->mState:Landroidx/lifecycle/Lifecycle$State;
  
854 ····invoke-static·{v4},·Landroidx/lifecycle/Lifecycle$Event;->upFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event;763 ····invoke-static·{v4},·Landroidx/lifecycle/Lifecycle$Event;->upFrom(Landroidx/lifecycle/Lifecycle$State;)Landroidx/lifecycle/Lifecycle$Event;
  
855 ····move-result-object·v4764 ····move-result-object·v4
  
856 ····if-eqz·v4,·:cond_5765 ····if-eqz·v4,·:cond_5
  
857 ····.line·196766 ····.line·182
858 ····invoke-virtual·{v0,·v1,·v4},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->dispatchEvent(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V767 ····invoke-virtual·{v0,·v1,·v4},·Landroidx/lifecycle/LifecycleRegistry$ObserverWithState;->dispatchEvent(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
  
859 ····.line·197768 ····.line·183
860 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->popParentState()V769 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->popParentState()V
  
861 ····.line·199770 ····.line·185
862 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->calculateTargetState(Landroidx/lifecycle/LifecycleObserver;)Landroidx/lifecycle/Lifecycle$State;771 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->calculateTargetState(Landroidx/lifecycle/LifecycleObserver;)Landroidx/lifecycle/Lifecycle$State;
  
863 ····move-result-object·v4772 ····move-result-object·v4
  
864 ····goto·:goto_3773 ····goto·:goto_3
  
865 ····.line·194774 ····.line·180
866 ····:cond_5775 ····:cond_5
867 ····new-instance·p1,·Ljava/lang/IllegalStateException;776 ····new-instance·p1,·Ljava/lang/IllegalStateException;
  
868 ····new-instance·v1,·Ljava/lang/StringBuilder;777 ····new-instance·v1,·Ljava/lang/StringBuilder;
  
869 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V778 ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V
  
Offset 912, 93 lines modifiedOffset 821, 73 lines modified
912 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V821 ····invoke-direct·{p1,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
913 ····throw·p1822 ····throw·p1
  
914 ····:cond_6823 ····:cond_6
915 ····if-nez·v2,·:cond_7824 ····if-nez·v2,·:cond_7
  
916 ····.line·204825 ····.line·190
917 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->sync()V826 ····invoke-direct·{p0},·Landroidx/lifecycle/LifecycleRegistry;->sync()V
  
918 ····.line·206827 ····.line·192
919 ····:cond_7828 ····:cond_7
920 ····iget·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I829 ····iget·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I
  
921 ····sub-int/2addr·p1,·v3830 ····sub-int/2addr·p1,·v3
  
922 ····iput·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I831 ····iput·p1,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mAddingObserverCounter:I
  
923 ····return-void832 ····return-void
924 .end·method833 .end·method
  
925 .method·public·getCurrentState()Landroidx/lifecycle/Lifecycle$State;834 .method·public·getCurrentState()Landroidx/lifecycle/Lifecycle$State;
926 ····.locals·1835 ····.locals·1
  
927 ····.line·249836 ····.line·233
928 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;837 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mState:Landroidx/lifecycle/Lifecycle$State;
  
929 ····return-object·v0838 ····return-object·v0
930 .end·method839 .end·method
  
931 .method·public·handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V840 .method·public·handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
932 ····.locals·1841 ····.locals·0
  
933 ····const-string·v0,·"handleLifecycleEvent" 
  
934 ····.line·133842 ····.line·121
935 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->enforceMainThreadIfNeeded(Ljava/lang/String;)V 
  
936 ····.line·134 
937 ····invoke-virtual·{p1},·Landroidx/lifecycle/Lifecycle$Event;->getTargetState()Landroidx/lifecycle/Lifecycle$State;843 ····invoke-virtual·{p1},·Landroidx/lifecycle/Lifecycle$Event;->getTargetState()Landroidx/lifecycle/Lifecycle$State;
  
938 ····move-result-object·p1844 ····move-result-object·p1
  
939 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->moveToState(Landroidx/lifecycle/Lifecycle$State;)V845 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->moveToState(Landroidx/lifecycle/Lifecycle$State;)V
  
940 ····return-void846 ····return-void
941 .end·method847 .end·method
  
942 .method·public·markState(Landroidx/lifecycle/Lifecycle$State;)V848 .method·public·markState(Landroidx/lifecycle/Lifecycle$State;)V
943 ····.locals·1849 ····.locals·0
944 ····.annotation·runtime·Ljava/lang/Deprecated;850 ····.annotation·runtime·Ljava/lang/Deprecated;
945 ····.end·annotation851 ····.end·annotation
  
946 ····const-string·v0,·"markState" 
  
947 ····.line·109852 ····.line·99
948 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->enforceMainThreadIfNeeded(Ljava/lang/String;)V 
  
949 ····.line·110 
950 ····invoke-virtual·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V853 ····invoke-virtual·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V
  
951 ····return-void854 ····return-void
952 .end·method855 .end·method
  
953 .method·public·removeObserver(Landroidx/lifecycle/LifecycleObserver;)V856 .method·public·removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
954 ····.locals·1857 ····.locals·1
  
955 ····const-string·v0,·"removeObserver" 
  
956 ····.line·219858 ····.line·217
957 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->enforceMainThreadIfNeeded(Ljava/lang/String;)V 
  
958 ····.line·232 
959 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;859 ····iget-object·v0,·p0,·Landroidx/lifecycle/LifecycleRegistry;->mObserverMap:Landroidx/arch/core/internal/FastSafeIterableMap;
  
960 ····invoke-virtual·{v0,·p1},·Landroidx/arch/core/internal/FastSafeIterableMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;860 ····invoke-virtual·{v0,·p1},·Landroidx/arch/core/internal/FastSafeIterableMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
  
961 ····return-void861 ····return-void
962 .end·method862 .end·method
  
963 .method·public·setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V863 .method·public·setCurrentState(Landroidx/lifecycle/Lifecycle$State;)V
964 ····.locals·1864 ····.locals·0
  
965 ····const-string·v0,·"setCurrentState" 
  
966 ····.line·120865 ····.line·109
967 ····invoke-direct·{p0,·v0},·Landroidx/lifecycle/LifecycleRegistry;->enforceMainThreadIfNeeded(Ljava/lang/String;)V 
  
968 ····.line·121 
969 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->moveToState(Landroidx/lifecycle/Lifecycle$State;)V866 ····invoke-direct·{p0,·p1},·Landroidx/lifecycle/LifecycleRegistry;->moveToState(Landroidx/lifecycle/Lifecycle$State;)V
  
970 ····return-void867 ····return-void
971 .end·method868 .end·method