def METHOD_NAME(sdfg):
    outer_map_entry = None
    inner_map_entry = None
    for node in sdfg.start_state.nodes():
        if not isinstance(node, dace.nodes.MapEntry):
            continue
        if xfh.get_parent_map(sdfg.start_state, node) is None:
            assert outer_map_entry is None
            outer_map_entry = node
        else:
            assert inner_map_entry is None
            inner_map_entry = node
    assert not outer_map_entry is None
    assert not inner_map_entry is None
    return outer_map_entry, inner_map_entry