def loc17(r5):
    """
    Find r3 st. ((r3 + 1) << 8) > r5.
    if r5 = (R3 << 8 + x), 0 <= x < 256:
    then (R3 << 8) <= r5,
    and (R3 + 1) << 8 > r5
    ie, r3 = R3
    That is, the result is r5 >> 8.
    """
    return (r5 >> 8)
    """
    r3 = 0
    while True:  # loc18
        r1 = (r3 + 1) << 8
        if r1 <= r5:
            r3 += 1  # loc 24
            continue
        else:
            r5 = r3  # loc26
            break    # goto loc8
    return r5
    """