def METHOD_NAME(info: List[Tuple[int, int, CodeLocation]], output, keystr: str):
    for reg_offset, stack_offset, codeloc in info:
        if reg_offset not in output:
            output[reg_offset] = {}
        if keystr not in output[reg_offset]:
            output[reg_offset][keystr] = []
        output[reg_offset][keystr].append((stack_offset, codeloc))