<garvit244>191_1.py
def hammingWeight( n):
    bits = 0
    mask = 1
    
    for i in range(32):
        if (n&mask) != 0:
            bits +=1
        mask <<= 1
    
    return bits
def sample_funcname ( var_0 ) :
    var_2 = 0
    var_4 = 1
    for var_7 in range ( 32 ) :
        if ( var_0 & var_4 ) != 0 :
            var_2 += 1
        var_4 <<= 1
    return var_2
