/* launch-options-option-catalog.c generated by valac 0.56.19, the Vala compiler
 * generated from launch-options-option-catalog.vala, do not modify */

#include "protonplus_core.h"
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <glib-object.h>
#include <gee.h>
#include <glib/gi18n-lib.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif

enum  {
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_0_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_KIND_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_EMISSION_MODE_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_ENVIRONMENT_KEY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_WRAPPER_ID_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_FIXED_TOKENS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_PARSE_SHAPE_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
enum  {
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_0_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_TOKENS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_NUM_PROPERTIES];
enum  {
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_0_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_KIND_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PLACEHOLDER_POLICY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_EMISSION_MODE_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_ENVIRONMENT_KEY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_WRAPPER_ID_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_FIXED_TOKENS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_WRAPPER_IDS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICT_GROUP_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICTS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_DEPENDENCIES_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SUPPORT_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_MANAGED_EMISSION_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_TOKENS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_VALUES_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PARSE_SHAPE_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_APPLICABILITY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_MANUAL_REPRESENTATION_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_NUM_PROPERTIES];
enum  {
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_0_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_ID_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_EXECUTABLE_TOKENS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_PARSE_ALIASES_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_DELIMITER_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NESTING_PRIORITY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_MUTUAL_EXCLUSION_GROUP_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_REQUIRED_CAPABILITY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NUM_PROPERTIES];
enum  {
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_0_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ID_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_TITLE_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DESCRIPTION_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_CATEGORY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SUBSECTION_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DISPLAY_RANK_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_QUICK_SETTING_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_EXPERTISE_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_APPLICABILITY_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_UNAVAILABLE_REASON_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DEPENDENCIES_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ALIASES_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_RAW_TOKENS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SERIALIZATION_TYPE_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_COMMAND_ORDER_RANK_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SEMANTICS_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_NUM_PROPERTIES];
enum  {
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATALOG_0_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATALOG_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATALOG_NUM_PROPERTIES];
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutputPrivate {
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _kind;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _emission_mode;
	gchar* _environment_key;
	gchar* _wrapper_id;
	gchar** _fixed_tokens;
	gint _fixed_tokens_length1;
	gint __fixed_tokens_size_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _parse_shape;
};

struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShapePrivate {
	gchar** _tokens;
	gint _tokens_length1;
	gint __tokens_size_;
	guint* _value_arities;
	gint _value_arities_length1;
	gint __value_arities_size_;
};

struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticsPrivate {
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _kind;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy _placeholder_policy;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _emission_mode;
	gchar* _environment_key;
	gchar* _wrapper_id;
	gchar** _fixed_tokens;
	gint _fixed_tokens_length1;
	gint __fixed_tokens_size_;
	gchar** _selectable_wrapper_ids;
	gint _selectable_wrapper_ids_length1;
	gint __selectable_wrapper_ids_size_;
	gchar* _conflict_group;
	gchar** _conflicts;
	gint _conflicts_length1;
	gint __conflicts_size_;
	gchar** _dependencies;
	gint _dependencies_length1;
	gint __dependencies_size_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _support;
	gboolean _managed_emission;
	gchar** _legacy_tokens;
	gint _legacy_tokens_length1;
	gint __legacy_tokens_size_;
	gchar** _selectable_values;
	gint _selectable_values_length1;
	gint __selectable_values_size_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _parse_shape;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _required_capabilities;
	gint _required_capabilities_length1;
	gint __required_capabilities_size_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability _applicability;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _composite_outputs;
	gint _composite_outputs_length1;
	gint __composite_outputs_size_;
	gboolean _legacy_manual_representation;
};

struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinitionPrivate {
	gchar* _id;
	gchar** _executable_tokens;
	gint _executable_tokens_length1;
	gint __executable_tokens_size_;
	gchar** _parse_aliases;
	gint _parse_aliases_length1;
	gint __parse_aliases_size_;
	gchar* _delimiter;
	guint _nesting_priority;
	gchar* _mutual_exclusion_group;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability _required_capability;
};

struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadataPrivate {
	gchar* _id;
	gchar* _title;
	gchar* _description;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _category;
	gchar* _subsection;
	guint _display_rank;
	gboolean _quick_setting;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise _expertise;
	gchar* _applicability;
	gchar* _unavailable_reason;
	gchar** _dependencies;
	gint _dependencies_length1;
	gint __dependencies_size_;
	gchar** _aliases;
	gint _aliases_length1;
	gint __aliases_size_;
	gchar** _raw_tokens;
	gint _raw_tokens_length1;
	gint __raw_tokens_size_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType _serialization_type;
	guint _command_order_rank;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _semantics;
};

struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalogPrivate {
	GeeArrayList* entries;
	GeeHashMap* by_id;
	GeeArrayList* wrappers;
	GeeHashMap* wrappers_by_id;
};

static gint ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput_private_offset;
static gpointer proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_parent_class = NULL;
static gint ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape_private_offset;
static gpointer proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_parent_class = NULL;
static gint ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics_private_offset;
static gpointer proton_plus_widgets_games_launch_options_editor_launch_option_semantics_parent_class = NULL;
static gint ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition_private_offset;
static gpointer proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_parent_class = NULL;
static gint ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata_private_offset;
static gpointer proton_plus_widgets_games_launch_options_editor_launch_option_metadata_parent_class = NULL;
static gint ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog_private_offset;
static gpointer proton_plus_widgets_games_launch_options_editor_launch_option_catalog_parent_class = NULL;

static gchar** _vala_array_dup26 (gchar** self,
                           gssize length);
static void proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_finalize (GObject * obj);
static GType proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_type_once (void);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_property (GObject * object,
                                                                                                       guint property_id,
                                                                                                       GValue * value,
                                                                                                       GParamSpec * pspec);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_property (GObject * object,
                                                                                                       guint property_id,
                                                                                                       const GValue * value,
                                                                                                       GParamSpec * pspec);
static guint* _vala_array_dup27 (guint* self,
                          gssize length);
static guint* _vala_array_dup28 (guint* self,
                          gssize length);
static gchar** _vala_array_dup29 (gchar** self,
                           gssize length);
static void proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_finalize (GObject * obj);
static GType proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_type_once (void);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_property (GObject * object,
                                                                                                   guint property_id,
                                                                                                   GValue * value,
                                                                                                   GParamSpec * pspec);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_set_property (GObject * object,
                                                                                                   guint property_id,
                                                                                                   const GValue * value,
                                                                                                   GParamSpec * pspec);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _vala_array_dup30 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* self,
                                                                                    gssize length);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _vala_array_dup31 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** self,
                                                                                         gssize length);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _vala_array_dup32 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* self,
                                                                                    gssize length);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _vala_array_dup33 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** self,
                                                                                         gssize length);
static gchar** _vala_array_dup34 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup35 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup36 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup37 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup38 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup39 (gchar** self,
                           gssize length);
static void proton_plus_widgets_games_launch_options_editor_launch_option_semantics_finalize (GObject * obj);
static GType proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_type_once (void);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_property (GObject * object,
                                                                                                 guint property_id,
                                                                                                 GValue * value,
                                                                                                 GParamSpec * pspec);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_property (GObject * object,
                                                                                                 guint property_id,
                                                                                                 const GValue * value,
                                                                                                 GParamSpec * pspec);
static gchar** _vala_array_dup40 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup41 (gchar** self,
                           gssize length);
static void proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_finalize (GObject * obj);
static GType proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_type_once (void);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_property (GObject * object,
                                                                                                   guint property_id,
                                                                                                   GValue * value,
                                                                                                   GParamSpec * pspec);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_property (GObject * object,
                                                                                                   guint property_id,
                                                                                                   const GValue * value,
                                                                                                   GParamSpec * pspec);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                         const gchar* text,
                                                                                         const gchar* query);
static gchar** _vala_array_dup42 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup43 (gchar** self,
                           gssize length);
static gchar** _vala_array_dup44 (gchar** self,
                           gssize length);
static void proton_plus_widgets_games_launch_options_editor_launch_option_metadata_finalize (GObject * obj);
static GType proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_type_once (void);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_property (GObject * object,
                                                                                                guint property_id,
                                                                                                GValue * value,
                                                                                                GParamSpec * pspec);
static void _vala_proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_property (GObject * object,
                                                                                                guint property_id,
                                                                                                const GValue * value,
                                                                                                GParamSpec * pspec);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper_defaults (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_defaults (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self);
static gint __lambda100_ (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* first,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* second);
static gint ___lambda100__gcompare_data_func (gconstpointer a,
                                       gconstpointer b,
                                       gpointer self);
static gint __lambda101_ (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* a,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* b);
static gint ___lambda101__gcompare_data_func (gconstpointer a,
                                       gconstpointer b,
                                       gpointer self);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_option_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                      ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry,
                                                                                                      GeeList* diagnostics);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_register_environment_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                     GeeHashMap* owners,
                                                                                                     const gchar* key,
                                                                                                     const gchar* option_id,
                                                                                                     const gchar* role,
                                                                                                     GeeList* diagnostics);
static gchar* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_token_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                        const gchar* token);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_parse_shape_ownership (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                           GeeList* diagnostics);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_conflict_consistency (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                          GeeList* diagnostics);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_catalog_same_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                 ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* first,
                                                                                                 ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* second);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_catalog_contains_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                            gchar** values,
                                                                                            gint values_length1,
                                                                                            const gchar* id);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                       const gchar* id,
                                                                                       const gchar* title,
                                                                                       const gchar* description,
                                                                                       ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory category,
                                                                                       guint rank,
                                                                                       gchar** raw_tokens,
                                                                                       gint raw_tokens_length1,
                                                                                       gchar** aliases,
                                                                                       gint aliases_length1,
                                                                                       ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType type,
                                                                                       const gchar* subsection,
                                                                                       gboolean quick,
                                                                                       ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise expertise,
                                                                                       const gchar* applicability,
                                                                                       gchar** dependencies,
                                                                                       gint dependencies_length1);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_create_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                                                                        const gchar* id,
                                                                                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType serialization_type,
                                                                                                                                                        gchar** raw_tokens,
                                                                                                                                                        gint raw_tokens_length1,
                                                                                                                                                        gchar** dependencies,
                                                                                                                                                        gint dependencies_length1);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* definition);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                                                                         const gchar* wrapper_id);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                                                                const gchar* id);
static gchar** proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                 const gchar* id,
                                                                                                 gint* result_length1);
static gchar** proton_plus_widgets_games_launch_options_editor_launch_option_catalog_backend_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                    gchar** dependencies,
                                                                                                    gint dependencies_length1,
                                                                                                    gint* result_length1);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_managed_emission (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                    const gchar* id);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_wrapper_argument (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                    ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType serialization_type);
static gchar** _vala_array_dup45 (gchar** self,
                           gssize length);
static gchar** proton_plus_widgets_games_launch_options_editor_launch_option_catalog_selectable_values_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                     const gchar* id,
                                                                                                     gint* result_length1);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_parse_shape_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                                                                                const gchar* id,
                                                                                                                                                                gchar** raw_tokens,
                                                                                                                                                                gint raw_tokens_length1);
static gchar* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_renderer_conflict_group (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                      const gchar* id);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_catalog_has_no_canonical_emission (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                          const gchar* id);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_capabilities_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                                                                         const gchar* id,
                                                                                                                                                         gint* result_length1);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability proton_plus_widgets_games_launch_options_editor_launch_option_catalog_applicability_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                                                                            const gchar* id);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_dynamic_environment (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                       const gchar* id);
static gchar* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_canonical_environment_key_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                            const gchar* id,
                                                                                                            gchar** raw_tokens,
                                                                                                            gint raw_tokens_length1);
static gchar** proton_plus_widgets_games_launch_options_editor_launch_option_catalog_canonical_fixed_tokens_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                          const gchar* id,
                                                                                                          gchar** raw_tokens,
                                                                                                          gint raw_tokens_length1,
                                                                                                          gint* result_length1);
static gchar** _vala_array_dup46 (gchar** self,
                           gssize length);
static gchar* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_scopebuddy_owner (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                               const gchar* id);
static gchar** _vala_array_dup47 (gchar** self,
                           gssize length);
static gchar* proton_plus_widgets_games_launch_options_editor_launch_option_catalog_conflict_group_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                 const gchar* id);
static gchar** proton_plus_widgets_games_launch_options_editor_launch_option_catalog_conflicts_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                             const gchar* id,
                                                                                             gint* result_length1);
static gchar** _vala_array_dup48 (gchar** self,
                           gssize length);
static gboolean proton_plus_widgets_games_launch_options_editor_launch_option_catalog_has_capability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* capabilities,
                                                                                               gint capabilities_length1,
                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability capability);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                 const gchar* owner,
                                                                                                 ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* shape,
                                                                                                 GeeList* diagnostics);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_composite_outputs (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                       ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry,
                                                                                                       ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics,
                                                                                                       GeeList* diagnostics);
static void proton_plus_widgets_games_launch_options_editor_launch_option_catalog_finalize (GObject * obj);
static GType proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_type_once (void);
static void _vala_array_destroy (gpointer array,
                          gssize array_length,
                          GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array,
                       gssize array_length,
                       GDestroyNotify destroy_func);
static inline gpointer _vala_memdup2 (gconstpointer mem,
                        gsize byte_size);

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_category_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE", "performance"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY", "display"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON", "proton"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS", "graphics"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE", "hardware"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO", "input-audio"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS", "game-arguments"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS", "diagnostics"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_category_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_category_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_category_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_view_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_QUICK, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_QUICK", "quick"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_ACTIVE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_ACTIVE", "active"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_ALL, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_ALL", "all"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_PERFORMANCE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_PERFORMANCE", "performance"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_DISPLAY, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_DISPLAY", "display"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_PROTON, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_PROTON", "proton"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_GRAPHICS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_GRAPHICS", "graphics"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_HARDWARE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_HARDWARE", "hardware"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_INPUT_AUDIO, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_INPUT_AUDIO", "input-audio"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_GAME_ARGUMENTS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_GAME_ARGUMENTS", "game-arguments"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_DIAGNOSTICS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_DIAGNOSTICS", "diagnostics"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionView", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_view_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_view_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_view_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_expertise_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD", "standard"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED", "advanced"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL", "experimental"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_expertise_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_expertise_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_expertise_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT", "environment-assignment"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_PREFIX_WRAPPER, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_PREFIX_WRAPPER", "prefix-wrapper"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_DELIMITED_WRAPPER, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_DELIMITED_WRAPPER", "delimited-wrapper"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT", "wrapper-argument"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_GAME_ARGUMENT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_GAME_ARGUMENT", "game-argument"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_SELECTOR, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_SELECTOR", "wrapper-selector"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY", "command-boundary"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMPOSITE_DYNAMIC, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMPOSITE_DYNAMIC", "composite-dynamic"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_OPAQUE_CONTEXT_DEPENDENT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_OPAQUE_CONTEXT_DEPENDENT", "opaque-context-dependent"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantic_kind_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_REQUIRED, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_REQUIRED", "required"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_OPTIONAL, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_OPTIONAL", "optional"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_INHERITED_FROM_WRAPPER, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_INHERITED_FROM_WRAPPER", "inherited-from-wrapper"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_BUILDER_MANAGED_COMMAND_BOUNDARY, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_BUILDER_MANAGED_COMMAND_BOUNDARY", "builder-managed-command-boundary"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_CONTEXT_DEPENDENT_RAW, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_CONTEXT_DEPENDENT_RAW", "context-dependent-raw"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy", values);
	return proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id = proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_placeholder_policy_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS", "fixed-tokens"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_ENVIRONMENT_VALUE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_ENVIRONMENT_VALUE", "dynamic-environment-value"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_WRAPPER_ARGUMENT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_WRAPPER_ARGUMENT", "dynamic-wrapper-argument"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_GAME_ARGUMENTS, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_GAME_ARGUMENTS", "dynamic-game-arguments"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_WRAPPER_SELECTION, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_WRAPPER_SELECTION", "wrapper-selection"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_COMPOSITE_EMISSION, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_COMPOSITE_EMISSION", "composite-emission"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_RAW_CONTEXT_DEPENDENT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_RAW_CONTEXT_DEPENDENT", "raw-context-dependent"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_emission_mode_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_applicability_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_GENERIC, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_GENERIC", "generic"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_COMPONENT_SPECIFIC, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_COMPONENT_SPECIFIC", "component-specific"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_VARIANT_SPECIFIC, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_VARIANT_SPECIFIC", "variant-specific"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_UNKNOWN, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_UNKNOWN", "unknown"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_applicability_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_applicability_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_applicability_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_support_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_VERIFIED_CURRENT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_VERIFIED_CURRENT", "verified-current"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_COMPONENT_SPECIFIC, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_COMPONENT_SPECIFIC", "component-specific"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_VARIANT_SPECIFIC, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_VARIANT_SPECIFIC", "variant-specific"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_LEGACY_DEPRECATED, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_LEGACY_DEPRECATED", "legacy-deprecated"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNSUPPORTED, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNSUPPORTED", "unsupported"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNKNOWN_UNVERIFIED, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNKNOWN_UNVERIFIED", "unknown-unverified"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_support_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_support_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_support_type_id__once;
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_capability_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_STEAM, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_STEAM", "steam"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON", "proton"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_NATIVE_LINUX, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_NATIVE_LINUX", "native-linux"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_STEAM_SHORTCUT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_STEAM_SHORTCUT", "steam-shortcut"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_UMU_COMPATIBLE_PROTON, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_UMU_COMPATIBLE_PROTON", "umu-compatible-proton"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_MESA, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_MESA", "mesa"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_DXVK, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_DXVK", "dxvk"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VKD3D_PROTON, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VKD3D_PROTON", "vkd3d-proton"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_WINE_STAGING_CUSTOM_WINE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_WINE_STAGING_CUSTOM_WINE", "wine-staging-custom-wine"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GE_CUSTOM_PROTON, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GE_CUSTOM_PROTON", "ge-custom-proton"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD", "amd"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_NVIDIA, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_NVIDIA", "nvidia"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_INTEL, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_INTEL", "intel"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAMESCOPE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAMESCOPE", "gamescope"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_SCOPEBUDDY, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_SCOPEBUDDY", "scopebuddy"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_MANGOHUD, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_MANGOHUD", "mangohud"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAMEMODE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAMEMODE", "gamemode"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAME_PERFORMANCE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAME_PERFORMANCE", "game-performance"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_OBS_VKCAPTURE, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_OBS_VKCAPTURE", "obs-vkcapture"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_LEGACY_PROTON_HDR, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_LEGACY_PROTON_HDR", "legacy-proton-hdr"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_AUTO_HDR_CONTROL, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_AUTO_HDR_CONTROL", "proton-auto-hdr-control"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_FSR4, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_FSR4", "proton-fsr4"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_FSR4_RDNA3, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_FSR4_RDNA3", "proton-fsr4-rdna3"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_MLFG, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_MLFG", "proton-mlfg"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_DXVK_LOW_LATENCY, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_DXVK_LOW_LATENCY", "proton-dxvk-low-latency"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_VKD3D_LOW_LATENCY, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_VKD3D_LOW_LATENCY", "proton-vkd3d-low-latency"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_LOW_LATENCY_LAYER, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_LOW_LATENCY_LAYER", "low-latency-layer"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VULKAN_REFLEX_LAYER, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VULKAN_REFLEX_LAYER", "vulkan-reflex-layer"}, {PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VKBASALT, "PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VKBASALT", "vkbasalt"}, {0, NULL, NULL}};
	GType proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id = g_enum_register_static ("ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability", values);
	return proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_capability_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_capability_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_capability_type_id__once;
}

static inline gpointer
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_instance_private (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput_private_offset);
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_construct (GType object_type,
                                                                                         ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind kind,
                                                                                         ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode emission_mode,
                                                                                         const gchar* environment_key,
                                                                                         const gchar* wrapper_id,
                                                                                         gchar** fixed_tokens,
                                                                                         gint fixed_tokens_length1,
                                                                                         ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* parse_shape)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput * self = NULL;
	g_return_val_if_fail (environment_key != NULL, NULL);
	g_return_val_if_fail (wrapper_id != NULL, NULL);
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*) g_object_new (object_type, "kind", kind, "emission-mode", emission_mode, "environment-key", environment_key, "wrapper-id", wrapper_id, "fixed-tokens", fixed_tokens, "parse-shape", parse_shape, NULL);
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_new (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind kind,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode emission_mode,
                                                                                   const gchar* environment_key,
                                                                                   const gchar* wrapper_id,
                                                                                   gchar** fixed_tokens,
                                                                                   gint fixed_tokens_length1,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* parse_shape)
{
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_construct (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTIC_OUTPUT, kind, emission_mode, environment_key, wrapper_id, fixed_tokens, fixed_tokens_length1, parse_shape);
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_kind (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_kind;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_kind (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self,
                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_kind (self);
	if (old_value != value) {
		self->priv->_kind = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_KIND_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_emission_mode (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_emission_mode;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_emission_mode (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self,
                                                                                                 ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_emission_mode (self);
	if (old_value != value) {
		self->priv->_emission_mode = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_EMISSION_MODE_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_environment_key;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_environment_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self,
                                                                                                   const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_environment_key);
		self->priv->_environment_key = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_ENVIRONMENT_KEY_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_wrapper_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_wrapper_id;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_wrapper_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self,
                                                                                              const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_wrapper_id (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_wrapper_id);
		self->priv->_wrapper_id = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_WRAPPER_ID_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_fixed_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self,
                                                                                                gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_fixed_tokens;
	_tmp0__length1 = self->priv->_fixed_tokens_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup26 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_fixed_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self,
                                                                                                gchar** value,
                                                                                                gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_fixed_tokens (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup26 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_fixed_tokens = (_vala_array_free (self->priv->_fixed_tokens, self->priv->_fixed_tokens_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_fixed_tokens = _tmp0_;
		self->priv->_fixed_tokens_length1 = _tmp0__length1;
		self->priv->__fixed_tokens_size_ = self->priv->_fixed_tokens_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_FIXED_TOKENS_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape*
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_parse_shape;
	result = _tmp0_;
	return result;
}

static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* self,
                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_parse_shape (self);
	if (old_value != value) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp0_;
		_tmp0_ = _g_object_ref0 (value);
		_g_object_unref0 (self->priv->_parse_shape);
		self->priv->_parse_shape = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_PARSE_SHAPE_PROPERTY]);
	}
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_class_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutputClass * klass,
                                                                                          gpointer klass_data)
{
	proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_property;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_KIND_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_KIND_PROPERTY] = g_param_spec_enum ("kind", "kind", "kind", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTIC_KIND, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_EMISSION_MODE_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_EMISSION_MODE_PROPERTY] = g_param_spec_enum ("emission-mode", "emission-mode", "emission-mode", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_EMISSION_MODE, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_ENVIRONMENT_KEY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_ENVIRONMENT_KEY_PROPERTY] = g_param_spec_string ("environment-key", "environment-key", "environment-key", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_WRAPPER_ID_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_WRAPPER_ID_PROPERTY] = g_param_spec_string ("wrapper-id", "wrapper-id", "wrapper-id", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_FIXED_TOKENS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_FIXED_TOKENS_PROPERTY] = g_param_spec_boxed ("fixed-tokens", "fixed-tokens", "fixed-tokens", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_PARSE_SHAPE_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_PARSE_SHAPE_PROPERTY] = g_param_spec_object ("parse-shape", "parse-shape", "parse-shape", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_PARSE_SHAPE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_instance_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput * self,
                                                                                             gpointer klass)
{
	self->priv = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_instance_private (self);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_finalize (GObject * obj)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTIC_OUTPUT, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput);
	_g_free0 (self->priv->_environment_key);
	_g_free0 (self->priv->_wrapper_id);
	self->priv->_fixed_tokens = (_vala_array_free (self->priv->_fixed_tokens, self->priv->_fixed_tokens_length1, (GDestroyNotify) g_free), NULL);
	_g_object_unref0 (self->priv->_parse_shape);
	G_OBJECT_CLASS (proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutputClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput), 0, (GInstanceInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_instance_init, NULL };
	GType proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id = g_type_register_static (G_TYPE_OBJECT, "ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput", &g_define_type_info, 0);
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput_private_offset = g_type_add_instance_private (proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutputPrivate));
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_type_id__once;
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_property (GObject * object,
                                                                                                  guint property_id,
                                                                                                  GValue * value,
                                                                                                  GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTIC_OUTPUT, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_KIND_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_kind (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_EMISSION_MODE_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_emission_mode (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_ENVIRONMENT_KEY_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_WRAPPER_ID_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_wrapper_id (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_FIXED_TOKENS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_fixed_tokens (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_PARSE_SHAPE_PROPERTY:
		g_value_set_object (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_parse_shape (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_property (GObject * object,
                                                                                                  guint property_id,
                                                                                                  const GValue * value,
                                                                                                  GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTIC_OUTPUT, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_KIND_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_kind (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_EMISSION_MODE_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_emission_mode (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_ENVIRONMENT_KEY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_environment_key (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_WRAPPER_ID_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_wrapper_id (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_FIXED_TOKENS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_fixed_tokens (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_OUTPUT_PARSE_SHAPE_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_set_parse_shape (self, g_value_get_object (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_instance_private (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape_private_offset);
}

static guint*
_vala_array_dup27 (guint* self,
                   gssize length)
{
	if (length > 0) {
		return _vala_memdup2 (self, length * sizeof (guint));
	}
	return NULL;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape*
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_construct (GType object_type,
                                                                                     gchar** tokens,
                                                                                     gint tokens_length1,
                                                                                     guint* value_arities,
                                                                                     gint value_arities_length1)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape * self = NULL;
	guint* _tmp0_;
	gint _tmp0__length1;
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape*) g_object_new (object_type, "tokens", tokens, NULL);
	_tmp0_ = (value_arities != NULL) ? _vala_array_dup27 (value_arities, value_arities_length1) : value_arities;
	_tmp0__length1 = value_arities_length1;
	self->priv->_value_arities = (g_free (self->priv->_value_arities), NULL);
	self->priv->_value_arities = _tmp0_;
	self->priv->_value_arities_length1 = _tmp0__length1;
	self->priv->__value_arities_size_ = self->priv->_value_arities_length1;
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape*
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_new (gchar** tokens,
                                                                               gint tokens_length1,
                                                                               guint* value_arities,
                                                                               gint value_arities_length1)
{
	return proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_construct (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_PARSE_SHAPE, tokens, tokens_length1, value_arities, value_arities_length1);
}

static guint*
_vala_array_dup28 (guint* self,
                   gssize length)
{
	if (length > 0) {
		return _vala_memdup2 (self, length * sizeof (guint));
	}
	return NULL;
}

guint*
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_value_arities (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* self,
                                                                                             gint* result_length1)
{
	guint* _tmp0_;
	gint _tmp0__length1;
	guint* _tmp1_;
	gint _tmp1__length1;
	guint* _tmp2_;
	gint _tmp2__length1;
	guint* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_value_arities;
	_tmp0__length1 = self->priv->_value_arities_length1;
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup28 (_tmp0_, _tmp0__length1) : _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	_tmp2_ = _tmp1_;
	_tmp2__length1 = _tmp1__length1;
	if (result_length1) {
		*result_length1 = _tmp2__length1;
	}
	result = _tmp2_;
	return result;
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* self,
                                                                                      gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_tokens;
	_tmp0__length1 = self->priv->_tokens_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup29 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_set_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* self,
                                                                                      gchar** value,
                                                                                      gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup29 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_tokens = (_vala_array_free (self->priv->_tokens, self->priv->_tokens_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_tokens = _tmp0_;
		self->priv->_tokens_length1 = _tmp0__length1;
		self->priv->__tokens_size_ = self->priv->_tokens_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_TOKENS_PROPERTY]);
	}
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_class_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShapeClass * klass,
                                                                                      gpointer klass_data)
{
	proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_set_property;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_TOKENS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_TOKENS_PROPERTY] = g_param_spec_boxed ("tokens", "tokens", "tokens", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_instance_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape * self,
                                                                                         gpointer klass)
{
	self->priv = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_instance_private (self);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_finalize (GObject * obj)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_PARSE_SHAPE, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape);
	self->priv->_tokens = (_vala_array_free (self->priv->_tokens, self->priv->_tokens_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_value_arities = (g_free (self->priv->_value_arities), NULL);
	G_OBJECT_CLASS (proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShapeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape), 0, (GInstanceInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_instance_init, NULL };
	GType proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id = g_type_register_static (G_TYPE_OBJECT, "ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape", &g_define_type_info, 0);
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape_private_offset = g_type_add_instance_private (proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShapePrivate));
	return proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_type_id__once;
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_property (GObject * object,
                                                                                              guint property_id,
                                                                                              GValue * value,
                                                                                              GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_PARSE_SHAPE, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_TOKENS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (self, &length));
		}
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_set_property (GObject * object,
                                                                                              guint property_id,
                                                                                              const GValue * value,
                                                                                              GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_PARSE_SHAPE, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_PARSE_SHAPE_TOKENS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_set_tokens (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_instance_private (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics_private_offset);
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability*
_vala_array_dup30 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* self,
                   gssize length)
{
	if (length > 0) {
		return _vala_memdup2 (self, length * sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability));
	}
	return NULL;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput**
_vala_array_dup31 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** self,
                   gssize length)
{
	if (length >= 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** result;
		gssize i;
		result = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, length + 1);
		for (i = 0; i < length; i++) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp0_;
			_tmp0_ = _g_object_ref0 (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics*
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_construct (GType object_type,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind kind,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy placeholder_policy,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode emission_mode,
                                                                                   const gchar* environment_key,
                                                                                   const gchar* wrapper_id,
                                                                                   gchar** fixed_tokens,
                                                                                   gint fixed_tokens_length1,
                                                                                   gchar** selectable_wrapper_ids,
                                                                                   gint selectable_wrapper_ids_length1,
                                                                                   const gchar* conflict_group,
                                                                                   gchar** conflicts,
                                                                                   gint conflicts_length1,
                                                                                   gchar** dependencies,
                                                                                   gint dependencies_length1,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* required_capabilities,
                                                                                   gint required_capabilities_length1,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability applicability,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** composite_outputs,
                                                                                   gint composite_outputs_length1,
                                                                                   gboolean legacy_manual_representation,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport support,
                                                                                   gboolean managed_emission,
                                                                                   gchar** legacy_tokens,
                                                                                   gint legacy_tokens_length1,
                                                                                   gchar** selectable_values,
                                                                                   gint selectable_values_length1,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* parse_shape)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics * self = NULL;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp0_;
	gint _tmp0__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (environment_key != NULL, NULL);
	g_return_val_if_fail (wrapper_id != NULL, NULL);
	g_return_val_if_fail (conflict_group != NULL, NULL);
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics*) g_object_new (object_type, "kind", kind, "placeholder-policy", placeholder_policy, "emission-mode", emission_mode, "environment-key", environment_key, "wrapper-id", wrapper_id, "fixed-tokens", fixed_tokens, "selectable-wrapper-ids", selectable_wrapper_ids, "conflict-group", conflict_group, "conflicts", conflicts, "dependencies", dependencies, "applicability", applicability, "legacy-manual-representation", legacy_manual_representation, "support", support, "managed-emission", managed_emission, "legacy-tokens", legacy_tokens, "selectable-values", selectable_values, "parse-shape", parse_shape, NULL);
	_tmp0_ = (required_capabilities != NULL) ? _vala_array_dup30 (required_capabilities, required_capabilities_length1) : required_capabilities;
	_tmp0__length1 = required_capabilities_length1;
	self->priv->_required_capabilities = (g_free (self->priv->_required_capabilities), NULL);
	self->priv->_required_capabilities = _tmp0_;
	self->priv->_required_capabilities_length1 = _tmp0__length1;
	self->priv->__required_capabilities_size_ = self->priv->_required_capabilities_length1;
	_tmp1_ = (composite_outputs != NULL) ? _vala_array_dup31 (composite_outputs, composite_outputs_length1) : composite_outputs;
	_tmp1__length1 = composite_outputs_length1;
	self->priv->_composite_outputs = (_vala_array_free (self->priv->_composite_outputs, self->priv->_composite_outputs_length1, (GDestroyNotify) g_object_unref), NULL);
	self->priv->_composite_outputs = _tmp1_;
	self->priv->_composite_outputs_length1 = _tmp1__length1;
	self->priv->__composite_outputs_size_ = self->priv->_composite_outputs_length1;
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics*
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind kind,
                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy placeholder_policy,
                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode emission_mode,
                                                                             const gchar* environment_key,
                                                                             const gchar* wrapper_id,
                                                                             gchar** fixed_tokens,
                                                                             gint fixed_tokens_length1,
                                                                             gchar** selectable_wrapper_ids,
                                                                             gint selectable_wrapper_ids_length1,
                                                                             const gchar* conflict_group,
                                                                             gchar** conflicts,
                                                                             gint conflicts_length1,
                                                                             gchar** dependencies,
                                                                             gint dependencies_length1,
                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* required_capabilities,
                                                                             gint required_capabilities_length1,
                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability applicability,
                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** composite_outputs,
                                                                             gint composite_outputs_length1,
                                                                             gboolean legacy_manual_representation,
                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport support,
                                                                             gboolean managed_emission,
                                                                             gchar** legacy_tokens,
                                                                             gint legacy_tokens_length1,
                                                                             gchar** selectable_values,
                                                                             gint selectable_values_length1,
                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* parse_shape)
{
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantics_construct (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTICS, kind, placeholder_policy, emission_mode, environment_key, wrapper_id, fixed_tokens, fixed_tokens_length1, selectable_wrapper_ids, selectable_wrapper_ids_length1, conflict_group, conflicts, conflicts_length1, dependencies, dependencies_length1, required_capabilities, required_capabilities_length1, applicability, composite_outputs, composite_outputs_length1, legacy_manual_representation, support, managed_emission, legacy_tokens, legacy_tokens_length1, selectable_values, selectable_values_length1, parse_shape);
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability*
_vala_array_dup32 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* self,
                   gssize length)
{
	if (length > 0) {
		return _vala_memdup2 (self, length * sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability));
	}
	return NULL;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability*
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_required_capabilities (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                                   gint* result_length1)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp0_;
	gint _tmp0__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp1_;
	gint _tmp1__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp2_;
	gint _tmp2__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_required_capabilities;
	_tmp0__length1 = self->priv->_required_capabilities_length1;
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup32 (_tmp0_, _tmp0__length1) : _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	_tmp2_ = _tmp1_;
	_tmp2__length1 = _tmp1__length1;
	if (result_length1) {
		*result_length1 = _tmp2__length1;
	}
	result = _tmp2_;
	return result;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput**
_vala_array_dup33 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** self,
                   gssize length)
{
	if (length >= 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** result;
		gssize i;
		result = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, length + 1);
		for (i = 0; i < length; i++) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp0_;
			_tmp0_ = _g_object_ref0 (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput**
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_composite_outputs (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                               gint* result_length1)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp0_;
	gint _tmp0__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp1_;
	gint _tmp1__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp2_;
	gint _tmp2__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_composite_outputs;
	_tmp0__length1 = self->priv->_composite_outputs_length1;
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup33 (_tmp0_, _tmp0__length1) : _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	_tmp2_ = _tmp1_;
	_tmp2__length1 = _tmp1__length1;
	if (result_length1) {
		*result_length1 = _tmp2__length1;
	}
	result = _tmp2_;
	return result;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_kind;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_kind (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (self);
	if (old_value != value) {
		self->priv->_kind = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_KIND_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_placeholder_policy (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_placeholder_policy;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_placeholder_policy (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                                ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_placeholder_policy (self);
	if (old_value != value) {
		self->priv->_placeholder_policy = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PLACEHOLDER_POLICY_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_emission_mode;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_emission_mode (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                           ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (self);
	if (old_value != value) {
		self->priv->_emission_mode = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_EMISSION_MODE_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_environment_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_environment_key;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_environment_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                             const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_environment_key (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_environment_key);
		self->priv->_environment_key = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_ENVIRONMENT_KEY_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_wrapper_id;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_wrapper_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                        const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_wrapper_id);
		self->priv->_wrapper_id = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_WRAPPER_ID_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_fixed_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                          gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_fixed_tokens;
	_tmp0__length1 = self->priv->_fixed_tokens_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup34 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_fixed_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                          gchar** value,
                                                                                          gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_fixed_tokens (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup34 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_fixed_tokens = (_vala_array_free (self->priv->_fixed_tokens, self->priv->_fixed_tokens_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_fixed_tokens = _tmp0_;
		self->priv->_fixed_tokens_length1 = _tmp0__length1;
		self->priv->__fixed_tokens_size_ = self->priv->_fixed_tokens_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_FIXED_TOKENS_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_selectable_wrapper_ids (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                                    gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_selectable_wrapper_ids;
	_tmp0__length1 = self->priv->_selectable_wrapper_ids_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup35 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_selectable_wrapper_ids (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                                    gchar** value,
                                                                                                    gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_selectable_wrapper_ids (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup35 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_selectable_wrapper_ids = (_vala_array_free (self->priv->_selectable_wrapper_ids, self->priv->_selectable_wrapper_ids_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_selectable_wrapper_ids = _tmp0_;
		self->priv->_selectable_wrapper_ids_length1 = _tmp0__length1;
		self->priv->__selectable_wrapper_ids_size_ = self->priv->_selectable_wrapper_ids_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_WRAPPER_IDS_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_conflict_group;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_conflict_group (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                            const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_conflict_group);
		self->priv->_conflict_group = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICT_GROUP_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflicts (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                       gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_conflicts;
	_tmp0__length1 = self->priv->_conflicts_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup36 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_conflicts (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                       gchar** value,
                                                                                       gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflicts (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup36 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_conflicts = (_vala_array_free (self->priv->_conflicts, self->priv->_conflicts_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_conflicts = _tmp0_;
		self->priv->_conflicts_length1 = _tmp0__length1;
		self->priv->__conflicts_size_ = self->priv->_conflicts_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICTS_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                          gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_dependencies;
	_tmp0__length1 = self->priv->_dependencies_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup37 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                          gchar** value,
                                                                                          gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_dependencies (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup37 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_dependencies = (_vala_array_free (self->priv->_dependencies, self->priv->_dependencies_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_dependencies = _tmp0_;
		self->priv->_dependencies_length1 = _tmp0__length1;
		self->priv->__dependencies_size_ = self->priv->_dependencies_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_DEPENDENCIES_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_support (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_support;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_support (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                     ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_support (self);
	if (old_value != value) {
		self->priv->_support = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SUPPORT_PROPERTY]);
	}
}

gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_managed_emission (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	result = self->priv->_managed_emission;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_managed_emission (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                              gboolean value)
{
	gboolean old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_managed_emission (self);
	if (old_value != value) {
		self->priv->_managed_emission = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_MANAGED_EMISSION_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                           gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_legacy_tokens;
	_tmp0__length1 = self->priv->_legacy_tokens_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup38 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_legacy_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                           gchar** value,
                                                                                           gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_tokens (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup38 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_legacy_tokens = (_vala_array_free (self->priv->_legacy_tokens, self->priv->_legacy_tokens_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_legacy_tokens = _tmp0_;
		self->priv->_legacy_tokens_length1 = _tmp0__length1;
		self->priv->__legacy_tokens_size_ = self->priv->_legacy_tokens_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_TOKENS_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_selectable_values (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                               gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_selectable_values;
	_tmp0__length1 = self->priv->_selectable_values_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup39 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_selectable_values (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                               gchar** value,
                                                                                               gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_selectable_values (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup39 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_selectable_values = (_vala_array_free (self->priv->_selectable_values, self->priv->_selectable_values_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_selectable_values = _tmp0_;
		self->priv->_selectable_values_length1 = _tmp0__length1;
		self->priv->__selectable_values_size_ = self->priv->_selectable_values_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_VALUES_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape*
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_parse_shape;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                         ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (self);
	if (old_value != value) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp0_;
		_tmp0_ = _g_object_ref0 (value);
		_g_object_unref0 (self->priv->_parse_shape);
		self->priv->_parse_shape = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PARSE_SHAPE_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_applicability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_applicability;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_applicability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                           ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_applicability (self);
	if (old_value != value) {
		self->priv->_applicability = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_APPLICABILITY_PROPERTY]);
	}
}

gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_manual_representation (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	result = self->priv->_legacy_manual_representation;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_legacy_manual_representation (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* self,
                                                                                                          gboolean value)
{
	gboolean old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_manual_representation (self);
	if (old_value != value) {
		self->priv->_legacy_manual_representation = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_MANUAL_REPRESENTATION_PROPERTY]);
	}
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_class_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticsClass * klass,
                                                                                    gpointer klass_data)
{
	proton_plus_widgets_games_launch_options_editor_launch_option_semantics_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_property;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_KIND_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_KIND_PROPERTY] = g_param_spec_enum ("kind", "kind", "kind", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTIC_KIND, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PLACEHOLDER_POLICY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PLACEHOLDER_POLICY_PROPERTY] = g_param_spec_enum ("placeholder-policy", "placeholder-policy", "placeholder-policy", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_PLACEHOLDER_POLICY, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_EMISSION_MODE_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_EMISSION_MODE_PROPERTY] = g_param_spec_enum ("emission-mode", "emission-mode", "emission-mode", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_EMISSION_MODE, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_ENVIRONMENT_KEY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_ENVIRONMENT_KEY_PROPERTY] = g_param_spec_string ("environment-key", "environment-key", "environment-key", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_WRAPPER_ID_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_WRAPPER_ID_PROPERTY] = g_param_spec_string ("wrapper-id", "wrapper-id", "wrapper-id", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_FIXED_TOKENS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_FIXED_TOKENS_PROPERTY] = g_param_spec_boxed ("fixed-tokens", "fixed-tokens", "fixed-tokens", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_WRAPPER_IDS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_WRAPPER_IDS_PROPERTY] = g_param_spec_boxed ("selectable-wrapper-ids", "selectable-wrapper-ids", "selectable-wrapper-ids", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICT_GROUP_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICT_GROUP_PROPERTY] = g_param_spec_string ("conflict-group", "conflict-group", "conflict-group", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICTS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICTS_PROPERTY] = g_param_spec_boxed ("conflicts", "conflicts", "conflicts", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_DEPENDENCIES_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_DEPENDENCIES_PROPERTY] = g_param_spec_boxed ("dependencies", "dependencies", "dependencies", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SUPPORT_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SUPPORT_PROPERTY] = g_param_spec_enum ("support", "support", "support", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SUPPORT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_MANAGED_EMISSION_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_MANAGED_EMISSION_PROPERTY] = g_param_spec_boolean ("managed-emission", "managed-emission", "managed-emission", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_TOKENS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_TOKENS_PROPERTY] = g_param_spec_boxed ("legacy-tokens", "legacy-tokens", "legacy-tokens", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_VALUES_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_VALUES_PROPERTY] = g_param_spec_boxed ("selectable-values", "selectable-values", "selectable-values", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PARSE_SHAPE_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PARSE_SHAPE_PROPERTY] = g_param_spec_object ("parse-shape", "parse-shape", "parse-shape", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_PARSE_SHAPE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_APPLICABILITY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_APPLICABILITY_PROPERTY] = g_param_spec_enum ("applicability", "applicability", "applicability", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_APPLICABILITY, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_MANUAL_REPRESENTATION_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_MANUAL_REPRESENTATION_PROPERTY] = g_param_spec_boolean ("legacy-manual-representation", "legacy-manual-representation", "legacy-manual-representation", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_instance_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics * self,
                                                                                       gpointer klass)
{
	self->priv = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_instance_private (self);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_finalize (GObject * obj)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTICS, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics);
	_g_free0 (self->priv->_environment_key);
	_g_free0 (self->priv->_wrapper_id);
	self->priv->_fixed_tokens = (_vala_array_free (self->priv->_fixed_tokens, self->priv->_fixed_tokens_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_selectable_wrapper_ids = (_vala_array_free (self->priv->_selectable_wrapper_ids, self->priv->_selectable_wrapper_ids_length1, (GDestroyNotify) g_free), NULL);
	_g_free0 (self->priv->_conflict_group);
	self->priv->_conflicts = (_vala_array_free (self->priv->_conflicts, self->priv->_conflicts_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_dependencies = (_vala_array_free (self->priv->_dependencies, self->priv->_dependencies_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_legacy_tokens = (_vala_array_free (self->priv->_legacy_tokens, self->priv->_legacy_tokens_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_selectable_values = (_vala_array_free (self->priv->_selectable_values, self->priv->_selectable_values_length1, (GDestroyNotify) g_free), NULL);
	_g_object_unref0 (self->priv->_parse_shape);
	self->priv->_required_capabilities = (g_free (self->priv->_required_capabilities), NULL);
	self->priv->_composite_outputs = (_vala_array_free (self->priv->_composite_outputs, self->priv->_composite_outputs_length1, (GDestroyNotify) g_object_unref), NULL);
	G_OBJECT_CLASS (proton_plus_widgets_games_launch_options_editor_launch_option_semantics_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_semantics_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics), 0, (GInstanceInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_semantics_instance_init, NULL };
	GType proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id = g_type_register_static (G_TYPE_OBJECT, "ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics", &g_define_type_info, 0);
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics_private_offset = g_type_add_instance_private (proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticsPrivate));
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_semantics_type_id__once;
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_property (GObject * object,
                                                                                            guint property_id,
                                                                                            GValue * value,
                                                                                            GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTICS, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_KIND_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PLACEHOLDER_POLICY_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_placeholder_policy (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_EMISSION_MODE_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_ENVIRONMENT_KEY_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_environment_key (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_WRAPPER_ID_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_FIXED_TOKENS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_fixed_tokens (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_WRAPPER_IDS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_selectable_wrapper_ids (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICT_GROUP_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICTS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflicts (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_DEPENDENCIES_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_dependencies (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SUPPORT_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_support (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_MANAGED_EMISSION_PROPERTY:
		g_value_set_boolean (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_managed_emission (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_TOKENS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_tokens (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_VALUES_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_selectable_values (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PARSE_SHAPE_PROPERTY:
		g_value_set_object (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_APPLICABILITY_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_applicability (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_MANUAL_REPRESENTATION_PROPERTY:
		g_value_set_boolean (value, proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_manual_representation (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_property (GObject * object,
                                                                                            guint property_id,
                                                                                            const GValue * value,
                                                                                            GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTICS, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_KIND_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_kind (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PLACEHOLDER_POLICY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_placeholder_policy (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_EMISSION_MODE_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_emission_mode (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_ENVIRONMENT_KEY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_environment_key (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_WRAPPER_ID_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_wrapper_id (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_FIXED_TOKENS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_fixed_tokens (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_WRAPPER_IDS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_selectable_wrapper_ids (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICT_GROUP_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_conflict_group (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_CONFLICTS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_conflicts (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_DEPENDENCIES_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_dependencies (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SUPPORT_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_support (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_MANAGED_EMISSION_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_managed_emission (self, g_value_get_boolean (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_TOKENS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_legacy_tokens (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_SELECTABLE_VALUES_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_selectable_values (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_PARSE_SHAPE_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_parse_shape (self, g_value_get_object (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_APPLICABILITY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_applicability (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTICS_LEGACY_MANUAL_REPRESENTATION_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_semantics_set_legacy_manual_representation (self, g_value_get_boolean (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_instance_private (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition_private_offset);
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_construct (GType object_type,
                                                                                     const gchar* id,
                                                                                     gchar** executable_tokens,
                                                                                     gint executable_tokens_length1,
                                                                                     gchar** parse_aliases,
                                                                                     gint parse_aliases_length1,
                                                                                     const gchar* delimiter,
                                                                                     guint nesting_priority,
                                                                                     const gchar* mutual_exclusion_group,
                                                                                     ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability required_capability)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition * self = NULL;
	g_return_val_if_fail (id != NULL, NULL);
	g_return_val_if_fail (mutual_exclusion_group != NULL, NULL);
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*) g_object_new (object_type, "id", id, "executable-tokens", executable_tokens, "parse-aliases", parse_aliases, "delimiter", delimiter, "nesting-priority", nesting_priority, "mutual-exclusion-group", mutual_exclusion_group, "required-capability", required_capability, NULL);
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_new (const gchar* id,
                                                                               gchar** executable_tokens,
                                                                               gint executable_tokens_length1,
                                                                               gchar** parse_aliases,
                                                                               gint parse_aliases_length1,
                                                                               const gchar* delimiter,
                                                                               guint nesting_priority,
                                                                               const gchar* mutual_exclusion_group,
                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability required_capability)
{
	return proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_construct (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, id, executable_tokens, executable_tokens_length1, parse_aliases, parse_aliases_length1, delimiter, nesting_priority, mutual_exclusion_group, required_capability);
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_id;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                  const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_id);
		self->priv->_id = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_ID_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_executable_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                                 gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_executable_tokens;
	_tmp0__length1 = self->priv->_executable_tokens_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup40 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_executable_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                                 gchar** value,
                                                                                                 gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_executable_tokens (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup40 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_executable_tokens = (_vala_array_free (self->priv->_executable_tokens, self->priv->_executable_tokens_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_executable_tokens = _tmp0_;
		self->priv->_executable_tokens_length1 = _tmp0__length1;
		self->priv->__executable_tokens_size_ = self->priv->_executable_tokens_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_EXECUTABLE_TOKENS_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_parse_aliases (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                             gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_parse_aliases;
	_tmp0__length1 = self->priv->_parse_aliases_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup41 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_parse_aliases (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                             gchar** value,
                                                                                             gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_parse_aliases (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup41 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_parse_aliases = (_vala_array_free (self->priv->_parse_aliases, self->priv->_parse_aliases_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_parse_aliases = _tmp0_;
		self->priv->_parse_aliases_length1 = _tmp0__length1;
		self->priv->__parse_aliases_size_ = self->priv->_parse_aliases_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_PARSE_ALIASES_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_delimiter (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_delimiter;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_delimiter (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                         const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_delimiter (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_delimiter);
		self->priv->_delimiter = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_DELIMITER_PROPERTY]);
	}
}

guint
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self)
{
	guint result;
	g_return_val_if_fail (self != NULL, 0U);
	result = self->priv->_nesting_priority;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_nesting_priority (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                                guint value)
{
	guint old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (self);
	if (old_value != value) {
		self->priv->_nesting_priority = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NESTING_PRIORITY_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_mutual_exclusion_group (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_mutual_exclusion_group;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_mutual_exclusion_group (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                                      const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_mutual_exclusion_group (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_mutual_exclusion_group);
		self->priv->_mutual_exclusion_group = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_MUTUAL_EXCLUSION_GROUP_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_required_capability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_required_capability;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_required_capability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* self,
                                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_required_capability (self);
	if (old_value != value) {
		self->priv->_required_capability = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_REQUIRED_CAPABILITY_PROPERTY]);
	}
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_class_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinitionClass * klass,
                                                                                      gpointer klass_data)
{
	proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_property;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_ID_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_ID_PROPERTY] = g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_EXECUTABLE_TOKENS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_EXECUTABLE_TOKENS_PROPERTY] = g_param_spec_boxed ("executable-tokens", "executable-tokens", "executable-tokens", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_PARSE_ALIASES_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_PARSE_ALIASES_PROPERTY] = g_param_spec_boxed ("parse-aliases", "parse-aliases", "parse-aliases", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_DELIMITER_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_DELIMITER_PROPERTY] = g_param_spec_string ("delimiter", "delimiter", "delimiter", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NESTING_PRIORITY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NESTING_PRIORITY_PROPERTY] = g_param_spec_uint ("nesting-priority", "nesting-priority", "nesting-priority", 0, G_MAXUINT, 0U, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_MUTUAL_EXCLUSION_GROUP_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_MUTUAL_EXCLUSION_GROUP_PROPERTY] = g_param_spec_string ("mutual-exclusion-group", "mutual-exclusion-group", "mutual-exclusion-group", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_REQUIRED_CAPABILITY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_REQUIRED_CAPABILITY_PROPERTY] = g_param_spec_enum ("required-capability", "required-capability", "required-capability", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_CAPABILITY, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_instance_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition * self,
                                                                                         gpointer klass)
{
	self->priv = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_instance_private (self);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_finalize (GObject * obj)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition);
	_g_free0 (self->priv->_id);
	self->priv->_executable_tokens = (_vala_array_free (self->priv->_executable_tokens, self->priv->_executable_tokens_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_parse_aliases = (_vala_array_free (self->priv->_parse_aliases, self->priv->_parse_aliases_length1, (GDestroyNotify) g_free), NULL);
	_g_free0 (self->priv->_delimiter);
	_g_free0 (self->priv->_mutual_exclusion_group);
	G_OBJECT_CLASS (proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinitionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition), 0, (GInstanceInitFunc) proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_instance_init, NULL };
	GType proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id = g_type_register_static (G_TYPE_OBJECT, "ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition", &g_define_type_info, 0);
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition_private_offset = g_type_add_instance_private (proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinitionPrivate));
	return proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_type_id__once;
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_property (GObject * object,
                                                                                              guint property_id,
                                                                                              GValue * value,
                                                                                              GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_ID_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_EXECUTABLE_TOKENS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_executable_tokens (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_PARSE_ALIASES_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_parse_aliases (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_DELIMITER_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_delimiter (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NESTING_PRIORITY_PROPERTY:
		g_value_set_uint (value, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_MUTUAL_EXCLUSION_GROUP_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_mutual_exclusion_group (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_REQUIRED_CAPABILITY_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_required_capability (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_property (GObject * object,
                                                                                              guint property_id,
                                                                                              const GValue * value,
                                                                                              GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_ID_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_id (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_EXECUTABLE_TOKENS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_executable_tokens (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_PARSE_ALIASES_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_parse_aliases (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_DELIMITER_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_delimiter (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_NESTING_PRIORITY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_nesting_priority (self, g_value_get_uint (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_MUTUAL_EXCLUSION_GROUP_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_mutual_exclusion_group (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_WRAPPER_DEFINITION_REQUIRED_CAPABILITY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_set_required_capability (self, g_value_get_enum (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_instance_private (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata_private_offset);
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_construct (GType object_type,
                                                                                  const gchar* id,
                                                                                  const gchar* title,
                                                                                  const gchar* description,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory category,
                                                                                  const gchar* subsection,
                                                                                  guint display_rank,
                                                                                  gboolean quick_setting,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise expertise,
                                                                                  const gchar* applicability,
                                                                                  const gchar* unavailable_reason,
                                                                                  gchar** dependencies,
                                                                                  gint dependencies_length1,
                                                                                  gchar** aliases,
                                                                                  gint aliases_length1,
                                                                                  gchar** raw_tokens,
                                                                                  gint raw_tokens_length1,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType serialization_type,
                                                                                  guint command_order_rank,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata * self = NULL;
	g_return_val_if_fail (id != NULL, NULL);
	g_return_val_if_fail (title != NULL, NULL);
	g_return_val_if_fail (description != NULL, NULL);
	g_return_val_if_fail (subsection != NULL, NULL);
	g_return_val_if_fail (applicability != NULL, NULL);
	g_return_val_if_fail (unavailable_reason != NULL, NULL);
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) g_object_new (object_type, "id", id, "title", title, "description", description, "category", category, "subsection", subsection, "display-rank", display_rank, "quick-setting", quick_setting, "expertise", expertise, "applicability", applicability, "unavailable-reason", unavailable_reason, "dependencies", dependencies, "aliases", aliases, "raw-tokens", raw_tokens, "serialization-type", serialization_type, "command-order-rank", command_order_rank, "semantics", semantics, NULL);
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_new (const gchar* id,
                                                                            const gchar* title,
                                                                            const gchar* description,
                                                                            ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory category,
                                                                            const gchar* subsection,
                                                                            guint display_rank,
                                                                            gboolean quick_setting,
                                                                            ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise expertise,
                                                                            const gchar* applicability,
                                                                            const gchar* unavailable_reason,
                                                                            gchar** dependencies,
                                                                            gint dependencies_length1,
                                                                            gchar** aliases,
                                                                            gint aliases_length1,
                                                                            gchar** raw_tokens,
                                                                            gint raw_tokens_length1,
                                                                            ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType serialization_type,
                                                                            guint command_order_rank,
                                                                            ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics)
{
	return proton_plus_widgets_games_launch_options_editor_launch_option_metadata_construct (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, id, title, description, category, subsection, display_rank, quick_setting, expertise, applicability, unavailable_reason, dependencies, dependencies_length1, aliases, aliases_length1, raw_tokens, raw_tokens_length1, serialization_type, command_order_rank, semantics);
}

static gchar*
string_strip (const gchar* self)
{
	gchar* _result_ = NULL;
	gchar* _tmp0_;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = g_strdup (self);
	_result_ = _tmp0_;
	g_strstrip (_result_);
	result = _result_;
	return result;
}

gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches_search (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                       const gchar* query)
{
	gchar* normalized = NULL;
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	const gchar* _tmp4_;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_ = FALSE;
	const gchar* _tmp9_;
	const gchar* _tmp10_;
	gchar** _tmp21_;
	gint _tmp21__length1;
	gint _tmp22_ = 0;
	gchar** _tmp23_;
	gint _tmp23__length1;
	gchar** _tmp27_;
	gint _tmp27__length1;
	gint _tmp28_ = 0;
	gchar** _tmp29_;
	gint _tmp29__length1;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (query != NULL, FALSE);
	_tmp0_ = string_strip (query);
	_tmp1_ = _tmp0_;
	_tmp2_ = g_utf8_strdown (_tmp1_, (gssize) -1);
	_tmp3_ = _tmp2_;
	_g_free0 (_tmp1_);
	normalized = _tmp3_;
	_tmp4_ = normalized;
	if (g_strcmp0 (_tmp4_, "") == 0) {
		result = TRUE;
		_g_free0 (normalized);
		return result;
	}
	_tmp9_ = self->priv->_title;
	_tmp10_ = normalized;
	if (proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (self, _tmp9_, _tmp10_)) {
		_tmp8_ = TRUE;
	} else {
		const gchar* _tmp11_;
		const gchar* _tmp12_;
		_tmp11_ = self->priv->_description;
		_tmp12_ = normalized;
		_tmp8_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (self, _tmp11_, _tmp12_);
	}
	if (_tmp8_) {
		_tmp7_ = TRUE;
	} else {
		const gchar* _tmp13_;
		const gchar* _tmp14_;
		_tmp13_ = self->priv->_subsection;
		_tmp14_ = normalized;
		_tmp7_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (self, _tmp13_, _tmp14_);
	}
	if (_tmp7_) {
		_tmp6_ = TRUE;
	} else {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp15_;
		gchar* _tmp16_;
		gchar* _tmp17_;
		const gchar* _tmp18_;
		_tmp15_ = self->priv->_category;
		_tmp16_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_category_title (_tmp15_);
		_tmp17_ = _tmp16_;
		_tmp18_ = normalized;
		_tmp6_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (self, _tmp17_, _tmp18_);
		_g_free0 (_tmp17_);
	}
	if (_tmp6_) {
		_tmp5_ = TRUE;
	} else {
		const gchar* _tmp19_;
		const gchar* _tmp20_;
		_tmp19_ = self->priv->_applicability;
		_tmp20_ = normalized;
		_tmp5_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (self, _tmp19_, _tmp20_);
	}
	if (_tmp5_) {
		result = TRUE;
		_g_free0 (normalized);
		return result;
	}
	_tmp21_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_aliases (self, &_tmp22_);
	_tmp21__length1 = _tmp22_;
	_tmp23_ = _tmp21_;
	_tmp23__length1 = _tmp21__length1;
	{
		gchar** alias_collection = NULL;
		gint alias_collection_length1 = 0;
		gint _alias_collection_size_ = 0;
		gint alias_it = 0;
		alias_collection = _tmp23_;
		alias_collection_length1 = _tmp23__length1;
		for (alias_it = 0; alias_it < alias_collection_length1; alias_it = alias_it + 1) {
			gchar* _tmp24_;
			gchar* alias = NULL;
			_tmp24_ = g_strdup (alias_collection[alias_it]);
			alias = _tmp24_;
			{
				const gchar* _tmp25_;
				const gchar* _tmp26_;
				_tmp25_ = alias;
				_tmp26_ = normalized;
				if (proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (self, _tmp25_, _tmp26_)) {
					result = TRUE;
					_g_free0 (alias);
					_g_free0 (normalized);
					return result;
				}
				_g_free0 (alias);
			}
		}
	}
	_tmp27_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_raw_tokens (self, &_tmp28_);
	_tmp27__length1 = _tmp28_;
	_tmp29_ = _tmp27_;
	_tmp29__length1 = _tmp27__length1;
	{
		gchar** token_collection = NULL;
		gint token_collection_length1 = 0;
		gint _token_collection_size_ = 0;
		gint token_it = 0;
		token_collection = _tmp29_;
		token_collection_length1 = _tmp29__length1;
		for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
			gchar* _tmp30_;
			gchar* token = NULL;
			_tmp30_ = g_strdup (token_collection[token_it]);
			token = _tmp30_;
			{
				const gchar* _tmp31_;
				const gchar* _tmp32_;
				_tmp31_ = token;
				_tmp32_ = normalized;
				if (proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (self, _tmp31_, _tmp32_)) {
					result = TRUE;
					_g_free0 (token);
					_g_free0 (normalized);
					return result;
				}
				_g_free0 (token);
			}
		}
	}
	result = FALSE;
	_g_free0 (normalized);
	return result;
}

static gboolean
string_contains (const gchar* self,
                 const gchar* needle)
{
	gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (needle != NULL, FALSE);
	_tmp0_ = strstr ((gchar*) self, (gchar*) needle);
	result = _tmp0_ != NULL;
	return result;
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                const gchar* text,
                                                                                const gchar* query)
{
	gchar* _tmp0_;
	gchar* _tmp1_;
	gboolean _tmp2_;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (text != NULL, FALSE);
	g_return_val_if_fail (query != NULL, FALSE);
	_tmp0_ = g_utf8_strdown (text, (gssize) -1);
	_tmp1_ = _tmp0_;
	_tmp2_ = string_contains (_tmp1_, query);
	_g_free0 (_tmp1_);
	result = _tmp2_;
	return result;
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_id;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                               const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_id);
		self->priv->_id = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ID_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_title (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_title;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_title (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                  const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_title (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_title);
		self->priv->_title = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_TITLE_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_description (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_description;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_description (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                        const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_description (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_description);
		self->priv->_description = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DESCRIPTION_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_category;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_category (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                     ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (self);
	if (old_value != value) {
		self->priv->_category = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_CATEGORY_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_subsection (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_subsection;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_subsection (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                       const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_subsection (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_subsection);
		self->priv->_subsection = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SUBSECTION_PROPERTY]);
	}
}

guint
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_display_rank (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	guint result;
	g_return_val_if_fail (self != NULL, 0U);
	result = self->priv->_display_rank;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_display_rank (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                         guint value)
{
	guint old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_display_rank (self);
	if (old_value != value) {
		self->priv->_display_rank = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DISPLAY_RANK_PROPERTY]);
	}
}

gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_quick_setting (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	result = self->priv->_quick_setting;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_quick_setting (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                          gboolean value)
{
	gboolean old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_quick_setting (self);
	if (old_value != value) {
		self->priv->_quick_setting = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_QUICK_SETTING_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_expertise (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_expertise;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_expertise (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                      ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_expertise (self);
	if (old_value != value) {
		self->priv->_expertise = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_EXPERTISE_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_applicability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_applicability;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_applicability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                          const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_applicability (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_applicability);
		self->priv->_applicability = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_APPLICABILITY_PROPERTY]);
	}
}

const gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_unavailable_reason (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_unavailable_reason;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_unavailable_reason (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                               const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_unavailable_reason (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_unavailable_reason);
		self->priv->_unavailable_reason = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_UNAVAILABLE_REASON_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                         gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_dependencies;
	_tmp0__length1 = self->priv->_dependencies_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup42 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                         gchar** value,
                                                                                         gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_dependencies (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup42 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_dependencies = (_vala_array_free (self->priv->_dependencies, self->priv->_dependencies_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_dependencies = _tmp0_;
		self->priv->_dependencies_length1 = _tmp0__length1;
		self->priv->__dependencies_size_ = self->priv->_dependencies_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DEPENDENCIES_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_aliases (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                    gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_aliases;
	_tmp0__length1 = self->priv->_aliases_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup43 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_aliases (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                    gchar** value,
                                                                                    gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_aliases (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup43 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_aliases = (_vala_array_free (self->priv->_aliases, self->priv->_aliases_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_aliases = _tmp0_;
		self->priv->_aliases_length1 = _tmp0__length1;
		self->priv->__aliases_size_ = self->priv->_aliases_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ALIASES_PROPERTY]);
	}
}

gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_raw_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                       gint* result_length1)
{
	gchar** result;
	gchar** _tmp0_;
	gint _tmp0__length1;
	gchar** _tmp1_;
	gint _tmp1__length1;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_raw_tokens;
	_tmp0__length1 = self->priv->_raw_tokens_length1;
	_tmp1_ = _tmp0_;
	_tmp1__length1 = _tmp0__length1;
	if (result_length1) {
		*result_length1 = _tmp1__length1;
	}
	result = _tmp1_;
	return result;
}

static gchar**
_vala_array_dup44 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_raw_tokens (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                       gchar** value,
                                                                                       gint value_length1)
{
	gchar** old_value;
	gint old_value_length;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_raw_tokens (self, &old_value_length);
	if (old_value != value) {
		gchar** _tmp0_;
		gint _tmp0__length1;
		_tmp0_ = (value != NULL) ? _vala_array_dup44 (value, value_length1) : value;
		_tmp0__length1 = value_length1;
		self->priv->_raw_tokens = (_vala_array_free (self->priv->_raw_tokens, self->priv->_raw_tokens_length1, (GDestroyNotify) g_free), NULL);
		self->priv->_raw_tokens = _tmp0_;
		self->priv->_raw_tokens_length1 = _tmp0__length1;
		self->priv->__raw_tokens_size_ = self->priv->_raw_tokens_length1;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_RAW_TOKENS_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_serialization_type (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType result;
	g_return_val_if_fail (self != NULL, 0);
	result = self->priv->_serialization_type;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_serialization_type (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_serialization_type (self);
	if (old_value != value) {
		self->priv->_serialization_type = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SERIALIZATION_TYPE_PROPERTY]);
	}
}

guint
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_command_order_rank (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	guint result;
	g_return_val_if_fail (self != NULL, 0U);
	result = self->priv->_command_order_rank;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_command_order_rank (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                               guint value)
{
	guint old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_command_order_rank (self);
	if (old_value != value) {
		self->priv->_command_order_rank = value;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_COMMAND_ORDER_RANK_PROPERTY]);
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics*
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_semantics;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* self,
                                                                                      ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* old_value;
	g_return_if_fail (self != NULL);
	old_value = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (self);
	if (old_value != value) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp0_;
		_tmp0_ = _g_object_ref0 (value);
		_g_object_unref0 (self->priv->_semantics);
		self->priv->_semantics = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SEMANTICS_PROPERTY]);
	}
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_class_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadataClass * klass,
                                                                                   gpointer klass_data)
{
	proton_plus_widgets_games_launch_options_editor_launch_option_metadata_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_property;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ID_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ID_PROPERTY] = g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_TITLE_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_TITLE_PROPERTY] = g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DESCRIPTION_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DESCRIPTION_PROPERTY] = g_param_spec_string ("description", "description", "description", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_CATEGORY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_CATEGORY_PROPERTY] = g_param_spec_enum ("category", "category", "category", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_CATEGORY, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SUBSECTION_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SUBSECTION_PROPERTY] = g_param_spec_string ("subsection", "subsection", "subsection", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DISPLAY_RANK_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DISPLAY_RANK_PROPERTY] = g_param_spec_uint ("display-rank", "display-rank", "display-rank", 0, G_MAXUINT, 0U, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_QUICK_SETTING_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_QUICK_SETTING_PROPERTY] = g_param_spec_boolean ("quick-setting", "quick-setting", "quick-setting", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_EXPERTISE_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_EXPERTISE_PROPERTY] = g_param_spec_enum ("expertise", "expertise", "expertise", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_EXPERTISE, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_APPLICABILITY_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_APPLICABILITY_PROPERTY] = g_param_spec_string ("applicability", "applicability", "applicability", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_UNAVAILABLE_REASON_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_UNAVAILABLE_REASON_PROPERTY] = g_param_spec_string ("unavailable-reason", "unavailable-reason", "unavailable-reason", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DEPENDENCIES_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DEPENDENCIES_PROPERTY] = g_param_spec_boxed ("dependencies", "dependencies", "dependencies", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ALIASES_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ALIASES_PROPERTY] = g_param_spec_boxed ("aliases", "aliases", "aliases", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_RAW_TOKENS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_RAW_TOKENS_PROPERTY] = g_param_spec_boxed ("raw-tokens", "raw-tokens", "raw-tokens", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SERIALIZATION_TYPE_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SERIALIZATION_TYPE_PROPERTY] = g_param_spec_enum ("serialization-type", "serialization-type", "serialization-type", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_LINE_TYPE, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_COMMAND_ORDER_RANK_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_COMMAND_ORDER_RANK_PROPERTY] = g_param_spec_uint ("command-order-rank", "command-order-rank", "command-order-rank", 0, G_MAXUINT, 0U, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
	g_object_class_install_property (G_OBJECT_CLASS (klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SEMANTICS_PROPERTY, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SEMANTICS_PROPERTY] = g_param_spec_object ("semantics", "semantics", "semantics", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_SEMANTICS, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_instance_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata * self,
                                                                                      gpointer klass)
{
	self->priv = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_instance_private (self);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_finalize (GObject * obj)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata);
	_g_free0 (self->priv->_id);
	_g_free0 (self->priv->_title);
	_g_free0 (self->priv->_description);
	_g_free0 (self->priv->_subsection);
	_g_free0 (self->priv->_applicability);
	_g_free0 (self->priv->_unavailable_reason);
	self->priv->_dependencies = (_vala_array_free (self->priv->_dependencies, self->priv->_dependencies_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_aliases = (_vala_array_free (self->priv->_aliases, self->priv->_aliases_length1, (GDestroyNotify) g_free), NULL);
	self->priv->_raw_tokens = (_vala_array_free (self->priv->_raw_tokens, self->priv->_raw_tokens_length1, (GDestroyNotify) g_free), NULL);
	_g_object_unref0 (self->priv->_semantics);
	G_OBJECT_CLASS (proton_plus_widgets_games_launch_options_editor_launch_option_metadata_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadataClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_metadata_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata), 0, (GInstanceInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_metadata_instance_init, NULL };
	GType proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id = g_type_register_static (G_TYPE_OBJECT, "ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata", &g_define_type_info, 0);
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata_private_offset = g_type_add_instance_private (proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadataPrivate));
	return proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_metadata_type_id__once;
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_property (GObject * object,
                                                                                           guint property_id,
                                                                                           GValue * value,
                                                                                           GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ID_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_TITLE_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_title (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DESCRIPTION_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_description (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_CATEGORY_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SUBSECTION_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_subsection (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DISPLAY_RANK_PROPERTY:
		g_value_set_uint (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_display_rank (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_QUICK_SETTING_PROPERTY:
		g_value_set_boolean (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_quick_setting (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_EXPERTISE_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_expertise (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_APPLICABILITY_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_applicability (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_UNAVAILABLE_REASON_PROPERTY:
		g_value_set_string (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_unavailable_reason (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DEPENDENCIES_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_dependencies (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ALIASES_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_aliases (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_RAW_TOKENS_PROPERTY:
		{
			int length;
			g_value_set_boxed (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_raw_tokens (self, &length));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SERIALIZATION_TYPE_PROPERTY:
		g_value_set_enum (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_serialization_type (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_COMMAND_ORDER_RANK_PROPERTY:
		g_value_set_uint (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_command_order_rank (self));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SEMANTICS_PROPERTY:
		g_value_set_object (value, proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_property (GObject * object,
                                                                                           guint property_id,
                                                                                           const GValue * value,
                                                                                           GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata);
	switch (property_id) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ID_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_id (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_TITLE_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_title (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DESCRIPTION_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_description (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_CATEGORY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_category (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SUBSECTION_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_subsection (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DISPLAY_RANK_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_display_rank (self, g_value_get_uint (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_QUICK_SETTING_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_quick_setting (self, g_value_get_boolean (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_EXPERTISE_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_expertise (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_APPLICABILITY_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_applicability (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_UNAVAILABLE_REASON_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_unavailable_reason (self, g_value_get_string (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_DEPENDENCIES_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_dependencies (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_ALIASES_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_aliases (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_RAW_TOKENS_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_raw_tokens (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SERIALIZATION_TYPE_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_serialization_type (self, g_value_get_enum (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_COMMAND_ORDER_RANK_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_command_order_rank (self, g_value_get_uint (value));
		break;
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_METADATA_SEMANTICS_PROPERTY:
		proton_plus_widgets_games_launch_options_editor_launch_option_metadata_set_semantics (self, g_value_get_object (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_instance_private (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog_private_offset);
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_construct (GType object_type)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog * self = NULL;
	GeeArrayList* _tmp0_;
	GeeHashMap* _tmp1_;
	GeeArrayList* _tmp2_;
	GeeHashMap* _tmp3_;
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*) g_object_new (object_type, NULL);
	_tmp0_ = gee_array_list_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->entries);
	self->priv->entries = _tmp0_;
	_tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->by_id);
	self->priv->by_id = _tmp1_;
	_tmp2_ = gee_array_list_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->wrappers);
	self->priv->wrappers = _tmp2_;
	_tmp3_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->wrappers_by_id);
	self->priv->wrappers_by_id = _tmp3_;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper_defaults (self);
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_defaults (self);
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_new (void)
{
	return proton_plus_widgets_games_launch_options_editor_launch_option_catalog_construct (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_CATALOG);
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_construct_with_definitions (GType object_type,
                                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata** definitions,
                                                                                                  gint definitions_length1,
                                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition** wrapper_definitions,
                                                                                                  gint wrapper_definitions_length1)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog * self = NULL;
	GeeArrayList* _tmp0_;
	GeeHashMap* _tmp1_;
	GeeArrayList* _tmp2_;
	GeeHashMap* _tmp3_;
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*) g_object_new (object_type, NULL);
	_tmp0_ = gee_array_list_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->entries);
	self->priv->entries = _tmp0_;
	_tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->by_id);
	self->priv->by_id = _tmp1_;
	_tmp2_ = gee_array_list_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->wrappers);
	self->priv->wrappers = _tmp2_;
	_tmp3_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	_g_object_unref0 (self->priv->wrappers_by_id);
	self->priv->wrappers_by_id = _tmp3_;
	{
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata** definition_collection = NULL;
		gint definition_collection_length1 = 0;
		gint _definition_collection_size_ = 0;
		gint definition_it = 0;
		definition_collection = definitions;
		definition_collection_length1 = definitions_length1;
		for (definition_it = 0; definition_it < definition_collection_length1; definition_it = definition_it + 1) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp4_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* definition = NULL;
			_tmp4_ = _g_object_ref0 (definition_collection[definition_it]);
			definition = _tmp4_;
			{
				GeeArrayList* _tmp5_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp6_;
				GeeHashMap* _tmp7_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp8_;
				const gchar* _tmp9_;
				const gchar* _tmp10_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp11_;
				_tmp5_ = self->priv->entries;
				_tmp6_ = definition;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp5_, _tmp6_);
				_tmp7_ = self->priv->by_id;
				_tmp8_ = definition;
				_tmp9_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp8_);
				_tmp10_ = _tmp9_;
				_tmp11_ = definition;
				gee_abstract_map_set ((GeeAbstractMap*) _tmp7_, _tmp10_, _tmp11_);
				_g_object_unref0 (definition);
			}
		}
	}
	{
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition** definition_collection = NULL;
		gint definition_collection_length1 = 0;
		gint _definition_collection_size_ = 0;
		gint definition_it = 0;
		definition_collection = wrapper_definitions;
		definition_collection_length1 = wrapper_definitions_length1;
		for (definition_it = 0; definition_it < definition_collection_length1; definition_it = definition_it + 1) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp12_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* definition = NULL;
			_tmp12_ = _g_object_ref0 (definition_collection[definition_it]);
			definition = _tmp12_;
			{
				GeeArrayList* _tmp13_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp14_;
				GeeHashMap* _tmp15_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp16_;
				const gchar* _tmp17_;
				const gchar* _tmp18_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp19_;
				_tmp13_ = self->priv->wrappers;
				_tmp14_ = definition;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp13_, _tmp14_);
				_tmp15_ = self->priv->wrappers_by_id;
				_tmp16_ = definition;
				_tmp17_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp16_);
				_tmp18_ = _tmp17_;
				_tmp19_ = definition;
				gee_abstract_map_set ((GeeAbstractMap*) _tmp15_, _tmp18_, _tmp19_);
				_g_object_unref0 (definition);
			}
		}
	}
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_new_with_definitions (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata** definitions,
                                                                                            gint definitions_length1,
                                                                                            ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition** wrapper_definitions,
                                                                                            gint wrapper_definitions_length1)
{
	return proton_plus_widgets_games_launch_options_editor_launch_option_catalog_construct_with_definitions (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_CATALOG, definitions, definitions_length1, wrapper_definitions, wrapper_definitions_length1);
}

gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_category_title (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory category)
{
	gchar* result;
	switch (category) {
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE:
		{
			gchar* _tmp0_;
			_tmp0_ = g_strdup (_ ("Performance & monitoring"));
			result = _tmp0_;
			return result;
		}
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY:
		{
			gchar* _tmp1_;
			_tmp1_ = g_strdup (_ ("Display & launch tools"));
			result = _tmp1_;
			return result;
		}
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON:
		{
			gchar* _tmp2_;
			_tmp2_ = g_strdup (_ ("Proton & Wine compatibility"));
			result = _tmp2_;
			return result;
		}
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS:
		{
			gchar* _tmp3_;
			_tmp3_ = g_strdup (_ ("Graphics translation"));
			result = _tmp3_;
			return result;
		}
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE:
		{
			gchar* _tmp4_;
			_tmp4_ = g_strdup (_ ("Hardware & drivers"));
			result = _tmp4_;
			return result;
		}
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO:
		{
			gchar* _tmp5_;
			_tmp5_ = g_strdup (_ ("Input & audio"));
			result = _tmp5_;
			return result;
		}
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS:
		{
			gchar* _tmp6_;
			_tmp6_ = g_strdup (_ ("Game arguments"));
			result = _tmp6_;
			return result;
		}
		case PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS:
		{
			gchar* _tmp7_;
			_tmp7_ = g_strdup (_ ("Diagnostics & raw command"));
			result = _tmp7_;
			return result;
		}
		default:
		{
			g_assert_not_reached ();
		}
	}
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionView
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_category_view (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory category)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionView result;
	result = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionView) (((gint) category) + ((gint) PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_PERFORMANCE));
	return result;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                              const gchar* id)
{
	GeeHashMap* _tmp0_;
	gpointer _tmp1_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	_tmp0_ = self->priv->by_id;
	_tmp1_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp0_, id);
	result = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) _tmp1_;
	return result;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup_wrapper (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                      const gchar* id)
{
	GeeHashMap* _tmp0_;
	gpointer _tmp1_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	_tmp0_ = self->priv->wrappers_by_id;
	_tmp1_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp0_, id);
	result = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*) _tmp1_;
	return result;
}

static gint
__lambda100_ (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
              ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* first,
              ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* second)
{
	guint _tmp0_;
	guint _tmp1_;
	guint _tmp2_;
	guint _tmp3_;
	GCompareFunc _tmp8_;
	const gchar* _tmp9_;
	const gchar* _tmp10_;
	const gchar* _tmp11_;
	const gchar* _tmp12_;
	gint result;
	g_return_val_if_fail (first != NULL, -1);
	g_return_val_if_fail (second != NULL, -1);
	_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (first);
	_tmp1_ = _tmp0_;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (second);
	_tmp3_ = _tmp2_;
	if (_tmp1_ != _tmp3_) {
		guint _tmp4_;
		guint _tmp5_;
		guint _tmp6_;
		guint _tmp7_;
		_tmp4_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (first);
		_tmp5_ = _tmp4_;
		_tmp6_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (second);
		_tmp7_ = _tmp6_;
		result = ((gint) _tmp5_) - ((gint) _tmp7_);
		return result;
	}
	_tmp8_ = ((GCompareFunc) g_strcmp0);
	_tmp9_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (first);
	_tmp10_ = _tmp9_;
	_tmp11_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (second);
	_tmp12_ = _tmp11_;
	result = _tmp8_ (_tmp10_, _tmp12_);
	return result;
}

static gint
___lambda100__gcompare_data_func (gconstpointer a,
                                  gconstpointer b,
                                  gpointer self)
{
	gint result;
	result = __lambda100_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*) self, (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*) a, (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*) b);
	return result;
}

GeeList*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_wrappers (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self)
{
	GeeArrayList* ordered = NULL;
	GeeArrayList* _tmp0_;
	GeeArrayList* _tmp11_;
	GeeList* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = gee_array_list_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
	ordered = _tmp0_;
	{
		GeeArrayList* _wrapper_list = NULL;
		GeeArrayList* _tmp1_;
		gint _wrapper_size = 0;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _wrapper_index = 0;
		_tmp1_ = self->priv->wrappers;
		_wrapper_list = _tmp1_;
		_tmp2_ = _wrapper_list;
		_tmp3_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp2_);
		_tmp4_ = _tmp3_;
		_wrapper_size = _tmp4_;
		_wrapper_index = -1;
		while (TRUE) {
			gint _tmp5_;
			gint _tmp6_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* wrapper = NULL;
			GeeArrayList* _tmp7_;
			gpointer _tmp8_;
			GeeArrayList* _tmp9_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp10_;
			_wrapper_index = _wrapper_index + 1;
			_tmp5_ = _wrapper_index;
			_tmp6_ = _wrapper_size;
			if (!(_tmp5_ < _tmp6_)) {
				break;
			}
			_tmp7_ = _wrapper_list;
			_tmp8_ = gee_abstract_list_get ((GeeAbstractList*) _tmp7_, _wrapper_index);
			wrapper = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*) _tmp8_;
			_tmp9_ = ordered;
			_tmp10_ = wrapper;
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp9_, _tmp10_);
			_g_object_unref0 (wrapper);
		}
	}
	_tmp11_ = ordered;
	gee_list_sort ((GeeList*) _tmp11_, ___lambda100__gcompare_data_func, g_object_ref (self), g_object_unref);
	result = (GeeList*) ordered;
	return result;
}

static gint
__lambda101_ (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
              ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* a,
              ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* b)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp0_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp1_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp2_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp3_;
	guint _tmp8_;
	guint _tmp9_;
	guint _tmp10_;
	guint _tmp11_;
	GCompareFunc _tmp16_;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	const gchar* _tmp19_;
	const gchar* _tmp20_;
	gint result;
	g_return_val_if_fail (a != NULL, -1);
	g_return_val_if_fail (b != NULL, -1);
	_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (a);
	_tmp1_ = _tmp0_;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (b);
	_tmp3_ = _tmp2_;
	if (_tmp1_ != _tmp3_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp4_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp5_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp6_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp7_;
		_tmp4_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (a);
		_tmp5_ = _tmp4_;
		_tmp6_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (b);
		_tmp7_ = _tmp6_;
		result = ((gint) _tmp5_) - ((gint) _tmp7_);
		return result;
	}
	_tmp8_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_display_rank (a);
	_tmp9_ = _tmp8_;
	_tmp10_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_display_rank (b);
	_tmp11_ = _tmp10_;
	if (_tmp9_ != _tmp11_) {
		guint _tmp12_;
		guint _tmp13_;
		guint _tmp14_;
		guint _tmp15_;
		_tmp12_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_display_rank (a);
		_tmp13_ = _tmp12_;
		_tmp14_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_display_rank (b);
		_tmp15_ = _tmp14_;
		result = ((gint) _tmp13_) - ((gint) _tmp15_);
		return result;
	}
	_tmp16_ = ((GCompareFunc) g_strcmp0);
	_tmp17_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (a);
	_tmp18_ = _tmp17_;
	_tmp19_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (b);
	_tmp20_ = _tmp19_;
	result = _tmp16_ (_tmp18_, _tmp20_);
	return result;
}

static gint
___lambda101__gcompare_data_func (gconstpointer a,
                                  gconstpointer b,
                                  gpointer self)
{
	gint result;
	result = __lambda101_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog*) self, (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) a, (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) b);
	return result;
}

GeeList*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_ordered (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self)
{
	GeeArrayList* ordered = NULL;
	GeeArrayList* _tmp0_;
	GeeArrayList* _tmp11_;
	GeeList* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = gee_array_list_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
	ordered = _tmp0_;
	{
		GeeArrayList* _entry_list = NULL;
		GeeArrayList* _tmp1_;
		gint _entry_size = 0;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _entry_index = 0;
		_tmp1_ = self->priv->entries;
		_entry_list = _tmp1_;
		_tmp2_ = _entry_list;
		_tmp3_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp2_);
		_tmp4_ = _tmp3_;
		_entry_size = _tmp4_;
		_entry_index = -1;
		while (TRUE) {
			gint _tmp5_;
			gint _tmp6_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry = NULL;
			GeeArrayList* _tmp7_;
			gpointer _tmp8_;
			GeeArrayList* _tmp9_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp10_;
			_entry_index = _entry_index + 1;
			_tmp5_ = _entry_index;
			_tmp6_ = _entry_size;
			if (!(_tmp5_ < _tmp6_)) {
				break;
			}
			_tmp7_ = _entry_list;
			_tmp8_ = gee_abstract_list_get ((GeeAbstractList*) _tmp7_, _entry_index);
			entry = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) _tmp8_;
			_tmp9_ = ordered;
			_tmp10_ = entry;
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp9_, _tmp10_);
			_g_object_unref0 (entry);
		}
	}
	_tmp11_ = ordered;
	gee_list_sort ((GeeList*) _tmp11_, ___lambda101__gcompare_data_func, g_object_ref (self), g_object_unref);
	result = (GeeList*) ordered;
	return result;
}

GeeList*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_search (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                              const gchar* query)
{
	GeeArrayList* results = NULL;
	GeeArrayList* _tmp0_;
	GeeList* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (query != NULL, NULL);
	_tmp0_ = gee_array_list_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_METADATA, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
	results = _tmp0_;
	{
		GeeList* _entry_list = NULL;
		GeeList* _tmp1_;
		gint _entry_size = 0;
		GeeList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _entry_index = 0;
		_tmp1_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_ordered (self);
		_entry_list = _tmp1_;
		_tmp2_ = _entry_list;
		_tmp3_ = gee_collection_get_size ((GeeCollection*) _tmp2_);
		_tmp4_ = _tmp3_;
		_entry_size = _tmp4_;
		_entry_index = -1;
		while (TRUE) {
			gint _tmp5_;
			gint _tmp6_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry = NULL;
			GeeList* _tmp7_;
			gpointer _tmp8_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp9_;
			_entry_index = _entry_index + 1;
			_tmp5_ = _entry_index;
			_tmp6_ = _entry_size;
			if (!(_tmp5_ < _tmp6_)) {
				break;
			}
			_tmp7_ = _entry_list;
			_tmp8_ = gee_list_get (_tmp7_, _entry_index);
			entry = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) _tmp8_;
			_tmp9_ = entry;
			if (proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches_search (_tmp9_, query)) {
				GeeArrayList* _tmp10_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp11_;
				_tmp10_ = results;
				_tmp11_ = entry;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp10_, _tmp11_);
			}
			_g_object_unref0 (entry);
		}
		_g_object_unref0 (_entry_list);
	}
	result = (GeeList*) results;
	return result;
}

gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_should_display (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                      ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* metadata,
                                                                                      ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionView view,
                                                                                      const gchar* query,
                                                                                      gboolean active)
{
	gchar* _tmp0_;
	gchar* _tmp1_;
	gboolean _tmp2_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp5_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory _tmp6_;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (metadata != NULL, FALSE);
	g_return_val_if_fail (query != NULL, FALSE);
	if (active) {
		result = TRUE;
		return result;
	}
	_tmp0_ = string_strip (query);
	_tmp1_ = _tmp0_;
	_tmp2_ = g_strcmp0 (_tmp1_, "") != 0;
	_g_free0 (_tmp1_);
	if (_tmp2_) {
		result = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_matches_search (metadata, query);
		return result;
	}
	if (view == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_ALL) {
		result = TRUE;
		return result;
	}
	if (view == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_QUICK) {
		gboolean _tmp3_;
		gboolean _tmp4_;
		_tmp3_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_quick_setting (metadata);
		_tmp4_ = _tmp3_;
		result = _tmp4_;
		return result;
	}
	if (view == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_VIEW_ACTIVE) {
		result = FALSE;
		return result;
	}
	_tmp5_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_category (metadata);
	_tmp6_ = _tmp5_;
	result = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_category_view (_tmp6_) == view;
	return result;
}

gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_valid (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self)
{
	GeeList* _tmp0_;
	GeeList* _tmp1_;
	gint _tmp2_;
	gint _tmp3_;
	gboolean _tmp4_;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate (self);
	_tmp1_ = _tmp0_;
	_tmp2_ = gee_collection_get_size ((GeeCollection*) _tmp1_);
	_tmp3_ = _tmp2_;
	_tmp4_ = _tmp3_ == 0;
	_g_object_unref0 (_tmp1_);
	result = _tmp4_;
	return result;
}

GeeList*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self)
{
	GeeArrayList* diagnostics = NULL;
	GeeArrayList* _tmp0_;
	GeeHashSet* ids = NULL;
	GeeHashSet* _tmp1_;
	GeeHashMap* canonical_keys = NULL;
	GeeHashMap* _tmp2_;
	GeeHashMap* legacy_keys = NULL;
	GeeHashMap* _tmp3_;
	gint command_boundaries = 0;
	GeeArrayList* _tmp97_;
	GeeArrayList* _tmp98_;
	GeeHashSet* wrapper_ids = NULL;
	GeeHashSet* _tmp102_;
	GeeHashMap* wrapper_priorities = NULL;
	GeeHashMap* _tmp103_;
	GeeList* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
	diagnostics = _tmp0_;
	_tmp1_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL, NULL, NULL, NULL);
	ids = _tmp1_;
	_tmp2_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	canonical_keys = _tmp2_;
	_tmp3_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	legacy_keys = _tmp3_;
	command_boundaries = 0;
	{
		GeeArrayList* _entry_list = NULL;
		GeeArrayList* _tmp4_;
		gint _entry_size = 0;
		GeeArrayList* _tmp5_;
		gint _tmp6_;
		gint _tmp7_;
		gint _entry_index = 0;
		_tmp4_ = self->priv->entries;
		_entry_list = _tmp4_;
		_tmp5_ = _entry_list;
		_tmp6_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp5_);
		_tmp7_ = _tmp6_;
		_entry_size = _tmp7_;
		_entry_index = -1;
		while (TRUE) {
			gint _tmp8_;
			gint _tmp9_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry = NULL;
			GeeArrayList* _tmp10_;
			gpointer _tmp11_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp12_;
			const gchar* _tmp13_;
			const gchar* _tmp14_;
			gchar* _tmp15_;
			gchar* _tmp16_;
			gboolean _tmp17_;
			GeeHashSet* _tmp29_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp30_;
			const gchar* _tmp31_;
			const gchar* _tmp32_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp33_;
			GeeArrayList* _tmp34_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics = NULL;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp35_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp36_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp37_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp38_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp39_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp40_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp41_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp42_;
			GeeHashMap* _tmp44_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp45_;
			const gchar* _tmp46_;
			const gchar* _tmp47_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp48_;
			const gchar* _tmp49_;
			const gchar* _tmp50_;
			GeeArrayList* _tmp51_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp52_;
			gchar** _tmp53_;
			gint _tmp53__length1;
			gint _tmp54_ = 0;
			gchar** _tmp55_;
			gint _tmp55__length1;
			_entry_index = _entry_index + 1;
			_tmp8_ = _entry_index;
			_tmp9_ = _entry_size;
			if (!(_tmp8_ < _tmp9_)) {
				break;
			}
			_tmp10_ = _entry_list;
			_tmp11_ = gee_abstract_list_get ((GeeAbstractList*) _tmp10_, _entry_index);
			entry = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) _tmp11_;
			_tmp12_ = entry;
			_tmp13_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp12_);
			_tmp14_ = _tmp13_;
			_tmp15_ = string_strip (_tmp14_);
			_tmp16_ = _tmp15_;
			_tmp17_ = g_strcmp0 (_tmp16_, "") == 0;
			_g_free0 (_tmp16_);
			if (_tmp17_) {
				GeeArrayList* _tmp18_;
				_tmp18_ = diagnostics;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp18_, "Option IDs must not be empty.");
			} else {
				GeeHashSet* _tmp19_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp20_;
				const gchar* _tmp21_;
				const gchar* _tmp22_;
				_tmp19_ = ids;
				_tmp20_ = entry;
				_tmp21_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp20_);
				_tmp22_ = _tmp21_;
				if (gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp19_, _tmp22_)) {
					GeeArrayList* _tmp23_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp24_;
					const gchar* _tmp25_;
					const gchar* _tmp26_;
					gchar* _tmp27_;
					gchar* _tmp28_;
					_tmp23_ = diagnostics;
					_tmp24_ = entry;
					_tmp25_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp24_);
					_tmp26_ = _tmp25_;
					_tmp27_ = g_strdup_printf ("Duplicate option ID: %s", _tmp26_);
					_tmp28_ = _tmp27_;
					gee_abstract_collection_add ((GeeAbstractCollection*) _tmp23_, _tmp28_);
					_g_free0 (_tmp28_);
				}
			}
			_tmp29_ = ids;
			_tmp30_ = entry;
			_tmp31_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp30_);
			_tmp32_ = _tmp31_;
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp29_, _tmp32_);
			_tmp33_ = entry;
			_tmp34_ = diagnostics;
			proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_option_semantics (self, _tmp33_, (GeeList*) _tmp34_);
			_tmp35_ = entry;
			_tmp36_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp35_);
			_tmp37_ = _tmp36_;
			_tmp38_ = _g_object_ref0 (_tmp37_);
			semantics = _tmp38_;
			_tmp39_ = semantics;
			if (_tmp39_ == NULL) {
				_g_object_unref0 (semantics);
				_g_object_unref0 (entry);
				continue;
			}
			_tmp40_ = semantics;
			_tmp41_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp40_);
			_tmp42_ = _tmp41_;
			if (_tmp42_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY) {
				gint _tmp43_;
				_tmp43_ = command_boundaries;
				command_boundaries = _tmp43_ + 1;
			}
			_tmp44_ = canonical_keys;
			_tmp45_ = semantics;
			_tmp46_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_environment_key (_tmp45_);
			_tmp47_ = _tmp46_;
			_tmp48_ = entry;
			_tmp49_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp48_);
			_tmp50_ = _tmp49_;
			_tmp51_ = diagnostics;
			proton_plus_widgets_games_launch_options_editor_launch_option_catalog_register_environment_key (self, _tmp44_, _tmp47_, _tmp50_, "canonical", (GeeList*) _tmp51_);
			_tmp52_ = semantics;
			_tmp53_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_tokens (_tmp52_, &_tmp54_);
			_tmp53__length1 = _tmp54_;
			_tmp55_ = _tmp53_;
			_tmp55__length1 = _tmp53__length1;
			{
				gchar** token_collection = NULL;
				gint token_collection_length1 = 0;
				gint _token_collection_size_ = 0;
				gint token_it = 0;
				token_collection = _tmp55_;
				token_collection_length1 = _tmp55__length1;
				for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
					gchar* _tmp56_;
					gchar* token = NULL;
					_tmp56_ = g_strdup (token_collection[token_it]);
					token = _tmp56_;
					{
						GeeHashMap* _tmp57_;
						const gchar* _tmp58_;
						gchar* _tmp59_;
						gchar* _tmp60_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp61_;
						const gchar* _tmp62_;
						const gchar* _tmp63_;
						GeeArrayList* _tmp64_;
						_tmp57_ = legacy_keys;
						_tmp58_ = token;
						_tmp59_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_token_key (self, _tmp58_);
						_tmp60_ = _tmp59_;
						_tmp61_ = entry;
						_tmp62_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp61_);
						_tmp63_ = _tmp62_;
						_tmp64_ = diagnostics;
						proton_plus_widgets_games_launch_options_editor_launch_option_catalog_register_environment_key (self, _tmp57_, _tmp60_, _tmp63_, "legacy", (GeeList*) _tmp64_);
						_g_free0 (_tmp60_);
						_g_free0 (token);
					}
				}
			}
			_g_object_unref0 (semantics);
			_g_object_unref0 (entry);
		}
	}
	{
		GeeIterator* _key_it = NULL;
		GeeHashMap* _tmp65_;
		GeeSet* _tmp66_;
		GeeSet* _tmp67_;
		GeeSet* _tmp68_;
		GeeIterator* _tmp69_;
		GeeIterator* _tmp70_;
		_tmp65_ = canonical_keys;
		_tmp66_ = gee_abstract_map_get_keys ((GeeAbstractMap*) _tmp65_);
		_tmp67_ = _tmp66_;
		_tmp68_ = _tmp67_;
		_tmp69_ = gee_iterable_iterator ((GeeIterable*) _tmp68_);
		_tmp70_ = _tmp69_;
		_g_object_unref0 (_tmp68_);
		_key_it = _tmp70_;
		while (TRUE) {
			GeeIterator* _tmp71_;
			gchar* key = NULL;
			GeeIterator* _tmp72_;
			gpointer _tmp73_;
			gboolean _tmp74_ = FALSE;
			GeeHashMap* _tmp75_;
			const gchar* _tmp76_;
			_tmp71_ = _key_it;
			if (!gee_iterator_next (_tmp71_)) {
				break;
			}
			_tmp72_ = _key_it;
			_tmp73_ = gee_iterator_get (_tmp72_);
			key = (gchar*) _tmp73_;
			_tmp75_ = legacy_keys;
			_tmp76_ = key;
			if (gee_abstract_map_has_key ((GeeAbstractMap*) _tmp75_, _tmp76_)) {
				GeeHashMap* _tmp77_;
				const gchar* _tmp78_;
				gpointer _tmp79_;
				gchar* _tmp80_;
				GeeHashMap* _tmp81_;
				const gchar* _tmp82_;
				gpointer _tmp83_;
				gchar* _tmp84_;
				_tmp77_ = canonical_keys;
				_tmp78_ = key;
				_tmp79_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp77_, _tmp78_);
				_tmp80_ = (gchar*) _tmp79_;
				_tmp81_ = legacy_keys;
				_tmp82_ = key;
				_tmp83_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp81_, _tmp82_);
				_tmp84_ = (gchar*) _tmp83_;
				_tmp74_ = g_strcmp0 (_tmp80_, _tmp84_) != 0;
				_g_free0 (_tmp84_);
				_g_free0 (_tmp80_);
			} else {
				_tmp74_ = FALSE;
			}
			if (_tmp74_) {
				GeeArrayList* _tmp85_;
				const gchar* _tmp86_;
				GeeHashMap* _tmp87_;
				const gchar* _tmp88_;
				gpointer _tmp89_;
				gchar* _tmp90_;
				GeeHashMap* _tmp91_;
				const gchar* _tmp92_;
				gpointer _tmp93_;
				gchar* _tmp94_;
				gchar* _tmp95_;
				gchar* _tmp96_;
				_tmp85_ = diagnostics;
				_tmp86_ = key;
				_tmp87_ = canonical_keys;
				_tmp88_ = key;
				_tmp89_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp87_, _tmp88_);
				_tmp90_ = (gchar*) _tmp89_;
				_tmp91_ = legacy_keys;
				_tmp92_ = key;
				_tmp93_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp91_, _tmp92_);
				_tmp94_ = (gchar*) _tmp93_;
				_tmp95_ = g_strdup_printf ("Environment key '%s' is canonical for '%s' and legacy for unrelated op" \
"tion '%s'.", _tmp86_, _tmp90_, _tmp94_);
				_tmp96_ = _tmp95_;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp85_, _tmp96_);
				_g_free0 (_tmp96_);
				_g_free0 (_tmp94_);
				_g_free0 (_tmp90_);
			}
			_g_free0 (key);
		}
		_g_object_unref0 (_key_it);
	}
	_tmp97_ = diagnostics;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_parse_shape_ownership (self, (GeeList*) _tmp97_);
	_tmp98_ = diagnostics;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_conflict_consistency (self, (GeeList*) _tmp98_);
	if (command_boundaries != 1) {
		GeeArrayList* _tmp99_;
		gchar* _tmp100_;
		gchar* _tmp101_;
		_tmp99_ = diagnostics;
		_tmp100_ = g_strdup_printf ("Catalog requires exactly one legacy command boundary (found %d).", command_boundaries);
		_tmp101_ = _tmp100_;
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp99_, _tmp101_);
		_g_free0 (_tmp101_);
	}
	_tmp102_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL, NULL, NULL, NULL);
	wrapper_ids = _tmp102_;
	_tmp103_ = gee_hash_map_new (G_TYPE_UINT, NULL, NULL, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_WRAPPER_DEFINITION, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	wrapper_priorities = _tmp103_;
	{
		GeeArrayList* _wrapper_list = NULL;
		GeeArrayList* _tmp104_;
		gint _wrapper_size = 0;
		GeeArrayList* _tmp105_;
		gint _tmp106_;
		gint _tmp107_;
		gint _wrapper_index = 0;
		_tmp104_ = self->priv->wrappers;
		_wrapper_list = _tmp104_;
		_tmp105_ = _wrapper_list;
		_tmp106_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp105_);
		_tmp107_ = _tmp106_;
		_wrapper_size = _tmp107_;
		_wrapper_index = -1;
		while (TRUE) {
			gint _tmp108_;
			gint _tmp109_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* wrapper = NULL;
			GeeArrayList* _tmp110_;
			gpointer _tmp111_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp112_;
			const gchar* _tmp113_;
			const gchar* _tmp114_;
			gchar* _tmp115_;
			gchar* _tmp116_;
			gboolean _tmp117_;
			GeeHashSet* _tmp129_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp130_;
			const gchar* _tmp131_;
			const gchar* _tmp132_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp133_;
			gchar** _tmp134_;
			gint _tmp134__length1;
			gint _tmp135_ = 0;
			gchar** _tmp136_;
			gint _tmp136__length1;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp143_;
			gchar** _tmp144_;
			gint _tmp144__length1;
			gint _tmp145_ = 0;
			gchar** _tmp146_;
			gint _tmp146__length1;
			gboolean _tmp165_ = FALSE;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp166_;
			const gchar* _tmp167_;
			const gchar* _tmp168_;
			GeeHashMap* _tmp185_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp186_;
			guint _tmp187_;
			guint _tmp188_;
			_wrapper_index = _wrapper_index + 1;
			_tmp108_ = _wrapper_index;
			_tmp109_ = _wrapper_size;
			if (!(_tmp108_ < _tmp109_)) {
				break;
			}
			_tmp110_ = _wrapper_list;
			_tmp111_ = gee_abstract_list_get ((GeeAbstractList*) _tmp110_, _wrapper_index);
			wrapper = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*) _tmp111_;
			_tmp112_ = wrapper;
			_tmp113_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp112_);
			_tmp114_ = _tmp113_;
			_tmp115_ = string_strip (_tmp114_);
			_tmp116_ = _tmp115_;
			_tmp117_ = g_strcmp0 (_tmp116_, "") == 0;
			_g_free0 (_tmp116_);
			if (_tmp117_) {
				GeeArrayList* _tmp118_;
				_tmp118_ = diagnostics;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp118_, "Wrapper IDs must not be empty.");
			} else {
				GeeHashSet* _tmp119_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp120_;
				const gchar* _tmp121_;
				const gchar* _tmp122_;
				_tmp119_ = wrapper_ids;
				_tmp120_ = wrapper;
				_tmp121_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp120_);
				_tmp122_ = _tmp121_;
				if (gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp119_, _tmp122_)) {
					GeeArrayList* _tmp123_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp124_;
					const gchar* _tmp125_;
					const gchar* _tmp126_;
					gchar* _tmp127_;
					gchar* _tmp128_;
					_tmp123_ = diagnostics;
					_tmp124_ = wrapper;
					_tmp125_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp124_);
					_tmp126_ = _tmp125_;
					_tmp127_ = g_strdup_printf ("Duplicate wrapper ID: %s", _tmp126_);
					_tmp128_ = _tmp127_;
					gee_abstract_collection_add ((GeeAbstractCollection*) _tmp123_, _tmp128_);
					_g_free0 (_tmp128_);
				}
			}
			_tmp129_ = wrapper_ids;
			_tmp130_ = wrapper;
			_tmp131_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp130_);
			_tmp132_ = _tmp131_;
			gee_abstract_collection_add ((GeeAbstractCollection*) _tmp129_, _tmp132_);
			_tmp133_ = wrapper;
			_tmp134_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_executable_tokens (_tmp133_, &_tmp135_);
			_tmp134__length1 = _tmp135_;
			_tmp136_ = _tmp134_;
			_tmp136__length1 = _tmp134__length1;
			if (_tmp136__length1 == 0) {
				GeeArrayList* _tmp137_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp138_;
				const gchar* _tmp139_;
				const gchar* _tmp140_;
				gchar* _tmp141_;
				gchar* _tmp142_;
				_tmp137_ = diagnostics;
				_tmp138_ = wrapper;
				_tmp139_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp138_);
				_tmp140_ = _tmp139_;
				_tmp141_ = g_strdup_printf ("Wrapper '%s' requires executable tokens.", _tmp140_);
				_tmp142_ = _tmp141_;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp137_, _tmp142_);
				_g_free0 (_tmp142_);
			}
			_tmp143_ = wrapper;
			_tmp144_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_executable_tokens (_tmp143_, &_tmp145_);
			_tmp144__length1 = _tmp145_;
			_tmp146_ = _tmp144_;
			_tmp146__length1 = _tmp144__length1;
			{
				gchar** token_collection = NULL;
				gint token_collection_length1 = 0;
				gint _token_collection_size_ = 0;
				gint token_it = 0;
				token_collection = _tmp146_;
				token_collection_length1 = _tmp146__length1;
				for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
					gchar* _tmp147_;
					gchar* token = NULL;
					_tmp147_ = g_strdup (token_collection[token_it]);
					token = _tmp147_;
					{
						const gchar* _tmp148_;
						gchar* _tmp149_;
						gchar* _tmp150_;
						gboolean _tmp151_;
						const gchar* _tmp158_;
						_tmp148_ = token;
						_tmp149_ = string_strip (_tmp148_);
						_tmp150_ = _tmp149_;
						_tmp151_ = g_strcmp0 (_tmp150_, "") == 0;
						_g_free0 (_tmp150_);
						if (_tmp151_) {
							GeeArrayList* _tmp152_;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp153_;
							const gchar* _tmp154_;
							const gchar* _tmp155_;
							gchar* _tmp156_;
							gchar* _tmp157_;
							_tmp152_ = diagnostics;
							_tmp153_ = wrapper;
							_tmp154_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp153_);
							_tmp155_ = _tmp154_;
							_tmp156_ = g_strdup_printf ("Wrapper '%s' has an empty executable token.", _tmp155_);
							_tmp157_ = _tmp156_;
							gee_abstract_collection_add ((GeeAbstractCollection*) _tmp152_, _tmp157_);
							_g_free0 (_tmp157_);
						}
						_tmp158_ = token;
						if (string_contains (_tmp158_, "%command%")) {
							GeeArrayList* _tmp159_;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp160_;
							const gchar* _tmp161_;
							const gchar* _tmp162_;
							gchar* _tmp163_;
							gchar* _tmp164_;
							_tmp159_ = diagnostics;
							_tmp160_ = wrapper;
							_tmp161_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp160_);
							_tmp162_ = _tmp161_;
							_tmp163_ = g_strdup_printf ("Wrapper '%s' executable tokens must not contain %%command%%.", _tmp162_);
							_tmp164_ = _tmp163_;
							gee_abstract_collection_add ((GeeAbstractCollection*) _tmp159_, _tmp164_);
							_g_free0 (_tmp164_);
						}
						_g_free0 (token);
					}
				}
			}
			_tmp166_ = wrapper;
			_tmp167_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_delimiter (_tmp166_);
			_tmp168_ = _tmp167_;
			if (_tmp168_ != NULL) {
				gboolean _tmp169_ = FALSE;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp170_;
				const gchar* _tmp171_;
				const gchar* _tmp172_;
				gchar* _tmp173_;
				gchar* _tmp174_;
				gboolean _tmp175_;
				_tmp170_ = wrapper;
				_tmp171_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_delimiter (_tmp170_);
				_tmp172_ = _tmp171_;
				_tmp173_ = string_strip (_tmp172_);
				_tmp174_ = _tmp173_;
				_tmp175_ = g_strcmp0 (_tmp174_, "") == 0;
				_g_free0 (_tmp174_);
				if (_tmp175_) {
					_tmp169_ = TRUE;
				} else {
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp176_;
					const gchar* _tmp177_;
					const gchar* _tmp178_;
					_tmp176_ = wrapper;
					_tmp177_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_delimiter (_tmp176_);
					_tmp178_ = _tmp177_;
					_tmp169_ = string_contains (_tmp178_, "%command%");
				}
				_tmp165_ = _tmp169_;
			} else {
				_tmp165_ = FALSE;
			}
			if (_tmp165_) {
				GeeArrayList* _tmp179_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp180_;
				const gchar* _tmp181_;
				const gchar* _tmp182_;
				gchar* _tmp183_;
				gchar* _tmp184_;
				_tmp179_ = diagnostics;
				_tmp180_ = wrapper;
				_tmp181_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (_tmp180_);
				_tmp182_ = _tmp181_;
				_tmp183_ = g_strdup_printf ("Wrapper '%s' has an invalid delimiter.", _tmp182_);
				_tmp184_ = _tmp183_;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp179_, _tmp184_);
				_g_free0 (_tmp184_);
			}
			_tmp185_ = wrapper_priorities;
			_tmp186_ = wrapper;
			_tmp187_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (_tmp186_);
			_tmp188_ = _tmp187_;
			if (gee_abstract_map_has_key ((GeeAbstractMap*) _tmp185_, (gpointer) ((guintptr) _tmp188_))) {
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* other = NULL;
				GeeHashMap* _tmp189_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp190_;
				guint _tmp191_;
				guint _tmp192_;
				gpointer _tmp193_;
				gboolean _tmp194_ = FALSE;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp195_;
				const gchar* _tmp196_;
				const gchar* _tmp197_;
				_tmp189_ = wrapper_priorities;
				_tmp190_ = wrapper;
				_tmp191_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (_tmp190_);
				_tmp192_ = _tmp191_;
				_tmp193_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp189_, (gpointer) ((guintptr) _tmp192_));
				other = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition*) _tmp193_;
				_tmp195_ = other;
				_tmp196_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_mutual_exclusion_group (_tmp195_);
				_tmp197_ = _tmp196_;
				if (g_strcmp0 (_tmp197_, "") == 0) {
					_tmp194_ = TRUE;
				} else {
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp198_;
					const gchar* _tmp199_;
					const gchar* _tmp200_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp201_;
					const gchar* _tmp202_;
					const gchar* _tmp203_;
					_tmp198_ = other;
					_tmp199_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_mutual_exclusion_group (_tmp198_);
					_tmp200_ = _tmp199_;
					_tmp201_ = wrapper;
					_tmp202_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_mutual_exclusion_group (_tmp201_);
					_tmp203_ = _tmp202_;
					_tmp194_ = g_strcmp0 (_tmp200_, _tmp203_) != 0;
				}
				if (_tmp194_) {
					GeeArrayList* _tmp204_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp205_;
					guint _tmp206_;
					guint _tmp207_;
					gchar* _tmp208_;
					gchar* _tmp209_;
					_tmp204_ = diagnostics;
					_tmp205_ = wrapper;
					_tmp206_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (_tmp205_);
					_tmp207_ = _tmp206_;
					_tmp208_ = g_strdup_printf ("Wrapper nesting priority %u is ambiguous.", _tmp207_);
					_tmp209_ = _tmp208_;
					gee_abstract_collection_add ((GeeAbstractCollection*) _tmp204_, _tmp209_);
					_g_free0 (_tmp209_);
				}
				_g_object_unref0 (other);
			} else {
				GeeHashMap* _tmp210_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp211_;
				guint _tmp212_;
				guint _tmp213_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp214_;
				_tmp210_ = wrapper_priorities;
				_tmp211_ = wrapper;
				_tmp212_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_nesting_priority (_tmp211_);
				_tmp213_ = _tmp212_;
				_tmp214_ = wrapper;
				gee_abstract_map_set ((GeeAbstractMap*) _tmp210_, (gpointer) ((guintptr) _tmp213_), _tmp214_);
			}
			_g_object_unref0 (wrapper);
		}
	}
	result = (GeeList*) diagnostics;
	_g_object_unref0 (wrapper_priorities);
	_g_object_unref0 (wrapper_ids);
	_g_object_unref0 (legacy_keys);
	_g_object_unref0 (canonical_keys);
	_g_object_unref0 (ids);
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_register_environment_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                GeeHashMap* owners,
                                                                                                const gchar* key,
                                                                                                const gchar* option_id,
                                                                                                const gchar* role,
                                                                                                GeeList* diagnostics)
{
	gchar* _tmp0_;
	gchar* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_ = FALSE;
	g_return_if_fail (self != NULL);
	g_return_if_fail (owners != NULL);
	g_return_if_fail (key != NULL);
	g_return_if_fail (option_id != NULL);
	g_return_if_fail (role != NULL);
	g_return_if_fail (diagnostics != NULL);
	_tmp0_ = string_strip (key);
	_tmp1_ = _tmp0_;
	_tmp2_ = g_strcmp0 (_tmp1_, "") == 0;
	_g_free0 (_tmp1_);
	if (_tmp2_) {
		return;
	}
	if (gee_abstract_map_has_key ((GeeAbstractMap*) owners, key)) {
		gpointer _tmp4_;
		gchar* _tmp5_;
		_tmp4_ = gee_abstract_map_get ((GeeAbstractMap*) owners, key);
		_tmp5_ = (gchar*) _tmp4_;
		_tmp3_ = g_strcmp0 (_tmp5_, option_id) != 0;
		_g_free0 (_tmp5_);
	} else {
		_tmp3_ = FALSE;
	}
	if (_tmp3_) {
		gpointer _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
		gchar* _tmp9_;
		_tmp6_ = gee_abstract_map_get ((GeeAbstractMap*) owners, key);
		_tmp7_ = (gchar*) _tmp6_;
		_tmp8_ = g_strdup_printf ("Environment key '%s' has multiple %s owners: '%s' and '%s'.", key, role, _tmp7_, option_id);
		_tmp9_ = _tmp8_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp9_);
		_g_free0 (_tmp9_);
		_g_free0 (_tmp7_);
	} else {
		gee_abstract_map_set ((GeeAbstractMap*) owners, key, option_id);
	}
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_parse_shape_ownership (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                      GeeList* diagnostics)
{
	g_return_if_fail (self != NULL);
	g_return_if_fail (diagnostics != NULL);
	{
		GeeArrayList* _entry_list = NULL;
		GeeArrayList* _tmp0_;
		gint _entry_size = 0;
		GeeArrayList* _tmp1_;
		gint _tmp2_;
		gint _tmp3_;
		gint _entry_index = 0;
		_tmp0_ = self->priv->entries;
		_entry_list = _tmp0_;
		_tmp1_ = _entry_list;
		_tmp2_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp1_);
		_tmp3_ = _tmp2_;
		_entry_size = _tmp3_;
		_entry_index = -1;
		while (TRUE) {
			gint _tmp4_;
			gint _tmp5_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry = NULL;
			GeeArrayList* _tmp6_;
			gpointer _tmp7_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics = NULL;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp8_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp9_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp10_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp11_;
			gboolean _tmp12_ = FALSE;
			gboolean _tmp13_ = FALSE;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp14_;
			_entry_index = _entry_index + 1;
			_tmp4_ = _entry_index;
			_tmp5_ = _entry_size;
			if (!(_tmp4_ < _tmp5_)) {
				break;
			}
			_tmp6_ = _entry_list;
			_tmp7_ = gee_abstract_list_get ((GeeAbstractList*) _tmp6_, _entry_index);
			entry = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) _tmp7_;
			_tmp8_ = entry;
			_tmp9_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp8_);
			_tmp10_ = _tmp9_;
			_tmp11_ = _g_object_ref0 (_tmp10_);
			semantics = _tmp11_;
			_tmp14_ = semantics;
			if (_tmp14_ == NULL) {
				_tmp13_ = TRUE;
			} else {
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp15_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp16_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp17_;
				_tmp15_ = semantics;
				_tmp16_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp15_);
				_tmp17_ = _tmp16_;
				_tmp13_ = _tmp17_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT;
			}
			if (_tmp13_) {
				_tmp12_ = TRUE;
			} else {
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp18_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp19_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp20_;
				_tmp18_ = semantics;
				_tmp19_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (_tmp18_);
				_tmp20_ = _tmp19_;
				_tmp12_ = _tmp20_ == NULL;
			}
			if (_tmp12_) {
				_g_object_unref0 (semantics);
				_g_object_unref0 (entry);
				continue;
			}
			{
				GeeArrayList* _other_list = NULL;
				GeeArrayList* _tmp21_;
				gint _other_size = 0;
				GeeArrayList* _tmp22_;
				gint _tmp23_;
				gint _tmp24_;
				gint _other_index = 0;
				_tmp21_ = self->priv->entries;
				_other_list = _tmp21_;
				_tmp22_ = _other_list;
				_tmp23_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp22_);
				_tmp24_ = _tmp23_;
				_other_size = _tmp24_;
				_other_index = -1;
				while (TRUE) {
					gint _tmp25_;
					gint _tmp26_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* other = NULL;
					GeeArrayList* _tmp27_;
					gpointer _tmp28_;
					gboolean _tmp29_ = FALSE;
					gboolean _tmp30_ = FALSE;
					gboolean _tmp31_ = FALSE;
					gboolean _tmp32_ = FALSE;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp33_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp34_;
					gboolean _tmp56_ = FALSE;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp57_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp58_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp59_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp60_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp61_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp62_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp63_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp64_;
					_other_index = _other_index + 1;
					_tmp25_ = _other_index;
					_tmp26_ = _other_size;
					if (!(_tmp25_ < _tmp26_)) {
						break;
					}
					_tmp27_ = _other_list;
					_tmp28_ = gee_abstract_list_get ((GeeAbstractList*) _tmp27_, _other_index);
					other = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) _tmp28_;
					_tmp33_ = entry;
					_tmp34_ = other;
					if (_tmp33_ == _tmp34_) {
						_tmp32_ = TRUE;
					} else {
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp35_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp36_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp37_;
						_tmp35_ = other;
						_tmp36_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp35_);
						_tmp37_ = _tmp36_;
						_tmp32_ = _tmp37_ == NULL;
					}
					if (_tmp32_) {
						_tmp31_ = TRUE;
					} else {
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp38_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp39_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp40_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp41_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp42_;
						_tmp38_ = other;
						_tmp39_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp38_);
						_tmp40_ = _tmp39_;
						_tmp41_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp40_);
						_tmp42_ = _tmp41_;
						_tmp31_ = _tmp42_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT;
					}
					if (_tmp31_) {
						_tmp30_ = TRUE;
					} else {
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp43_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp44_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp45_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp46_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp47_;
						_tmp43_ = other;
						_tmp44_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp43_);
						_tmp45_ = _tmp44_;
						_tmp46_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (_tmp45_);
						_tmp47_ = _tmp46_;
						_tmp30_ = _tmp47_ == NULL;
					}
					if (_tmp30_) {
						_tmp29_ = TRUE;
					} else {
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp48_;
						const gchar* _tmp49_;
						const gchar* _tmp50_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp51_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp52_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp53_;
						const gchar* _tmp54_;
						const gchar* _tmp55_;
						_tmp48_ = semantics;
						_tmp49_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp48_);
						_tmp50_ = _tmp49_;
						_tmp51_ = other;
						_tmp52_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp51_);
						_tmp53_ = _tmp52_;
						_tmp54_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp53_);
						_tmp55_ = _tmp54_;
						_tmp29_ = g_strcmp0 (_tmp50_, _tmp55_) != 0;
					}
					if (_tmp29_) {
						_g_object_unref0 (other);
						continue;
					}
					_tmp57_ = semantics;
					_tmp58_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (_tmp57_);
					_tmp59_ = _tmp58_;
					_tmp60_ = other;
					_tmp61_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp60_);
					_tmp62_ = _tmp61_;
					_tmp63_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (_tmp62_);
					_tmp64_ = _tmp63_;
					if (proton_plus_widgets_games_launch_options_editor_launch_option_catalog_same_parse_shape (self, _tmp59_, _tmp64_)) {
						GCompareFunc _tmp65_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp66_;
						const gchar* _tmp67_;
						const gchar* _tmp68_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp69_;
						const gchar* _tmp70_;
						const gchar* _tmp71_;
						_tmp65_ = ((GCompareFunc) g_strcmp0);
						_tmp66_ = entry;
						_tmp67_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp66_);
						_tmp68_ = _tmp67_;
						_tmp69_ = other;
						_tmp70_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp69_);
						_tmp71_ = _tmp70_;
						_tmp56_ = _tmp65_ (_tmp68_, _tmp71_) < 0;
					} else {
						_tmp56_ = FALSE;
					}
					if (_tmp56_) {
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp72_;
						const gchar* _tmp73_;
						const gchar* _tmp74_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp75_;
						const gchar* _tmp76_;
						const gchar* _tmp77_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp78_;
						const gchar* _tmp79_;
						const gchar* _tmp80_;
						gchar* _tmp81_;
						gchar* _tmp82_;
						_tmp72_ = semantics;
						_tmp73_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp72_);
						_tmp74_ = _tmp73_;
						_tmp75_ = entry;
						_tmp76_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp75_);
						_tmp77_ = _tmp76_;
						_tmp78_ = other;
						_tmp79_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp78_);
						_tmp80_ = _tmp79_;
						_tmp81_ = g_strdup_printf ("Wrapper parse shape '%s' has ambiguous ownership between '%s' and '%s'" \
".", _tmp74_, _tmp77_, _tmp80_);
						_tmp82_ = _tmp81_;
						gee_collection_add ((GeeCollection*) diagnostics, _tmp82_);
						_g_free0 (_tmp82_);
					}
					_g_object_unref0 (other);
				}
			}
			_g_object_unref0 (semantics);
			_g_object_unref0 (entry);
		}
	}
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_same_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* first,
                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* second)
{
	gchar** _tmp0_;
	gint _tmp0__length1;
	gint _tmp1_ = 0;
	gchar** _tmp2_;
	gint _tmp2__length1;
	gchar** _tmp3_;
	gint _tmp3__length1;
	gint _tmp4_ = 0;
	gchar** _tmp5_;
	gint _tmp5__length1;
	guint* first_arities = NULL;
	gint _tmp6_ = 0;
	guint* _tmp7_;
	gint first_arities_length1;
	gint _first_arities_size_;
	guint* second_arities = NULL;
	gint _tmp8_ = 0;
	guint* _tmp9_;
	gint second_arities_length1;
	gint _second_arities_size_;
	guint* _tmp10_;
	gint _tmp10__length1;
	guint* _tmp11_;
	gint _tmp11__length1;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (first != NULL, FALSE);
	g_return_val_if_fail (second != NULL, FALSE);
	_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (first, &_tmp1_);
	_tmp0__length1 = _tmp1_;
	_tmp2_ = _tmp0_;
	_tmp2__length1 = _tmp0__length1;
	_tmp3_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (second, &_tmp4_);
	_tmp3__length1 = _tmp4_;
	_tmp5_ = _tmp3_;
	_tmp5__length1 = _tmp3__length1;
	if (_tmp2__length1 != _tmp5__length1) {
		result = FALSE;
		return result;
	}
	_tmp7_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_value_arities (first, &_tmp6_);
	first_arities = _tmp7_;
	first_arities_length1 = _tmp6_;
	_first_arities_size_ = first_arities_length1;
	_tmp9_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_value_arities (second, &_tmp8_);
	second_arities = _tmp9_;
	second_arities_length1 = _tmp8_;
	_second_arities_size_ = second_arities_length1;
	_tmp10_ = first_arities;
	_tmp10__length1 = first_arities_length1;
	_tmp11_ = second_arities;
	_tmp11__length1 = second_arities_length1;
	if (_tmp10__length1 != _tmp11__length1) {
		result = FALSE;
		second_arities = (g_free (second_arities), NULL);
		first_arities = (g_free (first_arities), NULL);
		return result;
	}
	{
		gint index = 0;
		index = 0;
		{
			gboolean _tmp12_ = FALSE;
			_tmp12_ = TRUE;
			while (TRUE) {
				gchar** _tmp14_;
				gint _tmp14__length1;
				gint _tmp15_ = 0;
				gchar** _tmp16_;
				gint _tmp16__length1;
				gboolean _tmp17_ = FALSE;
				gchar** _tmp18_;
				gint _tmp18__length1;
				gint _tmp19_ = 0;
				gchar** _tmp20_;
				gint _tmp20__length1;
				const gchar* _tmp21_;
				gchar** _tmp22_;
				gint _tmp22__length1;
				gint _tmp23_ = 0;
				gchar** _tmp24_;
				gint _tmp24__length1;
				const gchar* _tmp25_;
				if (!_tmp12_) {
					gint _tmp13_;
					_tmp13_ = index;
					index = _tmp13_ + 1;
				}
				_tmp12_ = FALSE;
				_tmp14_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (first, &_tmp15_);
				_tmp14__length1 = _tmp15_;
				_tmp16_ = _tmp14_;
				_tmp16__length1 = _tmp14__length1;
				if (!(index < _tmp16__length1)) {
					break;
				}
				_tmp18_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (first, &_tmp19_);
				_tmp18__length1 = _tmp19_;
				_tmp20_ = _tmp18_;
				_tmp20__length1 = _tmp18__length1;
				_tmp21_ = _tmp20_[index];
				_tmp22_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (second, &_tmp23_);
				_tmp22__length1 = _tmp23_;
				_tmp24_ = _tmp22_;
				_tmp24__length1 = _tmp22__length1;
				_tmp25_ = _tmp24_[index];
				if (g_strcmp0 (_tmp21_, _tmp25_) != 0) {
					_tmp17_ = TRUE;
				} else {
					guint* _tmp26_;
					gint _tmp26__length1;
					guint _tmp27_;
					guint* _tmp28_;
					gint _tmp28__length1;
					guint _tmp29_;
					_tmp26_ = first_arities;
					_tmp26__length1 = first_arities_length1;
					_tmp27_ = _tmp26_[index];
					_tmp28_ = second_arities;
					_tmp28__length1 = second_arities_length1;
					_tmp29_ = _tmp28_[index];
					_tmp17_ = _tmp27_ != _tmp29_;
				}
				if (_tmp17_) {
					result = FALSE;
					second_arities = (g_free (second_arities), NULL);
					first_arities = (g_free (first_arities), NULL);
					return result;
				}
			}
		}
	}
	result = TRUE;
	second_arities = (g_free (second_arities), NULL);
	first_arities = (g_free (first_arities), NULL);
	return result;
}

static gint
string_index_of_char (const gchar* self,
                      gunichar c,
                      gint start_index)
{
	gchar* _result_ = NULL;
	gchar* _tmp0_;
	gchar* _tmp1_;
	gint result;
	g_return_val_if_fail (self != NULL, -1);
	_tmp0_ = g_utf8_strchr (((gchar*) self) + start_index, (gssize) -1, c);
	_result_ = _tmp0_;
	_tmp1_ = _result_;
	if (_tmp1_ != NULL) {
		gchar* _tmp2_;
		_tmp2_ = _result_;
		result = (gint) (_tmp2_ - ((gchar*) self));
		return result;
	} else {
		result = -1;
		return result;
	}
}

static glong
string_strnlen (gchar* str,
                glong maxlen)
{
	gchar* end = NULL;
	gchar* _tmp0_;
	gchar* _tmp1_;
	glong result;
	_tmp0_ = memchr (str, 0, (gsize) maxlen);
	end = _tmp0_;
	_tmp1_ = end;
	if (_tmp1_ == NULL) {
		result = maxlen;
		return result;
	} else {
		gchar* _tmp2_;
		_tmp2_ = end;
		result = (glong) (_tmp2_ - str);
		return result;
	}
}

static gchar*
string_substring (const gchar* self,
                  glong offset,
                  glong len)
{
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	gchar* _tmp3_;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	if (offset >= ((glong) 0)) {
		_tmp0_ = len >= ((glong) 0);
	} else {
		_tmp0_ = FALSE;
	}
	if (_tmp0_) {
		string_length = string_strnlen ((gchar*) self, offset + len);
	} else {
		gint _tmp1_;
		gint _tmp2_;
		_tmp1_ = strlen (self);
		_tmp2_ = _tmp1_;
		string_length = (glong) _tmp2_;
	}
	if (offset < ((glong) 0)) {
		offset = string_length + offset;
		g_return_val_if_fail (offset >= ((glong) 0), NULL);
	} else {
		g_return_val_if_fail (offset <= string_length, NULL);
	}
	if (len < ((glong) 0)) {
		len = string_length - offset;
	}
	g_return_val_if_fail ((offset + len) <= string_length, NULL);
	_tmp3_ = g_strndup (((gchar*) self) + offset, (gsize) len);
	result = _tmp3_;
	return result;
}

static gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_token_key (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                 const gchar* token)
{
	gint separator = 0;
	gchar* _tmp0_ = NULL;
	gchar* _tmp3_;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (token != NULL, NULL);
	separator = string_index_of_char (token, (gunichar) '=', 0);
	if (separator >= 0) {
		gchar* _tmp1_;
		_tmp1_ = string_substring (token, (glong) 0, (glong) separator);
		_g_free0 (_tmp0_);
		_tmp0_ = _tmp1_;
	} else {
		gchar* _tmp2_;
		_tmp2_ = g_strdup (token);
		_g_free0 (_tmp0_);
		_tmp0_ = _tmp2_;
	}
	_tmp3_ = _tmp0_;
	_tmp0_ = NULL;
	result = _tmp3_;
	_g_free0 (_tmp0_);
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_conflict_consistency (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                     GeeList* diagnostics)
{
	GeeHashMap* groups = NULL;
	GeeHashMap* _tmp0_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (diagnostics != NULL);
	_tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, G_TYPE_UINT, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	groups = _tmp0_;
	{
		GeeArrayList* _entry_list = NULL;
		GeeArrayList* _tmp1_;
		gint _entry_size = 0;
		GeeArrayList* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _entry_index = 0;
		_tmp1_ = self->priv->entries;
		_entry_list = _tmp1_;
		_tmp2_ = _entry_list;
		_tmp3_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp2_);
		_tmp4_ = _tmp3_;
		_entry_size = _tmp4_;
		_entry_index = -1;
		while (TRUE) {
			gint _tmp5_;
			gint _tmp6_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry = NULL;
			GeeArrayList* _tmp7_;
			gpointer _tmp8_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics = NULL;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp9_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp10_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp11_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp12_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp13_;
			gboolean _tmp14_ = FALSE;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp15_;
			const gchar* _tmp16_;
			const gchar* _tmp17_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp35_;
			gchar** _tmp36_;
			gint _tmp36__length1;
			gint _tmp37_ = 0;
			gchar** _tmp38_;
			gint _tmp38__length1;
			_entry_index = _entry_index + 1;
			_tmp5_ = _entry_index;
			_tmp6_ = _entry_size;
			if (!(_tmp5_ < _tmp6_)) {
				break;
			}
			_tmp7_ = _entry_list;
			_tmp8_ = gee_abstract_list_get ((GeeAbstractList*) _tmp7_, _entry_index);
			entry = (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata*) _tmp8_;
			_tmp9_ = entry;
			_tmp10_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp9_);
			_tmp11_ = _tmp10_;
			_tmp12_ = _g_object_ref0 (_tmp11_);
			semantics = _tmp12_;
			_tmp13_ = semantics;
			if (_tmp13_ == NULL) {
				_g_object_unref0 (semantics);
				_g_object_unref0 (entry);
				continue;
			}
			_tmp15_ = semantics;
			_tmp16_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (_tmp15_);
			_tmp17_ = _tmp16_;
			if (g_strcmp0 (_tmp17_, "") != 0) {
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp18_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp19_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp20_;
				_tmp18_ = semantics;
				_tmp19_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp18_);
				_tmp20_ = _tmp19_;
				_tmp14_ = _tmp20_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_SELECTOR;
			} else {
				_tmp14_ = FALSE;
			}
			if (_tmp14_) {
				guint _tmp21_ = 0U;
				GeeHashMap* _tmp22_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp23_;
				const gchar* _tmp24_;
				const gchar* _tmp25_;
				guint count = 0U;
				GeeHashMap* _tmp31_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp32_;
				const gchar* _tmp33_;
				const gchar* _tmp34_;
				_tmp22_ = groups;
				_tmp23_ = semantics;
				_tmp24_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (_tmp23_);
				_tmp25_ = _tmp24_;
				if (gee_abstract_map_has_key ((GeeAbstractMap*) _tmp22_, _tmp25_)) {
					GeeHashMap* _tmp26_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp27_;
					const gchar* _tmp28_;
					const gchar* _tmp29_;
					gpointer _tmp30_;
					_tmp26_ = groups;
					_tmp27_ = semantics;
					_tmp28_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (_tmp27_);
					_tmp29_ = _tmp28_;
					_tmp30_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp26_, _tmp29_);
					_tmp21_ = (guint) ((guintptr) _tmp30_);
				} else {
					_tmp21_ = (guint) 0;
				}
				count = _tmp21_;
				_tmp31_ = groups;
				_tmp32_ = semantics;
				_tmp33_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (_tmp32_);
				_tmp34_ = _tmp33_;
				gee_abstract_map_set ((GeeAbstractMap*) _tmp31_, _tmp34_, (gpointer) ((guintptr) (count + 1)));
			}
			_tmp35_ = semantics;
			_tmp36_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflicts (_tmp35_, &_tmp37_);
			_tmp36__length1 = _tmp37_;
			_tmp38_ = _tmp36_;
			_tmp38__length1 = _tmp36__length1;
			{
				gchar** conflict_id_collection = NULL;
				gint conflict_id_collection_length1 = 0;
				gint _conflict_id_collection_size_ = 0;
				gint conflict_id_it = 0;
				conflict_id_collection = _tmp38_;
				conflict_id_collection_length1 = _tmp38__length1;
				for (conflict_id_it = 0; conflict_id_it < conflict_id_collection_length1; conflict_id_it = conflict_id_it + 1) {
					gchar* _tmp39_;
					gchar* conflict_id = NULL;
					_tmp39_ = g_strdup (conflict_id_collection[conflict_id_it]);
					conflict_id = _tmp39_;
					{
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* other = NULL;
						const gchar* _tmp40_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp41_;
						gboolean _tmp42_ = FALSE;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp43_;
						gboolean _tmp47_ = FALSE;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp48_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp49_;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp50_;
						gchar** _tmp51_;
						gint _tmp51__length1;
						gint _tmp52_ = 0;
						gchar** _tmp53_;
						gint _tmp53__length1;
						ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp54_;
						const gchar* _tmp55_;
						const gchar* _tmp56_;
						_tmp40_ = conflict_id;
						_tmp41_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup (self, _tmp40_);
						other = _tmp41_;
						_tmp43_ = other;
						if (_tmp43_ == NULL) {
							_tmp42_ = TRUE;
						} else {
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp44_;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp45_;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp46_;
							_tmp44_ = other;
							_tmp45_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp44_);
							_tmp46_ = _tmp45_;
							_tmp42_ = _tmp46_ == NULL;
						}
						if (_tmp42_) {
							_g_object_unref0 (other);
							_g_free0 (conflict_id);
							continue;
						}
						_tmp48_ = other;
						_tmp49_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp48_);
						_tmp50_ = _tmp49_;
						_tmp51_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflicts (_tmp50_, &_tmp52_);
						_tmp51__length1 = _tmp52_;
						_tmp53_ = _tmp51_;
						_tmp53__length1 = _tmp51__length1;
						_tmp54_ = entry;
						_tmp55_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp54_);
						_tmp56_ = _tmp55_;
						if (!proton_plus_widgets_games_launch_options_editor_launch_option_catalog_contains_id (self, _tmp53_, (gint) _tmp53__length1, _tmp56_)) {
							gboolean _tmp57_ = FALSE;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp58_;
							const gchar* _tmp59_;
							const gchar* _tmp60_;
							_tmp58_ = semantics;
							_tmp59_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (_tmp58_);
							_tmp60_ = _tmp59_;
							if (g_strcmp0 (_tmp60_, "") == 0) {
								_tmp57_ = TRUE;
							} else {
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp61_;
								const gchar* _tmp62_;
								const gchar* _tmp63_;
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp64_;
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp65_;
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp66_;
								const gchar* _tmp67_;
								const gchar* _tmp68_;
								_tmp61_ = semantics;
								_tmp62_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (_tmp61_);
								_tmp63_ = _tmp62_;
								_tmp64_ = other;
								_tmp65_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp64_);
								_tmp66_ = _tmp65_;
								_tmp67_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflict_group (_tmp66_);
								_tmp68_ = _tmp67_;
								_tmp57_ = g_strcmp0 (_tmp63_, _tmp68_) != 0;
							}
							_tmp47_ = _tmp57_;
						} else {
							_tmp47_ = FALSE;
						}
						if (_tmp47_) {
							const gchar* _tmp69_;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp70_;
							const gchar* _tmp71_;
							const gchar* _tmp72_;
							gchar* _tmp73_;
							gchar* _tmp74_;
							_tmp69_ = conflict_id;
							_tmp70_ = entry;
							_tmp71_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (_tmp70_);
							_tmp72_ = _tmp71_;
							_tmp73_ = g_strdup_printf ("Conflict '%s' declared by '%s' is not reciprocal.", _tmp69_, _tmp72_);
							_tmp74_ = _tmp73_;
							gee_collection_add ((GeeCollection*) diagnostics, _tmp74_);
							_g_free0 (_tmp74_);
						}
						_g_object_unref0 (other);
						_g_free0 (conflict_id);
					}
				}
			}
			_g_object_unref0 (semantics);
			_g_object_unref0 (entry);
		}
	}
	{
		GeeIterator* _group_it = NULL;
		GeeHashMap* _tmp75_;
		GeeSet* _tmp76_;
		GeeSet* _tmp77_;
		GeeSet* _tmp78_;
		GeeIterator* _tmp79_;
		GeeIterator* _tmp80_;
		_tmp75_ = groups;
		_tmp76_ = gee_abstract_map_get_keys ((GeeAbstractMap*) _tmp75_);
		_tmp77_ = _tmp76_;
		_tmp78_ = _tmp77_;
		_tmp79_ = gee_iterable_iterator ((GeeIterable*) _tmp78_);
		_tmp80_ = _tmp79_;
		_g_object_unref0 (_tmp78_);
		_group_it = _tmp80_;
		while (TRUE) {
			GeeIterator* _tmp81_;
			gchar* group = NULL;
			GeeIterator* _tmp82_;
			gpointer _tmp83_;
			GeeHashMap* _tmp84_;
			const gchar* _tmp85_;
			gpointer _tmp86_;
			_tmp81_ = _group_it;
			if (!gee_iterator_next (_tmp81_)) {
				break;
			}
			_tmp82_ = _group_it;
			_tmp83_ = gee_iterator_get (_tmp82_);
			group = (gchar*) _tmp83_;
			_tmp84_ = groups;
			_tmp85_ = group;
			_tmp86_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp84_, _tmp85_);
			if (((guint) ((guintptr) _tmp86_)) < ((guint) 2)) {
				const gchar* _tmp87_;
				gchar* _tmp88_;
				gchar* _tmp89_;
				_tmp87_ = group;
				_tmp88_ = g_strdup_printf ("Conflict group '%s' must contain at least two options.", _tmp87_);
				_tmp89_ = _tmp88_;
				gee_collection_add ((GeeCollection*) diagnostics, _tmp89_);
				_g_free0 (_tmp89_);
			}
			_g_free0 (group);
		}
		_g_object_unref0 (_group_it);
	}
	_g_object_unref0 (groups);
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_contains_id (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                   gchar** values,
                                                                                   gint values_length1,
                                                                                   const gchar* id)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (id != NULL, FALSE);
	{
		gchar** value_collection = NULL;
		gint value_collection_length1 = 0;
		gint _value_collection_size_ = 0;
		gint value_it = 0;
		value_collection = values;
		value_collection_length1 = values_length1;
		for (value_it = 0; value_it < value_collection_length1; value_it = value_it + 1) {
			gchar* _tmp0_;
			gchar* value = NULL;
			_tmp0_ = g_strdup (value_collection[value_it]);
			value = _tmp0_;
			{
				const gchar* _tmp1_;
				_tmp1_ = value;
				if (g_strcmp0 (_tmp1_, id) == 0) {
					result = TRUE;
					_g_free0 (value);
					return result;
				}
				_g_free0 (value);
			}
		}
	}
	result = FALSE;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                  const gchar* id,
                                                                                  const gchar* title,
                                                                                  const gchar* description,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCategory category,
                                                                                  guint rank,
                                                                                  gchar** raw_tokens,
                                                                                  gint raw_tokens_length1,
                                                                                  gchar** aliases,
                                                                                  gint aliases_length1,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType type,
                                                                                  const gchar* subsection,
                                                                                  gboolean quick,
                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionExpertise expertise,
                                                                                  const gchar* applicability,
                                                                                  gchar** dependencies,
                                                                                  gint dependencies_length1)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics = NULL;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp0_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry = NULL;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp1_;
	GeeHashMap* _tmp2_;
	GeeArrayList* _tmp3_;
	GeeHashMap* _tmp4_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (id != NULL);
	g_return_if_fail (title != NULL);
	g_return_if_fail (description != NULL);
	g_return_if_fail (subsection != NULL);
	g_return_if_fail (applicability != NULL);
	_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_create_semantics (self, id, type, raw_tokens, (gint) raw_tokens_length1, dependencies, (gint) dependencies_length1);
	semantics = _tmp0_;
	_tmp1_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_new (id, title, description, category, subsection, rank, quick, expertise, applicability, "", dependencies, dependencies_length1, aliases, aliases_length1, raw_tokens, raw_tokens_length1, type, rank, semantics);
	entry = _tmp1_;
	_tmp2_ = self->priv->by_id;
	_vala_assert (!gee_abstract_map_has_key ((GeeAbstractMap*) _tmp2_, id), "!by_id.has_key (id)");
	_tmp3_ = self->priv->entries;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp3_, entry);
	_tmp4_ = self->priv->by_id;
	gee_abstract_map_set ((GeeAbstractMap*) _tmp4_, id, entry);
	_g_object_unref0 (entry);
	_g_object_unref0 (semantics);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper_defaults (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self)
{
	gchar* _tmp0_;
	gchar** _tmp1_;
	gchar** _tmp2_;
	gint _tmp2__length1;
	gchar** _tmp3_;
	gchar** _tmp4_;
	gint _tmp4__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp5_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp6_;
	gchar* _tmp7_;
	gchar** _tmp8_;
	gchar** _tmp9_;
	gint _tmp9__length1;
	gchar** _tmp10_;
	gchar** _tmp11_;
	gint _tmp11__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp12_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp13_;
	gchar* _tmp14_;
	gchar** _tmp15_;
	gchar** _tmp16_;
	gint _tmp16__length1;
	gchar** _tmp17_;
	gchar** _tmp18_;
	gint _tmp18__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp19_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp20_;
	gchar* _tmp21_;
	gchar** _tmp22_;
	gchar** _tmp23_;
	gint _tmp23__length1;
	gchar** _tmp24_;
	gchar** _tmp25_;
	gint _tmp25__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp26_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp27_;
	gchar* _tmp28_;
	gchar** _tmp29_;
	gchar** _tmp30_;
	gint _tmp30__length1;
	gchar* _tmp31_;
	gchar** _tmp32_;
	gchar** _tmp33_;
	gint _tmp33__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp34_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp35_;
	g_return_if_fail (self != NULL);
	_tmp0_ = g_strdup ("mangohud");
	_tmp1_ = g_new0 (gchar*, 1 + 1);
	_tmp1_[0] = _tmp0_;
	_tmp2_ = _tmp1_;
	_tmp2__length1 = 1;
	_tmp3_ = g_new0 (gchar*, 0 + 1);
	_tmp4_ = _tmp3_;
	_tmp4__length1 = 0;
	_tmp5_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_new ("mangohud", _tmp2_, 1, _tmp4_, 0, NULL, (guint) 10, "", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_MANGOHUD);
	_tmp6_ = _tmp5_;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper (self, _tmp6_);
	_g_object_unref0 (_tmp6_);
	_tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) g_free), NULL);
	_tmp2_ = (_vala_array_free (_tmp2_, _tmp2__length1, (GDestroyNotify) g_free), NULL);
	_tmp7_ = g_strdup ("gamemoderun");
	_tmp8_ = g_new0 (gchar*, 1 + 1);
	_tmp8_[0] = _tmp7_;
	_tmp9_ = _tmp8_;
	_tmp9__length1 = 1;
	_tmp10_ = g_new0 (gchar*, 0 + 1);
	_tmp11_ = _tmp10_;
	_tmp11__length1 = 0;
	_tmp12_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_new ("gamemode", _tmp9_, 1, _tmp11_, 0, NULL, (guint) 20, "", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAMEMODE);
	_tmp13_ = _tmp12_;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper (self, _tmp13_);
	_g_object_unref0 (_tmp13_);
	_tmp11_ = (_vala_array_free (_tmp11_, _tmp11__length1, (GDestroyNotify) g_free), NULL);
	_tmp9_ = (_vala_array_free (_tmp9_, _tmp9__length1, (GDestroyNotify) g_free), NULL);
	_tmp14_ = g_strdup ("game-performance");
	_tmp15_ = g_new0 (gchar*, 1 + 1);
	_tmp15_[0] = _tmp14_;
	_tmp16_ = _tmp15_;
	_tmp16__length1 = 1;
	_tmp17_ = g_new0 (gchar*, 0 + 1);
	_tmp18_ = _tmp17_;
	_tmp18__length1 = 0;
	_tmp19_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_new ("game-performance", _tmp16_, 1, _tmp18_, 0, NULL, (guint) 25, "", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAME_PERFORMANCE);
	_tmp20_ = _tmp19_;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper (self, _tmp20_);
	_g_object_unref0 (_tmp20_);
	_tmp18_ = (_vala_array_free (_tmp18_, _tmp18__length1, (GDestroyNotify) g_free), NULL);
	_tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL);
	_tmp21_ = g_strdup ("gamescope");
	_tmp22_ = g_new0 (gchar*, 1 + 1);
	_tmp22_[0] = _tmp21_;
	_tmp23_ = _tmp22_;
	_tmp23__length1 = 1;
	_tmp24_ = g_new0 (gchar*, 0 + 1);
	_tmp25_ = _tmp24_;
	_tmp25__length1 = 0;
	_tmp26_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_new ("gamescope", _tmp23_, 1, _tmp25_, 0, "--", (guint) 30, "launch-backend", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAMESCOPE);
	_tmp27_ = _tmp26_;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper (self, _tmp27_);
	_g_object_unref0 (_tmp27_);
	_tmp25_ = (_vala_array_free (_tmp25_, _tmp25__length1, (GDestroyNotify) g_free), NULL);
	_tmp23_ = (_vala_array_free (_tmp23_, _tmp23__length1, (GDestroyNotify) g_free), NULL);
	_tmp28_ = g_strdup ("scopebuddy");
	_tmp29_ = g_new0 (gchar*, 1 + 1);
	_tmp29_[0] = _tmp28_;
	_tmp30_ = _tmp29_;
	_tmp30__length1 = 1;
	_tmp31_ = g_strdup ("scb");
	_tmp32_ = g_new0 (gchar*, 1 + 1);
	_tmp32_[0] = _tmp31_;
	_tmp33_ = _tmp32_;
	_tmp33__length1 = 1;
	_tmp34_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_new ("scopebuddy", _tmp30_, 1, _tmp33_, 1, "--", (guint) 30, "launch-backend", PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_SCOPEBUDDY);
	_tmp35_ = _tmp34_;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper (self, _tmp35_);
	_g_object_unref0 (_tmp35_);
	_tmp33_ = (_vala_array_free (_tmp33_, _tmp33__length1, (GDestroyNotify) g_free), NULL);
	_tmp30_ = (_vala_array_free (_tmp30_, _tmp30__length1, (GDestroyNotify) g_free), NULL);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_wrapper (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                   ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* definition)
{
	GeeArrayList* _tmp0_;
	GeeHashMap* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (definition != NULL);
	_tmp0_ = self->priv->wrappers;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp0_, definition);
	_tmp1_ = self->priv->wrappers_by_id;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_id (definition);
	_tmp3_ = _tmp2_;
	gee_abstract_map_set ((GeeAbstractMap*) _tmp1_, _tmp3_, definition);
}

static gchar**
_vala_array_dup45 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static gchar**
_vala_array_dup46 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static gchar**
_vala_array_dup47 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_create_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                        const gchar* id,
                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType serialization_type,
                                                                                        gchar** raw_tokens,
                                                                                        gint raw_tokens_length1,
                                                                                        gchar** dependencies,
                                                                                        gint dependencies_length1)
{
	gchar** _tmp227_;
	gchar** _tmp228_;
	gint _tmp228__length1;
	gchar** _tmp229_;
	gchar** _tmp230_;
	gint _tmp230__length1;
	gchar** _tmp231_;
	gchar** _tmp232_;
	gint _tmp232__length1;
	gchar** _tmp233_;
	gchar** _tmp234_;
	gint _tmp234__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp235_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp236_;
	gint _tmp236__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp237_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp238_;
	gint _tmp238__length1;
	gint _tmp239_ = 0;
	gchar** _tmp240_;
	gchar** _tmp241_;
	gint _tmp241__length1;
	gint _tmp242_ = 0;
	gchar** _tmp243_;
	gchar** _tmp244_;
	gint _tmp244__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp245_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp246_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	if (g_strcmp0 (id, "performance-overlay") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp0_;
		_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_semantics (self, "mangohud");
		result = _tmp0_;
		return result;
	}
	if (g_strcmp0 (id, "gamemode") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp1_;
		_tmp1_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_semantics (self, "gamemode");
		result = _tmp1_;
		return result;
	}
	if (g_strcmp0 (id, "game-performance") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp2_;
		_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_semantics (self, "game-performance");
		result = _tmp2_;
		return result;
	}
	if (g_strcmp0 (id, "launch-backend") == 0) {
		gchar** _tmp3_;
		gchar** _tmp4_;
		gint _tmp4__length1;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar** _tmp7_;
		gchar** _tmp8_;
		gint _tmp8__length1;
		gchar** _tmp9_;
		gchar** _tmp10_;
		gint _tmp10__length1;
		gchar** _tmp11_;
		gchar** _tmp12_;
		gint _tmp12__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp13_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp14_;
		gint _tmp14__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp15_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp16_;
		gint _tmp16__length1;
		gchar** _tmp17_;
		gchar** _tmp18_;
		gint _tmp18__length1;
		gchar** _tmp19_;
		gchar** _tmp20_;
		gint _tmp20__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp21_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp22_;
		_tmp3_ = g_new0 (gchar*, 0 + 1);
		_tmp4_ = _tmp3_;
		_tmp4__length1 = 0;
		_tmp5_ = g_strdup ("gamescope");
		_tmp6_ = g_strdup ("scopebuddy");
		_tmp7_ = g_new0 (gchar*, 2 + 1);
		_tmp7_[0] = _tmp5_;
		_tmp7_[1] = _tmp6_;
		_tmp8_ = _tmp7_;
		_tmp8__length1 = 2;
		_tmp9_ = g_new0 (gchar*, 0 + 1);
		_tmp10_ = _tmp9_;
		_tmp10__length1 = 0;
		_tmp11_ = g_new0 (gchar*, 0 + 1);
		_tmp12_ = _tmp11_;
		_tmp12__length1 = 0;
		_tmp13_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 0);
		_tmp14_ = _tmp13_;
		_tmp14__length1 = 0;
		_tmp15_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
		_tmp16_ = _tmp15_;
		_tmp16__length1 = 0;
		_tmp17_ = g_new0 (gchar*, 0 + 1);
		_tmp18_ = _tmp17_;
		_tmp18__length1 = 0;
		_tmp19_ = g_new0 (gchar*, 0 + 1);
		_tmp20_ = _tmp19_;
		_tmp20__length1 = 0;
		_tmp21_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_SELECTOR, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_REQUIRED, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_WRAPPER_SELECTION, "", "", _tmp4_, 0, _tmp8_, 2, "launch-backend", _tmp10_, 0, _tmp12_, 0, _tmp14_, 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_COMPONENT_SPECIFIC, _tmp16_, 0, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_COMPONENT_SPECIFIC, TRUE, _tmp18_, 0, _tmp20_, 0, NULL);
		_tmp22_ = _tmp21_;
		_tmp20_ = (_vala_array_free (_tmp20_, _tmp20__length1, (GDestroyNotify) g_free), NULL);
		_tmp18_ = (_vala_array_free (_tmp18_, _tmp18__length1, (GDestroyNotify) g_free), NULL);
		_tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_object_unref), NULL);
		_tmp14_ = (g_free (_tmp14_), NULL);
		_tmp12_ = (_vala_array_free (_tmp12_, _tmp12__length1, (GDestroyNotify) g_free), NULL);
		_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_free), NULL);
		_tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL);
		_tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) g_free), NULL);
		result = _tmp22_;
		return result;
	}
	if (g_strcmp0 (id, "steam-command") == 0) {
		gchar** _tmp23_;
		gchar** _tmp24_;
		gint _tmp24__length1;
		gchar** _tmp25_;
		gchar** _tmp26_;
		gint _tmp26__length1;
		gchar** _tmp27_;
		gchar** _tmp28_;
		gint _tmp28__length1;
		gchar** _tmp29_;
		gchar** _tmp30_;
		gint _tmp30__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp31_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp32_;
		gint _tmp32__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp33_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp34_;
		gint _tmp34__length1;
		gchar** _tmp35_;
		gchar** _tmp36_;
		gint _tmp36__length1;
		gchar** _tmp37_;
		gchar** _tmp38_;
		gint _tmp38__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp39_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp40_;
		_tmp23_ = g_new0 (gchar*, 0 + 1);
		_tmp24_ = _tmp23_;
		_tmp24__length1 = 0;
		_tmp25_ = g_new0 (gchar*, 0 + 1);
		_tmp26_ = _tmp25_;
		_tmp26__length1 = 0;
		_tmp27_ = g_new0 (gchar*, 0 + 1);
		_tmp28_ = _tmp27_;
		_tmp28__length1 = 0;
		_tmp29_ = g_new0 (gchar*, 0 + 1);
		_tmp30_ = _tmp29_;
		_tmp30__length1 = 0;
		_tmp31_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 0);
		_tmp32_ = _tmp31_;
		_tmp32__length1 = 0;
		_tmp33_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
		_tmp34_ = _tmp33_;
		_tmp34__length1 = 0;
		_tmp35_ = g_new0 (gchar*, 0 + 1);
		_tmp36_ = _tmp35_;
		_tmp36__length1 = 0;
		_tmp37_ = g_new0 (gchar*, 0 + 1);
		_tmp38_ = _tmp37_;
		_tmp38__length1 = 0;
		_tmp39_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_BUILDER_MANAGED_COMMAND_BOUNDARY, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_RAW_CONTEXT_DEPENDENT, "", "", _tmp24_, 0, _tmp26_, 0, "", _tmp28_, 0, _tmp30_, 0, _tmp32_, 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_GENERIC, _tmp34_, 0, TRUE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), FALSE, _tmp36_, 0, _tmp38_, 0, NULL);
		_tmp40_ = _tmp39_;
		_tmp38_ = (_vala_array_free (_tmp38_, _tmp38__length1, (GDestroyNotify) g_free), NULL);
		_tmp36_ = (_vala_array_free (_tmp36_, _tmp36__length1, (GDestroyNotify) g_free), NULL);
		_tmp34_ = (_vala_array_free (_tmp34_, _tmp34__length1, (GDestroyNotify) g_object_unref), NULL);
		_tmp32_ = (g_free (_tmp32_), NULL);
		_tmp30_ = (_vala_array_free (_tmp30_, _tmp30__length1, (GDestroyNotify) g_free), NULL);
		_tmp28_ = (_vala_array_free (_tmp28_, _tmp28__length1, (GDestroyNotify) g_free), NULL);
		_tmp26_ = (_vala_array_free (_tmp26_, _tmp26__length1, (GDestroyNotify) g_free), NULL);
		_tmp24_ = (_vala_array_free (_tmp24_, _tmp24__length1, (GDestroyNotify) g_free), NULL);
		result = _tmp40_;
		return result;
	}
	if (g_strcmp0 (id, "custom-game-arguments") == 0) {
		gchar** _tmp41_;
		gchar** _tmp42_;
		gint _tmp42__length1;
		gchar** _tmp43_;
		gchar** _tmp44_;
		gint _tmp44__length1;
		gchar** _tmp45_;
		gchar** _tmp46_;
		gint _tmp46__length1;
		gchar** _tmp47_;
		gchar** _tmp48_;
		gint _tmp48__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp49_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp50_;
		gint _tmp50__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp51_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp52_;
		gint _tmp52__length1;
		gchar** _tmp53_;
		gchar** _tmp54_;
		gint _tmp54__length1;
		gchar** _tmp55_;
		gchar** _tmp56_;
		gint _tmp56__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp57_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp58_;
		_tmp41_ = g_new0 (gchar*, 0 + 1);
		_tmp42_ = _tmp41_;
		_tmp42__length1 = 0;
		_tmp43_ = g_new0 (gchar*, 0 + 1);
		_tmp44_ = _tmp43_;
		_tmp44__length1 = 0;
		_tmp45_ = g_new0 (gchar*, 0 + 1);
		_tmp46_ = _tmp45_;
		_tmp46__length1 = 0;
		_tmp47_ = g_new0 (gchar*, 0 + 1);
		_tmp48_ = _tmp47_;
		_tmp48__length1 = 0;
		_tmp49_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 0);
		_tmp50_ = _tmp49_;
		_tmp50__length1 = 0;
		_tmp51_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
		_tmp52_ = _tmp51_;
		_tmp52__length1 = 0;
		_tmp53_ = g_new0 (gchar*, 0 + 1);
		_tmp54_ = _tmp53_;
		_tmp54__length1 = 0;
		_tmp55_ = g_new0 (gchar*, 0 + 1);
		_tmp56_ = _tmp55_;
		_tmp56__length1 = 0;
		_tmp57_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_GAME_ARGUMENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_OPTIONAL, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_GAME_ARGUMENTS, "", "", _tmp42_, 0, _tmp44_, 0, "", _tmp46_, 0, _tmp48_, 0, _tmp50_, 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_GENERIC, _tmp52_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), TRUE, _tmp54_, 0, _tmp56_, 0, NULL);
		_tmp58_ = _tmp57_;
		_tmp56_ = (_vala_array_free (_tmp56_, _tmp56__length1, (GDestroyNotify) g_free), NULL);
		_tmp54_ = (_vala_array_free (_tmp54_, _tmp54__length1, (GDestroyNotify) g_free), NULL);
		_tmp52_ = (_vala_array_free (_tmp52_, _tmp52__length1, (GDestroyNotify) g_object_unref), NULL);
		_tmp50_ = (g_free (_tmp50_), NULL);
		_tmp48_ = (_vala_array_free (_tmp48_, _tmp48__length1, (GDestroyNotify) g_free), NULL);
		_tmp46_ = (_vala_array_free (_tmp46_, _tmp46__length1, (GDestroyNotify) g_free), NULL);
		_tmp44_ = (_vala_array_free (_tmp44_, _tmp44__length1, (GDestroyNotify) g_free), NULL);
		_tmp42_ = (_vala_array_free (_tmp42_, _tmp42__length1, (GDestroyNotify) g_free), NULL);
		result = _tmp58_;
		return result;
	}
	if (g_strcmp0 (id, "raw-launch-options") == 0) {
		gchar** _tmp59_;
		gchar** _tmp60_;
		gint _tmp60__length1;
		gchar** _tmp61_;
		gchar** _tmp62_;
		gint _tmp62__length1;
		gchar** _tmp63_;
		gchar** _tmp64_;
		gint _tmp64__length1;
		gchar** _tmp65_;
		gchar** _tmp66_;
		gint _tmp66__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp67_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp68_;
		gint _tmp68__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp69_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp70_;
		gint _tmp70__length1;
		gint _tmp71_ = 0;
		gchar** _tmp72_;
		gchar** _tmp73_;
		gint _tmp73__length1;
		gchar** _tmp74_;
		gchar** _tmp75_;
		gint _tmp75__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp76_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp77_;
		_tmp59_ = g_new0 (gchar*, 0 + 1);
		_tmp60_ = _tmp59_;
		_tmp60__length1 = 0;
		_tmp61_ = g_new0 (gchar*, 0 + 1);
		_tmp62_ = _tmp61_;
		_tmp62__length1 = 0;
		_tmp63_ = g_new0 (gchar*, 0 + 1);
		_tmp64_ = _tmp63_;
		_tmp64__length1 = 0;
		_tmp65_ = g_new0 (gchar*, 0 + 1);
		_tmp66_ = _tmp65_;
		_tmp66__length1 = 0;
		_tmp67_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 0);
		_tmp68_ = _tmp67_;
		_tmp68__length1 = 0;
		_tmp69_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
		_tmp70_ = _tmp69_;
		_tmp70__length1 = 0;
		_tmp72_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (self, id, &_tmp71_);
		_tmp73_ = _tmp72_;
		_tmp73__length1 = _tmp71_;
		_tmp74_ = g_new0 (gchar*, 0 + 1);
		_tmp75_ = _tmp74_;
		_tmp75__length1 = 0;
		_tmp76_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_OPAQUE_CONTEXT_DEPENDENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_CONTEXT_DEPENDENT_RAW, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_RAW_CONTEXT_DEPENDENT, "", "", _tmp60_, 0, _tmp62_, 0, "", _tmp64_, 0, _tmp66_, 0, _tmp68_, 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_UNKNOWN, _tmp70_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), FALSE, _tmp73_, _tmp71_, _tmp75_, 0, NULL);
		_tmp77_ = _tmp76_;
		_tmp75_ = (_vala_array_free (_tmp75_, _tmp75__length1, (GDestroyNotify) g_free), NULL);
		_tmp73_ = (_vala_array_free (_tmp73_, _tmp73__length1, (GDestroyNotify) g_free), NULL);
		_tmp70_ = (_vala_array_free (_tmp70_, _tmp70__length1, (GDestroyNotify) g_object_unref), NULL);
		_tmp68_ = (g_free (_tmp68_), NULL);
		_tmp66_ = (_vala_array_free (_tmp66_, _tmp66__length1, (GDestroyNotify) g_free), NULL);
		_tmp64_ = (_vala_array_free (_tmp64_, _tmp64__length1, (GDestroyNotify) g_free), NULL);
		_tmp62_ = (_vala_array_free (_tmp62_, _tmp62__length1, (GDestroyNotify) g_free), NULL);
		_tmp60_ = (_vala_array_free (_tmp60_, _tmp60__length1, (GDestroyNotify) g_free), NULL);
		result = _tmp77_;
		return result;
	}
	if (g_strcmp0 (id, "scopebuddy-resolution") == 0) {
		gchar** _tmp78_;
		gchar** _tmp79_;
		gint _tmp79__length1;
		gchar** _tmp80_;
		gchar** _tmp81_;
		gint _tmp81__length1;
		gchar** _tmp82_;
		gchar** _tmp83_;
		gint _tmp83__length1;
		gint _tmp84_ = 0;
		gchar** _tmp85_;
		gchar** _tmp86_;
		gint _tmp86__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp87_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp88_;
		gint _tmp88__length1;
		gchar* _tmp89_;
		gchar** _tmp90_;
		gchar** _tmp91_;
		gint _tmp91__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp92_;
		gchar* _tmp93_;
		gchar* _tmp94_;
		gchar** _tmp95_;
		gchar** _tmp96_;
		gint _tmp96__length1;
		gchar* _tmp97_;
		gchar* _tmp98_;
		gchar** _tmp99_;
		gchar** _tmp100_;
		gint _tmp100__length1;
		guint* _tmp101_;
		guint* _tmp102_;
		gint _tmp102__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp103_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp104_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp105_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp106_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp107_;
		gint _tmp107__length1;
		gint _tmp108_ = 0;
		gchar** _tmp109_;
		gchar** _tmp110_;
		gint _tmp110__length1;
		gchar* _tmp111_;
		gchar** _tmp112_;
		gchar** _tmp113_;
		gint _tmp113__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp114_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp115_;
		_tmp78_ = g_new0 (gchar*, 0 + 1);
		_tmp79_ = _tmp78_;
		_tmp79__length1 = 0;
		_tmp80_ = g_new0 (gchar*, 0 + 1);
		_tmp81_ = _tmp80_;
		_tmp81__length1 = 0;
		_tmp82_ = g_new0 (gchar*, 0 + 1);
		_tmp83_ = _tmp82_;
		_tmp83__length1 = 0;
		_tmp85_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_backend_dependencies (self, dependencies, (gint) dependencies_length1, &_tmp84_);
		_tmp86_ = _tmp85_;
		_tmp86__length1 = _tmp84_;
		_tmp87_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp87_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_SCOPEBUDDY;
		_tmp88_ = _tmp87_;
		_tmp88__length1 = 1;
		_tmp89_ = g_strdup ("SCB_AUTO_RES=1");
		_tmp90_ = g_new0 (gchar*, 1 + 1);
		_tmp90_[0] = _tmp89_;
		_tmp91_ = _tmp90_;
		_tmp91__length1 = 1;
		_tmp92_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS, "SCB_AUTO_RES", "", _tmp91_, 1, NULL);
		_tmp93_ = g_strdup ("-W");
		_tmp94_ = g_strdup ("-H");
		_tmp95_ = g_new0 (gchar*, 2 + 1);
		_tmp95_[0] = _tmp93_;
		_tmp95_[1] = _tmp94_;
		_tmp96_ = _tmp95_;
		_tmp96__length1 = 2;
		_tmp97_ = g_strdup ("-W");
		_tmp98_ = g_strdup ("-H");
		_tmp99_ = g_new0 (gchar*, 2 + 1);
		_tmp99_[0] = _tmp97_;
		_tmp99_[1] = _tmp98_;
		_tmp100_ = _tmp99_;
		_tmp100__length1 = 2;
		_tmp101_ = g_new0 (guint, 2);
		_tmp101_[0] = (guint) 1;
		_tmp101_[1] = (guint) 1;
		_tmp102_ = _tmp101_;
		_tmp102__length1 = 2;
		_tmp103_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_new (_tmp100_, 2, _tmp102_, 2);
		_tmp104_ = _tmp103_;
		_tmp105_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_WRAPPER_ARGUMENT, "", "scopebuddy", _tmp96_, 2, _tmp104_);
		_tmp106_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 2 + 1);
		_tmp106_[0] = _tmp92_;
		_tmp106_[1] = _tmp105_;
		_tmp107_ = _tmp106_;
		_tmp107__length1 = 2;
		_tmp109_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (self, id, &_tmp108_);
		_tmp110_ = _tmp109_;
		_tmp110__length1 = _tmp108_;
		_tmp111_ = g_strdup ("auto");
		_tmp112_ = g_new0 (gchar*, 1 + 1);
		_tmp112_[0] = _tmp111_;
		_tmp113_ = _tmp112_;
		_tmp113__length1 = 1;
		_tmp114_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMPOSITE_DYNAMIC, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_INHERITED_FROM_WRAPPER, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_COMPOSITE_EMISSION, "", "scopebuddy", _tmp79_, 0, _tmp81_, 0, "", _tmp83_, 0, _tmp86_, _tmp84_, _tmp88_, 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_COMPONENT_SPECIFIC, _tmp107_, 2, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_managed_emission (self, id), _tmp110_, _tmp108_, _tmp113_, 1, NULL);
		_tmp115_ = _tmp114_;
		_tmp113_ = (_vala_array_free (_tmp113_, _tmp113__length1, (GDestroyNotify) g_free), NULL);
		_tmp110_ = (_vala_array_free (_tmp110_, _tmp110__length1, (GDestroyNotify) g_free), NULL);
		_tmp107_ = (_vala_array_free (_tmp107_, _tmp107__length1, (GDestroyNotify) g_object_unref), NULL);
		_g_object_unref0 (_tmp104_);
		_tmp102_ = (g_free (_tmp102_), NULL);
		_tmp100_ = (_vala_array_free (_tmp100_, _tmp100__length1, (GDestroyNotify) g_free), NULL);
		_tmp96_ = (_vala_array_free (_tmp96_, _tmp96__length1, (GDestroyNotify) g_free), NULL);
		_tmp91_ = (_vala_array_free (_tmp91_, _tmp91__length1, (GDestroyNotify) g_free), NULL);
		_tmp88_ = (g_free (_tmp88_), NULL);
		_tmp86_ = (_vala_array_free (_tmp86_, _tmp86__length1, (GDestroyNotify) g_free), NULL);
		_tmp83_ = (_vala_array_free (_tmp83_, _tmp83__length1, (GDestroyNotify) g_free), NULL);
		_tmp81_ = (_vala_array_free (_tmp81_, _tmp81__length1, (GDestroyNotify) g_free), NULL);
		_tmp79_ = (_vala_array_free (_tmp79_, _tmp79__length1, (GDestroyNotify) g_free), NULL);
		result = _tmp115_;
		return result;
	}
	if (proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_wrapper_argument (self, serialization_type)) {
		gboolean _tmp116_ = FALSE;
		gboolean _tmp117_ = FALSE;
		gboolean dynamic_value = FALSE;
		const gchar* _tmp118_ = NULL;
		gchar* wrapper_id = NULL;
		gchar* _tmp119_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp120_ = 0;
		gchar** _tmp121_ = NULL;
		gint _tmp121__length1 = 0;
		gint __tmp121__size_ = 0;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability _tmp124_ = 0;
		const gchar* _tmp125_;
		const gchar* _tmp126_;
		gchar** _tmp127_;
		gchar** _tmp128_;
		gint _tmp128__length1;
		gchar** _tmp129_;
		gchar** _tmp130_;
		gint _tmp130__length1;
		gint _tmp131_ = 0;
		gchar** _tmp132_;
		gchar** _tmp133_;
		gint _tmp133__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp134_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp135_;
		gint _tmp135__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp136_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp137_;
		gint _tmp137__length1;
		gint _tmp138_ = 0;
		gchar** _tmp139_;
		gchar** _tmp140_;
		gint _tmp140__length1;
		gint _tmp141_ = 0;
		gchar** _tmp142_;
		gchar** _tmp143_;
		gint _tmp143__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp144_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp145_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp146_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp147_;
		if (g_str_has_suffix (id, "resolution")) {
			_tmp117_ = TRUE;
		} else {
			_tmp117_ = g_str_has_suffix (id, "frame-limit");
		}
		if (_tmp117_) {
			_tmp116_ = TRUE;
		} else {
			_tmp116_ = g_str_has_suffix (id, "arguments");
		}
		dynamic_value = _tmp116_;
		if (g_str_has_prefix (id, "gamescope-")) {
			_tmp118_ = "gamescope";
		} else {
			_tmp118_ = "scopebuddy";
		}
		_tmp119_ = g_strdup (_tmp118_);
		wrapper_id = _tmp119_;
		if (dynamic_value) {
			_tmp120_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_WRAPPER_ARGUMENT;
		} else {
			_tmp120_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS;
		}
		if (dynamic_value) {
			gchar** _tmp122_;
			_tmp122_ = g_new0 (gchar*, 0 + 1);
			_tmp121_ = (_vala_array_free (_tmp121_, _tmp121__length1, (GDestroyNotify) g_free), NULL);
			_tmp121_ = _tmp122_;
			_tmp121__length1 = 0;
			__tmp121__size_ = _tmp121__length1;
		} else {
			gchar** _tmp123_;
			gint _tmp123__length1;
			_tmp123_ = (raw_tokens != NULL) ? _vala_array_dup45 (raw_tokens, raw_tokens_length1) : raw_tokens;
			_tmp123__length1 = raw_tokens_length1;
			_tmp121_ = (_vala_array_free (_tmp121_, _tmp121__length1, (GDestroyNotify) g_free), NULL);
			_tmp121_ = _tmp123_;
			_tmp121__length1 = _tmp123__length1;
			__tmp121__size_ = _tmp121__length1;
		}
		_tmp125_ = wrapper_id;
		if (g_strcmp0 (_tmp125_, "gamescope") == 0) {
			_tmp124_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_GAMESCOPE;
		} else {
			_tmp124_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_SCOPEBUDDY;
		}
		_tmp126_ = wrapper_id;
		_tmp127_ = g_new0 (gchar*, 0 + 1);
		_tmp128_ = _tmp127_;
		_tmp128__length1 = 0;
		_tmp129_ = g_new0 (gchar*, 0 + 1);
		_tmp130_ = _tmp129_;
		_tmp130__length1 = 0;
		_tmp132_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_backend_dependencies (self, dependencies, (gint) dependencies_length1, &_tmp131_);
		_tmp133_ = _tmp132_;
		_tmp133__length1 = _tmp131_;
		_tmp134_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp134_[0] = _tmp124_;
		_tmp135_ = _tmp134_;
		_tmp135__length1 = 1;
		_tmp136_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
		_tmp137_ = _tmp136_;
		_tmp137__length1 = 0;
		_tmp139_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (self, id, &_tmp138_);
		_tmp140_ = _tmp139_;
		_tmp140__length1 = _tmp138_;
		_tmp142_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_selectable_values_for (self, id, &_tmp141_);
		_tmp143_ = _tmp142_;
		_tmp143__length1 = _tmp141_;
		_tmp144_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_parse_shape_for (self, id, raw_tokens, (gint) raw_tokens_length1);
		_tmp145_ = _tmp144_;
		_tmp146_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_INHERITED_FROM_WRAPPER, _tmp120_, "", _tmp126_, _tmp121_, _tmp121__length1, _tmp128_, 0, "", _tmp130_, 0, _tmp133_, _tmp131_, _tmp135_, 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_COMPONENT_SPECIFIC, _tmp137_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_managed_emission (self, id), _tmp140_, _tmp138_, _tmp143_, _tmp141_, _tmp145_);
		_tmp147_ = _tmp146_;
		_g_object_unref0 (_tmp145_);
		_tmp143_ = (_vala_array_free (_tmp143_, _tmp143__length1, (GDestroyNotify) g_free), NULL);
		_tmp140_ = (_vala_array_free (_tmp140_, _tmp140__length1, (GDestroyNotify) g_free), NULL);
		_tmp137_ = (_vala_array_free (_tmp137_, _tmp137__length1, (GDestroyNotify) g_object_unref), NULL);
		_tmp135_ = (g_free (_tmp135_), NULL);
		_tmp133_ = (_vala_array_free (_tmp133_, _tmp133__length1, (GDestroyNotify) g_free), NULL);
		_tmp130_ = (_vala_array_free (_tmp130_, _tmp130__length1, (GDestroyNotify) g_free), NULL);
		_tmp128_ = (_vala_array_free (_tmp128_, _tmp128__length1, (GDestroyNotify) g_free), NULL);
		result = _tmp147_;
		_tmp121_ = (_vala_array_free (_tmp121_, _tmp121__length1, (GDestroyNotify) g_free), NULL);
		_g_free0 (wrapper_id);
		return result;
	}
	if (serialization_type == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ARGUMENT) {
		gchar** _tmp148_;
		gchar** _tmp149_;
		gint _tmp149__length1;
		gchar* _tmp150_;
		gchar* _tmp151_;
		gchar** _tmp152_;
		gchar** _tmp153_;
		gint _tmp153__length1;
		gchar** _tmp154_;
		gchar** _tmp155_;
		gint _tmp155__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp156_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp157_;
		gint _tmp157__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp158_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp159_;
		gint _tmp159__length1;
		gint _tmp160_ = 0;
		gchar** _tmp161_;
		gchar** _tmp162_;
		gint _tmp162__length1;
		gint _tmp163_ = 0;
		gchar** _tmp164_;
		gchar** _tmp165_;
		gint _tmp165__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp166_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp167_;
		_tmp148_ = g_new0 (gchar*, 0 + 1);
		_tmp149_ = _tmp148_;
		_tmp149__length1 = 0;
		_tmp150_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_renderer_conflict_group (self, id);
		_tmp151_ = _tmp150_;
		_tmp152_ = g_new0 (gchar*, 0 + 1);
		_tmp153_ = _tmp152_;
		_tmp153__length1 = 0;
		_tmp154_ = g_new0 (gchar*, 0 + 1);
		_tmp155_ = _tmp154_;
		_tmp155__length1 = 0;
		_tmp156_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 0);
		_tmp157_ = _tmp156_;
		_tmp157__length1 = 0;
		_tmp158_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
		_tmp159_ = _tmp158_;
		_tmp159__length1 = 0;
		_tmp161_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (self, id, &_tmp160_);
		_tmp162_ = _tmp161_;
		_tmp162__length1 = _tmp160_;
		_tmp164_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_selectable_values_for (self, id, &_tmp163_);
		_tmp165_ = _tmp164_;
		_tmp165__length1 = _tmp163_;
		_tmp166_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_GAME_ARGUMENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_OPTIONAL, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS, "", "", raw_tokens, raw_tokens_length1, _tmp149_, 0, _tmp151_, _tmp153_, 0, _tmp155_, 0, _tmp157_, 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_GENERIC, _tmp159_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_managed_emission (self, id), _tmp162_, _tmp160_, _tmp165_, _tmp163_, NULL);
		_tmp167_ = _tmp166_;
		_tmp165_ = (_vala_array_free (_tmp165_, _tmp165__length1, (GDestroyNotify) g_free), NULL);
		_tmp162_ = (_vala_array_free (_tmp162_, _tmp162__length1, (GDestroyNotify) g_free), NULL);
		_tmp159_ = (_vala_array_free (_tmp159_, _tmp159__length1, (GDestroyNotify) g_object_unref), NULL);
		_tmp157_ = (g_free (_tmp157_), NULL);
		_tmp155_ = (_vala_array_free (_tmp155_, _tmp155__length1, (GDestroyNotify) g_free), NULL);
		_tmp153_ = (_vala_array_free (_tmp153_, _tmp153__length1, (GDestroyNotify) g_free), NULL);
		_g_free0 (_tmp151_);
		_tmp149_ = (_vala_array_free (_tmp149_, _tmp149__length1, (GDestroyNotify) g_free), NULL);
		result = _tmp167_;
		return result;
	}
	if (serialization_type == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT) {
		gboolean dynamic_value = FALSE;
		gchar* key = NULL;
		gchar* _tmp189_;
		gchar** fixed_tokens = NULL;
		gint _tmp190_ = 0;
		gchar** _tmp191_;
		gint fixed_tokens_length1;
		gint _fixed_tokens_size_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp192_ = 0;
		gchar** _tmp193_ = NULL;
		gint _tmp193__length1 = 0;
		gint __tmp193__size_ = 0;
		gchar** _tmp197_ = NULL;
		gint _tmp197__length1 = 0;
		gint __tmp197__size_ = 0;
		gchar* _tmp198_;
		gchar* _tmp199_;
		gboolean _tmp200_;
		const gchar* _tmp204_;
		gchar* _tmp205_;
		gchar* _tmp206_;
		gchar** _tmp207_;
		gchar** _tmp208_;
		gint _tmp208__length1;
		gchar* _tmp209_;
		gchar* _tmp210_;
		gint _tmp211_ = 0;
		gchar** _tmp212_;
		gchar** _tmp213_;
		gint _tmp213__length1;
		gint _tmp214_ = 0;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp215_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp216_;
		gint _tmp216__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp217_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp218_;
		gint _tmp218__length1;
		gint _tmp219_ = 0;
		gchar** _tmp220_;
		gchar** _tmp221_;
		gint _tmp221__length1;
		gint _tmp222_ = 0;
		gchar** _tmp223_;
		gchar** _tmp224_;
		gint _tmp224__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp225_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp226_;
		if (proton_plus_widgets_games_launch_options_editor_launch_option_catalog_has_no_canonical_emission (self, id)) {
			gchar** _tmp168_;
			gchar** _tmp169_;
			gint _tmp169__length1;
			gchar** _tmp170_;
			gchar** _tmp171_;
			gint _tmp171__length1;
			gchar** _tmp172_;
			gchar** _tmp173_;
			gint _tmp173__length1;
			gchar** _tmp174_;
			gchar** _tmp175_;
			gint _tmp175__length1;
			gint _tmp176_ = 0;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp177_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp178_;
			gint _tmp178__length1;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp179_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp180_;
			gint _tmp180__length1;
			gint _tmp181_ = 0;
			gchar** _tmp182_;
			gchar** _tmp183_;
			gint _tmp183__length1;
			gint _tmp184_ = 0;
			gchar** _tmp185_;
			gchar** _tmp186_;
			gint _tmp186__length1;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp187_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp188_;
			_tmp168_ = g_new0 (gchar*, 0 + 1);
			_tmp169_ = _tmp168_;
			_tmp169__length1 = 0;
			_tmp170_ = g_new0 (gchar*, 0 + 1);
			_tmp171_ = _tmp170_;
			_tmp171__length1 = 0;
			_tmp172_ = g_new0 (gchar*, 0 + 1);
			_tmp173_ = _tmp172_;
			_tmp173__length1 = 0;
			_tmp174_ = g_new0 (gchar*, 0 + 1);
			_tmp175_ = _tmp174_;
			_tmp175__length1 = 0;
			_tmp177_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_capabilities_for (self, id, &_tmp176_);
			_tmp178_ = _tmp177_;
			_tmp178__length1 = _tmp176_;
			_tmp179_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
			_tmp180_ = _tmp179_;
			_tmp180__length1 = 0;
			_tmp182_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (self, id, &_tmp181_);
			_tmp183_ = _tmp182_;
			_tmp183__length1 = _tmp181_;
			_tmp185_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_selectable_values_for (self, id, &_tmp184_);
			_tmp186_ = _tmp185_;
			_tmp186__length1 = _tmp184_;
			_tmp187_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_OPAQUE_CONTEXT_DEPENDENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_CONTEXT_DEPENDENT_RAW, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_RAW_CONTEXT_DEPENDENT, "", "", _tmp169_, 0, _tmp171_, 0, "", _tmp173_, 0, _tmp175_, 0, _tmp178_, _tmp176_, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_applicability_for (self, id), _tmp180_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), FALSE, _tmp183_, _tmp181_, _tmp186_, _tmp184_, NULL);
			_tmp188_ = _tmp187_;
			_tmp186_ = (_vala_array_free (_tmp186_, _tmp186__length1, (GDestroyNotify) g_free), NULL);
			_tmp183_ = (_vala_array_free (_tmp183_, _tmp183__length1, (GDestroyNotify) g_free), NULL);
			_tmp180_ = (_vala_array_free (_tmp180_, _tmp180__length1, (GDestroyNotify) g_object_unref), NULL);
			_tmp178_ = (g_free (_tmp178_), NULL);
			_tmp175_ = (_vala_array_free (_tmp175_, _tmp175__length1, (GDestroyNotify) g_free), NULL);
			_tmp173_ = (_vala_array_free (_tmp173_, _tmp173__length1, (GDestroyNotify) g_free), NULL);
			_tmp171_ = (_vala_array_free (_tmp171_, _tmp171__length1, (GDestroyNotify) g_free), NULL);
			_tmp169_ = (_vala_array_free (_tmp169_, _tmp169__length1, (GDestroyNotify) g_free), NULL);
			result = _tmp188_;
			return result;
		}
		dynamic_value = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_dynamic_environment (self, id);
		_tmp189_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_canonical_environment_key_for (self, id, raw_tokens, (gint) raw_tokens_length1);
		key = _tmp189_;
		_tmp191_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_canonical_fixed_tokens_for (self, id, raw_tokens, (gint) raw_tokens_length1, &_tmp190_);
		fixed_tokens = _tmp191_;
		fixed_tokens_length1 = _tmp190_;
		_fixed_tokens_size_ = fixed_tokens_length1;
		if (dynamic_value) {
			_tmp192_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_ENVIRONMENT_VALUE;
		} else {
			_tmp192_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS;
		}
		if (dynamic_value) {
			gchar** _tmp194_;
			_tmp194_ = g_new0 (gchar*, 0 + 1);
			_tmp193_ = (_vala_array_free (_tmp193_, _tmp193__length1, (GDestroyNotify) g_free), NULL);
			_tmp193_ = _tmp194_;
			_tmp193__length1 = 0;
			__tmp193__size_ = _tmp193__length1;
		} else {
			gchar** _tmp195_;
			gint _tmp195__length1;
			gchar** _tmp196_;
			gint _tmp196__length1;
			_tmp195_ = fixed_tokens;
			_tmp195__length1 = fixed_tokens_length1;
			_tmp196_ = (_tmp195_ != NULL) ? _vala_array_dup46 (_tmp195_, _tmp195__length1) : _tmp195_;
			_tmp196__length1 = _tmp195__length1;
			_tmp193_ = (_vala_array_free (_tmp193_, _tmp193__length1, (GDestroyNotify) g_free), NULL);
			_tmp193_ = _tmp196_;
			_tmp193__length1 = _tmp196__length1;
			__tmp193__size_ = _tmp193__length1;
		}
		_tmp198_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_scopebuddy_owner (self, id);
		_tmp199_ = _tmp198_;
		_tmp200_ = g_strcmp0 (_tmp199_, "") != 0;
		_g_free0 (_tmp199_);
		if (_tmp200_) {
			gint _tmp201_ = 0;
			gchar** _tmp202_;
			_tmp202_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_backend_dependencies (self, dependencies, (gint) dependencies_length1, &_tmp201_);
			_tmp197_ = (_vala_array_free (_tmp197_, _tmp197__length1, (GDestroyNotify) g_free), NULL);
			_tmp197_ = _tmp202_;
			_tmp197__length1 = _tmp201_;
			__tmp197__size_ = _tmp197__length1;
		} else {
			gchar** _tmp203_;
			gint _tmp203__length1;
			_tmp203_ = (dependencies != NULL) ? _vala_array_dup47 (dependencies, dependencies_length1) : dependencies;
			_tmp203__length1 = dependencies_length1;
			_tmp197_ = (_vala_array_free (_tmp197_, _tmp197__length1, (GDestroyNotify) g_free), NULL);
			_tmp197_ = _tmp203_;
			_tmp197__length1 = _tmp203__length1;
			__tmp197__size_ = _tmp197__length1;
		}
		_tmp204_ = key;
		_tmp205_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_scopebuddy_owner (self, id);
		_tmp206_ = _tmp205_;
		_tmp207_ = g_new0 (gchar*, 0 + 1);
		_tmp208_ = _tmp207_;
		_tmp208__length1 = 0;
		_tmp209_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_conflict_group_for (self, id);
		_tmp210_ = _tmp209_;
		_tmp212_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_conflicts_for (self, id, &_tmp211_);
		_tmp213_ = _tmp212_;
		_tmp213__length1 = _tmp211_;
		_tmp215_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_capabilities_for (self, id, &_tmp214_);
		_tmp216_ = _tmp215_;
		_tmp216__length1 = _tmp214_;
		_tmp217_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
		_tmp218_ = _tmp217_;
		_tmp218__length1 = 0;
		_tmp220_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (self, id, &_tmp219_);
		_tmp221_ = _tmp220_;
		_tmp221__length1 = _tmp219_;
		_tmp223_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_selectable_values_for (self, id, &_tmp222_);
		_tmp224_ = _tmp223_;
		_tmp224__length1 = _tmp222_;
		_tmp225_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_REQUIRED, _tmp192_, _tmp204_, _tmp206_, _tmp193_, _tmp193__length1, _tmp208_, 0, _tmp210_, _tmp213_, _tmp211_, _tmp197_, _tmp197__length1, _tmp216_, _tmp214_, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_applicability_for (self, id), _tmp218_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_managed_emission (self, id), _tmp221_, _tmp219_, _tmp224_, _tmp222_, NULL);
		_tmp226_ = _tmp225_;
		_tmp224_ = (_vala_array_free (_tmp224_, _tmp224__length1, (GDestroyNotify) g_free), NULL);
		_tmp221_ = (_vala_array_free (_tmp221_, _tmp221__length1, (GDestroyNotify) g_free), NULL);
		_tmp218_ = (_vala_array_free (_tmp218_, _tmp218__length1, (GDestroyNotify) g_object_unref), NULL);
		_tmp216_ = (g_free (_tmp216_), NULL);
		_tmp213_ = (_vala_array_free (_tmp213_, _tmp213__length1, (GDestroyNotify) g_free), NULL);
		_g_free0 (_tmp210_);
		_tmp208_ = (_vala_array_free (_tmp208_, _tmp208__length1, (GDestroyNotify) g_free), NULL);
		_g_free0 (_tmp206_);
		result = _tmp226_;
		_tmp197_ = (_vala_array_free (_tmp197_, _tmp197__length1, (GDestroyNotify) g_free), NULL);
		_tmp193_ = (_vala_array_free (_tmp193_, _tmp193__length1, (GDestroyNotify) g_free), NULL);
		fixed_tokens = (_vala_array_free (fixed_tokens, fixed_tokens_length1, (GDestroyNotify) g_free), NULL);
		_g_free0 (key);
		return result;
	}
	_tmp227_ = g_new0 (gchar*, 0 + 1);
	_tmp228_ = _tmp227_;
	_tmp228__length1 = 0;
	_tmp229_ = g_new0 (gchar*, 0 + 1);
	_tmp230_ = _tmp229_;
	_tmp230__length1 = 0;
	_tmp231_ = g_new0 (gchar*, 0 + 1);
	_tmp232_ = _tmp231_;
	_tmp232__length1 = 0;
	_tmp233_ = g_new0 (gchar*, 0 + 1);
	_tmp234_ = _tmp233_;
	_tmp234__length1 = 0;
	_tmp235_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 0);
	_tmp236_ = _tmp235_;
	_tmp236__length1 = 0;
	_tmp237_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
	_tmp238_ = _tmp237_;
	_tmp238__length1 = 0;
	_tmp240_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (self, id, &_tmp239_);
	_tmp241_ = _tmp240_;
	_tmp241__length1 = _tmp239_;
	_tmp243_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_selectable_values_for (self, id, &_tmp242_);
	_tmp244_ = _tmp243_;
	_tmp244__length1 = _tmp242_;
	_tmp245_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_OPAQUE_CONTEXT_DEPENDENT, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_CONTEXT_DEPENDENT_RAW, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_RAW_CONTEXT_DEPENDENT, "", "", _tmp228_, 0, _tmp230_, 0, "", _tmp232_, 0, _tmp234_, 0, _tmp236_, 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_UNKNOWN, _tmp238_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id), FALSE, _tmp241_, _tmp239_, _tmp244_, _tmp242_, NULL);
	_tmp246_ = _tmp245_;
	_tmp244_ = (_vala_array_free (_tmp244_, _tmp244__length1, (GDestroyNotify) g_free), NULL);
	_tmp241_ = (_vala_array_free (_tmp241_, _tmp241__length1, (GDestroyNotify) g_free), NULL);
	_tmp238_ = (_vala_array_free (_tmp238_, _tmp238__length1, (GDestroyNotify) g_object_unref), NULL);
	_tmp236_ = (g_free (_tmp236_), NULL);
	_tmp234_ = (_vala_array_free (_tmp234_, _tmp234__length1, (GDestroyNotify) g_free), NULL);
	_tmp232_ = (_vala_array_free (_tmp232_, _tmp232__length1, (GDestroyNotify) g_free), NULL);
	_tmp230_ = (_vala_array_free (_tmp230_, _tmp230__length1, (GDestroyNotify) g_free), NULL);
	_tmp228_ = (_vala_array_free (_tmp228_, _tmp228__length1, (GDestroyNotify) g_free), NULL);
	result = _tmp246_;
	return result;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                         const gchar* wrapper_id)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* definition = NULL;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp0_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp1_ = 0;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp2_;
	const gchar* _tmp3_;
	const gchar* _tmp4_;
	gchar** _tmp5_;
	gchar** _tmp6_;
	gint _tmp6__length1;
	gchar** _tmp7_;
	gchar** _tmp8_;
	gint _tmp8__length1;
	gint _tmp9_ = 0;
	gchar** _tmp10_;
	gchar** _tmp11_;
	gint _tmp11__length1;
	gchar** _tmp12_;
	gchar** _tmp13_;
	gint _tmp13__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp14_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability _tmp15_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability _tmp16_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp17_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp18_;
	gint _tmp18__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp19_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp20_;
	gint _tmp20__length1;
	gchar** _tmp21_;
	gchar** _tmp22_;
	gint _tmp22__length1;
	gchar** _tmp23_;
	gchar** _tmp24_;
	gint _tmp24__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp25_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp26_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (wrapper_id != NULL, NULL);
	_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup_wrapper (self, wrapper_id);
	definition = _tmp0_;
	_tmp2_ = definition;
	_tmp3_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_delimiter (_tmp2_);
	_tmp4_ = _tmp3_;
	if (_tmp4_ == NULL) {
		_tmp1_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_PREFIX_WRAPPER;
	} else {
		_tmp1_ = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_DELIMITED_WRAPPER;
	}
	_tmp5_ = g_new0 (gchar*, 0 + 1);
	_tmp6_ = _tmp5_;
	_tmp6__length1 = 0;
	_tmp7_ = g_new0 (gchar*, 0 + 1);
	_tmp8_ = _tmp7_;
	_tmp8__length1 = 0;
	_tmp10_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_conflicts_for (self, wrapper_id, &_tmp9_);
	_tmp11_ = _tmp10_;
	_tmp11__length1 = _tmp9_;
	_tmp12_ = g_new0 (gchar*, 0 + 1);
	_tmp13_ = _tmp12_;
	_tmp13__length1 = 0;
	_tmp14_ = definition;
	_tmp15_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_required_capability (_tmp14_);
	_tmp16_ = _tmp15_;
	_tmp17_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
	_tmp17_[0] = _tmp16_;
	_tmp18_ = _tmp17_;
	_tmp18__length1 = 1;
	_tmp19_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput*, 0 + 1);
	_tmp20_ = _tmp19_;
	_tmp20__length1 = 0;
	_tmp21_ = g_new0 (gchar*, 0 + 1);
	_tmp22_ = _tmp21_;
	_tmp22__length1 = 0;
	_tmp23_ = g_new0 (gchar*, 0 + 1);
	_tmp24_ = _tmp23_;
	_tmp24__length1 = 0;
	_tmp25_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_new (_tmp1_, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_REQUIRED, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_WRAPPER_SELECTION, "", wrapper_id, _tmp6_, 0, _tmp8_, 0, "", _tmp11_, _tmp9_, _tmp13_, 0, _tmp18_, 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_COMPONENT_SPECIFIC, _tmp20_, 0, FALSE, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, wrapper_id), TRUE, _tmp22_, 0, _tmp24_, 0, NULL);
	_tmp26_ = _tmp25_;
	_tmp24_ = (_vala_array_free (_tmp24_, _tmp24__length1, (GDestroyNotify) g_free), NULL);
	_tmp22_ = (_vala_array_free (_tmp22_, _tmp22__length1, (GDestroyNotify) g_free), NULL);
	_tmp20_ = (_vala_array_free (_tmp20_, _tmp20__length1, (GDestroyNotify) g_object_unref), NULL);
	_tmp18_ = (g_free (_tmp18_), NULL);
	_tmp13_ = (_vala_array_free (_tmp13_, _tmp13__length1, (GDestroyNotify) g_free), NULL);
	_tmp11_ = (_vala_array_free (_tmp11_, _tmp11__length1, (GDestroyNotify) g_free), NULL);
	_tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL);
	_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
	result = _tmp26_;
	_g_object_unref0 (definition);
	return result;
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_wrapper_argument (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                           ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType serialization_type)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	result = serialization_type == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT;
	return result;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_wrapper_parse_shape_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                               const gchar* id,
                                                                                               gchar** raw_tokens,
                                                                                               gint raw_tokens_length1)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	static GQuark _tmp1_label4 = 0;
	static GQuark _tmp1_label5 = 0;
	static GQuark _tmp1_label6 = 0;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if ((((_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("gamescope-fullscreen")))) || (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("gamescope-hdr"))))) || (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("gamescope-vrr"))))) || (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("scopebuddy-fullscreen"))))) {
		switch (0) {
			default:
			{
				guint* _tmp3_;
				guint* _tmp4_;
				gint _tmp4__length1;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp5_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp6_;
				_tmp3_ = g_new0 (guint, 1);
				_tmp3_[0] = (guint) 0;
				_tmp4_ = _tmp3_;
				_tmp4__length1 = 1;
				_tmp5_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_new (raw_tokens, raw_tokens_length1, _tmp4_, 1);
				_tmp6_ = _tmp5_;
				_tmp4_ = (g_free (_tmp4_), NULL);
				result = _tmp6_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label4) ? _tmp1_label4 : (_tmp1_label4 = g_quark_from_static_string ("gamescope-resolution")))) {
		switch (0) {
			default:
			{
				gchar* _tmp7_;
				gchar* _tmp8_;
				gchar** _tmp9_;
				gchar** _tmp10_;
				gint _tmp10__length1;
				guint* _tmp11_;
				guint* _tmp12_;
				gint _tmp12__length1;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp13_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp14_;
				_tmp7_ = g_strdup ("-W");
				_tmp8_ = g_strdup ("-H");
				_tmp9_ = g_new0 (gchar*, 2 + 1);
				_tmp9_[0] = _tmp7_;
				_tmp9_[1] = _tmp8_;
				_tmp10_ = _tmp9_;
				_tmp10__length1 = 2;
				_tmp11_ = g_new0 (guint, 2);
				_tmp11_[0] = (guint) 1;
				_tmp11_[1] = (guint) 1;
				_tmp12_ = _tmp11_;
				_tmp12__length1 = 2;
				_tmp13_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_new (_tmp10_, 2, _tmp12_, 2);
				_tmp14_ = _tmp13_;
				_tmp12_ = (g_free (_tmp12_), NULL);
				_tmp10_ = (_vala_array_free (_tmp10_, _tmp10__length1, (GDestroyNotify) g_free), NULL);
				result = _tmp14_;
				return result;
			}
		}
	} else if ((_tmp2_ == ((0 != _tmp1_label5) ? _tmp1_label5 : (_tmp1_label5 = g_quark_from_static_string ("gamescope-frame-limit")))) || (_tmp2_ == ((0 != _tmp1_label6) ? _tmp1_label6 : (_tmp1_label6 = g_quark_from_static_string ("scopebuddy-frame-limit"))))) {
		switch (0) {
			default:
			{
				gchar* _tmp15_;
				gchar** _tmp16_;
				gchar** _tmp17_;
				gint _tmp17__length1;
				guint* _tmp18_;
				guint* _tmp19_;
				gint _tmp19__length1;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp20_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp21_;
				_tmp15_ = g_strdup ("-r");
				_tmp16_ = g_new0 (gchar*, 1 + 1);
				_tmp16_[0] = _tmp15_;
				_tmp17_ = _tmp16_;
				_tmp17__length1 = 1;
				_tmp18_ = g_new0 (guint, 1);
				_tmp18_[0] = (guint) 1;
				_tmp19_ = _tmp18_;
				_tmp19__length1 = 1;
				_tmp20_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_new (_tmp17_, 1, _tmp19_, 1);
				_tmp21_ = _tmp20_;
				_tmp19_ = (g_free (_tmp19_), NULL);
				_tmp17_ = (_vala_array_free (_tmp17_, _tmp17__length1, (GDestroyNotify) g_free), NULL);
				result = _tmp21_;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				result = NULL;
				return result;
			}
		}
	}
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_dynamic_environment (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                              const gchar* id)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	static GQuark _tmp1_label4 = 0;
	static GQuark _tmp1_label5 = 0;
	static GQuark _tmp1_label6 = 0;
	static GQuark _tmp1_label7 = 0;
	static GQuark _tmp1_label8 = 0;
	static GQuark _tmp1_label9 = 0;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (id != NULL, FALSE);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if ((((((((((_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("dxvk-frame-limit")))) || (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("pulse-latency"))))) || (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("winealsa-channels"))))) || (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("vkd3d-log-level"))))) || (_tmp2_ == ((0 != _tmp1_label4) ? _tmp1_label4 : (_tmp1_label4 = g_quark_from_static_string ("dll-overrides"))))) || (_tmp2_ == ((0 != _tmp1_label5) ? _tmp1_label5 : (_tmp1_label5 = g_quark_from_static_string ("vkd3d-config"))))) || (_tmp2_ == ((0 != _tmp1_label6) ? _tmp1_label6 : (_tmp1_label6 = g_quark_from_static_string ("amd-vulkan-driver"))))) || (_tmp2_ == ((0 != _tmp1_label7) ? _tmp1_label7 : (_tmp1_label7 = g_quark_from_static_string ("amd-radv-perftest"))))) || (_tmp2_ == ((0 != _tmp1_label8) ? _tmp1_label8 : (_tmp1_label8 = g_quark_from_static_string ("amd-radv-debug"))))) || (_tmp2_ == ((0 != _tmp1_label9) ? _tmp1_label9 : (_tmp1_label9 = g_quark_from_static_string ("amd-aco-debug"))))) {
		switch (0) {
			default:
			{
				result = TRUE;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				result = FALSE;
				return result;
			}
		}
	}
}

static gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_canonical_environment_key_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                     const gchar* id,
                                                                                                     gchar** raw_tokens,
                                                                                                     gint raw_tokens_length1)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	gchar* _tmp13_;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if (_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("ntsync-mode")))) {
		switch (0) {
			default:
			{
				gchar* _tmp3_;
				_tmp3_ = g_strdup ("PROTON_NO_NTSYNC");
				result = _tmp3_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("dll-overrides")))) {
		switch (0) {
			default:
			{
				gchar* _tmp4_;
				_tmp4_ = g_strdup ("WINEDLLOVERRIDES");
				result = _tmp4_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("amd-vulkan-driver")))) {
		switch (0) {
			default:
			{
				gchar* _tmp5_;
				_tmp5_ = g_strdup ("AMD_VULKAN_ICD");
				result = _tmp5_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("vkd3d-log-level")))) {
		switch (0) {
			default:
			{
				gchar* _tmp6_;
				_tmp6_ = g_strdup ("VKD3D_DEBUG");
				result = _tmp6_;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				break;
			}
		}
	}
	{
		gchar** token_collection = NULL;
		gint token_collection_length1 = 0;
		gint _token_collection_size_ = 0;
		gint token_it = 0;
		token_collection = raw_tokens;
		token_collection_length1 = raw_tokens_length1;
		for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
			gchar* _tmp7_;
			gchar* token = NULL;
			_tmp7_ = g_strdup (token_collection[token_it]);
			token = _tmp7_;
			{
				gint separator = 0;
				const gchar* _tmp8_;
				_tmp8_ = token;
				separator = string_index_of_char (_tmp8_, (gunichar) '=', 0);
				if (separator >= 0) {
					const gchar* _tmp9_;
					gchar* _tmp10_;
					_tmp9_ = token;
					_tmp10_ = string_substring (_tmp9_, (glong) 0, (glong) separator);
					result = _tmp10_;
					_g_free0 (token);
					return result;
				}
				_g_free0 (token);
			}
		}
	}
	if (raw_tokens_length1 > 0) {
		const gchar* _tmp11_;
		gchar* _tmp12_;
		_tmp11_ = raw_tokens[0];
		_tmp12_ = g_strdup (_tmp11_);
		result = _tmp12_;
		return result;
	}
	_tmp13_ = g_strdup ("");
	result = _tmp13_;
	return result;
}

static gchar**
_vala_array_dup48 (gchar** self,
                   gssize length)
{
	if (length >= 0) {
		gchar** result;
		gssize i;
		result = g_new0 (gchar*, length + 1);
		for (i = 0; i < length; i++) {
			gchar* _tmp0_;
			_tmp0_ = g_strdup (self[i]);
			result[i] = _tmp0_;
		}
		return result;
	}
	return NULL;
}

static gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_canonical_fixed_tokens_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                  const gchar* id,
                                                                                                  gchar** raw_tokens,
                                                                                                  gint raw_tokens_length1,
                                                                                                  gint* result_length1)
{
	gchar** _tmp6_;
	gint _tmp6__length1;
	gchar** _tmp7_;
	gint _tmp7__length1;
	gchar** result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	if (g_strcmp0 (id, "ntsync-mode") == 0) {
		gchar* _tmp0_;
		gchar** _tmp1_;
		gchar** _tmp2_;
		gint _tmp2__length1;
		_tmp0_ = g_strdup ("PROTON_NO_NTSYNC=1");
		_tmp1_ = g_new0 (gchar*, 1 + 1);
		_tmp1_[0] = _tmp0_;
		_tmp2_ = _tmp1_;
		_tmp2__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp2__length1;
		}
		result = _tmp2_;
		return result;
	}
	if (g_strcmp0 (id, "amd-shader-cache") == 0) {
		gchar* _tmp3_;
		gchar** _tmp4_;
		gchar** _tmp5_;
		gint _tmp5__length1;
		_tmp3_ = g_strdup ("MESA_SHADER_CACHE_DISABLE=1");
		_tmp4_ = g_new0 (gchar*, 1 + 1);
		_tmp4_[0] = _tmp3_;
		_tmp5_ = _tmp4_;
		_tmp5__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp5__length1;
		}
		result = _tmp5_;
		return result;
	}
	_tmp6_ = (raw_tokens != NULL) ? _vala_array_dup48 (raw_tokens, raw_tokens_length1) : raw_tokens;
	_tmp6__length1 = raw_tokens_length1;
	_tmp7_ = _tmp6_;
	_tmp7__length1 = _tmp6__length1;
	if (result_length1) {
		*result_length1 = _tmp7__length1;
	}
	result = _tmp7_;
	return result;
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_has_no_canonical_emission (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                 const gchar* id)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	static GQuark _tmp1_label4 = 0;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (id != NULL, FALSE);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if (((((_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("dxvk-frame-limit")))) || (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("dxvk-async"))))) || (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("vkd3d-shader-cache"))))) || (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("vkd3d-gpuva"))))) || (_tmp2_ == ((0 != _tmp1_label4) ? _tmp1_label4 : (_tmp1_label4 = g_quark_from_static_string ("nvidia-nvapi"))))) {
		switch (0) {
			default:
			{
				result = TRUE;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				result = FALSE;
				return result;
			}
		}
	}
}

static gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_legacy_tokens_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                         const gchar* id,
                                                                                         gint* result_length1)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	static GQuark _tmp1_label4 = 0;
	static GQuark _tmp1_label5 = 0;
	static GQuark _tmp1_label6 = 0;
	static GQuark _tmp1_label7 = 0;
	static GQuark _tmp1_label8 = 0;
	static GQuark _tmp1_label9 = 0;
	static GQuark _tmp1_label10 = 0;
	gchar** result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if (_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("ntsync-mode")))) {
		switch (0) {
			default:
			{
				gchar* _tmp3_;
				gchar** _tmp4_;
				gchar** _tmp5_;
				gint _tmp5__length1;
				_tmp3_ = g_strdup ("PROTON_USE_NTSYNC=0");
				_tmp4_ = g_new0 (gchar*, 1 + 1);
				_tmp4_[0] = _tmp3_;
				_tmp5_ = _tmp4_;
				_tmp5__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp5__length1;
				}
				result = _tmp5_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("dll-overrides")))) {
		switch (0) {
			default:
			{
				gchar* _tmp6_;
				gchar** _tmp7_;
				gchar** _tmp8_;
				gint _tmp8__length1;
				_tmp6_ = g_strdup ("DLL_OVERRIDES");
				_tmp7_ = g_new0 (gchar*, 1 + 1);
				_tmp7_[0] = _tmp6_;
				_tmp8_ = _tmp7_;
				_tmp8__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp8__length1;
				}
				result = _tmp8_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("amd-vulkan-driver")))) {
		switch (0) {
			default:
			{
				gchar* _tmp9_;
				gchar** _tmp10_;
				gchar** _tmp11_;
				gint _tmp11__length1;
				_tmp9_ = g_strdup ("AMD_ICD");
				_tmp10_ = g_new0 (gchar*, 1 + 1);
				_tmp10_[0] = _tmp9_;
				_tmp11_ = _tmp10_;
				_tmp11__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp11__length1;
				}
				result = _tmp11_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("vkd3d-log-level")))) {
		switch (0) {
			default:
			{
				gchar* _tmp12_;
				gchar** _tmp13_;
				gchar** _tmp14_;
				gint _tmp14__length1;
				_tmp12_ = g_strdup ("VKD3D_LOG_LEVEL");
				_tmp13_ = g_new0 (gchar*, 1 + 1);
				_tmp13_[0] = _tmp12_;
				_tmp14_ = _tmp13_;
				_tmp14__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp14__length1;
				}
				result = _tmp14_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label4) ? _tmp1_label4 : (_tmp1_label4 = g_quark_from_static_string ("amd-shader-cache")))) {
		switch (0) {
			default:
			{
				gchar* _tmp15_;
				gchar** _tmp16_;
				gchar** _tmp17_;
				gint _tmp17__length1;
				_tmp15_ = g_strdup ("MESA_SHADER_CACHE_DISABLE=0");
				_tmp16_ = g_new0 (gchar*, 1 + 1);
				_tmp16_[0] = _tmp15_;
				_tmp17_ = _tmp16_;
				_tmp17__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp17__length1;
				}
				result = _tmp17_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label5) ? _tmp1_label5 : (_tmp1_label5 = g_quark_from_static_string ("dxvk-frame-limit")))) {
		switch (0) {
			default:
			{
				gchar* _tmp18_;
				gchar** _tmp19_;
				gchar** _tmp20_;
				gint _tmp20__length1;
				_tmp18_ = g_strdup ("DXVK_FRAME_RATE=");
				_tmp19_ = g_new0 (gchar*, 1 + 1);
				_tmp19_[0] = _tmp18_;
				_tmp20_ = _tmp19_;
				_tmp20__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp20__length1;
				}
				result = _tmp20_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label6) ? _tmp1_label6 : (_tmp1_label6 = g_quark_from_static_string ("dxvk-async")))) {
		switch (0) {
			default:
			{
				gchar* _tmp21_;
				gchar** _tmp22_;
				gchar** _tmp23_;
				gint _tmp23__length1;
				_tmp21_ = g_strdup ("DXVK_ASYNC=1");
				_tmp22_ = g_new0 (gchar*, 1 + 1);
				_tmp22_[0] = _tmp21_;
				_tmp23_ = _tmp22_;
				_tmp23__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp23__length1;
				}
				result = _tmp23_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label7) ? _tmp1_label7 : (_tmp1_label7 = g_quark_from_static_string ("vkd3d-shader-cache")))) {
		switch (0) {
			default:
			{
				gchar* _tmp24_;
				gchar** _tmp25_;
				gchar** _tmp26_;
				gint _tmp26__length1;
				_tmp24_ = g_strdup ("VKD3D_SHADER_CACHE=1");
				_tmp25_ = g_new0 (gchar*, 1 + 1);
				_tmp25_[0] = _tmp24_;
				_tmp26_ = _tmp25_;
				_tmp26__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp26__length1;
				}
				result = _tmp26_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label8) ? _tmp1_label8 : (_tmp1_label8 = g_quark_from_static_string ("vkd3d-gpuva")))) {
		switch (0) {
			default:
			{
				gchar* _tmp27_;
				gchar** _tmp28_;
				gchar** _tmp29_;
				gint _tmp29__length1;
				_tmp27_ = g_strdup ("VKD3D_GPUVA=1");
				_tmp28_ = g_new0 (gchar*, 1 + 1);
				_tmp28_[0] = _tmp27_;
				_tmp29_ = _tmp28_;
				_tmp29__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp29__length1;
				}
				result = _tmp29_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label9) ? _tmp1_label9 : (_tmp1_label9 = g_quark_from_static_string ("vkd3d-config")))) {
		switch (0) {
			default:
			{
				gchar* _tmp30_;
				gchar* _tmp31_;
				gchar* _tmp32_;
				gchar* _tmp33_;
				gchar* _tmp34_;
				gchar* _tmp35_;
				gchar* _tmp36_;
				gchar** _tmp37_;
				gchar** _tmp38_;
				gint _tmp38__length1;
				_tmp30_ = g_strdup ("force_host_cache");
				_tmp31_ = g_strdup ("shader_cache");
				_tmp32_ = g_strdup ("upload_hvv");
				_tmp33_ = g_strdup ("gpuva");
				_tmp34_ = g_strdup ("stable_power_state");
				_tmp35_ = g_strdup ("dxr10");
				_tmp36_ = g_strdup ("dxr11");
				_tmp37_ = g_new0 (gchar*, 7 + 1);
				_tmp37_[0] = _tmp30_;
				_tmp37_[1] = _tmp31_;
				_tmp37_[2] = _tmp32_;
				_tmp37_[3] = _tmp33_;
				_tmp37_[4] = _tmp34_;
				_tmp37_[5] = _tmp35_;
				_tmp37_[6] = _tmp36_;
				_tmp38_ = _tmp37_;
				_tmp38__length1 = 7;
				if (result_length1) {
					*result_length1 = _tmp38__length1;
				}
				result = _tmp38_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label10) ? _tmp1_label10 : (_tmp1_label10 = g_quark_from_static_string ("nvidia-nvapi")))) {
		switch (0) {
			default:
			{
				gchar* _tmp39_;
				gchar** _tmp40_;
				gchar** _tmp41_;
				gint _tmp41__length1;
				_tmp39_ = g_strdup ("PROTON_ENABLE_NVAPI=1");
				_tmp40_ = g_new0 (gchar*, 1 + 1);
				_tmp40_[0] = _tmp39_;
				_tmp41_ = _tmp40_;
				_tmp41__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp41__length1;
				}
				result = _tmp41_;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				gchar** _tmp42_;
				gchar** _tmp43_;
				gint _tmp43__length1;
				_tmp42_ = g_new0 (gchar*, 0 + 1);
				_tmp43_ = _tmp42_;
				_tmp43__length1 = 0;
				if (result_length1) {
					*result_length1 = _tmp43__length1;
				}
				result = _tmp43_;
				return result;
			}
		}
	}
}

static gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_selectable_values_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                             const gchar* id,
                                                                                             gint* result_length1)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	static GQuark _tmp1_label4 = 0;
	gchar** result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if (_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("vkd3d-log-level")))) {
		switch (0) {
			default:
			{
				gchar* _tmp3_;
				gchar* _tmp4_;
				gchar* _tmp5_;
				gchar* _tmp6_;
				gchar* _tmp7_;
				gchar* _tmp8_;
				gchar** _tmp9_;
				gchar** _tmp10_;
				gint _tmp10__length1;
				_tmp3_ = g_strdup ("none");
				_tmp4_ = g_strdup ("err");
				_tmp5_ = g_strdup ("warn");
				_tmp6_ = g_strdup ("fixme");
				_tmp7_ = g_strdup ("info");
				_tmp8_ = g_strdup ("trace");
				_tmp9_ = g_new0 (gchar*, 6 + 1);
				_tmp9_[0] = _tmp3_;
				_tmp9_[1] = _tmp4_;
				_tmp9_[2] = _tmp5_;
				_tmp9_[3] = _tmp6_;
				_tmp9_[4] = _tmp7_;
				_tmp9_[5] = _tmp8_;
				_tmp10_ = _tmp9_;
				_tmp10__length1 = 6;
				if (result_length1) {
					*result_length1 = _tmp10__length1;
				}
				result = _tmp10_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("vkd3d-config")))) {
		switch (0) {
			default:
			{
				gchar* _tmp11_;
				gchar* _tmp12_;
				gchar* _tmp13_;
				gchar* _tmp14_;
				gchar* _tmp15_;
				gchar* _tmp16_;
				gchar* _tmp17_;
				gchar* _tmp18_;
				gchar* _tmp19_;
				gchar* _tmp20_;
				gchar* _tmp21_;
				gchar** _tmp22_;
				gchar** _tmp23_;
				gint _tmp23__length1;
				_tmp11_ = g_strdup ("vk_debug");
				_tmp12_ = g_strdup ("skip_application_workarounds");
				_tmp13_ = g_strdup ("nodxr");
				_tmp14_ = g_strdup ("dxr");
				_tmp15_ = g_strdup ("dxr12");
				_tmp16_ = g_strdup ("force_static_cbv");
				_tmp17_ = g_strdup ("single_queue");
				_tmp18_ = g_strdup ("no_upload_hvv");
				_tmp19_ = g_strdup ("force_host_cached");
				_tmp20_ = g_strdup ("no_invariant_position");
				_tmp21_ = g_strdup ("pipeline_library_app_cache");
				_tmp22_ = g_new0 (gchar*, 11 + 1);
				_tmp22_[0] = _tmp11_;
				_tmp22_[1] = _tmp12_;
				_tmp22_[2] = _tmp13_;
				_tmp22_[3] = _tmp14_;
				_tmp22_[4] = _tmp15_;
				_tmp22_[5] = _tmp16_;
				_tmp22_[6] = _tmp17_;
				_tmp22_[7] = _tmp18_;
				_tmp22_[8] = _tmp19_;
				_tmp22_[9] = _tmp20_;
				_tmp22_[10] = _tmp21_;
				_tmp23_ = _tmp22_;
				_tmp23__length1 = 11;
				if (result_length1) {
					*result_length1 = _tmp23__length1;
				}
				result = _tmp23_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("amd-radv-perftest")))) {
		switch (0) {
			default:
			{
				gchar* _tmp24_;
				gchar* _tmp25_;
				gchar* _tmp26_;
				gchar* _tmp27_;
				gchar* _tmp28_;
				gchar* _tmp29_;
				gchar* _tmp30_;
				gchar* _tmp31_;
				gchar* _tmp32_;
				gchar* _tmp33_;
				gchar* _tmp34_;
				gchar* _tmp35_;
				gchar* _tmp36_;
				gchar** _tmp37_;
				gchar** _tmp38_;
				gint _tmp38__length1;
				_tmp24_ = g_strdup ("cswave32");
				_tmp25_ = g_strdup ("dccmsaa");
				_tmp26_ = g_strdup ("dmashaders");
				_tmp27_ = g_strdup ("gewave32");
				_tmp28_ = g_strdup ("localbos");
				_tmp29_ = g_strdup ("lowlatencydec");
				_tmp30_ = g_strdup ("lowlatencyenc");
				_tmp31_ = g_strdup ("nggc");
				_tmp32_ = g_strdup ("nircache");
				_tmp33_ = g_strdup ("nogttspill");
				_tmp34_ = g_strdup ("nosam");
				_tmp35_ = g_strdup ("pswave32");
				_tmp36_ = g_strdup ("rtcps");
				_tmp37_ = g_new0 (gchar*, 13 + 1);
				_tmp37_[0] = _tmp24_;
				_tmp37_[1] = _tmp25_;
				_tmp37_[2] = _tmp26_;
				_tmp37_[3] = _tmp27_;
				_tmp37_[4] = _tmp28_;
				_tmp37_[5] = _tmp29_;
				_tmp37_[6] = _tmp30_;
				_tmp37_[7] = _tmp31_;
				_tmp37_[8] = _tmp32_;
				_tmp37_[9] = _tmp33_;
				_tmp37_[10] = _tmp34_;
				_tmp37_[11] = _tmp35_;
				_tmp37_[12] = _tmp36_;
				_tmp38_ = _tmp37_;
				_tmp38__length1 = 13;
				if (result_length1) {
					*result_length1 = _tmp38__length1;
				}
				result = _tmp38_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("amd-radv-debug")))) {
		switch (0) {
			default:
			{
				gchar* _tmp39_;
				gchar* _tmp40_;
				gchar* _tmp41_;
				gchar* _tmp42_;
				gchar* _tmp43_;
				gchar* _tmp44_;
				gchar* _tmp45_;
				gchar* _tmp46_;
				gchar* _tmp47_;
				gchar* _tmp48_;
				gchar* _tmp49_;
				gchar** _tmp50_;
				gchar** _tmp51_;
				gint _tmp51__length1;
				_tmp39_ = g_strdup ("hang");
				_tmp40_ = g_strdup ("syncshaders");
				_tmp41_ = g_strdup ("noibs");
				_tmp42_ = g_strdup ("nocache");
				_tmp43_ = g_strdup ("nodcc");
				_tmp44_ = g_strdup ("nogpl");
				_tmp45_ = g_strdup ("nooptvariant");
				_tmp46_ = g_strdup ("nosam");
				_tmp47_ = g_strdup ("novrs");
				_tmp48_ = g_strdup ("precompile");
				_tmp49_ = g_strdup ("psocachestats");
				_tmp50_ = g_new0 (gchar*, 11 + 1);
				_tmp50_[0] = _tmp39_;
				_tmp50_[1] = _tmp40_;
				_tmp50_[2] = _tmp41_;
				_tmp50_[3] = _tmp42_;
				_tmp50_[4] = _tmp43_;
				_tmp50_[5] = _tmp44_;
				_tmp50_[6] = _tmp45_;
				_tmp50_[7] = _tmp46_;
				_tmp50_[8] = _tmp47_;
				_tmp50_[9] = _tmp48_;
				_tmp50_[10] = _tmp49_;
				_tmp51_ = _tmp50_;
				_tmp51__length1 = 11;
				if (result_length1) {
					*result_length1 = _tmp51__length1;
				}
				result = _tmp51_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label4) ? _tmp1_label4 : (_tmp1_label4 = g_quark_from_static_string ("amd-aco-debug")))) {
		switch (0) {
			default:
			{
				gchar* _tmp52_;
				gchar* _tmp53_;
				gchar* _tmp54_;
				gchar* _tmp55_;
				gchar* _tmp56_;
				gchar** _tmp57_;
				gchar** _tmp58_;
				gint _tmp58__length1;
				_tmp52_ = g_strdup ("validate");
				_tmp53_ = g_strdup ("perfinfo");
				_tmp54_ = g_strdup ("force-waitcnt");
				_tmp55_ = g_strdup ("nosched");
				_tmp56_ = g_strdup ("nowave32");
				_tmp57_ = g_new0 (gchar*, 5 + 1);
				_tmp57_[0] = _tmp52_;
				_tmp57_[1] = _tmp53_;
				_tmp57_[2] = _tmp54_;
				_tmp57_[3] = _tmp55_;
				_tmp57_[4] = _tmp56_;
				_tmp58_ = _tmp57_;
				_tmp58__length1 = 5;
				if (result_length1) {
					*result_length1 = _tmp58__length1;
				}
				result = _tmp58_;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				gchar** _tmp59_;
				gchar** _tmp60_;
				gint _tmp60__length1;
				_tmp59_ = g_new0 (gchar*, 0 + 1);
				_tmp60_ = _tmp59_;
				_tmp60__length1 = 0;
				if (result_length1) {
					*result_length1 = _tmp60__length1;
				}
				result = _tmp60_;
				return result;
			}
		}
	}
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                   const gchar* id)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	static GQuark _tmp1_label4 = 0;
	static GQuark _tmp1_label5 = 0;
	static GQuark _tmp1_label6 = 0;
	static GQuark _tmp1_label7 = 0;
	static GQuark _tmp1_label8 = 0;
	static GQuark _tmp1_label9 = 0;
	static GQuark _tmp1_label10 = 0;
	static GQuark _tmp1_label11 = 0;
	static GQuark _tmp1_label12 = 0;
	static GQuark _tmp1_label13 = 0;
	static GQuark _tmp1_label14 = 0;
	static GQuark _tmp1_label15 = 0;
	static GQuark _tmp1_label16 = 0;
	static GQuark _tmp1_label17 = 0;
	static GQuark _tmp1_label18 = 0;
	static GQuark _tmp1_label19 = 0;
	static GQuark _tmp1_label20 = 0;
	static GQuark _tmp1_label21 = 0;
	static GQuark _tmp1_label22 = 0;
	static GQuark _tmp1_label23 = 0;
	static GQuark _tmp1_label24 = 0;
	static GQuark _tmp1_label25 = 0;
	static GQuark _tmp1_label26 = 0;
	static GQuark _tmp1_label27 = 0;
	static GQuark _tmp1_label28 = 0;
	static GQuark _tmp1_label29 = 0;
	static GQuark _tmp1_label30 = 0;
	static GQuark _tmp1_label31 = 0;
	static GQuark _tmp1_label32 = 0;
	static GQuark _tmp1_label33 = 0;
	static GQuark _tmp1_label34 = 0;
	static GQuark _tmp1_label35 = 0;
	static GQuark _tmp1_label36 = 0;
	static GQuark _tmp1_label37 = 0;
	static GQuark _tmp1_label38 = 0;
	static GQuark _tmp1_label39 = 0;
	static GQuark _tmp1_label40 = 0;
	static GQuark _tmp1_label41 = 0;
	static GQuark _tmp1_label42 = 0;
	static GQuark _tmp1_label43 = 0;
	static GQuark _tmp1_label44 = 0;
	static GQuark _tmp1_label45 = 0;
	static GQuark _tmp1_label46 = 0;
	static GQuark _tmp1_label47 = 0;
	static GQuark _tmp1_label48 = 0;
	static GQuark _tmp1_label49 = 0;
	static GQuark _tmp1_label50 = 0;
	static GQuark _tmp1_label51 = 0;
	static GQuark _tmp1_label52 = 0;
	static GQuark _tmp1_label53 = 0;
	static GQuark _tmp1_label54 = 0;
	static GQuark _tmp1_label55 = 0;
	static GQuark _tmp1_label56 = 0;
	static GQuark _tmp1_label57 = 0;
	static GQuark _tmp1_label58 = 0;
	static GQuark _tmp1_label59 = 0;
	static GQuark _tmp1_label60 = 0;
	static GQuark _tmp1_label61 = 0;
	static GQuark _tmp1_label62 = 0;
	static GQuark _tmp1_label63 = 0;
	static GQuark _tmp1_label64 = 0;
	static GQuark _tmp1_label65 = 0;
	static GQuark _tmp1_label66 = 0;
	static GQuark _tmp1_label67 = 0;
	static GQuark _tmp1_label68 = 0;
	static GQuark _tmp1_label69 = 0;
	static GQuark _tmp1_label70 = 0;
	static GQuark _tmp1_label71 = 0;
	static GQuark _tmp1_label72 = 0;
	static GQuark _tmp1_label73 = 0;
	static GQuark _tmp1_label74 = 0;
	static GQuark _tmp1_label75 = 0;
	static GQuark _tmp1_label76 = 0;
	static GQuark _tmp1_label77 = 0;
	static GQuark _tmp1_label78 = 0;
	static GQuark _tmp1_label79 = 0;
	static GQuark _tmp1_label80 = 0;
	static GQuark _tmp1_label81 = 0;
	static GQuark _tmp1_label82 = 0;
	static GQuark _tmp1_label83 = 0;
	static GQuark _tmp1_label84 = 0;
	static GQuark _tmp1_label85 = 0;
	static GQuark _tmp1_label86 = 0;
	static GQuark _tmp1_label87 = 0;
	static GQuark _tmp1_label88 = 0;
	static GQuark _tmp1_label89 = 0;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport result;
	g_return_val_if_fail (self != NULL, 0);
	g_return_val_if_fail (id != NULL, 0);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if (((_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("dxvk-frame-limit")))) || (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("vkd3d-shader-cache"))))) || (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("vkd3d-gpuva"))))) {
		switch (0) {
			default:
			{
				result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNSUPPORTED;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("dxvk-async")))) {
		switch (0) {
			default:
			{
				result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_VARIANT_SPECIFIC;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label4) ? _tmp1_label4 : (_tmp1_label4 = g_quark_from_static_string ("nvidia-nvapi")))) {
		switch (0) {
			default:
			{
				result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_LEGACY_DEPRECATED;
				return result;
			}
		}
	} else if (((((((((_tmp2_ == ((0 != _tmp1_label5) ? _tmp1_label5 : (_tmp1_label5 = g_quark_from_static_string ("d7vk")))) || (_tmp2_ == ((0 != _tmp1_label6) ? _tmp1_label6 : (_tmp1_label6 = g_quark_from_static_string ("optiscaler"))))) || (_tmp2_ == ((0 != _tmp1_label7) ? _tmp1_label7 : (_tmp1_label7 = g_quark_from_static_string ("discord-bridge"))))) || (_tmp2_ == ((0 != _tmp1_label8) ? _tmp1_label8 : (_tmp1_label8 = g_quark_from_static_string ("winealsa-channels"))))) || (_tmp2_ == ((0 != _tmp1_label9) ? _tmp1_label9 : (_tmp1_label9 = g_quark_from_static_string ("winealsa-spatial"))))) || (_tmp2_ == ((0 != _tmp1_label10) ? _tmp1_label10 : (_tmp1_label10 = g_quark_from_static_string ("nvidia-dlss-updater"))))) || (_tmp2_ == ((0 != _tmp1_label11) ? _tmp1_label11 : (_tmp1_label11 = g_quark_from_static_string ("nvidia-dlss-indicator"))))) || (_tmp2_ == ((0 != _tmp1_label12) ? _tmp1_label12 : (_tmp1_label12 = g_quark_from_static_string ("nvidia-libraries"))))) || (_tmp2_ == ((0 != _tmp1_label13) ? _tmp1_label13 : (_tmp1_label13 = g_quark_from_static_string ("intel-xess"))))) {
		switch (0) {
			default:
			{
				result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_VARIANT_SPECIFIC;
				return result;
			}
		}
	} else if ((((((((((((((((((((((((((((((((((((((((((((((((((_tmp2_ == ((0 != _tmp1_label14) ? _tmp1_label14 : (_tmp1_label14 = g_quark_from_static_string ("performance-overlay")))) || (_tmp2_ == ((0 != _tmp1_label15) ? _tmp1_label15 : (_tmp1_label15 = g_quark_from_static_string ("mangohud"))))) || (_tmp2_ == ((0 != _tmp1_label16) ? _tmp1_label16 : (_tmp1_label16 = g_quark_from_static_string ("mangohud-vulkan"))))) || (_tmp2_ == ((0 != _tmp1_label17) ? _tmp1_label17 : (_tmp1_label17 = g_quark_from_static_string ("gamemode"))))) || (_tmp2_ == ((0 != _tmp1_label18) ? _tmp1_label18 : (_tmp1_label18 = g_quark_from_static_string ("game-performance"))))) || (_tmp2_ == ((0 != _tmp1_label19) ? _tmp1_label19 : (_tmp1_label19 = g_quark_from_static_string ("obs-vkcapture"))))) || (_tmp2_ == ((0 != _tmp1_label20) ? _tmp1_label20 : (_tmp1_label20 = g_quark_from_static_string ("gamescope"))))) || (_tmp2_ == ((0 != _tmp1_label21) ? _tmp1_label21 : (_tmp1_label21 = g_quark_from_static_string ("scopebuddy"))))) || (_tmp2_ == ((0 != _tmp1_label22) ? _tmp1_label22 : (_tmp1_label22 = g_quark_from_static_string ("launch-backend"))))) || (_tmp2_ == ((0 != _tmp1_label23) ? _tmp1_label23 : (_tmp1_label23 = g_quark_from_static_string ("gamescope-fullscreen"))))) || (_tmp2_ == ((0 != _tmp1_label24) ? _tmp1_label24 : (_tmp1_label24 = g_quark_from_static_string ("gamescope-resolution"))))) || (_tmp2_ == ((0 != _tmp1_label25) ? _tmp1_label25 : (_tmp1_label25 = g_quark_from_static_string ("gamescope-hdr"))))) || (_tmp2_ == ((0 != _tmp1_label26) ? _tmp1_label26 : (_tmp1_label26 = g_quark_from_static_string ("gamescope-vrr"))))) || (_tmp2_ == ((0 != _tmp1_label27) ? _tmp1_label27 : (_tmp1_label27 = g_quark_from_static_string ("gamescope-frame-limit"))))) || (_tmp2_ == ((0 != _tmp1_label28) ? _tmp1_label28 : (_tmp1_label28 = g_quark_from_static_string ("gamescope-arguments"))))) || (_tmp2_ == ((0 != _tmp1_label29) ? _tmp1_label29 : (_tmp1_label29 = g_quark_from_static_string ("scopebuddy-fullscreen"))))) || (_tmp2_ == ((0 != _tmp1_label30) ? _tmp1_label30 : (_tmp1_label30 = g_quark_from_static_string ("scopebuddy-resolution"))))) || (_tmp2_ == ((0 != _tmp1_label31) ? _tmp1_label31 : (_tmp1_label31 = g_quark_from_static_string ("scopebuddy-auto-hdr"))))) || (_tmp2_ == ((0 != _tmp1_label32) ? _tmp1_label32 : (_tmp1_label32 = g_quark_from_static_string ("scopebuddy-auto-vrr"))))) || (_tmp2_ == ((0 != _tmp1_label33) ? _tmp1_label33 : (_tmp1_label33 = g_quark_from_static_string ("scopebuddy-frame-limit"))))) || (_tmp2_ == ((0 != _tmp1_label34) ? _tmp1_label34 : (_tmp1_label34 = g_quark_from_static_string ("scopebuddy-arguments"))))) || (_tmp2_ == ((0 != _tmp1_label35) ? _tmp1_label35 : (_tmp1_label35 = g_quark_from_static_string ("vkbasalt"))))) || (_tmp2_ == ((0 != _tmp1_label36) ? _tmp1_label36 : (_tmp1_label36 = g_quark_from_static_string ("vkd3d-config"))))) || (_tmp2_ == ((0 != _tmp1_label37) ? _tmp1_label37 : (_tmp1_label37 = g_quark_from_static_string ("vkd3d-log-level"))))) || (_tmp2_ == ((0 != _tmp1_label38) ? _tmp1_label38 : (_tmp1_label38 = g_quark_from_static_string ("dxvk-log-level"))))) || (_tmp2_ == ((0 != _tmp1_label39) ? _tmp1_label39 : (_tmp1_label39 = g_quark_from_static_string ("dxvk-hdr"))))) || (_tmp2_ == ((0 != _tmp1_label40) ? _tmp1_label40 : (_tmp1_label40 = g_quark_from_static_string ("dxvk-no-hdr"))))) || (_tmp2_ == ((0 != _tmp1_label41) ? _tmp1_label41 : (_tmp1_label41 = g_quark_from_static_string ("proton-hdr"))))) || (_tmp2_ == ((0 != _tmp1_label42) ? _tmp1_label42 : (_tmp1_label42 = g_quark_from_static_string ("nvidia-hdr-wsi"))))) || (_tmp2_ == ((0 != _tmp1_label43) ? _tmp1_label43 : (_tmp1_label43 = g_quark_from_static_string ("amd-fsr4"))))) || (_tmp2_ == ((0 != _tmp1_label44) ? _tmp1_label44 : (_tmp1_label44 = g_quark_from_static_string ("amd-fsr4-rdna3"))))) || (_tmp2_ == ((0 != _tmp1_label45) ? _tmp1_label45 : (_tmp1_label45 = g_quark_from_static_string ("amd-mlfg"))))) || (_tmp2_ == ((0 != _tmp1_label46) ? _tmp1_label46 : (_tmp1_label46 = g_quark_from_static_string ("amd-mlfg-rdna3-workaround"))))) || (_tmp2_ == ((0 != _tmp1_label47) ? _tmp1_label47 : (_tmp1_label47 = g_quark_from_static_string ("cachyos-dxvk-low-latency"))))) || (_tmp2_ == ((0 != _tmp1_label48) ? _tmp1_label48 : (_tmp1_label48 = g_quark_from_static_string ("cachyos-vkd3d-low-latency"))))) || (_tmp2_ == ((0 != _tmp1_label49) ? _tmp1_label49 : (_tmp1_label49 = g_quark_from_static_string ("cachyos-vulkan-low-latency"))))) || (_tmp2_ == ((0 != _tmp1_label50) ? _tmp1_label50 : (_tmp1_label50 = g_quark_from_static_string ("cachyos-vulkan-reflex"))))) || (_tmp2_ == ((0 != _tmp1_label51) ? _tmp1_label51 : (_tmp1_label51 = g_quark_from_static_string ("cachyos-vulkan-reflex-layer"))))) || (_tmp2_ == ((0 != _tmp1_label52) ? _tmp1_label52 : (_tmp1_label52 = g_quark_from_static_string ("amd-reflex-allow-other-drivers"))))) || (_tmp2_ == ((0 != _tmp1_label53) ? _tmp1_label53 : (_tmp1_label53 = g_quark_from_static_string ("amd-reflex-dxgi-spoof"))))) || (_tmp2_ == ((0 != _tmp1_label54) ? _tmp1_label54 : (_tmp1_label54 = g_quark_from_static_string ("amd-reflex-force-nvapi"))))) || (_tmp2_ == ((0 != _tmp1_label55) ? _tmp1_label55 : (_tmp1_label55 = g_quark_from_static_string ("amd-reflex-layer-spoof"))))) || (_tmp2_ == ((0 != _tmp1_label56) ? _tmp1_label56 : (_tmp1_label56 = g_quark_from_static_string ("amd-discrete-gpu"))))) || (_tmp2_ == ((0 != _tmp1_label57) ? _tmp1_label57 : (_tmp1_label57 = g_quark_from_static_string ("amd-anti-lag"))))) || (_tmp2_ == ((0 != _tmp1_label58) ? _tmp1_label58 : (_tmp1_label58 = g_quark_from_static_string ("amd-vulkan-driver"))))) || (_tmp2_ == ((0 != _tmp1_label59) ? _tmp1_label59 : (_tmp1_label59 = g_quark_from_static_string ("amd-glthread"))))) || (_tmp2_ == ((0 != _tmp1_label60) ? _tmp1_label60 : (_tmp1_label60 = g_quark_from_static_string ("amd-shader-cache"))))) || (_tmp2_ == ((0 != _tmp1_label61) ? _tmp1_label61 : (_tmp1_label61 = g_quark_from_static_string ("amd-radv-perftest"))))) || (_tmp2_ == ((0 != _tmp1_label62) ? _tmp1_label62 : (_tmp1_label62 = g_quark_from_static_string ("amd-radv-debug"))))) || (_tmp2_ == ((0 != _tmp1_label63) ? _tmp1_label63 : (_tmp1_label63 = g_quark_from_static_string ("amd-aco-debug"))))) {
		switch (0) {
			default:
			{
				result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_COMPONENT_SPECIFIC;
				return result;
			}
		}
	} else if ((((((((((((((((((((((((((_tmp2_ == ((0 != _tmp1_label64) ? _tmp1_label64 : (_tmp1_label64 = g_quark_from_static_string ("raw-launch-options")))) || (_tmp2_ == ((0 != _tmp1_label65) ? _tmp1_label65 : (_tmp1_label65 = g_quark_from_static_string ("custom-game-arguments"))))) || (_tmp2_ == ((0 != _tmp1_label66) ? _tmp1_label66 : (_tmp1_label66 = g_quark_from_static_string ("high-process-priority"))))) || (_tmp2_ == ((0 != _tmp1_label67) ? _tmp1_label67 : (_tmp1_label67 = g_quark_from_static_string ("per-game-shader-cache"))))) || (_tmp2_ == ((0 != _tmp1_label68) ? _tmp1_label68 : (_tmp1_label68 = g_quark_from_static_string ("native-wayland"))))) || (_tmp2_ == ((0 != _tmp1_label69) ? _tmp1_label69 : (_tmp1_label69 = g_quark_from_static_string ("desktop-game-profile"))))) || (_tmp2_ == ((0 != _tmp1_label70) ? _tmp1_label70 : (_tmp1_label70 = g_quark_from_static_string ("wow64"))))) || (_tmp2_ == ((0 != _tmp1_label71) ? _tmp1_label71 : (_tmp1_label71 = g_quark_from_static_string ("writecopy"))))) || (_tmp2_ == ((0 != _tmp1_label72) ? _tmp1_label72 : (_tmp1_label72 = g_quark_from_static_string ("vulkan-sync2"))))) || (_tmp2_ == ((0 != _tmp1_label73) ? _tmp1_label73 : (_tmp1_label73 = g_quark_from_static_string ("futex-waitv"))))) || (_tmp2_ == ((0 != _tmp1_label74) ? _tmp1_label74 : (_tmp1_label74 = g_quark_from_static_string ("amd-staging-shm"))))) || (_tmp2_ == ((0 != _tmp1_label75) ? _tmp1_label75 : (_tmp1_label75 = g_quark_from_static_string ("prefer-sdl"))))) || (_tmp2_ == ((0 != _tmp1_label76) ? _tmp1_label76 : (_tmp1_label76 = g_quark_from_static_string ("bypass-steam-input"))))) || (_tmp2_ == ((0 != _tmp1_label77) ? _tmp1_label77 : (_tmp1_label77 = g_quark_from_static_string ("pulse-latency"))))) || (_tmp2_ == ((0 != _tmp1_label78) ? _tmp1_label78 : (_tmp1_label78 = g_quark_from_static_string ("steam-command"))))) || (_tmp2_ == ((0 != _tmp1_label79) ? _tmp1_label79 : (_tmp1_label79 = g_quark_from_static_string ("wined3d"))))) || (_tmp2_ == ((0 != _tmp1_label80) ? _tmp1_label80 : (_tmp1_label80 = g_quark_from_static_string ("ntsync-mode"))))) || (_tmp2_ == ((0 != _tmp1_label81) ? _tmp1_label81 : (_tmp1_label81 = g_quark_from_static_string ("large-address-aware"))))) || (_tmp2_ == ((0 != _tmp1_label82) ? _tmp1_label82 : (_tmp1_label82 = g_quark_from_static_string ("dll-overrides"))))) || (_tmp2_ == ((0 != _tmp1_label83) ? _tmp1_label83 : (_tmp1_label83 = g_quark_from_static_string ("proton-debug-log"))))) || (_tmp2_ == ((0 != _tmp1_label84) ? _tmp1_label84 : (_tmp1_label84 = g_quark_from_static_string ("nvidia-report-amd"))))) || (_tmp2_ == ((0 != _tmp1_label85) ? _tmp1_label85 : (_tmp1_label85 = g_quark_from_static_string ("skip-launcher"))))) || (_tmp2_ == ((0 != _tmp1_label86) ? _tmp1_label86 : (_tmp1_label86 = g_quark_from_static_string ("renderer-vulkan"))))) || (_tmp2_ == ((0 != _tmp1_label87) ? _tmp1_label87 : (_tmp1_label87 = g_quark_from_static_string ("renderer-dx11"))))) || (_tmp2_ == ((0 != _tmp1_label88) ? _tmp1_label88 : (_tmp1_label88 = g_quark_from_static_string ("renderer-dx12"))))) || (_tmp2_ == ((0 != _tmp1_label89) ? _tmp1_label89 : (_tmp1_label89 = g_quark_from_static_string ("developer-console"))))) {
		switch (0) {
			default:
			{
				result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_VERIFIED_CURRENT;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNKNOWN_UNVERIFIED;
				return result;
			}
		}
	}
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_is_managed_emission (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                           const gchar* id)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport support = 0;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (id != NULL, FALSE);
	support = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_support_for (self, id);
	if (support != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNSUPPORTED) {
		_tmp2_ = support != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNKNOWN_UNVERIFIED;
	} else {
		_tmp2_ = FALSE;
	}
	if (_tmp2_) {
		_tmp1_ = support != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_LEGACY_DEPRECATED;
	} else {
		_tmp1_ = FALSE;
	}
	if (_tmp1_) {
		_tmp0_ = g_strcmp0 (id, "steam-command") != 0;
	} else {
		_tmp0_ = FALSE;
	}
	result = _tmp0_;
	return result;
}

static gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_scopebuddy_owner (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                        const gchar* id)
{
	gboolean _tmp0_ = FALSE;
	gchar* _tmp2_;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	if (g_strcmp0 (id, "scopebuddy-auto-hdr") == 0) {
		_tmp0_ = TRUE;
	} else {
		_tmp0_ = g_strcmp0 (id, "scopebuddy-auto-vrr") == 0;
	}
	if (_tmp0_) {
		gchar* _tmp1_;
		_tmp1_ = g_strdup ("scopebuddy");
		result = _tmp1_;
		return result;
	}
	_tmp2_ = g_strdup ("");
	result = _tmp2_;
	return result;
}

static gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_backend_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                            gchar** dependencies,
                                                                                            gint dependencies_length1,
                                                                                            gint* result_length1)
{
	GeeArrayList* merged = NULL;
	GeeArrayList* _tmp0_;
	GeeArrayList* _tmp4_;
	GeeArrayList* _tmp6_;
	gint _tmp7_ = 0;
	gpointer* _tmp8_;
	gchar** _tmp9_;
	gint _tmp9__length1;
	gchar** result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
	merged = _tmp0_;
	{
		gchar** dependency_collection = NULL;
		gint dependency_collection_length1 = 0;
		gint _dependency_collection_size_ = 0;
		gint dependency_it = 0;
		dependency_collection = dependencies;
		dependency_collection_length1 = dependencies_length1;
		for (dependency_it = 0; dependency_it < dependency_collection_length1; dependency_it = dependency_it + 1) {
			gchar* _tmp1_;
			gchar* dependency = NULL;
			_tmp1_ = g_strdup (dependency_collection[dependency_it]);
			dependency = _tmp1_;
			{
				GeeArrayList* _tmp2_;
				const gchar* _tmp3_;
				_tmp2_ = merged;
				_tmp3_ = dependency;
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp2_, _tmp3_);
				_g_free0 (dependency);
			}
		}
	}
	_tmp4_ = merged;
	if (!gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp4_, "launch-backend")) {
		GeeArrayList* _tmp5_;
		_tmp5_ = merged;
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp5_, "launch-backend");
	}
	_tmp6_ = merged;
	_tmp8_ = gee_collection_to_array ((GeeCollection*) _tmp6_, &_tmp7_);
	_tmp9_ = _tmp8_;
	_tmp9__length1 = _tmp7_;
	if (result_length1) {
		*result_length1 = _tmp9__length1;
	}
	result = _tmp9_;
	_g_object_unref0 (merged);
	return result;
}

static gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_renderer_conflict_group (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                               const gchar* id)
{
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gchar* _tmp3_;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	if (g_strcmp0 (id, "renderer-vulkan") == 0) {
		_tmp1_ = TRUE;
	} else {
		_tmp1_ = g_strcmp0 (id, "renderer-dx11") == 0;
	}
	if (_tmp1_) {
		_tmp0_ = TRUE;
	} else {
		_tmp0_ = g_strcmp0 (id, "renderer-dx12") == 0;
	}
	if (_tmp0_) {
		gchar* _tmp2_;
		_tmp2_ = g_strdup ("renderer-selection");
		result = _tmp2_;
		return result;
	}
	_tmp3_ = g_strdup ("");
	result = _tmp3_;
	return result;
}

static gchar*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_conflict_group_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                          const gchar* id)
{
	gboolean _tmp0_ = FALSE;
	gchar* _tmp2_;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	if (g_strcmp0 (id, "amd-fsr4") == 0) {
		_tmp0_ = TRUE;
	} else {
		_tmp0_ = g_strcmp0 (id, "amd-fsr4-rdna3") == 0;
	}
	if (_tmp0_) {
		gchar* _tmp1_;
		_tmp1_ = g_strdup ("amd-fsr4-upgrade");
		result = _tmp1_;
		return result;
	}
	_tmp2_ = g_strdup ("");
	result = _tmp2_;
	return result;
}

static gchar**
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_conflicts_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                     const gchar* id,
                                                                                     gint* result_length1)
{
	const gchar* _tmp0_;
	GQuark _tmp2_ = 0U;
	static GQuark _tmp1_label0 = 0;
	static GQuark _tmp1_label1 = 0;
	static GQuark _tmp1_label2 = 0;
	static GQuark _tmp1_label3 = 0;
	static GQuark _tmp1_label4 = 0;
	static GQuark _tmp1_label5 = 0;
	static GQuark _tmp1_label6 = 0;
	static GQuark _tmp1_label7 = 0;
	static GQuark _tmp1_label8 = 0;
	static GQuark _tmp1_label9 = 0;
	static GQuark _tmp1_label10 = 0;
	static GQuark _tmp1_label11 = 0;
	static GQuark _tmp1_label12 = 0;
	static GQuark _tmp1_label13 = 0;
	static GQuark _tmp1_label14 = 0;
	static GQuark _tmp1_label15 = 0;
	static GQuark _tmp1_label16 = 0;
	gchar** result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	_tmp0_ = id;
	_tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
	if ((_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("mangohud")))) || (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("performance-overlay"))))) {
		switch (0) {
			default:
			{
				gchar* _tmp3_;
				gchar** _tmp4_;
				gchar** _tmp5_;
				gint _tmp5__length1;
				_tmp3_ = g_strdup ("mangohud-vulkan");
				_tmp4_ = g_new0 (gchar*, 1 + 1);
				_tmp4_[0] = _tmp3_;
				_tmp5_ = _tmp4_;
				_tmp5__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp5__length1;
				}
				result = _tmp5_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("mangohud-vulkan")))) {
		switch (0) {
			default:
			{
				gchar* _tmp6_;
				gchar** _tmp7_;
				gchar** _tmp8_;
				gint _tmp8__length1;
				_tmp6_ = g_strdup ("performance-overlay");
				_tmp7_ = g_new0 (gchar*, 1 + 1);
				_tmp7_[0] = _tmp6_;
				_tmp8_ = _tmp7_;
				_tmp8__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp8__length1;
				}
				result = _tmp8_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("gamemode")))) {
		switch (0) {
			default:
			{
				gchar* _tmp9_;
				gchar** _tmp10_;
				gchar** _tmp11_;
				gint _tmp11__length1;
				_tmp9_ = g_strdup ("game-performance");
				_tmp10_ = g_new0 (gchar*, 1 + 1);
				_tmp10_[0] = _tmp9_;
				_tmp11_ = _tmp10_;
				_tmp11__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp11__length1;
				}
				result = _tmp11_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label4) ? _tmp1_label4 : (_tmp1_label4 = g_quark_from_static_string ("game-performance")))) {
		switch (0) {
			default:
			{
				gchar* _tmp12_;
				gchar** _tmp13_;
				gchar** _tmp14_;
				gint _tmp14__length1;
				_tmp12_ = g_strdup ("gamemode");
				_tmp13_ = g_new0 (gchar*, 1 + 1);
				_tmp13_[0] = _tmp12_;
				_tmp14_ = _tmp13_;
				_tmp14__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp14__length1;
				}
				result = _tmp14_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label5) ? _tmp1_label5 : (_tmp1_label5 = g_quark_from_static_string ("amd-anti-lag")))) {
		switch (0) {
			default:
			{
				gchar* _tmp15_;
				gchar** _tmp16_;
				gchar** _tmp17_;
				gint _tmp17__length1;
				_tmp15_ = g_strdup ("cachyos-vulkan-low-latency");
				_tmp16_ = g_new0 (gchar*, 1 + 1);
				_tmp16_[0] = _tmp15_;
				_tmp17_ = _tmp16_;
				_tmp17__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp17__length1;
				}
				result = _tmp17_;
				return result;
			}
		}
	} else if ((_tmp2_ == ((0 != _tmp1_label6) ? _tmp1_label6 : (_tmp1_label6 = g_quark_from_static_string ("dxvk-hdr")))) || (_tmp2_ == ((0 != _tmp1_label7) ? _tmp1_label7 : (_tmp1_label7 = g_quark_from_static_string ("proton-hdr"))))) {
		switch (0) {
			default:
			{
				gchar* _tmp18_;
				gchar** _tmp19_;
				gchar** _tmp20_;
				gint _tmp20__length1;
				_tmp18_ = g_strdup ("dxvk-no-hdr");
				_tmp19_ = g_new0 (gchar*, 1 + 1);
				_tmp19_[0] = _tmp18_;
				_tmp20_ = _tmp19_;
				_tmp20__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp20__length1;
				}
				result = _tmp20_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label8) ? _tmp1_label8 : (_tmp1_label8 = g_quark_from_static_string ("dxvk-no-hdr")))) {
		switch (0) {
			default:
			{
				gchar* _tmp21_;
				gchar* _tmp22_;
				gchar** _tmp23_;
				gchar** _tmp24_;
				gint _tmp24__length1;
				_tmp21_ = g_strdup ("dxvk-hdr");
				_tmp22_ = g_strdup ("proton-hdr");
				_tmp23_ = g_new0 (gchar*, 2 + 1);
				_tmp23_[0] = _tmp21_;
				_tmp23_[1] = _tmp22_;
				_tmp24_ = _tmp23_;
				_tmp24__length1 = 2;
				if (result_length1) {
					*result_length1 = _tmp24__length1;
				}
				result = _tmp24_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label9) ? _tmp1_label9 : (_tmp1_label9 = g_quark_from_static_string ("cachyos-vulkan-low-latency")))) {
		switch (0) {
			default:
			{
				gchar* _tmp25_;
				gchar* _tmp26_;
				gchar* _tmp27_;
				gchar** _tmp28_;
				gchar** _tmp29_;
				gint _tmp29__length1;
				_tmp25_ = g_strdup ("amd-anti-lag");
				_tmp26_ = g_strdup ("amd-fsr4");
				_tmp27_ = g_strdup ("amd-fsr4-rdna3");
				_tmp28_ = g_new0 (gchar*, 3 + 1);
				_tmp28_[0] = _tmp25_;
				_tmp28_[1] = _tmp26_;
				_tmp28_[2] = _tmp27_;
				_tmp29_ = _tmp28_;
				_tmp29__length1 = 3;
				if (result_length1) {
					*result_length1 = _tmp29__length1;
				}
				result = _tmp29_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label10) ? _tmp1_label10 : (_tmp1_label10 = g_quark_from_static_string ("cachyos-vkd3d-low-latency")))) {
		switch (0) {
			default:
			{
				gchar* _tmp30_;
				gchar** _tmp31_;
				gchar** _tmp32_;
				gint _tmp32__length1;
				_tmp30_ = g_strdup ("amd-mlfg");
				_tmp31_ = g_new0 (gchar*, 1 + 1);
				_tmp31_[0] = _tmp30_;
				_tmp32_ = _tmp31_;
				_tmp32__length1 = 1;
				if (result_length1) {
					*result_length1 = _tmp32__length1;
				}
				result = _tmp32_;
				return result;
			}
		}
	} else if (_tmp2_ == ((0 != _tmp1_label11) ? _tmp1_label11 : (_tmp1_label11 = g_quark_from_static_string ("amd-mlfg")))) {
		switch (0) {
			default:
			{
				gchar* _tmp33_;
				gchar* _tmp34_;
				gchar* _tmp35_;
				gchar* _tmp36_;
				gchar** _tmp37_;
				gchar** _tmp38_;
				gint _tmp38__length1;
				_tmp33_ = g_strdup ("cachyos-vkd3d-low-latency");
				_tmp34_ = g_strdup ("amd-reflex-dxgi-spoof");
				_tmp35_ = g_strdup ("amd-reflex-force-nvapi");
				_tmp36_ = g_strdup ("amd-reflex-layer-spoof");
				_tmp37_ = g_new0 (gchar*, 4 + 1);
				_tmp37_[0] = _tmp33_;
				_tmp37_[1] = _tmp34_;
				_tmp37_[2] = _tmp35_;
				_tmp37_[3] = _tmp36_;
				_tmp38_ = _tmp37_;
				_tmp38__length1 = 4;
				if (result_length1) {
					*result_length1 = _tmp38__length1;
				}
				result = _tmp38_;
				return result;
			}
		}
	} else if ((_tmp2_ == ((0 != _tmp1_label12) ? _tmp1_label12 : (_tmp1_label12 = g_quark_from_static_string ("amd-fsr4")))) || (_tmp2_ == ((0 != _tmp1_label13) ? _tmp1_label13 : (_tmp1_label13 = g_quark_from_static_string ("amd-fsr4-rdna3"))))) {
		switch (0) {
			default:
			{
				gchar* _tmp39_;
				gchar* _tmp40_;
				gchar* _tmp41_;
				gchar* _tmp42_;
				gchar** _tmp43_;
				gchar** _tmp44_;
				gint _tmp44__length1;
				_tmp39_ = g_strdup ("cachyos-vulkan-low-latency");
				_tmp40_ = g_strdup ("amd-reflex-dxgi-spoof");
				_tmp41_ = g_strdup ("amd-reflex-force-nvapi");
				_tmp42_ = g_strdup ("amd-reflex-layer-spoof");
				_tmp43_ = g_new0 (gchar*, 4 + 1);
				_tmp43_[0] = _tmp39_;
				_tmp43_[1] = _tmp40_;
				_tmp43_[2] = _tmp41_;
				_tmp43_[3] = _tmp42_;
				_tmp44_ = _tmp43_;
				_tmp44__length1 = 4;
				if (result_length1) {
					*result_length1 = _tmp44__length1;
				}
				result = _tmp44_;
				return result;
			}
		}
	} else if (((_tmp2_ == ((0 != _tmp1_label14) ? _tmp1_label14 : (_tmp1_label14 = g_quark_from_static_string ("amd-reflex-dxgi-spoof")))) || (_tmp2_ == ((0 != _tmp1_label15) ? _tmp1_label15 : (_tmp1_label15 = g_quark_from_static_string ("amd-reflex-force-nvapi"))))) || (_tmp2_ == ((0 != _tmp1_label16) ? _tmp1_label16 : (_tmp1_label16 = g_quark_from_static_string ("amd-reflex-layer-spoof"))))) {
		switch (0) {
			default:
			{
				gchar* _tmp45_;
				gchar* _tmp46_;
				gchar* _tmp47_;
				gchar** _tmp48_;
				gchar** _tmp49_;
				gint _tmp49__length1;
				_tmp45_ = g_strdup ("amd-fsr4");
				_tmp46_ = g_strdup ("amd-fsr4-rdna3");
				_tmp47_ = g_strdup ("amd-mlfg");
				_tmp48_ = g_new0 (gchar*, 3 + 1);
				_tmp48_[0] = _tmp45_;
				_tmp48_[1] = _tmp46_;
				_tmp48_[2] = _tmp47_;
				_tmp49_ = _tmp48_;
				_tmp49__length1 = 3;
				if (result_length1) {
					*result_length1 = _tmp49__length1;
				}
				result = _tmp49_;
				return result;
			}
		}
	} else {
		switch (0) {
			default:
			{
				gchar** _tmp50_;
				gchar** _tmp51_;
				gint _tmp51__length1;
				_tmp50_ = g_new0 (gchar*, 0 + 1);
				_tmp51_ = _tmp50_;
				_tmp51__length1 = 0;
				if (result_length1) {
					*result_length1 = _tmp51__length1;
				}
				result = _tmp51_;
				return result;
			}
		}
	}
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability*
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_capabilities_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                        const gchar* id,
                                                                                        gint* result_length1)
{
	gboolean _tmp24_ = FALSE;
	gboolean _tmp25_ = FALSE;
	gboolean _tmp41_ = FALSE;
	gboolean _tmp44_ = FALSE;
	gboolean _tmp45_ = FALSE;
	gboolean _tmp46_ = FALSE;
	gboolean _tmp47_ = FALSE;
	gboolean _tmp48_ = FALSE;
	gboolean _tmp49_ = FALSE;
	gboolean _tmp50_ = FALSE;
	gboolean _tmp51_ = FALSE;
	gboolean _tmp52_ = FALSE;
	gboolean _tmp53_ = FALSE;
	gboolean _tmp54_ = FALSE;
	gboolean _tmp55_ = FALSE;
	gboolean _tmp56_ = FALSE;
	gboolean _tmp57_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp60_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp61_;
	gint _tmp61__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (id != NULL, NULL);
	if (g_strcmp0 (id, "vkbasalt") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp0_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp1_;
		gint _tmp1__length1;
		_tmp0_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp0_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VKBASALT;
		_tmp1_ = _tmp0_;
		_tmp1__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp1__length1;
		}
		result = _tmp1_;
		return result;
	}
	if (g_strcmp0 (id, "mangohud-vulkan") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp2_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp3_;
		gint _tmp3__length1;
		_tmp2_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp2_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_MANGOHUD;
		_tmp3_ = _tmp2_;
		_tmp3__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp3__length1;
		}
		result = _tmp3_;
		return result;
	}
	if (g_strcmp0 (id, "obs-vkcapture") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp4_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp5_;
		gint _tmp5__length1;
		_tmp4_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp4_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_OBS_VKCAPTURE;
		_tmp5_ = _tmp4_;
		_tmp5__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp5__length1;
		}
		result = _tmp5_;
		return result;
	}
	if (g_strcmp0 (id, "proton-hdr") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp6_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp7_;
		gint _tmp7__length1;
		_tmp6_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp6_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_LEGACY_PROTON_HDR;
		_tmp7_ = _tmp6_;
		_tmp7__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp7__length1;
		}
		result = _tmp7_;
		return result;
	}
	if (g_strcmp0 (id, "dxvk-no-hdr") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp8_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp9_;
		gint _tmp9__length1;
		_tmp8_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp8_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_AUTO_HDR_CONTROL;
		_tmp9_ = _tmp8_;
		_tmp9__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp9__length1;
		}
		result = _tmp9_;
		return result;
	}
	if (g_strcmp0 (id, "amd-fsr4") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp10_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp11_;
		gint _tmp11__length1;
		_tmp10_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
		_tmp10_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD;
		_tmp10_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_FSR4;
		_tmp11_ = _tmp10_;
		_tmp11__length1 = 2;
		if (result_length1) {
			*result_length1 = _tmp11__length1;
		}
		result = _tmp11_;
		return result;
	}
	if (g_strcmp0 (id, "amd-fsr4-rdna3") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp12_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp13_;
		gint _tmp13__length1;
		_tmp12_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
		_tmp12_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD;
		_tmp12_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_FSR4_RDNA3;
		_tmp13_ = _tmp12_;
		_tmp13__length1 = 2;
		if (result_length1) {
			*result_length1 = _tmp13__length1;
		}
		result = _tmp13_;
		return result;
	}
	if (g_strcmp0 (id, "amd-mlfg") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp14_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp15_;
		gint _tmp15__length1;
		_tmp14_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
		_tmp14_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD;
		_tmp14_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_MLFG;
		_tmp15_ = _tmp14_;
		_tmp15__length1 = 2;
		if (result_length1) {
			*result_length1 = _tmp15__length1;
		}
		result = _tmp15_;
		return result;
	}
	if (g_strcmp0 (id, "amd-mlfg-rdna3-workaround") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp16_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp17_;
		gint _tmp17__length1;
		_tmp16_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
		_tmp16_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD;
		_tmp16_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_MLFG;
		_tmp17_ = _tmp16_;
		_tmp17__length1 = 2;
		if (result_length1) {
			*result_length1 = _tmp17__length1;
		}
		result = _tmp17_;
		return result;
	}
	if (g_strcmp0 (id, "cachyos-dxvk-low-latency") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp18_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp19_;
		gint _tmp19__length1;
		_tmp18_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp18_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_DXVK_LOW_LATENCY;
		_tmp19_ = _tmp18_;
		_tmp19__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp19__length1;
		}
		result = _tmp19_;
		return result;
	}
	if (g_strcmp0 (id, "cachyos-vkd3d-low-latency") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp20_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp21_;
		gint _tmp21__length1;
		_tmp20_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp20_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON_VKD3D_LOW_LATENCY;
		_tmp21_ = _tmp20_;
		_tmp21__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp21__length1;
		}
		result = _tmp21_;
		return result;
	}
	if (g_strcmp0 (id, "cachyos-vulkan-reflex-layer") == 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp22_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp23_;
		gint _tmp23__length1;
		_tmp22_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
		_tmp22_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_NVIDIA;
		_tmp22_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VULKAN_REFLEX_LAYER;
		_tmp23_ = _tmp22_;
		_tmp23__length1 = 2;
		if (result_length1) {
			*result_length1 = _tmp23__length1;
		}
		result = _tmp23_;
		return result;
	}
	if (g_strcmp0 (id, "cachyos-vulkan-low-latency") == 0) {
		_tmp25_ = TRUE;
	} else {
		_tmp25_ = g_strcmp0 (id, "cachyos-vulkan-reflex") == 0;
	}
	if (_tmp25_) {
		_tmp24_ = TRUE;
	} else {
		_tmp24_ = g_str_has_prefix (id, "amd-reflex-");
	}
	if (_tmp24_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp26_ = NULL;
		gint _tmp26__length1 = 0;
		gint __tmp26__size_ = 0;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp29_;
		gint _tmp29__length1;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp30_;
		gint _tmp30__length1;
		if (g_str_has_prefix (id, "amd-reflex-")) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp27_;
			_tmp27_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
			_tmp27_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD;
			_tmp27_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_LOW_LATENCY_LAYER;
			_tmp26_ = (g_free (_tmp26_), NULL);
			_tmp26_ = _tmp27_;
			_tmp26__length1 = 2;
			__tmp26__size_ = _tmp26__length1;
		} else {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp28_;
			_tmp28_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
			_tmp28_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_LOW_LATENCY_LAYER;
			_tmp26_ = (g_free (_tmp26_), NULL);
			_tmp26_ = _tmp28_;
			_tmp26__length1 = 1;
			__tmp26__size_ = _tmp26__length1;
		}
		_tmp29_ = _tmp26_;
		_tmp29__length1 = _tmp26__length1;
		_tmp26_ = NULL;
		_tmp26__length1 = 0;
		_tmp30_ = _tmp29_;
		_tmp30__length1 = _tmp29__length1;
		if (result_length1) {
			*result_length1 = _tmp30__length1;
		}
		result = _tmp30_;
		_tmp26_ = (g_free (_tmp26_), NULL);
		return result;
	}
	if (g_str_has_prefix (id, "amd-")) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp31_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp32_;
		gint _tmp32__length1;
		_tmp31_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp31_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_AMD;
		_tmp32_ = _tmp31_;
		_tmp32__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp32__length1;
		}
		result = _tmp32_;
		return result;
	}
	if (g_str_has_prefix (id, "nvidia-")) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp33_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp34_;
		gint _tmp34__length1;
		_tmp33_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
		_tmp33_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_NVIDIA;
		_tmp33_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON;
		_tmp34_ = _tmp33_;
		_tmp34__length1 = 2;
		if (result_length1) {
			*result_length1 = _tmp34__length1;
		}
		result = _tmp34_;
		return result;
	}
	if (g_str_has_prefix (id, "intel-")) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp35_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp36_;
		gint _tmp36__length1;
		_tmp35_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 2);
		_tmp35_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_INTEL;
		_tmp35_[1] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON;
		_tmp36_ = _tmp35_;
		_tmp36__length1 = 2;
		if (result_length1) {
			*result_length1 = _tmp36__length1;
		}
		result = _tmp36_;
		return result;
	}
	if (g_str_has_prefix (id, "dxvk-")) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp37_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp38_;
		gint _tmp38__length1;
		_tmp37_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp37_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_DXVK;
		_tmp38_ = _tmp37_;
		_tmp38__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp38__length1;
		}
		result = _tmp38_;
		return result;
	}
	if (g_str_has_prefix (id, "vkd3d-")) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp39_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp40_;
		gint _tmp40__length1;
		_tmp39_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp39_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_VKD3D_PROTON;
		_tmp40_ = _tmp39_;
		_tmp40__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp40__length1;
		}
		result = _tmp40_;
		return result;
	}
	if (g_strcmp0 (id, "scopebuddy-auto-hdr") == 0) {
		_tmp41_ = TRUE;
	} else {
		_tmp41_ = g_strcmp0 (id, "scopebuddy-auto-vrr") == 0;
	}
	if (_tmp41_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp42_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp43_;
		gint _tmp43__length1;
		_tmp42_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp42_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_SCOPEBUDDY;
		_tmp43_ = _tmp42_;
		_tmp43__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp43__length1;
		}
		result = _tmp43_;
		return result;
	}
	if (g_strcmp0 (id, "native-wayland") == 0) {
		_tmp57_ = TRUE;
	} else {
		_tmp57_ = g_str_has_prefix (id, "proton-");
	}
	if (_tmp57_) {
		_tmp56_ = TRUE;
	} else {
		_tmp56_ = g_strcmp0 (id, "wined3d") == 0;
	}
	if (_tmp56_) {
		_tmp55_ = TRUE;
	} else {
		_tmp55_ = g_strcmp0 (id, "d7vk") == 0;
	}
	if (_tmp55_) {
		_tmp54_ = TRUE;
	} else {
		_tmp54_ = g_strcmp0 (id, "ntsync-mode") == 0;
	}
	if (_tmp54_) {
		_tmp53_ = TRUE;
	} else {
		_tmp53_ = g_strcmp0 (id, "wow64") == 0;
	}
	if (_tmp53_) {
		_tmp52_ = TRUE;
	} else {
		_tmp52_ = g_strcmp0 (id, "large-address-aware") == 0;
	}
	if (_tmp52_) {
		_tmp51_ = TRUE;
	} else {
		_tmp51_ = g_strcmp0 (id, "writecopy") == 0;
	}
	if (_tmp51_) {
		_tmp50_ = TRUE;
	} else {
		_tmp50_ = g_strcmp0 (id, "vulkan-sync2") == 0;
	}
	if (_tmp50_) {
		_tmp49_ = TRUE;
	} else {
		_tmp49_ = g_strcmp0 (id, "futex-waitv") == 0;
	}
	if (_tmp49_) {
		_tmp48_ = TRUE;
	} else {
		_tmp48_ = g_strcmp0 (id, "optiscaler") == 0;
	}
	if (_tmp48_) {
		_tmp47_ = TRUE;
	} else {
		_tmp47_ = g_strcmp0 (id, "discord-bridge") == 0;
	}
	if (_tmp47_) {
		_tmp46_ = TRUE;
	} else {
		_tmp46_ = g_strcmp0 (id, "prefer-sdl") == 0;
	}
	if (_tmp46_) {
		_tmp45_ = TRUE;
	} else {
		_tmp45_ = g_strcmp0 (id, "bypass-steam-input") == 0;
	}
	if (_tmp45_) {
		_tmp44_ = TRUE;
	} else {
		_tmp44_ = g_str_has_prefix (id, "winealsa-");
	}
	if (_tmp44_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp58_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp59_;
		gint _tmp59__length1;
		_tmp58_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 1);
		_tmp58_[0] = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CAPABILITY_PROTON;
		_tmp59_ = _tmp58_;
		_tmp59__length1 = 1;
		if (result_length1) {
			*result_length1 = _tmp59__length1;
		}
		result = _tmp59_;
		return result;
	}
	_tmp60_ = g_new0 (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability, 0);
	_tmp61_ = _tmp60_;
	_tmp61__length1 = 0;
	if (result_length1) {
		*result_length1 = _tmp61__length1;
	}
	result = _tmp61_;
	return result;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_applicability_for (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                         const gchar* id)
{
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_ = FALSE;
	gboolean _tmp9_ = FALSE;
	gboolean _tmp10_ = FALSE;
	gboolean _tmp11_ = FALSE;
	gboolean _tmp12_ = FALSE;
	gboolean _tmp13_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability result;
	g_return_val_if_fail (self != NULL, 0);
	g_return_val_if_fail (id != NULL, 0);
	if (g_strcmp0 (id, "d7vk") == 0) {
		_tmp3_ = TRUE;
	} else {
		_tmp3_ = g_strcmp0 (id, "optiscaler") == 0;
	}
	if (_tmp3_) {
		_tmp2_ = TRUE;
	} else {
		_tmp2_ = g_strcmp0 (id, "discord-bridge") == 0;
	}
	if (_tmp2_) {
		_tmp1_ = TRUE;
	} else {
		_tmp1_ = g_strcmp0 (id, "winealsa-channels") == 0;
	}
	if (_tmp1_) {
		_tmp0_ = TRUE;
	} else {
		_tmp0_ = g_strcmp0 (id, "winealsa-spatial") == 0;
	}
	if (_tmp0_) {
		result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_VARIANT_SPECIFIC;
		return result;
	}
	if (g_str_has_prefix (id, "amd-")) {
		_tmp13_ = TRUE;
	} else {
		_tmp13_ = g_str_has_prefix (id, "nvidia-");
	}
	if (_tmp13_) {
		_tmp12_ = TRUE;
	} else {
		_tmp12_ = g_str_has_prefix (id, "intel-");
	}
	if (_tmp12_) {
		_tmp11_ = TRUE;
	} else {
		_tmp11_ = g_str_has_prefix (id, "dxvk-");
	}
	if (_tmp11_) {
		_tmp10_ = TRUE;
	} else {
		_tmp10_ = g_str_has_prefix (id, "vkd3d-");
	}
	if (_tmp10_) {
		_tmp9_ = TRUE;
	} else {
		_tmp9_ = g_str_has_prefix (id, "cachyos-");
	}
	if (_tmp9_) {
		_tmp8_ = TRUE;
	} else {
		_tmp8_ = g_strcmp0 (id, "vkbasalt") == 0;
	}
	if (_tmp8_) {
		_tmp7_ = TRUE;
	} else {
		_tmp7_ = g_str_has_prefix (id, "scopebuddy-");
	}
	if (_tmp7_) {
		_tmp6_ = TRUE;
	} else {
		_tmp6_ = g_strcmp0 (id, "proton-hdr") == 0;
	}
	if (_tmp6_) {
		_tmp5_ = TRUE;
	} else {
		_tmp5_ = g_strcmp0 (id, "mangohud-vulkan") == 0;
	}
	if (_tmp5_) {
		_tmp4_ = TRUE;
	} else {
		_tmp4_ = g_strcmp0 (id, "obs-vkcapture") == 0;
	}
	if (_tmp4_) {
		result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_COMPONENT_SPECIFIC;
		return result;
	}
	result = PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_GENERIC;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_option_semantics (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                 ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry,
                                                                                                 GeeList* diagnostics)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics = NULL;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp0_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp1_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp2_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp3_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp8_;
	gchar** _tmp9_;
	gint _tmp9__length1;
	gint _tmp10_ = 0;
	gchar** _tmp11_;
	gint _tmp11__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp54_;
	gchar** _tmp55_;
	gint _tmp55__length1;
	gint _tmp56_ = 0;
	gchar** _tmp57_;
	gint _tmp57__length1;
	gboolean _tmp78_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp79_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp80_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp81_;
	gboolean _tmp91_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp92_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp93_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp94_;
	gboolean _tmp103_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp104_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp105_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp106_;
	gboolean _tmp119_ = FALSE;
	gboolean _tmp120_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp121_;
	const gchar* _tmp122_;
	const gchar* _tmp123_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp139_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp140_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp141_;
	gboolean _tmp156_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp157_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp158_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp159_;
	gboolean _tmp166_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp167_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp168_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp169_;
	gboolean _tmp176_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp177_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp178_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp179_;
	gboolean _tmp187_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp188_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp189_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp190_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp198_;
	gchar** _tmp199_;
	gint _tmp199__length1;
	gint _tmp200_ = 0;
	gchar** _tmp201_;
	gint _tmp201__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp238_;
	gchar** _tmp239_;
	gint _tmp239__length1;
	gint _tmp240_ = 0;
	gchar** _tmp241_;
	gint _tmp241__length1;
	gboolean _tmp268_ = FALSE;
	gboolean _tmp269_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp270_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp271_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp272_;
	gboolean _tmp283_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp284_;
	gboolean _tmp285_;
	gboolean _tmp286_;
	gboolean _tmp294_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp295_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp296_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp297_;
	gboolean _tmp305_ = FALSE;
	gboolean _tmp306_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp307_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp308_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp309_;
	gboolean _tmp320_ = FALSE;
	gboolean _tmp321_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp322_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp323_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp324_;
	gboolean _tmp335_ = FALSE;
	gboolean _tmp336_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp337_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp338_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp339_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp350_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp351_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp352_;
	const gchar* _tmp373_;
	const gchar* _tmp374_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp375_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp376_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp377_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp378_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (entry != NULL);
	g_return_if_fail (diagnostics != NULL);
	_tmp0_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (entry);
	_tmp1_ = _tmp0_;
	_tmp2_ = _g_object_ref0 (_tmp1_);
	semantics = _tmp2_;
	_tmp3_ = semantics;
	if (_tmp3_ == NULL) {
		const gchar* _tmp4_;
		const gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		_tmp4_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp5_ = _tmp4_;
		_tmp6_ = g_strdup_printf ("Option '%s' has no semantic definition.", _tmp5_);
		_tmp7_ = _tmp6_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp7_);
		_g_free0 (_tmp7_);
		_g_object_unref0 (semantics);
		return;
	}
	_tmp8_ = semantics;
	_tmp9_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_dependencies (_tmp8_, &_tmp10_);
	_tmp9__length1 = _tmp10_;
	_tmp11_ = _tmp9_;
	_tmp11__length1 = _tmp9__length1;
	{
		gchar** dependency_collection = NULL;
		gint dependency_collection_length1 = 0;
		gint _dependency_collection_size_ = 0;
		gint dependency_it = 0;
		dependency_collection = _tmp11_;
		dependency_collection_length1 = _tmp11__length1;
		for (dependency_it = 0; dependency_it < dependency_collection_length1; dependency_it = dependency_it + 1) {
			gchar* _tmp12_;
			gchar* dependency = NULL;
			_tmp12_ = g_strdup (dependency_collection[dependency_it]);
			dependency = _tmp12_;
			{
				gboolean _tmp13_ = FALSE;
				const gchar* _tmp14_;
				gchar* _tmp15_;
				gchar* _tmp16_;
				gboolean _tmp17_;
				const gchar* _tmp25_;
				const gchar* _tmp26_;
				const gchar* _tmp27_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* dependency_entry = NULL;
				const gchar* _tmp32_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp33_;
				gboolean _tmp34_ = FALSE;
				gboolean _tmp35_ = FALSE;
				gboolean _tmp36_ = FALSE;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp37_;
				gboolean _tmp38_;
				gboolean _tmp39_;
				_tmp14_ = dependency;
				_tmp15_ = string_strip (_tmp14_);
				_tmp16_ = _tmp15_;
				_tmp17_ = g_strcmp0 (_tmp16_, "") == 0;
				_g_free0 (_tmp16_);
				if (_tmp17_) {
					_tmp13_ = TRUE;
				} else {
					GeeHashMap* _tmp18_;
					const gchar* _tmp19_;
					_tmp18_ = self->priv->by_id;
					_tmp19_ = dependency;
					_tmp13_ = !gee_abstract_map_has_key ((GeeAbstractMap*) _tmp18_, _tmp19_);
				}
				if (_tmp13_) {
					const gchar* _tmp20_;
					const gchar* _tmp21_;
					const gchar* _tmp22_;
					gchar* _tmp23_;
					gchar* _tmp24_;
					_tmp20_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp21_ = _tmp20_;
					_tmp22_ = dependency;
					_tmp23_ = g_strdup_printf ("Option '%s' has an unknown dependency '%s'.", _tmp21_, _tmp22_);
					_tmp24_ = _tmp23_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp24_);
					_g_free0 (_tmp24_);
				}
				_tmp25_ = dependency;
				_tmp26_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
				_tmp27_ = _tmp26_;
				if (g_strcmp0 (_tmp25_, _tmp27_) == 0) {
					const gchar* _tmp28_;
					const gchar* _tmp29_;
					gchar* _tmp30_;
					gchar* _tmp31_;
					_tmp28_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp29_ = _tmp28_;
					_tmp30_ = g_strdup_printf ("Option '%s' must not depend on itself.", _tmp29_);
					_tmp31_ = _tmp30_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp31_);
					_g_free0 (_tmp31_);
				}
				_tmp32_ = dependency;
				_tmp33_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup (self, _tmp32_);
				dependency_entry = _tmp33_;
				_tmp37_ = semantics;
				_tmp38_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_managed_emission (_tmp37_);
				_tmp39_ = _tmp38_;
				if (_tmp39_) {
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp40_;
					_tmp40_ = dependency_entry;
					_tmp36_ = _tmp40_ != NULL;
				} else {
					_tmp36_ = FALSE;
				}
				if (_tmp36_) {
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp41_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp42_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp43_;
					_tmp41_ = dependency_entry;
					_tmp42_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp41_);
					_tmp43_ = _tmp42_;
					_tmp35_ = _tmp43_ != NULL;
				} else {
					_tmp35_ = FALSE;
				}
				if (_tmp35_) {
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* _tmp44_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp45_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp46_;
					gboolean _tmp47_;
					gboolean _tmp48_;
					_tmp44_ = dependency_entry;
					_tmp45_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_semantics (_tmp44_);
					_tmp46_ = _tmp45_;
					_tmp47_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_managed_emission (_tmp46_);
					_tmp48_ = _tmp47_;
					_tmp34_ = !_tmp48_;
				} else {
					_tmp34_ = FALSE;
				}
				if (_tmp34_) {
					const gchar* _tmp49_;
					const gchar* _tmp50_;
					const gchar* _tmp51_;
					gchar* _tmp52_;
					gchar* _tmp53_;
					_tmp49_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp50_ = _tmp49_;
					_tmp51_ = dependency;
					_tmp52_ = g_strdup_printf ("Managed option '%s' depends on unmanaged option '%s'.", _tmp50_, _tmp51_);
					_tmp53_ = _tmp52_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp53_);
					_g_free0 (_tmp53_);
				}
				_g_object_unref0 (dependency_entry);
				_g_free0 (dependency);
			}
		}
	}
	_tmp54_ = semantics;
	_tmp55_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_conflicts (_tmp54_, &_tmp56_);
	_tmp55__length1 = _tmp56_;
	_tmp57_ = _tmp55_;
	_tmp57__length1 = _tmp55__length1;
	{
		gchar** conflict_collection = NULL;
		gint conflict_collection_length1 = 0;
		gint _conflict_collection_size_ = 0;
		gint conflict_it = 0;
		conflict_collection = _tmp57_;
		conflict_collection_length1 = _tmp57__length1;
		for (conflict_it = 0; conflict_it < conflict_collection_length1; conflict_it = conflict_it + 1) {
			gchar* _tmp58_;
			gchar* conflict = NULL;
			_tmp58_ = g_strdup (conflict_collection[conflict_it]);
			conflict = _tmp58_;
			{
				gboolean _tmp59_ = FALSE;
				const gchar* _tmp60_;
				gchar* _tmp61_;
				gchar* _tmp62_;
				gboolean _tmp63_;
				const gchar* _tmp71_;
				const gchar* _tmp72_;
				const gchar* _tmp73_;
				_tmp60_ = conflict;
				_tmp61_ = string_strip (_tmp60_);
				_tmp62_ = _tmp61_;
				_tmp63_ = g_strcmp0 (_tmp62_, "") == 0;
				_g_free0 (_tmp62_);
				if (_tmp63_) {
					_tmp59_ = TRUE;
				} else {
					GeeHashMap* _tmp64_;
					const gchar* _tmp65_;
					_tmp64_ = self->priv->by_id;
					_tmp65_ = conflict;
					_tmp59_ = !gee_abstract_map_has_key ((GeeAbstractMap*) _tmp64_, _tmp65_);
				}
				if (_tmp59_) {
					const gchar* _tmp66_;
					const gchar* _tmp67_;
					const gchar* _tmp68_;
					gchar* _tmp69_;
					gchar* _tmp70_;
					_tmp66_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp67_ = _tmp66_;
					_tmp68_ = conflict;
					_tmp69_ = g_strdup_printf ("Option '%s' has an unknown conflict '%s'.", _tmp67_, _tmp68_);
					_tmp70_ = _tmp69_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp70_);
					_g_free0 (_tmp70_);
				}
				_tmp71_ = conflict;
				_tmp72_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
				_tmp73_ = _tmp72_;
				if (g_strcmp0 (_tmp71_, _tmp73_) == 0) {
					const gchar* _tmp74_;
					const gchar* _tmp75_;
					gchar* _tmp76_;
					gchar* _tmp77_;
					_tmp74_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp75_ = _tmp74_;
					_tmp76_ = g_strdup_printf ("Option '%s' must not conflict with itself.", _tmp75_);
					_tmp77_ = _tmp76_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp77_);
					_g_free0 (_tmp77_);
				}
				_g_free0 (conflict);
			}
		}
	}
	_tmp79_ = semantics;
	_tmp80_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp79_);
	_tmp81_ = _tmp80_;
	if (_tmp81_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp82_;
		const gchar* _tmp83_;
		const gchar* _tmp84_;
		gchar* _tmp85_;
		gchar* _tmp86_;
		_tmp82_ = semantics;
		_tmp83_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_environment_key (_tmp82_);
		_tmp84_ = _tmp83_;
		_tmp85_ = string_strip (_tmp84_);
		_tmp86_ = _tmp85_;
		_tmp78_ = g_strcmp0 (_tmp86_, "") == 0;
		_g_free0 (_tmp86_);
	} else {
		_tmp78_ = FALSE;
	}
	if (_tmp78_) {
		const gchar* _tmp87_;
		const gchar* _tmp88_;
		gchar* _tmp89_;
		gchar* _tmp90_;
		_tmp87_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp88_ = _tmp87_;
		_tmp89_ = g_strdup_printf ("Environment option '%s' requires an environment key.", _tmp88_);
		_tmp90_ = _tmp89_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp90_);
		_g_free0 (_tmp90_);
	}
	_tmp92_ = semantics;
	_tmp93_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (_tmp92_);
	_tmp94_ = _tmp93_;
	if (_tmp94_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp95_;
		gchar** _tmp96_;
		gint _tmp96__length1;
		gint _tmp97_ = 0;
		gchar** _tmp98_;
		gint _tmp98__length1;
		_tmp95_ = semantics;
		_tmp96_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_fixed_tokens (_tmp95_, &_tmp97_);
		_tmp96__length1 = _tmp97_;
		_tmp98_ = _tmp96_;
		_tmp98__length1 = _tmp96__length1;
		_tmp91_ = _tmp98__length1 == 0;
	} else {
		_tmp91_ = FALSE;
	}
	if (_tmp91_) {
		const gchar* _tmp99_;
		const gchar* _tmp100_;
		gchar* _tmp101_;
		gchar* _tmp102_;
		_tmp99_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp100_ = _tmp99_;
		_tmp101_ = g_strdup_printf ("Fixed-emission option '%s' requires tokens.", _tmp100_);
		_tmp102_ = _tmp101_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp102_);
		_g_free0 (_tmp102_);
	}
	_tmp104_ = semantics;
	_tmp105_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp104_);
	_tmp106_ = _tmp105_;
	if (_tmp106_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp107_;
		const gchar* _tmp108_;
		const gchar* _tmp109_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp110_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp111_;
		_tmp107_ = semantics;
		_tmp108_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp107_);
		_tmp109_ = _tmp108_;
		_tmp110_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup_wrapper (self, _tmp109_);
		_tmp111_ = _tmp110_;
		_tmp103_ = _tmp111_ == NULL;
		_g_object_unref0 (_tmp111_);
	} else {
		_tmp103_ = FALSE;
	}
	if (_tmp103_) {
		const gchar* _tmp112_;
		const gchar* _tmp113_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp114_;
		const gchar* _tmp115_;
		const gchar* _tmp116_;
		gchar* _tmp117_;
		gchar* _tmp118_;
		_tmp112_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp113_ = _tmp112_;
		_tmp114_ = semantics;
		_tmp115_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp114_);
		_tmp116_ = _tmp115_;
		_tmp117_ = g_strdup_printf ("Wrapper argument '%s' references an unknown wrapper '%s'.", _tmp113_, _tmp116_);
		_tmp118_ = _tmp117_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp118_);
		_g_free0 (_tmp118_);
	}
	_tmp121_ = semantics;
	_tmp122_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp121_);
	_tmp123_ = _tmp122_;
	if (g_strcmp0 (_tmp123_, "") != 0) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp124_;
		const gchar* _tmp125_;
		const gchar* _tmp126_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp127_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp128_;
		_tmp124_ = semantics;
		_tmp125_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp124_);
		_tmp126_ = _tmp125_;
		_tmp127_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup_wrapper (self, _tmp126_);
		_tmp128_ = _tmp127_;
		_tmp120_ = _tmp128_ == NULL;
		_g_object_unref0 (_tmp128_);
	} else {
		_tmp120_ = FALSE;
	}
	if (_tmp120_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp129_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp130_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp131_;
		_tmp129_ = semantics;
		_tmp130_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp129_);
		_tmp131_ = _tmp130_;
		_tmp119_ = _tmp131_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT;
	} else {
		_tmp119_ = FALSE;
	}
	if (_tmp119_) {
		const gchar* _tmp132_;
		const gchar* _tmp133_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp134_;
		const gchar* _tmp135_;
		const gchar* _tmp136_;
		gchar* _tmp137_;
		gchar* _tmp138_;
		_tmp132_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp133_ = _tmp132_;
		_tmp134_ = semantics;
		_tmp135_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp134_);
		_tmp136_ = _tmp135_;
		_tmp137_ = g_strdup_printf ("Option '%s' references an unknown wrapper '%s'.", _tmp133_, _tmp136_);
		_tmp138_ = _tmp137_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp138_);
		_g_free0 (_tmp138_);
	}
	_tmp139_ = semantics;
	_tmp140_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp139_);
	_tmp141_ = _tmp140_;
	if (_tmp141_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_SELECTOR) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp142_;
		gchar** _tmp143_;
		gint _tmp143__length1;
		gint _tmp144_ = 0;
		gchar** _tmp145_;
		gint _tmp145__length1;
		_tmp142_ = semantics;
		_tmp143_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_selectable_wrapper_ids (_tmp142_, &_tmp144_);
		_tmp143__length1 = _tmp144_;
		_tmp145_ = _tmp143_;
		_tmp145__length1 = _tmp143__length1;
		{
			gchar** wrapper_id_collection = NULL;
			gint wrapper_id_collection_length1 = 0;
			gint _wrapper_id_collection_size_ = 0;
			gint wrapper_id_it = 0;
			wrapper_id_collection = _tmp145_;
			wrapper_id_collection_length1 = _tmp145__length1;
			for (wrapper_id_it = 0; wrapper_id_it < wrapper_id_collection_length1; wrapper_id_it = wrapper_id_it + 1) {
				gchar* _tmp146_;
				gchar* wrapper_id = NULL;
				_tmp146_ = g_strdup (wrapper_id_collection[wrapper_id_it]);
				wrapper_id = _tmp146_;
				{
					const gchar* _tmp147_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp148_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp149_;
					gboolean _tmp150_;
					_tmp147_ = wrapper_id;
					_tmp148_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup_wrapper (self, _tmp147_);
					_tmp149_ = _tmp148_;
					_tmp150_ = _tmp149_ == NULL;
					_g_object_unref0 (_tmp149_);
					if (_tmp150_) {
						const gchar* _tmp151_;
						const gchar* _tmp152_;
						const gchar* _tmp153_;
						gchar* _tmp154_;
						gchar* _tmp155_;
						_tmp151_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
						_tmp152_ = _tmp151_;
						_tmp153_ = wrapper_id;
						_tmp154_ = g_strdup_printf ("Wrapper selector '%s' references an unknown wrapper '%s'.", _tmp152_, _tmp153_);
						_tmp155_ = _tmp154_;
						gee_collection_add ((GeeCollection*) diagnostics, _tmp155_);
						_g_free0 (_tmp155_);
					}
					_g_free0 (wrapper_id);
				}
			}
		}
	}
	_tmp157_ = semantics;
	_tmp158_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp157_);
	_tmp159_ = _tmp158_;
	if (_tmp159_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType _tmp160_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType _tmp161_;
		_tmp160_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_serialization_type (entry);
		_tmp161_ = _tmp160_;
		_tmp156_ = _tmp161_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_COMMAND;
	} else {
		_tmp156_ = FALSE;
	}
	if (_tmp156_) {
		const gchar* _tmp162_;
		const gchar* _tmp163_;
		gchar* _tmp164_;
		gchar* _tmp165_;
		_tmp162_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp163_ = _tmp162_;
		_tmp164_ = g_strdup_printf ("Only legacy command entries may be command boundaries ('%s').", _tmp163_);
		_tmp165_ = _tmp164_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp165_);
		_g_free0 (_tmp165_);
	}
	_tmp167_ = semantics;
	_tmp168_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp167_);
	_tmp169_ = _tmp168_;
	if (_tmp169_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType _tmp170_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType _tmp171_;
		_tmp170_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_serialization_type (entry);
		_tmp171_ = _tmp170_;
		_tmp166_ = _tmp171_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_COMMAND;
	} else {
		_tmp166_ = FALSE;
	}
	if (_tmp166_) {
		const gchar* _tmp172_;
		const gchar* _tmp173_;
		gchar* _tmp174_;
		gchar* _tmp175_;
		_tmp172_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp173_ = _tmp172_;
		_tmp174_ = g_strdup_printf ("Command entry '%s' must be a command boundary.", _tmp173_);
		_tmp175_ = _tmp174_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp175_);
		_g_free0 (_tmp175_);
	}
	_tmp177_ = semantics;
	_tmp178_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp177_);
	_tmp179_ = _tmp178_;
	if (_tmp179_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp180_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy _tmp181_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchPlaceholderPolicy _tmp182_;
		_tmp180_ = semantics;
		_tmp181_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_placeholder_policy (_tmp180_);
		_tmp182_ = _tmp181_;
		_tmp176_ = _tmp182_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_PLACEHOLDER_POLICY_BUILDER_MANAGED_COMMAND_BOUNDARY;
	} else {
		_tmp176_ = FALSE;
	}
	if (_tmp176_) {
		const gchar* _tmp183_;
		const gchar* _tmp184_;
		gchar* _tmp185_;
		gchar* _tmp186_;
		_tmp183_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp184_ = _tmp183_;
		_tmp185_ = g_strdup_printf ("Command boundary '%s' requires builder-managed placeholder policy.", _tmp184_);
		_tmp186_ = _tmp185_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp186_);
		_g_free0 (_tmp186_);
	}
	_tmp188_ = semantics;
	_tmp189_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp188_);
	_tmp190_ = _tmp189_;
	if (_tmp190_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp191_;
		gboolean _tmp192_;
		gboolean _tmp193_;
		_tmp191_ = semantics;
		_tmp192_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_manual_representation (_tmp191_);
		_tmp193_ = _tmp192_;
		_tmp187_ = !_tmp193_;
	} else {
		_tmp187_ = FALSE;
	}
	if (_tmp187_) {
		const gchar* _tmp194_;
		const gchar* _tmp195_;
		gchar* _tmp196_;
		gchar* _tmp197_;
		_tmp194_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp195_ = _tmp194_;
		_tmp196_ = g_strdup_printf ("Command boundary '%s' must be marked as a legacy manual representation" \
".", _tmp195_);
		_tmp197_ = _tmp196_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp197_);
		_g_free0 (_tmp197_);
	}
	_tmp198_ = semantics;
	_tmp199_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_fixed_tokens (_tmp198_, &_tmp200_);
	_tmp199__length1 = _tmp200_;
	_tmp201_ = _tmp199_;
	_tmp201__length1 = _tmp199__length1;
	{
		gchar** token_collection = NULL;
		gint token_collection_length1 = 0;
		gint _token_collection_size_ = 0;
		gint token_it = 0;
		token_collection = _tmp201_;
		token_collection_length1 = _tmp201__length1;
		for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
			gchar* _tmp202_;
			gchar* token = NULL;
			_tmp202_ = g_strdup (token_collection[token_it]);
			token = _tmp202_;
			{
				const gchar* _tmp203_;
				gchar* _tmp204_;
				gchar* _tmp205_;
				gboolean _tmp206_;
				gboolean _tmp211_ = FALSE;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp212_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp213_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp214_;
				gboolean _tmp220_ = FALSE;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp221_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp222_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp223_;
				_tmp203_ = token;
				_tmp204_ = string_strip (_tmp203_);
				_tmp205_ = _tmp204_;
				_tmp206_ = g_strcmp0 (_tmp205_, "") == 0;
				_g_free0 (_tmp205_);
				if (_tmp206_) {
					const gchar* _tmp207_;
					const gchar* _tmp208_;
					gchar* _tmp209_;
					gchar* _tmp210_;
					_tmp207_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp208_ = _tmp207_;
					_tmp209_ = g_strdup_printf ("Option '%s' has an empty fixed token.", _tmp208_);
					_tmp210_ = _tmp209_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp210_);
					_g_free0 (_tmp210_);
				}
				_tmp212_ = semantics;
				_tmp213_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp212_);
				_tmp214_ = _tmp213_;
				if (_tmp214_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_COMMAND_BOUNDARY) {
					const gchar* _tmp215_;
					_tmp215_ = token;
					_tmp211_ = string_contains (_tmp215_, "%command%");
				} else {
					_tmp211_ = FALSE;
				}
				if (_tmp211_) {
					const gchar* _tmp216_;
					const gchar* _tmp217_;
					gchar* _tmp218_;
					gchar* _tmp219_;
					_tmp216_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp217_ = _tmp216_;
					_tmp218_ = g_strdup_printf ("Option '%s' has %%command%% outside a command boundary.", _tmp217_);
					_tmp219_ = _tmp218_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp219_);
					_g_free0 (_tmp219_);
				}
				_tmp221_ = semantics;
				_tmp222_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp221_);
				_tmp223_ = _tmp222_;
				if (_tmp223_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT) {
					const gchar* _tmp224_;
					gchar* _tmp225_;
					gchar* _tmp226_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp227_;
					const gchar* _tmp228_;
					const gchar* _tmp229_;
					_tmp224_ = token;
					_tmp225_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_token_key (self, _tmp224_);
					_tmp226_ = _tmp225_;
					_tmp227_ = semantics;
					_tmp228_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_environment_key (_tmp227_);
					_tmp229_ = _tmp228_;
					_tmp220_ = g_strcmp0 (_tmp226_, _tmp229_) != 0;
					_g_free0 (_tmp226_);
				} else {
					_tmp220_ = FALSE;
				}
				if (_tmp220_) {
					const gchar* _tmp230_;
					const gchar* _tmp231_;
					const gchar* _tmp232_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp233_;
					const gchar* _tmp234_;
					const gchar* _tmp235_;
					gchar* _tmp236_;
					gchar* _tmp237_;
					_tmp230_ = token;
					_tmp231_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp232_ = _tmp231_;
					_tmp233_ = semantics;
					_tmp234_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_environment_key (_tmp233_);
					_tmp235_ = _tmp234_;
					_tmp236_ = g_strdup_printf ("Fixed environment token '%s' for '%s' does not use declared key '%s'.", _tmp230_, _tmp232_, _tmp235_);
					_tmp237_ = _tmp236_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp237_);
					_g_free0 (_tmp237_);
				}
				_g_free0 (token);
			}
		}
	}
	_tmp238_ = semantics;
	_tmp239_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_legacy_tokens (_tmp238_, &_tmp240_);
	_tmp239__length1 = _tmp240_;
	_tmp241_ = _tmp239_;
	_tmp241__length1 = _tmp239__length1;
	{
		gchar** token_collection = NULL;
		gint token_collection_length1 = 0;
		gint _token_collection_size_ = 0;
		gint token_it = 0;
		token_collection = _tmp241_;
		token_collection_length1 = _tmp241__length1;
		for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
			gchar* _tmp242_;
			gchar* token = NULL;
			_tmp242_ = g_strdup (token_collection[token_it]);
			token = _tmp242_;
			{
				const gchar* _tmp243_;
				gchar* _tmp244_;
				gchar* _tmp245_;
				gboolean _tmp246_;
				const gchar* _tmp251_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp256_;
				gchar** _tmp257_;
				gint _tmp257__length1;
				gint _tmp258_ = 0;
				gchar** _tmp259_;
				gint _tmp259__length1;
				_tmp243_ = token;
				_tmp244_ = string_strip (_tmp243_);
				_tmp245_ = _tmp244_;
				_tmp246_ = g_strcmp0 (_tmp245_, "") == 0;
				_g_free0 (_tmp245_);
				if (_tmp246_) {
					const gchar* _tmp247_;
					const gchar* _tmp248_;
					gchar* _tmp249_;
					gchar* _tmp250_;
					_tmp247_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp248_ = _tmp247_;
					_tmp249_ = g_strdup_printf ("Option '%s' has an empty legacy token.", _tmp248_);
					_tmp250_ = _tmp249_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp250_);
					_g_free0 (_tmp250_);
				}
				_tmp251_ = token;
				if (string_contains (_tmp251_, "%command%")) {
					const gchar* _tmp252_;
					const gchar* _tmp253_;
					gchar* _tmp254_;
					gchar* _tmp255_;
					_tmp252_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp253_ = _tmp252_;
					_tmp254_ = g_strdup_printf ("Option '%s' legacy tokens must not contain %%command%%.", _tmp253_);
					_tmp255_ = _tmp254_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp255_);
					_g_free0 (_tmp255_);
				}
				_tmp256_ = semantics;
				_tmp257_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_fixed_tokens (_tmp256_, &_tmp258_);
				_tmp257__length1 = _tmp258_;
				_tmp259_ = _tmp257_;
				_tmp259__length1 = _tmp257__length1;
				{
					gchar** canonical_collection = NULL;
					gint canonical_collection_length1 = 0;
					gint _canonical_collection_size_ = 0;
					gint canonical_it = 0;
					canonical_collection = _tmp259_;
					canonical_collection_length1 = _tmp259__length1;
					for (canonical_it = 0; canonical_it < canonical_collection_length1; canonical_it = canonical_it + 1) {
						gchar* _tmp260_;
						gchar* canonical = NULL;
						_tmp260_ = g_strdup (canonical_collection[canonical_it]);
						canonical = _tmp260_;
						{
							const gchar* _tmp261_;
							const gchar* _tmp262_;
							_tmp261_ = token;
							_tmp262_ = canonical;
							if (g_strcmp0 (_tmp261_, _tmp262_) == 0) {
								const gchar* _tmp263_;
								const gchar* _tmp264_;
								const gchar* _tmp265_;
								gchar* _tmp266_;
								gchar* _tmp267_;
								_tmp263_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
								_tmp264_ = _tmp263_;
								_tmp265_ = token;
								_tmp266_ = g_strdup_printf ("Option '%s' treats canonical token '%s' as legacy.", _tmp264_, _tmp265_);
								_tmp267_ = _tmp266_;
								gee_collection_add ((GeeCollection*) diagnostics, _tmp267_);
								_g_free0 (_tmp267_);
							}
							_g_free0 (canonical);
						}
					}
				}
				_g_free0 (token);
			}
		}
	}
	_tmp270_ = semantics;
	_tmp271_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_support (_tmp270_);
	_tmp272_ = _tmp271_;
	if (_tmp272_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNSUPPORTED) {
		_tmp269_ = TRUE;
	} else {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp273_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp274_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp275_;
		_tmp273_ = semantics;
		_tmp274_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_support (_tmp273_);
		_tmp275_ = _tmp274_;
		_tmp269_ = _tmp275_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_LEGACY_DEPRECATED;
	}
	if (_tmp269_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp276_;
		gboolean _tmp277_;
		gboolean _tmp278_;
		_tmp276_ = semantics;
		_tmp277_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_managed_emission (_tmp276_);
		_tmp278_ = _tmp277_;
		_tmp268_ = _tmp278_;
	} else {
		_tmp268_ = FALSE;
	}
	if (_tmp268_) {
		const gchar* _tmp279_;
		const gchar* _tmp280_;
		gchar* _tmp281_;
		gchar* _tmp282_;
		_tmp279_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp280_ = _tmp279_;
		_tmp281_ = g_strdup_printf ("Unsupported or legacy option '%s' must not be managed emission.", _tmp280_);
		_tmp282_ = _tmp281_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp282_);
		_g_free0 (_tmp282_);
	}
	_tmp284_ = semantics;
	_tmp285_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_managed_emission (_tmp284_);
	_tmp286_ = _tmp285_;
	if (_tmp286_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp287_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp288_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSupport _tmp289_;
		_tmp287_ = semantics;
		_tmp288_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_support (_tmp287_);
		_tmp289_ = _tmp288_;
		_tmp283_ = _tmp289_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNKNOWN_UNVERIFIED;
	} else {
		_tmp283_ = FALSE;
	}
	if (_tmp283_) {
		const gchar* _tmp290_;
		const gchar* _tmp291_;
		gchar* _tmp292_;
		gchar* _tmp293_;
		_tmp290_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp291_ = _tmp290_;
		_tmp292_ = g_strdup_printf ("Managed option '%s' has unknown support semantics.", _tmp291_);
		_tmp293_ = _tmp292_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp293_);
		_g_free0 (_tmp293_);
	}
	_tmp295_ = semantics;
	_tmp296_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_support (_tmp295_);
	_tmp297_ = _tmp296_;
	if (_tmp297_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SUPPORT_UNSUPPORTED) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp298_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability _tmp299_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionApplicability _tmp300_;
		_tmp298_ = semantics;
		_tmp299_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_applicability (_tmp298_);
		_tmp300_ = _tmp299_;
		_tmp294_ = _tmp300_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_APPLICABILITY_GENERIC;
	} else {
		_tmp294_ = FALSE;
	}
	if (_tmp294_) {
		const gchar* _tmp301_;
		const gchar* _tmp302_;
		gchar* _tmp303_;
		gchar* _tmp304_;
		_tmp301_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp302_ = _tmp301_;
		_tmp303_ = g_strdup_printf ("Unsupported option '%s' cannot claim generic applicability.", _tmp302_);
		_tmp304_ = _tmp303_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp304_);
		_g_free0 (_tmp304_);
	}
	_tmp307_ = semantics;
	_tmp308_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp307_);
	_tmp309_ = _tmp308_;
	if (_tmp309_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp310_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp311_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp312_;
		_tmp310_ = semantics;
		_tmp311_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (_tmp310_);
		_tmp312_ = _tmp311_;
		_tmp306_ = _tmp312_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS;
	} else {
		_tmp306_ = FALSE;
	}
	if (_tmp306_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp313_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp314_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp315_;
		_tmp313_ = semantics;
		_tmp314_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (_tmp313_);
		_tmp315_ = _tmp314_;
		_tmp305_ = _tmp315_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_ENVIRONMENT_VALUE;
	} else {
		_tmp305_ = FALSE;
	}
	if (_tmp305_) {
		const gchar* _tmp316_;
		const gchar* _tmp317_;
		gchar* _tmp318_;
		gchar* _tmp319_;
		_tmp316_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp317_ = _tmp316_;
		_tmp318_ = g_strdup_printf ("Environment option '%s' has an incompatible emission mode.", _tmp317_);
		_tmp319_ = _tmp318_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp319_);
		_g_free0 (_tmp319_);
	}
	_tmp322_ = semantics;
	_tmp323_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp322_);
	_tmp324_ = _tmp323_;
	if (_tmp324_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp325_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp326_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp327_;
		_tmp325_ = semantics;
		_tmp326_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (_tmp325_);
		_tmp327_ = _tmp326_;
		_tmp321_ = _tmp327_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS;
	} else {
		_tmp321_ = FALSE;
	}
	if (_tmp321_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp328_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp329_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp330_;
		_tmp328_ = semantics;
		_tmp329_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (_tmp328_);
		_tmp330_ = _tmp329_;
		_tmp320_ = _tmp330_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_WRAPPER_ARGUMENT;
	} else {
		_tmp320_ = FALSE;
	}
	if (_tmp320_) {
		const gchar* _tmp331_;
		const gchar* _tmp332_;
		gchar* _tmp333_;
		gchar* _tmp334_;
		_tmp331_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp332_ = _tmp331_;
		_tmp333_ = g_strdup_printf ("Wrapper argument '%s' has an incompatible emission mode.", _tmp332_);
		_tmp334_ = _tmp333_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp334_);
		_g_free0 (_tmp334_);
	}
	_tmp337_ = semantics;
	_tmp338_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp337_);
	_tmp339_ = _tmp338_;
	if (_tmp339_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_GAME_ARGUMENT) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp340_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp341_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp342_;
		_tmp340_ = semantics;
		_tmp341_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (_tmp340_);
		_tmp342_ = _tmp341_;
		_tmp336_ = _tmp342_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_FIXED_TOKENS;
	} else {
		_tmp336_ = FALSE;
	}
	if (_tmp336_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp343_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp344_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionEmissionMode _tmp345_;
		_tmp343_ = semantics;
		_tmp344_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_emission_mode (_tmp343_);
		_tmp345_ = _tmp344_;
		_tmp335_ = _tmp345_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EMISSION_MODE_DYNAMIC_GAME_ARGUMENTS;
	} else {
		_tmp335_ = FALSE;
	}
	if (_tmp335_) {
		const gchar* _tmp346_;
		const gchar* _tmp347_;
		gchar* _tmp348_;
		gchar* _tmp349_;
		_tmp346_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
		_tmp347_ = _tmp346_;
		_tmp348_ = g_strdup_printf ("Game argument '%s' has an incompatible emission mode.", _tmp347_);
		_tmp349_ = _tmp348_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp349_);
		_g_free0 (_tmp349_);
	}
	_tmp350_ = semantics;
	_tmp351_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_kind (_tmp350_);
	_tmp352_ = _tmp351_;
	if (_tmp352_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* wrapper = NULL;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp353_;
		const gchar* _tmp354_;
		const gchar* _tmp355_;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp356_;
		gboolean _tmp357_ = FALSE;
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp358_;
		_tmp353_ = semantics;
		_tmp354_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp353_);
		_tmp355_ = _tmp354_;
		_tmp356_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup_wrapper (self, _tmp355_);
		wrapper = _tmp356_;
		_tmp358_ = wrapper;
		if (_tmp358_ != NULL) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp359_;
			gint _tmp360_ = 0;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp361_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* _tmp362_;
			gint _tmp362__length1;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp363_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability _tmp364_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability _tmp365_;
			_tmp359_ = semantics;
			_tmp361_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_required_capabilities (_tmp359_, &_tmp360_);
			_tmp362_ = _tmp361_;
			_tmp362__length1 = _tmp360_;
			_tmp363_ = wrapper;
			_tmp364_ = proton_plus_widgets_games_launch_options_editor_launch_wrapper_definition_get_required_capability (_tmp363_);
			_tmp365_ = _tmp364_;
			_tmp357_ = !proton_plus_widgets_games_launch_options_editor_launch_option_catalog_has_capability (self, _tmp362_, (gint) _tmp360_, _tmp365_);
			_tmp362_ = (g_free (_tmp362_), NULL);
		} else {
			_tmp357_ = FALSE;
		}
		if (_tmp357_) {
			const gchar* _tmp366_;
			const gchar* _tmp367_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* _tmp368_;
			const gchar* _tmp369_;
			const gchar* _tmp370_;
			gchar* _tmp371_;
			gchar* _tmp372_;
			_tmp366_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
			_tmp367_ = _tmp366_;
			_tmp368_ = semantics;
			_tmp369_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_wrapper_id (_tmp368_);
			_tmp370_ = _tmp369_;
			_tmp371_ = g_strdup_printf ("Wrapper argument '%s' does not require wrapper capability '%s'.", _tmp367_, _tmp370_);
			_tmp372_ = _tmp371_;
			gee_collection_add ((GeeCollection*) diagnostics, _tmp372_);
			_g_free0 (_tmp372_);
		}
		_g_object_unref0 (wrapper);
	}
	_tmp373_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
	_tmp374_ = _tmp373_;
	_tmp375_ = semantics;
	_tmp376_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_parse_shape (_tmp375_);
	_tmp377_ = _tmp376_;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_parse_shape (self, _tmp374_, _tmp377_, diagnostics);
	_tmp378_ = semantics;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_composite_outputs (self, entry, _tmp378_, diagnostics);
	_g_object_unref0 (semantics);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_parse_shape (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                            const gchar* owner,
                                                                                            ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* shape,
                                                                                            GeeList* diagnostics)
{
	guint* arities = NULL;
	gint _tmp0_ = 0;
	guint* _tmp1_;
	gint arities_length1;
	gint _arities_size_;
	gchar** _tmp2_;
	gint _tmp2__length1;
	gint _tmp3_ = 0;
	gchar** _tmp4_;
	gint _tmp4__length1;
	guint* _tmp7_;
	gint _tmp7__length1;
	gchar** _tmp8_;
	gint _tmp8__length1;
	gint _tmp9_ = 0;
	gchar** _tmp10_;
	gint _tmp10__length1;
	gchar** _tmp13_;
	gint _tmp13__length1;
	gint _tmp14_ = 0;
	gchar** _tmp15_;
	gint _tmp15__length1;
	g_return_if_fail (self != NULL);
	g_return_if_fail (owner != NULL);
	g_return_if_fail (diagnostics != NULL);
	if (shape == NULL) {
		return;
	}
	_tmp1_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_value_arities (shape, &_tmp0_);
	arities = _tmp1_;
	arities_length1 = _tmp0_;
	_arities_size_ = arities_length1;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (shape, &_tmp3_);
	_tmp2__length1 = _tmp3_;
	_tmp4_ = _tmp2_;
	_tmp4__length1 = _tmp2__length1;
	if (_tmp4__length1 == 0) {
		gchar* _tmp5_;
		gchar* _tmp6_;
		_tmp5_ = g_strdup_printf ("Parse shape '%s' requires tokens.", owner);
		_tmp6_ = _tmp5_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp6_);
		_g_free0 (_tmp6_);
	}
	_tmp7_ = arities;
	_tmp7__length1 = arities_length1;
	_tmp8_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (shape, &_tmp9_);
	_tmp8__length1 = _tmp9_;
	_tmp10_ = _tmp8_;
	_tmp10__length1 = _tmp8__length1;
	if (_tmp7__length1 != _tmp10__length1) {
		gchar* _tmp11_;
		gchar* _tmp12_;
		_tmp11_ = g_strdup_printf ("Parse shape '%s' has invalid value arity.", owner);
		_tmp12_ = _tmp11_;
		gee_collection_add ((GeeCollection*) diagnostics, _tmp12_);
		_g_free0 (_tmp12_);
	}
	_tmp13_ = proton_plus_widgets_games_launch_options_editor_launch_option_parse_shape_get_tokens (shape, &_tmp14_);
	_tmp13__length1 = _tmp14_;
	_tmp15_ = _tmp13_;
	_tmp15__length1 = _tmp13__length1;
	{
		gchar** token_collection = NULL;
		gint token_collection_length1 = 0;
		gint _token_collection_size_ = 0;
		gint token_it = 0;
		token_collection = _tmp15_;
		token_collection_length1 = _tmp15__length1;
		for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
			gchar* _tmp16_;
			gchar* token = NULL;
			_tmp16_ = g_strdup (token_collection[token_it]);
			token = _tmp16_;
			{
				const gchar* _tmp17_;
				gchar* _tmp18_;
				gchar* _tmp19_;
				gboolean _tmp20_;
				const gchar* _tmp23_;
				_tmp17_ = token;
				_tmp18_ = string_strip (_tmp17_);
				_tmp19_ = _tmp18_;
				_tmp20_ = g_strcmp0 (_tmp19_, "") == 0;
				_g_free0 (_tmp19_);
				if (_tmp20_) {
					gchar* _tmp21_;
					gchar* _tmp22_;
					_tmp21_ = g_strdup_printf ("Parse shape '%s' has an empty flag.", owner);
					_tmp22_ = _tmp21_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp22_);
					_g_free0 (_tmp22_);
				}
				_tmp23_ = token;
				if (string_contains (_tmp23_, "%command%")) {
					gchar* _tmp24_;
					gchar* _tmp25_;
					_tmp24_ = g_strdup_printf ("Parse shape '%s' must not contain %%command%%.", owner);
					_tmp25_ = _tmp24_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp25_);
					_g_free0 (_tmp25_);
				}
				_g_free0 (token);
			}
		}
	}
	arities = (g_free (arities), NULL);
}

static gboolean
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_has_capability (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                      ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* capabilities,
                                                                                      gint capabilities_length1,
                                                                                      ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability capability)
{
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	{
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability* candidate_collection = NULL;
		gint candidate_collection_length1 = 0;
		gint _candidate_collection_size_ = 0;
		gint candidate_it = 0;
		candidate_collection = capabilities;
		candidate_collection_length1 = capabilities_length1;
		for (candidate_it = 0; candidate_it < candidate_collection_length1; candidate_it = candidate_it + 1) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCapability candidate = 0;
			candidate = candidate_collection[candidate_it];
			{
				if (candidate == capability) {
					result = TRUE;
					return result;
				}
			}
		}
	}
	result = FALSE;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_composite_outputs (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self,
                                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionMetadata* entry,
                                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemantics* semantics,
                                                                                                  GeeList* diagnostics)
{
	GeeHashMap* assignments = NULL;
	GeeHashMap* _tmp0_;
	gint _tmp1_ = 0;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** _tmp2_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (entry != NULL);
	g_return_if_fail (semantics != NULL);
	g_return_if_fail (diagnostics != NULL);
	_tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
	assignments = _tmp0_;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantics_get_composite_outputs (semantics, &_tmp1_);
	{
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput** output_collection = NULL;
		gint output_collection_length1 = 0;
		gint _output_collection_size_ = 0;
		gint output_it = 0;
		output_collection = _tmp2_;
		output_collection_length1 = _tmp1_;
		for (output_it = 0; output_it < output_collection_length1; output_it = output_it + 1) {
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp3_;
			ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* output = NULL;
			_tmp3_ = _g_object_ref0 (output_collection[output_it]);
			output = _tmp3_;
			{
				gboolean _tmp4_ = FALSE;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp5_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp6_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp7_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp22_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp23_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionParseShape* _tmp24_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp25_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp26_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticKind _tmp27_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp28_;
				const gchar* _tmp29_;
				const gchar* _tmp30_;
				gchar* _tmp31_;
				gchar* _tmp32_;
				gboolean _tmp33_;
				ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp38_;
				gchar** _tmp39_;
				gint _tmp39__length1;
				gint _tmp40_ = 0;
				gchar** _tmp41_;
				gint _tmp41__length1;
				_tmp5_ = output;
				_tmp6_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_kind (_tmp5_);
				_tmp7_ = _tmp6_;
				if (_tmp7_ == PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_WRAPPER_ARGUMENT) {
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp8_;
					const gchar* _tmp9_;
					const gchar* _tmp10_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp11_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchWrapperDefinition* _tmp12_;
					_tmp8_ = output;
					_tmp9_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_wrapper_id (_tmp8_);
					_tmp10_ = _tmp9_;
					_tmp11_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_lookup_wrapper (self, _tmp10_);
					_tmp12_ = _tmp11_;
					_tmp4_ = _tmp12_ == NULL;
					_g_object_unref0 (_tmp12_);
				} else {
					_tmp4_ = FALSE;
				}
				if (_tmp4_) {
					const gchar* _tmp13_;
					const gchar* _tmp14_;
					ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp15_;
					const gchar* _tmp16_;
					const gchar* _tmp17_;
					gchar* _tmp18_;
					gchar* _tmp19_;
					_tmp13_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp14_ = _tmp13_;
					_tmp15_ = output;
					_tmp16_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_wrapper_id (_tmp15_);
					_tmp17_ = _tmp16_;
					_tmp18_ = g_strdup_printf ("Composite option '%s' references unknown wrapper '%s'.", _tmp14_, _tmp17_);
					_tmp19_ = _tmp18_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp19_);
					_g_free0 (_tmp19_);
				}
				_tmp20_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
				_tmp21_ = _tmp20_;
				_tmp22_ = output;
				_tmp23_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_parse_shape (_tmp22_);
				_tmp24_ = _tmp23_;
				proton_plus_widgets_games_launch_options_editor_launch_option_catalog_validate_parse_shape (self, _tmp21_, _tmp24_, diagnostics);
				_tmp25_ = output;
				_tmp26_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_kind (_tmp25_);
				_tmp27_ = _tmp26_;
				if (_tmp27_ != PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_SEMANTIC_KIND_ENVIRONMENT_ASSIGNMENT) {
					_g_object_unref0 (output);
					continue;
				}
				_tmp28_ = output;
				_tmp29_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (_tmp28_);
				_tmp30_ = _tmp29_;
				_tmp31_ = string_strip (_tmp30_);
				_tmp32_ = _tmp31_;
				_tmp33_ = g_strcmp0 (_tmp32_, "") == 0;
				_g_free0 (_tmp32_);
				if (_tmp33_) {
					const gchar* _tmp34_;
					const gchar* _tmp35_;
					gchar* _tmp36_;
					gchar* _tmp37_;
					_tmp34_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
					_tmp35_ = _tmp34_;
					_tmp36_ = g_strdup_printf ("Composite environment output for '%s' requires a key.", _tmp35_);
					_tmp37_ = _tmp36_;
					gee_collection_add ((GeeCollection*) diagnostics, _tmp37_);
					_g_free0 (_tmp37_);
					_g_object_unref0 (output);
					continue;
				}
				_tmp38_ = output;
				_tmp39_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_fixed_tokens (_tmp38_, &_tmp40_);
				_tmp39__length1 = _tmp40_;
				_tmp41_ = _tmp39_;
				_tmp41__length1 = _tmp39__length1;
				{
					gchar** token_collection = NULL;
					gint token_collection_length1 = 0;
					gint _token_collection_size_ = 0;
					gint token_it = 0;
					token_collection = _tmp41_;
					token_collection_length1 = _tmp41__length1;
					for (token_it = 0; token_it < token_collection_length1; token_it = token_it + 1) {
						gchar* _tmp42_;
						gchar* token = NULL;
						_tmp42_ = g_strdup (token_collection[token_it]);
						token = _tmp42_;
						{
							const gchar* _tmp43_;
							gchar* _tmp44_;
							gchar* _tmp45_;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp46_;
							const gchar* _tmp47_;
							const gchar* _tmp48_;
							gboolean _tmp49_;
							gboolean _tmp58_ = FALSE;
							GeeHashMap* _tmp59_;
							ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp60_;
							const gchar* _tmp61_;
							const gchar* _tmp62_;
							_tmp43_ = token;
							_tmp44_ = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_token_key (self, _tmp43_);
							_tmp45_ = _tmp44_;
							_tmp46_ = output;
							_tmp47_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (_tmp46_);
							_tmp48_ = _tmp47_;
							_tmp49_ = g_strcmp0 (_tmp45_, _tmp48_) != 0;
							_g_free0 (_tmp45_);
							if (_tmp49_) {
								const gchar* _tmp50_;
								const gchar* _tmp51_;
								const gchar* _tmp52_;
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp53_;
								const gchar* _tmp54_;
								const gchar* _tmp55_;
								gchar* _tmp56_;
								gchar* _tmp57_;
								_tmp50_ = token;
								_tmp51_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
								_tmp52_ = _tmp51_;
								_tmp53_ = output;
								_tmp54_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (_tmp53_);
								_tmp55_ = _tmp54_;
								_tmp56_ = g_strdup_printf ("Composite token '%s' for '%s' does not use declared key '%s'.", _tmp50_, _tmp52_, _tmp55_);
								_tmp57_ = _tmp56_;
								gee_collection_add ((GeeCollection*) diagnostics, _tmp57_);
								_g_free0 (_tmp57_);
							}
							_tmp59_ = assignments;
							_tmp60_ = output;
							_tmp61_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (_tmp60_);
							_tmp62_ = _tmp61_;
							if (gee_abstract_map_has_key ((GeeAbstractMap*) _tmp59_, _tmp62_)) {
								GeeHashMap* _tmp63_;
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp64_;
								const gchar* _tmp65_;
								const gchar* _tmp66_;
								gpointer _tmp67_;
								gchar* _tmp68_;
								const gchar* _tmp69_;
								_tmp63_ = assignments;
								_tmp64_ = output;
								_tmp65_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (_tmp64_);
								_tmp66_ = _tmp65_;
								_tmp67_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp63_, _tmp66_);
								_tmp68_ = (gchar*) _tmp67_;
								_tmp69_ = token;
								_tmp58_ = g_strcmp0 (_tmp68_, _tmp69_) != 0;
								_g_free0 (_tmp68_);
							} else {
								_tmp58_ = FALSE;
							}
							if (_tmp58_) {
								const gchar* _tmp70_;
								const gchar* _tmp71_;
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp72_;
								const gchar* _tmp73_;
								const gchar* _tmp74_;
								gchar* _tmp75_;
								gchar* _tmp76_;
								_tmp70_ = proton_plus_widgets_games_launch_options_editor_launch_option_metadata_get_id (entry);
								_tmp71_ = _tmp70_;
								_tmp72_ = output;
								_tmp73_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (_tmp72_);
								_tmp74_ = _tmp73_;
								_tmp75_ = g_strdup_printf ("Composite option '%s' emits contradictory assignments for '%s'.", _tmp71_, _tmp74_);
								_tmp76_ = _tmp75_;
								gee_collection_add ((GeeCollection*) diagnostics, _tmp76_);
								_g_free0 (_tmp76_);
							} else {
								GeeHashMap* _tmp77_;
								ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionSemanticOutput* _tmp78_;
								const gchar* _tmp79_;
								const gchar* _tmp80_;
								const gchar* _tmp81_;
								_tmp77_ = assignments;
								_tmp78_ = output;
								_tmp79_ = proton_plus_widgets_games_launch_options_editor_launch_option_semantic_output_get_environment_key (_tmp78_);
								_tmp80_ = _tmp79_;
								_tmp81_ = token;
								gee_abstract_map_set ((GeeAbstractMap*) _tmp77_, _tmp80_, _tmp81_);
							}
							_g_free0 (token);
						}
					}
				}
				_g_object_unref0 (output);
			}
		}
		output_collection = (_vala_array_free (output_collection, output_collection_length1, (GDestroyNotify) g_object_unref), NULL);
	}
	_g_object_unref0 (assignments);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_defaults (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog* self)
{
	gchar* _tmp0_;
	gchar** _tmp1_;
	gchar** _tmp2_;
	gint _tmp2__length1;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar** _tmp5_;
	gchar** _tmp6_;
	gint _tmp6__length1;
	gchar** _tmp7_;
	gchar** _tmp8_;
	gint _tmp8__length1;
	gchar* _tmp9_;
	gchar** _tmp10_;
	gchar** _tmp11_;
	gint _tmp11__length1;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar** _tmp14_;
	gchar** _tmp15_;
	gint _tmp15__length1;
	gchar** _tmp16_;
	gchar** _tmp17_;
	gint _tmp17__length1;
	gchar* _tmp18_;
	gchar** _tmp19_;
	gchar** _tmp20_;
	gint _tmp20__length1;
	gchar* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	gchar** _tmp24_;
	gchar** _tmp25_;
	gint _tmp25__length1;
	gchar** _tmp26_;
	gchar** _tmp27_;
	gint _tmp27__length1;
	gchar* _tmp28_;
	gchar** _tmp29_;
	gchar** _tmp30_;
	gint _tmp30__length1;
	gchar* _tmp31_;
	gchar* _tmp32_;
	gchar** _tmp33_;
	gchar** _tmp34_;
	gint _tmp34__length1;
	gchar** _tmp35_;
	gchar** _tmp36_;
	gint _tmp36__length1;
	gchar* _tmp37_;
	gchar** _tmp38_;
	gchar** _tmp39_;
	gint _tmp39__length1;
	gchar* _tmp40_;
	gchar* _tmp41_;
	gchar* _tmp42_;
	gchar** _tmp43_;
	gchar** _tmp44_;
	gint _tmp44__length1;
	gchar** _tmp45_;
	gchar** _tmp46_;
	gint _tmp46__length1;
	gchar* _tmp47_;
	gchar** _tmp48_;
	gchar** _tmp49_;
	gint _tmp49__length1;
	gchar** _tmp50_;
	gchar** _tmp51_;
	gint _tmp51__length1;
	gchar** _tmp52_;
	gchar** _tmp53_;
	gint _tmp53__length1;
	gchar* _tmp54_;
	gchar** _tmp55_;
	gchar** _tmp56_;
	gint _tmp56__length1;
	gchar* _tmp57_;
	gchar** _tmp58_;
	gchar** _tmp59_;
	gint _tmp59__length1;
	gchar** _tmp60_;
	gchar** _tmp61_;
	gint _tmp61__length1;
	gchar* _tmp62_;
	gchar* _tmp63_;
	gchar** _tmp64_;
	gchar** _tmp65_;
	gint _tmp65__length1;
	gchar* _tmp66_;
	gchar* _tmp67_;
	gchar* _tmp68_;
	gchar** _tmp69_;
	gchar** _tmp70_;
	gint _tmp70__length1;
	gchar** _tmp71_;
	gchar** _tmp72_;
	gint _tmp72__length1;
	gchar* _tmp73_;
	gchar** _tmp74_;
	gchar** _tmp75_;
	gint _tmp75__length1;
	gchar* _tmp76_;
	gchar** _tmp77_;
	gchar** _tmp78_;
	gint _tmp78__length1;
	gchar** _tmp79_;
	gchar** _tmp80_;
	gint _tmp80__length1;
	gchar* _tmp81_;
	gchar** _tmp82_;
	gchar** _tmp83_;
	gint _tmp83__length1;
	gchar* _tmp84_;
	gchar* _tmp85_;
	gchar** _tmp86_;
	gchar** _tmp87_;
	gint _tmp87__length1;
	gchar** _tmp88_;
	gchar** _tmp89_;
	gint _tmp89__length1;
	gchar* _tmp90_;
	gchar** _tmp91_;
	gchar** _tmp92_;
	gint _tmp92__length1;
	gchar* _tmp93_;
	gchar** _tmp94_;
	gchar** _tmp95_;
	gint _tmp95__length1;
	gchar** _tmp96_;
	gchar** _tmp97_;
	gint _tmp97__length1;
	gchar* _tmp98_;
	gchar** _tmp99_;
	gchar** _tmp100_;
	gint _tmp100__length1;
	gchar* _tmp101_;
	gchar* _tmp102_;
	gchar** _tmp103_;
	gchar** _tmp104_;
	gint _tmp104__length1;
	gchar** _tmp105_;
	gchar** _tmp106_;
	gint _tmp106__length1;
	gchar* _tmp107_;
	gchar** _tmp108_;
	gchar** _tmp109_;
	gint _tmp109__length1;
	gchar* _tmp110_;
	gchar* _tmp111_;
	gchar** _tmp112_;
	gchar** _tmp113_;
	gint _tmp113__length1;
	gchar** _tmp114_;
	gchar** _tmp115_;
	gint _tmp115__length1;
	gchar* _tmp116_;
	gchar** _tmp117_;
	gchar** _tmp118_;
	gint _tmp118__length1;
	gchar* _tmp119_;
	gchar* _tmp120_;
	gchar** _tmp121_;
	gchar** _tmp122_;
	gint _tmp122__length1;
	gchar** _tmp123_;
	gchar** _tmp124_;
	gint _tmp124__length1;
	gchar* _tmp125_;
	gchar** _tmp126_;
	gchar** _tmp127_;
	gint _tmp127__length1;
	gchar* _tmp128_;
	gchar* _tmp129_;
	gchar** _tmp130_;
	gchar** _tmp131_;
	gint _tmp131__length1;
	gchar** _tmp132_;
	gchar** _tmp133_;
	gint _tmp133__length1;
	gchar* _tmp134_;
	gchar** _tmp135_;
	gchar** _tmp136_;
	gint _tmp136__length1;
	gchar** _tmp137_;
	gchar** _tmp138_;
	gint _tmp138__length1;
	gchar** _tmp139_;
	gchar** _tmp140_;
	gint _tmp140__length1;
	gchar* _tmp141_;
	gchar* _tmp142_;
	gchar** _tmp143_;
	gchar** _tmp144_;
	gint _tmp144__length1;
	gchar** _tmp145_;
	gchar** _tmp146_;
	gint _tmp146__length1;
	gchar** _tmp147_;
	gchar** _tmp148_;
	gint _tmp148__length1;
	gchar* _tmp149_;
	gchar** _tmp150_;
	gchar** _tmp151_;
	gint _tmp151__length1;
	gchar** _tmp152_;
	gchar** _tmp153_;
	gint _tmp153__length1;
	gchar** _tmp154_;
	gchar** _tmp155_;
	gint _tmp155__length1;
	gchar* _tmp156_;
	gchar** _tmp157_;
	gchar** _tmp158_;
	gint _tmp158__length1;
	gchar** _tmp159_;
	gchar** _tmp160_;
	gint _tmp160__length1;
	gchar** _tmp161_;
	gchar** _tmp162_;
	gint _tmp162__length1;
	gchar* _tmp163_;
	gchar** _tmp164_;
	gchar** _tmp165_;
	gint _tmp165__length1;
	gchar** _tmp166_;
	gchar** _tmp167_;
	gint _tmp167__length1;
	gchar** _tmp168_;
	gchar** _tmp169_;
	gint _tmp169__length1;
	gchar* _tmp170_;
	gchar** _tmp171_;
	gchar** _tmp172_;
	gint _tmp172__length1;
	gchar** _tmp173_;
	gchar** _tmp174_;
	gint _tmp174__length1;
	gchar** _tmp175_;
	gchar** _tmp176_;
	gint _tmp176__length1;
	gchar* _tmp177_;
	gchar** _tmp178_;
	gchar** _tmp179_;
	gint _tmp179__length1;
	gchar** _tmp180_;
	gchar** _tmp181_;
	gint _tmp181__length1;
	gchar** _tmp182_;
	gchar** _tmp183_;
	gint _tmp183__length1;
	gchar* _tmp184_;
	gchar* _tmp185_;
	gchar** _tmp186_;
	gchar** _tmp187_;
	gint _tmp187__length1;
	gchar** _tmp188_;
	gchar** _tmp189_;
	gint _tmp189__length1;
	gchar** _tmp190_;
	gchar** _tmp191_;
	gint _tmp191__length1;
	gchar* _tmp192_;
	gchar** _tmp193_;
	gchar** _tmp194_;
	gint _tmp194__length1;
	gchar** _tmp195_;
	gchar** _tmp196_;
	gint _tmp196__length1;
	gchar** _tmp197_;
	gchar** _tmp198_;
	gint _tmp198__length1;
	gchar* _tmp199_;
	gchar** _tmp200_;
	gchar** _tmp201_;
	gint _tmp201__length1;
	gchar** _tmp202_;
	gchar** _tmp203_;
	gint _tmp203__length1;
	gchar** _tmp204_;
	gchar** _tmp205_;
	gint _tmp205__length1;
	gchar* _tmp206_;
	gchar** _tmp207_;
	gchar** _tmp208_;
	gint _tmp208__length1;
	gchar** _tmp209_;
	gchar** _tmp210_;
	gint _tmp210__length1;
	gchar** _tmp211_;
	gchar** _tmp212_;
	gint _tmp212__length1;
	gchar* _tmp213_;
	gchar* _tmp214_;
	gchar** _tmp215_;
	gchar** _tmp216_;
	gint _tmp216__length1;
	gchar** _tmp217_;
	gchar** _tmp218_;
	gint _tmp218__length1;
	gchar** _tmp219_;
	gchar** _tmp220_;
	gint _tmp220__length1;
	gchar* _tmp221_;
	gchar** _tmp222_;
	gchar** _tmp223_;
	gint _tmp223__length1;
	gchar* _tmp224_;
	gchar** _tmp225_;
	gchar** _tmp226_;
	gint _tmp226__length1;
	gchar** _tmp227_;
	gchar** _tmp228_;
	gint _tmp228__length1;
	gchar* _tmp229_;
	gchar** _tmp230_;
	gchar** _tmp231_;
	gint _tmp231__length1;
	gchar* _tmp232_;
	gchar** _tmp233_;
	gchar** _tmp234_;
	gint _tmp234__length1;
	gchar** _tmp235_;
	gchar** _tmp236_;
	gint _tmp236__length1;
	gchar* _tmp237_;
	gchar** _tmp238_;
	gchar** _tmp239_;
	gint _tmp239__length1;
	gchar* _tmp240_;
	gchar** _tmp241_;
	gchar** _tmp242_;
	gint _tmp242__length1;
	gchar** _tmp243_;
	gchar** _tmp244_;
	gint _tmp244__length1;
	gchar* _tmp245_;
	gchar** _tmp246_;
	gchar** _tmp247_;
	gint _tmp247__length1;
	gchar** _tmp248_;
	gchar** _tmp249_;
	gint _tmp249__length1;
	gchar** _tmp250_;
	gchar** _tmp251_;
	gint _tmp251__length1;
	gchar* _tmp252_;
	gchar** _tmp253_;
	gchar** _tmp254_;
	gint _tmp254__length1;
	gchar* _tmp255_;
	gchar** _tmp256_;
	gchar** _tmp257_;
	gint _tmp257__length1;
	gchar** _tmp258_;
	gchar** _tmp259_;
	gint _tmp259__length1;
	gchar* _tmp260_;
	gchar** _tmp261_;
	gchar** _tmp262_;
	gint _tmp262__length1;
	gchar** _tmp263_;
	gchar** _tmp264_;
	gint _tmp264__length1;
	gchar** _tmp265_;
	gchar** _tmp266_;
	gint _tmp266__length1;
	gchar* _tmp267_;
	gchar** _tmp268_;
	gchar** _tmp269_;
	gint _tmp269__length1;
	gchar** _tmp270_;
	gchar** _tmp271_;
	gint _tmp271__length1;
	gchar** _tmp272_;
	gchar** _tmp273_;
	gint _tmp273__length1;
	gchar* _tmp274_;
	gchar** _tmp275_;
	gchar** _tmp276_;
	gint _tmp276__length1;
	gchar** _tmp277_;
	gchar** _tmp278_;
	gint _tmp278__length1;
	gchar** _tmp279_;
	gchar** _tmp280_;
	gint _tmp280__length1;
	gchar* _tmp281_;
	gchar** _tmp282_;
	gchar** _tmp283_;
	gint _tmp283__length1;
	gchar** _tmp284_;
	gchar** _tmp285_;
	gint _tmp285__length1;
	gchar** _tmp286_;
	gchar** _tmp287_;
	gint _tmp287__length1;
	gchar* _tmp288_;
	gchar** _tmp289_;
	gchar** _tmp290_;
	gint _tmp290__length1;
	gchar** _tmp291_;
	gchar** _tmp292_;
	gint _tmp292__length1;
	gchar** _tmp293_;
	gchar** _tmp294_;
	gint _tmp294__length1;
	gchar* _tmp295_;
	gchar** _tmp296_;
	gchar** _tmp297_;
	gint _tmp297__length1;
	gchar* _tmp298_;
	gchar* _tmp299_;
	gchar* _tmp300_;
	gchar** _tmp301_;
	gchar** _tmp302_;
	gint _tmp302__length1;
	gchar** _tmp303_;
	gchar** _tmp304_;
	gint _tmp304__length1;
	gchar* _tmp305_;
	gchar** _tmp306_;
	gchar** _tmp307_;
	gint _tmp307__length1;
	gchar** _tmp308_;
	gchar** _tmp309_;
	gint _tmp309__length1;
	gchar** _tmp310_;
	gchar** _tmp311_;
	gint _tmp311__length1;
	gchar* _tmp312_;
	gchar** _tmp313_;
	gchar** _tmp314_;
	gint _tmp314__length1;
	gchar* _tmp315_;
	gchar** _tmp316_;
	gchar** _tmp317_;
	gint _tmp317__length1;
	gchar** _tmp318_;
	gchar** _tmp319_;
	gint _tmp319__length1;
	gchar* _tmp320_;
	gchar** _tmp321_;
	gchar** _tmp322_;
	gint _tmp322__length1;
	gchar** _tmp323_;
	gchar** _tmp324_;
	gint _tmp324__length1;
	gchar** _tmp325_;
	gchar** _tmp326_;
	gint _tmp326__length1;
	gchar* _tmp327_;
	gchar** _tmp328_;
	gchar** _tmp329_;
	gint _tmp329__length1;
	gchar** _tmp330_;
	gchar** _tmp331_;
	gint _tmp331__length1;
	gchar** _tmp332_;
	gchar** _tmp333_;
	gint _tmp333__length1;
	gchar* _tmp334_;
	gchar* _tmp335_;
	gchar* _tmp336_;
	gchar* _tmp337_;
	gchar* _tmp338_;
	gchar* _tmp339_;
	gchar* _tmp340_;
	gchar** _tmp341_;
	gchar** _tmp342_;
	gint _tmp342__length1;
	gchar* _tmp343_;
	gchar** _tmp344_;
	gchar** _tmp345_;
	gint _tmp345__length1;
	gchar** _tmp346_;
	gchar** _tmp347_;
	gint _tmp347__length1;
	gchar* _tmp348_;
	gchar** _tmp349_;
	gchar** _tmp350_;
	gint _tmp350__length1;
	gchar* _tmp351_;
	gchar* _tmp352_;
	gchar* _tmp353_;
	gchar** _tmp354_;
	gchar** _tmp355_;
	gint _tmp355__length1;
	gchar** _tmp356_;
	gchar** _tmp357_;
	gint _tmp357__length1;
	gchar* _tmp358_;
	gchar** _tmp359_;
	gchar** _tmp360_;
	gint _tmp360__length1;
	gchar* _tmp361_;
	gchar* _tmp362_;
	gchar* _tmp363_;
	gchar* _tmp364_;
	gchar** _tmp365_;
	gchar** _tmp366_;
	gint _tmp366__length1;
	gchar** _tmp367_;
	gchar** _tmp368_;
	gint _tmp368__length1;
	gchar* _tmp369_;
	gchar** _tmp370_;
	gchar** _tmp371_;
	gint _tmp371__length1;
	gchar* _tmp372_;
	gchar* _tmp373_;
	gchar* _tmp374_;
	gchar** _tmp375_;
	gchar** _tmp376_;
	gint _tmp376__length1;
	gchar** _tmp377_;
	gchar** _tmp378_;
	gint _tmp378__length1;
	gchar* _tmp379_;
	gchar** _tmp380_;
	gchar** _tmp381_;
	gint _tmp381__length1;
	gchar* _tmp382_;
	gchar* _tmp383_;
	gchar* _tmp384_;
	gchar** _tmp385_;
	gchar** _tmp386_;
	gint _tmp386__length1;
	gchar* _tmp387_;
	gchar** _tmp388_;
	gchar** _tmp389_;
	gint _tmp389__length1;
	gchar* _tmp390_;
	gchar** _tmp391_;
	gchar** _tmp392_;
	gint _tmp392__length1;
	gchar* _tmp393_;
	gchar* _tmp394_;
	gchar* _tmp395_;
	gchar** _tmp396_;
	gchar** _tmp397_;
	gint _tmp397__length1;
	gchar** _tmp398_;
	gchar** _tmp399_;
	gint _tmp399__length1;
	gchar* _tmp400_;
	gchar** _tmp401_;
	gchar** _tmp402_;
	gint _tmp402__length1;
	gchar* _tmp403_;
	gchar** _tmp404_;
	gchar** _tmp405_;
	gint _tmp405__length1;
	gchar** _tmp406_;
	gchar** _tmp407_;
	gint _tmp407__length1;
	gchar* _tmp408_;
	gchar** _tmp409_;
	gchar** _tmp410_;
	gint _tmp410__length1;
	gchar** _tmp411_;
	gchar** _tmp412_;
	gint _tmp412__length1;
	gchar** _tmp413_;
	gchar** _tmp414_;
	gint _tmp414__length1;
	gchar* _tmp415_;
	gchar** _tmp416_;
	gchar** _tmp417_;
	gint _tmp417__length1;
	gchar* _tmp418_;
	gchar* _tmp419_;
	gchar* _tmp420_;
	gchar* _tmp421_;
	gchar** _tmp422_;
	gchar** _tmp423_;
	gint _tmp423__length1;
	gchar** _tmp424_;
	gchar** _tmp425_;
	gint _tmp425__length1;
	gchar* _tmp426_;
	gchar** _tmp427_;
	gchar** _tmp428_;
	gint _tmp428__length1;
	gchar* _tmp429_;
	gchar* _tmp430_;
	gchar* _tmp431_;
	gchar** _tmp432_;
	gchar** _tmp433_;
	gint _tmp433__length1;
	gchar** _tmp434_;
	gchar** _tmp435_;
	gint _tmp435__length1;
	gchar* _tmp436_;
	gchar** _tmp437_;
	gchar** _tmp438_;
	gint _tmp438__length1;
	gchar* _tmp439_;
	gchar* _tmp440_;
	gchar* _tmp441_;
	gchar** _tmp442_;
	gchar** _tmp443_;
	gint _tmp443__length1;
	gchar* _tmp444_;
	gchar** _tmp445_;
	gchar** _tmp446_;
	gint _tmp446__length1;
	gchar* _tmp447_;
	gchar** _tmp448_;
	gchar** _tmp449_;
	gint _tmp449__length1;
	gchar* _tmp450_;
	gchar* _tmp451_;
	gchar* _tmp452_;
	gchar* _tmp453_;
	gchar** _tmp454_;
	gchar** _tmp455_;
	gint _tmp455__length1;
	gchar* _tmp456_;
	gchar** _tmp457_;
	gchar** _tmp458_;
	gint _tmp458__length1;
	gchar* _tmp459_;
	gchar** _tmp460_;
	gchar** _tmp461_;
	gint _tmp461__length1;
	gchar* _tmp462_;
	gchar* _tmp463_;
	gchar* _tmp464_;
	gchar** _tmp465_;
	gchar** _tmp466_;
	gint _tmp466__length1;
	gchar* _tmp467_;
	gchar** _tmp468_;
	gchar** _tmp469_;
	gint _tmp469__length1;
	gchar* _tmp470_;
	gchar** _tmp471_;
	gchar** _tmp472_;
	gint _tmp472__length1;
	gchar* _tmp473_;
	gchar* _tmp474_;
	gchar* _tmp475_;
	gchar* _tmp476_;
	gchar** _tmp477_;
	gchar** _tmp478_;
	gint _tmp478__length1;
	gchar* _tmp479_;
	gchar** _tmp480_;
	gchar** _tmp481_;
	gint _tmp481__length1;
	gchar* _tmp482_;
	gchar** _tmp483_;
	gchar** _tmp484_;
	gint _tmp484__length1;
	gchar* _tmp485_;
	gchar* _tmp486_;
	gchar* _tmp487_;
	gchar* _tmp488_;
	gchar** _tmp489_;
	gchar** _tmp490_;
	gint _tmp490__length1;
	gchar* _tmp491_;
	gchar** _tmp492_;
	gchar** _tmp493_;
	gint _tmp493__length1;
	gchar* _tmp494_;
	gchar** _tmp495_;
	gchar** _tmp496_;
	gint _tmp496__length1;
	gchar* _tmp497_;
	gchar* _tmp498_;
	gchar* _tmp499_;
	gchar* _tmp500_;
	gchar** _tmp501_;
	gchar** _tmp502_;
	gint _tmp502__length1;
	gchar* _tmp503_;
	gchar** _tmp504_;
	gchar** _tmp505_;
	gint _tmp505__length1;
	gchar* _tmp506_;
	gchar** _tmp507_;
	gchar** _tmp508_;
	gint _tmp508__length1;
	gchar* _tmp509_;
	gchar** _tmp510_;
	gchar** _tmp511_;
	gint _tmp511__length1;
	gchar** _tmp512_;
	gchar** _tmp513_;
	gint _tmp513__length1;
	gchar* _tmp514_;
	gchar** _tmp515_;
	gchar** _tmp516_;
	gint _tmp516__length1;
	gchar** _tmp517_;
	gchar** _tmp518_;
	gint _tmp518__length1;
	gchar** _tmp519_;
	gchar** _tmp520_;
	gint _tmp520__length1;
	gchar* _tmp521_;
	gchar** _tmp522_;
	gchar** _tmp523_;
	gint _tmp523__length1;
	gchar** _tmp524_;
	gchar** _tmp525_;
	gint _tmp525__length1;
	gchar** _tmp526_;
	gchar** _tmp527_;
	gint _tmp527__length1;
	gchar* _tmp528_;
	gchar** _tmp529_;
	gchar** _tmp530_;
	gint _tmp530__length1;
	gchar** _tmp531_;
	gchar** _tmp532_;
	gint _tmp532__length1;
	gchar** _tmp533_;
	gchar** _tmp534_;
	gint _tmp534__length1;
	gchar* _tmp535_;
	gchar* _tmp536_;
	gchar** _tmp537_;
	gchar** _tmp538_;
	gint _tmp538__length1;
	gchar** _tmp539_;
	gchar** _tmp540_;
	gint _tmp540__length1;
	gchar** _tmp541_;
	gchar** _tmp542_;
	gint _tmp542__length1;
	gchar* _tmp543_;
	gchar** _tmp544_;
	gchar** _tmp545_;
	gint _tmp545__length1;
	gchar* _tmp546_;
	gchar** _tmp547_;
	gchar** _tmp548_;
	gint _tmp548__length1;
	gchar** _tmp549_;
	gchar** _tmp550_;
	gint _tmp550__length1;
	gchar* _tmp551_;
	gchar** _tmp552_;
	gchar** _tmp553_;
	gint _tmp553__length1;
	gchar* _tmp554_;
	gchar** _tmp555_;
	gchar** _tmp556_;
	gint _tmp556__length1;
	gchar** _tmp557_;
	gchar** _tmp558_;
	gint _tmp558__length1;
	gchar* _tmp559_;
	gchar** _tmp560_;
	gchar** _tmp561_;
	gint _tmp561__length1;
	gchar* _tmp562_;
	gchar** _tmp563_;
	gchar** _tmp564_;
	gint _tmp564__length1;
	gchar** _tmp565_;
	gchar** _tmp566_;
	gint _tmp566__length1;
	gchar* _tmp567_;
	gchar** _tmp568_;
	gchar** _tmp569_;
	gint _tmp569__length1;
	gchar** _tmp570_;
	gchar** _tmp571_;
	gint _tmp571__length1;
	gchar** _tmp572_;
	gchar** _tmp573_;
	gint _tmp573__length1;
	gchar* _tmp574_;
	gchar** _tmp575_;
	gchar** _tmp576_;
	gint _tmp576__length1;
	gchar* _tmp577_;
	gchar** _tmp578_;
	gchar** _tmp579_;
	gint _tmp579__length1;
	gchar** _tmp580_;
	gchar** _tmp581_;
	gint _tmp581__length1;
	gchar* _tmp582_;
	gchar** _tmp583_;
	gchar** _tmp584_;
	gint _tmp584__length1;
	gchar** _tmp585_;
	gchar** _tmp586_;
	gint _tmp586__length1;
	gchar** _tmp587_;
	gchar** _tmp588_;
	gint _tmp588__length1;
	gchar* _tmp589_;
	gchar** _tmp590_;
	gchar** _tmp591_;
	gint _tmp591__length1;
	gchar** _tmp592_;
	gchar** _tmp593_;
	gint _tmp593__length1;
	gchar** _tmp594_;
	gchar** _tmp595_;
	gint _tmp595__length1;
	gchar* _tmp596_;
	gchar** _tmp597_;
	gchar** _tmp598_;
	gint _tmp598__length1;
	gchar* _tmp599_;
	gchar** _tmp600_;
	gchar** _tmp601_;
	gint _tmp601__length1;
	gchar** _tmp602_;
	gchar** _tmp603_;
	gint _tmp603__length1;
	gchar* _tmp604_;
	gchar** _tmp605_;
	gchar** _tmp606_;
	gint _tmp606__length1;
	gchar* _tmp607_;
	gchar** _tmp608_;
	gchar** _tmp609_;
	gint _tmp609__length1;
	gchar** _tmp610_;
	gchar** _tmp611_;
	gint _tmp611__length1;
	gchar* _tmp612_;
	gchar** _tmp613_;
	gchar** _tmp614_;
	gint _tmp614__length1;
	gchar* _tmp615_;
	gchar** _tmp616_;
	gchar** _tmp617_;
	gint _tmp617__length1;
	gchar** _tmp618_;
	gchar** _tmp619_;
	gint _tmp619__length1;
	gchar* _tmp620_;
	gchar** _tmp621_;
	gchar** _tmp622_;
	gint _tmp622__length1;
	gchar* _tmp623_;
	gchar** _tmp624_;
	gchar** _tmp625_;
	gint _tmp625__length1;
	gchar** _tmp626_;
	gchar** _tmp627_;
	gint _tmp627__length1;
	gchar* _tmp628_;
	gchar** _tmp629_;
	gchar** _tmp630_;
	gint _tmp630__length1;
	gchar** _tmp631_;
	gchar** _tmp632_;
	gint _tmp632__length1;
	gchar** _tmp633_;
	gchar** _tmp634_;
	gint _tmp634__length1;
	gchar* _tmp635_;
	gchar** _tmp636_;
	gchar** _tmp637_;
	gint _tmp637__length1;
	gchar* _tmp638_;
	gchar** _tmp639_;
	gchar** _tmp640_;
	gint _tmp640__length1;
	gchar** _tmp641_;
	gchar** _tmp642_;
	gint _tmp642__length1;
	gchar* _tmp643_;
	gchar** _tmp644_;
	gchar** _tmp645_;
	gint _tmp645__length1;
	gchar* _tmp646_;
	gchar** _tmp647_;
	gchar** _tmp648_;
	gint _tmp648__length1;
	gchar* _tmp649_;
	gchar** _tmp650_;
	gchar** _tmp651_;
	gint _tmp651__length1;
	gchar* _tmp652_;
	gchar** _tmp653_;
	gchar** _tmp654_;
	gint _tmp654__length1;
	gchar** _tmp655_;
	gchar** _tmp656_;
	gint _tmp656__length1;
	gchar** _tmp657_;
	gchar** _tmp658_;
	gint _tmp658__length1;
	gchar* _tmp659_;
	gchar** _tmp660_;
	gchar** _tmp661_;
	gint _tmp661__length1;
	gchar** _tmp662_;
	gchar** _tmp663_;
	gint _tmp663__length1;
	gchar** _tmp664_;
	gchar** _tmp665_;
	gint _tmp665__length1;
	gchar* _tmp666_;
	gchar** _tmp667_;
	gchar** _tmp668_;
	gint _tmp668__length1;
	gchar** _tmp669_;
	gchar** _tmp670_;
	gint _tmp670__length1;
	gchar** _tmp671_;
	gchar** _tmp672_;
	gint _tmp672__length1;
	gchar* _tmp673_;
	gchar** _tmp674_;
	gchar** _tmp675_;
	gint _tmp675__length1;
	gchar** _tmp676_;
	gchar** _tmp677_;
	gint _tmp677__length1;
	gchar** _tmp678_;
	gchar** _tmp679_;
	gint _tmp679__length1;
	gchar* _tmp680_;
	gchar** _tmp681_;
	gchar** _tmp682_;
	gint _tmp682__length1;
	gchar* _tmp683_;
	gchar** _tmp684_;
	gchar** _tmp685_;
	gint _tmp685__length1;
	gchar** _tmp686_;
	gchar** _tmp687_;
	gint _tmp687__length1;
	gchar* _tmp688_;
	gchar* _tmp689_;
	gchar* _tmp690_;
	gchar** _tmp691_;
	gchar** _tmp692_;
	gint _tmp692__length1;
	gchar** _tmp693_;
	gchar** _tmp694_;
	gint _tmp694__length1;
	gchar** _tmp695_;
	gchar** _tmp696_;
	gint _tmp696__length1;
	gchar* _tmp697_;
	gchar** _tmp698_;
	gchar** _tmp699_;
	gint _tmp699__length1;
	gchar* _tmp700_;
	gchar** _tmp701_;
	gchar** _tmp702_;
	gint _tmp702__length1;
	gchar** _tmp703_;
	gchar** _tmp704_;
	gint _tmp704__length1;
	gchar* _tmp705_;
	gchar** _tmp706_;
	gchar** _tmp707_;
	gint _tmp707__length1;
	gchar* _tmp708_;
	gchar** _tmp709_;
	gchar** _tmp710_;
	gint _tmp710__length1;
	gchar** _tmp711_;
	gchar** _tmp712_;
	gint _tmp712__length1;
	gchar* _tmp713_;
	gchar** _tmp714_;
	gchar** _tmp715_;
	gint _tmp715__length1;
	gchar* _tmp716_;
	gchar** _tmp717_;
	gchar** _tmp718_;
	gint _tmp718__length1;
	gchar** _tmp719_;
	gchar** _tmp720_;
	gint _tmp720__length1;
	gchar* _tmp721_;
	gchar** _tmp722_;
	gchar** _tmp723_;
	gint _tmp723__length1;
	gchar** _tmp724_;
	gchar** _tmp725_;
	gint _tmp725__length1;
	gchar** _tmp726_;
	gchar** _tmp727_;
	gint _tmp727__length1;
	gchar* _tmp728_;
	gchar* _tmp729_;
	gchar* _tmp730_;
	gchar* _tmp731_;
	gchar** _tmp732_;
	gchar** _tmp733_;
	gint _tmp733__length1;
	gchar* _tmp734_;
	gchar* _tmp735_;
	gchar* _tmp736_;
	gchar* _tmp737_;
	gchar** _tmp738_;
	gchar** _tmp739_;
	gint _tmp739__length1;
	gchar** _tmp740_;
	gchar** _tmp741_;
	gint _tmp741__length1;
	g_return_if_fail (self != NULL);
	_tmp0_ = g_strdup ("mangohud");
	_tmp1_ = g_new0 (gchar*, 1 + 1);
	_tmp1_[0] = _tmp0_;
	_tmp2_ = _tmp1_;
	_tmp2__length1 = 1;
	_tmp3_ = g_strdup ("MangoHud");
	_tmp4_ = g_strdup ("performance overlay");
	_tmp5_ = g_new0 (gchar*, 2 + 1);
	_tmp5_[0] = _tmp3_;
	_tmp5_[1] = _tmp4_;
	_tmp6_ = _tmp5_;
	_tmp6__length1 = 2;
	_tmp7_ = g_new0 (gchar*, 0 + 1);
	_tmp8_ = _tmp7_;
	_tmp8__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "performance-overlay", _ ("MangoHud performance overlay"), _ ("Shows FPS, CPU/GPU usage, and temperatures in game."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, (guint) 10, _tmp2_, (gint) 1, _tmp6_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER, "", TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp8_, (gint) 0);
	_tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL);
	_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
	_tmp2_ = (_vala_array_free (_tmp2_, _tmp2__length1, (GDestroyNotify) g_free), NULL);
	_tmp9_ = g_strdup ("gamemoderun");
	_tmp10_ = g_new0 (gchar*, 1 + 1);
	_tmp10_[0] = _tmp9_;
	_tmp11_ = _tmp10_;
	_tmp11__length1 = 1;
	_tmp12_ = g_strdup ("Feral Gamemode");
	_tmp13_ = g_strdup ("gamemoderun");
	_tmp14_ = g_new0 (gchar*, 2 + 1);
	_tmp14_[0] = _tmp12_;
	_tmp14_[1] = _tmp13_;
	_tmp15_ = _tmp14_;
	_tmp15__length1 = 2;
	_tmp16_ = g_new0 (gchar*, 0 + 1);
	_tmp17_ = _tmp16_;
	_tmp17__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "gamemode", _ ("GameMode"), _ ("Requests temporary system performance optimizations while the game is " \
"running."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, (guint) 20, _tmp11_, (gint) 1, _tmp15_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER, "", TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp17_, (gint) 0);
	_tmp17_ = (_vala_array_free (_tmp17_, _tmp17__length1, (GDestroyNotify) g_free), NULL);
	_tmp15_ = (_vala_array_free (_tmp15_, _tmp15__length1, (GDestroyNotify) g_free), NULL);
	_tmp11_ = (_vala_array_free (_tmp11_, _tmp11__length1, (GDestroyNotify) g_free), NULL);
	_tmp18_ = g_strdup ("game-performance");
	_tmp19_ = g_new0 (gchar*, 1 + 1);
	_tmp19_[0] = _tmp18_;
	_tmp20_ = _tmp19_;
	_tmp20__length1 = 1;
	_tmp21_ = g_strdup ("CachyOS");
	_tmp22_ = g_strdup ("power profile");
	_tmp23_ = g_strdup ("sched_ext");
	_tmp24_ = g_new0 (gchar*, 3 + 1);
	_tmp24_[0] = _tmp21_;
	_tmp24_[1] = _tmp22_;
	_tmp24_[2] = _tmp23_;
	_tmp25_ = _tmp24_;
	_tmp25__length1 = 3;
	_tmp26_ = g_new0 (gchar*, 0 + 1);
	_tmp27_ = _tmp26_;
	_tmp27__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "game-performance", _ ("CachyOS game-performance profile"), _ ("Runs the game with CachyOS's performance power profile and gaming sche" \
"d_ext profile, then restores them when the game exits."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, (guint) 30, _tmp20_, (gint) 1, _tmp25_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER, "", TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires the game-performance command"), _tmp27_, (gint) 0);
	_tmp27_ = (_vala_array_free (_tmp27_, _tmp27__length1, (GDestroyNotify) g_free), NULL);
	_tmp25_ = (_vala_array_free (_tmp25_, _tmp25__length1, (GDestroyNotify) g_free), NULL);
	_tmp20_ = (_vala_array_free (_tmp20_, _tmp20__length1, (GDestroyNotify) g_free), NULL);
	_tmp28_ = g_strdup ("MANGOHUD=1");
	_tmp29_ = g_new0 (gchar*, 1 + 1);
	_tmp29_[0] = _tmp28_;
	_tmp30_ = _tmp29_;
	_tmp30__length1 = 1;
	_tmp31_ = g_strdup ("MangoHud");
	_tmp32_ = g_strdup ("Vulkan overlay");
	_tmp33_ = g_new0 (gchar*, 2 + 1);
	_tmp33_[0] = _tmp31_;
	_tmp33_[1] = _tmp32_;
	_tmp34_ = _tmp33_;
	_tmp34__length1 = 2;
	_tmp35_ = g_new0 (gchar*, 0 + 1);
	_tmp36_ = _tmp35_;
	_tmp36__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "mangohud-vulkan", _ ("MangoHud Vulkan environment mode"), _ ("Enables MangoHud for Vulkan through MANGOHUD=1. Use the MangoHud wrapp" \
"er for OpenGL; inside Gamescope, use Gamescope's MangoApp support inst" \
"ead."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, (guint) 40, _tmp30_, (gint) 1, _tmp34_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Requires MangoHud; Vulkan only"), _tmp36_, (gint) 0);
	_tmp36_ = (_vala_array_free (_tmp36_, _tmp36__length1, (GDestroyNotify) g_free), NULL);
	_tmp34_ = (_vala_array_free (_tmp34_, _tmp34__length1, (GDestroyNotify) g_free), NULL);
	_tmp30_ = (_vala_array_free (_tmp30_, _tmp30__length1, (GDestroyNotify) g_free), NULL);
	_tmp37_ = g_strdup ("OBS_VKCAPTURE=1");
	_tmp38_ = g_new0 (gchar*, 1 + 1);
	_tmp38_[0] = _tmp37_;
	_tmp39_ = _tmp38_;
	_tmp39__length1 = 1;
	_tmp40_ = g_strdup ("OBS");
	_tmp41_ = g_strdup ("obs-gamecapture");
	_tmp42_ = g_strdup ("Vulkan capture");
	_tmp43_ = g_new0 (gchar*, 3 + 1);
	_tmp43_[0] = _tmp40_;
	_tmp43_[1] = _tmp41_;
	_tmp43_[2] = _tmp42_;
	_tmp44_ = _tmp43_;
	_tmp44__length1 = 3;
	_tmp45_ = g_new0 (gchar*, 0 + 1);
	_tmp46_ = _tmp45_;
	_tmp46__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "obs-vkcapture", _ ("OBS Vulkan/OpenGL capture"), _ ("Loads obs-vkcapture for Vulkan or OpenGL capture. Install the native p" \
"ackage, or both the Flatpak OBS plugin and Flatpak capture-tools layer" \
"; NVIDIA requires modesetting and driver 515.43.04 or newer."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, (guint) 50, _tmp39_, (gint) 1, _tmp44_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Requires obs-vkcapture and a compatible OBS installation"), _tmp46_, (gint) 0);
	_tmp46_ = (_vala_array_free (_tmp46_, _tmp46__length1, (GDestroyNotify) g_free), NULL);
	_tmp44_ = (_vala_array_free (_tmp44_, _tmp44__length1, (GDestroyNotify) g_free), NULL);
	_tmp39_ = (_vala_array_free (_tmp39_, _tmp39__length1, (GDestroyNotify) g_free), NULL);
	_tmp47_ = g_strdup ("PROTON_PRIORITY_HIGH=1");
	_tmp48_ = g_new0 (gchar*, 1 + 1);
	_tmp48_[0] = _tmp47_;
	_tmp49_ = _tmp48_;
	_tmp49__length1 = 1;
	_tmp50_ = g_new0 (gchar*, 0 + 1);
	_tmp51_ = _tmp50_;
	_tmp51__length1 = 0;
	_tmp52_ = g_new0 (gchar*, 0 + 1);
	_tmp53_ = _tmp52_;
	_tmp53__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "high-process-priority", _ ("High process priority"), _ ("Gives the game a higher CPU priority."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, (guint) 60, _tmp49_, (gint) 1, _tmp51_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp53_, (gint) 0);
	_tmp53_ = (_vala_array_free (_tmp53_, _tmp53__length1, (GDestroyNotify) g_free), NULL);
	_tmp51_ = (_vala_array_free (_tmp51_, _tmp51__length1, (GDestroyNotify) g_free), NULL);
	_tmp49_ = (_vala_array_free (_tmp49_, _tmp49__length1, (GDestroyNotify) g_free), NULL);
	_tmp54_ = g_strdup ("PROTON_LOCAL_SHADER_CACHE=1");
	_tmp55_ = g_new0 (gchar*, 1 + 1);
	_tmp55_[0] = _tmp54_;
	_tmp56_ = _tmp55_;
	_tmp56__length1 = 1;
	_tmp57_ = g_strdup ("local shader cache");
	_tmp58_ = g_new0 (gchar*, 1 + 1);
	_tmp58_[0] = _tmp57_;
	_tmp59_ = _tmp58_;
	_tmp59__length1 = 1;
	_tmp60_ = g_new0 (gchar*, 0 + 1);
	_tmp61_ = _tmp60_;
	_tmp61__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "per-game-shader-cache", _ ("Per-game shader cache"), _ ("Keeps this game's shader cache separate."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PERFORMANCE, (guint) 70, _tmp56_, (gint) 1, _tmp59_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp61_, (gint) 0);
	_tmp61_ = (_vala_array_free (_tmp61_, _tmp61__length1, (GDestroyNotify) g_free), NULL);
	_tmp59_ = (_vala_array_free (_tmp59_, _tmp59__length1, (GDestroyNotify) g_free), NULL);
	_tmp56_ = (_vala_array_free (_tmp56_, _tmp56__length1, (GDestroyNotify) g_free), NULL);
	_tmp62_ = g_strdup ("gamescope");
	_tmp63_ = g_strdup ("scopebuddy");
	_tmp64_ = g_new0 (gchar*, 2 + 1);
	_tmp64_[0] = _tmp62_;
	_tmp64_[1] = _tmp63_;
	_tmp65_ = _tmp64_;
	_tmp65__length1 = 2;
	_tmp66_ = g_strdup ("System default");
	_tmp67_ = g_strdup ("Gamescope");
	_tmp68_ = g_strdup ("ScopeBuddy");
	_tmp69_ = g_new0 (gchar*, 3 + 1);
	_tmp69_[0] = _tmp66_;
	_tmp69_[1] = _tmp67_;
	_tmp69_[2] = _tmp68_;
	_tmp70_ = _tmp69_;
	_tmp70__length1 = 3;
	_tmp71_ = g_new0 (gchar*, 0 + 1);
	_tmp72_ = _tmp71_;
	_tmp72__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "launch-backend", _ ("Launch backend"), _ ("Choose the system default, Gamescope, or ScopeBuddy."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 10, _tmp65_, (gint) 2, _tmp70_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp72_, (gint) 0);
	_tmp72_ = (_vala_array_free (_tmp72_, _tmp72__length1, (GDestroyNotify) g_free), NULL);
	_tmp70_ = (_vala_array_free (_tmp70_, _tmp70__length1, (GDestroyNotify) g_free), NULL);
	_tmp65_ = (_vala_array_free (_tmp65_, _tmp65__length1, (GDestroyNotify) g_free), NULL);
	_tmp73_ = g_strdup ("PROTON_ENABLE_WAYLAND=1");
	_tmp74_ = g_new0 (gchar*, 1 + 1);
	_tmp74_[0] = _tmp73_;
	_tmp75_ = _tmp74_;
	_tmp75__length1 = 1;
	_tmp76_ = g_strdup ("Wayland");
	_tmp77_ = g_new0 (gchar*, 1 + 1);
	_tmp77_[0] = _tmp76_;
	_tmp78_ = _tmp77_;
	_tmp78__length1 = 1;
	_tmp79_ = g_new0 (gchar*, 0 + 1);
	_tmp80_ = _tmp79_;
	_tmp80__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "native-wayland", _ ("Native Wayland"), _ ("Runs the game on Wayland instead of XWayland."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 20, _tmp75_, (gint) 1, _tmp78_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp80_, (gint) 0);
	_tmp80_ = (_vala_array_free (_tmp80_, _tmp80__length1, (GDestroyNotify) g_free), NULL);
	_tmp78_ = (_vala_array_free (_tmp78_, _tmp78__length1, (GDestroyNotify) g_free), NULL);
	_tmp75_ = (_vala_array_free (_tmp75_, _tmp75__length1, (GDestroyNotify) g_free), NULL);
	_tmp81_ = g_strdup ("SteamDeck=0");
	_tmp82_ = g_new0 (gchar*, 1 + 1);
	_tmp82_[0] = _tmp81_;
	_tmp83_ = _tmp82_;
	_tmp83__length1 = 1;
	_tmp84_ = g_strdup ("Disable Steam Deck Mode");
	_tmp85_ = g_strdup ("Steam Deck");
	_tmp86_ = g_new0 (gchar*, 2 + 1);
	_tmp86_[0] = _tmp84_;
	_tmp86_[1] = _tmp85_;
	_tmp87_ = _tmp86_;
	_tmp87__length1 = 2;
	_tmp88_ = g_new0 (gchar*, 0 + 1);
	_tmp89_ = _tmp88_;
	_tmp89__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "desktop-game-profile", _ ("Use desktop game profile"), _ ("Uses the desktop profile instead of a Steam Deck-specific profile."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 30, _tmp83_, (gint) 1, _tmp87_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp89_, (gint) 0);
	_tmp89_ = (_vala_array_free (_tmp89_, _tmp89__length1, (GDestroyNotify) g_free), NULL);
	_tmp87_ = (_vala_array_free (_tmp87_, _tmp87__length1, (GDestroyNotify) g_free), NULL);
	_tmp83_ = (_vala_array_free (_tmp83_, _tmp83__length1, (GDestroyNotify) g_free), NULL);
	_tmp90_ = g_strdup ("ENABLE_VKBASALT=1");
	_tmp91_ = g_new0 (gchar*, 1 + 1);
	_tmp91_[0] = _tmp90_;
	_tmp92_ = _tmp91_;
	_tmp92__length1 = 1;
	_tmp93_ = g_strdup ("VKBasalt");
	_tmp94_ = g_new0 (gchar*, 1 + 1);
	_tmp94_[0] = _tmp93_;
	_tmp95_ = _tmp94_;
	_tmp95__length1 = 1;
	_tmp96_ = g_new0 (gchar*, 0 + 1);
	_tmp97_ = _tmp96_;
	_tmp97__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "vkbasalt", _ ("vkBasalt visual effects"), _ ("Adds visual effects such as sharpening and color adjustments."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 40, _tmp92_, (gint) 1, _tmp95_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp97_, (gint) 0);
	_tmp97_ = (_vala_array_free (_tmp97_, _tmp97__length1, (GDestroyNotify) g_free), NULL);
	_tmp95_ = (_vala_array_free (_tmp95_, _tmp95__length1, (GDestroyNotify) g_free), NULL);
	_tmp92_ = (_vala_array_free (_tmp92_, _tmp92__length1, (GDestroyNotify) g_free), NULL);
	_tmp98_ = g_strdup ("DXVK_HDR=1");
	_tmp99_ = g_new0 (gchar*, 1 + 1);
	_tmp99_[0] = _tmp98_;
	_tmp100_ = _tmp99_;
	_tmp100__length1 = 1;
	_tmp101_ = g_strdup ("HDR");
	_tmp102_ = g_strdup ("dxgi.enableHDR");
	_tmp103_ = g_new0 (gchar*, 2 + 1);
	_tmp103_[0] = _tmp101_;
	_tmp103_[1] = _tmp102_;
	_tmp104_ = _tmp103_;
	_tmp104__length1 = 2;
	_tmp105_ = g_new0 (gchar*, 0 + 1);
	_tmp106_ = _tmp105_;
	_tmp106__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "dxvk-hdr", _ ("DXVK HDR"), _ ("Advertises HDR10 color space to DXVK games. Current Proton-CachyOS ena" \
"bles HDR automatically; use this only when explicit DXVK HDR exposure " \
"is needed. Current DXVK 2.7 requires Vulkan 1.3 and recent drivers (RA" \
"DV 25.0, NVIDIA 575.51.02, or Intel/NVK Mesa 25.1); older Proton bundl" \
"es may differ."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 50, _tmp100_, (gint) 1, _tmp104_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Requires an HDR-capable compositor, display, Vulkan 1.3, and a compati" \
"ble driver"), _tmp106_, (gint) 0);
	_tmp106_ = (_vala_array_free (_tmp106_, _tmp106__length1, (GDestroyNotify) g_free), NULL);
	_tmp104_ = (_vala_array_free (_tmp104_, _tmp104__length1, (GDestroyNotify) g_free), NULL);
	_tmp100_ = (_vala_array_free (_tmp100_, _tmp100__length1, (GDestroyNotify) g_free), NULL);
	_tmp107_ = g_strdup ("PROTON_ENABLE_HDR=1");
	_tmp108_ = g_new0 (gchar*, 1 + 1);
	_tmp108_[0] = _tmp107_;
	_tmp109_ = _tmp108_;
	_tmp109__length1 = 1;
	_tmp110_ = g_strdup ("HDR");
	_tmp111_ = g_strdup ("Proton-GE");
	_tmp112_ = g_new0 (gchar*, 2 + 1);
	_tmp112_[0] = _tmp110_;
	_tmp112_[1] = _tmp111_;
	_tmp113_ = _tmp112_;
	_tmp113__length1 = 2;
	_tmp114_ = g_new0 (gchar*, 0 + 1);
	_tmp115_ = _tmp114_;
	_tmp115__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "proton-hdr", _ ("Legacy custom-Proton HDR"), _ ("Enables the older PROTON_ENABLE_HDR path only when the selected Proton" \
" build still advertises it. It also enables native Wayland in Proton-G" \
"E, where Steam Overlay is broken and Steam Input may be unreliable."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 55, _tmp109_, (gint) 1, _tmp113_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Only available in custom Proton builds that still support PROTON_ENABL" \
"E_HDR"), _tmp115_, (gint) 0);
	_tmp115_ = (_vala_array_free (_tmp115_, _tmp115__length1, (GDestroyNotify) g_free), NULL);
	_tmp113_ = (_vala_array_free (_tmp113_, _tmp113__length1, (GDestroyNotify) g_free), NULL);
	_tmp109_ = (_vala_array_free (_tmp109_, _tmp109__length1, (GDestroyNotify) g_free), NULL);
	_tmp116_ = g_strdup ("DXVK_NO_HDR=1");
	_tmp117_ = g_new0 (gchar*, 1 + 1);
	_tmp117_[0] = _tmp116_;
	_tmp118_ = _tmp117_;
	_tmp118__length1 = 1;
	_tmp119_ = g_strdup ("HDR opt-out");
	_tmp120_ = g_strdup ("Proton-CachyOS");
	_tmp121_ = g_new0 (gchar*, 2 + 1);
	_tmp121_[0] = _tmp119_;
	_tmp121_[1] = _tmp120_;
	_tmp122_ = _tmp121_;
	_tmp122__length1 = 2;
	_tmp123_ = g_new0 (gchar*, 0 + 1);
	_tmp124_ = _tmp123_;
	_tmp124__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "dxvk-no-hdr", _ ("Disable custom-Proton automatic HDR"), _ ("Sets DXVK_NO_HDR=1 for custom Proton builds such as current Proton-Cac" \
"hyOS that automatically expose HDR. This conflicts with the explicit H" \
"DR enable options."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 56, _tmp118_, (gint) 1, _tmp122_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Only available when the selected custom Proton build advertises DXVK_N" \
"O_HDR"), _tmp124_, (gint) 0);
	_tmp124_ = (_vala_array_free (_tmp124_, _tmp124__length1, (GDestroyNotify) g_free), NULL);
	_tmp122_ = (_vala_array_free (_tmp122_, _tmp122__length1, (GDestroyNotify) g_free), NULL);
	_tmp118_ = (_vala_array_free (_tmp118_, _tmp118__length1, (GDestroyNotify) g_free), NULL);
	_tmp125_ = g_strdup ("ENABLE_HDR_WSI=1");
	_tmp126_ = g_new0 (gchar*, 1 + 1);
	_tmp126_[0] = _tmp125_;
	_tmp127_ = _tmp126_;
	_tmp127__length1 = 1;
	_tmp128_ = g_strdup ("HDR WSI");
	_tmp129_ = g_strdup ("NVIDIA 595");
	_tmp130_ = g_new0 (gchar*, 2 + 1);
	_tmp130_[0] = _tmp128_;
	_tmp130_[1] = _tmp129_;
	_tmp131_ = _tmp130_;
	_tmp131__length1 = 2;
	_tmp132_ = g_new0 (gchar*, 0 + 1);
	_tmp133_ = _tmp132_;
	_tmp133__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "nvidia-hdr-wsi", _ ("NVIDIA legacy HDR WSI"), _ ("Enables the Vulkan HDR WSI layer needed by NVIDIA proprietary drivers " \
"older than 595. Do not enable it on driver 595 or newer."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 57, _tmp127_, (gint) 1, _tmp131_, (gint) 2, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("NVIDIA proprietary driver older than 595 only"), _tmp133_, (gint) 0);
	_tmp133_ = (_vala_array_free (_tmp133_, _tmp133__length1, (GDestroyNotify) g_free), NULL);
	_tmp131_ = (_vala_array_free (_tmp131_, _tmp131__length1, (GDestroyNotify) g_free), NULL);
	_tmp127_ = (_vala_array_free (_tmp127_, _tmp127__length1, (GDestroyNotify) g_free), NULL);
	_tmp134_ = g_strdup ("-f");
	_tmp135_ = g_new0 (gchar*, 1 + 1);
	_tmp135_[0] = _tmp134_;
	_tmp136_ = _tmp135_;
	_tmp136__length1 = 1;
	_tmp137_ = g_new0 (gchar*, 0 + 1);
	_tmp138_ = _tmp137_;
	_tmp138__length1 = 0;
	_tmp139_ = g_new0 (gchar*, 0 + 1);
	_tmp140_ = _tmp139_;
	_tmp140__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "gamescope-fullscreen", _ ("Fullscreen"), _ ("Runs the game in a fullscreen Gamescope session."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 60, _tmp136_, (gint) 1, _tmp138_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("Gamescope"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Gamescope"), _tmp140_, (gint) 0);
	_tmp140_ = (_vala_array_free (_tmp140_, _tmp140__length1, (GDestroyNotify) g_free), NULL);
	_tmp138_ = (_vala_array_free (_tmp138_, _tmp138__length1, (GDestroyNotify) g_free), NULL);
	_tmp136_ = (_vala_array_free (_tmp136_, _tmp136__length1, (GDestroyNotify) g_free), NULL);
	_tmp141_ = g_strdup ("-W");
	_tmp142_ = g_strdup ("-H");
	_tmp143_ = g_new0 (gchar*, 2 + 1);
	_tmp143_[0] = _tmp141_;
	_tmp143_[1] = _tmp142_;
	_tmp144_ = _tmp143_;
	_tmp144__length1 = 2;
	_tmp145_ = g_new0 (gchar*, 0 + 1);
	_tmp146_ = _tmp145_;
	_tmp146__length1 = 0;
	_tmp147_ = g_new0 (gchar*, 0 + 1);
	_tmp148_ = _tmp147_;
	_tmp148__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "gamescope-resolution", _ ("Output resolution"), _ ("Sets the Gamescope output resolution."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 70, _tmp144_, (gint) 2, _tmp146_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("Gamescope"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Gamescope"), _tmp148_, (gint) 0);
	_tmp148_ = (_vala_array_free (_tmp148_, _tmp148__length1, (GDestroyNotify) g_free), NULL);
	_tmp146_ = (_vala_array_free (_tmp146_, _tmp146__length1, (GDestroyNotify) g_free), NULL);
	_tmp144_ = (_vala_array_free (_tmp144_, _tmp144__length1, (GDestroyNotify) g_free), NULL);
	_tmp149_ = g_strdup ("--hdr-enabled");
	_tmp150_ = g_new0 (gchar*, 1 + 1);
	_tmp150_[0] = _tmp149_;
	_tmp151_ = _tmp150_;
	_tmp151__length1 = 1;
	_tmp152_ = g_new0 (gchar*, 0 + 1);
	_tmp153_ = _tmp152_;
	_tmp153__length1 = 0;
	_tmp154_ = g_new0 (gchar*, 0 + 1);
	_tmp155_ = _tmp154_;
	_tmp155__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "gamescope-hdr", _ ("HDR"), _ ("Outputs HDR colors through Gamescope."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 80, _tmp151_, (gint) 1, _tmp153_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("Gamescope"), TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Gamescope"), _tmp155_, (gint) 0);
	_tmp155_ = (_vala_array_free (_tmp155_, _tmp155__length1, (GDestroyNotify) g_free), NULL);
	_tmp153_ = (_vala_array_free (_tmp153_, _tmp153__length1, (GDestroyNotify) g_free), NULL);
	_tmp151_ = (_vala_array_free (_tmp151_, _tmp151__length1, (GDestroyNotify) g_free), NULL);
	_tmp156_ = g_strdup ("--adaptive-sync");
	_tmp157_ = g_new0 (gchar*, 1 + 1);
	_tmp157_[0] = _tmp156_;
	_tmp158_ = _tmp157_;
	_tmp158__length1 = 1;
	_tmp159_ = g_new0 (gchar*, 0 + 1);
	_tmp160_ = _tmp159_;
	_tmp160__length1 = 0;
	_tmp161_ = g_new0 (gchar*, 0 + 1);
	_tmp162_ = _tmp161_;
	_tmp162__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "gamescope-vrr", _ ("Variable refresh rate"), _ ("Matches the display refresh rate to the game's FPS."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 90, _tmp158_, (gint) 1, _tmp160_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("Gamescope"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Gamescope"), _tmp162_, (gint) 0);
	_tmp162_ = (_vala_array_free (_tmp162_, _tmp162__length1, (GDestroyNotify) g_free), NULL);
	_tmp160_ = (_vala_array_free (_tmp160_, _tmp160__length1, (GDestroyNotify) g_free), NULL);
	_tmp158_ = (_vala_array_free (_tmp158_, _tmp158__length1, (GDestroyNotify) g_free), NULL);
	_tmp163_ = g_strdup ("-r");
	_tmp164_ = g_new0 (gchar*, 1 + 1);
	_tmp164_[0] = _tmp163_;
	_tmp165_ = _tmp164_;
	_tmp165__length1 = 1;
	_tmp166_ = g_new0 (gchar*, 0 + 1);
	_tmp167_ = _tmp166_;
	_tmp167__length1 = 0;
	_tmp168_ = g_new0 (gchar*, 0 + 1);
	_tmp169_ = _tmp168_;
	_tmp169__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "gamescope-frame-limit", _ ("Frame limit"), _ ("Caps the frame rate inside Gamescope."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 100, _tmp165_, (gint) 1, _tmp167_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("Gamescope"), TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Gamescope"), _tmp169_, (gint) 0);
	_tmp169_ = (_vala_array_free (_tmp169_, _tmp169__length1, (GDestroyNotify) g_free), NULL);
	_tmp167_ = (_vala_array_free (_tmp167_, _tmp167__length1, (GDestroyNotify) g_free), NULL);
	_tmp165_ = (_vala_array_free (_tmp165_, _tmp165__length1, (GDestroyNotify) g_free), NULL);
	_tmp170_ = g_strdup ("gamescope");
	_tmp171_ = g_new0 (gchar*, 1 + 1);
	_tmp171_[0] = _tmp170_;
	_tmp172_ = _tmp171_;
	_tmp172__length1 = 1;
	_tmp173_ = g_new0 (gchar*, 0 + 1);
	_tmp174_ = _tmp173_;
	_tmp174__length1 = 0;
	_tmp175_ = g_new0 (gchar*, 0 + 1);
	_tmp176_ = _tmp175_;
	_tmp176__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "gamescope-arguments", _ ("Additional Gamescope arguments"), _ ("Keeps extra Gamescope flags such as output selection."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 110, _tmp172_, (gint) 1, _tmp174_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("Gamescope"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Requires Gamescope"), _tmp176_, (gint) 0);
	_tmp176_ = (_vala_array_free (_tmp176_, _tmp176__length1, (GDestroyNotify) g_free), NULL);
	_tmp174_ = (_vala_array_free (_tmp174_, _tmp174__length1, (GDestroyNotify) g_free), NULL);
	_tmp172_ = (_vala_array_free (_tmp172_, _tmp172__length1, (GDestroyNotify) g_free), NULL);
	_tmp177_ = g_strdup ("-f");
	_tmp178_ = g_new0 (gchar*, 1 + 1);
	_tmp178_[0] = _tmp177_;
	_tmp179_ = _tmp178_;
	_tmp179__length1 = 1;
	_tmp180_ = g_new0 (gchar*, 0 + 1);
	_tmp181_ = _tmp180_;
	_tmp181__length1 = 0;
	_tmp182_ = g_new0 (gchar*, 0 + 1);
	_tmp183_ = _tmp182_;
	_tmp183__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "scopebuddy-fullscreen", _ ("Fullscreen"), _ ("Runs the game in a fullscreen ScopeBuddy session."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 120, _tmp179_, (gint) 1, _tmp181_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("ScopeBuddy"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires ScopeBuddy"), _tmp183_, (gint) 0);
	_tmp183_ = (_vala_array_free (_tmp183_, _tmp183__length1, (GDestroyNotify) g_free), NULL);
	_tmp181_ = (_vala_array_free (_tmp181_, _tmp181__length1, (GDestroyNotify) g_free), NULL);
	_tmp179_ = (_vala_array_free (_tmp179_, _tmp179__length1, (GDestroyNotify) g_free), NULL);
	_tmp184_ = g_strdup ("SCB_W");
	_tmp185_ = g_strdup ("SCB_H");
	_tmp186_ = g_new0 (gchar*, 2 + 1);
	_tmp186_[0] = _tmp184_;
	_tmp186_[1] = _tmp185_;
	_tmp187_ = _tmp186_;
	_tmp187__length1 = 2;
	_tmp188_ = g_new0 (gchar*, 0 + 1);
	_tmp189_ = _tmp188_;
	_tmp189__length1 = 0;
	_tmp190_ = g_new0 (gchar*, 0 + 1);
	_tmp191_ = _tmp190_;
	_tmp191__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "scopebuddy-resolution", _ ("Output resolution"), _ ("Sets the ScopeBuddy output resolution."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 130, _tmp187_, (gint) 2, _tmp189_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("ScopeBuddy"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires ScopeBuddy"), _tmp191_, (gint) 0);
	_tmp191_ = (_vala_array_free (_tmp191_, _tmp191__length1, (GDestroyNotify) g_free), NULL);
	_tmp189_ = (_vala_array_free (_tmp189_, _tmp189__length1, (GDestroyNotify) g_free), NULL);
	_tmp187_ = (_vala_array_free (_tmp187_, _tmp187__length1, (GDestroyNotify) g_free), NULL);
	_tmp192_ = g_strdup ("SCB_AUTO_HDR=1");
	_tmp193_ = g_new0 (gchar*, 1 + 1);
	_tmp193_[0] = _tmp192_;
	_tmp194_ = _tmp193_;
	_tmp194__length1 = 1;
	_tmp195_ = g_new0 (gchar*, 0 + 1);
	_tmp196_ = _tmp195_;
	_tmp196__length1 = 0;
	_tmp197_ = g_new0 (gchar*, 0 + 1);
	_tmp198_ = _tmp197_;
	_tmp198__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "scopebuddy-auto-hdr", _ ("Automatic HDR"), _ ("Enables HDR automatically when the display supports it."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 140, _tmp194_, (gint) 1, _tmp196_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("ScopeBuddy"), TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires ScopeBuddy"), _tmp198_, (gint) 0);
	_tmp198_ = (_vala_array_free (_tmp198_, _tmp198__length1, (GDestroyNotify) g_free), NULL);
	_tmp196_ = (_vala_array_free (_tmp196_, _tmp196__length1, (GDestroyNotify) g_free), NULL);
	_tmp194_ = (_vala_array_free (_tmp194_, _tmp194__length1, (GDestroyNotify) g_free), NULL);
	_tmp199_ = g_strdup ("SCB_AUTO_VRR=1");
	_tmp200_ = g_new0 (gchar*, 1 + 1);
	_tmp200_[0] = _tmp199_;
	_tmp201_ = _tmp200_;
	_tmp201__length1 = 1;
	_tmp202_ = g_new0 (gchar*, 0 + 1);
	_tmp203_ = _tmp202_;
	_tmp203__length1 = 0;
	_tmp204_ = g_new0 (gchar*, 0 + 1);
	_tmp205_ = _tmp204_;
	_tmp205__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "scopebuddy-auto-vrr", _ ("Automatic variable refresh rate"), _ ("Matches the display refresh rate to the game's FPS."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 150, _tmp201_, (gint) 1, _tmp203_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("ScopeBuddy"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires ScopeBuddy"), _tmp205_, (gint) 0);
	_tmp205_ = (_vala_array_free (_tmp205_, _tmp205__length1, (GDestroyNotify) g_free), NULL);
	_tmp203_ = (_vala_array_free (_tmp203_, _tmp203__length1, (GDestroyNotify) g_free), NULL);
	_tmp201_ = (_vala_array_free (_tmp201_, _tmp201__length1, (GDestroyNotify) g_free), NULL);
	_tmp206_ = g_strdup ("-r");
	_tmp207_ = g_new0 (gchar*, 1 + 1);
	_tmp207_[0] = _tmp206_;
	_tmp208_ = _tmp207_;
	_tmp208__length1 = 1;
	_tmp209_ = g_new0 (gchar*, 0 + 1);
	_tmp210_ = _tmp209_;
	_tmp210__length1 = 0;
	_tmp211_ = g_new0 (gchar*, 0 + 1);
	_tmp212_ = _tmp211_;
	_tmp212__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "scopebuddy-frame-limit", _ ("Frame limit"), _ ("Caps the frame rate inside ScopeBuddy."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 160, _tmp208_, (gint) 1, _tmp210_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("ScopeBuddy"), TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires ScopeBuddy"), _tmp212_, (gint) 0);
	_tmp212_ = (_vala_array_free (_tmp212_, _tmp212__length1, (GDestroyNotify) g_free), NULL);
	_tmp210_ = (_vala_array_free (_tmp210_, _tmp210__length1, (GDestroyNotify) g_free), NULL);
	_tmp208_ = (_vala_array_free (_tmp208_, _tmp208__length1, (GDestroyNotify) g_free), NULL);
	_tmp213_ = g_strdup ("scopebuddy");
	_tmp214_ = g_strdup ("scb");
	_tmp215_ = g_new0 (gchar*, 2 + 1);
	_tmp215_[0] = _tmp213_;
	_tmp215_[1] = _tmp214_;
	_tmp216_ = _tmp215_;
	_tmp216__length1 = 2;
	_tmp217_ = g_new0 (gchar*, 0 + 1);
	_tmp218_ = _tmp217_;
	_tmp218__length1 = 0;
	_tmp219_ = g_new0 (gchar*, 0 + 1);
	_tmp220_ = _tmp219_;
	_tmp220__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "scopebuddy-arguments", _ ("Additional ScopeBuddy arguments"), _ ("Keeps extra ScopeBuddy flags such as preferred output selection."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DISPLAY, (guint) 170, _tmp216_, (gint) 2, _tmp218_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_WRAPPER_ARGUMENT, _ ("ScopeBuddy"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Requires ScopeBuddy"), _tmp220_, (gint) 0);
	_tmp220_ = (_vala_array_free (_tmp220_, _tmp220__length1, (GDestroyNotify) g_free), NULL);
	_tmp218_ = (_vala_array_free (_tmp218_, _tmp218__length1, (GDestroyNotify) g_free), NULL);
	_tmp216_ = (_vala_array_free (_tmp216_, _tmp216__length1, (GDestroyNotify) g_free), NULL);
	_tmp221_ = g_strdup ("PROTON_USE_WINED3D=1");
	_tmp222_ = g_new0 (gchar*, 1 + 1);
	_tmp222_[0] = _tmp221_;
	_tmp223_ = _tmp222_;
	_tmp223__length1 = 1;
	_tmp224_ = g_strdup ("WineD3D");
	_tmp225_ = g_new0 (gchar*, 1 + 1);
	_tmp225_[0] = _tmp224_;
	_tmp226_ = _tmp225_;
	_tmp226__length1 = 1;
	_tmp227_ = g_new0 (gchar*, 0 + 1);
	_tmp228_ = _tmp227_;
	_tmp228__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "wined3d", _ ("OpenGL fallback (WineD3D)"), _ ("Uses OpenGL instead of Vulkan when DXVK causes problems."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 10, _tmp223_, (gint) 1, _tmp226_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp228_, (gint) 0);
	_tmp228_ = (_vala_array_free (_tmp228_, _tmp228__length1, (GDestroyNotify) g_free), NULL);
	_tmp226_ = (_vala_array_free (_tmp226_, _tmp226__length1, (GDestroyNotify) g_free), NULL);
	_tmp223_ = (_vala_array_free (_tmp223_, _tmp223__length1, (GDestroyNotify) g_free), NULL);
	_tmp229_ = g_strdup ("PROTON_USE_D7VK=1");
	_tmp230_ = g_new0 (gchar*, 1 + 1);
	_tmp230_[0] = _tmp229_;
	_tmp231_ = _tmp230_;
	_tmp231__length1 = 1;
	_tmp232_ = g_strdup ("D7VK");
	_tmp233_ = g_new0 (gchar*, 1 + 1);
	_tmp233_[0] = _tmp232_;
	_tmp234_ = _tmp233_;
	_tmp234__length1 = 1;
	_tmp235_ = g_new0 (gchar*, 0 + 1);
	_tmp236_ = _tmp235_;
	_tmp236__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "d7vk", _ ("D7VK for older Direct3D games"), _ ("Enables D7VK for older Direct3D games."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 20, _tmp231_, (gint) 1, _tmp234_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires a compatible Proton version"), _tmp236_, (gint) 0);
	_tmp236_ = (_vala_array_free (_tmp236_, _tmp236__length1, (GDestroyNotify) g_free), NULL);
	_tmp234_ = (_vala_array_free (_tmp234_, _tmp234__length1, (GDestroyNotify) g_free), NULL);
	_tmp231_ = (_vala_array_free (_tmp231_, _tmp231__length1, (GDestroyNotify) g_free), NULL);
	_tmp237_ = g_strdup ("PROTON_USE_NTSYNC=0");
	_tmp238_ = g_new0 (gchar*, 1 + 1);
	_tmp238_[0] = _tmp237_;
	_tmp239_ = _tmp238_;
	_tmp239__length1 = 1;
	_tmp240_ = g_strdup ("Use FSync");
	_tmp241_ = g_new0 (gchar*, 1 + 1);
	_tmp241_[0] = _tmp240_;
	_tmp242_ = _tmp241_;
	_tmp242__length1 = 1;
	_tmp243_ = g_new0 (gchar*, 0 + 1);
	_tmp244_ = _tmp243_;
	_tmp244__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "ntsync-mode", _ ("NTSync mode"), _ ("Uses FSync instead of NTSync for games that need that compatibility mo" \
"de."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 30, _tmp239_, (gint) 1, _tmp242_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp244_, (gint) 0);
	_tmp244_ = (_vala_array_free (_tmp244_, _tmp244__length1, (GDestroyNotify) g_free), NULL);
	_tmp242_ = (_vala_array_free (_tmp242_, _tmp242__length1, (GDestroyNotify) g_free), NULL);
	_tmp239_ = (_vala_array_free (_tmp239_, _tmp239__length1, (GDestroyNotify) g_free), NULL);
	_tmp245_ = g_strdup ("PROTON_FORCE_LARGE_ADDRESS_AWARE=1");
	_tmp246_ = g_new0 (gchar*, 1 + 1);
	_tmp246_[0] = _tmp245_;
	_tmp247_ = _tmp246_;
	_tmp247__length1 = 1;
	_tmp248_ = g_new0 (gchar*, 0 + 1);
	_tmp249_ = _tmp248_;
	_tmp249__length1 = 0;
	_tmp250_ = g_new0 (gchar*, 0 + 1);
	_tmp251_ = _tmp250_;
	_tmp251__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "large-address-aware", _ ("Large address awareness for 32-bit games"), _ ("Lets supported 32-bit games use more than 2GB of memory."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 40, _tmp247_, (gint) 1, _tmp249_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp251_, (gint) 0);
	_tmp251_ = (_vala_array_free (_tmp251_, _tmp251__length1, (GDestroyNotify) g_free), NULL);
	_tmp249_ = (_vala_array_free (_tmp249_, _tmp249__length1, (GDestroyNotify) g_free), NULL);
	_tmp247_ = (_vala_array_free (_tmp247_, _tmp247__length1, (GDestroyNotify) g_free), NULL);
	_tmp252_ = g_strdup ("PROTON_USE_WOW64=1");
	_tmp253_ = g_new0 (gchar*, 1 + 1);
	_tmp253_[0] = _tmp252_;
	_tmp254_ = _tmp253_;
	_tmp254__length1 = 1;
	_tmp255_ = g_strdup ("Use WoW64");
	_tmp256_ = g_new0 (gchar*, 1 + 1);
	_tmp256_[0] = _tmp255_;
	_tmp257_ = _tmp256_;
	_tmp257__length1 = 1;
	_tmp258_ = g_new0 (gchar*, 0 + 1);
	_tmp259_ = _tmp258_;
	_tmp259__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "wow64", _ ("WoW64 mode"), _ ("Enables WoW64 support for 32-bit games on 64-bit Proton builds."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 50, _tmp254_, (gint) 1, _tmp257_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp259_, (gint) 0);
	_tmp259_ = (_vala_array_free (_tmp259_, _tmp259__length1, (GDestroyNotify) g_free), NULL);
	_tmp257_ = (_vala_array_free (_tmp257_, _tmp257__length1, (GDestroyNotify) g_free), NULL);
	_tmp254_ = (_vala_array_free (_tmp254_, _tmp254__length1, (GDestroyNotify) g_free), NULL);
	_tmp260_ = g_strdup ("WINE_SIMULATE_WRITECOPY=1");
	_tmp261_ = g_new0 (gchar*, 1 + 1);
	_tmp261_[0] = _tmp260_;
	_tmp262_ = _tmp261_;
	_tmp262__length1 = 1;
	_tmp263_ = g_new0 (gchar*, 0 + 1);
	_tmp264_ = _tmp263_;
	_tmp264__length1 = 0;
	_tmp265_ = g_new0 (gchar*, 0 + 1);
	_tmp266_ = _tmp265_;
	_tmp266__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "writecopy", _ ("Write-copy memory workaround"), _ ("Simulates page write protection for initialization errors."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 60, _tmp262_, (gint) 1, _tmp264_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp266_, (gint) 0);
	_tmp266_ = (_vala_array_free (_tmp266_, _tmp266__length1, (GDestroyNotify) g_free), NULL);
	_tmp264_ = (_vala_array_free (_tmp264_, _tmp264__length1, (GDestroyNotify) g_free), NULL);
	_tmp262_ = (_vala_array_free (_tmp262_, _tmp262__length1, (GDestroyNotify) g_free), NULL);
	_tmp267_ = g_strdup ("WINE_VK_USE_SYNC2=1");
	_tmp268_ = g_new0 (gchar*, 1 + 1);
	_tmp268_[0] = _tmp267_;
	_tmp269_ = _tmp268_;
	_tmp269__length1 = 1;
	_tmp270_ = g_new0 (gchar*, 0 + 1);
	_tmp271_ = _tmp270_;
	_tmp271__length1 = 0;
	_tmp272_ = g_new0 (gchar*, 0 + 1);
	_tmp273_ = _tmp272_;
	_tmp273__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "vulkan-sync2", _ ("Vulkan synchronization 2"), _ ("Enables WINE_VK_USE_SYNC2."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 70, _tmp269_, (gint) 1, _tmp271_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp273_, (gint) 0);
	_tmp273_ = (_vala_array_free (_tmp273_, _tmp273__length1, (GDestroyNotify) g_free), NULL);
	_tmp271_ = (_vala_array_free (_tmp271_, _tmp271__length1, (GDestroyNotify) g_free), NULL);
	_tmp269_ = (_vala_array_free (_tmp269_, _tmp269__length1, (GDestroyNotify) g_free), NULL);
	_tmp274_ = g_strdup ("WINE_SYNC_USE_FUTEX_WAITV=1");
	_tmp275_ = g_new0 (gchar*, 1 + 1);
	_tmp275_[0] = _tmp274_;
	_tmp276_ = _tmp275_;
	_tmp276__length1 = 1;
	_tmp277_ = g_new0 (gchar*, 0 + 1);
	_tmp278_ = _tmp277_;
	_tmp278__length1 = 0;
	_tmp279_ = g_new0 (gchar*, 0 + 1);
	_tmp280_ = _tmp279_;
	_tmp280__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "futex-waitv", _ ("Futex waitv synchronization"), _ ("Enables WINE_SYNC_USE_FUTEX_WAITV."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 80, _tmp276_, (gint) 1, _tmp278_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp280_, (gint) 0);
	_tmp280_ = (_vala_array_free (_tmp280_, _tmp280__length1, (GDestroyNotify) g_free), NULL);
	_tmp278_ = (_vala_array_free (_tmp278_, _tmp278__length1, (GDestroyNotify) g_free), NULL);
	_tmp276_ = (_vala_array_free (_tmp276_, _tmp276__length1, (GDestroyNotify) g_free), NULL);
	_tmp281_ = g_strdup ("PROTON_USE_OPTISCALER=1");
	_tmp282_ = g_new0 (gchar*, 1 + 1);
	_tmp282_[0] = _tmp281_;
	_tmp283_ = _tmp282_;
	_tmp283__length1 = 1;
	_tmp284_ = g_new0 (gchar*, 0 + 1);
	_tmp285_ = _tmp284_;
	_tmp285__length1 = 0;
	_tmp286_ = g_new0 (gchar*, 0 + 1);
	_tmp287_ = _tmp286_;
	_tmp287__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "optiscaler", _ ("OptiScaler integration"), _ ("Enables Proton OptiScaler."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 90, _tmp283_, (gint) 1, _tmp285_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Proton 11-1 or newer"), _tmp287_, (gint) 0);
	_tmp287_ = (_vala_array_free (_tmp287_, _tmp287__length1, (GDestroyNotify) g_free), NULL);
	_tmp285_ = (_vala_array_free (_tmp285_, _tmp285__length1, (GDestroyNotify) g_free), NULL);
	_tmp283_ = (_vala_array_free (_tmp283_, _tmp283__length1, (GDestroyNotify) g_free), NULL);
	_tmp288_ = g_strdup ("PROTON_DISCORD_BRIDGE=1");
	_tmp289_ = g_new0 (gchar*, 1 + 1);
	_tmp289_[0] = _tmp288_;
	_tmp290_ = _tmp289_;
	_tmp290__length1 = 1;
	_tmp291_ = g_new0 (gchar*, 0 + 1);
	_tmp292_ = _tmp291_;
	_tmp292__length1 = 0;
	_tmp293_ = g_new0 (gchar*, 0 + 1);
	_tmp294_ = _tmp293_;
	_tmp294__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "discord-bridge", _ ("Discord bridge"), _ ("Enables Proton's Discord bridge."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 100, _tmp290_, (gint) 1, _tmp292_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Proton 11-1 or newer"), _tmp294_, (gint) 0);
	_tmp294_ = (_vala_array_free (_tmp294_, _tmp294__length1, (GDestroyNotify) g_free), NULL);
	_tmp292_ = (_vala_array_free (_tmp292_, _tmp292__length1, (GDestroyNotify) g_free), NULL);
	_tmp290_ = (_vala_array_free (_tmp290_, _tmp290__length1, (GDestroyNotify) g_free), NULL);
	_tmp295_ = g_strdup ("DLL_OVERRIDES");
	_tmp296_ = g_new0 (gchar*, 1 + 1);
	_tmp296_[0] = _tmp295_;
	_tmp297_ = _tmp296_;
	_tmp297__length1 = 1;
	_tmp298_ = g_strdup ("mscoree");
	_tmp299_ = g_strdup ("dxgi");
	_tmp300_ = g_strdup ("wined3d");
	_tmp301_ = g_new0 (gchar*, 3 + 1);
	_tmp301_[0] = _tmp298_;
	_tmp301_[1] = _tmp299_;
	_tmp301_[2] = _tmp300_;
	_tmp302_ = _tmp301_;
	_tmp302__length1 = 3;
	_tmp303_ = g_new0 (gchar*, 0 + 1);
	_tmp304_ = _tmp303_;
	_tmp304__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "dll-overrides", _ ("Wine DLL overrides"), _ ("Choose builtin or native Windows DLL behavior."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_PROTON, (guint) 110, _tmp297_, (gint) 1, _tmp302_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp304_, (gint) 0);
	_tmp304_ = (_vala_array_free (_tmp304_, _tmp304__length1, (GDestroyNotify) g_free), NULL);
	_tmp302_ = (_vala_array_free (_tmp302_, _tmp302__length1, (GDestroyNotify) g_free), NULL);
	_tmp297_ = (_vala_array_free (_tmp297_, _tmp297__length1, (GDestroyNotify) g_free), NULL);
	_tmp305_ = g_strdup ("DXVK_FRAME_RATE=");
	_tmp306_ = g_new0 (gchar*, 1 + 1);
	_tmp306_[0] = _tmp305_;
	_tmp307_ = _tmp306_;
	_tmp307__length1 = 1;
	_tmp308_ = g_new0 (gchar*, 0 + 1);
	_tmp309_ = _tmp308_;
	_tmp309__length1 = 0;
	_tmp310_ = g_new0 (gchar*, 0 + 1);
	_tmp311_ = _tmp310_;
	_tmp311__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "dxvk-frame-limit", _ ("DXVK frame limit"), _ ("Caps the frame rate with DXVK's built-in limiter."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 10, _tmp307_, (gint) 1, _tmp309_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("DXVK"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp311_, (gint) 0);
	_tmp311_ = (_vala_array_free (_tmp311_, _tmp311__length1, (GDestroyNotify) g_free), NULL);
	_tmp309_ = (_vala_array_free (_tmp309_, _tmp309__length1, (GDestroyNotify) g_free), NULL);
	_tmp307_ = (_vala_array_free (_tmp307_, _tmp307__length1, (GDestroyNotify) g_free), NULL);
	_tmp312_ = g_strdup ("DXVK_ASYNC=1");
	_tmp313_ = g_new0 (gchar*, 1 + 1);
	_tmp313_[0] = _tmp312_;
	_tmp314_ = _tmp313_;
	_tmp314__length1 = 1;
	_tmp315_ = g_strdup ("DXVK Async");
	_tmp316_ = g_new0 (gchar*, 1 + 1);
	_tmp316_[0] = _tmp315_;
	_tmp317_ = _tmp316_;
	_tmp317__length1 = 1;
	_tmp318_ = g_new0 (gchar*, 0 + 1);
	_tmp319_ = _tmp318_;
	_tmp319__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "dxvk-async", _ ("Asynchronous pipeline compilation"), _ ("Enables DXVK asynchronous pipeline compilation."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 20, _tmp314_, (gint) 1, _tmp317_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("DXVK"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Requires compatible patched DXVK"), _tmp319_, (gint) 0);
	_tmp319_ = (_vala_array_free (_tmp319_, _tmp319__length1, (GDestroyNotify) g_free), NULL);
	_tmp317_ = (_vala_array_free (_tmp317_, _tmp317__length1, (GDestroyNotify) g_free), NULL);
	_tmp314_ = (_vala_array_free (_tmp314_, _tmp314__length1, (GDestroyNotify) g_free), NULL);
	_tmp320_ = g_strdup ("VKD3D_SHADER_CACHE=1");
	_tmp321_ = g_new0 (gchar*, 1 + 1);
	_tmp321_[0] = _tmp320_;
	_tmp322_ = _tmp321_;
	_tmp322__length1 = 1;
	_tmp323_ = g_new0 (gchar*, 0 + 1);
	_tmp324_ = _tmp323_;
	_tmp324__length1 = 0;
	_tmp325_ = g_new0 (gchar*, 0 + 1);
	_tmp326_ = _tmp325_;
	_tmp326__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "vkd3d-shader-cache", _ ("VKD3D shader cache"), _ ("Enables VKD3D's internal shader cache."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 30, _tmp322_, (gint) 1, _tmp324_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("VKD3D-Proton"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp326_, (gint) 0);
	_tmp326_ = (_vala_array_free (_tmp326_, _tmp326__length1, (GDestroyNotify) g_free), NULL);
	_tmp324_ = (_vala_array_free (_tmp324_, _tmp324__length1, (GDestroyNotify) g_free), NULL);
	_tmp322_ = (_vala_array_free (_tmp322_, _tmp322__length1, (GDestroyNotify) g_free), NULL);
	_tmp327_ = g_strdup ("VKD3D_GPUVA=1");
	_tmp328_ = g_new0 (gchar*, 1 + 1);
	_tmp328_[0] = _tmp327_;
	_tmp329_ = _tmp328_;
	_tmp329__length1 = 1;
	_tmp330_ = g_new0 (gchar*, 0 + 1);
	_tmp331_ = _tmp330_;
	_tmp331__length1 = 0;
	_tmp332_ = g_new0 (gchar*, 0 + 1);
	_tmp333_ = _tmp332_;
	_tmp333__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "vkd3d-gpuva", _ ("VKD3D GPU virtual addressing"), _ ("Enables VKD3D GPU virtual addressing."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 40, _tmp329_, (gint) 1, _tmp331_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("VKD3D-Proton"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp333_, (gint) 0);
	_tmp333_ = (_vala_array_free (_tmp333_, _tmp333__length1, (GDestroyNotify) g_free), NULL);
	_tmp331_ = (_vala_array_free (_tmp331_, _tmp331__length1, (GDestroyNotify) g_free), NULL);
	_tmp329_ = (_vala_array_free (_tmp329_, _tmp329__length1, (GDestroyNotify) g_free), NULL);
	_tmp334_ = g_strdup ("VKD3D_CONFIG");
	_tmp335_ = g_strdup ("shader_cache");
	_tmp336_ = g_strdup ("force_host_cache");
	_tmp337_ = g_strdup ("upload_hvv");
	_tmp338_ = g_strdup ("no_upload_hvv");
	_tmp339_ = g_strdup ("gpuva");
	_tmp340_ = g_strdup ("stable_power_state");
	_tmp341_ = g_new0 (gchar*, 7 + 1);
	_tmp341_[0] = _tmp334_;
	_tmp341_[1] = _tmp335_;
	_tmp341_[2] = _tmp336_;
	_tmp341_[3] = _tmp337_;
	_tmp341_[4] = _tmp338_;
	_tmp341_[5] = _tmp339_;
	_tmp341_[6] = _tmp340_;
	_tmp342_ = _tmp341_;
	_tmp342__length1 = 7;
	_tmp343_ = g_strdup ("VKD3D Proton Configurations");
	_tmp344_ = g_new0 (gchar*, 1 + 1);
	_tmp344_[0] = _tmp343_;
	_tmp345_ = _tmp344_;
	_tmp345__length1 = 1;
	_tmp346_ = g_new0 (gchar*, 0 + 1);
	_tmp347_ = _tmp346_;
	_tmp347__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "vkd3d-config", _ ("VKD3D compatibility settings"), _ ("Configure Direct3D 12 to Vulkan compatibility workarounds."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 50, _tmp342_, (gint) 7, _tmp345_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("VKD3D-Proton"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp347_, (gint) 0);
	_tmp347_ = (_vala_array_free (_tmp347_, _tmp347__length1, (GDestroyNotify) g_free), NULL);
	_tmp345_ = (_vala_array_free (_tmp345_, _tmp345__length1, (GDestroyNotify) g_free), NULL);
	_tmp342_ = (_vala_array_free (_tmp342_, _tmp342__length1, (GDestroyNotify) g_free), NULL);
	_tmp348_ = g_strdup ("PROTON_DXVK_LOWLATENCY=1");
	_tmp349_ = g_new0 (gchar*, 1 + 1);
	_tmp349_[0] = _tmp348_;
	_tmp350_ = _tmp349_;
	_tmp350__length1 = 1;
	_tmp351_ = g_strdup ("DX11");
	_tmp352_ = g_strdup ("low latency");
	_tmp353_ = g_strdup ("CachyOS");
	_tmp354_ = g_new0 (gchar*, 3 + 1);
	_tmp354_[0] = _tmp351_;
	_tmp354_[1] = _tmp352_;
	_tmp354_[2] = _tmp353_;
	_tmp355_ = _tmp354_;
	_tmp355__length1 = 3;
	_tmp356_ = g_new0 (gchar*, 0 + 1);
	_tmp357_ = _tmp356_;
	_tmp357__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "cachyos-dxvk-low-latency", _ ("Proton-CachyOS DX11 low latency"), _ ("Enables the Proton-CachyOS DXVK low-latency path for Direct3D 9–11. Re" \
"quires a selected custom Proton build that advertises this option."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 60, _tmp350_, (gint) 1, _tmp355_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("Proton-CachyOS"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Requires a compatible Proton-CachyOS build"), _tmp357_, (gint) 0);
	_tmp357_ = (_vala_array_free (_tmp357_, _tmp357__length1, (GDestroyNotify) g_free), NULL);
	_tmp355_ = (_vala_array_free (_tmp355_, _tmp355__length1, (GDestroyNotify) g_free), NULL);
	_tmp350_ = (_vala_array_free (_tmp350_, _tmp350__length1, (GDestroyNotify) g_free), NULL);
	_tmp358_ = g_strdup ("PROTON_VKD3D_LOWLATENCY=1");
	_tmp359_ = g_new0 (gchar*, 1 + 1);
	_tmp359_[0] = _tmp358_;
	_tmp360_ = _tmp359_;
	_tmp360__length1 = 1;
	_tmp361_ = g_strdup ("DX12");
	_tmp362_ = g_strdup ("Reflex");
	_tmp363_ = g_strdup ("waitable swapchain");
	_tmp364_ = g_strdup ("CachyOS");
	_tmp365_ = g_new0 (gchar*, 4 + 1);
	_tmp365_[0] = _tmp361_;
	_tmp365_[1] = _tmp362_;
	_tmp365_[2] = _tmp363_;
	_tmp365_[3] = _tmp364_;
	_tmp366_ = _tmp365_;
	_tmp366__length1 = 4;
	_tmp367_ = g_new0 (gchar*, 0 + 1);
	_tmp368_ = _tmp367_;
	_tmp368__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "cachyos-vkd3d-low-latency", _ ("Proton-CachyOS DX12 low latency"), _ ("Enables hardware-agnostic VKD3D-Proton low latency for Direct3D 12 gam" \
"es that use Reflex markers or waitable swapchains. Intel GPUs, frame g" \
"eneration, and games without markers are unsupported."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 70, _tmp360_, (gint) 1, _tmp366_, (gint) 4, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("Proton-CachyOS"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Requires a compatible Proton-CachyOS build; not compatible with frame " \
"generation"), _tmp368_, (gint) 0);
	_tmp368_ = (_vala_array_free (_tmp368_, _tmp368__length1, (GDestroyNotify) g_free), NULL);
	_tmp366_ = (_vala_array_free (_tmp366_, _tmp366__length1, (GDestroyNotify) g_free), NULL);
	_tmp360_ = (_vala_array_free (_tmp360_, _tmp360__length1, (GDestroyNotify) g_free), NULL);
	_tmp369_ = g_strdup ("LOW_LATENCY_LAYER=1");
	_tmp370_ = g_new0 (gchar*, 1 + 1);
	_tmp370_[0] = _tmp369_;
	_tmp371_ = _tmp370_;
	_tmp371__length1 = 1;
	_tmp372_ = g_strdup ("Vulkan");
	_tmp373_ = g_strdup ("Anti-Lag 2");
	_tmp374_ = g_strdup ("CachyOS");
	_tmp375_ = g_new0 (gchar*, 3 + 1);
	_tmp375_[0] = _tmp372_;
	_tmp375_[1] = _tmp373_;
	_tmp375_[2] = _tmp374_;
	_tmp376_ = _tmp375_;
	_tmp376__length1 = 3;
	_tmp377_ = g_new0 (gchar*, 0 + 1);
	_tmp378_ = _tmp377_;
	_tmp378__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "cachyos-vulkan-low-latency", _ ("Proton-CachyOS Vulkan Anti-Lag 2 layer"), _ ("Enables the low-latency Vulkan layer with VK_AMD_anti_lag exposure. Th" \
"e game must support AMD Anti-Lag 2; this does not add latency markers " \
"to unsupported games."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 80, _tmp371_, (gint) 1, _tmp376_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("Proton-CachyOS"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Requires a compatible Proton-CachyOS build and game support for Anti-L" \
"ag 2"), _tmp378_, (gint) 0);
	_tmp378_ = (_vala_array_free (_tmp378_, _tmp378__length1, (GDestroyNotify) g_free), NULL);
	_tmp376_ = (_vala_array_free (_tmp376_, _tmp376__length1, (GDestroyNotify) g_free), NULL);
	_tmp371_ = (_vala_array_free (_tmp371_, _tmp371__length1, (GDestroyNotify) g_free), NULL);
	_tmp379_ = g_strdup ("LOW_LATENCY_LAYER_REFLEX=1");
	_tmp380_ = g_new0 (gchar*, 1 + 1);
	_tmp380_[0] = _tmp379_;
	_tmp381_ = _tmp380_;
	_tmp381__length1 = 1;
	_tmp382_ = g_strdup ("Vulkan");
	_tmp383_ = g_strdup ("Reflex");
	_tmp384_ = g_strdup ("VK_NV_low_latency2");
	_tmp385_ = g_new0 (gchar*, 3 + 1);
	_tmp385_[0] = _tmp382_;
	_tmp385_[1] = _tmp383_;
	_tmp385_[2] = _tmp384_;
	_tmp386_ = _tmp385_;
	_tmp386__length1 = 3;
	_tmp387_ = g_strdup ("cachyos-vulkan-low-latency");
	_tmp388_ = g_new0 (gchar*, 1 + 1);
	_tmp388_[0] = _tmp387_;
	_tmp389_ = _tmp388_;
	_tmp389__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "cachyos-vulkan-reflex", _ ("Expose Vulkan Reflex instead of Anti-Lag 2"), _ ("Switches the Proton-CachyOS low-latency Vulkan layer from VK_AMD_anti_" \
"lag to VK_NV_low_latency2. Enable only for games with Vulkan Reflex su" \
"pport."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 90, _tmp381_, (gint) 1, _tmp386_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("Proton-CachyOS"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Requires the Vulkan low-latency layer"), _tmp389_, (gint) 1);
	_tmp389_ = (_vala_array_free (_tmp389_, _tmp389__length1, (GDestroyNotify) g_free), NULL);
	_tmp386_ = (_vala_array_free (_tmp386_, _tmp386__length1, (GDestroyNotify) g_free), NULL);
	_tmp381_ = (_vala_array_free (_tmp381_, _tmp381__length1, (GDestroyNotify) g_free), NULL);
	_tmp390_ = g_strdup ("DXVK_NVAPI_VKREFLEX=1");
	_tmp391_ = g_new0 (gchar*, 1 + 1);
	_tmp391_[0] = _tmp390_;
	_tmp392_ = _tmp391_;
	_tmp392__length1 = 1;
	_tmp393_ = g_strdup ("Vulkan");
	_tmp394_ = g_strdup ("NVIDIA Reflex");
	_tmp395_ = g_strdup ("CachyOS");
	_tmp396_ = g_new0 (gchar*, 3 + 1);
	_tmp396_[0] = _tmp393_;
	_tmp396_[1] = _tmp394_;
	_tmp396_[2] = _tmp395_;
	_tmp397_ = _tmp396_;
	_tmp397__length1 = 3;
	_tmp398_ = g_new0 (gchar*, 0 + 1);
	_tmp399_ = _tmp398_;
	_tmp399__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "cachyos-vulkan-reflex-layer", _ ("Proton-CachyOS NVIDIA Reflex Vulkan layer"), _ ("Enables Proton-CachyOS's NVIDIA Reflex layer for native Vulkan games. " \
"The game must already support VK_NV_low_latency2."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GRAPHICS, (guint) 100, _tmp392_, (gint) 1, _tmp397_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("Proton-CachyOS"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Requires NVIDIA and a compatible Proton-CachyOS build"), _tmp399_, (gint) 0);
	_tmp399_ = (_vala_array_free (_tmp399_, _tmp399__length1, (GDestroyNotify) g_free), NULL);
	_tmp397_ = (_vala_array_free (_tmp397_, _tmp397__length1, (GDestroyNotify) g_free), NULL);
	_tmp392_ = (_vala_array_free (_tmp392_, _tmp392__length1, (GDestroyNotify) g_free), NULL);
	_tmp400_ = g_strdup ("DRI_PRIME=1");
	_tmp401_ = g_new0 (gchar*, 1 + 1);
	_tmp401_[0] = _tmp400_;
	_tmp402_ = _tmp401_;
	_tmp402__length1 = 1;
	_tmp403_ = g_strdup ("Use dGPU");
	_tmp404_ = g_new0 (gchar*, 1 + 1);
	_tmp404_[0] = _tmp403_;
	_tmp405_ = _tmp404_;
	_tmp405__length1 = 1;
	_tmp406_ = g_new0 (gchar*, 0 + 1);
	_tmp407_ = _tmp406_;
	_tmp407__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-discrete-gpu", _ ("Use discrete GPU"), _ ("Uses the AMD discrete GPU on hybrid systems."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 10, _tmp402_, (gint) 1, _tmp405_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("AMD"), _tmp407_, (gint) 0);
	_tmp407_ = (_vala_array_free (_tmp407_, _tmp407__length1, (GDestroyNotify) g_free), NULL);
	_tmp405_ = (_vala_array_free (_tmp405_, _tmp405__length1, (GDestroyNotify) g_free), NULL);
	_tmp402_ = (_vala_array_free (_tmp402_, _tmp402__length1, (GDestroyNotify) g_free), NULL);
	_tmp408_ = g_strdup ("ENABLE_LAYER_MESA_ANTI_LAG=1");
	_tmp409_ = g_new0 (gchar*, 1 + 1);
	_tmp409_[0] = _tmp408_;
	_tmp410_ = _tmp409_;
	_tmp410__length1 = 1;
	_tmp411_ = g_new0 (gchar*, 0 + 1);
	_tmp412_ = _tmp411_;
	_tmp412__length1 = 0;
	_tmp413_ = g_new0 (gchar*, 0 + 1);
	_tmp414_ = _tmp413_;
	_tmp414__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-anti-lag", _ ("Mesa Anti-Lag"), _ ("Reduces latency on supported AMD Mesa setups."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 20, _tmp410_, (gint) 1, _tmp412_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("AMD"), _tmp414_, (gint) 0);
	_tmp414_ = (_vala_array_free (_tmp414_, _tmp414__length1, (GDestroyNotify) g_free), NULL);
	_tmp412_ = (_vala_array_free (_tmp412_, _tmp412__length1, (GDestroyNotify) g_free), NULL);
	_tmp410_ = (_vala_array_free (_tmp410_, _tmp410__length1, (GDestroyNotify) g_free), NULL);
	_tmp415_ = g_strdup ("PROTON_FSR4_UPGRADE=1");
	_tmp416_ = g_new0 (gchar*, 1 + 1);
	_tmp416_[0] = _tmp415_;
	_tmp417_ = _tmp416_;
	_tmp417__length1 = 1;
	_tmp418_ = g_strdup ("FSR 4");
	_tmp419_ = g_strdup ("Proton-GE");
	_tmp420_ = g_strdup ("Proton-CachyOS");
	_tmp421_ = g_strdup ("Proton-EM");
	_tmp422_ = g_new0 (gchar*, 4 + 1);
	_tmp422_[0] = _tmp418_;
	_tmp422_[1] = _tmp419_;
	_tmp422_[2] = _tmp420_;
	_tmp422_[3] = _tmp421_;
	_tmp423_ = _tmp422_;
	_tmp423__length1 = 4;
	_tmp424_ = g_new0 (gchar*, 0 + 1);
	_tmp425_ = _tmp424_;
	_tmp425__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-fsr4", _ ("FSR 4 upgrade (current path)"), _ ("Upgrades supported FSR 3.1 games through the selected custom Proton bu" \
"ild. Value 1 selects that build's default FSR 4 release; supported bui" \
"lds also accept a documented version. Proton-EM documents Mesa 25.2 fo" \
"r RDNA3/RDNA4, while older RDNA generations use a slower compatibility" \
" layer. Current Proton-GE disables Anti-Lag 2 while this is active."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 30, _tmp417_, (gint) 1, _tmp423_, (gint) 4, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires a custom Proton build that advertises PROTON_FSR4_UPGRADE, a " \
"supported game, and compatible AMD hardware/drivers"), _tmp425_, (gint) 0);
	_tmp425_ = (_vala_array_free (_tmp425_, _tmp425__length1, (GDestroyNotify) g_free), NULL);
	_tmp423_ = (_vala_array_free (_tmp423_, _tmp423__length1, (GDestroyNotify) g_free), NULL);
	_tmp417_ = (_vala_array_free (_tmp417_, _tmp417__length1, (GDestroyNotify) g_free), NULL);
	_tmp426_ = g_strdup ("PROTON_FSR4_RDNA3_UPGRADE=1");
	_tmp427_ = g_new0 (gchar*, 1 + 1);
	_tmp427_[0] = _tmp426_;
	_tmp428_ = _tmp427_;
	_tmp428__length1 = 1;
	_tmp429_ = g_strdup ("FSR 4");
	_tmp430_ = g_strdup ("RDNA3");
	_tmp431_ = g_strdup ("legacy");
	_tmp432_ = g_new0 (gchar*, 3 + 1);
	_tmp432_[0] = _tmp429_;
	_tmp432_[1] = _tmp430_;
	_tmp432_[2] = _tmp431_;
	_tmp433_ = _tmp432_;
	_tmp433__length1 = 3;
	_tmp434_ = g_new0 (gchar*, 0 + 1);
	_tmp435_ = _tmp434_;
	_tmp435__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-fsr4-rdna3", _ ("FSR 4 RDNA3 upgrade (legacy path)"), _ ("Uses the older RDNA3-specific upgrade switch retained by some Proton-G" \
"E builds. New Proton-CachyOS releases removed it in favor of the curre" \
"nt FSR 4 path."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 40, _tmp428_, (gint) 1, _tmp433_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("Only available when the selected custom Proton build still advertises " \
"this legacy switch"), _tmp435_, (gint) 0);
	_tmp435_ = (_vala_array_free (_tmp435_, _tmp435__length1, (GDestroyNotify) g_free), NULL);
	_tmp433_ = (_vala_array_free (_tmp433_, _tmp433__length1, (GDestroyNotify) g_free), NULL);
	_tmp428_ = (_vala_array_free (_tmp428_, _tmp428__length1, (GDestroyNotify) g_free), NULL);
	_tmp436_ = g_strdup ("PROTON_MLFG_UPGRADE=1");
	_tmp437_ = g_new0 (gchar*, 1 + 1);
	_tmp437_[0] = _tmp436_;
	_tmp438_ = _tmp437_;
	_tmp438__length1 = 1;
	_tmp439_ = g_strdup ("MLFG");
	_tmp440_ = g_strdup ("machine learning frame generation");
	_tmp441_ = g_strdup ("FSR 4");
	_tmp442_ = g_new0 (gchar*, 3 + 1);
	_tmp442_[0] = _tmp439_;
	_tmp442_[1] = _tmp440_;
	_tmp442_[2] = _tmp441_;
	_tmp443_ = _tmp442_;
	_tmp443__length1 = 3;
	_tmp444_ = g_strdup ("amd-fsr4");
	_tmp445_ = g_new0 (gchar*, 1 + 1);
	_tmp445_[0] = _tmp444_;
	_tmp446_ = _tmp445_;
	_tmp446__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-mlfg", _ ("FSR 4 ML frame generation"), _ ("Requests ML frame generation in supported custom Proton builds. Proton" \
"-CachyOS requires FSR 4.0.3 or newer; RDNA3 may require DXIL_SPIRV_CON" \
"FIG=wmma_rdna3_workaround. Proton-EM enables MLFG by default with FSR " \
"4 and uses value 0 to disable it."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 50, _tmp438_, (gint) 1, _tmp443_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Requires a custom Proton build that advertises MLFG, FSR 4.0.3 or newe" \
"r, and supported AMD hardware/drivers"), _tmp446_, (gint) 1);
	_tmp446_ = (_vala_array_free (_tmp446_, _tmp446__length1, (GDestroyNotify) g_free), NULL);
	_tmp443_ = (_vala_array_free (_tmp443_, _tmp443__length1, (GDestroyNotify) g_free), NULL);
	_tmp438_ = (_vala_array_free (_tmp438_, _tmp438__length1, (GDestroyNotify) g_free), NULL);
	_tmp447_ = g_strdup ("DXIL_SPIRV_CONFIG=wmma_rdna3_workaround");
	_tmp448_ = g_new0 (gchar*, 1 + 1);
	_tmp448_[0] = _tmp447_;
	_tmp449_ = _tmp448_;
	_tmp449__length1 = 1;
	_tmp450_ = g_strdup ("RDNA3");
	_tmp451_ = g_strdup ("MLFG");
	_tmp452_ = g_strdup ("WMMA");
	_tmp453_ = g_strdup ("DXIL-SPIR-V");
	_tmp454_ = g_new0 (gchar*, 4 + 1);
	_tmp454_[0] = _tmp450_;
	_tmp454_[1] = _tmp451_;
	_tmp454_[2] = _tmp452_;
	_tmp454_[3] = _tmp453_;
	_tmp455_ = _tmp454_;
	_tmp455__length1 = 4;
	_tmp456_ = g_strdup ("amd-mlfg");
	_tmp457_ = g_new0 (gchar*, 1 + 1);
	_tmp457_[0] = _tmp456_;
	_tmp458_ = _tmp457_;
	_tmp458__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-mlfg-rdna3-workaround", _ ("RDNA3 ML frame-generation workaround"), _ ("Enables the DXIL-SPIR-V WMMA workaround that some RDNA3 systems need f" \
"or ML frame generation. Do not use it on other GPU generations."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 55, _tmp449_, (gint) 1, _tmp455_, (gint) 4, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("RDNA3 only; enable only if ML frame generation requires it"), _tmp458_, (gint) 1);
	_tmp458_ = (_vala_array_free (_tmp458_, _tmp458__length1, (GDestroyNotify) g_free), NULL);
	_tmp455_ = (_vala_array_free (_tmp455_, _tmp455__length1, (GDestroyNotify) g_free), NULL);
	_tmp449_ = (_vala_array_free (_tmp449_, _tmp449__length1, (GDestroyNotify) g_free), NULL);
	_tmp459_ = g_strdup ("DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1");
	_tmp460_ = g_new0 (gchar*, 1 + 1);
	_tmp460_[0] = _tmp459_;
	_tmp461_ = _tmp460_;
	_tmp461__length1 = 1;
	_tmp462_ = g_strdup ("AMD");
	_tmp463_ = g_strdup ("Reflex");
	_tmp464_ = g_strdup ("DXVK-NVAPI");
	_tmp465_ = g_new0 (gchar*, 3 + 1);
	_tmp465_[0] = _tmp462_;
	_tmp465_[1] = _tmp463_;
	_tmp465_[2] = _tmp464_;
	_tmp466_ = _tmp465_;
	_tmp466__length1 = 3;
	_tmp467_ = g_strdup ("cachyos-vulkan-reflex");
	_tmp468_ = g_new0 (gchar*, 1 + 1);
	_tmp468_[0] = _tmp467_;
	_tmp469_ = _tmp468_;
	_tmp469__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-reflex-allow-other-drivers", _ ("AMD Reflex preset: allow DXVK-NVAPI"), _ ("Allows DXVK-NVAPI on non-NVIDIA drivers. Try this least-invasive Refle" \
"x compatibility preset first; the game must support Reflex and the low" \
"-latency Vulkan layer must be active."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 60, _tmp461_, (gint) 1, _tmp466_, (gint) 3, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD Reflex compatibility"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("May not convince games that explicitly require an NVIDIA GPU"), _tmp469_, (gint) 1);
	_tmp469_ = (_vala_array_free (_tmp469_, _tmp469__length1, (GDestroyNotify) g_free), NULL);
	_tmp466_ = (_vala_array_free (_tmp466_, _tmp466__length1, (GDestroyNotify) g_free), NULL);
	_tmp461_ = (_vala_array_free (_tmp461_, _tmp461__length1, (GDestroyNotify) g_free), NULL);
	_tmp470_ = g_strdup ("DXVK_CONFIG=dxgi.hideAmdGpu=True");
	_tmp471_ = g_new0 (gchar*, 1 + 1);
	_tmp471_[0] = _tmp470_;
	_tmp472_ = _tmp471_;
	_tmp472__length1 = 1;
	_tmp473_ = g_strdup ("AMD");
	_tmp474_ = g_strdup ("Reflex");
	_tmp475_ = g_strdup ("GPU spoof");
	_tmp476_ = g_strdup ("DXVK");
	_tmp477_ = g_new0 (gchar*, 4 + 1);
	_tmp477_[0] = _tmp473_;
	_tmp477_[1] = _tmp474_;
	_tmp477_[2] = _tmp475_;
	_tmp477_[3] = _tmp476_;
	_tmp478_ = _tmp477_;
	_tmp478__length1 = 4;
	_tmp479_ = g_strdup ("cachyos-vulkan-reflex");
	_tmp480_ = g_new0 (gchar*, 1 + 1);
	_tmp480_[0] = _tmp479_;
	_tmp481_ = _tmp480_;
	_tmp481__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-reflex-dxgi-spoof", _ ("AMD Reflex preset: hide AMD GPU"), _ ("Makes DXVK hide the AMD GPU so some games expose Reflex. This fallback" \
" can break FSR 4 and ML frame generation; use only if allowing DXVK-NV" \
"API is insufficient."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 70, _tmp472_, (gint) 1, _tmp478_, (gint) 4, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD Reflex compatibility"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("GPU spoofing can break FSR 4 and other vendor-specific paths"), _tmp481_, (gint) 1);
	_tmp481_ = (_vala_array_free (_tmp481_, _tmp481__length1, (GDestroyNotify) g_free), NULL);
	_tmp478_ = (_vala_array_free (_tmp478_, _tmp478__length1, (GDestroyNotify) g_free), NULL);
	_tmp472_ = (_vala_array_free (_tmp472_, _tmp472__length1, (GDestroyNotify) g_free), NULL);
	_tmp482_ = g_strdup ("PROTON_FORCE_NVAPI=1");
	_tmp483_ = g_new0 (gchar*, 1 + 1);
	_tmp483_[0] = _tmp482_;
	_tmp484_ = _tmp483_;
	_tmp484__length1 = 1;
	_tmp485_ = g_strdup ("AMD");
	_tmp486_ = g_strdup ("Reflex");
	_tmp487_ = g_strdup ("GPU spoof");
	_tmp488_ = g_strdup ("NVAPI");
	_tmp489_ = g_new0 (gchar*, 4 + 1);
	_tmp489_[0] = _tmp485_;
	_tmp489_[1] = _tmp486_;
	_tmp489_[2] = _tmp487_;
	_tmp489_[3] = _tmp488_;
	_tmp490_ = _tmp489_;
	_tmp490__length1 = 4;
	_tmp491_ = g_strdup ("cachyos-vulkan-reflex");
	_tmp492_ = g_new0 (gchar*, 1 + 1);
	_tmp492_[0] = _tmp491_;
	_tmp493_ = _tmp492_;
	_tmp493__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-reflex-force-nvapi", _ ("AMD Reflex preset: force NVAPI"), _ ("Forces Proton's NVAPI path for games that still hide Reflex. This inva" \
"sive fallback can break FSR 4 and should be used only after the safer " \
"presets fail."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 80, _tmp484_, (gint) 1, _tmp490_, (gint) 4, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD Reflex compatibility"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Can break FSR 4 and game-specific GPU detection"), _tmp493_, (gint) 1);
	_tmp493_ = (_vala_array_free (_tmp493_, _tmp493__length1, (GDestroyNotify) g_free), NULL);
	_tmp490_ = (_vala_array_free (_tmp490_, _tmp490__length1, (GDestroyNotify) g_free), NULL);
	_tmp484_ = (_vala_array_free (_tmp484_, _tmp484__length1, (GDestroyNotify) g_free), NULL);
	_tmp494_ = g_strdup ("LOW_LATENCY_LAYER_SPOOF_NVIDIA=1");
	_tmp495_ = g_new0 (gchar*, 1 + 1);
	_tmp495_[0] = _tmp494_;
	_tmp496_ = _tmp495_;
	_tmp496__length1 = 1;
	_tmp497_ = g_strdup ("AMD");
	_tmp498_ = g_strdup ("Reflex");
	_tmp499_ = g_strdup ("GPU spoof");
	_tmp500_ = g_strdup ("NVIDIA");
	_tmp501_ = g_new0 (gchar*, 4 + 1);
	_tmp501_[0] = _tmp497_;
	_tmp501_[1] = _tmp498_;
	_tmp501_[2] = _tmp499_;
	_tmp501_[3] = _tmp500_;
	_tmp502_ = _tmp501_;
	_tmp502__length1 = 4;
	_tmp503_ = g_strdup ("cachyos-vulkan-reflex");
	_tmp504_ = g_new0 (gchar*, 1 + 1);
	_tmp504_[0] = _tmp503_;
	_tmp505_ = _tmp504_;
	_tmp505__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-reflex-layer-spoof", _ ("AMD Reflex preset: layer NVIDIA spoof"), _ ("Makes the low-latency Vulkan layer report an NVIDIA GPU. Upstream reco" \
"mmends against this last-resort spoof because it can break Proton FSR " \
"4."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 90, _tmp496_, (gint) 1, _tmp502_, (gint) 4, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD Reflex compatibility"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("Last resort; can break FSR 4 and other GPU detection"), _tmp505_, (gint) 1);
	_tmp505_ = (_vala_array_free (_tmp505_, _tmp505__length1, (GDestroyNotify) g_free), NULL);
	_tmp502_ = (_vala_array_free (_tmp502_, _tmp502__length1, (GDestroyNotify) g_free), NULL);
	_tmp496_ = (_vala_array_free (_tmp496_, _tmp496__length1, (GDestroyNotify) g_free), NULL);
	_tmp506_ = g_strdup ("PROTON_HIDE_APU=1");
	_tmp507_ = g_new0 (gchar*, 1 + 1);
	_tmp507_[0] = _tmp506_;
	_tmp508_ = _tmp507_;
	_tmp508__length1 = 1;
	_tmp509_ = g_strdup ("Hide AMD APU");
	_tmp510_ = g_new0 (gchar*, 1 + 1);
	_tmp510_[0] = _tmp509_;
	_tmp511_ = _tmp510_;
	_tmp511__length1 = 1;
	_tmp512_ = g_new0 (gchar*, 0 + 1);
	_tmp513_ = _tmp512_;
	_tmp513__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-hide-apu", _ ("Treat APU as a discrete GPU"), _ ("Reports an AMD APU as a discrete GPU for games that mis-detect integra" \
"ted graphics."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 100, _tmp508_, (gint) 1, _tmp511_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("AMD"), _tmp513_, (gint) 0);
	_tmp513_ = (_vala_array_free (_tmp513_, _tmp513__length1, (GDestroyNotify) g_free), NULL);
	_tmp511_ = (_vala_array_free (_tmp511_, _tmp511__length1, (GDestroyNotify) g_free), NULL);
	_tmp508_ = (_vala_array_free (_tmp508_, _tmp508__length1, (GDestroyNotify) g_free), NULL);
	_tmp514_ = g_strdup ("AMD_ICD");
	_tmp515_ = g_new0 (gchar*, 1 + 1);
	_tmp515_[0] = _tmp514_;
	_tmp516_ = _tmp515_;
	_tmp516__length1 = 1;
	_tmp517_ = g_new0 (gchar*, 0 + 1);
	_tmp518_ = _tmp517_;
	_tmp518__length1 = 0;
	_tmp519_ = g_new0 (gchar*, 0 + 1);
	_tmp520_ = _tmp519_;
	_tmp520__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-vulkan-driver", _ ("Vulkan driver"), _ ("Chooses the AMD Vulkan driver for this game."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 110, _tmp516_, (gint) 1, _tmp518_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("AMD"), _tmp520_, (gint) 0);
	_tmp520_ = (_vala_array_free (_tmp520_, _tmp520__length1, (GDestroyNotify) g_free), NULL);
	_tmp518_ = (_vala_array_free (_tmp518_, _tmp518__length1, (GDestroyNotify) g_free), NULL);
	_tmp516_ = (_vala_array_free (_tmp516_, _tmp516__length1, (GDestroyNotify) g_free), NULL);
	_tmp521_ = g_strdup ("STAGING_SHARED_MEMORY=1");
	_tmp522_ = g_new0 (gchar*, 1 + 1);
	_tmp522_[0] = _tmp521_;
	_tmp523_ = _tmp522_;
	_tmp523__length1 = 1;
	_tmp524_ = g_new0 (gchar*, 0 + 1);
	_tmp525_ = _tmp524_;
	_tmp525__length1 = 0;
	_tmp526_ = g_new0 (gchar*, 0 + 1);
	_tmp527_ = _tmp526_;
	_tmp527__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-staging-shm", _ ("Staging shared memory"), _ ("Enables AMD driver shared memory support."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 120, _tmp523_, (gint) 1, _tmp525_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("AMD"), _tmp527_, (gint) 0);
	_tmp527_ = (_vala_array_free (_tmp527_, _tmp527__length1, (GDestroyNotify) g_free), NULL);
	_tmp525_ = (_vala_array_free (_tmp525_, _tmp525__length1, (GDestroyNotify) g_free), NULL);
	_tmp523_ = (_vala_array_free (_tmp523_, _tmp523__length1, (GDestroyNotify) g_free), NULL);
	_tmp528_ = g_strdup ("mesa_glthread=true");
	_tmp529_ = g_new0 (gchar*, 1 + 1);
	_tmp529_[0] = _tmp528_;
	_tmp530_ = _tmp529_;
	_tmp530__length1 = 1;
	_tmp531_ = g_new0 (gchar*, 0 + 1);
	_tmp532_ = _tmp531_;
	_tmp532__length1 = 0;
	_tmp533_ = g_new0 (gchar*, 0 + 1);
	_tmp534_ = _tmp533_;
	_tmp534__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-glthread", _ ("Mesa GL threading"), _ ("Enables Mesa GLThread."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 130, _tmp530_, (gint) 1, _tmp532_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("AMD"), _tmp534_, (gint) 0);
	_tmp534_ = (_vala_array_free (_tmp534_, _tmp534__length1, (GDestroyNotify) g_free), NULL);
	_tmp532_ = (_vala_array_free (_tmp532_, _tmp532__length1, (GDestroyNotify) g_free), NULL);
	_tmp530_ = (_vala_array_free (_tmp530_, _tmp530__length1, (GDestroyNotify) g_free), NULL);
	_tmp535_ = g_strdup ("MESA_SHADER_CACHE_DISABLE=0");
	_tmp536_ = g_strdup ("MESA_SHADER_CACHE_DISABLE=1");
	_tmp537_ = g_new0 (gchar*, 2 + 1);
	_tmp537_[0] = _tmp535_;
	_tmp537_[1] = _tmp536_;
	_tmp538_ = _tmp537_;
	_tmp538__length1 = 2;
	_tmp539_ = g_new0 (gchar*, 0 + 1);
	_tmp540_ = _tmp539_;
	_tmp540__length1 = 0;
	_tmp541_ = g_new0 (gchar*, 0 + 1);
	_tmp542_ = _tmp541_;
	_tmp542__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-shader-cache", _ ("Mesa shader-cache control"), _ ("Controls Mesa's shader cache."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 140, _tmp538_, (gint) 2, _tmp540_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("AMD"), _tmp542_, (gint) 0);
	_tmp542_ = (_vala_array_free (_tmp542_, _tmp542__length1, (GDestroyNotify) g_free), NULL);
	_tmp540_ = (_vala_array_free (_tmp540_, _tmp540__length1, (GDestroyNotify) g_free), NULL);
	_tmp538_ = (_vala_array_free (_tmp538_, _tmp538__length1, (GDestroyNotify) g_free), NULL);
	_tmp543_ = g_strdup ("RADV_PERFTEST");
	_tmp544_ = g_new0 (gchar*, 1 + 1);
	_tmp544_[0] = _tmp543_;
	_tmp545_ = _tmp544_;
	_tmp545__length1 = 1;
	_tmp546_ = g_strdup ("AMD RADV Performance Tests");
	_tmp547_ = g_new0 (gchar*, 1 + 1);
	_tmp547_[0] = _tmp546_;
	_tmp548_ = _tmp547_;
	_tmp548__length1 = 1;
	_tmp549_ = g_new0 (gchar*, 0 + 1);
	_tmp550_ = _tmp549_;
	_tmp550__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-radv-perftest", _ ("Experimental RADV features"), _ ("Tests experimental RADV performance features."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 150, _tmp545_, (gint) 1, _tmp548_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_EXPERIMENTAL, _ ("AMD"), _tmp550_, (gint) 0);
	_tmp550_ = (_vala_array_free (_tmp550_, _tmp550__length1, (GDestroyNotify) g_free), NULL);
	_tmp548_ = (_vala_array_free (_tmp548_, _tmp548__length1, (GDestroyNotify) g_free), NULL);
	_tmp545_ = (_vala_array_free (_tmp545_, _tmp545__length1, (GDestroyNotify) g_free), NULL);
	_tmp551_ = g_strdup ("RADV_DEBUG");
	_tmp552_ = g_new0 (gchar*, 1 + 1);
	_tmp552_[0] = _tmp551_;
	_tmp553_ = _tmp552_;
	_tmp553__length1 = 1;
	_tmp554_ = g_strdup ("AMD RADV Debug Options");
	_tmp555_ = g_new0 (gchar*, 1 + 1);
	_tmp555_[0] = _tmp554_;
	_tmp556_ = _tmp555_;
	_tmp556__length1 = 1;
	_tmp557_ = g_new0 (gchar*, 0 + 1);
	_tmp558_ = _tmp557_;
	_tmp558__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-radv-debug", _ ("RADV workarounds and debugging"), _ ("Configure RADV compatibility workarounds and debugging."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 160, _tmp553_, (gint) 1, _tmp556_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("AMD"), _tmp558_, (gint) 0);
	_tmp558_ = (_vala_array_free (_tmp558_, _tmp558__length1, (GDestroyNotify) g_free), NULL);
	_tmp556_ = (_vala_array_free (_tmp556_, _tmp556__length1, (GDestroyNotify) g_free), NULL);
	_tmp553_ = (_vala_array_free (_tmp553_, _tmp553__length1, (GDestroyNotify) g_free), NULL);
	_tmp559_ = g_strdup ("ACO_DEBUG");
	_tmp560_ = g_new0 (gchar*, 1 + 1);
	_tmp560_[0] = _tmp559_;
	_tmp561_ = _tmp560_;
	_tmp561__length1 = 1;
	_tmp562_ = g_strdup ("AMD ACO Debug Options");
	_tmp563_ = g_new0 (gchar*, 1 + 1);
	_tmp563_[0] = _tmp562_;
	_tmp564_ = _tmp563_;
	_tmp564__length1 = 1;
	_tmp565_ = g_new0 (gchar*, 0 + 1);
	_tmp566_ = _tmp565_;
	_tmp566__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "amd-aco-debug", _ ("ACO shader-compiler debugging"), _ ("Configure AMD ACO shader compiler debugging."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 170, _tmp561_, (gint) 1, _tmp564_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("AMD"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, _ ("AMD"), _tmp566_, (gint) 0);
	_tmp566_ = (_vala_array_free (_tmp566_, _tmp566__length1, (GDestroyNotify) g_free), NULL);
	_tmp564_ = (_vala_array_free (_tmp564_, _tmp564__length1, (GDestroyNotify) g_free), NULL);
	_tmp561_ = (_vala_array_free (_tmp561_, _tmp561__length1, (GDestroyNotify) g_free), NULL);
	_tmp567_ = g_strdup ("PROTON_ENABLE_NVAPI=1");
	_tmp568_ = g_new0 (gchar*, 1 + 1);
	_tmp568_[0] = _tmp567_;
	_tmp569_ = _tmp568_;
	_tmp569__length1 = 1;
	_tmp570_ = g_new0 (gchar*, 0 + 1);
	_tmp571_ = _tmp570_;
	_tmp571__length1 = 0;
	_tmp572_ = g_new0 (gchar*, 0 + 1);
	_tmp573_ = _tmp572_;
	_tmp573__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "nvidia-nvapi", _ ("NVAPI"), _ ("Lets games access NVIDIA-specific features such as DLSS."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 200, _tmp569_, (gint) 1, _tmp571_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("NVIDIA"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("NVIDIA"), _tmp573_, (gint) 0);
	_tmp573_ = (_vala_array_free (_tmp573_, _tmp573__length1, (GDestroyNotify) g_free), NULL);
	_tmp571_ = (_vala_array_free (_tmp571_, _tmp571__length1, (GDestroyNotify) g_free), NULL);
	_tmp569_ = (_vala_array_free (_tmp569_, _tmp569__length1, (GDestroyNotify) g_free), NULL);
	_tmp574_ = g_strdup ("PROTON_ENABLE_NGX_UPDATER=1");
	_tmp575_ = g_new0 (gchar*, 1 + 1);
	_tmp575_[0] = _tmp574_;
	_tmp576_ = _tmp575_;
	_tmp576__length1 = 1;
	_tmp577_ = g_strdup ("Update DLSS components");
	_tmp578_ = g_new0 (gchar*, 1 + 1);
	_tmp578_[0] = _tmp577_;
	_tmp579_ = _tmp578_;
	_tmp579__length1 = 1;
	_tmp580_ = g_new0 (gchar*, 0 + 1);
	_tmp581_ = _tmp580_;
	_tmp581__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "nvidia-dlss-updater", _ ("DLSS component updates"), _ ("Updates DLSS components for supported games."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 210, _tmp576_, (gint) 1, _tmp579_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("NVIDIA"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("NVIDIA"), _tmp581_, (gint) 0);
	_tmp581_ = (_vala_array_free (_tmp581_, _tmp581__length1, (GDestroyNotify) g_free), NULL);
	_tmp579_ = (_vala_array_free (_tmp579_, _tmp579__length1, (GDestroyNotify) g_free), NULL);
	_tmp576_ = (_vala_array_free (_tmp576_, _tmp576__length1, (GDestroyNotify) g_free), NULL);
	_tmp582_ = g_strdup ("PROTON_DLSS_INDICATOR=1");
	_tmp583_ = g_new0 (gchar*, 1 + 1);
	_tmp583_[0] = _tmp582_;
	_tmp584_ = _tmp583_;
	_tmp584__length1 = 1;
	_tmp585_ = g_new0 (gchar*, 0 + 1);
	_tmp586_ = _tmp585_;
	_tmp586__length1 = 0;
	_tmp587_ = g_new0 (gchar*, 0 + 1);
	_tmp588_ = _tmp587_;
	_tmp588__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "nvidia-dlss-indicator", _ ("DLSS indicator"), _ ("Shows an in-game DLSS status indicator."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 220, _tmp584_, (gint) 1, _tmp586_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("NVIDIA"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("NVIDIA"), _tmp588_, (gint) 0);
	_tmp588_ = (_vala_array_free (_tmp588_, _tmp588__length1, (GDestroyNotify) g_free), NULL);
	_tmp586_ = (_vala_array_free (_tmp586_, _tmp586__length1, (GDestroyNotify) g_free), NULL);
	_tmp584_ = (_vala_array_free (_tmp584_, _tmp584__length1, (GDestroyNotify) g_free), NULL);
	_tmp589_ = g_strdup ("PROTON_NVIDIA_LIBS=1");
	_tmp590_ = g_new0 (gchar*, 1 + 1);
	_tmp590_[0] = _tmp589_;
	_tmp591_ = _tmp590_;
	_tmp591__length1 = 1;
	_tmp592_ = g_new0 (gchar*, 0 + 1);
	_tmp593_ = _tmp592_;
	_tmp593__length1 = 0;
	_tmp594_ = g_new0 (gchar*, 0 + 1);
	_tmp595_ = _tmp594_;
	_tmp595__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "nvidia-libraries", _ ("NVIDIA libraries"), _ ("Enables NVIDIA-specific libraries."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 230, _tmp591_, (gint) 1, _tmp593_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("NVIDIA"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("NVIDIA"), _tmp595_, (gint) 0);
	_tmp595_ = (_vala_array_free (_tmp595_, _tmp595__length1, (GDestroyNotify) g_free), NULL);
	_tmp593_ = (_vala_array_free (_tmp593_, _tmp593__length1, (GDestroyNotify) g_free), NULL);
	_tmp591_ = (_vala_array_free (_tmp591_, _tmp591__length1, (GDestroyNotify) g_free), NULL);
	_tmp596_ = g_strdup ("PROTON_HIDE_NVIDIA_GPU=1");
	_tmp597_ = g_new0 (gchar*, 1 + 1);
	_tmp597_[0] = _tmp596_;
	_tmp598_ = _tmp597_;
	_tmp598__length1 = 1;
	_tmp599_ = g_strdup ("Hide NVIDIA GPU");
	_tmp600_ = g_new0 (gchar*, 1 + 1);
	_tmp600_[0] = _tmp599_;
	_tmp601_ = _tmp600_;
	_tmp601__length1 = 1;
	_tmp602_ = g_new0 (gchar*, 0 + 1);
	_tmp603_ = _tmp602_;
	_tmp603__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "nvidia-report-amd", _ ("Report GPU as AMD"), _ ("Reports an NVIDIA GPU as AMD for affected games."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 240, _tmp598_, (gint) 1, _tmp601_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("NVIDIA"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("NVIDIA"), _tmp603_, (gint) 0);
	_tmp603_ = (_vala_array_free (_tmp603_, _tmp603__length1, (GDestroyNotify) g_free), NULL);
	_tmp601_ = (_vala_array_free (_tmp601_, _tmp601__length1, (GDestroyNotify) g_free), NULL);
	_tmp598_ = (_vala_array_free (_tmp598_, _tmp598__length1, (GDestroyNotify) g_free), NULL);
	_tmp604_ = g_strdup ("PROTON_XESS_UPGRADE=1");
	_tmp605_ = g_new0 (gchar*, 1 + 1);
	_tmp605_[0] = _tmp604_;
	_tmp606_ = _tmp605_;
	_tmp606__length1 = 1;
	_tmp607_ = g_strdup ("XeSS Upgrade");
	_tmp608_ = g_new0 (gchar*, 1 + 1);
	_tmp608_[0] = _tmp607_;
	_tmp609_ = _tmp608_;
	_tmp609__length1 = 1;
	_tmp610_ = g_new0 (gchar*, 0 + 1);
	_tmp611_ = _tmp610_;
	_tmp611__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "intel-xess", _ ("XeSS component upgrade"), _ ("Updates XeSS in supported games."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_HARDWARE, (guint) 250, _tmp606_, (gint) 1, _tmp609_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, _ ("Intel"), FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Intel"), _tmp611_, (gint) 0);
	_tmp611_ = (_vala_array_free (_tmp611_, _tmp611__length1, (GDestroyNotify) g_free), NULL);
	_tmp609_ = (_vala_array_free (_tmp609_, _tmp609__length1, (GDestroyNotify) g_free), NULL);
	_tmp606_ = (_vala_array_free (_tmp606_, _tmp606__length1, (GDestroyNotify) g_free), NULL);
	_tmp612_ = g_strdup ("PROTON_PREFER_SDL=1");
	_tmp613_ = g_new0 (gchar*, 1 + 1);
	_tmp613_[0] = _tmp612_;
	_tmp614_ = _tmp613_;
	_tmp614__length1 = 1;
	_tmp615_ = g_strdup ("Prefer SDL controller");
	_tmp616_ = g_new0 (gchar*, 1 + 1);
	_tmp616_[0] = _tmp615_;
	_tmp617_ = _tmp616_;
	_tmp617__length1 = 1;
	_tmp618_ = g_new0 (gchar*, 0 + 1);
	_tmp619_ = _tmp618_;
	_tmp619__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "prefer-sdl", _ ("Prefer SDL controller input"), _ ("Works around controller detection issues."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO, (guint) 10, _tmp614_, (gint) 1, _tmp617_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp619_, (gint) 0);
	_tmp619_ = (_vala_array_free (_tmp619_, _tmp619__length1, (GDestroyNotify) g_free), NULL);
	_tmp617_ = (_vala_array_free (_tmp617_, _tmp617__length1, (GDestroyNotify) g_free), NULL);
	_tmp614_ = (_vala_array_free (_tmp614_, _tmp614__length1, (GDestroyNotify) g_free), NULL);
	_tmp620_ = g_strdup ("PROTON_NO_STEAMINPUT=1");
	_tmp621_ = g_new0 (gchar*, 1 + 1);
	_tmp621_[0] = _tmp620_;
	_tmp622_ = _tmp621_;
	_tmp622__length1 = 1;
	_tmp623_ = g_strdup ("Disable Steam Input");
	_tmp624_ = g_new0 (gchar*, 1 + 1);
	_tmp624_[0] = _tmp623_;
	_tmp625_ = _tmp624_;
	_tmp625__length1 = 1;
	_tmp626_ = g_new0 (gchar*, 0 + 1);
	_tmp627_ = _tmp626_;
	_tmp627__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "bypass-steam-input", _ ("Bypass Steam Input"), _ ("Disables Steam Input support."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO, (guint) 20, _tmp622_, (gint) 1, _tmp625_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp627_, (gint) 0);
	_tmp627_ = (_vala_array_free (_tmp627_, _tmp627__length1, (GDestroyNotify) g_free), NULL);
	_tmp625_ = (_vala_array_free (_tmp625_, _tmp625__length1, (GDestroyNotify) g_free), NULL);
	_tmp622_ = (_vala_array_free (_tmp622_, _tmp622__length1, (GDestroyNotify) g_free), NULL);
	_tmp628_ = g_strdup ("PULSE_LATENCY_MSEC=");
	_tmp629_ = g_new0 (gchar*, 1 + 1);
	_tmp629_[0] = _tmp628_;
	_tmp630_ = _tmp629_;
	_tmp630__length1 = 1;
	_tmp631_ = g_new0 (gchar*, 0 + 1);
	_tmp632_ = _tmp631_;
	_tmp632__length1 = 0;
	_tmp633_ = g_new0 (gchar*, 0 + 1);
	_tmp634_ = _tmp633_;
	_tmp634__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "pulse-latency", _ ("PulseAudio latency"), _ ("Sets the PulseAudio latency target."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO, (guint) 30, _tmp630_, (gint) 1, _tmp632_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp634_, (gint) 0);
	_tmp634_ = (_vala_array_free (_tmp634_, _tmp634__length1, (GDestroyNotify) g_free), NULL);
	_tmp632_ = (_vala_array_free (_tmp632_, _tmp632__length1, (GDestroyNotify) g_free), NULL);
	_tmp630_ = (_vala_array_free (_tmp630_, _tmp630__length1, (GDestroyNotify) g_free), NULL);
	_tmp635_ = g_strdup ("WINEALSA_CHANNELS=");
	_tmp636_ = g_new0 (gchar*, 1 + 1);
	_tmp636_[0] = _tmp635_;
	_tmp637_ = _tmp636_;
	_tmp637__length1 = 1;
	_tmp638_ = g_strdup ("WINEALSA Channels");
	_tmp639_ = g_new0 (gchar*, 1 + 1);
	_tmp639_[0] = _tmp638_;
	_tmp640_ = _tmp639_;
	_tmp640__length1 = 1;
	_tmp641_ = g_new0 (gchar*, 0 + 1);
	_tmp642_ = _tmp641_;
	_tmp642__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "winealsa-channels", _ ("Wine ALSA output channels"), _ ("Sets the Wine ALSA output channel count."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO, (guint) 40, _tmp637_, (gint) 1, _tmp640_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires Proton 11-1 or newer"), _tmp642_, (gint) 0);
	_tmp642_ = (_vala_array_free (_tmp642_, _tmp642__length1, (GDestroyNotify) g_free), NULL);
	_tmp640_ = (_vala_array_free (_tmp640_, _tmp640__length1, (GDestroyNotify) g_free), NULL);
	_tmp637_ = (_vala_array_free (_tmp637_, _tmp637__length1, (GDestroyNotify) g_free), NULL);
	_tmp643_ = g_strdup ("WINEALSA_SPACIAL=1");
	_tmp644_ = g_new0 (gchar*, 1 + 1);
	_tmp644_[0] = _tmp643_;
	_tmp645_ = _tmp644_;
	_tmp645__length1 = 1;
	_tmp646_ = g_strdup ("WINEALSA Spatial Audio");
	_tmp647_ = g_new0 (gchar*, 1 + 1);
	_tmp647_[0] = _tmp646_;
	_tmp648_ = _tmp647_;
	_tmp648__length1 = 1;
	_tmp649_ = g_strdup ("winealsa-channels");
	_tmp650_ = g_new0 (gchar*, 1 + 1);
	_tmp650_[0] = _tmp649_;
	_tmp651_ = _tmp650_;
	_tmp651__length1 = 1;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "winealsa-spatial", _ ("Wine ALSA spatial downmix"), _ ("Enables Wine ALSA spatial downmix for 4, 6, or 8 channels."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_INPUT_AUDIO, (guint) 50, _tmp645_, (gint) 1, _tmp648_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, _ ("Requires 4, 6, or 8 output channels"), _tmp651_, (gint) 1);
	_tmp651_ = (_vala_array_free (_tmp651_, _tmp651__length1, (GDestroyNotify) g_free), NULL);
	_tmp648_ = (_vala_array_free (_tmp648_, _tmp648__length1, (GDestroyNotify) g_free), NULL);
	_tmp645_ = (_vala_array_free (_tmp645_, _tmp645__length1, (GDestroyNotify) g_free), NULL);
	_tmp652_ = g_strdup ("-skip-launcher");
	_tmp653_ = g_new0 (gchar*, 1 + 1);
	_tmp653_[0] = _tmp652_;
	_tmp654_ = _tmp653_;
	_tmp654__length1 = 1;
	_tmp655_ = g_new0 (gchar*, 0 + 1);
	_tmp656_ = _tmp655_;
	_tmp656__length1 = 0;
	_tmp657_ = g_new0 (gchar*, 0 + 1);
	_tmp658_ = _tmp657_;
	_tmp658__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "skip-launcher", _ ("Skip launcher"), _ ("Adds -skip-launcher for games that support it."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS, (guint) 10, _tmp654_, (gint) 1, _tmp656_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ARGUMENT, "", TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp658_, (gint) 0);
	_tmp658_ = (_vala_array_free (_tmp658_, _tmp658__length1, (GDestroyNotify) g_free), NULL);
	_tmp656_ = (_vala_array_free (_tmp656_, _tmp656__length1, (GDestroyNotify) g_free), NULL);
	_tmp654_ = (_vala_array_free (_tmp654_, _tmp654__length1, (GDestroyNotify) g_free), NULL);
	_tmp659_ = g_strdup ("-vulkan");
	_tmp660_ = g_new0 (gchar*, 1 + 1);
	_tmp660_[0] = _tmp659_;
	_tmp661_ = _tmp660_;
	_tmp661__length1 = 1;
	_tmp662_ = g_new0 (gchar*, 0 + 1);
	_tmp663_ = _tmp662_;
	_tmp663__length1 = 0;
	_tmp664_ = g_new0 (gchar*, 0 + 1);
	_tmp665_ = _tmp664_;
	_tmp665__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "renderer-vulkan", _ ("Vulkan renderer"), _ ("Adds -vulkan."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS, (guint) 20, _tmp661_, (gint) 1, _tmp663_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ARGUMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp665_, (gint) 0);
	_tmp665_ = (_vala_array_free (_tmp665_, _tmp665__length1, (GDestroyNotify) g_free), NULL);
	_tmp663_ = (_vala_array_free (_tmp663_, _tmp663__length1, (GDestroyNotify) g_free), NULL);
	_tmp661_ = (_vala_array_free (_tmp661_, _tmp661__length1, (GDestroyNotify) g_free), NULL);
	_tmp666_ = g_strdup ("-dx11");
	_tmp667_ = g_new0 (gchar*, 1 + 1);
	_tmp667_[0] = _tmp666_;
	_tmp668_ = _tmp667_;
	_tmp668__length1 = 1;
	_tmp669_ = g_new0 (gchar*, 0 + 1);
	_tmp670_ = _tmp669_;
	_tmp670__length1 = 0;
	_tmp671_ = g_new0 (gchar*, 0 + 1);
	_tmp672_ = _tmp671_;
	_tmp672__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "renderer-dx11", _ ("DirectX 11 renderer"), _ ("Adds -dx11."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS, (guint) 30, _tmp668_, (gint) 1, _tmp670_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ARGUMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp672_, (gint) 0);
	_tmp672_ = (_vala_array_free (_tmp672_, _tmp672__length1, (GDestroyNotify) g_free), NULL);
	_tmp670_ = (_vala_array_free (_tmp670_, _tmp670__length1, (GDestroyNotify) g_free), NULL);
	_tmp668_ = (_vala_array_free (_tmp668_, _tmp668__length1, (GDestroyNotify) g_free), NULL);
	_tmp673_ = g_strdup ("-dx12");
	_tmp674_ = g_new0 (gchar*, 1 + 1);
	_tmp674_[0] = _tmp673_;
	_tmp675_ = _tmp674_;
	_tmp675__length1 = 1;
	_tmp676_ = g_new0 (gchar*, 0 + 1);
	_tmp677_ = _tmp676_;
	_tmp677__length1 = 0;
	_tmp678_ = g_new0 (gchar*, 0 + 1);
	_tmp679_ = _tmp678_;
	_tmp679__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "renderer-dx12", _ ("DirectX 12 renderer"), _ ("Adds -dx12."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS, (guint) 40, _tmp675_, (gint) 1, _tmp677_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ARGUMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp679_, (gint) 0);
	_tmp679_ = (_vala_array_free (_tmp679_, _tmp679__length1, (GDestroyNotify) g_free), NULL);
	_tmp677_ = (_vala_array_free (_tmp677_, _tmp677__length1, (GDestroyNotify) g_free), NULL);
	_tmp675_ = (_vala_array_free (_tmp675_, _tmp675__length1, (GDestroyNotify) g_free), NULL);
	_tmp680_ = g_strdup ("-console");
	_tmp681_ = g_new0 (gchar*, 1 + 1);
	_tmp681_[0] = _tmp680_;
	_tmp682_ = _tmp681_;
	_tmp682__length1 = 1;
	_tmp683_ = g_strdup ("Console");
	_tmp684_ = g_new0 (gchar*, 1 + 1);
	_tmp684_[0] = _tmp683_;
	_tmp685_ = _tmp684_;
	_tmp685__length1 = 1;
	_tmp686_ = g_new0 (gchar*, 0 + 1);
	_tmp687_ = _tmp686_;
	_tmp687__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "developer-console", _ ("Developer console"), _ ("Adds -console when the game supports it."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS, (guint) 50, _tmp682_, (gint) 1, _tmp685_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ARGUMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp687_, (gint) 0);
	_tmp687_ = (_vala_array_free (_tmp687_, _tmp687__length1, (GDestroyNotify) g_free), NULL);
	_tmp685_ = (_vala_array_free (_tmp685_, _tmp685__length1, (GDestroyNotify) g_free), NULL);
	_tmp682_ = (_vala_array_free (_tmp682_, _tmp682__length1, (GDestroyNotify) g_free), NULL);
	_tmp688_ = g_strdup ("custom");
	_tmp689_ = g_strdup ("arguments");
	_tmp690_ = g_strdup ("unknown");
	_tmp691_ = g_new0 (gchar*, 3 + 1);
	_tmp691_[0] = _tmp688_;
	_tmp691_[1] = _tmp689_;
	_tmp691_[2] = _tmp690_;
	_tmp692_ = _tmp691_;
	_tmp692__length1 = 3;
	_tmp693_ = g_new0 (gchar*, 0 + 1);
	_tmp694_ = _tmp693_;
	_tmp694__length1 = 0;
	_tmp695_ = g_new0 (gchar*, 0 + 1);
	_tmp696_ = _tmp695_;
	_tmp696__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "custom-game-arguments", _ ("Custom game arguments"), _ ("Adds individual custom arguments and preserves unrecognized launch opt" \
"ions exactly as loaded."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_GAME_ARGUMENTS, (guint) 60, _tmp692_, (gint) 3, _tmp694_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ADDITIONAL, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp696_, (gint) 0);
	_tmp696_ = (_vala_array_free (_tmp696_, _tmp696__length1, (GDestroyNotify) g_free), NULL);
	_tmp694_ = (_vala_array_free (_tmp694_, _tmp694__length1, (GDestroyNotify) g_free), NULL);
	_tmp692_ = (_vala_array_free (_tmp692_, _tmp692__length1, (GDestroyNotify) g_free), NULL);
	_tmp697_ = g_strdup ("PROTON_LOG=1");
	_tmp698_ = g_new0 (gchar*, 1 + 1);
	_tmp698_[0] = _tmp697_;
	_tmp699_ = _tmp698_;
	_tmp699__length1 = 1;
	_tmp700_ = g_strdup ("Enable Proton logs");
	_tmp701_ = g_new0 (gchar*, 1 + 1);
	_tmp701_[0] = _tmp700_;
	_tmp702_ = _tmp701_;
	_tmp702__length1 = 1;
	_tmp703_ = g_new0 (gchar*, 0 + 1);
	_tmp704_ = _tmp703_;
	_tmp704__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "proton-debug-log", _ ("Proton debug log"), _ ("Enables Proton troubleshooting logs."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS, (guint) 10, _tmp699_, (gint) 1, _tmp702_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_STANDARD, "", _tmp704_, (gint) 0);
	_tmp704_ = (_vala_array_free (_tmp704_, _tmp704__length1, (GDestroyNotify) g_free), NULL);
	_tmp702_ = (_vala_array_free (_tmp702_, _tmp702__length1, (GDestroyNotify) g_free), NULL);
	_tmp699_ = (_vala_array_free (_tmp699_, _tmp699__length1, (GDestroyNotify) g_free), NULL);
	_tmp705_ = g_strdup ("DXVK_LOG_LEVEL=none");
	_tmp706_ = g_new0 (gchar*, 1 + 1);
	_tmp706_[0] = _tmp705_;
	_tmp707_ = _tmp706_;
	_tmp707__length1 = 1;
	_tmp708_ = g_strdup ("Disable DXVK logging");
	_tmp709_ = g_new0 (gchar*, 1 + 1);
	_tmp709_[0] = _tmp708_;
	_tmp710_ = _tmp709_;
	_tmp710__length1 = 1;
	_tmp711_ = g_new0 (gchar*, 0 + 1);
	_tmp712_ = _tmp711_;
	_tmp712__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "dxvk-log-level", _ ("DXVK log level"), _ ("Controls DXVK logging."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS, (guint) 20, _tmp707_, (gint) 1, _tmp710_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp712_, (gint) 0);
	_tmp712_ = (_vala_array_free (_tmp712_, _tmp712__length1, (GDestroyNotify) g_free), NULL);
	_tmp710_ = (_vala_array_free (_tmp710_, _tmp710__length1, (GDestroyNotify) g_free), NULL);
	_tmp707_ = (_vala_array_free (_tmp707_, _tmp707__length1, (GDestroyNotify) g_free), NULL);
	_tmp713_ = g_strdup ("VKD3D_LOG_LEVEL=");
	_tmp714_ = g_new0 (gchar*, 1 + 1);
	_tmp714_[0] = _tmp713_;
	_tmp715_ = _tmp714_;
	_tmp715__length1 = 1;
	_tmp716_ = g_strdup ("VKD3D Logging Level");
	_tmp717_ = g_new0 (gchar*, 1 + 1);
	_tmp717_[0] = _tmp716_;
	_tmp718_ = _tmp717_;
	_tmp718__length1 = 1;
	_tmp719_ = g_new0 (gchar*, 0 + 1);
	_tmp720_ = _tmp719_;
	_tmp720__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "vkd3d-log-level", _ ("VKD3D log level"), _ ("Controls VKD3D troubleshooting logs."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS, (guint) 30, _tmp715_, (gint) 1, _tmp718_, (gint) 1, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp720_, (gint) 0);
	_tmp720_ = (_vala_array_free (_tmp720_, _tmp720__length1, (GDestroyNotify) g_free), NULL);
	_tmp718_ = (_vala_array_free (_tmp718_, _tmp718__length1, (GDestroyNotify) g_free), NULL);
	_tmp715_ = (_vala_array_free (_tmp715_, _tmp715__length1, (GDestroyNotify) g_free), NULL);
	_tmp721_ = g_strdup ("%command%");
	_tmp722_ = g_new0 (gchar*, 1 + 1);
	_tmp722_[0] = _tmp721_;
	_tmp723_ = _tmp722_;
	_tmp723__length1 = 1;
	_tmp724_ = g_new0 (gchar*, 0 + 1);
	_tmp725_ = _tmp724_;
	_tmp725__length1 = 0;
	_tmp726_ = g_new0 (gchar*, 0 + 1);
	_tmp727_ = _tmp726_;
	_tmp727__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "steam-command", _ ("Steam command placeholder (%command%)"), _ ("Marks where Steam inserts the game's command."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS, (guint) 40, _tmp723_, (gint) 1, _tmp725_, (gint) 0, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_COMMAND, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp727_, (gint) 0);
	_tmp727_ = (_vala_array_free (_tmp727_, _tmp727__length1, (GDestroyNotify) g_free), NULL);
	_tmp725_ = (_vala_array_free (_tmp725_, _tmp725__length1, (GDestroyNotify) g_free), NULL);
	_tmp723_ = (_vala_array_free (_tmp723_, _tmp723__length1, (GDestroyNotify) g_free), NULL);
	_tmp728_ = g_strdup ("$(unsafe)");
	_tmp729_ = g_strdup ("|");
	_tmp730_ = g_strdup ("&&");
	_tmp731_ = g_strdup ("%command%");
	_tmp732_ = g_new0 (gchar*, 4 + 1);
	_tmp732_[0] = _tmp728_;
	_tmp732_[1] = _tmp729_;
	_tmp732_[2] = _tmp730_;
	_tmp732_[3] = _tmp731_;
	_tmp733_ = _tmp732_;
	_tmp733__length1 = 4;
	_tmp734_ = g_strdup ("raw");
	_tmp735_ = g_strdup ("opaque");
	_tmp736_ = g_strdup ("unknown");
	_tmp737_ = g_strdup ("custom pair");
	_tmp738_ = g_new0 (gchar*, 4 + 1);
	_tmp738_[0] = _tmp734_;
	_tmp738_[1] = _tmp735_;
	_tmp738_[2] = _tmp736_;
	_tmp738_[3] = _tmp737_;
	_tmp739_ = _tmp738_;
	_tmp739__length1 = 4;
	_tmp740_ = g_new0 (gchar*, 0 + 1);
	_tmp741_ = _tmp740_;
	_tmp741__length1 = 0;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_add_option (self, "raw-launch-options", _ ("Preserved unrecognized launch options"), _ ("Keeps unrecognized, quoted, and opaque shell content exactly as loaded" \
"."), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_CATEGORY_DIAGNOSTICS, (guint) 50, _tmp733_, (gint) 4, _tmp739_, (gint) 4, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ADDITIONAL, "", FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_EXPERTISE_ADVANCED, "", _tmp741_, (gint) 0);
	_tmp741_ = (_vala_array_free (_tmp741_, _tmp741__length1, (GDestroyNotify) g_free), NULL);
	_tmp739_ = (_vala_array_free (_tmp739_, _tmp739__length1, (GDestroyNotify) g_free), NULL);
	_tmp733_ = (_vala_array_free (_tmp733_, _tmp733__length1, (GDestroyNotify) g_free), NULL);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_class_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalogClass * klass,
                                                                                  gpointer klass_data)
{
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog_private_offset);
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_finalize;
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_instance_init (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog * self,
                                                                                     gpointer klass)
{
	self->priv = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_instance_private (self);
}

static void
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_finalize (GObject * obj)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_CATALOG, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog);
	_g_object_unref0 (self->priv->entries);
	_g_object_unref0 (self->priv->by_id);
	_g_object_unref0 (self->priv->wrappers);
	_g_object_unref0 (self->priv->wrappers_by_id);
	G_OBJECT_CLASS (proton_plus_widgets_games_launch_options_editor_launch_option_catalog_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_catalog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog), 0, (GInstanceInitFunc) proton_plus_widgets_games_launch_options_editor_launch_option_catalog_instance_init, NULL };
	GType proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id;
	proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id = g_type_register_static (G_TYPE_OBJECT, "ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog", &g_define_type_info, 0);
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalog_private_offset = g_type_add_instance_private (proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionCatalogPrivate));
	return proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id;
		proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id = proton_plus_widgets_games_launch_options_editor_launch_option_catalog_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id__once, proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_launch_option_catalog_type_id__once;
}

static void
_vala_array_destroy (gpointer array,
                     gssize array_length,
                     GDestroyNotify destroy_func)
{
	if ((array != NULL) && (destroy_func != NULL)) {
		gssize i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}

static void
_vala_array_free (gpointer array,
                  gssize array_length,
                  GDestroyNotify destroy_func)
{
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}

static inline gpointer
_vala_memdup2 (gconstpointer mem,
               gsize byte_size)
{
	gpointer new_mem;
	if (mem && byte_size != 0) {
		new_mem = g_malloc (byte_size);
		memcpy (new_mem, mem, byte_size);
	} else {
		new_mem = NULL;
	}
	return new_mem;
}

