def METHOD_NAME(packer, lkas_hud_msg, enabled, left_line, right_line, left_lane_depart, right_lane_depart):
  values = {s: lkas_hud_msg[s] for s in [
    "LARGE_WARNING_FLASHING",
    "SIDE_RADAR_ERROR_FLASHING1",
    "SIDE_RADAR_ERROR_FLASHING2",
    "LEAD_CAR",
    "LEAD_CAR_ERROR",
    "FRONT_RADAR_ERROR",
    "FRONT_RADAR_ERROR_FLASHING",
    "SIDE_RADAR_ERROR_FLASHING3",
    "LKAS_ERROR_FLASHING",
    "SAFETY_SHIELD_ACTIVE",
    "RIGHT_LANE_GREEN_FLASH",
    "LEFT_LANE_GREEN_FLASH",
    "FOLLOW_DISTANCE",
    "AUDIBLE_TONE",
    "SPEED_SET_ICON",
    "SMALL_STEERING_WHEEL_ICON",
    "unknown59",
    "unknown55",
    "unknown26",
    "unknown28",
    "unknown31",
    "SET_SPEED",
    "unknown43",
    "unknown08",
    "unknown05",
    "unknown02",
  ]}
  values["RIGHT_LANE_YELLOW_FLASH"] = 1 if right_lane_depart else 0
  values["LEFT_LANE_YELLOW_FLASH"] = 1 if left_lane_depart else 0
  values["LARGE_STEERING_WHEEL_ICON"] = 2 if enabled else 0
  values["RIGHT_LANE_GREEN"] = 1 if right_line and enabled else 0
  values["LEFT_LANE_GREEN"] = 1 if left_line and enabled else 0
  return packer.make_can_msg("PROPILOT_HUD", 0, values)