def repop_label(self, label_map, max_label, part):
    if self.populated:
        for i in range(len(self.ret_insts)):
            inst = self.ret_insts[i]
            tmps = inst.split((', ' + part))
            if (len(tmps) > 1):
                label = tmps[1].split(' ')[0]
                old = int(label)
                new = label_map.get(old, random.randint((self.label + 1), max_label))
                new_inst = inst[8:].replace((part + '{}'.format(old)), (part + '{}'.format(new)))
                inst = '{:<8}{:<50}'.format(inst[0:8], new_inst)
                self.ret_insts[i] = inst
    else:
        return
def repop_label(self, label_map, max_label, part):
    if self.populated:
        for i in range(len(self.ret_insts)):
            inst = self.ret_insts[i]
            tmps = inst.split((', ' + part))
            if (len(tmps) > 1):
                label = tmps[1].split(' ')[0]
                old = int(label)
                new = label_map.get(old, random.randint((self.label + 1), max_label))
                new_inst = inst[8:].replace((part + '{}'.format(old)), (part + '{}'.format(new)))
                inst = '{:<8}{:<50}'.format(inst[0:8], new_inst)
                self.ret_insts[i] = inst
    else:
        return