Vladimir Marko | 341e425 | 2014-12-19 10:29:51 +0000 | [diff] [blame] | 1 | .class public LB18718277; |
| 2 | |
| 3 | .super Ljava/lang/Object; |
| 4 | |
| 5 | .method public static helper(I)I |
| 6 | .locals 1 |
| 7 | add-int/lit8 v0, p0, 2 |
| 8 | neg-int v0, v0 |
| 9 | return v0 |
| 10 | .end method |
| 11 | |
| 12 | .method public static getInt()I |
| 13 | .registers 2 |
| 14 | const/4 v1, 3 |
| 15 | invoke-static {v1}, LB18718277;->helper(I)I |
| 16 | move-result v0 |
| 17 | :outer_loop |
| 18 | if-eqz v1, :exit_outer_loop |
| 19 | const/4 v0, 0 |
| 20 | if-eqz v0, :skip_dead_loop |
| 21 | :dead_loop |
| 22 | add-int/2addr v0, v0 |
| 23 | if-gez v0, :dead_loop |
| 24 | :skip_dead_loop |
| 25 | add-int/lit8 v1, v1, -1 |
| 26 | goto :outer_loop |
| 27 | :exit_outer_loop |
| 28 | return v0 |
| 29 | .end method |