def __GENERATED__(self, t, obj, ctx, /):
    used = 2
    try:
        x_x = obj['x']
    except KeyError:
        raise MissingFieldError(t, 'x', ctx=ctx)
    else:
        v_x = x_x if type(x_x) is int else deserialize(self, int, x_x, ctx)
    try:
        x_y = obj['y']
    except KeyError:
        raise MissingFieldError(t, 'y', ctx=ctx)
    else:
        v_y = x_y if type(x_y) is int else deserialize(self, int, x_y, ctx)
    if used != len(obj):
        raise UnrecognizedFieldError(t, expected, obj.keys(), ctx=ctx)
    return Point(v_x, v_y)
