.method public static calculateSignalLevel(II)I
.registers 5
.param p0, "rssi" # I
.param p1, "numLevels" # I
.prologue
.line 1514
const/16 v2, -0x64
if-gt p0, v2, :cond_6
.line 1515
const/4 v2, 0x0
.line 1521
:goto_5
return v2
.line 1516
:cond_6
const/16 v2, -0x37
if-lt p0, v2, :cond_d
.line 1517
add-int/lit8 v2, p1, -0x1
goto :goto_5
.line 1519
:cond_d
const/high16 v0, 0x42340000 # 45.0f
.line 1520
.local v0, "inputRange":F
add-int/lit8 v2, p1, -0x1
int-to-float v1, v2
.line 1521
.local v1, "outputRange":F
add-int/lit8 v2, p0, 0x64
int-to-float v2, v2
mul-float/2addr v2, v1
div-float/2addr v2, v0
float-to-int v2, v2
goto :goto_5
.end method
.method public static compareSignalLevel(II)I
.registers 3
.param p0, "rssiA" # I
.param p1, "rssiB" # I
.prologue
.line 1535
sub-int v0, p0, p1
return v0
.end method