diff --git a/CHANGELOG.md b/CHANGELOG.md index e4f53c5a..2c893de8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v5.6.0 +- [#1536](https://github.com/xmrig/xmrig/pull/1536) Added workaround for new AMD GPU drivers. +- [#1546](https://github.com/xmrig/xmrig/pull/1546) Fixed generic OpenCL code for AMD Navi GPUs. +- [#1551](https://github.com/xmrig/xmrig/pull/1551) Added RandomX JIT for AMD Navi GPUs. +- Added health information for AMD GPUs (clocks/power/fan/temperature) via ADL (Windows) and sysfs (Linux). +- Fixed possible nicehash nonce overflow in some conditions. +- Fixed wrong OpenCL platform on macOS, option `platform` now ignored on this OS. + # v5.5.3 - [#1529](https://github.com/xmrig/xmrig/pull/1529) Fixed crash on Bulldozer CPUs. diff --git a/CMakeLists.txt b/CMakeLists.txt index b6a9288c..e20cd42a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ option(WITH_EMBEDDED_CONFIG "Enable internal embedded JSON config" OFF) option(WITH_OPENCL "Enable OpenCL backend" ON) option(WITH_CUDA "Enable CUDA backend" ON) option(WITH_NVML "Enable NVML (NVIDIA Management Library) support (only if CUDA backend enabled)" ON) +option(WITH_ADL "Enable ADL (AMD Display Library) or sysfs support (only if OpenCL backend enabled)" ON) option(WITH_STRICT_CACHE "Enable strict checks for OpenCL cache" ON) option(WITH_INTERLEAVE_DEBUG_LOG "Enable debug log for threads interleave" OFF) @@ -53,7 +54,6 @@ set(HEADERS src/net/JobResult.h src/net/JobResults.h src/net/Network.h - src/net/NetworkState.h src/net/strategies/DonateStrategy.h src/Summary.h src/version.h @@ -103,7 +103,6 @@ set(SOURCES src/core/Miner.cpp src/net/JobResults.cpp src/net/Network.cpp - src/net/NetworkState.cpp src/net/strategies/DonateStrategy.cpp src/Summary.cpp src/xmrig.cpp diff --git a/src/3rdparty/adl/adl_defines.h b/src/3rdparty/adl/adl_defines.h new file mode 100644 index 00000000..e3a3b27e --- /dev/null +++ b/src/3rdparty/adl/adl_defines.h @@ -0,0 +1,2342 @@ +// +// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. +// +// MIT LICENSE: +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +/// \file adl_defines.h +/// \brief Contains all definitions exposed by ADL for \ALL platforms.\n Included in ADL SDK +/// +/// This file contains all definitions used by ADL. +/// The ADL definitions include the following: +/// \li ADL error codes +/// \li Enumerations for the ADLDisplayInfo structure +/// \li Maximum limits +/// + +#ifndef ADL_DEFINES_H_ +#define ADL_DEFINES_H_ + +/// \defgroup DEFINES Constants and Definitions +// @{ + +/// \defgroup define_misc Miscellaneous Constant Definitions +// @{ + +/// \name General Definitions +// @{ + +/// Defines ADL_TRUE +#define ADL_TRUE 1 +/// Defines ADL_FALSE +#define ADL_FALSE 0 + +/// Defines the maximum string length +#define ADL_MAX_CHAR 4096 +/// Defines the maximum string length +#define ADL_MAX_PATH 256 +/// Defines the maximum number of supported adapters +#define ADL_MAX_ADAPTERS 250 +/// Defines the maxumum number of supported displays +#define ADL_MAX_DISPLAYS 150 +/// Defines the maxumum string length for device name +#define ADL_MAX_DEVICENAME 32 +/// Defines for all adapters +#define ADL_ADAPTER_INDEX_ALL -1 +/// Defines APIs with iOption none +#define ADL_MAIN_API_OPTION_NONE 0 +// @} + +/// \name Definitions for iOption parameter used by +/// ADL_Display_DDCBlockAccess_Get() +// @{ + +/// Switch to DDC line 2 before sending the command to the display. +#define ADL_DDC_OPTION_SWITCHDDC2 0x00000001 +/// Save command in the registry under a unique key, corresponding to parameter \b iCommandIndex +#define ADL_DDC_OPTION_RESTORECOMMAND 0x00000002 +/// Combine write-read DDC block access command. +#define ADL_DDC_OPTION_COMBOWRITEREAD 0x00000010 +/// Direct DDC access to the immediate device connected to graphics card. +/// MST with this option set: DDC command is sent to first branch. +/// MST with this option not set: DDC command is sent to the end node sink device. +#define ADL_DDC_OPTION_SENDTOIMMEDIATEDEVICE 0x00000020 +// @} + +/// \name Values for +/// ADLI2C.iAction used with ADL_Display_WriteAndReadI2C() +// @{ + +#define ADL_DL_I2C_ACTIONREAD 0x00000001 +#define ADL_DL_I2C_ACTIONWRITE 0x00000002 +#define ADL_DL_I2C_ACTIONREAD_REPEATEDSTART 0x00000003 +// @} + + +// @} //Misc + +/// \defgroup define_adl_results Result Codes +/// This group of definitions are the various results returned by all ADL functions \n +// @{ +/// All OK, but need to wait +#define ADL_OK_WAIT 4 +/// All OK, but need restart +#define ADL_OK_RESTART 3 +/// All OK but need mode change +#define ADL_OK_MODE_CHANGE 2 +/// All OK, but with warning +#define ADL_OK_WARNING 1 +/// ADL function completed successfully +#define ADL_OK 0 +/// Generic Error. Most likely one or more of the Escape calls to the driver failed! +#define ADL_ERR -1 +/// ADL not initialized +#define ADL_ERR_NOT_INIT -2 +/// One of the parameter passed is invalid +#define ADL_ERR_INVALID_PARAM -3 +/// One of the parameter size is invalid +#define ADL_ERR_INVALID_PARAM_SIZE -4 +/// Invalid ADL index passed +#define ADL_ERR_INVALID_ADL_IDX -5 +/// Invalid controller index passed +#define ADL_ERR_INVALID_CONTROLLER_IDX -6 +/// Invalid display index passed +#define ADL_ERR_INVALID_DIPLAY_IDX -7 +/// Function not supported by the driver +#define ADL_ERR_NOT_SUPPORTED -8 +/// Null Pointer error +#define ADL_ERR_NULL_POINTER -9 +/// Call can't be made due to disabled adapter +#define ADL_ERR_DISABLED_ADAPTER -10 +/// Invalid Callback +#define ADL_ERR_INVALID_CALLBACK -11 +/// Display Resource conflict +#define ADL_ERR_RESOURCE_CONFLICT -12 +//Failed to update some of the values. Can be returned by set request that include multiple values if not all values were successfully committed. +#define ADL_ERR_SET_INCOMPLETE -20 +/// There's no Linux XDisplay in Linux Console environment +#define ADL_ERR_NO_XDISPLAY -21 + +// @} +/// + +/// \defgroup define_display_type Display Type +/// Define Monitor/CRT display type +// @{ +/// Define Monitor display type +#define ADL_DT_MONITOR 0 +/// Define TV display type +#define ADL_DT_TELEVISION 1 +/// Define LCD display type +#define ADL_DT_LCD_PANEL 2 +/// Define DFP display type +#define ADL_DT_DIGITAL_FLAT_PANEL 3 +/// Define Componment Video display type +#define ADL_DT_COMPONENT_VIDEO 4 +/// Define Projector display type +#define ADL_DT_PROJECTOR 5 +// @} + +/// \defgroup define_display_connection_type Display Connection Type +// @{ +/// Define unknown display output type +#define ADL_DOT_UNKNOWN 0 +/// Define composite display output type +#define ADL_DOT_COMPOSITE 1 +/// Define SVideo display output type +#define ADL_DOT_SVIDEO 2 +/// Define analog display output type +#define ADL_DOT_ANALOG 3 +/// Define digital display output type +#define ADL_DOT_DIGITAL 4 +// @} + +/// \defgroup define_color_type Display Color Type and Source +/// Define Display Color Type and Source +// @{ +#define ADL_DISPLAY_COLOR_BRIGHTNESS (1 << 0) +#define ADL_DISPLAY_COLOR_CONTRAST (1 << 1) +#define ADL_DISPLAY_COLOR_SATURATION (1 << 2) +#define ADL_DISPLAY_COLOR_HUE (1 << 3) +#define ADL_DISPLAY_COLOR_TEMPERATURE (1 << 4) + +/// Color Temperature Source is EDID +#define ADL_DISPLAY_COLOR_TEMPERATURE_SOURCE_EDID (1 << 5) +/// Color Temperature Source is User +#define ADL_DISPLAY_COLOR_TEMPERATURE_SOURCE_USER (1 << 6) +// @} + +/// \defgroup define_adjustment_capabilities Display Adjustment Capabilities +/// Display adjustment capabilities values. Returned by ADL_Display_AdjustCaps_Get +// @{ +#define ADL_DISPLAY_ADJUST_OVERSCAN (1 << 0) +#define ADL_DISPLAY_ADJUST_VERT_POS (1 << 1) +#define ADL_DISPLAY_ADJUST_HOR_POS (1 << 2) +#define ADL_DISPLAY_ADJUST_VERT_SIZE (1 << 3) +#define ADL_DISPLAY_ADJUST_HOR_SIZE (1 << 4) +#define ADL_DISPLAY_ADJUST_SIZEPOS (ADL_DISPLAY_ADJUST_VERT_POS | ADL_DISPLAY_ADJUST_HOR_POS | ADL_DISPLAY_ADJUST_VERT_SIZE | ADL_DISPLAY_ADJUST_HOR_SIZE) +#define ADL_DISPLAY_CUSTOMMODES (1<<5) +#define ADL_DISPLAY_ADJUST_UNDERSCAN (1<<6) +// @} + +///Down-scale support +#define ADL_DISPLAY_CAPS_DOWNSCALE (1 << 0) + +/// Sharpness support +#define ADL_DISPLAY_CAPS_SHARPNESS (1 << 0) + +/// \defgroup define_desktop_config Desktop Configuration Flags +/// These flags are used by ADL_DesktopConfig_xxx +/// \deprecated This API has been deprecated because it was only used for RandR 1.1 (Red Hat 5.x) distributions which is now not supported. +// @{ +#define ADL_DESKTOPCONFIG_UNKNOWN 0 /* UNKNOWN desktop config */ +#define ADL_DESKTOPCONFIG_SINGLE (1 << 0) /* Single */ +#define ADL_DESKTOPCONFIG_CLONE (1 << 2) /* Clone */ +#define ADL_DESKTOPCONFIG_BIGDESK_H (1 << 4) /* Big Desktop Horizontal */ +#define ADL_DESKTOPCONFIG_BIGDESK_V (1 << 5) /* Big Desktop Vertical */ +#define ADL_DESKTOPCONFIG_BIGDESK_HR (1 << 6) /* Big Desktop Reverse Horz */ +#define ADL_DESKTOPCONFIG_BIGDESK_VR (1 << 7) /* Big Desktop Reverse Vert */ +#define ADL_DESKTOPCONFIG_RANDR12 (1 << 8) /* RandR 1.2 Multi-display */ +// @} + +/// needed for ADLDDCInfo structure +#define ADL_MAX_DISPLAY_NAME 256 + +/// \defgroup define_edid_flags Values for ulDDCInfoFlag +/// defines for ulDDCInfoFlag EDID flag +// @{ +#define ADL_DISPLAYDDCINFOEX_FLAG_PROJECTORDEVICE (1 << 0) +#define ADL_DISPLAYDDCINFOEX_FLAG_EDIDEXTENSION (1 << 1) +#define ADL_DISPLAYDDCINFOEX_FLAG_DIGITALDEVICE (1 << 2) +#define ADL_DISPLAYDDCINFOEX_FLAG_HDMIAUDIODEVICE (1 << 3) +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORTS_AI (1 << 4) +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC601 (1 << 5) +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC709 (1 << 6) +// @} + +/// \defgroup define_displayinfo_connector Display Connector Type +/// defines for ADLDisplayInfo.iDisplayConnector +// @{ +#define ADL_DISPLAY_CONTYPE_UNKNOWN 0 +#define ADL_DISPLAY_CONTYPE_VGA 1 +#define ADL_DISPLAY_CONTYPE_DVI_D 2 +#define ADL_DISPLAY_CONTYPE_DVI_I 3 +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NTSC 4 +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_JPN 5 +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_JPN 6 +#define ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_NTSC 7 +#define ADL_DISPLAY_CONTYPE_PROPRIETARY 8 +#define ADL_DISPLAY_CONTYPE_HDMI_TYPE_A 10 +#define ADL_DISPLAY_CONTYPE_HDMI_TYPE_B 11 +#define ADL_DISPLAY_CONTYPE_SVIDEO 12 +#define ADL_DISPLAY_CONTYPE_COMPOSITE 13 +#define ADL_DISPLAY_CONTYPE_RCA_3COMPONENT 14 +#define ADL_DISPLAY_CONTYPE_DISPLAYPORT 15 +#define ADL_DISPLAY_CONTYPE_EDP 16 +#define ADL_DISPLAY_CONTYPE_WIRELESSDISPLAY 17 +// @} + +/// TV Capabilities and Standards +/// \defgroup define_tv_caps TV Capabilities and Standards +/// \deprecated Dropping support for TV displays +// @{ +#define ADL_TV_STANDARDS (1 << 0) +#define ADL_TV_SCART (1 << 1) + +/// TV Standards Definitions +#define ADL_STANDARD_NTSC_M (1 << 0) +#define ADL_STANDARD_NTSC_JPN (1 << 1) +#define ADL_STANDARD_NTSC_N (1 << 2) +#define ADL_STANDARD_PAL_B (1 << 3) +#define ADL_STANDARD_PAL_COMB_N (1 << 4) +#define ADL_STANDARD_PAL_D (1 << 5) +#define ADL_STANDARD_PAL_G (1 << 6) +#define ADL_STANDARD_PAL_H (1 << 7) +#define ADL_STANDARD_PAL_I (1 << 8) +#define ADL_STANDARD_PAL_K (1 << 9) +#define ADL_STANDARD_PAL_K1 (1 << 10) +#define ADL_STANDARD_PAL_L (1 << 11) +#define ADL_STANDARD_PAL_M (1 << 12) +#define ADL_STANDARD_PAL_N (1 << 13) +#define ADL_STANDARD_PAL_SECAM_D (1 << 14) +#define ADL_STANDARD_PAL_SECAM_K (1 << 15) +#define ADL_STANDARD_PAL_SECAM_K1 (1 << 16) +#define ADL_STANDARD_PAL_SECAM_L (1 << 17) +// @} + + +/// \defgroup define_video_custom_mode Video Custom Mode flags +/// Component Video Custom Mode flags. This is used by the iFlags parameter in ADLCustomMode +// @{ +#define ADL_CUSTOMIZEDMODEFLAG_MODESUPPORTED (1 << 0) +#define ADL_CUSTOMIZEDMODEFLAG_NOTDELETETABLE (1 << 1) +#define ADL_CUSTOMIZEDMODEFLAG_INSERTBYDRIVER (1 << 2) +#define ADL_CUSTOMIZEDMODEFLAG_INTERLACED (1 << 3) +#define ADL_CUSTOMIZEDMODEFLAG_BASEMODE (1 << 4) +// @} + +/// \defgroup define_ddcinfoflag Values used for DDCInfoFlag +/// ulDDCInfoFlag field values used by the ADLDDCInfo structure +// @{ +#define ADL_DISPLAYDDCINFOEX_FLAG_PROJECTORDEVICE (1 << 0) +#define ADL_DISPLAYDDCINFOEX_FLAG_EDIDEXTENSION (1 << 1) +#define ADL_DISPLAYDDCINFOEX_FLAG_DIGITALDEVICE (1 << 2) +#define ADL_DISPLAYDDCINFOEX_FLAG_HDMIAUDIODEVICE (1 << 3) +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORTS_AI (1 << 4) +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC601 (1 << 5) +#define ADL_DISPLAYDDCINFOEX_FLAG_SUPPORT_xvYCC709 (1 << 6) +// @} + +/// \defgroup define_cv_dongle Values used by ADL_CV_DongleSettings_xxx +/// The following is applicable to ADL_DISPLAY_CONTYPE_ATICVDONGLE_JP and ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C_D only +/// \deprecated Dropping support for Component Video displays +// @{ +#define ADL_DISPLAY_CV_DONGLE_D1 (1 << 0) +#define ADL_DISPLAY_CV_DONGLE_D2 (1 << 1) +#define ADL_DISPLAY_CV_DONGLE_D3 (1 << 2) +#define ADL_DISPLAY_CV_DONGLE_D4 (1 << 3) +#define ADL_DISPLAY_CV_DONGLE_D5 (1 << 4) + +/// The following is applicable to ADL_DISPLAY_CONTYPE_ATICVDONGLE_NA and ADL_DISPLAY_CONTYPE_ATICVDONGLE_NONI2C only + +#define ADL_DISPLAY_CV_DONGLE_480I (1 << 0) +#define ADL_DISPLAY_CV_DONGLE_480P (1 << 1) +#define ADL_DISPLAY_CV_DONGLE_540P (1 << 2) +#define ADL_DISPLAY_CV_DONGLE_720P (1 << 3) +#define ADL_DISPLAY_CV_DONGLE_1080I (1 << 4) +#define ADL_DISPLAY_CV_DONGLE_1080P (1 << 5) +#define ADL_DISPLAY_CV_DONGLE_16_9 (1 << 6) +#define ADL_DISPLAY_CV_DONGLE_720P50 (1 << 7) +#define ADL_DISPLAY_CV_DONGLE_1080I25 (1 << 8) +#define ADL_DISPLAY_CV_DONGLE_576I25 (1 << 9) +#define ADL_DISPLAY_CV_DONGLE_576P50 (1 << 10) +#define ADL_DISPLAY_CV_DONGLE_1080P24 (1 << 11) +#define ADL_DISPLAY_CV_DONGLE_1080P25 (1 << 12) +#define ADL_DISPLAY_CV_DONGLE_1080P30 (1 << 13) +#define ADL_DISPLAY_CV_DONGLE_1080P50 (1 << 14) +// @} + +/// \defgroup define_formats_ovr Formats Override Settings +/// Display force modes flags +// @{ +/// +#define ADL_DISPLAY_FORMAT_FORCE_720P 0x00000001 +#define ADL_DISPLAY_FORMAT_FORCE_1080I 0x00000002 +#define ADL_DISPLAY_FORMAT_FORCE_1080P 0x00000004 +#define ADL_DISPLAY_FORMAT_FORCE_720P50 0x00000008 +#define ADL_DISPLAY_FORMAT_FORCE_1080I25 0x00000010 +#define ADL_DISPLAY_FORMAT_FORCE_576I25 0x00000020 +#define ADL_DISPLAY_FORMAT_FORCE_576P50 0x00000040 +#define ADL_DISPLAY_FORMAT_FORCE_1080P24 0x00000080 +#define ADL_DISPLAY_FORMAT_FORCE_1080P25 0x00000100 +#define ADL_DISPLAY_FORMAT_FORCE_1080P30 0x00000200 +#define ADL_DISPLAY_FORMAT_FORCE_1080P50 0x00000400 + +///< Below are \b EXTENDED display mode flags + +#define ADL_DISPLAY_FORMAT_CVDONGLEOVERIDE 0x00000001 +#define ADL_DISPLAY_FORMAT_CVMODEUNDERSCAN 0x00000002 +#define ADL_DISPLAY_FORMAT_FORCECONNECT_SUPPORTED 0x00000004 +#define ADL_DISPLAY_FORMAT_RESTRICT_FORMAT_SELECTION 0x00000008 +#define ADL_DISPLAY_FORMAT_SETASPECRATIO 0x00000010 +#define ADL_DISPLAY_FORMAT_FORCEMODES 0x00000020 +#define ADL_DISPLAY_FORMAT_LCDRTCCOEFF 0x00000040 +// @} + +/// Defines used by OD5 +#define ADL_PM_PARAM_DONT_CHANGE 0 + +/// The following defines Bus types +// @{ +#define ADL_BUSTYPE_PCI 0 /* PCI bus */ +#define ADL_BUSTYPE_AGP 1 /* AGP bus */ +#define ADL_BUSTYPE_PCIE 2 /* PCI Express bus */ +#define ADL_BUSTYPE_PCIE_GEN2 3 /* PCI Express 2nd generation bus */ +#define ADL_BUSTYPE_PCIE_GEN3 4 /* PCI Express 3rd generation bus */ +#define ADL_BUSTYPE_PCIE_GEN4 5 /* PCI Express 4th generation bus */ +// @} + +/// \defgroup define_ws_caps Workstation Capabilities +/// Workstation values +// @{ + +/// This value indicates that the workstation card supports active stereo though stereo output connector +#define ADL_STEREO_SUPPORTED (1 << 2) +/// This value indicates that the workstation card supports active stereo via "blue-line" +#define ADL_STEREO_BLUE_LINE (1 << 3) +/// This value is used to turn off stereo mode. +#define ADL_STEREO_OFF 0 +/// This value indicates that the workstation card supports active stereo. This is also used to set the stereo mode to active though the stereo output connector +#define ADL_STEREO_ACTIVE (1 << 1) +/// This value indicates that the workstation card supports auto-stereo monitors with horizontal interleave. This is also used to set the stereo mode to use the auto-stereo monitor with horizontal interleave +#define ADL_STEREO_AUTO_HORIZONTAL (1 << 30) +/// This value indicates that the workstation card supports auto-stereo monitors with vertical interleave. This is also used to set the stereo mode to use the auto-stereo monitor with vertical interleave +#define ADL_STEREO_AUTO_VERTICAL (1 << 31) +/// This value indicates that the workstation card supports passive stereo, ie. non stereo sync +#define ADL_STEREO_PASSIVE (1 << 6) +/// This value indicates that the workstation card supports auto-stereo monitors with vertical interleave. This is also used to set the stereo mode to use the auto-stereo monitor with vertical interleave +#define ADL_STEREO_PASSIVE_HORIZ (1 << 7) +/// This value indicates that the workstation card supports auto-stereo monitors with vertical interleave. This is also used to set the stereo mode to use the auto-stereo monitor with vertical interleave +#define ADL_STEREO_PASSIVE_VERT (1 << 8) +/// This value indicates that the workstation card supports auto-stereo monitors with Samsung. +#define ADL_STEREO_AUTO_SAMSUNG (1 << 11) +/// This value indicates that the workstation card supports auto-stereo monitors with Tridility. +#define ADL_STEREO_AUTO_TSL (1 << 12) +/// This value indicates that the workstation card supports DeepBitDepth (10 bpp) +#define ADL_DEEPBITDEPTH_10BPP_SUPPORTED (1 << 5) + +/// This value indicates that the workstation supports 8-Bit Grayscale +#define ADL_8BIT_GREYSCALE_SUPPORTED (1 << 9) +/// This value indicates that the workstation supports CUSTOM TIMING +#define ADL_CUSTOM_TIMING_SUPPORTED (1 << 10) + +/// Load balancing is supported. +#define ADL_WORKSTATION_LOADBALANCING_SUPPORTED 0x00000001 +/// Load balancing is available. +#define ADL_WORKSTATION_LOADBALANCING_AVAILABLE 0x00000002 + +/// Load balancing is disabled. +#define ADL_WORKSTATION_LOADBALANCING_DISABLED 0x00000000 +/// Load balancing is Enabled. +#define ADL_WORKSTATION_LOADBALANCING_ENABLED 0x00000001 + + + +// @} + +/// \defgroup define_adapterspeed speed setting from the adapter +// @{ +#define ADL_CONTEXT_SPEED_UNFORCED 0 /* default asic running speed */ +#define ADL_CONTEXT_SPEED_FORCEHIGH 1 /* asic running speed is forced to high */ +#define ADL_CONTEXT_SPEED_FORCELOW 2 /* asic running speed is forced to low */ + +#define ADL_ADAPTER_SPEEDCAPS_SUPPORTED (1 << 0) /* change asic running speed setting is supported */ +// @} + +/// \defgroup define_glsync Genlock related values +/// GL-Sync port types (unique values) +// @{ +/// Unknown port of GL-Sync module +#define ADL_GLSYNC_PORT_UNKNOWN 0 +/// BNC port of of GL-Sync module +#define ADL_GLSYNC_PORT_BNC 1 +/// RJ45(1) port of of GL-Sync module +#define ADL_GLSYNC_PORT_RJ45PORT1 2 +/// RJ45(2) port of of GL-Sync module +#define ADL_GLSYNC_PORT_RJ45PORT2 3 + +// GL-Sync Genlock settings mask (bit-vector) + +/// None of the ADLGLSyncGenlockConfig members are valid +#define ADL_GLSYNC_CONFIGMASK_NONE 0 +/// The ADLGLSyncGenlockConfig.lSignalSource member is valid +#define ADL_GLSYNC_CONFIGMASK_SIGNALSOURCE (1 << 0) +/// The ADLGLSyncGenlockConfig.iSyncField member is valid +#define ADL_GLSYNC_CONFIGMASK_SYNCFIELD (1 << 1) +/// The ADLGLSyncGenlockConfig.iSampleRate member is valid +#define ADL_GLSYNC_CONFIGMASK_SAMPLERATE (1 << 2) +/// The ADLGLSyncGenlockConfig.lSyncDelay member is valid +#define ADL_GLSYNC_CONFIGMASK_SYNCDELAY (1 << 3) +/// The ADLGLSyncGenlockConfig.iTriggerEdge member is valid +#define ADL_GLSYNC_CONFIGMASK_TRIGGEREDGE (1 << 4) +/// The ADLGLSyncGenlockConfig.iScanRateCoeff member is valid +#define ADL_GLSYNC_CONFIGMASK_SCANRATECOEFF (1 << 5) +/// The ADLGLSyncGenlockConfig.lFramelockCntlVector member is valid +#define ADL_GLSYNC_CONFIGMASK_FRAMELOCKCNTL (1 << 6) + + +// GL-Sync Framelock control mask (bit-vector) + +/// Framelock is disabled +#define ADL_GLSYNC_FRAMELOCKCNTL_NONE 0 +/// Framelock is enabled +#define ADL_GLSYNC_FRAMELOCKCNTL_ENABLE ( 1 << 0) + +#define ADL_GLSYNC_FRAMELOCKCNTL_DISABLE ( 1 << 1) +#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_RESET ( 1 << 2) +#define ADL_GLSYNC_FRAMELOCKCNTL_SWAP_COUNTER_ACK ( 1 << 3) +#define ADL_GLSYNC_FRAMELOCKCNTL_VERSION_KMD (1 << 4) + +#define ADL_GLSYNC_FRAMELOCKCNTL_STATE_ENABLE ( 1 << 0) +#define ADL_GLSYNC_FRAMELOCKCNTL_STATE_KMD (1 << 4) + +// GL-Sync Framelock counters mask (bit-vector) +#define ADL_GLSYNC_COUNTER_SWAP ( 1 << 0 ) + +// GL-Sync Signal Sources (unique values) + +/// GL-Sync signal source is undefined +#define ADL_GLSYNC_SIGNALSOURCE_UNDEFINED 0x00000100 +/// GL-Sync signal source is Free Run +#define ADL_GLSYNC_SIGNALSOURCE_FREERUN 0x00000101 +/// GL-Sync signal source is the BNC GL-Sync port +#define ADL_GLSYNC_SIGNALSOURCE_BNCPORT 0x00000102 +/// GL-Sync signal source is the RJ45(1) GL-Sync port +#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT1 0x00000103 +/// GL-Sync signal source is the RJ45(2) GL-Sync port +#define ADL_GLSYNC_SIGNALSOURCE_RJ45PORT2 0x00000104 + + +// GL-Sync Signal Types (unique values) + +/// GL-Sync signal type is unknown +#define ADL_GLSYNC_SIGNALTYPE_UNDEFINED 0 +/// GL-Sync signal type is 480I +#define ADL_GLSYNC_SIGNALTYPE_480I 1 +/// GL-Sync signal type is 576I +#define ADL_GLSYNC_SIGNALTYPE_576I 2 +/// GL-Sync signal type is 480P +#define ADL_GLSYNC_SIGNALTYPE_480P 3 +/// GL-Sync signal type is 576P +#define ADL_GLSYNC_SIGNALTYPE_576P 4 +/// GL-Sync signal type is 720P +#define ADL_GLSYNC_SIGNALTYPE_720P 5 +/// GL-Sync signal type is 1080P +#define ADL_GLSYNC_SIGNALTYPE_1080P 6 +/// GL-Sync signal type is 1080I +#define ADL_GLSYNC_SIGNALTYPE_1080I 7 +/// GL-Sync signal type is SDI +#define ADL_GLSYNC_SIGNALTYPE_SDI 8 +/// GL-Sync signal type is TTL +#define ADL_GLSYNC_SIGNALTYPE_TTL 9 +/// GL_Sync signal type is Analog +#define ADL_GLSYNC_SIGNALTYPE_ANALOG 10 + +// GL-Sync Sync Field options (unique values) + +///GL-Sync sync field option is undefined +#define ADL_GLSYNC_SYNCFIELD_UNDEFINED 0 +///GL-Sync sync field option is Sync to Field 1 (used for Interlaced signal types) +#define ADL_GLSYNC_SYNCFIELD_BOTH 1 +///GL-Sync sync field option is Sync to Both fields (used for Interlaced signal types) +#define ADL_GLSYNC_SYNCFIELD_1 2 + + +// GL-Sync trigger edge options (unique values) + +/// GL-Sync trigger edge is undefined +#define ADL_GLSYNC_TRIGGEREDGE_UNDEFINED 0 +/// GL-Sync trigger edge is the rising edge +#define ADL_GLSYNC_TRIGGEREDGE_RISING 1 +/// GL-Sync trigger edge is the falling edge +#define ADL_GLSYNC_TRIGGEREDGE_FALLING 2 +/// GL-Sync trigger edge is both the rising and the falling edge +#define ADL_GLSYNC_TRIGGEREDGE_BOTH 3 + + +// GL-Sync scan rate coefficient/multiplier options (unique values) + +/// GL-Sync scan rate coefficient/multiplier is undefined +#define ADL_GLSYNC_SCANRATECOEFF_UNDEFINED 0 +/// GL-Sync scan rate coefficient/multiplier is 5 +#define ADL_GLSYNC_SCANRATECOEFF_x5 1 +/// GL-Sync scan rate coefficient/multiplier is 4 +#define ADL_GLSYNC_SCANRATECOEFF_x4 2 +/// GL-Sync scan rate coefficient/multiplier is 3 +#define ADL_GLSYNC_SCANRATECOEFF_x3 3 +/// GL-Sync scan rate coefficient/multiplier is 5:2 (SMPTE) +#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_2 4 +/// GL-Sync scan rate coefficient/multiplier is 2 +#define ADL_GLSYNC_SCANRATECOEFF_x2 5 +/// GL-Sync scan rate coefficient/multiplier is 3 : 2 +#define ADL_GLSYNC_SCANRATECOEFF_x3_DIV_2 6 +/// GL-Sync scan rate coefficient/multiplier is 5 : 4 +#define ADL_GLSYNC_SCANRATECOEFF_x5_DIV_4 7 +/// GL-Sync scan rate coefficient/multiplier is 1 (default) +#define ADL_GLSYNC_SCANRATECOEFF_x1 8 +/// GL-Sync scan rate coefficient/multiplier is 4 : 5 +#define ADL_GLSYNC_SCANRATECOEFF_x4_DIV_5 9 +/// GL-Sync scan rate coefficient/multiplier is 2 : 3 +#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_3 10 +/// GL-Sync scan rate coefficient/multiplier is 1 : 2 +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_2 11 +/// GL-Sync scan rate coefficient/multiplier is 2 : 5 (SMPTE) +#define ADL_GLSYNC_SCANRATECOEFF_x2_DIV_5 12 +/// GL-Sync scan rate coefficient/multiplier is 1 : 3 +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_3 13 +/// GL-Sync scan rate coefficient/multiplier is 1 : 4 +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_4 14 +/// GL-Sync scan rate coefficient/multiplier is 1 : 5 +#define ADL_GLSYNC_SCANRATECOEFF_x1_DIV_5 15 + + +// GL-Sync port (signal presence) states (unique values) + +/// GL-Sync port state is undefined +#define ADL_GLSYNC_PORTSTATE_UNDEFINED 0 +/// GL-Sync port is not connected +#define ADL_GLSYNC_PORTSTATE_NOCABLE 1 +/// GL-Sync port is Idle +#define ADL_GLSYNC_PORTSTATE_IDLE 2 +/// GL-Sync port has an Input signal +#define ADL_GLSYNC_PORTSTATE_INPUT 3 +/// GL-Sync port is Output +#define ADL_GLSYNC_PORTSTATE_OUTPUT 4 + + +// GL-Sync LED types (used index within ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array) (unique values) + +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the one LED of the BNC port +#define ADL_GLSYNC_LEDTYPE_BNC 0 +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Left LED of the RJ45(1) or RJ45(2) port +#define ADL_GLSYNC_LEDTYPE_RJ45_LEFT 0 +/// Index into the ADL_Workstation_GLSyncPortState_Get returned ppGlSyncLEDs array for the Right LED of the RJ45(1) or RJ45(2) port +#define ADL_GLSYNC_LEDTYPE_RJ45_RIGHT 1 + + +// GL-Sync LED colors (unique values) + +/// GL-Sync LED undefined color +#define ADL_GLSYNC_LEDCOLOR_UNDEFINED 0 +/// GL-Sync LED is unlit +#define ADL_GLSYNC_LEDCOLOR_NOLIGHT 1 +/// GL-Sync LED is yellow +#define ADL_GLSYNC_LEDCOLOR_YELLOW 2 +/// GL-Sync LED is red +#define ADL_GLSYNC_LEDCOLOR_RED 3 +/// GL-Sync LED is green +#define ADL_GLSYNC_LEDCOLOR_GREEN 4 +/// GL-Sync LED is flashing green +#define ADL_GLSYNC_LEDCOLOR_FLASH_GREEN 5 + + +// GL-Sync Port Control (refers one GL-Sync Port) (unique values) + +/// Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Idle +#define ADL_GLSYNC_PORTCNTL_NONE 0x00000000 +/// Used to configure the RJ54(1) or RJ42(2) port of GL-Sync is as Output +#define ADL_GLSYNC_PORTCNTL_OUTPUT 0x00000001 + + +// GL-Sync Mode Control (refers one Display/Controller) (bitfields) + +/// Used to configure the display to use internal timing (not genlocked) +#define ADL_GLSYNC_MODECNTL_NONE 0x00000000 +/// Bitfield used to configure the display as genlocked (either as Timing Client or as Timing Server) +#define ADL_GLSYNC_MODECNTL_GENLOCK 0x00000001 +/// Bitfield used to configure the display as Timing Server +#define ADL_GLSYNC_MODECNTL_TIMINGSERVER 0x00000002 + +// GL-Sync Mode Status +/// Display is currently not genlocked +#define ADL_GLSYNC_MODECNTL_STATUS_NONE 0x00000000 +/// Display is currently genlocked +#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK 0x00000001 +/// Display requires a mode switch +#define ADL_GLSYNC_MODECNTL_STATUS_SETMODE_REQUIRED 0x00000002 +/// Display is capable of being genlocked +#define ADL_GLSYNC_MODECNTL_STATUS_GENLOCK_ALLOWED 0x00000004 + +#define ADL_MAX_GLSYNC_PORTS 8 +#define ADL_MAX_GLSYNC_PORT_LEDS 8 + +// @} + +/// \defgroup define_crossfirestate CrossfireX state of a particular adapter CrossfireX combination +// @{ +#define ADL_XFIREX_STATE_NOINTERCONNECT ( 1 << 0 ) /* Dongle / cable is missing */ +#define ADL_XFIREX_STATE_DOWNGRADEPIPES ( 1 << 1 ) /* CrossfireX can be enabled if pipes are downgraded */ +#define ADL_XFIREX_STATE_DOWNGRADEMEM ( 1 << 2 ) /* CrossfireX cannot be enabled unless mem downgraded */ +#define ADL_XFIREX_STATE_REVERSERECOMMENDED ( 1 << 3 ) /* Card reversal recommended, CrossfireX cannot be enabled. */ +#define ADL_XFIREX_STATE_3DACTIVE ( 1 << 4 ) /* 3D client is active - CrossfireX cannot be safely enabled */ +#define ADL_XFIREX_STATE_MASTERONSLAVE ( 1 << 5 ) /* Dongle is OK but master is on slave */ +#define ADL_XFIREX_STATE_NODISPLAYCONNECT ( 1 << 6 ) /* No (valid) display connected to master card. */ +#define ADL_XFIREX_STATE_NOPRIMARYVIEW ( 1 << 7 ) /* CrossfireX is enabled but master is not current primary device */ +#define ADL_XFIREX_STATE_DOWNGRADEVISMEM ( 1 << 8 ) /* CrossfireX cannot be enabled unless visible mem downgraded */ +#define ADL_XFIREX_STATE_LESSTHAN8LANE_MASTER ( 1 << 9 ) /* CrossfireX can be enabled however performance not optimal due to <8 lanes */ +#define ADL_XFIREX_STATE_LESSTHAN8LANE_SLAVE ( 1 << 10 ) /* CrossfireX can be enabled however performance not optimal due to <8 lanes */ +#define ADL_XFIREX_STATE_PEERTOPEERFAILED ( 1 << 11 ) /* CrossfireX cannot be enabled due to failed peer to peer test */ +#define ADL_XFIREX_STATE_MEMISDOWNGRADED ( 1 << 16 ) /* Notification that memory is currently downgraded */ +#define ADL_XFIREX_STATE_PIPESDOWNGRADED ( 1 << 17 ) /* Notification that pipes are currently downgraded */ +#define ADL_XFIREX_STATE_XFIREXACTIVE ( 1 << 18 ) /* CrossfireX is enabled on current device */ +#define ADL_XFIREX_STATE_VISMEMISDOWNGRADED ( 1 << 19 ) /* Notification that visible FB memory is currently downgraded */ +#define ADL_XFIREX_STATE_INVALIDINTERCONNECTION ( 1 << 20 ) /* Cannot support current inter-connection configuration */ +#define ADL_XFIREX_STATE_NONP2PMODE ( 1 << 21 ) /* CrossfireX will only work with clients supporting non P2P mode */ +#define ADL_XFIREX_STATE_DOWNGRADEMEMBANKS ( 1 << 22 ) /* CrossfireX cannot be enabled unless memory banks downgraded */ +#define ADL_XFIREX_STATE_MEMBANKSDOWNGRADED ( 1 << 23 ) /* Notification that memory banks are currently downgraded */ +#define ADL_XFIREX_STATE_DUALDISPLAYSALLOWED ( 1 << 24 ) /* Extended desktop or clone mode is allowed. */ +#define ADL_XFIREX_STATE_P2P_APERTURE_MAPPING ( 1 << 25 ) /* P2P mapping was through peer aperture */ +#define ADL_XFIREX_STATE_P2PFLUSH_REQUIRED ADL_XFIREX_STATE_P2P_APERTURE_MAPPING /* For back compatible */ +#define ADL_XFIREX_STATE_XSP_CONNECTED ( 1 << 26 ) /* There is CrossfireX side port connection between GPUs */ +#define ADL_XFIREX_STATE_ENABLE_CF_REBOOT_REQUIRED ( 1 << 27 ) /* System needs a reboot bofore enable CrossfireX */ +#define ADL_XFIREX_STATE_DISABLE_CF_REBOOT_REQUIRED ( 1 << 28 ) /* System needs a reboot after disable CrossfireX */ +#define ADL_XFIREX_STATE_DRV_HANDLE_DOWNGRADE_KEY ( 1 << 29 ) /* Indicate base driver handles the downgrade key updating */ +#define ADL_XFIREX_STATE_CF_RECONFIG_REQUIRED ( 1 << 30 ) /* CrossfireX need to be reconfigured by CCC because of a LDA chain broken */ +#define ADL_XFIREX_STATE_ERRORGETTINGSTATUS ( 1 << 31 ) /* Could not obtain current status */ +// @} + +/////////////////////////////////////////////////////////////////////////// +// ADL_DISPLAY_ADJUSTMENT_PIXELFORMAT adjustment values +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +/// \defgroup define_pixel_formats Pixel Formats values +/// This group defines the various Pixel Formats that a particular digital display can support. \n +/// Since a display can support multiple formats, these values can be bit-or'ed to indicate the various formats \n +// @{ +#define ADL_DISPLAY_PIXELFORMAT_UNKNOWN 0 +#define ADL_DISPLAY_PIXELFORMAT_RGB (1 << 0) +#define ADL_DISPLAY_PIXELFORMAT_YCRCB444 (1 << 1) //Limited range +#define ADL_DISPLAY_PIXELFORMAT_YCRCB422 (1 << 2) //Limited range +#define ADL_DISPLAY_PIXELFORMAT_RGB_LIMITED_RANGE (1 << 3) +#define ADL_DISPLAY_PIXELFORMAT_RGB_FULL_RANGE ADL_DISPLAY_PIXELFORMAT_RGB //Full range +#define ADL_DISPLAY_PIXELFORMAT_YCRCB420 (1 << 4) +// @} + +/// \defgroup define_contype Connector Type Values +/// ADLDisplayConfig.ulConnectorType defines +// @{ +#define ADL_DL_DISPLAYCONFIG_CONTYPE_UNKNOWN 0 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NONI2C_JP 1 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_JPN 2 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NA 3 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_CV_NONI2C_NA 4 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_VGA 5 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DVI_D 6 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DVI_I 7 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_HDMI_TYPE_A 8 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_HDMI_TYPE_B 9 +#define ADL_DL_DISPLAYCONFIG_CONTYPE_DISPLAYPORT 10 +// @} + +/////////////////////////////////////////////////////////////////////////// +// ADL_DISPLAY_DISPLAYINFO_ Definitions +// for ADLDisplayInfo.iDisplayInfoMask and ADLDisplayInfo.iDisplayInfoValue +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +/// \defgroup define_displayinfomask Display Info Mask Values +// @{ +#define ADL_DISPLAY_DISPLAYINFO_DISPLAYCONNECTED 0x00000001 +#define ADL_DISPLAY_DISPLAYINFO_DISPLAYMAPPED 0x00000002 +#define ADL_DISPLAY_DISPLAYINFO_NONLOCAL 0x00000004 +#define ADL_DISPLAY_DISPLAYINFO_FORCIBLESUPPORTED 0x00000008 +#define ADL_DISPLAY_DISPLAYINFO_GENLOCKSUPPORTED 0x00000010 +#define ADL_DISPLAY_DISPLAYINFO_MULTIVPU_SUPPORTED 0x00000020 +#define ADL_DISPLAY_DISPLAYINFO_LDA_DISPLAY 0x00000040 +#define ADL_DISPLAY_DISPLAYINFO_MODETIMING_OVERRIDESSUPPORTED 0x00000080 + +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_SINGLE 0x00000100 +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_CLONE 0x00000200 + +/// Legacy support for XP +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_2VSTRETCH 0x00000400 +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_2HSTRETCH 0x00000800 +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_EXTENDED 0x00001000 + +/// More support manners +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_NSTRETCH1GPU 0x00010000 +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_NSTRETCHNGPU 0x00020000 +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_RESERVED2 0x00040000 +#define ADL_DISPLAY_DISPLAYINFO_MANNER_SUPPORTED_RESERVED3 0x00080000 + +/// Projector display type +#define ADL_DISPLAY_DISPLAYINFO_SHOWTYPE_PROJECTOR 0x00100000 + +// @} + + +/////////////////////////////////////////////////////////////////////////// +// ADL_ADAPTER_DISPLAY_MANNER_SUPPORTED_ Definitions +// for ADLAdapterDisplayCap of ADL_Adapter_Display_Cap() +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +/// \defgroup define_adaptermanner Adapter Manner Support Values +// @{ +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NOTACTIVE 0x00000001 +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_SINGLE 0x00000002 +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_CLONE 0x00000004 +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NSTRETCH1GPU 0x00000008 +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_NSTRETCHNGPU 0x00000010 + +/// Legacy support for XP +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_2VSTRETCH 0x00000020 +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_2HSTRETCH 0x00000040 +#define ADL_ADAPTER_DISPLAYCAP_MANNER_SUPPORTED_EXTENDED 0x00000080 + +#define ADL_ADAPTER_DISPLAYCAP_PREFERDISPLAY_SUPPORTED 0x00000100 +#define ADL_ADAPTER_DISPLAYCAP_BEZEL_SUPPORTED 0x00000200 + + +/////////////////////////////////////////////////////////////////////////// +// ADL_DISPLAY_DISPLAYMAP_MANNER_ Definitions +// for ADLDisplayMap.iDisplayMapMask and ADLDisplayMap.iDisplayMapValue +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +#define ADL_DISPLAY_DISPLAYMAP_MANNER_RESERVED 0x00000001 +#define ADL_DISPLAY_DISPLAYMAP_MANNER_NOTACTIVE 0x00000002 +#define ADL_DISPLAY_DISPLAYMAP_MANNER_SINGLE 0x00000004 +#define ADL_DISPLAY_DISPLAYMAP_MANNER_CLONE 0x00000008 +#define ADL_DISPLAY_DISPLAYMAP_MANNER_RESERVED1 0x00000010 // Removed NSTRETCH +#define ADL_DISPLAY_DISPLAYMAP_MANNER_HSTRETCH 0x00000020 +#define ADL_DISPLAY_DISPLAYMAP_MANNER_VSTRETCH 0x00000040 +#define ADL_DISPLAY_DISPLAYMAP_MANNER_VLD 0x00000080 + +// @} + +/////////////////////////////////////////////////////////////////////////// +// ADL_DISPLAY_DISPLAYMAP_OPTION_ Definitions +// for iOption in function ADL_Display_DisplayMapConfig_Get +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +#define ADL_DISPLAY_DISPLAYMAP_OPTION_GPUINFO 0x00000001 + +/////////////////////////////////////////////////////////////////////////// +// ADL_DISPLAY_DISPLAYTARGET_ Definitions +// for ADLDisplayTarget.iDisplayTargetMask and ADLDisplayTarget.iDisplayTargetValue +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +#define ADL_DISPLAY_DISPLAYTARGET_PREFERRED 0x00000001 + +/////////////////////////////////////////////////////////////////////////// +// ADL_DISPLAY_POSSIBLEMAPRESULT_VALID Definitions +// for ADLPossibleMapResult.iPossibleMapResultMask and ADLPossibleMapResult.iPossibleMapResultValue +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +#define ADL_DISPLAY_POSSIBLEMAPRESULT_VALID 0x00000001 +#define ADL_DISPLAY_POSSIBLEMAPRESULT_BEZELSUPPORTED 0x00000002 +#define ADL_DISPLAY_POSSIBLEMAPRESULT_OVERLAPSUPPORTED 0x00000004 + +/////////////////////////////////////////////////////////////////////////// +// ADL_DISPLAY_MODE_ Definitions +// for ADLMode.iModeMask, ADLMode.iModeValue, and ADLMode.iModeFlag +// (bit-vector) +/////////////////////////////////////////////////////////////////////////// +/// \defgroup define_displaymode Display Mode Values +// @{ +#define ADL_DISPLAY_MODE_COLOURFORMAT_565 0x00000001 +#define ADL_DISPLAY_MODE_COLOURFORMAT_8888 0x00000002 +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_000 0x00000004 +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_090 0x00000008 +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_180 0x00000010 +#define ADL_DISPLAY_MODE_ORIENTATION_SUPPORTED_270 0x00000020 +#define ADL_DISPLAY_MODE_REFRESHRATE_ROUNDED 0x00000040 +#define ADL_DISPLAY_MODE_REFRESHRATE_ONLY 0x00000080 + +#define ADL_DISPLAY_MODE_PROGRESSIVE_FLAG 0 +#define ADL_DISPLAY_MODE_INTERLACED_FLAG 2 +// @} + +/////////////////////////////////////////////////////////////////////////// +// ADL_OSMODEINFO Definitions +/////////////////////////////////////////////////////////////////////////// +/// \defgroup define_osmode OS Mode Values +// @{ +#define ADL_OSMODEINFOXPOS_DEFAULT -640 +#define ADL_OSMODEINFOYPOS_DEFAULT 0 +#define ADL_OSMODEINFOXRES_DEFAULT 640 +#define ADL_OSMODEINFOYRES_DEFAULT 480 +#define ADL_OSMODEINFOXRES_DEFAULT800 800 +#define ADL_OSMODEINFOYRES_DEFAULT600 600 +#define ADL_OSMODEINFOREFRESHRATE_DEFAULT 60 +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT 8 +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT16 16 +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT24 24 +#define ADL_OSMODEINFOCOLOURDEPTH_DEFAULT32 32 +#define ADL_OSMODEINFOORIENTATION_DEFAULT 0 +#define ADL_OSMODEINFOORIENTATION_DEFAULT_WIN7 DISPLAYCONFIG_ROTATION_FORCE_UINT32 +#define ADL_OSMODEFLAG_DEFAULT 0 +// @} + + +/////////////////////////////////////////////////////////////////////////// +// ADLThreadingModel Enumeration +/////////////////////////////////////////////////////////////////////////// +/// \defgroup thread_model +/// Used with \ref ADL_Main_ControlX2_Create and \ref ADL2_Main_ControlX2_Create to specify how ADL handles API calls when executed by multiple threads concurrently. +/// \brief Declares ADL threading behavior. +// @{ +typedef enum ADLThreadingModel +{ + ADL_THREADING_UNLOCKED = 0, /*!< Default behavior. ADL will not enforce serialization of ADL API executions by multiple threads. Multiple threads will be allowed to enter to ADL at the same time. Note that ADL library is not guaranteed to be thread-safe. Client that calls ADL_Main_Control_Create have to provide its own mechanism for ADL calls serialization. */ + ADL_THREADING_LOCKED /*!< ADL will enforce serialization of ADL API when called by multiple threads. Only single thread will be allowed to enter ADL API at the time. This option makes ADL calls thread-safe. You shouldn't use this option if ADL calls will be executed on Linux on x-server rendering thread. It can cause the application to hung. */ +}ADLThreadingModel; + +// @} +/////////////////////////////////////////////////////////////////////////// +// ADLPurposeCode Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLPurposeCode +{ + ADL_PURPOSECODE_NORMAL = 0, + ADL_PURPOSECODE_HIDE_MODE_SWITCH, + ADL_PURPOSECODE_MODE_SWITCH, + ADL_PURPOSECODE_ATTATCH_DEVICE, + ADL_PURPOSECODE_DETACH_DEVICE, + ADL_PURPOSECODE_SETPRIMARY_DEVICE, + ADL_PURPOSECODE_GDI_ROTATION, + ADL_PURPOSECODE_ATI_ROTATION +}; +/////////////////////////////////////////////////////////////////////////// +// ADLAngle Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLAngle +{ + ADL_ANGLE_LANDSCAPE = 0, + ADL_ANGLE_ROTATERIGHT = 90, + ADL_ANGLE_ROTATE180 = 180, + ADL_ANGLE_ROTATELEFT = 270, +}; + +/////////////////////////////////////////////////////////////////////////// +// ADLOrientationDataType Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLOrientationDataType +{ + ADL_ORIENTATIONTYPE_OSDATATYPE, + ADL_ORIENTATIONTYPE_NONOSDATATYPE +}; + +/////////////////////////////////////////////////////////////////////////// +// ADLPanningMode Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLPanningMode +{ + ADL_PANNINGMODE_NO_PANNING = 0, + ADL_PANNINGMODE_AT_LEAST_ONE_NO_PANNING = 1, + ADL_PANNINGMODE_ALLOW_PANNING = 2, +}; + +/////////////////////////////////////////////////////////////////////////// +// ADLLARGEDESKTOPTYPE Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLLARGEDESKTOPTYPE +{ + ADL_LARGEDESKTOPTYPE_NORMALDESKTOP = 0, + ADL_LARGEDESKTOPTYPE_PSEUDOLARGEDESKTOP = 1, + ADL_LARGEDESKTOPTYPE_VERYLARGEDESKTOP = 2 +}; + +/////////////////////////////////////////////////////////////////////////// +// ADLPlatform Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLPlatForm +{ + GRAPHICS_PLATFORM_DESKTOP = 0, + GRAPHICS_PLATFORM_MOBILE = 1 +}; + +/////////////////////////////////////////////////////////////////////////// +// ADLGraphicCoreGeneration Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLGraphicCoreGeneration +{ + ADL_GRAPHIC_CORE_GENERATION_UNDEFINED = 0, + ADL_GRAPHIC_CORE_GENERATION_PRE_GCN = 1, + ADL_GRAPHIC_CORE_GENERATION_GCN = 2, + ADL_GRAPHIC_CORE_GENERATION_RDNA = 3 +}; + +// Other Definitions for internal use + +// Values for ADL_Display_WriteAndReadI2CRev_Get() + +#define ADL_I2C_MAJOR_API_REV 0x00000001 +#define ADL_I2C_MINOR_DEFAULT_API_REV 0x00000000 +#define ADL_I2C_MINOR_OEM_API_REV 0x00000001 + +// Values for ADL_Display_WriteAndReadI2C() +#define ADL_DL_I2C_LINE_OEM 0x00000001 +#define ADL_DL_I2C_LINE_OD_CONTROL 0x00000002 +#define ADL_DL_I2C_LINE_OEM2 0x00000003 +#define ADL_DL_I2C_LINE_OEM3 0x00000004 +#define ADL_DL_I2C_LINE_OEM4 0x00000005 +#define ADL_DL_I2C_LINE_OEM5 0x00000006 +#define ADL_DL_I2C_LINE_OEM6 0x00000007 + +// Max size of I2C data buffer +#define ADL_DL_I2C_MAXDATASIZE 0x00000040 +#define ADL_DL_I2C_MAXWRITEDATASIZE 0x0000000C +#define ADL_DL_I2C_MAXADDRESSLENGTH 0x00000006 +#define ADL_DL_I2C_MAXOFFSETLENGTH 0x00000004 + + +/// Values for ADLDisplayProperty.iPropertyType +#define ADL_DL_DISPLAYPROPERTY_TYPE_UNKNOWN 0 +#define ADL_DL_DISPLAYPROPERTY_TYPE_EXPANSIONMODE 1 +#define ADL_DL_DISPLAYPROPERTY_TYPE_USEUNDERSCANSCALING 2 +/// Enables ITC processing for HDMI panels that are capable of the feature +#define ADL_DL_DISPLAYPROPERTY_TYPE_ITCFLAGENABLE 9 +#define ADL_DL_DISPLAYPROPERTY_TYPE_DOWNSCALE 11 +#define ADL_DL_DISPLAYPROPERTY_TYPE_INTEGER_SCALING 12 + + +/// Values for ADLDisplayContent.iContentType +/// Certain HDMI panels that support ITC have support for a feature such that, the display on the panel +/// can be adjusted to optimize the view of the content being displayed, depending on the type of content. +#define ADL_DL_DISPLAYCONTENT_TYPE_GRAPHICS 1 +#define ADL_DL_DISPLAYCONTENT_TYPE_PHOTO 2 +#define ADL_DL_DISPLAYCONTENT_TYPE_CINEMA 4 +#define ADL_DL_DISPLAYCONTENT_TYPE_GAME 8 + + + +//values for ADLDisplayProperty.iExpansionMode +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_CENTER 0 +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_FULLSCREEN 1 +#define ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_ASPECTRATIO 2 + + +///\defgroup define_dither_states Dithering options +// @{ +/// Dithering disabled. +#define ADL_DL_DISPLAY_DITHER_DISABLED 0 +/// Use default driver settings for dithering. Note that the default setting could be dithering disabled. +#define ADL_DL_DISPLAY_DITHER_DRIVER_DEFAULT 1 +/// Temporal dithering to 6 bpc. Note that if the input is 12 bits, the two least significant bits will be truncated. +#define ADL_DL_DISPLAY_DITHER_FM6 2 +/// Temporal dithering to 8 bpc. +#define ADL_DL_DISPLAY_DITHER_FM8 3 +/// Temporal dithering to 10 bpc. +#define ADL_DL_DISPLAY_DITHER_FM10 4 +/// Spatial dithering to 6 bpc. Note that if the input is 12 bits, the two least significant bits will be truncated. +#define ADL_DL_DISPLAY_DITHER_DITH6 5 +/// Spatial dithering to 8 bpc. +#define ADL_DL_DISPLAY_DITHER_DITH8 6 +/// Spatial dithering to 10 bpc. +#define ADL_DL_DISPLAY_DITHER_DITH10 7 +/// Spatial dithering to 6 bpc. Random number generators are reset every frame, so the same input value of a certain pixel will always be dithered to the same output value. Note that if the input is 12 bits, the two least significant bits will be truncated. +#define ADL_DL_DISPLAY_DITHER_DITH6_NO_FRAME_RAND 8 +/// Spatial dithering to 8 bpc. Random number generators are reset every frame, so the same input value of a certain pixel will always be dithered to the same output value. +#define ADL_DL_DISPLAY_DITHER_DITH8_NO_FRAME_RAND 9 +/// Spatial dithering to 10 bpc. Random number generators are reset every frame, so the same input value of a certain pixel will always be dithered to the same output value. +#define ADL_DL_DISPLAY_DITHER_DITH10_NO_FRAME_RAND 10 +/// Truncation to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN6 11 +/// Truncation to 8 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN8 12 +/// Truncation to 10 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN10 13 +/// Truncation to 10 bpc followed by spatial dithering to 8 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN10_DITH8 14 +/// Truncation to 10 bpc followed by spatial dithering to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN10_DITH6 15 +/// Truncation to 10 bpc followed by temporal dithering to 8 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN10_FM8 16 +/// Truncation to 10 bpc followed by temporal dithering to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN10_FM6 17 +/// Truncation to 10 bpc followed by spatial dithering to 8 bpc and temporal dithering to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN10_DITH8_FM6 18 +/// Spatial dithering to 10 bpc followed by temporal dithering to 8 bpc. +#define ADL_DL_DISPLAY_DITHER_DITH10_FM8 19 +/// Spatial dithering to 10 bpc followed by temporal dithering to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_DITH10_FM6 20 +/// Truncation to 8 bpc followed by spatial dithering to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN8_DITH6 21 +/// Truncation to 8 bpc followed by temporal dithering to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_TRUN8_FM6 22 +/// Spatial dithering to 8 bpc followed by temporal dithering to 6 bpc. +#define ADL_DL_DISPLAY_DITHER_DITH8_FM6 23 +#define ADL_DL_DISPLAY_DITHER_LAST ADL_DL_DISPLAY_DITHER_DITH8_FM6 +// @} + + +/// Display Get Cached EDID flag +#define ADL_MAX_EDIDDATA_SIZE 256 // number of UCHAR +#define ADL_MAX_OVERRIDEEDID_SIZE 512 // number of UCHAR +#define ADL_MAX_EDID_EXTENSION_BLOCKS 3 + +#define ADL_DL_CONTROLLER_OVERLAY_ALPHA 0 +#define ADL_DL_CONTROLLER_OVERLAY_ALPHAPERPIX 1 + +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_RESET 0x00000000 +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_SET 0x00000001 +#define ADL_DL_DISPLAY_DATA_PACKET__INFO_PACKET_SCAN 0x00000002 + +///\defgroup define_display_packet Display Data Packet Types +// @{ +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__AVI 0x00000001 +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__GAMMUT 0x00000002 +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__VENDORINFO 0x00000004 +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__HDR 0x00000008 +#define ADL_DL_DISPLAY_DATA_PACKET__TYPE__SPD 0x00000010 +// @} + +// matrix types +#define ADL_GAMUT_MATRIX_SD 1 // SD matrix i.e. BT601 +#define ADL_GAMUT_MATRIX_HD 2 // HD matrix i.e. BT709 + +///\defgroup define_clockinfo_flags Clock flags +/// Used by ADLAdapterODClockInfo.iFlag +// @{ +#define ADL_DL_CLOCKINFO_FLAG_FULLSCREEN3DONLY 0x00000001 +#define ADL_DL_CLOCKINFO_FLAG_ALWAYSFULLSCREEN3D 0x00000002 +#define ADL_DL_CLOCKINFO_FLAG_VPURECOVERYREDUCED 0x00000004 +#define ADL_DL_CLOCKINFO_FLAG_THERMALPROTECTION 0x00000008 +// @} + +// Supported GPUs +// ADL_Display_PowerXpressActiveGPU_Get() +#define ADL_DL_POWERXPRESS_GPU_INTEGRATED 1 +#define ADL_DL_POWERXPRESS_GPU_DISCRETE 2 + +// Possible values for lpOperationResult +// ADL_Display_PowerXpressActiveGPU_Get() +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_STARTED 1 // Switch procedure has been started - Windows platform only +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_DECLINED 2 // Switch procedure cannot be started - All platforms +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_ALREADY 3 // System already has required status - All platforms +#define ADL_DL_POWERXPRESS_SWITCH_RESULT_DEFERRED 5 // Switch was deferred and requires an X restart - Linux platform only + +// PowerXpress support version +// ADL_Display_PowerXpressVersion_Get() +#define ADL_DL_POWERXPRESS_VERSION_MAJOR 2 // Current PowerXpress support version 2.0 +#define ADL_DL_POWERXPRESS_VERSION_MINOR 0 + +#define ADL_DL_POWERXPRESS_VERSION (((ADL_DL_POWERXPRESS_VERSION_MAJOR) << 16) | ADL_DL_POWERXPRESS_VERSION_MINOR) + +//values for ADLThermalControllerInfo.iThermalControllerDomain +#define ADL_DL_THERMAL_DOMAIN_OTHER 0 +#define ADL_DL_THERMAL_DOMAIN_GPU 1 + +//values for ADLThermalControllerInfo.iFlags +#define ADL_DL_THERMAL_FLAG_INTERRUPT 1 +#define ADL_DL_THERMAL_FLAG_FANCONTROL 2 + +///\defgroup define_fanctrl Fan speed cotrol +/// Values for ADLFanSpeedInfo.iFlags +// @{ +#define ADL_DL_FANCTRL_SUPPORTS_PERCENT_READ 1 +#define ADL_DL_FANCTRL_SUPPORTS_PERCENT_WRITE 2 +#define ADL_DL_FANCTRL_SUPPORTS_RPM_READ 4 +#define ADL_DL_FANCTRL_SUPPORTS_RPM_WRITE 8 +// @} + +//values for ADLFanSpeedValue.iSpeedType +#define ADL_DL_FANCTRL_SPEED_TYPE_PERCENT 1 +#define ADL_DL_FANCTRL_SPEED_TYPE_RPM 2 + +//values for ADLFanSpeedValue.iFlags +#define ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED 1 + +// MVPU interfaces +#define ADL_DL_MAX_MVPU_ADAPTERS 4 +#define MVPU_ADAPTER_0 0x00000001 +#define MVPU_ADAPTER_1 0x00000002 +#define MVPU_ADAPTER_2 0x00000004 +#define MVPU_ADAPTER_3 0x00000008 +#define ADL_DL_MAX_REGISTRY_PATH 256 + +//values for ADLMVPUStatus.iStatus +#define ADL_DL_MVPU_STATUS_OFF 0 +#define ADL_DL_MVPU_STATUS_ON 1 + +// values for ASIC family +///\defgroup define_Asic_type Detailed asic types +/// Defines for Adapter ASIC family type +// @{ +#define ADL_ASIC_UNDEFINED 0 +#define ADL_ASIC_DISCRETE (1 << 0) +#define ADL_ASIC_INTEGRATED (1 << 1) +#define ADL_ASIC_FIREGL (1 << 2) +#define ADL_ASIC_FIREMV (1 << 3) +#define ADL_ASIC_XGP (1 << 4) +#define ADL_ASIC_FUSION (1 << 5) +#define ADL_ASIC_FIRESTREAM (1 << 6) +#define ADL_ASIC_EMBEDDED (1 << 7) +// @} + +///\defgroup define_detailed_timing_flags Detailed Timimg Flags +/// Defines for ADLDetailedTiming.sTimingFlags field +// @{ +#define ADL_DL_TIMINGFLAG_DOUBLE_SCAN 0x0001 +//sTimingFlags is set when the mode is INTERLACED, if not PROGRESSIVE +#define ADL_DL_TIMINGFLAG_INTERLACED 0x0002 +//sTimingFlags is set when the Horizontal Sync is POSITIVE, if not NEGATIVE +#define ADL_DL_TIMINGFLAG_H_SYNC_POLARITY 0x0004 +//sTimingFlags is set when the Vertical Sync is POSITIVE, if not NEGATIVE +#define ADL_DL_TIMINGFLAG_V_SYNC_POLARITY 0x0008 +// @} + +///\defgroup define_modetiming_standard Timing Standards +/// Defines for ADLDisplayModeInfo.iTimingStandard field +// @{ +#define ADL_DL_MODETIMING_STANDARD_CVT 0x00000001 // CVT Standard +#define ADL_DL_MODETIMING_STANDARD_GTF 0x00000002 // GFT Standard +#define ADL_DL_MODETIMING_STANDARD_DMT 0x00000004 // DMT Standard +#define ADL_DL_MODETIMING_STANDARD_CUSTOM 0x00000008 // User-defined standard +#define ADL_DL_MODETIMING_STANDARD_DRIVER_DEFAULT 0x00000010 // Remove Mode from overriden list +#define ADL_DL_MODETIMING_STANDARD_CVT_RB 0x00000020 // CVT-RB Standard +// @} + +// \defgroup define_xserverinfo driver x-server info +/// These flags are used by ADL_XServerInfo_Get() +// @ + +/// Xinerama is active in the x-server, Xinerama extension may report it to be active but it +/// may not be active in x-server +#define ADL_XSERVERINFO_XINERAMAACTIVE (1<<0) + +/// RandR 1.2 is supported by driver, RandR extension may report version 1.2 +/// but driver may not support it +#define ADL_XSERVERINFO_RANDR12SUPPORTED (1<<1) +// @ + + +///\defgroup define_eyefinity_constants Eyefinity Definitions +// @{ + +#define ADL_CONTROLLERVECTOR_0 1 // ADL_CONTROLLERINDEX_0 = 0, (1 << ADL_CONTROLLERINDEX_0) +#define ADL_CONTROLLERVECTOR_1 2 // ADL_CONTROLLERINDEX_1 = 1, (1 << ADL_CONTROLLERINDEX_1) + +#define ADL_DISPLAY_SLSGRID_ORIENTATION_000 0x00000001 +#define ADL_DISPLAY_SLSGRID_ORIENTATION_090 0x00000002 +#define ADL_DISPLAY_SLSGRID_ORIENTATION_180 0x00000004 +#define ADL_DISPLAY_SLSGRID_ORIENTATION_270 0x00000008 +#define ADL_DISPLAY_SLSGRID_CAP_OPTION_RELATIVETO_LANDSCAPE 0x00000001 +#define ADL_DISPLAY_SLSGRID_CAP_OPTION_RELATIVETO_CURRENTANGLE 0x00000002 +#define ADL_DISPLAY_SLSGRID_PORTAIT_MODE 0x00000004 +#define ADL_DISPLAY_SLSGRID_KEEPTARGETROTATION 0x00000080 + +#define ADL_DISPLAY_SLSGRID_SAMEMODESLS_SUPPORT 0x00000010 +#define ADL_DISPLAY_SLSGRID_MIXMODESLS_SUPPORT 0x00000020 +#define ADL_DISPLAY_SLSGRID_DISPLAYROTATION_SUPPORT 0x00000040 +#define ADL_DISPLAY_SLSGRID_DESKTOPROTATION_SUPPORT 0x00000080 + + +#define ADL_DISPLAY_SLSMAP_SLSLAYOUTMODE_FIT 0x0100 +#define ADL_DISPLAY_SLSMAP_SLSLAYOUTMODE_FILL 0x0200 +#define ADL_DISPLAY_SLSMAP_SLSLAYOUTMODE_EXPAND 0x0400 + +#define ADL_DISPLAY_SLSMAP_IS_SLS 0x1000 +#define ADL_DISPLAY_SLSMAP_IS_SLSBUILDER 0x2000 +#define ADL_DISPLAY_SLSMAP_IS_CLONEVT 0x4000 + +#define ADL_DISPLAY_SLSMAPCONFIG_GET_OPTION_RELATIVETO_LANDSCAPE 0x00000001 +#define ADL_DISPLAY_SLSMAPCONFIG_GET_OPTION_RELATIVETO_CURRENTANGLE 0x00000002 + +#define ADL_DISPLAY_SLSMAPCONFIG_CREATE_OPTION_RELATIVETO_LANDSCAPE 0x00000001 +#define ADL_DISPLAY_SLSMAPCONFIG_CREATE_OPTION_RELATIVETO_CURRENTANGLE 0x00000002 + +#define ADL_DISPLAY_SLSMAPCONFIG_REARRANGE_OPTION_RELATIVETO_LANDSCAPE 0x00000001 +#define ADL_DISPLAY_SLSMAPCONFIG_REARRANGE_OPTION_RELATIVETO_CURRENTANGLE 0x00000002 + +#define ADL_SLS_SAMEMODESLS_SUPPORT 0x0001 +#define ADL_SLS_MIXMODESLS_SUPPORT 0x0002 +#define ADL_SLS_DISPLAYROTATIONSLS_SUPPORT 0x0004 +#define ADL_SLS_DESKTOPROTATIONSLS_SUPPORT 0x0008 + +#define ADL_SLS_TARGETS_INVALID 0x0001 +#define ADL_SLS_MODES_INVALID 0x0002 +#define ADL_SLS_ROTATIONS_INVALID 0x0004 +#define ADL_SLS_POSITIONS_INVALID 0x0008 +#define ADL_SLS_LAYOUTMODE_INVALID 0x0010 + +#define ADL_DISPLAY_SLSDISPLAYOFFSET_VALID 0x0002 + +#define ADL_DISPLAY_SLSGRID_RELATIVETO_LANDSCAPE 0x00000010 +#define ADL_DISPLAY_SLSGRID_RELATIVETO_CURRENTANGLE 0x00000020 + + +/// The bit mask identifies displays is currently in bezel mode. +#define ADL_DISPLAY_SLSMAP_BEZELMODE 0x00000010 +/// The bit mask identifies displays from this map is arranged. +#define ADL_DISPLAY_SLSMAP_DISPLAYARRANGED 0x00000002 +/// The bit mask identifies this map is currently in used for the current adapter. +#define ADL_DISPLAY_SLSMAP_CURRENTCONFIG 0x00000004 + +///For onlay active SLS map info +#define ADL_DISPLAY_SLSMAPINDEXLIST_OPTION_ACTIVE 0x00000001 + +///For Bezel +#define ADL_DISPLAY_BEZELOFFSET_STEPBYSTEPSET 0x00000004 +#define ADL_DISPLAY_BEZELOFFSET_COMMIT 0x00000008 + +typedef enum _SLS_ImageCropType { + Fit = 1, + Fill = 2, + Expand = 3 +}SLS_ImageCropType; + + +typedef enum _DceSettingsType { + DceSetting_HdmiLq, + DceSetting_DpSettings, + DceSetting_Protection +} DceSettingsType; + +typedef enum _DpLinkRate { + DPLinkRate_Unknown, + DPLinkRate_RBR, + DPLinkRate_HBR, + DPLinkRate_HBR2, + DPLinkRate_HBR3 +} DpLinkRate; + +// @} + +///\defgroup define_powerxpress_constants PowerXpress Definitions +/// @{ + +/// The bit mask identifies PX caps for ADLPXConfigCaps.iPXConfigCapMask and ADLPXConfigCaps.iPXConfigCapValue +#define ADL_PX_CONFIGCAPS_SPLASHSCREEN_SUPPORT 0x0001 +#define ADL_PX_CONFIGCAPS_CF_SUPPORT 0x0002 +#define ADL_PX_CONFIGCAPS_MUXLESS 0x0004 +#define ADL_PX_CONFIGCAPS_PROFILE_COMPLIANT 0x0008 +#define ADL_PX_CONFIGCAPS_NON_AMD_DRIVEN_DISPLAYS 0x0010 +#define ADL_PX_CONFIGCAPS_FIXED_SUPPORT 0x0020 +#define ADL_PX_CONFIGCAPS_DYNAMIC_SUPPORT 0x0040 +#define ADL_PX_CONFIGCAPS_HIDE_AUTO_SWITCH 0x0080 + +/// The bit mask identifies PX schemes for ADLPXSchemeRange +#define ADL_PX_SCHEMEMASK_FIXED 0x0001 +#define ADL_PX_SCHEMEMASK_DYNAMIC 0x0002 + +/// PX Schemes +typedef enum _ADLPXScheme +{ + ADL_PX_SCHEME_INVALID = 0, + ADL_PX_SCHEME_FIXED = ADL_PX_SCHEMEMASK_FIXED, + ADL_PX_SCHEME_DYNAMIC = ADL_PX_SCHEMEMASK_DYNAMIC +}ADLPXScheme; + +/// Just keep the old definitions for compatibility, need to be removed later +typedef enum PXScheme +{ + PX_SCHEME_INVALID = 0, + PX_SCHEME_FIXED = 1, + PX_SCHEME_DYNAMIC = 2 +} PXScheme; + + +/// @} + +///\defgroup define_appprofiles For Application Profiles +/// @{ + +#define ADL_APP_PROFILE_FILENAME_LENGTH 256 +#define ADL_APP_PROFILE_TIMESTAMP_LENGTH 32 +#define ADL_APP_PROFILE_VERSION_LENGTH 32 +#define ADL_APP_PROFILE_PROPERTY_LENGTH 64 + +enum ApplicationListType +{ + ADL_PX40_MRU, + ADL_PX40_MISSED, + ADL_PX40_DISCRETE, + ADL_PX40_INTEGRATED, + ADL_MMD_PROFILED, + ADL_PX40_TOTAL +}; + +typedef enum _ADLProfilePropertyType +{ + ADL_PROFILEPROPERTY_TYPE_BINARY = 0, + ADL_PROFILEPROPERTY_TYPE_BOOLEAN, + ADL_PROFILEPROPERTY_TYPE_DWORD, + ADL_PROFILEPROPERTY_TYPE_QWORD, + ADL_PROFILEPROPERTY_TYPE_ENUMERATED, + ADL_PROFILEPROPERTY_TYPE_STRING +}ADLProfilePropertyType; + + +/// @} + +///\defgroup define_dp12 For Display Port 1.2 +/// @{ + +/// Maximum Relative Address Link +#define ADL_MAX_RAD_LINK_COUNT 15 + +/// @} + +///\defgroup defines_gamutspace Driver Supported Gamut Space +/// @{ + +/// The flags desribes that gamut is related to source or to destination and to overlay or to graphics +#define ADL_GAMUT_REFERENCE_SOURCE (1 << 0) +#define ADL_GAMUT_GAMUT_VIDEO_CONTENT (1 << 1) + +/// The flags are used to describe the source of gamut and how read information from struct ADLGamutData +#define ADL_CUSTOM_WHITE_POINT (1 << 0) +#define ADL_CUSTOM_GAMUT (1 << 1) +#define ADL_GAMUT_REMAP_ONLY (1 << 2) + +/// The define means the predefined gamut values . +///Driver uses to find entry in the table and apply appropriate gamut space. +#define ADL_GAMUT_SPACE_CCIR_709 (1 << 0) +#define ADL_GAMUT_SPACE_CCIR_601 (1 << 1) +#define ADL_GAMUT_SPACE_ADOBE_RGB (1 << 2) +#define ADL_GAMUT_SPACE_CIE_RGB (1 << 3) +#define ADL_GAMUT_SPACE_CUSTOM (1 << 4) +#define ADL_GAMUT_SPACE_CCIR_2020 (1 << 5) +#define ADL_GAMUT_SPACE_APPCTRL (1 << 6) + +/// Predefine white point values are structed similar to gamut . +#define ADL_WHITE_POINT_5000K (1 << 0) +#define ADL_WHITE_POINT_6500K (1 << 1) +#define ADL_WHITE_POINT_7500K (1 << 2) +#define ADL_WHITE_POINT_9300K (1 << 3) +#define ADL_WHITE_POINT_CUSTOM (1 << 4) + +///gamut and white point coordinates are from 0.0 -1.0 and divider is used to find the real value . +/// X float = X int /divider +#define ADL_GAMUT_WHITEPOINT_DIVIDER 10000 + +///gamma a0 coefficient uses the following divider: +#define ADL_REGAMMA_COEFFICIENT_A0_DIVIDER 10000000 +///gamma a1 ,a2,a3 coefficients use the following divider: +#define ADL_REGAMMA_COEFFICIENT_A1A2A3_DIVIDER 1000 + +///describes whether the coefficients are from EDID or custom user values. +#define ADL_EDID_REGAMMA_COEFFICIENTS (1 << 0) +///Used for struct ADLRegamma. Feature if set use gamma ramp, if missing use regamma coefficents +#define ADL_USE_GAMMA_RAMP (1 << 4) +///Used for struct ADLRegamma. If the gamma ramp flag is used then the driver could apply de gamma corretion to the supplied curve and this depends on this flag +#define ADL_APPLY_DEGAMMA (1 << 5) +///specifies that standard SRGB gamma should be applied +#define ADL_EDID_REGAMMA_PREDEFINED_SRGB (1 << 1) +///specifies that PQ gamma curve should be applied +#define ADL_EDID_REGAMMA_PREDEFINED_PQ (1 << 2) +///specifies that PQ gamma curve should be applied, lower max nits +#define ADL_EDID_REGAMMA_PREDEFINED_PQ_2084_INTERIM (1 << 3) +///specifies that 3.6 gamma should be applied +#define ADL_EDID_REGAMMA_PREDEFINED_36 (1 << 6) +///specifies that BT709 gama should be applied +#define ADL_EDID_REGAMMA_PREDEFINED_BT709 (1 << 7) +///specifies that regamma should be disabled, and application controls regamma content (of the whole screen) +#define ADL_EDID_REGAMMA_PREDEFINED_APPCTRL (1 << 8) + +/// @} + +/// \defgroup define_ddcinfo_pixelformats DDCInfo Pixel Formats +/// @{ +/// defines for iPanelPixelFormat in struct ADLDDCInfo2 +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB656 0x00000001L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB666 0x00000002L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB888 0x00000004L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB101010 0x00000008L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB161616 0x00000010L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED1 0x00000020L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED2 0x00000040L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_RGB_RESERVED3 0x00000080L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_XRGB_BIAS101010 0x00000100L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_8BPCC 0x00000200L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_10BPCC 0x00000400L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR444_12BPCC 0x00000800L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_8BPCC 0x00001000L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_10BPCC 0x00002000L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR422_12BPCC 0x00004000L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR420_8BPCC 0x00008000L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR420_10BPCC 0x00010000L +#define ADL_DISPLAY_DDCINFO_PIXEL_FORMAT_YCBCR420_12BPCC 0x00020000L +/// @} + +/// \defgroup define_source_content_TF ADLSourceContentAttributes transfer functions (gamma) +/// @{ +/// defines for iTransferFunction in ADLSourceContentAttributes +#define ADL_TF_sRGB 0x0001 ///< sRGB +#define ADL_TF_BT709 0x0002 ///< BT.709 +#define ADL_TF_PQ2084 0x0004 ///< PQ2084 +#define ADL_TF_PQ2084_INTERIM 0x0008 ///< PQ2084-Interim +#define ADL_TF_LINEAR_0_1 0x0010 ///< Linear 0 - 1 +#define ADL_TF_LINEAR_0_125 0x0020 ///< Linear 0 - 125 +#define ADL_TF_DOLBYVISION 0x0040 ///< DolbyVision +#define ADL_TF_GAMMA_22 0x0080 ///< Plain 2.2 gamma curve +/// @} + +/// \defgroup define_source_content_CS ADLSourceContentAttributes color spaces +/// @{ +/// defines for iColorSpace in ADLSourceContentAttributes +#define ADL_CS_sRGB 0x0001 ///< sRGB +#define ADL_CS_BT601 0x0002 ///< BT.601 +#define ADL_CS_BT709 0x0004 ///< BT.709 +#define ADL_CS_BT2020 0x0008 ///< BT.2020 +#define ADL_CS_ADOBE 0x0010 ///< Adobe RGB +#define ADL_CS_P3 0x0020 ///< DCI-P3 +#define ADL_CS_scRGB_MS_REF 0x0040 ///< scRGB (MS Reference) +#define ADL_CS_DISPLAY_NATIVE 0x0080 ///< Display Native +#define ADL_CS_APP_CONTROL 0x0100 ///< Application Controlled +#define ADL_CS_DOLBYVISION 0x0200 ///< DolbyVision +/// @} + +/// \defgroup define_HDR_support ADLDDCInfo2 HDR support options +/// @{ +/// defines for iSupportedHDR in ADLDDCInfo2 +#define ADL_HDR_CEA861_3 0x0001 ///< HDR10/CEA861.3 HDR supported +#define ADL_HDR_DOLBYVISION 0x0002 ///< DolbyVision HDR supported +#define ADL_HDR_FREESYNC_HDR 0x0004 ///< FreeSync HDR supported +/// @} + +/// \defgroup define_FreesyncFlags ADLDDCInfo2 Freesync HDR flags +/// @{ +/// defines for iFreesyncFlags in ADLDDCInfo2 +#define ADL_HDR_FREESYNC_BACKLIGHT_SUPPORT 0x0001 ///< Global backlight control supported +#define ADL_HDR_FREESYNC_LOCAL_DIMMING 0x0002 ///< Local dimming supported +/// @} + +/// \defgroup define_source_content_flags ADLSourceContentAttributes flags +/// @{ +/// defines for iFlags in ADLSourceContentAttributes +#define ADL_SCA_LOCAL_DIMMING_DISABLE 0x0001 ///< Disable local dimming +/// @} + +/// \defgroup define_dbd_state Deep Bit Depth +/// @{ + +/// defines for ADL_Workstation_DeepBitDepth_Get and ADL_Workstation_DeepBitDepth_Set functions +// This value indicates that the deep bit depth state is forced off +#define ADL_DEEPBITDEPTH_FORCEOFF 0 +/// This value indicates that the deep bit depth state is set to auto, the driver will automatically enable the +/// appropriate deep bit depth state depending on what connected display supports. +#define ADL_DEEPBITDEPTH_10BPP_AUTO 1 +/// This value indicates that the deep bit depth state is forced on to 10 bits per pixel, this is regardless if the display +/// supports 10 bpp. +#define ADL_DEEPBITDEPTH_10BPP_FORCEON 2 + +/// defines for ADLAdapterConfigMemory of ADL_Adapter_ConfigMemory_Get +/// If this bit is set, it indicates that the Deep Bit Depth pixel is set on the display +#define ADL_ADAPTER_CONFIGMEMORY_DBD (1 << 0) +/// If this bit is set, it indicates that the display is rotated (90, 180 or 270) +#define ADL_ADAPTER_CONFIGMEMORY_ROTATE (1 << 1) +/// If this bit is set, it indicates that passive stereo is set on the display +#define ADL_ADAPTER_CONFIGMEMORY_STEREO_PASSIVE (1 << 2) +/// If this bit is set, it indicates that the active stereo is set on the display +#define ADL_ADAPTER_CONFIGMEMORY_STEREO_ACTIVE (1 << 3) +/// If this bit is set, it indicates that the tear free vsync is set on the display +#define ADL_ADAPTER_CONFIGMEMORY_ENHANCEDVSYNC (1 << 4) +#define ADL_ADAPTER_CONFIGMEMORY_TEARFREEVSYNC (1 << 4) +/// @} + +/// \defgroup define_adl_validmemoryrequiredfields Memory Type +/// @{ + +/// This group defines memory types in ADLMemoryRequired struct \n +/// Indicates that this is the visible memory +#define ADL_MEMORYREQTYPE_VISIBLE (1 << 0) +/// Indicates that this is the invisible memory. +#define ADL_MEMORYREQTYPE_INVISIBLE (1 << 1) +/// Indicates that this is amount of visible memory per GPU that should be reserved for all other allocations. +#define ADL_MEMORYREQTYPE_GPURESERVEDVISIBLE (1 << 2) +/// @} + +/// \defgroup define_adapter_tear_free_status +/// Used in ADL_Adapter_TEAR_FREE_Set and ADL_Adapter_TFD_Get functions to indicate the tear free +/// desktop status. +/// @{ +/// Tear free desktop is enabled. +#define ADL_ADAPTER_TEAR_FREE_ON 1 +/// Tear free desktop can't be enabled due to a lack of graphic adapter memory. +#define ADL_ADAPTER_TEAR_FREE_NOTENOUGHMEM -1 +/// Tear free desktop can't be enabled due to quad buffer stereo being enabled. +#define ADL_ADAPTER_TEAR_FREE_OFF_ERR_QUADBUFFERSTEREO -2 +/// Tear free desktop can't be enabled due to MGPU-SLS being enabled. +#define ADL_ADAPTER_TEAR_FREE_OFF_ERR_MGPUSLD -3 +/// Tear free desktop is disabled. +#define ADL_ADAPTER_TEAR_FREE_OFF 0 +/// @} + +/// \defgroup define_adapter_crossdisplay_platforminfo +/// Used in ADL_Adapter_CrossDisplayPlatformInfo_Get function to indicate the Crossdisplay platform info. +/// @{ +/// CROSSDISPLAY platform. +#define ADL_CROSSDISPLAY_PLATFORM (1 << 0) +/// CROSSDISPLAY platform for Lasso station. +#define ADL_CROSSDISPLAY_PLATFORM_LASSO (1 << 1) +/// CROSSDISPLAY platform for docking station. +#define ADL_CROSSDISPLAY_PLATFORM_DOCKSTATION (1 << 2) +/// @} + +/// \defgroup define_adapter_crossdisplay_option +/// Used in ADL_Adapter_CrossdisplayInfoX2_Set function to indicate cross display options. +/// @{ +/// Checking if 3D application is runnning. If yes, not to do switch, return ADL_OK_WAIT; otherwise do switch. +#define ADL_CROSSDISPLAY_OPTION_NONE 0 +/// Force switching without checking for running 3D applications +#define ADL_CROSSDISPLAY_OPTION_FORCESWITCH (1 << 0) +/// @} + +/// \defgroup define_adapter_states Adapter Capabilities +/// These defines the capabilities supported by an adapter. It is used by \ref ADL_Adapter_ConfigureState_Get +/// @{ +/// Indicates that the adapter is headless (i.e. no displays can be connected to it) +#define ADL_ADAPTERCONFIGSTATE_HEADLESS ( 1 << 2 ) +/// Indicates that the adapter is configured to define the main rendering capabilities. For example, adapters +/// in Crossfire(TM) configuration, this bit would only be set on the adapter driving the display(s). +#define ADL_ADAPTERCONFIGSTATE_REQUISITE_RENDER ( 1 << 0 ) +/// Indicates that the adapter is configured to be used to unload some of the rendering work for a particular +/// requisite rendering adapter. For eample, for adapters in a Crossfire configuration, this bit would be set +/// on all adapters that are currently not driving the display(s) +#define ADL_ADAPTERCONFIGSTATE_ANCILLARY_RENDER ( 1 << 1 ) +/// Indicates that scatter gather feature enabled on the adapter +#define ADL_ADAPTERCONFIGSTATE_SCATTERGATHER ( 1 << 4 ) +/// @} + +/// \defgroup define_controllermode_ulModifiers +/// These defines the detailed actions supported by set viewport. It is used by \ref ADL_Display_ViewPort_Set +/// @{ +/// Indicate that the viewport set will change the view position +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_POSITION 0x00000001 +/// Indicate that the viewport set will change the view PanLock +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_PANLOCK 0x00000002 +/// Indicate that the viewport set will change the view size +#define ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_SIZE 0x00000008 +/// @} + +/// \defgroup defines for Mirabilis +/// These defines are used for the Mirabilis feature +/// @{ +/// +/// Indicates the maximum number of audio sample rates +#define ADL_MAX_AUDIO_SAMPLE_RATE_COUNT 16 +/// @} + +/////////////////////////////////////////////////////////////////////////// +// ADLMultiChannelSplitStateFlag Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLMultiChannelSplitStateFlag +{ + ADLMultiChannelSplit_Unitialized = 0, + ADLMultiChannelSplit_Disabled = 1, + ADLMultiChannelSplit_Enabled = 2, + ADLMultiChannelSplit_SaveProfile = 3 +}; + +/////////////////////////////////////////////////////////////////////////// +// ADLSampleRate Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLSampleRate +{ + ADLSampleRate_32KHz =0, + ADLSampleRate_44P1KHz, + ADLSampleRate_48KHz, + ADLSampleRate_88P2KHz, + ADLSampleRate_96KHz, + ADLSampleRate_176P4KHz, + ADLSampleRate_192KHz, + ADLSampleRate_384KHz, //DP1.2 + ADLSampleRate_768KHz, //DP1.2 + ADLSampleRate_Undefined +}; + +/// \defgroup define_overdrive6_capabilities +/// These defines the capabilities supported by Overdrive 6. It is used by \ref ADL_Overdrive6_Capabilities_Get +// @{ +/// Indicate that core (engine) clock can be changed. +#define ADL_OD6_CAPABILITY_SCLK_CUSTOMIZATION 0x00000001 +/// Indicate that memory clock can be changed. +#define ADL_OD6_CAPABILITY_MCLK_CUSTOMIZATION 0x00000002 +/// Indicate that graphics activity reporting is supported. +#define ADL_OD6_CAPABILITY_GPU_ACTIVITY_MONITOR 0x00000004 +/// Indicate that power limit can be customized. +#define ADL_OD6_CAPABILITY_POWER_CONTROL 0x00000008 +/// Indicate that SVI2 Voltage Control is supported. +#define ADL_OD6_CAPABILITY_VOLTAGE_CONTROL 0x00000010 +/// Indicate that OD6+ percentage adjustment is supported. +#define ADL_OD6_CAPABILITY_PERCENT_ADJUSTMENT 0x00000020 +/// Indicate that Thermal Limit Unlock is supported. +#define ADL_OD6_CAPABILITY_THERMAL_LIMIT_UNLOCK 0x00000040 +///Indicate that Fan speed needs to be displayed in RPM +#define ADL_OD6_CAPABILITY_FANSPEED_IN_RPM 0x00000080 +// @} + +/// \defgroup define_overdrive6_supported_states +/// These defines the power states supported by Overdrive 6. It is used by \ref ADL_Overdrive6_Capabilities_Get +// @{ +/// Indicate that overdrive is supported in the performance state. This is currently the only state supported. +#define ADL_OD6_SUPPORTEDSTATE_PERFORMANCE 0x00000001 +/// Do not use. Reserved for future use. +#define ADL_OD6_SUPPORTEDSTATE_POWER_SAVING 0x00000002 +// @} + +/// \defgroup define_overdrive6_getstateinfo +/// These defines the power states to get information about. It is used by \ref ADL_Overdrive6_StateInfo_Get +// @{ +/// Get default clocks for the performance state. +#define ADL_OD6_GETSTATEINFO_DEFAULT_PERFORMANCE 0x00000001 +/// Do not use. Reserved for future use. +#define ADL_OD6_GETSTATEINFO_DEFAULT_POWER_SAVING 0x00000002 +/// Get clocks for current state. Currently this is the same as \ref ADL_OD6_GETSTATEINFO_CUSTOM_PERFORMANCE +/// since only performance state is supported. +#define ADL_OD6_GETSTATEINFO_CURRENT 0x00000003 +/// Get the modified clocks (if any) for the performance state. If clocks were not modified +/// through Overdrive 6, then this will return the same clocks as \ref ADL_OD6_GETSTATEINFO_DEFAULT_PERFORMANCE. +#define ADL_OD6_GETSTATEINFO_CUSTOM_PERFORMANCE 0x00000004 +/// Do not use. Reserved for future use. +#define ADL_OD6_GETSTATEINFO_CUSTOM_POWER_SAVING 0x00000005 +// @} + +/// \defgroup define_overdrive6_getstate and define_overdrive6_getmaxclockadjust +/// These defines the power states to get information about. It is used by \ref ADL_Overdrive6_StateEx_Get and \ref ADL_Overdrive6_MaxClockAdjust_Get +// @{ +/// Get default clocks for the performance state. Only performance state is currently supported. +#define ADL_OD6_STATE_PERFORMANCE 0x00000001 +// @} + +/// \defgroup define_overdrive6_setstate +/// These define which power state to set customized clocks on. It is used by \ref ADL_Overdrive6_State_Set +// @{ +/// Set customized clocks for the performance state. +#define ADL_OD6_SETSTATE_PERFORMANCE 0x00000001 +/// Do not use. Reserved for future use. +#define ADL_OD6_SETSTATE_POWER_SAVING 0x00000002 +// @} + +/// \defgroup define_overdrive6_thermalcontroller_caps +/// These defines the capabilities of the GPU thermal controller. It is used by \ref ADL_Overdrive6_ThermalController_Caps +// @{ +/// GPU thermal controller is supported. +#define ADL_OD6_TCCAPS_THERMAL_CONTROLLER 0x00000001 +/// GPU fan speed control is supported. +#define ADL_OD6_TCCAPS_FANSPEED_CONTROL 0x00000002 +/// Fan speed percentage can be read. +#define ADL_OD6_TCCAPS_FANSPEED_PERCENT_READ 0x00000100 +/// Fan speed can be set by specifying a percentage value. +#define ADL_OD6_TCCAPS_FANSPEED_PERCENT_WRITE 0x00000200 +/// Fan speed RPM (revolutions-per-minute) can be read. +#define ADL_OD6_TCCAPS_FANSPEED_RPM_READ 0x00000400 +/// Fan speed can be set by specifying an RPM value. +#define ADL_OD6_TCCAPS_FANSPEED_RPM_WRITE 0x00000800 +// @} + +/// \defgroup define_overdrive6_fanspeed_type +/// These defines the fan speed type being reported. It is used by \ref ADL_Overdrive6_FanSpeed_Get +// @{ +/// Fan speed reported in percentage. +#define ADL_OD6_FANSPEED_TYPE_PERCENT 0x00000001 +/// Fan speed reported in RPM. +#define ADL_OD6_FANSPEED_TYPE_RPM 0x00000002 +/// Fan speed has been customized by the user, and fan is not running in automatic mode. +#define ADL_OD6_FANSPEED_USER_DEFINED 0x00000100 +// @} + +/// \defgroup define_overdrive_EventCounter_type +/// These defines the EventCounter type being reported. It is used by \ref ADL2_OverdriveN_CountOfEvents_Get ,can be used on older OD version supported ASICs also. +// @{ +#define ADL_ODN_EVENTCOUNTER_THERMAL 0 +#define ADL_ODN_EVENTCOUNTER_VPURECOVERY 1 +// @} + +/////////////////////////////////////////////////////////////////////////// +// ADLODNControlType Enumeration +/////////////////////////////////////////////////////////////////////////// +enum ADLODNControlType +{ + ODNControlType_Current = 0, + ODNControlType_Default, + ODNControlType_Auto, + ODNControlType_Manual +}; + +enum ADLODNDPMMaskType +{ + ADL_ODN_DPM_CLOCK = 1 << 0, + ADL_ODN_DPM_VDDC = 1 << 1, + ADL_ODN_DPM_MASK = 1 << 2, +}; + +//ODN features Bits for ADLODNCapabilitiesX2 +enum ADLODNFeatureControl +{ + ADL_ODN_SCLK_DPM = 1 << 0, + ADL_ODN_MCLK_DPM = 1 << 1, + ADL_ODN_SCLK_VDD = 1 << 2, + ADL_ODN_MCLK_VDD = 1 << 3, + ADL_ODN_FAN_SPEED_MIN = 1 << 4, + ADL_ODN_FAN_SPEED_TARGET = 1 << 5, + ADL_ODN_ACOUSTIC_LIMIT_SCLK = 1 << 6, + ADL_ODN_TEMPERATURE_FAN_MAX = 1 << 7, + ADL_ODN_TEMPERATURE_SYSTEM = 1 << 8, + ADL_ODN_POWER_LIMIT = 1 << 9, + ADL_ODN_SCLK_AUTO_LIMIT = 1 << 10, + ADL_ODN_MCLK_AUTO_LIMIT = 1 << 11, + ADL_ODN_SCLK_DPM_MASK_ENABLE = 1 << 12, + ADL_ODN_MCLK_DPM_MASK_ENABLE = 1 << 13, + ADL_ODN_MCLK_UNDERCLOCK_ENABLE = 1 << 14, + ADL_ODN_SCLK_DPM_THROTTLE_NOTIFY = 1 << 15, + ADL_ODN_POWER_UTILIZATION = 1 << 16, + ADL_ODN_PERF_TUNING_SLIDER = 1 << 17, + ADL_ODN_REMOVE_WATTMAN_PAGE = 1 << 31 // Internal Only +}; + +//If any new feature is added, PPLIB only needs to add ext feature ID and Item ID(Seeting ID). These IDs should match the drive defined in CWDDEPM.h +enum ADLODNExtFeatureControl +{ + ADL_ODN_EXT_FEATURE_MEMORY_TIMING_TUNE = 1 << 0, + ADL_ODN_EXT_FEATURE_FAN_ZERO_RPM_CONTROL = 1 << 1, + ADL_ODN_EXT_FEATURE_AUTO_UV_ENGINE = 1 << 2, //Auto under voltage + ADL_ODN_EXT_FEATURE_AUTO_OC_ENGINE = 1 << 3, //Auto OC Enine + ADL_ODN_EXT_FEATURE_AUTO_OC_MEMORY = 1 << 4, //Auto OC memory + ADL_ODN_EXT_FEATURE_FAN_CURVE = 1 << 5 //Fan curve + +}; + +//If any new feature is added, PPLIB only needs to add ext feature ID and Item ID(Seeting ID).These IDs should match the drive defined in CWDDEPM.h +enum ADLODNExtSettingId +{ + ADL_ODN_PARAMETER_AC_TIMING = 0, + ADL_ODN_PARAMETER_FAN_ZERO_RPM_CONTROL, + ADL_ODN_PARAMETER_AUTO_UV_ENGINE, + ADL_ODN_PARAMETER_AUTO_OC_ENGINE, + ADL_ODN_PARAMETER_AUTO_OC_MEMORY, + ADL_ODN_PARAMETER_FAN_CURVE_TEMPERATURE_1, + ADL_ODN_PARAMETER_FAN_CURVE_SPEED_1, + ADL_ODN_PARAMETER_FAN_CURVE_TEMPERATURE_2, + ADL_ODN_PARAMETER_FAN_CURVE_SPEED_2, + ADL_ODN_PARAMETER_FAN_CURVE_TEMPERATURE_3, + ADL_ODN_PARAMETER_FAN_CURVE_SPEED_3, + ADL_ODN_PARAMETER_FAN_CURVE_TEMPERATURE_4, + ADL_ODN_PARAMETER_FAN_CURVE_SPEED_4, + ADL_ODN_PARAMETER_FAN_CURVE_TEMPERATURE_5, + ADL_ODN_PARAMETER_FAN_CURVE_SPEED_5, + ADL_ODN_POWERGAUGE, + ODN_COUNT + +} ; + +//OD8 Capability features bits +enum ADLOD8FeatureControl +{ + ADL_OD8_GFXCLK_LIMITS = 1 << 0, + ADL_OD8_GFXCLK_CURVE = 1 << 1, + ADL_OD8_UCLK_MAX = 1 << 2, + ADL_OD8_POWER_LIMIT = 1 << 3, + ADL_OD8_ACOUSTIC_LIMIT_SCLK = 1 << 4, //FanMaximumRpm + ADL_OD8_FAN_SPEED_MIN = 1 << 5, //FanMinimumPwm + ADL_OD8_TEMPERATURE_FAN = 1 << 6, //FanTargetTemperature + ADL_OD8_TEMPERATURE_SYSTEM = 1 << 7, //MaxOpTemp + ADL_OD8_MEMORY_TIMING_TUNE = 1 << 8, + ADL_OD8_FAN_ZERO_RPM_CONTROL = 1 << 9 , + ADL_OD8_AUTO_UV_ENGINE = 1 << 10, //Auto under voltage + ADL_OD8_AUTO_OC_ENGINE = 1 << 11, //Auto overclock engine + ADL_OD8_AUTO_OC_MEMORY = 1 << 12, //Auto overclock memory + ADL_OD8_FAN_CURVE = 1 << 13, //Fan curve + ADL_OD8_WS_AUTO_FAN_ACOUSTIC_LIMIT = 1 << 14, //Workstation Manual Fan controller + ADL_OD8_POWER_GAUGE = 1 << 15 //Power Gauge +}; + + +typedef enum _ADLOD8SettingId +{ + OD8_GFXCLK_FMAX = 0, + OD8_GFXCLK_FMIN, + OD8_GFXCLK_FREQ1, + OD8_GFXCLK_VOLTAGE1, + OD8_GFXCLK_FREQ2, + OD8_GFXCLK_VOLTAGE2, + OD8_GFXCLK_FREQ3, + OD8_GFXCLK_VOLTAGE3, + OD8_UCLK_FMAX, + OD8_POWER_PERCENTAGE, + OD8_FAN_MIN_SPEED, + OD8_FAN_ACOUSTIC_LIMIT, + OD8_FAN_TARGET_TEMP, + OD8_OPERATING_TEMP_MAX, + OD8_AC_TIMING, + OD8_FAN_ZERORPM_CONTROL, + OD8_AUTO_UV_ENGINE_CONTROL, + OD8_AUTO_OC_ENGINE_CONTROL, + OD8_AUTO_OC_MEMORY_CONTROL, + OD8_FAN_CURVE_TEMPERATURE_1, + OD8_FAN_CURVE_SPEED_1, + OD8_FAN_CURVE_TEMPERATURE_2, + OD8_FAN_CURVE_SPEED_2, + OD8_FAN_CURVE_TEMPERATURE_3, + OD8_FAN_CURVE_SPEED_3, + OD8_FAN_CURVE_TEMPERATURE_4, + OD8_FAN_CURVE_SPEED_4, + OD8_FAN_CURVE_TEMPERATURE_5, + OD8_FAN_CURVE_SPEED_5, + OD8_WS_FAN_AUTO_FAN_ACOUSTIC_LIMIT, + OD8_POWER_GAUGE, //Starting from this is new features with new capabilities and new interface for limits. + OD8_COUNT +} ADLOD8SettingId; + + +//Define Performance Metrics Log max sensors number +#define ADL_PMLOG_MAX_SENSORS 256 + +typedef enum _ADLSensorType +{ + SENSOR_MAXTYPES = 0, + PMLOG_CLK_GFXCLK = 1, + PMLOG_CLK_MEMCLK = 2, + PMLOG_CLK_SOCCLK = 3, + PMLOG_CLK_UVDCLK1 = 4, + PMLOG_CLK_UVDCLK2 = 5, + PMLOG_CLK_VCECLK = 6, + PMLOG_CLK_VCNCLK = 7, + PMLOG_TEMPERATURE_EDGE = 8, + PMLOG_TEMPERATURE_MEM = 9, + PMLOG_TEMPERATURE_VRVDDC = 10, + PMLOG_TEMPERATURE_VRMVDD = 11, + PMLOG_TEMPERATURE_LIQUID = 12, + PMLOG_TEMPERATURE_PLX = 13, + PMLOG_FAN_RPM = 14, + PMLOG_FAN_PERCENTAGE = 15, + PMLOG_SOC_VOLTAGE = 16, + PMLOG_SOC_POWER = 17, + PMLOG_SOC_CURRENT = 18, + PMLOG_INFO_ACTIVITY_GFX = 19, + PMLOG_INFO_ACTIVITY_MEM = 20, + PMLOG_GFX_VOLTAGE = 21, + PMLOG_MEM_VOLTAGE = 22, + PMLOG_ASIC_POWER = 23, + PMLOG_TEMPERATURE_VRSOC = 24, + PMLOG_TEMPERATURE_VRMVDD0 = 25, + PMLOG_TEMPERATURE_VRMVDD1 = 26, + PMLOG_TEMPERATURE_HOTSPOT = 27, + PMLOG_TEMPERATURE_GFX = 28, + PMLOG_TEMPERATURE_SOC = 29, + PMLOG_GFX_POWER = 30, + PMLOG_GFX_CURRENT = 31, + PMLOG_TEMPERATURE_CPU = 32, + PMLOG_CPU_POWER = 33, + PMLOG_CLK_CPUCLK = 34, + PMLOG_THROTTLER_STATUS = 35, + PMLOG_CLK_VCN1CLK1 = 36, + PMLOG_CLK_VCN1CLK2 = 37, + PMLOG_SMART_POWERSHIFT_CPU = 38, + PMLOG_SMART_POWERSHIFT_DGPU = 39, + PMLOG_MAX_SENSORS_REAL +} ADLSensorType; + + +//Throttle Status +typedef enum _ADL_THROTTLE_NOTIFICATION +{ + ADL_PMLOG_THROTTLE_POWER = 1 << 0, + ADL_PMLOG_THROTTLE_THERMAL = 1 << 1, + ADL_PMLOG_THROTTLE_CURRENT = 1 << 2, +} ADL_THROTTLE_NOTIFICATION; + +typedef enum _ADL_PMLOG_SENSORS +{ + ADL_SENSOR_MAXTYPES = 0, + ADL_PMLOG_CLK_GFXCLK = 1, + ADL_PMLOG_CLK_MEMCLK = 2, + ADL_PMLOG_CLK_SOCCLK = 3, + ADL_PMLOG_CLK_UVDCLK1 = 4, + ADL_PMLOG_CLK_UVDCLK2 = 5, + ADL_PMLOG_CLK_VCECLK = 6, + ADL_PMLOG_CLK_VCNCLK = 7, + ADL_PMLOG_TEMPERATURE_EDGE = 8, + ADL_PMLOG_TEMPERATURE_MEM = 9, + ADL_PMLOG_TEMPERATURE_VRVDDC = 10, + ADL_PMLOG_TEMPERATURE_VRMVDD = 11, + ADL_PMLOG_TEMPERATURE_LIQUID = 12, + ADL_PMLOG_TEMPERATURE_PLX = 13, + ADL_PMLOG_FAN_RPM = 14, + ADL_PMLOG_FAN_PERCENTAGE = 15, + ADL_PMLOG_SOC_VOLTAGE = 16, + ADL_PMLOG_SOC_POWER = 17, + ADL_PMLOG_SOC_CURRENT = 18, + ADL_PMLOG_INFO_ACTIVITY_GFX = 19, + ADL_PMLOG_INFO_ACTIVITY_MEM = 20, + ADL_PMLOG_GFX_VOLTAGE = 21, + ADL_PMLOG_MEM_VOLTAGE = 22, + ADL_PMLOG_ASIC_POWER = 23, + ADL_PMLOG_TEMPERATURE_VRSOC = 24, + ADL_PMLOG_TEMPERATURE_VRMVDD0 = 25, + ADL_PMLOG_TEMPERATURE_VRMVDD1 = 26, + ADL_PMLOG_TEMPERATURE_HOTSPOT = 27, + ADL_PMLOG_TEMPERATURE_GFX = 28, + ADL_PMLOG_TEMPERATURE_SOC = 29, + ADL_PMLOG_GFX_POWER = 30, + ADL_PMLOG_GFX_CURRENT = 31, + ADL_PMLOG_TEMPERATURE_CPU = 32, + ADL_PMLOG_CPU_POWER = 33, + ADL_PMLOG_CLK_CPUCLK = 34, + ADL_PMLOG_THROTTLER_STATUS = 35, + ADL_PMLOG_CLK_VCN1CLK1 = 36, + ADL_PMLOG_CLK_VCN1CLK2 = 37, + ADL_PMLOG_SMART_POWERSHIFT_CPU = 38, + ADL_PMLOG_SMART_POWERSHIFT_DGPU = 39 +} ADL_PMLOG_SENSORS; + +/// \defgroup define_ecc_mode_states +/// These defines the ECC(Error Correction Code) state. It is used by \ref ADL_Workstation_ECC_Get,ADL_Workstation_ECC_Set +// @{ +/// Error Correction is OFF. +#define ECC_MODE_OFF 0 +/// Error Correction is ECCV2. +#define ECC_MODE_ON 2 +/// Error Correction is HBM. +#define ECC_MODE_HBM 3 +// @} + +/// \defgroup define_board_layout_flags +/// These defines are the board layout flags state which indicates what are the valid properties of \ref ADLBoardLayoutInfo . It is used by \ref ADL_Adapter_BoardLayout_Get +// @{ +/// Indicates the number of slots is valid. +#define ADL_BLAYOUT_VALID_NUMBER_OF_SLOTS 0x1 +/// Indicates the slot sizes are valid. Size of the slot consists of the length and width. +#define ADL_BLAYOUT_VALID_SLOT_SIZES 0x2 +/// Indicates the connector offsets are valid. +#define ADL_BLAYOUT_VALID_CONNECTOR_OFFSETS 0x4 +/// Indicates the connector lengths is valid. +#define ADL_BLAYOUT_VALID_CONNECTOR_LENGTHS 0x8 +// @} + +/// \defgroup define_max_constants +/// These defines are the maximum value constants. +// @{ +/// Indicates the Maximum supported slots on board. +#define ADL_ADAPTER_MAX_SLOTS 4 +/// Indicates the Maximum supported connectors on slot. +#define ADL_ADAPTER_MAX_CONNECTORS 10 +/// Indicates the Maximum supported properties of connection +#define ADL_MAX_CONNECTION_TYPES 32 +/// Indicates the Maximum relative address link count. +#define ADL_MAX_RELATIVE_ADDRESS_LINK_COUNT 15 +/// Indicates the Maximum size of EDID data block size +#define ADL_MAX_DISPLAY_EDID_DATA_SIZE 1024 +/// Indicates the Maximum count of Error Records. +#define ADL_MAX_ERROR_RECORDS_COUNT 256 +/// Indicates the maximum number of power states supported +#define ADL_MAX_POWER_POLICY 6 +// @} + +/// \defgroup define_connection_types +/// These defines are the connection types constants which indicates what are the valid connection type of given connector. It is used by \ref ADL_Adapter_SupportedConnections_Get +// @{ +/// Indicates the VGA connection type is valid. +#define ADL_CONNECTION_TYPE_VGA 0 +/// Indicates the DVI_I connection type is valid. +#define ADL_CONNECTION_TYPE_DVI 1 +/// Indicates the DVI_SL connection type is valid. +#define ADL_CONNECTION_TYPE_DVI_SL 2 +/// Indicates the HDMI connection type is valid. +#define ADL_CONNECTION_TYPE_HDMI 3 +/// Indicates the DISPLAY PORT connection type is valid. +#define ADL_CONNECTION_TYPE_DISPLAY_PORT 4 +/// Indicates the Active dongle DP->DVI(single link) connection type is valid. +#define ADL_CONNECTION_TYPE_ACTIVE_DONGLE_DP_DVI_SL 5 +/// Indicates the Active dongle DP->DVI(double link) connection type is valid. +#define ADL_CONNECTION_TYPE_ACTIVE_DONGLE_DP_DVI_DL 6 +/// Indicates the Active dongle DP->HDMI connection type is valid. +#define ADL_CONNECTION_TYPE_ACTIVE_DONGLE_DP_HDMI 7 +/// Indicates the Active dongle DP->VGA connection type is valid. +#define ADL_CONNECTION_TYPE_ACTIVE_DONGLE_DP_VGA 8 +/// Indicates the Passive dongle DP->HDMI connection type is valid. +#define ADL_CONNECTION_TYPE_PASSIVE_DONGLE_DP_HDMI 9 +/// Indicates the Active dongle DP->VGA connection type is valid. +#define ADL_CONNECTION_TYPE_PASSIVE_DONGLE_DP_DVI 10 +/// Indicates the MST type is valid. +#define ADL_CONNECTION_TYPE_MST 11 +/// Indicates the active dongle, all types. +#define ADL_CONNECTION_TYPE_ACTIVE_DONGLE 12 +/// Indicates the Virtual Connection Type. +#define ADL_CONNECTION_TYPE_VIRTUAL 13 +/// Macros for generating bitmask from index. +#define ADL_CONNECTION_BITMAST_FROM_INDEX(index) (1 << index) +// @} + +/// \defgroup define_connection_properties +/// These defines are the connection properties which indicates what are the valid properties of given connection type. It is used by \ref ADL_Adapter_SupportedConnections_Get +// @{ +/// Indicates the property Bitrate is valid. +#define ADL_CONNECTION_PROPERTY_BITRATE 0x1 +/// Indicates the property number of lanes is valid. +#define ADL_CONNECTION_PROPERTY_NUMBER_OF_LANES 0x2 +/// Indicates the property 3D caps is valid. +#define ADL_CONNECTION_PROPERTY_3DCAPS 0x4 +/// Indicates the property output bandwidth is valid. +#define ADL_CONNECTION_PROPERTY_OUTPUT_BANDWIDTH 0x8 +/// Indicates the property colordepth is valid. +#define ADL_CONNECTION_PROPERTY_COLORDEPTH 0x10 +// @} + +/// \defgroup define_lanecount_constants +/// These defines are the Lane count constants which will be used in DP & etc. +// @{ +/// Indicates if lane count is unknown +#define ADL_LANECOUNT_UNKNOWN 0 +/// Indicates if lane count is 1 +#define ADL_LANECOUNT_ONE 1 +/// Indicates if lane count is 2 +#define ADL_LANECOUNT_TWO 2 +/// Indicates if lane count is 4 +#define ADL_LANECOUNT_FOUR 4 +/// Indicates if lane count is 8 +#define ADL_LANECOUNT_EIGHT 8 +/// Indicates default value of lane count +#define ADL_LANECOUNT_DEF ADL_LANECOUNT_FOUR +// @} + +/// \defgroup define_linkrate_constants +/// These defines are the link rate constants which will be used in DP & etc. +// @{ +/// Indicates if link rate is unknown +#define ADL_LINK_BITRATE_UNKNOWN 0 +/// Indicates if link rate is 1.62Ghz +#define ADL_LINK_BITRATE_1_62_GHZ 0x06 +/// Indicates if link rate is 2.7Ghz +#define ADL_LINK_BITRATE_2_7_GHZ 0x0A +/// Indicates if link rate is 5.4Ghz +#define ADL_LINK_BITRATE_5_4_GHZ 0x14 + +/// Indicates if link rate is 8.1Ghz +#define ADL_LINK_BITRATE_8_1_GHZ 0x1E +/// Indicates default value of link rate +#define ADL_LINK_BITRATE_DEF ADL_LINK_BITRATE_2_7_GHZ +// @} + +/// \defgroup define_colordepth_constants +/// These defines are the color depth constants which will be used in DP & etc. +// @{ +#define ADL_CONNPROP_S3D_ALTERNATE_TO_FRAME_PACK 0x00000001 +// @} + + +/// \defgroup define_colordepth_constants +/// These defines are the color depth constants which will be used in DP & etc. +// @{ +/// Indicates if color depth is unknown +#define ADL_COLORDEPTH_UNKNOWN 0 +/// Indicates if color depth is 666 +#define ADL_COLORDEPTH_666 1 +/// Indicates if color depth is 888 +#define ADL_COLORDEPTH_888 2 +/// Indicates if color depth is 101010 +#define ADL_COLORDEPTH_101010 3 +/// Indicates if color depth is 121212 +#define ADL_COLORDEPTH_121212 4 +/// Indicates if color depth is 141414 +#define ADL_COLORDEPTH_141414 5 +/// Indicates if color depth is 161616 +#define ADL_COLORDEPTH_161616 6 +/// Indicates default value of color depth +#define ADL_COLOR_DEPTH_DEF ADL_COLORDEPTH_888 +// @} + + +/// \defgroup define_emulation_status +/// These defines are the status of emulation +// @{ +/// Indicates if real device is connected. +#define ADL_EMUL_STATUS_REAL_DEVICE_CONNECTED 0x1 +/// Indicates if emulated device is presented. +#define ADL_EMUL_STATUS_EMULATED_DEVICE_PRESENT 0x2 +/// Indicates if emulated device is used. +#define ADL_EMUL_STATUS_EMULATED_DEVICE_USED 0x4 +/// In case when last active real/emulated device used (when persistence is enabled but no emulation enforced then persistence will use last connected/emulated device). +#define ADL_EMUL_STATUS_LAST_ACTIVE_DEVICE_USED 0x8 +// @} + +/// \defgroup define_emulation_mode +/// These defines are the modes of emulation +// @{ +/// Indicates if no emulation is used +#define ADL_EMUL_MODE_OFF 0 +/// Indicates if emulation is used when display connected +#define ADL_EMUL_MODE_ON_CONNECTED 1 +/// Indicates if emulation is used when display dis connected +#define ADL_EMUL_MODE_ON_DISCONNECTED 2 +/// Indicates if emulation is used always +#define ADL_EMUL_MODE_ALWAYS 3 +// @} + +/// \defgroup define_emulation_query +/// These defines are the modes of emulation +// @{ +/// Indicates Data from real device +#define ADL_QUERY_REAL_DATA 0 +/// Indicates Emulated data +#define ADL_QUERY_EMULATED_DATA 1 +/// Indicates Data currently in use +#define ADL_QUERY_CURRENT_DATA 2 +// @} + +/// \defgroup define_persistence_state +/// These defines are the states of persistence +// @{ +/// Indicates persistence is disabled +#define ADL_EDID_PERSISTANCE_DISABLED 0 +/// Indicates persistence is enabled +#define ADL_EDID_PERSISTANCE_ENABLED 1 +// @} + +/// \defgroup define_connector_types Connector Type +/// defines for ADLConnectorInfo.iType +// @{ +/// Indicates unknown Connector type +#define ADL_CONNECTOR_TYPE_UNKNOWN 0 +/// Indicates VGA Connector type +#define ADL_CONNECTOR_TYPE_VGA 1 +/// Indicates DVI-D Connector type +#define ADL_CONNECTOR_TYPE_DVI_D 2 +/// Indicates DVI-I Connector type +#define ADL_CONNECTOR_TYPE_DVI_I 3 +/// Indicates Active Dongle-NA Connector type +#define ADL_CONNECTOR_TYPE_ATICVDONGLE_NA 4 +/// Indicates Active Dongle-JP Connector type +#define ADL_CONNECTOR_TYPE_ATICVDONGLE_JP 5 +/// Indicates Active Dongle-NONI2C Connector type +#define ADL_CONNECTOR_TYPE_ATICVDONGLE_NONI2C 6 +/// Indicates Active Dongle-NONI2C-D Connector type +#define ADL_CONNECTOR_TYPE_ATICVDONGLE_NONI2C_D 7 +/// Indicates HDMI-Type A Connector type +#define ADL_CONNECTOR_TYPE_HDMI_TYPE_A 8 +/// Indicates HDMI-Type B Connector type +#define ADL_CONNECTOR_TYPE_HDMI_TYPE_B 9 +/// Indicates Display port Connector type +#define ADL_CONNECTOR_TYPE_DISPLAYPORT 10 +/// Indicates EDP Connector type +#define ADL_CONNECTOR_TYPE_EDP 11 +/// Indicates MiniDP Connector type +#define ADL_CONNECTOR_TYPE_MINI_DISPLAYPORT 12 +/// Indicates Virtual Connector type +#define ADL_CONNECTOR_TYPE_VIRTUAL 13 +// @} + +/// \defgroup define_freesync_usecase +/// These defines are to specify use cases in which FreeSync should be enabled +/// They are a bit mask. To specify FreeSync for more than one use case, the input value +/// should be set to include multiple bits set +// @{ +/// Indicates FreeSync is enabled for Static Screen case +#define ADL_FREESYNC_USECASE_STATIC 0x1 +/// Indicates FreeSync is enabled for Video use case +#define ADL_FREESYNC_USECASE_VIDEO 0x2 +/// Indicates FreeSync is enabled for Gaming use case +#define ADL_FREESYNC_USECASE_GAMING 0x4 +// @} + +/// \defgroup define_freesync_caps +/// These defines are used to retrieve FreeSync display capabilities. +/// GPU support flag also indicates whether the display is +/// connected to a GPU that actually supports FreeSync +// @{ +#define ADL_FREESYNC_CAP_SUPPORTED (1 << 0) +#define ADL_FREESYNC_CAP_GPUSUPPORTED (1 << 1) +#define ADL_FREESYNC_CAP_DISPLAYSUPPORTED (1 << 2) +#define ADL_FREESYNC_CAP_CURRENTMODESUPPORTED (1 << 3) +#define ADL_FREESYNC_CAP_NOCFXORCFXSUPPORTED (1 << 4) +#define ADL_FREESYNC_CAP_NOGENLOCKORGENLOCKSUPPORTED (1 << 5) +#define ADL_FREESYNC_CAP_BORDERLESSWINDOWSUPPORTED (1 << 6) +// @} + + +/// \defgroup define_MST_CommandLine_execute +// @{ +/// Indicates the MST command line for branch message if the bit is set. Otherwise, it is display message +#define ADL_MST_COMMANDLINE_PATH_MSG 0x1 +/// Indicates the MST command line to send message in broadcast way it the bit is set +#define ADL_MST_COMMANDLINE_BROADCAST 0x2 + +// @} + + +/// \defgroup define_Adapter_CloneTypes_Get +// @{ +/// Indicates there is crossGPU clone with non-AMD dispalys +#define ADL_CROSSGPUDISPLAYCLONE_AMD_WITH_NONAMD 0x1 +/// Indicates there is crossGPU clone +#define ADL_CROSSGPUDISPLAYCLONE 0x2 + +// @} + +/// \defgroup define_D3DKMT_HANDLE +// @{ +/// Handle can be used to create Device Handle when using CreateDevice() +typedef unsigned int ADL_D3DKMT_HANDLE; +// @} + + +// End Bracket for Constants and Definitions. Add new groups ABOVE this line! + +// @} + + +typedef enum _ADL_RAS_ERROR_INJECTION_MODE +{ + ADL_RAS_ERROR_INJECTION_MODE_SINGLE = 1, + ADL_RAS_ERROR_INJECTION_MODE_MULTIPLE = 2 +}ADL_RAS_ERROR_INJECTION_MODE; + + +typedef enum _ADL_RAS_BLOCK_ID +{ + ADL_RAS_BLOCK_ID_UMC = 0, + ADL_RAS_BLOCK_ID_SDMA, + ADL_RAS_BLOCK_ID_GFX_HUB, + ADL_RAS_BLOCK_ID_MMHUB, + ADL_RAS_BLOCK_ID_ATHUB, + ADL_RAS_BLOCK_ID_PCIE_BIF, + ADL_RAS_BLOCK_ID_HDP, + ADL_RAS_BLOCK_ID_XGMI_WAFL, + ADL_RAS_BLOCK_ID_DF, + ADL_RAS_BLOCK_ID_SMN, + ADL_RAS_BLOCK_ID_SEM, + ADL_RAS_BLOCK_ID_MP0, + ADL_RAS_BLOCK_ID_MP1, + ADL_RAS_BLOCK_ID_FUSE +}ADL_RAS_BLOCK_ID; + +typedef enum _ADL_MEM_SUB_BLOCK_ID +{ + ADL_RAS__UMC_HBM = 0, + ADL_RAS__UMC_SRAM = 1 +}ADL_MEM_SUB_BLOCK_ID; + +typedef enum _ADL_RAS_ERROR_TYPE +{ + ADL_RAS_ERROR__NONE = 0, + ADL_RAS_ERROR__PARITY = 1, + ADL_RAS_ERROR__SINGLE_CORRECTABLE = 2, + ADL_RAS_ERROR__PARITY_SINGLE_CORRECTABLE = 3, + ADL_RAS_ERROR__MULTI_UNCORRECTABLE = 4, + ADL_RAS_ERROR__PARITY_MULTI_UNCORRECTABLE = 5, + ADL_RAS_ERROR__SINGLE_CORRECTABLE_MULTI_UNCORRECTABLE = 6, + ADL_RAS_ERROR__PARITY_SINGLE_CORRECTABLE_MULTI_UNCORRECTABLE = 7, + ADL_RAS_ERROR__POISON = 8, + ADL_RAS_ERROR__PARITY_POISON = 9, + ADL_RAS_ERROR__SINGLE_CORRECTABLE_POISON = 10, + ADL_RAS_ERROR__PARITY_SINGLE_CORRECTABLE_POISON = 11, + ADL_RAS_ERROR__MULTI_UNCORRECTABLE_POISON = 12, + ADL_RAS_ERROR__PARITY_MULTI_UNCORRECTABLE_POISON = 13, + ADL_RAS_ERROR__SINGLE_CORRECTABLE_MULTI_UNCORRECTABLE_POISON = 14, + ADL_RAS_ERROR__PARITY_SINGLE_CORRECTABLE_MULTI_UNCORRECTABLE_POISON = 15 +}ADL_RAS_ERROR_TYPE; + +typedef enum _ADL_RAS_INJECTION_METHOD +{ + ADL_RAS_ERROR__UMC_METH_COHERENT = 0, + ADL_RAS_ERROR__UMC_METH_SINGLE_SHOT = 1, + ADL_RAS_ERROR__UMC_METH_PERSISTENT = 2, + ADL_RAS_ERROR__UMC_METH_PERSISTENT_DISABLE = 3 +}ADL_RAS_INJECTION_METHOD; + +// Driver event types +typedef enum _ADL_DRIVER_EVENT_TYPE +{ + ADL_EVENT_ID_AUTO_FEATURE_COMPLETED = 30, + ADL_EVENT_ID_FEATURE_AVAILABILITY = 31, + +} ADL_DRIVER_EVENT_TYPE; + + +//UIFeature Ids +typedef enum _ADL_UIFEATURES_GROUP +{ + ADL_UIFEATURES_GROUP_DVR = 0, + ADL_UIFEATURES_GROUP_TURBOSYNC = 1, + ADL_UIFEATURES_GROUP_FRAMEMETRICSMONITOR = 2, + ADL_UIFEATURES_GROUP_FRTC = 3, + ADL_UIFEATURES_GROUP_XVISION = 4, + ADL_UIFEATURES_GROUP_BLOCKCHAIN = 5, + ADL_UIFEATURES_GROUP_GAMEINTELLIGENCE = 6, + ADL_UIFEATURES_GROUP_CHILL = 7, + ADL_UIFEATURES_GROUP_DELAG = 8, + ADL_UIFEATURES_GROUP_BOOST = 9, + ADL_UIFEATURES_GROUP_USU = 10, + ADL_UIFEATURES_GROUP_XGMI = 11 +}ADL_UIFEATURES_GROUP; + +#endif /* ADL_DEFINES_H_ */ + + diff --git a/src/3rdparty/adl/adl_sdk.h b/src/3rdparty/adl/adl_sdk.h new file mode 100644 index 00000000..d31dd370 --- /dev/null +++ b/src/3rdparty/adl/adl_sdk.h @@ -0,0 +1,44 @@ +// +// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. +// +// MIT LICENSE: +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +/// \file adl_sdk.h +/// \brief Contains the definition of the Memory Allocation Callback.\n Included in ADL SDK +/// +/// \n\n +/// This file contains the definition of the Memory Allocation Callback.\n +/// It also includes definitions of the respective structures and constants.\n +/// This is the only header file to be included in a C/C++ project using ADL + +#ifndef ADL_SDK_H_ +#define ADL_SDK_H_ + +#include "adl_structures.h" + +#if defined (LINUX) +#define __stdcall +#endif /* (LINUX) */ + +/// Memory Allocation Call back +typedef void* ( __stdcall *ADL_MAIN_MALLOC_CALLBACK )( int ); + + +#endif /* ADL_SDK_H_ */ diff --git a/src/3rdparty/adl/adl_structures.h b/src/3rdparty/adl/adl_structures.h new file mode 100644 index 00000000..b9367803 --- /dev/null +++ b/src/3rdparty/adl/adl_structures.h @@ -0,0 +1,3440 @@ +// +// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. +// +// MIT LICENSE: +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +/// \file adl_structures.h +///\brief This file contains the structure declarations that are used by the public ADL interfaces for \ALL platforms.\n Included in ADL SDK +/// +/// All data structures used in AMD Display Library (ADL) public interfaces should be defined in this header file. +/// + +#ifndef ADL_STRUCTURES_H_ +#define ADL_STRUCTURES_H_ + +#include "adl_defines.h" + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the graphics adapter. +/// +/// This structure is used to store various information about the graphics adapter. This +/// information can be returned to the user. Alternatively, it can be used to access various driver calls to set +/// or fetch various settings upon the user's request. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct AdapterInfo +{ +/// \ALL_STRUCT_MEM + +/// Size of the structure. + int iSize; +/// The ADL index handle. One GPU may be associated with one or two index handles + int iAdapterIndex; +/// The unique device ID associated with this adapter. + char strUDID[ADL_MAX_PATH]; +/// The BUS number associated with this adapter. + int iBusNumber; +/// The driver number associated with this adapter. + int iDeviceNumber; +/// The function number. + int iFunctionNumber; +/// The vendor ID associated with this adapter. + int iVendorID; +/// Adapter name. + char strAdapterName[ADL_MAX_PATH]; +/// Display name. For example, "\\\\Display0" for Windows or ":0:0" for Linux. + char strDisplayName[ADL_MAX_PATH]; +/// Present or not; 1 if present and 0 if not present.It the logical adapter is present, the display name such as \\\\.\\Display1 can be found from OS + int iPresent; + +#if defined (_WIN32) || defined (_WIN64) +/// \WIN_STRUCT_MEM + +/// Exist or not; 1 is exist and 0 is not present. + int iExist; +/// Driver registry path. + char strDriverPath[ADL_MAX_PATH]; +/// Driver registry path Ext for. + char strDriverPathExt[ADL_MAX_PATH]; +/// PNP string from Windows. + char strPNPString[ADL_MAX_PATH]; +/// It is generated from EnumDisplayDevices. + int iOSDisplayIndex; +#endif /* (_WIN32) || (_WIN64) */ + +#if defined (LINUX) +/// \LNX_STRUCT_MEM + +/// Internal X screen number from GPUMapInfo (DEPRICATED use XScreenInfo) + int iXScreenNum; +/// Internal driver index from GPUMapInfo + int iDrvIndex; +/// \deprecated Internal x config file screen identifier name. Use XScreenInfo instead. + char strXScreenConfigName[ADL_MAX_PATH]; + +#endif /* (LINUX) */ +} AdapterInfo, *LPAdapterInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the Linux X screen information. +/// +/// This structure is used to store the current screen number and xorg.conf ID name assoicated with an adapter index. +/// This structure is updated during ADL_Main_Control_Refresh or ADL_ScreenInfo_Update. +/// Note: This structure should be used in place of iXScreenNum and strXScreenConfigName in AdapterInfo as they will be +/// deprecated. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +#if defined (LINUX) +typedef struct XScreenInfo +{ +/// Internal X screen number from GPUMapInfo. + int iXScreenNum; +/// Internal x config file screen identifier name. + char strXScreenConfigName[ADL_MAX_PATH]; +} XScreenInfo, *LPXScreenInfo; +#endif /* (LINUX) */ + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the ASIC memory. +/// +/// This structure is used to store various information about the ASIC memory. This +/// information can be returned to the user. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLMemoryInfo +{ +/// Memory size in bytes. + long long iMemorySize; +/// Memory type in string. + char strMemoryType[ADL_MAX_PATH]; +/// Memory bandwidth in Mbytes/s. + long long iMemoryBandwidth; +} ADLMemoryInfo, *LPADLMemoryInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about memory required by type +/// +/// This structure is returned by ADL_Adapter_ConfigMemory_Get, which given a desktop and display configuration +/// will return the Memory used. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLMemoryRequired +{ + long long iMemoryReq; /// Memory in bytes required + int iType; /// Type of Memory \ref define_adl_validmemoryrequiredfields + int iDisplayFeatureValue; /// Display features \ref define_adl_visiblememoryfeatures that are using this type of memory +} ADLMemoryRequired, *LPADLMemoryRequired; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the features associated with a display +/// +/// This structure is a parameter to ADL_Adapter_ConfigMemory_Get, which given a desktop and display configuration +/// will return the Memory used. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLMemoryDisplayFeatures +{ + int iDisplayIndex; /// ADL Display index + int iDisplayFeatureValue; /// features that the display is using \ref define_adl_visiblememoryfeatures +} ADLMemoryDisplayFeatures, *LPADLMemoryDisplayFeatures; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing DDC information. +/// +/// This structure is used to store various DDC information that can be returned to the user. +/// Note that all fields of type int are actually defined as unsigned int types within the driver. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDDCInfo +{ +/// Size of the structure + int ulSize; +/// Indicates whether the attached display supports DDC. If this field is zero on return, no other DDC information fields will be used. + int ulSupportsDDC; +/// Returns the manufacturer ID of the display device. Should be zeroed if this information is not available. + int ulManufacturerID; +/// Returns the product ID of the display device. Should be zeroed if this information is not available. + int ulProductID; +/// Returns the name of the display device. Should be zeroed if this information is not available. + char cDisplayName[ADL_MAX_DISPLAY_NAME]; +/// Returns the maximum Horizontal supported resolution. Should be zeroed if this information is not available. + int ulMaxHResolution; +/// Returns the maximum Vertical supported resolution. Should be zeroed if this information is not available. + int ulMaxVResolution; +/// Returns the maximum supported refresh rate. Should be zeroed if this information is not available. + int ulMaxRefresh; +/// Returns the display device preferred timing mode's horizontal resolution. + int ulPTMCx; +/// Returns the display device preferred timing mode's vertical resolution. + int ulPTMCy; +/// Returns the display device preferred timing mode's refresh rate. + int ulPTMRefreshRate; +/// Return EDID flags. + int ulDDCInfoFlag; +} ADLDDCInfo, *LPADLDDCInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing DDC information. +/// +/// This structure is used to store various DDC information that can be returned to the user. +/// Note that all fields of type int are actually defined as unsigned int types within the driver. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDDCInfo2 +{ +/// Size of the structure + int ulSize; +/// Indicates whether the attached display supports DDC. If this field is zero on return, no other DDC +/// information fields will be used. + int ulSupportsDDC; +/// Returns the manufacturer ID of the display device. Should be zeroed if this information is not available. + int ulManufacturerID; +/// Returns the product ID of the display device. Should be zeroed if this information is not available. + int ulProductID; +/// Returns the name of the display device. Should be zeroed if this information is not available. + char cDisplayName[ADL_MAX_DISPLAY_NAME]; +/// Returns the maximum Horizontal supported resolution. Should be zeroed if this information is not available. + int ulMaxHResolution; +/// Returns the maximum Vertical supported resolution. Should be zeroed if this information is not available. + int ulMaxVResolution; +/// Returns the maximum supported refresh rate. Should be zeroed if this information is not available. + int ulMaxRefresh; +/// Returns the display device preferred timing mode's horizontal resolution. + int ulPTMCx; +/// Returns the display device preferred timing mode's vertical resolution. + int ulPTMCy; +/// Returns the display device preferred timing mode's refresh rate. + int ulPTMRefreshRate; +/// Return EDID flags. + int ulDDCInfoFlag; +/// Returns 1 if the display supported packed pixel, 0 otherwise + int bPackedPixelSupported; +/// Returns the Pixel formats the display supports \ref define_ddcinfo_pixelformats + int iPanelPixelFormat; +/// Return EDID serial ID. + int ulSerialID; +/// Return minimum monitor luminance data + int ulMinLuminanceData; +/// Return average monitor luminance data + int ulAvgLuminanceData; +/// Return maximum monitor luminance data + int ulMaxLuminanceData; + +/// Bit vector of supported transfer functions \ref define_source_content_TF + int iSupportedTransferFunction; + +/// Bit vector of supported color spaces \ref define_source_content_CS + int iSupportedColorSpace; + +/// Display Red Chromaticity X coordinate multiplied by 10000 + int iNativeDisplayChromaticityRedX; +/// Display Red Chromaticity Y coordinate multiplied by 10000 + int iNativeDisplayChromaticityRedY; +/// Display Green Chromaticity X coordinate multiplied by 10000 + int iNativeDisplayChromaticityGreenX; +/// Display Green Chromaticity Y coordinate multiplied by 10000 + int iNativeDisplayChromaticityGreenY; +/// Display Blue Chromaticity X coordinate multiplied by 10000 + int iNativeDisplayChromaticityBlueX; +/// Display Blue Chromaticity Y coordinate multiplied by 10000 + int iNativeDisplayChromaticityBlueY; +/// Display White Point X coordinate multiplied by 10000 + int iNativeDisplayChromaticityWhitePointX; +/// Display White Point Y coordinate multiplied by 10000 + int iNativeDisplayChromaticityWhitePointY; +/// Display diffuse screen reflectance 0-1 (100%) in units of 0.01 + int iDiffuseScreenReflectance; +/// Display specular screen reflectance 0-1 (100%) in units of 0.01 + int iSpecularScreenReflectance; +/// Bit vector of supported color spaces \ref define_HDR_support + int iSupportedHDR; +/// Bit vector for freesync flags + int iFreesyncFlags; + +/// Return minimum monitor luminance without dimming data + int ulMinLuminanceNoDimmingData; + + int ulMaxBacklightMaxLuminanceData; + int ulMinBacklightMaxLuminanceData; + int ulMaxBacklightMinLuminanceData; + int ulMinBacklightMinLuminanceData; + + // Reserved for future use + int iReserved[4]; +} ADLDDCInfo2, *LPADLDDCInfo2; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information controller Gamma settings. +/// +/// This structure is used to store the red, green and blue color channel information for the. +/// controller gamma setting. This information is returned by ADL, and it can also be used to +/// set the controller gamma setting. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGamma +{ +/// Red color channel gamma value. + float fRed; +/// Green color channel gamma value. + float fGreen; +/// Blue color channel gamma value. + float fBlue; +} ADLGamma, *LPADLGamma; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about component video custom modes. +/// +/// This structure is used to store the component video custom mode. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLCustomMode +{ +/// Custom mode flags. They are returned by the ADL driver. + int iFlags; +/// Custom mode width. + int iModeWidth; +/// Custom mode height. + int iModeHeight; +/// Custom mode base width. + int iBaseModeWidth; +/// Custom mode base height. + int iBaseModeHeight; +/// Custom mode refresh rate. + int iRefreshRate; +} ADLCustomMode, *LPADLCustomMode; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing Clock information for OD5 calls. +/// +/// This structure is used to retrieve clock information for OD5 calls. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGetClocksOUT +{ + long ulHighCoreClock; + long ulHighMemoryClock; + long ulHighVddc; + long ulCoreMin; + long ulCoreMax; + long ulMemoryMin; + long ulMemoryMax; + long ulActivityPercent; + long ulCurrentCoreClock; + long ulCurrentMemoryClock; + long ulReserved; +} ADLGetClocksOUT; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing HDTV information for display calls. +/// +/// This structure is used to retrieve HDTV information information for display calls. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayConfig +{ +/// Size of the structure + long ulSize; +/// HDTV connector type. + long ulConnectorType; +/// HDTV capabilities. + long ulDeviceData; +/// Overridden HDTV capabilities. + long ulOverridedDeviceData; +/// Reserved field + long ulReserved; +} ADLDisplayConfig; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display device. +/// +/// This structure is used to store display device information +/// such as display index, type, name, connection status, mapped adapter and controller indexes, +/// whether or not multiple VPUs are supported, local display connections or not (through Lasso), etc. +/// This information can be returned to the user. Alternatively, it can be used to access various driver calls to set +/// or fetch various display device related settings upon the user's request. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayID +{ +/// The logical display index belonging to this adapter. + int iDisplayLogicalIndex; + +///\brief The physical display index. +/// For example, display index 2 from adapter 2 can be used by current adapter 1.\n +/// So current adapter may enumerate this adapter as logical display 7 but the physical display +/// index is still 2. + int iDisplayPhysicalIndex; + +/// The persistent logical adapter index for the display. + int iDisplayLogicalAdapterIndex; + +///\brief The persistent physical adapter index for the display. +/// It can be the current adapter or a non-local adapter. \n +/// If this adapter index is different than the current adapter, +/// the Display Non Local flag is set inside DisplayInfoValue. + int iDisplayPhysicalAdapterIndex; +} ADLDisplayID, *LPADLDisplayID; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display device. +/// +/// This structure is used to store various information about the display device. This +/// information can be returned to the user, or used to access various driver calls to set +/// or fetch various display-device-related settings upon the user's request +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayInfo +{ +/// The DisplayID structure + ADLDisplayID displayID; + +///\deprecated The controller index to which the display is mapped.\n Will not be used in the future\n + int iDisplayControllerIndex; + +/// The display's EDID name. + char strDisplayName[ADL_MAX_PATH]; + +/// The display's manufacturer name. + char strDisplayManufacturerName[ADL_MAX_PATH]; + +/// The Display type. For example: CRT, TV, CV, DFP. + int iDisplayType; + +/// The display output type. For example: HDMI, SVIDEO, COMPONMNET VIDEO. + int iDisplayOutputType; + +/// The connector type for the device. + int iDisplayConnector; + +///\brief The bit mask identifies the number of bits ADLDisplayInfo is currently using. \n +/// It will be the sum all the bit definitions in ADL_DISPLAY_DISPLAYINFO_xxx. + int iDisplayInfoMask; + +/// The bit mask identifies the display status. \ref define_displayinfomask + int iDisplayInfoValue; +} ADLDisplayInfo, *LPADLDisplayInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display port MST device. +/// +/// This structure is used to store various MST information about the display port device. This +/// information can be returned to the user, or used to access various driver calls to +/// fetch various display-device-related settings upon the user's request +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayDPMSTInfo +{ + /// The ADLDisplayID structure + ADLDisplayID displayID; + + /// total bandwidth available on the DP connector + int iTotalAvailableBandwidthInMpbs; + /// bandwidth allocated to this display + int iAllocatedBandwidthInMbps; + + // info from DAL DpMstSinkInfo + /// string identifier for the display + char strGlobalUniqueIdentifier[ADL_MAX_PATH]; + + /// The link count of relative address, rad[0] upto rad[linkCount] are valid + int radLinkCount; + /// The physical connector ID, used to identify the physical DP port + int iPhysicalConnectorID; + + /// Relative address, address scheme starts from source side + char rad[ADL_MAX_RAD_LINK_COUNT]; +} ADLDisplayDPMSTInfo, *LPADLDisplayDPMSTInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the display mode definition used per controller. +/// +/// This structure is used to store the display mode definition used per controller. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayMode +{ +/// Vertical resolution (in pixels). + int iPelsHeight; +/// Horizontal resolution (in pixels). + int iPelsWidth; +/// Color depth. + int iBitsPerPel; +/// Refresh rate. + int iDisplayFrequency; +} ADLDisplayMode; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing detailed timing parameters. +/// +/// This structure is used to store the detailed timing parameters. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDetailedTiming +{ +/// Size of the structure. + int iSize; +/// Timing flags. \ref define_detailed_timing_flags + short sTimingFlags; +/// Total width (columns). + short sHTotal; +/// Displayed width. + short sHDisplay; +/// Horizontal sync signal offset. + short sHSyncStart; +/// Horizontal sync signal width. + short sHSyncWidth; +/// Total height (rows). + short sVTotal; +/// Displayed height. + short sVDisplay; +/// Vertical sync signal offset. + short sVSyncStart; +/// Vertical sync signal width. + short sVSyncWidth; +/// Pixel clock value. + short sPixelClock; +/// Overscan right. + short sHOverscanRight; +/// Overscan left. + short sHOverscanLeft; +/// Overscan bottom. + short sVOverscanBottom; +/// Overscan top. + short sVOverscanTop; + short sOverscan8B; + short sOverscanGR; +} ADLDetailedTiming; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing display mode information. +/// +/// This structure is used to store the display mode information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayModeInfo +{ +/// Timing standard of the current mode. \ref define_modetiming_standard + int iTimingStandard; +/// Applicable timing standards for the current mode. + int iPossibleStandard; +/// Refresh rate factor. + int iRefreshRate; +/// Num of pixels in a row. + int iPelsWidth; +/// Num of pixels in a column. + int iPelsHeight; +/// Detailed timing parameters. + ADLDetailedTiming sDetailedTiming; +} ADLDisplayModeInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about display property. +/// +/// This structure is used to store the display property for the current adapter. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayProperty +{ +/// Must be set to sizeof the structure + int iSize; +/// Must be set to \ref ADL_DL_DISPLAYPROPERTY_TYPE_EXPANSIONMODE or \ref ADL_DL_DISPLAYPROPERTY_TYPE_USEUNDERSCANSCALING + int iPropertyType; +/// Get or Set \ref ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_CENTER or \ref ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_FULLSCREEN or \ref ADL_DL_DISPLAYPROPERTY_EXPANSIONMODE_ASPECTRATIO or \ref ADL_DL_DISPLAYPROPERTY_TYPE_ITCFLAGENABLE + int iExpansionMode; +/// Display Property supported? 1: Supported, 0: Not supported + int iSupport; +/// Display Property current value + int iCurrent; +/// Display Property Default value + int iDefault; +} ADLDisplayProperty; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Clock. +/// +/// This structure is used to store the clock information for the current adapter +/// such as core clock and memory clock info. +///\nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLClockInfo +{ +/// Core clock in 10 KHz. + int iCoreClock; +/// Memory clock in 10 KHz. + int iMemoryClock; +} ADLClockInfo, *LPADLClockInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about I2C. +/// +/// This structure is used to store the I2C information for the current adapter. +/// This structure is used by the ADL_Display_WriteAndReadI2C() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLI2C +{ +/// Size of the structure + int iSize; +/// Numerical value representing hardware I2C. + int iLine; +/// The 7-bit I2C slave device address, shifted one bit to the left. + int iAddress; +/// The offset of the data from the address. + int iOffset; +/// Read from or write to slave device. \ref ADL_DL_I2C_ACTIONREAD or \ref ADL_DL_I2C_ACTIONWRITE or \ref ADL_DL_I2C_ACTIONREAD_REPEATEDSTART + int iAction; +/// I2C clock speed in KHz. + int iSpeed; +/// A numerical value representing the number of bytes to be sent or received on the I2C bus. + int iDataSize; +/// Address of the characters which are to be sent or received on the I2C bus. + char *pcData; +} ADLI2C; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about EDID data. +/// +/// This structure is used to store the information about EDID data for the adapter. +/// This structure is used by the ADL_Display_EdidData_Get() and ADL_Display_EdidData_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayEDIDData +{ +/// Size of the structure + int iSize; +/// Set to 0 + int iFlag; + /// Size of cEDIDData. Set by ADL_Display_EdidData_Get() upon return + int iEDIDSize; +/// 0, 1 or 2. If set to 3 or above an error ADL_ERR_INVALID_PARAM is generated + int iBlockIndex; +/// EDID data + char cEDIDData[ADL_MAX_EDIDDATA_SIZE]; +/// Reserved + int iReserved[4]; +}ADLDisplayEDIDData; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about input of controller overlay adjustment. +/// +/// This structure is used to store the information about input of controller overlay adjustment for the adapter. +/// This structure is used by the ADL_Display_ControllerOverlayAdjustmentCaps_Get, ADL_Display_ControllerOverlayAdjustmentData_Get, and +/// ADL_Display_ControllerOverlayAdjustmentData_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLControllerOverlayInput +{ +/// Should be set to the sizeof the structure + int iSize; +///\ref ADL_DL_CONTROLLER_OVERLAY_ALPHA or \ref ADL_DL_CONTROLLER_OVERLAY_ALPHAPERPIX + int iOverlayAdjust; +/// Data. + int iValue; +/// Should be 0. + int iReserved; +} ADLControllerOverlayInput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about overlay adjustment. +/// +/// This structure is used to store the information about overlay adjustment for the adapter. +/// This structure is used by the ADLControllerOverlayInfo() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLAdjustmentinfo +{ +/// Default value + int iDefault; +/// Minimum value + int iMin; +/// Maximum Value + int iMax; +/// Step value + int iStep; +} ADLAdjustmentinfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about controller overlay information. +/// +/// This structure is used to store information about controller overlay info for the adapter. +/// This structure is used by the ADL_Display_ControllerOverlayAdjustmentCaps_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLControllerOverlayInfo +{ +/// Should be set to the sizeof the structure + int iSize; +/// Data. + ADLAdjustmentinfo sOverlayInfo; +/// Should be 0. + int iReserved[3]; +} ADLControllerOverlayInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing GL-Sync module information. +/// +/// This structure is used to retrieve GL-Sync module information for +/// Workstation Framelock/Genlock. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGLSyncModuleID +{ +/// Unique GL-Sync module ID. + int iModuleID; +/// GL-Sync GPU port index (to be passed into ADLGLSyncGenlockConfig.lSignalSource and ADLGlSyncPortControl.lSignalSource). + int iGlSyncGPUPort; +/// GL-Sync module firmware version of Boot Sector. + int iFWBootSectorVersion; +/// GL-Sync module firmware version of User Sector. + int iFWUserSectorVersion; +} ADLGLSyncModuleID , *LPADLGLSyncModuleID; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing GL-Sync ports capabilities. +/// +/// This structure is used to retrieve hardware capabilities for the ports of the GL-Sync module +/// for Workstation Framelock/Genlock (such as port type and number of associated LEDs). +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGLSyncPortCaps +{ +/// Port type. Bitfield of ADL_GLSYNC_PORTTYPE_* \ref define_glsync + int iPortType; +/// Number of LEDs associated for this port. + int iNumOfLEDs; +}ADLGLSyncPortCaps, *LPADLGLSyncPortCaps; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing GL-Sync Genlock settings. +/// +/// This structure is used to get and set genlock settings for the GPU ports of the GL-Sync module +/// for Workstation Framelock/Genlock.\n +/// \see define_glsync +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGLSyncGenlockConfig +{ +/// Specifies what fields in this structure are valid \ref define_glsync + int iValidMask; +/// Delay (ms) generating a sync signal. + int iSyncDelay; +/// Vector of framelock control bits. Bitfield of ADL_GLSYNC_FRAMELOCKCNTL_* \ref define_glsync + int iFramelockCntlVector; +/// Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* \ref define_glsync + int iSignalSource; +/// Use sampled sync signal. A value of 0 specifies no sampling. + int iSampleRate; +/// For interlaced sync signals, the value can be ADL_GLSYNC_SYNCFIELD_1 or *_BOTH \ref define_glsync + int iSyncField; +/// The signal edge that should trigger synchronization. ADL_GLSYNC_TRIGGEREDGE_* \ref define_glsync + int iTriggerEdge; +/// Scan rate multiplier applied to the sync signal. ADL_GLSYNC_SCANRATECOEFF_* \ref define_glsync + int iScanRateCoeff; +}ADLGLSyncGenlockConfig, *LPADLGLSyncGenlockConfig; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing GL-Sync port information. +/// +/// This structure is used to get status of the GL-Sync ports (BNC or RJ45s) +/// for Workstation Framelock/Genlock. +/// \see define_glsync +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGlSyncPortInfo +{ +/// Type of GL-Sync port (ADL_GLSYNC_PORT_*). + int iPortType; +/// The number of LEDs for this port. It's also filled within ADLGLSyncPortCaps. + int iNumOfLEDs; +/// Port state ADL_GLSYNC_PORTSTATE_* \ref define_glsync + int iPortState; +/// Scanned frequency for this port (vertical refresh rate in milliHz; 60000 means 60 Hz). + int iFrequency; +/// Used for ADL_GLSYNC_PORT_BNC. It is ADL_GLSYNC_SIGNALTYPE_* \ref define_glsync + int iSignalType; +/// Used for ADL_GLSYNC_PORT_RJ45PORT*. It is GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_*. \ref define_glsync + int iSignalSource; + +} ADLGlSyncPortInfo, *LPADLGlSyncPortInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing GL-Sync port control settings. +/// +/// This structure is used to configure the GL-Sync ports (RJ45s only) +/// for Workstation Framelock/Genlock. +/// \see define_glsync +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGlSyncPortControl +{ +/// Port to control ADL_GLSYNC_PORT_RJ45PORT1 or ADL_GLSYNC_PORT_RJ45PORT2 \ref define_glsync + int iPortType; +/// Port control data ADL_GLSYNC_PORTCNTL_* \ref define_glsync + int iControlVector; +/// Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* \ref define_glsync + int iSignalSource; +} ADLGlSyncPortControl; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing GL-Sync mode of a display. +/// +/// This structure is used to get and set GL-Sync mode settings for a display connected to +/// an adapter attached to a GL-Sync module for Workstation Framelock/Genlock. +/// \see define_glsync +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGlSyncMode +{ +/// Mode control vector. Bitfield of ADL_GLSYNC_MODECNTL_* \ref define_glsync + int iControlVector; +/// Mode status vector. Bitfield of ADL_GLSYNC_MODECNTL_STATUS_* \ref define_glsync + int iStatusVector; +/// Index of GL-Sync connector used to genlock the display/controller. + int iGLSyncConnectorIndex; +} ADLGlSyncMode, *LPADLGlSyncMode; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing GL-Sync mode of a display. +/// +/// This structure is used to get and set GL-Sync mode settings for a display connected to +/// an adapter attached to a GL-Sync module for Workstation Framelock/Genlock. +/// \see define_glsync +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGlSyncMode2 +{ +/// Mode control vector. Bitfield of ADL_GLSYNC_MODECNTL_* \ref define_glsync + int iControlVector; +/// Mode status vector. Bitfield of ADL_GLSYNC_MODECNTL_STATUS_* \ref define_glsync + int iStatusVector; +/// Index of GL-Sync connector used to genlock the display/controller. + int iGLSyncConnectorIndex; +/// Index of the display to which this GLSync applies to. + int iDisplayIndex; +} ADLGlSyncMode2, *LPADLGlSyncMode2; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the packet info of a display. +/// +/// This structure is used to get and set the packet information of a display. +/// This structure is used by ADLDisplayDataPacket. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLInfoPacket +{ + char hb0; + char hb1; + char hb2; +/// sb0~sb27 + char sb[28]; +}ADLInfoPacket; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the AVI packet info of a display. +/// +/// This structure is used to get and set AVI the packet info of a display. +/// This structure is used by ADLDisplayDataPacket. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLAVIInfoPacket //Valid user defined data/ +{ +/// byte 3, bit 7 + char bPB3_ITC; +/// byte 5, bit [7:4]. + char bPB5; +}ADLAVIInfoPacket; + +// Overdrive clock setting structure definition. + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the Overdrive clock setting. +/// +/// This structure is used to get the Overdrive clock setting. +/// This structure is used by ADLAdapterODClockInfo. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODClockSetting +{ +/// Deafult clock + int iDefaultClock; +/// Current clock + int iCurrentClock; +/// Maximum clcok + int iMaxClock; +/// Minimum clock + int iMinClock; +/// Requested clcock + int iRequestedClock; +/// Step + int iStepClock; +} ADLODClockSetting; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the Overdrive clock information. +/// +/// This structure is used to get the Overdrive clock information. +/// This structure is used by the ADL_Display_ODClockInfo_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLAdapterODClockInfo +{ +/// Size of the structure + int iSize; +/// Flag \ref define_clockinfo_flags + int iFlags; +/// Memory Clock + ADLODClockSetting sMemoryClock; +/// Engine Clock + ADLODClockSetting sEngineClock; +} ADLAdapterODClockInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the Overdrive clock configuration. +/// +/// This structure is used to set the Overdrive clock configuration. +/// This structure is used by the ADL_Display_ODClockConfig_Set() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLAdapterODClockConfig +{ +/// Size of the structure + int iSize; +/// Flag \ref define_clockinfo_flags + int iFlags; +/// Memory Clock + int iMemoryClock; +/// Engine Clock + int iEngineClock; +} ADLAdapterODClockConfig; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about current power management related activity. +/// +/// This structure is used to store information about current power management related activity. +/// This structure (Overdrive 5 interfaces) is used by the ADL_PM_CurrentActivity_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPMActivity +{ +/// Must be set to the size of the structure + int iSize; +/// Current engine clock. + int iEngineClock; +/// Current memory clock. + int iMemoryClock; +/// Current core voltage. + int iVddc; +/// GPU utilization. + int iActivityPercent; +/// Performance level index. + int iCurrentPerformanceLevel; +/// Current PCIE bus speed. + int iCurrentBusSpeed; +/// Number of PCIE bus lanes. + int iCurrentBusLanes; +/// Maximum number of PCIE bus lanes. + int iMaximumBusLanes; +/// Reserved for future purposes. + int iReserved; +} ADLPMActivity; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about thermal controller. +/// +/// This structure is used to store information about thermal controller. +/// This structure is used by ADL_PM_ThermalDevices_Enum. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLThermalControllerInfo +{ +/// Must be set to the size of the structure + int iSize; +/// Possible valies: \ref ADL_DL_THERMAL_DOMAIN_OTHER or \ref ADL_DL_THERMAL_DOMAIN_GPU. + int iThermalDomain; +/// GPU 0, 1, etc. + int iDomainIndex; +/// Possible valies: \ref ADL_DL_THERMAL_FLAG_INTERRUPT or \ref ADL_DL_THERMAL_FLAG_FANCONTROL + int iFlags; +} ADLThermalControllerInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about thermal controller temperature. +/// +/// This structure is used to store information about thermal controller temperature. +/// This structure is used by the ADL_PM_Temperature_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLTemperature +{ +/// Must be set to the size of the structure + int iSize; +/// Temperature in millidegrees Celsius. + int iTemperature; +} ADLTemperature; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about thermal controller fan speed. +/// +/// This structure is used to store information about thermal controller fan speed. +/// This structure is used by the ADL_PM_FanSpeedInfo_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLFanSpeedInfo +{ +/// Must be set to the size of the structure + int iSize; +/// \ref define_fanctrl + int iFlags; +/// Minimum possible fan speed value in percents. + int iMinPercent; +/// Maximum possible fan speed value in percents. + int iMaxPercent; +/// Minimum possible fan speed value in RPM. + int iMinRPM; +/// Maximum possible fan speed value in RPM. + int iMaxRPM; +} ADLFanSpeedInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about fan speed reported by thermal controller. +/// +/// This structure is used to store information about fan speed reported by thermal controller. +/// This structure is used by the ADL_Overdrive5_FanSpeed_Get() and ADL_Overdrive5_FanSpeed_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLFanSpeedValue +{ +/// Must be set to the size of the structure + int iSize; +/// Possible valies: \ref ADL_DL_FANCTRL_SPEED_TYPE_PERCENT or \ref ADL_DL_FANCTRL_SPEED_TYPE_RPM + int iSpeedType; +/// Fan speed value + int iFanSpeed; +/// The only flag for now is: \ref ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED + int iFlags; +} ADLFanSpeedValue; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the range of Overdrive parameter. +/// +/// This structure is used to store information about the range of Overdrive parameter. +/// This structure is used by ADLODParameters. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODParameterRange +{ +/// Minimum parameter value. + int iMin; +/// Maximum parameter value. + int iMax; +/// Parameter step value. + int iStep; +} ADLODParameterRange; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive parameters. +/// +/// This structure is used to store information about Overdrive parameters. +/// This structure is used by the ADL_Overdrive5_ODParameters_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODParameters +{ +/// Must be set to the size of the structure + int iSize; +/// Number of standard performance states. + int iNumberOfPerformanceLevels; +/// Indicates whether the GPU is capable to measure its activity. + int iActivityReportingSupported; +/// Indicates whether the GPU supports discrete performance levels or performance range. + int iDiscretePerformanceLevels; +/// Reserved for future use. + int iReserved; +/// Engine clock range. + ADLODParameterRange sEngineClock; +/// Memory clock range. + ADLODParameterRange sMemoryClock; +/// Core voltage range. + ADLODParameterRange sVddc; +} ADLODParameters; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive level. +/// +/// This structure is used to store information about Overdrive level. +/// This structure is used by ADLODPerformanceLevels. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODPerformanceLevel +{ +/// Engine clock. + int iEngineClock; +/// Memory clock. + int iMemoryClock; +/// Core voltage. + int iVddc; +} ADLODPerformanceLevel; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive performance levels. +/// +/// This structure is used to store information about Overdrive performance levels. +/// This structure is used by the ADL_Overdrive5_ODPerformanceLevels_Get() and ADL_Overdrive5_ODPerformanceLevels_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODPerformanceLevels +{ +/// Must be set to sizeof( \ref ADLODPerformanceLevels ) + sizeof( \ref ADLODPerformanceLevel ) * (ADLODParameters.iNumberOfPerformanceLevels - 1) + int iSize; + int iReserved; +/// Array of performance state descriptors. Must have ADLODParameters.iNumberOfPerformanceLevels elements. + ADLODPerformanceLevel aLevels [1]; +} ADLODPerformanceLevels; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the proper CrossfireX chains combinations. +/// +/// This structure is used to store information about the CrossfireX chains combination for a particular adapter. +/// This structure is used by the ADL_Adapter_Crossfire_Caps(), ADL_Adapter_Crossfire_Get(), and ADL_Adapter_Crossfire_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLCrossfireComb +{ +/// Number of adapters in this combination. + int iNumLinkAdapter; +/// A list of ADL indexes of the linked adapters in this combination. + int iAdaptLink[3]; +} ADLCrossfireComb; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing CrossfireX state and error information. +/// +/// This structure is used to store state and error information about a particular adapter CrossfireX combination. +/// This structure is used by the ADL_Adapter_Crossfire_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLCrossfireInfo +{ +/// Current error code of this CrossfireX combination. + int iErrorCode; +/// Current \ref define_crossfirestate + int iState; +/// If CrossfireX is supported by this combination. The value is either \ref ADL_TRUE or \ref ADL_FALSE. + int iSupported; +} ADLCrossfireInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about the BIOS. +/// +/// This structure is used to store various information about the Chipset. This +/// information can be returned to the user. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLBiosInfo +{ + char strPartNumber[ADL_MAX_PATH]; ///< Part number. + char strVersion[ADL_MAX_PATH]; ///< Version number. + char strDate[ADL_MAX_PATH]; ///< BIOS date in yyyy/mm/dd hh:mm format. +} ADLBiosInfo, *LPADLBiosInfo; + + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about adapter location. +/// +/// This structure is used to store information about adapter location. +/// This structure is used by ADLMVPUStatus. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLAdapterLocation +{ +/// PCI Bus number : 8 bits + int iBus; +/// Device number : 5 bits + int iDevice; +/// Function number : 3 bits + int iFunction; +} ADLAdapterLocation,ADLBdf; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing version information +/// +/// This structure is used to store software version information, description of the display device and a web link to the latest installed Catalyst drivers. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLVersionsInfo +{ + /// Driver Release (Packaging) Version (e.g. 8.71-100128n-094835E-ATI) + char strDriverVer[ADL_MAX_PATH]; + /// Catalyst Version(e.g. "10.1"). + char strCatalystVersion[ADL_MAX_PATH]; + /// Web link to an XML file with information about the latest AMD drivers and locations (e.g. "http://www.amd.com/us/driverxml" ) + char strCatalystWebLink[ADL_MAX_PATH]; + +} ADLVersionsInfo, *LPADLVersionsInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing version information +/// +/// This structure is used to store software version information, description of the display device and a web link to the latest installed Catalyst drivers. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLVersionsInfoX2 +{ + /// Driver Release (Packaging) Version (e.g. "16.20.1035-160621a-303814C") + char strDriverVer[ADL_MAX_PATH]; + /// Catalyst Version(e.g. "15.8"). + char strCatalystVersion[ADL_MAX_PATH]; + /// Crimson Version(e.g. "16.6.2"). + char strCrimsonVersion[ADL_MAX_PATH]; + /// Web link to an XML file with information about the latest AMD drivers and locations (e.g. "http://support.amd.com/drivers/xml/driver_09_us.xml" ) + char strCatalystWebLink[ADL_MAX_PATH]; + +} ADLVersionsInfoX2, *LPADLVersionsInfoX2; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about MultiVPU capabilities. +/// +/// This structure is used to store information about MultiVPU capabilities. +/// This structure is used by the ADL_Display_MVPUCaps_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLMVPUCaps +{ +/// Must be set to sizeof( ADLMVPUCaps ). + int iSize; +/// Number of adapters. + int iAdapterCount; +/// Bits set for all possible MVPU masters. \ref MVPU_ADAPTER_0 .. \ref MVPU_ADAPTER_3 + int iPossibleMVPUMasters; +/// Bits set for all possible MVPU slaves. \ref MVPU_ADAPTER_0 .. \ref MVPU_ADAPTER_3 + int iPossibleMVPUSlaves; +/// Registry path for each adapter. + char cAdapterPath[ADL_DL_MAX_MVPU_ADAPTERS][ADL_DL_MAX_REGISTRY_PATH]; +} ADLMVPUCaps; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about MultiVPU status. +/// +/// This structure is used to store information about MultiVPU status. +/// Ths structure is used by the ADL_Display_MVPUStatus_Get() function. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLMVPUStatus +{ +/// Must be set to sizeof( ADLMVPUStatus ). + int iSize; +/// Number of active adapters. + int iActiveAdapterCount; +/// MVPU status. + int iStatus; +/// PCI Bus/Device/Function for each active adapter participating in MVPU. + ADLAdapterLocation aAdapterLocation[ADL_DL_MAX_MVPU_ADAPTERS]; +} ADLMVPUStatus; + +// Displays Manager structures + +/////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about the activatable source. +/// +/// This structure is used to store activatable source information +/// This information can be returned to the user. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLActivatableSource +{ + /// The Persistent logical Adapter Index. + int iAdapterIndex; + /// The number of Activatable Sources. + int iNumActivatableSources; + /// The bit mask identifies the number of bits ActivatableSourceValue is using. (Not currnetly used) + int iActivatableSourceMask; + /// The bit mask identifies the status. (Not currnetly used) + int iActivatableSourceValue; +} ADLActivatableSource, *LPADLActivatableSource; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about display mode. +/// +/// This structure is used to store the display mode for the current adapter +/// such as X, Y positions, screen resolutions, orientation, +/// color depth, refresh rate, progressive or interlace mode, etc. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + +typedef struct ADLMode +{ +/// Adapter index. + int iAdapterIndex; +/// Display IDs. + ADLDisplayID displayID; +/// Screen position X coordinate. + int iXPos; +/// Screen position Y coordinate. + int iYPos; +/// Screen resolution Width. + int iXRes; +/// Screen resolution Height. + int iYRes; +/// Screen Color Depth. E.g., 16, 32. + int iColourDepth; +/// Screen refresh rate. Could be fractional E.g. 59.97 + float fRefreshRate; +/// Screen orientation. E.g., 0, 90, 180, 270. + int iOrientation; +/// Vista mode flag indicating Progressive or Interlaced mode. + int iModeFlag; +/// The bit mask identifying the number of bits this Mode is currently using. It is the sum of all the bit definitions defined in \ref define_displaymode + int iModeMask; +/// The bit mask identifying the display status. The detailed definition is in \ref define_displaymode + int iModeValue; +} ADLMode, *LPADLMode; + + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about display target information. +/// +/// This structure is used to store the display target information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayTarget +{ + /// The Display ID. + ADLDisplayID displayID; + + /// The display map index identify this manner and the desktop surface. + int iDisplayMapIndex; + + /// The bit mask identifies the number of bits DisplayTarget is currently using. It is the sum of all the bit definitions defined in \ref ADL_DISPLAY_DISPLAYTARGET_PREFERRED. + int iDisplayTargetMask; + + /// The bit mask identifies the display status. The detailed definition is in \ref ADL_DISPLAY_DISPLAYTARGET_PREFERRED. + int iDisplayTargetValue; + +} ADLDisplayTarget, *LPADLDisplayTarget; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display SLS bezel Mode information. +/// +/// This structure is used to store the display SLS bezel Mode information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct tagADLBezelTransientMode +{ + /// Adapter Index + int iAdapterIndex; + + /// SLS Map Index + int iSLSMapIndex; + + /// The mode index + int iSLSModeIndex; + + /// The mode + ADLMode displayMode; + + /// The number of bezel offsets belongs to this map + int iNumBezelOffset; + + /// The first bezel offset array index in the native mode array + int iFirstBezelOffsetArrayIndex; + + /// The bit mask identifies the bits this structure is currently using. It will be the total OR of all the bit definitions. + int iSLSBezelTransientModeMask; + + /// The bit mask identifies the display status. The detail definition is defined below. + int iSLSBezelTransientModeValue; + +} ADLBezelTransientMode, *LPADLBezelTransientMode; + + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about the adapter display manner. +/// +/// This structure is used to store adapter display manner information +/// This information can be returned to the user. Alternatively, it can be used to access various driver calls to +/// fetch various display device related display manner settings upon the user's request. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLAdapterDisplayCap +{ + /// The Persistent logical Adapter Index. + int iAdapterIndex; + /// The bit mask identifies the number of bits AdapterDisplayCap is currently using. Sum all the bits defined in ADL_ADAPTER_DISPLAYCAP_XXX + int iAdapterDisplayCapMask; + /// The bit mask identifies the status. Refer to ADL_ADAPTER_DISPLAYCAP_XXX + int iAdapterDisplayCapValue; +} ADLAdapterDisplayCap, *LPADLAdapterDisplayCap; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about display mapping. +/// +/// This structure is used to store the display mapping data such as display manner. +/// For displays with horizontal or vertical stretch manner, +/// this structure also stores the display order, display row, and column data. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayMap +{ +/// The current display map index. It is the OS desktop index. For example, if the OS index 1 is showing clone mode, the display map will be 1. + int iDisplayMapIndex; + +/// The Display Mode for the current map + ADLMode displayMode; + +/// The number of display targets belongs to this map\n + int iNumDisplayTarget; + +/// The first target array index in the Target array\n + int iFirstDisplayTargetArrayIndex; + +/// The bit mask identifies the number of bits DisplayMap is currently using. It is the sum of all the bit definitions defined in ADL_DISPLAY_DISPLAYMAP_MANNER_xxx. + int iDisplayMapMask; + +///The bit mask identifies the display status. The detailed definition is in ADL_DISPLAY_DISPLAYMAP_MANNER_xxx. + int iDisplayMapValue; + +} ADLDisplayMap, *LPADLDisplayMap; + + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about the display device possible map for one GPU +/// +/// This structure is used to store the display device possible map +/// This information can be returned to the user. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPossibleMap +{ + /// The current PossibleMap index. Each PossibleMap is assigned an index + int iIndex; + /// The adapter index identifying the GPU for which to validate these Maps & Targets + int iAdapterIndex; + /// Number of display Maps for this GPU to be validated + int iNumDisplayMap; + /// The display Maps list to validate + ADLDisplayMap* displayMap; + /// the number of display Targets for these display Maps + int iNumDisplayTarget; + /// The display Targets list for these display Maps to be validated. + ADLDisplayTarget* displayTarget; +} ADLPossibleMap, *LPADLPossibleMap; + + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about display possible mapping. +/// +/// This structure is used to store the display possible mapping's controller index for the current display. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPossibleMapping +{ + int iDisplayIndex; ///< The display index. Each display is assigned an index. + int iDisplayControllerIndex; ///< The controller index to which display is mapped. + int iDisplayMannerSupported; ///< The supported display manner. +} ADLPossibleMapping, *LPADLPossibleMapping; + +///////////////////////////////////////////////////////////////////////////////////////////// +/// \brief Structure containing information about the validated display device possible map result. +/// +/// This structure is used to store the validated display device possible map result +/// This information can be returned to the user. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPossibleMapResult +{ + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1. + int iIndex; + // The bit mask identifies the number of bits PossibleMapResult is currently using. It will be the sum all the bit definitions defined in ADL_DISPLAY_POSSIBLEMAPRESULT_VALID. + int iPossibleMapResultMask; + /// The bit mask identifies the possible map result. The detail definition is defined in ADL_DISPLAY_POSSIBLEMAPRESULT_XXX. + int iPossibleMapResultValue; +} ADLPossibleMapResult, *LPADLPossibleMapResult; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display SLS Grid information. +/// +/// This structure is used to store the display SLS Grid information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLSLSGrid +{ +/// The Adapter index. + int iAdapterIndex; + +/// The grid index. + int iSLSGridIndex; + +/// The grid row. + int iSLSGridRow; + +/// The grid column. + int iSLSGridColumn; + +/// The grid bit mask identifies the number of bits DisplayMap is currently using. Sum of all bits defined in ADL_DISPLAY_SLSGRID_ORIENTATION_XXX + int iSLSGridMask; + +/// The grid bit value identifies the display status. Refer to ADL_DISPLAY_SLSGRID_ORIENTATION_XXX + int iSLSGridValue; + +} ADLSLSGrid, *LPADLSLSGrid; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display SLS Map information. +/// +/// This structure is used to store the display SLS Map information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLSLSMap +{ + /// The Adapter Index + int iAdapterIndex; + + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1. + int iSLSMapIndex; + + /// Indicate the current grid + ADLSLSGrid grid; + + /// OS surface index + int iSurfaceMapIndex; + + /// Screen orientation. E.g., 0, 90, 180, 270 + int iOrientation; + + /// The number of display targets belongs to this map + int iNumSLSTarget; + + /// The first target array index in the Target array + int iFirstSLSTargetArrayIndex; + + /// The number of native modes belongs to this map + int iNumNativeMode; + + /// The first native mode array index in the native mode array + int iFirstNativeModeArrayIndex; + + /// The number of bezel modes belongs to this map + int iNumBezelMode; + + /// The first bezel mode array index in the native mode array + int iFirstBezelModeArrayIndex; + + /// The number of bezel offsets belongs to this map + int iNumBezelOffset; + + /// The first bezel offset array index in the + int iFirstBezelOffsetArrayIndex; + + /// The bit mask identifies the number of bits DisplayMap is currently using. Sum all the bit definitions defined in ADL_DISPLAY_SLSMAP_XXX. + int iSLSMapMask; + + /// The bit mask identifies the display map status. Refer to ADL_DISPLAY_SLSMAP_XXX + int iSLSMapValue; + + +} ADLSLSMap, *LPADLSLSMap; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display SLS Offset information. +/// +/// This structure is used to store the display SLS Offset information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLSLSOffset +{ + /// The Adapter Index + int iAdapterIndex; + + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1. + int iSLSMapIndex; + + /// The Display ID. + ADLDisplayID displayID; + + /// SLS Bezel Mode Index + int iBezelModeIndex; + + /// SLS Bezel Offset X + int iBezelOffsetX; + + /// SLS Bezel Offset Y + int iBezelOffsetY; + + /// SLS Display Width + int iDisplayWidth; + + /// SLS Display Height + int iDisplayHeight; + + /// The bit mask identifies the number of bits Offset is currently using. + int iBezelOffsetMask; + + /// The bit mask identifies the display status. + int iBezelffsetValue; +} ADLSLSOffset, *LPADLSLSOffset; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display SLS Mode information. +/// +/// This structure is used to store the display SLS Mode information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLSLSMode +{ + /// The Adapter Index + int iAdapterIndex; + + /// The current display map index. It is the OS Desktop index. For example, OS Index 1 showing clone mode. The Display Map will be 1. + int iSLSMapIndex; + + /// The mode index + int iSLSModeIndex; + + /// The mode for this map. + ADLMode displayMode; + + /// The bit mask identifies the number of bits Mode is currently using. + int iSLSNativeModeMask; + + /// The bit mask identifies the display status. + int iSLSNativeModeValue; +} ADLSLSMode, *LPADLSLSMode; + + + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the display Possible SLS Map information. +/// +/// This structure is used to store the display Possible SLS Map information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPossibleSLSMap +{ + /// The current display map index. It is the OS Desktop index. + /// For example, OS Index 1 showing clone mode. The Display Map will be 1. + int iSLSMapIndex; + + /// Number of display map to be validated. + int iNumSLSMap; + + /// The display map list for validation + ADLSLSMap* lpSLSMap; + + /// the number of display map config to be validated. + int iNumSLSTarget; + + /// The display target list for validation. + ADLDisplayTarget* lpDisplayTarget; +} ADLPossibleSLSMap, *LPADLPossibleSLSMap; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the SLS targets. +/// +/// This structure is used to store the SLS targets information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLSLSTarget +{ + /// the logic adapter index + int iAdapterIndex; + + /// The SLS map index + int iSLSMapIndex; + + /// The target ID + ADLDisplayTarget displayTarget; + + /// Target postion X in SLS grid + int iSLSGridPositionX; + + /// Target postion Y in SLS grid + int iSLSGridPositionY; + + /// The view size width, height and rotation angle per SLS Target + ADLMode viewSize; + + /// The bit mask identifies the bits in iSLSTargetValue are currently used + int iSLSTargetMask; + + /// The bit mask identifies status info. It is for function extension purpose + int iSLSTargetValue; + +} ADLSLSTarget, *LPADLSLSTarget; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the Adapter offset stepping size. +/// +/// This structure is used to store the Adapter offset stepping size information. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLBezelOffsetSteppingSize +{ + /// the logic adapter index + int iAdapterIndex; + + /// The SLS map index + int iSLSMapIndex; + + /// Bezel X stepping size offset + int iBezelOffsetSteppingSizeX; + + /// Bezel Y stepping size offset + int iBezelOffsetSteppingSizeY; + + /// Identifies the bits this structure is currently using. It will be the total OR of all the bit definitions. + int iBezelOffsetSteppingSizeMask; + + /// Bit mask identifies the display status. + int iBezelOffsetSteppingSizeValue; + +} ADLBezelOffsetSteppingSize, *LPADLBezelOffsetSteppingSize; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about the overlap offset info for all the displays for each SLS mode. +/// +/// This structure is used to store the no. of overlapped modes for each SLS Mode once user finishes the configuration from Overlap Widget +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLSLSOverlappedMode +{ + /// the SLS mode for which the overlap is configured + ADLMode SLSMode; + /// the number of target displays in SLS. + int iNumSLSTarget; + /// the first target array index in the target array + int iFirstTargetArrayIndex; +}ADLSLSTargetOverlap, *LPADLSLSTargetOverlap; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about driver supported PowerExpress Config Caps +/// +/// This structure is used to store the driver supported PowerExpress Config Caps +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPXConfigCaps +{ + /// The Persistent logical Adapter Index. + int iAdapterIndex; + + /// The bit mask identifies the number of bits PowerExpress Config Caps is currently using. It is the sum of all the bit definitions defined in ADL_PX_CONFIGCAPS_XXXX /ref define_powerxpress_constants. + int iPXConfigCapMask; + + /// The bit mask identifies the PowerExpress Config Caps value. The detailed definition is in ADL_PX_CONFIGCAPS_XXXX /ref define_powerxpress_constants. + int iPXConfigCapValue; + +} ADLPXConfigCaps, *LPADLPXConfigCaps; + +///////////////////////////////////////////////////////////////////////////////////////// +///\brief Enum containing PX or HG type +/// +/// This enum is used to get PX or hG type +/// +/// \nosubgrouping +////////////////////////////////////////////////////////////////////////////////////////// +enum ADLPxType +{ + //Not AMD related PX/HG or not PX or HG at all + ADL_PX_NONE = 0, + //A+A PX + ADL_SWITCHABLE_AMDAMD = 1, + // A+A HG + ADL_HG_AMDAMD = 2, + //A+I PX + ADL_SWITCHABLE_AMDOTHER = 3, + //A+I HG + ADL_HG_AMDOTHER = 4, +}; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an application +/// +/// This structure is used to store basic information of an application +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLApplicationData +{ + /// Path Name + char strPathName[ADL_MAX_PATH]; + /// File Name + char strFileName[ADL_APP_PROFILE_FILENAME_LENGTH]; + /// Creation timestamp + char strTimeStamp[ADL_APP_PROFILE_TIMESTAMP_LENGTH]; + /// Version + char strVersion[ADL_APP_PROFILE_VERSION_LENGTH]; +}ADLApplicationData; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an application +/// +/// This structure is used to store basic information of an application +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLApplicationDataX2 +{ + /// Path Name + wchar_t strPathName[ADL_MAX_PATH]; + /// File Name + wchar_t strFileName[ADL_APP_PROFILE_FILENAME_LENGTH]; + /// Creation timestamp + wchar_t strTimeStamp[ADL_APP_PROFILE_TIMESTAMP_LENGTH]; + /// Version + wchar_t strVersion[ADL_APP_PROFILE_VERSION_LENGTH]; +}ADLApplicationDataX2; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an application +/// +/// This structure is used to store basic information of an application including process id +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLApplicationDataX3 +{ + /// Path Name + wchar_t strPathName[ADL_MAX_PATH]; + /// File Name + wchar_t strFileName[ADL_APP_PROFILE_FILENAME_LENGTH]; + /// Creation timestamp + wchar_t strTimeStamp[ADL_APP_PROFILE_TIMESTAMP_LENGTH]; + /// Version + wchar_t strVersion[ADL_APP_PROFILE_VERSION_LENGTH]; + //Application Process id + unsigned int iProcessId; +}ADLApplicationDataX3; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information of a property of an application profile +/// +/// This structure is used to store property information of an application profile +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _PropertyRecord +{ + /// Property Name + char strName [ADL_APP_PROFILE_PROPERTY_LENGTH]; + /// Property Type + ADLProfilePropertyType eType; + /// Data Size in bytes + int iDataSize; + /// Property Value, can be any data type + unsigned char uData[1]; +}PropertyRecord; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an application profile +/// +/// This structure is used to store information of an application profile +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLApplicationProfile +{ + /// Number of properties + int iCount; + /// Buffer to store all property records + PropertyRecord record[1]; +}ADLApplicationProfile; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an OD5 Power Control feature +/// +/// This structure is used to store information of an Power Control feature +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPowerControlInfo +{ +/// Minimum value. +int iMinValue; +/// Maximum value. +int iMaxValue; +/// The minimum change in between minValue and maxValue. +int iStepValue; + } ADLPowerControlInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an controller mode +/// +/// This structure is used to store information of an controller mode +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLControllerMode +{ + /// This falg indicates actions that will be applied by set viewport + /// The value can be a combination of ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_POSITION, + /// ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_PANLOCK and ADL_CONTROLLERMODE_CM_MODIFIER_VIEW_SIZE + int iModifiers; + + /// Horizontal view starting position + int iViewPositionCx; + + /// Vertical view starting position + int iViewPositionCy; + + /// Horizontal left panlock position + int iViewPanLockLeft; + + /// Horizontal right panlock position + int iViewPanLockRight; + + /// Vertical top panlock position + int iViewPanLockTop; + + /// Vertical bottom panlock position + int iViewPanLockBottom; + + /// View resolution in pixels (width) + int iViewResolutionCx; + + /// View resolution in pixels (hight) + int iViewResolutionCy; +}ADLControllerMode; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about a display +/// +/// This structure is used to store information about a display +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayIdentifier +{ + /// ADL display index + long ulDisplayIndex; + + /// manufacturer ID of the display + long ulManufacturerId; + + /// product ID of the display + long ulProductId; + + /// serial number of the display + long ulSerialNo; + +} ADLDisplayIdentifier; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 clock range +/// +/// This structure is used to store information about Overdrive 6 clock range +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6ParameterRange +{ + /// The starting value of the clock range + int iMin; + /// The ending value of the clock range + int iMax; + /// The minimum increment between clock values + int iStep; + +} ADLOD6ParameterRange; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 capabilities +/// +/// This structure is used to store information about Overdrive 6 capabilities +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6Capabilities +{ + /// Contains a bitmap of the OD6 capability flags. Possible values: \ref ADL_OD6_CAPABILITY_SCLK_CUSTOMIZATION, + /// \ref ADL_OD6_CAPABILITY_MCLK_CUSTOMIZATION, \ref ADL_OD6_CAPABILITY_GPU_ACTIVITY_MONITOR + int iCapabilities; + /// Contains a bitmap indicating the power states + /// supported by OD6. Currently only the performance state + /// is supported. Possible Values: \ref ADL_OD6_SUPPORTEDSTATE_PERFORMANCE + int iSupportedStates; + /// Number of levels. OD6 will always use 2 levels, which describe + /// the minimum to maximum clock ranges. + /// The 1st level indicates the minimum clocks, and the 2nd level + /// indicates the maximum clocks. + int iNumberOfPerformanceLevels; + /// Contains the hard limits of the sclk range. Overdrive + /// clocks cannot be set outside this range. + ADLOD6ParameterRange sEngineClockRange; + /// Contains the hard limits of the mclk range. Overdrive + /// clocks cannot be set outside this range. + ADLOD6ParameterRange sMemoryClockRange; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + +} ADLOD6Capabilities; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 clock values. +/// +/// This structure is used to store information about Overdrive 6 clock values. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6PerformanceLevel +{ + /// Engine (core) clock. + int iEngineClock; + /// Memory clock. + int iMemoryClock; + +} ADLOD6PerformanceLevel; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 clocks. +/// +/// This structure is used to store information about Overdrive 6 clocks. This is a +/// variable-sized structure. iNumberOfPerformanceLevels indicate how many elements +/// are contained in the aLevels array. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6StateInfo +{ + /// Number of levels. OD6 uses clock ranges instead of discrete performance levels. + /// iNumberOfPerformanceLevels is always 2. The 1st level indicates the minimum clocks + /// in the range. The 2nd level indicates the maximum clocks in the range. + int iNumberOfPerformanceLevels; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + + /// Variable-sized array of levels. + /// The number of elements in the array is specified by iNumberofPerformanceLevels. + ADLOD6PerformanceLevel aLevels [1]; + +} ADLOD6StateInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about current Overdrive 6 performance status. +/// +/// This structure is used to store information about current Overdrive 6 performance status. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6CurrentStatus +{ + /// Current engine clock in 10 KHz. + int iEngineClock; + /// Current memory clock in 10 KHz. + int iMemoryClock; + /// Current GPU activity in percent. This + /// indicates how "busy" the GPU is. + int iActivityPercent; + /// Not used. Reserved for future use. + int iCurrentPerformanceLevel; + /// Current PCI-E bus speed + int iCurrentBusSpeed; + /// Current PCI-E bus # of lanes + int iCurrentBusLanes; + /// Maximum possible PCI-E bus # of lanes + int iMaximumBusLanes; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + +} ADLOD6CurrentStatus; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 thermal contoller capabilities +/// +/// This structure is used to store information about Overdrive 6 thermal controller capabilities +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6ThermalControllerCaps +{ + /// Contains a bitmap of thermal controller capability flags. Possible values: \ref ADL_OD6_TCCAPS_THERMAL_CONTROLLER, \ref ADL_OD6_TCCAPS_FANSPEED_CONTROL, + /// \ref ADL_OD6_TCCAPS_FANSPEED_PERCENT_READ, \ref ADL_OD6_TCCAPS_FANSPEED_PERCENT_WRITE, \ref ADL_OD6_TCCAPS_FANSPEED_RPM_READ, \ref ADL_OD6_TCCAPS_FANSPEED_RPM_WRITE + int iCapabilities; + /// Minimum fan speed expressed as a percentage + int iFanMinPercent; + /// Maximum fan speed expressed as a percentage + int iFanMaxPercent; + /// Minimum fan speed expressed in revolutions-per-minute + int iFanMinRPM; + /// Maximum fan speed expressed in revolutions-per-minute + int iFanMaxRPM; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + +} ADLOD6ThermalControllerCaps; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 fan speed information +/// +/// This structure is used to store information about Overdrive 6 fan speed information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6FanSpeedInfo +{ + /// Contains a bitmap of the valid fan speed type flags. Possible values: \ref ADL_OD6_FANSPEED_TYPE_PERCENT, \ref ADL_OD6_FANSPEED_TYPE_RPM, \ref ADL_OD6_FANSPEED_USER_DEFINED + int iSpeedType; + /// Contains current fan speed in percent (if valid flag exists in iSpeedType) + int iFanSpeedPercent; + /// Contains current fan speed in RPM (if valid flag exists in iSpeedType) + int iFanSpeedRPM; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + +} ADLOD6FanSpeedInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 fan speed value +/// +/// This structure is used to store information about Overdrive 6 fan speed value +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6FanSpeedValue +{ + /// Indicates the units of the fan speed. Possible values: \ref ADL_OD6_FANSPEED_TYPE_PERCENT, \ref ADL_OD6_FANSPEED_TYPE_RPM + int iSpeedType; + /// Fan speed value (units as indicated above) + int iFanSpeed; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + +} ADLOD6FanSpeedValue; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 PowerControl settings. +/// +/// This structure is used to store information about Overdrive 6 PowerControl settings. +/// PowerControl is the feature which allows the performance characteristics of the GPU +/// to be adjusted by changing the PowerTune power limits. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6PowerControlInfo +{ + /// The minimum PowerControl adjustment value + int iMinValue; + /// The maximum PowerControl adjustment value + int iMaxValue; + /// The minimum difference between PowerControl adjustment values + int iStepValue; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + +} ADLOD6PowerControlInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 PowerControl settings. +/// +/// This structure is used to store information about Overdrive 6 PowerControl settings. +/// PowerControl is the feature which allows the performance characteristics of the GPU +/// to be adjusted by changing the PowerTune power limits. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6VoltageControlInfo +{ + /// The minimum VoltageControl adjustment value + int iMinValue; + /// The maximum VoltageControl adjustment value + int iMaxValue; + /// The minimum difference between VoltageControl adjustment values + int iStepValue; + + /// Value for future extension + int iExtValue; + /// Mask for future extension + int iExtMask; + +} ADLOD6VoltageControlInfo; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing ECC statistics namely SEC counts and DED counts +/// Single error count - count of errors that can be corrected +/// Doubt Error Detect - count of errors that cannot be corrected +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLECCData +{ + // Single error count - count of errors that can be corrected + int iSec; + // Double error detect - count of errors that cannot be corrected + int iDed; + +} ADLECCData; + + + + +/// \brief Handle to ADL client context. +/// +/// ADL clients obtain context handle from initial call to \ref ADL2_Main_Control_Create. +/// Clients have to pass the handle to each subsequent ADL call and finally destroy +/// the context with call to \ref ADL2_Main_Control_Destroy +/// \nosubgrouping +typedef void *ADL_CONTEXT_HANDLE; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the display mode definition used per controller. +/// +/// This structure is used to store the display mode definition used per controller. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDisplayModeX2 +{ +/// Horizontal resolution (in pixels). + int iWidth; +/// Vertical resolution (in lines). + int iHeight; +/// Interlaced/Progressive. The value will be set for Interlaced as ADL_DL_TIMINGFLAG_INTERLACED. If not set it is progressive. Refer define_detailed_timing_flags. + int iScanType; +/// Refresh rate. + int iRefreshRate; +/// Timing Standard. Refer define_modetiming_standard. + int iTimingStandard; +} ADLDisplayModeX2; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 extension capabilities +/// +/// This structure is used to store information about Overdrive 6 extension capabilities +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6CapabilitiesEx +{ + /// Contains a bitmap of the OD6 extension capability flags. Possible values: \ref ADL_OD6_CAPABILITY_SCLK_CUSTOMIZATION, + /// \ref ADL_OD6_CAPABILITY_MCLK_CUSTOMIZATION, \ref ADL_OD6_CAPABILITY_GPU_ACTIVITY_MONITOR, + /// \ref ADL_OD6_CAPABILITY_POWER_CONTROL, \ref ADL_OD6_CAPABILITY_VOLTAGE_CONTROL, \ref ADL_OD6_CAPABILITY_PERCENT_ADJUSTMENT, + //// \ref ADL_OD6_CAPABILITY_THERMAL_LIMIT_UNLOCK + int iCapabilities; + /// The Power states that support clock and power customization. Only performance state is currently supported. + /// Possible Values: \ref ADL_OD6_SUPPORTEDSTATE_PERFORMANCE + int iSupportedStates; + /// Returns the hard limits of the SCLK overdrive adjustment range. Overdrive clocks should not be adjusted outside of this range. The values are specified as +/- percentages. + ADLOD6ParameterRange sEngineClockPercent; + /// Returns the hard limits of the MCLK overdrive adjustment range. Overdrive clocks should not be adjusted outside of this range. The values are specified as +/- percentages. + ADLOD6ParameterRange sMemoryClockPercent; + /// Returns the hard limits of the Power Limit adjustment range. Power limit should not be adjusted outside this range. The values are specified as +/- percentages. + ADLOD6ParameterRange sPowerControlPercent; + /// Reserved for future expansion of the structure. + int iExtValue; + /// Reserved for future expansion of the structure. + int iExtMask; +} ADLOD6CapabilitiesEx; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 extension state information +/// +/// This structure is used to store information about Overdrive 6 extension state information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6StateEx +{ + /// The current engine clock adjustment value, specified as a +/- percent. + int iEngineClockPercent; + /// The current memory clock adjustment value, specified as a +/- percent. + int iMemoryClockPercent; + /// The current power control adjustment value, specified as a +/- percent. + int iPowerControlPercent; + /// Reserved for future expansion of the structure. + int iExtValue; + /// Reserved for future expansion of the structure. + int iExtMask; +} ADLOD6StateEx; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive 6 extension recommended maximum clock adjustment values +/// +/// This structure is used to store information about Overdrive 6 extension recommended maximum clock adjustment values +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD6MaxClockAdjust +{ + /// The recommended maximum engine clock adjustment in percent, for the specified power limit value. + int iEngineClockMax; + /// The recommended maximum memory clock adjustment in percent, for the specified power limit value. + /// Currently the memory is independent of the Power Limit setting, so iMemoryClockMax will always return the maximum + /// possible adjustment value. This field is here for future enhancement in case we add a dependency between Memory Clock + /// adjustment and Power Limit setting. + int iMemoryClockMax; + /// Reserved for future expansion of the structure. + int iExtValue; + /// Reserved for future expansion of the structure. + int iExtMask; +} ADLOD6MaxClockAdjust; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the Connector information +/// +/// this structure is used to get the connector information like length, positions & etc. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLConnectorInfo +{ + ///index of the connector(0-based) + int iConnectorIndex; + ///used for disply identification/ordering + int iConnectorId; + ///index of the slot, 0-based index. + int iSlotIndex; + ///Type of the connector. \ref define_connector_types + int iType; + ///Position of the connector(in millimeters), from the right side of the slot. + int iOffset; + ///Length of the connector(in millimeters). + int iLength; + +} ADLConnectorInfo; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing the slot information +/// +/// this structure is used to get the slot information like length of the slot, no of connectors on the slot & etc. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLBracketSlotInfo +{ + ///index of the slot, 0-based index. + int iSlotIndex; + ///length of the slot(in millimeters). + int iLength; + ///width of the slot(in millimeters). + int iWidth; +} ADLBracketSlotInfo; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing MST branch information +/// +/// this structure is used to store the MST branch information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLMSTRad +{ + ///depth of the link. + int iLinkNumber; + /// Relative address, address scheme starts from source side + char rad[ADL_MAX_RAD_LINK_COUNT]; +} ADLMSTRad; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing port information +/// +/// this structure is used to get the display or MST branch information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLDevicePort +{ + ///index of the connector. + int iConnectorIndex; + ///Relative MST address. If MST RAD contains 0 it means DP or Root of the MST topology. For non DP connectors MST RAD is ignored. + ADLMSTRad aMSTRad; +} ADLDevicePort; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing supported connection types and properties +/// +/// this structure is used to get the supported connection types and supported properties of given connector +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLSupportedConnections +{ + ///Bit vector of supported connections. Bitmask is defined in constants section. \ref define_connection_types + int iSupportedConnections; + ///Array of bitvectors. Each bit vector represents supported properties for one connection type. Index of this array is connection type (bit number in mask). + int iSupportedProperties[ADL_MAX_CONNECTION_TYPES]; +} ADLSupportedConnections; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing connection state of the connector +/// +/// this structure is used to get the current Emulation status and mode of the given connector +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLConnectionState +{ + ///The value is bit vector. Each bit represents status. See masks constants for details. \ref define_emulation_status + int iEmulationStatus; + ///It contains information about current emulation mode. See constants for details. \ref define_emulation_mode + int iEmulationMode; + ///If connection is active it will contain display id, otherwise CWDDEDI_INVALID_DISPLAY_INDEX + int iDisplayIndex; +} ADLConnectionState; + + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing connection properties information +/// +/// this structure is used to retrieve the properties of connection type +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLConnectionProperties +{ + //Bit vector. Represents actual properties. Supported properties for specific connection type. \ref define_connection_properties + int iValidProperties; + //Bitrate(in MHz). Could be used for MST branch, DP or DP active dongle. \ref define_linkrate_constants + int iBitrate; + //Number of lanes in DP connection. \ref define_lanecount_constants + int iNumberOfLanes; + //Color depth(in bits). \ref define_colordepth_constants + int iColorDepth; + //3D capabilities. It could be used for some dongles. For instance: alternate framepack. Value of this property is bit vector. + int iStereo3DCaps; + ///Output Bandwidth. Could be used for MST branch, DP or DP Active dongle. \ref define_linkrate_constants + int iOutputBandwidth; +} ADLConnectionProperties; + +//////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing connection information +/// +/// this structure is used to retrieve the data from driver which includes +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLConnectionData +{ + ///Connection type. based on the connection type either iNumberofPorts or IDataSize,EDIDdata is valid, \ref define_connection_types + int iConnectionType; + ///Specifies the connection properties. + ADLConnectionProperties aConnectionProperties; + ///Number of ports + int iNumberofPorts; + ///Number of Active Connections + int iActiveConnections; + ///actual size of EDID data block size. + int iDataSize; + ///EDID Data + char EdidData[ADL_MAX_DISPLAY_EDID_DATA_SIZE]; +} ADLConnectionData; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an controller mode including Number of Connectors +/// +/// This structure is used to store information of an controller mode +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLAdapterCapsX2 +{ + /// AdapterID for this adapter + int iAdapterID; + /// Number of controllers for this adapter + int iNumControllers; + /// Number of displays for this adapter + int iNumDisplays; + /// Number of overlays for this adapter + int iNumOverlays; + /// Number of GLSyncConnectors + int iNumOfGLSyncConnectors; + /// The bit mask identifies the adapter caps + int iCapsMask; + /// The bit identifies the adapter caps \ref define_adapter_caps + int iCapsValue; + /// Number of Connectors for this adapter + int iNumConnectors; +}ADLAdapterCapsX2; + +typedef enum _ADL_ERROR_RECORD_SEVERITY +{ + ADL_GLOBALLY_UNCORRECTED = 1, + ADL_LOCALLY_UNCORRECTED = 2, + ADL_DEFFERRED = 3, + ADL_CORRECTED = 4 +}ADL_ERROR_RECORD_SEVERITY; + +typedef union _ADL_ECC_EDC_FLAG +{ + struct + { + unsigned int isEccAccessing : 1; + unsigned int reserved : 31; + }bits; + unsigned int u32All; +}ADL_ECC_EDC_FLAG; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about EDC Error Record +/// +/// This structure is used to store EDC Error Record +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLErrorRecord +{ + // Severity of error + ADL_ERROR_RECORD_SEVERITY Severity; + + // Is the counter valid? + int countValid; + + // Counter value, if valid + unsigned int count; + + // Is the location information valid? + int locationValid; + + // Physical location of error + unsigned int CU; // CU number on which error occurred, if known + char StructureName[32]; // e.g. LDS, TCC, etc. + + // Time of error record creation (e.g. time of query, or time of poison interrupt) + char tiestamp[32]; + + unsigned int padding[3]; +}ADLErrorRecord; + +typedef enum _ADL_EDC_BLOCK_ID +{ + ADL_EDC_BLOCK_ID_SQCIS = 1, + ADL_EDC_BLOCK_ID_SQCDS = 2, + ADL_EDC_BLOCK_ID_SGPR = 3, + ADL_EDC_BLOCK_ID_VGPR = 4, + ADL_EDC_BLOCK_ID_LDS = 5, + ADL_EDC_BLOCK_ID_GDS = 6, + ADL_EDC_BLOCK_ID_TCL1 = 7, + ADL_EDC_BLOCK_ID_TCL2 = 8 +}ADL_EDC_BLOCK_ID; + +typedef enum _ADL_ERROR_INJECTION_MODE +{ + ADL_ERROR_INJECTION_MODE_SINGLE = 1, + ADL_ERROR_INJECTION_MODE_MULTIPLE = 2, + ADL_ERROR_INJECTION_MODE_ADDRESS = 3 +}ADL_ERROR_INJECTION_MODE; + +typedef union _ADL_ERROR_PATTERN +{ + struct + { + unsigned long EccInjVector : 16; + unsigned long EccInjEn : 9; + unsigned long EccBeatEn : 4; + unsigned long EccChEn : 4; + unsigned long reserved : 31; + } bits; + unsigned long long u64Value; +} ADL_ERROR_PATTERN; + +typedef struct _ADL_ERROR_INJECTION_DATA +{ + unsigned long long errorAddress; + ADL_ERROR_PATTERN errorPattern; +}ADL_ERROR_INJECTION_DATA; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about EDC Error Injection +/// +/// This structure is used to store EDC Error Injection +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLErrorInjection +{ + ADL_EDC_BLOCK_ID blockId; + ADL_ERROR_INJECTION_MODE errorInjectionMode; +}ADLErrorInjection; + +typedef struct ADLErrorInjectionX2 +{ + ADL_EDC_BLOCK_ID blockId; + ADL_ERROR_INJECTION_MODE errorInjectionMode; + ADL_ERROR_INJECTION_DATA errorInjectionData; +}ADLErrorInjectionX2; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing per display FreeSync capability information. +/// +/// This structure is used to store the FreeSync capability of both the display and +/// the GPU the display is connected to. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLFreeSyncCap +{ + /// FreeSync capability flags. \ref define_freesync_caps + int iCaps; + /// Reports minimum FreeSync refresh rate supported by the display in micro hertz + int iMinRefreshRateInMicroHz; + /// Reports maximum FreeSync refresh rate supported by the display in micro hertz + int iMaxRefreshRateInMicroHz; + /// Reserved + int iReserved[5]; +} ADLFreeSyncCap; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing per display Display Connectivty Experience Settings +/// +/// This structure is used to store the Display Connectivity Experience settings of a +/// display +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLDceSettings +{ + DceSettingsType type; // Defines which structure is in the union below + union + { + struct + { + bool qualityDetectionEnabled; + } HdmiLq; + struct + { + DpLinkRate linkRate; // Read-only + unsigned int numberOfActiveLanes; // Read-only + unsigned int numberofTotalLanes; // Read-only + int relativePreEmphasis; // Allowable values are -2 to +2 + int relativeVoltageSwing; // Allowable values are -2 to +2 + int persistFlag; + } DpLink; + struct + { + bool linkProtectionEnabled; // Read-only + } Protection; + } Settings; + int iReserved[15]; +} ADLDceSettings; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Graphic Core +/// +/// This structure is used to get Graphic Core Info +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLGraphicCoreInfo +{ + /// indicate the graphic core generation + int iGCGen; + + union + { + /// Total number of CUs. Valid for GCN (iGCGen == GCN) + int iNumCUs; + /// Total number of WGPs. Valid for RDNA (iGCGen == RDNA) + int iNumWGPs; + }; + + union + { + /// Number of processing elements per CU. Valid for GCN (iGCGen == GCN) + int iNumPEsPerCU; + /// Number of processing elements per WGP. Valid for RDNA (iGCGen == RDNA) + int iNumPEsPerWGP; + }; + + /// Total number of SIMDs. Valid for Pre GCN (iGCGen == Pre-GCN) + int iNumSIMDs; + + /// Total number of ROPs. Valid for both GCN and Pre GCN + int iNumROPs; + + /// reserved for future use + int iReserved[11]; +}ADLGraphicCoreInfo; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive N clock range +/// +/// This structure is used to store information about Overdrive N clock range +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLODNParameterRange +{ + /// The starting value of the clock range + int iMode; + /// The starting value of the clock range + int iMin; + /// The ending value of the clock range + int iMax; + /// The minimum increment between clock values + int iStep; + /// The default clock values + int iDefault; + +} ADLODNParameterRange; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive N capabilities +/// +/// This structure is used to store information about Overdrive N capabilities +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLODNCapabilities +{ + /// Number of levels which describe the minimum to maximum clock ranges. + /// The 1st level indicates the minimum clocks, and the 2nd level + /// indicates the maximum clocks. + int iMaximumNumberOfPerformanceLevels; + /// Contains the hard limits of the sclk range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange sEngineClockRange; + /// Contains the hard limits of the mclk range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange sMemoryClockRange; + /// Contains the hard limits of the vddc range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange svddcRange; + /// Contains the hard limits of the power range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange power; + /// Contains the hard limits of the power range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange powerTuneTemperature; + /// Contains the hard limits of the Temperature range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange fanTemperature; + /// Contains the hard limits of the Fan range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange fanSpeed; + /// Contains the hard limits of the Fan range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange minimumPerformanceClock; +} ADLODNCapabilities; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive N capabilities +/// +/// This structure is used to store information about Overdrive N capabilities +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLODNCapabilitiesX2 +{ + /// Number of levels which describe the minimum to maximum clock ranges. + /// The 1st level indicates the minimum clocks, and the 2nd level + /// indicates the maximum clocks. + int iMaximumNumberOfPerformanceLevels; + /// bit vector, which tells what are the features are supported. + /// \ref: ADLODNFEATURECONTROL + int iFlags; + /// Contains the hard limits of the sclk range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange sEngineClockRange; + /// Contains the hard limits of the mclk range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange sMemoryClockRange; + /// Contains the hard limits of the vddc range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange svddcRange; + /// Contains the hard limits of the power range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange power; + /// Contains the hard limits of the power range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange powerTuneTemperature; + /// Contains the hard limits of the Temperature range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange fanTemperature; + /// Contains the hard limits of the Fan range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange fanSpeed; + /// Contains the hard limits of the Fan range. Overdrive + /// clocks cannot be set outside this range. + ADLODNParameterRange minimumPerformanceClock; + /// Contains the hard limits of the throttleNotification + ADLODNParameterRange throttleNotificaion; + /// Contains the hard limits of the Auto Systemclock + ADLODNParameterRange autoSystemClock; +} ADLODNCapabilitiesX2; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive level. +/// +/// This structure is used to store information about Overdrive level. +/// This structure is used by ADLODPerformanceLevels. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODNPerformanceLevel +{ + /// clock. + int iClock; + /// VDCC. + int iVddc; + /// enabled + int iEnabled; +} ADLODNPerformanceLevel; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive N performance levels. +/// +/// This structure is used to store information about Overdrive performance levels. +/// This structure is used by the ADL_OverdriveN_ODPerformanceLevels_Get() and ADL_OverdriveN_ODPerformanceLevels_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODNPerformanceLevels +{ + int iSize; + //Automatic/manual + int iMode; + /// Must be set to sizeof( \ref ADLODPerformanceLevels ) + sizeof( \ref ADLODPerformanceLevel ) * (ADLODParameters.iNumberOfPerformanceLevels - 1) + int iNumberOfPerformanceLevels; + /// Array of performance state descriptors. Must have ADLODParameters.iNumberOfPerformanceLevels elements. + ADLODNPerformanceLevel aLevels[1]; +} ADLODNPerformanceLevels; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive N Fan Speed. +/// +/// This structure is used to store information about Overdrive Fan control . +/// This structure is used by the ADL_OverdriveN_ODPerformanceLevels_Get() and ADL_OverdriveN_ODPerformanceLevels_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODNFanControl +{ + int iMode; + int iFanControlMode; + int iCurrentFanSpeedMode; + int iCurrentFanSpeed; + int iTargetFanSpeed; + int iTargetTemperature; + int iMinPerformanceClock; + int iMinFanLimit; +} ADLODNFanControl; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive N power limit. +/// +/// This structure is used to store information about Overdrive power limit. +/// This structure is used by the ADL_OverdriveN_ODPerformanceLevels_Get() and ADL_OverdriveN_ODPerformanceLevels_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODNPowerLimitSetting +{ + int iMode; + int iTDPLimit; + int iMaxOperatingTemperature; +} ADLODNPowerLimitSetting; + +typedef struct ADLODNPerformanceStatus +{ + int iCoreClock; + int iMemoryClock; + int iDCEFClock; + int iGFXClock; + int iUVDClock; + int iVCEClock; + int iGPUActivityPercent; + int iCurrentCorePerformanceLevel; + int iCurrentMemoryPerformanceLevel; + int iCurrentDCEFPerformanceLevel; + int iCurrentGFXPerformanceLevel; + int iUVDPerformanceLevel; + int iVCEPerformanceLevel; + int iCurrentBusSpeed; + int iCurrentBusLanes; + int iMaximumBusLanes; + int iVDDC; + int iVDDCI; +} ADLODNPerformanceStatus; + +///\brief Structure containing information about Overdrive level. +/// +/// This structure is used to store information about Overdrive level. +/// This structure is used by ADLODPerformanceLevels. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODNPerformanceLevelX2 +{ + /// clock. + int iClock; + /// VDCC. + int iVddc; + /// enabled + int iEnabled; + /// MASK + int iControl; +} ADLODNPerformanceLevelX2; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive N performance levels. +/// +/// This structure is used to store information about Overdrive performance levels. +/// This structure is used by the ADL_OverdriveN_ODPerformanceLevels_Get() and ADL_OverdriveN_ODPerformanceLevels_Set() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLODNPerformanceLevelsX2 +{ + int iSize; + //Automatic/manual + int iMode; + /// Must be set to sizeof( \ref ADLODPerformanceLevels ) + sizeof( \ref ADLODPerformanceLevel ) * (ADLODParameters.iNumberOfPerformanceLevels - 1) + int iNumberOfPerformanceLevels; + /// Array of performance state descriptors. Must have ADLODParameters.iNumberOfPerformanceLevels elements. + ADLODNPerformanceLevelX2 aLevels[1]; +} ADLODNPerformanceLevelsX2; + +typedef enum _ADLODNCurrentPowerType +{ + ODN_GPU_TOTAL_POWER = 0, + ODN_GPU_PPT_POWER, + ODN_GPU_SOCKET_POWER, + ODN_GPU_CHIP_POWER +} ADLODNCurrentPowerType; + +// in/out: CWDDEPM_CURRENTPOWERPARAMETERS +typedef struct _ADLODNCurrentPowerParameters +{ + int size; + ADLODNCurrentPowerType powerType; + int currentPower; +} ADLODNCurrentPowerParameters; + +//ODN Ext range data structure +typedef struct _ADLODNExtSingleInitSetting +{ + int mode; + int minValue; + int maxValue; + int step; + int defaultValue; +} ADLODNExtSingleInitSetting; + +//OD8 Ext range data structure +typedef struct _ADLOD8SingleInitSetting +{ + int featureID; + int minValue; + int maxValue; + int defaultValue; +} ADLOD8SingleInitSetting; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive8 initial setting +/// +/// This structure is used to store information about Overdrive8 initial setting +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD8InitSetting +{ + int count; + int overdrive8Capabilities; + ADLOD8SingleInitSetting od8SettingTable[OD8_COUNT]; +} ADLOD8InitSetting; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive8 current setting +/// +/// This structure is used to store information about Overdrive8 current setting +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLOD8CurrentSetting +{ + int count; + int Od8SettingTable[OD8_COUNT]; +} ADLOD8CurrentSetting; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Overdrive8 set setting +/// +/// This structure is used to store information about Overdrive8 set setting +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + +typedef struct _ADLOD8SingleSetSetting +{ + int value; + int requested; // 0 - default , 1 - requested + int reset; // 0 - do not reset , 1 - reset setting back to default +} ADLOD8SingleSetSetting; + + +typedef struct _ADLOD8SetSetting +{ + int count; + ADLOD8SingleSetSetting od8SettingTable[OD8_COUNT]; +} ADLOD8SetSetting; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about Performance Metrics data +/// +/// This structure is used to store information about Performance Metrics data output +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLSingleSensorData +{ + int supported; + int value; +} ADLSingleSensorData; + +typedef struct _ADLPMLogDataOutput +{ + int size; + ADLSingleSensorData sensors[ADL_PMLOG_MAX_SENSORS]; +}ADLPMLogDataOutput; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about PPLog settings. +/// +/// This structure is used to store information about PPLog settings. +/// This structure is used by the ADL2_PPLogSettings_Set() and ADL2_PPLogSettings_Get() functions. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct ADLPPLogSettings +{ + int BreakOnAssert; + int BreakOnWarn; + int LogEnabled; + int LogFieldMask; + int LogDestinations; + int LogSeverityEnabled; + int LogSourceMask; + int PowerProfilingEnabled; + int PowerProfilingTimeInterval; +}ADLPPLogSettings; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related Frames Per Second for AC and DC. +/// +/// This structure is used to store information related AC and DC Frames Per Second settings +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLFPSSettingsOutput +{ + /// size + int ulSize; + /// FPS Monitor is enabled in the AC state if 1 + int bACFPSEnabled; + /// FPS Monitor is enabled in the DC state if 1 + int bDCFPSEnabled; + /// Current Value of FPS Monitor in AC state + int ulACFPSCurrent; + /// Current Value of FPS Monitor in DC state + int ulDCFPSCurrent; + /// Maximum FPS Threshold allowed in PPLib for AC + int ulACFPSMaximum; + /// Minimum FPS Threshold allowed in PPLib for AC + int ulACFPSMinimum; + /// Maximum FPS Threshold allowed in PPLib for DC + int ulDCFPSMaximum; + /// Minimum FPS Threshold allowed in PPLib for DC + int ulDCFPSMinimum; + +} ADLFPSSettingsOutput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related Frames Per Second for AC and DC. +/// +/// This structure is used to store information related AC and DC Frames Per Second settings +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLFPSSettingsInput +{ + /// size + int ulSize; + /// Settings are for Global FPS (used by CCC) + int bGlobalSettings; + /// Current Value of FPS Monitor in AC state + int ulACFPSCurrent; + /// Current Value of FPS Monitor in DC state + int ulDCFPSCurrent; + /// Reserved + int ulReserved[6]; + +} ADLFPSSettingsInput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related power management logging. +/// +/// This structure is used to store support information for power management logging. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +enum { ADL_PMLOG_MAX_SUPPORTED_SENSORS = 256 }; + +typedef struct _ADLPMLogSupportInfo +{ + /// list of sensors defined by ADL_PMLOG_SENSORS + unsigned short usSensors[ADL_PMLOG_MAX_SUPPORTED_SENSORS]; + /// Reserved + int ulReserved[16]; + +} ADLPMLogSupportInfo; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information to start power management logging. +/// +/// This structure is used as input to ADL2_Adapter_PMLog_Start +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLPMLogStartInput +{ + /// list of sensors defined by ADL_PMLOG_SENSORS + unsigned short usSensors[ADL_PMLOG_MAX_SUPPORTED_SENSORS]; + /// Sample rate in milliseconds + unsigned long ulSampleRate; + /// Reserved + int ulReserved[15]; + +} ADLPMLogStartInput; + +typedef struct _ADLPMLogData +{ + /// Structure version + unsigned int ulVersion; + /// Current driver sample rate + unsigned int ulActiveSampleRate; + /// Timestamp of last update + unsigned long long ulLastUpdated; + /// 2D array of senesor and values + unsigned int ulValues[ADL_PMLOG_MAX_SUPPORTED_SENSORS][2]; + /// Reserved + unsigned int ulReserved[256]; + +} ADLPMLogData; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information to start power management logging. +/// +/// This structure is returned as output from ADL2_Adapter_PMLog_Start +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLPMLogStartOutput +{ + /// Pointer to memory address containing logging data + union + { + void* pLoggingAddress; + unsigned long long ptr_LoggingAddress; + }; + /// Reserved + int ulReserved[14]; + +} ADLPMLogStartOutput; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Get Error Counts Information +/// +/// This structure is used to store RAS Error Counts Get Input Information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + +typedef struct _ADLRASGetErrorCountsInput +{ + unsigned int Reserved[16]; +} ADLRASGetErrorCountsInput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Get Error Counts Information +/// +/// This structure is used to store RAS Error Counts Get Output Information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + + +typedef struct _ADLRASGetErrorCountsOutput +{ + unsigned int CorrectedErrors; // includes both DRAM and SRAM ECC + unsigned int UnCorrectedErrors; // includes both DRAM and SRAM ECC + unsigned int Reserved[14]; +} ADLRASGetErrorCountsOutput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Get Error Counts Information +/// +/// This structure is used to store RAS Error Counts Get Information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + +typedef struct _ADLRASGetErrorCounts +{ + unsigned int InputSize; + ADLRASGetErrorCountsInput Input; + unsigned int OutputSize; + ADLRASGetErrorCountsOutput Output; +} ADLRASGetErrorCounts; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Error Counts Reset Information +/// +/// This structure is used to store RAS Error Counts Reset Input Information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + + +typedef struct _ADLRASResetErrorCountsInput +{ + unsigned int Reserved[8]; +} ADLRASResetErrorCountsInput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Error Counts Reset Information +/// +/// This structure is used to store RAS Error Counts Reset Output Information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + + +typedef struct _ADLRASResetErrorCountsOutput +{ + unsigned int Reserved[8]; +} ADLRASResetErrorCountsOutput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Error Counts Reset Information +/// +/// This structure is used to store RAS Error Counts Reset Information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + + +typedef struct _ADLRASResetErrorCounts +{ + unsigned int InputSize; + ADLRASResetErrorCountsInput Input; + unsigned int OutputSize; + ADLRASResetErrorCountsOutput Output; +} ADLRASResetErrorCounts; + + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Error Injection information +/// +/// This structure is used to store RAS Error Injection input information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + +typedef struct _ADLRASErrorInjectonInput +{ + unsigned long long Address; + ADL_RAS_INJECTION_METHOD Value; + ADL_RAS_BLOCK_ID BlockId; + ADL_RAS_ERROR_TYPE InjectErrorType; + ADL_MEM_SUB_BLOCK_ID SubBlockIndex; + unsigned int padding[9]; +} ADLRASErrorInjectonInput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Error Injection information +/// +/// This structure is used to store RAS Error Injection output information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + + +typedef struct _ADLRASErrorInjectionOutput +{ + unsigned int ErrorInjectionStatus; + unsigned int padding[15]; +} ADLRASErrorInjectionOutput; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related RAS Error Injection information +/// +/// This structure is used to store RAS Error Injection information +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// + + +typedef struct _ADLRASErrorInjection +{ + unsigned int InputSize; + ADLRASErrorInjectonInput Input; + unsigned int OutputSize; + ADLRASErrorInjectionOutput Output; +} ADLRASErrorInjection; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about an application +/// +/// This structure is used to store basic information of a recently ran or currently running application +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADLSGApplicationInfo +{ + /// Application file name + wchar_t strFileName[ADL_MAX_PATH]; + /// Application file path + wchar_t strFilePath[ADL_MAX_PATH]; + /// Application version + wchar_t strVersion[ADL_MAX_PATH]; + /// Timestamp at which application has run + long long int timeStamp; + /// Holds whether the applicaition profile exists or not + unsigned int iProfileExists; + /// The GPU on which application runs + unsigned int iGPUAffinity; + /// The BDF of the GPU on which application runs + ADLBdf GPUBdf; +} ADLSGApplicationInfo; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information related Frames Per Second for AC and DC. +/// +/// This structure is used to store information related AC and DC Frames Per Second settings +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +enum { ADLPreFlipPostProcessingInfoInvalidLUTIndex = 0xFFFFFFFF }; + +enum ADLPreFlipPostProcessingLUTAlgorithm +{ + ADLPreFlipPostProcessingLUTAlgorithm_Default = 0, + ADLPreFlipPostProcessingLUTAlgorithm_Full, + ADLPreFlipPostProcessingLUTAlgorithm_Approximation +}; + +typedef struct _ADLPreFlipPostProcessingInfo +{ + /// size + int ulSize; + /// Current active state + int bEnabled; + /// Current selected LUT index. 0xFFFFFFF returned if nothing selected. + int ulSelectedLUTIndex; + /// Current selected LUT Algorithm + int ulSelectedLUTAlgorithm; + /// Reserved + int ulReserved[12]; + +} ADLPreFlipPostProcessingInfo; + + + +typedef struct _ADL_ERROR_REASON +{ + int boost; //ON, when boost is Enabled + int delag; //ON, when delag is Enabled + int chill; //ON, when chill is Enabled +}ADL_ERROR_REASON; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about DELAG Settings change reason +/// +/// Elements of DELAG settings changed reason. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_DELAG_NOTFICATION_REASON +{ + int HotkeyChanged; //Set when Hotkey value is changed + int GlobalEnableChanged; //Set when Global enable value is changed + int GlobalLimitFPSChanged; //Set when Global enable value is changed +}ADL_DELAG_NOTFICATION_REASON; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about DELAG Settings +/// +/// Elements of DELAG settings. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_DELAG_SETTINGS +{ + int Hotkey; // Hotkey value + int GlobalEnable; //Global enable value + int GlobalLimitFPS; //Global Limit FPS + int GlobalLimitFPS_MinLimit; //Gloabl Limit FPS slider min limit value + int GlobalLimitFPS_MaxLimit; //Gloabl Limit FPS slider max limit value + int GlobalLimitFPS_Step; //Gloabl Limit FPS step value +}ADL_DELAG_SETTINGS; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about BOOST Settings change reason +/// +/// Elements of BOOST settings changed reason. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_BOOST_NOTFICATION_REASON +{ + int HotkeyChanged; //Set when Hotkey value is changed + int GlobalEnableChanged; //Set when Global enable value is changed + int GlobalMinResChanged; //Set when Global min resolution value is changed +}ADL_BOOST_NOTFICATION_REASON; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about BOOST Settings +/// +/// Elements of BOOST settings. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_BOOST_SETTINGS +{ + int Hotkey; // Hotkey value + int GlobalEnable; //Global enable value + int GlobalMinRes; //Gloabl Min Resolution value + int GlobalMinRes_MinLimit; //Gloabl Min Resolution slider min limit value + int GlobalMinRes_MaxLimit; //Gloabl Min Resolution slider max limit value + int GlobalMinRes_Step; //Gloabl Min Resolution step value +}ADL_BOOST_SETTINGS; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about RIS Settings change reason +/// +/// Elements of RIS settings changed reason. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_RIS_NOTFICATION_REASON +{ + unsigned int GlobalEnableChanged; //Set when Global enable value is changed + unsigned int GlobalSharpeningDegreeChanged; //Set when Global sharpening Degree value is changed +}ADL_RIS_NOTFICATION_REASON; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about RIS Settings +/// +/// Elements of RIS settings. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_RIS_SETTINGS +{ + int GlobalEnable; //Global enable value + int GlobalSharpeningDegree; //Global sharpening value + int GlobalSharpeningDegree_MinLimit; //Gloabl sharpening slider min limit value + int GlobalSharpeningDegree_MaxLimit; //Gloabl sharpening slider max limit value + int GlobalSharpeningDegree_Step; //Gloabl sharpening step value +}ADL_RIS_SETTINGS; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about CHILL Settings change reason +/// +/// Elements of Chiil settings changed reason. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_CHILL_NOTFICATION_REASON +{ + int HotkeyChanged; //Set when Hotkey value is changed + int GlobalEnableChanged; //Set when Global enable value is changed + int GlobalMinFPSChanged; //Set when Global min FPS value is changed + int GlobalMaxFPSChanged; //Set when Global max FPS value is changed +}ADL_CHILL_NOTFICATION_REASON; + +///////////////////////////////////////////////////////////////////////////////////////////// +///\brief Structure containing information about CHILL Settings +/// +/// Elements of Chiil settings. +/// \nosubgrouping +//////////////////////////////////////////////////////////////////////////////////////////// +typedef struct _ADL_CHILL_SETTINGS +{ + int Hotkey; // Hotkey value + int GlobalEnable; //Global enable value + int GlobalMinFPS; //Global Min FPS value + int GlobalMaxFPS; //Global Max FPS value + int GlobalFPS_MinLimit; //Gloabl FPS slider min limit value + int GlobalFPS_MaxLimit; //Gloabl FPS slider max limit value + int GlobalFPS_Step; //Gloabl FPS Slider step value +}ADL_CHILL_SETTINGS; +#endif /* ADL_STRUCTURES_H_ */ diff --git a/src/backend/common/WorkerJob.h b/src/backend/common/WorkerJob.h index 2ea41476..3511c1ff 100644 --- a/src/backend/common/WorkerJob.h +++ b/src/backend/common/WorkerJob.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -64,13 +64,17 @@ public: } - inline void nextRound(uint32_t rounds, uint32_t roundSize) + inline bool nextRound(uint32_t rounds, uint32_t roundSize) { + bool ok = true; m_rounds[index()]++; if ((m_rounds[index()] % rounds) == 0) { for (size_t i = 0; i < N; ++i) { - *nonce(i) = Nonce::next(index(), *nonce(i), rounds * roundSize, currentJob().isNicehash()); + *nonce(i) = Nonce::next(index(), *nonce(i), rounds * roundSize, currentJob().isNicehash(), &ok); + if (!ok) { + break; + } } } else { @@ -78,6 +82,8 @@ public: *nonce(i) += roundSize; } } + + return ok; } @@ -114,16 +120,19 @@ inline uint32_t *xmrig::WorkerJob<1>::nonce(size_t) template<> -inline void xmrig::WorkerJob<1>::nextRound(uint32_t rounds, uint32_t roundSize) +inline bool xmrig::WorkerJob<1>::nextRound(uint32_t rounds, uint32_t roundSize) { + bool ok = true; m_rounds[index()]++; if ((m_rounds[index()] % rounds) == 0) { - *nonce() = Nonce::next(index(), *nonce(), rounds * roundSize, currentJob().isNicehash()); + *nonce() = Nonce::next(index(), *nonce(), rounds * roundSize, currentJob().isNicehash(), &ok); } else { *nonce() += roundSize; } + + return ok; } diff --git a/src/backend/common/interfaces/IBackend.h b/src/backend/common/interfaces/IBackend.h index c6e05bcf..bdaf5463 100644 --- a/src/backend/common/interfaces/IBackend.h +++ b/src/backend/common/interfaces/IBackend.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -56,6 +56,7 @@ public: virtual void execCommand(char command) = 0; virtual void prepare(const Job &nextJob) = 0; virtual void printHashrate(bool details) = 0; + virtual void printHealth() = 0; virtual void setJob(const Job &job) = 0; virtual void start(IWorker *worker, bool ready) = 0; virtual void stop() = 0; diff --git a/src/backend/cpu/CpuBackend.cpp b/src/backend/cpu/CpuBackend.cpp index ac459497..9ada1637 100644 --- a/src/backend/cpu/CpuBackend.cpp +++ b/src/backend/cpu/CpuBackend.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -319,6 +319,11 @@ void xmrig::CpuBackend::printHashrate(bool details) } +void xmrig::CpuBackend::printHealth() +{ +} + + void xmrig::CpuBackend::setJob(const Job &job) { if (!isEnabled()) { diff --git a/src/backend/cpu/CpuBackend.h b/src/backend/cpu/CpuBackend.h index d0e2267a..1046ec35 100644 --- a/src/backend/cpu/CpuBackend.h +++ b/src/backend/cpu/CpuBackend.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -59,6 +59,7 @@ protected: const String &type() const override; void prepare(const Job &nextJob) override; void printHashrate(bool details) override; + void printHealth() override; void setJob(const Job &job) override; void start(IWorker *worker, bool ready) override; void stop() override; diff --git a/src/backend/cpu/CpuWorker.cpp b/src/backend/cpu/CpuWorker.cpp index 0403d9c5..535ecd6b 100644 --- a/src/backend/cpu/CpuWorker.cpp +++ b/src/backend/cpu/CpuWorker.cpp @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -48,6 +48,20 @@ namespace xmrig { static constexpr uint32_t kReserveCount = 32768; + +template +inline bool nextRound(WorkerJob &job) +{ + if (!job.nextRound(kReserveCount, 1)) { + JobResults::done(job.currentJob()); + + return false; + } + + return true; +} + + } // namespace xmrig @@ -221,14 +235,20 @@ void xmrig::CpuWorker::start() first = false; randomx_calculate_hash_first(m_vm->get(), tempHash, m_job.blob(), job.size()); } - m_job.nextRound(kReserveCount, 1); + + if (!nextRound(m_job)) { + break; + } + randomx_calculate_hash_next(m_vm->get(), tempHash, m_job.blob(), job.size(), m_hash); } else # endif { fn(job.algorithm())(m_job.blob(), job.size(), m_hash, m_ctx, job.height()); - m_job.nextRound(kReserveCount, 1); + if (!nextRound(m_job)) { + break; + }; } for (size_t i = 0; i < N; ++i) { diff --git a/src/backend/cpu/CpuWorker.h b/src/backend/cpu/CpuWorker.h index 11aba047..d9528cf9 100644 --- a/src/backend/cpu/CpuWorker.h +++ b/src/backend/cpu/CpuWorker.h @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/backend/cuda/CudaBackend.cpp b/src/backend/cuda/CudaBackend.cpp index 5bb1cbdd..b6878408 100644 --- a/src/backend/cuda/CudaBackend.cpp +++ b/src/backend/cuda/CudaBackend.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -254,7 +254,8 @@ public: } } - LOG_INFO(CYAN_BOLD("#%u") YELLOW(" %s") MAGENTA_BOLD("%4uW") CSI "1;%um %2uC" CLEAR WHITE_BOLD("%s") "%s", + LOG_INFO("%s" CYAN_BOLD(" #%u") YELLOW(" %s") MAGENTA_BOLD("%4uW") CSI "1;%um %2uC" CLEAR WHITE_BOLD("%s") "%s", + tag, device.index(), device.topology().toString().data(), health.power, @@ -338,13 +339,8 @@ const xmrig::String &xmrig::CudaBackend::type() const } -void xmrig::CudaBackend::execCommand(char command) +void xmrig::CudaBackend::execCommand(char) { -# ifdef XMRIG_FEATURE_NVML - if (command == 'e' || command == 'E') { - d_ptr->printHealth(); - } -# endif } @@ -387,6 +383,14 @@ void xmrig::CudaBackend::printHashrate(bool details) } +void xmrig::CudaBackend::printHealth() +{ +# ifdef XMRIG_FEATURE_NVML + d_ptr->printHealth(); +# endif +} + + void xmrig::CudaBackend::setJob(const Job &job) { const auto &cuda = d_ptr->controller->config()->cuda(); @@ -455,15 +459,6 @@ void xmrig::CudaBackend::stop() void xmrig::CudaBackend::tick(uint64_t ticks) { d_ptr->workers.tick(ticks); - -# ifdef XMRIG_FEATURE_NVML - if (isEnabled()) { - auto seconds = d_ptr->controller->config()->healthPrintTime(); - if (seconds && ticks && (ticks % (seconds * 2)) == 0) { - d_ptr->printHealth(); - } - } -# endif } diff --git a/src/backend/cuda/CudaBackend.h b/src/backend/cuda/CudaBackend.h index cf0bb621..2e82c589 100644 --- a/src/backend/cuda/CudaBackend.h +++ b/src/backend/cuda/CudaBackend.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -59,6 +59,7 @@ protected: void execCommand(char command) override; void prepare(const Job &nextJob) override; void printHashrate(bool details) override; + void printHealth() override; void setJob(const Job &job) override; void start(IWorker *worker, bool ready) override; void stop() override; diff --git a/src/backend/cuda/CudaWorker.cpp b/src/backend/cuda/CudaWorker.cpp index c9cb602c..6823a919 100644 --- a/src/backend/cuda/CudaWorker.cpp +++ b/src/backend/cuda/CudaWorker.cpp @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -139,7 +139,9 @@ void xmrig::CudaWorker::start() } const size_t batch_size = intensity(); - m_job.nextRound(roundSize(batch_size), batch_size); + if (!m_job.nextRound(roundSize(batch_size), batch_size)) { + JobResults::done(m_job.currentJob()); + } storeStats(); std::this_thread::yield(); diff --git a/src/backend/cuda/CudaWorker.h b/src/backend/cuda/CudaWorker.h index f717ca50..3ceee870 100644 --- a/src/backend/cuda/CudaWorker.h +++ b/src/backend/cuda/CudaWorker.h @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/backend/opencl/OclBackend.cpp b/src/backend/opencl/OclBackend.cpp index af97b71e..5cbf57b7 100644 --- a/src/backend/opencl/OclBackend.cpp +++ b/src/backend/opencl/OclBackend.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,11 +27,11 @@ #include +#include "backend/opencl/OclBackend.h" #include "backend/common/Hashrate.h" #include "backend/common/interfaces/IWorker.h" #include "backend/common/Tags.h" #include "backend/common/Workers.h" -#include "backend/opencl/OclBackend.h" #include "backend/opencl/OclConfig.h" #include "backend/opencl/OclLaunchData.h" #include "backend/opencl/OclWorker.h" @@ -52,6 +52,13 @@ #endif +#ifdef XMRIG_FEATURE_ADL +#include "backend/opencl/wrappers/AdlLib.h" + +namespace xmrig { static const char *kAdlLabel = "ADL"; } +#endif + + namespace xmrig { @@ -59,14 +66,15 @@ extern template class Threads; constexpr const size_t oneMiB = 1024U * 1024U; +static const char *kLabel = "OPENCL"; static const char *tag = MAGENTA_BG_BOLD(WHITE_BOLD_S " ocl "); static const String kType = "opencl"; static std::mutex mutex; -static void printDisabled(const char *reason) +static void printDisabled(const char *label, const char *reason) { - Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") RED_BOLD("disabled") "%s", "OPENCL", reason); + Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") RED_BOLD("disabled") "%s", label, reason); } @@ -129,11 +137,11 @@ public: void init(const OclConfig &cl) { if (!cl.isEnabled()) { - return printDisabled(""); + return printDisabled(kLabel, ""); } if (!OclLib::init(cl.loader())) { - return printDisabled(RED_S " (failed to load OpenCL runtime)"); + return printDisabled(kLabel, RED_S " (failed to load OpenCL runtime)"); } if (platform.isValid()) { @@ -142,14 +150,30 @@ public: platform = cl.platform(); if (!platform.isValid()) { - return printDisabled(RED_S " (selected OpenCL platform NOT found)"); + return printDisabled(kLabel, RED_S " (selected OpenCL platform NOT found)"); } devices = platform.devices(); if (devices.empty()) { - return printDisabled(RED_S " (no devices)"); + return printDisabled(kLabel, RED_S " (no devices)"); } +# ifdef XMRIG_FEATURE_ADL + if (cl.isAdlEnabled()) { + if (AdlLib::init()) { + Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") "press " MAGENTA_BG(WHITE_BOLD_S "e") " for health report", + kAdlLabel + ); + } + else { + printDisabled(kAdlLabel, RED_S " (failed to load ADL)"); + } + } + else { + printDisabled(kAdlLabel, ""); + } +# endif + Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") CYAN_BOLD("#%zu ") WHITE_BOLD("%s") "/" WHITE_BOLD("%s"), "OPENCL", platform.index(), platform.name().data(), platform.version().data()); for (const OclDevice &device : devices) { @@ -204,6 +228,32 @@ public: } +# ifdef XMRIG_FEATURE_ADL + void printHealth() + { + if (!AdlLib::isReady()) { + return; + } + + for (const auto &device : devices) { + const auto health = AdlLib::health(device); + + LOG_INFO("%s" CYAN_BOLD(" #%u") YELLOW(" %s") MAGENTA_BOLD("%4uW") CSI "1;%um %2uC" CYAN_BOLD(" %4u") CYAN("RPM") WHITE_BOLD(" %u/%u") "MHz", + tag, + device.index(), + device.topology().toString().data(), + health.power, + health.temperature < 60 ? 32 : (health.temperature > 85 ? 31 : 33), + health.temperature, + health.rpm, + health.clock, + health.memClock + ); + } + } +# endif + + Algorithm algo; Controller *controller; OclContext context; @@ -237,6 +287,10 @@ xmrig::OclBackend::~OclBackend() delete d_ptr; OclLib::close(); + +# ifdef XMRIG_FEATURE_ADL + AdlLib::close(); +# endif } @@ -270,6 +324,11 @@ const xmrig::String &xmrig::OclBackend::type() const } +void xmrig::OclBackend::execCommand(char) +{ +} + + void xmrig::OclBackend::prepare(const Job &) { } @@ -309,6 +368,14 @@ void xmrig::OclBackend::printHashrate(bool details) } +void xmrig::OclBackend::printHealth() +{ +# ifdef XMRIG_FEATURE_ADL + d_ptr->printHealth(); +# endif +} + + void xmrig::OclBackend::setJob(const Job &job) { const auto &cl = d_ptr->controller->config()->cl(); diff --git a/src/backend/opencl/OclBackend.h b/src/backend/opencl/OclBackend.h index 59bea0aa..0ed7b8eb 100644 --- a/src/backend/opencl/OclBackend.h +++ b/src/backend/opencl/OclBackend.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,15 +51,15 @@ public: ~OclBackend() override; protected: - inline void execCommand(char) override {} - bool isEnabled() const override; bool isEnabled(const Algorithm &algorithm) const override; const Hashrate *hashrate() const override; const String &profileName() const override; const String &type() const override; + void execCommand(char command) override; void prepare(const Job &nextJob) override; void printHashrate(bool details) override; + void printHealth() override; void setJob(const Job &job) override; void start(IWorker *worker, bool ready) override; void stop() override; diff --git a/src/backend/opencl/OclConfig.cpp b/src/backend/opencl/OclConfig.cpp index ec01adaf..a90bcc90 100644 --- a/src/backend/opencl/OclConfig.cpp +++ b/src/backend/opencl/OclConfig.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,14 +35,21 @@ namespace xmrig { -static const char *kAMD = "AMD"; static const char *kCache = "cache"; static const char *kDevicesHint = "devices-hint"; static const char *kEnabled = "enabled"; -static const char *kINTEL = "INTEL"; static const char *kLoader = "loader"; + +#ifndef XMRIG_OS_APPLE +static const char *kAMD = "AMD"; +static const char *kINTEL = "INTEL"; static const char *kNVIDIA = "NVIDIA"; static const char *kPlatform = "platform"; +#endif + +#ifdef XMRIG_FEATURE_ADL +static const char *kAdl = "adl"; +#endif extern template class Threads; @@ -51,10 +58,11 @@ extern template class Threads; } -xmrig::OclConfig::OclConfig() : - m_platformVendor(kAMD) -{ -} +#ifndef XMRIG_OS_APPLE +xmrig::OclConfig::OclConfig() : m_platformVendor(kAMD) {} +#else +xmrig::OclConfig::OclConfig() = default; +#endif xmrig::OclPlatform xmrig::OclConfig::platform() const @@ -64,6 +72,7 @@ xmrig::OclPlatform xmrig::OclConfig::platform() const return {}; } +# ifndef XMRIG_OS_APPLE if (!m_platformVendor.isEmpty()) { String search; String vendor = m_platformVendor; @@ -93,6 +102,9 @@ xmrig::OclPlatform xmrig::OclConfig::platform() const } return {}; +# else + return platforms[0]; +# endif } @@ -106,7 +118,14 @@ rapidjson::Value xmrig::OclConfig::toJSON(rapidjson::Document &doc) const obj.AddMember(StringRef(kEnabled), m_enabled, allocator); obj.AddMember(StringRef(kCache), m_cache, allocator); obj.AddMember(StringRef(kLoader), m_loader.toJSON(), allocator); + +# ifndef XMRIG_OS_APPLE obj.AddMember(StringRef(kPlatform), m_platformVendor.isEmpty() ? Value(m_platformIndex) : m_platformVendor.toJSON(), allocator); +# endif + +# ifdef XMRIG_FEATURE_ADL + obj.AddMember(StringRef(kAdl), m_adl, allocator); +# endif m_threads.toJSON(obj, doc); @@ -152,9 +171,16 @@ void xmrig::OclConfig::read(const rapidjson::Value &value) m_cache = Json::getBool(value, kCache, m_cache); m_loader = Json::getString(value, kLoader); +# ifndef XMRIG_OS_APPLE setPlatform(Json::getValue(value, kPlatform)); +# endif + setDevicesHint(Json::getString(value, kDevicesHint)); +# ifdef XMRIG_FEATURE_ADL + m_adl = Json::getBool(value, kAdl, m_adl); +# endif + m_threads.read(value); generate(); @@ -214,6 +240,7 @@ void xmrig::OclConfig::setDevicesHint(const char *devicesHint) } +#ifndef XMRIG_OS_APPLE void xmrig::OclConfig::setPlatform(const rapidjson::Value &platform) { if (platform.IsString()) { @@ -224,3 +251,4 @@ void xmrig::OclConfig::setPlatform(const rapidjson::Value &platform) m_platformIndex = platform.GetUint(); } } +#endif diff --git a/src/backend/opencl/OclConfig.h b/src/backend/opencl/OclConfig.h index 8e2db042..0aeca97a 100644 --- a/src/backend/opencl/OclConfig.h +++ b/src/backend/opencl/OclConfig.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,19 +51,31 @@ public: inline const String &loader() const { return m_loader; } inline const Threads &threads() const { return m_threads; } +# ifdef XMRIG_FEATURE_ADL + inline bool isAdlEnabled() const { return m_adl; } +# endif + private: void generate(); void setDevicesHint(const char *devicesHint); - void setPlatform(const rapidjson::Value &platform); bool m_cache = true; bool m_enabled = false; bool m_shouldSave = false; std::vector m_devicesHint; String m_loader; - String m_platformVendor; Threads m_threads; + +# ifndef XMRIG_OS_APPLE + void setPlatform(const rapidjson::Value &platform); + + String m_platformVendor; uint32_t m_platformIndex = 0; +# endif + +# ifdef XMRIG_FEATURE_ADL + bool m_adl = true; +# endif }; diff --git a/src/backend/opencl/OclWorker.cpp b/src/backend/opencl/OclWorker.cpp index 83b83dae..c8f69b27 100644 --- a/src/backend/opencl/OclWorker.cpp +++ b/src/backend/opencl/OclWorker.cpp @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +25,6 @@ #include "backend/opencl/OclWorker.h" - #include "backend/common/Tags.h" #include "backend/opencl/runners/OclCnRunner.h" #include "backend/opencl/runners/tools/OclSharedData.h" @@ -187,7 +186,9 @@ void xmrig::OclWorker::start() JobResults::submit(m_job.currentJob(), results, results[0xFF]); } - m_job.nextRound(roundSize(m_intensity), m_intensity); + if (!m_job.nextRound(roundSize(m_intensity), m_intensity)) { + JobResults::done(m_job.currentJob()); + } storeStats(t); std::this_thread::yield(); diff --git a/src/backend/opencl/OclWorker.h b/src/backend/opencl/OclWorker.h index 01803f70..6150b56d 100644 --- a/src/backend/opencl/OclWorker.h +++ b/src/backend/opencl/OclWorker.h @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/backend/opencl/cl/rx/randomx_cl.h b/src/backend/opencl/cl/rx/randomx_cl.h index e66f8e0b..99cef684 100644 --- a/src/backend/opencl/cl/rx/randomx_cl.h +++ b/src/backend/opencl/cl/rx/randomx_cl.h @@ -2,7 +2,7 @@ namespace xmrig { -static char randomx_cl[125466] = { +static char randomx_cl[128800] = { 0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x41,0x4c,0x47,0x4f,0x5f,0x43,0x4e,0x5f,0x30,0x20,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x41,0x4c,0x47,0x4f, 0x5f,0x43,0x4e,0x5f,0x31,0x20,0x31,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x41,0x4c,0x47,0x4f,0x5f,0x43,0x4e,0x5f,0x32,0x20,0x32,0x0a,0x23,0x64,0x65,0x66, 0x69,0x6e,0x65,0x20,0x41,0x4c,0x47,0x4f,0x5f,0x43,0x4e,0x5f,0x52,0x20,0x33,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x41,0x4c,0x47,0x4f,0x5f,0x43,0x4e,0x5f, @@ -1907,570 +1907,419 @@ static char randomx_cl[125466] = { 0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x3d,0x30, 0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x46,0x50,0x3d,0x30, 0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79, - 0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x30, - 0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x30, - 0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72, - 0x6f,0x75,0x6e,0x64,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x2d, - 0x31,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x61,0x73,0x74,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x2d, - 0x31,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x73,0x6c,0x6f,0x74,0x73,0x5f,0x75,0x73,0x65,0x64,0x3d,0x30,0x3b,0x0a,0x75,0x69, - 0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x73,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32, - 0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x62,0x6f, - 0x6f,0x6c,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62, - 0x6f,0x6f,0x6c,0x20,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x3d,0x66,0x61, - 0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x69, - 0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x66,0x6f,0x72,0x20,0x28,0x75,0x69,0x6e,0x74, - 0x33,0x32,0x5f,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45, - 0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x3d,0x73,0x72,0x63,0x5f,0x70,0x72, - 0x6f,0x67,0x72,0x61,0x6d,0x5b,0x69,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78, - 0x26,0x30,0x78,0x66,0x66,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x73,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26, - 0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x72,0x63,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x31, - 0x36,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x6f,0x64,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78, - 0x3e,0x3e,0x32,0x34,0x29,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x28,0x69,0x6e, - 0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68, - 0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d, - 0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x3b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, - 0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x0a, - 0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62, - 0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, - 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65, - 0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32, - 0x5f,0x74,0x20,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79, - 0x3e,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3f,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3a,0x73,0x72,0x63,0x5f,0x6c,0x61, - 0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x65,0x6d,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c, - 0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x28,0x64,0x73,0x74,0x3d,0x3d,0x73,0x72,0x63,0x29,0x26,0x26,0x28,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72, - 0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x36,0x34,0x29,0x3e,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x53,0x43,0x52,0x41,0x54,0x43, - 0x48,0x50,0x41,0x44,0x5f,0x4c,0x32,0x29,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3a, - 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x75,0x6c,0x6c, - 0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x6d,0x65,0x6d,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a, - 0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x72,0x65,0x67, - 0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79, - 0x3d,0x30,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f, - 0x6c,0x20,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x73,0x74,0x6f,0x72,0x65,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73, - 0x5f,0x6e,0x6f,0x70,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x3d,0x66,0x61,0x6c,0x73,0x65, - 0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x73,0x72, - 0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x66,0x70,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62, - 0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x64,0x6f,0x20,0x7b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74, + 0x3d,0x30,0x3b,0x0a,0x76,0x6f,0x6c,0x61,0x74,0x69,0x6c,0x65,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, + 0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62, + 0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64, + 0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73, + 0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x61,0x73,0x74,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f, + 0x6f,0x70,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x73,0x6c,0x6f,0x74,0x73,0x5f,0x75, + 0x73,0x65,0x64,0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x73, + 0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c, + 0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70, + 0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65, + 0x74,0x5f,0x6d,0x61,0x72,0x6b,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62, + 0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a, + 0x66,0x6f,0x72,0x20,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f, + 0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e, + 0x73,0x74,0x3d,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x69,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x30,0x78,0x66,0x66,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x73,0x74,0x3d,0x28,0x69,0x6e, + 0x73,0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x72,0x63,0x3d,0x28, + 0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x31,0x36,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x6f, + 0x64,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x32,0x34,0x29,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74, + 0x61,0x72,0x67,0x65,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28, + 0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61, + 0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x3b,0x0a,0x66,0x69,0x72,0x73,0x74, + 0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74, + 0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65, + 0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x64,0x73,0x74, + 0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65, + 0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x29,0x3b,0x0a,0x63,0x6f,0x6e, + 0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x64,0x73, + 0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3e,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3f,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e, + 0x63,0x79,0x3a,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d, + 0x65,0x6d,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x28,0x64,0x73,0x74,0x3d,0x3d,0x73,0x72,0x63,0x29,0x26,0x26,0x28,0x28,0x69, + 0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x36,0x34,0x29,0x3e,0x3d,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x32,0x29,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67, + 0x68,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x6d,0x65,0x6d,0x5f,0x72,0x65,0x61,0x64,0x5f, + 0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61, + 0x74,0x65,0x6e,0x63,0x79,0x2c,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x20,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x30,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x66, + 0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x73,0x74,0x6f,0x72,0x65,0x3d,0x66,0x61,0x6c,0x73,0x65, + 0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x62,0x72,0x61, + 0x6e,0x63,0x68,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62, + 0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x66,0x70, + 0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x64, + 0x6f,0x20,0x7b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f, + 0x52,0x53,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a, + 0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41, + 0x44,0x44,0x5f,0x52,0x53,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41, + 0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63, + 0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74, 0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a, - 0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x3b,0x0a,0x69,0x66, - 0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c, - 0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d, - 0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, - 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f, - 0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52, - 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c, - 0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75, - 0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, - 0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, - 0x49,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e, + 0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28, + 0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61, + 0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f, + 0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72, + 0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c, + 0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65, + 0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49, + 0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e, 0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, - 0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, - 0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74, - 0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a, - 0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69, - 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b, - 0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b, - 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52, - 0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d, - 0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69, - 0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, - 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65, - 0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66, - 0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b, - 0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d, - 0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65, - 0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x29,0x0a,0x7b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63, - 0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2d,0x31, - 0x29,0x29,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x73,0x5f, - 0x6e,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66, - 0x61,0x6c,0x73,0x65,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b, - 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x3b, - 0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a, - 0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61, - 0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52, - 0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x29, - 0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73, - 0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65, - 0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65, - 0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, - 0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74, - 0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, - 0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x3b,0x0a, - 0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a, - 0x7b,0x0a,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x66,0x28,0x64,0x73,0x74,0x21,0x3d,0x73,0x72,0x63,0x29,0x0a,0x6c,0x61,0x74, - 0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x73,0x5f,0x6e, - 0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79, - 0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70, - 0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b, - 0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b, - 0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a, - 0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e, + 0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c, + 0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b, + 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d, + 0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f, + 0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62, + 0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d, + 0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53, + 0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65, + 0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d, + 0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a, + 0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x29, + 0x0a,0x7b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26, + 0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2d,0x31,0x29,0x29,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b, + 0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, + 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x73,0x5f,0x73, + 0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e, + 0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65, + 0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, + 0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x66,0x75,0x6c,0x6c,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61, + 0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b, + 0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a, + 0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67, + 0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d, + 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x66,0x28,0x64,0x73,0x74,0x21, + 0x3d,0x73,0x72,0x63,0x29,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a, + 0x65,0x6c,0x73,0x65,0x0a,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, + 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e, 0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73, 0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73, 0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, - 0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, - 0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c, - 0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65, - 0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x73, - 0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c, - 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a, - 0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d, - 0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62, - 0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66, - 0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b, - 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x3b, - 0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a, - 0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e, - 0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73, - 0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e, - 0x63,0x79,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70, - 0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72, - 0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74, + 0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46, + 0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74, + 0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f, + 0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74, 0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b, - 0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d, - 0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65, - 0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69, - 0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a, - 0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x64, - 0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43, - 0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74, - 0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74, - 0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61, - 0x74,0x65,0x6e,0x63,0x79,0x2c,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d, - 0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a, - 0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69, - 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b, - 0x0a,0x64,0x73,0x74,0x3d,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65, - 0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65, - 0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74, - 0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d, - 0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x3b,0x0a,0x69, - 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x29,0x0a,0x7b, - 0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x3d,0x74,0x72, - 0x75,0x65,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61, - 0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x3b,0x0a, - 0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42, - 0x52,0x41,0x4e,0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46, - 0x52,0x4f,0x55,0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73, - 0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72, - 0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65, - 0x6e,0x63,0x79,0x2c,0x28,0x6c,0x61,0x73,0x74,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53, - 0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x73, - 0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x73,0x74,0x6f,0x72,0x65, - 0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, - 0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x3b,0x0a,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x20,0x77,0x68,0x69,0x6c, - 0x65,0x20,0x28,0x66,0x61,0x6c,0x73,0x65,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72, - 0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72, - 0x67,0x65,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28, - 0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x5f, - 0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x69, - 0x29,0x7c,0x3d,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74, - 0x5f,0x6d,0x61,0x72,0x6b,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x74,0x72, - 0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74, - 0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61, - 0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2a,0x57,0x4f,0x52, - 0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x29,0x0a,0x75, - 0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x66,0x69,0x72, - 0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x75, + 0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28, + 0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78, + 0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x73,0x5f, + 0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61, + 0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d, + 0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x29, + 0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65, + 0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64, + 0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c, + 0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20,0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46, + 0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74, + 0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c, + 0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79, + 0x2c,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b, + 0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x20, + 0x25,0x3d,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74, + 0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73, + 0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65, + 0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c, + 0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f, + 0x52,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74, + 0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f, + 0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x69,0x73,0x5f, + 0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61, + 0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52, + 0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x29, + 0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b, + 0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79, + 0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74, + 0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61, + 0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79, + 0x29,0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65, + 0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x46,0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46, + 0x53,0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75, + 0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79, + 0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x29, + 0x3b,0x0a,0x69,0x73,0x5f,0x66,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b, + 0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46, + 0x53,0x51,0x52,0x54,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43, + 0x42,0x52,0x41,0x4e,0x43,0x48,0x29,0x0a,0x7b,0x0a,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x69,0x73,0x5f, + 0x62,0x72,0x61,0x6e,0x63,0x68,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x64,0x73,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79, + 0x3b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64, + 0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x73,0x72,0x63,0x5f,0x6c,0x61, + 0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x69,0x73,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d, + 0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x3b,0x0a,0x69, + 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x29,0x0a,0x7b,0x0a, + 0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x5f,0x72,0x65,0x61,0x64,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65, + 0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x28,0x6c,0x61,0x73,0x74,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x5f,0x73,0x6c,0x6f, + 0x74,0x2b,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f, + 0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x6d,0x65,0x6d, + 0x6f,0x72,0x79,0x5f,0x73,0x74,0x6f,0x72,0x65,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d, + 0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x3b,0x0a,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x3d,0x74,0x72,0x75, + 0x65,0x3b,0x0a,0x7d,0x20,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x66,0x61,0x6c,0x73,0x65,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x29,0x0a,0x7b, + 0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62, + 0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e, + 0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x6d,0x61, + 0x72,0x6b,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x73,0x72,0x63,0x5f, + 0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x69,0x29,0x7c,0x3d,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x62,0x72,0x61,0x6e, + 0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x6d,0x61,0x72,0x6b,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f, + 0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c, + 0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a, + 0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x6c,0x61, + 0x74,0x65,0x6e,0x63,0x79,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x63, + 0x66,0x72,0x6f,0x75,0x6e,0x64,0x29,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64, + 0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64, + 0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64, + 0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x69,0x73,0x5f,0x66,0x70,0x3f,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61, + 0x64,0x43,0x79,0x63,0x6c,0x65,0x46,0x50,0x3a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x29,0x2a, + 0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x29,0x0a,0x75, 0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x67,0x65,0x74, - 0x5f,0x62,0x79,0x74,0x65,0x28,0x69,0x73,0x5f,0x66,0x70,0x3f,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x46,0x50,0x3a, - 0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x29,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50, - 0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x29,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78, - 0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x73,0x72,0x63,0x29,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f, - 0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3d,0x6c,0x61,0x73,0x74,0x5f, - 0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f, - 0x75,0x73,0x65,0x2c,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66, - 0x70,0x29,0x0a,0x7b,0x0a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3d,0x2d,0x31,0x3b,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x6a,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x20,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f, - 0x75,0x73,0x65,0x3c,0x30,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e, - 0x5b,0x6a,0x5d,0x3d,0x3d,0x30,0x29,0x26,0x26,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x2b,0x31,0x5d,0x3d,0x3d,0x30, - 0x29,0x26,0x26,0x28,0x28,0x6a,0x2b,0x31,0x29,0x20,0x25,0x20,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x29,0x0a,0x7b, - 0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x62,0x6c,0x6f,0x63,0x6b,0x65,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x6b,0x3d,0x28,0x6a,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53, - 0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3b,0x20,0x6b,0x3c,0x6a,0x3b,0x20,0x2b,0x2b,0x6b,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x65,0x78,0x65,0x63,0x75,0x74, - 0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x7c,0x7c,0x28,0x6b,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69, - 0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x73,0x74,0x3d, - 0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x5d,0x2e,0x78, - 0x3b,0x0a,0x69,0x66,0x28,0x28,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x3d,0x3d,0x30,0x29,0x26,0x26,0x28,0x28,0x28,0x69, - 0x6e,0x73,0x74,0x26,0x28,0x30,0x78,0x35,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x29,0x7c,0x7c,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61, - 0x72,0x67,0x65,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x62,0x6c,0x6f,0x63,0x6b,0x65,0x64,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b, - 0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x21,0x62,0x6c,0x6f,0x63,0x6b,0x65,0x64,0x29,0x0a,0x7b,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32, - 0x5f,0x74,0x20,0x6b,0x3d,0x28,0x6a,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52, - 0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3b,0x20,0x6b,0x3c,0x6a,0x3b,0x20,0x2b,0x2b,0x6b,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x65,0x78,0x65,0x63,0x75, - 0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x7c,0x7c,0x28,0x6b,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74, - 0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x73,0x74, - 0x3d,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x5d,0x2e, - 0x78,0x3b,0x0a,0x69,0x66,0x28,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x65,0x78,0x65, - 0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x5d,0x3d,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d, - 0x3b,0x0a,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x2b,0x31,0x5d,0x3d,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f, - 0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x2b,0x31,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f, - 0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x6b,0x29,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d, - 0x6a,0x3b,0x0a,0x69,0x66,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x6b,0x2b, - 0x31,0x29,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x6a,0x2b,0x31,0x3b,0x0a,0x73, - 0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3d,0x6b,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x73,0x6c, - 0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3c,0x30,0x29,0x0a,0x7b,0x0a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3d,0x6a,0x3b,0x0a,0x7d,0x0a, - 0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32, - 0x5f,0x74,0x20,0x6a,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x20,0x6a,0x3c,0x3d,0x6c,0x61,0x73,0x74, - 0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f, - 0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x5d,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3d,0x6a,0x3b,0x0a,0x62,0x72,0x65, - 0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72, - 0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x69, - 0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70,0x3d,0x69,0x73,0x5f,0x66,0x70,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x63,0x66,0x72, - 0x6f,0x75,0x6e,0x64,0x29,0x0a,0x7b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75, - 0x6e,0x64,0x3d,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2d,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x20,0x25,0x20,0x57,0x4f, - 0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2b,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48, - 0x3b,0x0a,0x7d,0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x73,0x3b,0x0a,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f, - 0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x5d,0x3d,0x69,0x3b,0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x73,0x6c,0x6f, - 0x74,0x73,0x5f,0x75,0x73,0x65,0x64,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x29,0x0a,0x7b,0x0a,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70, - 0x6c,0x61,0x6e,0x5b,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x31,0x5d,0x3d,0x69,0x3b,0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x73,0x6c,0x6f,0x74, - 0x73,0x5f,0x75,0x73,0x65,0x64,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61, - 0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48, - 0x41,0x53,0x48,0x29,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63, - 0x6c,0x65,0x2c,0x73,0x72,0x63,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c,0x75,0x65,0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74, - 0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74, - 0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x73,0x72,0x63,0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a, - 0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x29,0x0a,0x7b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28, - 0x6c,0x61,0x73,0x74,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x29, - 0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x20,0x74,0x3d,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x7c,0x28,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79, - 0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x3d,0x74,0x7c,0x28,0x74,0x3c,0x3c,0x31,0x36, - 0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74, - 0x65,0x6e,0x63,0x79,0x46,0x50,0x7c,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x3c,0x3c,0x33,0x32,0x29,0x3b,0x0a, - 0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x29,0x0a,0x7b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69, - 0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x2c,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b, - 0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72, - 0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c, + 0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x73,0x72,0x63,0x29,0x2a,0x57,0x4f,0x52, + 0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f, + 0x75,0x73,0x65,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78, + 0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2c,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x29, + 0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x29,0x0a,0x7b,0x0a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3d,0x2d,0x31,0x3b,0x0a,0x66,0x6f, + 0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6a,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b, + 0x20,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3c,0x30,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x28,0x65,0x78,0x65,0x63,0x75, + 0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x5d,0x3d,0x3d,0x30,0x29,0x26,0x26,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61, + 0x6e,0x5b,0x6a,0x2b,0x31,0x5d,0x3d,0x3d,0x30,0x29,0x26,0x26,0x28,0x28,0x6a,0x2b,0x31,0x29,0x20,0x25,0x20,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52, + 0x5f,0x48,0x41,0x53,0x48,0x29,0x29,0x0a,0x7b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x62,0x6c,0x6f,0x63,0x6b,0x65,0x64,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x66,0x6f, + 0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6b,0x3d,0x28,0x6a,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48, + 0x29,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3b,0x20,0x6b,0x3c,0x6a,0x3b,0x20,0x2b,0x2b,0x6b,0x29,0x0a,0x7b,0x0a, + 0x69,0x66,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x7c,0x7c,0x28,0x6b,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f, + 0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, + 0x32,0x5f,0x74,0x20,0x69,0x6e,0x73,0x74,0x3d,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70, + 0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x5d,0x2e,0x78,0x3b,0x0a,0x69,0x66,0x28,0x28,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x3d, + 0x3d,0x30,0x29,0x26,0x26,0x28,0x28,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x30,0x78,0x35,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x29,0x7c,0x7c,0x69,0x73,0x5f, + 0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x62,0x6c,0x6f,0x63,0x6b,0x65,0x64,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a, + 0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x21,0x62,0x6c,0x6f,0x63,0x6b,0x65,0x64,0x29,0x0a,0x7b,0x0a,0x66, + 0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6b,0x3d,0x28,0x6a,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53, + 0x48,0x29,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3b,0x20,0x6b,0x3c,0x6a,0x3b,0x20,0x2b,0x2b,0x6b,0x29,0x0a,0x7b, + 0x0a,0x69,0x66,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x7c,0x7c,0x28,0x6b,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74, + 0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x73,0x74,0x3d,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f, + 0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x5d,0x2e,0x78,0x3b,0x0a,0x69,0x66,0x28,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x3d, + 0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x5d,0x3d,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f, + 0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x5d,0x3b,0x0a,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x2b,0x31,0x5d,0x3d,0x65, + 0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6b,0x2b,0x31,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73, + 0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x6b,0x29,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74, + 0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x6a,0x3b,0x0a,0x69,0x66,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e, + 0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x6b,0x2b,0x31,0x29,0x20,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c, + 0x6f,0x74,0x3d,0x6a,0x2b,0x31,0x3b,0x0a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3d,0x6b,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a, + 0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x3c,0x30,0x29,0x0a,0x7b,0x0a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f, + 0x75,0x73,0x65,0x3d,0x6a,0x3b,0x0a,0x7d,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x66, + 0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6a,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74, + 0x3b,0x20,0x6a,0x3c,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x65, + 0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6a,0x5d,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75, + 0x73,0x65,0x3d,0x6a,0x3b,0x0a,0x62,0x72,0x65,0x61,0x6b,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x66,0x69, + 0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65, + 0x3b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70,0x3d,0x69,0x73,0x5f,0x66,0x70,0x3b,0x0a,0x7d,0x0a, + 0x69,0x66,0x28,0x69,0x73,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x29,0x0a,0x7b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73, + 0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2d,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f, + 0x5f,0x75,0x73,0x65,0x20,0x25,0x20,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2b,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53, + 0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3b,0x0a,0x7d,0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x73,0x3b, + 0x0a,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x5d,0x3d,0x69,0x3b,0x0a, + 0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x73,0x6c,0x6f,0x74,0x73,0x5f,0x75,0x73,0x65,0x64,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x29,0x0a,0x7b,0x0a,0x65,0x78, + 0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x31,0x5d,0x3d,0x69,0x3b,0x0a,0x2b, + 0x2b,0x6e,0x75,0x6d,0x5f,0x73,0x6c,0x6f,0x74,0x73,0x5f,0x75,0x73,0x65,0x64,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x20,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b, + 0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x73,0x72,0x63,0x5f,0x72,0x65,0x61,0x64,0x29, + 0x0a,0x7b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74, + 0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x73,0x72,0x63,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c, 0x75,0x65,0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29, - 0x3b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x46,0x50,0x2c,0x64, - 0x73,0x74,0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x21,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72, - 0x79,0x5f,0x73,0x74,0x6f,0x72,0x65,0x26,0x26,0x21,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x29,0x0a,0x7b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x64,0x73,0x74,0x2c,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a, - 0x69,0x66,0x28,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x29,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74, - 0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x2c,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20, - 0x76,0x61,0x6c,0x75,0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65, - 0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c,0x75,0x65,0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f, - 0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28, - 0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x7d,0x0a, - 0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x74, - 0x3d,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x7c,0x28,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3c,0x3c,0x38,0x29,0x3b, - 0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x74,0x7c,0x28,0x74,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69, - 0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x7c,0x28,0x72,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3c,0x3c,0x33,0x32,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72, - 0x79,0x5f,0x73,0x74,0x6f,0x72,0x65,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74, - 0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65, - 0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c,0x75,0x65,0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50, - 0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43, - 0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e, + 0x3b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x73,0x72,0x63, + 0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x29,0x0a,0x7b,0x0a,0x75,0x70, + 0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x73,0x74,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x6f,0x70,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x73,0x6c,0x6f, + 0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x29,0x0a,0x7b,0x0a,0x63,0x6f, + 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x74,0x3d,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x7c,0x28,0x6e,0x65,0x78, + 0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50, + 0x3d,0x74,0x7c,0x28,0x74,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x3d,0x72,0x65, + 0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x7c,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79, + 0x46,0x50,0x3c,0x3c,0x33,0x32,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x29,0x0a,0x7b,0x0a,0x73,0x65,0x74,0x5f, + 0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x46,0x50,0x2c,0x64,0x73,0x74,0x2c,0x6e,0x65,0x78,0x74,0x5f, + 0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65, + 0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x46,0x50,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74, + 0x65,0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c,0x75,0x65,0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f, + 0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64, + 0x43,0x79,0x63,0x6c,0x65,0x46,0x50,0x2c,0x64,0x73,0x74,0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x69,0x66,0x28, + 0x21,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x73,0x74,0x6f,0x72,0x65,0x26,0x26,0x21,0x69,0x73,0x5f,0x6e,0x6f,0x70,0x29,0x0a,0x7b,0x0a,0x73,0x65,0x74, + 0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x64,0x73,0x74,0x2c,0x6e,0x65,0x78,0x74,0x5f,0x6c, + 0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x73,0x77,0x61,0x70,0x29,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65, + 0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x2c,0x73,0x72,0x63,0x2c,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x29,0x3b, + 0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72, + 0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c,0x75,0x65, + 0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a, + 0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x2c,0x76, + 0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, + 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x74,0x3d,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74,0x65,0x6e,0x63,0x79,0x7c,0x28,0x6e,0x65,0x78,0x74,0x5f,0x6c,0x61,0x74, + 0x65,0x6e,0x63,0x79,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x74,0x7c,0x28,0x74,0x3c,0x3c, + 0x31,0x36,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74, + 0x65,0x6e,0x63,0x79,0x7c,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3c,0x3c,0x33,0x32,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66, + 0x28,0x69,0x73,0x5f,0x6d,0x65,0x6d,0x6f,0x72,0x79,0x5f,0x73,0x74,0x6f,0x72,0x65,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x76,0x61,0x6c,0x75, + 0x65,0x3d,0x67,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74, + 0x29,0x3b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x76,0x61,0x6c,0x75,0x65,0x2c,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f, + 0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x3b,0x0a,0x73,0x65,0x74,0x5f,0x62,0x79,0x74,0x65,0x28,0x72,0x65,0x67,0x69, + 0x73,0x74,0x65,0x72,0x52,0x65,0x61,0x64,0x43,0x79,0x63,0x6c,0x65,0x2c,0x64,0x73,0x74,0x2c,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x53,0x63,0x72,0x61,0x74,0x63, + 0x68,0x70,0x61,0x64,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53, + 0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3e,0x3d,0x53,0x74,0x6f,0x72,0x65, + 0x4c,0x33,0x43,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x4c,0x61,0x74,0x65,0x6e, 0x63,0x79,0x3d,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48, - 0x29,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3e,0x3d,0x53,0x74,0x6f,0x72,0x65,0x4c,0x33,0x43,0x6f,0x6e,0x64,0x69,0x74,0x69, - 0x6f,0x6e,0x29,0x0a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x4c,0x61,0x74,0x65,0x6e,0x63,0x79,0x3d,0x28,0x73,0x6c,0x6f,0x74,0x5f, - 0x74,0x6f,0x5f,0x75,0x73,0x65,0x2f,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a, - 0x69,0x66,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, - 0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5d,0x7c,0x7c,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d, - 0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x66,0x69, - 0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72, - 0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x69,0x5d,0x2e,0x78,0x7c,0x3d,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38, - 0x3b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68, - 0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x29,0x0a,0x2b,0x2b,0x66,0x69,0x72, - 0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x64,0x6f,0x20,0x7b,0x0a,0x2b,0x2b,0x66,0x69,0x72,0x73,0x74,0x5f, - 0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x7d,0x20,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x28,0x66,0x69,0x72,0x73,0x74,0x5f, - 0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53, - 0x49,0x5a,0x45,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x26,0x26,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f, - 0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5d,0x21,0x3d,0x30,0x29, - 0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x75,0x70,0x64,0x61, - 0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x69,0x73,0x5f,0x66, - 0x70,0x3f,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x32,0x29,0x3a,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x31, - 0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2c, - 0x69,0x73,0x5f,0x66,0x70,0x3f,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x31,0x29,0x3a,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73, - 0x65,0x29,0x3b,0x0a,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x6c,0x61,0x73,0x74,0x5f,0x75, - 0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5d,0x7c,0x7c,0x28,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x66,0x69,0x72,0x73, - 0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x7c,0x7c,0x28,0x28,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64, - 0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x29, - 0x26,0x26,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70,0x29,0x29,0x0a,0x7b,0x0a,0x2b,0x2b,0x6c,0x61,0x73, - 0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x7d,0x0a,0x2d,0x2d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b, - 0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x26,0x26,0x28,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3e,0x3d,0x66,0x69,0x72,0x73, - 0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x29,0x29,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61, - 0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c, - 0x6f,0x74,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x61,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65, - 0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x38,0x5d,0x29,0x26,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x41,0x6c,0x69,0x67,0x6e,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x75, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x78,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x30, - 0x5d,0x29,0x26,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x41,0x6c,0x69,0x67,0x6e,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20, - 0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65,0x6e,0x74,0x72, - 0x6f,0x70,0x79,0x5b,0x31,0x32,0x5d,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3d,0x28,0x28,0x61,0x64,0x64, - 0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x7c,0x28,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73, - 0x74,0x65,0x72,0x73,0x26,0x32,0x29,0x3f,0x33,0x55,0x3a,0x32,0x55,0x29,0x3c,0x3c,0x38,0x29,0x7c,0x28,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x34,0x29,0x3f,0x35,0x55,0x3a,0x34,0x55,0x29,0x3c,0x3c,0x31,0x36,0x29,0x7c,0x28,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73, - 0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x38,0x29,0x3f,0x37,0x55,0x3a,0x36,0x55,0x29,0x3c,0x3c,0x32,0x34,0x29,0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f,0x66, - 0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x4f,0x66,0x66,0x73, - 0x65,0x74,0x3d,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x33,0x5d,0x26,0x44,0x61,0x74,0x61,0x73,0x65,0x74,0x45,0x78,0x74,0x72,0x61,0x49,0x74,0x65,0x6d, - 0x73,0x29,0x2a,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x53,0x69,0x7a,0x65,0x3b,0x0a,0x75,0x6c,0x6f,0x6e,0x67,0x32,0x20,0x65,0x4d,0x61,0x73,0x6b,0x3d,0x2a, - 0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67,0x32,0x2a,0x29,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x2b,0x31,0x34,0x29,0x3b,0x0a, - 0x65,0x4d,0x61,0x73,0x6b,0x2e,0x78,0x3d,0x67,0x65,0x74,0x46,0x6c,0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x4d,0x61,0x73,0x6b,0x2e,0x78,0x29,0x3b,0x0a,0x65, - 0x4d,0x61,0x73,0x6b,0x2e,0x79,0x3d,0x67,0x65,0x74,0x46,0x6c,0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x4d,0x61,0x73,0x6b,0x2e,0x79,0x29,0x3b,0x0a,0x28,0x28, - 0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x6d,0x61, - 0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x31, - 0x5d,0x3d,0x6d,0x78,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36, - 0x29,0x29,0x5b,0x32,0x5d,0x3d,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62, - 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x33,0x5d,0x3d,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x4f, - 0x66,0x66,0x73,0x65,0x74,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67,0x32,0x2a,0x29,0x28,0x52,0x2b,0x31,0x38,0x29, - 0x29,0x5b,0x30,0x5d,0x3d,0x65,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x69, - 0x6d,0x6d,0x5f,0x62,0x75,0x66,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x52,0x45, - 0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a, - 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6d, - 0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61,0x6c,0x5f,0x72,0x3d,0x2d,0x31,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e, - 0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61, - 0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x28,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53,0x49,0x5a,0x45,0x2b,0x49, - 0x4d,0x4d,0x5f,0x42,0x55,0x46,0x5f,0x53,0x49,0x5a,0x45,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x69, - 0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6b,0x3d,0x2d,0x31,0x3b,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69, - 0x3c,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x21,0x28,0x65,0x78, - 0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x69,0x5d,0x7c,0x7c,0x28,0x69,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72, - 0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x7c,0x7c,0x28,0x28,0x69,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63, - 0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x29,0x26,0x26,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f, - 0x66,0x70,0x29,0x29,0x29,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72, - 0x6b,0x65,0x72,0x73,0x3d,0x31,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3d,0x30,0x3b, - 0x0a,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3c,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65, - 0x64,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x26,0x26,0x28,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x29,0x20,0x25,0x20,0x57,0x4f,0x52,0x4b, - 0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x26,0x26,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x69, - 0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5d,0x7c,0x7c,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x3d,0x66, - 0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x7c,0x7c,0x28,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f, - 0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x2b, - 0x31,0x29,0x26,0x26,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70,0x29,0x29,0x29,0x0a,0x7b,0x0a,0x69,0x66, - 0x28,0x28,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x26,0x31,0x29,0x26,0x26,0x28,0x28,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b, - 0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5d,0x5d,0x2e,0x78, - 0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x29,0x29,0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b, - 0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x7d,0x0a,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x28,0x28, - 0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x2d,0x31,0x29,0x3c,0x3c,0x4e,0x55,0x4d,0x5f,0x49,0x4e,0x53,0x54,0x53,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54, - 0x29,0x7c,0x28,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3c,0x3c,0x4e,0x55,0x4d,0x5f,0x46,0x50,0x5f,0x49,0x4e,0x53,0x54,0x53,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x73,0x72,0x63,0x5f,0x69,0x6e,0x73,0x74,0x3d,0x73,0x72,0x63,0x5f, - 0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x69,0x5d,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74, - 0x32,0x20,0x69,0x6e,0x73,0x74,0x3d,0x73,0x72,0x63,0x5f,0x69,0x6e,0x73,0x74,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6f,0x70,0x63,0x6f,0x64,0x65, - 0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x30,0x78,0x66,0x66,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x73,0x74, - 0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73, - 0x72,0x63,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x31,0x36,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x6d,0x6f,0x64,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x32,0x34,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69, - 0x73,0x5f,0x66,0x70,0x3d,0x28,0x73,0x72,0x63,0x5f,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a, - 0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x26,0x26,0x28,0x28,0x69,0x26,0x31,0x29,0x3d,0x3d,0x30,0x29,0x29,0x0a,0x2b,0x2b,0x69,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74, - 0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x28,0x73,0x72,0x63,0x5f,0x69,0x6e,0x73,0x74, - 0x2e,0x78,0x26,0x28,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74, - 0x61,0x72,0x67,0x65,0x74,0x26,0x26,0x28,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c,0x6f,0x74,0x3c,0x30,0x29,0x29,0x0a,0x62, - 0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x6b,0x3b,0x0a,0x2b,0x2b,0x6b,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78, - 0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, - 0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66, - 0x74,0x3d,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x32,0x29,0x20,0x25,0x20,0x34,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54, - 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x68,0x69,0x66, - 0x74,0x3c,0x3c,0x53,0x48,0x49,0x46,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x64,0x73,0x74,0x21,0x3d,0x52,0x65,0x67,0x69,0x73,0x74, - 0x65,0x72,0x4e,0x65,0x65,0x64,0x73,0x44,0x69,0x73,0x70,0x6c,0x61,0x63,0x65,0x6d,0x65,0x6e,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28, - 0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74, - 0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d, - 0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66, - 0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c, - 0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73, - 0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61, - 0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32, - 0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63, - 0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31, - 0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e, - 0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d, - 0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78, - 0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61, - 0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c, - 0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78, - 0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29, - 0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d, - 0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66, - 0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69, - 0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52, - 0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c, - 0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64, - 0x73,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a, - 0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d, - 0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63, - 0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f, - 0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20, - 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29, - 0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c, - 0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54, - 0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56, - 0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78, - 0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49, - 0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d, - 0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f, - 0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f, - 0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e, - 0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e, - 0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74, - 0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f, - 0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x72, - 0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d, - 0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45, - 0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54, + 0x29,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x66,0x69,0x72,0x73,0x74, + 0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5d,0x7c,0x7c,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62, + 0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29, + 0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x69,0x73,0x5f,0x62, + 0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x69,0x5d,0x2e,0x78, + 0x7c,0x3d,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x3b,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x5f, + 0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f, + 0x66,0x70,0x29,0x0a,0x2b,0x2b,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x64,0x6f,0x20,0x7b, + 0x0a,0x2b,0x2b,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x7d,0x20,0x77,0x68,0x69,0x6c,0x65, + 0x20,0x28,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f,0x73,0x6c,0x6f,0x74,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x2a,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x26,0x26, + 0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f, + 0x73,0x6c,0x6f,0x74,0x5d,0x21,0x3d,0x30,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65, + 0x74,0x29,0x0a,0x7b,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5f, + 0x73,0x6c,0x6f,0x74,0x2c,0x69,0x73,0x5f,0x66,0x70,0x3f,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x32,0x29,0x3a,0x28,0x73,0x6c,0x6f,0x74, + 0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x31,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x75,0x70,0x64,0x61,0x74,0x65,0x5f,0x6d,0x61,0x78,0x28,0x6c,0x61,0x73,0x74,0x5f,0x75, + 0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2c,0x69,0x73,0x5f,0x66,0x70,0x3f,0x28,0x73,0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x2b,0x31,0x29,0x3a,0x73, + 0x6c,0x6f,0x74,0x5f,0x74,0x6f,0x5f,0x75,0x73,0x65,0x29,0x3b,0x0a,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c, + 0x61,0x6e,0x5b,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5d,0x7c,0x7c,0x28,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73, + 0x6c,0x6f,0x74,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x7c,0x7c,0x28,0x28, + 0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f, + 0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x29,0x26,0x26,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70,0x29, + 0x29,0x0a,0x7b,0x0a,0x2b,0x2b,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x7d,0x0a,0x2d,0x2d,0x6c,0x61,0x73,0x74,0x5f,0x75, + 0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x26,0x26,0x28,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73, + 0x6c,0x6f,0x74,0x3e,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x29, + 0x29,0x0a,0x66,0x69,0x72,0x73,0x74,0x5f,0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x5f,0x63,0x66,0x72,0x6f,0x75,0x6e,0x64,0x3d,0x6c,0x61,0x73, + 0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x61,0x3d,0x28,0x75,0x69, + 0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x38,0x5d,0x29,0x26,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x41,0x6c,0x69, + 0x67,0x6e,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x78,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65, + 0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x30,0x5d,0x29,0x26,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x41,0x6c,0x69,0x67,0x6e,0x4d,0x61,0x73,0x6b,0x3b,0x0a, + 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33, + 0x32,0x5f,0x74,0x29,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x32,0x5d,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74, + 0x65,0x72,0x73,0x3d,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x7c,0x28,0x28,0x28,0x61,0x64,0x64, + 0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x32,0x29,0x3f,0x33,0x55,0x3a,0x32,0x55,0x29,0x3c,0x3c,0x38,0x29,0x7c,0x28,0x28,0x28,0x61, + 0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x34,0x29,0x3f,0x35,0x55,0x3a,0x34,0x55,0x29,0x3c,0x3c,0x31,0x36,0x29,0x7c,0x28, + 0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x38,0x29,0x3f,0x37,0x55,0x3a,0x36,0x55,0x29,0x3c,0x3c,0x32,0x34, + 0x29,0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x61, + 0x74,0x61,0x73,0x65,0x74,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x33,0x5d,0x26,0x44,0x61,0x74,0x61,0x73,0x65,0x74, + 0x45,0x78,0x74,0x72,0x61,0x49,0x74,0x65,0x6d,0x73,0x29,0x2a,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x53,0x69,0x7a,0x65,0x3b,0x0a,0x75,0x6c,0x6f,0x6e,0x67, + 0x32,0x20,0x65,0x4d,0x61,0x73,0x6b,0x3d,0x2a,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67,0x32,0x2a,0x29,0x28,0x65,0x6e,0x74,0x72, + 0x6f,0x70,0x79,0x2b,0x31,0x34,0x29,0x3b,0x0a,0x65,0x4d,0x61,0x73,0x6b,0x2e,0x78,0x3d,0x67,0x65,0x74,0x46,0x6c,0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x4d, + 0x61,0x73,0x6b,0x2e,0x78,0x29,0x3b,0x0a,0x65,0x4d,0x61,0x73,0x6b,0x2e,0x79,0x3d,0x67,0x65,0x74,0x46,0x6c,0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x4d,0x61, + 0x73,0x6b,0x2e,0x79,0x29,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31, + 0x36,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x6d,0x61,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29, + 0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x31,0x5d,0x3d,0x6d,0x78,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x32,0x5d,0x3d,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3b, + 0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x33,0x5d, + 0x3d,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x4f,0x66,0x66,0x73,0x65,0x74,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67, + 0x32,0x2a,0x29,0x28,0x52,0x2b,0x31,0x38,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x65,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69, + 0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e, + 0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x30,0x3b,0x0a,0x69, + 0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61,0x6c,0x5f,0x72,0x3d,0x2d,0x31,0x3b,0x0a,0x5f,0x5f,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d, + 0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x28,0x52,0x45,0x47,0x49,0x53,0x54,0x45, + 0x52,0x53,0x5f,0x53,0x49,0x5a,0x45,0x2b,0x49,0x4d,0x4d,0x5f,0x42,0x55,0x46,0x5f,0x53,0x49,0x5a,0x45,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e, + 0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73, + 0x6c,0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6b,0x3d,0x2d,0x31,0x3b,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a, + 0x7b,0x0a,0x69,0x66,0x28,0x21,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x69,0x5d,0x7c,0x7c,0x28,0x69,0x3d,0x3d,0x66,0x69, + 0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x7c,0x7c,0x28,0x28,0x69,0x3d,0x3d,0x66,0x69,0x72,0x73, + 0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x29,0x26,0x26,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73, + 0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66,0x70,0x29,0x29,0x29,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x20,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x31,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x66,0x70, + 0x5f,0x69,0x6e,0x73,0x74,0x73,0x3d,0x30,0x3b,0x0a,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3c, + 0x3d,0x6c,0x61,0x73,0x74,0x5f,0x75,0x73,0x65,0x64,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x26,0x26,0x28,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72, + 0x73,0x29,0x20,0x25,0x20,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x26,0x26,0x28,0x65,0x78,0x65,0x63,0x75,0x74,0x69, + 0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5d,0x7c,0x7c,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77, + 0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x7c, + 0x7c,0x28,0x28,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x3d,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74, + 0x69,0x6f,0x6e,0x5f,0x73,0x6c,0x6f,0x74,0x2b,0x31,0x29,0x26,0x26,0x66,0x69,0x72,0x73,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x5f,0x66, + 0x70,0x29,0x29,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x28,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x26,0x31,0x29,0x26,0x26,0x28,0x28,0x73,0x72,0x63, + 0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b,0x69,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f, + 0x72,0x6b,0x65,0x72,0x73,0x5d,0x5d,0x2e,0x78,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x29,0x29,0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f, + 0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b,0x0a,0x2b,0x2b,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x7d,0x0a,0x6e,0x75,0x6d,0x5f,0x77, + 0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x28,0x28,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x2d,0x31,0x29,0x3c,0x3c,0x4e,0x55,0x4d,0x5f,0x49,0x4e,0x53, + 0x54,0x53,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3c,0x3c,0x4e,0x55,0x4d,0x5f,0x46,0x50, + 0x5f,0x49,0x4e,0x53,0x54,0x53,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x73,0x72,0x63,0x5f, + 0x69,0x6e,0x73,0x74,0x3d,0x73,0x72,0x63,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x70,0x6c,0x61,0x6e,0x5b, + 0x69,0x5d,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x3d,0x73,0x72,0x63,0x5f,0x69,0x6e,0x73,0x74,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x20,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x30,0x78,0x66,0x66,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e, + 0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x73,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, + 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x72,0x63,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x31,0x36,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73, + 0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x6f,0x64,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x32,0x34,0x29,0x3b,0x0a,0x63,0x6f,0x6e, + 0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x66,0x70,0x3d,0x28,0x73,0x72,0x63,0x5f,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x32,0x30,0x3c, + 0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x66,0x70,0x26,0x26,0x28,0x28,0x69,0x26,0x31,0x29,0x3d,0x3d,0x30,0x29,0x29,0x0a,0x2b, + 0x2b,0x69,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d, + 0x28,0x73,0x72,0x63,0x5f,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73, + 0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x26,0x26,0x28,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73, + 0x6c,0x6f,0x74,0x3c,0x30,0x29,0x29,0x0a,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x6b,0x3b,0x0a,0x2b,0x2b, + 0x6b,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x32,0x29,0x20,0x25,0x20,0x34,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d, + 0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53, + 0x45,0x54,0x29,0x7c,0x28,0x73,0x68,0x69,0x66,0x74,0x3c,0x3c,0x53,0x48,0x49,0x46,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x64,0x73, + 0x74,0x21,0x3d,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4e,0x65,0x65,0x64,0x73,0x44,0x69,0x73,0x70,0x6c,0x61,0x63,0x65,0x6d,0x65,0x6e,0x74,0x29,0x0a,0x7b,0x0a, + 0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c, + 0x73,0x65,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53, + 0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54, 0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d, 0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75, 0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52, - 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20, - 0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53, - 0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78, - 0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f, - 0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69, - 0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29, - 0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69, - 0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73, - 0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72, - 0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e, - 0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d, - 0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55, - 0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x36,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73, - 0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e, - 0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f, - 0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c, - 0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31, - 0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x36,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b, - 0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69, - 0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43, - 0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a, - 0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c, - 0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d, - 0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b, - 0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, - 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, - 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44, - 0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x34,0x3c, - 0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67, - 0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69, - 0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55, - 0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d, - 0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, - 0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69, - 0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52, - 0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x34,0x3c,0x3c,0x4f,0x50, - 0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c, - 0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e, - 0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d, - 0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, - 0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c, - 0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53, - 0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73, - 0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x29,0x0a,0x7b,0x0a,0x63, - 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x72,0x3d,0x69,0x6d,0x75,0x6c,0x5f,0x72,0x63,0x70,0x5f,0x76,0x61,0x6c,0x75,0x65,0x28,0x69, - 0x6e,0x73,0x74,0x2e,0x79,0x29,0x3b,0x0a,0x69,0x66,0x28,0x72,0x3d,0x3d,0x31,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72, - 0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63, - 0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53, - 0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45, - 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d, - 0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x36,0x34,0x5f,0x4f,0x46,0x46,0x53,0x45, - 0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54, - 0x2d,0x31,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5d,0x3d,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74, - 0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26,0x72,0x29,0x5b,0x30,0x5d,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69, - 0x6e,0x64,0x65,0x78,0x2b,0x31,0x5d,0x3d,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26,0x72,0x29,0x5b,0x31,0x5d, - 0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x3d,0x32,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f, - 0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74, - 0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55, - 0x4c,0x5f,0x52,0x43,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e, - 0x45,0x47,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x7c,0x28,0x35,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f, - 0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63, - 0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, - 0x49,0x4e,0x45,0x47,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49, - 0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54, - 0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x33,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f, - 0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28, - 0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49, - 0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d, - 0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78, - 0x2b,0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d, - 0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65, - 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x3b, - 0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x29,0x0a, - 0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d, - 0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28, - 0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45, - 0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x33,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55, - 0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79, - 0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f, - 0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c, - 0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a, - 0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d, - 0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, - 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52, - 0x4f,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x37,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69, - 0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53, - 0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d, - 0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b, - 0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3e,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, - 0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54, - 0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72, - 0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e, - 0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52, - 0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74, - 0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f, - 0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x38,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d, - 0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x28,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x3f,0x69,0x6e,0x73, - 0x74,0x2e,0x78,0x3a,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x29,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69, - 0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41, - 0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41, - 0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c, - 0x28,0x31,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f, - 0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63, - 0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, - 0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, - 0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65, - 0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x28,0x73,0x72,0x63,0x20,0x25,0x20, - 0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x28,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x2b,0x31, - 0x29,0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c, - 0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73, - 0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, - 0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74, - 0x69,0x6f,0x6e,0x3d,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20, - 0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45, - 0x54,0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64, + 0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46, + 0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f, + 0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e, + 0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d, + 0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b, + 0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55, + 0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74, + 0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c, + 0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70, + 0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f, + 0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49, + 0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53, + 0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, + 0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46, + 0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a, + 0x69,0x66,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65, + 0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f, + 0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f, + 0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74, + 0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74, + 0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, + 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28, + 0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54, + 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c, + 0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31, + 0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d, 0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e, 0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d, 0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28, @@ -2478,58 +2327,150 @@ static char randomx_cl[125466] = { 0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a, 0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67, 0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69, - 0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44, - 0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f, - 0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e, - 0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x28,0x73,0x72,0x63,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73, - 0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x28,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x2b,0x31,0x29,0x29,0x7c,0x28,0x31, - 0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53, - 0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b, - 0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a, - 0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69, - 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a, - 0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34, - 0x29,0x3f,0x31,0x3a,0x32,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f, - 0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f, - 0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f, - 0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53, - 0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53, - 0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54, - 0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30, - 0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f, - 0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29, - 0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28, + 0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42, + 0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f, + 0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73, + 0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45, + 0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d, + 0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e, + 0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d, + 0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d, + 0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a, + 0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28, + 0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f, + 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29, + 0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c, + 0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28, + 0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54, + 0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54, + 0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a, + 0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46, + 0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31, + 0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c, + 0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f, + 0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72, + 0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, + 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53, + 0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x36,0x3c,0x3c, + 0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72, + 0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e, + 0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48, + 0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48, + 0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73, + 0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74, + 0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f, + 0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x36,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44, + 0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d, + 0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58, + 0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e, + 0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31, + 0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c, + 0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e, + 0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78, + 0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65, + 0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64, + 0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e, + 0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46, + 0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x34,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70, + 0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65, + 0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, + 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74, + 0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34, + 0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, + 0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45, + 0x54,0x29,0x7c,0x28,0x34,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69, + 0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64, + 0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28, + 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d, + 0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69, + 0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72, + 0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e, + 0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c, + 0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c, + 0x5f,0x52,0x43,0x50,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x72,0x3d,0x69,0x6d,0x75,0x6c,0x5f,0x72,0x63, + 0x70,0x5f,0x76,0x61,0x6c,0x75,0x65,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x3b,0x0a,0x69,0x66,0x28,0x72,0x3d,0x3d,0x31,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x63,0x6f, + 0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x7c,0x6e,0x75,0x6d,0x5f,0x77, + 0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c, + 0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28, + 0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d, + 0x4d,0x36,0x34,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e, + 0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2d,0x31,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78, + 0x5d,0x3d,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26,0x72,0x29,0x5b,0x30,0x5d,0x3b,0x0a,0x69,0x6d,0x6d,0x5f, + 0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x31,0x5d,0x3d,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x2a,0x29,0x26,0x72,0x29,0x5b,0x31,0x5d,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x3d,0x32,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d, + 0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b, + 0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, + 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53, + 0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x35,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28, 0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77, 0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44, + 0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x33,0x3c, + 0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a, + 0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c, + 0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d, + 0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b, + 0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65, + 0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b, + 0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69, + 0x6f,0x6e,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b, + 0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c, + 0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x33,0x3c,0x3c, + 0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65, + 0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f, + 0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b, + 0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69, + 0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43, + 0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49, + 0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69, + 0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53, + 0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x37,0x3c,0x3c, + 0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x69, + 0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28, + 0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69, + 0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3e, + 0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d, + 0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f, + 0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72, + 0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f, + 0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f, + 0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73, + 0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x38,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45, + 0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x28,0x28,0x73,0x72,0x63,0x21, + 0x3d,0x64,0x73,0x74,0x29,0x3f,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3a,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x29,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65, + 0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54, + 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x31,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28, + 0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77, + 0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20, 0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x36,0x34,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x33,0x3c,0x3c,0x4f,0x50, - 0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61,0x6c, - 0x5f,0x72,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61, - 0x6c,0x5f,0x72,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x69, - 0x6e,0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61,0x6c,0x5f,0x72,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d, - 0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f, - 0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2d,0x31,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62, - 0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5d,0x3d,0x30,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64, - 0x65,0x78,0x2b,0x31,0x5d,0x3d,0x30,0x78,0x38,0x30,0x46,0x30,0x30,0x30,0x30,0x30,0x55,0x4c,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x3d,0x32, - 0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74, - 0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e, - 0x78,0x3d,0x28,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x28,0x73,0x72, - 0x63,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x28,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53, - 0x45,0x54,0x2b,0x31,0x29,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x48,0x49,0x46,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50, - 0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d, - 0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65, - 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x3b, - 0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x29,0x0a, - 0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x6d,0x6f,0x64,0x20,0x25, - 0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65, - 0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53, + 0x7c,0x28,0x28,0x73,0x72,0x63,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x28,0x53,0x52,0x43, + 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x2b,0x31,0x29,0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b, + 0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75, + 0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, + 0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x3b,0x0a,0x69,0x6e,0x73,0x74, + 0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53, 0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c, - 0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x35,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b, + 0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b, 0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a, 0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d, 0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31, @@ -2538,1086 +2479,1303 @@ static char randomx_cl[125466] = { 0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70, 0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65, 0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, - 0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, - 0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52, - 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c, - 0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x34,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53, + 0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, + 0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67, + 0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x28,0x73,0x72, + 0x63,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x28,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53, + 0x45,0x54,0x2b,0x31,0x29,0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4e, + 0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f, + 0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63, + 0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x46,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46, + 0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, + 0x3d,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52, + 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73, + 0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c, + 0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45, + 0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c, + 0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e, + 0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d, + 0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, + 0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c, + 0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53, + 0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73, + 0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74, + 0x2e,0x78,0x3d,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53, + 0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x36,0x34,0x5f,0x4f,0x46,0x46,0x53,0x45, + 0x54,0x29,0x7c,0x28,0x33,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e, + 0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61,0x6c,0x5f,0x72,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69, + 0x6e,0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61,0x6c,0x5f,0x72,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73, + 0x65,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5f,0x66,0x73,0x63,0x61,0x6c,0x5f,0x72,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b, + 0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, + 0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2d,0x31, + 0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5d,0x3d,0x30,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75, + 0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x31,0x5d,0x3d,0x30,0x78,0x38,0x30,0x46,0x30,0x30,0x30,0x30,0x30,0x55,0x4c,0x3b,0x0a,0x69,0x6d,0x6d, + 0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x3d,0x32,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61, + 0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75, + 0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f, + 0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52, + 0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e, + 0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46, + 0x53,0x45,0x54,0x29,0x7c,0x28,0x28,0x73,0x72,0x63,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c, + 0x28,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x2b,0x31,0x29,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x53,0x48,0x49,0x46,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54, + 0x29,0x7c,0x28,0x31,0x32,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65, + 0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b, + 0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69, + 0x6f,0x6e,0x3d,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x28,0x28,0x64,0x73,0x74,0x20, + 0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e, + 0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46, + 0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x35,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45, + 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d, + 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f, + 0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73, + 0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29, + 0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f, + 0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f, + 0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c, + 0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d, + 0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c, + 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28, + 0x28,0x28,0x64,0x73,0x74,0x20,0x25,0x20,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x2b,0x52,0x65,0x67,0x69,0x73,0x74, + 0x65,0x72,0x43,0x6f,0x75,0x6e,0x74,0x46,0x6c,0x74,0x29,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x34,0x3c,0x3c,0x4f,0x50, + 0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d, + 0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65, + 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52, + 0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48, + 0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x39,0x3c, + 0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e, + 0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74, + 0x20,0x63,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x2b,0x43,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4f,0x66,0x66,0x73,0x65,0x74, + 0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6d,0x6d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x7c,0x28,0x31,0x55,0x3c,0x3c,0x63,0x73,0x68,0x69,0x66, + 0x74,0x29,0x3b,0x0a,0x69,0x66,0x28,0x63,0x73,0x68,0x69,0x66,0x74,0x3e,0x30,0x29,0x0a,0x69,0x6d,0x6d,0x20,0x26,0x3d,0x20,0x7e,0x28,0x31,0x55,0x3c,0x3c,0x28,0x63, + 0x73,0x68,0x69,0x66,0x74,0x2d,0x31,0x29,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45, + 0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2d,0x31,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5d,0x3d, + 0x69,0x6d,0x6d,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x31,0x5d,0x3d,0x63,0x73,0x68,0x69,0x66,0x74, + 0x7c,0x28,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c,0x6f,0x74,0x29, + 0x3c,0x3c,0x35,0x29,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x3d,0x32,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x69,0x6e,0x73, + 0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x7d,0x0a,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c, + 0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73, + 0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, + 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73, + 0x74,0x2e,0x78,0x3d,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x33,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44, + 0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x36,0x33,0x29,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53, 0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e, 0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, - 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e, - 0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x39,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f, - 0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f, - 0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x63,0x73,0x68,0x69,0x66,0x74,0x3d,0x28, - 0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x2b,0x43,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4f,0x66,0x66,0x73,0x65,0x74,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x69,0x6d,0x6d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x7c,0x28,0x31,0x55,0x3c,0x3c,0x63,0x73,0x68,0x69,0x66,0x74,0x29,0x3b,0x0a,0x69,0x66,0x28,0x63,0x73, - 0x68,0x69,0x66,0x74,0x3e,0x30,0x29,0x0a,0x69,0x6d,0x6d,0x20,0x26,0x3d,0x20,0x7e,0x28,0x31,0x55,0x3c,0x3c,0x28,0x63,0x73,0x68,0x69,0x66,0x74,0x2d,0x31,0x29,0x29, - 0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2d,0x31, - 0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5d,0x3d,0x69,0x6d,0x6d,0x3b,0x0a,0x69,0x6d,0x6d,0x5f, - 0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x31,0x5d,0x3d,0x63,0x73,0x68,0x69,0x66,0x74,0x7c,0x28,0x28,0x75,0x69,0x6e,0x74,0x33,0x32, - 0x5f,0x74,0x29,0x28,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c,0x6f,0x74,0x29,0x3c,0x3c,0x35,0x29,0x3b,0x0a,0x69,0x6d,0x6d, - 0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x3d,0x32,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f, - 0x4e,0x4f,0x50,0x3b,0x0a,0x7d,0x0a,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x5f,0x73,0x6c,0x6f,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x2a,0x28, + 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, + 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3e,0x3d,0x53,0x74,0x6f, + 0x72,0x65,0x4c,0x33,0x43,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29, + 0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c, + 0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x30, + 0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e, + 0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d, + 0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78, + 0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61, + 0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c, + 0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78, + 0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29, + 0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d, + 0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x3b,0x0a,0x2a,0x28, 0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77, - 0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x28,0x73,0x72,0x63,0x3c, - 0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x33,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x7c,0x28,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x36,0x33,0x29,0x3c,0x3c,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x2a,0x28,0x63,0x6f, - 0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72, - 0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20, - 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3e,0x3d,0x53,0x74,0x6f,0x72,0x65,0x4c,0x33,0x43,0x6f,0x6e,0x64,0x69, - 0x74,0x69,0x6f,0x6e,0x29,0x3f,0x33,0x3a,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x31,0x3a,0x32,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d, - 0x28,0x64,0x73,0x74,0x3c,0x3c,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53, - 0x45,0x54,0x29,0x7c,0x28,0x31,0x3c,0x3c,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x7c,0x28,0x31,0x30,0x3c,0x3c,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f, - 0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x3d,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x49,0x4d,0x4d,0x5f, - 0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43, - 0x4f,0x55,0x4e,0x54,0x29,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x69,0x6d,0x6d,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x2b,0x5d,0x3d,0x28,0x69,0x6e,0x73,0x74, - 0x2e,0x79,0x26,0x30,0x78,0x46,0x43,0x31,0x46,0x46,0x46,0x46,0x46,0x55,0x29,0x7c,0x28,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x31,0x29,0x3f, - 0x4c,0x4f,0x43,0x5f,0x4c,0x31,0x3a,0x28,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x32,0x29,0x3f,0x4c,0x4f,0x43,0x5f,0x4c,0x32,0x3a,0x4c,0x4f,0x43, - 0x5f,0x4c,0x33,0x29,0x29,0x3c,0x3c,0x32,0x31,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3d,0x49,0x4e,0x53,0x54,0x5f,0x4e,0x4f,0x50, - 0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e, - 0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x3b,0x0a,0x2a,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f, - 0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x7d, - 0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x32,0x30,0x29,0x29,0x5b,0x30,0x5d, - 0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2d,0x28,0x5f,0x5f, - 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x28,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53, - 0x49,0x5a,0x45,0x2b,0x49,0x4d,0x4d,0x5f,0x42,0x55,0x46,0x5f,0x53,0x49,0x5a,0x45,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f, - 0x74,0x29,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6c,0x6f,0x61,0x64,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0x28,0x5f,0x5f,0x6c,0x6f,0x63, - 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x2a,0x64,0x73,0x74,0x5f,0x62,0x75,0x66,0x2c,0x73,0x69,0x7a,0x65,0x5f,0x74,0x20,0x4e,0x2c,0x5f,0x5f, - 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x73,0x72,0x63,0x5f,0x62,0x75,0x66,0x29,0x0a,0x7b,0x0a,0x75,0x69, - 0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x3d,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28, - 0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x74,0x65,0x70,0x3d,0x67, - 0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x73,0x69,0x7a,0x65,0x28,0x30,0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74, - 0x29,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x20,0x73,0x72,0x63,0x3d,0x28, - 0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x73,0x72,0x63,0x5f,0x62,0x75,0x66, - 0x29,0x2b,0x67,0x65,0x74,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x69,0x64,0x28,0x30,0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f, - 0x74,0x29,0x2a,0x4e,0x2b,0x69,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x20,0x64,0x73,0x74,0x3d,0x28,0x28,0x5f, - 0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x64,0x73,0x74,0x5f,0x62,0x75,0x66,0x29,0x2b,0x69,0x3b,0x0a,0x77,0x68,0x69,0x6c, - 0x65,0x20,0x28,0x69,0x3c,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x2a,0x4e,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x5f,0x5f,0x6c, - 0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x64,0x73,0x74,0x29,0x3d,0x2a,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20, - 0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x73,0x72,0x63,0x29,0x3b,0x0a,0x73,0x72,0x63,0x2b,0x3d,0x73,0x74,0x65,0x70,0x3b,0x0a,0x64,0x73,0x74,0x2b, - 0x3d,0x73,0x74,0x65,0x70,0x3b,0x0a,0x69,0x2b,0x3d,0x73,0x74,0x65,0x70,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x6c,0x6f,0x61,0x64,0x5f, - 0x46,0x5f,0x45,0x5f,0x67,0x72,0x6f,0x75,0x70,0x73,0x28,0x69,0x6e,0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x2c,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x61,0x6e, - 0x64,0x4d,0x61,0x73,0x6b,0x2c,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x29,0x0a,0x7b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20, - 0x74,0x3d,0x63,0x6f,0x6e,0x76,0x65,0x72,0x74,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x5f,0x72,0x74,0x6e,0x28,0x76,0x61,0x6c,0x75,0x65,0x29,0x3b,0x0a,0x75,0x69,0x6e, - 0x74,0x36,0x34,0x5f,0x74,0x20,0x78,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x74,0x29,0x3b,0x0a,0x78,0x20,0x26,0x3d,0x20,0x61,0x6e,0x64,0x4d,0x61,0x73, - 0x6b,0x3b,0x0a,0x78,0x7c,0x3d,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x78, - 0x29,0x3b,0x0a,0x7d,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66,0x74,0x28,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x61,0x2c,0x64,0x6f, - 0x75,0x62,0x6c,0x65,0x20,0x62,0x2c,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x63,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e, - 0x67,0x5f,0x6d,0x6f,0x64,0x65,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f,0x64,0x65,0x3d,0x3d,0x30,0x29,0x0a,0x72, - 0x65,0x74,0x75,0x72,0x6e,0x20,0x66,0x6d,0x61,0x28,0x61,0x2c,0x62,0x2c,0x63,0x29,0x3b,0x0a,0x69,0x66,0x28,0x28,0x61,0x3d,0x3d,0x30,0x2e,0x30,0x29,0x7c,0x7c,0x28, - 0x62,0x3d,0x3d,0x30,0x2e,0x30,0x29,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x63,0x3b,0x0a,0x69,0x66,0x28,0x62,0x3d,0x3d,0x31,0x2e,0x30,0x29,0x0a,0x7b,0x0a, - 0x69,0x66,0x28,0x63,0x3d,0x3d,0x30,0x2e,0x30,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x3b,0x0a,0x69,0x66,0x28,0x63,0x3d,0x3d,0x2d,0x61,0x29,0x0a,0x7b, - 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x69,0x6e,0x75,0x73,0x5f,0x7a,0x65,0x72,0x6f,0x3d,0x31,0x55,0x4c,0x3c,0x3c, - 0x36,0x33,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f,0x64,0x65,0x3d,0x3d,0x31,0x29,0x3f,0x61,0x73, - 0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x6d,0x69,0x6e,0x75,0x73,0x5f,0x7a,0x65,0x72,0x6f,0x29,0x3a,0x30,0x2e,0x30,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x63,0x6f,0x6e, - 0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x73,0x69,0x7a,0x65,0x3d,0x35,0x32,0x3b,0x0a,0x63,0x6f, - 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x31,0x55,0x4c,0x3c, - 0x3c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x73,0x69,0x7a,0x65,0x29,0x2d,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f, - 0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x68,0x69,0x67,0x68,0x5f,0x62,0x69,0x74,0x3d,0x31,0x55,0x4c,0x3c,0x3c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73, - 0x61,0x5f,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f, - 0x73,0x69,0x7a,0x65,0x3d,0x31,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74, - 0x5f,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x31,0x3c,0x3c,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x73,0x69,0x7a,0x65,0x29,0x2d,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73, - 0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x61,0x3d,0x28,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28, - 0x61,0x29,0x2e,0x79,0x3e,0x3e,0x32,0x30,0x29,0x26,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x62,0x3d,0x28,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x62,0x29,0x2e, - 0x79,0x3e,0x3e,0x32,0x30,0x29,0x26,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, - 0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x3d,0x28,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x63,0x29,0x2e,0x79,0x3e,0x3e, - 0x32,0x30,0x29,0x26,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x69,0x66,0x28,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f, - 0x61,0x3d,0x3d,0x32,0x30,0x34,0x37,0x29,0x7c,0x7c,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x62,0x3d,0x3d,0x32,0x30,0x34,0x37,0x29,0x7c,0x7c,0x28,0x65, - 0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x3d,0x3d,0x32,0x30,0x34,0x37,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34, - 0x5f,0x74,0x20,0x69,0x6e,0x66,0x3d,0x32,0x30,0x34,0x37,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x73,0x5f,0x64,0x6f,0x75, - 0x62,0x6c,0x65,0x28,0x69,0x6e,0x66,0x29,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69, - 0x73,0x73,0x61,0x5f,0x61,0x3d,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x61,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d,0x61,0x73,0x6b, - 0x29,0x7c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x68,0x69,0x67,0x68,0x5f,0x62,0x69,0x74,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36, - 0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x62,0x3d,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x62,0x29,0x26,0x6d,0x61,0x6e,0x74, - 0x69,0x73,0x73,0x61,0x5f,0x6d,0x61,0x73,0x6b,0x29,0x7c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x68,0x69,0x67,0x68,0x5f,0x62,0x69,0x74,0x3b,0x0a,0x63,0x6f, - 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3d,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e, - 0x67,0x28,0x63,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d,0x61,0x73,0x6b,0x29,0x7c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x68,0x69,0x67, - 0x68,0x5f,0x62,0x69,0x74,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x61,0x3d,0x61,0x73,0x5f, - 0x75,0x69,0x6e,0x74,0x32,0x28,0x61,0x29,0x2e,0x79,0x3e,0x3e,0x33,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73, - 0x69,0x67,0x6e,0x5f,0x62,0x3d,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x62,0x29,0x2e,0x79,0x3e,0x3e,0x33,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x63,0x3d,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x63,0x29,0x2e,0x79,0x3e,0x3e,0x33,0x31, - 0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x32,0x5d,0x3b,0x0a,0x6d,0x75,0x6c,0x5f,0x72,0x65, - 0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x61,0x2a,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x62,0x3b,0x0a,0x6d, - 0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x6d,0x75,0x6c,0x5f,0x68,0x69,0x28,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x61,0x2c,0x6d, - 0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x62,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74, - 0x69,0x6f,0x6e,0x3d,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3e,0x3e,0x34,0x31,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20, - 0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x61,0x2b,0x65, - 0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x62,0x2b,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x2d,0x31,0x30,0x32,0x33,0x3b,0x0a,0x75, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x73,0x69,0x67,0x6e,0x5f,0x61,0x5e,0x73, - 0x69,0x67,0x6e,0x5f,0x62,0x3b,0x0a,0x69,0x66,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3e,0x3d,0x32, - 0x30,0x34,0x37,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69,0x6e,0x66,0x5f,0x72,0x6e,0x64,0x3d,0x28,0x32, - 0x30,0x34,0x37,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x29,0x2d,0x28,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f,0x64,0x65,0x26,0x31,0x29,0x3b,0x0a,0x72,0x65, - 0x74,0x75,0x72,0x6e,0x20,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x69,0x6e,0x66,0x5f,0x72,0x6e,0x64,0x29,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x36, - 0x34,0x5f,0x74,0x20,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x32,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x74,0x5b,0x32,0x5d, - 0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a, - 0x69,0x66,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3e,0x3d,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74, - 0x5f,0x63,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x32,0x33,0x2d,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72, - 0x65,0x63,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74, - 0x5b,0x30,0x5d,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x28,0x6d,0x75,0x6c,0x5f,0x72, - 0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x29,0x7c,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3e, - 0x3e,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x29,0x29,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x32,0x3d,0x28,0x31,0x32, - 0x37,0x2d,0x35,0x32,0x29,0x2b,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x2d,0x65,0x78,0x70,0x6f,0x6e, - 0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3e,0x3d,0x30,0x29,0x0a,0x7b, - 0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3e,0x3d,0x36,0x34,0x29,0x0a,0x7b,0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x30,0x3b,0x0a,0x74,0x5b,0x31,0x5d,0x3d,0x6d, - 0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3c,0x3c,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x2d,0x36,0x34,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b, - 0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x32,0x3b,0x0a,0x74,0x5b,0x31,0x5d,0x3d,0x73, - 0x68,0x69,0x66,0x74,0x32,0x3f,0x28,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3e,0x3e,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29,0x3a, - 0x30,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3c,0x2d,0x35,0x32,0x29,0x3f, - 0x30,0x3a,0x28,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3e,0x3e,0x28,0x2d,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29,0x3b,0x0a,0x74,0x5b,0x31,0x5d,0x3d, - 0x30,0x3b,0x0a,0x69,0x66,0x28,0x28,0x74,0x5b,0x30,0x5d,0x3d,0x3d,0x30,0x29,0x26,0x26,0x28,0x63,0x21,0x3d,0x30,0x2e,0x30,0x29,0x29,0x0a,0x74,0x5b,0x30,0x5d,0x3d, - 0x31,0x3b,0x0a,0x7d,0x0a,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e, - 0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x30,0x3b,0x0a,0x74, - 0x5b,0x31,0x5d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3c,0x3c,0x31,0x31,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66, - 0x74,0x32,0x3d,0x28,0x31,0x32,0x37,0x2d,0x31,0x30,0x34,0x2d,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x29,0x2b,0x28,0x69,0x6e,0x74, - 0x33,0x32,0x5f,0x74,0x29,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x2d,0x65,0x78,0x70,0x6f,0x6e,0x65, - 0x6e,0x74,0x5f,0x63,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c, - 0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x32,0x3b,0x0a,0x66,0x6d,0x61,0x5f, - 0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x32, - 0x29,0x7c,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3f,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3e,0x3e,0x28,0x36,0x34,0x2d,0x73,0x68, - 0x69,0x66,0x74,0x32,0x29,0x29,0x3a,0x30,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x73,0x68,0x69,0x66,0x74,0x32,0x3d,0x2d,0x73,0x68,0x69,0x66, - 0x74,0x32,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3e,0x3d,0x36,0x34,0x29,0x0a,0x7b,0x0a,0x73,0x68,0x69,0x66,0x74,0x32,0x2d,0x3d,0x36,0x34,0x3b, - 0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3c,0x36,0x34,0x29,0x3f,0x28,0x6d,0x75,0x6c,0x5f, - 0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3e,0x3e,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x3a,0x30,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74, - 0x5b,0x31,0x5d,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x3d,0x30,0x29,0x0a,0x66,0x6d,0x61,0x5f, - 0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x31,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74, - 0x5b,0x30,0x5d,0x3d,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3e,0x3e,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x7c,0x28,0x6d,0x75,0x6c, - 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x3c,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65, - 0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3e,0x3e,0x73,0x68,0x69,0x66,0x74,0x32,0x3b,0x0a,0x7d, - 0x0a,0x7d,0x0a,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f, - 0x63,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x69, - 0x66,0x28,0x73,0x69,0x67,0x6e,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x3d,0x73,0x69,0x67,0x6e,0x5f,0x63,0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61, - 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x2b,0x3d,0x74,0x5b,0x30,0x5d,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x2b, - 0x3d,0x74,0x5b,0x31,0x5d,0x2b,0x28,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3c,0x74,0x5b,0x30,0x5d,0x29,0x3f,0x31,0x3a,0x30,0x29, - 0x3b,0x0a,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c, - 0x74,0x5b,0x31,0x5d,0x29,0x3f,0x31,0x3a,0x30,0x3b,0x0a,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x73,0x69,0x67,0x6e,0x5f, - 0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x20,0x62,0x6f,0x72,0x72,0x6f,0x77,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3c,0x74,0x5b,0x30,0x5d,0x29,0x3f, - 0x31,0x3a,0x30,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x2d,0x3d,0x74,0x5b,0x30,0x5d,0x3b,0x0a,0x74,0x5b,0x31,0x5d,0x2b,0x3d, - 0x62,0x6f,0x72,0x72,0x6f,0x77,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x63,0x68,0x61,0x6e,0x67,0x65,0x5f,0x73,0x69, - 0x67,0x6e,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x74,0x5b,0x31,0x5d,0x29,0x3f,0x31,0x3a,0x30,0x3b,0x0a,0x66,0x6d,0x61, - 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x2d,0x3d,0x74,0x5b,0x31,0x5d,0x3b,0x0a,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c, - 0x74,0x3d,0x73,0x69,0x67,0x6e,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5e,0x63,0x68,0x61,0x6e,0x67,0x65,0x5f,0x73,0x69,0x67,0x6e,0x3b,0x0a,0x69, - 0x66,0x28,0x63,0x68,0x61,0x6e,0x67,0x65,0x5f,0x73,0x69,0x67,0x6e,0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x2d, - 0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x29,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65, - 0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x7e,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75, - 0x6c,0x74,0x5b,0x31,0x5d,0x2b,0x3d,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3f,0x30,0x3a,0x31,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x66, - 0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74, - 0x5b,0x30,0x5d,0x3d,0x3d,0x30,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x30,0x2e,0x30,0x3b,0x0a,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61, - 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x2d,0x3d,0x36,0x34,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x66,0x6d,0x61,0x5f,0x72, - 0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x30,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e, - 0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x64,0x65,0x78,0x3d,0x63,0x6c,0x7a,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74, - 0x5b,0x31,0x5d,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x64,0x65,0x78,0x29,0x0a,0x7b,0x0a,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72, - 0x65,0x73,0x75,0x6c,0x74,0x2d,0x3d,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x28,0x66,0x6d,0x61, - 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x3c,0x69,0x6e,0x64,0x65,0x78,0x29,0x7c,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30, - 0x5d,0x3e,0x3e,0x28,0x36,0x34,0x2d,0x69,0x6e,0x64,0x65,0x78,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e, - 0x3d,0x30,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x31,0x31,0x2b,0x65,0x78, - 0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x72,0x6f,0x75, - 0x6e,0x64,0x5f,0x75,0x70,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x7c,0x7c,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c, - 0x74,0x5b,0x31,0x5d,0x26,0x28,0x28,0x31,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x29,0x2d,0x31,0x29,0x29,0x29,0x3f,0x31,0x3a,0x30,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72, - 0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x20,0x3e,0x3e,0x3d,0x20,0x73,0x68,0x69,0x66,0x74,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31, - 0x5d,0x20,0x26,0x3d,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x69,0x66,0x28,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f, - 0x6d,0x6f,0x64,0x65,0x2b,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x3d,0x32,0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72, - 0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x2b,0x3d,0x72,0x6f,0x75,0x6e,0x64,0x5f,0x75,0x70,0x3b,0x0a,0x69,0x66,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c, - 0x74,0x5b,0x31,0x5d,0x3d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x68,0x69,0x67,0x68,0x5f,0x62,0x69,0x74,0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72, - 0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x30,0x3b,0x0a,0x2b,0x2b,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c, - 0x74,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x7c,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29, - 0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x2b,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74, - 0x69,0x6f,0x6e,0x29,0x3c,0x3c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b, - 0x31,0x5d,0x7c,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x29,0x3c, - 0x3c,0x36,0x33,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74, - 0x5b,0x31,0x5d,0x29,0x3b,0x0a,0x7d,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x64,0x69,0x76,0x5f,0x72,0x6e,0x64,0x28,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x61,0x2c, - 0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x62,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x72,0x63,0x29,0x0a,0x7b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65, - 0x20,0x79,0x30,0x3d,0x31,0x2e,0x30,0x2f,0x62,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x30,0x3d,0x61,0x2a,0x79,0x30,0x3b, - 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x31,0x3d,0x66,0x6d,0x61,0x28,0x2d,0x62,0x2c,0x74,0x30,0x2c,0x61,0x29,0x3b,0x0a,0x64, - 0x6f,0x75,0x62,0x6c,0x65,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66,0x74,0x28,0x79,0x30,0x2c,0x74,0x31,0x2c,0x74,0x30,0x2c,0x66, - 0x70,0x72,0x63,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69,0x6e,0x66,0x3d,0x32,0x30,0x34,0x37,0x55,0x4c,0x3c, - 0x3c,0x35,0x32,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69,0x6e,0x66,0x5f,0x72,0x6e,0x64,0x3d,0x69,0x6e,0x66,0x2d, - 0x28,0x66,0x70,0x72,0x63,0x26,0x31,0x29,0x3b,0x0a,0x69,0x66,0x28,0x28,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x72,0x65,0x73,0x75,0x6c,0x74,0x29,0x3e, - 0x3e,0x35,0x32,0x29,0x26,0x32,0x30,0x34,0x37,0x29,0x3d,0x3d,0x32,0x30,0x34,0x37,0x29,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62, - 0x6c,0x65,0x28,0x69,0x6e,0x66,0x5f,0x72,0x6e,0x64,0x29,0x3b,0x0a,0x69,0x66,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x61,0x29,0x3d,0x3d,0x69,0x6e,0x66, - 0x29,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x61,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x61,0x3d,0x3d,0x62,0x29,0x3f,0x31,0x2e,0x30,0x3a,0x72,0x65, - 0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x73,0x71,0x72,0x74,0x5f,0x72,0x6e,0x64,0x28,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x78, - 0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x72,0x63,0x29,0x0a,0x7b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x79,0x30,0x3d,0x72,0x73,0x71,0x72, - 0x74,0x28,0x78,0x29,0x3b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x30,0x3d,0x79,0x30,0x2a,0x78,0x3b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x31,0x3d, - 0x79,0x30,0x2a,0x2d,0x30,0x2e,0x35,0x3b,0x0a,0x74,0x31,0x3d,0x66,0x6d,0x61,0x28,0x74,0x31,0x2c,0x74,0x30,0x2c,0x30,0x2e,0x35,0x29,0x3b,0x09,0x09,0x09,0x09,0x09, - 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x79,0x31,0x5f,0x78,0x3d,0x66,0x6d,0x61,0x28,0x74,0x30,0x2c,0x74,0x31,0x2c,0x74,0x30,0x29, - 0x3b,0x09,0x0a,0x79,0x30,0x20,0x2a,0x3d,0x20,0x30,0x2e,0x35,0x3b,0x0a,0x79,0x30,0x3d,0x66,0x6d,0x61,0x28,0x79,0x30,0x2c,0x74,0x31,0x2c,0x79,0x30,0x29,0x3b,0x09, - 0x09,0x09,0x09,0x09,0x0a,0x74,0x31,0x3d,0x66,0x6d,0x61,0x28,0x2d,0x79,0x31,0x5f,0x78,0x2c,0x79,0x31,0x5f,0x78,0x2c,0x78,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x64, - 0x6f,0x75,0x62,0x6c,0x65,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66,0x74,0x28,0x74,0x31,0x2c,0x79,0x30,0x2c,0x79,0x31,0x5f,0x78, - 0x2c,0x66,0x70,0x72,0x63,0x29,0x3b,0x09,0x09,0x0a,0x69,0x66,0x28,0x2a,0x28,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x20,0x26,0x78,0x29,0x3d,0x3d, - 0x28,0x32,0x30,0x34,0x37,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x29,0x29,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x78,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x72, - 0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x6e,0x65,0x72,0x5f,0x6c,0x6f,0x6f,0x70,0x28,0x0a,0x63,0x6f, - 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c,0x65,0x6e,0x67,0x74,0x68,0x2c,0x0a,0x5f,0x5f,0x6c, - 0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72, - 0x6f,0x67,0x72,0x61,0x6d,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x75,0x62,0x2c,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62, - 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69, - 0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, - 0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x41,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c,0x0a,0x5f,0x5f,0x6c,0x6f, - 0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x52,0x2c,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x2a,0x20,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x62,0x61,0x74,0x63,0x68, - 0x5f,0x73,0x69,0x7a,0x65,0x2c,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x72,0x63,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, - 0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, - 0x36,0x34,0x5f,0x74,0x20,0x78,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32, - 0x5f,0x74,0x20,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x0a,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x73,0x75,0x62,0x32,0x3d,0x73,0x75,0x62,0x3e,0x3e,0x31,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58, - 0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2b,0x31,0x5d,0x3d,0x66,0x70,0x72,0x63,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31, - 0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x70,0x3d,0x30,0x3b,0x20,0x69,0x70,0x3c,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c, - 0x65,0x6e,0x67,0x74,0x68,0x3b,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e, - 0x54,0x5d,0x3d,0x69,0x70,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x73,0x74,0x3d,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72, - 0x6f,0x67,0x72,0x61,0x6d,0x5b,0x69,0x70,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72, - 0x6b,0x65,0x72,0x73,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x4e,0x55,0x4d,0x5f,0x49,0x4e,0x53,0x54,0x53,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x28,0x57, - 0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x2d,0x31,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x4e,0x55,0x4d,0x5f,0x46,0x50,0x5f,0x49,0x4e,0x53, - 0x54,0x53,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x2d,0x31,0x29,0x3b, - 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3d,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72, - 0x6b,0x65,0x72,0x73,0x2d,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b,0x0a,0x69,0x66,0x28,0x73,0x75,0x62,0x3c,0x3d,0x6e,0x75,0x6d,0x5f,0x77, - 0x6f,0x72,0x6b,0x65,0x72,0x73,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x73,0x74,0x5f,0x6f,0x66,0x66, - 0x73,0x65,0x74,0x3d,0x73,0x75,0x62,0x2d,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c, - 0x20,0x69,0x73,0x5f,0x66,0x70,0x3d,0x69,0x6e,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3c,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b, - 0x0a,0x69,0x6e,0x73,0x74,0x3d,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x69,0x70,0x2b,0x28,0x69,0x73,0x5f,0x66,0x70, - 0x3f,0x73,0x75,0x62,0x32,0x3a,0x69,0x6e,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x31,0x35,0x3b,0x0a,0x63, - 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x4c,0x4f, - 0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x72,0x65,0x67,0x5f, - 0x73,0x69,0x7a,0x65,0x5f,0x73,0x68,0x69,0x66,0x74,0x3d,0x69,0x73,0x5f,0x66,0x70,0x3f,0x34,0x3a,0x33,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, - 0x33,0x32,0x5f,0x74,0x20,0x72,0x65,0x67,0x5f,0x62,0x61,0x73,0x65,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x69,0x73,0x5f,0x66,0x70,0x3f,0x66,0x70,0x5f,0x72,0x65, - 0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3a,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x72,0x65,0x67,0x5f,0x62, - 0x61,0x73,0x65,0x5f,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x69,0x73,0x5f,0x66,0x70,0x3f,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75, - 0x70,0x5f,0x41,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3a,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65, - 0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x37,0x3b,0x0a,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73, - 0x65,0x74,0x3d,0x72,0x65,0x67,0x5f,0x62,0x61,0x73,0x65,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2b,0x28,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3c,0x3c, - 0x72,0x65,0x67,0x5f,0x73,0x69,0x7a,0x65,0x5f,0x73,0x68,0x69,0x66,0x74,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x72,0x63,0x5f,0x6f,0x66, - 0x66,0x73,0x65,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x37,0x3b,0x0a,0x73,0x72,0x63,0x5f,0x6f, - 0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3c,0x3c,0x33,0x29,0x2b,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3f, - 0x30,0x3a,0x72,0x65,0x67,0x5f,0x62,0x61,0x73,0x65,0x5f,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20, - 0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x64,0x73,0x74,0x5f,0x70,0x74,0x72,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36, - 0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x28,0x52,0x29,0x2b,0x64,0x73,0x74,0x5f, - 0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x73,0x72,0x63,0x5f,0x70, - 0x74,0x72,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20, - 0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x28,0x52,0x29,0x2b,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, - 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6d,0x6d,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x49,0x4d,0x4d,0x5f,0x4f, - 0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x32,0x35,0x35,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32, - 0x5f,0x74,0x2a,0x20,0x69,0x6d,0x6d,0x5f,0x70,0x74,0x72,0x3d,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x2b,0x69,0x6d,0x6d,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3b,0x0a, - 0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x64,0x73,0x74,0x3d,0x2a,0x64,0x73,0x74,0x5f,0x70,0x74,0x72,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20, - 0x73,0x72,0x63,0x3d,0x2a,0x73,0x72,0x63,0x5f,0x70,0x74,0x72,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6d,0x6d,0x3b,0x0a,0x69,0x6d,0x6d,0x2e,0x78,0x3d,0x69, - 0x6d,0x6d,0x5f,0x70,0x74,0x72,0x5b,0x30,0x5d,0x3b,0x0a,0x69,0x6d,0x6d,0x2e,0x79,0x3d,0x69,0x6d,0x6d,0x5f,0x70,0x74,0x72,0x5b,0x31,0x5d,0x3b,0x0a,0x69,0x66,0x28, - 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x5f,0x73, - 0x68,0x69,0x66,0x74,0x3d,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x3e,0x3e,0x32,0x31,0x29,0x26,0x33,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x20,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x30,0x78,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x55,0x3e,0x3e,0x6c,0x6f,0x63,0x5f,0x73,0x68,0x69,0x66,0x74, - 0x29,0x2d,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x72,0x65,0x61,0x64,0x3d,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x21, - 0x3d,0x31,0x30,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x61,0x64,0x64,0x72,0x3d,0x69,0x73,0x5f,0x72,0x65,0x61,0x64,0x3f,0x28,0x28,0x6c,0x6f, - 0x63,0x5f,0x73,0x68,0x69,0x66,0x74,0x3d,0x3d,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x3f,0x30,0x3a,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x73,0x72, - 0x63,0x29,0x29,0x3a,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x64,0x73,0x74,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x2b,0x3d,0x28,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x20,0x26,0x3d,0x20,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f, - 0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x70,0x74,0x72,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74, - 0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2b,0x61,0x64,0x64,0x72,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x72, - 0x65,0x61,0x64,0x29,0x0a,0x7b,0x0a,0x73,0x72,0x63,0x3d,0x2a,0x70,0x74,0x72,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x2a,0x70,0x74,0x72,0x3d,0x73, - 0x72,0x63,0x3b,0x0a,0x67,0x6f,0x74,0x6f,0x20,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x65,0x6e,0x64,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7b,0x0a,0x69,0x66, - 0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x20, - 0x73,0x72,0x63,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x29,0x29,0x29,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x3d,0x33,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28, - 0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x20,0x73, - 0x72,0x63,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x2d,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x73,0x72,0x63,0x29,0x29,0x3b,0x0a, - 0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x30,0x29,0x20,0x64,0x73,0x74,0x2b,0x3d,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d, - 0x2e,0x78,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e, - 0x3e,0x53,0x48,0x49,0x46,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x33,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x32,0x29,0x20,0x64, - 0x73,0x74,0x2b,0x3d,0x73,0x72,0x63,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69, - 0x6d,0x6d,0x36,0x34,0x3d,0x2a,0x28,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x20,0x26,0x69,0x6d,0x6d,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73, - 0x74,0x26,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x36,0x34,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x20,0x73,0x72,0x63,0x3d, - 0x69,0x6d,0x6d,0x36,0x34,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x32,0x29,0x20,0x64,0x73,0x74,0x20,0x2a,0x3d,0x20,0x73,0x72,0x63,0x3b, - 0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x33,0x29,0x20,0x64,0x73,0x74,0x20,0x5e,0x3d,0x20,0x73,0x72,0x63,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73, - 0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x31,0x32,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x29,0x20, - 0x73,0x72,0x63,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x63,0x6f,0x6e,0x76,0x65,0x72,0x74,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x5f,0x72,0x74,0x6e,0x28, - 0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x73,0x72,0x63,0x3e,0x3e,0x28,0x28,0x73,0x75,0x62,0x26,0x31,0x29,0x2a,0x33,0x32,0x29,0x29,0x29,0x29,0x3b,0x0a, - 0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29, - 0x29,0x20,0x73,0x72,0x63,0x20,0x5e,0x3d,0x20,0x30,0x78,0x38,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x55,0x4c,0x3b,0x0a,0x63, - 0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x6d,0x75,0x6c,0x3d,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x53,0x48,0x49,0x46,0x54, - 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x61,0x3d,0x61,0x73,0x5f, - 0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x64,0x73,0x74,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x62,0x3d,0x61,0x73,0x5f,0x64, - 0x6f,0x75,0x62,0x6c,0x65,0x28,0x73,0x72,0x63,0x29,0x3b,0x0a,0x64,0x73,0x74,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66, - 0x74,0x28,0x61,0x2c,0x69,0x73,0x5f,0x6d,0x75,0x6c,0x3f,0x62,0x3a,0x31,0x2e,0x30,0x2c,0x69,0x73,0x5f,0x6d,0x75,0x6c,0x3f,0x30,0x2e,0x30,0x3a,0x62,0x2c,0x66,0x70, - 0x72,0x63,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x39,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74, - 0x2b,0x3d,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x29,0x3b,0x0a,0x69,0x66,0x28,0x28,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x29,0x28,0x64,0x73,0x74,0x29,0x26,0x28,0x43,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b,0x3c,0x3c,0x28,0x69,0x6d,0x6d,0x2e,0x79,0x26,0x33, - 0x31,0x29,0x29,0x29,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55, - 0x4e,0x54,0x5d,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x28,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x79,0x29, - 0x3e,0x3e,0x35,0x29,0x2d,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x73,0x29,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x3d,0x3d,0x37,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x31,0x3d,0x73,0x72,0x63,0x26,0x36,0x33, - 0x3b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x20,0x3e,0x20,0x30,0x0a,0x63,0x6f, - 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x32,0x3d,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x31,0x3b,0x0a,0x63, - 0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x72,0x6f,0x6c,0x3d,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54, - 0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x3b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x64,0x73,0x74,0x3e,0x3e,0x28,0x69,0x73,0x5f, - 0x72,0x6f,0x6c,0x3f,0x73,0x68,0x69,0x66,0x74,0x32,0x3a,0x73,0x68,0x69,0x66,0x74,0x31,0x29,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x28,0x69,0x73,0x5f,0x72,0x6f, - 0x6c,0x3f,0x73,0x68,0x69,0x66,0x74,0x31,0x3a,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x64,0x73,0x74,0x3d,0x28,0x64,0x73, - 0x74,0x3e,0x3e,0x73,0x68,0x69,0x66,0x74,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x31,0x29,0x29,0x3b,0x0a,0x23, - 0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x31,0x34,0x29,0x0a,0x7b,0x0a,0x64,0x73, - 0x74,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x73,0x71,0x72,0x74,0x5f,0x72,0x6e,0x64,0x28,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x64,0x73, - 0x74,0x29,0x2c,0x66,0x70,0x72,0x63,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x36,0x29,0x0a, - 0x7b,0x0a,0x64,0x73,0x74,0x3d,0x6d,0x75,0x6c,0x5f,0x68,0x69,0x28,0x64,0x73,0x74,0x2c,0x73,0x72,0x63,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66, - 0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x34,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x6d,0x75,0x6c, - 0x5f,0x68,0x69,0x28,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x64,0x73,0x74,0x29,0x2c,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x73,0x72,0x63, - 0x29,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x31,0x31,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74, - 0x3d,0x2a,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75, - 0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x28,0x52,0x29,0x2b,0x28,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x5e,0x38,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65, - 0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x38,0x29,0x0a,0x7b,0x0a,0x2a,0x73,0x72,0x63,0x5f,0x70,0x74,0x72,0x3d,0x64,0x73,0x74, - 0x3b,0x0a,0x64,0x73,0x74,0x3d,0x73,0x72,0x63,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x31,0x35,0x29, - 0x0a,0x7b,0x0a,0x73,0x72,0x63,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x63,0x6f,0x6e,0x76,0x65,0x72,0x74,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x5f,0x72, - 0x74,0x6e,0x28,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x73,0x72,0x63,0x3e,0x3e,0x28,0x28,0x73,0x75,0x62,0x26,0x31,0x29,0x2a,0x33,0x32,0x29,0x29,0x29, - 0x29,0x3b,0x0a,0x73,0x72,0x63,0x20,0x26,0x3d,0x20,0x64,0x79,0x6e,0x61,0x6d,0x69,0x63,0x4d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x73, - 0x72,0x63,0x7c,0x3d,0x78,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x64,0x73,0x74,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28, - 0x64,0x69,0x76,0x5f,0x72,0x6e,0x64,0x28,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x64,0x73,0x74,0x29,0x2c,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65, - 0x28,0x73,0x72,0x63,0x29,0x2c,0x66,0x70,0x72,0x63,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d, - 0x35,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x2d,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x64, - 0x73,0x74,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x52,0x4f,0x55,0x4e,0x44,0x49,0x4e,0x47,0x5f,0x4d,0x4f,0x44,0x45,0x3c,0x30,0x29, - 0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2b,0x31,0x5d,0x3d,0x28,0x28, - 0x73,0x72,0x63,0x3e,0x3e,0x69,0x6d,0x6d,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x28,0x36,0x34,0x2d,0x69,0x6d,0x6d,0x5f,0x6f, - 0x66,0x66,0x73,0x65,0x74,0x29,0x29,0x29,0x26,0x33,0x3b,0x0a,0x67,0x6f,0x74,0x6f,0x20,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x65,0x6e,0x64,0x3b,0x0a, - 0x7d,0x0a,0x2a,0x64,0x73,0x74,0x5f,0x70,0x74,0x72,0x3d,0x64,0x73,0x74,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x65,0x6e, - 0x64,0x3a,0x0a,0x7b,0x0a,0x62,0x61,0x72,0x72,0x69,0x65,0x72,0x28,0x43,0x4c,0x4b,0x5f,0x4c,0x4f,0x43,0x41,0x4c,0x5f,0x4d,0x45,0x4d,0x5f,0x46,0x45,0x4e,0x43,0x45, - 0x29,0x3b,0x0a,0x69,0x70,0x3d,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x5d,0x3b,0x0a, - 0x66,0x70,0x72,0x63,0x3d,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2b,0x31,0x5d,0x3b, - 0x0a,0x69,0x70,0x2b,0x3d,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x73,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x66,0x70,0x72, - 0x63,0x3b,0x0a,0x7d,0x0a,0x23,0x69,0x66,0x20,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x20,0x3d,0x3d,0x20,0x31,0x36,0x0a, - 0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f,0x72,0x6b,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73, - 0x69,0x7a,0x65,0x28,0x33,0x32,0x2c,0x31,0x2c,0x31,0x29,0x29,0x29,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f, - 0x5f,0x28,0x28,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f,0x72,0x6b,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a,0x65,0x28,0x31,0x36,0x2c,0x31,0x2c,0x31,0x29,0x29, - 0x29,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x5f,0x5f,0x6b,0x65,0x72,0x6e,0x65,0x6c,0x20,0x76,0x6f,0x69,0x64,0x20,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x5f,0x76, - 0x6d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f, - 0x62,0x61,0x6c,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x76,0x6f,0x69,0x64, - 0x2a,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x76,0x6f,0x69, - 0x64,0x2a,0x20,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x5f,0x70,0x74,0x72,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69, - 0x7a,0x65,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x69,0x74,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73,0x2c,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x61,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63, - 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5b,0x28,0x56,0x4d,0x5f, - 0x53,0x54,0x41,0x54,0x45,0x5f,0x53,0x49,0x5a,0x45,0x2a,0x32,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x5d,0x3b, - 0x0a,0x6c,0x6f,0x61,0x64,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0x28,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x2c,0x73,0x69,0x7a, - 0x65,0x6f,0x66,0x28,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74, - 0x36,0x34,0x5f,0x74,0x29,0x2c,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x29,0x3b,0x0a,0x62,0x61,0x72,0x72,0x69,0x65,0x72,0x28,0x43,0x4c,0x4b,0x5f,0x4c,0x4f, - 0x43,0x41,0x4c,0x5f,0x4d,0x45,0x4d,0x5f,0x46,0x45,0x4e,0x43,0x45,0x29,0x3b,0x0a,0x65,0x6e,0x75,0x6d,0x20,0x7b,0x20,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48, - 0x3d,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3d,0x3d,0x31,0x36,0x29,0x3f,0x31,0x36,0x3a,0x38,0x20,0x7d,0x3b,0x0a, - 0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x52,0x3d,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x5f,0x6c,0x6f, - 0x63,0x61,0x6c,0x2b,0x28,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x2a, - 0x56,0x4d,0x5f,0x53,0x54,0x41,0x54,0x45,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x3b,0x0a, - 0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x46,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c, - 0x65,0x2a,0x29,0x28,0x52,0x2b,0x38,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x45,0x3d,0x28,0x5f,0x5f,0x6c, - 0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x20,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x67,0x65,0x74,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30, - 0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x64,0x78,0x3d,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65, - 0x78,0x2f,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x75,0x62,0x3d,0x67, - 0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x20,0x25,0x20,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x20,0x6d,0x61,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29, - 0x5b,0x30,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x78,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x31,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20, - 0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33, - 0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x32,0x5d,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, - 0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x30,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36, - 0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x52,0x29,0x2b,0x28,0x61,0x64,0x64, - 0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x30,0x78,0x66,0x66,0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f, - 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x31,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20, - 0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x52,0x29, - 0x2b,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3e,0x3e,0x38,0x29,0x26,0x30,0x78,0x66,0x66,0x29,0x29,0x3b,0x0a, - 0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x32, - 0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75, - 0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x52,0x29,0x2b,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3e,0x3e,0x31, - 0x36,0x29,0x26,0x30,0x78,0x66,0x66,0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, - 0x74,0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x33,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28, - 0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x52,0x29,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65, - 0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3e,0x3e,0x32,0x34,0x29,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x61, - 0x74,0x61,0x73,0x65,0x74,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29, - 0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x33,0x5d,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x38, - 0x5f,0x74,0x2a,0x20,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x3d,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e, - 0x74,0x38,0x5f,0x74,0x2a,0x29,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x5f,0x70,0x74,0x72,0x29,0x2b,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x4f,0x66,0x66,0x73,0x65,0x74, - 0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x36, - 0x34,0x2b,0x28,0x28,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x26,0x31,0x29,0x3c,0x3c,0x33,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x41,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x31,0x39, - 0x32,0x2b,0x28,0x28,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x26,0x31,0x29,0x3c,0x3c,0x33,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c, - 0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x65,0x4d,0x61,0x73,0x6b,0x3d,0x52,0x2b,0x31,0x38,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e, - 0x74,0x33,0x32,0x5f,0x74,0x20,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c,0x65,0x6e,0x67,0x74,0x68,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x32,0x30,0x29,0x29,0x5b,0x30,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70, - 0x72,0x63,0x3d,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67, - 0x29,0x5b,0x69,0x64,0x78,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x3d,0x66,0x69,0x72,0x73,0x74,0x3f,0x6d, - 0x78,0x3a,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x3d,0x66,0x69,0x72,0x73,0x74,0x3f,0x6d,0x61,0x3a,0x30, - 0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x3d,0x28, - 0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x73,0x29,0x2b, - 0x69,0x64,0x78,0x2a,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41, - 0x44,0x5f,0x4c,0x33,0x2b,0x36,0x34,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70,0x3d,0x28,0x73,0x75, - 0x62,0x3c,0x34,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x66,0x65,0x3d,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70, - 0x3f,0x28,0x46,0x2b,0x73,0x75,0x62,0x2a,0x32,0x29,0x3a,0x28,0x45,0x2b,0x28,0x73,0x75,0x62,0x2d,0x34,0x29,0x2a,0x32,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61, - 0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x66,0x3d,0x46,0x2b,0x73,0x75,0x62,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c, - 0x65,0x2a,0x20,0x65,0x3d,0x45,0x2b,0x73,0x75,0x62,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x61,0x6e,0x64,0x4d,0x61, - 0x73,0x6b,0x3d,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70,0x3f,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x2d,0x31,0x29,0x3a,0x64,0x79,0x6e,0x61,0x6d,0x69, - 0x63,0x4d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6f,0x72, - 0x4d,0x61,0x73,0x6b,0x31,0x3d,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70,0x3f,0x30,0x3a,0x65,0x4d,0x61,0x73,0x6b,0x5b,0x30,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, - 0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x32,0x3d,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70,0x3f,0x30,0x3a,0x65,0x4d,0x61,0x73,0x6b, - 0x5b,0x31,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x78,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73, - 0x6b,0x3d,0x28,0x73,0x75,0x62,0x26,0x31,0x29,0x3f,0x65,0x4d,0x61,0x73,0x6b,0x5b,0x31,0x5d,0x3a,0x65,0x4d,0x61,0x73,0x6b,0x5b,0x30,0x5d,0x3b,0x0a,0x5f,0x5f,0x6c, - 0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20, - 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65, - 0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e, - 0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c, - 0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x28,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53, - 0x49,0x5a,0x45,0x2b,0x49,0x4d,0x4d,0x5f,0x42,0x55,0x46,0x5f,0x53,0x49,0x5a,0x45,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f, - 0x74,0x29,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b, - 0x3d,0x28,0x28,0x31,0x3c,0x3c,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x2d,0x31,0x29,0x3c,0x3c,0x28,0x28,0x67,0x65, - 0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x2a,0x49,0x44,0x58,0x5f,0x57,0x49,0x44, - 0x54,0x48,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d, - 0x61,0x73,0x6b,0x3d,0x33,0x3c,0x3c,0x28,0x28,0x28,0x73,0x75,0x62,0x3e,0x3e,0x31,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c, - 0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x2a,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x3b,0x0a,0x23,0x70, - 0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x69,0x63,0x3d,0x30,0x3b,0x20,0x69,0x63, - 0x3c,0x6e,0x75,0x6d,0x5f,0x69,0x74,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73,0x3b,0x20,0x2b,0x2b,0x69,0x63,0x29,0x0a,0x7b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c, - 0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x2a,0x72,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20, - 0x2a,0x70,0x30,0x2c,0x2a,0x70,0x31,0x3b,0x0a,0x69,0x66,0x28,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3c,0x3d,0x38, - 0x29,0x7c,0x7c,0x28,0x73,0x75,0x62,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x73,0x70,0x4d, - 0x69,0x78,0x3d,0x2a,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x30,0x5e,0x2a,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x31,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x20, - 0x5e,0x3d,0x20,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26,0x73,0x70,0x4d,0x69,0x78,0x29,0x5b,0x30,0x5d,0x3b, - 0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x20,0x5e,0x3d,0x20,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26,0x73, - 0x70,0x4d,0x69,0x78,0x29,0x5b,0x31,0x5d,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x20,0x26,0x3d,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c, - 0x33,0x4d,0x61,0x73,0x6b,0x36,0x34,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x20,0x26,0x3d,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33, - 0x4d,0x61,0x73,0x6b,0x36,0x34,0x3b,0x0a,0x70,0x30,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28, - 0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2b,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x2b,0x73,0x75,0x62,0x2a,0x38,0x29,0x3b,0x0a,0x70,0x31,0x3d,0x28,0x5f, - 0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2b,0x73,0x70, - 0x41,0x64,0x64,0x72,0x31,0x2b,0x73,0x75,0x62,0x2a,0x38,0x29,0x3b,0x0a,0x72,0x3d,0x52,0x2b,0x73,0x75,0x62,0x3b,0x0a,0x2a,0x72,0x20,0x5e,0x3d,0x20,0x2a,0x70,0x30, - 0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x6d,0x65,0x6d,0x5f,0x64,0x61,0x74,0x61,0x3d,0x2a,0x70,0x31,0x3b,0x0a, - 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x71,0x3d,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x6d,0x65,0x6d, - 0x5f,0x64,0x61,0x74,0x61,0x3b,0x0a,0x66,0x65,0x5b,0x30,0x5d,0x3d,0x6c,0x6f,0x61,0x64,0x5f,0x46,0x5f,0x45,0x5f,0x67,0x72,0x6f,0x75,0x70,0x73,0x28,0x71,0x5b,0x30, - 0x5d,0x2c,0x61,0x6e,0x64,0x4d,0x61,0x73,0x6b,0x2c,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x31,0x29,0x3b,0x0a,0x66,0x65,0x5b,0x31,0x5d,0x3d,0x6c,0x6f,0x61,0x64,0x5f,0x46, - 0x5f,0x45,0x5f,0x67,0x72,0x6f,0x75,0x70,0x73,0x28,0x71,0x5b,0x31,0x5d,0x2c,0x61,0x6e,0x64,0x4d,0x61,0x73,0x6b,0x2c,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x32,0x29,0x3b, - 0x0a,0x7d,0x0a,0x69,0x66,0x28,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3d,0x3d,0x49,0x44,0x58,0x5f,0x57,0x49,0x44, - 0x54,0x48,0x29,0x7c,0x7c,0x28,0x73,0x75,0x62,0x3c,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x29,0x29,0x0a,0x66,0x70,0x72, - 0x63,0x3d,0x69,0x6e,0x6e,0x65,0x72,0x5f,0x6c,0x6f,0x6f,0x70,0x28,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c,0x65,0x6e,0x67,0x74,0x68,0x2c,0x63,0x6f,0x6d,0x70, - 0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2c,0x73,0x75,0x62,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2c,0x66,0x70,0x5f,0x72, - 0x65,0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x41,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c, - 0x52,0x2c,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x2c,0x66,0x70,0x72,0x63,0x2c,0x66,0x70,0x5f,0x77,0x6f,0x72, - 0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x2c,0x78,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b,0x2c,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f, - 0x6d,0x61,0x73,0x6b,0x29,0x3b,0x0a,0x69,0x66,0x28,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3c,0x3d,0x38,0x29,0x7c, - 0x7c,0x28,0x73,0x75,0x62,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x6d,0x78,0x20,0x5e,0x3d,0x20,0x2a,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x32,0x5e,0x2a,0x72,0x65,0x61, - 0x64,0x52,0x65,0x67,0x33,0x3b,0x0a,0x6d,0x78,0x20,0x26,0x3d,0x20,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x41,0x6c,0x69,0x67,0x6e,0x4d,0x61,0x73,0x6b,0x3b, - 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6e,0x65,0x78,0x74,0x5f,0x72,0x3d,0x2a,0x72,0x5e,0x2a,0x28,0x5f,0x5f,0x67,0x6c, - 0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x2b,0x6d,0x61, - 0x2b,0x73,0x75,0x62,0x2a,0x38,0x29,0x3b,0x0a,0x2a,0x72,0x3d,0x6e,0x65,0x78,0x74,0x5f,0x72,0x3b,0x0a,0x2a,0x70,0x31,0x3d,0x6e,0x65,0x78,0x74,0x5f,0x72,0x3b,0x0a, - 0x2a,0x70,0x30,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x66,0x5b,0x30,0x5d,0x29,0x5e,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x65,0x5b,0x30,0x5d, - 0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x74,0x6d,0x70,0x3d,0x6d,0x61,0x3b,0x0a,0x6d,0x61,0x3d,0x6d,0x78,0x3b,0x0a,0x6d,0x78,0x3d,0x74,0x6d, - 0x70,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x3d,0x30,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x3d,0x30,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28, - 0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3e,0x38,0x29,0x26,0x26,0x28,0x73,0x75,0x62,0x3e,0x3d,0x38,0x29,0x29,0x0a, - 0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x70,0x3d,0x28,0x28,0x5f, - 0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x29,0x2b,0x69,0x64,0x78, - 0x2a,0x28,0x56,0x4d,0x5f,0x53,0x54,0x41,0x54,0x45,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29, - 0x29,0x3b,0x0a,0x70,0x5b,0x73,0x75,0x62,0x5d,0x3d,0x52,0x5b,0x73,0x75,0x62,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x73,0x75,0x62,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x28, - 0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x29,0x5b,0x69,0x64, - 0x78,0x5d,0x3d,0x66,0x70,0x72,0x63,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x6c,0x61,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x70,0x5b,0x73,0x75,0x62,0x2b,0x38,0x5d,0x3d,0x61, - 0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x46,0x5b,0x73,0x75,0x62,0x5d,0x29,0x5e,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x45,0x5b,0x73,0x75,0x62,0x5d,0x29, - 0x3b,0x0a,0x70,0x5b,0x73,0x75,0x62,0x2b,0x31,0x36,0x5d,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x45,0x5b,0x73,0x75,0x62,0x5d,0x29,0x3b,0x0a,0x7d,0x0a, - 0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x73,0x75,0x62,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e, - 0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x70,0x2b,0x31,0x36,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x6d,0x61,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, - 0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x70,0x2b,0x31,0x36,0x29,0x29,0x5b,0x31,0x5d,0x3d,0x6d,0x78,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x5f,0x5f, + 0x6f,0x72,0x6b,0x65,0x72,0x73,0x3b,0x0a,0x7d,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28, + 0x52,0x2b,0x32,0x30,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72, + 0x6f,0x67,0x72,0x61,0x6d,0x2d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x28,0x52,0x45, + 0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53,0x49,0x5a,0x45,0x2b,0x49,0x4d,0x4d,0x5f,0x42,0x55,0x46,0x5f,0x53,0x49,0x5a,0x45,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f, + 0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6c,0x6f,0x61,0x64,0x5f,0x62,0x75,0x66, + 0x66,0x65,0x72,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x2a,0x64,0x73,0x74,0x5f,0x62,0x75,0x66,0x2c,0x73,0x69, + 0x7a,0x65,0x5f,0x74,0x20,0x4e,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x73,0x72,0x63,0x5f, + 0x62,0x75,0x66,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x3d,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30, + 0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x20,0x73,0x74,0x65,0x70,0x3d,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x73,0x69,0x7a,0x65,0x28,0x30,0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f,0x66, + 0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x38, + 0x5f,0x74,0x2a,0x20,0x73,0x72,0x63,0x3d,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74, + 0x2a,0x29,0x73,0x72,0x63,0x5f,0x62,0x75,0x66,0x29,0x2b,0x67,0x65,0x74,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x69,0x64,0x28,0x30,0x29,0x2a,0x73,0x69,0x7a,0x65,0x6f, + 0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x2a,0x4e,0x2b,0x69,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74, + 0x2a,0x20,0x64,0x73,0x74,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x64,0x73,0x74,0x5f,0x62,0x75,0x66, + 0x29,0x2b,0x69,0x3b,0x0a,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x69,0x3c,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x2a,0x4e, + 0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x64,0x73,0x74,0x29,0x3d,0x2a,0x28, + 0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x73,0x72,0x63,0x29,0x3b,0x0a,0x73,0x72,0x63,0x2b,0x3d,0x73, + 0x74,0x65,0x70,0x3b,0x0a,0x64,0x73,0x74,0x2b,0x3d,0x73,0x74,0x65,0x70,0x3b,0x0a,0x69,0x2b,0x3d,0x73,0x74,0x65,0x70,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x64,0x6f,0x75, + 0x62,0x6c,0x65,0x20,0x6c,0x6f,0x61,0x64,0x5f,0x46,0x5f,0x45,0x5f,0x67,0x72,0x6f,0x75,0x70,0x73,0x28,0x69,0x6e,0x74,0x20,0x76,0x61,0x6c,0x75,0x65,0x2c,0x75,0x69, + 0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x61,0x6e,0x64,0x4d,0x61,0x73,0x6b,0x2c,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x29,0x0a, + 0x7b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x3d,0x63,0x6f,0x6e,0x76,0x65,0x72,0x74,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x5f,0x72,0x74,0x6e,0x28,0x76,0x61, + 0x6c,0x75,0x65,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x78,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x74,0x29,0x3b,0x0a,0x78,0x20, + 0x26,0x3d,0x20,0x61,0x6e,0x64,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x78,0x7c,0x3d,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x73, + 0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x78,0x29,0x3b,0x0a,0x7d,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66,0x74,0x28,0x64,0x6f, + 0x75,0x62,0x6c,0x65,0x20,0x61,0x2c,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x62,0x2c,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x63,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x20,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f,0x64,0x65,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d, + 0x6f,0x64,0x65,0x3d,0x3d,0x30,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x66,0x6d,0x61,0x28,0x61,0x2c,0x62,0x2c,0x63,0x29,0x3b,0x0a,0x69,0x66,0x28,0x28,0x61, + 0x3d,0x3d,0x30,0x2e,0x30,0x29,0x7c,0x7c,0x28,0x62,0x3d,0x3d,0x30,0x2e,0x30,0x29,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x63,0x3b,0x0a,0x69,0x66,0x28,0x62, + 0x3d,0x3d,0x31,0x2e,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x63,0x3d,0x3d,0x30,0x2e,0x30,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x3b,0x0a,0x69,0x66, + 0x28,0x63,0x3d,0x3d,0x2d,0x61,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x69,0x6e,0x75,0x73,0x5f,0x7a, + 0x65,0x72,0x6f,0x3d,0x31,0x55,0x4c,0x3c,0x3c,0x36,0x33,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f, + 0x64,0x65,0x3d,0x3d,0x31,0x29,0x3f,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x6d,0x69,0x6e,0x75,0x73,0x5f,0x7a,0x65,0x72,0x6f,0x29,0x3a,0x30,0x2e,0x30, + 0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x73,0x69, + 0x7a,0x65,0x3d,0x35,0x32,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d, + 0x61,0x73,0x6b,0x3d,0x28,0x31,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x29,0x2d,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20, + 0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x73,0x69,0x7a,0x65,0x3d,0x31,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74, + 0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x31,0x3c,0x3c,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x73,0x69,0x7a,0x65, + 0x29,0x2d,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x61,0x3d,0x28, + 0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x61,0x29,0x2e,0x79,0x3e,0x3e,0x32,0x30,0x29,0x26,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x61,0x73,0x6b, + 0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x62,0x3d,0x28,0x61,0x73,0x5f, + 0x75,0x69,0x6e,0x74,0x32,0x28,0x62,0x29,0x2e,0x79,0x3e,0x3e,0x32,0x30,0x29,0x26,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x63, + 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x3d,0x28,0x61,0x73,0x5f,0x75,0x69,0x6e, + 0x74,0x32,0x28,0x63,0x29,0x2e,0x79,0x3e,0x3e,0x32,0x30,0x29,0x26,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x69,0x66,0x28,0x28, + 0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x61,0x3d,0x3d,0x32,0x30,0x34,0x37,0x29,0x7c,0x7c,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x62,0x3d,0x3d, + 0x32,0x30,0x34,0x37,0x29,0x7c,0x7c,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x3d,0x3d,0x32,0x30,0x34,0x37,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e, + 0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69,0x6e,0x66,0x3d,0x32,0x30,0x34,0x37,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x3b,0x0a,0x72,0x65,0x74,0x75, + 0x72,0x6e,0x20,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x69,0x6e,0x66,0x29,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61, + 0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x61,0x3d,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x61,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d, + 0x61,0x73,0x6b,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x62,0x3d,0x28,0x61,0x73,0x5f,0x75,0x6c, + 0x6f,0x6e,0x67,0x28,0x62,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d,0x61,0x73,0x6b,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20, + 0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3d,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x63,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61, + 0x5f,0x6d,0x61,0x73,0x6b,0x29,0x3b,0x0a,0x28,0x28,0x75,0x69,0x6e,0x74,0x32,0x2a,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x61,0x29,0x2d,0x3e,0x79, + 0x7c,0x3d,0x31,0x55,0x3c,0x3c,0x32,0x30,0x3b,0x0a,0x28,0x28,0x75,0x69,0x6e,0x74,0x32,0x2a,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x62,0x29,0x2d, + 0x3e,0x79,0x7c,0x3d,0x31,0x55,0x3c,0x3c,0x32,0x30,0x3b,0x0a,0x28,0x28,0x75,0x69,0x6e,0x74,0x32,0x2a,0x29,0x26,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63, + 0x29,0x2d,0x3e,0x79,0x7c,0x3d,0x31,0x55,0x3c,0x3c,0x32,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67, + 0x6e,0x5f,0x61,0x3d,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x61,0x29,0x2e,0x79,0x3e,0x3e,0x33,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e, + 0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x62,0x3d,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x62,0x29,0x2e,0x79,0x3e,0x3e,0x33,0x31,0x3b,0x0a, + 0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x63,0x3d,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x63, + 0x29,0x2e,0x79,0x3e,0x3e,0x33,0x31,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x32,0x5d,0x3b, + 0x0a,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x61,0x2a,0x6d,0x61,0x6e,0x74,0x69,0x73, + 0x73,0x61,0x5f,0x62,0x3b,0x0a,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x6d,0x75,0x6c,0x5f,0x68,0x69,0x28,0x6d,0x61,0x6e,0x74,0x69, + 0x73,0x73,0x61,0x5f,0x61,0x2c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x62,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x5f, + 0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3e,0x3e,0x34,0x31,0x3b,0x0a,0x75,0x69, + 0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x65,0x78,0x70,0x6f,0x6e, + 0x65,0x6e,0x74,0x5f,0x61,0x2b,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x62,0x2b,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x2d, + 0x31,0x30,0x32,0x33,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x73, + 0x69,0x67,0x6e,0x5f,0x61,0x5e,0x73,0x69,0x67,0x6e,0x5f,0x62,0x3b,0x0a,0x69,0x66,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65, + 0x73,0x75,0x6c,0x74,0x3e,0x3d,0x32,0x30,0x34,0x37,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69,0x6e,0x66, + 0x5f,0x72,0x6e,0x64,0x3d,0x28,0x32,0x30,0x34,0x37,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x29,0x2d,0x28,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f,0x64,0x65, + 0x26,0x31,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x69,0x6e,0x66,0x5f,0x72,0x6e,0x64,0x29,0x3b,0x0a, + 0x7d,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x32,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34, + 0x5f,0x74,0x20,0x74,0x5b,0x32,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72, + 0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x69,0x66,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3e,0x3d,0x65, + 0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x32,0x33,0x2d,0x65, + 0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x75,0x6c, + 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d, + 0x3d,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x29,0x7c,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73, + 0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3e,0x3e,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x29,0x29,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69, + 0x66,0x74,0x32,0x3d,0x28,0x31,0x32,0x37,0x2d,0x35,0x32,0x29,0x2b,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f, + 0x63,0x2d,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74, + 0x32,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3e,0x3d,0x36,0x34,0x29,0x0a,0x7b,0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x30,0x3b, + 0x0a,0x74,0x5b,0x31,0x5d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3c,0x3c,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x2d,0x36,0x34,0x29,0x3b,0x0a,0x7d, + 0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x32,0x3b, + 0x0a,0x74,0x5b,0x31,0x5d,0x3d,0x73,0x68,0x69,0x66,0x74,0x32,0x3f,0x28,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3e,0x3e,0x28,0x36,0x34,0x2d,0x73,0x68, + 0x69,0x66,0x74,0x32,0x29,0x29,0x3a,0x30,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x28,0x73,0x68,0x69,0x66,0x74, + 0x32,0x3c,0x2d,0x35,0x32,0x29,0x3f,0x30,0x3a,0x28,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3e,0x3e,0x28,0x2d,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29, + 0x3b,0x0a,0x74,0x5b,0x31,0x5d,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28,0x28,0x74,0x5b,0x30,0x5d,0x3d,0x3d,0x30,0x29,0x26,0x26,0x28,0x63,0x21,0x3d,0x30,0x2e,0x30,0x29, + 0x29,0x0a,0x74,0x5b,0x30,0x5d,0x3d,0x31,0x3b,0x0a,0x7d,0x0a,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d, + 0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x74,0x5b, + 0x30,0x5d,0x3d,0x30,0x3b,0x0a,0x74,0x5b,0x31,0x5d,0x3d,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x63,0x3c,0x3c,0x31,0x31,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x32,0x3d,0x28,0x31,0x32,0x37,0x2d,0x31,0x30,0x34,0x2d,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f, + 0x6e,0x29,0x2b,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74, + 0x2d,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x29,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x66,0x6d, + 0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74, + 0x32,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c, + 0x3c,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x7c,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3f,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3e, + 0x3e,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29,0x3a,0x30,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x73,0x68,0x69,0x66,0x74, + 0x32,0x3d,0x2d,0x73,0x68,0x69,0x66,0x74,0x32,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3e,0x3d,0x36,0x34,0x29,0x0a,0x7b,0x0a,0x73,0x68,0x69,0x66, + 0x74,0x32,0x2d,0x3d,0x36,0x34,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x28,0x73,0x68,0x69,0x66,0x74,0x32,0x3c,0x36,0x34, + 0x29,0x3f,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3e,0x3e,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x3a,0x30,0x3b,0x0a,0x66,0x6d,0x61, + 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x30,0x3b,0x0a,0x69,0x66,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x3d, + 0x30,0x29,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x31,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x66,0x6d,0x61, + 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3e,0x3e,0x73,0x68,0x69,0x66,0x74, + 0x32,0x29,0x7c,0x28,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x3c,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29,0x3b, + 0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3e,0x3e,0x73,0x68, + 0x69,0x66,0x74,0x32,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x65,0x78, + 0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x63,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65, + 0x73,0x75,0x6c,0x74,0x3b,0x0a,0x69,0x66,0x28,0x73,0x69,0x67,0x6e,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x3d,0x73,0x69,0x67,0x6e,0x5f,0x63, + 0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x2b,0x3d,0x74,0x5b,0x30,0x5d,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73, + 0x75,0x6c,0x74,0x5b,0x31,0x5d,0x2b,0x3d,0x74,0x5b,0x31,0x5d,0x2b,0x28,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3c,0x74,0x5b,0x30, + 0x5d,0x29,0x3f,0x31,0x3a,0x30,0x29,0x3b,0x0a,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73, + 0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x74,0x5b,0x31,0x5d,0x29,0x3f,0x31,0x3a,0x30,0x3b,0x0a,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c, + 0x74,0x3d,0x73,0x69,0x67,0x6e,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73, + 0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x62,0x6f,0x72,0x72,0x6f,0x77,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d, + 0x3c,0x74,0x5b,0x30,0x5d,0x29,0x3f,0x31,0x3a,0x30,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x2d,0x3d,0x74,0x5b,0x30,0x5d,0x3b, + 0x0a,0x74,0x5b,0x31,0x5d,0x2b,0x3d,0x62,0x6f,0x72,0x72,0x6f,0x77,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x63,0x68, + 0x61,0x6e,0x67,0x65,0x5f,0x73,0x69,0x67,0x6e,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x74,0x5b,0x31,0x5d,0x29,0x3f,0x31, + 0x3a,0x30,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x2d,0x3d,0x74,0x5b,0x31,0x5d,0x3b,0x0a,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d, + 0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x73,0x69,0x67,0x6e,0x5f,0x6d,0x75,0x6c,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5e,0x63,0x68,0x61,0x6e,0x67,0x65,0x5f, + 0x73,0x69,0x67,0x6e,0x3b,0x0a,0x69,0x66,0x28,0x63,0x68,0x61,0x6e,0x67,0x65,0x5f,0x73,0x69,0x67,0x6e,0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75, + 0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x2d,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x29,0x3b, + 0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x7e,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3b,0x0a,0x66, + 0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x2b,0x3d,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3f,0x30,0x3a,0x31,0x3b, + 0x0a,0x7d,0x0a,0x69,0x66,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x66,0x6d,0x61, + 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x3d,0x30,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x30,0x2e,0x30,0x3b,0x0a,0x65,0x78,0x70,0x6f,0x6e, + 0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x2d,0x3d,0x36,0x34,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31, + 0x5d,0x3d,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3d,0x30, + 0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x64,0x65,0x78,0x3d,0x63,0x6c,0x7a,0x28,0x66,0x6d,0x61, + 0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x64,0x65,0x78,0x29,0x0a,0x7b,0x0a,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e, + 0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x2d,0x3d,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b, + 0x31,0x5d,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3c,0x3c,0x69,0x6e,0x64,0x65,0x78,0x29,0x7c,0x28,0x66,0x6d,0x61,0x5f,0x72, + 0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x3e,0x3e,0x28,0x36,0x34,0x2d,0x69,0x6e,0x64,0x65,0x78,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72, + 0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3d,0x30,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66, + 0x74,0x3d,0x31,0x31,0x2b,0x65,0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33, + 0x32,0x5f,0x74,0x20,0x72,0x6f,0x75,0x6e,0x64,0x5f,0x75,0x70,0x3d,0x28,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x30,0x5d,0x7c,0x7c,0x28,0x66,0x6d, + 0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x26,0x28,0x28,0x31,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x29,0x2d,0x31,0x29,0x29,0x29,0x3f,0x31,0x3a,0x30, + 0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x20,0x3e,0x3e,0x3d,0x20,0x73,0x68,0x69,0x66,0x74,0x3b,0x0a,0x66,0x6d,0x61,0x5f,0x72, + 0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x20,0x26,0x3d,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x6d,0x61,0x73,0x6b,0x3b,0x0a,0x69,0x66,0x28,0x72,0x6f, + 0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f,0x64,0x65,0x2b,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x3d,0x32,0x29,0x0a, + 0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x2b,0x3d,0x72,0x6f,0x75,0x6e,0x64,0x5f,0x75,0x70,0x3b,0x0a,0x69,0x66,0x28,0x66,0x6d, + 0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x3d,0x28,0x31,0x55,0x4c,0x3c,0x3c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x73,0x69,0x7a,0x65, + 0x29,0x29,0x0a,0x7b,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x3d,0x30,0x3b,0x0a,0x2b,0x2b,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74, + 0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x7c,0x3d, + 0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x5f,0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x2b,0x65, + 0x78,0x70,0x5f,0x63,0x6f,0x72,0x72,0x65,0x63,0x74,0x69,0x6f,0x6e,0x29,0x3c,0x3c,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x5f,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x66, + 0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x7c,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x73,0x69,0x67,0x6e,0x5f,0x66,0x6d, + 0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x29,0x3c,0x3c,0x36,0x33,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28, + 0x66,0x6d,0x61,0x5f,0x72,0x65,0x73,0x75,0x6c,0x74,0x5b,0x31,0x5d,0x29,0x3b,0x0a,0x7d,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x64,0x69,0x76,0x5f,0x72,0x6e,0x64, + 0x28,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x61,0x2c,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x62,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x72,0x63, + 0x29,0x0a,0x7b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x79,0x30,0x3d,0x31,0x2e,0x30,0x2f,0x62,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c, + 0x65,0x20,0x74,0x30,0x3d,0x61,0x2a,0x79,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x31,0x3d,0x66,0x6d,0x61,0x28,0x2d, + 0x62,0x2c,0x74,0x30,0x2c,0x61,0x29,0x3b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66,0x74,0x28, + 0x79,0x30,0x2c,0x74,0x31,0x2c,0x74,0x30,0x2c,0x66,0x70,0x72,0x63,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69, + 0x6e,0x66,0x3d,0x32,0x30,0x34,0x37,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69,0x6e, + 0x66,0x5f,0x72,0x6e,0x64,0x3d,0x69,0x6e,0x66,0x2d,0x28,0x66,0x70,0x72,0x63,0x26,0x31,0x29,0x3b,0x0a,0x69,0x66,0x28,0x28,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e, + 0x67,0x28,0x72,0x65,0x73,0x75,0x6c,0x74,0x29,0x3e,0x3e,0x35,0x32,0x29,0x26,0x32,0x30,0x34,0x37,0x29,0x3d,0x3d,0x32,0x30,0x34,0x37,0x29,0x20,0x72,0x65,0x73,0x75, + 0x6c,0x74,0x3d,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x69,0x6e,0x66,0x5f,0x72,0x6e,0x64,0x29,0x3b,0x0a,0x69,0x66,0x28,0x61,0x73,0x5f,0x75,0x6c,0x6f, + 0x6e,0x67,0x28,0x61,0x29,0x3d,0x3d,0x69,0x6e,0x66,0x29,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x61,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x28,0x61,0x3d, + 0x3d,0x62,0x29,0x3f,0x31,0x2e,0x30,0x3a,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x73,0x71,0x72,0x74,0x5f,0x72,0x6e, + 0x64,0x28,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x78,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x72,0x63,0x29,0x0a,0x7b,0x0a,0x64,0x6f,0x75,0x62, + 0x6c,0x65,0x20,0x79,0x30,0x3d,0x72,0x73,0x71,0x72,0x74,0x28,0x78,0x29,0x3b,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x30,0x3d,0x79,0x30,0x2a,0x78,0x3b,0x0a, + 0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x74,0x31,0x3d,0x79,0x30,0x2a,0x2d,0x30,0x2e,0x35,0x3b,0x0a,0x74,0x31,0x3d,0x66,0x6d,0x61,0x28,0x74,0x31,0x2c,0x74,0x30,0x2c, + 0x30,0x2e,0x35,0x29,0x3b,0x09,0x09,0x09,0x09,0x09,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x79,0x31,0x5f,0x78,0x3d,0x66,0x6d,0x61, + 0x28,0x74,0x30,0x2c,0x74,0x31,0x2c,0x74,0x30,0x29,0x3b,0x09,0x0a,0x79,0x30,0x20,0x2a,0x3d,0x20,0x30,0x2e,0x35,0x3b,0x0a,0x79,0x30,0x3d,0x66,0x6d,0x61,0x28,0x79, + 0x30,0x2c,0x74,0x31,0x2c,0x79,0x30,0x29,0x3b,0x09,0x09,0x09,0x09,0x09,0x0a,0x74,0x31,0x3d,0x66,0x6d,0x61,0x28,0x2d,0x79,0x31,0x5f,0x78,0x2c,0x79,0x31,0x5f,0x78, + 0x2c,0x78,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x64,0x6f,0x75,0x62,0x6c,0x65,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66,0x74,0x28, + 0x74,0x31,0x2c,0x79,0x30,0x2c,0x79,0x31,0x5f,0x78,0x2c,0x66,0x70,0x72,0x63,0x29,0x3b,0x09,0x09,0x0a,0x69,0x66,0x28,0x2a,0x28,0x28,0x75,0x69,0x6e,0x74,0x36,0x34, + 0x5f,0x74,0x2a,0x29,0x20,0x26,0x78,0x29,0x3d,0x3d,0x28,0x32,0x30,0x34,0x37,0x55,0x4c,0x3c,0x3c,0x35,0x32,0x29,0x29,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3d,0x78, + 0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x72,0x65,0x73,0x75,0x6c,0x74,0x3b,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x6e,0x65, + 0x72,0x5f,0x6c,0x6f,0x6f,0x70,0x28,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c, + 0x65,0x6e,0x67,0x74,0x68,0x2c,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x63, + 0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73, + 0x75,0x62,0x2c,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, + 0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c,0x0a, + 0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x41,0x5f,0x6f,0x66, + 0x66,0x73,0x65,0x74,0x2c,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x52,0x2c,0x0a,0x5f,0x5f,0x6c,0x6f,0x63, + 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x2c,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x72,0x63,0x2c,0x0a, + 0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x2c,0x0a, + 0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x78,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b,0x2c,0x0a,0x63,0x6f, + 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x0a,0x29,0x0a,0x7b,0x0a,0x63,0x6f, + 0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x75,0x62,0x32,0x3d,0x73,0x75,0x62,0x3e,0x3e,0x31,0x3b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66, + 0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2b,0x31,0x5d,0x3d,0x66,0x70,0x72,0x63,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d, + 0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x70,0x3d,0x30,0x3b,0x20,0x69,0x70, + 0x3c,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c,0x65,0x6e,0x67,0x74,0x68,0x3b,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f, + 0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x5d,0x3d,0x69,0x70,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6e,0x73,0x74,0x3d,0x63, + 0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5b,0x69,0x70,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x4e,0x55,0x4d,0x5f,0x49,0x4e,0x53,0x54,0x53,0x5f, + 0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x2d,0x31,0x29,0x3b,0x0a,0x63,0x6f, + 0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e, + 0x4e,0x55,0x4d,0x5f,0x46,0x50,0x5f,0x49,0x4e,0x53,0x54,0x53,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45, + 0x52,0x5f,0x48,0x41,0x53,0x48,0x2d,0x31,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73, + 0x74,0x73,0x3d,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x2d,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b,0x0a,0x69,0x66,0x28, + 0x73,0x75,0x62,0x3c,0x3d,0x6e,0x75,0x6d,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x20,0x69,0x6e,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x73,0x75,0x62,0x2d,0x6e,0x75,0x6d,0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b,0x0a, + 0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x66,0x70,0x3d,0x69,0x6e,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3c,0x6e,0x75,0x6d, + 0x5f,0x66,0x70,0x5f,0x69,0x6e,0x73,0x74,0x73,0x3b,0x0a,0x69,0x6e,0x73,0x74,0x3d,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d, + 0x5b,0x69,0x70,0x2b,0x28,0x69,0x73,0x5f,0x66,0x70,0x3f,0x73,0x75,0x62,0x32,0x3a,0x69,0x6e,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x5d,0x3b,0x0a,0x75, + 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x4f,0x50,0x43,0x4f,0x44,0x45,0x5f,0x4f,0x46,0x46, + 0x53,0x45,0x54,0x29,0x26,0x31,0x35,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, + 0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x4c,0x4f,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e, + 0x74,0x33,0x32,0x5f,0x74,0x20,0x72,0x65,0x67,0x5f,0x73,0x69,0x7a,0x65,0x5f,0x73,0x68,0x69,0x66,0x74,0x3d,0x69,0x73,0x5f,0x66,0x70,0x3f,0x34,0x3a,0x33,0x3b,0x0a, + 0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x72,0x65,0x67,0x5f,0x62,0x61,0x73,0x65,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x69, + 0x73,0x5f,0x66,0x70,0x3f,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3a,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x72,0x65,0x67,0x5f,0x62,0x61,0x73,0x65,0x5f,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x69,0x73,0x5f,0x66,0x70,0x3f,0x66, + 0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x41,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3a,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74, + 0x20,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x44,0x53,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x37, + 0x3b,0x0a,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x72,0x65,0x67,0x5f,0x62,0x61,0x73,0x65,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2b,0x28,0x64,0x73, + 0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3c,0x3c,0x72,0x65,0x67,0x5f,0x73,0x69,0x7a,0x65,0x5f,0x73,0x68,0x69,0x66,0x74,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33, + 0x32,0x5f,0x74,0x20,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54, + 0x29,0x26,0x37,0x3b,0x0a,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3c,0x3c,0x33,0x29,0x2b, + 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x3f,0x30,0x3a,0x72,0x65,0x67,0x5f,0x62,0x61,0x73,0x65,0x5f,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29, + 0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x64,0x73,0x74,0x5f,0x70,0x74,0x72,0x3d,0x28,0x5f,0x5f,0x6c, + 0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74, + 0x2a,0x29,0x28,0x52,0x29,0x2b,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36, + 0x34,0x5f,0x74,0x2a,0x20,0x73,0x72,0x63,0x5f,0x70,0x74,0x72,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29, + 0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x28,0x52,0x29,0x2b,0x73,0x72,0x63,0x5f,0x6f,0x66,0x66,0x73,0x65, + 0x74,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x6d,0x6d,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x69, + 0x6e,0x73,0x74,0x3e,0x3e,0x49,0x4d,0x4d,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x32,0x35,0x35,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f, + 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x69,0x6d,0x6d,0x5f,0x70,0x74,0x72,0x3d,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x2b,0x69,0x6d, + 0x6d,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x64,0x73,0x74,0x3d,0x2a,0x64,0x73,0x74,0x5f,0x70,0x74,0x72,0x3b, + 0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x73,0x72,0x63,0x3d,0x2a,0x73,0x72,0x63,0x5f,0x70,0x74,0x72,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6d, + 0x6d,0x3b,0x0a,0x69,0x6d,0x6d,0x2e,0x78,0x3d,0x69,0x6d,0x6d,0x5f,0x70,0x74,0x72,0x5b,0x30,0x5d,0x3b,0x0a,0x69,0x6d,0x6d,0x2e,0x79,0x3d,0x69,0x6d,0x6d,0x5f,0x70, + 0x74,0x72,0x5b,0x31,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x6c,0x6f,0x63,0x5f,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x3e,0x3e,0x32,0x31,0x29,0x26,0x33,0x31,0x3b,0x0a,0x63, + 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x30,0x78,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x46,0x55,0x3e, + 0x3e,0x6c,0x6f,0x63,0x5f,0x73,0x68,0x69,0x66,0x74,0x29,0x2d,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x72,0x65,0x61, + 0x64,0x3d,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x21,0x3d,0x31,0x30,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x61,0x64,0x64,0x72,0x3d,0x69,0x73, + 0x5f,0x72,0x65,0x61,0x64,0x3f,0x28,0x28,0x6c,0x6f,0x63,0x5f,0x73,0x68,0x69,0x66,0x74,0x3d,0x3d,0x4c,0x4f,0x43,0x5f,0x4c,0x33,0x29,0x3f,0x30,0x3a,0x28,0x75,0x69, + 0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x73,0x72,0x63,0x29,0x29,0x3a,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x64,0x73,0x74,0x29,0x3b,0x0a,0x61, + 0x64,0x64,0x72,0x2b,0x3d,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x20,0x26,0x3d,0x20,0x6d, + 0x61,0x73,0x6b,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x70,0x74,0x72,0x3d,0x28,0x5f,0x5f,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2b,0x61,0x64,0x64,0x72, + 0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x73,0x5f,0x72,0x65,0x61,0x64,0x29,0x0a,0x7b,0x0a,0x73,0x72,0x63,0x3d,0x2a,0x70,0x74,0x72,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73, + 0x65,0x0a,0x7b,0x0a,0x2a,0x70,0x74,0x72,0x3d,0x73,0x72,0x63,0x3b,0x0a,0x67,0x6f,0x74,0x6f,0x20,0x65,0x78,0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x65,0x6e,0x64, + 0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x33,0x32, + 0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x20,0x73,0x72,0x63,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f, + 0x74,0x29,0x28,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x29,0x29,0x29,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65, + 0x3c,0x3d,0x33,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f, + 0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x20,0x73,0x72,0x63,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x2d,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f, + 0x74,0x29,0x28,0x73,0x72,0x63,0x29,0x29,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x30,0x29,0x20,0x64,0x73,0x74,0x2b,0x3d,0x28,0x69,0x6e, + 0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68, + 0x69,0x66,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x3e,0x3e,0x53,0x48,0x49,0x46,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x26,0x33,0x3b,0x0a,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3c,0x32,0x29,0x20,0x64,0x73,0x74,0x2b,0x3d,0x73,0x72,0x63,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, + 0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x69,0x6d,0x6d,0x36,0x34,0x3d,0x2a,0x28,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x20,0x26,0x69,0x6d, + 0x6d,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x53,0x52,0x43,0x5f,0x49,0x53,0x5f,0x49,0x4d,0x4d,0x36,0x34,0x5f,0x4f,0x46,0x46, + 0x53,0x45,0x54,0x29,0x29,0x20,0x73,0x72,0x63,0x3d,0x69,0x6d,0x6d,0x36,0x34,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x32,0x29,0x20,0x64, + 0x73,0x74,0x20,0x2a,0x3d,0x20,0x73,0x72,0x63,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x33,0x29,0x20,0x64,0x73,0x74,0x20,0x5e,0x3d,0x20, + 0x73,0x72,0x63,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x31,0x32,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28, + 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x29,0x20,0x73,0x72,0x63,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x63,0x6f,0x6e,0x76,0x65,0x72,0x74,0x5f,0x64, + 0x6f,0x75,0x62,0x6c,0x65,0x5f,0x72,0x74,0x6e,0x28,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x73,0x72,0x63,0x3e,0x3e,0x28,0x28,0x73,0x75,0x62,0x26,0x31, + 0x29,0x2a,0x33,0x32,0x29,0x29,0x29,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x26,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53, + 0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x20,0x73,0x72,0x63,0x20,0x5e,0x3d,0x20,0x30,0x78,0x38,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30, + 0x30,0x30,0x30,0x30,0x30,0x55,0x4c,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x6d,0x75,0x6c,0x3d,0x28,0x69,0x6e,0x73,0x74, + 0x26,0x28,0x31,0x3c,0x3c,0x53,0x48,0x49,0x46,0x54,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x21,0x3d,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f, + 0x75,0x62,0x6c,0x65,0x20,0x61,0x3d,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x64,0x73,0x74,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x64,0x6f,0x75, + 0x62,0x6c,0x65,0x20,0x62,0x3d,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x73,0x72,0x63,0x29,0x3b,0x0a,0x64,0x73,0x74,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f, + 0x6e,0x67,0x28,0x66,0x6d,0x61,0x5f,0x73,0x6f,0x66,0x74,0x28,0x61,0x2c,0x69,0x73,0x5f,0x6d,0x75,0x6c,0x3f,0x62,0x3a,0x31,0x2e,0x30,0x2c,0x69,0x73,0x5f,0x6d,0x75, + 0x6c,0x3f,0x30,0x2e,0x30,0x3a,0x62,0x2c,0x66,0x70,0x72,0x63,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65, + 0x3d,0x3d,0x39,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x2b,0x3d,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x78,0x29,0x3b,0x0a,0x69,0x66, + 0x28,0x28,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x64,0x73,0x74,0x29,0x26,0x28,0x43,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b, + 0x3c,0x3c,0x28,0x69,0x6d,0x6d,0x2e,0x79,0x26,0x33,0x31,0x29,0x29,0x29,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d, + 0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x5d,0x3d,0x28,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x28,0x28,0x69,0x6e,0x74,0x33,0x32, + 0x5f,0x74,0x29,0x28,0x69,0x6d,0x6d,0x2e,0x79,0x29,0x3e,0x3e,0x35,0x29,0x2d,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x73,0x29,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65, + 0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x37,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69, + 0x66,0x74,0x31,0x3d,0x73,0x72,0x63,0x26,0x36,0x33,0x3b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f, + 0x4c,0x5f,0x52,0x20,0x3e,0x20,0x30,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x32,0x3d,0x36,0x34, + 0x2d,0x73,0x68,0x69,0x66,0x74,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x69,0x73,0x5f,0x72,0x6f,0x6c,0x3d,0x28,0x69,0x6e,0x73,0x74, + 0x26,0x28,0x31,0x3c,0x3c,0x4e,0x45,0x47,0x41,0x54,0x49,0x56,0x45,0x5f,0x53,0x52,0x43,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x29,0x29,0x3b,0x0a,0x64,0x73,0x74,0x3d, + 0x28,0x64,0x73,0x74,0x3e,0x3e,0x28,0x69,0x73,0x5f,0x72,0x6f,0x6c,0x3f,0x73,0x68,0x69,0x66,0x74,0x32,0x3a,0x73,0x68,0x69,0x66,0x74,0x31,0x29,0x29,0x7c,0x28,0x64, + 0x73,0x74,0x3c,0x3c,0x28,0x69,0x73,0x5f,0x72,0x6f,0x6c,0x3f,0x73,0x68,0x69,0x66,0x74,0x31,0x3a,0x73,0x68,0x69,0x66,0x74,0x32,0x29,0x29,0x3b,0x0a,0x23,0x65,0x6c, + 0x73,0x65,0x0a,0x64,0x73,0x74,0x3d,0x28,0x64,0x73,0x74,0x3e,0x3e,0x73,0x68,0x69,0x66,0x74,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x28,0x36,0x34,0x2d,0x73, + 0x68,0x69,0x66,0x74,0x31,0x29,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65, + 0x3d,0x3d,0x31,0x34,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x73,0x71,0x72,0x74,0x5f,0x72,0x6e,0x64,0x28,0x61,0x73, + 0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x64,0x73,0x74,0x29,0x2c,0x66,0x70,0x72,0x63,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x36,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x6d,0x75,0x6c,0x5f,0x68,0x69,0x28,0x64,0x73,0x74,0x2c,0x73,0x72,0x63,0x29,0x3b, + 0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x34,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x75,0x69,0x6e, + 0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x6d,0x75,0x6c,0x5f,0x68,0x69,0x28,0x28,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x64,0x73,0x74,0x29,0x2c,0x28,0x69,0x6e, + 0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x73,0x72,0x63,0x29,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d, + 0x3d,0x31,0x31,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x2a,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28, + 0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x28,0x52,0x29,0x2b,0x28,0x64,0x73,0x74,0x5f,0x6f,0x66,0x66,0x73,0x65, + 0x74,0x5e,0x38,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x38,0x29,0x0a,0x7b,0x0a,0x2a,0x73, + 0x72,0x63,0x5f,0x70,0x74,0x72,0x3d,0x64,0x73,0x74,0x3b,0x0a,0x64,0x73,0x74,0x3d,0x73,0x72,0x63,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x31,0x35,0x29,0x0a,0x7b,0x0a,0x73,0x72,0x63,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x63,0x6f,0x6e,0x76,0x65,0x72, + 0x74,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x5f,0x72,0x74,0x6e,0x28,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x29,0x28,0x73,0x72,0x63,0x3e,0x3e,0x28,0x28,0x73,0x75, + 0x62,0x26,0x31,0x29,0x2a,0x33,0x32,0x29,0x29,0x29,0x29,0x3b,0x0a,0x73,0x72,0x63,0x20,0x26,0x3d,0x20,0x64,0x79,0x6e,0x61,0x6d,0x69,0x63,0x4d,0x61,0x6e,0x74,0x69, + 0x73,0x73,0x61,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x73,0x72,0x63,0x7c,0x3d,0x78,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x64,0x73,0x74, + 0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x64,0x69,0x76,0x5f,0x72,0x6e,0x64,0x28,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x64,0x73,0x74,0x29, + 0x2c,0x61,0x73,0x5f,0x64,0x6f,0x75,0x62,0x6c,0x65,0x28,0x73,0x72,0x63,0x29,0x2c,0x66,0x70,0x72,0x63,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69, + 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x3d,0x35,0x29,0x0a,0x7b,0x0a,0x64,0x73,0x74,0x3d,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x2d,0x28, + 0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x64,0x73,0x74,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x52,0x4f,0x55,0x4e,0x44,0x49, + 0x4e,0x47,0x5f,0x4d,0x4f,0x44,0x45,0x3c,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58,0x5f,0x43, + 0x4f,0x55,0x4e,0x54,0x2b,0x31,0x5d,0x3d,0x28,0x28,0x73,0x72,0x63,0x3e,0x3e,0x69,0x6d,0x6d,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c, + 0x3c,0x28,0x36,0x34,0x2d,0x69,0x6d,0x6d,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x29,0x29,0x29,0x26,0x33,0x3b,0x0a,0x67,0x6f,0x74,0x6f,0x20,0x65,0x78,0x65,0x63,0x75, + 0x74,0x69,0x6f,0x6e,0x5f,0x65,0x6e,0x64,0x3b,0x0a,0x7d,0x0a,0x2a,0x64,0x73,0x74,0x5f,0x70,0x74,0x72,0x3d,0x64,0x73,0x74,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x78, + 0x65,0x63,0x75,0x74,0x69,0x6f,0x6e,0x5f,0x65,0x6e,0x64,0x3a,0x0a,0x7b,0x0a,0x62,0x61,0x72,0x72,0x69,0x65,0x72,0x28,0x43,0x4c,0x4b,0x5f,0x4c,0x4f,0x43,0x41,0x4c, + 0x5f,0x4d,0x45,0x4d,0x5f,0x46,0x45,0x4e,0x43,0x45,0x29,0x3b,0x0a,0x69,0x70,0x3d,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45, + 0x58,0x5f,0x43,0x4f,0x55,0x4e,0x54,0x5d,0x3b,0x0a,0x66,0x70,0x72,0x63,0x3d,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x5b,0x49,0x4d,0x4d,0x5f,0x49,0x4e,0x44,0x45,0x58, + 0x5f,0x43,0x4f,0x55,0x4e,0x54,0x2b,0x31,0x5d,0x3b,0x0a,0x69,0x70,0x2b,0x3d,0x6e,0x75,0x6d,0x5f,0x69,0x6e,0x73,0x74,0x73,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a, + 0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x66,0x70,0x72,0x63,0x3b,0x0a,0x7d,0x0a,0x23,0x69,0x66,0x20,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48, + 0x41,0x53,0x48,0x20,0x3d,0x3d,0x20,0x31,0x36,0x0a,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f, + 0x72,0x6b,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a,0x65,0x28,0x33,0x32,0x2c,0x31,0x2c,0x31,0x29,0x29,0x29,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x5f,0x5f, 0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f,0x72,0x6b,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a, - 0x65,0x28,0x36,0x34,0x2c,0x31,0x2c,0x31,0x29,0x29,0x29,0x0a,0x5f,0x5f,0x6b,0x65,0x72,0x6e,0x65,0x6c,0x20,0x76,0x6f,0x69,0x64,0x20,0x66,0x69,0x6e,0x64,0x5f,0x73, - 0x68,0x61,0x72,0x65,0x73,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x68, - 0x61,0x73,0x68,0x65,0x73,0x2c,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x74,0x61,0x72,0x67,0x65,0x74,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73, - 0x74,0x61,0x72,0x74,0x5f,0x6e,0x6f,0x6e,0x63,0x65,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x73,0x68, - 0x61,0x72,0x65,0x73,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e, - 0x64,0x65,0x78,0x3d,0x67,0x65,0x74,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x3b,0x0a,0x69,0x66,0x28,0x68,0x61,0x73,0x68,0x65,0x73,0x5b, - 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x34,0x2b,0x33,0x5d,0x3c,0x74,0x61,0x72,0x67,0x65,0x74,0x29,0x20,0x7b,0x0a,0x63,0x6f,0x6e,0x73, - 0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x64,0x78,0x3d,0x61,0x74,0x6f,0x6d,0x69,0x63,0x5f,0x69,0x6e,0x63,0x28,0x73,0x68,0x61,0x72,0x65,0x73, - 0x2b,0x30,0x78,0x46,0x46,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x64,0x78,0x3c,0x30,0x78,0x46,0x46,0x29,0x20,0x7b,0x0a,0x73,0x68,0x61,0x72,0x65,0x73,0x5b,0x69,0x64, - 0x78,0x5d,0x3d,0x73,0x74,0x61,0x72,0x74,0x5f,0x6e,0x6f,0x6e,0x63,0x65,0x2b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x7d,0x0a,0x7d, - 0x0a,0x7d,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x49,0x4e,0x49,0x54,0x49,0x41,0x4c,0x5f,0x48,0x41,0x53,0x48,0x5f,0x53,0x49,0x5a,0x45,0x20,0x36,0x34,0x0a, - 0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x49,0x4e,0x54,0x45,0x52,0x4d,0x45,0x44,0x49,0x41,0x54,0x45,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a, - 0x45,0x20,0x28,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x2a,0x20,0x31,0x36,0x29,0x0a,0x23,0x64, - 0x65,0x66,0x69,0x6e,0x65,0x20,0x43,0x4f,0x4d,0x50,0x49,0x4c,0x45,0x44,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x31,0x30,0x30,0x34, - 0x38,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x4e,0x55,0x4d,0x5f,0x56,0x47,0x50,0x52,0x5f,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x20,0x31,0x32,0x38, - 0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x53,0x69,0x7a,0x65,0x20,0x35,0x32,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65, - 0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x53,0x69,0x7a,0x65,0x20,0x31,0x31,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73, - 0x61,0x4d,0x61,0x73,0x6b,0x20,0x28,0x28,0x31,0x55,0x4c,0x20,0x3c,0x3c,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x53,0x69,0x7a,0x65,0x29,0x20,0x2d,0x20,0x31, - 0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b,0x20,0x28,0x28,0x31,0x55,0x4c,0x20,0x3c,0x3c,0x20, - 0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x53,0x69,0x7a,0x65,0x29,0x20,0x2d,0x20,0x31,0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x65,0x78,0x70,0x6f,0x6e, - 0x65,0x6e,0x74,0x42,0x69,0x61,0x73,0x20,0x31,0x30,0x32,0x33,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x64,0x79,0x6e,0x61,0x6d,0x69,0x63,0x45,0x78,0x70,0x6f, - 0x6e,0x65,0x6e,0x74,0x42,0x69,0x74,0x73,0x20,0x34,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x73,0x74,0x61,0x74,0x69,0x63,0x45,0x78,0x70,0x6f,0x6e,0x65,0x6e, - 0x74,0x42,0x69,0x74,0x73,0x20,0x34,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x63,0x6f,0x6e,0x73,0x74,0x45,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x42,0x69,0x74, - 0x73,0x20,0x30,0x78,0x33,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x64,0x79,0x6e,0x61,0x6d,0x69,0x63,0x4d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x4d, - 0x61,0x73,0x6b,0x20,0x28,0x28,0x31,0x55,0x4c,0x20,0x3c,0x3c,0x20,0x28,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x53,0x69,0x7a,0x65,0x20,0x2b,0x20,0x64,0x79,0x6e, - 0x61,0x6d,0x69,0x63,0x45,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x42,0x69,0x74,0x73,0x29,0x29,0x20,0x2d,0x20,0x31,0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, - 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x20,0x33,0x38,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, - 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x20,0x33,0x39,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, - 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x20,0x35,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, - 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x20,0x28,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x53,0x43,0x52,0x41,0x54,0x43, - 0x48,0x50,0x41,0x44,0x5f,0x4c,0x33,0x20,0x2d,0x20,0x38,0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x4a,0x55,0x4d, - 0x50,0x5f,0x42,0x49,0x54,0x53,0x20,0x38,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x4a,0x55,0x4d,0x50,0x5f,0x4f,0x46, - 0x46,0x53,0x45,0x54,0x20,0x38,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63, - 0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a, - 0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x2c,0x75,0x69,0x6e,0x74,0x20,0x69,0x6d,0x6d,0x33,0x32,0x2c,0x75,0x69,0x6e,0x74,0x20,0x6d,0x61,0x73,0x6b, - 0x5f,0x72,0x65,0x67,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, - 0x78,0x38,0x31,0x30,0x65,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6d,0x6d,0x33, - 0x32,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x32,0x36,0x33,0x38,0x30,0x30,0x30,0x65,0x75,0x7c,0x28,0x6d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3c, - 0x3c,0x39,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20, - 0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73, - 0x73,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x69,0x6d,0x6d,0x33,0x32,0x2c,0x75,0x69, - 0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32, - 0x66,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6d,0x6d,0x33,0x32,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f, - 0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61, - 0x64,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64, - 0x65,0x78,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b, - 0x2b,0x29,0x3d,0x30,0x78,0x64,0x63,0x35,0x34,0x38,0x30,0x30,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31, - 0x63,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34,0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b, - 0x29,0x3d,0x30,0x78,0x33,0x32,0x35,0x34,0x33,0x39,0x30,0x32,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x31, - 0x31,0x63,0x36,0x61,0x32,0x62,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x31,0x61,0x39,0x30,0x31,0x30,0x33, - 0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x63,0x35,0x34,0x30,0x30,0x30,0x30,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x32,0x61,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34,0x29, - 0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69, - 0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61, - 0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2c,0x69,0x6e,0x74,0x20,0x76,0x6d, - 0x63,0x6e,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3e,0x3d,0x30,0x29,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x66,0x38, - 0x63,0x30,0x66,0x37,0x30,0x75,0x7c,0x28,0x76,0x6d,0x63,0x6e,0x74,0x26,0x31,0x35,0x29,0x7c,0x28,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3e,0x3e,0x34,0x29,0x3c,0x3c,0x31, - 0x34,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x65,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, - 0x78,0x30,0x30,0x30,0x31,0x30,0x31,0x30,0x30,0x75,0x7c,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78, - 0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x31,0x30,0x31,0x30,0x30,0x75,0x7c,0x28,0x76, - 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x31,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62, - 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64, - 0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x73,0x72, - 0x63,0x2c,0x75,0x69,0x6e,0x74,0x20,0x69,0x6d,0x6d,0x33,0x32,0x2c,0x75,0x69,0x6e,0x74,0x20,0x6d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x75,0x69,0x6e,0x74,0x20, - 0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x31,0x30,0x65,0x66,0x66,0x31,0x30,0x75, - 0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6d,0x6d,0x33,0x32,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x30,0x78,0x32,0x36,0x33,0x38,0x30,0x30,0x30,0x65,0x75,0x7c,0x28,0x6d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x47, - 0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x36,0x38,0x33,0x38,0x35,0x39, - 0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x32,0x33,0x38,0x35,0x39,0x31,0x63,0x75,0x3b,0x0a,0x23, - 0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a, - 0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x65,0x28,0x31,0x36,0x2c,0x31,0x2c,0x31,0x29,0x29,0x29,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x5f,0x5f,0x6b,0x65,0x72,0x6e,0x65,0x6c,0x20,0x76,0x6f,0x69,0x64, + 0x20,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x5f,0x76,0x6d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x76,0x6d,0x5f,0x73,0x74, + 0x61,0x74,0x65,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x2c,0x5f,0x5f,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x76,0x6f,0x69,0x64,0x2a,0x20,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x5f,0x70,0x74,0x72,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x69,0x74,0x65,0x72,0x61,0x74, + 0x69,0x6f,0x6e,0x73,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x69,0x72,0x73,0x74,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6c,0x61,0x73, + 0x74,0x29,0x0a,0x7b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x5f, + 0x6c,0x6f,0x63,0x61,0x6c,0x5b,0x28,0x56,0x4d,0x5f,0x53,0x54,0x41,0x54,0x45,0x5f,0x53,0x49,0x5a,0x45,0x2a,0x32,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75, + 0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x5d,0x3b,0x0a,0x6c,0x6f,0x61,0x64,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0x28,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73, + 0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x2c,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x29,0x2f,0x73, + 0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x2c,0x76,0x6d,0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x29,0x3b,0x0a,0x62,0x61,0x72,0x72, + 0x69,0x65,0x72,0x28,0x43,0x4c,0x4b,0x5f,0x4c,0x4f,0x43,0x41,0x4c,0x5f,0x4d,0x45,0x4d,0x5f,0x46,0x45,0x4e,0x43,0x45,0x29,0x3b,0x0a,0x65,0x6e,0x75,0x6d,0x20,0x7b, + 0x20,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x3d,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3d,0x3d,0x31,0x36, + 0x29,0x3f,0x31,0x36,0x3a,0x38,0x20,0x7d,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x52,0x3d,0x76,0x6d, + 0x5f,0x73,0x74,0x61,0x74,0x65,0x73,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x2b,0x28,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x49, + 0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x2a,0x56,0x4d,0x5f,0x53,0x54,0x41,0x54,0x45,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75, + 0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x46,0x3d,0x28,0x5f,0x5f,0x6c, + 0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x29,0x28,0x52,0x2b,0x38,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62, + 0x6c,0x65,0x2a,0x20,0x45,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x3b,0x0a,0x63, + 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x67,0x65,0x74,0x5f,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x64,0x78,0x3d,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2f,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x73,0x75,0x62,0x3d,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x20,0x25,0x20,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54, + 0x48,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x61,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f, + 0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x30,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x6d,0x78,0x3d,0x28,0x28,0x5f,0x5f,0x6c, + 0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x31,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74, + 0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3d,0x28,0x28,0x5f,0x5f,0x6c, + 0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x32,0x5d,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63, + 0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x30,0x3d,0x28,0x5f,0x5f,0x6c, + 0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f, + 0x74,0x2a,0x29,0x52,0x29,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x30,0x78,0x66,0x66,0x29,0x29,0x3b,0x0a, + 0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x31, + 0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75, + 0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x52,0x29,0x2b,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3e,0x3e,0x38, + 0x29,0x26,0x30,0x78,0x66,0x66,0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74, + 0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x32,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x28, + 0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x52,0x29,0x2b,0x28,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65, + 0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3e,0x3e,0x31,0x36,0x29,0x26,0x30,0x78,0x66,0x66,0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e, + 0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x33,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75, + 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x52,0x29,0x2b, + 0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3e,0x3e,0x32,0x34,0x29,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, + 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x4f,0x66,0x66,0x73,0x65,0x74,0x3d,0x28,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20, + 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x33,0x5d,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63, + 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x20,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x3d,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x5f,0x70,0x74,0x72,0x29,0x2b,0x64,0x61,0x74, + 0x61,0x73,0x65,0x74,0x4f,0x66,0x66,0x73,0x65,0x74,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65, + 0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x36,0x34,0x2b,0x28,0x28,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x26,0x31,0x29,0x3c,0x3c,0x33, + 0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x41, + 0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x3d,0x31,0x39,0x32,0x2b,0x28,0x28,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x26,0x31,0x29,0x3c,0x3c,0x33, + 0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x65,0x4d,0x61,0x73,0x6b,0x3d,0x52,0x2b,0x31,0x38,0x3b, + 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c,0x65,0x6e,0x67,0x74,0x68,0x3d,0x28, + 0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x32,0x30,0x29,0x29,0x5b,0x30,0x5d,0x3b,0x0a,0x75, + 0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70,0x72,0x63,0x3d,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74, + 0x2a,0x29,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x29,0x5b,0x69,0x64,0x78,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x70,0x41,0x64,0x64, + 0x72,0x30,0x3d,0x66,0x69,0x72,0x73,0x74,0x3f,0x6d,0x78,0x3a,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x3d, + 0x66,0x69,0x72,0x73,0x74,0x3f,0x6d,0x61,0x3a,0x30,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x20,0x73,0x63, + 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x3d,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x38,0x5f,0x74,0x2a,0x29,0x73,0x63,0x72, + 0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x73,0x29,0x2b,0x69,0x64,0x78,0x2a,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, + 0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x33,0x2b,0x36,0x34,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x62,0x6f,0x6f,0x6c,0x20,0x66, + 0x5f,0x67,0x72,0x6f,0x75,0x70,0x3d,0x28,0x73,0x75,0x62,0x3c,0x34,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20, + 0x66,0x65,0x3d,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70,0x3f,0x28,0x46,0x2b,0x73,0x75,0x62,0x2a,0x32,0x29,0x3a,0x28,0x45,0x2b,0x28,0x73,0x75,0x62,0x2d,0x34,0x29,0x2a, + 0x32,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x66,0x3d,0x46,0x2b,0x73,0x75,0x62,0x3b,0x0a,0x5f,0x5f,0x6c, + 0x6f,0x63,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x65,0x3d,0x45,0x2b,0x73,0x75,0x62,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x36,0x34,0x5f,0x74,0x20,0x61,0x6e,0x64,0x4d,0x61,0x73,0x6b,0x3d,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70,0x3f,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x28, + 0x2d,0x31,0x29,0x3a,0x64,0x79,0x6e,0x61,0x6d,0x69,0x63,0x4d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, + 0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x31,0x3d,0x66,0x5f,0x67,0x72,0x6f,0x75,0x70,0x3f,0x30,0x3a,0x65,0x4d,0x61,0x73,0x6b,0x5b, + 0x30,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x32,0x3d,0x66,0x5f,0x67,0x72,0x6f, + 0x75,0x70,0x3f,0x30,0x3a,0x65,0x4d,0x61,0x73,0x6b,0x5b,0x31,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x78,0x65, + 0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b,0x3d,0x28,0x73,0x75,0x62,0x26,0x31,0x29,0x3f,0x65,0x4d,0x61,0x73,0x6b,0x5b,0x31,0x5d,0x3a,0x65,0x4d,0x61, + 0x73,0x6b,0x5b,0x30,0x5d,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66, + 0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53, + 0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c, + 0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61, + 0x6d,0x3d,0x28,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x52,0x2b,0x28,0x52, + 0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x5f,0x53,0x49,0x5a,0x45,0x2b,0x49,0x4d,0x4d,0x5f,0x42,0x55,0x46,0x5f,0x53,0x49,0x5a,0x45,0x29,0x2f,0x73,0x69,0x7a,0x65, + 0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x77,0x6f, + 0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x28,0x31,0x3c,0x3c,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48, + 0x29,0x2d,0x31,0x29,0x3c,0x3c,0x28,0x28,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54, + 0x48,0x29,0x2a,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x66,0x70, + 0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x3d,0x33,0x3c,0x3c,0x28,0x28,0x28,0x73,0x75,0x62,0x3e,0x3e,0x31,0x29,0x3c,0x3c,0x31,0x29,0x2b, + 0x28,0x67,0x65,0x74,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x2a,0x49,0x44,0x58,0x5f, + 0x57,0x49,0x44,0x54,0x48,0x29,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e, + 0x74,0x20,0x69,0x63,0x3d,0x30,0x3b,0x20,0x69,0x63,0x3c,0x6e,0x75,0x6d,0x5f,0x69,0x74,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73,0x3b,0x20,0x2b,0x2b,0x69,0x63,0x29, + 0x0a,0x7b,0x0a,0x5f,0x5f,0x6c,0x6f,0x63,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x2a,0x72,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x2a,0x70,0x30,0x2c,0x2a,0x70,0x31,0x3b,0x0a,0x69,0x66,0x28,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50, + 0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3c,0x3d,0x38,0x29,0x7c,0x7c,0x28,0x73,0x75,0x62,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69, + 0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x73,0x70,0x4d,0x69,0x78,0x3d,0x2a,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x30,0x5e,0x2a,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x31, + 0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x20,0x5e,0x3d,0x20,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26, + 0x73,0x70,0x4d,0x69,0x78,0x29,0x5b,0x30,0x5d,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x20,0x5e,0x3d,0x20,0x28,0x28,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69, + 0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26,0x73,0x70,0x4d,0x69,0x78,0x29,0x5b,0x31,0x5d,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x20,0x26,0x3d,0x20,0x53, + 0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x36,0x34,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x20,0x26,0x3d,0x20,0x53,0x63, + 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x36,0x34,0x3b,0x0a,0x70,0x30,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75, + 0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2b,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x2b,0x73,0x75,0x62, + 0x2a,0x38,0x29,0x3b,0x0a,0x70,0x31,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28,0x73,0x63,0x72, + 0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x2b,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x2b,0x73,0x75,0x62,0x2a,0x38,0x29,0x3b,0x0a,0x72,0x3d,0x52,0x2b,0x73,0x75,0x62,0x3b, + 0x0a,0x2a,0x72,0x20,0x5e,0x3d,0x20,0x2a,0x70,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x6d,0x65,0x6d,0x5f, + 0x64,0x61,0x74,0x61,0x3d,0x2a,0x70,0x31,0x3b,0x0a,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x71,0x3d,0x28,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x26, + 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x6d,0x65,0x6d,0x5f,0x64,0x61,0x74,0x61,0x3b,0x0a,0x66,0x65,0x5b,0x30,0x5d,0x3d,0x6c,0x6f,0x61,0x64,0x5f,0x46,0x5f,0x45,0x5f, + 0x67,0x72,0x6f,0x75,0x70,0x73,0x28,0x71,0x5b,0x30,0x5d,0x2c,0x61,0x6e,0x64,0x4d,0x61,0x73,0x6b,0x2c,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x31,0x29,0x3b,0x0a,0x66,0x65, + 0x5b,0x31,0x5d,0x3d,0x6c,0x6f,0x61,0x64,0x5f,0x46,0x5f,0x45,0x5f,0x67,0x72,0x6f,0x75,0x70,0x73,0x28,0x71,0x5b,0x31,0x5d,0x2c,0x61,0x6e,0x64,0x4d,0x61,0x73,0x6b, + 0x2c,0x6f,0x72,0x4d,0x61,0x73,0x6b,0x32,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53, + 0x48,0x3d,0x3d,0x49,0x44,0x58,0x5f,0x57,0x49,0x44,0x54,0x48,0x29,0x7c,0x7c,0x28,0x73,0x75,0x62,0x3c,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f, + 0x48,0x41,0x53,0x48,0x29,0x29,0x0a,0x66,0x70,0x72,0x63,0x3d,0x69,0x6e,0x6e,0x65,0x72,0x5f,0x6c,0x6f,0x6f,0x70,0x28,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x5f,0x6c, + 0x65,0x6e,0x67,0x74,0x68,0x2c,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x64,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x2c,0x73,0x75,0x62,0x2c,0x73,0x63,0x72,0x61,0x74, + 0x63,0x68,0x70,0x61,0x64,0x2c,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c,0x66,0x70,0x5f,0x72,0x65,0x67,0x5f,0x67,0x72,0x6f,0x75,0x70, + 0x5f,0x41,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c,0x52,0x2c,0x69,0x6d,0x6d,0x5f,0x62,0x75,0x66,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x2c,0x66, + 0x70,0x72,0x63,0x2c,0x66,0x70,0x5f,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x2c,0x78,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73, + 0x6b,0x2c,0x77,0x6f,0x72,0x6b,0x65,0x72,0x73,0x5f,0x6d,0x61,0x73,0x6b,0x29,0x3b,0x0a,0x69,0x66,0x28,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52, + 0x5f,0x48,0x41,0x53,0x48,0x3c,0x3d,0x38,0x29,0x7c,0x7c,0x28,0x73,0x75,0x62,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x6d,0x78,0x20,0x5e,0x3d,0x20,0x2a,0x72,0x65,0x61, + 0x64,0x52,0x65,0x67,0x32,0x5e,0x2a,0x72,0x65,0x61,0x64,0x52,0x65,0x67,0x33,0x3b,0x0a,0x6d,0x78,0x20,0x26,0x3d,0x20,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65, + 0x41,0x6c,0x69,0x67,0x6e,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x6e,0x65,0x78,0x74,0x5f,0x72, + 0x3d,0x2a,0x72,0x5e,0x2a,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x28, + 0x64,0x61,0x74,0x61,0x73,0x65,0x74,0x2b,0x6d,0x61,0x2b,0x73,0x75,0x62,0x2a,0x38,0x29,0x3b,0x0a,0x2a,0x72,0x3d,0x6e,0x65,0x78,0x74,0x5f,0x72,0x3b,0x0a,0x2a,0x70, + 0x31,0x3d,0x6e,0x65,0x78,0x74,0x5f,0x72,0x3b,0x0a,0x2a,0x70,0x30,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x66,0x5b,0x30,0x5d,0x29,0x5e,0x61,0x73,0x5f, + 0x75,0x6c,0x6f,0x6e,0x67,0x28,0x65,0x5b,0x30,0x5d,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x74,0x6d,0x70,0x3d,0x6d,0x61,0x3b,0x0a,0x6d,0x61, + 0x3d,0x6d,0x78,0x3b,0x0a,0x6d,0x78,0x3d,0x74,0x6d,0x70,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x30,0x3d,0x30,0x3b,0x0a,0x73,0x70,0x41,0x64,0x64,0x72,0x31,0x3d, + 0x30,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x28,0x57,0x4f,0x52,0x4b,0x45,0x52,0x53,0x5f,0x50,0x45,0x52,0x5f,0x48,0x41,0x53,0x48,0x3e,0x38,0x29,0x26,0x26, + 0x28,0x73,0x75,0x62,0x3e,0x3d,0x38,0x29,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36, + 0x34,0x5f,0x74,0x2a,0x20,0x70,0x3d,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x29,0x76,0x6d,0x5f,0x73, + 0x74,0x61,0x74,0x65,0x73,0x29,0x2b,0x69,0x64,0x78,0x2a,0x28,0x56,0x4d,0x5f,0x53,0x54,0x41,0x54,0x45,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66, + 0x28,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x29,0x29,0x3b,0x0a,0x70,0x5b,0x73,0x75,0x62,0x5d,0x3d,0x52,0x5b,0x73,0x75,0x62,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x73, + 0x75,0x62,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x72,0x6f, + 0x75,0x6e,0x64,0x69,0x6e,0x67,0x29,0x5b,0x69,0x64,0x78,0x5d,0x3d,0x66,0x70,0x72,0x63,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x6c,0x61,0x73,0x74,0x29,0x0a,0x7b,0x0a, + 0x70,0x5b,0x73,0x75,0x62,0x2b,0x38,0x5d,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x46,0x5b,0x73,0x75,0x62,0x5d,0x29,0x5e,0x61,0x73,0x5f,0x75,0x6c,0x6f, + 0x6e,0x67,0x28,0x45,0x5b,0x73,0x75,0x62,0x5d,0x29,0x3b,0x0a,0x70,0x5b,0x73,0x75,0x62,0x2b,0x31,0x36,0x5d,0x3d,0x61,0x73,0x5f,0x75,0x6c,0x6f,0x6e,0x67,0x28,0x45, + 0x5b,0x73,0x75,0x62,0x5d,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x73,0x75,0x62,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x28,0x28,0x5f,0x5f, + 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x70,0x2b,0x31,0x36,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x6d,0x61,0x3b,0x0a, + 0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x29,0x28,0x70,0x2b,0x31,0x36,0x29,0x29,0x5b,0x31,0x5d,0x3d, + 0x6d,0x78,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f,0x72,0x6b, + 0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a,0x65,0x28,0x36,0x34,0x2c,0x31,0x2c,0x31,0x29,0x29,0x29,0x0a,0x5f,0x5f,0x6b,0x65,0x72,0x6e,0x65,0x6c,0x20,0x76, + 0x6f,0x69,0x64,0x20,0x66,0x69,0x6e,0x64,0x5f,0x73,0x68,0x61,0x72,0x65,0x73,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, + 0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x2a,0x20,0x68,0x61,0x73,0x68,0x65,0x73,0x2c,0x75,0x69,0x6e,0x74,0x36,0x34,0x5f,0x74,0x20,0x74,0x61,0x72,0x67,0x65,0x74,0x2c, + 0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x73,0x74,0x61,0x72,0x74,0x5f,0x6e,0x6f,0x6e,0x63,0x65,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69, + 0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x73,0x68,0x61,0x72,0x65,0x73,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74, + 0x20,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x67,0x65,0x74,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x3b,0x0a, + 0x69,0x66,0x28,0x68,0x61,0x73,0x68,0x65,0x73,0x5b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x34,0x2b,0x33,0x5d,0x3c,0x74,0x61,0x72,0x67, + 0x65,0x74,0x29,0x20,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69,0x64,0x78,0x3d,0x61,0x74,0x6f,0x6d,0x69,0x63,0x5f, + 0x69,0x6e,0x63,0x28,0x73,0x68,0x61,0x72,0x65,0x73,0x2b,0x30,0x78,0x46,0x46,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x64,0x78,0x3c,0x30,0x78,0x46,0x46,0x29,0x20,0x7b, + 0x0a,0x73,0x68,0x61,0x72,0x65,0x73,0x5b,0x69,0x64,0x78,0x5d,0x3d,0x73,0x74,0x61,0x72,0x74,0x5f,0x6e,0x6f,0x6e,0x63,0x65,0x2b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x7d,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x49,0x4e,0x49,0x54,0x49,0x41,0x4c,0x5f,0x48,0x41,0x53, + 0x48,0x5f,0x53,0x49,0x5a,0x45,0x20,0x36,0x34,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x49,0x4e,0x54,0x45,0x52,0x4d,0x45,0x44,0x49,0x41,0x54,0x45,0x5f,0x50, + 0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x28,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a, + 0x45,0x20,0x2a,0x20,0x31,0x36,0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x43,0x4f,0x4d,0x50,0x49,0x4c,0x45,0x44,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d, + 0x5f,0x53,0x49,0x5a,0x45,0x20,0x31,0x30,0x30,0x34,0x38,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x4e,0x55,0x4d,0x5f,0x56,0x47,0x50,0x52,0x5f,0x52,0x45,0x47, + 0x49,0x53,0x54,0x45,0x52,0x53,0x20,0x31,0x32,0x38,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x53,0x69,0x7a,0x65,0x20, + 0x35,0x32,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x53,0x69,0x7a,0x65,0x20,0x31,0x31,0x0a,0x23,0x64,0x65,0x66,0x69, + 0x6e,0x65,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x4d,0x61,0x73,0x6b,0x20,0x28,0x28,0x31,0x55,0x4c,0x20,0x3c,0x3c,0x20,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73, + 0x61,0x53,0x69,0x7a,0x65,0x29,0x20,0x2d,0x20,0x31,0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x4d,0x61,0x73,0x6b, + 0x20,0x28,0x28,0x31,0x55,0x4c,0x20,0x3c,0x3c,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x53,0x69,0x7a,0x65,0x29,0x20,0x2d,0x20,0x31,0x29,0x0a,0x23,0x64,0x65, + 0x66,0x69,0x6e,0x65,0x20,0x65,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x42,0x69,0x61,0x73,0x20,0x31,0x30,0x32,0x33,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x64, + 0x79,0x6e,0x61,0x6d,0x69,0x63,0x45,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x42,0x69,0x74,0x73,0x20,0x34,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x73,0x74,0x61, + 0x74,0x69,0x63,0x45,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x42,0x69,0x74,0x73,0x20,0x34,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x63,0x6f,0x6e,0x73,0x74,0x45, + 0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x42,0x69,0x74,0x73,0x20,0x30,0x78,0x33,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x64,0x79,0x6e,0x61,0x6d,0x69, + 0x63,0x4d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61,0x4d,0x61,0x73,0x6b,0x20,0x28,0x28,0x31,0x55,0x4c,0x20,0x3c,0x3c,0x20,0x28,0x6d,0x61,0x6e,0x74,0x69,0x73,0x73,0x61, + 0x53,0x69,0x7a,0x65,0x20,0x2b,0x20,0x64,0x79,0x6e,0x61,0x6d,0x69,0x63,0x45,0x78,0x70,0x6f,0x6e,0x65,0x6e,0x74,0x42,0x69,0x74,0x73,0x29,0x29,0x20,0x2d,0x20,0x31, + 0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x20,0x33, + 0x38,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x20,0x33, + 0x39,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x20,0x35, + 0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x20,0x28,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x33,0x20,0x2d,0x20,0x38,0x29,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x4a,0x55,0x4d,0x50,0x5f,0x42,0x49,0x54,0x53,0x20,0x38,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x4a,0x55,0x4d,0x50,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x20,0x38,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e, + 0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x53,0x45,0x54,0x50,0x43,0x5f,0x42,0x36,0x34,0x5f,0x53,0x31,0x32,0x5f,0x31, + 0x33,0x20,0x30,0x78,0x62,0x65,0x38,0x30,0x32,0x30,0x30,0x63,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x41,0x4e,0x44,0x5f,0x42,0x33,0x32,0x5f, + 0x43,0x41,0x4c,0x43,0x5f,0x41,0x44,0x44,0x52,0x45,0x53,0x53,0x20,0x30,0x78,0x33,0x36,0x33,0x38,0x30,0x30,0x30,0x65,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65, + 0x20,0x47,0x4c,0x4f,0x42,0x41,0x4c,0x5f,0x4c,0x4f,0x41,0x44,0x5f,0x44,0x57,0x4f,0x52,0x44,0x58,0x32,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f, + 0x4c,0x4f,0x41,0x44,0x20,0x30,0x78,0x64,0x63,0x33,0x34,0x38,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x57,0x41,0x49,0x54,0x43, + 0x4e,0x54,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x32,0x20,0x30,0x78,0x62,0x66,0x38,0x63,0x33,0x66,0x37,0x30,0x75,0x0a, + 0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x52,0x45,0x41,0x44,0x4c,0x41,0x4e,0x45,0x5f,0x42,0x33,0x32,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41, + 0x44,0x5f,0x4c,0x4f,0x41,0x44,0x32,0x20,0x30,0x78,0x64,0x37,0x36,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55, + 0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x20,0x30,0x78,0x39,0x61,0x38,0x66,0x31,0x30,0x31,0x30,0x75,0x0a,0x23,0x64,0x65,0x66, + 0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x20,0x30,0x78,0x39,0x33,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23, + 0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x5f,0x32,0x20,0x30,0x78,0x39, + 0x61,0x38,0x66,0x66,0x66,0x31,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d, + 0x55,0x4c,0x5f,0x4d,0x20,0x30,0x78,0x39,0x61,0x61,0x31,0x30,0x65,0x31,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x4f,0x56,0x5f,0x42, + 0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x20,0x30,0x78,0x62,0x65,0x61,0x30,0x30,0x33,0x66,0x66,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, + 0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x20,0x30,0x78,0x39,0x61,0x38,0x66,0x32,0x30,0x31,0x30, + 0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x58,0x4f,0x52,0x5f,0x42,0x33,0x32,0x5f,0x36,0x34,0x20,0x30,0x78,0x38,0x39,0x30,0x30,0x30,0x30,0x30, + 0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x4f,0x56,0x5f,0x42,0x33,0x32,0x5f,0x58,0x4f,0x52,0x5f,0x52,0x20,0x30,0x78,0x62,0x65,0x62, + 0x65,0x30,0x33,0x66,0x66,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4c,0x53,0x48,0x52,0x20,0x30,0x78,0x39,0x30,0x30,0x30,0x30,0x30,0x30,0x30, + 0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4c,0x53,0x48,0x4c,0x20,0x30,0x78,0x38,0x66,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65, + 0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4f,0x52,0x20,0x30,0x78,0x38,0x38,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f, + 0x41,0x4e,0x44,0x20,0x30,0x78,0x38,0x37,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x42,0x46,0x45,0x20,0x30,0x78, + 0x39,0x34,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x44,0x53,0x5f,0x53,0x57,0x49,0x5a,0x5a,0x4c,0x45,0x5f,0x42,0x33,0x32, + 0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x20,0x30,0x78,0x64,0x38,0x64,0x34,0x38,0x30,0x30,0x31,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x41, + 0x44,0x44,0x5f,0x46,0x36,0x34,0x20,0x30,0x78,0x64,0x35,0x36,0x34,0x30,0x30,0x33,0x63,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x41,0x4e,0x44, + 0x5f,0x42,0x33,0x32,0x20,0x30,0x78,0x33,0x36,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x47,0x4c,0x4f,0x42,0x41,0x4c,0x5f, + 0x4c,0x4f,0x41,0x44,0x5f,0x44,0x57,0x4f,0x52,0x44,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x5f,0x46,0x50,0x20,0x30,0x78, + 0x64,0x63,0x33,0x30,0x38,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x58,0x4f,0x52,0x5f,0x42,0x33,0x32,0x20,0x30,0x78,0x33,0x61, + 0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x4d,0x55,0x4c,0x5f,0x46,0x36,0x34,0x20,0x30,0x78,0x64,0x35,0x36,0x35, + 0x30,0x30,0x34,0x34,0x75,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x53,0x45,0x54,0x50,0x43,0x5f,0x42,0x36,0x34,0x5f, + 0x53,0x31,0x32,0x5f,0x31,0x33,0x20,0x30,0x78,0x62,0x65,0x38,0x30,0x31,0x64,0x30,0x63,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x41,0x4e,0x44, + 0x5f,0x42,0x33,0x32,0x5f,0x43,0x41,0x4c,0x43,0x5f,0x41,0x44,0x44,0x52,0x45,0x53,0x53,0x20,0x30,0x78,0x32,0x36,0x33,0x38,0x30,0x30,0x30,0x65,0x75,0x0a,0x23,0x64, + 0x65,0x66,0x69,0x6e,0x65,0x20,0x47,0x4c,0x4f,0x42,0x41,0x4c,0x5f,0x4c,0x4f,0x41,0x44,0x5f,0x44,0x57,0x4f,0x52,0x44,0x58,0x32,0x5f,0x53,0x43,0x52,0x41,0x54,0x43, + 0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x20,0x30,0x78,0x64,0x63,0x35,0x34,0x38,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f, + 0x57,0x41,0x49,0x54,0x43,0x4e,0x54,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x32,0x20,0x30,0x78,0x62,0x66,0x38,0x63,0x30, + 0x66,0x37,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x52,0x45,0x41,0x44,0x4c,0x41,0x4e,0x45,0x5f,0x42,0x33,0x32,0x5f,0x53,0x43,0x52,0x41, + 0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x32,0x20,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65, + 0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x20,0x30,0x78,0x39,0x36,0x30,0x66,0x31,0x30,0x31,0x30,0x75, + 0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x20,0x30,0x78,0x39,0x32,0x30,0x30,0x30,0x30, + 0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x5f, + 0x32,0x20,0x30,0x78,0x39,0x36,0x30,0x66,0x66,0x66,0x31,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55, + 0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x20,0x30,0x78,0x39,0x36,0x32,0x31,0x30,0x65,0x31,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f, + 0x4d,0x4f,0x56,0x5f,0x42,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x20,0x30,0x78,0x62,0x65,0x61,0x30,0x30,0x30,0x66,0x66,0x75,0x0a,0x23,0x64,0x65, + 0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x20,0x30,0x78,0x39,0x36,0x30, + 0x66,0x32,0x30,0x31,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x58,0x4f,0x52,0x5f,0x42,0x33,0x32,0x5f,0x36,0x34,0x20,0x30,0x78,0x38,0x38, + 0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4d,0x4f,0x56,0x5f,0x42,0x33,0x32,0x5f,0x58,0x4f,0x52,0x5f,0x52,0x20, + 0x30,0x78,0x62,0x65,0x62,0x65,0x30,0x30,0x66,0x66,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4c,0x53,0x48,0x52,0x20,0x30,0x78,0x38,0x66,0x30, + 0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4c,0x53,0x48,0x4c,0x20,0x30,0x78,0x38,0x65,0x30,0x30,0x30,0x30,0x30,0x30, + 0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x4f,0x52,0x20,0x30,0x78,0x38,0x37,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69, + 0x6e,0x65,0x20,0x53,0x5f,0x41,0x4e,0x44,0x20,0x30,0x78,0x38,0x36,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x53,0x5f,0x42, + 0x46,0x45,0x20,0x30,0x78,0x39,0x33,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x44,0x53,0x5f,0x53,0x57,0x49,0x5a,0x5a,0x4c, + 0x45,0x5f,0x42,0x33,0x32,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x20,0x30,0x78,0x64,0x38,0x37,0x61,0x38,0x30,0x30,0x31,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e, + 0x65,0x20,0x56,0x5f,0x41,0x44,0x44,0x5f,0x46,0x36,0x34,0x20,0x30,0x78,0x64,0x32,0x38,0x30,0x30,0x30,0x33,0x63,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, + 0x56,0x5f,0x41,0x4e,0x44,0x5f,0x42,0x33,0x32,0x20,0x30,0x78,0x32,0x36,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x47,0x4c, + 0x4f,0x42,0x41,0x4c,0x5f,0x4c,0x4f,0x41,0x44,0x5f,0x44,0x57,0x4f,0x52,0x44,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x5f, + 0x46,0x50,0x20,0x30,0x78,0x64,0x63,0x35,0x30,0x38,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x58,0x4f,0x52,0x5f,0x42,0x33,0x32, + 0x20,0x30,0x78,0x32,0x61,0x30,0x30,0x30,0x30,0x30,0x30,0x75,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x56,0x5f,0x4d,0x55,0x4c,0x5f,0x46,0x36,0x34,0x20,0x30, + 0x78,0x64,0x32,0x38,0x31,0x30,0x30,0x34,0x34,0x75,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a, + 0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x5f,0x5f,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x2c,0x75,0x69,0x6e,0x74,0x20,0x69,0x6d,0x6d,0x33, + 0x32,0x2c,0x75,0x69,0x6e,0x74,0x20,0x6d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29, + 0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x31,0x30,0x65,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6d,0x6d,0x33,0x32,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x56,0x5f,0x41,0x4e,0x44,0x5f,0x42,0x33,0x32,0x5f,0x43, + 0x41,0x4c,0x43,0x5f,0x41,0x44,0x44,0x52,0x45,0x53,0x53,0x7c,0x28,0x6d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72, + 0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63, + 0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x69,0x6d,0x6d,0x33,0x32,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73, + 0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x66,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x69,0x6d,0x6d,0x33,0x32,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69, + 0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, 0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20, - 0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x63,0x35,0x30,0x38, - 0x30,0x30,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x63,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69, - 0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34,0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x32,0x35,0x34,0x33,0x39, - 0x30,0x32,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x31,0x31,0x63,0x36,0x61,0x32,0x62,0x75,0x3b,0x09,0x09, - 0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x31,0x61,0x39,0x30,0x31,0x30,0x33,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x30,0x78,0x64,0x63,0x35,0x30,0x30,0x30,0x30,0x30,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30, - 0x30,0x30,0x32,0x61,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72, - 0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63, - 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x5f,0x66,0x70,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a, - 0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2c,0x69,0x6e,0x74,0x20,0x76,0x6d,0x63,0x6e,0x74,0x29,0x0a,0x7b,0x0a, - 0x69,0x66,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3e,0x3d,0x30,0x29,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x66,0x38,0x63,0x30,0x66,0x37,0x30,0x75,0x7c, - 0x28,0x76,0x6d,0x63,0x6e,0x74,0x26,0x31,0x35,0x29,0x7c,0x28,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3e,0x3e,0x34,0x29,0x3c,0x3c,0x31,0x34,0x29,0x3b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x39,0x30,0x30,0x75,0x7c,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x72,0x65,0x74,0x75, - 0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x65,0x6d,0x69,0x74,0x5f, - 0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x5f,0x5f,0x67, - 0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x2c,0x63, - 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x2c,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70, - 0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2c,0x69,0x6e,0x74,0x20,0x76,0x6d,0x63,0x6e,0x74,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a, - 0x65,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x30,0x78,0x46,0x46,0x3b,0x0a,0x63,0x6f, - 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73, - 0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x31,0x36,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74, - 0x20,0x75,0x69,0x6e,0x74,0x20,0x6d,0x6f,0x64,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x32,0x34,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69, - 0x6e,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x32,0x29,0x20,0x25,0x20,0x34,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x3e, - 0x30,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x65,0x38,0x65,0x38,0x30,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31, - 0x29,0x7c,0x28,0x73,0x68,0x69,0x66,0x74,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x30,0x65,0x31,0x30,0x75, - 0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32, - 0x31,0x31,0x30,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c, - 0x73,0x65,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, - 0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38, - 0x32,0x31,0x31,0x31,0x31,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63, - 0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x64,0x73,0x74,0x3d,0x3d,0x35,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38, - 0x30,0x31,0x30,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x31,0x31,0x30,0x30,0x31,0x31,0x75,0x7c,0x28, - 0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x28,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6e,0x73,0x74, - 0x2e,0x79,0x29,0x3c,0x30,0x29,0x3f,0x30,0x78,0x63,0x31,0x3a,0x30,0x78,0x38,0x30,0x29,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20, - 0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52, - 0x53,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d, - 0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b, - 0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f, - 0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25, - 0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68, - 0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20, - 0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64, - 0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62, - 0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61, - 0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, - 0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, - 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, - 0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67, - 0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30, - 0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, - 0x3d,0x30,0x78,0x38,0x32,0x31,0x31,0x30,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b, - 0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, - 0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x39,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, - 0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x39,0x31,0x31,0x31,0x31,0x31,0x75,0x7c, - 0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x65, - 0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x39,0x30,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c, - 0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x39,0x31,0x30,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, - 0x37,0x29,0x7c,0x28,0x28,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x3c,0x30,0x29,0x3f,0x30,0x78,0x63,0x31,0x3a,0x30,0x78,0x38, - 0x30,0x29,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, - 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f, - 0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70, - 0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73, - 0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31, - 0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61, - 0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61, - 0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63, - 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69, - 0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70, - 0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b, - 0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a, - 0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63, - 0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, - 0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30, - 0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x39,0x30,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28, - 0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x39,0x31,0x30,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73, + 0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x47,0x4c,0x4f,0x42,0x41,0x4c,0x5f, + 0x4c,0x4f,0x41,0x44,0x5f,0x44,0x57,0x4f,0x52,0x44,0x58,0x32,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x3b,0x0a,0x2a,0x28, + 0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x63,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34, + 0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x32,0x35,0x34,0x33,0x39,0x30,0x32,0x75,0x3b,0x09,0x09,0x09,0x09, + 0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x31,0x31,0x63,0x36,0x61,0x32,0x62,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70, + 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x31,0x61,0x39,0x30,0x31,0x30,0x33,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x63,0x35,0x34,0x30,0x30, + 0x30,0x30,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x32,0x61,0x75,0x7c,0x28,0x76, + 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b, + 0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, + 0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70, + 0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2c,0x69,0x6e,0x74,0x20,0x76,0x6d,0x63,0x6e,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3e,0x3d,0x30, + 0x29,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x57,0x41,0x49,0x54,0x43,0x4e,0x54,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f, + 0x41,0x44,0x32,0x7c,0x28,0x76,0x6d,0x63,0x6e,0x74,0x26,0x31,0x35,0x29,0x7c,0x28,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3e,0x3e,0x34,0x29,0x3c,0x3c,0x31,0x34,0x29,0x3b, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x56,0x5f,0x52,0x45,0x41,0x44,0x4c,0x41,0x4e,0x45,0x5f,0x42,0x33,0x32,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41, + 0x44,0x5f,0x4c,0x4f,0x41,0x44,0x32,0x7c,0x31,0x34,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x31,0x30,0x31,0x30,0x30,0x75,0x7c,0x76, + 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x56,0x5f,0x52,0x45,0x41,0x44,0x4c,0x41,0x4e,0x45,0x5f,0x42,0x33,0x32, + 0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x32,0x7c,0x31,0x35,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30, + 0x30,0x30,0x31,0x30,0x31,0x30,0x30,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2b,0x31,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20, + 0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70, + 0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74, + 0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x2c,0x75,0x69,0x6e,0x74,0x20,0x69,0x6d,0x6d,0x33,0x32,0x2c,0x75,0x69,0x6e,0x74,0x20,0x6d,0x61,0x73, + 0x6b,0x5f,0x72,0x65,0x67,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x30,0x78,0x38,0x31,0x30,0x65,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6d,0x6d, + 0x33,0x32,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x56,0x5f,0x41,0x4e,0x44,0x5f,0x42,0x33,0x32,0x7c,0x30,0x78,0x33,0x38,0x30,0x30,0x30,0x65,0x75,0x7c,0x28, + 0x6d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d, + 0x20,0x31,0x35,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x34,0x61,0x33,0x38,0x35,0x39,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6c,0x69,0x66,0x20,0x47,0x43, + 0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3d,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x36,0x38,0x33,0x38,0x35,0x39,0x31, + 0x63,0x75,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x32,0x33,0x38,0x35,0x39,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65, + 0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20, + 0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20, + 0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x47, + 0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x47,0x4c,0x4f,0x42,0x41,0x4c,0x5f,0x4c, + 0x4f,0x41,0x44,0x5f,0x44,0x57,0x4f,0x52,0x44,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x4f,0x41,0x44,0x5f,0x46,0x50,0x3b,0x0a,0x2a,0x28, + 0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x63,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34, + 0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x32,0x35,0x34,0x33,0x39,0x30,0x32,0x75,0x3b,0x09,0x09,0x09,0x09, + 0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x31,0x31,0x63,0x36,0x61,0x32,0x62,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70, + 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x31,0x61,0x39,0x30,0x31,0x30,0x33,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x63,0x35,0x30,0x30,0x30, + 0x30,0x30,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x32,0x61,0x75,0x7c,0x28,0x76, + 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3c,0x32,0x34,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b, + 0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, + 0x5f,0x6c,0x6f,0x61,0x64,0x32,0x5f,0x66,0x70,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20, + 0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2c,0x69,0x6e,0x74,0x20,0x76,0x6d,0x63,0x6e,0x74,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x76,0x6d,0x63,0x6e,0x74, + 0x3e,0x3d,0x30,0x29,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x57,0x41,0x49,0x54,0x43,0x4e,0x54,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44, + 0x5f,0x4c,0x4f,0x41,0x44,0x32,0x7c,0x28,0x76,0x6d,0x63,0x6e,0x74,0x26,0x31,0x35,0x29,0x7c,0x28,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3e,0x3e,0x34,0x29,0x3c,0x3c,0x31, + 0x34,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x39,0x30,0x30,0x75,0x7c,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, + 0x78,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6a,0x69, + 0x74,0x5f,0x65,0x6d,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74, + 0x2a,0x20,0x70,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74, + 0x61,0x72,0x67,0x65,0x74,0x2c,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x2c,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x66,0x65, + 0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2c,0x69,0x6e,0x74,0x20,0x76,0x6d,0x63,0x6e,0x74,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61, + 0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x30, + 0x78,0x46,0x46,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26, + 0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x31,0x36,0x29,0x26,0x37, + 0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x6d,0x6f,0x64,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x32,0x34,0x3b,0x0a,0x69,0x66,0x28, + 0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x29,0x0a,0x7b,0x0a,0x63, + 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x32,0x29,0x20,0x25,0x20,0x34,0x3b,0x0a,0x69,0x66, + 0x28,0x73,0x68,0x69,0x66,0x74,0x3e,0x30,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c,0x53,0x48,0x4c,0x7c,0x30,0x78,0x38,0x65,0x38, + 0x30,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x68,0x69,0x66,0x74,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, + 0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x31,0x31,0x30,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73, + 0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x31, + 0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29, + 0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x31,0x31,0x31,0x31,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64, + 0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x64,0x73,0x74,0x3d,0x3d,0x35,0x29,0x20,0x0a, + 0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64, + 0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, + 0x78,0x38,0x32,0x31,0x31,0x30,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x28, + 0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x3c,0x30,0x29,0x3f,0x30,0x78,0x63,0x31,0x3a,0x30,0x78,0x38,0x30,0x29,0x3c,0x3c,0x38, + 0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, + 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, + 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72, + 0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74, + 0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69, + 0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b, + 0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f, + 0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61, + 0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63, + 0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63, + 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e, + 0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69, + 0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69, + 0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67, + 0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38, + 0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a, + 0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c, + 0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x31,0x31,0x30,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, + 0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, + 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64, + 0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21, + 0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x39,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74, + 0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x30,0x78,0x38,0x32,0x39,0x31,0x31,0x31,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28, + 0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x39,0x30, + 0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, + 0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x39,0x31,0x30,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74, + 0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x28,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x29, + 0x3c,0x30,0x29,0x3f,0x30,0x78,0x63,0x31,0x3a,0x30,0x78,0x38,0x30,0x29,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a, + 0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69, + 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a, + 0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28, + 0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63, + 0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f, + 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c, + 0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a, + 0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73, + 0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68, + 0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c, + 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70, + 0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61, + 0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74, + 0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69, + 0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x39,0x30,0x30,0x65,0x31,0x30, + 0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38, + 0x32,0x39,0x31,0x30,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x72, + 0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x49,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49, + 0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e, + 0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55, + 0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x23,0x65,0x6c, + 0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x36,0x30,0x30,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30, + 0x30,0x32,0x31,0x31,0x63,0x75,0x2b,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30, + 0x30,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x31,0x30,0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x30,0x65,0x31,0x31,0x31,0x30,0x75, + 0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x30, + 0x66,0x30,0x65,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78, + 0x30,0x65,0x31,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x31,0x30,0x65,0x30,0x66,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x31,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, + 0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a, + 0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d, + 0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x5f,0x32,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70, + 0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30, + 0x32,0x66,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32, + 0x38,0x36,0x30,0x30,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x32,0x31,0x31,0x63,0x75,0x2b,0x28,0x64,0x73,0x74, + 0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x31,0x30,0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28, + 0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x3c,0x30,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x38,0x66,0x31,0x30,0x30,0x66,0x75, + 0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d, + 0x55,0x4c,0x7c,0x30,0x78,0x30,0x65,0x66,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e, + 0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x31,0x30,0x65,0x30,0x66,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, + 0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x31,0x30,0x66,0x66, + 0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69, + 0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, + 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d, + 0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72, + 0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d, + 0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74, + 0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, + 0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72, + 0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74, + 0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72, + 0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a, + 0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70, + 0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, + 0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78, + 0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29, + 0x3b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53, + 0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x23,0x65,0x6c, + 0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x36,0x30,0x30,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30, + 0x30,0x31,0x64,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x32,0x31,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b, + 0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x31,0x30,0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f, + 0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x32,0x30,0x30,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x32,0x31,0x32,0x30,0x32,0x31,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55, + 0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x32,0x30,0x30,0x65,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a, + 0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x31,0x32,0x30,0x32,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70, + 0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x31,0x30,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73, 0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28, - 0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20, - 0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x36,0x30,0x66,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28, - 0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x31,0x30, - 0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x36,0x30,0x30,0x31,0x63,0x75,0x3b,0x0a, - 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x32,0x31,0x31,0x63,0x75,0x2b,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x2a,0x28, - 0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x31,0x30, - 0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x30,0x65,0x31,0x31,0x31,0x30,0x75,0x7c, - 0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x30,0x66, - 0x30,0x65,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x30,0x65,0x31,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c, - 0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x31,0x30,0x65,0x30,0x66,0x75,0x7c, - 0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x31,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64, - 0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73, - 0x65,0x20,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b, - 0x29,0x3d,0x30,0x78,0x39,0x36,0x30,0x66,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69, - 0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x66,0x66,0x75,0x3b, - 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x36,0x30,0x30,0x31, - 0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x32,0x31,0x31,0x63,0x75,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x30,0x29, - 0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30, - 0x30,0x30,0x31,0x30,0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6e,0x73,0x74,0x2e, - 0x79,0x29,0x3c,0x30,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x38,0x66,0x31,0x30,0x30,0x66,0x75,0x7c,0x28,0x64,0x73,0x74, - 0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x30,0x65,0x66,0x66,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c, - 0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31, - 0x31,0x30,0x65,0x30,0x66,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x31,0x30,0x66, - 0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, - 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f, - 0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70, - 0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73, - 0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31, - 0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61, - 0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61, - 0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63, - 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69, - 0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70, - 0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b, - 0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a, - 0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63, - 0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, - 0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30, - 0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x30,0x78,0x39,0x36,0x32,0x31,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b, - 0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x30,0x78,0x64,0x32,0x38,0x36,0x30,0x30,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x31,0x64,0x31,0x63,0x75,0x3b, - 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x32,0x31,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30, - 0x30,0x31,0x30,0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x32,0x30,0x30,0x66,0x31, - 0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x32,0x31,0x32,0x30,0x32,0x31,0x75,0x3b, - 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x32,0x30,0x30,0x65,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28, - 0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x31,0x32,0x30,0x32,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b, - 0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x31,0x30,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37, - 0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, - 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, - 0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38,0x65,0x30,0x31,0x31, - 0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x31, - 0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31, - 0x65,0x33,0x61,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x30,0x65,0x75,0x7c, - 0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, - 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d, - 0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72, - 0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74, - 0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b, - 0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63, - 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e, - 0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65, - 0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65, - 0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64, - 0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78, - 0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c, - 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67, - 0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f, - 0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x64,0x73, - 0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x33,0x61,0x75,0x3b,0x09,0x09, - 0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, - 0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78, - 0x62,0x65,0x38,0x65,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, - 0x78,0x62,0x65,0x61,0x36,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x33,0x38,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39, - 0x30,0x30,0x31,0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a, - 0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b, - 0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d, - 0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b, - 0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f, - 0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25, - 0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68, - 0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20, - 0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64, - 0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62, - 0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61, - 0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, - 0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, - 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, - 0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67, - 0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36, - 0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62, - 0x63,0x31,0x65,0x33,0x38,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x30,0x65, - 0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66, - 0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x29,0x0a,0x7b, - 0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2d,0x31,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, - 0x69,0x6e,0x74,0x32,0x20,0x72,0x63,0x70,0x5f,0x76,0x61,0x6c,0x75,0x65,0x3d,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x69,0x6d,0x75,0x6c,0x5f,0x72,0x63,0x70, - 0x5f,0x76,0x61,0x6c,0x75,0x65,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x30,0x30,0x30, - 0x66,0x66,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x72,0x63,0x70,0x5f,0x76,0x61,0x6c,0x75,0x65,0x2e,0x78,0x3b,0x0a, - 0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39, - 0x36,0x30,0x66,0x32,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x32,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x36,0x30,0x30, - 0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x32,0x31,0x31,0x63,0x75,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x30, - 0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78, - 0x30,0x30,0x30,0x31,0x30,0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x30,0x65,0x66, - 0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x72,0x63,0x70,0x5f,0x76,0x61, - 0x6c,0x75,0x65,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x30,0x66,0x30,0x65,0x30,0x66,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09, - 0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x30,0x65,0x32,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09, - 0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x31,0x30,0x65,0x30,0x66,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b, - 0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x32,0x31,0x30,0x32,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29, - 0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65, - 0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, - 0x3d,0x30,0x78,0x38,0x30,0x39,0x30,0x31,0x30,0x38,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x39,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b, - 0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x39,0x31,0x31,0x31,0x38,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x39,0x29,0x7c,0x28,0x64, - 0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, - 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29, - 0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x38,0x39,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c, - 0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a,0x69,0x66, - 0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x3c,0x30,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62, - 0x65,0x62,0x65,0x30,0x30,0x66,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x30,0x78,0x38,0x38,0x39,0x30,0x33,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a, - 0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x38,0x31,0x30,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74, - 0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d, - 0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, - 0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e, - 0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63, - 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74, - 0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65, - 0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a, - 0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f, - 0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61, - 0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74, - 0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78, - 0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70, - 0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73, - 0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f, - 0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b, - 0x2b,0x29,0x3d,0x30,0x78,0x38,0x38,0x39,0x30,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37, - 0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, - 0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, - 0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x29, - 0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, - 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x66,0x61, - 0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, - 0x3d,0x30,0x78,0x38,0x30,0x38,0x66,0x31,0x30,0x63,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78, - 0x38,0x65,0x61,0x32,0x30,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x65,0x61,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39, - 0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x38,0x66,0x31,0x30,0x63,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a, - 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x66,0x61,0x32,0x30,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x7d, - 0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x29,0x3f,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3a,0x2d, - 0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x26,0x36,0x33,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x66,0x61,0x30,0x38,0x30,0x31,0x30,0x75,0x7c,0x28, - 0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x68,0x69,0x66,0x74,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x65,0x61, - 0x32,0x38,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x29,0x3c,0x3c,0x38,0x29,0x3b, - 0x0a,0x7d,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x37,0x39,0x30,0x32,0x32,0x32,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b, - 0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, - 0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66, - 0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a, - 0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x30,0x30,0x31,0x31,0x30, - 0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x31, - 0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78, - 0x62,0x65,0x39,0x30,0x30,0x31,0x32,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72, - 0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41, - 0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41, - 0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x38,0x37,0x61,0x38,0x30,0x30,0x31,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b, - 0x29,0x3d,0x30,0x78,0x33,0x63,0x30,0x30,0x30,0x30,0x33,0x63,0x75,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x32,0x35,0x29, - 0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x38,0x37,0x61,0x38,0x30,0x30,0x31,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33, - 0x64,0x30,0x30,0x30,0x30,0x33,0x64,0x75,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x32,0x35,0x29,0x3b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x66,0x38,0x63,0x63,0x30,0x37,0x66,0x75,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b, - 0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x30,0x30,0x30,0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x32,0x36,0x39,0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x28,0x73, - 0x72,0x63,0x26,0x33,0x29,0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52, - 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63, - 0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68, - 0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79, + 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69, + 0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38, + 0x65,0x30,0x34,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65, + 0x61,0x36,0x30,0x34,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62, + 0x65,0x62,0x63,0x32,0x31,0x33,0x61,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x34, + 0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x30,0x78,0x62,0x65,0x38,0x65,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, + 0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x33,0x61,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62, + 0x65,0x39,0x30,0x30,0x31,0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72, + 0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, + 0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61, + 0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79, 0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a, 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29, - 0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72,0x65, - 0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69, - 0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64, - 0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x5f, - 0x66,0x70,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74, - 0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69, - 0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x30,0x30,0x30,0x33,0x63, - 0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x32,0x33,0x39,0x33, - 0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x30,0x30,0x30,0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28, - 0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x34,0x30,0x30,0x32,0x36,0x39,0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x28, - 0x73,0x72,0x63,0x26,0x33,0x29,0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d, - 0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74, - 0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63, - 0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e, - 0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67, - 0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65, - 0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f, - 0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e, - 0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32, - 0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65, - 0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f, - 0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x30,0x30,0x30,0x33, - 0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x34,0x30,0x30,0x32,0x33,0x39, - 0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a, - 0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28, - 0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a, - 0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x32,0x61,0x37,0x61,0x36,0x37,0x33,0x64,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28, + 0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69, + 0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c, + 0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68, + 0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70, + 0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65, + 0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72, + 0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e, + 0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66, + 0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43, + 0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x34,0x31, + 0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x32,0x31, + 0x33,0x61,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x34,0x30,0x65,0x75,0x7c,0x28, + 0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61, + 0x36,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65, + 0x62,0x63,0x31,0x65,0x33,0x61,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x30, + 0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72, + 0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c, + 0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55, + 0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x2a,0x28, + 0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38,0x65,0x30,0x34,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a, + 0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x34,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x32,0x31,0x33,0x38,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x34,0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6c, + 0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38,0x65,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09, + 0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b, + 0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x33,0x38,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09, + 0x09,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74, + 0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29, + 0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28, + 0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61, + 0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67, + 0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63, + 0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79, + 0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70, + 0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f, + 0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32, + 0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29, + 0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70,0x2c,0x70,0x72,0x65,0x66, + 0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69, + 0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d,0x63,0x6e, + 0x74,0x3a,0x30,0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x2a,0x28,0x70,0x2b, + 0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x34,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70, + 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x32,0x31,0x33,0x38,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, + 0x78,0x62,0x65,0x39,0x30,0x30,0x34,0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x36,0x30,0x31,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x33,0x38,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b, + 0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x30,0x65,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65, + 0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x28, + 0x69,0x6e,0x73,0x74,0x2e,0x79,0x2d,0x31,0x29,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x72,0x63,0x70,0x5f,0x76,0x61,0x6c, + 0x75,0x65,0x3d,0x61,0x73,0x5f,0x75,0x69,0x6e,0x74,0x32,0x28,0x69,0x6d,0x75,0x6c,0x5f,0x72,0x63,0x70,0x5f,0x76,0x61,0x6c,0x75,0x65,0x28,0x69,0x6e,0x73,0x74,0x2e, + 0x79,0x29,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x4f,0x56,0x5f,0x42,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x3b,0x09, + 0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x72,0x63,0x70,0x5f,0x76,0x61,0x6c,0x75,0x65,0x2e,0x78,0x3b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e, + 0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x48,0x49,0x5f,0x55, + 0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x33,0x38,0x30,0x32,0x32,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38, + 0x36,0x30,0x30,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x32,0x31,0x31,0x63,0x75,0x2b,0x28,0x64,0x73,0x74,0x3c, + 0x3c,0x31,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x32,0x38,0x39,0x30,0x30,0x30,0x66,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, + 0x3d,0x30,0x78,0x30,0x30,0x30,0x31,0x30,0x31,0x31,0x63,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55, + 0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x30,0x65,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09, + 0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x72,0x63,0x70,0x5f,0x76,0x61,0x6c,0x75,0x65,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78, + 0x38,0x30,0x30,0x66,0x30,0x65,0x30,0x66,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49, + 0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x30,0x65,0x32,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x31,0x30,0x65,0x30,0x66,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09, + 0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x55,0x4c,0x5f,0x49,0x33,0x32,0x5f,0x49,0x4d,0x55,0x4c,0x7c,0x30,0x78,0x31,0x30,0x32,0x30,0x31,0x30, + 0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70, + 0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43, + 0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52, + 0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x39,0x30,0x31,0x30,0x38,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x39,0x29,0x7c, + 0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x39,0x31,0x31,0x31,0x38,0x30,0x75,0x7c,0x28, + 0x64,0x73,0x74,0x3c,0x3c,0x39,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a, + 0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28, + 0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66, + 0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x58,0x4f,0x52,0x5f,0x42,0x33,0x32,0x5f,0x36, + 0x34,0x7c,0x30,0x78,0x39,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28, + 0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6e,0x73, + 0x74,0x2e,0x79,0x29,0x3c,0x30,0x29,0x20,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4d,0x4f,0x56,0x5f,0x42,0x33,0x32,0x5f,0x58,0x4f,0x52,0x5f, + 0x52,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x58,0x4f,0x52,0x5f,0x42, + 0x33,0x32,0x5f,0x36,0x34,0x7c,0x30,0x78,0x39,0x30,0x33,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, + 0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x58,0x4f,0x52,0x5f,0x42,0x33,0x32,0x5f,0x36,0x34, + 0x7c,0x30,0x78,0x31,0x30,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a, + 0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70, + 0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, + 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70, + 0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21, + 0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64, + 0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61, + 0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73, + 0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73, + 0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x69, + 0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a, + 0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x28,0x70,0x2c,0x70,0x72,0x65,0x66, + 0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e, + 0x64,0x65,0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, + 0x78,0x3c,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x28,0x70, + 0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, + 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78, + 0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x58,0x4f,0x52,0x5f,0x42,0x33,0x32,0x5f,0x36,0x34,0x7c,0x30, + 0x78,0x39,0x30,0x30,0x65,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x7d,0x0a,0x72, + 0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49, + 0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28, + 0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x20,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, + 0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c,0x53,0x48,0x52,0x7c,0x30,0x78,0x61,0x30, + 0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x30,0x78,0x38,0x30,0x38,0x66,0x31,0x30,0x63,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c, + 0x53,0x48,0x4c,0x7c,0x30,0x78,0x61,0x32,0x30,0x66,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c,0x53,0x48,0x4c,0x7c,0x30,0x78,0x61,0x30,0x31,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, + 0x29,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x38,0x66,0x31,0x30,0x63,0x30,0x75,0x7c,0x28, + 0x73,0x72,0x63,0x3c,0x3c,0x39,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c,0x53,0x48,0x52,0x7c,0x30,0x78,0x61,0x32,0x30,0x66,0x31,0x30,0x75, + 0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e, + 0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52, + 0x4f,0x52,0x5f,0x52,0x29,0x3f,0x69,0x6e,0x73,0x74,0x2e,0x79,0x3a,0x2d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x29,0x26,0x36,0x33,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, + 0x3d,0x53,0x5f,0x4c,0x53,0x48,0x52,0x7c,0x30,0x78,0x61,0x30,0x38,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x73,0x68,0x69,0x66, + 0x74,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c,0x53,0x48,0x4c,0x7c,0x30,0x78,0x61,0x32,0x38,0x30,0x31,0x30,0x75,0x7c,0x28, + 0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x28,0x36,0x34,0x2d,0x73,0x68,0x69,0x66,0x74,0x29,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x53,0x5f,0x4f,0x52,0x7c,0x30,0x78,0x39,0x30,0x32,0x32,0x32,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75, + 0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f, + 0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72, + 0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x30,0x30,0x34,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x34,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73, + 0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x34,0x32,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c, + 0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x61,0x30,0x30,0x31,0x31, + 0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x39,0x30,0x30,0x31, + 0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, + 0x78,0x62,0x65,0x39,0x30,0x30,0x31,0x32,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x09,0x09,0x09,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66, + 0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, + 0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, + 0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x44,0x53,0x5f,0x53,0x57,0x49,0x5a,0x5a,0x4c,0x45, + 0x5f,0x42,0x33,0x32,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x63,0x30,0x30,0x30,0x30,0x33,0x63,0x75, + 0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x32,0x35,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x44,0x53,0x5f,0x53, + 0x57,0x49,0x5a,0x5a,0x4c,0x45,0x5f,0x42,0x33,0x32,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x64,0x30, + 0x30,0x30,0x30,0x33,0x64,0x75,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x64,0x73,0x74,0x3c,0x3c,0x32,0x35,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x30,0x78,0x62,0x66,0x38,0x63,0x63,0x30,0x37,0x66,0x75,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, + 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, + 0x3d,0x56,0x5f,0x41,0x44,0x44,0x5f,0x46,0x36,0x34,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x30,0x78,0x30,0x30,0x30,0x32,0x36,0x39,0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x28,0x73,0x72,0x63,0x26,0x33, + 0x29,0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67, + 0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f, + 0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f, + 0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61, + 0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d, + 0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63, + 0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78, + 0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d, + 0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x5f,0x66,0x70,0x28,0x70, + 0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, + 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78, + 0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x56,0x5f,0x41,0x44,0x44,0x5f,0x46,0x36,0x34,0x2b,0x28,0x28,0x64,0x73, + 0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x32,0x33,0x39,0x33,0x63,0x75,0x2b,0x28,0x28,0x64, + 0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d, + 0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c, + 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x56,0x5f, + 0x41,0x44,0x44,0x5f,0x46,0x36,0x34,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x34, + 0x30,0x30,0x32,0x36,0x39,0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x28,0x73,0x72,0x63,0x26,0x33,0x29,0x3c,0x3c, + 0x31,0x30,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, + 0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c, + 0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64,0x20,0x25, + 0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68, + 0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74, + 0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, + 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38, + 0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30,0x29,0x0a, + 0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72, + 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72, + 0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x76,0x6d, + 0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x56,0x5f,0x41,0x44,0x44,0x5f,0x46,0x36,0x34,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33, + 0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x34,0x30,0x30,0x32,0x33,0x39,0x33,0x63,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26, + 0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x28,0x56,0x5f,0x58, + 0x4f,0x52,0x5f,0x42,0x33,0x32,0x7c,0x30,0x78,0x37,0x61,0x36,0x37,0x33,0x64,0x75,0x29,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28, 0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x38,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65, 0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64, 0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, - 0x30,0x78,0x64,0x32,0x38,0x31,0x30,0x30,0x34,0x34,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, - 0x3d,0x30,0x78,0x30,0x30,0x30,0x32,0x36,0x39,0x34,0x34,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x28,0x73,0x72,0x63,0x26, - 0x33,0x29,0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, - 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, - 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, - 0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d, - 0x6f,0x64,0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72, - 0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70, - 0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74, - 0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, - 0x78,0x3a,0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c, - 0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x5f,0x66,0x70,0x28, - 0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f, - 0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, - 0x78,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x33,0x30,0x75,0x2b,0x28, - 0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, - 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64, - 0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, - 0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x32,0x38,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72, - 0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52, - 0x54,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41, - 0x4e,0x43,0x48,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x2b, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x4a,0x55,0x4d,0x50,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x69,0x6d,0x6d,0x3d,0x69,0x6e, - 0x73,0x74,0x2e,0x79,0x7c,0x28,0x31,0x75,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x29,0x3b,0x0a,0x69,0x6d,0x6d,0x20,0x26,0x3d,0x20,0x7e,0x28,0x31,0x75,0x3c,0x3c,0x28, - 0x73,0x68,0x69,0x66,0x74,0x2d,0x31,0x29,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x66,0x66,0x31,0x30,0x7c,0x28,0x64,0x73, - 0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6d,0x6d,0x3b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x31,0x31,0x30,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31, - 0x37,0x29,0x7c,0x28,0x28,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6d,0x6d,0x29,0x3c,0x30,0x29,0x3f,0x30,0x78,0x63,0x31,0x3a,0x30,0x78,0x38,0x30,0x29,0x3c, - 0x3c,0x38,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x63,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b,0x52,0x65,0x67, - 0x3d,0x37,0x30,0x2b,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x36,0x30,0x65,0x30,0x30,0x31,0x30,0x75, - 0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x63,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b,0x52,0x65,0x67,0x3c,0x3c,0x38,0x29,0x3b, - 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x64,0x65,0x6c,0x74,0x61,0x3d,0x28,0x28,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74, - 0x61,0x72,0x67,0x65,0x74,0x2d,0x70,0x29,0x2d,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x66,0x38,0x34,0x30,0x30,0x30,0x30,0x75,0x7c, - 0x28,0x64,0x65,0x6c,0x74,0x61,0x26,0x30,0x78,0x46,0x46,0x46,0x46,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73, - 0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x36,0x33,0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74, - 0x3d,0x3d,0x36,0x33,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x65,0x30,0x65,0x38,0x31,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c, - 0x3c,0x31,0x29,0x3b,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x66,0x30,0x66,0x39,0x66,0x31,0x31,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c, - 0x31,0x29,0x3b,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x37,0x30,0x65,0x30,0x66,0x30,0x65,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a, - 0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x36,0x30,0x65,0x38,0x33,0x30,0x65,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b, - 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x33,0x38,0x65,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28, - 0x70,0x2b,0x2b,0x29,0x3d,0x73,0x68,0x69,0x66,0x74,0x7c,0x28,0x32,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62, - 0x65,0x38,0x65,0x30,0x38,0x30,0x65,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x66,0x34,0x32,0x39,0x65,0x30,0x65,0x75,0x3b,0x0a,0x2a,0x28, - 0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x39,0x34,0x32,0x30,0x38,0x38,0x31,0x75,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x3b,0x0a,0x69,0x66,0x28,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e, - 0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3c,0x31,0x34,0x29,0x3f,0x28,0x28,0x6d,0x6f,0x64, + 0x56,0x5f,0x4d,0x55,0x4c,0x5f,0x46,0x36,0x34,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, + 0x78,0x30,0x30,0x30,0x32,0x36,0x39,0x34,0x34,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x2b,0x28,0x28,0x73,0x72,0x63,0x26,0x33,0x29, + 0x3c,0x3c,0x31,0x30,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70, + 0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3e,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63, + 0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x66,0x70,0x28,0x70,0x2c,0x73,0x72,0x63,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x28,0x6d,0x6f,0x64, 0x20,0x25,0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74, - 0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x29,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73, - 0x6b,0x5f,0x72,0x65,0x67,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64, - 0x72,0x65,0x73,0x73,0x28,0x70,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x6d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a, - 0x65,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3d,0x34,0x38,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b, - 0x29,0x3d,0x30,0x78,0x37,0x65,0x30,0x30,0x30,0x32,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c, - 0x3c,0x31,0x37,0x29,0x3b,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x30,0x32,0x30,0x32,0x31,0x31,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c, - 0x31,0x29,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49, - 0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x63,0x37,0x34,0x38,0x30,0x30,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x63,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x23,0x65, - 0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x32,0x33,0x38,0x30,0x35,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, - 0x78,0x33,0x38,0x33,0x61,0x30,0x36,0x38,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x64,0x63,0x37,0x34,0x30,0x30,0x30,0x30,0x75,0x3b,0x0a, - 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x63,0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c,0x3c,0x38,0x29,0x3b, - 0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x74, - 0x20,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e, - 0x74,0x32,0x2a,0x20,0x70,0x30,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f, - 0x63,0x6f,0x75,0x6e,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x69,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20, - 0x73,0x72,0x63,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32, - 0x20,0x69,0x6e,0x73,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74, - 0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61, - 0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61, - 0x72,0x67,0x65,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x0a,0x7b,0x0a,0x75,0x69, - 0x6e,0x74,0x32,0x20,0x74,0x3b,0x0a,0x74,0x2e,0x78,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d,0x64,0x73,0x74,0x29,0x3f,0x28,0x28,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26, - 0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x29,0x3e,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x53,0x43,0x52,0x41,0x54, - 0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x32,0x29,0x3f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, - 0x65,0x41,0x74,0x3a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x29,0x3a,0x6d,0x61,0x78,0x28,0x73, - 0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, - 0x65,0x41,0x74,0x29,0x3b,0x0a,0x74,0x2e,0x79,0x3d,0x69,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x74,0x31,0x3d,0x74,0x2e,0x78,0x3b,0x0a,0x69, - 0x66,0x28,0x28,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3c,0x3d,0x74,0x31,0x29,0x26,0x26,0x28,0x74,0x31,0x3c,0x3d,0x6c, - 0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x29,0x0a,0x7b,0x0a,0x74,0x2e,0x78,0x3d,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x2b,0x31,0x3b,0x0a, - 0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x28,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3e,0x6c,0x61,0x73,0x74, - 0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x26,0x26,0x28,0x74,0x31,0x3c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x29,0x29,0x0a, - 0x7b,0x0a,0x74,0x2e,0x78,0x3d,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3b,0x0a,0x7d,0x0a,0x70,0x30,0x5b,0x70,0x72,0x65, - 0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x5d,0x3d,0x74,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x72,0x65,0x66, - 0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69, - 0x6e,0x74,0x2a,0x20,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x5f,0x6a,0x69,0x74,0x5f,0x63,0x6f,0x64,0x65,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75, - 0x69,0x6e,0x74,0x32,0x2a,0x20,0x65,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x70,0x30,0x2c,0x5f,0x5f,0x67,0x6c,0x6f, - 0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x69, - 0x6e,0x74,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20, - 0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x70,0x61,0x73,0x73,0x3d,0x30,0x3b,0x20,0x70,0x61,0x73,0x73,0x3c,0x32, - 0x3b,0x20,0x2b,0x2b,0x70,0x61,0x73,0x73,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f, + 0x63,0x68,0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x70,0x3d,0x6a, + 0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x5f,0x66,0x70,0x28,0x70,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, + 0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a, + 0x32,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3c,0x3d,0x30, + 0x29,0x0a,0x7b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x6c,0x6f,0x61,0x64,0x32,0x5f,0x66,0x70,0x28,0x70,0x2c, + 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f,0x2d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67, + 0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3a,0x32,0x38,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3f, + 0x76,0x6d,0x63,0x6e,0x74,0x3a,0x30,0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a, + 0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x32,0x31,0x33,0x30,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b, + 0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x33,0x30,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26, + 0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20, + 0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x62,0x63,0x32, + 0x31,0x32,0x38,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x30,0x78,0x62,0x65,0x62,0x63,0x31,0x65,0x32,0x38,0x75,0x2b,0x28,0x28,0x64,0x73,0x74,0x26,0x33,0x29,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66, + 0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, + 0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x28,0x6d,0x6f, + 0x64,0x3e,0x3e,0x34,0x29,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x4a,0x55,0x4d,0x50,0x5f,0x4f,0x46,0x46,0x53,0x45,0x54,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20, + 0x69,0x6d,0x6d,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x7c,0x28,0x31,0x75,0x3c,0x3c,0x73,0x68,0x69,0x66,0x74,0x29,0x3b,0x0a,0x69,0x6d,0x6d,0x20,0x26,0x3d,0x20,0x7e, + 0x28,0x31,0x75,0x3c,0x3c,0x28,0x73,0x68,0x69,0x66,0x74,0x2d,0x31,0x29,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x30,0x31,0x30,0x66,0x66, + 0x31,0x30,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x69,0x6d, + 0x6d,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x32,0x31,0x31,0x30,0x30,0x31,0x31,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28, + 0x64,0x73,0x74,0x3c,0x3c,0x31,0x37,0x29,0x7c,0x28,0x28,0x28,0x61,0x73,0x5f,0x69,0x6e,0x74,0x28,0x69,0x6d,0x6d,0x29,0x3c,0x30,0x29,0x3f,0x30,0x78,0x63,0x31,0x3a, + 0x30,0x78,0x38,0x30,0x29,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x63,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4d, + 0x61,0x73,0x6b,0x52,0x65,0x67,0x3d,0x37,0x30,0x2b,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x41,0x4e,0x44, + 0x7c,0x30,0x78,0x30,0x65,0x30,0x30,0x31,0x30,0x75,0x7c,0x28,0x64,0x73,0x74,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x63,0x6f,0x6e,0x64,0x69,0x74,0x69,0x6f,0x6e,0x4d,0x61, + 0x73,0x6b,0x52,0x65,0x67,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x64,0x65,0x6c,0x74,0x61,0x3d,0x28,0x28,0x6c,0x61,0x73, + 0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x2d,0x70,0x29,0x2d,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78, + 0x62,0x66,0x38,0x34,0x30,0x30,0x30,0x30,0x75,0x7c,0x28,0x64,0x65,0x6c,0x74,0x61,0x26,0x30,0x78,0x46,0x46,0x46,0x46,0x29,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e, + 0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e, + 0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55, + 0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x68,0x69,0x66,0x74,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x36,0x33, + 0x3b,0x0a,0x69,0x66,0x28,0x73,0x68,0x69,0x66,0x74,0x3d,0x3d,0x36,0x33,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c,0x53,0x48,0x4c,0x7c, + 0x30,0x78,0x30,0x65,0x38,0x31,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x4c, + 0x53,0x48,0x52,0x7c,0x30,0x78,0x30,0x66,0x39,0x66,0x31,0x31,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29, + 0x3d,0x53,0x5f,0x4f,0x52,0x7c,0x30,0x78,0x30,0x65,0x30,0x66,0x30,0x65,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x41, + 0x4e,0x44,0x7c,0x30,0x78,0x30,0x65,0x38,0x33,0x30,0x65,0x75,0x3b,0x09,0x09,0x09,0x09,0x09,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b, + 0x2b,0x29,0x3d,0x53,0x5f,0x42,0x46,0x45,0x7c,0x30,0x78,0x38,0x65,0x66,0x66,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x3b,0x0a,0x2a,0x28,0x70, + 0x2b,0x2b,0x29,0x3d,0x73,0x68,0x69,0x66,0x74,0x7c,0x28,0x32,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a,0x7d,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52, + 0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38,0x65,0x30,0x62,0x30,0x65,0x75,0x3b,0x0a,0x2a, + 0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x39,0x30,0x34,0x32,0x39,0x65,0x30,0x65,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x39,0x63,0x32, + 0x30,0x38,0x38,0x31,0x75,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38,0x65,0x30,0x38,0x30,0x65,0x75,0x3b, + 0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x38,0x66,0x34,0x32,0x39,0x65,0x30,0x65,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x39, + 0x34,0x32,0x30,0x38,0x38,0x31,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f, + 0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74, + 0x20,0x75,0x69,0x6e,0x74,0x20,0x6d,0x61,0x73,0x6b,0x3d,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3c,0x31,0x34,0x29,0x3f,0x28,0x28,0x6d,0x6f,0x64,0x20,0x25, + 0x20,0x34,0x29,0x3f,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x31,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68, + 0x70,0x61,0x64,0x4c,0x32,0x4d,0x61,0x73,0x6b,0x5f,0x72,0x65,0x67,0x29,0x3a,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x5f, + 0x72,0x65,0x67,0x3b,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x5f,0x63,0x61,0x6c,0x63,0x5f,0x61,0x64,0x64,0x72,0x65, + 0x73,0x73,0x28,0x70,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2c,0x6d,0x61,0x73,0x6b,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29, + 0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3d,0x34,0x38,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d, + 0x30,0x78,0x37,0x65,0x30,0x30,0x30,0x32,0x31,0x30,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c,0x3c,0x31, + 0x37,0x29,0x3b,0x09,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x37,0x65,0x30,0x32,0x30,0x32,0x31,0x31,0x75,0x7c,0x28,0x73,0x72,0x63,0x3c,0x3c,0x31,0x29, + 0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c,0x3c,0x31,0x37,0x29,0x3b,0x09,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e, + 0x20,0x3e,0x3d,0x20,0x31,0x34,0x0a,0x23,0x69,0x66,0x20,0x47,0x43,0x4e,0x5f,0x56,0x45,0x52,0x53,0x49,0x4f,0x4e,0x20,0x3e,0x3d,0x20,0x31,0x35,0x0a,0x2a,0x28,0x70, + 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x66,0x38,0x63,0x33,0x66,0x37,0x30,0x75,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30, + 0x78,0x64,0x63,0x37,0x34,0x38,0x30,0x30,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x63,0x75,0x7c,0x28, + 0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x32,0x33,0x38, + 0x30,0x35,0x31,0x63,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x33,0x38,0x33,0x61,0x30,0x36,0x38,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b, + 0x29,0x3d,0x30,0x78,0x64,0x63,0x37,0x34,0x30,0x30,0x30,0x30,0x75,0x3b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x31,0x63, + 0x75,0x7c,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b, + 0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x3b,0x0a, + 0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x74,0x20,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61, + 0x64,0x28,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x70,0x30,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74, + 0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x20,0x69,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x64, + 0x73,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74, + 0x20,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61, + 0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x63, + 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69, + 0x6e,0x74,0x20,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x6c, + 0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x74,0x3b,0x0a,0x74,0x2e,0x78,0x3d,0x28,0x73,0x72,0x63,0x3d,0x3d, + 0x64,0x73,0x74,0x29,0x3f,0x28,0x28,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x53,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x4c,0x33,0x4d,0x61,0x73,0x6b,0x29, + 0x3e,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x53,0x43,0x52,0x41,0x54,0x43,0x48,0x50,0x41,0x44,0x5f,0x4c,0x32,0x29,0x3f,0x73,0x63,0x72,0x61,0x74,0x63,0x68, + 0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61, + 0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x29,0x3a,0x6d,0x61,0x78,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, + 0x65,0x41,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x29,0x3b,0x0a,0x74,0x2e,0x79,0x3d,0x69,0x3b,0x0a,0x63,0x6f,0x6e,0x73, + 0x74,0x20,0x69,0x6e,0x74,0x20,0x74,0x31,0x3d,0x74,0x2e,0x78,0x3b,0x0a,0x69,0x66,0x28,0x28,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67, + 0x65,0x74,0x3c,0x3d,0x74,0x31,0x29,0x26,0x26,0x28,0x74,0x31,0x3c,0x3d,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x29,0x0a,0x7b,0x0a,0x74,0x2e,0x78, + 0x3d,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x20,0x69,0x66,0x28,0x28,0x6c,0x61,0x73,0x74,0x42,0x72, + 0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3e,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x26,0x26,0x28,0x74,0x31,0x3c,0x6c,0x61,0x73,0x74, + 0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x29,0x29,0x0a,0x7b,0x0a,0x74,0x2e,0x78,0x3d,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54, + 0x61,0x72,0x67,0x65,0x74,0x3b,0x0a,0x7d,0x0a,0x70,0x30,0x5b,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x5d, + 0x3d,0x74,0x3b,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2b,0x31, + 0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x5f,0x6a,0x69,0x74,0x5f, + 0x63,0x6f,0x64,0x65,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x65,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20, + 0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x70,0x30,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x2c,0x75,0x69,0x6e,0x74,0x20, + 0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x0a,0x7b,0x0a,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f, + 0x63,0x6f,0x75,0x6e,0x74,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x76,0x6f,0x6c, + 0x61,0x74,0x69,0x6c,0x65,0x20,0x69,0x6e,0x74,0x20,0x70,0x61,0x73,0x73,0x3d,0x30,0x3b,0x20,0x70,0x61,0x73,0x73,0x3c,0x32,0x3b,0x20,0x2b,0x2b,0x70,0x61,0x73,0x73, + 0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32, + 0x35,0x36,0x0a,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x38,0x5d,0x3d,0x7b,0x20, + 0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x20,0x7d,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65, + 0x0a,0x75,0x6c,0x6f,0x6e,0x67,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x30,0x3b,0x0a,0x75,0x69, + 0x6e,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x30,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a, + 0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x30,0x3b,0x0a,0x75,0x69, + 0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x30,0x3b,0x0a, + 0x69,0x6e,0x74,0x20,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x2d,0x31,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6c,0x61,0x73, + 0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x3d,0x2d,0x31,0x3b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f, 0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67, - 0x65,0x64,0x5b,0x38,0x5d,0x3d,0x7b,0x20,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x20, - 0x7d,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x75,0x6c,0x6f,0x6e,0x67,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67, - 0x65,0x64,0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x30,0x3b, - 0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62, - 0x6c,0x65,0x41,0x74,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x2d,0x31,0x3b, - 0x0a,0x69,0x6e,0x74,0x20,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x3d,0x2d,0x31,0x3b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, - 0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c, - 0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x5b,0x38,0x5d,0x3d,0x7b,0x20,0x2d,0x31, - 0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x20,0x7d,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x75, - 0x6c,0x6f,0x6e,0x67,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68, - 0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65, - 0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x30,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x75,0x69,0x6e,0x74,0x20,0x73, - 0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74, - 0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x30,0x3b,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f, - 0x63,0x6f,0x75,0x6e,0x74,0x3d,0x30,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x75, - 0x69,0x6e,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b, - 0x20,0x2b,0x2b,0x69,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x30,0x29,0x0a,0x65,0x5b,0x69,0x5d,0x2e,0x78,0x20,0x26,0x3d,0x20,0x7e,0x28, - 0x30,0x78,0x66,0x38,0x75,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x3d,0x65,0x5b,0x69,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74, - 0x20,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x30,0x78,0x46,0x46,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20, - 0x64,0x73,0x74,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72, - 0x63,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x31,0x36,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x6d,0x6f,0x64, - 0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e,0x3e,0x32,0x34,0x3b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x69,0x6e, - 0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67, - 0x65,0x74,0x3d,0x69,0x3b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e, - 0x20,0x32,0x35,0x36,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x6a,0x3d,0x30, - 0x3b,0x20,0x6a,0x3c,0x38,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41, - 0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x5b,0x6a,0x5d,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, - 0x6e,0x67,0x65,0x64,0x5b,0x6a,0x5d,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67, - 0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, - 0x6e,0x67,0x65,0x64,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68, - 0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69, - 0x66,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72, - 0x67,0x65,0x74,0x3d,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3b,0x0a,0x73,0x63,0x72,0x61,0x74, - 0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74, - 0x3d,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3b,0x0a,0x7d,0x0a,0x69,0x66, - 0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x29,0x29,0x0a,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x3d,0x69,0x3b, - 0x0a,0x7d,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35, - 0x36,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x72,0x65,0x67,0x69, - 0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x73,0x72,0x63,0x5d,0x2b,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69, - 0x6e,0x74,0x20,0x64,0x73,0x74,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68, - 0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x2b,0x31,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73, - 0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65, - 0x64,0x26,0x28,0x31,0x75,0x3c,0x3c,0x73,0x72,0x63,0x29,0x29,0x3f,0x28,0x28,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e, - 0x67,0x65,0x64,0x3e,0x3e,0x28,0x73,0x72,0x63,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46,0x46,0x29,0x2b,0x31,0x29,0x3a,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, - 0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73, - 0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x28,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x29,0x29,0x3f,0x28,0x28,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61, - 0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3e,0x3e,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46,0x46,0x29,0x2b,0x31,0x29,0x3a,0x30,0x3b,0x0a, - 0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41, - 0x44,0x44,0x5f,0x52,0x53,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a, - 0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d, - 0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72, - 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73, - 0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65, - 0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69, - 0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d, - 0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b, - 0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65, - 0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c, - 0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29, - 0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23, - 0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f, - 0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65, - 0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72, - 0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73, - 0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69, - 0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44, - 0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f, - 0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20, + 0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x5b,0x38,0x5d,0x3d,0x7b,0x20,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d, + 0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x2c,0x2d,0x31,0x20,0x7d,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x75,0x6c,0x6f,0x6e,0x67,0x20,0x72,0x65,0x67, + 0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x30, + 0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63, + 0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x30,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x75,0x69,0x6e,0x74,0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61, + 0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74, + 0x20,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68, + 0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x30,0x3b,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x30,0x3b, + 0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x75,0x69,0x6e,0x74,0x20,0x69,0x3d,0x30,0x3b, + 0x20,0x69,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x7b,0x0a, + 0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x30,0x29,0x0a,0x65,0x5b,0x69,0x5d,0x2e,0x78,0x20,0x26,0x3d,0x20,0x7e,0x28,0x30,0x78,0x66,0x38,0x75,0x3c,0x3c,0x38, + 0x29,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x3d,0x65,0x5b,0x69,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3d, + 0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x30,0x78,0x46,0x46,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x3d,0x28,0x69,0x6e,0x73, + 0x74,0x2e,0x78,0x3e,0x3e,0x38,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x3d,0x28,0x69,0x6e,0x73,0x74,0x2e, + 0x78,0x3e,0x3e,0x31,0x36,0x29,0x26,0x37,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x6d,0x6f,0x64,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x3e, + 0x3e,0x32,0x34,0x3b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78, + 0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x69,0x3b,0x0a,0x23,0x69, + 0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x23,0x70,0x72, + 0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x6a,0x3d,0x30,0x3b,0x20,0x6a,0x3c,0x38,0x3b,0x20,0x2b, + 0x2b,0x6a,0x29,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54, + 0x61,0x72,0x67,0x65,0x74,0x5b,0x6a,0x5d,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x6a,0x5d,0x3b, + 0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e, + 0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3b,0x0a,0x72,0x65, + 0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x72, + 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x73,0x63,0x72,0x61,0x74,0x63, + 0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x73,0x63,0x72,0x61, + 0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3b,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67, + 0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x73,0x63,0x72,0x61,0x74,0x63,0x68, + 0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3b,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26, + 0x28,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x29,0x29,0x0a,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x3d,0x69,0x3b,0x0a,0x7d,0x0a,0x23,0x69,0x66,0x20,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20, + 0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74, + 0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x73,0x72,0x63,0x5d,0x2b,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x41,0x76, + 0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73, + 0x74,0x5d,0x2b,0x31,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61, + 0x62,0x6c,0x65,0x41,0x74,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x28,0x31,0x75,0x3c,0x3c,0x73, + 0x72,0x63,0x29,0x29,0x3f,0x28,0x28,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3e,0x3e,0x28,0x73,0x72, + 0x63,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46,0x46,0x29,0x2b,0x31,0x29,0x3a,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74, + 0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26, + 0x28,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x29,0x29,0x3f,0x28,0x28,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65, + 0x64,0x3e,0x3e,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46,0x46,0x29,0x2b,0x31,0x29,0x3a,0x30,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69, + 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x52,0x53,0x29,0x0a,0x7b, + 0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a, + 0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73, + 0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c, + 0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28, + 0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61, + 0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e, + 0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f, + 0x52,0x53,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f, + 0x4d,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20, 0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a, 0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73, 0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29, 0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74, - 0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f, - 0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49, - 0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53, - 0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45, - 0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d, - 0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65, - 0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74, - 0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66, - 0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74, - 0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64, - 0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69, - 0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63, - 0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e, - 0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a, - 0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69, - 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a, + 0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66, + 0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69, + 0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61, + 0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62, + 0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74, + 0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54, + 0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66, + 0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69, + 0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65, + 0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43, + 0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f, + 0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61, + 0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a, + 0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69, + 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a, 0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72, 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65, 0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61, 0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28, 0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73, - 0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75, - 0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52, - 0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29, - 0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35, - 0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65, - 0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65, - 0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29, - 0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72, - 0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x70, - 0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f, - 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63, - 0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68, - 0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72, - 0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73, - 0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68, - 0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e, - 0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e, - 0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d, - 0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69, - 0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b, + 0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73, + 0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65, + 0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e, + 0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c, + 0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, + 0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74, + 0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65, + 0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65, + 0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c, + 0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65, + 0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65, + 0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69, + 0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c, + 0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63, + 0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74, + 0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69, + 0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, + 0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67, + 0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67, + 0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a, + 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, + 0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73, + 0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74, + 0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41, + 0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74, + 0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44, + 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43, + 0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73, + 0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28, + 0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28, + 0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c, + 0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d, + 0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65, + 0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72, + 0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74, + 0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67, + 0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28, + 0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64, + 0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72, + 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72, + 0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63, + 0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68, + 0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61, + 0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72, + 0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f, + 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43, + 0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73, + 0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28, + 0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28, + 0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c, + 0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d, + 0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64, + 0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74, + 0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69, + 0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, + 0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67, + 0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67, + 0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a, + 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, + 0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73, + 0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74, + 0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41, + 0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74, + 0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79, + 0x26,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2d,0x31,0x29,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52, + 0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65, + 0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e, + 0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75, + 0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38, + 0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b, + 0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x49,0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49, + 0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74, + 0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28, + 0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64, + 0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72, + 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64, + 0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46, + 0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x3b,0x0a, + 0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x29,0x0a,0x7b, 0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a, 0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73, 0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c, @@ -3630,300 +3788,246 @@ static char randomx_cl[125466] = { 0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61, 0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65, 0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64, - 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f, - 0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73, - 0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67, - 0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68, - 0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e, - 0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e, - 0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d, - 0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x52,0x3b,0x0a, - 0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x29, - 0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35, - 0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65, - 0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65, - 0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29, - 0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72, - 0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x69,0x66,0x28,0x70, - 0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f, - 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63, - 0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68, - 0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72, - 0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x4d,0x55,0x4c,0x48,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x29,0x0a,0x7b,0x0a,0x69, - 0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x26,0x28,0x69,0x6e,0x73,0x74,0x2e,0x79,0x2d,0x31,0x29,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61, - 0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72, - 0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64, - 0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29, - 0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d, - 0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4d,0x55,0x4c,0x5f,0x52,0x43,0x50,0x3b,0x0a,0x69,0x66,0x28, - 0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52, - 0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, - 0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43, - 0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78, - 0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73, - 0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64, - 0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52, - 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x4e,0x45,0x47,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, - 0x49,0x58,0x4f,0x52,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49, - 0x58,0x4f,0x52,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a, - 0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d, - 0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72, - 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73, - 0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65, - 0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69, - 0x66,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e, - 0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f, - 0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x64,0x73,0x74,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61, - 0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73, - 0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61, - 0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b, - 0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a, - 0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41, - 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, - 0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74, - 0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61, - 0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e, - 0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c, - 0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75, - 0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65, - 0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45, - 0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20, - 0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73, - 0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c, - 0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x73,0x72,0x63,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65, - 0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65, - 0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69, - 0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64, - 0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c, - 0x28,0x73,0x72,0x63,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x73,0x72,0x63,0x2a,0x38,0x29,0x29,0x3b, - 0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x28,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x29,0x7c,0x28, - 0x31,0x75,0x3c,0x3c,0x73,0x72,0x63,0x29,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28, - 0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f, - 0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72, - 0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63, - 0x2c,0x30,0x78,0x46,0x46,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63, - 0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76, - 0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42, - 0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44, - 0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f, - 0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70, - 0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f, - 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63, - 0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x30,0x78,0x46,0x46,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, - 0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63, - 0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61, - 0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, - 0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66, - 0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61, - 0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x30, - 0x78,0x46,0x46,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70, - 0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69, - 0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61, - 0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, - 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58, - 0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63, - 0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70, - 0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28, - 0x70,0x61,0x73,0x73,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x76,0x6f,0x6c,0x61,0x74,0x69,0x6c,0x65,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x41,0x76,0x61,0x69, - 0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x32,0x3d,0x64,0x73,0x74,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3b,0x0a,0x65,0x5b,0x64,0x73,0x74,0x41,0x76, - 0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x32,0x5d,0x2e,0x78,0x7c,0x3d,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x65,0x5b,0x69,0x5d,0x2e,0x78, - 0x7c,0x3d,0x28,0x30,0x78,0x34,0x30,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d, - 0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x0a,0x66,0x6f,0x72,0x20,0x28, - 0x69,0x6e,0x74,0x20,0x6a,0x3d,0x30,0x3b,0x20,0x6a,0x3c,0x38,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43, - 0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x6a,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x75,0x69,0x6e,0x74,0x20,0x74,0x3d,0x69,0x7c,0x28,0x69,0x3c,0x3c, - 0x38,0x29,0x3b,0x0a,0x74,0x3d,0x74,0x7c,0x28,0x74,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, - 0x6e,0x67,0x65,0x64,0x3d,0x74,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x72,0x65,0x67,0x69, - 0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, - 0x6e,0x67,0x65,0x64,0x3c,0x3c,0x33,0x32,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x30,0x78, - 0x46,0x46,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, + 0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x58,0x4f,0x52,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64, + 0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, + 0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d, + 0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b, + 0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65, + 0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c, + 0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29, + 0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23, + 0x65,0x6e,0x64,0x69,0x66,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x52,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x52,0x4f,0x4c,0x5f, + 0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f, + 0x52,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x73,0x72,0x63,0x21,0x3d,0x64,0x73,0x74,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f, 0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43, - 0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73, - 0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28, - 0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28, - 0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c, - 0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x3d,0x30,0x3b,0x20,0x72,0x65,0x67, - 0x3c,0x38,0x3b,0x20,0x2b,0x2b,0x72,0x65,0x67,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d, - 0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67, - 0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x5b,0x72,0x65,0x67,0x5d,0x2b,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, - 0x69,0x6e,0x74,0x20,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e, - 0x67,0x65,0x64,0x5b,0x72,0x65,0x67,0x5d,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x21,0x3d,0x61,0x76,0x61,0x69, - 0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c, - 0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x72,0x65,0x67,0x5d,0x3d,0x69,0x3b,0x0a,0x7d,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x63,0x6f,0x6e,0x73,0x74, - 0x20,0x75,0x69,0x6e,0x74,0x20,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x28,0x72, - 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x26, - 0x28,0x31,0x75,0x3c,0x3c,0x72,0x65,0x67,0x29,0x29,0x3f,0x28,0x28,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65, - 0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3e,0x3e,0x28,0x72,0x65,0x67,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46,0x46,0x29,0x2b, - 0x31,0x29,0x3a,0x30,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x28,0x72,0x65, - 0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x28,0x31,0x75,0x3c,0x3c,0x72,0x65,0x67,0x29,0x29,0x3f,0x28,0x28,0x28,0x72, - 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3e,0x3e,0x28,0x72,0x65,0x67,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46, - 0x46,0x29,0x2b,0x31,0x29,0x3a,0x30,0x3b,0x0a,0x69,0x66,0x28,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x21,0x3d,0x61,0x76,0x61,0x69,0x6c,0x61,0x62, - 0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74, - 0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30, - 0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x72,0x65,0x67,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x72, - 0x65,0x67,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c, - 0x72,0x65,0x67,0x3b,0x0a,0x7d,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61, - 0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x21,0x3d,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64, - 0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x29,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, - 0x41,0x74,0x3d,0x69,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62, - 0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x21,0x3d,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68, - 0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x29,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c, - 0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x69,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65, - 0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64, - 0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e, - 0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55, - 0x4e,0x44,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52, - 0x45,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x65,0x5b,0x69,0x5d,0x2e,0x78,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78, - 0x7c,0x28,0x30,0x78,0x38,0x30,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41, - 0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x69,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3e,0x3d,0x31,0x34,0x29, - 0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x69,0x2b,0x31,0x3b,0x0a, - 0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52, - 0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x76,0x3d,0x70,0x30,0x5b,0x30,0x5d,0x2e,0x78, - 0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x6a,0x3d,0x31,0x3b, - 0x20,0x6a,0x3c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x7b,0x0a,0x75, - 0x69,0x6e,0x74,0x32,0x20,0x63,0x75,0x72,0x3d,0x70,0x30,0x5b,0x6a,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x63,0x75,0x72,0x2e,0x78,0x3e,0x3d,0x70,0x72,0x65,0x76,0x29,0x0a, - 0x7b,0x0a,0x70,0x72,0x65,0x76,0x3d,0x63,0x75,0x72,0x2e,0x78,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x74,0x20,0x6a,0x31, - 0x3d,0x6a,0x2d,0x31,0x3b,0x0a,0x64,0x6f,0x20,0x7b,0x0a,0x70,0x30,0x5b,0x6a,0x31,0x2b,0x31,0x5d,0x3d,0x70,0x30,0x5b,0x6a,0x31,0x5d,0x3b,0x0a,0x2d,0x2d,0x6a,0x31, - 0x3b,0x0a,0x7d,0x20,0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x28,0x6a,0x31,0x3e,0x3d,0x30,0x29,0x26,0x26,0x28,0x70,0x30,0x5b,0x6a,0x31,0x5d,0x2e,0x78,0x3e,0x3d,0x63, - 0x75,0x72,0x2e,0x78,0x29,0x29,0x3b,0x0a,0x70,0x30,0x5b,0x6a,0x31,0x2b,0x31,0x5d,0x3d,0x63,0x75,0x72,0x3b,0x0a,0x7d,0x0a,0x70,0x30,0x5b,0x70,0x72,0x65,0x66,0x65, - 0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x5d,0x2e,0x78,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41, - 0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x69,0x6e,0x74,0x2a,0x20,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76, - 0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61,0x63,0x6b,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x69,0x6e,0x74,0x2a,0x29,0x28,0x70,0x30,0x2b,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2b,0x31,0x29,0x3b,0x0a,0x65,0x6e,0x75,0x6d,0x20,0x7b,0x20,0x6e,0x75,0x6d, - 0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x3d,0x32,0x31,0x20,0x7d,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e, - 0x72,0x6f,0x6c,0x6c,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63, - 0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61, - 0x63,0x6b,0x5b,0x69,0x5d,0x3d,0x4e,0x55,0x4d,0x5f,0x56,0x47,0x50,0x52,0x5f,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x2d,0x32,0x2d,0x69,0x2a,0x32,0x3b,0x0a, - 0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x69,0x6e,0x74,0x2a,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x3d,0x70, - 0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61,0x63,0x6b,0x2b,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, - 0x5f,0x76,0x67,0x70,0x72,0x73,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x38,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e, - 0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x20,0x2b, - 0x2b,0x69,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5b,0x69,0x5d,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6b, - 0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x3d,0x70,0x30,0x5b,0x30,0x5d,0x3b,0x0a,0x69, - 0x6e,0x74,0x20,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f, - 0x76,0x61,0x6c,0x75,0x65,0x3d,0x36,0x33,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73, - 0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x3d,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x3b,0x0a,0x5f, - 0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74, - 0x3d,0x70,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x69,0x7a,0x65,0x5f,0x6c,0x69,0x6d,0x69,0x74,0x3d,0x28,0x43,0x4f,0x4d,0x50,0x49, - 0x4c,0x45,0x44,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x2d,0x32,0x30,0x30,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e, - 0x74,0x29,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x73,0x74,0x61,0x72,0x74,0x5f,0x70,0x3d,0x70,0x3b,0x0a,0x23,0x70, - 0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x52, - 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73, - 0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20,0x69,0x6e,0x73,0x74,0x3d,0x65,0x5b,0x69,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78, - 0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x0a,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x70,0x3b,0x0a,0x62,0x6f, - 0x6f,0x6c,0x20,0x64,0x6f,0x6e,0x65,0x3d,0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x64,0x6f,0x20,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x6a,0x69,0x74,0x5f,0x69,0x6e, - 0x73,0x74,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b, - 0x0a,0x69,0x6e,0x74,0x20,0x6a,0x69,0x74,0x5f,0x76,0x6d,0x63,0x6e,0x74,0x3b,0x0a,0x69,0x66,0x28,0x21,0x64,0x6f,0x6e,0x65,0x26,0x26,0x28,0x70,0x72,0x65,0x66,0x65, - 0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x2e,0x78,0x3d,0x3d,0x69,0x29,0x26,0x26,0x28,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67, - 0x70,0x72,0x73,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x3e,0x30,0x29,0x29,0x0a,0x7b,0x0a,0x2b,0x2b,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65, - 0x72,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3d,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76,0x67, - 0x70,0x72,0x73,0x5f,0x73,0x74,0x61,0x63,0x6b,0x5b,0x2d,0x2d,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x61, - 0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x5d,0x3b,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5b,0x70,0x72,0x65,0x66, - 0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x2e,0x79,0x5d,0x3d,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x7c,0x28,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65, - 0x72,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x3d,0x65,0x5b,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61, - 0x2e,0x79,0x5d,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x76,0x67,0x70, - 0x72,0x5f,0x69,0x64,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x76,0x6d,0x63,0x6e,0x74,0x3d,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3b,0x0a,0x73,0x5f,0x77, - 0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x3d,0x36,0x33,0x3b,0x0a,0x2b,0x2b,0x6b,0x3b,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64, - 0x61,0x74,0x61,0x3d,0x70,0x30,0x5b,0x6b,0x5d,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x70,0x72, - 0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x64,0x61,0x74,0x61,0x3d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76, - 0x67,0x70,0x72,0x73,0x5b,0x69,0x5d,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3d,0x70,0x72,0x65,0x66,0x65, - 0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x64,0x61,0x74,0x61,0x26,0x30,0x78,0x46,0x46,0x46,0x46,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69, - 0x6e,0x74,0x20,0x70,0x72,0x65,0x76,0x5f,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76, - 0x67,0x70,0x72,0x73,0x5f,0x64,0x61,0x74,0x61,0x3e,0x3e,0x31,0x36,0x3b,0x0a,0x69,0x66,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x29,0x0a,0x70,0x72,0x65,0x66,0x65, - 0x63,0x74,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61,0x63,0x6b,0x5b,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70, - 0x72,0x73,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x2b,0x2b,0x5d,0x3d,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74, - 0x2e,0x78,0x26,0x28,0x30,0x78,0x38,0x30,0x3c,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x2b,0x2b,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3b,0x0a,0x73, - 0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x3d,0x36,0x33,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x76, - 0x6d,0x63,0x6e,0x74,0x3d,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x2d,0x70,0x72,0x65,0x76,0x5f,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65, - 0x72,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x3d,0x69,0x6e,0x73,0x74,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76, - 0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x2d,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x76,0x6d,0x63,0x6e,0x74,0x3d,0x28,0x76, - 0x6d,0x63,0x6e,0x74,0x3c,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x29,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x2d,0x31,0x3b,0x0a, - 0x69,0x66,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3c,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x29,0x0a,0x73,0x5f,0x77,0x61,0x69,0x74, - 0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x3d,0x76,0x6d,0x63,0x6e,0x74,0x3b,0x0a,0x64,0x6f,0x6e,0x65,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x70,0x3d, - 0x6a,0x69,0x74,0x5f,0x65,0x6d,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x28,0x70,0x2c,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e, - 0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x2c,0x6a,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x2c,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f, - 0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2c,0x6a,0x69,0x74,0x5f,0x76,0x6d,0x63,0x6e,0x74,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29, - 0x3b,0x0a,0x69,0x66,0x28,0x70,0x2d,0x73,0x74,0x61,0x72,0x74,0x5f,0x70,0x3e,0x73,0x69,0x7a,0x65,0x5f,0x6c,0x69,0x6d,0x69,0x74,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70, - 0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38,0x30,0x31,0x64,0x30,0x63,0x75,0x3b,0x20,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x7d,0x20, - 0x77,0x68,0x69,0x6c,0x65,0x20,0x28,0x21,0x64,0x6f,0x6e,0x65,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x30,0x78,0x62,0x65,0x38,0x30,0x31,0x64, - 0x30,0x63,0x75,0x3b,0x20,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x5f,0x5f,0x28, - 0x28,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f,0x72,0x6b,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a,0x65,0x28,0x36,0x34,0x2c,0x31,0x2c,0x31,0x29,0x29,0x29,0x0a, - 0x5f,0x5f,0x6b,0x65,0x72,0x6e,0x65,0x6c,0x20,0x76,0x6f,0x69,0x64,0x20,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f,0x6a,0x69,0x74,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62, - 0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67,0x2a,0x20,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67, - 0x2a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x69,0x6e,0x74,0x65, - 0x72,0x6d,0x65,0x64,0x69,0x61,0x74,0x65,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a, - 0x20,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62, - 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x2c,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x20,0x69, - 0x74,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e, - 0x64,0x65,0x78,0x3d,0x67,0x65,0x74,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x33,0x32,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75, - 0x69,0x6e,0x74,0x20,0x73,0x75,0x62,0x3d,0x67,0x65,0x74,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x20,0x25,0x20,0x33,0x32,0x3b,0x0a,0x69, - 0x66,0x28,0x73,0x75,0x62,0x21,0x3d,0x30,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32, - 0x2a,0x20,0x65,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x29,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x2b,0x67,0x6c, - 0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x28,0x45,0x4e,0x54,0x52,0x4f,0x50,0x59,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28, - 0x75,0x6c,0x6f,0x6e,0x67,0x29,0x29,0x2b,0x28,0x31,0x32,0x38,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x29,0x29,0x3b,0x0a,0x5f,0x5f, - 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x70,0x30,0x3d,0x69,0x6e,0x74,0x65,0x72,0x6d,0x65,0x64,0x69,0x61,0x74,0x65,0x5f,0x70,0x72, - 0x6f,0x67,0x72,0x61,0x6d,0x73,0x2b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x28,0x49,0x4e,0x54,0x45,0x52,0x4d,0x45,0x44,0x49,0x41,0x54, - 0x45,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x32,0x29,0x29,0x3b,0x0a,0x5f, - 0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x3d,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0x2b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f, - 0x69,0x6e,0x64,0x65,0x78,0x2a,0x28,0x43,0x4f,0x4d,0x50,0x49,0x4c,0x45,0x44,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a, - 0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x29,0x29,0x3b,0x0a,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x5f,0x6a,0x69,0x74,0x5f,0x63,0x6f,0x64,0x65,0x28,0x65,0x2c, - 0x70,0x30,0x2c,0x70,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x74,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x3d,0x3d, - 0x30,0x29,0x0a,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5d,0x3d,0x30,0x3b,0x0a,0x5f,0x5f,0x67, - 0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67,0x2a,0x20,0x52,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x2b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f, - 0x69,0x6e,0x64,0x65,0x78,0x2a,0x33,0x32,0x3b,0x0a,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x2b,0x3d,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a, - 0x28,0x45,0x4e,0x54,0x52,0x4f,0x50,0x59,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x29,0x3b,0x0a,0x52,0x5b, - 0x30,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x31,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x32,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x33,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b, - 0x34,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x35,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x36,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x37,0x5d,0x3d,0x30,0x3b,0x0a,0x5f,0x5f, - 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x41,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c, - 0x65,0x2a,0x29,0x28,0x52,0x2b,0x32,0x34,0x29,0x3b,0x0a,0x41,0x5b,0x30,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65, - 0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x30,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x31,0x5d,0x3d,0x67,0x65,0x74,0x53, - 0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x5d, - 0x29,0x3b,0x0a,0x41,0x5b,0x32,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74, - 0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x32,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x33,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69, - 0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x33,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x34,0x5d,0x3d, - 0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70, - 0x79,0x5b,0x34,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x35,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61, - 0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x35,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x36,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c, - 0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x36,0x5d,0x29,0x3b,0x0a,0x41, - 0x5b,0x37,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e, - 0x74,0x72,0x6f,0x70,0x79,0x5b,0x37,0x5d,0x29,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31, - 0x36,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x38,0x5d,0x26,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x41,0x6c,0x69,0x67,0x6e, - 0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x31, - 0x5d,0x3d,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x30,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73, - 0x74,0x65,0x72,0x73,0x3d,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x32,0x5d,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e, - 0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x37,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x30,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72, - 0x73,0x26,0x31,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x20,0x3e,0x3e,0x3d,0x20,0x31,0x3b,0x0a,0x28,0x28, - 0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x37,0x29,0x29,0x5b,0x31,0x5d,0x3d,0x32,0x2b,0x28,0x61,0x64,0x64, - 0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65, - 0x72,0x73,0x20,0x3e,0x3e,0x3d,0x20,0x31,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x37, - 0x29,0x29,0x5b,0x32,0x5d,0x3d,0x34,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x3b,0x0a,0x61,0x64, - 0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x20,0x3e,0x3e,0x3d,0x20,0x31,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, - 0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x37,0x29,0x29,0x5b,0x33,0x5d,0x3d,0x36,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69, - 0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x39, - 0x29,0x29,0x5b,0x30,0x5d,0x3d,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x33,0x5d,0x26,0x44,0x61,0x74,0x61,0x73,0x65,0x74,0x45,0x78,0x74,0x72,0x61,0x49, - 0x74,0x65,0x6d,0x73,0x29,0x2a,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x53,0x69,0x7a,0x65,0x3b,0x0a,0x52,0x5b,0x32,0x30,0x5d,0x3d,0x67,0x65,0x74,0x46,0x6c, - 0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x34,0x5d,0x29,0x3b,0x0a,0x52,0x5b,0x32,0x31,0x5d,0x3d,0x67,0x65,0x74,0x46, - 0x6c,0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x35,0x5d,0x29,0x3b,0x0a,0x7d,0x0a,0x00 + 0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64,0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67, + 0x65,0x64,0x5b,0x73,0x72,0x63,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61, + 0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46, + 0x75,0x6c,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a, + 0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74, + 0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28,0x73,0x72,0x63,0x2a,0x38,0x29,0x29, + 0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x73,0x72,0x63,0x2a,0x38,0x29,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65, + 0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x28,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x29,0x7c,0x28,0x31,0x75,0x3c,0x3c,0x73,0x72,0x63,0x29, + 0x3b,0x0a,0x23,0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x57,0x41,0x50,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52, + 0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x57,0x41,0x50,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x46,0x41,0x44,0x44,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x46,0x41,0x44,0x44,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64, + 0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70, + 0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x30,0x78,0x46,0x46,0x2c,0x69,0x6e, + 0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69, + 0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41, + 0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a, + 0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51, + 0x5f,0x46,0x41,0x44,0x44,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f, + 0x46,0x53,0x55,0x42,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a, + 0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68, + 0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73, + 0x72,0x63,0x2c,0x30,0x78,0x46,0x46,0x2c,0x69,0x6e,0x73,0x74,0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61, + 0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68, + 0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73, + 0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41, + 0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x55,0x42,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46, + 0x4d,0x55,0x4c,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x43,0x41,0x4c,0x5f,0x52,0x2b,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46, + 0x4d,0x55,0x4c,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x44, + 0x49,0x56,0x5f,0x4d,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x31,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74, + 0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3d,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x72,0x65,0x61,0x64,0x28,0x70,0x30,0x2c,0x70,0x72,0x65, + 0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2c,0x69,0x2c,0x73,0x72,0x63,0x2c,0x30,0x78,0x46,0x46,0x2c,0x69,0x6e,0x73,0x74, + 0x2c,0x73,0x72,0x63,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61, + 0x62,0x6c,0x65,0x41,0x74,0x2c,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x2c, + 0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x2c,0x6c,0x61,0x73,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x29,0x3b,0x0a,0x63,0x6f, + 0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46, + 0x44,0x49,0x56,0x5f,0x4d,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53, + 0x51,0x52,0x54,0x5f,0x52,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x46,0x53,0x51,0x52,0x54,0x5f,0x52,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e, + 0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28,0x70,0x61,0x73,0x73,0x3d,0x3d,0x30,0x29, + 0x0a,0x7b,0x0a,0x76,0x6f,0x6c,0x61,0x74,0x69,0x6c,0x65,0x20,0x75,0x69,0x6e,0x74,0x20,0x64,0x73,0x74,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x32, + 0x3d,0x64,0x73,0x74,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3b,0x0a,0x65,0x5b,0x64,0x73,0x74,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41, + 0x74,0x32,0x5d,0x2e,0x78,0x7c,0x3d,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x65,0x5b,0x69,0x5d,0x2e,0x78,0x7c,0x3d,0x28,0x30,0x78,0x34,0x30,0x3c, + 0x3c,0x38,0x29,0x3b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20, + 0x32,0x35,0x36,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x6a,0x3d,0x30,0x3b, + 0x20,0x6a,0x3c,0x38,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x6a, + 0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x75,0x69,0x6e,0x74,0x20,0x74,0x3d,0x69,0x7c,0x28,0x69,0x3c,0x3c,0x38,0x29,0x3b,0x0a,0x74,0x3d,0x74,0x7c, + 0x28,0x74,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x74,0x3b,0x0a, + 0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74, + 0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3c,0x3c,0x33,0x32, + 0x29,0x3b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d,0x30,0x78,0x46,0x46,0x3b,0x0a,0x23,0x65,0x6e,0x64, + 0x69,0x66,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f, + 0x53,0x49,0x5a,0x45,0x20,0x3e,0x20,0x32,0x35,0x36,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x64, + 0x73,0x74,0x5d,0x3d,0x69,0x3b,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64, + 0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c, + 0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x64,0x73,0x74,0x2a,0x38,0x29,0x29,0x3b, + 0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x64,0x73,0x74,0x3b,0x0a,0x23,0x65, + 0x6e,0x64,0x69,0x66,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x72,0x65,0x67,0x3d,0x30,0x3b,0x20,0x72,0x65,0x67,0x3c,0x38,0x3b,0x20,0x2b,0x2b,0x72,0x65, + 0x67,0x29,0x0a,0x7b,0x0a,0x23,0x69,0x66,0x20,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x20,0x3e,0x20, + 0x32,0x35,0x36,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68, + 0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e, + 0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x5b,0x72,0x65,0x67,0x5d,0x2b,0x31,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x61,0x76,0x61,0x69, + 0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x5b,0x72,0x65,0x67,0x5d, + 0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x21,0x3d,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42, + 0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67, + 0x65,0x64,0x5b,0x72,0x65,0x67,0x5d,0x3d,0x69,0x3b,0x0a,0x7d,0x0a,0x23,0x65,0x6c,0x73,0x65,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x61,0x76, + 0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57, + 0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x26,0x28,0x31,0x75,0x3c,0x3c,0x72,0x65,0x67, + 0x29,0x29,0x3f,0x28,0x28,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x41,0x74,0x42,0x72,0x61,0x6e,0x63, + 0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x3e,0x3e,0x28,0x72,0x65,0x67,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46,0x46,0x29,0x2b,0x31,0x29,0x3a,0x30,0x3b,0x0a,0x63,0x6f, + 0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61, + 0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x28,0x31,0x75,0x3c,0x3c,0x72,0x65,0x67,0x29,0x29,0x3f,0x28,0x28,0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c, + 0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3e,0x3e,0x28,0x72,0x65,0x67,0x2a,0x38,0x29,0x29,0x26,0x30,0x78,0x46,0x46,0x29,0x2b,0x31,0x29,0x3a,0x30,0x3b, + 0x0a,0x69,0x66,0x28,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x21,0x3d,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e, + 0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x29,0x0a,0x7b,0x0a,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x3d, + 0x28,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x4c,0x61,0x73,0x74,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x26,0x7e,0x28,0x30,0x78,0x46,0x46,0x75,0x6c,0x3c,0x3c,0x28, + 0x72,0x65,0x67,0x2a,0x38,0x29,0x29,0x29,0x7c,0x28,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x28,0x69,0x29,0x3c,0x3c,0x28,0x72,0x65,0x67,0x2a,0x38,0x29,0x29,0x3b,0x0a, + 0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x57,0x61,0x73,0x43,0x68,0x61,0x6e,0x67,0x65,0x64,0x7c,0x3d,0x31,0x75,0x3c,0x3c,0x72,0x65,0x67,0x3b,0x0a,0x7d,0x0a,0x23, + 0x65,0x6e,0x64,0x69,0x66,0x0a,0x7d,0x0a,0x69,0x66,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74, + 0x42,0x72,0x61,0x6e,0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x21,0x3d,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, + 0x65,0x41,0x74,0x29,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x69,0x2b,0x31,0x3b,0x0a, + 0x69,0x66,0x28,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x42,0x72,0x61,0x6e, + 0x63,0x68,0x54,0x61,0x72,0x67,0x65,0x74,0x21,0x3d,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c, + 0x65,0x41,0x74,0x29,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x69, + 0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x42,0x52,0x41,0x4e,0x43,0x48,0x3b,0x0a,0x69,0x66,0x28,0x6f,0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d, + 0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70, + 0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x43,0x46,0x52,0x4f,0x55,0x4e,0x44,0x3b,0x0a,0x69,0x66,0x28,0x6f, + 0x70,0x63,0x6f,0x64,0x65,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52,0x45,0x29,0x0a,0x7b,0x0a,0x69,0x66,0x28, + 0x70,0x61,0x73,0x73,0x3d,0x3d,0x30,0x29,0x0a,0x7b,0x0a,0x65,0x5b,0x69,0x5d,0x2e,0x78,0x3d,0x69,0x6e,0x73,0x74,0x2e,0x78,0x7c,0x28,0x30,0x78,0x38,0x30,0x3c,0x3c, + 0x38,0x29,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, + 0x41,0x74,0x3d,0x69,0x2b,0x31,0x3b,0x0a,0x69,0x66,0x28,0x28,0x6d,0x6f,0x64,0x3e,0x3e,0x34,0x29,0x3e,0x3d,0x31,0x34,0x29,0x0a,0x73,0x63,0x72,0x61,0x74,0x63,0x68, + 0x70,0x61,0x64,0x48,0x69,0x67,0x68,0x41,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65,0x41,0x74,0x3d,0x69,0x2b,0x31,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e, + 0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x6f,0x70,0x63,0x6f,0x64,0x65,0x2d,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x46,0x52,0x45,0x51,0x5f,0x49,0x53,0x54,0x4f,0x52, + 0x45,0x3b,0x0a,0x7d,0x0a,0x7d,0x0a,0x75,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x76,0x3d,0x70,0x30,0x5b,0x30,0x5d,0x2e,0x78,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d, + 0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x6a,0x3d,0x31,0x3b,0x20,0x6a,0x3c,0x70,0x72,0x65,0x66,0x65, + 0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x3b,0x20,0x2b,0x2b,0x6a,0x29,0x0a,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x63,0x75,0x72, + 0x3d,0x70,0x30,0x5b,0x6a,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x63,0x75,0x72,0x2e,0x78,0x3e,0x3d,0x70,0x72,0x65,0x76,0x29,0x0a,0x7b,0x0a,0x70,0x72,0x65,0x76,0x3d,0x63, + 0x75,0x72,0x2e,0x78,0x3b,0x0a,0x63,0x6f,0x6e,0x74,0x69,0x6e,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x69,0x6e,0x74,0x20,0x6a,0x31,0x3d,0x6a,0x2d,0x31,0x3b,0x0a,0x64,0x6f, + 0x20,0x7b,0x0a,0x70,0x30,0x5b,0x6a,0x31,0x2b,0x31,0x5d,0x3d,0x70,0x30,0x5b,0x6a,0x31,0x5d,0x3b,0x0a,0x2d,0x2d,0x6a,0x31,0x3b,0x0a,0x7d,0x20,0x77,0x68,0x69,0x6c, + 0x65,0x20,0x28,0x28,0x6a,0x31,0x3e,0x3d,0x30,0x29,0x26,0x26,0x28,0x70,0x30,0x5b,0x6a,0x31,0x5d,0x2e,0x78,0x3e,0x3d,0x63,0x75,0x72,0x2e,0x78,0x29,0x29,0x3b,0x0a, + 0x70,0x30,0x5b,0x6a,0x31,0x2b,0x31,0x5d,0x3d,0x63,0x75,0x72,0x3b,0x0a,0x7d,0x0a,0x70,0x30,0x5b,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61, + 0x5f,0x63,0x6f,0x75,0x6e,0x74,0x5d,0x2e,0x78,0x3d,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x0a, + 0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x69,0x6e,0x74,0x2a,0x20,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61, + 0x63,0x6b,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x69,0x6e,0x74,0x2a,0x29,0x28,0x70,0x30,0x2b,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64, + 0x61,0x74,0x61,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x2b,0x31,0x29,0x3b,0x0a,0x65,0x6e,0x75,0x6d,0x20,0x7b,0x20,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63, + 0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x3d,0x32,0x31,0x20,0x7d,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x0a,0x66,0x6f,0x72, + 0x20,0x28,0x69,0x6e,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x3b, + 0x20,0x2b,0x2b,0x69,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61,0x63,0x6b,0x5b,0x69,0x5d,0x3d,0x4e,0x55, + 0x4d,0x5f,0x56,0x47,0x50,0x52,0x5f,0x52,0x45,0x47,0x49,0x53,0x54,0x45,0x52,0x53,0x2d,0x32,0x2d,0x69,0x2a,0x32,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x69,0x6e,0x74,0x2a,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x3d,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f, + 0x76,0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61,0x63,0x6b,0x2b,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x3b,0x0a, + 0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e,0x72,0x6f,0x6c,0x6c,0x20,0x38,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69, + 0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x70,0x72,0x65,0x66, + 0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5b,0x69,0x5d,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6b,0x3d,0x30,0x3b,0x0a,0x75,0x69,0x6e,0x74, + 0x32,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x3d,0x70,0x30,0x5b,0x30,0x5d,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6d,0x65,0x6d,0x5f,0x63, + 0x6f,0x75,0x6e,0x74,0x65,0x72,0x3d,0x30,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x3d,0x36,0x33, + 0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62, + 0x6c,0x65,0x3d,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20, + 0x75,0x69,0x6e,0x74,0x2a,0x20,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x70,0x3b,0x0a,0x63,0x6f,0x6e,0x73, + 0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x69,0x7a,0x65,0x5f,0x6c,0x69,0x6d,0x69,0x74,0x3d,0x28,0x43,0x4f,0x4d,0x50,0x49,0x4c,0x45,0x44,0x5f,0x50,0x52,0x4f,0x47, + 0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x2d,0x32,0x30,0x30,0x29,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x29,0x3b,0x0a,0x5f,0x5f,0x67,0x6c, + 0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x73,0x74,0x61,0x72,0x74,0x5f,0x70,0x3d,0x70,0x3b,0x0a,0x23,0x70,0x72,0x61,0x67,0x6d,0x61,0x20,0x75,0x6e, + 0x72,0x6f,0x6c,0x6c,0x20,0x31,0x0a,0x66,0x6f,0x72,0x20,0x28,0x69,0x6e,0x74,0x20,0x69,0x3d,0x30,0x3b,0x20,0x69,0x3c,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x58,0x5f,0x50, + 0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x3b,0x20,0x2b,0x2b,0x69,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x32,0x20, + 0x69,0x6e,0x73,0x74,0x3d,0x65,0x5b,0x69,0x5d,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x32,0x30,0x3c,0x3c,0x38,0x29,0x29,0x0a, + 0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65,0x74,0x3d,0x70,0x3b,0x0a,0x62,0x6f,0x6f,0x6c,0x20,0x64,0x6f,0x6e,0x65,0x3d, + 0x66,0x61,0x6c,0x73,0x65,0x3b,0x0a,0x64,0x6f,0x20,0x7b,0x0a,0x75,0x69,0x6e,0x74,0x32,0x20,0x6a,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x3b,0x0a,0x69,0x6e,0x74,0x20, + 0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3b,0x0a,0x69,0x6e,0x74,0x20,0x6a,0x69,0x74, + 0x5f,0x76,0x6d,0x63,0x6e,0x74,0x3b,0x0a,0x69,0x66,0x28,0x21,0x64,0x6f,0x6e,0x65,0x26,0x26,0x28,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61, + 0x2e,0x78,0x3d,0x3d,0x69,0x29,0x26,0x26,0x28,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x61,0x76,0x61,0x69, + 0x6c,0x61,0x62,0x6c,0x65,0x3e,0x30,0x29,0x29,0x0a,0x7b,0x0a,0x2b,0x2b,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74, + 0x20,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3d,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x73,0x74,0x61,0x63, + 0x6b,0x5b,0x2d,0x2d,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x61,0x76,0x61,0x69,0x6c,0x61,0x62,0x6c,0x65, + 0x5d,0x3b,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5b,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74, + 0x61,0x2e,0x79,0x5d,0x3d,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x7c,0x28,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3c,0x3c,0x31,0x36,0x29,0x3b,0x0a, + 0x6a,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x3d,0x65,0x5b,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x2e,0x79,0x5d,0x3b,0x0a,0x6a,0x69,0x74, + 0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3b,0x0a,0x6a,0x69, + 0x74,0x5f,0x76,0x6d,0x63,0x6e,0x74,0x3d,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3b,0x0a,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76, + 0x61,0x6c,0x75,0x65,0x3d,0x36,0x33,0x3b,0x0a,0x2b,0x2b,0x6b,0x3b,0x0a,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x64,0x61,0x74,0x61,0x3d,0x70,0x30,0x5b,0x6b, + 0x5d,0x3b,0x0a,0x7d,0x0a,0x65,0x6c,0x73,0x65,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64, + 0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x64,0x61,0x74,0x61,0x3d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5b,0x69,0x5d,0x3b, + 0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67, + 0x70,0x72,0x73,0x5f,0x64,0x61,0x74,0x61,0x26,0x30,0x78,0x46,0x46,0x46,0x46,0x3b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x70,0x72,0x65,0x76,0x5f, + 0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3d,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x65,0x64,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x64,0x61,0x74, + 0x61,0x3e,0x3e,0x31,0x36,0x3b,0x0a,0x69,0x66,0x28,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x29,0x0a,0x70,0x72,0x65,0x66,0x65,0x63,0x74,0x68,0x5f,0x76,0x67,0x70,0x72, + 0x73,0x5f,0x73,0x74,0x61,0x63,0x6b,0x5b,0x6e,0x75,0x6d,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x73,0x5f,0x61,0x76,0x61,0x69,0x6c, + 0x61,0x62,0x6c,0x65,0x2b,0x2b,0x5d,0x3d,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3b,0x0a,0x69,0x66,0x28,0x69,0x6e,0x73,0x74,0x2e,0x78,0x26,0x28,0x30,0x78,0x38,0x30, + 0x3c,0x3c,0x38,0x29,0x29,0x0a,0x7b,0x0a,0x2b,0x2b,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3b,0x0a,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74, + 0x5f,0x76,0x61,0x6c,0x75,0x65,0x3d,0x36,0x33,0x3b,0x0a,0x7d,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x69,0x6e,0x74,0x20,0x76,0x6d,0x63,0x6e,0x74,0x3d,0x6d,0x65,0x6d, + 0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x2d,0x70,0x72,0x65,0x76,0x5f,0x6d,0x65,0x6d,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x65,0x72,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x69, + 0x6e,0x73,0x74,0x3d,0x69,0x6e,0x73,0x74,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64,0x65, + 0x78,0x3d,0x2d,0x76,0x67,0x70,0x72,0x5f,0x69,0x64,0x3b,0x0a,0x6a,0x69,0x74,0x5f,0x76,0x6d,0x63,0x6e,0x74,0x3d,0x28,0x76,0x6d,0x63,0x6e,0x74,0x3c,0x73,0x5f,0x77, + 0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x29,0x3f,0x76,0x6d,0x63,0x6e,0x74,0x3a,0x2d,0x31,0x3b,0x0a,0x69,0x66,0x28,0x76,0x6d,0x63,0x6e,0x74, + 0x3c,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75,0x65,0x29,0x0a,0x73,0x5f,0x77,0x61,0x69,0x74,0x63,0x6e,0x74,0x5f,0x76,0x61,0x6c,0x75, + 0x65,0x3d,0x76,0x6d,0x63,0x6e,0x74,0x3b,0x0a,0x64,0x6f,0x6e,0x65,0x3d,0x74,0x72,0x75,0x65,0x3b,0x0a,0x7d,0x0a,0x70,0x3d,0x6a,0x69,0x74,0x5f,0x65,0x6d,0x69,0x74, + 0x5f,0x69,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x69,0x6f,0x6e,0x28,0x70,0x2c,0x6c,0x61,0x73,0x74,0x5f,0x62,0x72,0x61,0x6e,0x63,0x68,0x5f,0x74,0x61,0x72,0x67,0x65, + 0x74,0x2c,0x6a,0x69,0x74,0x5f,0x69,0x6e,0x73,0x74,0x2c,0x6a,0x69,0x74,0x5f,0x70,0x72,0x65,0x66,0x65,0x74,0x63,0x68,0x5f,0x76,0x67,0x70,0x72,0x5f,0x69,0x6e,0x64, + 0x65,0x78,0x2c,0x6a,0x69,0x74,0x5f,0x76,0x6d,0x63,0x6e,0x74,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x69,0x66,0x28,0x70,0x2d,0x73, + 0x74,0x61,0x72,0x74,0x5f,0x70,0x3e,0x73,0x69,0x7a,0x65,0x5f,0x6c,0x69,0x6d,0x69,0x74,0x29,0x0a,0x7b,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x53,0x45, + 0x54,0x50,0x43,0x5f,0x42,0x36,0x34,0x5f,0x53,0x31,0x32,0x5f,0x31,0x33,0x3b,0x20,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x7d,0x20,0x77, + 0x68,0x69,0x6c,0x65,0x20,0x28,0x21,0x64,0x6f,0x6e,0x65,0x29,0x3b,0x0a,0x7d,0x0a,0x2a,0x28,0x70,0x2b,0x2b,0x29,0x3d,0x53,0x5f,0x53,0x45,0x54,0x50,0x43,0x5f,0x42, + 0x36,0x34,0x5f,0x53,0x31,0x32,0x5f,0x31,0x33,0x3b,0x20,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x70,0x3b,0x0a,0x7d,0x0a,0x5f,0x5f,0x61,0x74,0x74,0x72,0x69,0x62, + 0x75,0x74,0x65,0x5f,0x5f,0x28,0x28,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f,0x72,0x6b,0x5f,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a,0x65,0x28,0x36,0x34,0x2c,0x31, + 0x2c,0x31,0x29,0x29,0x29,0x0a,0x5f,0x5f,0x6b,0x65,0x72,0x6e,0x65,0x6c,0x20,0x76,0x6f,0x69,0x64,0x20,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f,0x6a,0x69,0x74,0x28, + 0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67,0x2a,0x20,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x75,0x6c,0x6f,0x6e,0x67,0x2a,0x20,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32, + 0x2a,0x20,0x69,0x6e,0x74,0x65,0x72,0x6d,0x65,0x64,0x69,0x61,0x74,0x65,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0x2c,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0x2c,0x75,0x69,0x6e,0x74,0x20,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x2c, + 0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x33,0x32,0x5f,0x74,0x2a,0x20,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x2c,0x75,0x69,0x6e,0x74, + 0x33,0x32,0x5f,0x74,0x20,0x69,0x74,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x7b,0x0a,0x63,0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x67,0x6c,0x6f, + 0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x3d,0x67,0x65,0x74,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x2f,0x33,0x32,0x3b,0x0a,0x63, + 0x6f,0x6e,0x73,0x74,0x20,0x75,0x69,0x6e,0x74,0x20,0x73,0x75,0x62,0x3d,0x67,0x65,0x74,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x64,0x28,0x30,0x29,0x20,0x25, + 0x20,0x33,0x32,0x3b,0x0a,0x69,0x66,0x28,0x73,0x75,0x62,0x21,0x3d,0x30,0x29,0x0a,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x65,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x29,0x28,0x65,0x6e,0x74,0x72, + 0x6f,0x70,0x79,0x2b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x28,0x45,0x4e,0x54,0x52,0x4f,0x50,0x59,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73, + 0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29,0x29,0x2b,0x28,0x31,0x32,0x38,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x6c,0x6f,0x6e,0x67,0x29, + 0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x32,0x2a,0x20,0x70,0x30,0x3d,0x69,0x6e,0x74,0x65,0x72,0x6d,0x65,0x64,0x69, + 0x61,0x74,0x65,0x5f,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0x2b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x28,0x49,0x4e,0x54,0x45,0x52, + 0x4d,0x45,0x44,0x49,0x41,0x54,0x45,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74, + 0x32,0x29,0x29,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x20,0x70,0x3d,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0x2b,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x28,0x43,0x4f,0x4d,0x50,0x49,0x4c,0x45,0x44,0x5f,0x50,0x52,0x4f,0x47,0x52,0x41,0x4d,0x5f,0x53,0x49, + 0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x69,0x6e,0x74,0x29,0x29,0x3b,0x0a,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x5f,0x6a,0x69,0x74,0x5f,0x63, + 0x6f,0x64,0x65,0x28,0x65,0x2c,0x70,0x30,0x2c,0x70,0x2c,0x62,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0x29,0x3b,0x0a,0x69,0x66,0x28,0x69,0x74,0x65,0x72,0x61, + 0x74,0x69,0x6f,0x6e,0x3d,0x3d,0x30,0x29,0x0a,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5b,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x5d,0x3d, + 0x30,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x6c,0x6f,0x6e,0x67,0x2a,0x20,0x52,0x3d,0x72,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x2b,0x67, + 0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x69,0x6e,0x64,0x65,0x78,0x2a,0x33,0x32,0x3b,0x0a,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x2b,0x3d,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f, + 0x69,0x6e,0x64,0x65,0x78,0x2a,0x28,0x45,0x4e,0x54,0x52,0x4f,0x50,0x59,0x5f,0x53,0x49,0x5a,0x45,0x2f,0x73,0x69,0x7a,0x65,0x6f,0x66,0x28,0x75,0x6c,0x6f,0x6e,0x67, + 0x29,0x29,0x3b,0x0a,0x52,0x5b,0x30,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x31,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x32,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x33,0x5d, + 0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x34,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x35,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x36,0x5d,0x3d,0x30,0x3b,0x0a,0x52,0x5b,0x37,0x5d, + 0x3d,0x30,0x3b,0x0a,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x20,0x41,0x3d,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c, + 0x20,0x64,0x6f,0x75,0x62,0x6c,0x65,0x2a,0x29,0x28,0x52,0x2b,0x32,0x34,0x29,0x3b,0x0a,0x41,0x5b,0x30,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f, + 0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x30,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x31, + 0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72, + 0x6f,0x70,0x79,0x5b,0x31,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x32,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c, + 0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x32,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x33,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61, + 0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x33,0x5d,0x29,0x3b, + 0x0a,0x41,0x5b,0x34,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28, + 0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x34,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x35,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69, + 0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x35,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x36,0x5d,0x3d,0x67,0x65, + 0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42,0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b, + 0x36,0x5d,0x29,0x3b,0x0a,0x41,0x5b,0x37,0x5d,0x3d,0x67,0x65,0x74,0x53,0x6d,0x61,0x6c,0x6c,0x50,0x6f,0x73,0x69,0x74,0x69,0x76,0x65,0x46,0x6c,0x6f,0x61,0x74,0x42, + 0x69,0x74,0x73,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x37,0x5d,0x29,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74, + 0x2a,0x29,0x28,0x52,0x2b,0x31,0x36,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x38,0x5d,0x26,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e, + 0x65,0x41,0x6c,0x69,0x67,0x6e,0x4d,0x61,0x73,0x6b,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b, + 0x31,0x36,0x29,0x29,0x5b,0x31,0x5d,0x3d,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x30,0x5d,0x3b,0x0a,0x75,0x69,0x6e,0x74,0x20,0x61,0x64,0x64,0x72,0x65,0x73, + 0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x3d,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x32,0x5d,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62, + 0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x37,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x30,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65, + 0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x20,0x3e,0x3e,0x3d, + 0x20,0x31,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x37,0x29,0x29,0x5b,0x31,0x5d,0x3d, + 0x32,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52, + 0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x20,0x3e,0x3e,0x3d,0x20,0x31,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a, + 0x29,0x28,0x52,0x2b,0x31,0x37,0x29,0x29,0x5b,0x32,0x5d,0x3d,0x34,0x2b,0x28,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26, + 0x31,0x29,0x3b,0x0a,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x20,0x3e,0x3e,0x3d,0x20,0x31,0x3b,0x0a,0x28,0x28,0x5f,0x5f, + 0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a,0x29,0x28,0x52,0x2b,0x31,0x37,0x29,0x29,0x5b,0x33,0x5d,0x3d,0x36,0x2b,0x28,0x61,0x64,0x64,0x72,0x65, + 0x73,0x73,0x52,0x65,0x67,0x69,0x73,0x74,0x65,0x72,0x73,0x26,0x31,0x29,0x3b,0x0a,0x28,0x28,0x5f,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x20,0x75,0x69,0x6e,0x74,0x2a, + 0x29,0x28,0x52,0x2b,0x31,0x39,0x29,0x29,0x5b,0x30,0x5d,0x3d,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x33,0x5d,0x26,0x44,0x61,0x74,0x61,0x73,0x65,0x74, + 0x45,0x78,0x74,0x72,0x61,0x49,0x74,0x65,0x6d,0x73,0x29,0x2a,0x43,0x61,0x63,0x68,0x65,0x4c,0x69,0x6e,0x65,0x53,0x69,0x7a,0x65,0x3b,0x0a,0x52,0x5b,0x32,0x30,0x5d, + 0x3d,0x67,0x65,0x74,0x46,0x6c,0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x34,0x5d,0x29,0x3b,0x0a,0x52,0x5b,0x32,0x31, + 0x5d,0x3d,0x67,0x65,0x74,0x46,0x6c,0x6f,0x61,0x74,0x4d,0x61,0x73,0x6b,0x28,0x65,0x6e,0x74,0x72,0x6f,0x70,0x79,0x5b,0x31,0x35,0x5d,0x29,0x3b,0x0a,0x7d,0x0a,0x00 }; } // namespace xmrig diff --git a/src/backend/opencl/cl/rx/randomx_jit.cl b/src/backend/opencl/cl/rx/randomx_jit.cl index 05bef4d2..3eb03f97 100644 --- a/src/backend/opencl/cl/rx/randomx_jit.cl +++ b/src/backend/opencl/cl/rx/randomx_jit.cl @@ -43,6 +43,62 @@ along with RandomX OpenCL. If not, see . #define RANDOMX_JUMP_BITS 8 #define RANDOMX_JUMP_OFFSET 8 +#if GCN_VERSION >= 15 + +#define S_SETPC_B64_S12_13 0xbe80200cu +#define V_AND_B32_CALC_ADDRESS 0x3638000eu +#define GLOBAL_LOAD_DWORDX2_SCRATCHPAD_LOAD 0xdc348000u +#define S_WAITCNT_SCRATCHPAD_LOAD2 0xbf8c3f70u +#define V_READLANE_B32_SCRATCHPAD_LOAD2 0xd7600000u +#define S_MUL_HI_U32_IMUL_R 0x9a8f1010u +#define S_MUL_I32_IMUL 0x93000000u +#define S_MUL_HI_U32_IMUL_R_2 0x9a8fff10u +#define S_MUL_HI_U32_IMUL_M 0x9aa10e10u +#define S_MOV_B32_IMUL_RCP 0xbea003ffu +#define S_MUL_HI_U32_IMUL_RCP 0x9a8f2010u +#define S_XOR_B32_64 0x89000000u +#define S_MOV_B32_XOR_R 0xbebe03ffu +#define S_LSHR 0x90000000u +#define S_LSHL 0x8f000000u +#define S_OR 0x88000000u +#define S_AND 0x87000000u +#define S_BFE 0x94000000u +#define DS_SWIZZLE_B32_FSWAP_R 0xd8d48001u +#define V_ADD_F64 0xd564003cu +#define V_AND_B32 0x36000000u +#define GLOBAL_LOAD_DWORD_SCRATCHPAD_LOAD_FP 0xdc308000u +#define V_XOR_B32 0x3a000000u +#define V_MUL_F64 0xd5650044u + +#else + +#define S_SETPC_B64_S12_13 0xbe801d0cu +#define V_AND_B32_CALC_ADDRESS 0x2638000eu +#define GLOBAL_LOAD_DWORDX2_SCRATCHPAD_LOAD 0xdc548000u +#define S_WAITCNT_SCRATCHPAD_LOAD2 0xbf8c0f70u +#define V_READLANE_B32_SCRATCHPAD_LOAD2 0xd2890000u +#define S_MUL_HI_U32_IMUL_R 0x960f1010u +#define S_MUL_I32_IMUL 0x92000000u +#define S_MUL_HI_U32_IMUL_R_2 0x960fff10u +#define S_MUL_HI_U32_IMUL_M 0x96210e10u +#define S_MOV_B32_IMUL_RCP 0xbea000ffu +#define S_MUL_HI_U32_IMUL_RCP 0x960f2010u +#define S_XOR_B32_64 0x88000000u +#define S_MOV_B32_XOR_R 0xbebe00ffu +#define S_LSHR 0x8f000000u +#define S_LSHL 0x8e000000u +#define S_OR 0x87000000u +#define S_AND 0x86000000u +#define S_BFE 0x93000000u +#define DS_SWIZZLE_B32_FSWAP_R 0xd87a8001u +#define V_ADD_F64 0xd280003cu +#define V_AND_B32 0x26000000u +#define GLOBAL_LOAD_DWORD_SCRATCHPAD_LOAD_FP 0xdc508000u +#define V_XOR_B32 0x2a000000u +#define V_MUL_F64 0xd2810044u + +#endif + __global uint* jit_scratchpad_calc_address(__global uint* p, uint src, uint imm32, uint mask_reg, uint batch_size) { // s_add_i32 s14, s(16 + src * 2), imm32 @@ -50,7 +106,7 @@ __global uint* jit_scratchpad_calc_address(__global uint* p, uint src, uint imm3 *(p++) = imm32; // v_and_b32 v28, s14, mask_reg - *(p++) = 0x2638000eu | (mask_reg << 9); + *(p++) = V_AND_B32_CALC_ADDRESS | (mask_reg << 9); return p; } @@ -70,7 +126,7 @@ __global uint* jit_scratchpad_load(__global uint* p, uint vgpr_index) #if GCN_VERSION >= 14 // global_load_dwordx2 v[vgpr_index:vgpr_index+1], v28, s[0:1] - *(p++) = 0xdc548000u; + *(p++) = GLOBAL_LOAD_DWORDX2_SCRATCHPAD_LOAD; *(p++) = 0x0000001cu | (vgpr_index << 24); #else *(p++) = 0x32543902u; // v_add_u32 v42, vcc, v2, v28 @@ -87,14 +143,14 @@ __global uint* jit_scratchpad_load2(__global uint* p, uint vgpr_index, int vmcnt { // s_waitcnt vmcnt(N) if (vmcnt >= 0) - *(p++) = 0xbf8c0f70u | (vmcnt & 15) | ((vmcnt >> 4) << 14); + *(p++) = S_WAITCNT_SCRATCHPAD_LOAD2 | (vmcnt & 15) | ((vmcnt >> 4) << 14); // v_readlane_b32 s14, vgpr_index, 0 - *(p++) = 0xd289000eu; + *(p++) = V_READLANE_B32_SCRATCHPAD_LOAD2 | 14; *(p++) = 0x00010100u | vgpr_index; // v_readlane_b32 s15, vgpr_index + 1, 0 - *(p++) = 0xd289000fu; + *(p++) = V_READLANE_B32_SCRATCHPAD_LOAD2 | 15; *(p++) = 0x00010100u | (vgpr_index + 1); return p; @@ -107,9 +163,12 @@ __global uint* jit_scratchpad_calc_address_fp(__global uint* p, uint src, uint i *(p++) = imm32; // v_and_b32 v28, s14, mask_reg - *(p++) = 0x2638000eu | (mask_reg << 9); + *(p++) = V_AND_B32 | 0x38000eu | (mask_reg << 9); -#if GCN_VERSION >= 14 +#if GCN_VERSION >= 15 + // v_add_nc_u32 v28, v28, v44 + *(p++) = 0x4a38591cu; +#elif GCN_VERSION == 14 // v_add_u32 v28, v28, v44 *(p++) = 0x6838591cu; #else @@ -126,7 +185,7 @@ __global uint* jit_scratchpad_load_fp(__global uint* p, uint vgpr_index) #if GCN_VERSION >= 14 // global_load_dword v(vgpr_index), v28, s[0:1] - *(p++) = 0xdc508000u; + *(p++) = GLOBAL_LOAD_DWORD_SCRATCHPAD_LOAD_FP; *(p++) = 0x0000001cu | (vgpr_index << 24); #else *(p++) = 0x32543902u; // v_add_u32 v42, vcc, v2, v28 @@ -143,7 +202,7 @@ __global uint* jit_scratchpad_load2_fp(__global uint* p, uint vgpr_index, int vm { // s_waitcnt vmcnt(N) if (vmcnt >= 0) - *(p++) = 0xbf8c0f70u | (vmcnt & 15) | ((vmcnt >> 4) << 14); + *(p++) = S_WAITCNT_SCRATCHPAD_LOAD2 | (vmcnt & 15) | ((vmcnt >> 4) << 14); // v_cvt_f64_i32 v[28:29], vgpr_index *(p++) = 0x7e380900u | vgpr_index; @@ -164,7 +223,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (shift > 0) // p = 3/4 { // s_lshl_b64 s[14:15], s[(16 + src * 2):(17 + src * 2)], shift - *(p++) = 0x8e8e8010u | (src << 1) | (shift << 8); + *(p++) = S_LSHL | 0x8e8010u | (src << 1) | (shift << 8); // s_add_u32 s(16 + dst * 2), s(16 + dst * 2), s14 *(p++) = 0x80100e10u | (dst << 1) | (dst << 17); @@ -283,7 +342,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch { #if GCN_VERSION >= 14 // s_mul_hi_u32 s15, s(16 + dst * 2), s(16 + src * 2) - *(p++) = 0x960f1010u | (dst << 1) | (src << 9); + *(p++) = S_MUL_HI_U32_IMUL_R | (dst << 1) | (src << 9); #else // v_mov_b32 v28, s(16 + dst * 2) *(p++) = 0x7e380210u | (dst << 1); @@ -296,25 +355,25 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch #endif // s_mul_i32 s14, s(16 + dst * 2), s(17 + src * 2) - *(p++) = 0x920e1110u | (dst << 1) | (src << 9); + *(p++) = S_MUL_I32_IMUL | 0x0e1110u | (dst << 1) | (src << 9); // s_add_u32 s15, s15, s14 *(p++) = 0x800f0e0fu; // s_mul_i32 s14, s(17 + dst * 2), s(16 + src * 2) - *(p++) = 0x920e1011u | (dst << 1) | (src << 9); + *(p++) = S_MUL_I32_IMUL | 0x0e1011u | (dst << 1) | (src << 9); // s_add_u32 s(17 + dst * 2), s15, s14 *(p++) = 0x80110e0fu | (dst << 17); // s_mul_i32 s(16 + dst * 2), s(16 + dst * 2), s(16 + src * 2) - *(p++) = 0x92101010u | (dst << 1) | (dst << 17) | (src << 9); + *(p++) = S_MUL_I32_IMUL | 0x101010u | (dst << 1) | (dst << 17) | (src << 9); } else // p = 1/8 { #if GCN_VERSION >= 14 // s_mul_hi_u32 s15, s(16 + dst * 2), imm32 - *(p++) = 0x960fff10u | (dst << 1); + *(p++) = S_MUL_HI_U32_IMUL_R_2 | (dst << 1); *(p++) = inst.y; #else // v_mov_b32 v28, imm32 @@ -335,14 +394,14 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch } // s_mul_i32 s14, s(17 + dst * 2), imm32 - *(p++) = 0x920eff11u | (dst << 1); + *(p++) = S_MUL_I32_IMUL | 0x0eff11u | (dst << 1); *(p++) = inst.y; // s_add_u32 s(17 + dst * 2), s15, s14 *(p++) = 0x80110e0fu | (dst << 17); // s_mul_i32 s(16 + dst * 2), s(16 + dst * 2), imm32 - *(p++) = 0x9210ff10u | (dst << 1) | (dst << 17); + *(p++) = S_MUL_I32_IMUL | 0x10ff10u | (dst << 1) | (dst << 17); *(p++) = inst.y; } @@ -369,7 +428,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch #if GCN_VERSION >= 14 // s_mul_hi_u32 s33, s(16 + dst * 2), s14 - *(p++) = 0x96210e10u | (dst << 1); + *(p++) = S_MUL_HI_U32_IMUL_M | (dst << 1); #else // v_mov_b32 v28, s(16 + dst * 2) *(p++) = 0x7e380210u | (dst << 1); @@ -382,19 +441,19 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch #endif // s_mul_i32 s32, s(16 + dst * 2), s15 - *(p++) = 0x92200f10u | (dst << 1); + *(p++) = S_MUL_I32_IMUL | 0x200f10u | (dst << 1); // s_add_u32 s33, s33, s32 *(p++) = 0x80212021u; // s_mul_i32 s32, s(17 + dst * 2), s14 - *(p++) = 0x92200e11u | (dst << 1); + *(p++) = S_MUL_I32_IMUL | 0x200e11u | (dst << 1); // s_add_u32 s(17 + dst * 2), s33, s32 *(p++) = 0x80112021u | (dst << 17); // s_mul_i32 s(16 + dst * 2), s(16 + dst * 2), s14 - *(p++) = 0x92100e10u | (dst << 1) | (dst << 17); + *(p++) = S_MUL_I32_IMUL | 0x100e10u | (dst << 1) | (dst << 17); } // (12*7/8 + 8*1/8 + 28) + 24 = 63.5 bytes on average @@ -404,10 +463,17 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_IMULH_R) { +#if GCN_VERSION >= 15 + *(p++) = 0xbe8e0410u | (dst << 1); // s_mov_b64 s[14:15], s[16 + dst * 2:17 + dst * 2] + *(p++) = 0xbea60410u | (src << 1); // s_mov_b64 s[38:39], s[16 + src * 2:17 + src * 2] + *(p++) = 0xbebc213au; // s_swappc_b64 s[60:61], s[58:59] + *(p++) = 0xbe90040eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#else *(p++) = 0xbe8e0110u | (dst << 1); // s_mov_b64 s[14:15], s[16 + dst * 2:17 + dst * 2] *(p++) = 0xbea60110u | (src << 1); // s_mov_b64 s[38:39], s[16 + src * 2:17 + src * 2] *(p++) = 0xbebc1e3au; // s_swappc_b64 s[60:61], s[58:59] *(p++) = 0xbe90010eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#endif // 16 bytes return p; @@ -430,9 +496,15 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch { p = jit_scratchpad_load2(p, prefetch_vgpr_index ? -prefetch_vgpr_index : 28, prefetch_vgpr_index ? vmcnt : 0); +#if GCN_VERSION >= 15 + *(p++) = 0xbea60410u | (dst << 1); // s_mov_b64 s[38:39], s[16 + src * 2:17 + src * 2] + *(p++) = 0xbebc213au; // s_swappc_b64 s[60:61], s[58:59] + *(p++) = 0xbe90040eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#else *(p++) = 0xbea60110u | (dst << 1); // s_mov_b64 s[38:39], s[16 + src * 2:17 + src * 2] *(p++) = 0xbebc1e3au; // s_swappc_b64 s[60:61], s[58:59] *(p++) = 0xbe90010eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#endif } // (12*7/8 + 8*1/8 + 28) + 12 = 51.5 bytes on average @@ -442,10 +514,17 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_ISMULH_R) { +#if GCN_VERSION >= 15 + *(p++) = 0xbe8e0410u | (dst << 1); // s_mov_b64 s[14:15], s[16 + dst * 2:17 + dst * 2] + *(p++) = 0xbea60410u | (src << 1); // s_mov_b64 s[38:39], s[16 + src * 2:17 + src * 2] + *(p++) = 0xbebc2138u; // s_swappc_b64 s[60:61], s[56:57] + *(p++) = 0xbe90040eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#else *(p++) = 0xbe8e0110u | (dst << 1); // s_mov_b64 s[14:15], s[16 + dst * 2:17 + dst * 2] *(p++) = 0xbea60110u | (src << 1); // s_mov_b64 s[38:39], s[16 + src * 2:17 + src * 2] *(p++) = 0xbebc1e38u; // s_swappc_b64 s[60:61], s[56:57] *(p++) = 0xbe90010eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#endif // 16 bytes return p; @@ -468,9 +547,15 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch { p = jit_scratchpad_load2(p, prefetch_vgpr_index ? -prefetch_vgpr_index : 28, prefetch_vgpr_index ? vmcnt : 0); +#if GCN_VERSION >= 15 + *(p++) = 0xbea60410u | (dst << 1); // s_mov_b64 s[38:39], s[16 + dst * 2:17 + dst * 2] + *(p++) = 0xbebc2138u; // s_swappc_b64 s[60:61], s[56:57] + *(p++) = 0xbe90040eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#else *(p++) = 0xbea60110u | (dst << 1); // s_mov_b64 s[38:39], s[16 + dst * 2:17 + dst * 2] *(p++) = 0xbebc1e38u; // s_swappc_b64 s[60:61], s[56:57] *(p++) = 0xbe90010eu | (dst << 17); // s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[14:15] +#endif } // (12*7/8 + 8*1/8 + 28) + 12 = 51.5 bytes on average @@ -484,10 +569,10 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch { const uint2 rcp_value = as_uint2(imul_rcp_value(inst.y)); - *(p++) = 0xbea000ffu; // s_mov_b32 s32, imm32 + *(p++) = S_MOV_B32_IMUL_RCP; // s_mov_b32 s32, imm32 *(p++) = rcp_value.x; #if GCN_VERSION >= 14 - *(p++) = 0x960f2010u | (dst << 1); // s_mul_hi_u32 s15, s(16 + dst * 2), s32 + *(p++) = S_MUL_HI_U32_IMUL_RCP | (dst << 1); // s_mul_hi_u32 s15, s(16 + dst * 2), s32 #else // v_mov_b32 v28, s32 *(p++) = 0x7e380220u; @@ -498,12 +583,12 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch *(p++) = 0xd289000fu; *(p++) = 0x0001011cu; #endif - *(p++) = 0x920eff10u | (dst << 1); // s_mul_i32 s14, s(16 + dst * 2), imm32 + *(p++) = S_MUL_I32_IMUL | 0x0eff10u | (dst << 1); // s_mul_i32 s14, s(16 + dst * 2), imm32 *(p++) = rcp_value.y; *(p++) = 0x800f0e0fu; // s_add_u32 s15, s15, s14 - *(p++) = 0x920e2011u | (dst << 1); // s_mul_i32 s14, s(17 + dst * 2), s32 + *(p++) = S_MUL_I32_IMUL | 0x0e2011u | (dst << 1); // s_mul_i32 s14, s(17 + dst * 2), s32 *(p++) = 0x80110e0fu | (dst << 17); // s_add_u32 s(17 + dst * 2), s15, s14 - *(p++) = 0x92102010u | (dst << 1) | (dst << 17);// s_mul_i32 s(16 + dst * 2), s(16 + dst * 2), s32 + *(p++) = S_MUL_I32_IMUL | 0x102010u | (dst << 1) | (dst << 17);// s_mul_i32 s(16 + dst * 2), s(16 + dst * 2), s32 } // 36 bytes @@ -526,23 +611,23 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (src != dst) // p = 7/8 { // s_xor_b64 s[16 + dst * 2:17 + dst * 2], s[16 + dst * 2:17 + dst * 2], s[16 + src * 2:17 + src * 2] - *(p++) = 0x88901010u | (dst << 1) | (dst << 17) | (src << 9); + *(p++) = S_XOR_B32_64 | 0x901010u | (dst << 1) | (dst << 17) | (src << 9); } else // p = 1/8 { if (as_int(inst.y) < 0) // p = 1/2 { // s_mov_b32 s62, imm32 - *(p++) = 0xbebe00ffu; + *(p++) = S_MOV_B32_XOR_R; *(p++) = inst.y; // s_xor_b64 s[16 + dst * 2:17 + dst * 2], s[16 + dst * 2:17 + dst * 2], s[62:63] - *(p++) = 0x88903e10u | (dst << 1) | (dst << 17); + *(p++) = S_XOR_B32_64 | 0x903e10u | (dst << 1) | (dst << 17); } else { // s_xor_b32 s(16 + dst * 2), s(16 + dst * 2), imm32 - *(p++) = 0x8810ff10u | (dst << 1) | (dst << 17); + *(p++) = S_XOR_B32_64 | 0x10ff10u | (dst << 1) | (dst << 17); *(p++) = inst.y; } } @@ -569,7 +654,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch p = jit_scratchpad_load2(p, prefetch_vgpr_index ? -prefetch_vgpr_index : 28, prefetch_vgpr_index ? vmcnt : 0); // s_xor_b64 s[16 + dst * 2:17 + dst * 2], s[16 + dst * 2:17 + dst * 2], s[14:15] - *(p++) = 0x88900e10u | (dst << 1) | (dst << 17); + *(p++) = S_XOR_B32_64 | 0x900e10u | (dst << 1) | (dst << 17); } // (12*7/8 + 8*1/8 + 28) + 4 = 43.5 bytes on average @@ -584,24 +669,24 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_IROR_R) { // s_lshr_b64 s[32:33], s[16 + dst * 2:17 + dst * 2], s(16 + src * 2) - *(p++) = 0x8fa01010u | (dst << 1) | (src << 9); + *(p++) = S_LSHR | 0xa01010u | (dst << 1) | (src << 9); // s_sub_u32 s15, 64, s(16 + src * 2) *(p++) = 0x808f10c0u | (src << 9); // s_lshl_b64 s[34:35], s[16 + dst * 2:17 + dst * 2], s15 - *(p++) = 0x8ea20f10u | (dst << 1); + *(p++) = S_LSHL | 0xa20f10u | (dst << 1); } else { // s_lshl_b64 s[32:33], s[16 + dst * 2:17 + dst * 2], s(16 + src * 2) - *(p++) = 0x8ea01010u | (dst << 1) | (src << 9); + *(p++) = S_LSHL | 0xa01010u | (dst << 1) | (src << 9); // s_sub_u32 s15, 64, s(16 + src * 2) *(p++) = 0x808f10c0u | (src << 9); // s_lshr_b64 s[34:35], s[16 + dst * 2:17 + dst * 2], s15 - *(p++) = 0x8fa20f10u | (dst << 1); + *(p++) = S_LSHR | 0xa20f10u | (dst << 1); } } else // p = 1/8 @@ -609,14 +694,14 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch const uint shift = ((opcode < RANDOMX_FREQ_IROR_R) ? inst.y : -inst.y) & 63; // s_lshr_b64 s[32:33], s[16 + dst * 2:17 + dst * 2], shift - *(p++) = 0x8fa08010u | (dst << 1) | (shift << 8); + *(p++) = S_LSHR | 0xa08010u | (dst << 1) | (shift << 8); // s_lshl_b64 s[34:35], s[16 + dst * 2:17 + dst * 2], 64 - shift - *(p++) = 0x8ea28010u | (dst << 1) | ((64 - shift) << 8); + *(p++) = S_LSHL | 0xa28010u | (dst << 1) | ((64 - shift) << 8); } // s_or_b64 s[16 + dst * 2:17 + dst * 2], s[32:33], s[34:35] - *(p++) = 0x87902220u | (dst << 17); + *(p++) = S_OR | 0x902220u | (dst << 17); // 12*7/8 + 8/8 + 4 = 15.5 bytes on average return p; @@ -627,9 +712,15 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch { if (src != dst) { +#if GCN_VERSION >= 15 + *(p++) = 0xbea00410u | (dst << 1); // s_mov_b64 s[32:33], s[16 + dst * 2:17 + dst * 2] + *(p++) = 0xbe900410u | (src << 1) | (dst << 17);// s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[16 + src * 2:17 + src * 2] + *(p++) = 0xbe900420u | (src << 17); // s_mov_b64 s[16 + src * 2:17 + Src * 2], s[32:33] +#else *(p++) = 0xbea00110u | (dst << 1); // s_mov_b64 s[32:33], s[16 + dst * 2:17 + dst * 2] *(p++) = 0xbe900110u | (src << 1) | (dst << 17);// s_mov_b64 s[16 + dst * 2:17 + dst * 2], s[16 + src * 2:17 + src * 2] *(p++) = 0xbe900120u | (src << 17); // s_mov_b64 s[16 + src * 2:17 + Src * 2], s[32:33] +#endif } // 12*7/8 = 10.5 bytes on average @@ -640,11 +731,11 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_FSWAP_R) { // ds_swizzle_b32 v(60 + dst * 2), v(60 + dst * 2) offset:0x8001 - *(p++) = 0xd87a8001u; + *(p++) = DS_SWIZZLE_B32_FSWAP_R; *(p++) = 0x3c00003cu + (dst << 1) + (dst << 25); // ds_swizzle_b32 v(61 + dst * 2), v(61 + dst * 2) offset:0x8001 - *(p++) = 0xd87a8001u; + *(p++) = DS_SWIZZLE_B32_FSWAP_R; *(p++) = 0x3d00003du + (dst << 1) + (dst << 25); // s_waitcnt lgkmcnt(0) @@ -658,7 +749,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_FADD_R) { // v_add_f64 v[60 + dst * 2:61 + dst * 2], v[60 + dst * 2:61 + dst * 2], v[52 + src * 2:53 + src * 2] - *(p++) = 0xd280003cu + ((dst & 3) << 1); + *(p++) = V_ADD_F64 + ((dst & 3) << 1); *(p++) = 0x0002693cu + ((dst & 3) << 1) + ((src & 3) << 10); // 8 bytes @@ -679,7 +770,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch p = jit_scratchpad_load2_fp(p, prefetch_vgpr_index ? -prefetch_vgpr_index : 28, prefetch_vgpr_index ? vmcnt : 0); // v_add_f64 v[60 + dst * 2:61 + dst * 2], v[60 + dst * 2:61 + dst * 2], v[28:29] - *(p++) = 0xd280003cu + ((dst & 3) << 1); + *(p++) = V_ADD_F64 + ((dst & 3) << 1); *(p++) = 0x0002393cu + ((dst & 3) << 1); } @@ -691,7 +782,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_FSUB_R) { // v_add_f64 v[60 + dst * 2:61 + dst * 2], v[60 + dst * 2:61 + dst * 2], -v[52 + src * 2:53 + src * 2] - *(p++) = 0xd280003cu + ((dst & 3) << 1); + *(p++) = V_ADD_F64 + ((dst & 3) << 1); *(p++) = 0x4002693cu + ((dst & 3) << 1) + ((src & 3) << 10); // 8 bytes @@ -712,7 +803,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch p = jit_scratchpad_load2_fp(p, prefetch_vgpr_index ? -prefetch_vgpr_index : 28, prefetch_vgpr_index ? vmcnt : 0); // v_add_f64 v[60 + dst * 2:61 + dst * 2], v[60 + dst * 2:61 + dst * 2], -v[28:29] - *(p++) = 0xd280003cu + ((dst & 3) << 1); + *(p++) = V_ADD_F64 + ((dst & 3) << 1); *(p++) = 0x4002393cu + ((dst & 3) << 1); } @@ -724,7 +815,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_FSCAL_R) { // v_xor_b32 v(61 + dst * 2), v(61 + dst * 2), v51 - *(p++) = 0x2a7a673du + ((dst & 3) << 1) + ((dst & 3) << 18); + *(p++) = (V_XOR_B32 | 0x7a673du) + ((dst & 3) << 1) + ((dst & 3) << 18); // 4 bytes return p; @@ -734,7 +825,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_FMUL_R) { // v_mul_f64 v[68 + dst * 2:69 + dst * 2], v[68 + dst * 2:69 + dst * 2], v[52 + src * 2:53 + src * 2] - *(p++) = 0xd2810044u + ((dst & 3) << 1); + *(p++) = V_MUL_F64 + ((dst & 3) << 1); *(p++) = 0x00026944u + ((dst & 3) << 1) + ((src & 3) << 10); // 8 bytes @@ -755,7 +846,11 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch p = jit_scratchpad_load2_fp(p, prefetch_vgpr_index ? -prefetch_vgpr_index : 28, prefetch_vgpr_index ? vmcnt : 0); // s_swappc_b64 s[60:61], s[48 + dst * 2:49 + dst * 2] +#if GCN_VERSION >= 15 + *(p++) = 0xbebc2130u + ((dst & 3) << 1); +#else *(p++) = 0xbebc1e30u + ((dst & 3) << 1); +#endif } // 32 + 4 = 36 bytes @@ -766,7 +861,11 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch if (opcode < RANDOMX_FREQ_FSQRT_R) { // s_swappc_b64 s[60:61], s[40 + dst * 2:41 + dst * 2] +#if GCN_VERSION >= 15 + *(p++) = 0xbebc2128u + ((dst & 3) << 1); +#else *(p++) = 0xbebc1e28u + ((dst & 3) << 1); +#endif // 4 bytes return p; @@ -789,7 +888,7 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch const uint conditionMaskReg = 70 + (mod >> 4); // s_and_b32 s14, s(16 + dst * 2), conditionMaskReg - *(p++) = 0x860e0010u | (dst << 1) | (conditionMaskReg << 8); + *(p++) = S_AND | 0x0e0010u | (dst << 1) | (conditionMaskReg << 8); // s_cbranch_scc0 target const int delta = ((last_branch_target - p) - 1); @@ -805,26 +904,30 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch const uint shift = inst.y & 63; if (shift == 63) { - *(p++) = 0x8e0e8110u | (src << 1); // s_lshl_b32 s14, s(16 + src * 2), 1 - *(p++) = 0x8f0f9f11u | (src << 1); // s_lshr_b32 s15, s(17 + src * 2), 31 - *(p++) = 0x870e0f0eu; // s_or_b32 s14, s14, s15 - *(p++) = 0x860e830eu; // s_and_b32 s14, s14, 3 + *(p++) = S_LSHL | 0x0e8110u | (src << 1); // s_lshl_b32 s14, s(16 + src * 2), 1 + *(p++) = S_LSHR | 0x0f9f11u | (src << 1); // s_lshr_b32 s15, s(17 + src * 2), 31 + *(p++) = S_OR | 0x0e0f0eu; // s_or_b32 s14, s14, s15 + *(p++) = S_AND | 0x0e830eu; // s_and_b32 s14, s14, 3 } else { // s_bfe_u64 s[14:15], s[16:17], (shift,width=2) - *(p++) = 0x938eff10u | (src << 1); + *(p++) = S_BFE | 0x8eff10u | (src << 1); *(p++) = shift | (2 << 16); } // s_brev_b32 s14, s14 - *(p++) = 0xbe8e080eu; - // s_lshr_b32 s66, s14, 30 - *(p++) = 0x8f429e0eu; - // s_setreg_b32 hwreg(mode, 2, 2), s66 +#if GCN_VERSION >= 15 + *(p++) = 0xbe8e0b0eu; + *(p++) = 0x90429e0eu; + *(p++) = 0xb9c20881u; +#else + *(p++) = 0xbe8e080eu; + *(p++) = 0x8f429e0eu; *(p++) = 0xb9420881u; +#endif // 20 bytes return p; @@ -843,6 +946,10 @@ __global uint* jit_emit_instruction(__global uint* p, __global uint* last_branch // v28 = offset #if GCN_VERSION >= 14 +#if GCN_VERSION >= 15 + // s_waitcnt vmcnt(0) + *(p++) = 0xbf8c3f70u; +#endif // global_store_dwordx2 v28, v[vgpr_id:vgpr_id + 1], s[0:1] *(p++) = 0xdc748000u; *(p++) = 0x0000001cu | (vgpr_id << 8); @@ -903,7 +1010,7 @@ __global uint* generate_jit_code(__global uint2* e, __global uint2* p0, __global int prefetch_data_count; #pragma unroll 1 - for (int pass = 0; pass < 2; ++pass) + for (volatile int pass = 0; pass < 2; ++pass) { #if RANDOMX_PROGRAM_SIZE > 256 int registerLastChanged[8] = { -1, -1, -1, -1, -1, -1, -1, -1 }; @@ -1419,14 +1526,14 @@ __global uint* generate_jit_code(__global uint2* e, __global uint2* p0, __global { // Code size limit exceeded!!! // Jump back to randomx_run kernel - *(p++) = 0xbe801d0cu; // s_setpc_b64 s[12:13] + *(p++) = S_SETPC_B64_S12_13; // s_setpc_b64 s[12:13] return p; } } while (!done); } // Jump back to randomx_run kernel - *(p++) = 0xbe801d0cu; // s_setpc_b64 s[12:13] + *(p++) = S_SETPC_B64_S12_13; // s_setpc_b64 s[12:13] return p; } diff --git a/src/backend/opencl/cl/rx/randomx_run_gfx1010.asm b/src/backend/opencl/cl/rx/randomx_run_gfx1010.asm new file mode 100644 index 00000000..999ba877 --- /dev/null +++ b/src/backend/opencl/cl/rx/randomx_run_gfx1010.asm @@ -0,0 +1,742 @@ +/* +Copyright (c) 2019-2020 SChernykh + +This file is part of RandomX OpenCL. + +RandomX OpenCL is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +RandomX OpenCL is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with RandomX OpenCL. If not, see . +*/ + +.rocm +.gpu GFX1010 +.arch_minor 1 +.arch_stepping 0 +.eflags 53 +.llvm10binfmt +.metadatav3 +.md_version 1, 0 +.globaldata + .fill 64, 1, 0 +.kernel randomx_run + .config + .dims x + .sgprsnum 96 + .vgprsnum 128 + .shared_vgprs 0 + .dx10clamp + .ieeemode + .floatmode 0xf0 + .priority 0 + .exceptions 0 + .userdatanum 6 + + # https://llvm.org/docs/AMDGPUUsage.html#amdgpu-amdhsa-compute-pgm-rsrc1-gfx6-gfx10-table + # https://llvm.org/docs/AMDGPUUsage.html#amdgpu-amdhsa-compute-pgm-rsrc2-gfx6-gfx10-table + # https://llvm.org/docs/AMDGPUUsage.html#amdgpu-amdhsa-compute-pgm-rsrc3-gfx10-table + .pgmrsrc1 0x40af0105 + .pgmrsrc2 0x0000008c + .pgmrsrc3 0x00000000 + + .group_segment_fixed_size 256 + .private_segment_fixed_size 0 + .kernel_code_entry_offset 0x10c0 + .use_private_segment_buffer + .use_kernarg_segment_ptr + .use_wave32 + .config + .md_symname "randomx_run.kd" + .md_language "OpenCL C", 1, 2 + .reqd_work_group_size 32, 1, 1 + .md_kernarg_segment_size 104 + .md_kernarg_segment_align 8 + .md_group_segment_fixed_size 256 + .md_private_segment_fixed_size 0 + .md_wavefront_size 32 + .md_sgprsnum 96 + .md_vgprsnum 128 + .spilledsgprs 0 + .spilledvgprs 0 + .max_flat_work_group_size 32 + .arg dataset, "uchar*", 8, 0, globalbuf, u8, global, default const + .arg scratchpad, "uchar*", 8, 8, globalbuf, u8, global, default + .arg registers, "ulong*", 8, 16, globalbuf, u64, global, default + .arg rounding_modes, "uint*", 8, 24, globalbuf, u32, global, default + .arg programs, "uint*", 8, 32, globalbuf, u32, global, default + .arg batch_size, "uint", 4, 40, value, u32 + .arg rx_parameters, "uint", 4, 44, value, u32 + .arg , "", 8, 48, gox, i64 + .arg , "", 8, 56, goy, i64 + .arg , "", 8, 64, goz, i64 + .arg , "", 8, 72, none, i8 + .arg , "", 8, 80, none, i8 + .arg , "", 8, 88, none, i8 + .arg , "", 8, 96, multigridsyncarg, i8 +.text +randomx_run: + # clear all caches + s_dcache_wb + s_waitcnt vmcnt(0) & lgkmcnt(0) + s_waitcnt_vscnt null, 0x0 + s_icache_inv + s_branch begin + + # pgmrsrc2 = 0x0000008c, bits 1:5 = 6, so first 6 SGPRs (s0-s7) contain user data + # s6 contains group id + # v0 contains local id +begin: + # s[0:1] - pointer to registers + # s[2:3] - pointer to rounding modes + s_load_dwordx4 s[0:3], s[4:5], 0x10 + + # s[8:9] - group_id*group_size + s_mov_b32 s9, 0 + s_lshl_b32 s8, s6, 5 + + # v0 - local id (sub) + # v39 - R[sub] + v_lshlrev_b32 v39, 3, v0 + + s_mov_b32 s12, s7 + + # vcc_lo = "if (sub < 8)" + v_cmp_gt_u32 vcc_lo, 8, v0 + + s_waitcnt lgkmcnt(0) + + # load rounding mode + s_lshl_b32 s16, s6, 2 + s_add_u32 s64, s2, s16 + s_addc_u32 s65, s3, 0 + v_mov_b32 v1, 0 + global_load_dword v1, v1, s[64:65] + s_waitcnt vmcnt(0) + v_readlane_b32 s66, v1, 0 + s_setreg_b32 hwreg(mode, 2, 2), s66 + s_mov_b32 s67, 0 + + # ((__local ulong*) R)[sub] = ((__global ulong*) registers)[sub]; + s_lshl_b64 s[2:3], s[8:9], 3 + s_mov_b32 s32, s12 + s_add_u32 s0, s0, s2 + s_addc_u32 s1, s1, s3 + v_add_co_u32 v1, s0, s0, v39 + v_add_co_ci_u32 v2, s0, s1, 0, s0 + global_load_dwordx2 v[4:5], v[1:2], off + s_waitcnt vmcnt(0) + ds_write_b64 v39, v[4:5] + s_waitcnt vmcnt(0) & lgkmcnt(0) + s_waitcnt_vscnt null, 0x0 + + # "if (sub >= 8) return" + s_and_saveexec_b32 s0, vcc_lo + s_cbranch_execz program_end + + # s[8:9] - pointer to dataset + # s[10:11] - pointer to scratchpads + # s[0:1] - pointer to programs + s_load_dwordx4 s[8:11], s[4:5], 0x0 + s_load_dwordx2 s[0:1], s[4:5], 0x20 + + # rx_parameters + s_load_dword s20, s[4:5], 0x2c + + v_mov_b32 v5, 0 + v_mov_b32 v10, 0 + s_waitcnt_vscnt null, 0x0 + ds_read_b64 v[8:9], v39 + v_cmp_gt_u32 vcc_lo, 4, v0 + v_lshlrev_b32 v0, 3, v0 + ds_read2_b64 v[25:28], v5 offset0:16 offset1:17 + ds_read_b32 v11, v5 offset:152 + ds_read_b64 v[35:36], v5 offset:168 + ds_read2_b64 v[20:23], v5 offset0:18 offset1:20 + v_cndmask_b32 v4, 0xffffff, -1, vcc_lo + v_add_nc_u32 v5, v39, v0 + s_waitcnt lgkmcnt(0) + v_mov_b32 v13, s11 + v_mov_b32 v7, s1 + v_mov_b32 v6, s0 + + # Scratchpad L1 size + s_bfe_u32 s21, s20, 0x050000 + s_lshl_b32 s21, 1, s21 + + # Scratchpad L2 size + s_bfe_u32 s22, s20, 0x050005 + s_lshl_b32 s22, 1, s22 + + # Scratchpad L3 size + s_bfe_u32 s0, s20, 0x05000A + s_lshl_b32 s23, 1, s0 + + # program iterations + s_bfe_u32 s24, s20, 0x04000F + s_lshl_b32 s24, 1, s24 + + v_mov_b32 v12, s10 + v_mad_u64_u32 v[6:7], s2, 10048, s6, v[6:7] + + # s[4:5] - pointer to current program + v_readlane_b32 s4, v6, 0 + v_readlane_b32 s5, v7, 0 + + s_lshl_b32 s2, 1, s0 + v_add_co_u32 v14, s0, s8, v11 + v_cndmask_b32 v34, v36, 0, vcc_lo + v_cndmask_b32 v24, v23, 0, vcc_lo + v_cndmask_b32 v3, v22, 0, vcc_lo + s_add_i32 s3, s2, 64 + v_add_co_ci_u32 v29, s0, s9, v10, s0 + v_cndmask_b32 v35, v35, 0, vcc_lo + v_add_co_u32 v22, vcc_lo, v14, v0 + + # v[12:13] - pointer to current scratchpad + v_mad_u64_u32 v[12:13], s2, s3, s6, v[12:13] + v_mov_b32 v10, v26 + v_mov_b32 v11, v25 + v_lshlrev_b32 v36, 3, v27 + v_lshlrev_b32 v37, 3, v28 + v_lshlrev_b32 v20, 3, v20 + v_lshlrev_b32 v21, 3, v21 + v_add_co_ci_u32 v23, vcc_lo, 0, v29, vcc_lo + + # rename registers + # v6 - R[sub] + v_mov_b32 v6, v39 + + # loop counter + s_sub_u32 s2, s24, 1 + + # used in IXOR_R instruction + s_mov_b32 s63, -1 + + # used in CBRANCH instruction + s_mov_b32 s70, (0xFF << 8) + s_mov_b32 s71, (0xFF << 9) + s_mov_b32 s72, (0xFF << 10) + s_mov_b32 s73, (0xFF << 11) + s_mov_b32 s74, (0xFF << 12) + s_mov_b32 s75, (0xFF << 13) + s_mov_b32 s76, (0xFF << 14) + s_mov_b32 s77, (0xFF << 15) + s_mov_b32 s78, (0xFF << 16) + s_mov_b32 s79, (0xFF << 17) + s_mov_b32 s80, (0xFF << 18) + s_mov_b32 s81, (0xFF << 19) + s_mov_b32 s82, (0xFF << 20) + s_mov_b32 s83, (0xFF << 21) + s_mov_b32 s84, (0xFF << 22) + s_mov_b32 s85, (0xFF << 23) + + # ScratchpadL3Mask64 + s_sub_u32 s86, s23, 64 + + # Scratchpad masks for scratchpads + v_sub_nc_u32 v38, s21, 8 + v_sub_nc_u32 v39, s22, 8 + v_sub_nc_u32 v50, s23, 8 + + # mask for FSCAL_R + v_mov_b32 v51, 0x80F00000 + + # load scratchpad base address + v_readlane_b32 s0, v12, 0 + v_readlane_b32 s1, v13, 0 + + # v41, v44 = 0 + v_mov_b32 v41, 0 + v_mov_b32 v44, 0 + + # v41 = 0 on lane 0, set it to 8 on lane 1 + # v44 = 0 on lane 0, set it to 4 on lane 1 + s_mov_b64 exec, 2 + v_mov_b32 v41, 8 + v_mov_b32 v44, 4 + + # load group A registers + # Read low 8 bytes into lane 0 and high 8 bytes into lane 1 + s_mov_b64 exec, 3 + ds_read2_b64 v[52:55], v41 offset0:24 offset1:26 + ds_read2_b64 v[56:59], v41 offset0:28 offset1:30 + + # xmantissaMask + v_mov_b32 v77, (1 << 24) - 1 + + # xexponentMask + ds_read_b64 v[78:79], v41 offset:160 + + # Restore execution mask + s_mov_b64 exec, 255 + + # sign mask (used in FSQRT_R) + v_mov_b32 v82, 0x80000000 + + # used in FSQRT_R to check for "positive normal value" (v_cmpx_class_f64) + s_mov_b32 s68, 256 + s_mov_b32 s69, 0 + + # High 32 bits of "1.0" constant (used in FDIV_M) + v_mov_b32 v83, (1023 << 20) + + # Used to multiply FP64 values by 0.5 + v_mov_b32 v84, (1 << 20) + + s_getpc_b64 s[14:15] +cur_addr: + + # get addresses of FSQRT_R subroutines + s_add_u32 s40, s14, fsqrt_r_sub0 - cur_addr + s_addc_u32 s41, s15, 0 + s_add_u32 s42, s14, fsqrt_r_sub1 - cur_addr + s_addc_u32 s43, s15, 0 + s_add_u32 s44, s14, fsqrt_r_sub2 - cur_addr + s_addc_u32 s45, s15, 0 + s_add_u32 s46, s14, fsqrt_r_sub3 - cur_addr + s_addc_u32 s47, s15, 0 + + # get addresses of FDIV_M subroutines + s_add_u32 s48, s14, fdiv_m_sub0 - cur_addr + s_addc_u32 s49, s15, 0 + s_add_u32 s50, s14, fdiv_m_sub1 - cur_addr + s_addc_u32 s51, s15, 0 + s_add_u32 s52, s14, fdiv_m_sub2 - cur_addr + s_addc_u32 s53, s15, 0 + s_add_u32 s54, s14, fdiv_m_sub3 - cur_addr + s_addc_u32 s55, s15, 0 + + # get address for ISMULH_R subroutine + s_add_u32 s56, s14, ismulh_r_sub - cur_addr + s_addc_u32 s57, s15, 0 + + # get address for IMULH_R subroutine + s_add_u32 s58, s14, imulh_r_sub - cur_addr + s_addc_u32 s59, s15, 0 + +/* + used: v0-v6, v8-v37 + not used: v7 +*/ +main_loop: + s_waitcnt_vscnt null, 0x0 + + # v[27:28] = R[readReg0] + # v[29:30] = R[readReg1] + ds_read_b64 v[27:28], v37 + ds_read_b64 v[29:30], v36 + s_waitcnt lgkmcnt(0) + + # R[readReg0] ^ R[readReg0] (high 32 bits) + v_xor_b32 v28, v28, v30 + + # spAddr1 + v_xor_b32 v25, v28, v25 + v_and_b32 v25, s86, v25 + v_add_nc_u32 v25, v25, v0 + + v_add_co_u32 v16, vcc_lo, s0, v25 + + # R[readReg0] ^ R[readReg0] (low 32 bits) + v_xor_b32 v25, v27, v29 + + v_mov_b32 v29, v11 + v_add_co_ci_u32 v17, vcc_lo, 0, s1, vcc_lo + v_xor_b32 v25, v25, v26 + + # load from spAddr1 + global_load_dwordx2 v[27:28], v[16:17], off + + # spAddr0 + v_and_b32 v25, s86, v25 + v_add_nc_u32 v25, v25, v0 + + v_add_co_u32 v31, vcc_lo, s0, v25 + v_add_co_ci_u32 v32, vcc_lo, 0, s1, vcc_lo + v_add_co_u32 v29, vcc_lo, v22, v29 + + # load from spAddr0 + global_load_dwordx2 v[25:26], v[31:32], off + + v_add_co_ci_u32 v30, vcc_lo, 0, v23, vcc_lo + v_mov_b32 v33, v11 + s_and_b32 vcc_lo, exec_lo, vcc_lo + s_waitcnt vmcnt(1) + v_cvt_f64_i32 v[14:15], v28 + v_cvt_f64_i32 v[12:13], v27 + v_or_b32 v14, v14, v35 + s_waitcnt vmcnt(0) + + # R[sub] ^= *p0; + v_xor_b32 v8, v25, v8 + v_xor_b32 v9, v26, v9 + + v_and_b32 v26, v4, v15 + + v_and_b32 v19, v4, v13 + v_or_b32 v15, v26, v34 + v_or_b32 v18, v12, v3 + v_mov_b32 v26, 0 + v_or_b32 v19, v19, v24 + v_mov_b32 v25, v26 + ds_write2_b64 v5, v[18:19], v[14:15] offset0:8 offset1:9 + + # load from dataset + global_load_dwordx2 v[18:19], v[29:30], off + + # load group F,E registers + # Read low 8 bytes into lane 0 and high 8 bytes into lane 1 + s_mov_b64 exec, 3 + s_waitcnt lgkmcnt(0) + ds_read2_b64 v[60:63], v41 offset0:8 offset1:10 + ds_read2_b64 v[64:67], v41 offset0:12 offset1:14 + ds_read2_b64 v[68:71], v41 offset0:16 offset1:18 + ds_read2_b64 v[72:75], v41 offset0:20 offset1:22 + + # load VM integer registers + v_readlane_b32 s16, v8, 0 + v_readlane_b32 s17, v9, 0 + v_readlane_b32 s18, v8, 1 + v_readlane_b32 s19, v9, 1 + v_readlane_b32 s20, v8, 2 + v_readlane_b32 s21, v9, 2 + v_readlane_b32 s22, v8, 3 + v_readlane_b32 s23, v9, 3 + v_readlane_b32 s24, v8, 4 + v_readlane_b32 s25, v9, 4 + v_readlane_b32 s26, v8, 5 + v_readlane_b32 s27, v9, 5 + v_readlane_b32 s28, v8, 6 + v_readlane_b32 s29, v9, 6 + v_readlane_b32 s30, v8, 7 + v_readlane_b32 s31, v9, 7 + + s_waitcnt lgkmcnt(0) + + # Use only first 2 lanes for the program + s_mov_b64 exec, 3 + + # call JIT code + s_swappc_b64 s[12:13], s[4:5] + + # Write out group F,E registers + # Write low 8 bytes from lane 0 and high 8 bytes from lane 1 + ds_write2_b64 v41, v[60:61], v[62:63] offset0:8 offset1:10 + ds_write2_b64 v41, v[64:65], v[66:67] offset0:12 offset1:14 + ds_write2_b64 v41, v[68:69], v[70:71] offset0:16 offset1:18 + ds_write2_b64 v41, v[72:73], v[74:75] offset0:20 offset1:22 + + # store VM integer registers + v_writelane_b32 v8, s16, 0 + v_writelane_b32 v9, s17, 0 + v_writelane_b32 v8, s18, 1 + v_writelane_b32 v9, s19, 1 + v_writelane_b32 v8, s20, 2 + v_writelane_b32 v9, s21, 2 + v_writelane_b32 v8, s22, 3 + v_writelane_b32 v9, s23, 3 + v_writelane_b32 v8, s24, 4 + v_writelane_b32 v9, s25, 4 + v_writelane_b32 v8, s26, 5 + v_writelane_b32 v9, s27, 5 + v_writelane_b32 v8, s28, 6 + v_writelane_b32 v9, s29, 6 + v_writelane_b32 v8, s30, 7 + v_writelane_b32 v9, s31, 7 + + # Turn back on 8 execution lanes + s_mov_b64 exec, 255 + + # Write out VM integer registers + ds_write_b64 v6, v[8:9] + s_waitcnt lgkmcnt(0) + + # R[readReg2], R[readReg3] + ds_read_b32 v11, v21 + ds_read_b32 v27, v20 + s_waitcnt lgkmcnt(0) + + # mx ^= R[readReg2] ^ R[readReg3]; + v_xor_b32 v11, v11, v27 + v_xor_b32 v10, v10, v11 + + # v[27:28] = R[sub] + # v[29:30] = F[sub] + ds_read2_b64 v[27:30], v6 offset1:8 + + # mx &= CacheLineAlignMask; + v_and_b32 v11, 0x7fffffc0, v10 + v_mov_b32 v10, v33 + s_waitcnt lgkmcnt(0) + + # const ulong next_r = R[sub] ^ data; + s_waitcnt lgkmcnt(0) + v_xor_b32 v8, v27, v18 + v_xor_b32 v9, v28, v19 + + # *p1 = next_r; + global_store_dwordx2 v[16:17], v[8:9], off + + # v[27:28] = E[sub] + ds_read_b64 v[27:28], v6 offset:128 + + # R[sub] = next_r; + ds_write_b64 v6, v[8:9] + s_waitcnt lgkmcnt(1) + + # *p0 = as_ulong(F[sub]) ^ as_ulong(E[sub]); + v_xor_b32 v29, v27, v29 + v_xor_b32 v30, v28, v30 + global_store_dwordx2 v[31:32], v[29:30], off + + s_sub_u32 s2, s2, 1 + s_cbranch_scc0 main_loop +main_loop_end: + + global_store_dwordx2 v[1:2], v[8:9], off + global_store_dwordx2 v[1:2], v[29:30], off inst_offset:64 + global_store_dwordx2 v[1:2], v[27:28], off inst_offset:128 + + # store rounding mode + v_mov_b32 v0, 0 + v_mov_b32 v1, s66 + global_store_dword v0, v1, s[64:65] + +program_end: + s_endpgm + +fsqrt_r_sub0: + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rsq_f64 v[28:29], v[68:69] + + # Improve initial approximation (can be skipped) + #v_mul_f64 v[42:43], v[28:29], v[68:69] + #v_mul_f64 v[48:49], v[28:29], -0.5 + #v_fma_f64 v[48:49], v[48:49], v[42:43], 0.5 + #v_fma_f64 v[28:29], v[28:29], v[48:49], v[28:29] + + v_mul_f64 v[42:43], v[28:29], v[68:69] + v_mov_b32 v48, v28 + v_sub_nc_u32 v49, v29, v84 + v_mov_b32 v46, v28 + v_xor_b32 v47, v49, v82 + v_fma_f64 v[46:47], v[46:47], v[42:43], 0.5 + v_fma_f64 v[42:43], v[42:43], v[46:47], v[42:43] + v_fma_f64 v[48:49], v[48:49], v[46:47], v[48:49] + v_fma_f64 v[46:47], -v[42:43], v[42:43], v[68:69] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[46:47], v[48:49], v[42:43] + v_cmpx_class_f64 v[68:69], s[68:69] + v_mov_b32 v68, v42 + v_mov_b32 v69, v43 + s_mov_b64 exec, 3 + s_setpc_b64 s[60:61] + +fsqrt_r_sub1: + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rsq_f64 v[28:29], v[70:71] + + # Improve initial approximation (can be skipped) + #v_mul_f64 v[42:43], v[28:29], v[70:71] + #v_mul_f64 v[48:49], v[28:29], -0.5 + #v_fma_f64 v[48:49], v[48:49], v[42:43], 0.5 + #v_fma_f64 v[28:29], v[28:29], v[48:49], v[28:29] + + v_mul_f64 v[42:43], v[28:29], v[70:71] + v_mov_b32 v48, v28 + v_sub_nc_u32 v49, v29, v84 + v_mov_b32 v46, v28 + v_xor_b32 v47, v49, v82 + v_fma_f64 v[46:47], v[46:47], v[42:43], 0.5 + v_fma_f64 v[42:43], v[42:43], v[46:47], v[42:43] + v_fma_f64 v[48:49], v[48:49], v[46:47], v[48:49] + v_fma_f64 v[46:47], -v[42:43], v[42:43], v[70:71] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[46:47], v[48:49], v[42:43] + v_cmpx_class_f64 v[70:71], s[68:69] + v_mov_b32 v70, v42 + v_mov_b32 v71, v43 + s_mov_b64 exec, 3 + s_setpc_b64 s[60:61] + +fsqrt_r_sub2: + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rsq_f64 v[28:29], v[72:73] + + # Improve initial approximation (can be skipped) + #v_mul_f64 v[42:43], v[28:29], v[72:73] + #v_mul_f64 v[48:49], v[28:29], -0.5 + #v_fma_f64 v[48:49], v[48:49], v[42:43], 0.5 + #v_fma_f64 v[28:29], v[28:29], v[48:49], v[28:29] + + v_mul_f64 v[42:43], v[28:29], v[72:73] + v_mov_b32 v48, v28 + v_sub_nc_u32 v49, v29, v84 + v_mov_b32 v46, v28 + v_xor_b32 v47, v49, v82 + v_fma_f64 v[46:47], v[46:47], v[42:43], 0.5 + v_fma_f64 v[42:43], v[42:43], v[46:47], v[42:43] + v_fma_f64 v[48:49], v[48:49], v[46:47], v[48:49] + v_fma_f64 v[46:47], -v[42:43], v[42:43], v[72:73] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[46:47], v[48:49], v[42:43] + v_cmpx_class_f64 v[72:73], s[68:69] + v_mov_b32 v72, v42 + v_mov_b32 v73, v43 + s_mov_b64 exec, 3 + s_setpc_b64 s[60:61] + +fsqrt_r_sub3: + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rsq_f64 v[28:29], v[74:75] + + # Improve initial approximation (can be skipped) + #v_mul_f64 v[42:43], v[28:29], v[74:75] + #v_mul_f64 v[48:49], v[28:29], -0.5 + #v_fma_f64 v[48:49], v[48:49], v[42:43], 0.5 + #v_fma_f64 v[28:29], v[28:29], v[48:49], v[28:29] + + v_mul_f64 v[42:43], v[28:29], v[74:75] + v_mov_b32 v48, v28 + v_sub_nc_u32 v49, v29, v84 + v_mov_b32 v46, v28 + v_xor_b32 v47, v49, v82 + v_fma_f64 v[46:47], v[46:47], v[42:43], 0.5 + v_fma_f64 v[42:43], v[42:43], v[46:47], v[42:43] + v_fma_f64 v[48:49], v[48:49], v[46:47], v[48:49] + v_fma_f64 v[46:47], -v[42:43], v[42:43], v[74:75] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[46:47], v[48:49], v[42:43] + v_cmpx_class_f64 v[74:75], s[68:69] + v_mov_b32 v74, v42 + v_mov_b32 v75, v43 + s_mov_b64 exec, 3 + s_setpc_b64 s[60:61] + +fdiv_m_sub0: + v_or_b32 v28, v28, v78 + v_and_or_b32 v29, v29, v77, v79 + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rcp_f64 v[48:49], v[28:29] + v_fma_f64 v[80:81], -v[28:29], v[48:49], 1.0 + v_fma_f64 v[48:49], v[48:49], v[80:81], v[48:49] + v_mul_f64 v[80:81], v[68:69], v[48:49] + v_fma_f64 v[42:43], -v[28:29], v[80:81], v[68:69] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[42:43], v[48:49], v[80:81] + v_div_fixup_f64 v[80:81], v[42:43], v[28:29], v[68:69] + v_cmpx_eq_f64 v[68:69], v[28:29] + v_mov_b32 v80, 0 + v_mov_b32 v81, v83 + s_mov_b64 exec, 3 + v_mov_b32 v68, v80 + v_mov_b32 v69, v81 + s_setpc_b64 s[60:61] + +fdiv_m_sub1: + v_or_b32 v28, v28, v78 + v_and_or_b32 v29, v29, v77, v79 + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rcp_f64 v[48:49], v[28:29] + v_fma_f64 v[80:81], -v[28:29], v[48:49], 1.0 + v_fma_f64 v[48:49], v[48:49], v[80:81], v[48:49] + v_mul_f64 v[80:81], v[70:71], v[48:49] + v_fma_f64 v[42:43], -v[28:29], v[80:81], v[70:71] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[42:43], v[48:49], v[80:81] + v_div_fixup_f64 v[80:81], v[42:43], v[28:29], v[70:71] + v_cmpx_eq_f64 v[70:71], v[28:29] + v_mov_b32 v80, 0 + v_mov_b32 v81, v83 + s_mov_b64 exec, 3 + v_mov_b32 v70, v80 + v_mov_b32 v71, v81 + s_setpc_b64 s[60:61] + +fdiv_m_sub2: + v_or_b32 v28, v28, v78 + v_and_or_b32 v29, v29, v77, v79 + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rcp_f64 v[48:49], v[28:29] + v_fma_f64 v[80:81], -v[28:29], v[48:49], 1.0 + v_fma_f64 v[48:49], v[48:49], v[80:81], v[48:49] + v_mul_f64 v[80:81], v[72:73], v[48:49] + v_fma_f64 v[42:43], -v[28:29], v[80:81], v[72:73] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[42:43], v[48:49], v[80:81] + v_div_fixup_f64 v[80:81], v[42:43], v[28:29], v[72:73] + v_cmpx_eq_f64 v[72:73], v[28:29] + v_mov_b32 v80, 0 + v_mov_b32 v81, v83 + s_mov_b64 exec, 3 + v_mov_b32 v72, v80 + v_mov_b32 v73, v81 + s_setpc_b64 s[60:61] + +fdiv_m_sub3: + v_or_b32 v28, v28, v78 + v_and_or_b32 v29, v29, v77, v79 + s_setreg_b32 hwreg(mode, 2, 2), s67 + v_rcp_f64 v[48:49], v[28:29] + v_fma_f64 v[80:81], -v[28:29], v[48:49], 1.0 + v_fma_f64 v[48:49], v[48:49], v[80:81], v[48:49] + v_mul_f64 v[80:81], v[74:75], v[48:49] + v_fma_f64 v[42:43], -v[28:29], v[80:81], v[74:75] + s_setreg_b32 hwreg(mode, 2, 2), s66 + v_fma_f64 v[42:43], v[42:43], v[48:49], v[80:81] + v_div_fixup_f64 v[80:81], v[42:43], v[28:29], v[74:75] + v_cmpx_eq_f64 v[74:75], v[28:29] + v_mov_b32 v80, 0 + v_mov_b32 v81, v83 + s_mov_b64 exec, 3 + v_mov_b32 v74, v80 + v_mov_b32 v75, v81 + s_setpc_b64 s[60:61] + +ismulh_r_sub: + s_mov_b64 exec, 1 + v_mov_b32 v45, s14 + v_mul_hi_u32 v40, s38, v45 + v_mov_b32 v47, s15 + v_mad_u64_u32 v[42:43], s32, s38, v47, v[40:41] + v_mov_b32 v40, v42 + v_mad_u64_u32 v[45:46], s32, s39, v45, v[40:41] + v_mad_u64_u32 v[42:43], s32, s39, v47, v[43:44] + v_add_co_u32 v42, vcc_lo, v42, v46 + v_add_co_ci_u32 v43, vcc_lo, 0, v43, vcc_lo + v_readlane_b32 s32, v42, 0 + v_readlane_b32 s33, v43, 0 + s_cmp_lt_i32 s15, 0 + s_cselect_b64 s[34:35], s[38:39], 0 + s_sub_u32 s32, s32, s34 + s_subb_u32 s33, s33, s35 + s_cmp_lt_i32 s39, 0 + s_cselect_b64 s[34:35], s[14:15], 0 + s_sub_u32 s14, s32, s34 + s_subb_u32 s15, s33, s35 + s_mov_b64 exec, 3 + s_setpc_b64 s[60:61] + +imulh_r_sub: + s_mov_b64 exec, 1 + v_mov_b32 v45, s38 + v_mul_hi_u32 v40, s14, v45 + v_mov_b32 v47, s39 + v_mad_u64_u32 v[42:43], s32, s14, v47, v[40:41] + v_mov_b32 v40, v42 + v_mad_u64_u32 v[45:46], s32, s15, v45, v[40:41] + v_mad_u64_u32 v[42:43], s32, s15, v47, v[43:44] + v_add_co_u32 v42, vcc_lo, v42, v46 + v_add_co_ci_u32 v43, vcc_lo, 0, v43, vcc_lo + v_readlane_b32 s14, v42, 0 + v_readlane_b32 s15, v43, 0 + s_mov_b64 exec, 3 + s_setpc_b64 s[60:61] diff --git a/src/backend/opencl/cl/rx/randomx_run_gfx1010.h b/src/backend/opencl/cl/rx/randomx_run_gfx1010.h new file mode 100644 index 00000000..1e2f6a69 --- /dev/null +++ b/src/backend/opencl/cl/rx/randomx_run_gfx1010.h @@ -0,0 +1,303 @@ +/* +This file was auto-generated from randomx_run_gfx1010.asm: + +clrxasm randomx_run_gfx1010.asm -o randomx_run_gfx1010.bin +bin2h -c randomx_run_gfx1010_bin < randomx_run_gfx1010.bin > randomx_run_gfx1010.h + +clrxasm can be downloaded here: https://github.com/CLRX/CLRX-mirror/releases +bin2h can be downloaded here: http://www.deadnode.org/sw/bin2h/ +*/ + +static unsigned char randomx_run_gfx1010_bin[]={ +0x7f,0x45,0x4c,0x46,0x02,0x01,0x01,0x40,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0xe0,0x00,0x01,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x40 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x21,0x00,0x00,0x00,0x00,0x00,0x00,0x35,0x00,0x00,0x00,0x40,0x00,0x38,0x00,0x08,0x00,0x40,0x00,0x0c,0x00,0x0a,0x00,0x06 +,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0 +,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x02 +,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x60 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x52,0xe5,0x74,0x64,0x04,0x00,0x00,0x00,0x00 +,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x51,0xe5,0x74,0x64,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07 +,0x00,0x00,0x00,0x20,0x06,0x00,0x00,0x20,0x00,0x00,0x00,0x41,0x4d,0x44,0x47,0x50,0x55,0x00,0x00,0x82,0xae,0x61,0x6d,0x64,0x68,0x73,0x61,0x2e,0x6b,0x65,0x72,0x6e +,0x65,0x6c,0x73,0x91,0xde,0x00,0x10,0xa5,0x2e,0x61,0x72,0x67,0x73,0x9e,0x88,0xae,0x2e,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x73,0x70,0x61,0x63,0x65,0xa6,0x67 +,0x6c,0x6f,0x62,0x61,0x6c,0xa9,0x2e,0x69,0x73,0x5f,0x63,0x6f,0x6e,0x73,0x74,0xc3,0xa5,0x2e,0x6e,0x61,0x6d,0x65,0xa7,0x64,0x61,0x74,0x61,0x73,0x65,0x74,0xa7,0x2e +,0x6f,0x66,0x66,0x73,0x65,0x74,0x00,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xaa,0x2e,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0xa6,0x75,0x63,0x68,0x61,0x72,0x2a +,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xad,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0xab,0x2e,0x76,0x61,0x6c,0x75 +,0x65,0x5f,0x74,0x79,0x70,0x65,0xa2,0x75,0x38,0x87,0xae,0x2e,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x73,0x70,0x61,0x63,0x65,0xa6,0x67,0x6c,0x6f,0x62,0x61,0x6c +,0xa5,0x2e,0x6e,0x61,0x6d,0x65,0xaa,0x73,0x63,0x72,0x61,0x74,0x63,0x68,0x70,0x61,0x64,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x08,0xa5,0x2e,0x73,0x69,0x7a,0x65 +,0x08,0xaa,0x2e,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0xa6,0x75,0x63,0x68,0x61,0x72,0x2a,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xad +,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa2,0x75,0x38,0x87,0xae,0x2e,0x61 +,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x73,0x70,0x61,0x63,0x65,0xa6,0x67,0x6c,0x6f,0x62,0x61,0x6c,0xa5,0x2e,0x6e,0x61,0x6d,0x65,0xa9,0x72,0x65,0x67,0x69,0x73,0x74 +,0x65,0x72,0x73,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x10,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xaa,0x2e,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0xa6,0x75 +,0x6c,0x6f,0x6e,0x67,0x2a,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xad,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0xab +,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa3,0x75,0x36,0x34,0x87,0xae,0x2e,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x73,0x70,0x61,0x63,0x65,0xa6 +,0x67,0x6c,0x6f,0x62,0x61,0x6c,0xa5,0x2e,0x6e,0x61,0x6d,0x65,0xae,0x72,0x6f,0x75,0x6e,0x64,0x69,0x6e,0x67,0x5f,0x6d,0x6f,0x64,0x65,0x73,0xa7,0x2e,0x6f,0x66,0x66 +,0x73,0x65,0x74,0x18,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xaa,0x2e,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0xa5,0x75,0x69,0x6e,0x74,0x2a,0xab,0x2e,0x76,0x61 +,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xad,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79 +,0x70,0x65,0xa3,0x75,0x33,0x32,0x87,0xae,0x2e,0x61,0x64,0x64,0x72,0x65,0x73,0x73,0x5f,0x73,0x70,0x61,0x63,0x65,0xa6,0x67,0x6c,0x6f,0x62,0x61,0x6c,0xa5,0x2e,0x6e +,0x61,0x6d,0x65,0xa8,0x70,0x72,0x6f,0x67,0x72,0x61,0x6d,0x73,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x20,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xaa,0x2e,0x74,0x79 +,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0xa5,0x75,0x69,0x6e,0x74,0x2a,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xad,0x67,0x6c,0x6f,0x62,0x61,0x6c +,0x5f,0x62,0x75,0x66,0x66,0x65,0x72,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa3,0x75,0x33,0x32,0x86,0xa5,0x2e,0x6e,0x61,0x6d,0x65,0xaa,0x62 +,0x61,0x74,0x63,0x68,0x5f,0x73,0x69,0x7a,0x65,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x04,0xaa,0x2e,0x74,0x79,0x70,0x65,0x5f +,0x6e,0x61,0x6d,0x65,0xa4,0x75,0x69,0x6e,0x74,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xa8,0x62,0x79,0x5f,0x76,0x61,0x6c,0x75,0x65,0xab,0x2e +,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa3,0x75,0x33,0x32,0x86,0xa5,0x2e,0x6e,0x61,0x6d,0x65,0xad,0x72,0x78,0x5f,0x70,0x61,0x72,0x61,0x6d,0x65,0x74 +,0x65,0x72,0x73,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x2c,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x04,0xaa,0x2e,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0xa4,0x75 +,0x69,0x6e,0x74,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xa8,0x62,0x79,0x5f,0x76,0x61,0x6c,0x75,0x65,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f +,0x74,0x79,0x70,0x65,0xa3,0x75,0x33,0x32,0x84,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x30,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65 +,0x5f,0x6b,0x69,0x6e,0x64,0xb6,0x68,0x69,0x64,0x64,0x65,0x6e,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x5f,0x78,0xab,0x2e,0x76,0x61 +,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa3,0x69,0x36,0x34,0x84,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x38,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xab,0x2e,0x76 +,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xb6,0x68,0x69,0x64,0x64,0x65,0x6e,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x6f,0x66,0x66,0x73,0x65,0x74,0x5f,0x79 +,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa3,0x69,0x36,0x34,0x84,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x40,0xa5,0x2e,0x73,0x69,0x7a,0x65 +,0x08,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xb6,0x68,0x69,0x64,0x64,0x65,0x6e,0x5f,0x67,0x6c,0x6f,0x62,0x61,0x6c,0x5f,0x6f,0x66,0x66,0x73 +,0x65,0x74,0x5f,0x7a,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa3,0x69,0x36,0x34,0x84,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x48,0xa5,0x2e +,0x73,0x69,0x7a,0x65,0x08,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xab,0x68,0x69,0x64,0x64,0x65,0x6e,0x5f,0x6e,0x6f,0x6e,0x65,0xab,0x2e,0x76 +,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa2,0x69,0x38,0x84,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x50,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xab,0x2e,0x76 +,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xab,0x68,0x69,0x64,0x64,0x65,0x6e,0x5f,0x6e,0x6f,0x6e,0x65,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70 +,0x65,0xa2,0x69,0x38,0x84,0xa7,0x2e,0x6f,0x66,0x66,0x73,0x65,0x74,0x58,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e +,0x64,0xab,0x68,0x69,0x64,0x64,0x65,0x6e,0x5f,0x6e,0x6f,0x6e,0x65,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa2,0x69,0x38,0x84,0xa7,0x2e,0x6f +,0x66,0x66,0x73,0x65,0x74,0x60,0xa5,0x2e,0x73,0x69,0x7a,0x65,0x08,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x6b,0x69,0x6e,0x64,0xb9,0x68,0x69,0x64,0x64,0x65,0x6e +,0x5f,0x6d,0x75,0x6c,0x74,0x69,0x67,0x72,0x69,0x64,0x5f,0x73,0x79,0x6e,0x63,0x5f,0x61,0x72,0x67,0xab,0x2e,0x76,0x61,0x6c,0x75,0x65,0x5f,0x74,0x79,0x70,0x65,0xa2 +,0x69,0x38,0xb9,0x2e,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x73,0x69,0x7a,0x65,0xcd,0x01,0x00,0xb6 +,0x2e,0x6b,0x65,0x72,0x6e,0x61,0x72,0x67,0x5f,0x73,0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x61,0x6c,0x69,0x67,0x6e,0x08,0xb5,0x2e,0x6b,0x65,0x72,0x6e,0x61,0x72,0x67 +,0x5f,0x73,0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x73,0x69,0x7a,0x65,0x68,0xa9,0x2e,0x6c,0x61,0x6e,0x67,0x75,0x61,0x67,0x65,0xa8,0x4f,0x70,0x65,0x6e,0x43,0x4c,0x20 +,0x43,0xb1,0x2e,0x6c,0x61,0x6e,0x67,0x75,0x61,0x67,0x65,0x5f,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x92,0x01,0x02,0xb8,0x2e,0x6d,0x61,0x78,0x5f,0x66,0x6c,0x61,0x74 +,0x5f,0x77,0x6f,0x72,0x6b,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a,0x65,0x20,0xa5,0x2e,0x6e,0x61,0x6d,0x65,0xab,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f,0x72 +,0x75,0x6e,0xbb,0x2e,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x5f,0x73,0x65,0x67,0x6d,0x65,0x6e,0x74,0x5f,0x66,0x69,0x78,0x65,0x64,0x5f,0x73,0x69,0x7a,0x65,0x00,0xb4 +,0x2e,0x72,0x65,0x71,0x64,0x5f,0x77,0x6f,0x72,0x6b,0x67,0x72,0x6f,0x75,0x70,0x5f,0x73,0x69,0x7a,0x65,0x93,0x20,0x01,0x01,0xab,0x2e,0x73,0x67,0x70,0x72,0x5f,0x63 +,0x6f,0x75,0x6e,0x74,0x60,0xb1,0x2e,0x73,0x67,0x70,0x72,0x5f,0x73,0x70,0x69,0x6c,0x6c,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x00,0xa7,0x2e,0x73,0x79,0x6d,0x62,0x6f,0x6c +,0xae,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f,0x72,0x75,0x6e,0x2e,0x6b,0x64,0xab,0x2e,0x76,0x67,0x70,0x72,0x5f,0x63,0x6f,0x75,0x6e,0x74,0xcc,0x80,0xb1,0x2e,0x76 +,0x67,0x70,0x72,0x5f,0x73,0x70,0x69,0x6c,0x6c,0x5f,0x63,0x6f,0x75,0x6e,0x74,0x00,0xaf,0x2e,0x77,0x61,0x76,0x65,0x66,0x72,0x6f,0x6e,0x74,0x5f,0x73,0x69,0x7a,0x65 +,0x20,0xae,0x61,0x6d,0x64,0x68,0x73,0x61,0x2e,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x92,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x12,0x03,0x06,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x11,0x03,0x05,0x00,0xc0,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01 +,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f +,0x72,0x75,0x6e,0x00,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f,0x72,0x75,0x6e,0x2e,0x6b,0x64,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xcf,0x03,0xaf,0x40,0x8c,0x00,0x00,0x00,0x09,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x84,0xf4,0x00,0x00,0x00,0x00,0x70,0x00,0x8c,0xbf,0x00,0x00,0xfd,0xbb,0x00,0x00,0x93,0xbf,0x00,0x00,0x82,0xbf,0x02,0x00,0x08,0xf4,0x10,0x00,0x00,0xfa,0x80 +,0x03,0x89,0xbe,0x06,0x85,0x08,0x8f,0x83,0x00,0x4e,0x34,0x07,0x03,0x8c,0xbe,0x88,0x00,0x88,0x7d,0x7f,0xc0,0x8c,0xbf,0x06,0x82,0x10,0x8f,0x02,0x10,0x40,0x80,0x03 +,0x80,0x41,0x82,0x80,0x02,0x02,0x7e,0x00,0x80,0x30,0xdc,0x01,0x00,0x40,0x01,0x70,0x3f,0x8c,0xbf,0x42,0x00,0x60,0xd7,0x01,0x01,0x01,0x00,0x81,0x08,0xc2,0xb9,0x80 +,0x03,0xc3,0xbe,0x08,0x83,0x82,0x8f,0x0c,0x03,0xa0,0xbe,0x00,0x02,0x00,0x80,0x01,0x03,0x01,0x82,0x01,0x00,0x0f,0xd7,0x00,0x4e,0x02,0x00,0x02,0x00,0x28,0xd5,0x01 +,0x00,0x01,0x00,0x00,0x80,0x34,0xdc,0x01,0x00,0x7d,0x04,0x70,0x3f,0x8c,0xbf,0x00,0x00,0x34,0xd9,0x27,0x04,0x00,0x00,0x70,0x00,0x8c,0xbf,0x00,0x00,0xfd,0xbb,0x6a +,0x3c,0x80,0xbe,0x65,0x01,0x88,0xbf,0x02,0x02,0x08,0xf4,0x00,0x00,0x00,0xfa,0x02,0x00,0x04,0xf4,0x20,0x00,0x00,0xfa,0x02,0x05,0x00,0xf4,0x2c,0x00,0x00,0xfa,0x80 +,0x02,0x0a,0x7e,0x80,0x02,0x14,0x7e,0x00,0x00,0xfd,0xbb,0x00,0x00,0xd8,0xd9,0x27,0x00,0x00,0x08,0x84,0x00,0x88,0x7d,0x83,0x00,0x00,0x34,0x10,0x11,0xdc,0xd9,0x05 +,0x00,0x00,0x19,0x98,0x00,0xd8,0xd8,0x05,0x00,0x00,0x0b,0xa8,0x00,0xd8,0xd9,0x05,0x00,0x00,0x23,0x12,0x14,0xdc,0xd9,0x05,0x00,0x00,0x14,0x04,0x00,0x01,0xd5,0xff +,0x82,0xa9,0x01,0xff,0xff,0xff,0x00,0x27,0x01,0x0a,0x4a,0x7f,0xc0,0x8c,0xbf,0x0b,0x02,0x1a,0x7e,0x01,0x02,0x0e,0x7e,0x00,0x02,0x0c,0x7e,0x14,0xff,0x95,0x93,0x00 +,0x00,0x05,0x00,0x81,0x15,0x15,0x8f,0x14,0xff,0x96,0x93,0x05,0x00,0x05,0x00,0x81,0x16,0x16,0x8f,0x14,0xff,0x80,0x93,0x0a,0x00,0x05,0x00,0x81,0x00,0x17,0x8f,0x14 +,0xff,0x98,0x93,0x0f,0x00,0x04,0x00,0x81,0x18,0x18,0x8f,0x0a,0x02,0x18,0x7e,0x06,0x02,0x76,0xd5,0xff,0x0c,0x18,0x04,0x40,0x27,0x00,0x00,0x04,0x00,0x60,0xd7,0x06 +,0x01,0x01,0x00,0x05,0x00,0x60,0xd7,0x07,0x01,0x01,0x00,0x81,0x00,0x02,0x8f,0x0e,0x00,0x0f,0xd7,0x08,0x16,0x02,0x00,0x22,0x00,0x01,0xd5,0x24,0x01,0xa9,0x01,0x18 +,0x00,0x01,0xd5,0x17,0x01,0xa9,0x01,0x03,0x00,0x01,0xd5,0x16,0x01,0xa9,0x01,0x02,0xc0,0x03,0x81,0x1d,0x00,0x28,0xd5,0x09,0x14,0x02,0x00,0x23,0x00,0x01,0xd5,0x23 +,0x01,0xa9,0x01,0x16,0x6a,0x0f,0xd7,0x0e,0x01,0x02,0x00,0x0c,0x02,0x76,0xd5,0x03,0x0c,0x30,0x04,0x1a,0x03,0x14,0x7e,0x19,0x03,0x16,0x7e,0x83,0x36,0x48,0x34,0x83 +,0x38,0x4a,0x34,0x83,0x28,0x28,0x34,0x83,0x2a,0x2a,0x34,0x80,0x3a,0x2e,0x50,0x27,0x03,0x0c,0x7e,0x18,0x81,0x82,0x80,0xc1,0x03,0xbf,0xbe,0xff,0x03,0xc6,0xbe,0x00 +,0xff,0x00,0x00,0xff,0x03,0xc7,0xbe,0x00,0xfe,0x01,0x00,0xff,0x03,0xc8,0xbe,0x00,0xfc,0x03,0x00,0xff,0x03,0xc9,0xbe,0x00,0xf8,0x07,0x00,0xff,0x03,0xca,0xbe,0x00 +,0xf0,0x0f,0x00,0xff,0x03,0xcb,0xbe,0x00,0xe0,0x1f,0x00,0xff,0x03,0xcc,0xbe,0x00,0xc0,0x3f,0x00,0xff,0x03,0xcd,0xbe,0x00,0x80,0x7f,0x00,0xff,0x03,0xce,0xbe,0x00 +,0x00,0xff,0x00,0xff,0x03,0xcf,0xbe,0x00,0x00,0xfe,0x01,0xff,0x03,0xd0,0xbe,0x00,0x00,0xfc,0x03,0xff,0x03,0xd1,0xbe,0x00,0x00,0xf8,0x07,0xff,0x03,0xd2,0xbe,0x00 +,0x00,0xf0,0x0f,0xff,0x03,0xd3,0xbe,0x00,0x00,0xe0,0x1f,0xff,0x03,0xd4,0xbe,0x00,0x00,0xc0,0x3f,0xff,0x03,0xd5,0xbe,0x00,0x00,0x80,0x7f,0x17,0xc0,0xd6,0x80,0x26 +,0x00,0x26,0xd5,0x15,0x10,0x01,0x00,0x27,0x00,0x26,0xd5,0x16,0x10,0x01,0x00,0x32,0x00,0x26,0xd5,0x17,0x10,0x01,0x00,0xff,0x02,0x66,0x7e,0x00,0x00,0xf0,0x80,0x00 +,0x00,0x60,0xd7,0x0c,0x01,0x01,0x00,0x01,0x00,0x60,0xd7,0x0d,0x01,0x01,0x00,0x80,0x02,0x52,0x7e,0x80,0x02,0x58,0x7e,0x82,0x04,0xfe,0xbe,0x88,0x02,0x52,0x7e,0x84 +,0x02,0x58,0x7e,0x83,0x04,0xfe,0xbe,0x18,0x1a,0xdc,0xd9,0x29,0x00,0x00,0x34,0x1c,0x1e,0xdc,0xd9,0x29,0x00,0x00,0x38,0xff,0x02,0x9a,0x7e,0xff,0xff,0xff,0x00,0xa0 +,0x00,0xd8,0xd9,0x29,0x00,0x00,0x4e,0xff,0x04,0xfe,0xbe,0xff,0x00,0x00,0x00,0xff,0x02,0xa4,0x7e,0x00,0x00,0x00,0x80,0xff,0x03,0xc4,0xbe,0x00,0x01,0x00,0x00,0x80 +,0x03,0xc5,0xbe,0xff,0x02,0xa6,0x7e,0x00,0x00,0xf0,0x3f,0xff,0x02,0xa8,0x7e,0x00,0x00,0x10,0x00,0x00,0x1f,0x8e,0xbe,0x0e,0xff,0x28,0x80,0x48,0x03,0x00,0x00,0x0f +,0x80,0x29,0x82,0x0e,0xff,0x2a,0x80,0xac,0x03,0x00,0x00,0x0f,0x80,0x2b,0x82,0x0e,0xff,0x2c,0x80,0x10,0x04,0x00,0x00,0x0f,0x80,0x2d,0x82,0x0e,0xff,0x2e,0x80,0x74 +,0x04,0x00,0x00,0x0f,0x80,0x2f,0x82,0x0e,0xff,0x30,0x80,0xd8,0x04,0x00,0x00,0x0f,0x80,0x31,0x82,0x0e,0xff,0x32,0x80,0x3c,0x05,0x00,0x00,0x0f,0x80,0x33,0x82,0x0e +,0xff,0x34,0x80,0xa0,0x05,0x00,0x00,0x0f,0x80,0x35,0x82,0x0e,0xff,0x36,0x80,0x04,0x06,0x00,0x00,0x0f,0x80,0x37,0x82,0x0e,0xff,0x38,0x80,0x68,0x06,0x00,0x00,0x0f +,0x80,0x39,0x82,0x0e,0xff,0x3a,0x80,0xdc,0x06,0x00,0x00,0x0f,0x80,0x3b,0x82,0x00,0x00,0xfd,0xbb,0x00,0x00,0xd8,0xd9,0x25,0x00,0x00,0x1b,0x00,0x00,0xd8,0xd9,0x24 +,0x00,0x00,0x1d,0x7f,0xc0,0x8c,0xbf,0x1c,0x3d,0x38,0x3a,0x1c,0x33,0x32,0x3a,0x56,0x32,0x32,0x36,0x19,0x01,0x32,0x4a,0x10,0x6a,0x0f,0xd7,0x00,0x32,0x02,0x00,0x1b +,0x3b,0x32,0x3a,0x0b,0x03,0x3a,0x7e,0x11,0x6a,0x28,0xd5,0x80,0x02,0xa8,0x01,0x19,0x35,0x32,0x3a,0x00,0x80,0x34,0xdc,0x10,0x00,0x7d,0x1b,0x56,0x32,0x32,0x36,0x19 +,0x01,0x32,0x4a,0x1f,0x6a,0x0f,0xd7,0x00,0x32,0x02,0x00,0x20,0x6a,0x28,0xd5,0x80,0x02,0xa8,0x01,0x1d,0x6a,0x0f,0xd7,0x16,0x3b,0x02,0x00,0x00,0x80,0x34,0xdc,0x1f +,0x00,0x7d,0x19,0x80,0x2e,0x3c,0x50,0x0b,0x03,0x42,0x7e,0x7e,0x6a,0x6a,0x87,0x71,0x3f,0x8c,0xbf,0x1c,0x09,0x1c,0x7e,0x1b,0x09,0x18,0x7e,0x0e,0x47,0x1c,0x38,0x70 +,0x3f,0x8c,0xbf,0x19,0x11,0x10,0x3a,0x1a,0x13,0x12,0x3a,0x04,0x1f,0x34,0x36,0x04,0x1b,0x26,0x36,0x1a,0x45,0x1e,0x38,0x0c,0x07,0x24,0x38,0x80,0x02,0x34,0x7e,0x13 +,0x31,0x26,0x38,0x1a,0x03,0x32,0x7e,0x08,0x09,0x38,0xd9,0x05,0x12,0x0e,0x00,0x00,0x80,0x34,0xdc,0x1d,0x00,0x7d,0x12,0x83,0x04,0xfe,0xbe,0x7f,0xc0,0x8c,0xbf,0x08 +,0x0a,0xdc,0xd9,0x29,0x00,0x00,0x3c,0x0c,0x0e,0xdc,0xd9,0x29,0x00,0x00,0x40,0x10,0x12,0xdc,0xd9,0x29,0x00,0x00,0x44,0x14,0x16,0xdc,0xd9,0x29,0x00,0x00,0x48,0x10 +,0x00,0x60,0xd7,0x08,0x01,0x01,0x00,0x11,0x00,0x60,0xd7,0x09,0x01,0x01,0x00,0x12,0x00,0x60,0xd7,0x08,0x03,0x01,0x00,0x13,0x00,0x60,0xd7,0x09,0x03,0x01,0x00,0x14 +,0x00,0x60,0xd7,0x08,0x05,0x01,0x00,0x15,0x00,0x60,0xd7,0x09,0x05,0x01,0x00,0x16,0x00,0x60,0xd7,0x08,0x07,0x01,0x00,0x17,0x00,0x60,0xd7,0x09,0x07,0x01,0x00,0x18 +,0x00,0x60,0xd7,0x08,0x09,0x01,0x00,0x19,0x00,0x60,0xd7,0x09,0x09,0x01,0x00,0x1a,0x00,0x60,0xd7,0x08,0x0b,0x01,0x00,0x1b,0x00,0x60,0xd7,0x09,0x0b,0x01,0x00,0x1c +,0x00,0x60,0xd7,0x08,0x0d,0x01,0x00,0x1d,0x00,0x60,0xd7,0x09,0x0d,0x01,0x00,0x1e,0x00,0x60,0xd7,0x08,0x0f,0x01,0x00,0x1f,0x00,0x60,0xd7,0x09,0x0f,0x01,0x00,0x7f +,0xc0,0x8c,0xbf,0x83,0x04,0xfe,0xbe,0x04,0x21,0x8c,0xbe,0x08,0x0a,0x38,0xd9,0x29,0x3c,0x3e,0x00,0x0c,0x0e,0x38,0xd9,0x29,0x40,0x42,0x00,0x10,0x12,0x38,0xd9,0x29 +,0x44,0x46,0x00,0x14,0x16,0x38,0xd9,0x29,0x48,0x4a,0x00,0x08,0x00,0x61,0xd7,0x10,0x00,0x01,0x00,0x09,0x00,0x61,0xd7,0x11,0x00,0x01,0x00,0x08,0x00,0x61,0xd7,0x12 +,0x02,0x01,0x00,0x09,0x00,0x61,0xd7,0x13,0x02,0x01,0x00,0x08,0x00,0x61,0xd7,0x14,0x04,0x01,0x00,0x09,0x00,0x61,0xd7,0x15,0x04,0x01,0x00,0x08,0x00,0x61,0xd7,0x16 +,0x06,0x01,0x00,0x09,0x00,0x61,0xd7,0x17,0x06,0x01,0x00,0x08,0x00,0x61,0xd7,0x18,0x08,0x01,0x00,0x09,0x00,0x61,0xd7,0x19,0x08,0x01,0x00,0x08,0x00,0x61,0xd7,0x1a +,0x0a,0x01,0x00,0x09,0x00,0x61,0xd7,0x1b,0x0a,0x01,0x00,0x08,0x00,0x61,0xd7,0x1c,0x0c,0x01,0x00,0x09,0x00,0x61,0xd7,0x1d,0x0c,0x01,0x00,0x08,0x00,0x61,0xd7,0x1e +,0x0e,0x01,0x00,0x09,0x00,0x61,0xd7,0x1f,0x0e,0x01,0x00,0xff,0x04,0xfe,0xbe,0xff,0x00,0x00,0x00,0x00,0x00,0x34,0xd9,0x06,0x08,0x00,0x00,0x7f,0xc0,0x8c,0xbf,0x00 +,0x00,0xd8,0xd8,0x15,0x00,0x00,0x0b,0x00,0x00,0xd8,0xd8,0x14,0x00,0x00,0x1b,0x7f,0xc0,0x8c,0xbf,0x0b,0x37,0x16,0x3a,0x0a,0x17,0x14,0x3a,0x00,0x08,0xdc,0xd9,0x06 +,0x00,0x00,0x1b,0xff,0x14,0x16,0x36,0xc0,0xff,0xff,0x7f,0x21,0x03,0x14,0x7e,0x7f,0xc0,0x8c,0xbf,0x7f,0xc0,0x8c,0xbf,0x1b,0x25,0x10,0x3a,0x1c,0x27,0x12,0x3a,0x00 +,0x80,0x74,0xdc,0x10,0x08,0x7d,0x00,0x80,0x00,0xd8,0xd9,0x06,0x00,0x00,0x1b,0x00,0x00,0x34,0xd9,0x06,0x08,0x00,0x00,0x7f,0xc1,0x8c,0xbf,0x1b,0x3b,0x3a,0x3a,0x1c +,0x3d,0x3c,0x3a,0x00,0x80,0x74,0xdc,0x1f,0x1d,0x7d,0x00,0x02,0x81,0x82,0x80,0x57,0xff,0x84,0xbf,0x00,0x80,0x74,0xdc,0x01,0x08,0x7d,0x00,0x40,0x80,0x74,0xdc,0x01 +,0x1d,0x7d,0x00,0x80,0x80,0x74,0xdc,0x01,0x1b,0x7d,0x00,0x80,0x02,0x00,0x7e,0x42,0x02,0x02,0x7e,0x00,0x80,0x70,0xdc,0x00,0x01,0x40,0x00,0x00,0x00,0x81,0xbf,0x81 +,0x08,0xc3,0xb9,0x44,0x63,0x38,0x7e,0x2a,0x00,0x65,0xd5,0x1c,0x89,0x02,0x00,0x1c,0x03,0x60,0x7e,0x1d,0xa9,0x62,0x4c,0x1c,0x03,0x5c,0x7e,0x31,0xa5,0x5e,0x3a,0x2e +,0x00,0x4c,0xd5,0x2e,0x55,0xc2,0x03,0x2a,0x00,0x4c,0xd5,0x2a,0x5d,0xaa,0x04,0x30,0x00,0x4c,0xd5,0x30,0x5d,0xc2,0x04,0x2e,0x00,0x4c,0xd5,0x2a,0x55,0x12,0x25,0x81 +,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2e,0x61,0xaa,0x04,0x00,0x00,0xb8,0xd4,0x44,0x89,0x00,0x00,0x2a,0x03,0x88,0x7e,0x2b,0x03,0x8a,0x7e,0x83,0x04,0xfe,0xbe,0x3c +,0x20,0x80,0xbe,0x81,0x08,0xc3,0xb9,0x46,0x63,0x38,0x7e,0x2a,0x00,0x65,0xd5,0x1c,0x8d,0x02,0x00,0x1c,0x03,0x60,0x7e,0x1d,0xa9,0x62,0x4c,0x1c,0x03,0x5c,0x7e,0x31 +,0xa5,0x5e,0x3a,0x2e,0x00,0x4c,0xd5,0x2e,0x55,0xc2,0x03,0x2a,0x00,0x4c,0xd5,0x2a,0x5d,0xaa,0x04,0x30,0x00,0x4c,0xd5,0x30,0x5d,0xc2,0x04,0x2e,0x00,0x4c,0xd5,0x2a +,0x55,0x1a,0x25,0x81,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2e,0x61,0xaa,0x04,0x00,0x00,0xb8,0xd4,0x46,0x89,0x00,0x00,0x2a,0x03,0x8c,0x7e,0x2b,0x03,0x8e,0x7e,0x83 +,0x04,0xfe,0xbe,0x3c,0x20,0x80,0xbe,0x81,0x08,0xc3,0xb9,0x48,0x63,0x38,0x7e,0x2a,0x00,0x65,0xd5,0x1c,0x91,0x02,0x00,0x1c,0x03,0x60,0x7e,0x1d,0xa9,0x62,0x4c,0x1c +,0x03,0x5c,0x7e,0x31,0xa5,0x5e,0x3a,0x2e,0x00,0x4c,0xd5,0x2e,0x55,0xc2,0x03,0x2a,0x00,0x4c,0xd5,0x2a,0x5d,0xaa,0x04,0x30,0x00,0x4c,0xd5,0x30,0x5d,0xc2,0x04,0x2e +,0x00,0x4c,0xd5,0x2a,0x55,0x22,0x25,0x81,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2e,0x61,0xaa,0x04,0x00,0x00,0xb8,0xd4,0x48,0x89,0x00,0x00,0x2a,0x03,0x90,0x7e,0x2b +,0x03,0x92,0x7e,0x83,0x04,0xfe,0xbe,0x3c,0x20,0x80,0xbe,0x81,0x08,0xc3,0xb9,0x4a,0x63,0x38,0x7e,0x2a,0x00,0x65,0xd5,0x1c,0x95,0x02,0x00,0x1c,0x03,0x60,0x7e,0x1d +,0xa9,0x62,0x4c,0x1c,0x03,0x5c,0x7e,0x31,0xa5,0x5e,0x3a,0x2e,0x00,0x4c,0xd5,0x2e,0x55,0xc2,0x03,0x2a,0x00,0x4c,0xd5,0x2a,0x5d,0xaa,0x04,0x30,0x00,0x4c,0xd5,0x30 +,0x5d,0xc2,0x04,0x2e,0x00,0x4c,0xd5,0x2a,0x55,0x2a,0x25,0x81,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2e,0x61,0xaa,0x04,0x00,0x00,0xb8,0xd4,0x4a,0x89,0x00,0x00,0x2a +,0x03,0x94,0x7e,0x2b,0x03,0x96,0x7e,0x83,0x04,0xfe,0xbe,0x3c,0x20,0x80,0xbe,0x1c,0x9d,0x38,0x38,0x1d,0x00,0x71,0xd7,0x1d,0x9b,0x3e,0x05,0x81,0x08,0xc3,0xb9,0x1c +,0x5f,0x60,0x7e,0x50,0x00,0x4c,0xd5,0x1c,0x61,0xca,0x23,0x30,0x00,0x4c,0xd5,0x30,0xa1,0xc2,0x04,0x50,0x00,0x65,0xd5,0x44,0x61,0x02,0x00,0x2a,0x00,0x4c,0xd5,0x1c +,0xa1,0x12,0x25,0x81,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2a,0x61,0x42,0x05,0x50,0x00,0x60,0xd5,0x2a,0x39,0x12,0x05,0x44,0x39,0x64,0x7c,0x80,0x02,0xa0,0x7e,0x53 +,0x03,0xa2,0x7e,0x83,0x04,0xfe,0xbe,0x50,0x03,0x88,0x7e,0x51,0x03,0x8a,0x7e,0x3c,0x20,0x80,0xbe,0x1c,0x9d,0x38,0x38,0x1d,0x00,0x71,0xd7,0x1d,0x9b,0x3e,0x05,0x81 +,0x08,0xc3,0xb9,0x1c,0x5f,0x60,0x7e,0x50,0x00,0x4c,0xd5,0x1c,0x61,0xca,0x23,0x30,0x00,0x4c,0xd5,0x30,0xa1,0xc2,0x04,0x50,0x00,0x65,0xd5,0x46,0x61,0x02,0x00,0x2a +,0x00,0x4c,0xd5,0x1c,0xa1,0x1a,0x25,0x81,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2a,0x61,0x42,0x05,0x50,0x00,0x60,0xd5,0x2a,0x39,0x1a,0x05,0x46,0x39,0x64,0x7c,0x80 +,0x02,0xa0,0x7e,0x53,0x03,0xa2,0x7e,0x83,0x04,0xfe,0xbe,0x50,0x03,0x8c,0x7e,0x51,0x03,0x8e,0x7e,0x3c,0x20,0x80,0xbe,0x1c,0x9d,0x38,0x38,0x1d,0x00,0x71,0xd7,0x1d +,0x9b,0x3e,0x05,0x81,0x08,0xc3,0xb9,0x1c,0x5f,0x60,0x7e,0x50,0x00,0x4c,0xd5,0x1c,0x61,0xca,0x23,0x30,0x00,0x4c,0xd5,0x30,0xa1,0xc2,0x04,0x50,0x00,0x65,0xd5,0x48 +,0x61,0x02,0x00,0x2a,0x00,0x4c,0xd5,0x1c,0xa1,0x22,0x25,0x81,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2a,0x61,0x42,0x05,0x50,0x00,0x60,0xd5,0x2a,0x39,0x22,0x05,0x48 +,0x39,0x64,0x7c,0x80,0x02,0xa0,0x7e,0x53,0x03,0xa2,0x7e,0x83,0x04,0xfe,0xbe,0x50,0x03,0x90,0x7e,0x51,0x03,0x92,0x7e,0x3c,0x20,0x80,0xbe,0x1c,0x9d,0x38,0x38,0x1d +,0x00,0x71,0xd7,0x1d,0x9b,0x3e,0x05,0x81,0x08,0xc3,0xb9,0x1c,0x5f,0x60,0x7e,0x50,0x00,0x4c,0xd5,0x1c,0x61,0xca,0x23,0x30,0x00,0x4c,0xd5,0x30,0xa1,0xc2,0x04,0x50 +,0x00,0x65,0xd5,0x4a,0x61,0x02,0x00,0x2a,0x00,0x4c,0xd5,0x1c,0xa1,0x2a,0x25,0x81,0x08,0xc2,0xb9,0x2a,0x00,0x4c,0xd5,0x2a,0x61,0x42,0x05,0x50,0x00,0x60,0xd5,0x2a +,0x39,0x2a,0x05,0x4a,0x39,0x64,0x7c,0x80,0x02,0xa0,0x7e,0x53,0x03,0xa2,0x7e,0x83,0x04,0xfe,0xbe,0x50,0x03,0x94,0x7e,0x51,0x03,0x96,0x7e,0x3c,0x20,0x80,0xbe,0x81 +,0x04,0xfe,0xbe,0x0e,0x02,0x5a,0x7e,0x28,0x00,0x6a,0xd5,0x26,0x5a,0x02,0x00,0x0f,0x02,0x5e,0x7e,0x2a,0x20,0x76,0xd5,0x26,0x5e,0xa2,0x04,0x2a,0x03,0x50,0x7e,0x2d +,0x20,0x76,0xd5,0x27,0x5a,0xa2,0x04,0x2a,0x20,0x76,0xd5,0x27,0x5e,0xae,0x04,0x2a,0x6a,0x0f,0xd7,0x2a,0x5d,0x02,0x00,0x80,0x56,0x56,0x50,0x20,0x00,0x60,0xd7,0x2a +,0x01,0x01,0x00,0x21,0x00,0x60,0xd7,0x2b,0x01,0x01,0x00,0x0f,0x80,0x04,0xbf,0x26,0x80,0xa2,0x85,0x20,0x22,0xa0,0x80,0x21,0x23,0xa1,0x82,0x27,0x80,0x04,0xbf,0x0e +,0x80,0xa2,0x85,0x20,0x22,0x8e,0x80,0x21,0x23,0x8f,0x82,0x83,0x04,0xfe,0xbe,0x3c,0x20,0x80,0xbe,0x81,0x04,0xfe,0xbe,0x26,0x02,0x5a,0x7e,0x28,0x00,0x6a,0xd5,0x0e +,0x5a,0x02,0x00,0x27,0x02,0x5e,0x7e,0x2a,0x20,0x76,0xd5,0x0e,0x5e,0xa2,0x04,0x2a,0x03,0x50,0x7e,0x2d,0x20,0x76,0xd5,0x0f,0x5a,0xa2,0x04,0x2a,0x20,0x76,0xd5,0x0f +,0x5e,0xae,0x04,0x2a,0x6a,0x0f,0xd7,0x2a,0x5d,0x02,0x00,0x80,0x56,0x56,0x50,0x0e,0x00,0x60,0xd7,0x2a,0x01,0x01,0x00,0x0f,0x00,0x60,0xd7,0x2b,0x01,0x01,0x00,0x83 +,0x04,0xfe,0xbe,0x3c,0x20,0x80,0xbe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x98,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x43 +,0x4c,0x52,0x58,0x20,0x52,0x4f,0x43,0x6d,0x42,0x69,0x6e,0x47,0x65,0x6e,0x65,0x72,0x61,0x74,0x6f,0x72,0x20,0x30,0x2e,0x31,0x2e,0x39,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x02,0x07,0x00,0x00 +,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x12,0x03,0x06,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x16,0x00,0x00,0x00,0x11,0x03,0x05,0x00,0xc0,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x2e,0x6e,0x6f,0x74,0x65,0x00,0x2e,0x64,0x79,0x6e,0x73,0x79,0x6d,0x00,0x2e,0x68,0x61,0x73,0x68,0x00,0x2e,0x64,0x79,0x6e,0x73,0x74,0x72,0x00,0x2e,0x72,0x6f,0x64 +,0x61,0x74,0x61,0x00,0x2e,0x74,0x65,0x78,0x74,0x00,0x2e,0x64,0x79,0x6e,0x61,0x6d,0x69,0x63,0x00,0x2e,0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x00,0x2e,0x73,0x79,0x6d +,0x74,0x61,0x62,0x00,0x2e,0x73,0x68,0x73,0x74,0x72,0x74,0x61,0x62,0x00,0x2e,0x73,0x74,0x72,0x74,0x61,0x62,0x00,0x00,0x5f,0x44,0x59,0x4e,0x41,0x4d,0x49,0x43,0x00 +,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f,0x72,0x75,0x6e,0x00,0x72,0x61,0x6e,0x64,0x6f,0x6d,0x78,0x5f,0x72,0x75,0x6e,0x2e,0x6b,0x64,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01 +,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x34 +,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07 +,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x48 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f +,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x18 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15 +,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x98,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x98,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x1c +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1d +,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x40 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25 +,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x28 +,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2b +,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x60 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x34 +,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x1b +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3d +,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x60 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x45 +,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x57 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4f +,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x37,0x21,0x00,0x00,0x00,0x00,0x00,0x00,0x25 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; +const int randomx_run_gfx1010_bin_size=9312; diff --git a/src/backend/opencl/cl/rx/randomx_vm.cl b/src/backend/opencl/cl/rx/randomx_vm.cl index 1b212fa5..8e88676a 100644 --- a/src/backend/opencl/cl/rx/randomx_vm.cl +++ b/src/backend/opencl/cl/rx/randomx_vm.cl @@ -316,7 +316,7 @@ __kernel void init_vm(__global const void* entropy_data, __global void* vm_state uint64_t registerLatencyFP = 0; uint64_t registerReadCycleFP = 0; uint32_t ScratchpadHighLatency = 0; - uint32_t ScratchpadLatency = 0; + volatile uint32_t ScratchpadLatency = 0; int32_t first_available_slot = 0; int32_t first_allowed_slot_cfround = 0; @@ -1425,8 +1425,7 @@ double fma_soft(double a, double b, double c, uint32_t rounding_mode) } const uint64_t mantissa_size = 52; - const uint64_t mantissa_mask = (1UL << mantissa_size) - 1; - const uint64_t mantissa_high_bit = 1UL << mantissa_size; + const uint64_t mantissa_mask = (1UL << 52) - 1; const uint64_t exponent_size = 11; const uint64_t exponent_mask = (1 << exponent_size) - 1; @@ -1441,9 +1440,13 @@ double fma_soft(double a, double b, double c, uint32_t rounding_mode) return as_double(inf); } - const uint64_t mantissa_a = (as_ulong(a) & mantissa_mask) | mantissa_high_bit; - const uint64_t mantissa_b = (as_ulong(b) & mantissa_mask) | mantissa_high_bit; - const uint64_t mantissa_c = (as_ulong(c) & mantissa_mask) | mantissa_high_bit; + uint64_t mantissa_a = (as_ulong(a) & mantissa_mask); + uint64_t mantissa_b = (as_ulong(b) & mantissa_mask); + uint64_t mantissa_c = (as_ulong(c) & mantissa_mask); + + ((uint2*)&mantissa_a)->y |= 1U << 20; + ((uint2*)&mantissa_b)->y |= 1U << 20; + ((uint2*)&mantissa_c)->y |= 1U << 20; const uint32_t sign_a = as_uint2(a).y >> 31; const uint32_t sign_b = as_uint2(b).y >> 31; @@ -1585,7 +1588,7 @@ double fma_soft(double a, double b, double c, uint32_t rounding_mode) if (rounding_mode + sign_fma_result == 2) { fma_result[1] += round_up; - if (fma_result[1] == mantissa_high_bit) + if (fma_result[1] == (1UL << mantissa_size)) { fma_result[1] = 0; ++exponent_fma_result; diff --git a/src/backend/opencl/generators/ocl_generic_rx_generator.cpp b/src/backend/opencl/generators/ocl_generic_rx_generator.cpp index 788cabea..27124ace 100644 --- a/src/backend/opencl/generators/ocl_generic_rx_generator.cpp +++ b/src/backend/opencl/generators/ocl_generic_rx_generator.cpp @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -49,6 +49,7 @@ bool ocl_generic_rx_generator(const OclDevice &device, const Algorithm &algorith const size_t mem = device.globalMemSize(); auto config = RxAlgo::base(algorithm); bool gcnAsm = false; + bool isNavi = false; switch (device.type()) { case OclDevice::Baffin: @@ -59,6 +60,13 @@ bool ocl_generic_rx_generator(const OclDevice &device, const Algorithm &algorith gcnAsm = true; break; + case OclDevice::Navi_10: + case OclDevice::Navi_12: + case OclDevice::Navi_14: + gcnAsm = true; + isNavi = true; + break; + default: break; } @@ -75,8 +83,9 @@ bool ocl_generic_rx_generator(const OclDevice &device, const Algorithm &algorith uint32_t intensity = static_cast((mem - (datasetHost ? 0 : dataset_mem)) / per_thread_mem / 2); // Too high intensity makes hashrate worse - if (intensity > device.computeUnits() * 16) { - intensity = device.computeUnits() * 16; + const uint32_t intensityCoeff = isNavi ? 64 : 16; + if (intensity > device.computeUnits() * intensityCoeff) { + intensity = device.computeUnits() * intensityCoeff; } intensity -= intensity % 64; diff --git a/src/backend/opencl/kernels/rx/RxRunKernel.cpp b/src/backend/opencl/kernels/rx/RxRunKernel.cpp index 1946d715..ff2a3299 100644 --- a/src/backend/opencl/kernels/rx/RxRunKernel.cpp +++ b/src/backend/opencl/kernels/rx/RxRunKernel.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,12 +30,10 @@ #include "crypto/rx/RxAlgo.h" -void xmrig::RxRunKernel::enqueue(cl_command_queue queue, size_t threads) +void xmrig::RxRunKernel::enqueue(cl_command_queue queue, size_t threads, size_t workgroup_size) { - const size_t gthreads = threads * 64; - static const size_t lthreads = 64; - - enqueueNDRange(queue, 1, nullptr, >hreads, <hreads); + const size_t gthreads = threads * workgroup_size; + enqueueNDRange(queue, 1, nullptr, >hreads, &workgroup_size); } diff --git a/src/backend/opencl/kernels/rx/RxRunKernel.h b/src/backend/opencl/kernels/rx/RxRunKernel.h index 3af5a980..dbc2ce09 100644 --- a/src/backend/opencl/kernels/rx/RxRunKernel.h +++ b/src/backend/opencl/kernels/rx/RxRunKernel.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,7 +40,7 @@ class RxRunKernel : public OclKernel public: inline RxRunKernel(cl_program program) : OclKernel(program, "randomx_run") {} - void enqueue(cl_command_queue queue, size_t threads); + void enqueue(cl_command_queue queue, size_t threads, size_t workgroup_size); void setArgs(cl_mem dataset, cl_mem scratchpads, cl_mem registers, cl_mem rounding, cl_mem programs, uint32_t batch_size, const Algorithm &algorithm); }; diff --git a/src/backend/opencl/opencl.cmake b/src/backend/opencl/opencl.cmake index 48a92649..535e1a73 100644 --- a/src/backend/opencl/opencl.cmake +++ b/src/backend/opencl/opencl.cmake @@ -31,7 +31,7 @@ if (WITH_OPENCL) src/backend/opencl/wrappers/OclLib.h src/backend/opencl/wrappers/OclPlatform.h src/backend/opencl/wrappers/OclVendor.h - ) + ) set(SOURCES_BACKEND_OPENCL src/backend/opencl/cl/OclSource.cpp @@ -59,75 +59,93 @@ if (WITH_OPENCL) src/backend/opencl/wrappers/OclKernel.cpp src/backend/opencl/wrappers/OclLib.cpp src/backend/opencl/wrappers/OclPlatform.cpp - ) + ) - if (WIN32) - list(APPEND SOURCES_BACKEND_OPENCL src/backend/opencl/OclCache_win.cpp) - else() - list(APPEND SOURCES_BACKEND_OPENCL src/backend/opencl/OclCache_unix.cpp) - endif() + if (WIN32) + list(APPEND SOURCES_BACKEND_OPENCL src/backend/opencl/OclCache_win.cpp) + else() + list(APPEND SOURCES_BACKEND_OPENCL src/backend/opencl/OclCache_unix.cpp) + endif() - if (WITH_RANDOMX) - list(APPEND HEADERS_BACKEND_OPENCL - src/backend/opencl/kernels/rx/Blake2bHashRegistersKernel.h - src/backend/opencl/kernels/rx/Blake2bInitialHashKernel.h - src/backend/opencl/kernels/rx/ExecuteVmKernel.h - src/backend/opencl/kernels/rx/FillAesKernel.h - src/backend/opencl/kernels/rx/FindSharesKernel.h - src/backend/opencl/kernels/rx/HashAesKernel.cpp - src/backend/opencl/kernels/rx/InitVmKernel.h - src/backend/opencl/kernels/rx/RxJitKernel.h - src/backend/opencl/kernels/rx/RxRunKernel.h - src/backend/opencl/runners/OclRxBaseRunner.h - src/backend/opencl/runners/OclRxJitRunner.h - src/backend/opencl/runners/OclRxVmRunner.h - ) + if (WITH_RANDOMX) + list(APPEND HEADERS_BACKEND_OPENCL + src/backend/opencl/kernels/rx/Blake2bHashRegistersKernel.h + src/backend/opencl/kernels/rx/Blake2bInitialHashKernel.h + src/backend/opencl/kernels/rx/ExecuteVmKernel.h + src/backend/opencl/kernels/rx/FillAesKernel.h + src/backend/opencl/kernels/rx/FindSharesKernel.h + src/backend/opencl/kernels/rx/HashAesKernel.cpp + src/backend/opencl/kernels/rx/InitVmKernel.h + src/backend/opencl/kernels/rx/RxJitKernel.h + src/backend/opencl/kernels/rx/RxRunKernel.h + src/backend/opencl/runners/OclRxBaseRunner.h + src/backend/opencl/runners/OclRxJitRunner.h + src/backend/opencl/runners/OclRxVmRunner.h + ) - list(APPEND SOURCES_BACKEND_OPENCL - src/backend/opencl/generators/ocl_generic_rx_generator.cpp - src/backend/opencl/kernels/rx/Blake2bHashRegistersKernel.cpp - src/backend/opencl/kernels/rx/Blake2bInitialHashKernel.cpp - src/backend/opencl/kernels/rx/ExecuteVmKernel.cpp - src/backend/opencl/kernels/rx/FillAesKernel.cpp - src/backend/opencl/kernels/rx/FindSharesKernel.cpp - src/backend/opencl/kernels/rx/HashAesKernel.cpp - src/backend/opencl/kernels/rx/InitVmKernel.cpp - src/backend/opencl/kernels/rx/RxJitKernel.cpp - src/backend/opencl/kernels/rx/RxRunKernel.cpp - src/backend/opencl/runners/OclRxBaseRunner.cpp - src/backend/opencl/runners/OclRxJitRunner.cpp - src/backend/opencl/runners/OclRxVmRunner.cpp - ) - endif() + list(APPEND SOURCES_BACKEND_OPENCL + src/backend/opencl/generators/ocl_generic_rx_generator.cpp + src/backend/opencl/kernels/rx/Blake2bHashRegistersKernel.cpp + src/backend/opencl/kernels/rx/Blake2bInitialHashKernel.cpp + src/backend/opencl/kernels/rx/ExecuteVmKernel.cpp + src/backend/opencl/kernels/rx/FillAesKernel.cpp + src/backend/opencl/kernels/rx/FindSharesKernel.cpp + src/backend/opencl/kernels/rx/HashAesKernel.cpp + src/backend/opencl/kernels/rx/InitVmKernel.cpp + src/backend/opencl/kernels/rx/RxJitKernel.cpp + src/backend/opencl/kernels/rx/RxRunKernel.cpp + src/backend/opencl/runners/OclRxBaseRunner.cpp + src/backend/opencl/runners/OclRxJitRunner.cpp + src/backend/opencl/runners/OclRxVmRunner.cpp + ) + endif() - if (WITH_CN_GPU AND CMAKE_SIZEOF_VOID_P EQUAL 8) - list(APPEND HEADERS_BACKEND_OPENCL - src/backend/opencl/kernels/Cn00RyoKernel.h - src/backend/opencl/kernels/Cn1RyoKernel.h - src/backend/opencl/kernels/Cn2RyoKernel.h - src/backend/opencl/runners/OclRyoRunner.h - ) + if (WITH_CN_GPU AND CMAKE_SIZEOF_VOID_P EQUAL 8) + list(APPEND HEADERS_BACKEND_OPENCL + src/backend/opencl/kernels/Cn00RyoKernel.h + src/backend/opencl/kernels/Cn1RyoKernel.h + src/backend/opencl/kernels/Cn2RyoKernel.h + src/backend/opencl/runners/OclRyoRunner.h + ) - list(APPEND SOURCES_BACKEND_OPENCL - src/backend/opencl/generators/ocl_generic_cn_gpu_generator.cpp - src/backend/opencl/kernels/Cn00RyoKernel.cpp - src/backend/opencl/kernels/Cn1RyoKernel.cpp - src/backend/opencl/kernels/Cn2RyoKernel.cpp - src/backend/opencl/runners/OclRyoRunner.cpp - ) - endif() + list(APPEND SOURCES_BACKEND_OPENCL + src/backend/opencl/generators/ocl_generic_cn_gpu_generator.cpp + src/backend/opencl/kernels/Cn00RyoKernel.cpp + src/backend/opencl/kernels/Cn1RyoKernel.cpp + src/backend/opencl/kernels/Cn2RyoKernel.cpp + src/backend/opencl/runners/OclRyoRunner.cpp + ) + endif() - if (WITH_STRICT_CACHE) - add_definitions(/DXMRIG_STRICT_OPENCL_CACHE) - else() - remove_definitions(/DXMRIG_STRICT_OPENCL_CACHE) - endif() + if (WITH_STRICT_CACHE) + add_definitions(/DXMRIG_STRICT_OPENCL_CACHE) + else() + remove_definitions(/DXMRIG_STRICT_OPENCL_CACHE) + endif() - if (WITH_INTERLEAVE_DEBUG_LOG) - add_definitions(/DXMRIG_INTERLEAVE_DEBUG) - endif() + if (WITH_INTERLEAVE_DEBUG_LOG) + add_definitions(/DXMRIG_INTERLEAVE_DEBUG) + endif() + + if (WITH_ADL AND (XMRIG_OS_WIN OR XMRIG_OS_LINUX)) + add_definitions(/DXMRIG_FEATURE_ADL) + + list(APPEND HEADERS_BACKEND_OPENCL + src/backend/opencl/wrappers/AdlHealth.h + src/backend/opencl/wrappers/AdlLib.h + ) + + if (XMRIG_OS_WIN) + list(APPEND SOURCES_BACKEND_OPENCL src/backend/opencl/wrappers/AdlLib.cpp) + else() + list(APPEND SOURCES_BACKEND_OPENCL src/backend/opencl/wrappers/AdlLib_linux.cpp) + endif() + else() + remove_definitions(/DXMRIG_FEATURE_ADL) + endif() else() remove_definitions(/DXMRIG_FEATURE_OPENCL) + remove_definitions(/DXMRIG_FEATURE_ADL) set(HEADERS_BACKEND_OPENCL "") set(SOURCES_BACKEND_OPENCL "") diff --git a/src/backend/opencl/runners/OclRxBaseRunner.cpp b/src/backend/opencl/runners/OclRxBaseRunner.cpp index eb0ddd51..2a8cf6f9 100644 --- a/src/backend/opencl/runners/OclRxBaseRunner.cpp +++ b/src/backend/opencl/runners/OclRxBaseRunner.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,6 @@ */ #include "backend/opencl/runners/OclRxBaseRunner.h" - #include "backend/opencl/kernels/rx/Blake2bHashRegistersKernel.h" #include "backend/opencl/kernels/rx/Blake2bInitialHashKernel.h" #include "backend/opencl/kernels/rx/FillAesKernel.h" @@ -56,6 +55,10 @@ xmrig::OclRxBaseRunner::OclRxBaseRunner(size_t index, const OclLaunchData &data) m_gcn_version = 14; } + if (data.device.type() == OclDevice::Navi_10 || data.device.type() == OclDevice::Navi_12 || data.device.type() == OclDevice::Navi_14) { + m_gcn_version = 15; + } + m_options += " -DALGO=" + std::to_string(RxAlgo::id(m_algorithm)); m_options += " -DWORKERS_PER_HASH=" + std::to_string(m_worksize); m_options += " -DGCN_VERSION=" + std::to_string(m_gcn_version); diff --git a/src/backend/opencl/runners/OclRxBaseRunner.h b/src/backend/opencl/runners/OclRxBaseRunner.h index c7770e6c..f0d594c8 100644 --- a/src/backend/opencl/runners/OclRxBaseRunner.h +++ b/src/backend/opencl/runners/OclRxBaseRunner.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/backend/opencl/runners/OclRxJitRunner.cpp b/src/backend/opencl/runners/OclRxJitRunner.cpp index ca316333..84d84c49 100644 --- a/src/backend/opencl/runners/OclRxJitRunner.cpp +++ b/src/backend/opencl/runners/OclRxJitRunner.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,9 +23,9 @@ */ #include "backend/opencl/runners/OclRxJitRunner.h" - #include "backend/opencl/cl/rx/randomx_run_gfx803.h" #include "backend/opencl/cl/rx/randomx_run_gfx900.h" +#include "backend/opencl/cl/rx/randomx_run_gfx1010.h" #include "backend/opencl/kernels/rx/Blake2bHashRegistersKernel.h" #include "backend/opencl/kernels/rx/HashAesKernel.h" #include "backend/opencl/kernels/rx/RxJitKernel.h" @@ -84,7 +84,7 @@ void xmrig::OclRxJitRunner::execute(uint32_t iteration) OclLib::finish(m_queue); - m_randomx_run->enqueue(m_queue, m_intensity); + m_randomx_run->enqueue(m_queue, m_intensity, (m_gcn_version == 15) ? 32 : 64); } @@ -120,8 +120,23 @@ bool xmrig::OclRxJitRunner::loadAsmProgram() elf_header_flags = *reinterpret_cast((binary_data.data() + elf_header_flags_offset)); } - const size_t len = (m_gcn_version == 14) ? randomx_run_gfx900_bin_size : randomx_run_gfx803_bin_size; - unsigned char *binary = (m_gcn_version == 14) ? randomx_run_gfx900_bin : randomx_run_gfx803_bin; + size_t len; + unsigned char *binary; + + switch (m_gcn_version) { + case 14: + len = randomx_run_gfx900_bin_size; + binary = randomx_run_gfx900_bin; + break; + case 15: + len = randomx_run_gfx1010_bin_size; + binary = randomx_run_gfx1010_bin; + break; + default: + len = randomx_run_gfx803_bin_size; + binary = randomx_run_gfx803_bin; + break; + } // Set correct internal device ID in the pre-compiled binary if (elf_header_flags) { diff --git a/src/backend/opencl/runners/OclRxJitRunner.h b/src/backend/opencl/runners/OclRxJitRunner.h index db885bab..9e43363c 100644 --- a/src/backend/opencl/runners/OclRxJitRunner.h +++ b/src/backend/opencl/runners/OclRxJitRunner.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/backend/opencl/wrappers/AdlHealth.h b/src/backend/opencl/wrappers/AdlHealth.h new file mode 100644 index 00000000..a0b2ac6e --- /dev/null +++ b/src/backend/opencl/wrappers/AdlHealth.h @@ -0,0 +1,38 @@ +/* XMRig + * Copyright 2008-2018 Advanced Micro Devices, Inc. + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef XMRIG_ADLHEALTH_H +#define XMRIG_ADLHEALTH_H + + +#include +#include + + +struct AdlHealth +{ + uint32_t clock = 0; + uint32_t memClock = 0; + uint32_t power = 0; + uint32_t rpm = 0; + uint32_t temperature = 0; +}; + + +#endif /* XMRIG_ADLHEALTH_H */ diff --git a/src/backend/opencl/wrappers/AdlLib.cpp b/src/backend/opencl/wrappers/AdlLib.cpp new file mode 100644 index 00000000..d3b3bef4 --- /dev/null +++ b/src/backend/opencl/wrappers/AdlLib.cpp @@ -0,0 +1,265 @@ +/* XMRig + * Copyright 2008-2018 Advanced Micro Devices, Inc. + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + +#include +#include + + +#include "backend/opencl/wrappers/AdlLib.h" +#include "3rdparty/adl/adl_sdk.h" +#include "3rdparty/adl/adl_structures.h" +#include "backend/opencl/wrappers/OclDevice.h" + + +namespace xmrig { + + +static std::vector adapters; +static uv_lib_t adlLib; + + +static const char *kSymbolNotFound = "symbol not found"; +static const char *kADL_Main_Control_Create = "ADL_Main_Control_Create"; +static const char *kADL_Main_Control_Destroy = "ADL_Main_Control_Destroy"; +static const char *kADL_Adapter_NumberOfAdapters_Get = "ADL_Adapter_NumberOfAdapters_Get"; +static const char *kADL_Adapter_AdapterInfo_Get = "ADL_Adapter_AdapterInfo_Get"; +static const char *kADL2_Overdrive_Caps = "ADL2_Overdrive_Caps"; +static const char *kADL2_OverdriveN_FanControl_Get = "ADL2_OverdriveN_FanControl_Get"; +static const char *kADL2_New_QueryPMLogData_Get = "ADL2_New_QueryPMLogData_Get"; +static const char *kADL2_OverdriveN_Temperature_Get = "ADL2_OverdriveN_Temperature_Get"; +static const char *kADL2_OverdriveN_PerformanceStatus_Get = "ADL2_OverdriveN_PerformanceStatus_Get"; +static const char *kADL2_Overdrive6_CurrentPower_Get = "ADL2_Overdrive6_CurrentPower_Get"; + + +using ADL_MAIN_CONTROL_CREATE = int (*)(ADL_MAIN_MALLOC_CALLBACK, int); +using ADL_MAIN_CONTROL_DESTROY = int (*)(); +using ADL_ADAPTER_NUMBEROFADAPTERS_GET = int (*)(int *); +using ADL_ADAPTER_ADAPTERINFO_GET = int (*)(LPAdapterInfo, int); +using ADL2_OVERDRIVE_CAPS = int (*)(ADL_CONTEXT_HANDLE, int, int *, int *, int *); +using ADL2_OVERDRIVEN_FANCONTROL_GET = int (*)(ADL_CONTEXT_HANDLE, int, ADLODNFanControl *); +using ADL2_NEW_QUERYPMLOGDATA_GET = int (*)(ADL_CONTEXT_HANDLE, int, ADLPMLogDataOutput *); +using ADL2_OVERDRIVEN_TEMPERATURE_GET = int (*)(ADL_CONTEXT_HANDLE, int, int, int *); +using ADL2_OVERDRIVEN_PERFORMANCESTATUS_GET = int (*)(ADL_CONTEXT_HANDLE, int, ADLODNPerformanceStatus *); +using ADL2_OVERDRIVE6_CURRENTPOWER_GET = int (*)(ADL_CONTEXT_HANDLE, int, int, int *); + + +ADL_MAIN_CONTROL_CREATE ADL_Main_Control_Create = nullptr; +ADL_MAIN_CONTROL_DESTROY ADL_Main_Control_Destroy = nullptr; +ADL_ADAPTER_NUMBEROFADAPTERS_GET ADL_Adapter_NumberOfAdapters_Get = nullptr; +ADL_ADAPTER_ADAPTERINFO_GET ADL_Adapter_AdapterInfo_Get = nullptr; +ADL2_OVERDRIVE_CAPS ADL2_Overdrive_Caps = nullptr; +ADL2_OVERDRIVEN_FANCONTROL_GET ADL2_OverdriveN_FanControl_Get = nullptr; +ADL2_NEW_QUERYPMLOGDATA_GET ADL2_New_QueryPMLogData_Get = nullptr; +ADL2_OVERDRIVEN_TEMPERATURE_GET ADL2_OverdriveN_Temperature_Get = nullptr; +ADL2_OVERDRIVEN_PERFORMANCESTATUS_GET ADL2_OverdriveN_PerformanceStatus_Get = nullptr; +ADL2_OVERDRIVE6_CURRENTPOWER_GET ADL2_Overdrive6_CurrentPower_Get = nullptr; + + +#define DLSYM(x) if (uv_dlsym(&adlLib, k##x, reinterpret_cast(&(x))) == -1) { throw std::runtime_error(kSymbolNotFound); } + + +bool AdlLib::m_initialized = false; +bool AdlLib::m_ready = false; + + +static void * __stdcall ADL_Main_Memory_Alloc(int iSize) +{ + return malloc(iSize); +} + + +static inline bool matchTopology(const PciTopology &topology, const AdapterInfo &adapter) +{ + return adapter.iBusNumber > -1 && topology.bus() == adapter.iBusNumber && topology.device() == adapter.iDeviceNumber && topology.function() == adapter.iFunctionNumber; +} + + +static void getFan_v7(const AdapterInfo &adapter, AdlHealth &health) +{ + ADLODNFanControl data; + memset(&data, 0, sizeof(ADLODNFanControl)); + + if (ADL2_OverdriveN_FanControl_Get(nullptr, adapter.iAdapterIndex, &data) == ADL_OK) { + health.rpm = data.iCurrentFanSpeed; + } +} + + +static void getTemp_v7(const AdapterInfo &adapter, AdlHealth &health) +{ + int temp = 0; + if (ADL2_OverdriveN_Temperature_Get(nullptr, adapter.iAdapterIndex, 1, &temp) == ADL_OK) { + health.temperature = temp / 1000; + } +} + + +static void getClocks_v7(const AdapterInfo &adapter, AdlHealth &health) +{ + ADLODNPerformanceStatus data; + memset(&data, 0, sizeof(ADLODNPerformanceStatus)); + + if (ADL2_OverdriveN_PerformanceStatus_Get(nullptr, adapter.iAdapterIndex, &data) == ADL_OK) { + health.clock = data.iCoreClock / 100; + health.memClock = data.iMemoryClock / 100; + } +} + + +static void getPower_v7(const AdapterInfo &adapter, AdlHealth &health) +{ + int power = 0; + if (ADL2_Overdrive6_CurrentPower_Get && ADL2_Overdrive6_CurrentPower_Get(nullptr, adapter.iAdapterIndex, 0, &power) == ADL_OK) { + health.power = static_cast(power / 256.0); + } +} + + +static void getSensorsData_v8(const AdapterInfo &adapter, AdlHealth &health) +{ + if (!ADL2_New_QueryPMLogData_Get) { + return; + } + + ADLPMLogDataOutput data; + memset(&data, 0, sizeof(ADLPMLogDataOutput)); + + if (ADL2_New_QueryPMLogData_Get(nullptr, adapter.iAdapterIndex, &data) != ADL_OK) { + return; + } + + auto sensorValue = [&data](ADLSensorType type) { return data.sensors[type].supported ? data.sensors[type].value : 0; }; + + health.clock = sensorValue(PMLOG_CLK_GFXCLK); + health.memClock = sensorValue(PMLOG_CLK_MEMCLK); + health.power = sensorValue(PMLOG_ASIC_POWER); + health.rpm = sensorValue(PMLOG_FAN_RPM); + health.temperature = sensorValue(PMLOG_TEMPERATURE_HOTSPOT); +} + + +} // namespace xmrig + + +bool xmrig::AdlLib::init() +{ + if (!m_initialized) { + m_ready = dlopen() && load(); + m_initialized = true; + } + + return m_ready; +} + + +const char *xmrig::AdlLib::lastError() noexcept +{ + return uv_dlerror(&adlLib); +} + + +void xmrig::AdlLib::close() +{ + if (m_ready) { + ADL_Main_Control_Destroy(); + } + + uv_dlclose(&adlLib); +} + + +AdlHealth xmrig::AdlLib::health(const OclDevice &device) +{ + if (!isReady() || device.vendorId() != OCL_VENDOR_AMD) { + return {}; + } + + int supported, enabled, version; + AdlHealth health; + + for (const auto &adapter : adapters) { + if (matchTopology(device.topology(), adapter)) { + if (ADL2_Overdrive_Caps(nullptr, adapter.iAdapterIndex, &supported, &enabled, &version) != ADL_OK) { + continue; + } + + if (version == 7) { + getFan_v7(adapter, health); + getTemp_v7(adapter, health); + getClocks_v7(adapter, health); + getPower_v7(adapter, health); + } + else if (version == 8) { + getSensorsData_v8(adapter, health); + } + + break; + } + } + + return health; +} + + +bool xmrig::AdlLib::dlopen() +{ + return uv_dlopen("atiadlxx.dll", &adlLib) == 0; +} + + +bool xmrig::AdlLib::load() +{ + try { + DLSYM(ADL_Main_Control_Create); + DLSYM(ADL_Main_Control_Destroy); + DLSYM(ADL_Adapter_NumberOfAdapters_Get); + DLSYM(ADL_Adapter_AdapterInfo_Get); + DLSYM(ADL2_Overdrive_Caps); + DLSYM(ADL2_OverdriveN_FanControl_Get); + DLSYM(ADL2_OverdriveN_Temperature_Get); + DLSYM(ADL2_OverdriveN_PerformanceStatus_Get); + } catch (std::exception &ex) { + return false; + } + + try { + DLSYM(ADL2_Overdrive6_CurrentPower_Get); + DLSYM(ADL2_New_QueryPMLogData_Get); + } catch (std::exception &ex) {} + + if (ADL_Main_Control_Create(ADL_Main_Memory_Alloc, 1) != ADL_OK) { + return false; + } + + int count = 0; + if (ADL_Adapter_NumberOfAdapters_Get(&count) != ADL_OK) { + return false; + } + + if (count == 0) { + return false; + } + + adapters.resize(count); + const size_t size = sizeof(adapters[0]) * adapters.size(); + memset(adapters.data(), 0, size); + + return ADL_Adapter_AdapterInfo_Get(adapters.data(), size) == ADL_OK; +} diff --git a/src/backend/opencl/wrappers/AdlLib.h b/src/backend/opencl/wrappers/AdlLib.h new file mode 100644 index 00000000..70cb6d4f --- /dev/null +++ b/src/backend/opencl/wrappers/AdlLib.h @@ -0,0 +1,57 @@ +/* XMRig + * Copyright 2008-2018 Advanced Micro Devices, Inc. + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef XMRIG_ADLLIB_H +#define XMRIG_ADLLIB_H + + +#include "backend/opencl/wrappers/AdlHealth.h" + + +namespace xmrig { + + +class OclDevice; + + +class AdlLib +{ +public: + static bool init(); + static const char *lastError() noexcept; + static void close(); + + static AdlHealth health(const OclDevice &device); + + static inline bool isInitialized() noexcept { return m_initialized; } + static inline bool isReady() noexcept { return m_ready; } + +private: + static bool dlopen(); + static bool load(); + + static bool m_initialized; + static bool m_ready; +}; + + +} // namespace xmrig + + +#endif /* XMRIG_ADLLIB_H */ diff --git a/src/backend/opencl/wrappers/AdlLib_linux.cpp b/src/backend/opencl/wrappers/AdlLib_linux.cpp new file mode 100644 index 00000000..5ef0e5e5 --- /dev/null +++ b/src/backend/opencl/wrappers/AdlLib_linux.cpp @@ -0,0 +1,138 @@ +/* XMRig + * Copyright 2008-2018 Advanced Micro Devices, Inc. + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + +#include "backend/opencl/wrappers/AdlLib.h" +#include "backend/opencl/wrappers/OclDevice.h" + + +#include +#include +#include +#include + + +namespace xmrig { + + +bool AdlLib::m_initialized = false; +bool AdlLib::m_ready = false; +static const std::string kPrefix = "/sys/bus/pci/drivers/amdgpu/"; + + +static inline bool sysfs_is_file(const char *path) +{ + struct stat sb; + + return stat(path, &sb) == 0 && ((sb.st_mode & S_IFMT) == S_IFREG); +} + + +static inline std::string sysfs_prefix(const PciTopology &topology) +{ + std::string path = kPrefix + "0000:" + topology.toString().data() + "/hwmon/hwmon"; + + if (sysfs_is_file((path + "2/name").c_str())) { + return path + "2/"; + } + + if (sysfs_is_file((path + "3/name").c_str())) { + return path + "3/"; + } + + return {}; +} + + +uint32_t sysfs_read(const std::string &path) +{ + std::ifstream file(path); + if (!file.is_open()) { + return 0; + } + + uint32_t value = 0; + file >> value; + + return value; +} + + +} // namespace xmrig + + +bool xmrig::AdlLib::init() +{ + if (!m_initialized) { + m_ready = dlopen() && load(); + m_initialized = true; + } + + return m_ready; +} + + +const char *xmrig::AdlLib::lastError() noexcept +{ + return nullptr; +} + + +void xmrig::AdlLib::close() +{ +} + + +AdlHealth xmrig::AdlLib::health(const OclDevice &device) +{ + if (!isReady() || device.vendorId() != OCL_VENDOR_AMD) { + return {}; + } + + const auto prefix = sysfs_prefix(device.topology()); + if (prefix.empty()) { + return {}; + } + + AdlHealth health; + health.clock = sysfs_read(prefix + "freq1_input") / 1000000; + health.memClock = sysfs_read(prefix + "freq2_input") / 1000000; + health.power = sysfs_read(prefix + "power1_average") / 1000000; + health.rpm = sysfs_read(prefix + "fan1_input"); + health.temperature = sysfs_read(prefix + "temp2_input") / 1000; + + return health; +} + + +bool xmrig::AdlLib::dlopen() +{ + struct stat sb; + if (stat(kPrefix.c_str(), &sb) == -1) { + return false; + } + + return (sb.st_mode & S_IFMT) == S_IFDIR; +} + + +bool xmrig::AdlLib::load() +{ + return true; +} diff --git a/src/backend/opencl/wrappers/OclDevice.cpp b/src/backend/opencl/wrappers/OclDevice.cpp index 14e81560..766e70e5 100644 --- a/src/backend/opencl/wrappers/OclDevice.cpp +++ b/src/backend/opencl/wrappers/OclDevice.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,6 @@ #include "backend/opencl/wrappers/OclDevice.h" - #include "backend/opencl/OclGenerator.h" #include "backend/opencl/OclThreads.h" #include "backend/opencl/wrappers/OclLib.h" @@ -33,6 +32,10 @@ #include "crypto/common/Algorithm.h" #include "rapidjson/document.h" +#ifdef XMRIG_FEATURE_ADL +# include "backend/opencl/wrappers/AdlLib.h" +#endif + #include @@ -107,6 +110,14 @@ static OclDevice::Type getType(const String &name) return OclDevice::Navi_10; } + if (name == "gfx1011") { + return OclDevice::Navi_12; + } + + if (name == "gfx1012") { + return OclDevice::Navi_14; + } + if (name == "gfx804") { return OclDevice::Lexa; } @@ -200,5 +211,20 @@ void xmrig::OclDevice::toJSON(rapidjson::Value &out, rapidjson::Document &doc) c out.AddMember("bus_id", topology().toString().toJSON(doc), allocator); out.AddMember("cu", computeUnits(), allocator); out.AddMember("global_mem", static_cast(globalMemSize()), allocator); + +# ifdef XMRIG_FEATURE_ADL + if (AdlLib::isReady()) { + auto data = AdlLib::health(*this); + + Value health(kObjectType); + health.AddMember("temperature", data.temperature, allocator); + health.AddMember("power", data.power, allocator); + health.AddMember("clock", data.clock, allocator); + health.AddMember("mem_clock", data.memClock, allocator); + health.AddMember("rpm", data.rpm, allocator); + + out.AddMember("health", health, allocator); + } +# endif } #endif diff --git a/src/backend/opencl/wrappers/OclDevice.h b/src/backend/opencl/wrappers/OclDevice.h index 7d081618..ebe96d5a 100644 --- a/src/backend/opencl/wrappers/OclDevice.h +++ b/src/backend/opencl/wrappers/OclDevice.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -56,7 +56,9 @@ public: Vega_10, Vega_20, Raven, - Navi_10 + Navi_10, + Navi_12, + Navi_14 }; OclDevice() = delete; diff --git a/src/base/base.cmake b/src/base/base.cmake index c92c317a..85ee7131 100644 --- a/src/base/base.cmake +++ b/src/base/base.cmake @@ -37,10 +37,12 @@ set(HEADERS_BASE src/base/net/stratum/BaseClient.h src/base/net/stratum/Client.h src/base/net/stratum/Job.h + src/base/net/stratum/NetworkState.h src/base/net/stratum/Pool.h src/base/net/stratum/Pools.h src/base/net/stratum/strategies/FailoverStrategy.h src/base/net/stratum/strategies/SinglePoolStrategy.h + src/base/net/stratum/strategies/StrategyProxy.h src/base/net/stratum/SubmitResult.h src/base/net/stratum/Url.h src/base/net/tools/RecvBuf.h @@ -77,6 +79,7 @@ set(SOURCES_BASE src/base/net/stratum/BaseClient.cpp src/base/net/stratum/Client.cpp src/base/net/stratum/Job.cpp + src/base/net/stratum/NetworkState.cpp src/base/net/stratum/Pool.cpp src/base/net/stratum/Pools.cpp src/base/net/stratum/strategies/FailoverStrategy.cpp diff --git a/src/base/net/stratum/Client.cpp b/src/base/net/stratum/Client.cpp index df90e40f..42c755f5 100644 --- a/src/base/net/stratum/Client.cpp +++ b/src/base/net/stratum/Client.cpp @@ -5,9 +5,9 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh * Copyright 2019 jtgrassie - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -181,11 +181,17 @@ int64_t xmrig::Client::send(const rapidjson::Value &obj) int64_t xmrig::Client::submit(const JobResult &result) { # ifndef XMRIG_PROXY_PROJECT - if (result.clientId != m_rpcId) { + if (result.clientId != m_rpcId || m_state != ConnectedState) { return -1; } # endif + if (result.diff == 0) { + close(); + + return -1; + } + using namespace rapidjson; # ifdef XMRIG_PROXY_PROJECT diff --git a/src/base/net/stratum/NetworkState.cpp b/src/base/net/stratum/NetworkState.cpp new file mode 100644 index 00000000..29d911e1 --- /dev/null +++ b/src/base/net/stratum/NetworkState.cpp @@ -0,0 +1,208 @@ +/* XMRig + * Copyright 2010 Jeff Garzik + * Copyright 2012-2014 pooler + * Copyright 2014 Lucas Jones + * Copyright 2014-2016 Wolf9466 + * Copyright 2016 Jay D Dee + * Copyright 2017-2018 XMR-Stak , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + +#include "base/net/stratum/NetworkState.h" +#include "base/kernel/interfaces/IClient.h" +#include "base/kernel/interfaces/IStrategy.h" +#include "base/net/stratum/Job.h" +#include "base/net/stratum/Pool.h" +#include "base/net/stratum/SubmitResult.h" +#include "base/tools/Chrono.h" +#include "rapidjson/document.h" + + +#include +#include +#include +#include + + + +xmrig::NetworkState::NetworkState(IStrategyListener *listener) : StrategyProxy(listener) +{ +} + + +#ifdef XMRIG_FEATURE_API +rapidjson::Value xmrig::NetworkState::getConnection(rapidjson::Document &doc, int version) const +{ + using namespace rapidjson; + auto &allocator = doc.GetAllocator(); + + Value connection(kObjectType); + connection.AddMember("pool", StringRef(m_pool), allocator); + connection.AddMember("ip", m_ip.toJSON(), allocator); + connection.AddMember("uptime", connectionTime(), allocator); + connection.AddMember("ping", latency(), allocator); + connection.AddMember("failures", m_failures, allocator); + connection.AddMember("tls", m_tls.toJSON(), allocator); + connection.AddMember("tls-fingerprint", m_fingerprint.toJSON(), allocator); + + connection.AddMember("algo", m_algorithm.toJSON(), allocator); + connection.AddMember("diff", m_diff, allocator); + connection.AddMember("accepted", m_accepted, allocator); + connection.AddMember("rejected", m_rejected, allocator); + connection.AddMember("avg_time", avgTime(), allocator); + connection.AddMember("hashes_total", m_hashes, allocator); + + if (version == 1) { + connection.AddMember("error_log", Value(kArrayType), allocator); + } + + return connection; +} + + +rapidjson::Value xmrig::NetworkState::getResults(rapidjson::Document &doc, int version) const +{ + using namespace rapidjson; + auto &allocator = doc.GetAllocator(); + + Value results(kObjectType); + + results.AddMember("diff_current", m_diff, allocator); + results.AddMember("shares_good", m_accepted, allocator); + results.AddMember("shares_total", m_accepted + m_rejected, allocator); + results.AddMember("avg_time", avgTime(), allocator); + results.AddMember("hashes_total", m_hashes, allocator); + + Value best(kArrayType); + for (uint64_t i : topDiff) { + best.PushBack(i, allocator); + } + + results.AddMember("best", best, allocator); + + if (version == 1) { + results.AddMember("error_log", Value(kArrayType), allocator); + } + + return results; +} +#endif + + +void xmrig::NetworkState::onActive(IStrategy *strategy, IClient *client) +{ + snprintf(m_pool, sizeof(m_pool) - 1, "%s:%d", client->pool().host().data(), client->pool().port()); + + m_ip = client->ip(); + m_tls = client->tlsVersion(); + m_fingerprint = client->tlsFingerprint(); + m_active = true; + m_connectionTime = Chrono::steadyMSecs(); + + StrategyProxy::onActive(strategy, client); +} + + +void xmrig::NetworkState::onJob(IStrategy *strategy, IClient *client, const Job &job) +{ + m_algorithm = job.algorithm(); + m_diff = job.diff(); + + StrategyProxy::onJob(strategy, client, job); +} + + +void xmrig::NetworkState::onPause(IStrategy *strategy) +{ + if (!strategy->isActive()) { + stop(); + } + + StrategyProxy::onPause(strategy); +} + + +void xmrig::NetworkState::onResultAccepted(IStrategy *strategy, IClient *client, const SubmitResult &result, const char *error) +{ + add(result, error); + + StrategyProxy::onResultAccepted(strategy, client, result, error); +} + + +uint32_t xmrig::NetworkState::avgTime() const +{ + if (m_latency.empty()) { + return 0; + } + + return connectionTime() / (uint32_t)m_latency.size(); +} + + +uint32_t xmrig::NetworkState::latency() const +{ + const size_t calls = m_latency.size(); + if (calls == 0) { + return 0; + } + + auto v = m_latency; + std::nth_element(v.begin(), v.begin() + calls / 2, v.end()); + + return v[calls / 2]; +} + + +uint64_t xmrig::NetworkState::connectionTime() const +{ + return m_active ? ((Chrono::steadyMSecs() - m_connectionTime) / 1000) : 0; +} + + +void xmrig::NetworkState::add(const SubmitResult &result, const char *error) +{ + if (error) { + m_rejected++; + return; + } + + m_accepted++; + m_hashes += result.diff; + + const size_t ln = topDiff.size() - 1; + if (result.actualDiff > topDiff[ln]) { + topDiff[ln] = result.actualDiff; + std::sort(topDiff.rbegin(), topDiff.rend()); + } + + m_latency.push_back(result.elapsed > 0xFFFF ? 0xFFFF : static_cast(result.elapsed)); +} + + +void xmrig::NetworkState::stop() +{ + m_active = false; + m_diff = 0; + m_ip = nullptr; + m_tls = nullptr; + m_fingerprint = nullptr; + + m_failures++; + m_latency.clear(); +} diff --git a/src/net/NetworkState.h b/src/base/net/stratum/NetworkState.h similarity index 55% rename from src/net/NetworkState.h rename to src/base/net/stratum/NetworkState.h index ce56ec72..479b184c 100644 --- a/src/net/NetworkState.h +++ b/src/base/net/stratum/NetworkState.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,51 +26,59 @@ #define XMRIG_NETWORKSTATE_H +#include "base/net/stratum/strategies/StrategyProxy.h" +#include "base/tools/String.h" +#include "crypto/common/Algorithm.h" + + #include #include -#include "base/tools/String.h" - - namespace xmrig { -class IClient; -class SubmitResult; - - -class NetworkState +class NetworkState : public StrategyProxy { public: - NetworkState(); + NetworkState(IStrategyListener *listener); - inline const String &fingerprint() const { return m_fingerprint; } - inline const String &ip() const { return m_ip; } - inline const String &tls() const { return m_tls; } + inline const Algorithm &algorithm() const { return m_algorithm; } + inline uint64_t accepted() const { return m_accepted; } + inline uint64_t rejected() const { return m_rejected; } +# ifdef XMRIG_FEATURE_API + rapidjson::Value getConnection(rapidjson::Document &doc, int version) const; + rapidjson::Value getResults(rapidjson::Document &doc, int version) const; +# endif + +protected: + void onActive(IStrategy *strategy, IClient *client) override; + void onJob(IStrategy *strategy, IClient *client, const Job &job) override; + void onPause(IStrategy *strategy) override; + void onResultAccepted(IStrategy *strategy, IClient *client, const SubmitResult &result, const char *error) override; + +private: uint32_t avgTime() const; uint32_t latency() const; uint64_t connectionTime() const; void add(const SubmitResult &result, const char *error); - void onActive(IClient *client); void stop(); - char pool[256]; + Algorithm m_algorithm; + bool m_active = false; + char m_pool[256]{}; std::array topDiff { { } }; - uint64_t accepted; - uint64_t diff; - uint64_t failures; - uint64_t rejected; - uint64_t total; - -private: - bool m_active; std::vector m_latency; String m_fingerprint; String m_ip; String m_tls; - uint64_t m_connectionTime; + uint64_t m_accepted = 0; + uint64_t m_connectionTime = 0; + uint64_t m_diff = 0; + uint64_t m_failures = 0; + uint64_t m_hashes = 0; + uint64_t m_rejected = 0; }; diff --git a/src/base/net/stratum/strategies/StrategyProxy.h b/src/base/net/stratum/strategies/StrategyProxy.h new file mode 100644 index 00000000..d0987a65 --- /dev/null +++ b/src/base/net/stratum/strategies/StrategyProxy.h @@ -0,0 +1,79 @@ +/* XMRig + * Copyright 2010 Jeff Garzik + * Copyright 2012-2014 pooler + * Copyright 2014 Lucas Jones + * Copyright 2014-2016 Wolf9466 + * Copyright 2016 Jay D Dee + * Copyright 2017-2018 XMR-Stak , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef XMRIG_STRATEGYPROXY_H +#define XMRIG_STRATEGYPROXY_H + + +#include "base/kernel/interfaces/IStrategyListener.h" + + +namespace xmrig { + + +class StrategyProxy : public IStrategyListener +{ +public: + inline StrategyProxy(IStrategyListener *listener) : m_listener(listener) {} + +protected: + inline void onActive(IStrategy *strategy, IClient *client) override + { + m_listener->onActive(strategy, client); + } + + inline void onJob(IStrategy *strategy, IClient *client, const Job &job) override + { + m_listener->onJob(strategy, client, job); + } + + inline void onLogin(IStrategy *strategy, IClient *client, rapidjson::Document &doc, rapidjson::Value ¶ms) override + { + m_listener->onLogin(strategy, client, doc, params); + } + + inline void onPause(IStrategy *strategy) override + { + m_listener->onPause(strategy); + } + + inline void onResultAccepted(IStrategy *strategy, IClient *client, const SubmitResult &result, const char *error) override + { + m_listener->onResultAccepted(strategy, client, result, error); + } + + inline void onVerifyAlgorithm(IStrategy *strategy, const IClient *client, const Algorithm &algorithm, bool *ok) override + { + m_listener->onVerifyAlgorithm(strategy, client, algorithm, ok); + } + +private: + IStrategyListener *m_listener; +}; + + +} /* namespace xmrig */ + + +#endif /* XMRIG_STRATEGYPROXY_H */ diff --git a/src/config.json b/src/config.json index a973ff2c..ad08dfb0 100644 --- a/src/config.json +++ b/src/config.json @@ -39,6 +39,7 @@ "cache": true, "loader": null, "platform": "AMD", + "adl": true, "cn/0": false, "cn-lite/0": false }, diff --git a/src/core/Miner.cpp b/src/core/Miner.cpp index 1dc4716d..55a448e2 100644 --- a/src/core/Miner.cpp +++ b/src/core/Miner.cpp @@ -353,6 +353,13 @@ void xmrig::Miner::execCommand(char command) setEnabled(true); break; + case 'e': + case 'E': + for (auto backend : d_ptr->backends) { + backend->printHealth(); + } + break; + default: break; } @@ -489,11 +496,16 @@ void xmrig::Miner::onConfigChanged(Config *config, Config *previousConfig) void xmrig::Miner::onTimer(const Timer *) { - double maxHashrate = 0.0; + double maxHashrate = 0.0; + const auto healthPrintTime = d_ptr->controller->config()->healthPrintTime(); for (IBackend *backend : d_ptr->backends) { backend->tick(d_ptr->ticks); + if (healthPrintTime && d_ptr->ticks && (d_ptr->ticks % (healthPrintTime * 2)) == 0 && backend->isEnabled()) { + backend->printHealth(); + } + if (backend->hashrate()) { maxHashrate += backend->hashrate()->calc(Hashrate::ShortInterval); } @@ -501,8 +513,8 @@ void xmrig::Miner::onTimer(const Timer *) d_ptr->maxHashrate[d_ptr->algorithm] = std::max(d_ptr->maxHashrate[d_ptr->algorithm], maxHashrate); - auto seconds = d_ptr->controller->config()->printTime(); - if (seconds && (d_ptr->ticks % (seconds * 2)) == 0) { + const auto printTime = d_ptr->controller->config()->printTime(); + if (printTime && d_ptr->ticks && (d_ptr->ticks % (printTime * 2)) == 0) { printHashrate(false); } diff --git a/src/core/config/Config.cpp b/src/core/config/Config.cpp index 3998c281..d5adce4c 100644 --- a/src/core/config/Config.cpp +++ b/src/core/config/Config.cpp @@ -70,7 +70,7 @@ static const char *kCuda = "cuda"; #endif -#if defined(XMRIG_FEATURE_NVML) +#if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL) static const char *kHealthPrintTime = "health-print-time"; #endif @@ -92,7 +92,7 @@ public: CudaConfig cuda; # endif -# if defined(XMRIG_FEATURE_NVML) +# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL) uint32_t healthPrintTime = 60; # endif }; @@ -142,7 +142,7 @@ const xmrig::RxConfig &xmrig::Config::rx() const #endif -#if defined(XMRIG_FEATURE_NVML) +#if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL) uint32_t xmrig::Config::healthPrintTime() const { return d_ptr->healthPrintTime; @@ -194,7 +194,7 @@ bool xmrig::Config::read(const IJsonReader &reader, const char *fileName) d_ptr->cuda.read(reader.getValue(kCuda)); # endif -# ifdef XMRIG_FEATURE_NVML +# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL) d_ptr->healthPrintTime = reader.getUint(kHealthPrintTime, d_ptr->healthPrintTime); # endif @@ -239,7 +239,7 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const doc.AddMember(StringRef(kLogFile), m_logFile.toJSON(), allocator); doc.AddMember(StringRef(Pools::kPools), m_pools.toJSON(doc), allocator); doc.AddMember(StringRef(kPrintTime), printTime(), allocator); -# if defined(XMRIG_FEATURE_NVML) +# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL) doc.AddMember(StringRef(kHealthPrintTime), healthPrintTime(), allocator); # endif doc.AddMember(StringRef(Pools::kRetries), m_pools.retries(), allocator); diff --git a/src/core/config/Config.h b/src/core/config/Config.h index 5eb91eca..997fa505 100644 --- a/src/core/config/Config.h +++ b/src/core/config/Config.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -67,8 +67,10 @@ public: const RxConfig &rx() const; # endif -# if defined(XMRIG_FEATURE_NVML) +# if defined(XMRIG_FEATURE_NVML) || defined (XMRIG_FEATURE_ADL) uint32_t healthPrintTime() const; +# else + uint32_t healthPrintTime() const { return 0; } # endif bool isShouldSave() const; diff --git a/src/crypto/common/Nonce.cpp b/src/crypto/common/Nonce.cpp index 897045ca..f896c561 100644 --- a/src/crypto/common/Nonce.cpp +++ b/src/crypto/common/Nonce.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,12 +23,12 @@ */ -#include - - #include "crypto/common/Nonce.h" +#include + + namespace xmrig { @@ -54,13 +54,23 @@ xmrig::Nonce::Nonce() } -uint32_t xmrig::Nonce::next(uint8_t index, uint32_t nonce, uint32_t reserveCount, bool nicehash) +uint32_t xmrig::Nonce::next(uint8_t index, uint32_t nonce, uint32_t reserveCount, bool nicehash, bool *ok) { uint32_t next; std::lock_guard lock(mutex); if (nicehash) { + if ((m_nonces[index] + reserveCount) > 0x1000000) { + if (ok) { + *ok = false; + } + + pause(true); + + return 0; + } + next = (nonce & 0xFF000000) | m_nonces[index]; } else { diff --git a/src/crypto/common/Nonce.h b/src/crypto/common/Nonce.h index 7335663d..4fa47b87 100644 --- a/src/crypto/common/Nonce.h +++ b/src/crypto/common/Nonce.h @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ public: static inline void stop(Backend backend) { m_sequence[backend] = 0; } static inline void touch(Backend backend) { m_sequence[backend]++; } - static uint32_t next(uint8_t index, uint32_t nonce, uint32_t reserveCount, bool nicehash); + static uint32_t next(uint8_t index, uint32_t nonce, uint32_t reserveCount, bool nicehash, bool *ok = nullptr); static void reset(uint8_t index); static void stop(); static void touch(); diff --git a/src/net/JobResult.h b/src/net/JobResult.h index a44a639b..244227f1 100644 --- a/src/net/JobResult.h +++ b/src/net/JobResult.h @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -55,6 +55,17 @@ public: memcpy(m_result, result, sizeof(m_result)); } + inline JobResult(const Job &job) : + algorithm(job.algorithm()), + clientId(job.clientId()), + jobId(job.id()), + backend(job.backend()), + nonce(0), + diff(0), + index(job.index()) + { + } + inline const uint8_t *result() const { return m_result; } inline uint64_t actualDiff() const { return Job::toDiff(reinterpret_cast(m_result)[3]); } inline uint8_t *result() { return m_result; } diff --git a/src/net/JobResults.cpp b/src/net/JobResults.cpp index c9c699f9..49bff807 100644 --- a/src/net/JobResults.cpp +++ b/src/net/JobResults.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,6 @@ #include "net/JobResults.h" - #include "base/io/log/Log.h" #include "base/tools/Handle.h" #include "base/tools/Object.h" @@ -272,6 +271,11 @@ static JobResultsPrivate *handler = nullptr; } // namespace xmrig +void xmrig::JobResults::done(const Job &job) +{ + submit(JobResult(job)); +} + void xmrig::JobResults::setListener(IJobResultListener *listener, bool hwAES) { diff --git a/src/net/JobResults.h b/src/net/JobResults.h index 4d16d27b..1b32e5bd 100644 --- a/src/net/JobResults.h +++ b/src/net/JobResults.h @@ -6,8 +6,8 @@ * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , * Copyright 2018 Lee Clagett - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,6 +42,7 @@ class JobResult; class JobResults { public: + static void done(const Job &job); static void setListener(IJobResultListener *listener, bool hwAES); static void stop(); static void submit(const Job &job, uint32_t nonce, const uint8_t *result); diff --git a/src/net/Network.cpp b/src/net/Network.cpp index 8c832934..643f30e4 100644 --- a/src/net/Network.cpp +++ b/src/net/Network.cpp @@ -5,9 +5,9 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh * Copyright 2019 Howard Chu - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,16 +27,11 @@ #pragma warning(disable:4244) #endif -#include -#include -#include -#include -#include - - +#include "net/Network.h" #include "backend/common/Tags.h" #include "base/io/log/Log.h" #include "base/net/stratum/Client.h" +#include "base/net/stratum/NetworkState.h" #include "base/net/stratum/SubmitResult.h" #include "base/tools/Chrono.h" #include "base/tools/Timer.h" @@ -45,7 +40,6 @@ #include "core/Miner.h" #include "net/JobResult.h" #include "net/JobResults.h" -#include "net/Network.h" #include "net/strategies/DonateStrategy.h" #include "rapidjson/document.h" @@ -56,6 +50,13 @@ #endif +#include +#include +#include +#include +#include + + namespace xmrig { @@ -73,9 +74,7 @@ const char *xmrig::net_tag() xmrig::Network::Network(Controller *controller) : - m_controller(controller), - m_donate(nullptr), - m_timer(nullptr) + m_controller(controller) { JobResults::setListener(this, controller->config()->cpu().isHwAES()); controller->addListener(this); @@ -84,8 +83,10 @@ xmrig::Network::Network(Controller *controller) : controller->api()->addListener(this); # endif + m_state = new NetworkState(this); + const Pools &pools = controller->config()->pools(); - m_strategy = pools.createStrategy(this); + m_strategy = pools.createStrategy(m_state); if (pools.donateLevel() > 0) { m_donate = new DonateStrategy(controller, this); @@ -102,6 +103,7 @@ xmrig::Network::~Network() delete m_timer; delete m_donate; delete m_strategy; + delete m_state; } @@ -118,8 +120,6 @@ void xmrig::Network::onActive(IStrategy *strategy, IClient *client) return; } - m_state.onActive(client); - const char *tlsVersion = client->tlsVersion(); LOG_INFO("%s " WHITE_BOLD("use %s ") CYAN_BOLD("%s:%d ") GREEN_BOLD("%s") " " BLACK_BOLD("%s"), tag, client->mode(), client->pool().host().data(), client->pool().port(), tlsVersion ? tlsVersion : "", client->ip().data()); @@ -201,7 +201,6 @@ void xmrig::Network::onPause(IStrategy *strategy) if (!m_strategy->isActive()) { LOG_ERR("%s " RED("no active pools, stop mining"), tag); - m_state.stop(); return m_controller->miner()->pause(); } @@ -210,15 +209,13 @@ void xmrig::Network::onPause(IStrategy *strategy) void xmrig::Network::onResultAccepted(IStrategy *, IClient *, const SubmitResult &result, const char *error) { - m_state.add(result, error); - if (error) { LOG_INFO("%s " RED_BOLD("rejected") " (%" PRId64 "/%" PRId64 ") diff " WHITE_BOLD("%" PRIu64) " " RED("\"%s\"") " " BLACK_BOLD("(%" PRIu64 " ms)"), - backend_tag(result.backend), m_state.accepted, m_state.rejected, result.diff, error, result.elapsed); + backend_tag(result.backend), m_state->accepted(), m_state->rejected(), result.diff, error, result.elapsed); } else { LOG_INFO("%s " GREEN_BOLD("accepted") " (%" PRId64 "/%" PRId64 ") diff " WHITE_BOLD("%" PRIu64) " " BLACK_BOLD("(%" PRIu64 " ms)"), - backend_tag(result.backend), m_state.accepted, m_state.rejected, result.diff, result.elapsed); + backend_tag(result.backend), m_state->accepted(), m_state->rejected(), result.diff, result.elapsed); } } @@ -261,7 +258,6 @@ void xmrig::Network::setJob(IClient *client, const Job &job, bool donate) m_donate->setAlgo(job.algorithm()); } - m_state.diff = job.diff(); m_controller->miner()->setJob(job, donate); } @@ -284,22 +280,8 @@ void xmrig::Network::getConnection(rapidjson::Value &reply, rapidjson::Document using namespace rapidjson; auto &allocator = doc.GetAllocator(); - reply.AddMember("algo", StringRef(m_strategy->client()->job().algorithm().shortName()), allocator); - - Value connection(kObjectType); - connection.AddMember("pool", StringRef(m_state.pool), allocator); - connection.AddMember("ip", m_state.ip().toJSON(), allocator); - connection.AddMember("uptime", m_state.connectionTime(), allocator); - connection.AddMember("ping", m_state.latency(), allocator); - connection.AddMember("failures", m_state.failures, allocator); - connection.AddMember("tls", m_state.tls().toJSON(), allocator); - connection.AddMember("tls-fingerprint", m_state.fingerprint().toJSON(), allocator); - - if (version == 1) { - connection.AddMember("error_log", Value(kArrayType), allocator); - } - - reply.AddMember("connection", connection, allocator); + reply.AddMember("algo", m_state->algorithm().toJSON(), allocator); + reply.AddMember("connection", m_state->getConnection(doc, version), allocator); } @@ -308,25 +290,6 @@ void xmrig::Network::getResults(rapidjson::Value &reply, rapidjson::Document &do using namespace rapidjson; auto &allocator = doc.GetAllocator(); - Value results(kObjectType); - - results.AddMember("diff_current", m_state.diff, allocator); - results.AddMember("shares_good", m_state.accepted, allocator); - results.AddMember("shares_total", m_state.accepted + m_state.rejected, allocator); - results.AddMember("avg_time", m_state.avgTime(), allocator); - results.AddMember("hashes_total", m_state.total, allocator); - - Value best(kArrayType); - for (uint64_t i : m_state.topDiff) { - best.PushBack(i, allocator); - } - - results.AddMember("best", best, allocator); - - if (version == 1) { - results.AddMember("error_log", Value(kArrayType), allocator); - } - - reply.AddMember("results", results, allocator); + reply.AddMember("results", m_state->getResults(doc, version), allocator); } #endif diff --git a/src/net/Network.h b/src/net/Network.h index 7fd95e31..826c64d0 100644 --- a/src/net/Network.h +++ b/src/net/Network.h @@ -5,9 +5,9 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh * Copyright 2019 Howard Chu - * Copyright 2016-2019 XMRig , + * Copyright 2018-2020 SChernykh + * Copyright 2016-2020 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,24 +27,24 @@ #define XMRIG_NETWORK_H -#include - - #include "base/api/interfaces/IApiListener.h" #include "base/kernel/interfaces/IBaseListener.h" #include "base/kernel/interfaces/IStrategyListener.h" #include "base/kernel/interfaces/ITimerListener.h" #include "base/tools/Object.h" #include "interfaces/IJobResultListener.h" -#include "net/NetworkState.h" #include "rapidjson/fwd.h" +#include + + namespace xmrig { class Controller; class IStrategy; +class NetworkState; class Network : public IJobResultListener, public IStrategyListener, public IBaseListener, public ITimerListener, public IApiListener @@ -87,10 +87,10 @@ private: # endif Controller *m_controller; - IStrategy *m_donate; - IStrategy *m_strategy; - NetworkState m_state; - Timer *m_timer; + IStrategy *m_donate = nullptr; + IStrategy *m_strategy = nullptr; + NetworkState *m_state = nullptr; + Timer *m_timer = nullptr; }; diff --git a/src/net/NetworkState.cpp b/src/net/NetworkState.cpp deleted file mode 100644 index 6868f57e..00000000 --- a/src/net/NetworkState.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/* XMRig - * Copyright 2010 Jeff Garzik - * Copyright 2012-2014 pooler - * Copyright 2014 Lucas Jones - * Copyright 2014-2016 Wolf9466 - * Copyright 2016 Jay D Dee - * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - - -#include -#include -#include -#include - - -#include "base/kernel/interfaces/IClient.h" -#include "base/net/stratum/Pool.h" -#include "base/net/stratum/SubmitResult.h" -#include "base/tools/Chrono.h" -#include "net/NetworkState.h" - - -xmrig::NetworkState::NetworkState() : - pool(), - accepted(0), - diff(0), - failures(0), - rejected(0), - total(0), - m_active(false) -{ -} - - -uint32_t xmrig::NetworkState::avgTime() const -{ - if (m_latency.empty()) { - return 0; - } - - return connectionTime() / (uint32_t)m_latency.size(); -} - - -uint32_t xmrig::NetworkState::latency() const -{ - const size_t calls = m_latency.size(); - if (calls == 0) { - return 0; - } - - auto v = m_latency; - std::nth_element(v.begin(), v.begin() + calls / 2, v.end()); - - return v[calls / 2]; -} - - -uint64_t xmrig::NetworkState::connectionTime() const -{ - return m_active ? ((Chrono::steadyMSecs() - m_connectionTime) / 1000) : 0; -} - - -void xmrig::NetworkState::add(const SubmitResult &result, const char *error) -{ - if (error) { - rejected++; - return; - } - - accepted++; - total += result.diff; - - const size_t ln = topDiff.size() - 1; - if (result.actualDiff > topDiff[ln]) { - topDiff[ln] = result.actualDiff; - std::sort(topDiff.rbegin(), topDiff.rend()); - } - - m_latency.push_back(result.elapsed > 0xFFFF ? 0xFFFF : static_cast(result.elapsed)); -} - - -void xmrig::NetworkState::onActive(IClient *client) -{ - snprintf(pool, sizeof(pool) - 1, "%s:%d", client->pool().host().data(), client->pool().port()); - - m_ip = client->ip(); - m_tls = client->tlsVersion(); - m_fingerprint = client->tlsFingerprint(); - m_active = true; - m_connectionTime = Chrono::steadyMSecs(); -} - - -void xmrig::NetworkState::stop() -{ - m_active = false; - diff = 0; - m_ip = nullptr; - m_tls = nullptr; - m_fingerprint = nullptr; - - failures++; - m_latency.clear(); -} diff --git a/src/version.h b/src/version.h index 0f1c78c4..325f915a 100644 --- a/src/version.h +++ b/src/version.h @@ -28,15 +28,15 @@ #define APP_ID "xmrig" #define APP_NAME "XMRig" #define APP_DESC "XMRig miner" -#define APP_VERSION "5.5.3" +#define APP_VERSION "5.6.0-dev" #define APP_DOMAIN "xmrig.com" #define APP_SITE "www.xmrig.com" #define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com" #define APP_KIND "miner" #define APP_VER_MAJOR 5 -#define APP_VER_MINOR 5 -#define APP_VER_PATCH 3 +#define APP_VER_MINOR 6 +#define APP_VER_PATCH 0 #ifdef _MSC_VER # if (_MSC_VER >= 1920)