def METHOD_NAME(indexed_face_set):
    #print('    ', indexed_face_set)
    points = None
    quads = []
    tris = []
    for key, value in indexed_face_set.items():
        if key == 'coord':
            coord = value
            #print('      coord:', value)
            for keyi, valuei in coord.items():
                if keyi == 'point':
                    assert points is None
                    points = valuei
                else:
                    raise NotImplementedError(f'keyi={keyi} valuei={valuei}')
        elif key == 'quads':
            #print('      quads:', value)
            quads = value
        elif key == 'tris':
            #print('      tris:', value)
            tris = value
        elif key in ['crease_angle', 'tex_coord', 'normals']:
            continue
        else:
            raise NotImplementedError(key)
            #print('      ', key, value)
    return points, quads, tris