code: def _find_lines_mapping_index(
      original_line: int,
      lines_mappings: Sequence[_LinesMapping],
      start_index: int,
  ) -> int:
      """Returns the original index of the lines mappings for the original line."""
      index = start_index
      while index < len(lines_mappings):
          mapping = lines_mappings[index]
          if (
              mapping.original_start <= original_line
              and original_line <= mapping.original_end
          ):
              return index
          index += 1
      return index
  
imports: import difflib
  from dataclasses import dataclass
  from typing import Collection, Iterator, List, Sequence, Set, Tuple, Union
  from black.nodes import LN, STANDALONE_COMMENT, Leaf, Node, Visitor, first_leaf, furthest_ancestor_with_last_leaf, last_leaf, syms
  from blib2to3.pgen2.token import ASYNC, NEWLINE
label_desc: Use image node_id 12 for calling a global function with example usage: _find_lines_mapping_index(original_line, lines_mappings, start_index) and returns: index, index