def METHOD_NAME(phase):
    """
    Convert a 5 bit phase to a 4 bit C LUT.
    """
    global total_size
    targets = []
    for t in range(0, 32, 2):
        chunk = 0
        line = []
        for f in range(0, 32, 2):
            fr = phase[t][f]
            chunk = (chunk << 2) | fr
            if f and f % 8 == 6:
                line.append(chunk)
                chunk = 0
        targets.append(line)
        total_size += len(line)
    return targets