/* gpu-vendor-amd-options-group.c generated by valac 0.56.19, the Vala compiler
 * generated from gpu-vendor-amd-options-group.vala, do not modify */

#include "protonplus_core.h"
#include <adwaita.h>
#include <glib-object.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.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

#define PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_TILE (proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_type ())
#define PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_TILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_TILE, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile))
#define PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_TILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_TILE, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTileClass))
#define PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_IS_LAUNCH_OPTION_TILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_TILE))
#define PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_IS_LAUNCH_OPTION_TILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_TILE))
#define PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_OPTION_TILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_TYPE_LAUNCH_OPTION_TILE, ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTileClass))

typedef struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile;
typedef struct _ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTileClass ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTileClass;
enum  {
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_GPU_VENDOR_AMD_OPTIONS_GROUP_0_PROPERTY,
	PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_GPU_VENDOR_AMD_OPTIONS_GROUP_NUM_PROPERTIES
};
static GParamSpec* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_properties[PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_GPU_VENDOR_AMD_OPTIONS_GROUP_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

struct _ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroupPrivate {
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_fsr4_upgrade_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_fsr4_rdna3_upgrade_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_mlfg_upgrade_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_mlfg_rdna3_workaround_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_reflex_allow_other_drivers_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_reflex_dxgi_spoof_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_reflex_force_nvapi_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_reflex_layer_spoof_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_anti_lag_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_prime_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_hide_apu_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_staging_shared_memory_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_mesa_glthread_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _amd_mesa_shader_cache_disable_tile;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _amd_icd_editor;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _radv_perf_editor;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _radv_debug_editor;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _aco_debug_editor;
	gboolean refreshing_controls;
};

static gint ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup_private_offset;
static gpointer proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_parent_class = NULL;

VALA_EXTERN GType proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_type (void) G_GNUC_CONST ;
VALA_EXTERN ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup* self,
                                                                                                                                                  const gchar* title,
                                                                                                                                                  const gchar* subtitle,
                                                                                                                                                  gchar** tokens,
                                                                                                                                                  gint tokens_length1,
                                                                                                                                                  gboolean is_advanced,
                                                                                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchLineType type,
                                                                                                                                                  const gchar* id);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_anti_lag_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_prime_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_hide_apu_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_fsr4_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                    ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_fsr4_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
VALA_EXTERN GtkSwitch* proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* self);
static void __lambda123_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_amd_fsr4_upgrade_toggle_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void ___lambda123__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_fsr4_rdna3_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                          ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_fsr4_rdna3_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void __lambda124_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_amd_fsr4_rdna3_upgrade_toggle_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void ___lambda124__g_object_notify (GObject* _sender,
                                    GParamSpec* pspec,
                                    gpointer self);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mlfg_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                    ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mlfg_rdna3_workaround_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_allow_other_drivers_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                                  ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_dxgi_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                         ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_force_nvapi_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                          ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_layer_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                          ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_staging_shared_memory_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mesa_glthread_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                     ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mesa_shader_cache_disable_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                                 ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_radv_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_radv_perf_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_icd_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* value);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_aco_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* value);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_radv_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void __lambda125_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row);
static void ___lambda125__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                                gpointer self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_radv_perf_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void __lambda126_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row);
static void ___lambda126__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                                gpointer self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_icd_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void __lambda127_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row);
static void ___lambda127__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                                gpointer self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_aco_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void __lambda128_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                   ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row);
static void ___lambda128__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                                gpointer self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_anti_lag_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mlfg_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mlfg_rdna3_workaround_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_allow_other_drivers_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_dxgi_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_force_nvapi_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_layer_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_prime_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_hide_apu_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_staging_shared_memory_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mesa_glthread_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mesa_shader_cache_disable_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
VALA_EXTERN void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_normalize_amd_fsr_upgrade_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
VALA_EXTERN void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_reset_controls (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self);
static void proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_finalize (GObject * obj);
static GType proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_type_once (void);
static void _vala_proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_property (GObject * object,
                                                                                                             guint property_id,
                                                                                                             GValue * value,
                                                                                                             GParamSpec * pspec);
static void _vala_proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_property (GObject * object,
                                                                                                             guint property_id,
                                                                                                             const GValue * value,
                                                                                                             GParamSpec * pspec);
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 inline gpointer
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_instance_private (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	return G_STRUCT_MEMBER_P (self, ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup_private_offset);
}

static void
__lambda123_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_amd_fsr4_upgrade_toggle_changed (self);
}

static void
___lambda123__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
	__lambda123_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*) self);
}

static void
__lambda124_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_amd_fsr4_rdna3_upgrade_toggle_changed (self);
}

static void
___lambda124__g_object_notify (GObject* _sender,
                               GParamSpec* pspec,
                               gpointer self)
{
	__lambda124_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*) self);
}

static void
__lambda125_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
              ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row)
{
	g_return_if_fail (row != NULL);
	g_signal_emit_by_name ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "changed");
}

static void
___lambda125__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                           gpointer self)
{
	__lambda125_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*) self, _sender);
}

static void
__lambda126_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
              ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row)
{
	g_return_if_fail (row != NULL);
	g_signal_emit_by_name ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "changed");
}

static void
___lambda126__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                           gpointer self)
{
	__lambda126_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*) self, _sender);
}

static void
__lambda127_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
              ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row)
{
	g_return_if_fail (row != NULL);
	g_signal_emit_by_name ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "changed");
}

static void
___lambda127__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                           gpointer self)
{
	__lambda127_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*) self, _sender);
}

static void
__lambda128_ (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
              ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* row)
{
	g_return_if_fail (row != NULL);
	g_signal_emit_by_name ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "changed");
}

static void
___lambda128__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow* _sender,
                                                                                           gpointer self)
{
	__lambda128_ ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*) self, _sender);
}

ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_construct (GType object_type,
                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionsList* launch_option_handlers,
                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionPresentationRegistry* presentation_registry)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup * self = NULL;
	gchar* _tmp0_;
	gchar** _tmp1_;
	gchar** _tmp2_;
	gint _tmp2__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp3_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp4_;
	gchar* _tmp5_;
	gchar** _tmp6_;
	gchar** _tmp7_;
	gint _tmp7__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp8_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp9_;
	gchar* _tmp10_;
	gchar** _tmp11_;
	gchar** _tmp12_;
	gint _tmp12__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp13_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp14_;
	gchar* _tmp15_;
	gchar** _tmp16_;
	gchar** _tmp17_;
	gint _tmp17__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp18_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp19_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp20_;
	GtkSwitch* _tmp21_;
	GtkSwitch* _tmp22_;
	gchar* _tmp23_;
	gchar** _tmp24_;
	gchar** _tmp25_;
	gint _tmp25__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp26_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp27_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp28_;
	GtkSwitch* _tmp29_;
	GtkSwitch* _tmp30_;
	gchar* _tmp31_;
	gchar** _tmp32_;
	gchar** _tmp33_;
	gint _tmp33__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp34_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp35_;
	gchar* _tmp36_;
	gchar** _tmp37_;
	gchar** _tmp38_;
	gint _tmp38__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp39_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp40_;
	gchar* _tmp41_;
	gchar** _tmp42_;
	gchar** _tmp43_;
	gint _tmp43__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp44_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp45_;
	gchar* _tmp46_;
	gchar** _tmp47_;
	gchar** _tmp48_;
	gint _tmp48__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp49_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp50_;
	gchar* _tmp51_;
	gchar** _tmp52_;
	gchar** _tmp53_;
	gint _tmp53__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp54_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp55_;
	gchar* _tmp56_;
	gchar** _tmp57_;
	gchar** _tmp58_;
	gint _tmp58__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp59_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp60_;
	gchar* _tmp61_;
	gchar** _tmp62_;
	gchar** _tmp63_;
	gint _tmp63__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp64_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp65_;
	gchar* _tmp66_;
	gchar** _tmp67_;
	gchar** _tmp68_;
	gint _tmp68__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp69_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp70_;
	gchar* _tmp71_;
	gchar* _tmp72_;
	gchar** _tmp73_;
	gchar** _tmp74_;
	gint _tmp74__length1;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp75_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp76_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp77_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp78_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp79_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp80_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp81_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp82_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp83_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp84_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp85_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp86_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp87_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp88_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp89_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp90_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp91_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp92_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp93_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp94_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp95_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp96_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp97_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp98_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp99_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp100_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp101_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp102_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp103_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp104_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp105_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp106_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp107_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp108_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp109_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp110_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp111_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp112_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp113_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp114_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp115_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp116_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp117_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp118_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp119_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp120_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp121_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp122_;
	g_return_val_if_fail (launch_option_handlers != NULL, NULL);
	self = (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*) proton_plus_widgets_games_launch_options_editor_groups_base_options_group_construct (object_type, launch_option_handlers, TRUE, presentation_registry, FALSE);
	self->priv->refreshing_controls = TRUE;
	_tmp0_ = g_strdup ("ENABLE_LAYER_MESA_ANTI_LAG=1");
	_tmp1_ = g_new0 (gchar*, 1 + 1);
	_tmp1_[0] = _tmp0_;
	_tmp2_ = _tmp1_;
	_tmp2__length1 = 1;
	_tmp3_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("Mesa Anti-Lag"), _ ("Reduces latency on supported AMD Mesa setups."), _tmp2_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-anti-lag");
	_tmp4_ = _tmp3_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_anti_lag_tile (self, _tmp4_);
	_g_object_unref0 (_tmp4_);
	_tmp2_ = (_vala_array_free (_tmp2_, _tmp2__length1, (GDestroyNotify) g_free), NULL);
	_tmp5_ = g_strdup ("DRI_PRIME=1");
	_tmp6_ = g_new0 (gchar*, 1 + 1);
	_tmp6_[0] = _tmp5_;
	_tmp7_ = _tmp6_;
	_tmp7__length1 = 1;
	_tmp8_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("Use discrete GPU"), _ ("Makes the game use the AMD dGPU on hybrid systems."), _tmp7_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-discrete-gpu");
	_tmp9_ = _tmp8_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_prime_tile (self, _tmp9_);
	_g_object_unref0 (_tmp9_);
	_tmp7_ = (_vala_array_free (_tmp7_, _tmp7__length1, (GDestroyNotify) g_free), NULL);
	_tmp10_ = g_strdup ("PROTON_HIDE_APU=1");
	_tmp11_ = g_new0 (gchar*, 1 + 1);
	_tmp11_[0] = _tmp10_;
	_tmp12_ = _tmp11_;
	_tmp12__length1 = 1;
	_tmp13_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("Treat APU as a discrete GPU"), _ ("Makes Proton report an AMD APU as a discrete GPU for games that mis-de" \
"tect integrated graphics."), _tmp12_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-hide-apu");
	_tmp14_ = _tmp13_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_hide_apu_tile (self, _tmp14_);
	_g_object_unref0 (_tmp14_);
	_tmp12_ = (_vala_array_free (_tmp12_, _tmp12__length1, (GDestroyNotify) g_free), NULL);
	_tmp15_ = g_strdup ("PROTON_FSR4_UPGRADE=1");
	_tmp16_ = g_new0 (gchar*, 1 + 1);
	_tmp16_[0] = _tmp15_;
	_tmp17_ = _tmp16_;
	_tmp17__length1 = 1;
	_tmp18_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("FSR 4 upgrade (current path)"), _ ("Uses the selected custom Proton build's default FSR 4 release. Current" \
" Proton-GE disables Anti-Lag 2 while active."), _tmp17_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-fsr4");
	_tmp19_ = _tmp18_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_fsr4_upgrade_tile (self, _tmp19_);
	_g_object_unref0 (_tmp19_);
	_tmp17_ = (_vala_array_free (_tmp17_, _tmp17__length1, (GDestroyNotify) g_free), NULL);
	_tmp20_ = self->priv->_amd_fsr4_upgrade_tile;
	_tmp21_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp20_);
	_tmp22_ = _tmp21_;
	g_signal_connect_object ((GObject*) _tmp22_, "notify::active", (GCallback) ___lambda123__g_object_notify, self, 0);
	_tmp23_ = g_strdup ("PROTON_FSR4_RDNA3_UPGRADE=1");
	_tmp24_ = g_new0 (gchar*, 1 + 1);
	_tmp24_[0] = _tmp23_;
	_tmp25_ = _tmp24_;
	_tmp25__length1 = 1;
	_tmp26_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("FSR 4 RDNA3 upgrade (legacy path)"), _ ("Uses the older RDNA3 switch retained by some Proton-GE builds and remo" \
"ved from current Proton-CachyOS."), _tmp25_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-fsr4-rdna3");
	_tmp27_ = _tmp26_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_fsr4_rdna3_upgrade_tile (self, _tmp27_);
	_g_object_unref0 (_tmp27_);
	_tmp25_ = (_vala_array_free (_tmp25_, _tmp25__length1, (GDestroyNotify) g_free), NULL);
	_tmp28_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
	_tmp29_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp28_);
	_tmp30_ = _tmp29_;
	g_signal_connect_object ((GObject*) _tmp30_, "notify::active", (GCallback) ___lambda124__g_object_notify, self, 0);
	_tmp31_ = g_strdup ("PROTON_MLFG_UPGRADE=1");
	_tmp32_ = g_new0 (gchar*, 1 + 1);
	_tmp32_[0] = _tmp31_;
	_tmp33_ = _tmp32_;
	_tmp33__length1 = 1;
	_tmp34_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("FSR 4 ML frame generation"), _ ("Requires FSR 4.0.3 or newer. RDNA3 may also need DXIL_SPIRV_CONFIG=wmm" \
"a_rdna3_workaround."), _tmp33_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-mlfg");
	_tmp35_ = _tmp34_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mlfg_upgrade_tile (self, _tmp35_);
	_g_object_unref0 (_tmp35_);
	_tmp33_ = (_vala_array_free (_tmp33_, _tmp33__length1, (GDestroyNotify) g_free), NULL);
	_tmp36_ = g_strdup ("DXIL_SPIRV_CONFIG=wmma_rdna3_workaround");
	_tmp37_ = g_new0 (gchar*, 1 + 1);
	_tmp37_[0] = _tmp36_;
	_tmp38_ = _tmp37_;
	_tmp38__length1 = 1;
	_tmp39_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("RDNA3 ML frame-generation workaround"), _ ("Applies the DXIL-SPIR-V WMMA workaround only when RDNA3 ML frame gener" \
"ation needs it."), _tmp38_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-mlfg-rdna3-workaround");
	_tmp40_ = _tmp39_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mlfg_rdna3_workaround_tile (self, _tmp40_);
	_g_object_unref0 (_tmp40_);
	_tmp38_ = (_vala_array_free (_tmp38_, _tmp38__length1, (GDestroyNotify) g_free), NULL);
	_tmp41_ = g_strdup ("DXVK_NVAPI_ALLOW_OTHER_DRIVERS=1");
	_tmp42_ = g_new0 (gchar*, 1 + 1);
	_tmp42_[0] = _tmp41_;
	_tmp43_ = _tmp42_;
	_tmp43__length1 = 1;
	_tmp44_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("AMD Reflex preset: allow DXVK-NVAPI"), _ ("Least-invasive preset. Allows DXVK-NVAPI on AMD; try this before GPU s" \
"poofing."), _tmp43_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-reflex-allow-other-drivers");
	_tmp45_ = _tmp44_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_allow_other_drivers_tile (self, _tmp45_);
	_g_object_unref0 (_tmp45_);
	_tmp43_ = (_vala_array_free (_tmp43_, _tmp43__length1, (GDestroyNotify) g_free), NULL);
	_tmp46_ = g_strdup ("DXVK_CONFIG=dxgi.hideAmdGpu=True");
	_tmp47_ = g_new0 (gchar*, 1 + 1);
	_tmp47_[0] = _tmp46_;
	_tmp48_ = _tmp47_;
	_tmp48__length1 = 1;
	_tmp49_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("AMD Reflex preset: hide AMD GPU"), _ ("DXVK fallback that can expose Reflex but can break FSR 4 and ML frame " \
"generation."), _tmp48_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-reflex-dxgi-spoof");
	_tmp50_ = _tmp49_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_dxgi_spoof_tile (self, _tmp50_);
	_g_object_unref0 (_tmp50_);
	_tmp48_ = (_vala_array_free (_tmp48_, _tmp48__length1, (GDestroyNotify) g_free), NULL);
	_tmp51_ = g_strdup ("PROTON_FORCE_NVAPI=1");
	_tmp52_ = g_new0 (gchar*, 1 + 1);
	_tmp52_[0] = _tmp51_;
	_tmp53_ = _tmp52_;
	_tmp53__length1 = 1;
	_tmp54_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("AMD Reflex preset: force NVAPI"), _ ("Invasive fallback for games that still hide Reflex. Can break FSR 4 an" \
"d game GPU detection."), _tmp53_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-reflex-force-nvapi");
	_tmp55_ = _tmp54_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_force_nvapi_tile (self, _tmp55_);
	_g_object_unref0 (_tmp55_);
	_tmp53_ = (_vala_array_free (_tmp53_, _tmp53__length1, (GDestroyNotify) g_free), NULL);
	_tmp56_ = g_strdup ("LOW_LATENCY_LAYER_SPOOF_NVIDIA=1");
	_tmp57_ = g_new0 (gchar*, 1 + 1);
	_tmp57_[0] = _tmp56_;
	_tmp58_ = _tmp57_;
	_tmp58__length1 = 1;
	_tmp59_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("AMD Reflex preset: layer NVIDIA spoof"), _ ("Last-resort spoof discouraged by upstream because it can break Proton " \
"FSR 4."), _tmp58_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-reflex-layer-spoof");
	_tmp60_ = _tmp59_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_layer_spoof_tile (self, _tmp60_);
	_g_object_unref0 (_tmp60_);
	_tmp58_ = (_vala_array_free (_tmp58_, _tmp58__length1, (GDestroyNotify) g_free), NULL);
	_tmp61_ = g_strdup ("STAGING_SHARED_MEMORY=1");
	_tmp62_ = g_new0 (gchar*, 1 + 1);
	_tmp62_[0] = _tmp61_;
	_tmp63_ = _tmp62_;
	_tmp63__length1 = 1;
	_tmp64_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("Staging shared memory"), _ ("Enables shared memory support in the AMD GPU driver for better perform" \
"ance in some games."), _tmp63_, (gint) 1, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-staging-shm");
	_tmp65_ = _tmp64_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_staging_shared_memory_tile (self, _tmp65_);
	_g_object_unref0 (_tmp65_);
	_tmp63_ = (_vala_array_free (_tmp63_, _tmp63__length1, (GDestroyNotify) g_free), NULL);
	_tmp66_ = g_strdup ("mesa_glthread=true");
	_tmp67_ = g_new0 (gchar*, 1 + 1);
	_tmp67_[0] = _tmp66_;
	_tmp68_ = _tmp67_;
	_tmp68__length1 = 1;
	_tmp69_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("Mesa GLThread"), _ ("Enables Mesa's GLThread optimization for better performance in some ga" \
"mes."), _tmp68_, (gint) 1, TRUE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-glthread");
	_tmp70_ = _tmp69_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mesa_glthread_tile (self, _tmp70_);
	_g_object_unref0 (_tmp70_);
	_tmp68_ = (_vala_array_free (_tmp68_, _tmp68__length1, (GDestroyNotify) g_free), NULL);
	_tmp71_ = g_strdup ("MESA_SHADER_CACHE_DISABLE=0");
	_tmp72_ = g_strdup ("MESA_SHADER_CACHE_DISABLE=1");
	_tmp73_ = g_new0 (gchar*, 2 + 1);
	_tmp73_[0] = _tmp71_;
	_tmp73_[1] = _tmp72_;
	_tmp74_ = _tmp73_;
	_tmp74__length1 = 2;
	_tmp75_ = proton_plus_widgets_games_launch_options_editor_groups_base_options_group_create_tile ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, _ ("Disable Mesa shader cache"), _ ("Disables Mesa's shader cache which can cause stuttering in some games."), _tmp74_, (gint) 2, FALSE, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_LAUNCH_LINE_TYPE_ENVIRONMENT, "amd-shader-cache");
	_tmp76_ = _tmp75_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mesa_shader_cache_disable_tile (self, _tmp76_);
	_g_object_unref0 (_tmp76_);
	_tmp74_ = (_vala_array_free (_tmp74_, _tmp74__length1, (GDestroyNotify) g_free), NULL);
	_tmp77_ = proton_plus_widgets_games_launch_options_editor_launch_option_radv_debug_new ();
	g_object_ref_sink (_tmp77_);
	_tmp78_ = _tmp77_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_radv_debug_editor (self, _tmp78_);
	_g_object_unref0 (_tmp78_);
	_tmp79_ = proton_plus_widgets_games_launch_options_editor_launch_option_radv_perftest_new ();
	g_object_ref_sink (_tmp79_);
	_tmp80_ = _tmp79_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_radv_perf_editor (self, _tmp80_);
	_g_object_unref0 (_tmp80_);
	_tmp81_ = proton_plus_widgets_games_launch_options_editor_launch_option_amd_icd_new ();
	g_object_ref_sink (_tmp81_);
	_tmp82_ = _tmp81_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_icd_editor (self, _tmp82_);
	_g_object_unref0 (_tmp82_);
	_tmp83_ = proton_plus_widgets_games_launch_options_editor_launch_option_aco_debug_new ();
	g_object_ref_sink (_tmp83_);
	_tmp84_ = _tmp83_;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_aco_debug_editor (self, _tmp84_);
	_g_object_unref0 (_tmp84_);
	_tmp85_ = self->priv->_radv_debug_editor;
	g_signal_connect_object ((ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow*) _tmp85_, "changed", (GCallback) ___lambda125__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed, self, 0);
	_tmp86_ = self->priv->_radv_perf_editor;
	g_signal_connect_object ((ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow*) _tmp86_, "changed", (GCallback) ___lambda126__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed, self, 0);
	_tmp87_ = self->priv->_amd_icd_editor;
	g_signal_connect_object ((ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow*) _tmp87_, "changed", (GCallback) ___lambda127__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed, self, 0);
	_tmp88_ = self->priv->_aco_debug_editor;
	g_signal_connect_object ((ProtonPlusWidgetsGamesLaunchOptionsEditorCustomExpanderRow*) _tmp88_, "changed", (GCallback) ___lambda128__proton_plus_widgets_games_launch_options_editor_custom_expander_row_changed, self, 0);
	_tmp89_ = self->priv->_radv_debug_editor;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp89_, _ ("Configure RADV debug options for troubleshooting and performance testi" \
"ng."));
	_tmp90_ = self->priv->_radv_perf_editor;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp90_, _ ("Configure RADV performance test options for testing experimental drive" \
"r features. Use with caution as these features can cause instability o" \
"r other issues."));
	_tmp91_ = self->priv->_amd_icd_editor;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp91_, _ ("Select which AMD Vulkan driver to use. This can be used to switch betw" \
"een RADV and AMD's official Vulkan driver on supported systems."));
	_tmp92_ = self->priv->_aco_debug_editor;
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp92_, _ ("Configure ACO compiler debug options to troubleshoot shader compilatio" \
"n issues, fix in-game stuttering, or analyze graphics performance. Use" \
" with caution."));
	_tmp93_ = self->priv->_radv_debug_editor;
	proton_plus_widgets_games_launch_options_editor_launch_options_list_add (launch_option_handlers, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp93_);
	_tmp94_ = self->priv->_radv_perf_editor;
	proton_plus_widgets_games_launch_options_editor_launch_options_list_add (launch_option_handlers, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp94_);
	_tmp95_ = self->priv->_amd_icd_editor;
	proton_plus_widgets_games_launch_options_editor_launch_options_list_add (launch_option_handlers, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp95_);
	_tmp96_ = self->priv->_aco_debug_editor;
	proton_plus_widgets_games_launch_options_editor_launch_options_list_add (launch_option_handlers, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp96_);
	_tmp97_ = self->priv->_radv_debug_editor;
	_tmp98_ = self->priv->_radv_debug_editor;
	proton_plus_widgets_games_launch_options_editor_groups_base_options_group_register_option ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "amd-radv-debug", (GtkWidget*) _tmp97_, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp98_);
	_tmp99_ = self->priv->_radv_perf_editor;
	_tmp100_ = self->priv->_radv_perf_editor;
	proton_plus_widgets_games_launch_options_editor_groups_base_options_group_register_option ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "amd-radv-perftest", (GtkWidget*) _tmp99_, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp100_);
	_tmp101_ = self->priv->_amd_icd_editor;
	_tmp102_ = self->priv->_amd_icd_editor;
	proton_plus_widgets_games_launch_options_editor_groups_base_options_group_register_option ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "amd-vulkan-driver", (GtkWidget*) _tmp101_, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp102_);
	_tmp103_ = self->priv->_aco_debug_editor;
	_tmp104_ = self->priv->_aco_debug_editor;
	proton_plus_widgets_games_launch_options_editor_groups_base_options_group_register_option ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "amd-aco-debug", (GtkWidget*) _tmp103_, (ProtonPlusWidgetsGamesLaunchOptionsEditorILaunchOption*) _tmp104_);
	_tmp105_ = self->priv->_amd_anti_lag_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp105_);
	_tmp106_ = self->priv->_amd_fsr4_upgrade_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp106_);
	_tmp107_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp107_);
	_tmp108_ = self->priv->_amd_mlfg_upgrade_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp108_);
	_tmp109_ = self->priv->_amd_mlfg_rdna3_workaround_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp109_);
	_tmp110_ = self->priv->_amd_reflex_allow_other_drivers_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp110_);
	_tmp111_ = self->priv->_amd_reflex_dxgi_spoof_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp111_);
	_tmp112_ = self->priv->_amd_reflex_force_nvapi_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp112_);
	_tmp113_ = self->priv->_amd_reflex_layer_spoof_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp113_);
	_tmp114_ = self->priv->_amd_prime_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp114_);
	_tmp115_ = self->priv->_amd_hide_apu_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp115_);
	_tmp116_ = self->priv->_amd_staging_shared_memory_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp116_);
	_tmp117_ = self->priv->_amd_mesa_glthread_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp117_);
	_tmp118_ = self->priv->_amd_mesa_shader_cache_disable_tile;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp118_);
	_tmp119_ = self->priv->_radv_debug_editor;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp119_);
	_tmp120_ = self->priv->_radv_perf_editor;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp120_);
	_tmp121_ = self->priv->_amd_icd_editor;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp121_);
	_tmp122_ = self->priv->_aco_debug_editor;
	adw_preferences_group_add ((AdwPreferencesGroup*) self, (GtkWidget*) _tmp122_);
	self->priv->refreshing_controls = FALSE;
	return self;
}

ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_new (ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionsList* launch_option_handlers,
                                                                                         ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionPresentationRegistry* presentation_registry)
{
	return proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_construct (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_TYPE_GPU_VENDOR_AMD_OPTIONS_GROUP, launch_option_handlers, presentation_registry);
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_amd_fsr4_upgrade_toggle_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	gboolean _tmp0_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp1_;
	GtkSwitch* _tmp2_;
	GtkSwitch* _tmp3_;
	g_return_if_fail (self != NULL);
	if (self->priv->refreshing_controls) {
		return;
	}
	_tmp1_ = self->priv->_amd_fsr4_upgrade_tile;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp1_);
	_tmp3_ = _tmp2_;
	if (gtk_switch_get_active (_tmp3_)) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp4_;
		GtkSwitch* _tmp5_;
		GtkSwitch* _tmp6_;
		_tmp4_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
		_tmp5_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp4_);
		_tmp6_ = _tmp5_;
		_tmp0_ = gtk_switch_get_active (_tmp6_);
	} else {
		_tmp0_ = FALSE;
	}
	if (_tmp0_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp7_;
		GtkSwitch* _tmp8_;
		GtkSwitch* _tmp9_;
		self->priv->refreshing_controls = TRUE;
		_tmp7_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
		_tmp8_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp7_);
		_tmp9_ = _tmp8_;
		gtk_switch_set_active (_tmp9_, FALSE);
		self->priv->refreshing_controls = FALSE;
	}
	g_signal_emit_by_name ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "changed");
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_amd_fsr4_rdna3_upgrade_toggle_changed (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	gboolean _tmp0_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp1_;
	GtkSwitch* _tmp2_;
	GtkSwitch* _tmp3_;
	g_return_if_fail (self != NULL);
	if (self->priv->refreshing_controls) {
		return;
	}
	_tmp1_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp1_);
	_tmp3_ = _tmp2_;
	if (gtk_switch_get_active (_tmp3_)) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp4_;
		GtkSwitch* _tmp5_;
		GtkSwitch* _tmp6_;
		_tmp4_ = self->priv->_amd_fsr4_upgrade_tile;
		_tmp5_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp4_);
		_tmp6_ = _tmp5_;
		_tmp0_ = gtk_switch_get_active (_tmp6_);
	} else {
		_tmp0_ = FALSE;
	}
	if (_tmp0_) {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp7_;
		GtkSwitch* _tmp8_;
		GtkSwitch* _tmp9_;
		self->priv->refreshing_controls = TRUE;
		_tmp7_ = self->priv->_amd_fsr4_upgrade_tile;
		_tmp8_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp7_);
		_tmp9_ = _tmp8_;
		gtk_switch_set_active (_tmp9_, FALSE);
		self->priv->refreshing_controls = FALSE;
	}
	g_signal_emit_by_name ((ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsBaseOptionsGroup*) self, "changed");
}

void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_normalize_amd_fsr_upgrade_dependencies (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	gboolean _tmp0_ = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp1_;
	GtkSwitch* _tmp2_;
	GtkSwitch* _tmp3_;
	gboolean was_refreshing = FALSE;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp7_;
	GtkSwitch* _tmp8_;
	GtkSwitch* _tmp9_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp10_;
	GtkSwitch* _tmp11_;
	GtkSwitch* _tmp12_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp13_;
	GtkSwitch* _tmp14_;
	GtkSwitch* _tmp15_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp16_;
	GtkSwitch* _tmp17_;
	GtkSwitch* _tmp18_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp19_;
	GtkSwitch* _tmp20_;
	GtkSwitch* _tmp21_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp22_;
	GtkSwitch* _tmp23_;
	GtkSwitch* _tmp24_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp25_;
	GtkSwitch* _tmp26_;
	GtkSwitch* _tmp27_;
	g_return_if_fail (self != NULL);
	_tmp1_ = self->priv->_amd_fsr4_upgrade_tile;
	_tmp2_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp1_);
	_tmp3_ = _tmp2_;
	if (!gtk_switch_get_active (_tmp3_)) {
		_tmp0_ = TRUE;
	} else {
		ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp4_;
		GtkSwitch* _tmp5_;
		GtkSwitch* _tmp6_;
		_tmp4_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
		_tmp5_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp4_);
		_tmp6_ = _tmp5_;
		_tmp0_ = !gtk_switch_get_active (_tmp6_);
	}
	if (_tmp0_) {
		return;
	}
	was_refreshing = self->priv->refreshing_controls;
	self->priv->refreshing_controls = TRUE;
	_tmp7_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
	_tmp8_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp7_);
	_tmp9_ = _tmp8_;
	gtk_switch_set_active (_tmp9_, FALSE);
	_tmp10_ = self->priv->_amd_mlfg_upgrade_tile;
	_tmp11_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp10_);
	_tmp12_ = _tmp11_;
	gtk_switch_set_active (_tmp12_, FALSE);
	_tmp13_ = self->priv->_amd_mlfg_rdna3_workaround_tile;
	_tmp14_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp13_);
	_tmp15_ = _tmp14_;
	gtk_switch_set_active (_tmp15_, FALSE);
	_tmp16_ = self->priv->_amd_reflex_allow_other_drivers_tile;
	_tmp17_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp16_);
	_tmp18_ = _tmp17_;
	gtk_switch_set_active (_tmp18_, FALSE);
	_tmp19_ = self->priv->_amd_reflex_dxgi_spoof_tile;
	_tmp20_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp19_);
	_tmp21_ = _tmp20_;
	gtk_switch_set_active (_tmp21_, FALSE);
	_tmp22_ = self->priv->_amd_reflex_force_nvapi_tile;
	_tmp23_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp22_);
	_tmp24_ = _tmp23_;
	gtk_switch_set_active (_tmp24_, FALSE);
	_tmp25_ = self->priv->_amd_reflex_layer_spoof_tile;
	_tmp26_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp25_);
	_tmp27_ = _tmp26_;
	gtk_switch_set_active (_tmp27_, FALSE);
	self->priv->refreshing_controls = was_refreshing;
}

void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_reset_controls (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	GtkSwitch* _tmp1_;
	GtkSwitch* _tmp2_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp3_;
	GtkSwitch* _tmp4_;
	GtkSwitch* _tmp5_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp6_;
	GtkSwitch* _tmp7_;
	GtkSwitch* _tmp8_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp9_;
	GtkSwitch* _tmp10_;
	GtkSwitch* _tmp11_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp12_;
	GtkSwitch* _tmp13_;
	GtkSwitch* _tmp14_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp15_;
	GtkSwitch* _tmp16_;
	GtkSwitch* _tmp17_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp18_;
	GtkSwitch* _tmp19_;
	GtkSwitch* _tmp20_;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp21_;
	GtkSwitch* _tmp22_;
	GtkSwitch* _tmp23_;
	g_return_if_fail (self != NULL);
	self->priv->refreshing_controls = TRUE;
	_tmp0_ = self->priv->_amd_anti_lag_tile;
	_tmp1_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp0_);
	_tmp2_ = _tmp1_;
	gtk_switch_set_active (_tmp2_, FALSE);
	_tmp3_ = self->priv->_amd_fsr4_upgrade_tile;
	_tmp4_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp3_);
	_tmp5_ = _tmp4_;
	gtk_switch_set_active (_tmp5_, FALSE);
	_tmp6_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
	_tmp7_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp6_);
	_tmp8_ = _tmp7_;
	gtk_switch_set_active (_tmp8_, FALSE);
	_tmp9_ = self->priv->_amd_prime_tile;
	_tmp10_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp9_);
	_tmp11_ = _tmp10_;
	gtk_switch_set_active (_tmp11_, FALSE);
	_tmp12_ = self->priv->_amd_hide_apu_tile;
	_tmp13_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp12_);
	_tmp14_ = _tmp13_;
	gtk_switch_set_active (_tmp14_, FALSE);
	_tmp15_ = self->priv->_amd_staging_shared_memory_tile;
	_tmp16_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp15_);
	_tmp17_ = _tmp16_;
	gtk_switch_set_active (_tmp17_, FALSE);
	_tmp18_ = self->priv->_amd_mesa_glthread_tile;
	_tmp19_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp18_);
	_tmp20_ = _tmp19_;
	gtk_switch_set_active (_tmp20_, FALSE);
	_tmp21_ = self->priv->_amd_mesa_shader_cache_disable_tile;
	_tmp22_ = proton_plus_widgets_games_launch_options_editor_launch_option_tile_get_toggle (_tmp21_);
	_tmp23_ = _tmp22_;
	gtk_switch_set_active (_tmp23_, FALSE);
	self->priv->refreshing_controls = FALSE;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_fsr4_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_fsr4_upgrade_tile;
	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_groups_gpu_vendor_amd_options_group_set_amd_fsr4_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_fsr4_upgrade_tile);
	self->priv->_amd_fsr4_upgrade_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_fsr4_rdna3_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_fsr4_rdna3_upgrade_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_fsr4_rdna3_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                     ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_fsr4_rdna3_upgrade_tile);
	self->priv->_amd_fsr4_rdna3_upgrade_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mlfg_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_mlfg_upgrade_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mlfg_upgrade_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                               ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_mlfg_upgrade_tile);
	self->priv->_amd_mlfg_upgrade_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mlfg_rdna3_workaround_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_mlfg_rdna3_workaround_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mlfg_rdna3_workaround_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_mlfg_rdna3_workaround_tile);
	self->priv->_amd_mlfg_rdna3_workaround_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_allow_other_drivers_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_reflex_allow_other_drivers_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_allow_other_drivers_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                             ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_reflex_allow_other_drivers_tile);
	self->priv->_amd_reflex_allow_other_drivers_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_dxgi_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_reflex_dxgi_spoof_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_dxgi_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                    ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_reflex_dxgi_spoof_tile);
	self->priv->_amd_reflex_dxgi_spoof_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_force_nvapi_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_reflex_force_nvapi_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_force_nvapi_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                     ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_reflex_force_nvapi_tile);
	self->priv->_amd_reflex_force_nvapi_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_reflex_layer_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_reflex_layer_spoof_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_reflex_layer_spoof_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                     ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_reflex_layer_spoof_tile);
	self->priv->_amd_reflex_layer_spoof_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_anti_lag_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_anti_lag_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_anti_lag_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                           ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_anti_lag_tile);
	self->priv->_amd_anti_lag_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_prime_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_prime_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_prime_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_prime_tile);
	self->priv->_amd_prime_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_hide_apu_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_hide_apu_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_hide_apu_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                           ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_hide_apu_tile);
	self->priv->_amd_hide_apu_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_staging_shared_memory_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_staging_shared_memory_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_staging_shared_memory_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_staging_shared_memory_tile);
	self->priv->_amd_staging_shared_memory_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mesa_glthread_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_mesa_glthread_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mesa_glthread_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_mesa_glthread_tile);
	self->priv->_amd_mesa_glthread_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_mesa_shader_cache_disable_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_mesa_shader_cache_disable_tile;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_mesa_shader_cache_disable_tile (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                                            ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionTile* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_mesa_shader_cache_disable_tile);
	self->priv->_amd_mesa_shader_cache_disable_tile = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_amd_icd_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_amd_icd_editor;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_amd_icd_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                        ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAmdIcd* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_amd_icd_editor);
	self->priv->_amd_icd_editor = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_radv_perf_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_radv_perf_editor;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_radv_perf_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                          ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvPerftest* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_radv_perf_editor);
	self->priv->_radv_perf_editor = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_radv_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_radv_debug_editor;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_radv_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                           ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionRadvDebug* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_radv_debug_editor);
	self->priv->_radv_debug_editor = _tmp0_;
}

static ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug*
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_aco_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* result;
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp0_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_aco_debug_editor;
	result = _tmp0_;
	return result;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_aco_debug_editor (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup* self,
                                                                                                          ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* value)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorLaunchOptionAcoDebug* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = _g_object_ref0 (value);
	_g_object_unref0 (self->priv->_aco_debug_editor);
	self->priv->_aco_debug_editor = _tmp0_;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_class_init (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroupClass * klass,
                                                                                                gpointer klass_data)
{
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_property;
	G_OBJECT_CLASS (klass)->finalize = proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_finalize;
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_instance_init (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup * self,
                                                                                                   gpointer klass)
{
	self->priv = proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_instance_private (self);
}

static void
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_finalize (GObject * obj)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_TYPE_GPU_VENDOR_AMD_OPTIONS_GROUP, ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup);
	_g_object_unref0 (self->priv->_amd_fsr4_upgrade_tile);
	_g_object_unref0 (self->priv->_amd_fsr4_rdna3_upgrade_tile);
	_g_object_unref0 (self->priv->_amd_mlfg_upgrade_tile);
	_g_object_unref0 (self->priv->_amd_mlfg_rdna3_workaround_tile);
	_g_object_unref0 (self->priv->_amd_reflex_allow_other_drivers_tile);
	_g_object_unref0 (self->priv->_amd_reflex_dxgi_spoof_tile);
	_g_object_unref0 (self->priv->_amd_reflex_force_nvapi_tile);
	_g_object_unref0 (self->priv->_amd_reflex_layer_spoof_tile);
	_g_object_unref0 (self->priv->_amd_anti_lag_tile);
	_g_object_unref0 (self->priv->_amd_prime_tile);
	_g_object_unref0 (self->priv->_amd_hide_apu_tile);
	_g_object_unref0 (self->priv->_amd_staging_shared_memory_tile);
	_g_object_unref0 (self->priv->_amd_mesa_glthread_tile);
	_g_object_unref0 (self->priv->_amd_mesa_shader_cache_disable_tile);
	_g_object_unref0 (self->priv->_amd_icd_editor);
	_g_object_unref0 (self->priv->_radv_perf_editor);
	_g_object_unref0 (self->priv->_radv_debug_editor);
	_g_object_unref0 (self->priv->_aco_debug_editor);
	G_OBJECT_CLASS (proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_parent_class)->finalize (obj);
}

static GType
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroupClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup), 0, (GInstanceInitFunc) proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_instance_init, NULL };
	GType proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id;
	proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id = g_type_register_static (PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_TYPE_BASE_OPTIONS_GROUP, "ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup", &g_define_type_info, 0);
	ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup_private_offset = g_type_add_instance_private (proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id, sizeof (ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroupPrivate));
	return proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id;
}

GType
proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_type (void)
{
	static volatile gsize proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id__once)) {
		GType proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id;
		proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id = proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_type_once ();
		g_once_init_leave (&proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id__once, proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id);
	}
	return proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_type_id__once;
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_get_property (GObject * object,
                                                                                                        guint property_id,
                                                                                                        GValue * value,
                                                                                                        GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_TYPE_GPU_VENDOR_AMD_OPTIONS_GROUP, ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup);
	switch (property_id) {
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_proton_plus_widgets_games_launch_options_editor_groups_gpu_vendor_amd_options_group_set_property (GObject * object,
                                                                                                        guint property_id,
                                                                                                        const GValue * value,
                                                                                                        GParamSpec * pspec)
{
	ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PROTON_PLUS_WIDGETS_GAMES_LAUNCH_OPTIONS_EDITOR_GROUPS_TYPE_GPU_VENDOR_AMD_OPTIONS_GROUP, ProtonPlusWidgetsGamesLaunchOptionsEditorGroupsGpuVendorAmdOptionsGroup);
	switch (property_id) {
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

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;
}

